Skip to content

Commit

Permalink
[ACS-8052] Inputs for general info for libraries (#9745)
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikiwanekhyland authored and VitoAlbano committed Jun 3, 2024
1 parent 8760787 commit 50e89c0
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions lib/core/src/lib/info-drawer/info-drawer.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
margin-bottom: 0;
}

.mdc-tab__text-label {
#{$mat-tab-label-text} {
flex-grow: 1;

#{$mat-icon} + span {
Expand All @@ -63,31 +63,36 @@
}
}

/* stylelint-disable-next-line no-descending-specificity */
.adf-info-drawer-tabs {
#{$mat-tab-label-container} {
border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.adf-info-drawer-tab {
div[role='tab'].adf-info-drawer-tab {
color: var(--adf-info-drawer-tab-default-color);
background-color: var(--adf-info-drawer-tab-default-background);
border-bottom: var(--adf-info-drawer-tab-default-bottom-line);
opacity: 1;

&#{$mat-tab-label} {
flex-grow: 1;
}

&:has(span) {
height: 32px;
}

&--active {
color: var(--adf-info-drawer-tab-active-unfocused-color);
background-color: var(--adf-info-drawer-tab-active-unfocused-background);
background-color: var(--adf-info-drawer-tab-active-unfocused-background);
border-bottom: 1px solid var(--adf-info-drawer-tab-active-unfocused-bottom-line);

&:focus {
color: var(--adf-info-drawer-tab-active-focused-color);
border-bottom: var(--adf-info-drawer-tab-active-focused-bottom-line);
}
}
}

&:hover:not([class*='--disabled'], [class*='--active']) {
color: var(--adf-info-drawer-tab-hover-color);
Expand Down

0 comments on commit 50e89c0

Please sign in to comment.