mirror of
https://github.com/jparkerweb/plan2code.git
synced 2026-12-05 08:15:41 -08:00
1 parent
9b876077e3
commit
7f221ad3d5
43 files changed
+409
-195
No files matched your search
@@ -20,11 +20,29 @@
|
||||
|
||||
/* ------------------------------------------------------------ responsive */
|
||||
|
||||
/* The Notes panel's resize handle exists only while the panel is stacked. */
|
||||
.aside-grip { display: none; }
|
||||
|
||||
@media (max-width: 1080px) {
|
||||
.layout,
|
||||
.layout:has(> .aside:empty),
|
||||
.layout:has(.git-board) { grid-template-columns: 210px minmax(0, 1fr); }
|
||||
.aside { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--rule); }
|
||||
/* The grab bar rides the panel's top edge (over its padding) while the notes scroll under it. */
|
||||
.aside-grip {
|
||||
display: block; position: sticky; top: 0; z-index: 1; flex: none;
|
||||
height: 14px; margin: -20px -20px 6px; background: var(--panel-2);
|
||||
cursor: ns-resize; touch-action: none;
|
||||
}
|
||||
.aside-grip::before {
|
||||
content: ""; position: absolute; left: 50%; top: 5px; width: 44px; height: 4px; margin-left: -22px;
|
||||
border-radius: 2px; background: var(--ink-3); opacity: 0.6;
|
||||
}
|
||||
.aside-grip:hover::before, .aside-grip:focus-visible::before { background: var(--accent); opacity: 1; }
|
||||
.aside-grip:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
|
||||
/* A height the person dragged to: the question takes the rest, and it replaces the 30vh cap below 900px. */
|
||||
html[data-aside-h] .layout { grid-template-rows: minmax(0, 1fr) auto; }
|
||||
html[data-aside-h] .aside { height: var(--aside-h); min-height: 96px; max-height: calc(100vh - 260px); }
|
||||
}
|
||||
|
||||
/* V20, from a live look at 700 to 1000px: from 900px down the rail beside the
|
||||
|
||||
Reference in new issue
Block a user