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

261 lines
4.8 KiB
Plaintext
Raw Normal View History

2015-02-22 07:50:47 +08:00
@import "variables";
#whiteboard {
2015-05-19 23:35:12 +08:00
padding: 0 !important;
min-width: 0;
@media @landscape {
2015-06-09 07:29:49 +08:00
border-top: 0px;
border-left: 0px;
border-right: 0px;
border-top-left-radius: 0;
border-top-right-radius: 0;
width: 70%;
2015-05-19 23:35:12 +08:00
height: 100%;
}
@media @mobile-portrait-with-keyboard, @desktop-portrait, @mobile-portrait {
-webkit-order: 1;
order: 1;
width: 100% !important; // overrides any width value set manually in landscape
2015-05-19 23:35:12 +08:00
}
&:-webkit-full-screen {
width: 100%;
height: 100%;
margin-top: 0px;
#whiteboard-container {
height: 100%;
}
#whiteboard-paper {
height: 100%;
}
.raiseHandButton {
display: none;
}
2015-05-19 23:35:12 +08:00
}
&:-moz-full-screen {
width: 100%;
height: 100%;
margin-top: 0px;
#whiteboard-container {
height: 100%;
}
#whiteboard-paper {
height: 100%;
}
.raiseHandButton {
display: none;
}
2015-05-19 23:35:12 +08:00
}
&:fullscreen {
width: 100%;
height: 100%;
margin-top: 0px;
#whiteboard-container {
height: 100%;
}
#whiteboard-paper {
height: 100%;
}
.raiseHandButton {
display: none;
}
2015-05-19 23:35:12 +08:00
}
}
#whiteboard-paper {
background-color: white !important;
margin-left: auto;
margin-right: auto;
2015-05-19 23:35:12 +08:00
width: 100%;
#svggroup {
display: block;
height: 100% !important;
width: 100% !important;
}
2015-05-19 23:35:12 +08:00
}
#whiteboard-container {
2015-06-04 02:20:59 +08:00
position: relative; // makes the fullscreen button's absolute position work
@media @landscape {
2015-05-14 02:55:15 +08:00
display: -moz-flex;
display: -ms-flexbox;
display: -ms-flex;
display: -webkit-flex;
display: flex;
align-items: center;
-webkit-align-items: center;
-ms-align-items: center;
2015-02-22 07:50:47 +08:00
}
}
.presenter-whiteboard {
height: calc(~'100% - 40px');
}
.poll-whiteboard {
2015-07-30 02:09:37 +08:00
height: calc(~'100% - 70px');
}
.polling {
width: 100%;
2015-07-30 02:09:37 +08:00
height: 70px;
text-align: center;
padding-top:10px;
padding-bottom:10px;
border-top: 1px solid extract(@lightGrey, 3);
font-size: 0; /* to remove default 4px gaps between the buttons caused by display: inline-block */
2015-07-30 02:09:37 +08:00
}
.pollButtons {
color: extract(@white, 1);
background-color: #3896D3;
font-weight: bold;
border: 1px solid extract(@lightGrey, 3);
height: 100%;
padding-left: 0rem !important; /*overwriting the default foundation padding */
padding-right: 0rem !important; /*overwriting the default foundation padding */
max-width: calc(~'100%/6'); /* the actual width and margins are calculated in the code */
/* truncating the text inside the buttons */
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
/* the end of truncating */
span {
max-width: 80%;
}
2015-07-30 02:09:37 +08:00
&:hover {
background: #3A82D4;
}
}
.viewer-whiteboard {
height: 100%;
}
.presentationNavigationControls {
2015-05-19 23:35:12 +08:00
width:54px;
font-size:28px;
float:right;
margin-right:90px;
}
.vertically-centered {
position: relative;
top: 50%;
transform: translateY(-50%);
}
#controllers {
width: 100%;
height: 40px;
}
#switchSlideSection {
display: block;
margin-left: auto;
margin-right: auto;
width: 138px;
height: 100%;
}
.switchSlideButton {
outline: none;
width: 50px;
height: 100%;
margin-bottom: 0;
color: extract(@black, 1);
background-color: extract(@white, 1);
border: 1px solid extract(@lightGrey, 3);
border-radius: 10px;
padding: 0;
&:hover {
background-color: extract(@lightGrey, 3);
color: extract(@black, 1);
}
&:focus {
background-color: extract(@white, 1);
color: extract(@black, 1);
}
}
.previousSlide {
float: left;
}
.nextSlide {
float: right;
}
#presentationProgress {
font-size: 25px;
}
2015-06-04 02:20:59 +08:00
.whiteboardFullscreenButton {
top: 10px;
right: 10px;
2015-06-04 06:34:40 +08:00
@media @landscape {
height: 50px;
width: 50px;
}
@media @mobile-portrait-with-keyboard, @mobile-portrait {
height: 100px;
width: 10%;
}
2015-06-04 02:20:59 +08:00
}
2015-06-11 02:45:11 +08:00
.raiseHandButton {
bottom: 10px;
right: 10px;
2015-06-11 02:45:11 +08:00
@media @desktop-portrait, @landscape {
height: 50px;
width: 50px;
}
@media @mobile-portrait-with-keyboard, @mobile-portrait {
height: 100px;
width: 10%;
}
}
.exitFullscreenButton {
top: 10px;
right: 10px;
2015-06-04 06:34:40 +08:00
@media @landscape {
height: 50px;
width: 50px;
}
@media @mobile-portrait-with-keyboard, @mobile-portrait {
height: 5%;
width: 10%;
}
}
.soaringButton {
position: absolute;
margin-bottom: 0;
padding: 0;
border-radius: 50%;
background: #3896D3;
2015-08-21 03:21:48 +08:00
opacity: 0.55;
&:hover {
background: #3A82D4;
}
&:focus {
background: #3896D3;
outline:0;
}
i {
2015-07-30 06:37:41 +08:00
color: white;
}
}
.iconChrome {
i {
font-size: 200%;
}
}
.iconFirefox {
i {
font-size: 500%;
}
}