1
0
mirror of https://github.com/nostalgic-css/NES.css.git synced 2025-08-31 09:41:47 +02:00

refactor: add visually-hidden util

This commit is contained in:
BcRikko
2019-07-03 17:49:55 +09:00
parent 1574e56891
commit c40598341e
5 changed files with 18 additions and 11 deletions

View File

@@ -53,10 +53,8 @@
-moz-appearance: none;
appearance: none;
background: $color-white;
width: 1px;
height: 1px;
border: 0;
@include visually-hidden();
& + span {
position: relative;
cursor: $cursor-click-url, pointer;
@@ -86,7 +84,6 @@
@include pixelize(2px, $checkbox-checked-focus, $colors);
}
&.is-dark {
background: $base-color;
+ span {
color: $color-white;
}