From 5dd187613e888d779258b5fefdbd8c563cd96742 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Tue, 25 Oct 2016 12:32:20 +0200 Subject: [PATCH] Fixed disabled text input styling --- wcfsetup/install/files/acp/templates/styleAdd.tpl | 4 ++-- wcfsetup/install/files/style/layout/form.scss | 7 +++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/wcfsetup/install/files/acp/templates/styleAdd.tpl b/wcfsetup/install/files/acp/templates/styleAdd.tpl index a49fd54051..cb32ec9a60 100644 --- a/wcfsetup/install/files/acp/templates/styleAdd.tpl +++ b/wcfsetup/install/files/acp/templates/styleAdd.tpl @@ -563,11 +563,11 @@
-
+
-
+
Button
diff --git a/wcfsetup/install/files/style/layout/form.scss b/wcfsetup/install/files/style/layout/form.scss index 1201fcaf86..64a0d0b09e 100644 --- a/wcfsetup/install/files/style/layout/form.scss +++ b/wcfsetup/install/files/style/layout/form.scss @@ -43,6 +43,13 @@ input[type="url"] { color: $wcfInputPlaceholderActive; } } + + &[disabled], + &[readonly] { + background-color: $wcfInputDisabledBackground !important; + border-color: $wcfInputDisabledBorder !important; + color: $wcfInputDisabledText !important; + } } input[type="search"], -- 2.20.1