vendor/assets/stylesheets/components/_switch.scss in active_frontend-16.0.2 vs vendor/assets/stylesheets/components/_switch.scss in active_frontend-16.0.3
- old
+ new
@@ -57,11 +57,11 @@
.switch-on {
border-radius: border-radius(xl);
bottom: 0;
box-sizing: border-box;
margin: 0;
- padding-top: 6px;
+ padding-top: 5px;
position: absolute;
top: 0;
}
.switch-off {
left: 50%;
@@ -120,14 +120,11 @@
.switch-handle {
height: 32px;
width: 32px;
}
.switch-off,
- .switch-on {
- font-size: text-size(l);
- padding-top: 5px;
- }
+ .switch-on { font-size: text-size(l); }
.switch-off { padding-right: 12px; }
.switch-on { padding-left: 12px; }
}
.switch-size-s {
height: 24px;
@@ -136,13 +133,10 @@
.switch-handle {
height: 24px;
width: 24px;
}
.switch-off,
- .switch-on {
- font-size: text-size(s);
- padding-top: 5px;
- }
+ .switch-on { font-size: text-size(s); }
.switch-off { padding-right: 8px; }
.switch-on { padding-left: 8px; }
}
// Colors