fix: resolve CSS load-order conflicts between glass.css and module stylesheets

- dashboard.css: move .widget glass styles (shadow, border, ::before highlight)
  directly here since module CSS loads after glass.css and would override it
- tasks.css: move .filter-chip--active glass state and fix .priority-badge
  border-radius to use --radius-glass-chip (capsule) instead of --radius-xs
- glass.css: remove dead .sticky-header rule (class not used in HTML) and
  remove duplicate .widget rules now handled by dashboard.css
This commit is contained in:
Ulas
2026-04-13 21:12:09 +02:00
parent 88f871de93
commit 37a783b9c7
3 changed files with 31 additions and 43 deletions
+16 -1
View File
@@ -152,10 +152,25 @@
.widget {
background-color: var(--color-surface);
border-radius: var(--radius-md);
box-shadow: var(--shadow-sm);
box-shadow: var(--glass-shadow-sm);
border: 1px solid var(--glass-border-subtle);
overflow: hidden;
display: flex;
flex-direction: column;
position: relative;
}
.widget::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 1px;
background: var(--glass-highlight-subtle);
border-radius: var(--radius-md) var(--radius-md) 0 0;
pointer-events: none;
z-index: 1;
}
.widget__header {