mirror of
https://github.com/jgthms/bulma.git
synced 2024-11-28 12:24:23 +00:00
37 lines
590 B
SCSS
37 lines
590 B
SCSS
@use "shared";
|
|
@use "../utilities/initial-variables" as iv;
|
|
|
|
%checkbox-radio {
|
|
cursor: pointer;
|
|
display: inline-block;
|
|
line-height: 1.25;
|
|
position: relative;
|
|
|
|
input {
|
|
cursor: pointer;
|
|
}
|
|
|
|
&[disabled],
|
|
fieldset[disabled] &,
|
|
input[disabled] {
|
|
color: shared.$input-disabled-color;
|
|
cursor: not-allowed;
|
|
}
|
|
}
|
|
|
|
.#{iv.$class-prefix}checkbox {
|
|
@extend %checkbox-radio;
|
|
}
|
|
|
|
.#{iv.$class-prefix}radio {
|
|
@extend %checkbox-radio;
|
|
}
|
|
|
|
.#{iv.$class-prefix}checkboxes,
|
|
.#{iv.$class-prefix}radios {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
column-gap: 1em;
|
|
row-gap: 0.5em;
|
|
}
|