bigbluebutton-Github/bigbluebutton-html5/app/client/stylesheets/style.less

853 lines
18 KiB
Plaintext
Executable File

@import "variables";
@import "mixins";
body {
background: extract(@white, 3);
bottom: 0;
color: extract(@darkGrey, 1);
left: 0;
right: 0;
@media @landscape {
height: 100%;
position: absolute;
top: 0;
}
@media @desktop-landscape {
min-width: 768px;
}
@media @mobile-portrait-with-keyboard, @desktop-portrait, @mobile-portrait {
position: relative;
top: 0;
}
@media @mobile-portrait-with-keyboard, @mobile-portrait {
overflow-x: hidden;
}
}
.component {
.radius;
background: extract(@white, 1);
border: 1px solid extract(@lightGrey, 3);
float: left;
}
.heading {
margin-left:5px
}
@media @mobile-portrait {
.sl-toggled-on .unreadChat {
display: none;
}
}
.navbarButton {
color: #469DCF;
.unreadChat {
position: absolute;
z-index: 1;
background:red;
border-radius:80%;
@media @desktop-portrait, @landscape {
top: 20%;
left: 65%;
width:19%;
height:20%;
}
@media @mobile-portrait {
top: 14%;
left: 70%;
width:25%;
height:25%;
}
}
i {
@media @phone-landscape {
font-size: 29px;
}
@media @desktop-portrait, @desktop-landscape, @tablet-landscape {
font-size: 30px;
}
@media @phone-portrait-with-keyboard, @phone-portrait {
font-size: 35px;
}
@media @tablet-portrait-with-keyboard, @tablet-portrait {
font-size: 40px;
}
}
}
.myNavbar {
border-bottom: 1px;
@media @desktop-portrait, @landscape {
background-color: white;
border-bottom: 1px solid extract(@lightGrey, 1);
}
@media @mobile-portrait-with-keyboard, @mobile-portrait {
.linear-gradient(rgb(72,76,85), rgb(65,68,77));
}
.btn {
@media @tablet-landscape {
height: 50px;
width: 51.2px;
}
@media @phone-landscape {
height: 47px;
width: 47px;
}
@media @desktop-landscape {
height: 50px;
width: 51.2px;
}
@media @desktop-portrait {
height: 50px;
width: 51.2px;
}
@media @desktop-portrait, @landscape {
top: 0 !important;
padding-left: 1% !important;
padding-right: 1% !important;
background-color: white;
&:not(.toggleMenuButton):not(.toggleUserlistButton) {
border-bottom: 1px solid extract(@lightGrey, 1);
}
}
@media @mobile-portrait-with-keyboard, @mobile-portrait {
.linear-gradient(rgb(72,76,85), rgb(65,68,77));
}
@media @phone-portrait-with-keyboard, @phone-portrait {
height: 50px !important;
width: 50px;
}
@media @tablet-portrait-with-keyboard, @tablet-portrait {
height: 55px !important;
width: 55px;
}
.push-menu-icon {
.icon-bar {
margin-left: auto;
margin-right: auto;
margin-bottom: 8px;
margin-top: 8px;
display: block;
border-radius: 1px;
background-color: extract(@white, 1);
width: 50px;
height: 10px;
}
margin-top: auto;
margin-bottom: auto;
}
// overriding the default button styling:
&.toggleUserlistButton, &.toggleMenuButton {
background: transparent;
}
span { background-color: #469DCF; }
}
@media @tablet-landscape {
height: 50px;
}
@media @phone-landscape {
height: 47px;
}
@media @desktop-landscape {
height: 50px;
}
@media @phone-portrait-with-keyboard, @phone-portrait {
height: 50px;
}
@media @tablet-portrait-with-keyboard, @tablet-portrait {
height: 55px;
}
@media @desktop-portrait {
min-width: 400px;
height: 50px;
}
.navbarTitle {
font-weight: bold;
text-align: center;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
position: absolute;
@media @mobile-portrait-with-keyboard, @mobile-portrait {
color: extract(@white, 1);
margin-left: auto;
margin-right: auto;
}
@media @phone-portrait-with-keyboard, @phone-portrait {
height: 50px;
padding-top: 25px; // half the height
font-size: 18px;
}
@media @tablet-portrait-with-keyboard, @tablet-portrait {
height: 55px;
padding-top: 27.5px; // half the height
font-size: 21px;
}
@media @tablet-landscape {
font-size: 18px;
height: 50px;
padding-top: 25px; // half the height
}
@media @phone-landscape {
font-size: 18px;
height: 47px;
padding-top: 23.5px; // half the height
}
@media @desktop-landscape {
font-size: 16px;
height: 50px;
padding-top: 25px; // half the height
}
@media @desktop-portrait {
height: 50px;
padding-top: 25px; // half the height
}
@media @landscape, @desktop-portrait {
color: extract(@darkGrey, 1);
padding-left: 15px;
padding-right: 15px;
}
&.defaultTitle {
@media @landscape, @desktop-portrait {
left: 51.2px;
}
@media @phone-portrait, @phone-portrait-with-keyboard {
left: 50px;
padding-left: 10px;
padding-right: 10px;
}
@media @tablet-portrait, @tablet-portrait-with-keyboard {
left: 55px;
padding-left: 11px;
padding-right: 11px;
}
@media @landscape {
max-width: calc(~'100% - 174px'); // leaves room for 3 buttons (including margins)
}
@media @desktop-portrait {
max-width: calc(~'100% - 102.4px'); // leaves room for 2 buttons
}
@media @phone-portrait, @phone-portrait-with-keyboard {
width: calc(~'100% - 100px');
}
@media @tablet-portrait, @tablet-portrait-with-keyboard {
width: calc(~'100% - 110px');
}
}
&.shiftedTitle {
@media @landscape, @desktop-portrait {
left: 102.4px;
}
@media @phone-portrait, @phone-portrait-with-keyboard {
left: 100px;
padding-left: 10px;
padding-right: 60px;
}
@media @tablet-portrait, @tablet-portrait-with-keyboard {
left: 110px;
padding-left: 11px;
padding-right: 66px;
}
@media @landscape {
max-width: calc(~'100% - 225px'); // leaves room for 4 buttons (including margins)
}
@media @desktop-portrait {
max-width: calc(~'100% - 153.6px'); // leaves for 3 buttons
}
@media @phone-portrait, @phone-portrait-with-keyboard {
width: calc(~'100% - 150px');
}
@media @tablet-portrait, @tablet-portrait-with-keyboard {
width: calc(~'100% - 165px');
}
}
}
}
.recordingStatus {
background: none !important;
border: none;
margin-left: 10px;
padding: 0 !important;
.false { color: maroon; }
.true { color: green; }
}
.ScrollableWindowX {
width: 100%;
overflow-x: scroll;
}
.ScrollableWindowY {
overflow-y:auto;
}
.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
border-top: 0px;
}
.meetingTitle {
text-align: center;
font-weight: bold;
line-height: 2em;
margin: 0;
@media @tablet-landscape {
font-size: 18px;
height: 50px;
}
@media @phone-landscape {
font-size: 19px;
height: 47px;
}
@media @phone-portrait, @phone-portrait-with-keyboard {
font-size: 18px;
padding-top: 8px;
}
@media @tablet-portrait, @tablet-portrait-with-keyboard {
font-size: 20px;
padding-top: 7px;
}
@media @mobile-portrait, @mobile-portrait-with-keyboard {
.linear-gradient(rgb(72,76,85), rgb(65,68,77));
color: white;
height: 50px;
}
@media @desktop-portrait {
background-color: white;
padding-top: 10px;
color: extract(@darkGrey, 1);
}
@media @landscape {
border-bottom: 1px solid extract(@lightGrey, 1);
color: extract(@darkGrey, 1);
padding-bottom: 5px;
padding-top: 5px;
}
@media @desktop-portrait, @desktop-landscape {
font-size: 18px;
height: 50px;
}
}
#container {
@media @landscape {
display: -moz-flex;
display: -ms-flexbox;
display: -ms-flex;
display: -webkit-flex;
display: flex;
-webkit-flex-flow: row;
flex-flow: row;
}
width: 100%;
height: 100%;
background-color: extract(@white, 3);
&.moved-to-right, &.moved-to-left {
@media @mobile-portrait-with-keyboard, @desktop-portrait, @mobile-portrait {
z-index: 1; // same level as notifications
.shield {
position: absolute;
left: 0;
width: 100%;
height: 100%;
background-color: black;
opacity: 0;
z-index: 1;
cursor: pointer;
@media @landscape, @desktop-portrait {
top: 50px;
}
@media @mobile-portrait-with-keyboard, @mobile-portrait {
top: 110px;
}
}
}
}
}
.fullScreenPresentation {
width: 90% !important;
height: 90% !important;
}
.halfScreen {
width: 44% !important;
height: 80% !important;
}
.quarterScreen {
width: 22% !important;
height: 80% !important;
}
.navbarSection {
@media @landscape {
min-width: 256px;
width: 33%;
}
}
.slideButton {
@media @mobile-portrait-with-keyboard, @desktop-portrait, @mobile-portrait {
display: block;
margin-left: auto;
margin-right: auto;
width: 90%;
background-color: transparent;
color: white;
border-bottom: 2px solid extract(@lightGrey, 4);
margin-top: 0;
margin-bottom: 0;
&:hover {
background-color: extract(@lightGrey, 1);
}
i, span {
float: left;
}
span {
margin-left: 20px;
}
}
@media @phone-portrait-with-keyboard, @phone-portrait {
height: 50px;
font-size: 18px;
}
@media @tablet-portrait-with-keyboard, @tablet-portrait {
height: 50px;
font-size: 18px;
}
@media @desktop-portrait {
height: 50px;
font-size: 20px;
}
i {
@media @phone-landscape {
font-size: 29px;
}
@media @desktop-portrait, @desktop-landscape, @tablet-landscape {
font-size: 30px;
}
@media @phone-portrait-with-keyboard, @phone-portrait {
font-size: 30px;
}
@media @tablet-portrait-with-keyboard, @tablet-portrait {
font-size: 25px;
}
}
}
.titleArea {
width: 100%;
@media @mobile-portrait-with-keyboard, @mobile-portrait {
height: 50px;
.linear-gradient(rgb(72,76,85), rgb(65,68,77));
}
@media @desktop-portrait {
height: 50px;
}
}
/* Notifications */
#browser-icon-container {
float: left;
max-height: 35px !important;
max-width: 35px !important;
path {
margin: auto;
}
}
.invisible {
display: none;
}
#main {
@media @landscape {
-webkit-flex: 1 1;
-moz-flex: 1 1;
-ms-flex: 1 1;
flex: 1 1;
height: 100%;
}
@media @mobile-portrait-with-keyboard, @desktop-portrait, @mobile-portrait {
height: 100%;
}
}
#panels {
display: -moz-flex;
display: -ms-flexbox;
display: -ms-flex;
display: -webkit-flex;
display: flex;
@media @landscape {
-webkit-flex-flow: row;
flex-flow: row;
}
@media @mobile-portrait-with-keyboard, @desktop-portrait, @mobile-portrait {
-webkit-flex-flow: column;
flex-flow: column;
}
width: 100%;
@media @desktop-landscape {
height: calc(~'100% - 50px'); // 50px for narbar height
}
@media @phone-landscape, @tablet-landscape {
height: calc(~'100% - 47px'); // 47px for narbar height
}
}
.signOutIcon {
@media @landscape {
&:hover {
color: #2A5E7C;
}
&:focus {
color: #2A5E7C;
}
height: 28px;
width: 75px;
margin-left: 10px;
}
}
.rightNavbarSection {
float: right;
@media @mobile-portrait-with-keyboard, @desktop-portrait, @mobile-portrait {
display: none;
}
}
.audioNavbarSection {
position: absolute;
top: 0;
@media @landscape, @desktop-portrait {
left: 51.2px;
}
@media @phone-portrait, @phone-portrait-with-keyboard {
left: 50px;
width: 50px;
}
@media @tablet-portrait, @tablet-portrait-with-keyboard {
left: 55px;
width: 55px;
}
.muteIcon:hover {
color: #2A5E7C;
}
}
.muteIcon, .leaveAudioButton {
@media @mobile-portrait, @mobile-portrait-with-keyboard {
display: block;
margin-left: auto;
margin-right: auto;
}
}
.toggleMenuButton {
float: right;
@media @landscape {
display: none;
}
@media @mobile-portrait, @mobile-portrait-with-keyboard {
.linear-gradient(rgb(72,76,85), rgb(65,68,77));
}
}
.pressedButton {
i {
color: extract(@azure, 2);
}
}
.toggleUserlistButton, .toggleMenuButton {
z-index: 1001;
}
.toggleUserlistButton, .toggleMenuButton {
outline: none;
}
.settingsIcon {
@media @landscape {
&:hover {
color: #2A5E7C;
}
&:focus {
color: #2A5E7C;
}
width: 57px;
margin-right: 5px;
}
}
#menu {
width: 85%;
height: 100%;
@media @mobile-portrait-with-keyboard, @desktop-portrait, @mobile-portrait {
.linear-gradient(rgb(65,68,77), rgb(58,60,69));
}
@media @landscape {
display: none;
}
}
#notificationArea {
height: auto;
overflow-y: hidden;
position: absolute;
text-align: center;
z-index: 1; // in front of the whiteboard
// Phone
@media @phone-landscape, @phone-portrait-with-keyboard, @phone-portrait {
margin-left: 5px;
margin-right: 5px;
width: calc(~'100% - 10px');
}
@media @phone-landscape {
top: 5px;
}
@media @phone-portrait-with-keyboard, @phone-portrait {
top: 3px;
}
// Tablet
@media @tablet-landscape, @tablet-portrait-with-keyboard, @tablet-portrait {
top: 5px;
margin-left: 5px;
margin-right: 5px;
width: calc(~'100% - 10px');
}
// Desktop
@media @desktop-landscape, @desktop-portrait {
top: 5px;
margin-left: 5px;
margin-right: 5px;
width: calc(~'100% - 10px');
}
}
.bbbNotification {
margin-bottom: 0; // overrides the value from Foundation
// Phone
@media @phone-landscape, @phone-portrait-with-keyboard, @phone-portrait {
font-size: 18px; // same size as the navbar title
padding-top: 10px;
padding-bottom: 10px;
padding-left: 25px;
padding-right: 25px;
}
// Tablet
@media @tablet-landscape {
font-size: 18px; // same size as the navbar title
padding-top: 10px;
padding-bottom: 10px;
padding-left: 35px;
padding-right: 35px;
}
@media @tablet-portrait-with-keyboard, @tablet-portrait {
font-size: 21px; // same size as the navbar title
padding-top: 11px;
padding-bottom: 11px;
padding-left: 38px;
padding-right: 38px;
}
// Desktop
@media @desktop-landscape, @desktop-portrait {
font-size: 14px;
padding-top: 11px;
padding-bottom: 11px;
padding-left: 33px;
padding-right: 33px;
}
.close {
// overriding the values from Foundation
margin-bottom: 0;
padding: 0;
// Phone
@media @phone-landscape, @phone-portrait-with-keyboard, @phone-portrait {
font-size: 35px;
top: 19px;
right: 4px;
}
// Tablet
@media @tablet-landscape {
font-size: 40px;
top: 17px;
right: 10px;
}
@media @tablet-portrait-with-keyboard, @tablet-portrait {
font-size: 45px;
top: 18px;
right: 11px;
}
// Desktop
@media @desktop-landscape, @desktop-portrait {
font-size: 30px;
top: 19px;
right: 10px;
}
}
}
.top-bar {
line-height: 0;
}
.btn {
@media @mobile-portrait-with-keyboard, @mobile-portrait {
padding-left: 10px;
padding-right: 10px;
}
}
.verticallyCentered {
position: relative;
top: 50%;
transform: translateY(-50%);
}
/* Sliding Menu */
@media @desktop-portrait {
.sl-left-drawer {
z-index: 1000;
position: fixed;
left: -400px;
width: 400px !important; // overrides any width value set manually in landscape
&.sl-left-drawer-out {
left: 0px;
}
}
.sl-right-drawer {
z-index: 1000;
position: fixed;
right: -400px;
width: 400px;
&.sl-right-drawer-out {
right: 0px;
}
}
}
.sl-left-drawer {
height: 100%;
@media @tablet-landscape {
width: 200px;
}
@media @phone-landscape {
width: 200px;
}
@media @desktop-landscape {
width: 300px;
}
}
.sl-right-drawer {
height: 100%;
.linear-gradient(rgb(65,68,77), rgb(58,60,69));
}
.hiddenInLandscape {
@media @landscape {
display: none;
}
}
.shield {
position: absolute;
left: 0;
width: 100%;
height: 100%;
background-color: black;
opacity: 0;
z-index: 1;
cursor: pointer;
@media @desktop-portrait {
top: 50px;
}
@media @mobile-portrait-with-keyboard, @mobile-portrait {
top: 50px;
}
@media @landscape {
display: none;
}
&:not(.darken):not(.animatedShield) {
display: none;
}
}
.darken {
animation: darken 0.3s linear;
animation-fill-mode: forwards;
}
@keyframes darken {
0% {
opacity: 0;
}
100% {
opacity: 0.5;
}
}
.ui-resizable-handle {
@media @mobile-portrait, @desktop-portrait, @mobile-portrait-with-keyboard {
display: none; // hides the sizing handle everywhere except the landscape mode
}
}
// same as Sled's left drawer except for animations
.left-drawer {
z-index: 1000;
position: fixed;
width: 60vw;
left: -60vw;
height: 100%;
}
// same as Sled's right drawer except for animations
.right-drawer {
z-index: 1000;
position: fixed;
transform: translateX(100vw);
height: 100%;
.linear-gradient(rgb(65,68,77), rgb(58,60,69));
width: 60vw;
}