Переглянути джерело

fix(filmstriponly): Set the background to transparent

master
hristoterezov 8 роки тому
джерело
коміт
b6990e9e5d
3 змінених файлів з 11 додано та 13 видалено
  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 Переглянути файл

3
     user-select: none;
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
     font-size: 12px;
10
     font-size: 12px;
11
     font-weight: 400;
11
     font-weight: 400;
12
-    background: #000000;
13
     overflow: hidden;
12
     overflow: hidden;
13
+    color: $defaultColor;
14
+    background: $defaultBackground;
15
+    &.filmstrip-only {
16
+        background: transparent;
17
+    }
14
 }
18
 }
15
 
19
 
16
 p {
20
 p {
17
     margin: 0;
21
     margin: 0;
18
 }
22
 }
19
 
23
 
20
-html, body, input, textarea, keygen, select, button {
24
+body, input, textarea, keygen, select, button {
21
     font-family: $baseFontFamily !important;
25
     font-family: $baseFontFamily !important;
22
 }
26
 }
23
 
27
 

+ 0
- 7
css/_redirect_page.scss Переглянути файл

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

+ 1
- 0
modules/UI/UI.js Переглянути файл

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

Завантаження…
Відмінити
Зберегти