浏览代码

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,4 +46,11 @@
46 46
         position: absolute;
47 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,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;

正在加载...
取消
保存