Merge pull request #1342 from jitsi/filmstriponly_transparent

fix(filmstriponly): Set the background to transparent
This commit is contained in:
yanas 2017-02-23 16:11:35 -06:00 committed by GitHub
commit 4979666a89
3 changed files with 11 additions and 13 deletions

View File

@ -3,21 +3,25 @@
user-select: none; user-select: none;
} }
html, body{ body {
margin:0px; margin: 0px;
height:100%; width: 100%;
color: $defaultColor; height: 100%;
font-size: 12px; font-size: 12px;
font-weight: 400; font-weight: 400;
background: #000000;
overflow: hidden; overflow: hidden;
color: $defaultColor;
background: $defaultBackground;
&.filmstrip-only {
background: transparent;
}
} }
p { p {
margin: 0; margin: 0;
} }
html, body, input, textarea, keygen, select, button { body, input, textarea, keygen, select, button {
font-family: $baseFontFamily !important; font-family: $baseFontFamily !important;
} }

View File

@ -1,10 +1,3 @@
html, body {
width: 100%;
height:100%;
color: $defaultColor;
background: $defaultBackground;
}
.redirectPageMessage { .redirectPageMessage {
width: 30%; width: 30%;
margin: 20% auto; margin: 20% auto;

View File

@ -441,6 +441,7 @@ UI.start = function () {
UIUtil.setVisible('notice', true); UIUtil.setVisible('notice', true);
} }
} else { } else {
$("body").addClass("filmstrip-only");
UIUtil.setVisible('mainToolbarContainer', false); UIUtil.setVisible('mainToolbarContainer', false);
FilmStrip.setupFilmStripOnly(); FilmStrip.setupFilmStripOnly();
messageHandler.enableNotifications(false); messageHandler.enableNotifications(false);