mirror of
https://github.com/zrgn/zrgn.github.io
synced 2024-12-27 17:16:35 +00:00
21 lines
369 B
Sass
21 lines
369 B
Sass
%checkbox-radio
|
|
cursor: pointer
|
|
display: inline-block
|
|
line-height: 1.25
|
|
position: relative
|
|
input
|
|
cursor: pointer
|
|
&:hover
|
|
color: $input-hover-color
|
|
&[disabled],
|
|
fieldset[disabled] &
|
|
color: $input-disabled-color
|
|
cursor: not-allowed
|
|
|
|
.checkbox
|
|
@extend %checkbox-radio
|
|
|
|
.radio
|
|
@extend %checkbox-radio
|
|
& + .radio
|
|
margin-left: 0.5em
|