Skip to content

Commit

Permalink
Merge pull request #98 from cb-talent-development/topic/EM-1105/Refac…
Browse files Browse the repository at this point in the history
…tor-Jobs-Buy-Box

EM-1105: Refactor Jobs Buy Box
  • Loading branch information
MKwenhua authored Jun 20, 2017
2 parents f931323 + ec0a8da commit d2a2d41
Showing 1 changed file with 16 additions and 11 deletions.
27 changes: 16 additions & 11 deletions sass/directives/_toggles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -88,27 +88,32 @@
display: none;
}

label {
span {
@include display(flex);
@include align-items(center);
@include flex(1);
margin: 0;
border: $form-border;
padding: 6px 24px;
background-color: $grey-lighter;
cursor: pointer;
transition: $toggle-button-transistion--radio;
font-size: $small-font-size;

&:first-of-type {
&:first-of-type label {
border-top-left-radius: $minor-border-radius;
border-bottom-left-radius: $minor-border-radius;
}

&:last-of-type {
&:last-of-type label {
border-top-right-radius: $minor-border-radius;
border-bottom-right-radius: $minor-border-radius;
}
}

label {
@include display(flex);
@include flex(1);
@include align-items(center);
margin: 0;
border: $form-border;
padding: 6px 24px;
background-color: $grey-lighter;
cursor: pointer;
transition: $toggle-button-transistion;
font-size: $small-font-size;

&:before {
content: '\f111';
Expand Down

0 comments on commit d2a2d41

Please sign in to comment.