mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(checkbox): Fix checkmark in Android 2.3
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
top: 30%;
|
||||
left: 26%;
|
||||
display: table;
|
||||
width: $checkbox-width / 2;
|
||||
width: ($checkbox-width / 2) + 1;
|
||||
height: ($checkbox-width / 3) + 1;
|
||||
border: $checkbox-check-width solid $checkbox-check-color;
|
||||
border-top: 0;
|
||||
@@ -50,9 +50,19 @@
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.grade-c .checkbox input:after {
|
||||
@include rotate(0);
|
||||
top: 3px;
|
||||
left: 4px;
|
||||
border: none;
|
||||
color: $checkbox-check-color;
|
||||
font-weight: bold;
|
||||
font-size: 20px;
|
||||
content: '\2713';
|
||||
}
|
||||
|
||||
/* what the background looks like when its checked */
|
||||
.checkbox input:checked:before {
|
||||
border: 0;
|
||||
background: $checkbox-on-bg-color;
|
||||
}
|
||||
|
||||
|
||||
@@ -441,7 +441,7 @@ $toggle-hit-area-expansion: 5px;
|
||||
|
||||
$checkbox-width: 28px !default;
|
||||
$checkbox-height: 28px !default;
|
||||
$checkbox-border-radius: 50% !default;
|
||||
$checkbox-border-radius: $checkbox-width !default;
|
||||
$checkbox-border-width: 1px !default;
|
||||
|
||||
$checkbox-off-bg-color: #fff !default;
|
||||
|
||||
Reference in New Issue
Block a user