ux(tools): recessed dark container around tool rows, matching services + tasks
Apply the same .services-rows / .tasks-container pocket pattern to the
Tools tab so the three app-page tabs (Services, Tools, Tasks/Backups)
share one visual language: rows live inside a sunken dark panel that
reads as a contained area inside the tab-pane's glass surface.
.tools-rows gains
background: rgba(var(--bg-rgb), 0.2)
border-radius: 8px
margin: 16px
padding: 16px (was 1rem 1.25rem 2rem)
For the multi-category tabs case the pocket sits flush below the tab
bar — drop the top margin via the .tools-tab-bar ~ .tools-cat-pane
sibling selector so the tabs and pocket read as one element.
Signed-off-by: librelad <librelad@digitalangels.vip>
This commit is contained in:
parent
3c8963daf8
commit
8ee201978f
@ -28,15 +28,25 @@
|
||||
|
||||
.tools-list { display: flex; flex-direction: column; }
|
||||
|
||||
/* Recessed dark pocket wrapping the tool rows — same idiom as
|
||||
.services-rows on the Services tab and .tasks-container on the Tasks
|
||||
tab so the three app-page tabs share one visual language. */
|
||||
.tools-rows {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.6rem;
|
||||
padding: 1rem 1.25rem 2rem;
|
||||
padding: 16px;
|
||||
margin: 16px;
|
||||
background: rgba(var(--bg-rgb), 0.2);
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.tools-cat-pane { display: none; }
|
||||
.tools-cat-pane.active { display: flex; }
|
||||
/* When the multi-category tab bar is present, the pane recedes directly
|
||||
below it — drop the top margin so the pocket sits flush with the tabs. */
|
||||
.tools-tab-bar + .tools-cat-pane,
|
||||
.tools-tab-bar ~ .tools-cat-pane { margin-top: 0; }
|
||||
|
||||
.tools-tab-bar {
|
||||
display: flex;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user