mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 15:07:13 +08:00
checkbox math
This commit is contained in:
2
dist/css/ionic.css
vendored
2
dist/css/ionic.css
vendored
@ -2535,7 +2535,7 @@ input[type="checkbox"][readonly] {
|
||||
transition: background-color 0.1s ease-in-out; }
|
||||
.checkbox .handle:after {
|
||||
position: absolute;
|
||||
top: 16px;
|
||||
top: 37%;
|
||||
left: 14px;
|
||||
width: 14px;
|
||||
height: 7px;
|
||||
|
||||
@ -22,10 +22,10 @@
|
||||
/* the checkmark within the box */
|
||||
.handle:after {
|
||||
position: absolute;
|
||||
top: ($checkbox-height / 2) + 2;
|
||||
top: 37%;
|
||||
left: $checkbox-width / 2;
|
||||
width: $checkbox-width / 2;
|
||||
height: $checkbox-height / 4;
|
||||
height: $checkbox-width / 4;
|
||||
border: $checkbox-check-width solid $checkbox-check-color;
|
||||
border-top: none;
|
||||
border-right: none;
|
||||
|
||||
Reference in New Issue
Block a user