aboutsummaryrefslogtreecommitdiff
path: root/src/components/style_switcher/style_switcher.scss
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/style_switcher/style_switcher.scss')
-rw-r--r--src/components/style_switcher/style_switcher.scss12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/components/style_switcher/style_switcher.scss b/src/components/style_switcher/style_switcher.scss
index 6e34a0f7..6c6e913a 100644
--- a/src/components/style_switcher/style_switcher.scss
+++ b/src/components/style_switcher/style_switcher.scss
@@ -13,6 +13,14 @@
flex: 1;
}
+ &.disabled {
+ input, select {
+ &:not(.exclude-disabled) {
+ opacity: .5
+ }
+ }
+ }
+
input, select {
min-width: 3em;
margin: 0;
@@ -43,10 +51,6 @@
&:not([type=number]):not([type=text]) {
align-self: center;
}
-
- &.disabled *:not(.exlcude-disabled) {
- opacity: .5
- }
}
}