patternfly
Version:
This reference implementation of PatternFly is based on [Bootstrap v3](http://getbootstrap.com/). Think of PatternFly as a "skinned" version of Bootstrap with additional components and customizations.
20 lines (18 loc) • 570 B
text/less
//
// Bootstrap Switch
// --------------------------------------------------
.@{bootstrap-switch-base} {
.@{bootstrap-switch-base}-handle-off,
.@{bootstrap-switch-base}-handle-on {
&.@{bootstrap-switch-base}-default {
background: @bootstrap-switch-handle-default-bg-color;
}
}
.@{bootstrap-switch-base}-label {
background: @bootstrap-switch-bg-color;
box-shadow: 0 0 2px fade(@color-pf-black, 40%);
#gradient > .vertical(@bootstrap-switch-bg-color-start, @bootstrap-switch-bg-color-stop);
position: relative;
z-index: 9;
}
}