librelad d39852aa3d refactor(webui): reorganize into components/ + core/ taxonomy
Final modularization layout (user-chosen): every page is a self-contained
folder under components/<id>/ (controllers + CSS + its html fragment), and all
shared/framework code folds into core/:
  core/kernel  (feature-registry, lifecycle, services, spa)
  core/boot    (auth, system-loader/orchestrator, setup, loaders)
  core/lib     (data-loader, router, helpers, the task kernel, shared modules)
  core/ui      (topbar, modal, notifications, … + topbar.html)
  core/css     (all shared stylesheets)
  core/icons
Top level is now just: components/, core/, themes/, index.html (+ runtime data/).

Every path reference rewritten (index.html, scripts arrays, fetch()/
loadFragment()/loadScript() literals, system-loader + config-manager controller
paths, kernel manifest URL, feature.json, backend FEATURES_DIR). The
/api/features/list endpoint NAME is unchanged (it now scans components/).
Deleted 3 dead files (app-content.html, apps-content.html, html-cache.js).
Verified: 0 stale prefixes, 0 double-rewrites, all JS/JSON valid.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: librelad <librelad@digitalangels.vip>
2026-05-30 07:13:52 +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;
}
}