Skip to content

Commit

Permalink
Fix background color activation in modes tab in dark mode (#3961)
Browse files Browse the repository at this point in the history
  • Loading branch information
McGiverGim authored May 15, 2024
1 parent e180298 commit 66e822d
Showing 1 changed file with 33 additions and 32 deletions.
65 changes: 33 additions & 32 deletions src/css/tabs/auxiliary.less
Original file line number Diff line number Diff line change
Expand Up @@ -63,46 +63,47 @@
border-radius: 3px;
}
}
.mode.on {
.info {
background: var(--accent);
color: black;
}
&:nth-child(odd) {
.modes {
width: 100%;
}
.mode {
background-color: #f9f9f9;
vertical-align: top;
display: flex;

&.on {
.info {
background: var(--accent);
background: var(--accent) !important;
color: black;
}
&:nth-child(odd) {
.info {
background: var(--accent) !important;
}
}
}
}
.mode.off {
.info {
background: #828885;
color: white;
}
&:nth-child(odd) {
&.off {
.info {
background: #828885;
background: #828885 !important;
color: white;
}
&:nth-child(odd) {
.info {
background: #828885 !important;
}
}
}
}
.mode.disabled {
.info {
background: var(--error);
color: var(--quietText);
}
&:nth-child(odd) {
&.disabled {
.info {
background: var(--error);
background: var(--error) !important;
color: var(--quietText);
}
}
}
.modes {
width: 100%;
}
.mode {
background-color: #f9f9f9;
vertical-align: top;
display: flex;
&:nth-child(odd) {
.info {
background: var(--error) !important;
}
}
}
.name {
min-height: 80px;
padding: 5px 0;
Expand Down

0 comments on commit 66e822d

Please sign in to comment.