본문 블록 편집기(d72eae2, 09-16)는 드래그 손잡이와 블록 동작 칸을 읽기
단 바깥에 둔다. 그래서 section.studio-block-editor에 margin 0 -38px를 준다.
그런데 편집 화면의 옆 여백은 936px 이상에서만 38px 이상이다. 그 아래로는
24px(single-surface .studio-main이 100% - 48px), 760px 이하에서는 14px다.
그래서 761~935px에서는 14px, 760px 이하에서는 4px만큼 페이지 전체가
가로로 스크롤된다(760px 이하 규칙의 -18px도 14px 여백보다 넓다).
e2e의 「Studio editor has no overflow」는 이것을 잡지 못했다. 블록
편집기는 폼의 나머지보다 늦게 그려지는데, 시험은 그 전에 폭을 쟀다.
WebKit에서만 가끔 늦게 재서 900·820·768px이 떨어졌다.
손잡이 여백을 그 폭의 옆 여백에 맞춘다. 935px 이하는 24px(손잡이 칸
20px), 760px 이하는 14px(손잡이 칸 14px)이다. 936px 이상은 그대로다.
시험은 블록 편집기가 그려진 뒤에 잰다.
버린 대안: 상위 요소에 overflow-x: clip. 스크롤은 없어지지만 손잡이가
화면 밖에서 잘린 채 남는다.
검증:
- 폭별 측정(chromium): 고치기 전 935px 1, 930px 3, 920px 8, 900~761px 14,
760px 이하 4px 넘침. 936px 이상은 0.
- 시험만 고친 상태에서 chromium·chromium-compact의 Studio editor 20건 중
14건(935px 이하 일곱 폭 × 2) 실패. 고친 뒤 tech-log-responsive.spec.ts가
chromium·firefox·webkit·chromium-compact에서 88건 모두 통과.
2482 lines
76 KiB
CSS
2482 lines
76 KiB
CSS
.studio-app .studio-editor-page,
|
||
.studio-app .studio-editor-workspace { min-width: 0; }
|
||
|
||
.studio-app .studio-editor-loading { min-height: 240px; padding-block: 56px; color: var(--muted); }
|
||
.studio-app .studio-editor-heading { padding-bottom: 36px; border-bottom: 1px solid var(--line-strong); }
|
||
.studio-app .studio-editor-heading h1 { margin: 0; font-size: clamp(38px, 5vw, 62px); line-height: 1.05; letter-spacing: -0.045em; }
|
||
.studio-app .studio-editor-heading > p:last-child { max-width: 780px; margin: 18px 0 0; color: var(--muted); font-size: 17px; line-height: 1.65; overflow-wrap: anywhere; }
|
||
.studio-app .studio-editor-section { padding: 48px 0; border-bottom: 1px solid var(--line); }
|
||
.studio-app .studio-editor-section-heading { margin-bottom: 24px; }
|
||
.studio-app .studio-editor-section-heading .studio-eyebrow { margin-bottom: 8px; }
|
||
.studio-app .studio-editor-section-heading h2 { margin: 0; font-size: 25px; letter-spacing: -0.03em; }
|
||
|
||
.studio-app .studio-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
|
||
.studio-app .studio-field,
|
||
.studio-app .studio-ordered-item > label,
|
||
.studio-app .studio-relation-item > label { display: grid; min-width: 0; gap: 8px; color: var(--muted); font-size: 12px; font-weight: 650; }
|
||
.studio-app .studio-field--wide { grid-column: 1 / -1; }
|
||
.studio-app .studio-field input,
|
||
.studio-app .studio-field select,
|
||
.studio-app .studio-field textarea,
|
||
.studio-app .studio-ordered-item input,
|
||
.studio-app .studio-ordered-item textarea,
|
||
.studio-app .studio-relation-item input,
|
||
.studio-app .studio-relation-item select { width: 100%; min-width: 0; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 5px; background: var(--paper); color: var(--ink); font: inherit; font-size: 15px; font-weight: 450; line-height: 1.55; }
|
||
/*
|
||
칸이 내용을 따라 자란다. 예전에는 112px 에 고정이라 659자짜리 규칙 본문을 세 줄짜리 구멍으로
|
||
편집했다 — 편집기의 칸 22개 중 10개가 내용이 넘쳐 잘려 있었다. 상한을 두는 이유는 긴 본문
|
||
하나가 화면을 통째로 차지하면 나머지 칸으로 이동할 수 없기 때문이다.
|
||
|
||
`field-sizing` 을 모르는 브라우저에서는 예전처럼 112px 에 스크롤이다 — 나빠지지는 않는다.
|
||
*/
|
||
.studio-app .studio-field textarea,
|
||
.studio-app .studio-ordered-item textarea { min-height: 112px; max-height: 70vh; field-sizing: content; resize: vertical; }
|
||
.studio-app .studio-field .studio-markdown-field { min-height: 420px; font-family: "IBM Plex Mono", monospace; font-size: 13px; }
|
||
|
||
/* 칸 아래 한 줄 설명. 라벨과 같은 격자 안에 들어가므로 별도 여백을 두지 않는다. */
|
||
.studio-app .studio-field > small { color: var(--faint); font-size: 12px; font-weight: 450; line-height: 1.6; }
|
||
|
||
/* 여러 개를 고르는 목록(주제 등). 작업본 목록의 유형 선택과 같은 모양을 쓴다. */
|
||
.studio-app .studio-choice-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0 24px; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
|
||
.studio-app .studio-choice { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 4px 12px; align-items: center; min-height: 60px; padding: 12px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
|
||
.studio-app .studio-choice input { width: 20px; min-width: 20px; min-height: 20px; padding: 0; }
|
||
.studio-app .studio-choice span { font-size: 15px; font-weight: 550; }
|
||
.studio-app .studio-choice small { grid-column: 2; color: var(--faint); font-family: "IBM Plex Mono", monospace; font-size: 11px; }
|
||
|
||
/* 편집 화면 하단의 저장 줄. 버튼과 그 옆의 상태 한 줄. */
|
||
.studio-app .studio-editor-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 32px 0 0; }
|
||
.studio-app .studio-editor-footer .studio-primary-button,
|
||
.studio-app .studio-editor-footer .studio-secondary-button { margin: 0; }
|
||
.studio-app .studio-editor-footer .studio-field-note { flex: 1 1 260px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
|
||
|
||
/* 체크박스 묶음(변경 유형 등). `.studio-field-grid` 를 쓰면 legend 가 한 칸을 차지해 줄이 어긋난다. */
|
||
.studio-app .studio-checkbox-set { margin: 34px 0 0; padding: 0; border: 0; }
|
||
.studio-app .studio-checkbox-set legend { padding: 0 0 14px; color: var(--muted); font-size: 12px; font-weight: 650; }
|
||
.studio-app .studio-checkbox-set { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0 24px; }
|
||
.studio-app .studio-checkbox-set legend { grid-column: 1 / -1; }
|
||
.studio-app .studio-checkbox-set .studio-field--checkbox { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: center; min-height: 52px; padding: 8px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
|
||
.studio-app .studio-checkbox-set .studio-field--checkbox input { width: 20px; min-width: 20px; min-height: 20px; padding: 0; }
|
||
.studio-app .studio-checkbox-set .studio-field--checkbox span { font-size: 15px; font-weight: 500; }
|
||
|
||
.studio-app .studio-ordered-list { min-width: 0; margin: 34px 0 0; padding: 0; border: 0; }
|
||
.studio-app .studio-ordered-list legend { margin-bottom: 14px; font-size: 17px; font-weight: 700; }
|
||
.studio-app .studio-ordered-list > p { margin: 0 0 16px; color: var(--muted); font-size: 13px; }
|
||
.studio-app .studio-ordered-item,
|
||
.studio-app .studio-relation-item { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 22px 0; border-top: 1px solid var(--line); }
|
||
.studio-app .studio-item-actions { display: flex; flex-wrap: wrap; gap: 8px; }
|
||
.studio-app .studio-item-actions button,
|
||
.studio-app .studio-add-item,
|
||
.studio-app .studio-document-status-bar button { min-height: 44px; padding-inline: 2px; border: 0; background: none; color: var(--muted); font-weight: 600; }
|
||
.studio-app .studio-item-actions button:disabled,
|
||
.studio-app .studio-add-item:disabled { opacity: 0.45; }
|
||
.studio-app .studio-add-item { margin-top: 12px; }
|
||
|
||
/*
|
||
작업 상태와 저장·게시를 화면 아래에 붙여 둔다. 문서가 길어져도 스크롤 위치와 무관하게 손이
|
||
닿는다. 배경을 불투명하게 두는 것은 장식이 아니라 필요다 — 밑으로 지나가는 본문이 비치면
|
||
상태 글자를 읽을 수 없다.
|
||
*/
|
||
.studio-app .studio-document-status-bar { position: sticky; bottom: 0; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; min-width: 0; margin-top: 48px; padding: 16px 0; border-top: 1px solid var(--line-strong); background: var(--paper); }
|
||
.studio-app .studio-editor-status { margin: 0; font-weight: 700; }
|
||
.studio-app .studio-editor-status--dirty,
|
||
.studio-app .studio-editor-status--conflict { color: var(--color-danger-content); }
|
||
.studio-app .studio-editor-status--clean { color: var(--color-success-content); }
|
||
.studio-app .studio-document-status-bar dl { display: flex; gap: 20px; margin: 0; }
|
||
.studio-app .studio-document-status-bar dl div { display: flex; align-items: baseline; gap: 8px; }
|
||
.studio-app .studio-document-status-bar dt { color: var(--muted); font-size: 12px; }
|
||
.studio-app .studio-document-status-bar dd { margin: 0; font-size: 13px; }
|
||
.studio-app .studio-document-status-bar__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
|
||
/* `.studio-primary-button` 은 세로로 쌓이는 자리에 맞춘 바깥 여백을 갖고 있다. 한 줄에
|
||
나란히 두면 그 여백이 줄 높이를 늘리고, 옆 버튼만 늘어나 짝이 어긋난다. */
|
||
.studio-app .studio-document-status-bar__actions .studio-primary-button { margin: 0; }
|
||
/* 저장·게시는 이 화면의 주 동작이다 — 굵기와 색으로만 격을 올린다. */
|
||
.studio-app .studio-document-status-bar button { min-width: 92px; color: var(--ink); font-weight: 700; }
|
||
.studio-app .studio-document-status-bar button:disabled { color: var(--faint); }
|
||
.studio-app .studio-asset-kind-field { display: grid; min-width: 0; gap: 8px; color: var(--muted); font-size: 12px; font-weight: 650; }
|
||
.studio-app .studio-asset-kind-field select { min-height: 44px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 5px; background: var(--paper); color: var(--ink); font: inherit; font-size: 15px; }
|
||
.studio-app .asset-picker ul { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
|
||
.studio-app .asset-picker button { min-height: 36px; padding-inline: 12px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--paper); color: var(--ink); font-size: 13px; }
|
||
/* Declared after `.asset-picker button` on purpose: the pill rule above also
|
||
matches this form's submit button, and both selectors carry the same
|
||
specificity, so only source order tells them apart. */
|
||
/* `minmax(0, 1fr)` and the row's `min-width: 0` are both load bearing, for the
|
||
reason `.studio-editor-split` already needs the same pair: a grid track and
|
||
a flex container both default to an automatic minimum of their min-content
|
||
size, so at 360px the search row sized itself to 366px inside a 328px column
|
||
and pushed the submit button off-screen (document scrollWidth 382). */
|
||
/* Picker 자체의 옵션이지 문서의 입력 칸이 아니다 — `studio-field` 를 쓰면 편집기의 칸 목록에
|
||
섞여 들어간다. 모양은 그 칸들과 같게 두고 이름만 분리한다. */
|
||
.studio-app .asset-picker-option { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; color: var(--muted); font-size: 12px; font-weight: 650; }
|
||
.studio-app .asset-picker-option input { width: 18px; min-width: 18px; min-height: 18px; padding: 0; }
|
||
.studio-app .asset-picker-search { display: grid; grid-template-columns: minmax(0, 1fr); max-width: 420px; gap: 8px; margin-bottom: 14px; color: var(--muted); font-size: 12px; font-weight: 650; }
|
||
.studio-app .asset-picker-search div { display: flex; min-width: 0; gap: 8px; }
|
||
.studio-app .asset-picker-search input { min-width: 0; flex: 1; min-height: 44px; padding-inline: 12px; border: 1px solid var(--line-strong); border-radius: 5px; background: var(--paper); color: var(--ink); font-size: 14px; }
|
||
.studio-app .asset-picker-search button { min-height: 44px; padding-inline: 16px; border-radius: 5px; font-size: 13px; font-weight: 650; }
|
||
.studio-app .asset-picker ul:not(:empty) { margin-top: 12px; }
|
||
.studio-app .studio-error,
|
||
.studio-app .studio-asset-picker-empty { margin: 0; color: var(--muted); font-size: 13px; }
|
||
|
||
@media (max-width: 767px) {
|
||
.studio-app .studio-editor-heading { padding-bottom: 28px; }
|
||
.studio-app .studio-document-status-bar__actions { flex: 1 1 100%; margin-left: 0; }
|
||
.studio-app .studio-document-status-bar__actions button { flex: 1; min-width: 0; }
|
||
.studio-app .studio-field-grid { grid-template-columns: minmax(0, 1fr); }
|
||
.studio-app .studio-field--wide { grid-column: auto; }
|
||
.studio-app .studio-item-actions { display: grid; grid-template-columns: minmax(0, 1fr); }
|
||
}
|
||
|
||
/*
|
||
칸 아래에 붙는 지적. 검증 결과를 화면 맨 위 한 덩어리로 모아 두는 대신 그 칸 옆에 두면,
|
||
작성자는 `/topicId` 같은 경로를 읽고 어느 칸인지 스스로 찾을 필요가 없다.
|
||
|
||
`.studio-field` 는 세로 흐름이므로 별도의 배치가 필요 없다 — 입력 바로 다음 줄에 놓인다.
|
||
*/
|
||
.studio-app .studio-field-notice { display: block; margin-top: 6px; font-size: 12px; line-height: 1.5; }
|
||
/* 남은 자리를 보여 주는 표시. 쓰는 데 방해되지 않게 옅게, 한계에 닿으면 눈에 띄게. */
|
||
.studio-app .studio-char-count { justify-self: end; margin-top: -2px; color: var(--faint); font-family: "IBM Plex Mono", monospace; font-size: 11px; font-weight: 500; font-variant-numeric: tabular-nums; }
|
||
.studio-app .studio-char-count[data-full] { color: var(--danger, var(--color-danger)); font-weight: 650; }
|
||
.studio-app .studio-field-notice--error { color: var(--danger, var(--color-danger)); }
|
||
|
||
/*
|
||
저장과 게시는 되돌릴 수 있는 정도가 다르다 — 하나는 초안을 남기고, 하나는 공개한다. 둘이
|
||
맞붙어 있으면 누르려던 것을 지나쳐 누르기 쉬우므로 사이를 벌린다.
|
||
*/
|
||
.studio-app .studio-document-status-bar__actions { gap: 12px; }
|
||
/* 게시만 강조한다. 저장은 되돌릴 수 있으므로 같은 무게로 부를 이유가 없다. */
|
||
.studio-app .studio-document-status-bar button:not(.studio-primary-button) { color: var(--muted); font-weight: 600; }
|
||
|
||
/* 관계의 이유. 요약 칸과 같은 배치다 — 라벨, 칸, 그리고 이름에 들어가지 않는 안내 한 줄. */
|
||
.studio-app .studio-relation-reason { display: grid; gap: 8px; color: var(--ink-soft); font-size: 13px; font-weight: 600; }
|
||
|
||
/*
|
||
Markdown 삽입 도구. 버튼 셋뿐이므로 격자를 만들지 않는다 — 이 화면의 다른 반복 버튼들과 같은
|
||
모양을 쓰되, 본문 칸 바로 위에 붙여 무엇에 작용하는지가 자리로 드러나게 한다.
|
||
*/
|
||
.studio-app .studio-markdown-toolbar { display: flex; flex-wrap: wrap; gap: 6px; margin: -2px 0 6px; }
|
||
.studio-app .studio-markdown-toolbar button { min-height: 32px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 4px; background: var(--color-surface-elevated); color: var(--ink-soft); font-size: 12px; font-weight: 600; cursor: pointer; }
|
||
.studio-app .studio-markdown-toolbar button:hover { border-color: var(--signal); color: var(--signal); }
|
||
|
||
/*
|
||
편집 폼의 구역 목차.
|
||
|
||
7,540px 폼에 섹션 이동 수단이 없었다 — 목차도 접기도 앵커도 없어서 아래쪽을 고치려면 매번
|
||
스크롤로 찾아 내려가야 했다. 폼 위에 붙여 두고 따라다니게 한다.
|
||
*/
|
||
.studio-app .studio-editor-toc { position: sticky; top: 0; z-index: 1; margin: 0 0 8px; padding: 10px 0; background: var(--paper, var(--color-surface-elevated)); border-bottom: 1px solid var(--line); }
|
||
.studio-app .studio-editor-toc ul { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; padding: 0; list-style: none; }
|
||
.studio-app .studio-editor-toc a { color: var(--muted); font-size: 13px; font-weight: 560; }
|
||
.studio-app .studio-editor-toc a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
|
||
/* 지금 보고 있는 구역. 배경 대신 글자만 진하게 — Studio 의 다른 곳과 같은 언어다. */
|
||
.studio-app .studio-editor-toc a[aria-current="true"] { color: var(--ink); font-weight: 700; }
|
||
|
||
/*
|
||
반복 그룹.
|
||
|
||
Question 문서 하나에 textarea 21개와 버튼 51개가 있었고, 그중 34개가 「위로/아래로」였다.
|
||
폼의 대부분이 순서를 바꾸는 버튼이었다. 끌기 손잡이를 두고 그 셋은 작게 적는다.
|
||
*/
|
||
.studio-app .studio-ordered-list legend { display: flex; align-items: baseline; gap: 10px; }
|
||
.studio-app .studio-ordered-list__toggle { min-height: 32px; padding: 0 2px; border: 0; background: none; color: var(--muted); font: inherit; font-size: 12px; font-weight: 560; }
|
||
.studio-app .studio-ordered-list__toggle:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
|
||
.studio-app .studio-ordered-item { display: grid; grid-template-columns: 20px minmax(0, 1fr); align-items: start; column-gap: 8px; }
|
||
.studio-app .studio-ordered-item__handle { cursor: grab; color: var(--line-strong); font-size: 15px; line-height: 2; user-select: none; }
|
||
.studio-app .studio-ordered-item__handle:active { cursor: grabbing; }
|
||
.studio-app .studio-ordered-item.is-dragging { opacity: 0.45; }
|
||
.studio-app .studio-ordered-item .studio-item-actions { grid-column: 2; }
|
||
/* 순서 바꾸기는 이 행의 목적이 아니다 — 글자 크기로 그렇게 말한다. */
|
||
.studio-app .studio-ordered-item .studio-item-actions button { font-size: 12px; font-weight: 500; }
|
||
|
||
/* 관계 대상 거르기 — 105개를 평면 셀렉트에서 이름으로 찾을 수는 없다 */
|
||
.studio-app .studio-relation-filter { display: grid; gap: 5px; margin-bottom: 18px; }
|
||
.studio-app .studio-relation-filter > span { color: var(--muted); font-size: 12px; font-weight: 640; }
|
||
.studio-app .studio-relation-filter > small { color: var(--faint); font-size: 12px; }
|
||
|
||
/* 칸 수준의 오류 — 미리보기를 죽이는 대신 고칠 자리에서 말한다 */
|
||
.studio-app .studio-field-error { margin: 6px 0 0; color: var(--color-danger-border); font-size: 13px; line-height: 1.5; }
|
||
|
||
/* 자료는 고르러 들어가는 것이지 폼에 펼쳐 두는 것이 아니다 */
|
||
.studio-app .studio-asset-slot { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
|
||
.studio-app .studio-asset-slot__count { margin: 0; color: var(--muted); font-size: 14px; }
|
||
.studio-app .studio-asset-dialog { position: fixed; inset: 0; margin: auto; max-height: calc(100dvh - 40px); overflow: auto; width: min(680px, calc(100% - 40px)); padding: 0; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--paper); color: var(--ink); }
|
||
.studio-app .studio-asset-dialog::backdrop { background: var(--techlog-palette-ce96af0c); }
|
||
.studio-app .studio-asset-dialog__body { padding: 24px 26px 28px; }
|
||
.studio-app .studio-asset-dialog__body > header { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
|
||
.studio-app .studio-asset-dialog__body > header h2 { margin: 0; font-size: 19px; font-weight: 650; }
|
||
.studio-app .studio-asset-dialog__body > header button { min-height: 40px; padding-inline: 2px; border: 0; background: none; color: var(--muted); font-weight: 600; }
|
||
|
||
/* 쓰는 동안에도 이 기록이 어느 조사의 어디쯤인지 */
|
||
.studio-app .studio-editor-context { margin: 22px 0 6px; padding: 16px 0 18px 17px; border-left: 2px solid var(--line-strong); }
|
||
.studio-app .studio-editor-context dl { display: flex; flex-wrap: wrap; gap: 8px 30px; margin: 10px 0 0; }
|
||
.studio-app .studio-editor-context dl > div { display: flex; gap: 9px; align-items: baseline; }
|
||
.studio-app .studio-editor-context dt { color: var(--faint); font-size: 12px; font-weight: 620; }
|
||
.studio-app .studio-editor-context dd { margin: 0; color: var(--ink); font-size: 14px; font-weight: 600; }
|
||
.studio-app .studio-context-empty { color: var(--faint); font-weight: 500; }
|
||
.studio-app .studio-context-missing { color: var(--color-danger-border); }
|
||
.studio-app .studio-editor-context ul { margin: 8px 0 0; padding: 0; list-style: none; }
|
||
.studio-app .studio-editor-context ul li { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; padding-block: 4px; }
|
||
.studio-app .studio-editor-context ul span { color: var(--faint); font-size: 12px; line-height: 1.7; }
|
||
.studio-app .studio-editor-context ul strong { color: var(--ink-soft); font-size: 14px; font-weight: 500; line-height: 1.55; }
|
||
|
||
/* Asset picker is a selection surface, not an asset-management toolbar. */
|
||
.studio-app .studio-asset-dialog {
|
||
width: min(860px, calc(100% - 40px));
|
||
}
|
||
|
||
.studio-app .studio-asset-dialog__body {
|
||
padding: 26px 28px 30px;
|
||
}
|
||
|
||
.studio-app .asset-picker-search {
|
||
max-width: none;
|
||
margin-top: 20px;
|
||
}
|
||
|
||
.studio-app .asset-picker-toolbar {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 14px 24px;
|
||
align-items: end;
|
||
justify-content: space-between;
|
||
margin-bottom: 14px;
|
||
}
|
||
|
||
.studio-app .asset-picker-kind {
|
||
display: grid;
|
||
gap: 6px;
|
||
color: var(--muted);
|
||
font-size: 12px;
|
||
font-weight: 650;
|
||
}
|
||
|
||
.studio-app .asset-picker-kind select {
|
||
min-width: 130px;
|
||
min-height: 40px;
|
||
padding: 0 34px 0 11px;
|
||
border: 1px solid var(--line-strong);
|
||
border-radius: 5px;
|
||
background: var(--paper);
|
||
color: var(--ink);
|
||
}
|
||
|
||
.studio-app .asset-picker-option {
|
||
min-height: 40px;
|
||
margin: 0;
|
||
}
|
||
|
||
.studio-app .asset-picker .asset-picker-results {
|
||
display: grid;
|
||
grid-template-columns: 1fr 1fr;
|
||
gap: 10px;
|
||
margin: 18px 0 0;
|
||
padding: 0;
|
||
}
|
||
|
||
.studio-app .asset-picker-results > li {
|
||
min-width: 0;
|
||
}
|
||
|
||
.studio-app .asset-picker .asset-picker-card {
|
||
display: grid;
|
||
width: 100%;
|
||
min-height: 100px;
|
||
grid-template-columns: 90px minmax(0, 1fr) auto;
|
||
gap: 14px;
|
||
align-items: center;
|
||
padding: 10px;
|
||
border: 1px solid var(--line);
|
||
border-radius: 7px;
|
||
background: transparent;
|
||
text-align: left;
|
||
}
|
||
|
||
.studio-app .asset-picker .asset-picker-card:hover,
|
||
.studio-app .asset-picker .asset-picker-card:focus-visible {
|
||
border-color: var(--signal);
|
||
background: color-mix(in srgb, var(--signal-soft) 45%, transparent);
|
||
}
|
||
|
||
.studio-app .asset-picker-preview {
|
||
display: grid;
|
||
width: 90px;
|
||
height: 76px;
|
||
overflow: hidden;
|
||
place-items: center;
|
||
border: 1px solid var(--line);
|
||
border-radius: 5px;
|
||
background: var(--canvas);
|
||
color: var(--faint);
|
||
font-size: 11px;
|
||
font-weight: 650;
|
||
text-transform: uppercase;
|
||
}
|
||
|
||
.studio-app .asset-picker-preview img {
|
||
width: 100%;
|
||
height: 100%;
|
||
object-fit: contain;
|
||
}
|
||
|
||
.studio-app .asset-picker-copy {
|
||
display: grid;
|
||
min-width: 0;
|
||
gap: 4px;
|
||
}
|
||
|
||
.studio-app .asset-picker-copy strong {
|
||
overflow: hidden;
|
||
color: var(--ink);
|
||
font-size: 13px;
|
||
font-weight: 650;
|
||
text-overflow: ellipsis;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.studio-app .asset-picker-copy > span {
|
||
color: var(--muted);
|
||
font-size: 11px;
|
||
}
|
||
|
||
.studio-app .asset-picker-copy small {
|
||
color: var(--faint);
|
||
font-size: 11px;
|
||
}
|
||
|
||
.studio-app .asset-picker-insert {
|
||
color: var(--signal);
|
||
font-size: 12px;
|
||
font-weight: 650;
|
||
}
|
||
|
||
@media (max-width: 767px) {
|
||
.studio-app .studio-asset-dialog {
|
||
width: calc(100% - 20px);
|
||
max-height: calc(100dvh - 20px);
|
||
}
|
||
|
||
.studio-app .studio-asset-dialog__body {
|
||
padding: 20px 16px 22px;
|
||
}
|
||
|
||
.studio-app .asset-picker .asset-picker-results {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
|
||
.studio-app .asset-picker .asset-picker-card {
|
||
grid-template-columns: 72px minmax(0, 1fr);
|
||
}
|
||
|
||
.studio-app .asset-picker-preview {
|
||
width: 72px;
|
||
height: 64px;
|
||
}
|
||
|
||
.studio-app .asset-picker-insert {
|
||
display: none;
|
||
}
|
||
}
|
||
|
||
/* --------------------------------------------------------------------------
|
||
Focused document authoring workspace
|
||
|
||
The editor is not a dashboard. The previous composition spent the first
|
||
screen on a generic "문서 편집" heading and a boxed context summary, then
|
||
squeezed the actual form beside a continuously scrolling preview. Writing
|
||
now owns the default view; context becomes compact workspace chrome and the
|
||
preview is opt-in (split or full).
|
||
-------------------------------------------------------------------------- */
|
||
.studio-app:has(.studio-editor-page) .studio-main {
|
||
width: min(1480px, calc(100% - 48px));
|
||
padding-block: 28px 96px;
|
||
}
|
||
|
||
.studio-app:has(.studio-editor-page) .studio-header-inner {
|
||
width: min(1480px, calc(100% - 48px));
|
||
}
|
||
|
||
.studio-app .studio-editor-page {
|
||
max-width: 1480px;
|
||
margin-inline: auto;
|
||
}
|
||
|
||
.studio-app .studio-editor-commandbar {
|
||
display: grid;
|
||
grid-template-columns: minmax(0, 1fr) auto;
|
||
gap: 18px 36px;
|
||
align-items: end;
|
||
padding: 6px 0 20px;
|
||
border-bottom: 1px solid var(--line-strong);
|
||
}
|
||
|
||
.studio-app .studio-editor-commandbar__identity {
|
||
min-width: 0;
|
||
}
|
||
|
||
.studio-app .studio-editor-commandbar__identity .studio-eyebrow {
|
||
margin-bottom: 7px;
|
||
}
|
||
|
||
.studio-app .studio-editor-commandbar__identity h1 {
|
||
max-width: 900px;
|
||
margin: 0;
|
||
font-size: clamp(28px, 3.25vw, 46px);
|
||
line-height: 1.12;
|
||
letter-spacing: -0.042em;
|
||
overflow-wrap: anywhere;
|
||
}
|
||
|
||
.studio-app .studio-editor-commandbar__identity > p:last-child {
|
||
margin: 10px 0 0;
|
||
color: var(--muted);
|
||
font-size: 13px;
|
||
line-height: 1.55;
|
||
}
|
||
|
||
.studio-app .studio-editor-context {
|
||
grid-column: 1 / -1;
|
||
display: flex;
|
||
min-width: 0;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
gap: 12px 28px;
|
||
margin: 0;
|
||
padding: 14px 0 0;
|
||
border: 0;
|
||
border-top: 1px solid var(--line);
|
||
}
|
||
|
||
.studio-app .studio-editor-context__location {
|
||
display: flex;
|
||
min-width: 0;
|
||
align-items: baseline;
|
||
gap: 14px;
|
||
}
|
||
|
||
.studio-app .studio-editor-context__label {
|
||
flex: 0 0 auto;
|
||
color: var(--faint);
|
||
font-family: "IBM Plex Mono", monospace;
|
||
font-size: 10px;
|
||
font-weight: 650;
|
||
letter-spacing: 0.08em;
|
||
text-transform: uppercase;
|
||
}
|
||
|
||
.studio-app .studio-editor-context dl {
|
||
display: flex;
|
||
min-width: 0;
|
||
flex-wrap: wrap;
|
||
align-items: baseline;
|
||
gap: 7px 10px;
|
||
margin: 0;
|
||
}
|
||
|
||
.studio-app .studio-editor-context dl > div {
|
||
display: inline-flex;
|
||
min-width: 0;
|
||
align-items: baseline;
|
||
gap: 6px;
|
||
}
|
||
|
||
.studio-app .studio-editor-context dt {
|
||
color: var(--faint);
|
||
font-size: 10px;
|
||
font-weight: 600;
|
||
}
|
||
|
||
.studio-app .studio-editor-context dd {
|
||
min-width: 0;
|
||
margin: 0;
|
||
color: var(--ink-soft);
|
||
font-size: 12px;
|
||
font-weight: 630;
|
||
overflow-wrap: anywhere;
|
||
}
|
||
|
||
.studio-app .studio-editor-context__separator {
|
||
color: var(--line-strong);
|
||
font-size: 11px;
|
||
}
|
||
|
||
.studio-app .studio-editor-context__relations {
|
||
position: relative;
|
||
flex: 0 0 auto;
|
||
}
|
||
|
||
.studio-app .studio-editor-context__relations > summary,
|
||
.studio-app .studio-editor-context__empty {
|
||
color: var(--muted);
|
||
font-size: 11px;
|
||
font-weight: 600;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.studio-app .studio-editor-context__relations > summary {
|
||
cursor: pointer;
|
||
}
|
||
|
||
.studio-app .studio-editor-context__relations ul {
|
||
position: absolute;
|
||
z-index: 8;
|
||
top: calc(100% + 10px);
|
||
right: 0;
|
||
width: min(420px, 78vw);
|
||
margin: 0;
|
||
padding: 10px 16px;
|
||
border: 1px solid var(--line-strong);
|
||
border-radius: 6px;
|
||
background: var(--paper);
|
||
box-shadow: 0 14px 34px var(--techlog-palette-46c72c32);
|
||
list-style: none;
|
||
}
|
||
|
||
.studio-app .studio-editor-context__relations ul li {
|
||
display: grid;
|
||
grid-template-columns: 80px minmax(0, 1fr);
|
||
gap: 10px;
|
||
padding: 8px 0;
|
||
border-bottom: 1px solid var(--line);
|
||
}
|
||
|
||
.studio-app .studio-editor-context__relations ul li:last-child {
|
||
border-bottom: 0;
|
||
}
|
||
|
||
.studio-app .studio-editor-context__relations ul span {
|
||
color: var(--faint);
|
||
font-size: 11px;
|
||
}
|
||
|
||
.studio-app .studio-editor-context__relations ul strong {
|
||
color: var(--ink-soft);
|
||
font-size: 12px;
|
||
font-weight: 580;
|
||
line-height: 1.5;
|
||
}
|
||
|
||
.studio-app .studio-editor-workspace {
|
||
padding-bottom: 42px;
|
||
}
|
||
|
||
.studio-app .studio-editor-toc {
|
||
top: 0;
|
||
z-index: 4;
|
||
margin: 0;
|
||
padding: 15px 0 12px;
|
||
background: color-mix(in srgb, var(--paper) 95%, transparent);
|
||
backdrop-filter: blur(10px);
|
||
}
|
||
|
||
.studio-app .studio-editor-section {
|
||
padding: 42px 0;
|
||
}
|
||
|
||
.studio-app .studio-editor-section:first-of-type {
|
||
padding-top: 34px;
|
||
}
|
||
|
||
.studio-app .studio-document-status-bar {
|
||
margin-top: 0;
|
||
}
|
||
|
||
@media (max-width: 767px) {
|
||
.studio-app:has(.studio-editor-page) .studio-main,
|
||
.studio-app:has(.studio-editor-page) .studio-header-inner {
|
||
width: min(100% - 28px, 1480px);
|
||
}
|
||
|
||
.studio-app:has(.studio-editor-page) .studio-main {
|
||
padding-top: 18px;
|
||
}
|
||
|
||
.studio-app .studio-editor-commandbar {
|
||
grid-template-columns: minmax(0, 1fr);
|
||
gap: 16px;
|
||
}
|
||
|
||
.studio-app .studio-editor-context {
|
||
align-items: flex-start;
|
||
flex-direction: column;
|
||
}
|
||
|
||
.studio-app .studio-editor-context__location {
|
||
align-items: flex-start;
|
||
flex-direction: column;
|
||
gap: 7px;
|
||
}
|
||
|
||
.studio-app .studio-editor-context dl {
|
||
gap: 6px 8px;
|
||
}
|
||
|
||
.studio-app .studio-editor-context__separator {
|
||
display: none;
|
||
}
|
||
}
|
||
|
||
/* --------------------------------------------------------------------------
|
||
Studio writing surface v3
|
||
|
||
The default editor is a document, not a settings form. Title + dek are
|
||
edited in-place; classification lives in compact properties; relations are
|
||
progressive disclosure. The record-specific fields below use one calm
|
||
writing column instead of a dashboard grid.
|
||
-------------------------------------------------------------------------- */
|
||
|
||
.studio-app:has(.studio-editor-page[data-preview="hidden"]) .studio-main,
|
||
.studio-app:has(.studio-editor-page[data-preview="hidden"]) .studio-header-inner {
|
||
width: min(1120px, calc(100% - 48px));
|
||
}
|
||
|
||
.studio-app .studio-editor-page[data-preview="hidden"] {
|
||
max-width: 1120px;
|
||
}
|
||
|
||
.studio-app .studio-editor-commandbar {
|
||
position: sticky;
|
||
top: 0;
|
||
z-index: 7;
|
||
min-height: 48px;
|
||
align-items: center;
|
||
padding: 7px 0;
|
||
border-bottom: 1px solid color-mix(in srgb, var(--line) 82%, transparent);
|
||
background: color-mix(in srgb, var(--paper) 94%, transparent);
|
||
backdrop-filter: blur(14px);
|
||
}
|
||
|
||
.studio-app .studio-editor-commandbar__identity {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 7px;
|
||
color: var(--faint);
|
||
font-family: "IBM Plex Mono", monospace;
|
||
font-size: 10px;
|
||
font-weight: 650;
|
||
letter-spacing: 0.055em;
|
||
text-transform: uppercase;
|
||
}
|
||
|
||
.studio-app .studio-editor-commandbar__identity i {
|
||
font-style: normal;
|
||
color: var(--line-strong);
|
||
}
|
||
|
||
.studio-app .studio-editor-workspace {
|
||
padding-top: 34px;
|
||
}
|
||
|
||
/* The title area behaves like the public document header, but remains editable. */
|
||
.studio-app .studio-document-lead {
|
||
padding: 18px 0 32px;
|
||
}
|
||
|
||
.studio-app .studio-document-kicker {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 7px;
|
||
align-items: center;
|
||
margin-bottom: 14px;
|
||
color: var(--faint);
|
||
font-family: "IBM Plex Mono", monospace;
|
||
font-size: 10px;
|
||
font-weight: 650;
|
||
letter-spacing: 0.045em;
|
||
text-transform: uppercase;
|
||
}
|
||
|
||
.studio-app .studio-document-kicker i {
|
||
color: var(--line-strong);
|
||
font-style: normal;
|
||
}
|
||
|
||
.studio-app .studio-document-title-field,
|
||
.studio-app .studio-document-summary-field {
|
||
display: block;
|
||
margin: 0;
|
||
}
|
||
|
||
.studio-app .studio-document-title-field > input {
|
||
width: 100%;
|
||
min-height: 0;
|
||
padding: 0;
|
||
border: 0;
|
||
border-radius: 0;
|
||
outline: 0;
|
||
background: transparent;
|
||
color: var(--ink);
|
||
font-family: inherit;
|
||
font-size: clamp(38px, 5.2vw, 58px);
|
||
font-weight: 760;
|
||
line-height: 1.08;
|
||
letter-spacing: -0.05em;
|
||
}
|
||
|
||
.studio-app .studio-document-title-field > input::placeholder {
|
||
color: color-mix(in srgb, var(--faint) 58%, transparent);
|
||
}
|
||
|
||
.studio-app .studio-document-title-field > input:focus-visible {
|
||
box-shadow: none;
|
||
}
|
||
|
||
.studio-app .studio-document-summary-field {
|
||
margin-top: 18px;
|
||
}
|
||
|
||
.studio-app .studio-document-summary-field > textarea {
|
||
width: 100%;
|
||
min-height: 58px;
|
||
max-height: 220px;
|
||
padding: 0;
|
||
border: 0;
|
||
border-radius: 0;
|
||
outline: 0;
|
||
background: transparent;
|
||
color: var(--ink-soft);
|
||
font-family: inherit;
|
||
font-size: 18px;
|
||
font-weight: 430;
|
||
line-height: 1.7;
|
||
letter-spacing: -0.012em;
|
||
field-sizing: content;
|
||
resize: none;
|
||
}
|
||
|
||
.studio-app .studio-document-summary-field > textarea::placeholder {
|
||
color: var(--faint);
|
||
}
|
||
|
||
.studio-app .studio-document-summary-meta {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
gap: 8px 20px;
|
||
margin-top: 7px;
|
||
color: var(--faint);
|
||
font-size: 11px;
|
||
}
|
||
|
||
.studio-app .studio-document-summary-meta .studio-char-count {
|
||
margin: 0;
|
||
}
|
||
|
||
/* Notion-like properties: quiet rows that reveal controls only as needed. */
|
||
.studio-app .studio-document-properties,
|
||
.studio-app .studio-document-relations {
|
||
margin-top: 26px;
|
||
border-top: 1px solid var(--line);
|
||
border-bottom: 1px solid var(--line);
|
||
}
|
||
|
||
.studio-app .studio-document-relations {
|
||
margin-top: 10px;
|
||
}
|
||
|
||
.studio-app .studio-document-properties > summary,
|
||
.studio-app .studio-document-relations > summary {
|
||
display: grid;
|
||
grid-template-columns: 90px minmax(0, 1fr) auto;
|
||
gap: 14px;
|
||
align-items: center;
|
||
min-height: 42px;
|
||
padding: 7px 2px;
|
||
cursor: pointer;
|
||
list-style: none;
|
||
}
|
||
|
||
.studio-app .studio-document-properties > summary::-webkit-details-marker,
|
||
.studio-app .studio-document-relations > summary::-webkit-details-marker {
|
||
display: none;
|
||
}
|
||
|
||
.studio-app .studio-document-properties > summary:hover,
|
||
.studio-app .studio-document-relations > summary:hover {
|
||
background: color-mix(in srgb, var(--canvas) 68%, transparent);
|
||
}
|
||
|
||
.studio-app .studio-document-properties__title,
|
||
.studio-app .studio-document-relations > summary > span:first-child {
|
||
color: var(--muted);
|
||
font-size: 12px;
|
||
font-weight: 650;
|
||
}
|
||
|
||
.studio-app .studio-document-properties__summary,
|
||
.studio-app .studio-document-relations > summary > span:nth-child(2) {
|
||
min-width: 0;
|
||
color: var(--ink-soft);
|
||
font-size: 13px;
|
||
line-height: 1.45;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.studio-app .studio-document-properties__toggle {
|
||
color: var(--faint);
|
||
font-size: 11px;
|
||
}
|
||
|
||
.studio-app .studio-document-properties:not([open]) .studio-document-properties__toggle::before {
|
||
content: "펼치기";
|
||
font-size: 0;
|
||
}
|
||
|
||
.studio-app .studio-document-properties:not([open]) .studio-document-properties__toggle {
|
||
font-size: 0;
|
||
}
|
||
|
||
.studio-app .studio-document-properties:not([open]) .studio-document-properties__toggle::after {
|
||
content: "펼치기";
|
||
font-size: 11px;
|
||
}
|
||
|
||
.studio-app .studio-property-list {
|
||
padding: 4px 0 10px;
|
||
}
|
||
|
||
.studio-app .studio-property-row {
|
||
display: grid;
|
||
grid-template-columns: 132px minmax(0, 1fr);
|
||
gap: 3px 16px;
|
||
align-items: center;
|
||
min-height: 46px;
|
||
padding: 5px 8px 5px 2px;
|
||
border-radius: 5px;
|
||
color: inherit;
|
||
}
|
||
|
||
.studio-app .studio-property-row:hover {
|
||
background: color-mix(in srgb, var(--canvas) 70%, transparent);
|
||
}
|
||
|
||
.studio-app .studio-property-name {
|
||
color: var(--muted);
|
||
font-size: 12px;
|
||
font-weight: 580;
|
||
}
|
||
|
||
.studio-app .studio-property-control {
|
||
display: flex;
|
||
min-width: 0;
|
||
align-items: center;
|
||
}
|
||
|
||
.studio-app .studio-property-control > select,
|
||
.studio-app .studio-property-control > input,
|
||
.studio-app .studio-property-row > select,
|
||
.studio-app .studio-property-row > input {
|
||
width: min(100%, 520px);
|
||
min-height: 34px;
|
||
padding: 5px 30px 5px 9px;
|
||
border: 1px solid transparent;
|
||
border-radius: 5px;
|
||
background-color: transparent;
|
||
color: var(--ink);
|
||
font: inherit;
|
||
font-size: 13px;
|
||
font-weight: 540;
|
||
}
|
||
|
||
.studio-app .studio-property-row:hover select,
|
||
.studio-app .studio-property-row:hover input,
|
||
.studio-app .studio-property-row select:focus,
|
||
.studio-app .studio-property-row input:focus {
|
||
border-color: var(--line);
|
||
background: var(--paper);
|
||
outline: 0;
|
||
}
|
||
|
||
.studio-app .studio-property-control--slug {
|
||
gap: 1px;
|
||
width: min(100%, 560px);
|
||
padding-left: 8px;
|
||
color: var(--faint);
|
||
border-radius: 5px;
|
||
}
|
||
|
||
.studio-app .studio-property-control--slug > input {
|
||
flex: 1;
|
||
padding-left: 2px;
|
||
}
|
||
|
||
.studio-app .studio-property-row > small,
|
||
.studio-app .studio-property-row > .studio-field-error,
|
||
.studio-app .studio-property-row > .studio-field-notice {
|
||
grid-column: 2;
|
||
margin: 0 0 3px;
|
||
}
|
||
|
||
.studio-app .studio-property-row > small {
|
||
color: var(--faint);
|
||
font-size: 11px;
|
||
font-weight: 450;
|
||
line-height: 1.5;
|
||
}
|
||
|
||
.studio-app .studio-property-variants {
|
||
display: grid;
|
||
grid-template-columns: 132px minmax(0, 1fr);
|
||
gap: 8px 16px;
|
||
margin: 0;
|
||
padding: 8px 8px 13px 2px;
|
||
border: 0;
|
||
}
|
||
|
||
.studio-app .studio-property-variants legend {
|
||
grid-column: 1;
|
||
grid-row: 1;
|
||
padding: 8px 0 0;
|
||
color: var(--muted);
|
||
font-size: 12px;
|
||
font-weight: 580;
|
||
}
|
||
|
||
.studio-app .studio-property-chips {
|
||
grid-column: 2;
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 6px;
|
||
}
|
||
|
||
.studio-app .studio-property-chips label {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
min-height: 30px;
|
||
padding: 4px 9px;
|
||
border: 1px solid var(--line);
|
||
border-radius: 999px;
|
||
background: transparent;
|
||
color: var(--muted);
|
||
cursor: pointer;
|
||
font-size: 12px;
|
||
font-weight: 560;
|
||
}
|
||
|
||
.studio-app .studio-property-chips label[data-selected] {
|
||
border-color: color-mix(in srgb, var(--signal) 32%, var(--line));
|
||
background: color-mix(in srgb, var(--signal-soft) 58%, transparent);
|
||
color: var(--signal);
|
||
}
|
||
|
||
.studio-app .studio-property-chips input {
|
||
position: absolute;
|
||
inline-size: 1px;
|
||
block-size: 1px;
|
||
overflow: hidden;
|
||
clip-path: inset(50%);
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.studio-app .studio-property-variants > small,
|
||
.studio-app .studio-property-variants > .studio-field-notice {
|
||
grid-column: 2;
|
||
color: var(--faint);
|
||
font-size: 11px;
|
||
}
|
||
|
||
.studio-app .studio-document-relations > summary::after {
|
||
content: "+";
|
||
justify-self: end;
|
||
color: var(--faint);
|
||
font-size: 17px;
|
||
line-height: 1;
|
||
}
|
||
|
||
.studio-app .studio-document-relations[open] > summary::after {
|
||
content: "−";
|
||
}
|
||
|
||
.studio-app .studio-document-relations__body {
|
||
padding: 10px 0 18px 148px;
|
||
}
|
||
|
||
.studio-app .studio-document-relations__body > p {
|
||
margin: 0 0 14px;
|
||
color: var(--faint);
|
||
font-size: 12px;
|
||
line-height: 1.55;
|
||
}
|
||
|
||
.studio-app .studio-document-relations__body .studio-ordered-list {
|
||
margin-top: 0;
|
||
}
|
||
|
||
/* The section navigation is utility chrome, not another document header. */
|
||
.studio-app .studio-editor-toc {
|
||
top: 46px;
|
||
margin: 0 0 8px;
|
||
padding: 9px 0;
|
||
border-bottom-color: color-mix(in srgb, var(--line) 75%, transparent);
|
||
}
|
||
|
||
.studio-app .studio-editor-toc a {
|
||
font-size: 12px;
|
||
}
|
||
|
||
/* Record-specific content is a single writing column. */
|
||
.studio-app .studio-editor-section {
|
||
padding: 42px 0 20px;
|
||
border-bottom: 0;
|
||
}
|
||
|
||
.studio-app .studio-editor-section + .studio-editor-section {
|
||
border-top: 1px solid var(--line);
|
||
}
|
||
|
||
.studio-app .studio-editor-section-heading {
|
||
margin-bottom: 26px;
|
||
}
|
||
|
||
.studio-app .studio-editor-section-heading .studio-eyebrow {
|
||
margin-bottom: 7px;
|
||
}
|
||
|
||
.studio-app .studio-editor-section-heading h2 {
|
||
font-size: 28px;
|
||
line-height: 1.22;
|
||
letter-spacing: -0.035em;
|
||
}
|
||
|
||
.studio-app .studio-field-grid {
|
||
grid-template-columns: minmax(0, 1fr);
|
||
gap: 20px;
|
||
}
|
||
|
||
.studio-app .studio-field--wide {
|
||
grid-column: auto;
|
||
}
|
||
|
||
/* Ordinary fields read like editable document blocks: no box until hover/focus. */
|
||
.studio-app .studio-editor-section .studio-field,
|
||
.studio-app .studio-editor-section .studio-ordered-item > label,
|
||
.studio-app .studio-editor-section .studio-relation-item > label {
|
||
gap: 7px;
|
||
color: var(--muted);
|
||
font-size: 12px;
|
||
}
|
||
|
||
.studio-app .studio-editor-section .studio-field > span:first-child,
|
||
.studio-app .studio-editor-section .studio-ordered-item > label > span:first-child,
|
||
.studio-app .studio-editor-section .studio-relation-item > label > span:first-child {
|
||
padding-left: 2px;
|
||
}
|
||
|
||
.studio-app .studio-editor-section .studio-field input,
|
||
.studio-app .studio-editor-section .studio-field select,
|
||
.studio-app .studio-editor-section .studio-field textarea,
|
||
.studio-app .studio-editor-section .studio-ordered-item input,
|
||
.studio-app .studio-editor-section .studio-ordered-item textarea,
|
||
.studio-app .studio-editor-section .studio-relation-item input,
|
||
.studio-app .studio-editor-section .studio-relation-item select,
|
||
.studio-app .studio-editor-section .studio-relation-reason textarea {
|
||
border-color: transparent;
|
||
border-radius: 6px;
|
||
background: color-mix(in srgb, var(--canvas) 55%, transparent);
|
||
transition: border-color 120ms ease, background-color 120ms ease, box-shadow 120ms ease;
|
||
}
|
||
|
||
.studio-app .studio-editor-section .studio-field input:hover,
|
||
.studio-app .studio-editor-section .studio-field select:hover,
|
||
.studio-app .studio-editor-section .studio-field textarea:hover,
|
||
.studio-app .studio-editor-section .studio-ordered-item input:hover,
|
||
.studio-app .studio-editor-section .studio-ordered-item textarea:hover,
|
||
.studio-app .studio-editor-section .studio-relation-item input:hover,
|
||
.studio-app .studio-editor-section .studio-relation-item select:hover,
|
||
.studio-app .studio-editor-section .studio-relation-reason textarea:hover {
|
||
border-color: var(--line);
|
||
}
|
||
|
||
.studio-app .studio-editor-section .studio-field input:focus,
|
||
.studio-app .studio-editor-section .studio-field select:focus,
|
||
.studio-app .studio-editor-section .studio-field textarea:focus,
|
||
.studio-app .studio-editor-section .studio-ordered-item input:focus,
|
||
.studio-app .studio-editor-section .studio-ordered-item textarea:focus,
|
||
.studio-app .studio-editor-section .studio-relation-item input:focus,
|
||
.studio-app .studio-editor-section .studio-relation-item select:focus,
|
||
.studio-app .studio-editor-section .studio-relation-reason textarea:focus {
|
||
border-color: color-mix(in srgb, var(--signal) 34%, var(--line));
|
||
background: var(--paper);
|
||
outline: 0;
|
||
box-shadow: 0 0 0 3px color-mix(in srgb, var(--signal-soft) 45%, transparent);
|
||
}
|
||
|
||
.studio-app .studio-editor-section .studio-field textarea,
|
||
.studio-app .studio-editor-section .studio-ordered-item textarea {
|
||
min-height: 96px;
|
||
padding: 13px 14px;
|
||
font-size: 15px;
|
||
line-height: 1.72;
|
||
}
|
||
|
||
.studio-app .studio-editor-section .studio-field .studio-markdown-field {
|
||
min-height: 560px;
|
||
padding: 20px 18px;
|
||
border: 1px solid var(--line);
|
||
background: var(--paper);
|
||
font-family: inherit;
|
||
font-size: 16px;
|
||
font-weight: 430;
|
||
line-height: 1.85;
|
||
letter-spacing: -0.006em;
|
||
}
|
||
|
||
.studio-app .studio-markdown-toolbar {
|
||
position: sticky;
|
||
top: 94px;
|
||
z-index: 2;
|
||
width: fit-content;
|
||
margin: 0 0 8px;
|
||
padding: 4px;
|
||
border: 1px solid var(--line);
|
||
border-radius: 7px;
|
||
background: color-mix(in srgb, var(--paper) 94%, transparent);
|
||
backdrop-filter: blur(10px);
|
||
}
|
||
|
||
.studio-app .studio-markdown-toolbar button {
|
||
min-height: 30px;
|
||
padding-inline: 10px;
|
||
border-color: transparent;
|
||
background: transparent;
|
||
}
|
||
|
||
.studio-app .studio-markdown-toolbar button:hover {
|
||
border-color: var(--line);
|
||
background: var(--canvas);
|
||
color: var(--ink);
|
||
}
|
||
|
||
/* Repeated items resemble reorderable document blocks, not nested forms. */
|
||
.studio-app .studio-ordered-list {
|
||
margin-top: 30px;
|
||
}
|
||
|
||
.studio-app .studio-ordered-item,
|
||
.studio-app .studio-relation-item {
|
||
position: relative;
|
||
gap: 10px;
|
||
margin: 0 -12px;
|
||
padding: 18px 12px;
|
||
border-top: 1px solid var(--line);
|
||
border-radius: 6px;
|
||
}
|
||
|
||
.studio-app .studio-ordered-item:hover,
|
||
.studio-app .studio-relation-item:hover {
|
||
background: color-mix(in srgb, var(--canvas) 54%, transparent);
|
||
}
|
||
|
||
.studio-app .studio-item-actions {
|
||
gap: 12px;
|
||
}
|
||
|
||
.studio-app .studio-item-actions button,
|
||
.studio-app .studio-add-item {
|
||
min-height: 30px;
|
||
color: var(--faint);
|
||
font-size: 12px;
|
||
}
|
||
|
||
.studio-app .studio-add-item::before {
|
||
content: "+ ";
|
||
}
|
||
|
||
.studio-app .studio-item-actions button:hover,
|
||
.studio-app .studio-add-item:hover {
|
||
color: var(--ink);
|
||
text-decoration: underline;
|
||
text-underline-offset: 3px;
|
||
}
|
||
|
||
/* Keep status actions available without making the writing surface feel boxed. */
|
||
.studio-app .studio-document-status-bar {
|
||
margin-top: 44px;
|
||
padding: 12px 0;
|
||
box-shadow: 0 -10px 22px var(--techlog-palette-76180e86);
|
||
}
|
||
|
||
@media (max-width: 900px) {
|
||
.studio-app .studio-document-properties > summary,
|
||
.studio-app .studio-document-relations > summary {
|
||
grid-template-columns: 82px minmax(0, 1fr) auto;
|
||
}
|
||
|
||
.studio-app .studio-property-row,
|
||
.studio-app .studio-property-variants {
|
||
grid-template-columns: 112px minmax(0, 1fr);
|
||
}
|
||
|
||
.studio-app .studio-document-relations__body {
|
||
padding-left: 128px;
|
||
}
|
||
}
|
||
|
||
@media (max-width: 640px) {
|
||
.studio-app:has(.studio-editor-page[data-preview="hidden"]) .studio-main,
|
||
.studio-app:has(.studio-editor-page[data-preview="hidden"]) .studio-header-inner {
|
||
width: min(100% - 28px, 1120px);
|
||
}
|
||
|
||
.studio-app .studio-editor-workspace {
|
||
padding-top: 22px;
|
||
}
|
||
|
||
.studio-app .studio-document-lead {
|
||
padding-top: 10px;
|
||
}
|
||
|
||
.studio-app .studio-document-title-field > input {
|
||
font-size: clamp(34px, 11vw, 44px);
|
||
}
|
||
|
||
.studio-app .studio-document-summary-field > textarea {
|
||
font-size: 16px;
|
||
}
|
||
|
||
.studio-app .studio-document-properties > summary,
|
||
.studio-app .studio-document-relations > summary {
|
||
grid-template-columns: minmax(0, 1fr) auto;
|
||
gap: 8px;
|
||
}
|
||
|
||
.studio-app .studio-document-properties__summary,
|
||
.studio-app .studio-document-relations > summary > span:nth-child(2) {
|
||
grid-column: 1 / -1;
|
||
grid-row: 2;
|
||
white-space: normal;
|
||
}
|
||
|
||
.studio-app .studio-document-properties__toggle,
|
||
.studio-app .studio-document-relations > summary::after {
|
||
grid-column: 2;
|
||
grid-row: 1;
|
||
}
|
||
|
||
.studio-app .studio-property-row,
|
||
.studio-app .studio-property-variants {
|
||
grid-template-columns: minmax(0, 1fr);
|
||
gap: 5px;
|
||
padding-block: 9px;
|
||
}
|
||
|
||
.studio-app .studio-property-variants legend,
|
||
.studio-app .studio-property-chips,
|
||
.studio-app .studio-property-variants > small,
|
||
.studio-app .studio-property-variants > .studio-field-notice,
|
||
.studio-app .studio-property-row > small,
|
||
.studio-app .studio-property-row > .studio-field-error,
|
||
.studio-app .studio-property-row > .studio-field-notice {
|
||
grid-column: 1;
|
||
}
|
||
|
||
.studio-app .studio-document-relations__body {
|
||
padding: 10px 0 18px;
|
||
}
|
||
|
||
.studio-app .studio-editor-toc {
|
||
top: 45px;
|
||
overflow-x: auto;
|
||
}
|
||
|
||
.studio-app .studio-editor-toc ul {
|
||
width: max-content;
|
||
flex-wrap: nowrap;
|
||
}
|
||
|
||
.studio-app .studio-editor-section-heading h2 {
|
||
font-size: 24px;
|
||
}
|
||
|
||
.studio-app .studio-editor-section .studio-field .studio-markdown-field {
|
||
min-height: 460px;
|
||
padding-inline: 12px;
|
||
}
|
||
}
|
||
|
||
.studio-app .studio-document-title-heading {
|
||
margin: 0;
|
||
font: inherit;
|
||
}
|
||
|
||
/* Searchable Project/Topic property picker. */
|
||
.studio-app .studio-catalog-property-picker {
|
||
position: relative;
|
||
width: min(100%, 540px);
|
||
}
|
||
|
||
.studio-app .studio-catalog-property-picker > summary {
|
||
display: flex;
|
||
width: 100%;
|
||
min-height: 34px;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
gap: 10px;
|
||
padding: 5px 8px;
|
||
border: 1px solid transparent;
|
||
border-radius: 5px;
|
||
color: var(--ink);
|
||
cursor: pointer;
|
||
font-size: 13px;
|
||
font-weight: 540;
|
||
list-style: none;
|
||
}
|
||
|
||
.studio-app .studio-catalog-property-picker > summary::-webkit-details-marker {
|
||
display: none;
|
||
}
|
||
|
||
.studio-app .studio-property-row:hover .studio-catalog-property-picker > summary,
|
||
.studio-app .studio-catalog-property-picker[open] > summary,
|
||
.studio-app .studio-catalog-property-picker > summary:focus-visible {
|
||
border-color: var(--line);
|
||
background: var(--paper);
|
||
outline: 0;
|
||
}
|
||
|
||
.studio-app .studio-catalog-property-picker > summary span[data-empty],
|
||
.studio-app .studio-catalog-property-picker > summary span[data-missing] {
|
||
color: var(--faint);
|
||
font-weight: 480;
|
||
}
|
||
|
||
.studio-app .studio-catalog-property-picker > summary span[data-missing] {
|
||
color: var(--color-danger-border);
|
||
}
|
||
|
||
.studio-app .studio-catalog-property-picker__chevron {
|
||
flex: 0 0 auto;
|
||
color: var(--faint);
|
||
font-size: 14px;
|
||
transform: translateY(-1px);
|
||
}
|
||
|
||
.studio-app .studio-catalog-property-picker[open] .studio-catalog-property-picker__chevron {
|
||
transform: rotate(180deg) translateY(1px);
|
||
}
|
||
|
||
.studio-app .studio-catalog-property-picker__popover {
|
||
position: absolute;
|
||
z-index: 20;
|
||
top: calc(100% + 5px);
|
||
left: 0;
|
||
width: min(430px, calc(100vw - 64px));
|
||
padding: 8px;
|
||
border: 1px solid var(--line-strong);
|
||
border-radius: 8px;
|
||
background: var(--paper);
|
||
box-shadow: 0 16px 42px var(--techlog-palette-0eebab72);
|
||
}
|
||
|
||
.studio-app .studio-catalog-property-picker__search {
|
||
display: block;
|
||
padding: 2px 2px 8px;
|
||
}
|
||
|
||
.studio-app .studio-catalog-property-picker__search input {
|
||
width: 100%;
|
||
min-height: 38px;
|
||
padding: 7px 10px;
|
||
border: 1px solid var(--line);
|
||
border-radius: 6px;
|
||
background: var(--canvas);
|
||
color: var(--ink);
|
||
font: inherit;
|
||
font-size: 13px;
|
||
}
|
||
|
||
.studio-app .studio-catalog-property-picker__search input:focus {
|
||
border-color: color-mix(in srgb, var(--signal) 35%, var(--line));
|
||
outline: 0;
|
||
background: var(--paper);
|
||
}
|
||
|
||
.studio-app .studio-catalog-property-picker__options {
|
||
display: grid;
|
||
max-height: 280px;
|
||
overflow-y: auto;
|
||
gap: 2px;
|
||
scrollbar-width: thin;
|
||
}
|
||
|
||
.studio-app .studio-catalog-property-picker__options button {
|
||
display: grid;
|
||
grid-template-columns: minmax(0, 1fr) auto;
|
||
gap: 12px;
|
||
align-items: center;
|
||
min-height: 38px;
|
||
padding: 7px 9px;
|
||
border: 0;
|
||
border-radius: 5px;
|
||
background: transparent;
|
||
color: var(--ink-soft);
|
||
cursor: pointer;
|
||
font: inherit;
|
||
font-size: 13px;
|
||
text-align: left;
|
||
}
|
||
|
||
.studio-app .studio-catalog-property-picker__options button:hover,
|
||
.studio-app .studio-catalog-property-picker__options button:focus-visible {
|
||
background: var(--canvas);
|
||
color: var(--ink);
|
||
outline: 0;
|
||
}
|
||
|
||
.studio-app .studio-catalog-property-picker__options button[aria-selected="true"] {
|
||
color: var(--signal);
|
||
font-weight: 620;
|
||
}
|
||
|
||
.studio-app .studio-catalog-property-picker__options button strong {
|
||
font-size: 12px;
|
||
font-weight: 700;
|
||
}
|
||
|
||
.studio-app .studio-catalog-property-picker__options > p {
|
||
margin: 0;
|
||
padding: 12px 10px;
|
||
color: var(--faint);
|
||
font-size: 12px;
|
||
}
|
||
|
||
/* ==========================================================================
|
||
V4 — single-surface authoring
|
||
|
||
The editor is no longer a source/preview tool. What the author sees is the
|
||
document surface itself: title, properties, semantic record blocks and a
|
||
block-based body editor in one reading-width column.
|
||
========================================================================== */
|
||
.studio-app:has(.studio-editor-page--single-surface) .studio-main,
|
||
.studio-app:has(.studio-editor-page--single-surface) .studio-header-inner {
|
||
width: min(1180px, calc(100% - 48px));
|
||
}
|
||
|
||
.studio-app:has(.studio-editor-page--single-surface) .studio-main {
|
||
padding-block: 18px 110px;
|
||
}
|
||
|
||
.studio-app .studio-editor-page--single-surface {
|
||
width: 100%;
|
||
max-width: 1180px;
|
||
margin-inline: auto;
|
||
}
|
||
|
||
.studio-app .studio-editor-page--single-surface .studio-editor-commandbar {
|
||
position: sticky;
|
||
top: 0;
|
||
z-index: 18;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
min-height: 52px;
|
||
padding: 7px 0;
|
||
border-bottom: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
|
||
background: color-mix(in srgb, var(--paper) 94%, transparent);
|
||
backdrop-filter: blur(18px);
|
||
}
|
||
|
||
.studio-app .studio-editor-page--single-surface .studio-editor-commandbar__identity {
|
||
gap: 6px;
|
||
font-size: 10px;
|
||
}
|
||
|
||
.studio-app .studio-editor-page--single-surface .studio-document-status-bar {
|
||
position: static;
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
align-items: center;
|
||
justify-content: flex-end;
|
||
gap: 8px 13px;
|
||
width: auto;
|
||
margin: 0;
|
||
padding: 0;
|
||
border: 0;
|
||
background: transparent;
|
||
box-shadow: none;
|
||
}
|
||
|
||
.studio-app .studio-editor-page--single-surface .studio-editor-status {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 6px;
|
||
margin: 0;
|
||
color: var(--faint);
|
||
font-size: 11px;
|
||
font-weight: 560;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.studio-app .studio-editor-status__dot {
|
||
width: 6px;
|
||
height: 6px;
|
||
border-radius: 999px;
|
||
background: var(--line-strong);
|
||
}
|
||
|
||
.studio-app .studio-editor-status--clean .studio-editor-status__dot { background: var(--techlog-palette-39e1c458); }
|
||
.studio-app .studio-editor-status--dirty .studio-editor-status__dot { background: var(--techlog-palette-5d1267c4); }
|
||
.studio-app .studio-editor-status--saving .studio-editor-status__dot { background: var(--signal); }
|
||
.studio-app .studio-editor-status--conflict .studio-editor-status__dot { background: var(--color-danger-border); }
|
||
|
||
.studio-app .studio-editor-page--single-surface .studio-document-status-bar__actions {
|
||
display: flex;
|
||
gap: 7px;
|
||
}
|
||
|
||
.studio-app .studio-editor-page--single-surface .studio-document-status-bar__actions button {
|
||
min-height: 32px;
|
||
padding: 5px 11px;
|
||
border: 0;
|
||
border-radius: 5px;
|
||
background: transparent;
|
||
color: var(--muted);
|
||
font-size: 12px;
|
||
font-weight: 620;
|
||
}
|
||
|
||
.studio-app .studio-editor-page--single-surface .studio-document-status-bar__actions button:hover:not(:disabled) {
|
||
background: var(--canvas);
|
||
color: var(--ink);
|
||
}
|
||
|
||
.studio-app .studio-editor-page--single-surface .studio-document-status-bar__actions .studio-primary-button {
|
||
padding-inline: 14px;
|
||
background: var(--ink);
|
||
color: var(--paper);
|
||
}
|
||
|
||
.studio-app .studio-editor-page--single-surface .studio-document-status-bar__actions .studio-primary-button:hover:not(:disabled) {
|
||
background: var(--signal);
|
||
color: var(--color-content-inverse);
|
||
}
|
||
|
||
.studio-app .studio-editor-command-error {
|
||
flex-basis: 100%;
|
||
margin: 0;
|
||
color: var(--color-danger-border);
|
||
font-size: 11px;
|
||
text-align: right;
|
||
}
|
||
|
||
.studio-app .studio-editor-command-issues {
|
||
position: relative;
|
||
color: var(--muted);
|
||
font-size: 11px;
|
||
}
|
||
|
||
.studio-app .studio-editor-command-issues > summary { cursor: pointer; }
|
||
.studio-app .studio-editor-command-issues ul {
|
||
position: absolute;
|
||
z-index: 30;
|
||
top: calc(100% + 8px);
|
||
right: 0;
|
||
width: min(420px, calc(100vw - 40px));
|
||
margin: 0;
|
||
padding: 12px 14px;
|
||
border: 1px solid var(--line);
|
||
border-radius: 7px;
|
||
background: var(--paper);
|
||
box-shadow: 0 18px 44px var(--techlog-palette-0eebab72);
|
||
list-style: none;
|
||
}
|
||
|
||
.studio-app .studio-document-canvas {
|
||
width: min(100%, 860px);
|
||
margin-inline: auto;
|
||
padding-top: 42px;
|
||
}
|
||
|
||
.studio-app .studio-editor-page--single-surface .studio-document-lead {
|
||
padding-top: 0;
|
||
padding-bottom: 34px;
|
||
}
|
||
|
||
.studio-app .studio-editor-page--single-surface .studio-document-title-field > input {
|
||
font-size: clamp(40px, 5vw, 60px);
|
||
line-height: 1.06;
|
||
}
|
||
|
||
.studio-app .studio-editor-page--single-surface .studio-document-summary-field > textarea {
|
||
max-height: none;
|
||
font-size: 19px;
|
||
line-height: 1.72;
|
||
}
|
||
|
||
.studio-app .studio-editor-page--single-surface .studio-document-summary-meta {
|
||
opacity: 0;
|
||
transition: opacity 120ms ease;
|
||
}
|
||
|
||
.studio-app .studio-editor-page--single-surface .studio-document-summary-field:focus-within .studio-document-summary-meta,
|
||
.studio-app .studio-editor-page--single-surface .studio-document-summary-field:hover .studio-document-summary-meta {
|
||
opacity: 1;
|
||
}
|
||
|
||
/* Properties remain visible as document metadata, never as a settings form. */
|
||
.studio-app .studio-editor-page--single-surface .studio-document-properties,
|
||
.studio-app .studio-editor-page--single-surface .studio-document-relations,
|
||
.studio-app .studio-detail-properties {
|
||
border-color: color-mix(in srgb, var(--line) 72%, transparent);
|
||
}
|
||
|
||
.studio-app .studio-editor-page--single-surface .studio-property-row {
|
||
min-height: 40px;
|
||
padding-block: 2px;
|
||
}
|
||
|
||
.studio-app .studio-editor-page--single-surface .studio-property-control > input,
|
||
.studio-app .studio-editor-page--single-surface .studio-property-row > input,
|
||
.studio-app .studio-editor-page--single-surface .studio-property-row > textarea {
|
||
border: 0;
|
||
background: transparent;
|
||
box-shadow: none;
|
||
}
|
||
|
||
.studio-app .studio-editor-section.studio-record-authoring {
|
||
padding: 54px 0 0;
|
||
border-top: 1px solid var(--line);
|
||
}
|
||
|
||
.studio-app .studio-editor-section.studio-record-authoring + .studio-editor-section.studio-record-authoring {
|
||
border-top: 1px solid var(--line);
|
||
}
|
||
|
||
.studio-app .studio-record-authoring .studio-editor-section-heading {
|
||
margin-bottom: 34px;
|
||
}
|
||
|
||
.studio-app .studio-record-authoring .studio-editor-section-heading h2 {
|
||
margin-bottom: 8px;
|
||
font-size: 30px;
|
||
}
|
||
|
||
.studio-app .studio-record-authoring .studio-editor-section-heading > p:last-child:not(.studio-eyebrow) {
|
||
max-width: 680px;
|
||
margin: 0;
|
||
color: var(--muted);
|
||
font-size: 14px;
|
||
line-height: 1.65;
|
||
}
|
||
|
||
/* Semantic blocks are part of the document, not form cards. */
|
||
.studio-app .studio-semantic-blocks {
|
||
display: grid;
|
||
gap: 6px;
|
||
margin-bottom: 28px;
|
||
}
|
||
|
||
.studio-app .studio-document-block {
|
||
position: relative;
|
||
display: block;
|
||
margin: 0 -14px;
|
||
padding: 18px 14px 20px 34px;
|
||
border-radius: 7px;
|
||
color: inherit;
|
||
}
|
||
|
||
.studio-app .studio-document-block::before {
|
||
content: "";
|
||
position: absolute;
|
||
top: 20px;
|
||
left: 14px;
|
||
width: 5px;
|
||
height: 5px;
|
||
border-radius: 999px;
|
||
background: var(--line-strong);
|
||
}
|
||
|
||
.studio-app .studio-document-block[data-tone="problem"]::before,
|
||
.studio-app .studio-document-block[data-tone="unknown"]::before { background: var(--techlog-palette-62094b78); }
|
||
.studio-app .studio-document-block[data-tone="conclusion"]::before,
|
||
.studio-app .studio-document-block[data-tone="decision"]::before { background: var(--techlog-palette-09861f82); }
|
||
.studio-app .studio-document-block[data-tone="next"]::before { background: var(--signal); }
|
||
.studio-app .studio-document-block[data-tone="purpose"]::before,
|
||
.studio-app .studio-document-block[data-tone="rationale"]::before { background: var(--techlog-palette-c286b443); }
|
||
|
||
.studio-app .studio-document-block:hover,
|
||
.studio-app .studio-document-block:focus-within {
|
||
background: color-mix(in srgb, var(--canvas) 64%, transparent);
|
||
}
|
||
|
||
.studio-app .studio-document-block__label {
|
||
display: block;
|
||
margin-bottom: 8px;
|
||
color: var(--muted);
|
||
font-size: 12px;
|
||
font-weight: 650;
|
||
}
|
||
|
||
.studio-app .studio-document-block textarea,
|
||
.studio-app .studio-record-authoring .studio-inline-property input,
|
||
.studio-app .studio-detail-properties textarea,
|
||
.studio-app .studio-detail-properties input,
|
||
.studio-app .studio-rule-block input,
|
||
.studio-app .studio-rule-block textarea,
|
||
.studio-app .studio-option-block input,
|
||
.studio-app .studio-option-block textarea,
|
||
.studio-app .studio-list-block textarea,
|
||
.studio-app .studio-resolution-block textarea,
|
||
.studio-app .studio-resolution-block input {
|
||
width: 100%;
|
||
min-height: 0;
|
||
padding: 0;
|
||
border: 0;
|
||
border-radius: 0;
|
||
background: transparent;
|
||
color: var(--ink);
|
||
font-family: inherit;
|
||
outline: 0;
|
||
box-shadow: none;
|
||
resize: none;
|
||
field-sizing: content;
|
||
}
|
||
|
||
.studio-app .studio-document-block textarea {
|
||
min-height: 54px;
|
||
font-size: 17px;
|
||
line-height: 1.75;
|
||
}
|
||
|
||
.studio-app .studio-document-block textarea::placeholder,
|
||
.studio-app .studio-rule-block textarea::placeholder,
|
||
.studio-app .studio-option-block textarea::placeholder,
|
||
.studio-app .studio-list-block textarea::placeholder {
|
||
color: color-mix(in srgb, var(--faint) 72%, transparent);
|
||
}
|
||
|
||
/* Secondary metadata sits behind one quiet disclosure instead of occupying the writing flow. */
|
||
.studio-app .studio-detail-properties {
|
||
margin: 22px 0 42px;
|
||
border-top: 1px solid var(--line);
|
||
border-bottom: 1px solid var(--line);
|
||
}
|
||
|
||
.studio-app .studio-detail-properties > summary {
|
||
display: grid;
|
||
grid-template-columns: 132px minmax(0, 1fr);
|
||
gap: 16px;
|
||
align-items: center;
|
||
min-height: 43px;
|
||
padding: 6px 2px;
|
||
color: var(--muted);
|
||
cursor: pointer;
|
||
font-size: 12px;
|
||
list-style: none;
|
||
}
|
||
|
||
.studio-app .studio-detail-properties > summary::-webkit-details-marker { display: none; }
|
||
.studio-app .studio-detail-properties > summary > span:first-child { font-weight: 650; }
|
||
.studio-app .studio-detail-properties > summary > span:last-child { color: var(--faint); }
|
||
.studio-app .studio-detail-properties__body { padding: 5px 0 14px; }
|
||
|
||
.studio-app .studio-property-row--writing {
|
||
align-items: start;
|
||
}
|
||
|
||
.studio-app .studio-property-row--writing > textarea {
|
||
min-height: 42px;
|
||
padding: 6px 8px;
|
||
font-size: 13px;
|
||
line-height: 1.6;
|
||
}
|
||
|
||
.studio-app .studio-inline-property {
|
||
display: grid;
|
||
grid-template-columns: 132px minmax(0, 1fr);
|
||
gap: 8px 16px;
|
||
align-items: center;
|
||
min-height: 42px;
|
||
margin: 0 0 32px;
|
||
color: var(--muted);
|
||
font-size: 12px;
|
||
}
|
||
|
||
.studio-app .studio-inline-property > span { font-weight: 620; }
|
||
.studio-app .studio-inline-property > input {
|
||
max-width: 360px;
|
||
color: var(--ink);
|
||
font-size: 13px;
|
||
}
|
||
|
||
/* Body authoring */
|
||
.studio-app .studio-body-authoring {
|
||
margin-top: 34px;
|
||
padding-top: 28px;
|
||
border-top: 1px solid var(--line);
|
||
}
|
||
|
||
.studio-app .studio-body-authoring__heading {
|
||
display: flex;
|
||
align-items: flex-start;
|
||
justify-content: space-between;
|
||
gap: 18px 28px;
|
||
margin-bottom: 18px;
|
||
}
|
||
|
||
.studio-app .studio-body-authoring__heading > div:first-child > span {
|
||
color: var(--ink);
|
||
font-size: 15px;
|
||
font-weight: 700;
|
||
}
|
||
|
||
.studio-app .studio-body-authoring__heading p {
|
||
margin: 5px 0 0;
|
||
color: var(--faint);
|
||
font-size: 12px;
|
||
line-height: 1.55;
|
||
}
|
||
|
||
.studio-app .studio-inline-asset-actions {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
align-items: center;
|
||
justify-content: flex-end;
|
||
gap: 6px;
|
||
}
|
||
|
||
.studio-app .studio-inline-asset-actions .studio-asset-slot {
|
||
gap: 7px;
|
||
}
|
||
|
||
/*
|
||
`.studio-secondary-button` 는 홀로 설 때를 위해 전역으로 `margin-top: 24px` 를 갖는다. 줄 안에서
|
||
풀어 주지 않으면 가운데 정렬이 그 여백까지 포함해 재어, 단추만 선택 상자보다 12px 아래로
|
||
내려앉는다 — 「본문에 자료 넣기 / 종류 / 업로드」 셋이 한 줄에서 서로 다른 높이에 서 있었다.
|
||
*/
|
||
.studio-app .studio-inline-asset-actions .studio-secondary-button {
|
||
margin: 0;
|
||
}
|
||
|
||
.studio-app .studio-inline-asset-actions .studio-asset-slot__count {
|
||
display: none;
|
||
}
|
||
|
||
.studio-app .studio-inline-asset-actions button,
|
||
.studio-app .studio-asset-kind-field--compact select {
|
||
min-height: 31px;
|
||
padding: 4px 9px;
|
||
border: 1px solid var(--line);
|
||
border-radius: 5px;
|
||
background: var(--paper);
|
||
color: var(--muted);
|
||
font: inherit;
|
||
font-size: 11px;
|
||
font-weight: 600;
|
||
}
|
||
|
||
.studio-app .studio-asset-kind-field--compact { display: flex; }
|
||
|
||
/* The block gutter (drag handle, block actions) sits in the page's side
|
||
margin, outside the reading column. It must not be wider than that margin
|
||
or the whole page scrolls sideways: the side margin is 38px or more from
|
||
936px up, 24px below that (single-surface .studio-main is 100% - 48px) and
|
||
14px at 760px and below (100% - 28px). See the two media rules below. */
|
||
.studio-app .studio-block-editor {
|
||
position: relative;
|
||
margin: 0 -38px;
|
||
padding: 2px 38px 24px;
|
||
}
|
||
|
||
.studio-app .studio-block-editor__blocks {
|
||
display: grid;
|
||
gap: 1px;
|
||
}
|
||
|
||
.studio-app .studio-authoring-block {
|
||
position: relative;
|
||
display: grid;
|
||
grid-template-columns: 30px minmax(0, 1fr) auto;
|
||
gap: 0 4px;
|
||
align-items: start;
|
||
min-height: 36px;
|
||
margin-inline: -30px -6px;
|
||
padding: 3px 6px 3px 0;
|
||
border-radius: 5px;
|
||
}
|
||
|
||
@media (max-width: 935px) {
|
||
.studio-app .studio-block-editor {
|
||
margin-inline: -24px;
|
||
padding-inline: 24px;
|
||
}
|
||
|
||
.studio-app .studio-authoring-block {
|
||
grid-template-columns: 20px minmax(0, 1fr) auto;
|
||
margin-inline: -24px -6px;
|
||
}
|
||
}
|
||
|
||
.studio-app .studio-authoring-block:hover,
|
||
.studio-app .studio-authoring-block[data-active] {
|
||
background: color-mix(in srgb, var(--canvas) 56%, transparent);
|
||
}
|
||
|
||
.studio-app .studio-authoring-block__gutter {
|
||
display: flex;
|
||
justify-content: center;
|
||
padding-top: 2px;
|
||
}
|
||
|
||
.studio-app .studio-block-grip {
|
||
width: 24px;
|
||
min-height: 28px;
|
||
padding: 0;
|
||
border: 0;
|
||
border-radius: 4px;
|
||
background: transparent;
|
||
color: transparent;
|
||
cursor: grab;
|
||
font-size: 12px;
|
||
letter-spacing: -4px;
|
||
}
|
||
|
||
.studio-app .studio-authoring-block:hover .studio-block-grip,
|
||
.studio-app .studio-authoring-block:focus-within .studio-block-grip {
|
||
color: var(--faint);
|
||
}
|
||
|
||
.studio-app .studio-block-grip:hover { background: var(--line); color: var(--ink-soft); }
|
||
|
||
.studio-app .studio-authoring-block__content {
|
||
min-width: 0;
|
||
}
|
||
|
||
.studio-app .studio-block-input,
|
||
.studio-app .studio-code-authoring-block textarea,
|
||
.studio-app .studio-raw-authoring-block textarea {
|
||
display: block;
|
||
width: 100%;
|
||
min-height: 31px;
|
||
padding: 3px 2px;
|
||
border: 0;
|
||
border-radius: 0;
|
||
background: transparent;
|
||
color: var(--ink);
|
||
font-family: inherit;
|
||
font-size: 16px;
|
||
line-height: 1.72;
|
||
outline: 0;
|
||
resize: none;
|
||
field-sizing: content;
|
||
}
|
||
|
||
.studio-app .studio-block-input--heading {
|
||
padding-top: 8px;
|
||
padding-bottom: 5px;
|
||
font-size: 25px;
|
||
font-weight: 720;
|
||
line-height: 1.32;
|
||
letter-spacing: -0.03em;
|
||
}
|
||
|
||
.studio-app .studio-block-input--bullet,
|
||
.studio-app .studio-block-input--numbered { padding-left: 20px; }
|
||
.studio-app .studio-block-input--quote {
|
||
padding: 8px 14px;
|
||
border-left: 2px solid var(--line-strong);
|
||
color: var(--ink-soft);
|
||
}
|
||
|
||
.studio-app .studio-code-authoring-block {
|
||
overflow: hidden;
|
||
margin-block: 7px;
|
||
border: 1px solid var(--line);
|
||
border-radius: 7px;
|
||
background: var(--techlog-palette-d7a35312);
|
||
}
|
||
|
||
.studio-app .studio-code-language {
|
||
width: 100%;
|
||
min-height: 30px;
|
||
padding: 6px 12px;
|
||
border: 0;
|
||
border-bottom: 1px solid var(--line);
|
||
background: transparent;
|
||
color: var(--faint);
|
||
font-family: "IBM Plex Mono", monospace;
|
||
font-size: 10px;
|
||
outline: 0;
|
||
}
|
||
|
||
.studio-app .studio-code-authoring-block textarea {
|
||
min-height: 90px;
|
||
padding: 13px 14px;
|
||
font-family: "IBM Plex Mono", monospace;
|
||
font-size: 13px;
|
||
line-height: 1.65;
|
||
}
|
||
|
||
.studio-app .studio-raw-authoring-block {
|
||
margin-block: 7px;
|
||
padding: 11px 13px;
|
||
border: 1px solid var(--line);
|
||
border-radius: 7px;
|
||
background: color-mix(in srgb, var(--canvas) 62%, transparent);
|
||
}
|
||
|
||
.studio-app .studio-raw-authoring-block > span {
|
||
display: block;
|
||
margin-bottom: 6px;
|
||
color: var(--faint);
|
||
font-size: 10px;
|
||
font-weight: 700;
|
||
text-transform: uppercase;
|
||
}
|
||
|
||
.studio-app .studio-raw-authoring-block textarea {
|
||
font-family: "IBM Plex Mono", monospace;
|
||
font-size: 12px;
|
||
line-height: 1.6;
|
||
}
|
||
|
||
.studio-app .studio-block-divider {
|
||
height: 1px;
|
||
margin: 17px 0 16px;
|
||
background: var(--line);
|
||
}
|
||
|
||
.studio-app .studio-authoring-block__actions {
|
||
display: flex;
|
||
gap: 1px;
|
||
padding-top: 2px;
|
||
opacity: 0;
|
||
pointer-events: none;
|
||
}
|
||
|
||
.studio-app .studio-authoring-block:hover .studio-authoring-block__actions,
|
||
.studio-app .studio-authoring-block:focus-within .studio-authoring-block__actions {
|
||
opacity: 1;
|
||
pointer-events: auto;
|
||
}
|
||
|
||
.studio-app .studio-authoring-block__actions button {
|
||
min-width: 25px;
|
||
min-height: 27px;
|
||
padding: 2px 5px;
|
||
border: 0;
|
||
border-radius: 4px;
|
||
background: transparent;
|
||
color: var(--faint);
|
||
font-size: 10px;
|
||
}
|
||
|
||
.studio-app .studio-authoring-block__actions button:hover:not(:disabled) { background: var(--line); color: var(--ink); }
|
||
|
||
.studio-app .studio-slash-menu {
|
||
position: absolute;
|
||
z-index: 16;
|
||
top: calc(100% + 3px);
|
||
left: 34px;
|
||
width: min(310px, calc(100vw - 64px));
|
||
padding: 7px;
|
||
border: 1px solid var(--line);
|
||
border-radius: 8px;
|
||
background: var(--paper);
|
||
box-shadow: 0 18px 46px var(--techlog-palette-71747aaa);
|
||
}
|
||
|
||
.studio-app .studio-slash-menu > p {
|
||
margin: 2px 6px 6px;
|
||
color: var(--faint);
|
||
font-size: 10px;
|
||
font-weight: 700;
|
||
text-transform: uppercase;
|
||
}
|
||
|
||
.studio-app .studio-slash-menu button {
|
||
display: grid;
|
||
width: 100%;
|
||
gap: 1px;
|
||
padding: 7px 8px;
|
||
border: 0;
|
||
border-radius: 5px;
|
||
background: transparent;
|
||
color: var(--ink-soft);
|
||
text-align: left;
|
||
}
|
||
|
||
.studio-app .studio-slash-menu button:hover { background: var(--canvas); color: var(--ink); }
|
||
.studio-app .studio-slash-menu button strong { font-size: 12px; }
|
||
.studio-app .studio-slash-menu button span { color: var(--faint); font-size: 10px; }
|
||
|
||
.studio-app .studio-block-add {
|
||
margin: 8px 0 0 29px;
|
||
padding: 4px 6px;
|
||
border: 0;
|
||
background: transparent;
|
||
color: var(--faint);
|
||
font-size: 12px;
|
||
opacity: 0;
|
||
}
|
||
|
||
.studio-app .studio-block-editor:hover .studio-block-add,
|
||
.studio-app .studio-block-add:focus-visible { opacity: 1; }
|
||
.studio-app .studio-block-add:hover { color: var(--ink); }
|
||
|
||
.studio-app .studio-block-editor__hint {
|
||
margin: 9px 0 0 36px;
|
||
color: var(--faint);
|
||
font-size: 10px;
|
||
}
|
||
|
||
.studio-app .studio-block-editor__hint kbd {
|
||
padding: 1px 4px;
|
||
border: 1px solid var(--line);
|
||
border-radius: 3px;
|
||
background: var(--canvas);
|
||
font-family: "IBM Plex Mono", monospace;
|
||
}
|
||
|
||
/* Structured record collections use the same block grammar. */
|
||
.studio-app .studio-block-collection,
|
||
.studio-app .studio-rule-blocks,
|
||
.studio-app .studio-option-blocks {
|
||
margin: 38px 0 0;
|
||
padding: 0;
|
||
border: 0;
|
||
}
|
||
|
||
.studio-app .studio-block-collection > legend,
|
||
.studio-app .studio-rule-blocks > legend,
|
||
.studio-app .studio-option-blocks > legend {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 9px;
|
||
width: 100%;
|
||
margin: 0 0 9px;
|
||
padding: 0;
|
||
color: var(--ink);
|
||
font-size: 15px;
|
||
font-weight: 700;
|
||
}
|
||
|
||
.studio-app .studio-block-collection__count,
|
||
.studio-app .studio-rule-blocks > legend > span:last-child,
|
||
.studio-app .studio-option-blocks > legend > span:last-child {
|
||
color: var(--faint);
|
||
font-size: 11px;
|
||
font-weight: 560;
|
||
}
|
||
|
||
.studio-app .studio-block-collection .studio-ordered-list__toggle {
|
||
margin-left: auto;
|
||
color: var(--faint);
|
||
font-size: 10px;
|
||
}
|
||
|
||
.studio-app .studio-list-block,
|
||
.studio-app .studio-rule-block,
|
||
.studio-app .studio-option-block {
|
||
position: relative;
|
||
display: grid;
|
||
grid-template-columns: 20px 34px minmax(0, 1fr) auto;
|
||
gap: 9px;
|
||
align-items: start;
|
||
margin: 0 -10px;
|
||
padding: 12px 10px;
|
||
border: 0;
|
||
border-radius: 6px;
|
||
}
|
||
|
||
.studio-app .studio-rule-block,
|
||
.studio-app .studio-option-block {
|
||
grid-template-columns: 34px minmax(0, 1fr) auto;
|
||
}
|
||
|
||
.studio-app .studio-list-block:hover,
|
||
.studio-app .studio-rule-block:hover,
|
||
.studio-app .studio-option-block:hover {
|
||
background: color-mix(in srgb, var(--canvas) 58%, transparent);
|
||
}
|
||
|
||
.studio-app .studio-list-block__index,
|
||
.studio-app .studio-rule-block__number,
|
||
.studio-app .studio-option-block__number {
|
||
padding-top: 3px;
|
||
color: var(--faint);
|
||
font-family: "IBM Plex Mono", monospace;
|
||
font-size: 10px;
|
||
}
|
||
|
||
.studio-app .studio-list-block label { display: block; }
|
||
.studio-app .studio-list-block textarea {
|
||
min-height: 38px;
|
||
font-size: 15px;
|
||
line-height: 1.68;
|
||
}
|
||
|
||
.studio-app .studio-rule-block__writing,
|
||
.studio-app .studio-option-block__writing {
|
||
display: grid;
|
||
gap: 5px;
|
||
}
|
||
|
||
.studio-app .studio-rule-block input,
|
||
.studio-app .studio-option-block input {
|
||
font-size: 16px;
|
||
font-weight: 680;
|
||
line-height: 1.5;
|
||
}
|
||
|
||
.studio-app .studio-rule-block textarea,
|
||
.studio-app .studio-option-block textarea {
|
||
min-height: 42px;
|
||
color: var(--ink-soft);
|
||
font-size: 14px;
|
||
line-height: 1.68;
|
||
}
|
||
|
||
.studio-app .studio-list-block .studio-item-actions,
|
||
.studio-app .studio-rule-block .studio-item-actions,
|
||
.studio-app .studio-option-block .studio-item-actions {
|
||
display: flex;
|
||
gap: 2px;
|
||
opacity: 0;
|
||
}
|
||
|
||
.studio-app .studio-list-block:hover .studio-item-actions,
|
||
.studio-app .studio-list-block:focus-within .studio-item-actions,
|
||
.studio-app .studio-rule-block:hover .studio-item-actions,
|
||
.studio-app .studio-rule-block:focus-within .studio-item-actions,
|
||
.studio-app .studio-option-block:hover .studio-item-actions,
|
||
.studio-app .studio-option-block:focus-within .studio-item-actions { opacity: 1; }
|
||
|
||
.studio-app .studio-list-block .studio-item-actions button,
|
||
.studio-app .studio-rule-block .studio-item-actions button,
|
||
.studio-app .studio-option-block .studio-item-actions button {
|
||
min-width: 25px;
|
||
min-height: 25px;
|
||
padding: 2px 5px;
|
||
border: 0;
|
||
background: transparent;
|
||
color: var(--faint);
|
||
font-size: 10px;
|
||
}
|
||
|
||
.studio-app .studio-block-collection[data-tone="fact"] > legend::before { content: "●"; color: var(--techlog-palette-09861f82); font-size: 8px; }
|
||
.studio-app .studio-block-collection[data-tone="assumption"] > legend::before { content: "○"; color: var(--techlog-palette-58f7fc52); font-size: 10px; }
|
||
.studio-app .studio-block-collection[data-tone="unknown"] > legend::before { content: "?"; color: var(--techlog-palette-62094b78); font-size: 11px; }
|
||
.studio-app .studio-block-collection[data-tone="constraint"] > legend::before { content: "│"; color: var(--techlog-palette-753de008); font-size: 12px; }
|
||
.studio-app .studio-block-collection[data-tone="example"] > legend::before { content: "→"; color: var(--signal); font-size: 11px; }
|
||
.studio-app .studio-block-collection[data-tone="impact"] > legend::before { content: "↳"; color: var(--techlog-palette-a5357d85); font-size: 11px; }
|
||
|
||
.studio-app .studio-add-item,
|
||
.studio-app .studio-inline-add {
|
||
min-height: 28px;
|
||
padding: 3px 6px;
|
||
border: 0;
|
||
background: transparent;
|
||
color: var(--faint);
|
||
font-size: 11px;
|
||
}
|
||
.studio-app .studio-add-item:hover,
|
||
.studio-app .studio-inline-add:hover { color: var(--ink); text-decoration: none; }
|
||
|
||
.studio-app .studio-inline-choice {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 5px;
|
||
align-items: center;
|
||
margin: 0 0 30px;
|
||
padding: 0;
|
||
border: 0;
|
||
}
|
||
.studio-app .studio-inline-choice legend {
|
||
margin-right: 9px;
|
||
color: var(--muted);
|
||
font-size: 12px;
|
||
font-weight: 620;
|
||
}
|
||
.studio-app .studio-inline-choice button {
|
||
min-height: 28px;
|
||
padding: 4px 9px;
|
||
border: 1px solid var(--line);
|
||
border-radius: 999px;
|
||
background: transparent;
|
||
color: var(--muted);
|
||
font-size: 11px;
|
||
font-weight: 600;
|
||
}
|
||
.studio-app .studio-inline-choice button[aria-pressed="true"] {
|
||
border-color: color-mix(in srgb, var(--signal) 34%, var(--line));
|
||
background: color-mix(in srgb, var(--signal-soft) 50%, transparent);
|
||
color: var(--signal);
|
||
}
|
||
|
||
.studio-app .studio-resolution-block {
|
||
margin-top: 38px;
|
||
padding: 19px 22px;
|
||
border-left: 2px solid var(--techlog-palette-09861f82);
|
||
background: color-mix(in srgb, var(--techlog-palette-34ae53a7) 48%, transparent);
|
||
}
|
||
.studio-app .studio-resolution-block__heading { margin-bottom: 12px; }
|
||
.studio-app .studio-resolution-block__heading > span { display: block; font-size: 15px; font-weight: 700; }
|
||
.studio-app .studio-resolution-block__heading small { color: var(--faint); font-size: 11px; }
|
||
.studio-app .studio-resolution-block > textarea { min-height: 58px; font-size: 15px; line-height: 1.68; }
|
||
.studio-app .studio-resolution-block__properties {
|
||
display: grid;
|
||
grid-template-columns: 92px minmax(0, 1fr);
|
||
gap: 7px 14px;
|
||
align-items: center;
|
||
margin-top: 12px;
|
||
padding-top: 12px;
|
||
border-top: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
|
||
}
|
||
.studio-app .studio-resolution-block__properties > span { color: var(--muted); font-size: 11px; }
|
||
.studio-app .studio-resolution-block__properties > input { grid-column: 2; font-size: 12px; }
|
||
|
||
.studio-app .studio-decision-properties {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 14px 34px;
|
||
align-items: start;
|
||
margin-bottom: 18px;
|
||
}
|
||
.studio-app .studio-decision-properties .studio-inline-choice,
|
||
.studio-app .studio-decision-properties .studio-inline-property { margin-bottom: 0; }
|
||
|
||
.studio-app .studio-version-properties { padding: 8px 0 14px 148px; }
|
||
.studio-app .studio-version-property {
|
||
display: grid;
|
||
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
|
||
gap: 8px;
|
||
align-items: center;
|
||
margin-bottom: 5px;
|
||
}
|
||
.studio-app .studio-version-property input {
|
||
min-height: 31px;
|
||
padding: 4px 7px;
|
||
border: 1px solid transparent;
|
||
border-radius: 5px;
|
||
background: transparent;
|
||
color: var(--ink);
|
||
font: inherit;
|
||
font-size: 12px;
|
||
}
|
||
.studio-app .studio-version-property:hover input,
|
||
.studio-app .studio-version-property input:focus { border-color: var(--line); background: var(--paper); outline: 0; }
|
||
.studio-app .studio-version-property button { border: 0; background: transparent; color: var(--faint); font-size: 10px; }
|
||
|
||
@media (max-width: 760px) {
|
||
.studio-app:has(.studio-editor-page--single-surface) .studio-main,
|
||
.studio-app:has(.studio-editor-page--single-surface) .studio-header-inner {
|
||
width: calc(100% - 28px);
|
||
}
|
||
|
||
.studio-app .studio-editor-page--single-surface .studio-editor-commandbar {
|
||
align-items: flex-start;
|
||
}
|
||
|
||
.studio-app .studio-editor-page--single-surface .studio-document-status-bar {
|
||
gap: 5px 7px;
|
||
}
|
||
|
||
.studio-app .studio-editor-page--single-surface .studio-editor-status { display: none; }
|
||
.studio-app .studio-document-canvas { padding-top: 28px; }
|
||
|
||
.studio-app .studio-editor-page--single-surface .studio-document-title-field > input {
|
||
font-size: clamp(34px, 10vw, 45px);
|
||
}
|
||
|
||
.studio-app .studio-body-authoring__heading {
|
||
display: grid;
|
||
}
|
||
|
||
.studio-app .studio-inline-asset-actions { justify-content: flex-start; }
|
||
|
||
.studio-app .studio-block-editor {
|
||
margin-inline: -14px;
|
||
padding-inline: 14px;
|
||
}
|
||
|
||
.studio-app .studio-authoring-block {
|
||
grid-template-columns: 14px minmax(0, 1fr);
|
||
margin-inline: -14px 0;
|
||
}
|
||
|
||
.studio-app .studio-authoring-block__actions { display: none; }
|
||
|
||
.studio-app .studio-detail-properties > summary,
|
||
.studio-app .studio-inline-property,
|
||
.studio-app .studio-property-row {
|
||
grid-template-columns: 96px minmax(0, 1fr);
|
||
}
|
||
|
||
.studio-app .studio-version-properties { padding-left: 0; }
|
||
.studio-app .studio-version-property { grid-template-columns: 1fr 1fr; }
|
||
.studio-app .studio-version-property button { grid-column: 1 / -1; justify-self: start; }
|
||
|
||
.studio-app .studio-list-block,
|
||
.studio-app .studio-rule-block,
|
||
.studio-app .studio-option-block {
|
||
grid-template-columns: 28px minmax(0, 1fr);
|
||
}
|
||
.studio-app .studio-list-block .studio-ordered-item__handle { display: none; }
|
||
.studio-app .studio-list-block__index,
|
||
.studio-app .studio-rule-block__number,
|
||
.studio-app .studio-option-block__number { grid-column: 1; }
|
||
.studio-app .studio-list-block label,
|
||
.studio-app .studio-rule-block__writing,
|
||
.studio-app .studio-option-block__writing { grid-column: 2; }
|
||
.studio-app .studio-list-block .studio-item-actions,
|
||
.studio-app .studio-rule-block .studio-item-actions,
|
||
.studio-app .studio-option-block .studio-item-actions { display: none; }
|
||
}
|
||
.studio-app .studio-markdown-source { display: none !important; }
|
||
|
||
/* Template Dialog owns modal/focus behavior; TechLog keeps its picker layout. */
|
||
.studio-app .studio-asset-dialog {
|
||
box-shadow: none;
|
||
}
|
||
.studio-app .studio-asset-dialog .ui-dialog__surface,
|
||
.studio-app .studio-asset-dialog .ui-dialog__content {
|
||
padding: 0;
|
||
}
|
||
.studio-app .studio-asset-dialog .ui-dialog__header {
|
||
align-items: center;
|
||
padding: 24px 26px 16px;
|
||
border-bottom: 1px solid var(--line);
|
||
}
|
||
.studio-app .studio-asset-dialog .ui-dialog__header h2 {
|
||
margin: 0;
|
||
font-size: 19px;
|
||
font-weight: 650;
|
||
}
|
||
.studio-app .studio-asset-dialog__body {
|
||
padding: 20px 26px 28px;
|
||
}
|
||
|
||
@media (max-width: 767px) {
|
||
.studio-app .studio-asset-dialog .ui-dialog__header {
|
||
padding: 20px 16px 14px;
|
||
}
|
||
.studio-app .studio-asset-dialog__body {
|
||
padding: 18px 16px 22px;
|
||
}
|
||
}
|
||
|
||
/* Shared Field/Select markup keeps the existing TechLog editor treatment. */
|
||
.studio-app .studio-editor-section .studio-field.ui-field .ui-field__label {
|
||
padding-left: 2px;
|
||
}
|
||
.studio-app .studio-editor-section .studio-field.ui-field .ui-field__description {
|
||
margin: 0;
|
||
color: var(--faint);
|
||
font-size: 12px;
|
||
font-weight: 450;
|
||
line-height: 1.6;
|
||
}
|
||
|
||
/* Shared Checkbox keeps the existing project-topic choice card layout. */
|
||
.studio-app .studio-choice .ui-choice-field__control {
|
||
display: contents;
|
||
}
|
||
.studio-app .studio-choice .ui-field__description {
|
||
grid-column: 2;
|
||
margin: 0;
|
||
color: var(--faint);
|
||
font-family: "IBM Plex Mono", monospace;
|
||
font-size: 11px;
|
||
}
|