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

Fix stylelint warnings for toggle.scss

parent 07e28909
......@@ -63,14 +63,6 @@
.toggle-icon-svg {
fill: $gl-gray-400;
}
.toggle-status-checked {
display: none;
}
.toggle-status-unchecked {
display: inline;
}
}
.loading-icon {
......@@ -84,10 +76,6 @@
}
&.is-loading {
.toggle-icon {
display: none;
}
.loading-icon {
display: block;
......@@ -109,15 +97,18 @@
.toggle-icon-svg {
fill: $feature-toggle-color-enabled;
}
}
}
.toggle-status-checked {
display: inline;
}
&.is-checked .toggle-icon .toggle-status-checked,
.toggle-icon .toggle-status-unchecked {
display: inline;
}
.toggle-status-unchecked {
display: none;
}
}
&.is-checked .toggle-icon .toggle-status-unchecked,
&.is-loading .toggle-icon,
.toggle-icon .toggle-status-checked {
display: none;
}
&.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