Browse Source

fix(filmstriponly): Set the background to transparent

master
hristoterezov 7 years ago
parent
commit
b6990e9e5d
3 changed files with 11 additions and 13 deletions
  1. 10
    6
      css/_base.scss
  2. 0
    7
      css/_redirect_page.scss
  3. 1
    0
      modules/UI/UI.js

+ 10
- 6
css/_base.scss View File

@@ -3,21 +3,25 @@
3 3
     user-select: none;
4 4
 }
5 5
 
6
-html, body{
7
-    margin:0px;
8
-    height:100%;
9
-    color: $defaultColor;
6
+body {
7
+    margin: 0px;
8
+    width: 100%;
9
+    height: 100%;
10 10
     font-size: 12px;
11 11
     font-weight: 400;
12
-    background: #000000;
13 12
     overflow: hidden;
13
+    color: $defaultColor;
14
+    background: $defaultBackground;
15
+    &.filmstrip-only {
16
+        background: transparent;
17
+    }
14 18
 }
15 19
 
16 20
 p {
17 21
     margin: 0;
18 22
 }
19 23
 
20
-html, body, input, textarea, keygen, select, button {
24
+body, input, textarea, keygen, select, button {
21 25
     font-family: $baseFontFamily !important;
22 26
 }
23 27
 

+ 0
- 7
css/_redirect_page.scss View File

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

+ 1
- 0
modules/UI/UI.js View File

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

Loading…
Cancel
Save