27 lines
2.7 KiB
CSS
27 lines
2.7 KiB
CSS
.thot-context-layout { --thoth-content-gutter: 1.25rem; --thoth-content-padding: 1rem; display: flex; flex-direction: column; min-width: 0; height: var(--thoth-app-height, 100dvh); overflow: hidden; }
|
|
.thot-context-layout > .thot-app-shell { flex: 1; height: auto; min-height: 0; }
|
|
.thot-context-shelf { flex: none; min-width: 0; max-height: 60%; overflow: auto; border-bottom: 1px solid oklch(var(--border)); background: oklch(var(--muted)/.5); container: working-context / inline-size; }
|
|
.thot-context-trigger { display: flex; align-items: center; gap: 16px; width: 100%; min-height: 72px; padding: 14px calc(var(--thoth-content-gutter) + var(--thoth-content-padding)); text-align: left; }
|
|
.thot-context-summary { min-width: 0; flex: 1; }
|
|
.thot-context-summary small { display: block; font: 500 var(--text-meta)/1.5 var(--font-sans); color: oklch(var(--muted-foreground)); }
|
|
.thot-context-summary strong { display: block; font: 600 .875rem/1.6 var(--font-sans); overflow-wrap: anywhere; }
|
|
.thot-context-summary strong span { padding-inline: 12px; color: oklch(var(--muted-foreground)); }
|
|
.thot-context-action { display: flex; align-items: center; gap: 8px; color: oklch(var(--primary)); font-size: .75rem; font-weight: 600; }
|
|
.thot-context-trigger[aria-expanded=true] .thot-context-action > svg:last-child { transform: rotate(180deg); }
|
|
.thot-context-body { margin: 0 var(--thoth-content-gutter) var(--thoth-content-gutter); padding: var(--thoth-content-padding); background: oklch(var(--card)); }
|
|
.thot-context-body[hidden] { display: none; }
|
|
.thot-context-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)) auto; align-items: end; gap: 16px; }
|
|
.thot-context-fields label { display: grid; min-width: 0; gap: 8px; font-size: var(--text-control); }
|
|
.thot-context-fields label > span { display: flex; align-items: center; gap: 8px; font-weight: 600; }
|
|
.thot-context-fields select { min-width: 0; width: 100%; height: 32px; padding: 4px 12px; border: 1px solid oklch(var(--border)); border-radius: 6px; background: oklch(var(--card)); }
|
|
.thot-context-body > p[role] { color: oklch(var(--muted-foreground)); font-size: .75rem; line-height: 1.6; }
|
|
.thot-context-body > p[role] { margin-top: 12px; }
|
|
.thot-context-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
|
|
.thot-context-shelf :is(button,select):focus-visible { outline: 2px solid oklch(var(--ring)); outline-offset: 3px; }
|
|
.thot-context-shelf select:disabled { opacity: .65; }
|
|
@container working-context (max-width: 38rem) {
|
|
.thot-context-fields { grid-template-columns: minmax(0,1fr); gap: 14px; }
|
|
.thot-context-trigger { padding-block: 12px; gap: 10px; }
|
|
.thot-context-action > span { display: none; }
|
|
}
|