fix: place processing controls within the Console navigation box
This commit is contained in:
1 parent
93d211c295
commit
0fa7bf421f
6 files changed
+117
-21
No files matched your search
@@ -5,26 +5,18 @@
|
||||
.processing-controls button:focus-visible { outline:3px solid currentColor; outline-offset:3px; }
|
||||
.processing-banner { padding:.75rem 1rem; font-weight:600; border-bottom:2px solid currentColor; }
|
||||
.processing-controls [hidden], .processing-banner[hidden] { display:none; }
|
||||
/* Keep the controls in normal flow. On desktop the frame fills the remaining
|
||||
viewport rather than adding a full viewport below the controls. Navigation
|
||||
retains the shell's command-bar/footer bounds independently of this bar. */
|
||||
/* The desktop controls share the nav's existing viewport box. They scroll with
|
||||
its contents: no sticky overlay may cover a focused navigation link. */
|
||||
.tree .processing-controls .btn { margin:0; order:0; }
|
||||
.tree .processing-controls .small { margin:0; flex-basis:100%; }
|
||||
@media (min-width:760px) {
|
||||
body {
|
||||
--processing-nav:240px;
|
||||
display:grid;
|
||||
grid-template-columns:minmax(0,1fr);
|
||||
grid-template-rows:auto auto auto minmax(min-content,1fr) auto;
|
||||
min-height:100vh;
|
||||
}
|
||||
.cmdbar { grid-row:1; }
|
||||
.processing-controls { grid-row:2; }
|
||||
.processing-banner { grid-row:3; }
|
||||
footer.foot { grid-row:5; }
|
||||
.processing-controls, .processing-banner { margin-left:var(--processing-nav); }
|
||||
.frame { grid-row:4; min-height:0; }
|
||||
body { --processing-nav:240px; }
|
||||
.processing-banner { margin-left:var(--processing-nav); }
|
||||
.tree > .processing-controls { flex:none; padding:.7rem .4rem; }
|
||||
.frame > .content { grid-column:2; }
|
||||
.frame > .tree { position:fixed; width:var(--processing-nav); }
|
||||
}
|
||||
@media (max-width:759px) { .tree > .processing-controls { flex-basis:100%; } }
|
||||
@media (min-width:760px) and (max-width:959px) { body { --processing-nav:200px; } }
|
||||
@media (min-width:1900px) { body { --processing-nav:280px; } }
|
||||
@media (min-width:2560px) { body { --processing-nav:320px; } }
|
||||
Reference in new issue
Block a user