Default view stays the all-feeds joined article list, now with a sidebar listing every subscribed feed so a reader can pin down to one feed's articles. Filtering happens server-side (list_ranked_articles now takes an optional feed_id). Pulled in the sidebar/badge/scroll_area (plus their sheet/skeleton/ tooltip/separator dependencies) components via `dx components add` instead of hand-rolling nav/tag/scroll markup, matching this project's existing pattern of using the Dioxus component library over raw elements (see button/input). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PqTJmazHBQK878vjQ4JnnF
42 lines
916 B
CSS
42 lines
916 B
CSS
.dx-badge-example {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.dx-badge {
|
|
display: inline-flex;
|
|
min-width: 20px;
|
|
height: 20px;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 10px;
|
|
box-shadow: 0 0 0 1px var(--primary-color-2);
|
|
font-size: 12px;
|
|
gap: 4px
|
|
}
|
|
|
|
.dx-badge[padding="true"] {
|
|
padding: 0 8px;
|
|
}
|
|
|
|
.dx-badge[data-style="primary"] {
|
|
background-color: var(--secondary-color-2);
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.dx-badge[data-style="secondary"] {
|
|
background-color: var(--primary-color-5);
|
|
color: var(--secondary-color-1);
|
|
}
|
|
|
|
.dx-badge[data-style="outline"] {
|
|
border: 1px solid var(--primary-color-6);
|
|
background-color: var(--light, var(--primary-color)) var(--dark, var(--primary-color-3));
|
|
color: var(--secondary-color-4);
|
|
}
|
|
|
|
.dx-badge[data-style="destructive"] {
|
|
background-color: var(--primary-error-color);
|
|
color: var(--contrast-error-color);
|
|
}
|