bulma/sass/form/checkbox-radio.scss
2022-11-23 23:42:03 +00:00

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);
}
}