Pārlūkot izejas kodu

Make watermark size configurable

j8
yanas 8 gadus atpakaļ
vecāks
revīzija
b9f2ab7692
2 mainītis faili ar 8 papildinājumiem un 2 dzēšanām
  1. 2
    2
      css/_base.scss
  2. 6
    0
      css/_variables.scss

+ 2
- 2
css/_base.scss Parādīt failu

80
     display: block;
80
     display: block;
81
     position: absolute;
81
     position: absolute;
82
     top: 15;
82
     top: 15;
83
-    width: 186px;
84
-    height: 74px;
83
+    width: $watermarkWidth;
84
+    height: $watermarkHeight;
85
     background-size: contain;
85
     background-size: contain;
86
     background-repeat: no-repeat;
86
     background-repeat: no-repeat;
87
     z-index: $zindex2;
87
     z-index: $zindex2;

+ 6
- 0
css/_variables.scss Parādīt failu

145
 $unsupportedBrowserTitleFontSize: 24px;
145
 $unsupportedBrowserTitleFontSize: 24px;
146
 $unsupportedDesktopBrowserTextColor: rgba(255, 255, 255, 0.7);
146
 $unsupportedDesktopBrowserTextColor: rgba(255, 255, 255, 0.7);
147
 $unsupportedDesktopBrowserTextFontSize: 21px;
147
 $unsupportedDesktopBrowserTextFontSize: 21px;
148
+
149
+/**
150
+ * The size of the default watermark.
151
+ */
152
+$watermarkWidth: 186px;
153
+$watermarkHeight: 74px;

Notiek ielāde…
Atcelt
Saglabāt