Skip to content
This repository has been archived by the owner on Jun 20, 2018. It is now read-only.

Commit

Permalink
Merge pull request #292 from nhsuk/radios-checks
Browse files Browse the repository at this point in the history
Update selection button
  • Loading branch information
teneightfive authored Jan 18, 2017
2 parents 72ec334 + 0b0ad0b commit 5ecb072
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions assets/stylesheets/components/_selection-button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,11 @@ $_radio-spacing: ($_element-size - $_radio-size) / 2;

@if ($is-ie == false) or ($ie-version == 9) {
.js-enabled & {
@extend %visuallyhidden;
filter: alpha(opacity=0);
height: $_element-size;
left: 0;
margin-right: 0;
margin: 0;
opacity: 0;
position: absolute;
top: 0;
width: $_element-size;
Expand Down Expand Up @@ -67,16 +68,16 @@ $_radio-spacing: ($_element-size - $_radio-size) / 2;
}

&::after {
background: currentColor;
border: 10px solid;
border-radius: 50%;
content: "";
filter: alpha(opacity=0);
height: $_radio-size;
height: 0;
left: $_radio-spacing;
opacity: 0;
position: absolute;
top: $_radio-spacing;
width: $_radio-size;
width: 0;
zoom: 1;
}
}
Expand Down

0 comments on commit 5ecb072

Please sign in to comment.