Skip to content

Commit

Permalink
adds background-color to compressed button group
Browse files Browse the repository at this point in the history
  • Loading branch information
ryankeairns committed Nov 26, 2019
1 parent b03fa30 commit af47289
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/components/button/button_group/_button_group.scss
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@
.euiButtonGroup--compressed {
border: 1px solid $euiFormBorderColor;
border-radius: $euiFormControlCompressedBorderRadius;
background-color: $euiFormBackgroundColor;

.euiButtonGroup__button {
height: $euiFormControlCompressedHeight - 2px;
Expand Down
2 changes: 1 addition & 1 deletion src/components/form/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ $euiFormCustomControlDisabledIconColor: shadeOrTint($euiColorMediumShade, 38%, 4
$euiFormCustomControlBorderColor: shadeOrTint($euiColorLightestShade, 18%, 30%) !default;
$euiFormControlDisabledColor: $euiColorMediumShade !default;
$euiFormControlBoxShadow: 0 1px 1px -1px transparentize($euiShadowColor, .8), 0 3px 2px -2px transparentize($euiShadowColor, .8) !default;
$euiFormInputGroupLabelBackground: tintOrShade($euiColorLightShade, 65%, 40%) !default;
$euiFormInputGroupLabelBackground: tintOrShade($euiColorLightShade, 50%, 40%) !default;
$euiFormInputGroupBorder: 1px solid shadeOrTint($euiFormInputGroupLabelBackground, 6%, 8%) !default;
$euiSwitchOffColor: lightOrDarkTheme(transparentize($euiColorMediumShade, .8), transparentize($euiColorMediumShade, .3)) !default;

0 comments on commit af47289

Please sign in to comment.