Different styling for readonly input elements
authorAlexander Ebert <ebert@woltlab.com>
Sat, 13 Aug 2016 07:58:05 +0000 (09:58 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Sat, 13 Aug 2016 07:58:10 +0000 (09:58 +0200)
wcfsetup/install/files/style/bootstrap/mixin/input.scss

index a4a51fda3bd92dcfd9a483ad214c754dfacf508e..9969119ea50ed8423d1dcce3b08213ce6df56240 100644 (file)
                color: $wcfInputTextActive;
        }
        
-       &[disabled],
-       &[readonly] {
+       &[disabled] {
                background-color: $wcfInputDisabledBackground !important;
                border-color: $wcfInputDisabledBorder !important;
                color: $wcfInputDisabledText !important;
        }
+       
+       &[readonly] {
+               color: $wcfInputDisabledText !important;
+       }
 }