브레인 지시로 M02 면적산출(SA01010100) · 재료산출(SM01010100) 화면의 메뉴 · 팝업을 ORCA eval 로 전수로 열어 글자색 대 실제 바탕색 대비를 잼(투명이면 조상으로 올라가 겹침 · 4.5 미만 + 어두운 테마에서 흰 바탕 폼 칸 표시). 원인은 color 를 안 준 브라우저 기본 색(button · input · textarea)과 없는 토큰 · 검정 고정. - spreadsheet.css: 서식 붓 단추(.ss-brush · 서식… 붓 ↑ ↓ 필터 Σ 데이터 ▾) · 찾기/바꾸기 입력 · 찾기 단추 · 메모 · 골라 붙여넣기 단추 · 목록 ▼ 단추에 color 를 줌 · 주소 상자(.ss-addr) · 수식 입력줄(.ss-formula)은 흰 바탕 · 검정 글이던 것을 투명 바탕 · 글 상속으로 - spreadsheet_links.css: 자재 찾기 입력 바탕 · 글 토큰 - spreadsheet_toolbar.css: 시트 탭 이름 바꾸기 입력 · select 의 option 바탕 · 글 토큰 - spreadsheet_sortfilter.css · spreadsheet_analysis.css · spreadsheet_links.css: 정의 안 된 --color-surface-sunken(마우스 올림 바탕이 안 나오던 것)을 --color-mist-violet 로(색 줄만 · 주인 A · D 파일이라 최소로) - spreadsheet_sortfilter.css: 정렬 창 select 의 option 바탕 · 글 토큰 - spreadsheet_format_dialog.ts: 글꼴 미리보기 글자색 · 테두리 미리보기 기본 선색이 검정 고정이던 것을 「자동」(검정 · windowtext · auto)이면 테마 글자색으로(isAutoInk 재사용) - spreadsheet_data_tools.ts: 텍스트 나누기 · 연속 채우기 창의 select 두 곳에 ss-toolbar__select 를 붙여 흰 바탕 · 검정 글이던 것을 테마로 ORCA(IP http://100.72.32.27:5181 · 전환 애니메이션 끄고 잼) — 어두운 테마: 기본 화면 · 셀/행 머리/열 머리 우클릭 메뉴 · 데이터 메뉴와 하위 · 조건부 서식 · 유효성 · 이름 관리 · 정렬 · 텍스트 나누기 · 중복 제거 · 연속 채우기 · 칸 넣기/지우기 · 이동 · 셀 서식 창 여섯 탭 · 찾기/바꾸기 · 수식 편집 + 함수 자동완성 · 메모 창 · 단위 · 테두리 패널 · 자재 알약 찾기 · 자동 필터 값 목록 · 풍선 · 붙여넣기 선택 · 유효성 목록 · 오류 ⚠ 메뉴 · 수식 계산 · 알림, SM · SA 두 시트 모두 대비 4.5 미만 · 흰 바탕 폼 칸 0 건(고치기 전에는 서식 붓 계열 7 개가 글 rgb(0,0,0) 대 바탕 rgb(37,31,56) 대비 1.33 등). 밝은 테마도 같은 목록으로 재서 새로 깨진 곳 없음(남은 것은 --color-text-muted 가 밝은 테마 바탕에서 3.08 인 기존 토큰 값). css 8KB 한도: 가장 큰 spreadsheet_toolbar.css 7432 바이트. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01W9YEkMnYQnNnRZRPXoxFsw
320 lines
6.0 KiB
CSS
320 lines
6.0 KiB
CSS
/* spreadsheet.css (주인 D) — 부품 틀 · 주소 상자 · 수식 입력줄 · 칸 편집기 · 채우기 미리보기 · 알림 */
|
|
|
|
.ss {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
min-height: 0;
|
|
font-size: 13px;
|
|
color: var(--color-text-body);
|
|
background: var(--color-surface-raised);
|
|
}
|
|
|
|
.ss-grid-host {
|
|
flex: 1 1 auto;
|
|
min-height: 0;
|
|
}
|
|
|
|
.ss-bar {
|
|
display: flex;
|
|
flex: none;
|
|
align-items: stretch;
|
|
height: 26px;
|
|
border-bottom: 1px solid var(--color-border);
|
|
}
|
|
|
|
.ss-addr {
|
|
width: 96px;
|
|
padding: 0 6px;
|
|
border: none;
|
|
border-right: 1px solid var(--color-border);
|
|
background: transparent;
|
|
color: inherit;
|
|
font: inherit;
|
|
outline: none;
|
|
}
|
|
|
|
.ss-addr:focus {
|
|
box-shadow: inset 0 0 0 2px var(--color-focus-ring);
|
|
}
|
|
|
|
.ss-fx {
|
|
align-self: center;
|
|
padding: 0 8px;
|
|
color: var(--color-text-muted);
|
|
font-style: italic;
|
|
user-select: none;
|
|
}
|
|
|
|
.ss-formula {
|
|
flex: 1;
|
|
padding: 4px 6px;
|
|
border: none;
|
|
border-left: 1px solid var(--color-border);
|
|
background: transparent;
|
|
color: inherit;
|
|
font: inherit;
|
|
line-height: 18px;
|
|
white-space: pre;
|
|
overflow: hidden;
|
|
resize: none;
|
|
outline: none;
|
|
}
|
|
|
|
.ss--readonly .ss-formula {
|
|
color: var(--color-text-secondary);
|
|
}
|
|
|
|
/* 칸 편집기 = 숨은 textarea — 쉴 때는 활성 칸 자리에 투명하게(한글 조합 창 자리) */
|
|
.ss-input {
|
|
position: absolute;
|
|
z-index: 5;
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 1px 3px;
|
|
border: 2px solid var(--color-focus-ring);
|
|
background: var(--color-surface-raised);
|
|
color: var(--color-text-body);
|
|
font: inherit;
|
|
line-height: 1.25;
|
|
white-space: pre;
|
|
overflow: hidden;
|
|
resize: none;
|
|
outline: none;
|
|
}
|
|
|
|
.ss-input--idle {
|
|
width: 1px;
|
|
height: 1px;
|
|
min-width: 0 !important;
|
|
min-height: 0 !important;
|
|
padding: 0;
|
|
border: 0;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.ss-fill-preview {
|
|
position: absolute;
|
|
z-index: 4;
|
|
box-sizing: border-box;
|
|
border: 1px dashed var(--color-text-secondary);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.ss-toast {
|
|
position: absolute;
|
|
right: 12px;
|
|
bottom: 40px;
|
|
z-index: 20;
|
|
padding: 6px 10px;
|
|
border-radius: 4px;
|
|
background: var(--color-primary);
|
|
color: var(--color-primary-text);
|
|
}
|
|
|
|
/* 2단계 잇기 — 서식 붓 · 찾기 패널 · 메모 · 골라 붙여넣기 */
|
|
.ss-brush {
|
|
flex: none;
|
|
padding: 0 8px;
|
|
border: none;
|
|
border-right: 1px solid var(--color-border);
|
|
background: none;
|
|
color: inherit;
|
|
font: inherit;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.ss-brush.is-on {
|
|
background: color-mix(in srgb, var(--color-focus-ring) 20%, var(--color-surface-raised));
|
|
box-shadow: inset 0 0 0 2px var(--color-focus-ring);
|
|
}
|
|
|
|
.ss--painting .ss-grid-host {
|
|
cursor: copy;
|
|
}
|
|
|
|
.ss-find {
|
|
position: absolute;
|
|
top: 4px;
|
|
right: 16px;
|
|
z-index: 20;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
padding: 8px;
|
|
border: 1px solid var(--color-border);
|
|
border-radius: 6px;
|
|
background: var(--color-surface-raised);
|
|
box-shadow: var(--shadow-lg);
|
|
}
|
|
|
|
.ss-find[hidden],
|
|
.ss-find__row[hidden],
|
|
.ss-memo[hidden],
|
|
.ss-pick[hidden],
|
|
.spreadsheet-comment-balloon[hidden] {
|
|
display: none;
|
|
}
|
|
|
|
.ss-find__row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.ss-find__input {
|
|
width: 180px;
|
|
padding: 2px 6px;
|
|
border: 1px solid var(--color-border);
|
|
background: var(--color-surface-raised);
|
|
color: var(--color-text-body);
|
|
font: inherit;
|
|
}
|
|
|
|
.ss-find__btn {
|
|
padding: 2px 8px;
|
|
border: 1px solid var(--color-border);
|
|
border-radius: 4px;
|
|
background: var(--color-surface);
|
|
color: var(--color-text-body);
|
|
font: inherit;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.ss-find__opt {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 2px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.ss-find__status {
|
|
font-size: 12px;
|
|
color: var(--color-text-secondary);
|
|
}
|
|
|
|
.ss-memo,
|
|
.spreadsheet-comment-balloon {
|
|
position: absolute;
|
|
z-index: 15;
|
|
min-width: 140px;
|
|
max-width: 260px;
|
|
padding: 4px 6px;
|
|
border: 1px solid var(--color-warning);
|
|
background: color-mix(in srgb, var(--color-warning) 15%, var(--color-surface-raised));
|
|
color: var(--color-text-body);
|
|
font: inherit;
|
|
white-space: pre-wrap;
|
|
box-shadow: var(--shadow-sm);
|
|
}
|
|
|
|
.ss-memo {
|
|
min-height: 60px;
|
|
resize: both;
|
|
outline: none;
|
|
}
|
|
|
|
.ss-pick {
|
|
position: absolute;
|
|
z-index: 20;
|
|
display: flex;
|
|
gap: 2px;
|
|
padding: 4px;
|
|
border: 1px solid var(--color-border);
|
|
background: var(--color-surface-raised);
|
|
box-shadow: var(--shadow-lg);
|
|
}
|
|
|
|
.ss-pick > button {
|
|
padding: 2px 8px;
|
|
border: 1px solid var(--color-border);
|
|
background: var(--color-surface);
|
|
color: var(--color-text-body);
|
|
font: inherit;
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* 함수 자동 완성 · 인자 도움말 */
|
|
.ss-hint {
|
|
position: absolute;
|
|
z-index: 6;
|
|
min-width: 200px;
|
|
max-width: 360px;
|
|
border: 1px solid var(--color-border);
|
|
background: var(--color-surface-raised);
|
|
font-size: 12px;
|
|
box-shadow: var(--shadow-lg);
|
|
}
|
|
|
|
.ss-hint[hidden] {
|
|
display: none;
|
|
}
|
|
|
|
.ss-hint__item,
|
|
.ss-hint__help {
|
|
padding: 2px 6px;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.ss-hint__item {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.ss-hint__item.is-on {
|
|
background: color-mix(in srgb, var(--color-accent) 18%, var(--color-surface-raised));
|
|
}
|
|
|
|
/* 데이터 메뉴 — 패널 창 · 유효성 목록 ▼ */
|
|
.ss-dialog {
|
|
position: absolute;
|
|
top: 4px;
|
|
right: 16px;
|
|
z-index: 21;
|
|
max-height: calc(100% - 8px);
|
|
overflow: auto;
|
|
border: 1px solid var(--color-border);
|
|
border-radius: 6px;
|
|
background: var(--color-surface-raised);
|
|
box-shadow: var(--shadow-lg);
|
|
}
|
|
|
|
.ss-dialog[hidden],
|
|
.ss-list-arrow[hidden] {
|
|
display: none;
|
|
}
|
|
|
|
.ss-dialog__head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
padding: 6px 8px;
|
|
border-bottom: 1px solid var(--color-border);
|
|
font-weight: bold;
|
|
}
|
|
|
|
.ss-dialog__body {
|
|
padding: 8px;
|
|
}
|
|
|
|
.ss-list-arrow {
|
|
position: absolute;
|
|
z-index: 8;
|
|
width: 16px;
|
|
padding: 0;
|
|
border: 1px solid var(--color-border);
|
|
background: var(--color-surface);
|
|
color: var(--color-text-body);
|
|
font-size: 9px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.ss-validation__dropdown {
|
|
position: absolute;
|
|
z-index: 20;
|
|
}
|