Commit 4a4bcb15 authored by Tom Quirk's avatar Tom Quirk

Fix stylelint warnings for toggle.scss

parent 07e28909
...@@ -63,14 +63,6 @@ ...@@ -63,14 +63,6 @@
.toggle-icon-svg { .toggle-icon-svg {
fill: $gl-gray-400; fill: $gl-gray-400;
} }
.toggle-status-checked {
display: none;
}
.toggle-status-unchecked {
display: inline;
}
} }
.loading-icon { .loading-icon {
...@@ -84,10 +76,6 @@ ...@@ -84,10 +76,6 @@
} }
&.is-loading { &.is-loading {
.toggle-icon {
display: none;
}
.loading-icon { .loading-icon {
display: block; display: block;
...@@ -109,15 +97,18 @@ ...@@ -109,15 +97,18 @@
.toggle-icon-svg { .toggle-icon-svg {
fill: $feature-toggle-color-enabled; fill: $feature-toggle-color-enabled;
} }
}
}
.toggle-status-checked { &.is-checked .toggle-icon .toggle-status-checked,
display: inline; .toggle-icon .toggle-status-unchecked {
} display: inline;
}
.toggle-status-unchecked { &.is-checked .toggle-icon .toggle-status-unchecked,
display: none; &.is-loading .toggle-icon,
} .toggle-icon .toggle-status-checked {
} display: none;
} }
&.is-disabled { &.is-disabled {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment