- B01_Dashboard_UI_Legacy.ts: 세부 페이지가 다 갈아 끼워 옛 구역 · mountLegacy 지움 · 고른 회사 자리 · 상태 타입만 남김 - B01_Dashboard_UI_Views.ts: 쓰는 곳 없는 legacy 도우미 지움 - B01_Dashboard_UI_Style_Pages.css: 배지 색(549-1) · 시스템 관리 꼴(549-2) 둘 다 살림 - test_b01_settings_cards · test_309_2: 지운 옛 카드 부품 대신 settingLinks · 설계 기본값 페이지 · 사람 페이지를 읽음(낡은 시험) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
651 lines
13 KiB
CSS
651 lines
13 KiB
CSS
/* =============================================================================
|
|
* B01_Dashboard_UI_Style_Pages.css
|
|
* 대시보드 세부 페이지 공용 꼴(549) — 머리 · 표(줄 40 · 세로선 없음) · ⋯ · 탭 · 설정 줄 · 빈 상태.
|
|
* 색 · 간격은 `.b01-shell` 변수(--b01-*)만. 페이지 전용 조각은 아래 쪽에 이어 붙임.
|
|
* ========================================================================== */
|
|
|
|
.b01-pg {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
max-width: 1120px;
|
|
color: var(--b01-text);
|
|
}
|
|
.b01-pg__head {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
}
|
|
.b01-pg__title {
|
|
margin: 0;
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
color: var(--b01-text);
|
|
}
|
|
.b01-pg__desc {
|
|
margin: 4px 0 0;
|
|
color: var(--b01-muted);
|
|
font-size: 13px;
|
|
}
|
|
.b01-pg__action {
|
|
display: flex;
|
|
gap: 8px;
|
|
flex: none;
|
|
}
|
|
.b01-pg__body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
/* 카드 · 표 */
|
|
.b01-pg-card {
|
|
background: var(--b01-card);
|
|
border: 1px solid var(--b01-line);
|
|
border-radius: var(--b01-radius);
|
|
}
|
|
.b01-pg-scroll {
|
|
overflow-x: auto;
|
|
}
|
|
.b01-pg-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 13px;
|
|
}
|
|
.b01-pg-table th {
|
|
height: 36px;
|
|
padding: 0 12px;
|
|
text-align: left;
|
|
font-weight: 600;
|
|
font-size: 12px;
|
|
color: var(--b01-muted);
|
|
border-bottom: 1px solid var(--b01-line);
|
|
white-space: nowrap;
|
|
}
|
|
.b01-pg-table td {
|
|
height: 40px;
|
|
padding: 0 12px;
|
|
border-bottom: 1px solid var(--b01-line);
|
|
vertical-align: middle;
|
|
}
|
|
.b01-pg-table tbody tr:last-child td {
|
|
border-bottom: 0;
|
|
}
|
|
.b01-pg-table tbody tr:hover {
|
|
background: var(--b01-hover);
|
|
}
|
|
.b01-pg-table .is-end {
|
|
text-align: right;
|
|
}
|
|
.b01-pg-table td.b01-pg-menucell {
|
|
width: 44px;
|
|
padding: 0 8px;
|
|
text-align: right;
|
|
}
|
|
.b01-pg-table tr.is-sub > td {
|
|
height: auto;
|
|
padding: 0;
|
|
background: var(--b01-bg);
|
|
}
|
|
.b01-pg-table tr.is-sub:hover {
|
|
background: var(--b01-bg);
|
|
}
|
|
|
|
/* 이름 칸 */
|
|
.b01-pg-name {
|
|
display: flex;
|
|
flex-direction: column;
|
|
line-height: 1.25;
|
|
min-width: 0;
|
|
}
|
|
.b01-pg-name__main {
|
|
font-weight: 600;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.b01-pg-name__sub {
|
|
font-size: 11.5px;
|
|
color: var(--b01-muted);
|
|
}
|
|
.b01-pg-muted {
|
|
color: var(--b01-muted);
|
|
}
|
|
.b01-pg-inline {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
/* 배지 */
|
|
.b01-pg-badge {
|
|
border-radius: 999px;
|
|
font-size: 11.5px;
|
|
padding: 1px 8px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* 줄 끝 ⋯ */
|
|
.b01-pg-menu {
|
|
position: relative;
|
|
display: inline-block;
|
|
}
|
|
.b01-pg-menu__btn {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 28px;
|
|
height: 28px;
|
|
border: 0;
|
|
border-radius: 6px;
|
|
background: none;
|
|
color: var(--b01-muted);
|
|
cursor: pointer;
|
|
}
|
|
.b01-pg-menu__btn:hover,
|
|
.b01-pg-menu.is-open .b01-pg-menu__btn {
|
|
background: var(--b01-hover);
|
|
color: var(--b01-text);
|
|
}
|
|
.b01-pg-menu__pop {
|
|
position: absolute;
|
|
right: 0;
|
|
top: 30px;
|
|
z-index: 20;
|
|
min-width: 132px;
|
|
padding: 4px;
|
|
background: var(--b01-card);
|
|
border: 1px solid var(--b01-line);
|
|
border-radius: 8px;
|
|
box-shadow: 0 6px 18px rgb(0 0 0 / 12%);
|
|
text-align: left;
|
|
}
|
|
.b01-pg-menu__item {
|
|
display: block;
|
|
width: 100%;
|
|
padding: 7px 10px;
|
|
border: 0;
|
|
border-radius: 6px;
|
|
background: none;
|
|
color: var(--b01-text);
|
|
font: inherit;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
}
|
|
.b01-pg-menu__item:hover {
|
|
background: var(--b01-hover);
|
|
}
|
|
.b01-pg-menu__item.is-danger {
|
|
color: var(--b01-alert);
|
|
}
|
|
|
|
/* 탭 */
|
|
.b01-pg-tabs {
|
|
display: flex;
|
|
gap: 4px;
|
|
border-bottom: 1px solid var(--b01-line);
|
|
}
|
|
.b01-pg-tabs__tab {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 8px 12px;
|
|
margin-bottom: -1px;
|
|
border: 0;
|
|
border-bottom: 2px solid transparent;
|
|
background: none;
|
|
color: var(--b01-muted);
|
|
font: inherit;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
}
|
|
.b01-pg-tabs__tab:hover {
|
|
color: var(--b01-text);
|
|
}
|
|
.b01-pg-tabs__tab.is-active {
|
|
color: var(--b01-accent);
|
|
border-bottom-color: var(--b01-accent);
|
|
}
|
|
.b01-pg-tabs__count {
|
|
min-width: 18px;
|
|
padding: 0 5px;
|
|
border-radius: 9px;
|
|
background: var(--b01-alert);
|
|
color: #fff;
|
|
font-size: 11px;
|
|
line-height: 18px;
|
|
text-align: center;
|
|
}
|
|
.b01-pg-tabs__count[hidden] {
|
|
display: none;
|
|
}
|
|
|
|
/* 설정 줄(Linear 꼴) */
|
|
.b01-pg-settings {
|
|
overflow: hidden;
|
|
}
|
|
.b01-pg-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
min-height: 52px;
|
|
padding: 8px 16px;
|
|
border-bottom: 1px solid var(--b01-line);
|
|
}
|
|
.b01-pg-row:last-child {
|
|
border-bottom: 0;
|
|
}
|
|
.b01-pg-row__text {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-width: 0;
|
|
}
|
|
.b01-pg-row__desc {
|
|
font-size: 12px;
|
|
color: var(--b01-muted);
|
|
}
|
|
.b01-pg-row__side {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
flex: none;
|
|
max-width: 55%;
|
|
}
|
|
.b01-pg-row__side .ui-field__label:empty {
|
|
display: none;
|
|
}
|
|
.b01-pg-row__value {
|
|
text-align: right;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
/* 빈 상태 */
|
|
.b01-pg-empty {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 48px 16px;
|
|
text-align: center;
|
|
}
|
|
.b01-pg-empty__icon {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 56px;
|
|
height: 56px;
|
|
border-radius: 50%;
|
|
background: var(--b01-accent-soft);
|
|
color: var(--b01-accent);
|
|
}
|
|
.b01-pg-empty__text {
|
|
margin: 0;
|
|
font-weight: 600;
|
|
}
|
|
.b01-pg-empty__hint {
|
|
margin: 0;
|
|
font-size: 12.5px;
|
|
color: var(--b01-muted);
|
|
}
|
|
.b01-pg-link {
|
|
border: 0;
|
|
background: none;
|
|
color: var(--b01-accent);
|
|
font: inherit;
|
|
font-size: 12.5px;
|
|
cursor: pointer;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/* 단추 맞춤 — 셸 안 단추 높이 */
|
|
.b01-pg .ui-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
/* ── 임시 보관함 ──────────────────────────────────────────────────────────── */
|
|
.b01-pg-left {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
min-width: 140px;
|
|
}
|
|
.b01-pg-left__bar {
|
|
flex: none;
|
|
width: 64px;
|
|
height: 6px;
|
|
border-radius: 3px;
|
|
background: var(--b01-line);
|
|
overflow: hidden;
|
|
}
|
|
.b01-pg-left__bar > i {
|
|
display: block;
|
|
height: 100%;
|
|
background: var(--b01-accent);
|
|
}
|
|
.b01-pg-left.is-soon {
|
|
color: var(--b01-alert);
|
|
font-weight: 600;
|
|
}
|
|
.b01-pg-left.is-soon .b01-pg-left__bar > i {
|
|
background: var(--b01-alert);
|
|
}
|
|
.b01-pg-caret {
|
|
display: inline-grid;
|
|
place-items: center;
|
|
width: 20px;
|
|
height: 20px;
|
|
margin-right: 4px;
|
|
border: 0;
|
|
background: none;
|
|
color: var(--b01-muted);
|
|
cursor: pointer;
|
|
transform: rotate(-90deg);
|
|
transition: transform 0.12s;
|
|
}
|
|
.b01-pg-caret.is-open {
|
|
transform: none;
|
|
}
|
|
.b01-pg-files {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 12.5px;
|
|
}
|
|
.b01-pg-files td {
|
|
height: 34px;
|
|
padding: 0 12px;
|
|
border-bottom: 1px solid var(--b01-line);
|
|
}
|
|
.b01-pg-files tr:last-child td {
|
|
border-bottom: 0;
|
|
}
|
|
.b01-pg-files td:first-child {
|
|
padding-left: 44px;
|
|
}
|
|
.b01-pg-progress {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
.b01-pg-progress__bar {
|
|
width: 96px;
|
|
height: 6px;
|
|
border-radius: 3px;
|
|
background: var(--b01-line);
|
|
overflow: hidden;
|
|
}
|
|
.b01-pg-progress__bar > i {
|
|
display: block;
|
|
height: 100%;
|
|
background: var(--b01-accent);
|
|
}
|
|
.b01-pg-meta {
|
|
color: var(--b01-muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
/* ── 사람 · 회사 ──────────────────────────────────────────────────────────── */
|
|
.b01-pg-person {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
min-width: 0;
|
|
}
|
|
.b01-pg-avatar {
|
|
display: grid;
|
|
place-items: center;
|
|
flex: none;
|
|
width: 24px;
|
|
height: 24px;
|
|
border-radius: 50%;
|
|
background: var(--b01-accent-soft);
|
|
color: var(--b01-accent);
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
}
|
|
.b01-pg-invite {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
padding: 16px;
|
|
max-width: 520px;
|
|
}
|
|
.b01-pg-invite__form {
|
|
display: flex;
|
|
gap: 8px;
|
|
align-items: flex-end;
|
|
}
|
|
.b01-pg-invite__form > :first-child {
|
|
flex: 1;
|
|
}
|
|
.b01-pg-note {
|
|
margin: 0;
|
|
font-size: 12.5px;
|
|
color: var(--b01-muted);
|
|
}
|
|
|
|
/* 배지 색 — 셸 변수에서 (밝음 · 어두움 같이) */
|
|
.b01-pg .ui-tag {
|
|
border: 1px solid transparent;
|
|
}
|
|
.b01-pg .ui-tag--success {
|
|
background: var(--b01-accent-soft);
|
|
color: var(--b01-accent);
|
|
}
|
|
.b01-pg .ui-tag--accent {
|
|
background: transparent;
|
|
border-color: var(--b01-accent);
|
|
color: var(--b01-accent);
|
|
}
|
|
.b01-pg .ui-tag--neutral {
|
|
background: var(--b01-hover);
|
|
color: var(--b01-muted);
|
|
}
|
|
.b01-pg .ui-tag--warning {
|
|
background: color-mix(in srgb, #d97706 16%, transparent);
|
|
color: #b45309;
|
|
}
|
|
.b01-pg .ui-tag--danger {
|
|
background: color-mix(in srgb, var(--b01-alert) 14%, transparent);
|
|
color: var(--b01-alert);
|
|
}
|
|
:root[data-theme="dark"] .b01-pg .ui-tag--warning {
|
|
color: #f5a524;
|
|
}
|
|
|
|
/* ── 시스템 관리 · 내 정보 (549-2) ────────────────────────────────────────── */
|
|
.b01-shell {
|
|
--b01-warn: #d9822b;
|
|
--b01-s1: var(--b01-accent);
|
|
--b01-s2: #3b82c4;
|
|
--b01-s3: var(--b01-warn);
|
|
}
|
|
.b01-sys-loading {
|
|
margin: 0;
|
|
color: var(--b01-muted);
|
|
}
|
|
.b01-sys-tool {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
.b01-sys-input {
|
|
min-height: 32px;
|
|
padding: 0 8px;
|
|
border: 1px solid var(--b01-line);
|
|
border-radius: 8px;
|
|
background: var(--b01-card);
|
|
color: var(--b01-text);
|
|
font: inherit;
|
|
font-size: 13px;
|
|
}
|
|
.b01-sys-input:focus-visible {
|
|
outline: 2px solid var(--b01-accent);
|
|
outline-offset: 0;
|
|
}
|
|
.b01-pg-row__side .b01-sys-input {
|
|
width: 240px;
|
|
}
|
|
.b01-sys-count {
|
|
margin-left: auto;
|
|
color: var(--b01-muted);
|
|
font-size: 12px;
|
|
}
|
|
.b01-sys-group__title {
|
|
margin: 0 0 8px;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: var(--b01-text);
|
|
}
|
|
.b01-pg__body > .b01-sys-group + .b01-sys-group {
|
|
margin-top: 8px;
|
|
}
|
|
a.b01-pg-name__main {
|
|
color: var(--b01-text);
|
|
text-decoration: none;
|
|
}
|
|
a.b01-pg-name__main:hover {
|
|
color: var(--b01-accent);
|
|
text-decoration: underline;
|
|
}
|
|
.b01-sys-error {
|
|
color: var(--b01-alert);
|
|
font-size: 12px;
|
|
}
|
|
.b01-sys-assetslot .ui-field__label {
|
|
display: none;
|
|
}
|
|
.b01-sys-seg {
|
|
display: inline-flex;
|
|
border: 1px solid var(--b01-line);
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
}
|
|
.b01-sys-seg button {
|
|
min-height: 32px;
|
|
padding: 0 12px;
|
|
border: 0;
|
|
background: var(--b01-card);
|
|
color: var(--b01-muted);
|
|
font: inherit;
|
|
cursor: pointer;
|
|
}
|
|
.b01-sys-seg button[aria-pressed="true"] {
|
|
background: var(--b01-accent-soft);
|
|
color: var(--b01-accent);
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* 개요 — 숫자 카드 · 게이지 · 7 일 그래프 */
|
|
.b01-sys-stats {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
|
gap: 12px;
|
|
}
|
|
.b01-sys-stat {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
padding: 16px;
|
|
}
|
|
.b01-sys-stat__label {
|
|
color: var(--b01-muted);
|
|
font-size: 12px;
|
|
}
|
|
.b01-sys-stat__value {
|
|
font-size: 28px;
|
|
font-weight: 700;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
.b01-sys-gauge .b01-sys-stat__value {
|
|
font-size: 22px;
|
|
}
|
|
.b01-sys-gauge {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
padding: 16px;
|
|
}
|
|
.b01-sys-gauge__top {
|
|
display: flex;
|
|
align-items: baseline;
|
|
justify-content: space-between;
|
|
}
|
|
.b01-sys-gauge__bar {
|
|
height: 8px;
|
|
border-radius: 4px;
|
|
background: var(--b01-hover);
|
|
overflow: hidden;
|
|
}
|
|
.b01-sys-gauge__fill {
|
|
height: 100%;
|
|
border-radius: 4px;
|
|
background: var(--b01-accent);
|
|
}
|
|
.b01-sys-gauge.is-warn .b01-sys-gauge__fill {
|
|
background: var(--b01-warn);
|
|
}
|
|
.b01-sys-gauge.is-bad .b01-sys-gauge__fill {
|
|
background: var(--b01-alert);
|
|
}
|
|
.b01-sys-gauge.is-warn .b01-sys-stat__value {
|
|
color: var(--b01-warn);
|
|
}
|
|
.b01-sys-gauge.is-bad .b01-sys-stat__value {
|
|
color: var(--b01-alert);
|
|
}
|
|
.b01-sys-chart {
|
|
padding: 16px;
|
|
}
|
|
.b01-sys-chart__legend {
|
|
display: flex;
|
|
gap: 16px;
|
|
margin-bottom: 8px;
|
|
color: var(--b01-muted);
|
|
font-size: 12px;
|
|
}
|
|
.b01-sys-chart__legend i {
|
|
display: inline-block;
|
|
width: 10px;
|
|
height: 10px;
|
|
margin-right: 4px;
|
|
border-radius: 2px;
|
|
}
|
|
.b01-sys-chart svg {
|
|
display: block;
|
|
width: 100%;
|
|
height: auto;
|
|
}
|
|
.b01-sys-chart text {
|
|
fill: var(--b01-muted);
|
|
font-size: 10px;
|
|
}
|
|
.b01-sys-chart line {
|
|
stroke: var(--b01-line);
|
|
}
|
|
|
|
/* 공용 단추 눌림 색 — 기본이 보라(royal-amethyst · mist-violet)라 셸 강조 색으로 */
|
|
.b01-pg .ui-btn--filled:hover:not(:disabled) {
|
|
background-color: var(--b01-accent);
|
|
filter: brightness(0.92);
|
|
}
|
|
.b01-pg .ui-btn--ghost:hover:not(:disabled) {
|
|
background-color: var(--b01-accent-soft);
|
|
}
|
|
.b01-sys-back {
|
|
align-self: flex-start;
|
|
padding: 0;
|
|
border: 0;
|
|
background: none;
|
|
color: var(--b01-muted);
|
|
font: inherit;
|
|
cursor: pointer;
|
|
}
|
|
.b01-sys-back:hover {
|
|
color: var(--b01-text);
|
|
}
|