2020-06-17 09:53:42 +00:00
|
|
|
.wc-block-components-checkbox {
|
2020-05-14 09:07:21 +00:00
|
|
|
@include reset-typography();
|
2020-04-07 15:37:03 +00:00
|
|
|
display: block;
|
|
|
|
position: relative;
|
|
|
|
|
2020-06-17 09:53:42 +00:00
|
|
|
.wc-block-components-checkbox__input[type="checkbox"] {
|
2020-04-07 15:37:03 +00:00
|
|
|
appearance: none;
|
|
|
|
border: 1px solid currentColor;
|
|
|
|
height: 1rem;
|
|
|
|
margin: 0;
|
|
|
|
min-height: 16px;
|
|
|
|
min-width: 16px;
|
|
|
|
overflow: hidden;
|
|
|
|
position: static;
|
|
|
|
vertical-align: middle;
|
|
|
|
width: 1rem;
|
|
|
|
|
|
|
|
&:checked {
|
|
|
|
background: currentColor;
|
|
|
|
border-color: currentColor;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
color: #fff;
|
|
|
|
content: "\2713";
|
|
|
|
display: block;
|
|
|
|
height: calc(1rem - 2px);
|
|
|
|
min-height: 14px;
|
|
|
|
min-width: 14px;
|
|
|
|
margin: 0;
|
|
|
|
line-height: 100%;
|
|
|
|
text-align: center;
|
|
|
|
width: calc(1rem - 2px);
|
|
|
|
}
|
|
|
|
}
|
2020-03-06 10:26:03 +00:00
|
|
|
}
|
2020-04-07 15:37:03 +00:00
|
|
|
|
2020-06-17 09:53:42 +00:00
|
|
|
.wc-block-components-checkbox__input[type="checkbox"] + .wc-block-components-checkbox__label {
|
2020-04-07 15:37:03 +00:00
|
|
|
padding-left: $gap-smaller;
|
|
|
|
vertical-align: middle;
|
2020-03-06 10:26:03 +00:00
|
|
|
}
|
|
|
|
}
|