checkbox math

This commit is contained in:
Adam Bradley
2013-10-11 20:49:53 -05:00
parent 17240c20c0
commit 6873b77690
2 changed files with 3 additions and 3 deletions

2
dist/css/ionic.css vendored
View File

@ -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;

View File

@ -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;