Skip to content

Commit

Permalink
Improve tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsonge committed Sep 3, 2023
1 parent 4434651 commit 8890fc9
Showing 1 changed file with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

// Tabs


//
// Base styles
//
Expand Down Expand Up @@ -40,7 +39,7 @@ joomla-tab {
display: block;
padding: .6rem 1rem;
text-decoration: none;
background-color: var(--white);
background-color: var(--bg-color);
border: 0;
box-shadow: none;

Expand Down Expand Up @@ -78,6 +77,15 @@ joomla-tab {
background: var(--template-bg-dark-3);
}

@if $enable-dark-mode {
@include color-mode(dark) {
&[aria-expanded=true] {
background: var(--template-bg-dark-60);
color: var(--template-text-light);
}
}
}

.text-muted {
color: var(--template-text-dark) !important;
}
Expand Down

0 comments on commit 8890fc9

Please sign in to comment.