mirror of
https://github.com/nostalgic-css/NES.css.git
synced 2025-08-31 17:51:46 +02:00
👍 focus時のradioをスタイルを修正
This commit is contained in:
@@ -9,7 +9,17 @@
|
||||
(1,1,1,1,0,0),
|
||||
(1,1,0,0,0,0),
|
||||
);
|
||||
$colors: ($base-color);
|
||||
// prettier-ignore
|
||||
$radio-checked-focus: (
|
||||
(2,2,0,0,0,0),
|
||||
(2,2,2,2,0,0),
|
||||
(2,2,2,2,2,0),
|
||||
(2,2,2,2,2,2),
|
||||
(2,2,2,2,2,0),
|
||||
(2,2,2,2,0,0),
|
||||
(2,2,0,0,0,0),
|
||||
);
|
||||
$colors: ($base-color, #adafbc);
|
||||
|
||||
margin-right: 20px;
|
||||
-webkit-appearance: none;
|
||||
@@ -29,4 +39,7 @@
|
||||
|
||||
@include pixelize($radio, $colors, 2px);
|
||||
}
|
||||
&:checked:focus + span::before {
|
||||
@include pixelize($radio-checked-focus, $colors, 2px);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user