Skip to content

Commit

Permalink
hide inner radius
Browse files Browse the repository at this point in the history
  • Loading branch information
pine3ree authored and Kevin committed Jun 12, 2014
1 parent 4f313c7 commit a82aa3a
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion scss/foundation/components/_button-groups.scss
Expand Up @@ -58,6 +58,10 @@ $button-group-border-width: 1px !default;

// We use these to control left and right radius on first/last buttons in the group.
@if $radius == true {
&,
& > a,
& > button,
& > .button { @include radius(0); }
&:first-child,
&:first-child > a,
&:first-child > button,
Expand All @@ -68,6 +72,10 @@ $button-group-border-width: 1px !default;
&:last-child > .button { @include side-radius($opposite-direction, $button-radius); }
}
@else if $radius {
&,
& > a,
& > button,
& > .button { @include radius(0); }
&:first-child,
&:first-child > a,
&:first-child > button,
Expand Down Expand Up @@ -105,4 +113,4 @@ $button-group-border-width: 1px !default;
.button-group { @include button-group-container($styles:false,$float:true); }
}
}
}
}

0 comments on commit a82aa3a

Please sign in to comment.