Files
bulma/sass/form/checkbox-radio.scss

34 lines
514 B
SCSS
Raw Normal View History

2022-11-23 17:44:02 +00:00
%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;
}
}
2022-11-23 22:53:56 +00:00
.#{$class-prefix}checkbox {
2022-11-23 17:44:02 +00:00
@extend %checkbox-radio;
}
2022-11-23 22:53:56 +00:00
.#{$class-prefix}radio {
2022-11-23 17:44:02 +00:00
@extend %checkbox-radio;
2022-11-23 22:53:56 +00:00
& + .#{$class-prefix}radio {
2022-11-23 17:44:02 +00:00
@include ltr-property("margin", 0.5em, false);
}
}