From f6b60290f052306f409c42e243018d4216ffe3c5 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 30 Sep 2019 11:57:25 +0200 Subject: [PATCH] FIX Css on disabled standard combo --- htdocs/theme/eldy/global.inc.php | 8 +++----- htdocs/theme/md/style.css.php | 10 +++++----- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/htdocs/theme/eldy/global.inc.php b/htdocs/theme/eldy/global.inc.php index 561da969cdd..0cd0bb8f8d2 100644 --- a/htdocs/theme/eldy/global.inc.php +++ b/htdocs/theme/eldy/global.inc.php @@ -249,8 +249,9 @@ select.flat, form.flat select { select:invalid { color: gray; } -input:disabled { - background:#ddd; +input:disabled, textarea:disabled, select[disabled='disabled'] +{ + background:#eee; } input.liste_titre { @@ -261,9 +262,6 @@ input.removedfile { border: 0px !important; vertical-align: text-bottom; } -textarea:disabled { - background:#ddd; -} input[type=file ] { background-color: transparent; border-top: none; border-left: none; border-right: none; box-shadow: none; } input[type=checkbox] { background-color: transparent; border: none; box-shadow: none; } input[type=radio] { background-color: transparent; border: none; box-shadow: none; } diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php index 35bbdc9b3a5..c0ede4d4f6f 100644 --- a/htdocs/theme/md/style.css.php +++ b/htdocs/theme/md/style.css.php @@ -468,8 +468,10 @@ select.flat, form.flat select { opacity: 0; } select:invalid { color: gray; } -input:disabled { - background:#f4f4f4; + +input:disabled, textarea:disabled, select[disabled='disabled'] +{ + background:#eee; } input.liste_titre { @@ -483,9 +485,7 @@ input.removedfile { border: 0px !important; vertical-align: text-bottom; } -textarea:disabled { - background:#f4f4f4; -} + input[type=file ] { background-color: transparent; border-top: none; border-left: none; border-right: none; box-shadow: none; } input[type=checkbox] { background-color: transparent; border: none; box-shadow: none; } input[type=radio] { background-color: transparent; border: none; box-shadow: none; }