Commit cad911cd authored by Jono Mingard's avatar Jono Mingard

Different style for disabled switchboxes (Bug #1489700)

Disabled switches are now semitransparent, do not change colour on
hover and use a normal cursor instead of a pointer

behatnotneeded

Change-Id: I9e4ec85c70cbcb02f74ddb4882600481132d10c5
parent d1bfcdad
......@@ -52,6 +52,18 @@ $height: 28px;
}
}
input:disabled + .switch-label {
opacity: 0.6;
cursor: default;
&:hover {
.switch-inner:before,
.switch-inner:after {
background-color: $brand-default;
}
}
}
.switch-inner {
@include transition(margin $transition);
display: block;
......
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