From 8779e66900880c0c41bc03b4d2e1227d20548e6a Mon Sep 17 00:00:00 2001 From: Jeremy Mahieu Date: Mon, 16 Dec 2019 14:39:46 +0100 Subject: [PATCH] Have different gb colors for disabled inputs --- css/themes/base16-default.css | 4 ++++ css/themes/dark.css | 4 ++++ css/themes/light.css | 5 +++++ 3 files changed, 13 insertions(+) diff --git a/css/themes/base16-default.css b/css/themes/base16-default.css index dea026f..b30a08a 100644 --- a/css/themes/base16-default.css +++ b/css/themes/base16-default.css @@ -65,6 +65,10 @@ a:visited:hover, a:visited:active, a:visited:focus { border: 0px none; } +.form-control[disabled] { + background: var(--base03); +} + .form-control:focus { color: var(--base06); box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.1), 0px 1px 7px 0px rgba(0, 0, 0, 0.2) inset; diff --git a/css/themes/dark.css b/css/themes/dark.css index 7e79db3..b6d1a08 100644 --- a/css/themes/dark.css +++ b/css/themes/dark.css @@ -10,6 +10,10 @@ body { border: 0px none; } +.form-control[disabled] { + background: none repeat scroll 0% 0% rgba(63, 63, 63, 0.3); +} + .form-control option { color: #eee; background: #282828; diff --git a/css/themes/light.css b/css/themes/light.css index 323e6c8..31a2368 100644 --- a/css/themes/light.css +++ b/css/themes/light.css @@ -68,6 +68,11 @@ select.form-control, select option, input[type=text], input[type=password], #sen box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.1), 0px 1px 7px 0px rgba(255, 255, 255, 0.8) inset; background: none repeat scroll 0% 0% rgba(255, 255, 255, 0.3); } + +.form-control[disabled] { + background: none repeat scroll 0% 0% rgba(134, 134, 134, 0.3); +} + input[type=text].is-invalid{ box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.1), 0px 1px 7px 0px rgba(255, 0, 0, 0.8) inset; }