Skip to content

Commit

Permalink
feat(checkbox): Update checkboxes to match new icon set (#822)
Browse files Browse the repository at this point in the history
* feat(checkbox): Update checkboxes to match new icon set

* feat: Update checkbox styles
  • Loading branch information
alisonjoseph authored and joshblack committed Jun 4, 2018
1 parent 50da4ec commit 94e938c
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/components/checkbox/_checkbox.scss
Original file line number Diff line number Diff line change
Expand Up @@ -52,16 +52,16 @@
// Checkmark
.#{$prefix}--checkbox-label::after {
content: '';
width: 10px;
height: 5px;
width: 7px;
height: 3px;
background: none;
border-left: 2px solid $inverse-01;
border-bottom: 2px solid $inverse-01;
transform: scale(0) rotate(-45deg);
position: absolute;
left: rem(3px);
left: rem(5px);
top: 50%;
margin-top: rem(-5px);
margin-top: rem(-3px);
}

.#{$prefix}--checkbox:checked + .#{$prefix}--checkbox-label::before,
Expand Down Expand Up @@ -95,8 +95,9 @@
border-left: 0 solid $inverse-01;
border-bottom: 2px solid $inverse-01;
opacity: 1;
width: rem(12px);
margin-top: rem(-6px);
width: rem(10px);
margin-top: rem(-4px);
left: rem(4px);
}

//Disabled
Expand Down

0 comments on commit 94e938c

Please sign in to comment.