瀏覽代碼

Merge pull request #1037 from jitsi/add-specific-read-only-color

Add specific color for read-only input
j8
Дамян Минков 8 年之前
父節點
當前提交
d415a15e93
共有 2 個檔案被更改,包括 8 行新增0 行删除
  1. 7
    0
      css/input-control/_input-control.scss
  2. 1
    0
      css/themes/_light.scss

+ 7
- 0
css/input-control/_input-control.scss 查看文件

46
         position: absolute;
46
         position: absolute;
47
         right: 0;
47
         right: 0;
48
     }
48
     }
49
+}
50
+
51
+/**
52
+ * Set a specific color for read only style.
53
+ */
54
+input:read-only {
55
+    color: $readOnlyInputColor;
49
 }
56
 }

+ 1
- 0
css/themes/_light.scss 查看文件

36
 $inputBorderColor: #ccc;
36
 $inputBorderColor: #ccc;
37
 $inputColor: #333;
37
 $inputColor: #333;
38
 $placeHolderColor: #a7a7a7;
38
 $placeHolderColor: #a7a7a7;
39
+$readOnlyInputColor: #a7a7a7;
39
 $defaultDarkSelectionColor: #ccc;
40
 $defaultDarkSelectionColor: #ccc;
40
 $buttonFontWeight: 400;
41
 $buttonFontWeight: 400;
41
 $labelFontWeight: 400;
42
 $labelFontWeight: 400;

Loading…
取消
儲存