bigbluebutton-Github/bigbluebutton-html5/app/client/stylesheets/whiteboard.less
2015-10-06 08:15:08 -07:00

342 lines
6.4 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;
border-bottom: 1px solid extract(@lightGrey, 3);
}
}
.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;
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: 0; /*overwriting the default foundation padding */
padding-right: 0; /*overwriting the default foundation padding */
margin-bottom: 0; /*overwriting the default foundation margin */
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 {
@media @desktop-landscape {
height: 50px;
width: 50px;
top: 5px;
right: 5px;
}
@media @phone-landscape {
height: 45px;
width: 45px;
top: 5px;
right: 5px;
}
@media @tablet-landscape {
height: 50px;
width: 50px;
top: 5px;
right: 5px;
}
@media @phone-portrait-with-keyboard, @phone-portrait {
height: 50px;
width: 50px;
top: 2px;
right: 2px;
}
@media @tablet-portrait-with-keyboard, @tablet-portrait {
height: 53px;
width: 53px;
top: 5px;
right: 5px;
}
@media @desktop-portrait {
height: 50px;
width: 50px;
top: 5px;
right: 5px;
}
}
.raiseHandButton {
@media @desktop-landscape {
height: 40px;
width: 40px;
bottom: 5px;
right: 5px;
}
@media @phone-landscape {
height: 45px;
width: 45px;
bottom: 5px;
right: 5px;
}
@media @tablet-landscape {
height: 50px;
width: 50px;
bottom: 5px;
right: 5px;
}
@media @phone-portrait-with-keyboard, @phone-portrait {
height: 50px;
width: 50px;
bottom: 2px;
right: 2px;
}
@media @tablet-portrait-with-keyboard, @tablet-portrait {
height: 53px;
width: 53px;
bottom: 5px;
right: 5px;
}
@media @desktop-portrait {
height: 40px;
width: 40px;
bottom: 5px;
right: 5px;
}
}
.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 {
@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;
}
color: white;
}
}
.iconChrome {
i {
font-size: 200%;
}
}
.iconFirefox {
i {
font-size: 500%;
}
}
.activeEmojiButton {
background-color: #34495E;
}
.sl-fab-trigger, .inactiveEmojiButton {
background-color: #3896D3;
}
.sl-fab-btn:hover {
background-color: #34495E;
}
.sl-fab-trigger:hover {
background-color: #3896D3;
}