mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 21:19:41 -06:00
UX: some admin theme list style adjustments (#20625)
This commit is contained in:
parent
943068a634
commit
03e3fd742e
@ -56,6 +56,7 @@
|
||||
{{#if this.hasInactiveThemes}}
|
||||
{{#each this.inactiveThemes as |theme|}}
|
||||
<ThemesListItem
|
||||
@classNames="inactive-theme"
|
||||
@theme={{theme}}
|
||||
@navigateToTheme={{action "navigateToTheme" theme}}
|
||||
/>
|
||||
|
@ -191,7 +191,9 @@
|
||||
&.active {
|
||||
background-color: var(--quaternary);
|
||||
color: var(--secondary);
|
||||
font-weight: 700;
|
||||
.d-icon {
|
||||
color: currentColor;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -219,15 +221,24 @@
|
||||
border-bottom: 1px solid var(--primary-low);
|
||||
display: flex;
|
||||
|
||||
&.inactive-theme {
|
||||
color: var(--primary-high);
|
||||
background: var(--primary-very-low);
|
||||
font-size: var(--font-down-1);
|
||||
&:not(.selected):hover {
|
||||
color: var(--primary);
|
||||
}
|
||||
}
|
||||
|
||||
&.inactive-indicator {
|
||||
border-right: 0;
|
||||
border-left: 0;
|
||||
font-weight: bold;
|
||||
color: var(--primary-medium);
|
||||
margin-top: 1em;
|
||||
padding-left: 0.33em;
|
||||
|
||||
span.empty {
|
||||
padding-left: 5px;
|
||||
padding-top: 15px;
|
||||
padding-left: 0.33em;
|
||||
padding-top: 1em;
|
||||
}
|
||||
}
|
||||
&:not(.inactive-indicator):not(.selected):hover {
|
||||
@ -263,7 +274,6 @@
|
||||
.info {
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
font-weight: bold;
|
||||
font-size: var(--font-up-1);
|
||||
|
||||
.icons {
|
||||
|
Loading…
Reference in New Issue
Block a user