fix(ui): match Omics header and compact workspace layout
This commit is contained in:
+25
-3
@@ -230,6 +230,9 @@ body.thot-full-document { margin: 0; }
|
||||
}
|
||||
.thot-host > .thot-context-layout { flex: 1; min-height: 0; height: auto; }
|
||||
.thot-full-header {
|
||||
/* Match Omics static/css/gsd-theme.css --gsd-red-primary in both themes. */
|
||||
--thot-header-background: #cb333b;
|
||||
--thot-header-foreground: oklch(99.85% 0.0006 17.2);
|
||||
display: flex;
|
||||
flex: none;
|
||||
flex-wrap: wrap;
|
||||
@@ -238,13 +241,32 @@ body.thot-full-document { margin: 0; }
|
||||
gap: 0.5rem 1rem;
|
||||
min-height: 3.75rem;
|
||||
padding: 0.625rem var(--thot-shell-gutter);
|
||||
border-bottom: 1px solid oklch(var(--border));
|
||||
background: oklch(var(--card));
|
||||
border-bottom: 1px solid var(--thot-header-background);
|
||||
background: var(--thot-header-background);
|
||||
color: var(--thot-header-foreground);
|
||||
}
|
||||
.thot-full-header__brand { font: 600 1.25rem/1.2 var(--font-heading); }
|
||||
.thot-full-header__controls { display: flex; align-items: center; flex-wrap: wrap; gap: 0.25rem; min-width: 0; }
|
||||
.thot-full-header__user { max-width: 15rem; min-width: 0; font-size: var(--text-control); }
|
||||
.thot-full-header__error { flex-basis: 100%; font-size: var(--text-control); color: oklch(var(--destructive)); }
|
||||
.thot-full-header__error { flex-basis: 100%; font-size: var(--text-control); color: inherit; }
|
||||
.thot-full-header__controls button { color: var(--thot-header-foreground); }
|
||||
.thot-full-header__controls button:is(:hover, [aria-expanded="true"]) {
|
||||
color: var(--thot-header-foreground);
|
||||
background: color-mix(in srgb, var(--thot-header-foreground) 14%, transparent);
|
||||
}
|
||||
.thot-full-header :is(button, select):focus-visible {
|
||||
outline: 2px solid var(--thot-header-foreground);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
.thot-full-header .thot-shell-select {
|
||||
color: var(--thot-header-foreground);
|
||||
background: transparent;
|
||||
border-color: color-mix(in srgb, var(--thot-header-foreground) 65%, transparent);
|
||||
}
|
||||
.thot-full-header .thot-shell-select option {
|
||||
color: oklch(var(--foreground));
|
||||
background: oklch(var(--card));
|
||||
}
|
||||
.thot-shell-select {
|
||||
min-height: 2rem;
|
||||
max-width: 9rem;
|
||||
|
||||
Reference in New Issue
Block a user