/* * Spreed WebRTC. * Copyright (C) 2013-2014 struktur AG * * This file is part of Spreed WebRTC. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ #buddylist { bottom: 0; position: absolute; right: 0; top: 0; width: 285px; z-index: 50; } #buddylist:before { background: $buddylist-tab-background; border-left: 1px solid $bordercolor; border-top: 1px solid $bordercolor; border-bottom: 1px solid $bordercolor; border-top-left-radius: 6px; border-bottom-left-radius: 6px; bottom: 0; color: $buddylist-tab-color; content: "\f100"; cursor: pointer; display: none; font-family: FontAwesome; font-size: 1.8em; height: 55px; left: 0; line-height: 55px; margin: auto; pointer-events: auto; position: absolute; text-align: center; top: 0; width: 25px; } .withBuddylist #buddylist:before { content: "\f101"; } .withBuddylistAutoHide #buddylist:before { display: block; } .buddylist { background: $buddylist-background; border-top: 1px solid $bordercolor; bottom: 0; left: 25px; overflow-x: hidden; overflow-y: auto; pointer-events: auto; position: absolute; right: 0; top: 0; } .buddylist { &.loading { .buddylistloading { display:block; } } &.empty { .buddylistempty { display:block; } } .buddycontainer { pointer-events: auto; position: relative; user-select: none; } .buddylistloading, .buddylistempty { bottom: 0; color: $font-color-accent; display: none; font-size: 1.4em; height: 2em; left: 0; margin: auto; padding:.4em; position: absolute; right: 0; text-align: center; top: 0; } } .buddy { background: $sidepanebg; border-bottom: 1px solid $bordercolor; cursor: pointer; display: block; font-size: 13px; min-height: 66px; overflow: hidden; position: relative; text-align: left; width: 100%; @include tap-highlight-color($tap-highlight); } .buddy:hover { background: $componentbg; } .buddy { &.withSubline .buddy1, &.contact .buddy1 { top: 15px; } &.withSubline .buddy2, &.contact .buddy2 { display: block; } &.hovered .buddyactions { right: 0; } & .fa.contact:before { content: "\f006"; } &.contact .fa.contact:before { content: "\f005"; } .buddyPicture { background: $actioncolor1; border-radius: 2px; float: left; height: 46px; margin: 10px; overflow: hidden; position: relative; text-align: center; width: 46px; .#{$fa-css-prefix} { color: $actioncolor2; line-height: 46px; } img { bottom: 0; display: block; left: 0; position: absolute; right: 0; top: 0; } } .buddyPictureSmall { margin:0px; margin-left:-4px; height:30px; width:30px; margin-right:4px; .#{$fa-css-prefix} { line-height: 30px; } } .buddy1 { color: $buddylist-buddy1; font-weight: bold; font-size: 14px; height: 28px; left: 65px; position: absolute; overflow: hidden; right: 4px; text-overflow: ellipsis; top: 24px; white-space: nowrap; } .buddy2 { color: $buddylist-buddy2; left: 65px; overflow: hidden; position: absolute; right: 0px; top: 33px; white-space: nowrap; display: none; } .buddy3 { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; display: inline-block; width:160px; text-align:left; } } .buddy .buddyactions { background: $buddylist-action-background; height: 66px; line-height: 66px; position: absolute; right: -125px; padding: 0 10px; text-align: right; top: 0px; transition-property: right; transition-duration: .3s; white-space: nowrap; z-index: 5; .#{$fa-css-prefix} { font-size: 2em; } i.fa { pointer-events: none; } } .buddy .buddysessions { margin-top: 56px; max-height:0px; transition-property: max-height; transition-duration: 1s; transition-delay: .1s; ul { padding-top: 10px; margin-left: 20px; padding-left: 0px; border-left: 1px dotted $bordercolor; } ul li { margin-bottom: 1px; margin-top: 1px; margin-left: -4px; list-style-type: none; } .currentsession .buddy3 { font-weight: bold; } } .buddy.hovered .buddysessions { max-height:999px; }