Skip to content

Commit

Permalink
Update _fhi-button-group.block.scss
Browse files Browse the repository at this point in the history
  • Loading branch information
yleaxeman committed Apr 15, 2024
1 parent b99e889 commit 71b1ffb
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions src/fhi/blocks/_fhi-button-group.block.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,23 @@
&__btn {
--bs-btn-border-radius: #{$fhi-core-px * 24};
--bs-btn-active-border-color: #{$fhi-core-white};
--bs-btn-disabled-border-color: transparent;

border: ($fhi-core-px * 2) solid transparent;
border-radius: var(--bs-btn-border-radius) !important;
display: flex;
flex-direction: column;
justify-content: center;
margin-left: 0 !important;
padding-right: $fhi-core-space-3;
padding-left: $fhi-core-space-3;
text-align: left;

&.btn:hover:not(.active) {
&.btn:hover:not(.active):not([disabled]) {
background-color: $fhi-core-grey-light-2;
}

[class*="icon-"] {
margin-right: $fhi-core-space-1;
top: $fhi-core-px * -3;
}
}

&__btn.active,
Expand All @@ -32,6 +37,7 @@
&:hover,
&:focus {
background-color: $fhi-core-grey-4;
color: $fhi-core-white;
text-decoration: none;

&:not(.fhi-btn-group__split-btn-toggler) {
Expand Down Expand Up @@ -66,6 +72,7 @@
@extend .icon-chevron-down;
border: 0;
height: $fhi-core-px * 16;
margin-top: $fhi-core-px * 3;
width: $fhi-core-px * 16;
}

Expand Down

0 comments on commit 71b1ffb

Please sign in to comment.