mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 23:16:52 +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; }
|
transition: background-color 0.1s ease-in-out; }
|
||||||
.checkbox .handle:after {
|
.checkbox .handle:after {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 16px;
|
top: 37%;
|
||||||
left: 14px;
|
left: 14px;
|
||||||
width: 14px;
|
width: 14px;
|
||||||
height: 7px;
|
height: 7px;
|
||||||
|
|||||||
@ -22,10 +22,10 @@
|
|||||||
/* the checkmark within the box */
|
/* the checkmark within the box */
|
||||||
.handle:after {
|
.handle:after {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: ($checkbox-height / 2) + 2;
|
top: 37%;
|
||||||
left: $checkbox-width / 2;
|
left: $checkbox-width / 2;
|
||||||
width: $checkbox-width / 2;
|
width: $checkbox-width / 2;
|
||||||
height: $checkbox-height / 4;
|
height: $checkbox-width / 4;
|
||||||
border: $checkbox-check-width solid $checkbox-check-color;
|
border: $checkbox-check-width solid $checkbox-check-color;
|
||||||
border-top: none;
|
border-top: none;
|
||||||
border-right: none;
|
border-right: none;
|
||||||
|
|||||||
Reference in New Issue
Block a user