1
0
mirror of https://github.com/nostalgic-css/NES.css.git synced 2025-08-27 07:54:29 +02:00

Merge pull request #350 from kyu-suke/8-ios-radio-button

Fix radio and checkbox style in ios
This commit is contained in:
B.C.Rikko
2019-07-03 17:29:59 +09:00
committed by GitHub
2 changed files with 11 additions and 0 deletions

View File

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

View File

@@ -27,6 +27,11 @@
-moz-appearance: none;
appearance: none;
background: $color-white;
width: 1px;
height: 1px;
border: 0;
& + span {
position: relative;
cursor: $cursor-click-url, pointer;
@@ -52,6 +57,7 @@
@include pixelize(2px, $radio-checked-focus, $colors);
}
&.is-dark {
background: $base-color;
+ span {
color: $color-white;
}