瀏覽代碼

Make watermark size configurable

j8
yanas 8 年之前
父節點
當前提交
b9f2ab7692
共有 2 個檔案被更改,包括 8 行新增2 行删除
  1. 2
    2
      css/_base.scss
  2. 6
    0
      css/_variables.scss

+ 2
- 2
css/_base.scss 查看文件

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

+ 6
- 0
css/_variables.scss 查看文件

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

Loading…
取消
儲存