Browse Source

Fix scss-lint error MergeableSelector.

pull/186/head
Evan Theurer 11 years ago
parent
commit
c9bc20d3dc
  1. 263
      src/styles/components/_audiovideo.scss
  2. 130
      src/styles/components/_buddylist.scss
  3. 6
      src/styles/components/_buddypicturecapture.scss
  4. 15
      src/styles/components/_buddypictureupload.scss
  5. 716
      src/styles/components/_chat.scss
  6. 105
      src/styles/components/_fileinfo.scss
  7. 301
      src/styles/components/_presentation.scss
  8. 12
      src/styles/components/_rightslide.scss
  9. 13
      src/styles/components/_roombar.scss
  10. 21
      src/styles/components/_screenshare.scss
  11. 37
      src/styles/components/_settings.scss
  12. 22
      src/styles/components/_usability.scss
  13. 185
      src/styles/components/_youtubevideo.scss
  14. 44
      src/styles/global/_overlaybar.scss

263
src/styles/components/_audiovideo.scss

@ -26,9 +26,7 @@
right: 0; right: 0;
top: $minbarheight; top: $minbarheight;
user-select: none; user-select: none;
}
#audiovideo {
@include breakpt($breakpoint-video-small, max-width, only screen) { @include breakpt($breakpoint-video-small, max-width, only screen) {
right: 0; right: 0;
} }
@ -109,9 +107,7 @@
video { video {
object-fit: cover; object-fit: cover;
} }
}
.audiovideo {
.remoteContainer { .remoteContainer {
bottom: 0; bottom: 0;
left: 0; left: 0;
@ -159,132 +155,131 @@
transition-property: opacity; transition-property: opacity;
width: 100%; width: 100%;
} }
}
.audiovideo .remoteVideos {
bottom: 0;
left: 0;
opacity: 0;
position: absolute;
right: 0;
top: 0;
transition-duration: 2s;
transition-property: opacity;
video {
display: block;
height: 100%;
width: 100%;
}
}
.audiovideo .remoteVideo {
background: $video-background;
display: inline-block;
max-height: 100%;
max-width: 100%;
overflow: hidden;
position: relative;
vertical-align: bottom;
//visibility: hidden;
width: 100%;
&.withvideo { .remoteVideos {
//visibility: visible; bottom: 0;
} left: 0;
opacity: 0;
position: absolute;
right: 0;
top: 0;
transition-duration: 2s;
transition-property: opacity;
&.onlyaudio { video {
background: $video-onlyaudio-background; display: block;
//visibility: visible; height: 100%;
width: 100%;
}
} }
.onlyaudio { .overlayActions {
color: $video-onlyaudio; background: $video-overlayactions;
display: none; bottom: 0;
font-size: 80px; height: 140px;
left: 0; left: 0;
margin-top: -40px; margin: auto 0;
pointer-events: auto; opacity: 0;
padding: 3px 0;
position: absolute; position: absolute;
right: 0; top: 0;
text-align: center; width: 40px;
top: 45%; z-index: 5;
}
&.onlyaudio video, .btn {
&.dummy video { color: #ccc;
visibility: hidden; cursor: pointer;
display: block;
outline: 0;
text-shadow: 0 0 5px #000;
width: 40px;
}
} }
&.onlyaudio .onlyaudio { .remoteVideo {
display: block; background: $video-background;
} display: inline-block;
max-height: 100%;
max-width: 100%;
overflow: hidden;
position: relative;
vertical-align: bottom;
//visibility: hidden;
width: 100%;
&.dummy .onlyaudio { &.withvideo {
display: block; //visibility: visible;
} }
.peerActions { &.onlyaudio {
// scss-lint:disable SelectorDepth background: $video-onlyaudio-background;
bottom: 5%; //visibility: visible;
left: 40px;
opacity: 0; .onlyaudio {
pointer-events: auto; display: block;
position: absolute; }
right: 40px; }
text-align: center;
transition-duration: .2s;
transition-property: opacity;
z-index: 10;
&:hover { .onlyaudio {
opacity: .5; color: $video-onlyaudio;
display: none;
font-size: 80px;
left: 0;
margin-top: -40px;
pointer-events: auto;
position: absolute;
right: 0;
text-align: center;
top: 45%;
} }
i { &.onlyaudio video,
font-size: 3vw; &.dummy video {
visibility: hidden;
} }
}
.peerLabel { &.dummy .onlyaudio {
bottom: 4%; display: block;
color: #fff; }
font-size: 2.5vw;
left: 4%;
max-width: 30%;
opacity: .7;
overflow: hidden;
padding: 4px;
position: absolute;
text-overflow: ellipsis;
text-shadow: 0 0 4px #000;
white-space: nowrap;
z-index: 8;
}
}
.audiovideo .overlayActions { .peerActions {
background: $video-overlayactions; // scss:lint:disable NestingDepth, SelectorDepth
bottom: 0; bottom: 5%;
height: 140px; left: 40px;
left: 0; opacity: 0;
margin: auto 0; pointer-events: auto;
opacity: 0; position: absolute;
padding: 3px 0; right: 40px;
position: absolute; text-align: center;
top: 0; transition-duration: .2s;
width: 40px; transition-property: opacity;
z-index: 5; z-index: 10;
&:hover {
opacity: .5;
}
i {
font-size: 3vw;
}
}
.btn { .peerLabel {
color: #ccc; bottom: 4%;
cursor: pointer; color: #fff;
display: block; font-size: 2.5vw;
outline: 0; left: 4%;
text-shadow: 0 0 5px #000; max-width: 30%;
width: 40px; opacity: .7;
overflow: hidden;
padding: 4px;
position: absolute;
text-overflow: ellipsis;
text-shadow: 0 0 4px #000;
white-space: nowrap;
z-index: 8;
}
} }
} }
.remoteVideo { .remoteVideo {
@ -327,28 +322,6 @@
} }
} }
.renderer-auditorium {
position: relative;
span:before {
content: '\f183';
left: 50%;
margin-left: -.8em;
margin-top: -.5em;
position: absolute;
top: 50%;
}
span:after {
content: '\f183';
margin-right: -.9em;
margin-top: -.5em;
position: absolute;
right: 50%;
top: 50%;
}
}
.renderer-smally { .renderer-smally {
// scss-lint:disable SelectorDepth // scss-lint:disable SelectorDepth
background: #000; background: #000;
@ -457,6 +430,26 @@
} }
.renderer-auditorium { .renderer-auditorium {
position: relative;
span:before {
content: '\f183';
left: 50%;
margin-left: -.8em;
margin-top: -.5em;
position: absolute;
top: 50%;
}
span:after {
content: '\f183';
margin-right: -.9em;
margin-top: -.5em;
position: absolute;
right: 50%;
top: 50%;
}
.remoteContainer { .remoteContainer {
border-left: 40px solid #000; border-left: 40px solid #000;
} }
@ -467,10 +460,6 @@
top: 180px; top: 180px;
width: 320px; width: 320px;
.overlayLogo {
display: none;
}
video { video {
height: 100%; height: 100%;
margin-top: -9px; margin-top: -9px;

130
src/styles/components/_buddylist.scss

@ -76,9 +76,7 @@
position: absolute; position: absolute;
right: 0; right: 0;
top: 0; top: 0;
}
.buddylist {
&.loading { &.loading {
.buddylistloading { .buddylistloading {
display: block; display: block;
@ -139,13 +137,11 @@
position: relative; position: relative;
text-align: left; text-align: left;
width: 100%; width: 100%;
}
.buddy:hover { &:hover {
background: $buddylist-action-background; background: $buddylist-action-background;
} }
.buddy {
&.withSubline .buddy1, &.withSubline .buddy1,
&.contact .buddy1 { &.contact .buddy1 {
top: 15px; top: 15px;
@ -156,8 +152,15 @@
display: block; display: block;
} }
&.hovered .buddyactions { &.hovered {
right: 0;
.buddyactions {
right: 0;
}
.buddysessions {
max-height: 999px;
}
} }
.fa.contact:before { .fa.contact:before {
@ -249,68 +252,65 @@
white-space: nowrap; white-space: nowrap;
width: 120px; width: 120px;
} }
}
.buddy .buddyactions { .buddyactions {
background: $buddylist-action-background; background: $buddylist-action-background;
height: 66px; height: 66px;
line-height: 66px; line-height: 66px;
padding: 0 10px; padding: 0 10px;
position: absolute; position: absolute;
right: -125px; right: -125px;
text-align: right; text-align: right;
top: 0; top: 0;
transition-duration: .3s; transition-duration: .3s;
transition-property: right; transition-property: right;
white-space: nowrap; white-space: nowrap;
z-index: 5; z-index: 5;
.btn { .btn {
font-size: $buddylist-action-font-size; font-size: $buddylist-action-font-size;
height: 40px; height: 40px;
line-height: 40px; line-height: 40px;
padding: 0; padding: 0;
text-align: center; text-align: center;
vertical-align: middle; vertical-align: middle;
width: 42px; width: 42px;
}
} }
}
.buddysessions { .buddysessions {
margin-bottom: 10px; margin-bottom: 10px;
margin-top: 56px; margin-top: 56px;
max-height: 0; max-height: 0;
transition-delay: .1s; transition-delay: .1s;
transition-duration: .5s; transition-duration: .5s;
transition-property: max-height; transition-property: max-height;
ul { ul {
border-left: 1px dotted $bordercolor; border-left: 1px dotted $bordercolor;
border-right: 1px dotted $bordercolor; border-right: 1px dotted $bordercolor;
margin: 0 14px; margin: 0 14px;
padding-left: 0; padding-left: 0;
padding-top: 10px; padding-top: 10px;
} }
li { ul li {
list-style-type: none; // scss-lint:disable NestingDepth
margin-bottom: 2px; list-style-type: none;
margin-left: 0; margin-bottom: 2px;
margin-left: 0;
&:hover .btn-group { .btn-group {
visibility: visible; visibility: hidden;
} }
}
.btn-group { &:hover .btn-group {
visibility: hidden; visibility: visible;
} }
}
.currentsession .buddy3 { .currentsession .buddy3 {
font-weight: bold; font-weight: bold;
}
} }
} }
.buddy.hovered .buddysessions {
max-height: 999px;
}

6
src/styles/components/_buddypicturecapture.scss

@ -61,10 +61,10 @@
top: 0; top: 0;
visibility: hidden; visibility: hidden;
z-index: 5; z-index: 5;
}
.videoFlash.flash { &.flash {
visibility: visible; visibility: visible;
}
} }
.preview { .preview {

15
src/styles/components/_buddypictureupload.scss

@ -39,6 +39,7 @@
} }
.showUploadPicture { .showUploadPicture {
// scss-lint:disable NestingDepth
background-color: $componentbg; background-color: $componentbg;
border: 1px solid $bordercolor; border: 1px solid $bordercolor;
height: 200px; height: 200px;
@ -52,10 +53,14 @@
&.imgData { &.imgData {
background-color: #000; background-color: #000;
}
&.imgData .chooseUploadPicture { .chooseUploadPicture {
display: none; display: none;
}
&:hover .imageUtilites {
visibility: visible;
}
} }
.chooseUploadPicture { .chooseUploadPicture {
@ -95,10 +100,6 @@
} }
} }
.showUploadPicture.imgData:hover .imageUtilites {
visibility: visible;
}
.moveHorizontal { .moveHorizontal {
position: relative; position: relative;
top: -4px; top: -4px;

716
src/styles/components/_chat.scss

@ -135,6 +135,7 @@
} }
.chat { .chat {
// scss-lint:disable NestingDepth
background: $chat-background; background: $chat-background;
bottom: 0; bottom: 0;
display: none; display: none;
@ -143,450 +144,448 @@
position: absolute; position: absolute;
right: 0; right: 0;
top: 0; top: 0;
}
.chat {
&.active {
&.visible {
display: block;
}
.chatbody { &.newmessage {
// nothing .chatheadertitle:after {
content: '***';
position: absolute;
right: 32px;
top: 2px;
} }
.chatheader { .chatheader {
// nothing animation: newmessage 1s ease -.3s infinite;
} }
} }
}
.chatmenu { &.active.visible {
height: 36px; display: block;
left: 0;
padding: 2px 4px;
position: absolute;
right: 0;
top: 36px;
@include breakpt($breakpoint-chat-small, max-height) {
display: none;
} }
}
.chatbody {
border-left: 1px solid $bordercolor;
bottom: -1px;
left: 0;
position: absolute;
right: 0;
top: 74px;
@include breakpt($breakpoint-chat-small, max-height) { &.with_pictures .message {
border-top: 1px solid $bordercolor; &.is_self {
top: 0; padding-right: 54px;
top: 0;
}
}
.chatheader { .timestamp {
background: $chat-header; right: 58px;
border-bottom: 1px solid $bordercolor; }
border-left: 1px solid $bordercolor; }
height: 36px;
left: 0;
line-height: 34px;
padding: 0 4px 0 8px;
position: absolute;
right: 0;
top: 0;
@include breakpt($breakpoint-chat-small, max-height) { &.is_remote {
display: none; padding-left: 58px;
}
} }
.chatstatusicon { .chatbodybottom {
cursor: pointer; background: $chat-bottom-background;
display: block; bottom: 1px;
font-size: 1.4em;
height: 36px;
left: 0; left: 0;
margin: 0 auto;
position: absolute; position: absolute;
text-align: center; right: 0;
top: 0;
width: 36px;
}
.chatheadertitle {
display: inline;
padding-left: 28px;
}
.ctrl {
color: $chat-ctrl;
position: absolute;
right: 1px;
top: 0;
.#{$fa-css-prefix} { @include breakpt($breakpoint-chat-small, max-height) {
cursor: pointer; height: auto;
padding: 6px;
} }
} }
span { .typinghint {
display: inline-block; color: $chat-typing;
max-width: 60%; font-size: .8em;
height: 14px;
overflow: hidden; overflow: hidden;
pointer-events: none; padding: 0 6px;
text-overflow: ellipsis;
vertical-align: middle;
white-space: nowrap; white-space: nowrap;
}
}
.chat .outputbox {
bottom: 75px;
left: 0;
position: absolute;
right: 0;
top: 0;
@include breakpt($breakpoint-chat-small, max-height) { @include breakpt($breakpoint-chat-small, max-height) {
bottom: 45px; display: none;
}
} }
}
.chat .output { .inputbox {
height: 100%; position: relative;
overflow-x: hidden;
overflow-y: auto;
padding: .4em 0;
> i {
clear: both;
color: $chat-meta;
display: block;
font-size: .8em;
padding: 6px 0;
text-align: center;
&.p2p { @include breakpt($breakpoint-chat-small, max-height) {
font-weight: bold; height: auto;
padding: 6px 0;
} }
}
}
.chat.with_pictures .message {
&.is_self {
padding-right: 54px;
.timestamp { .btn {
right: 58px; display: none;
padding: .5em 1em;
position: absolute;
right: 6px;
top: 1px;
} }
}
&.is_remote { > div {
padding-left: 58px; border-top: 1px solid $bordercolor;
}
} }
}
.chat .message { .input {
background: $chat-msg-background; border-color: transparent;
border: 1px solid $chat-msg-border; border-radius: 0;
border-radius: 6px; box-shadow: none;
box-shadow: 0 0 2px 0 $chat-msg-shadow; display: block;
clear: both; height: 54px;
display: block;
margin: 0 4px 2px 18px;
padding: 8px;
position: relative;
word-wrap: break-word;
ul {
list-style-type: none;
margin: 0; margin: 0;
padding-left: 0; max-height: 54px; /* FF hack */
} resize: none;
width: 100%;
li { @include breakpt($breakpoint-chat-small, max-height) {
line-height: 1.1em; max-height: 2.5em;
margin: 4px 0; }
padding-left: 1.2em;
position: relative;
&:before { &:active,
color: $chat-msg-default-icon-color; &:focus {
content: '\f075'; border-color: $chat-input-border-color;
font-family: FontAwesome;
left: 0;
position: absolute;
text-align: center;
width: 12px;
} }
} }
.timestamp { .outputbox {
color: $chat-timestamp; bottom: 75px;
font-size: .8em; left: 0;
position: absolute; position: absolute;
right: 8px; right: 0;
text-align: right; top: 0;
top: 8px;
}
.timestamp-space { @include breakpt($breakpoint-chat-small, max-height) {
float: right; bottom: 45px;
height: 10px; }
width: 40px;
} }
strong { .output {
display: block; height: 100%;
margin-right: 40px; overflow-x: hidden;
overflow: hidden; overflow-y: auto;
padding-bottom: 2px; padding: .4em 0;
text-overflow: ellipsis;
white-space: nowrap;
}
}
.chat .message { > i {
&.is_self li:before { clear: both;
color: $chat-msg-default-icon-color; color: $chat-meta;
transform: scale(-1, 1); display: block;
} font-size: .8em;
padding: 6px 0;
text-align: center;
li { &.p2p {
&.unread:before { font-weight: bold;
color: $chat-msg-unread-icon-color; padding: 6px 0;
content: $chat-msg-unread-icon; }
} }
}
.message {
// scss-lint:disable DuplicateProperty
background: $chat-msg-background;
border: 1px solid $chat-msg-border;
border-radius: 6px;
box-shadow: 0 0 2px 0 $chat-msg-shadow;
clear: both;
display: block;
margin: 0 4px 2px 18px;
padding: 8px;
position: relative;
word-wrap: break-word;
&.sending:before { ul {
color: $chat-msg-sending-icon-color; list-style-type: none;
content: $chat-msg-sending-icon; margin: 0;
padding-left: 0;
} }
&.sent:before { .timestamp {
color: $chat-msg-sent-icon-color; color: $chat-timestamp;
content: $chat-msg-sent-icon; font-size: .8em;
position: absolute;
right: 8px;
text-align: right;
top: 8px;
} }
&.delivered:before { .timestamp-space {
color: $chat-msg-delivered-icon-color; float: right;
content: $chat-msg-delivered-icon; height: 10px;
width: 40px;
} }
&.received:before { strong {
color: $chat-msg-received-icon-color; display: block;
content: $chat-msg-received-icon; margin-right: 40px;
overflow: hidden;
padding-bottom: 2px;
text-overflow: ellipsis;
white-space: nowrap;
} }
&.read:before { li {
color: $chat-msg-read-icon-color; line-height: 1.1em;
content: $chat-msg-read-icon; margin: 4px 0;
padding-left: 1.2em;
position: relative;
&:before {
color: $chat-msg-default-icon-color;
content: '\f075';
font-family: FontAwesome;
left: 0;
position: absolute;
text-align: center;
width: 12px;
}
&.unread:before {
color: $chat-msg-unread-icon-color;
content: $chat-msg-unread-icon;
}
&.sending:before {
color: $chat-msg-sending-icon-color;
content: $chat-msg-sending-icon;
}
&.sent:before {
color: $chat-msg-sent-icon-color;
content: $chat-msg-sent-icon;
}
&.delivered:before {
color: $chat-msg-delivered-icon-color;
content: $chat-msg-delivered-icon;
}
&.received:before {
color: $chat-msg-received-icon-color;
content: $chat-msg-received-icon;
}
&.read:before {
color: $chat-msg-read-icon-color;
content: $chat-msg-read-icon;
}
} }
}
}
.chat .message { .buddyPicture {
&.is_self .buddyPicture { background: $actioncolor1;
left: auto; border-radius: 2px;
right: 4px; height: 46px;
} left: 4px;
overflow: hidden;
position: absolute;
text-align: center;
top: 4px;
width: 46px;
z-index: 0;
.buddyPicture { .#{$fa-css-prefix} {
background: $actioncolor1; color: $actioncolor2;
border-radius: 2px; line-height: 46px;
height: 46px; }
left: 4px;
overflow: hidden;
position: absolute;
text-align: center;
top: 4px;
width: 46px;
z-index: 0;
.#{$fa-css-prefix} { img {
color: $actioncolor2; bottom: 0;
line-height: 46px; display: block;
left: 0;
max-height: 100%;
max-width: 100%;
position: absolute;
right: 0;
top: 0;
}
} }
img { &:before,
bottom: 0; &:after {
border-style: solid;
content: '';
display: block; display: block;
left: 0;
max-height: 100%;
max-width: 100%;
position: absolute; position: absolute;
right: 0; width: 0;
top: 0;
} }
}
}
.chat .message { &.is_remote {
// scss-lint:disable DuplicateProperty background: $chat-msg-remote-background;
&:before,
&:after {
border-style: solid;
content: '';
display: block;
position: absolute;
width: 0;
}
&.is_remote { &:before { // arrow border
background: $chat-msg-remote-background; border-color: transparent $chat-arrow-border;
border-width: 7px 11px 7px 0;
bottom: auto;
left: -12px;
top: 4px;
}
&:before { // arrow border &:after { // arrow background
border-color: transparent $chat-arrow-border; border-color: transparent $chat-msg-remote-background;
border-width: 7px 11px 7px 0; border-width: 6px 10px 6px 0;
bottom: auto; bottom: auto;
left: -12px; left: -11px;
top: 4px; top: 5px;
}
} }
&:after { // arrow background &.is_self {
border-color: transparent $chat-msg-remote-background; background: $chat-msg-self-background;
border-width: 6px 10px 6px 0; margin-left: 4px;
bottom: auto; margin-right: 18px;
left: -11px; padding-right: 0;
top: 5px;
}
}
&.is_self { &:before { // arrow border
background: $chat-msg-self-background; border-color: transparent $chat-arrow-border;
margin-left: 4px; border-width: 7px 0 7px 11px;
margin-right: 18px; bottom: 4px;
padding-right: 0; bottom: auto;
right: -12px;
&:before { // arrow border }
border-color: transparent $chat-arrow-border;
border-width: 7px 0 7px 11px;
bottom: 4px;
bottom: auto;
right: -12px;
}
&:after { // arrow background &:after { // arrow background
border-color: transparent $chat-msg-self-background; border-color: transparent $chat-msg-self-background;
border-width: 6px 0 6px 10px; border-width: 6px 0 6px 10px;
bottom: 5px; bottom: 5px;
bottom: auto; bottom: auto;
right: -11px; right: -11px;
} }
}
&.with_name { li:before {
// none color: $chat-msg-default-icon-color;
} transform: scale(-1, 1);
&.with_hoverimage {
.buddyPicture {
overflow: visible;
z-index: initial;
&:hover .buddyInfoActions {
height: 40px;
opacity: 1;
} }
}
.buddyInfoActions { .buddyPicture {
cursor: default; left: auto;
display: inline-block; right: 4px;
height: 0;
left: 0;
opacity: 0;
overflow: hidden;
position: absolute;
top: 48px;
transition: opacity 0.1s .1s linear, height .4s .1s ease-out;
white-space: nowrap;
z-index: 1;
.btn-group {
display: block;
margin: 0 auto;
width: 55px;
} }
.btn-primary { }
padding: 2px 5px;
&.with_name {
// none
}
&.with_hoverimage {
.buddyPicture {
overflow: visible;
z-index: initial;
&:hover .buddyInfoActions {
height: 40px;
opacity: 1;
}
} }
.fa {
color: #fff; .buddyInfoActions {
line-height: 24px; cursor: default;
display: inline-block;
height: 0;
left: 0;
opacity: 0;
overflow: hidden;
position: absolute;
top: 48px;
transition: opacity 0.1s .1s linear, height .4s .1s ease-out;
white-space: nowrap;
z-index: 1;
.btn-group {
display: block;
margin: 0 auto;
width: 55px;
}
.btn-primary {
padding: 2px 5px;
}
.fa {
color: #fff;
line-height: 24px;
}
} }
} }
} }
} }
.chat { .chatmenu {
.chatbodybottom { height: 36px;
background: $chat-bottom-background; left: 0;
bottom: 1px; padding: 2px 4px;
left: 0; position: absolute;
margin: 0 auto; right: 0;
position: absolute; top: 36px;
right: 0;
@include breakpt($breakpoint-chat-small, max-height) { @include breakpt($breakpoint-chat-small, max-height) {
height: auto; display: none;
}
} }
}
.typinghint { .chatbody {
color: $chat-typing; border-left: 1px solid $bordercolor;
font-size: .8em; bottom: -1px;
height: 14px; left: 0;
overflow: hidden; position: absolute;
padding: 0 6px; right: 0;
white-space: nowrap; top: 74px;
@include breakpt($breakpoint-chat-small, max-height) { @include breakpt($breakpoint-chat-small, max-height) {
display: none; border-top: 1px solid $bordercolor;
} top: 0;
top: 0;
} }
}
.inputbox { .chatheader {
position: relative; background: $chat-header;
border-bottom: 1px solid $bordercolor;
border-left: 1px solid $bordercolor;
height: 36px;
left: 0;
line-height: 34px;
padding: 0 4px 0 8px;
position: absolute;
right: 0;
top: 0;
@include breakpt($breakpoint-chat-small, max-height) { @include breakpt($breakpoint-chat-small, max-height) {
height: auto; display: none;
} }
.btn { .chatstatusicon {
display: none; cursor: pointer;
padding: .5em 1em; display: block;
position: absolute; font-size: 1.4em;
right: 6px; height: 36px;
top: 1px; left: 0;
} position: absolute;
text-align: center;
top: 0;
width: 36px;
}
> div { .chatheadertitle {
border-top: 1px solid $bordercolor; display: inline;
} padding-left: 28px;
} }
.input { .ctrl {
border-color: transparent; color: $chat-ctrl;
border-radius: 0; position: absolute;
box-shadow: none; right: 1px;
display: block; top: 0;
height: 54px;
margin: 0;
max-height: 54px; /* FF hack */
resize: none;
width: 100%;
@include breakpt($breakpoint-chat-small, max-height) { .#{$fa-css-prefix} {
max-height: 2.5em; cursor: pointer;
padding: 6px;
} }
}
&:active, span {
&:focus { display: inline-block;
border-color: $chat-input-border-color; max-width: 60%;
} overflow: hidden;
pointer-events: none;
text-overflow: ellipsis;
vertical-align: middle;
white-space: nowrap;
} }
} }
@ -595,16 +594,3 @@
50% {background-color: $componentbg;} 50% {background-color: $componentbg;}
100% {background-color: $actioncolor1;} 100% {background-color: $actioncolor1;}
} }
.chat.newmessage {
.chatheadertitle:after {
content: '***';
position: absolute;
right: 32px;
top: 2px;
}
.chatheader {
animation: newmessage 1s ease -.3s infinite;
}
}

105
src/styles/components/_fileinfo.scss

@ -27,9 +27,23 @@
padding: 1em; padding: 1em;
position: relative; position: relative;
text-align: center; text-align: center;
}
.file-info { &.downloader {
.anim {
margin-left: -40px;
}
.file-info-size {
margin-bottom: 10px;
}
}
&.downloading {
.file-info-size {
border-color: $fileinfo-downloading-size-border;
}
}
> div { > div {
position: relative; position: relative;
z-index: 3; z-index: 3;
@ -54,6 +68,37 @@
text-align: left; text-align: left;
top: 14px; top: 14px;
} }
.uploader {
// scss-lint:disable NestingDepth
.file-info-speed {
bottom: 6px;
}
.actions {
margin-left: 30px;
opacity: 0;
}
.anim {
margin-left: 0;
}
.hovercontrol {
&:hover .anim {
margin-left: -50px;
}
&:hover .actions {
margin-left: 0;
opacity: 1;
}
> div {
transition: all .2s ease-in-out;
}
}
}
} }
.is_remote .file-info { .is_remote .file-info {
@ -91,6 +136,7 @@
} }
> div { > div {
//scss-lint:disable NestingDepth
bottom: 0; bottom: 0;
box-shadow: none !important; box-shadow: none !important;
left: 0; left: 0;
@ -101,12 +147,13 @@
&.progress-bar { &.progress-bar {
opacity: .5; opacity: .5;
}
&.progress-bar.download { &.download {
opacity: 1; opacity: 1;
z-index: 1; z-index: 1;
}
} }
} }
} }
@ -118,49 +165,3 @@
right: 0; right: 0;
text-align: center; text-align: center;
} }
.file-info.uploader {
.file-info-speed {
bottom: 6px;
}
.actions {
margin-left: 30px;
opacity: 0;
}
.anim {
margin-left: 0;
}
.hovercontrol {
&:hover .anim {
margin-left: -50px;
}
&:hover .actions {
margin-left: 0;
opacity: 1;
}
> div {
transition: all .2s ease-in-out;
}
}
}
.file-info.downloader {
.anim {
margin-left: -40px;
}
.file-info-size {
margin-bottom: 10px;
}
}
.file-info.downloading {
.file-info-size {
border-color: $fileinfo-downloading-size-border;
}
}

301
src/styles/components/_presentation.scss

@ -19,16 +19,146 @@
* *
*/ */
.mainPresentation #presentation {
display: block;
}
.presentation { .presentation {
bottom: 0; bottom: 0;
left: 0; left: 0;
position: absolute; position: absolute;
right: 0; right: 0;
top: 0; top: 0;
}
.mainPresentation #presentation { .overlaybar {
display: block; bottom: 0;
left: 0;
right: 0;
text-align: center;
.overlaybar-content {
// scss-lint:disable NestingDepth
max-width: 100%;
.pagecontrol {
height: 30px;
}
}
.btn-prev {
left: 40px;
}
.btn-next {
left: auto;
right: 0;
}
.overlaybar-button {
font-size: 20px;
line-height: 28px;
padding: 4px 6px;
position: absolute;
top: 0;
}
}
.thumbnail {
color: #333;
display: inline-block;
height: 122px;
margin-left: 20px;
margin-top: 20px;
position: relative;
text-shadow: none;
vertical-align: middle;
width: 160px;
&:first-child {
margin-left: 0;
}
&.presentable {
cursor: pointer;
}
&:hover .presentation-action {
display: block;
}
&:hover .notavailable {
display: block;
}
.caption {
// scss-lint:disable NestingDepth
overflow: hidden;
padding-bottom: 0;
text-overflow: ellipsis;
.size {
font-size: 10px;
}
.progress {
position: relative;
}
.download-info {
bottom: 0;
color: $text-color;
left: 0;
line-height: 20px;
position: absolute;
right: 0;
text-shadow: 1px 1px 1px #fff;
top: 0;
}
}
.active {
bottom: 0;
color: #84b819;
font-size: 10em;
left: 0;
opacity: .7;
position: absolute;
right: 0;
text-align: center;
top: 0;
}
.notavailable {
bottom: 0;
color: #d2322d;
display: none;
font-size: 10em;
left: 0;
opacity: .25;
position: absolute;
right: 0;
text-align: center;
top: 0;
}
.presentation-action {
display: none;
position: absolute;
top: 1px;
}
.download {
left: 1px;
}
.delete {
right: 1px;
}
.filetype {
font-size: 5em;
}
}
} }
.presentationpane { .presentationpane {
@ -42,25 +172,27 @@
.welcome { .welcome {
padding: 0; padding: 0;
h1 {
white-space: normal;
}
.btn { .btn {
margin-top: 30px; margin-top: 30px;
} }
}
h1 { .progress span {
white-space: normal; text-shadow: none;
} }
.download-info { .progress .download-info {
color: $text-color; color: $text-color;
left: 0; left: 0;
position: absolute; position: absolute;
text-shadow: 1px 1px 1px #fff; text-shadow: 1px 1px 1px #fff;
width: 100%; width: 100%;
}
} }
}
.presentationpane {
.canvasContainer { .canvasContainer {
height: 100%; height: 100%;
width: 100%; width: 100%;
@ -89,150 +221,19 @@
display: none; display: none;
margin: 0; margin: 0;
padding: 0; padding: 0;
}
.odfcontainer.showonepage { &.showonepage {
overflow: hidden; overflow: hidden;
text-align: center; text-align: center;
}
} }
} }
.presentation .overlaybar {
bottom: 0;
left: 0;
right: 0;
text-align: center;
}
.presentation .overlaybar .overlaybar-content {
max-width: 100%;
}
.presentation .overlaybar .overlaybar-button {
font-size: 20px;
line-height: 28px;
padding: 4px 6px;
position: absolute;
top: 0;
}
.overlaybar-content .pagecontrol {
height: 30px;
}
.presentation .overlaybar .btn-prev {
left: 40px;
}
.presentation .overlaybar .btn-next {
left: auto;
right: 0;
}
.pageinfo input { .pageinfo input {
display: inline; display: inline;
width: 70px; width: 70px;
} }
.presentation .thumbnail {
color: #333;
display: inline-block;
height: 122px;
margin-left: 20px;
margin-top: 20px;
position: relative;
text-shadow: none;
vertical-align: middle;
width: 160px;
}
.presentation .thumbnail.presentable {
cursor: pointer;
}
.presentation .thumbnail:first-child {
margin-left: 0;
}
.presentation .thumbnail .caption {
overflow: hidden;
padding-bottom: 0;
text-overflow: ellipsis;
}
.presentation .thumbnail .caption .size {
// scss-lint:disable SelectorDepth
font-size: 10px;
}
.presentation .thumbnail .caption .progress {
// scss-lint:disable SelectorDepth
position: relative;
}
.presentation .thumbnail .caption .download-info {
// scss-lint:disable SelectorDepth
bottom: 0;
color: $text-color;
left: 0;
line-height: 20px;
position: absolute;
right: 0;
text-shadow: 1px 1px 1px #fff;
top: 0;
}
.presentation .thumbnail .active {
bottom: 0;
color: #84b819;
font-size: 10em;
left: 0;
opacity: .7;
position: absolute;
right: 0;
text-align: center;
top: 0;
}
.presentation .thumbnail .notavailable {
bottom: 0;
color: #d2322d;
display: none;
font-size: 10em;
left: 0;
opacity: .25;
position: absolute;
right: 0;
text-align: center;
top: 0;
}
.presentation .thumbnail:hover .notavailable {
display: block;
}
.presentation .thumbnail .presentation-action {
display: none;
position: absolute;
top: 1px;
}
.presentation .thumbnail .download {
left: 1px;
}
.presentation .thumbnail .delete {
right: 1px;
}
.presentation .thumbnail:hover .presentation-action {
display: block;
}
.presentation .thumbnail .filetype {
font-size: 5em;
}
.presentations { .presentations {
height: 156px; height: 156px;
margin-left: -25px; margin-left: -25px;

12
src/styles/components/_rightslide.scss

@ -28,14 +28,14 @@
top: $minbarheight; top: $minbarheight;
transition: right 200ms ease-in-out; transition: right 200ms ease-in-out;
z-index: 5; z-index: 5;
.rightslidepane {
height: 100%;
position: relative;
width: 100%;
}
} }
.withBuddylist #rightslide { .withBuddylist #rightslide {
right: 0; right: 0;
} }
#rightslide .rightslidepane {
height: 100%;
position: relative;
width: 100%;
}

13
src/styles/components/_roombar.scss

@ -26,12 +26,11 @@
right: 0; right: 0;
top: $minbarheight; top: $minbarheight;
z-index: 4; z-index: 4;
}
#roombar .roombar { .roombar {
left: 0; left: 0;
position: absolute; position: absolute;
right: 0; right: 0;
top: 0; top: 0;
}
} }

21
src/styles/components/_screenshare.scss

@ -19,16 +19,22 @@
* *
*/ */
.mainScreenshare #screenshare {
display: block;
}
.screenshare { .screenshare {
bottom: 0; bottom: 0;
left: 0; left: 0;
position: absolute; position: absolute;
right: 0; right: 0;
top: 0; top: 0;
}
.mainScreenshare #screenshare { .overlaybar {
display: block; bottom: 0;
left: 0;
right: 0;
}
} }
.screensharepane { .screensharepane {
@ -39,9 +45,6 @@
position: absolute; position: absolute;
right: 0; right: 0;
top: 0; top: 0;
}
.screensharepane {
.remotescreen { .remotescreen {
position: relative; position: relative;
} }
@ -56,9 +59,3 @@
max-height: none; max-height: none;
width: auto; width: auto;
} }
.screenshare .overlaybar {
bottom: 0;
left: 0;
right: 0;
}

37
src/styles/components/_settings.scss

@ -20,6 +20,7 @@
*/ */
#settings { #settings {
// scss-lint:disable NestingDepth
background: $settings-background; background: $settings-background;
border-left: 1px solid $bordercolor; border-left: 1px solid $bordercolor;
bottom: 0; bottom: 0;
@ -30,27 +31,27 @@
transition: right 200ms ease-in-out; transition: right 200ms ease-in-out;
width: 520px; width: 520px;
z-index: 50; z-index: 50;
}
#settings.show { &.show {
right: 0; right: 0;
@include breakpt($breakpoint-settings-medium, max-width, only screen) {
background: $settings-background;
left: 0;
width: auto;
}
.form-actions {
@include breakpt($breakpoint-settings-medium, max-width, only screen) { @include breakpt($breakpoint-settings-medium, max-width, only screen) {
bottom: 0; background: $settings-background;
height: 60px;
left: 0; left: 0;
margin-bottom: 0; width: auto;
padding: 6px 0 6px 120px; }
position: fixed;
right: 0; .form-actions {
@include breakpt($breakpoint-settings-medium, max-width, only screen) {
bottom: 0;
height: 60px;
left: 0;
margin-bottom: 0;
padding: 6px 0 6px 120px;
position: fixed;
right: 0;
}
} }
} }
} }
@ -65,9 +66,7 @@
position: absolute; position: absolute;
right: 0; right: 0;
top: 0; top: 0;
}
.settings {
@include breakpt($breakpoint-settings-medium, max-width, only screen) { @include breakpt($breakpoint-settings-medium, max-width, only screen) {
padding-bottom: 10px; padding-bottom: 10px;
} }

22
src/styles/components/_usability.scss

@ -19,6 +19,16 @@
* *
*/ */
.withChat #help,
.withBuddylist #help {
right: 260px;
}
.withChat.withBuddylist #help,
.withSettings #help {
right: 520px;
}
#help { #help {
bottom: 10px; bottom: 10px;
color: #aaa; color: #aaa;
@ -32,19 +42,7 @@
transition: right 200ms ease-in-out; transition: right 200ms ease-in-out;
user-select: none; user-select: none;
width: 350px; width: 350px;
}
.withChat #help,
.withBuddylist #help {
right: 260px;
}
.withChat.withBuddylist #help,
.withSettings #help {
right: 520px;
}
#help {
@include breakpt($breakpoint-useability-small, max-width, only screen) { @include breakpt($breakpoint-useability-small, max-width, only screen) {
display: none; display: none;
} }

185
src/styles/components/_youtubevideo.scss

@ -19,12 +19,66 @@
* *
*/ */
.mainYoutubevideo #youtubevideo {
display: block;
}
.youtubevideo { .youtubevideo {
bottom: 0; bottom: 0;
left: 0; left: 0;
position: absolute; position: absolute;
right: 0; right: 0;
top: 0; top: 0;
.click-container {
bottom: 0;
left: 0;
position: absolute;
right: 0;
top: 0;
z-index: 5;
}
.welcome {
max-width: 700px;
h1 {
margin-top: 10px;
}
.welcome-container {
max-width: 700px;
}
.welcome-logo {
background: transparent;
font-size: 10em;
}
}
.overlaybar {
bottom: 0;
left: 0;
right: 0;
}
.overlaybar-content {
max-width: 100%;
width: 100%;
form .overlaybar-buttons {
position: absolute;
right: 23px;
top: 6px;
}
}
.overlaybar-input {
padding-right: 15px;
position: relative;
width: 100%;
}
} }
.youtubevideopane { .youtubevideopane {
@ -55,67 +109,14 @@
&:hover { &:hover {
opacity: .8; opacity: .8;
} }
}
#youtubeplayerinfo div {
background-color: #f9f2f4;
border-radius: 10px;
display: inline-block;
font-size: 2em;
padding: 20px 40px;
}
.youtubevideo .click-container {
bottom: 0;
left: 0;
position: absolute;
right: 0;
top: 0;
z-index: 5;
}
.youtubevideo .welcome {
max-width: 700px;
}
.youtubevideo .welcome h1 { div {
margin-top: 10px; background-color: #f9f2f4;
} border-radius: 10px;
display: inline-block;
.youtubevideo .welcome .welcome-container { font-size: 2em;
max-width: 700px; padding: 20px 40px;
} }
.youtubevideo .welcome .welcome-logo {
background: transparent;
font-size: 10em;
}
.mainYoutubevideo #youtubevideo {
display: block;
}
.youtubevideo .overlaybar {
bottom: 0;
left: 0;
right: 0;
}
.youtubevideo .overlaybar-content {
max-width: 100%;
width: 100%;
}
.youtubevideo .overlaybar-input {
padding-right: 15px;
position: relative;
width: 100%;
}
.youtubevideo .overlaybar-content .overlaybar-buttons {
position: absolute;
right: 23px;
top: 6px;
} }
.volumecontrol { .volumecontrol {
@ -143,37 +144,37 @@
display: inline-block; display: inline-block;
padding: 6px 8px; padding: 6px 8px;
vertical-align: middle; vertical-align: middle;
}
.volumebar .bar {
-webkit-appearance: none;
background-color: #aaa;
border: 1px solid #aaa;
height: 3px;
outline: 0;
width: 100px;
}
.volumebar .bar::-webkit-slider-thumb {
-webkit-appearance: none;
background-color: #fff;
height: 20px;
width: 6px;
}
.volumebar .bar::-moz-range-track {
background: #aaa;
border: 0;
}
.volumebar .bar::-moz-range-thumb {
background-color: #fff;
border-radius: 0;
height: 20px;
width: 6px;
}
.volumebar .bar::-moz-focusring { .bar {
outline: 1px solid #aaa; -webkit-appearance: none;
outline-offset: -1px; background-color: #aaa;
border: 1px solid #aaa;
height: 3px;
outline: 0;
width: 100px;
&::-webkit-slider-thumb {
-webkit-appearance: none;
background-color: #fff;
height: 20px;
width: 6px;
}
&::-moz-range-track {
background: #aaa;
border: 0;
}
&::-moz-range-thumb {
background-color: #fff;
border-radius: 0;
height: 20px;
width: 6px;
}
&::-moz-focusring {
outline: 1px solid #aaa;
outline-offset: -1px;
}
}
} }

44
src/styles/global/_overlaybar.scss

@ -20,6 +20,7 @@
*/ */
.overlaybar { .overlaybar {
// scss-lint:disable QualifyingElement
background: $overlaybar-background; background: $overlaybar-background;
border-bottom: 1px solid #222; border-bottom: 1px solid #222;
border-top: 1px solid #222; border-top: 1px solid #222;
@ -30,14 +31,30 @@
text-shadow: 0 0 5px #000; text-shadow: 0 0 5px #000;
user-select: none; user-select: none;
vertical-align: middle; vertical-align: middle;
}
.overlaybar {
// scss-lint:disable QualifyingElement
&:hover { &:hover {
background: $componentfg2; background: $componentfg2;
} }
&.notvisible {
background: transparent;
border-bottom: 1px solid transparent;
border-top: 1px solid transparent;
pointer-events: none;
&:hover {
background: transparent;
}
.overlaybar-content {
display: none;
}
.overlaybar-overlay {
display: block;
}
}
.btn { .btn {
text-shadow: none; text-shadow: none;
} }
@ -59,27 +76,6 @@
label { label {
padding-top: 6px !important; padding-top: 6px !important;
} }
}
.overlaybar {
&.notvisible {
background: transparent;
border-bottom: 1px solid transparent;
border-top: 1px solid transparent;
pointer-events: none;
&:hover {
background: transparent;
}
.overlaybar-content {
display: none;
}
.overlaybar-overlay {
display: block;
}
}
.overlaybar-button { .overlaybar-button {
color: $overlaybar-btn; color: $overlaybar-btn;

Loading…
Cancel
Save