checkbox border-radius
This commit is contained in:
parent
d2d84ca192
commit
ad9d1c1890
4 changed files with 25 additions and 4 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue