浏览代码

Add specific color for read-only input

j8
yanas 8 年前
父节点
当前提交
89e15b6d3d
共有 2 个文件被更改,包括 5 次插入0 次删除
  1. 4
    0
      css/input-control/_input-control.scss
  2. 1
    0
      css/themes/_light.scss

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

@@ -46,4 +46,8 @@
46 46
         position: absolute;
47 47
         right: 0;
48 48
     }
49
+}
50
+
51
+input:read-only {
52
+    color: $readOnlyInputColor;
49 53
 }

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

@@ -36,6 +36,7 @@ $inputBackground: #fff;
36 36
 $inputBorderColor: #ccc;
37 37
 $inputColor: #333;
38 38
 $placeHolderColor: #a7a7a7;
39
+$readOnlyInputColor: #a7a7a7;
39 40
 $defaultDarkSelectionColor: #ccc;
40 41
 $buttonFontWeight: 400;
41 42
 $labelFontWeight: 400;

正在加载...
取消
保存