summaryrefslogtreecommitdiffstats
path: root/webapp/sass/components/_inputs.scss
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/sass/components/_inputs.scss')
-rw-r--r--webapp/sass/components/_inputs.scss21
1 files changed, 15 insertions, 6 deletions
diff --git a/webapp/sass/components/_inputs.scss b/webapp/sass/components/_inputs.scss
index 5e3311182..42ab56128 100644
--- a/webapp/sass/components/_inputs.scss
+++ b/webapp/sass/components/_inputs.scss
@@ -15,12 +15,21 @@
&.no-resize {
resize: none;
}
+
+ &[disabled],
+ [readonly] {
+ @include alpha-property(background, $white, .1);
+ color: inherit;
+ cursor: auto;
+ }
}
-.form-control[disabled],
-.form-control[readonly],
-fieldset[disabled] .form-control {
- cursor: auto;
- background: rgba(#fff, .1);
- color: inherit;
+fieldset {
+ &[disabled] {
+ .form-control {
+ @include alpha-property(background, $white, .1);
+ color: inherit;
+ cursor: auto;
+ }
+ }
}