UX: some admin theme list style adjustments (#20625)

This commit is contained in:
Kris 2023-03-10 15:15:31 -05:00 committed by GitHub
parent 943068a634
commit 03e3fd742e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 6 deletions

View File

@ -56,6 +56,7 @@
{{#if this.hasInactiveThemes}}
{{#each this.inactiveThemes as |theme|}}
<ThemesListItem
@classNames="inactive-theme"
@theme={{theme}}
@navigateToTheme={{action "navigateToTheme" theme}}
/>

View File

@ -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 {