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

261 lines
4.8 KiB
Plaintext
Executable File

@import "variables";
#whiteboard {
padding: 0 !important;
min-width: 0;
@media @landscape {
border-top: 0px;
border-left: 0px;
border-right: 0px;
border-top-left-radius: 0;
border-top-right-radius: 0;
width: 70%;
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
}
&:-webkit-full-screen {
width: 100%;
height: 100%;
margin-top: 0px;
#whiteboard-container {
height: 100%;
}
#whiteboard-paper {
height: 100%;
}
.raiseHandButton {
display: none;
}
}
&:-moz-full-screen {
width: 100%;
height: 100%;
margin-top: 0px;
#whiteboard-container {
height: 100%;
}
#whiteboard-paper {
height: 100%;
}
.raiseHandButton {
display: none;
}
}
&:fullscreen {
width: 100%;
height: 100%;
margin-top: 0px;
#whiteboard-container {
height: 100%;
}
#whiteboard-paper {
height: 100%;
}
.raiseHandButton {
display: none;
}
}
}
#whiteboard-paper {
background-color: white !important;
margin-left: auto;
margin-right: auto;
width: 100%;
#svggroup {
display: block;
height: 100% !important;
width: 100% !important;
}
}
#whiteboard-container {
position: relative; // makes the fullscreen button's absolute position work
@media @landscape {
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;
}
}
.presenter-whiteboard {
height: calc(~'100% - 40px');
}
.poll-whiteboard {
height: calc(~'100% - 70px');
}
.polling {
width: 100%;
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 */
}
.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%;
}
&:hover {
background: #3A82D4;
}
}
.viewer-whiteboard {
height: 100%;
}
.presentationNavigationControls {
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;
}
.whiteboardFullscreenButton {
top: 10px;
right: 10px;
@media @landscape {
height: 50px;
width: 50px;
}
@media @mobile-portrait-with-keyboard, @mobile-portrait {
height: 100px;
width: 10%;
}
}
.raiseHandButton {
bottom: 10px;
right: 10px;
@media @desktop-portrait, @landscape {
height: 50px;
width: 50px;
}
@media @mobile-portrait-with-keyboard, @mobile-portrait {
height: 100px;
width: 10%;
}
}
.exitFullscreenButton {
top: 10px;
right: 10px;
@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;
opacity: 0.55;
&:hover {
background: #3A82D4;
}
&:focus {
background: #3896D3;
outline:0;
}
i {
color: white;
}
}
.iconChrome {
i {
font-size: 200%;
}
}
.iconFirefox {
i {
font-size: 500%;
}
}