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

758 lines
16 KiB
Plaintext
Raw Normal View History

2015-02-22 07:50:47 +08:00
@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;
}
2015-02-22 07:50:47 +08:00
@media @mobile-portrait-with-keyboard, @desktop-portrait, @mobile-portrait {
position: relative;
top: 0;
2015-02-22 07:50:47 +08:00
}
@media @mobile-portrait-with-keyboard, @mobile-portrait {
overflow-x: hidden;
}
2015-02-22 07:50:47 +08:00
}
.component {
.radius;
background: extract(@white, 1);
border: 1px solid extract(@lightGrey, 3);
float: left;
}
.heading {
2015-05-07 06:08:49 +08:00
margin-left:5px
2015-02-22 07:50:47 +08:00
}
@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;
}
}
}
2015-02-22 07:50:47 +08:00
.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 {
2015-02-22 07:50:47 +08:00
.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;
2015-05-14 02:55:15 +08:00
width: 51.2px;
}
@media @desktop-portrait, @landscape {
2015-05-14 02:55:15 +08:00
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);
}
2015-02-22 07:50:47 +08:00
}
2015-05-14 02:55:15 +08:00
@media @mobile-portrait-with-keyboard, @mobile-portrait {
.linear-gradient(rgb(72,76,85), rgb(65,68,77));
2015-02-22 07:50:47 +08:00
}
@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;
}
2015-06-19 03:09:17 +08:00
// overriding the default button styling:
&.toggleUserlistButton, &.toggleMenuButton {
background: transparent;
}
span { background-color: #469DCF; }
2015-02-22 07:50:47 +08:00
}
@media @tablet-landscape {
height: 50px;
}
@media @phone-landscape {
height: 47px;
}
@media @desktop-landscape {
height: 50px;
2015-02-22 07:50:47 +08:00
}
@media @phone-portrait-with-keyboard, @phone-portrait {
height: 50px;
}
@media @tablet-portrait-with-keyboard, @tablet-portrait {
height: 55px;
2015-02-22 07:50:47 +08:00
}
@media @desktop-portrait {
min-width: 400px;
height: 50px;
2015-02-22 07:50:47 +08:00
}
2015-05-14 02:55:15 +08:00
.navbarTitle {
font-weight: bold;
text-align: center;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
position: absolute;
2015-05-14 02:55:15 +08:00
@media @mobile-portrait-with-keyboard, @mobile-portrait {
color: extract(@white, 1);
2015-05-14 02:55:15 +08:00
margin-left: auto;
margin-right: auto;
padding-left: 10px;
padding-right: 10px;
}
@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 {
2015-05-14 02:55:15 +08:00
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 @mobile-portrait, @mobile-portrait-with-keyboard {
left: 50px;
}
@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 @mobile-portrait, @mobile-portrait-with-keyboard {
width: calc(~'100% - 100px');
}
}
&.shiftedTitle {
@media @landscape, @desktop-portrait {
left: 102.4px;
}
@media @mobile-portrait, @mobile-portrait-with-keyboard {
left: 100px;
}
@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 @mobile-portrait, @mobile-portrait-with-keyboard {
width: calc(~'100% - 150px');
}
2015-02-22 07:50:47 +08:00
}
}
}
.recordingStatus {
2015-05-14 02:55:15 +08:00
background: none !important;
2015-02-22 07:50:47 +08:00
border: none;
margin-left: 10px;
2015-05-14 02:55:15 +08:00
padding: 0 !important;
.false { color: maroon; }
.true { color: green; }
2015-02-22 07:50:47 +08:00
}
.ScrollableWindowX {
width: 100%;
overflow-x: scroll;
}
.ScrollableWindowY {
overflow-y:auto;
2015-02-22 07:50:47 +08:00
}
.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;
}
2015-05-14 02:55:15 +08:00
.meetingTitle {
text-align: center;
2015-02-22 07:50:47 +08:00
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 {
2015-06-19 03:09:17 +08:00
.linear-gradient(rgb(72,76,85), rgb(65,68,77));
color: white;
height: 50px;
}
@media @desktop-portrait {
2015-08-19 08:02:00 +08:00
background-color: white;
padding-top: 10px;
2015-08-19 08:02:00 +08:00
color: extract(@darkGrey, 1);
2015-06-19 03:09:17 +08:00
}
@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;
2015-02-22 07:50:47 +08:00
}
}
#container {
2015-02-22 07:50:47 +08:00
@media @landscape {
display: -moz-flex;
display: -ms-flexbox;
display: -ms-flex;
display: -webkit-flex;
display: flex;
2015-02-22 07:50:47 +08:00
-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;
2015-06-19 03:09:17 +08:00
opacity: 0;
z-index: 1;
cursor: pointer;
@media @landscape, @desktop-portrait {
top: 50px;
}
@media @mobile-portrait-with-keyboard, @mobile-portrait {
top: 110px;
}
}
}
}
2015-02-22 07:50:47 +08:00
}
.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 {
2015-02-22 07:50:47 +08:00
display: block;
margin-left: auto;
margin-right: auto;
width: 90%;
2015-06-19 03:09:17 +08:00
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;
2015-02-22 07:50:47 +08:00
}
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;
}
}
2015-02-22 07:50:47 +08:00
}
2015-08-19 08:02:00 +08:00
.titleArea {
width: 100%;
@media @mobile-portrait-with-keyboard, @mobile-portrait {
height: 50px;
2015-08-19 08:02:00 +08:00
.linear-gradient(rgb(72,76,85), rgb(65,68,77));
}
@media @desktop-portrait {
height: 50px;
}
}
2015-03-15 10:31:01 +08:00
/* 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 {
2015-05-14 02:55:15 +08:00
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
}
}
2015-05-07 07:05:56 +08:00
.signOutIcon {
@media @landscape {
&:hover {
color: #2A5E7C;
}
&:focus {
color: #2A5E7C;
}
height: 28px;
width: 75px;
margin-left: 10px;
}
2015-05-07 07:05:56 +08:00
}
.rightNavbarSection {
float: right;
2015-05-14 02:55:15 +08:00
@media @mobile-portrait-with-keyboard, @desktop-portrait, @mobile-portrait {
display: none;
}
}
.audioNavbarSection {
position: absolute;
top: 0;
@media @landscape, @desktop-portrait {
left: 51.2px;
}
@media @mobile-portrait, @mobile-portrait-with-keyboard {
left: 10%;
width: 10%;
}
.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;
}
2015-08-19 08:02:00 +08:00
@media @mobile-portrait, @mobile-portrait-with-keyboard {
.linear-gradient(rgb(72,76,85), rgb(65,68,77));
}
}
.pressedButton {
i {
color: extract(@azure, 2);
}
}
2015-06-19 03:09:17 +08:00
.toggleUserlistButton, .toggleMenuButton {
z-index: 1001;
2015-05-09 00:02:15 +08:00
}
2015-05-14 02:55:15 +08:00
.toggleUserlistButton, .toggleMenuButton {
outline: none;
}
2015-05-09 00:02:15 +08:00
.settingsIcon {
@media @landscape {
&:hover {
color: #2A5E7C;
}
&:focus {
color: #2A5E7C;
}
width: 57px;
margin-right: 5px;
}
}
#menu {
2015-06-19 03:09:17 +08:00
width: 85%;
height: 100%;
2015-06-19 03:09:17 +08:00
@media @mobile-portrait-with-keyboard, @desktop-portrait, @mobile-portrait {
.linear-gradient(rgb(65,68,77), rgb(58,60,69));
}
@media @landscape {
display: none;
}
}
2015-05-12 04:02:11 +08:00
#notificationArea {
2015-06-02 22:02:54 +08:00
height: auto;
2015-05-12 04:02:11 +08:00
left:0;
margin: auto;
2015-05-19 22:07:05 +08:00
margin-top: 0px;
2015-05-12 04:02:11 +08:00
@media @landscape {
width: 50%;
}
@media @mobile-portrait-with-keyboard, @desktop-portrait, @mobile-portrait {
width: 90%;
}
@media @landscape, @desktop-portrait {
top: 57px; // height of navbar (50px), 2 pixels for navbar margin, 5 pixels for neat whitespace
}
@media @mobile-portrait-with-keyboard, @mobile-portrait {
top: 130px; // height of navbar (130px), 20 pixels for neat whitespace
}
overflow-y: hidden;
position: fixed;
right:0;
text-align: center;
2015-05-12 04:02:11 +08:00
z-index: 1; // in front of the whiteboard
}
.bbbNotification {
margin-bottom: 5px;
@media @mobile-portrait-with-keyboard, @mobile-portrait {
font-size: 50px;
}
.close {
@media @mobile-portrait-with-keyboard, @mobile-portrait {
font-size: 100px;
top: 20%;
}
}
2015-05-12 04:02:11 +08:00
}
2015-05-13 22:24:21 +08:00
.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%);
}
2015-06-19 03:09:17 +08:00
/* 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
2015-06-19 03:09:17 +08:00
&.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;
2015-06-19 03:09:17 +08:00
}
}
.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;
}