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