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

476 lines
9.7 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%;
min-width: 768px;
position: absolute;
top: 0;
}
@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
}
.myNavbar {
border-bottom: 0px;
&.gradientBar {
.linear-gradient(rgb(72,76,85), rgb(65,68,77));
}
.btn {
2015-05-14 02:55:15 +08:00
@media @desktop-portrait, @landscape {
height: 50px !important;
width: 51.2px;
top: 0 !important;
padding-left: 1% !important;
padding-right: 1% !important;
2015-02-22 07:50:47 +08:00
}
2015-05-14 02:55:15 +08:00
@media @mobile-portrait-with-keyboard, @mobile-portrait {
height: 100px !important;
width: 10%;
min-width: 60px;
2015-02-22 07:50:47 +08:00
}
2015-05-14 02:55:15 +08:00
.linear-gradient(rgb(72,76,85), rgb(65,68,77));
.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-02-22 07:50:47 +08:00
}
@media @landscape {
min-width: 768px;
height: 50px;
2015-02-22 07:50:47 +08:00
}
@media @mobile-portrait-with-keyboard, @mobile-portrait {
min-width: 630px;
height: 110px;
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 {
color: extract(@white, 1);
font-weight: bold;
text-align: center;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
@media @landscape {
font-size: 16px;
width: 30% !important;
}
@media @mobile-portrait-with-keyboard, @mobile-portrait {
font-size: 30px;
padding-top: 30px;
padding-left: 5px;
height: 72px;
width: 70%;
margin-left: auto;
margin-right: auto;
}
@media @desktop-portrait {
font-size: 16px;
width: calc(~'100% - 102.4px');
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 {
2015-02-22 07:50:47 +08:00
border-bottom: 1px solid extract(@lightGrey, 1);
color: extract(@darkGrey, 1);
font-weight: bold;
line-height: 2em;
margin: 0;
padding-bottom: 5px;
padding-left: 10px;
padding-top: 5px;
@media @desktop-portrait, @landscape {
font-size: 18px;
height: 50px;
2015-02-22 07:50:47 +08:00
}
@media @mobile-portrait, @mobile-portrait-with-keyboard {
font-size: 4vw;
height: 110px;
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 {
@media @mobile-portrait-with-keyboard, @desktop-portrait, @mobile-portrait {
position: fixed;
left: 500px;
}
}
&.moved-to-left {
@media @mobile-portrait-with-keyboard, @desktop-portrait, @mobile-portrait {
position: fixed;
right: 500px;
}
}
&.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.5;
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%;
}
}
/* Sliding menu */
.sliding-menu {
@media @mobile-portrait-with-keyboard, @mobile-portrait {
transition: left 0.1s;
2015-02-22 07:50:47 +08:00
width: 15%;
height: 100%;
position: fixed;
top: 100px;
2015-02-22 07:50:47 +08:00
left: -15%;
z-index: 1031;
&.sliding-menu-opened {
left: 0px;
}
a {
border-bottom: 1px solid #258ecd;
padding: 1em;
}
}
@media @landscape, @desktop-portrait {
display: none;
}
2015-02-22 07:50:47 +08:00
}
.slideSection {
@media @mobile-portrait-with-keyboard, @mobile-portrait {
float: left;
margin-top: 0;
2015-02-22 07:50:47 +08:00
height: 100%;
width: 100%;
margin-bottom: 0.5%;
&.gradientBar {
.linear-gradient(rgb(72,76,85), rgb(65,68,77));
}
.btn {
.linear-gradient(rgb(72,76,85), rgb(65,68,77));
&.navbarIconToggleActive {
background: extract(@darkGrey, 3);
border-bottom: 4px solid extract(@azure, 1);
}
i {
color: extract(@white, 1);
}
}
}
}
.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%;
background-color: white;
color: extract(@darkGrey, 3);
border-bottom: 2px solid extract(@darkGrey, 3);
margin-top: 0;
margin-bottom: 0;
&:hover {
background-color: extract(@lightGrey, 1);
}
i, span {
float: left;
}
span {
margin-left: 20px;
}
}
@media @mobile-portrait-with-keyboard, @mobile-portrait {
height: 110px;
font-size: 40px;
}
@media @desktop-portrait {
height: 50px;
font-size: 20px;
2015-02-22 07:50:47 +08:00
}
}
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: 4 4 80%;
-moz-flex: 4 4 80%;
-ms-flex: 4 4 80%;
flex: 4 4 80%;
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%;
height: calc(~'100% - 50px'); // 50px for narbar height
}
2015-05-07 07:05:56 +08:00
.signOutIcon {
@media @landscape {
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;
}
}
.toggleMenuButton {
float: right;
@media @landscape {
display: none;
}
}
.pressedButton {
i {
color: extract(@azure, 2);
}
}
2015-05-09 00:02:15 +08:00
.toggleUserlist {
width: 57px;
margin-right: 10px;
}
2015-05-14 02:55:15 +08:00
2015-05-09 00:02:15 +08:00
.settingsIcon {
@media @landscape {
width: 57px;
margin-right: 5px;
}
}
#menu {
width: 500px;
height: 100%;
position: fixed;
right: 0;
z-index: -1000;
}
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
#logoutModal {
margin-top: 0px;
margin-right: 0px;
top: 5% !important;
right: 5%;
position: fixed;
text-align: center;
@media @landscape {
width: 20%;
}
@media @desktop-portrait {
width: 40%;
}
@media @mobile-portrait-with-keyboard, @mobile-portrait {
width: 90%;
p {
font-size: 250%;
}
}
2015-05-13 22:24:21 +08:00
.logoutButton {
2015-05-25 11:24:21 +08:00
padding: 0px;
@media @desktop-portrait, @landscape {
width: 50px;
height: 30px;
}
@media @mobile-portrait-with-keyboard, @mobile-portrait {
width: 20%;
font-size: 200%;
}
2015-05-13 22:24:21 +08:00
background-color: rgb(229, 229, 229);
color: rgb(121, 121, 121);
font-weight: bold;
border-radius: 10px;
margin-left: 5px;
margin-right: 5px;
}
2015-05-14 02:55:15 +08:00
#yes { border: 2px solid rgb(71, 164, 255); }
2015-05-13 22:24:21 +08:00
}
.top-bar {
line-height: 0;
}