fix(ui): remove dark mode css override in loading component that broke light mode contrast, and add missing state-center css class to discover view
This commit is contained in:
@ -141,14 +141,5 @@ defineProps({
|
|||||||
100% { opacity: 0; }
|
100% { opacity: 0; }
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Dark mode overrides automatically adapt using CSS variables, but just in case */
|
/* Dark/Light modes automatically adapt using CSS variables from App.vue */
|
||||||
@media (prefers-color-scheme: dark) {
|
|
||||||
.loading-icon-wrap {
|
|
||||||
background-color: var(--bg-secondary, #1e293b);
|
|
||||||
border-color: rgba(255,255,255, 0.1);
|
|
||||||
}
|
|
||||||
.loading-icon, .loading-message, .loading-dots {
|
|
||||||
color: var(--text-default, #f1f5f9);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -388,6 +388,16 @@ function resetFilters() {
|
|||||||
padding-bottom: 100px;
|
padding-bottom: 100px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.state-center {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
padding: 4rem 1.25rem;
|
||||||
|
gap: 1rem;
|
||||||
|
color: var(--text-secondary);
|
||||||
|
}
|
||||||
|
|
||||||
/* ═══════════════════════════════════════════
|
/* ═══════════════════════════════════════════
|
||||||
HEADER
|
HEADER
|
||||||
═══════════════════════════════════════════ */
|
═══════════════════════════════════════════ */
|
||||||
|
|||||||
Reference in New Issue
Block a user