Bug: 70474
Change-Id: I4b8edd987b724241f748d7891991f0cd7dc80b1b
// the pseudo before element of the label after the checkbox now looks like a checkbox
& + label {
+ cursor: pointer;
+
&::before {
content: '';
position: absolute;
width: @checkboxSize;
height: @checkboxSize;
background-color: #fff;
- cursor: pointer;
border: 1px solid grey;
}
}
}
// disabled checked boxes have a gray background
- &:disabled + label::before {
- background-color: lightgrey;
+ &:disabled + label {
+ cursor: default;
+
+ &::before {
+ background-color: lightgrey;
+ }
}
}
}