librelad 2ef4cc00e1 refactor(webui): granular sub-system folders per component
De-clutter each component into sub-system folders (apps: core/ port-manager/
services/ tools/ routing/; admin: config/ overview/ system/ ssh/ peers/) with
the standard js/ css/ html/ icons/ layout inside; single-page components
(backup/dashboard/tasks/updater) get js/ css/ html/. Single-feature icon sets
moved into their sub-system (vpn -> apps/core/icons, config/cpu/os ->
admin/{config,system}/icons); shared app + category icons stay in core/icons.
feature.json + index.js stay at each component root (the scanned descriptor +
entry). Every controller/CSS/fragment/icon path reference rewritten; verified
no stale refs, all JS valid.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: librelad <librelad@digitalangels.vip>
2026-05-30 12:42:35 +01:00

63 lines
1.2 KiB
CSS

/* Dashboard page styling. Extracted from dashboard-content.html so all
CSS lives under css/. Currently only mobile-responsive overrides. */
@media (max-width: 768px) {
.section-header {
display: flex;
flex-direction: column;
gap: 15px;
}
.header-row {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
}
.header-left {
display: flex;
align-items: center;
flex: 1;
}
.header-left h2 {
margin: 0;
font-size: 1.2rem;
}
.install-btn {
padding: 8px 12px;
font-size: 0.9rem;
white-space: nowrap;
margin-left: auto;
flex-shrink: 0;
}
.filter-controls {
display: flex;
flex-direction: column;
gap: 10px;
}
.search-input,
.category-filter {
width: 100%;
margin-bottom: 10px;
}
/* Remove the bottom flex-stretch on the dashboard page only.
Scoped to .dashboard-main (added in dashboard-content.html) so
this never leaks onto Config / Tasks / Apps, where their inner
.main needs flex: 1 to fill the column next to the sidebar. */
.dashboard-main {
flex: none !important;
margin-bottom: 0 !important;
}
.dashboard-content {
margin-bottom: 0;
padding-bottom: 0;
}
}