mirror of
https://github.com/nostalgic-css/NES.css.git
synced 2025-08-31 09:41:47 +02:00
@@ -62,22 +62,23 @@
|
||||
position: absolute;
|
||||
top: -3px;
|
||||
left: -28px;
|
||||
font-size: 2px;
|
||||
content: "";
|
||||
}
|
||||
|
||||
// prettier-ignore
|
||||
& + span::before { /* stylelint-disable-line no-descending-specificity */
|
||||
@include pixelize($checkbox, $colors, 2px);
|
||||
@include pixelize($checkbox, $colors);
|
||||
}
|
||||
// prettier-ignore
|
||||
&:focus + span::before { /* stylelint-disable-line no-descending-specificity */
|
||||
@include pixelize($checkbox-focus, $colors, 2px);
|
||||
@include pixelize($checkbox-focus, $colors);
|
||||
}
|
||||
|
||||
&:checked + span::before {
|
||||
@include pixelize($checkbox-checked, $colors, 2px);
|
||||
@include pixelize($checkbox-checked, $colors);
|
||||
}
|
||||
&:checked:focus + span::before {
|
||||
@include pixelize($checkbox-checked-focus, $colors, 2px);
|
||||
@include pixelize($checkbox-checked-focus, $colors);
|
||||
}
|
||||
}
|
||||
|
@@ -28,17 +28,19 @@
|
||||
position: absolute;
|
||||
top: calc(50% - 8px);
|
||||
left: -22px;
|
||||
font-size: 2px;
|
||||
content: "";
|
||||
|
||||
@include pixelize($disc, $colors, 2px);
|
||||
@include pixelize($disc, $colors);
|
||||
}
|
||||
|
||||
&.is-circle li::before {
|
||||
position: absolute;
|
||||
top: calc(50% - 8px);
|
||||
left: -22px;
|
||||
font-size: 2px;
|
||||
content: "";
|
||||
|
||||
@include pixelize($circle, $colors, 2px);
|
||||
@include pixelize($circle, $colors);
|
||||
}
|
||||
}
|
||||
|
@@ -35,9 +35,10 @@
|
||||
position: absolute;
|
||||
top: -2px;
|
||||
left: -20px;
|
||||
font-size: 2px;
|
||||
content: "";
|
||||
|
||||
@include pixelize($radio, $colors, 2px);
|
||||
@include pixelize($radio, $colors);
|
||||
}
|
||||
|
||||
&:checked:hover,
|
||||
@@ -48,6 +49,6 @@
|
||||
}
|
||||
|
||||
&:checked:focus + span::before {
|
||||
@include pixelize($radio-checked-focus, $colors, 2px);
|
||||
@include pixelize($radio-checked-focus, $colors);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user