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:
@@ -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;
|
||||
}
|
||||
|
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user