mirror of
https://github.com/jgthms/bulma.git
synced 2024-11-14 11:14:24 +00:00
34 lines
514 B
SCSS
34 lines
514 B
SCSS
%checkbox-radio {
|
|
cursor: pointer;
|
|
display: inline-block;
|
|
line-height: 1.25;
|
|
position: relative;
|
|
|
|
input {
|
|
cursor: pointer;
|
|
}
|
|
|
|
&:hover {
|
|
color: $input-hover-color;
|
|
}
|
|
|
|
&[disabled],
|
|
fieldset[disabled] &,
|
|
input[disabled] {
|
|
color: $input-disabled-color;
|
|
cursor: not-allowed;
|
|
}
|
|
}
|
|
|
|
.#{$class-prefix}checkbox {
|
|
@extend %checkbox-radio;
|
|
}
|
|
|
|
.#{$class-prefix}radio {
|
|
@extend %checkbox-radio;
|
|
|
|
& + .#{$class-prefix}radio {
|
|
@include ltr-property("margin", 0.5em, false);
|
|
}
|
|
}
|