Skip to content

Commit

Permalink
Merge pull request #656 from primer/remove-colorize-tooltip
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Remove colorizeTooltip mixin
  • Loading branch information
shawnbot committed Jan 22, 2019
2 parents ef82282 + 5b896e0 commit 9019f5b
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions modules/primer-buttons/lib/button-group.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
//
// A button group is a series of buttons laid out next to each other, all part
// of one visual button, but separated by rules to be separate.
@warn ".BtnGroup-form will be deprecated in version 11. Use .BtnGroup-parent instead.";

.BtnGroup {
display: inline-block;
Expand Down Expand Up @@ -40,15 +39,13 @@
border-right-width: $border-width;

+ .BtnGroup-item,
+ .BtnGroup-parent .BtnGroup-item,
+ .BtnGroup-form .BtnGroup-item {
+ .BtnGroup-parent .BtnGroup-item {
border-left-width: 0;
}
}
}

.BtnGroup-parent,
.BtnGroup-form {
.BtnGroup-parent {
float: left;

&:first-child .BtnGroup-item {
Expand Down Expand Up @@ -76,17 +73,15 @@
}

+ .BtnGroup-item,
+ .BtnGroup-parent .BtnGroup-item,
+ .BtnGroup-form .BtnGroup-item {
+ .BtnGroup-parent .BtnGroup-item {
border-left-width: 0;
}
}
}

// ensure that the focus ring sits above the adjacent buttons
.BtnGroup-item,
.BtnGroup-parent,
.BtnGroup-form {
.BtnGroup-parent {
&:focus,
&:active {
z-index: 1;
Expand Down

0 comments on commit 9019f5b

Please sign in to comment.