Move dashboard.js + dashboard.css into the feature folder (kept eager-linked from the new paths in index.html — dashboard.js stays eager because system-loader calls its bare globals at boot). No reference sites outside index.html (the feature's index.js uses globals, not the controller path). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Signed-off-by: librelad <librelad@digitalangels.vip>
63 lines
1.2 KiB
CSS
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;
|
|
}
|
|
}
|