From 89e15b6d3d3b5ad6bd14b2f9120a54b8894d7c88 Mon Sep 17 00:00:00 2001 From: yanas Date: Tue, 18 Oct 2016 14:27:16 -0500 Subject: [PATCH 1/2] Add specific color for read-only input --- css/input-control/_input-control.scss | 4 ++++ css/themes/_light.scss | 1 + 2 files changed, 5 insertions(+) diff --git a/css/input-control/_input-control.scss b/css/input-control/_input-control.scss index 5f499e168..82913e7b0 100644 --- a/css/input-control/_input-control.scss +++ b/css/input-control/_input-control.scss @@ -46,4 +46,8 @@ position: absolute; right: 0; } +} + +input:read-only { + color: $readOnlyInputColor; } \ No newline at end of file diff --git a/css/themes/_light.scss b/css/themes/_light.scss index eae35da3e..3002d7125 100644 --- a/css/themes/_light.scss +++ b/css/themes/_light.scss @@ -36,6 +36,7 @@ $inputBackground: #fff; $inputBorderColor: #ccc; $inputColor: #333; $placeHolderColor: #a7a7a7; +$readOnlyInputColor: #a7a7a7; $defaultDarkSelectionColor: #ccc; $buttonFontWeight: 400; $labelFontWeight: 400; From 19709cd3fc480d4d04157db28803616df9644468 Mon Sep 17 00:00:00 2001 From: yanas Date: Tue, 18 Oct 2016 14:30:59 -0500 Subject: [PATCH 2/2] Adds comments. --- css/input-control/_input-control.scss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/css/input-control/_input-control.scss b/css/input-control/_input-control.scss index 82913e7b0..033e028a6 100644 --- a/css/input-control/_input-control.scss +++ b/css/input-control/_input-control.scss @@ -48,6 +48,9 @@ } } +/** + * Set a specific color for read only style. + */ input:read-only { color: $readOnlyInputColor; } \ No newline at end of file