checkbox border-radius

This commit is contained in:
Raphael Goetter 2017-10-16 15:50:42 +02:00
parent d2d84ca192
commit ad9d1c1890
4 changed files with 25 additions and 4 deletions

View file

@ -9,6 +9,16 @@
// <input type="checkbox" class="switch" id="switch"><label for="switch" class="label">slide to unlock</label>
// common styles
.checkbox {
border-radius: $checkbox-border-radius;
}
.switch {
border-radius: $switch-border-radius;
}
.radio {
border-radius: 50%;
}
.switch,
.checkbox,
.radio {
@ -17,7 +27,6 @@
outline: 0;
cursor: pointer;
box-shadow: inset 0 0 0 1px $checkbox-color;
border-radius: $checkbox-border-radius;
background: #fff;
~ label {