|
|
|
@ -37,7 +37,12 @@ |
|
|
|
|
|
|
|
@include mat.tabs-overrides( |
|
|
|
( |
|
|
|
container-height: 2rem |
|
|
|
active-focus-label-text-color: rgba(var(--palette-foreground-base), 1), |
|
|
|
active-hover-label-text-color: rgba(var(--palette-foreground-base), 1), |
|
|
|
active-label-text-color: rgba(var(--palette-foreground-base), 1), |
|
|
|
active-ripple-color: rgba(var(--palette-foreground-base), 1), |
|
|
|
container-height: 2rem, |
|
|
|
inactive-ripple-color: rgba(var(--palette-foreground-base), 1) |
|
|
|
) |
|
|
|
); |
|
|
|
|
|
|
|
@ -51,7 +56,15 @@ |
|
|
|
flex-direction: column; |
|
|
|
|
|
|
|
.mat-mdc-tab-link { |
|
|
|
border-radius: 0.25rem; |
|
|
|
font-weight: 400; |
|
|
|
justify-content: flex-start; |
|
|
|
margin: 0 0.5rem 0.1rem 0.5rem; |
|
|
|
|
|
|
|
&.mdc-tab--active { |
|
|
|
background-color: rgba(var(--palette-foreground-base), 0.05); |
|
|
|
font-weight: 500; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
@ -61,8 +74,32 @@ |
|
|
|
|
|
|
|
:host-context(.theme-dark) { |
|
|
|
@media (min-width: 576px) { |
|
|
|
.mat-mdc-tab-header { |
|
|
|
background-color: rgba(var(--palette-foreground-base-dark), 0.02); |
|
|
|
@include mat.tabs-overrides( |
|
|
|
( |
|
|
|
active-focus-label-text-color: rgba( |
|
|
|
var(--palette-foreground-base-dark), |
|
|
|
1 |
|
|
|
), |
|
|
|
active-hover-label-text-color: rgba( |
|
|
|
var(--palette-foreground-base-dark), |
|
|
|
1 |
|
|
|
), |
|
|
|
active-label-text-color: rgba(var(--palette-foreground-base-dark), 1), |
|
|
|
active-ripple-color: rgba(var(--palette-foreground-base-dark), 1), |
|
|
|
inactive-ripple-color: rgba(var(--palette-foreground-base-dark), 1) |
|
|
|
) |
|
|
|
); |
|
|
|
|
|
|
|
::ng-deep { |
|
|
|
.mat-mdc-tab-header { |
|
|
|
background-color: rgba(var(--palette-foreground-base-dark), 0.02); |
|
|
|
|
|
|
|
.mat-mdc-tab-link { |
|
|
|
&.mdc-tab--active { |
|
|
|
background-color: rgba(var(--palette-foreground-base-dark), 0.05); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|