EENE Dashboard upload to Gitea
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
765
frontend/src/styles/detail-theme.css
Normal file
765
frontend/src/styles/detail-theme.css
Normal file
@@ -0,0 +1,765 @@
|
||||
/* 상세 페이지 — 메인 ref-hub 테마 색상 (타이포·구조는 quarter-board/detail 클래스 유지) */
|
||||
|
||||
.detail-page-shell {
|
||||
/* 메인 dummy-board / ref-hub 테마와 동일 팔레트 (타이포·구조는 유지) */
|
||||
--detail-ref-hub: #4a90d9;
|
||||
--detail-ref-hub-dark: #2563ab;
|
||||
--detail-ref-hub-border: #3578c4;
|
||||
--detail-ref-hub-soft: #f5faff;
|
||||
--detail-ref-title: #1e3a5f;
|
||||
|
||||
--detail-header-bg: var(--app-header-bg);
|
||||
--detail-header-border: var(--app-header-border);
|
||||
--detail-page-bg: #fff;
|
||||
--detail-card-bg: linear-gradient(168deg, #ffffff 0%, var(--detail-ref-hub-soft) 100%);
|
||||
--detail-text-title: var(--detail-ref-title);
|
||||
--detail-text-body: var(--detail-ref-title);
|
||||
--detail-text-secondary: var(--detail-ref-hub-dark);
|
||||
--detail-text-muted: #64748b;
|
||||
--detail-accent: var(--detail-ref-hub);
|
||||
--detail-border: #e8edf2;
|
||||
|
||||
font-family:
|
||||
"Pretendard Variable",
|
||||
Pretendard,
|
||||
-apple-system,
|
||||
BlinkMacSystemFont,
|
||||
system-ui,
|
||||
sans-serif;
|
||||
background: var(--detail-page-bg);
|
||||
color: var(--detail-text-title);
|
||||
}
|
||||
|
||||
/* ─── 상단바 (메인 dashboard-header-bar 와 동일) ─── */
|
||||
.detail-page-header {
|
||||
position: relative;
|
||||
z-index: 10;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-shrink: 0;
|
||||
overflow: visible;
|
||||
height: 48px;
|
||||
min-height: 48px;
|
||||
padding: 0 22px 0 20px;
|
||||
background: var(--detail-header-bg);
|
||||
border-bottom: 1px solid var(--detail-header-border);
|
||||
box-shadow: var(--app-header-shadow);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.detail-page-header__title {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
min-width: 0;
|
||||
margin: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
color: #bad8ca;
|
||||
font-size: 20px;
|
||||
font-weight: 700;
|
||||
letter-spacing: -0.5px;
|
||||
line-height: 1.2;
|
||||
text-shadow:
|
||||
-1px -1px 1px rgba(0, 0, 0, 0.25),
|
||||
1px -1px 1px rgba(0, 0, 0, 0.25),
|
||||
-1px 1px 1px rgba(0, 0, 0, 0.25),
|
||||
1px 1px 1px rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
|
||||
.detail-page-header__meta {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 16px;
|
||||
margin-left: auto;
|
||||
flex-shrink: 0;
|
||||
font-size: 18px;
|
||||
font-weight: 400;
|
||||
letter-spacing: -0.3px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.detail-page-header__meta-label {
|
||||
font-weight: 600;
|
||||
color: rgba(255, 255, 255, 0.55);
|
||||
}
|
||||
|
||||
.detail-page-header__meta-value {
|
||||
font-weight: 700;
|
||||
color: rgba(255, 255, 255, 0.9);
|
||||
}
|
||||
|
||||
.detail-page-header__divider {
|
||||
width: 1px;
|
||||
height: 16px;
|
||||
background: rgba(255, 255, 255, 0.25);
|
||||
}
|
||||
|
||||
.detail-page-header__badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
padding: 2px 10px;
|
||||
border-radius: 9999px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.2);
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
color: rgba(255, 255, 255, 0.92);
|
||||
font-size: 14px;
|
||||
font-weight: 700;
|
||||
letter-spacing: -0.2px;
|
||||
}
|
||||
|
||||
/* 상시업무 상세 — 헤더 탭 (detail-page-header · dashboard 톤) */
|
||||
.detail-page-header--routine {
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.detail-page-header__tabs {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
display: flex;
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
overflow-x: auto;
|
||||
scrollbar-width: none;
|
||||
}
|
||||
|
||||
.detail-page-header__tabs::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.detail-page-header__tab {
|
||||
flex-shrink: 0;
|
||||
padding: 4px 14px;
|
||||
border: 1px solid transparent;
|
||||
border-radius: 12px;
|
||||
font-family: inherit;
|
||||
font-size: 20px;
|
||||
font-weight: 500;
|
||||
letter-spacing: -0.3px;
|
||||
line-height: 1.2;
|
||||
cursor: pointer;
|
||||
transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
color: rgba(255, 255, 255, 0.85);
|
||||
}
|
||||
|
||||
.detail-page-header__tab:hover:not(:disabled) {
|
||||
background: rgba(255, 255, 255, 0.18);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.detail-page-header__tab.is-active {
|
||||
border-color: rgba(255, 255, 255, 0.35);
|
||||
background: #fff;
|
||||
color: var(--detail-ref-title);
|
||||
font-weight: 600;
|
||||
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
|
||||
.detail-page-header__tab:disabled {
|
||||
opacity: 0.55;
|
||||
cursor: wait;
|
||||
}
|
||||
|
||||
/* ─── 본문 타이포 (quarter-board project-field · board-project-title) ─── */
|
||||
.detail-section-label {
|
||||
margin: 0;
|
||||
color: var(--detail-text-title);
|
||||
font-size: 20px;
|
||||
font-weight: 700;
|
||||
line-height: 1.45;
|
||||
letter-spacing: -0.2px;
|
||||
}
|
||||
|
||||
.detail-section-label-sub {
|
||||
color: var(--detail-accent);
|
||||
font-size: 20px;
|
||||
font-weight: 600;
|
||||
letter-spacing: -0.2px;
|
||||
}
|
||||
|
||||
.detail-section-head {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
justify-content: space-between;
|
||||
gap: 8px;
|
||||
margin-bottom: 8px;
|
||||
padding-bottom: 8px;
|
||||
border-bottom: 1px solid var(--detail-border);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.detail-body-title {
|
||||
margin: 0;
|
||||
color: var(--detail-text-title);
|
||||
font-size: 24px;
|
||||
font-weight: 700;
|
||||
line-height: 1.35;
|
||||
letter-spacing: -0.2px;
|
||||
}
|
||||
|
||||
.detail-body-text {
|
||||
margin: 0;
|
||||
color: var(--detail-text-body);
|
||||
font-size: 20px;
|
||||
font-weight: 600;
|
||||
line-height: 1.45;
|
||||
letter-spacing: -0.1px;
|
||||
}
|
||||
|
||||
/** 업무내용·피드백 본문 */
|
||||
.detail-body-content {
|
||||
margin: 0;
|
||||
color: var(--detail-text-body);
|
||||
font-size: 20px;
|
||||
font-weight: 600;
|
||||
line-height: 1.45;
|
||||
letter-spacing: -0.1px;
|
||||
}
|
||||
|
||||
.detail-body-muted {
|
||||
color: var(--detail-text-muted);
|
||||
font-size: 20px;
|
||||
font-weight: 500;
|
||||
line-height: 1.45;
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
.milestone-content-block__label {
|
||||
font-size: 14px;
|
||||
font-weight: 700;
|
||||
letter-spacing: -0.2px;
|
||||
color: var(--detail-text-secondary);
|
||||
}
|
||||
|
||||
.milestone-content-period {
|
||||
position: relative;
|
||||
flex-shrink: 0;
|
||||
max-width: 52%;
|
||||
}
|
||||
|
||||
.milestone-content-period__btn {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
padding: 2px 6px;
|
||||
margin: 0;
|
||||
border: none;
|
||||
border-radius: 6px;
|
||||
background: transparent;
|
||||
color: var(--detail-accent);
|
||||
font-size: 18px;
|
||||
font-weight: 600;
|
||||
letter-spacing: -0.1px;
|
||||
line-height: 1.35;
|
||||
cursor: default;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.milestone-content-period__btn:not(:disabled) {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.milestone-content-period__btn:not(:disabled):hover,
|
||||
.milestone-content-period__btn.is-open {
|
||||
background: rgba(74, 144, 217, 0.1);
|
||||
}
|
||||
|
||||
.milestone-content-period__label {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.milestone-content-period__chev {
|
||||
flex-shrink: 0;
|
||||
opacity: 0.85;
|
||||
}
|
||||
|
||||
.milestone-content-period__menu {
|
||||
position: absolute;
|
||||
top: calc(100% + 4px);
|
||||
right: 0;
|
||||
z-index: 20;
|
||||
min-width: 148px;
|
||||
max-width: 240px;
|
||||
margin: 0;
|
||||
padding: 4px;
|
||||
list-style: none;
|
||||
border: 1px solid var(--detail-border);
|
||||
border-radius: 8px;
|
||||
background: #fff;
|
||||
box-shadow: 0 8px 24px rgba(15, 35, 52, 0.12);
|
||||
}
|
||||
|
||||
.milestone-content-period__option {
|
||||
display: block;
|
||||
width: 100%;
|
||||
padding: 8px 10px;
|
||||
border: none;
|
||||
border-radius: 6px;
|
||||
background: transparent;
|
||||
color: var(--detail-text-body);
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
letter-spacing: -0.1px;
|
||||
text-align: left;
|
||||
white-space: nowrap;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.milestone-content-period__option:hover {
|
||||
background: rgba(74, 144, 217, 0.08);
|
||||
}
|
||||
|
||||
.milestone-content-period__option.is-active {
|
||||
color: var(--detail-accent);
|
||||
background: rgba(74, 144, 217, 0.12);
|
||||
}
|
||||
|
||||
.detail-body-caption {
|
||||
color: var(--detail-text-secondary);
|
||||
font-size: 18px;
|
||||
font-weight: 600;
|
||||
line-height: 1.45;
|
||||
letter-spacing: -0.1px;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.detail-aside {
|
||||
background: var(--detail-card-bg);
|
||||
border-right: 1px solid var(--detail-border);
|
||||
}
|
||||
|
||||
/* 프로젝트 상세 — 업무 일정 3단계 고정 노출, 업무내용 위로 */
|
||||
.detail-aside--project {
|
||||
--detail-stage-card-h: 80px;
|
||||
--detail-stage-gap: 8px;
|
||||
--detail-stage-list-extra: 6px; /* 3번째 카드 하단선·ring 여유 */
|
||||
grid-template-rows: auto auto minmax(0, 1fr) minmax(0, 0.85fr);
|
||||
}
|
||||
|
||||
.detail-aside--project > section:first-child,
|
||||
.detail-aside--project > section:nth-child(3) {
|
||||
padding-block: 8px;
|
||||
}
|
||||
|
||||
.detail-aside--project > section:nth-child(2) {
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
.detail-aside--project > section:nth-child(3) {
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
.detail-aside--project > section:first-child .detail-body-text {
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
.detail-overview {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 4px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.detail-overview__text {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.detail-overview__text.is-clamped {
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 2;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.detail-overview.is-expanded .detail-overview__text {
|
||||
max-height: min(42vh, 280px);
|
||||
overflow-y: auto;
|
||||
white-space: pre-wrap;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.detail-overview__more {
|
||||
flex-shrink: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
margin-top: 2px;
|
||||
padding: 0;
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
background: transparent;
|
||||
color: var(--detail-text-secondary);
|
||||
cursor: pointer;
|
||||
opacity: 0.72;
|
||||
transition:
|
||||
opacity 0.15s ease,
|
||||
color 0.15s ease,
|
||||
background 0.15s ease;
|
||||
}
|
||||
|
||||
.detail-overview__more:hover {
|
||||
opacity: 1;
|
||||
color: var(--detail-ref-hub-dark);
|
||||
background: rgba(74, 144, 217, 0.1);
|
||||
}
|
||||
|
||||
.detail-overview__chevrons {
|
||||
display: block;
|
||||
transition: transform 0.15s ease;
|
||||
}
|
||||
|
||||
.detail-overview__chevrons.is-up {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
.detail-aside--project .detail-stage-list {
|
||||
height: calc(
|
||||
var(--detail-stage-card-h) * 3 + var(--detail-stage-gap) * 2 + var(--detail-stage-list-extra)
|
||||
);
|
||||
padding-bottom: 4px;
|
||||
box-sizing: border-box;
|
||||
overflow-y: auto;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.detail-aside--project .detail-stage-card {
|
||||
min-height: var(--detail-stage-card-h);
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.detail-panel-footer-title {
|
||||
color: var(--detail-text-title);
|
||||
font-size: 24px;
|
||||
font-weight: 600;
|
||||
letter-spacing: -0.2px;
|
||||
line-height: 1.35;
|
||||
}
|
||||
|
||||
.detail-panel-footer-sub {
|
||||
color: var(--detail-accent);
|
||||
font-size: 20px;
|
||||
font-weight: 600;
|
||||
letter-spacing: -0.1px;
|
||||
}
|
||||
|
||||
.detail-stage-card {
|
||||
border-color: var(--detail-border);
|
||||
background: rgba(255, 255, 255, 0.55);
|
||||
}
|
||||
|
||||
.detail-stage-card.is-selected {
|
||||
border-color: var(--detail-ref-hub);
|
||||
background: var(--detail-ref-hub-soft);
|
||||
}
|
||||
|
||||
.detail-stage-card.is-selected .detail-body-title {
|
||||
color: var(--detail-ref-title);
|
||||
}
|
||||
|
||||
.detail-add-btn {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
border: 1.5px solid var(--detail-ref-hub-border);
|
||||
border-radius: 50%;
|
||||
background: linear-gradient(180deg, var(--detail-ref-hub) 0%, var(--detail-ref-hub-dark) 100%);
|
||||
color: #e8f2fc;
|
||||
font-size: 18px;
|
||||
font-weight: 700;
|
||||
line-height: 1;
|
||||
cursor: pointer;
|
||||
box-shadow: 0 1px 3px rgba(37, 99, 171, 0.28);
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.detail-add-btn:hover {
|
||||
color: #fff;
|
||||
border-color: #5a9ee8;
|
||||
background: linear-gradient(180deg, #5a9ee8 0%, var(--detail-ref-hub-border) 100%);
|
||||
}
|
||||
|
||||
.detail-add-btn:disabled {
|
||||
opacity: 0.4;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
/* ─── 업무별 타임라인 (간트) — 게이지 4행 고정 ─── */
|
||||
.milestone-timeline {
|
||||
--mt-row-height: 28px;
|
||||
--mt-row-gap: 4px;
|
||||
--mt-visible-rows: 4;
|
||||
--mt-chart-height: calc(
|
||||
var(--mt-visible-rows) * var(--mt-row-height)
|
||||
+ (var(--mt-visible-rows) - 1) * var(--mt-row-gap)
|
||||
+ 12px
|
||||
);
|
||||
--mt-footer-height: calc(26px + 33px + 8px + 22px + 4px + var(--mt-chart-height));
|
||||
|
||||
flex-shrink: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
height: var(--mt-footer-height);
|
||||
min-height: var(--mt-footer-height);
|
||||
max-height: var(--mt-footer-height);
|
||||
padding: 12px 20px 14px;
|
||||
border-top: 1px solid var(--detail-border);
|
||||
background: linear-gradient(168deg, #ffffff 0%, var(--detail-ref-hub-soft) 100%);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.milestone-timeline__head {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.milestone-timeline__title {
|
||||
color: var(--detail-text-title);
|
||||
font-size: 24px;
|
||||
font-weight: 600;
|
||||
letter-spacing: -0.2px;
|
||||
line-height: 1.35;
|
||||
}
|
||||
|
||||
.milestone-timeline__subtitle {
|
||||
color: var(--detail-accent);
|
||||
font-size: 20px;
|
||||
font-weight: 600;
|
||||
letter-spacing: -0.1px;
|
||||
max-width: 45%;
|
||||
}
|
||||
|
||||
.milestone-timeline__empty {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin: 0;
|
||||
padding: 12px;
|
||||
border: 1px dashed var(--detail-border);
|
||||
border-radius: 8px;
|
||||
background: rgba(255, 255, 255, 0.45);
|
||||
color: var(--detail-text-muted);
|
||||
font-size: 20px;
|
||||
font-weight: 500;
|
||||
line-height: 1.45;
|
||||
opacity: 0.72;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.milestone-timeline__body {
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.milestone-timeline__ticks {
|
||||
position: relative;
|
||||
flex-shrink: 0;
|
||||
height: 22px;
|
||||
margin: 0 4px;
|
||||
}
|
||||
|
||||
.milestone-timeline__tick {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
transform: translateX(-50%);
|
||||
color: var(--detail-text-body);
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
letter-spacing: -0.2px;
|
||||
line-height: 1;
|
||||
white-space: nowrap;
|
||||
opacity: 0.85;
|
||||
}
|
||||
|
||||
.milestone-timeline__tick-label {
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.milestone-timeline__tick.is-today {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.milestone-timeline__tick.is-today .milestone-timeline__tick-label {
|
||||
color: var(--detail-ref-hub-dark);
|
||||
font-weight: 800;
|
||||
text-decoration: underline;
|
||||
text-decoration-color: var(--detail-ref-hub);
|
||||
text-underline-offset: 2px;
|
||||
text-decoration-thickness: 2px;
|
||||
}
|
||||
|
||||
.milestone-timeline__chart {
|
||||
position: relative;
|
||||
flex: none;
|
||||
height: var(--mt-chart-height);
|
||||
min-height: var(--mt-chart-height);
|
||||
max-height: var(--mt-chart-height);
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
margin: 0 4px;
|
||||
border-radius: 6px;
|
||||
background: rgba(255, 255, 255, 0.55);
|
||||
border: 1px solid var(--detail-border);
|
||||
}
|
||||
|
||||
.milestone-timeline__grid {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
pointer-events: none;
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
.milestone-timeline__grid-line {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
width: 1px;
|
||||
transform: translateX(-50%);
|
||||
background: rgba(74, 144, 217, 0.08);
|
||||
}
|
||||
|
||||
.milestone-timeline__rows {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--mt-row-gap);
|
||||
padding: 6px 0;
|
||||
}
|
||||
|
||||
.milestone-timeline__row {
|
||||
position: relative;
|
||||
height: var(--mt-row-height);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.milestone-timeline__bar {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
height: 22px;
|
||||
transform: translateY(-50%);
|
||||
padding: 0;
|
||||
border: none;
|
||||
border-radius: 999px;
|
||||
overflow: hidden;
|
||||
cursor: pointer;
|
||||
background: transparent;
|
||||
transition:
|
||||
width 0.2s ease,
|
||||
left 0.2s ease,
|
||||
box-shadow 0.15s ease,
|
||||
opacity 0.15s ease;
|
||||
opacity: 0.92;
|
||||
}
|
||||
|
||||
.milestone-timeline__bar.is-expanded {
|
||||
z-index: 5;
|
||||
overflow: visible;
|
||||
opacity: 1;
|
||||
box-shadow: 0 2px 10px rgba(74, 144, 217, 0.28);
|
||||
}
|
||||
|
||||
.milestone-timeline__bar.is-expanded .milestone-timeline__bar-track,
|
||||
.milestone-timeline__bar.is-expanded .milestone-timeline__bar-fill {
|
||||
border-radius: 999px;
|
||||
}
|
||||
|
||||
.milestone-timeline__measure {
|
||||
position: absolute;
|
||||
visibility: hidden;
|
||||
pointer-events: none;
|
||||
white-space: nowrap;
|
||||
font-size: 18px;
|
||||
font-weight: 500;
|
||||
letter-spacing: -0.1px;
|
||||
}
|
||||
|
||||
.milestone-timeline__bar:hover {
|
||||
opacity: 1;
|
||||
z-index: 4;
|
||||
}
|
||||
|
||||
.milestone-timeline__bar.is-selected {
|
||||
z-index: 2;
|
||||
opacity: 1;
|
||||
box-shadow: 0 0 0 2px var(--detail-ref-hub), 0 2px 8px rgba(74, 144, 217, 0.35);
|
||||
}
|
||||
|
||||
.milestone-timeline__bar-track {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
border-radius: inherit;
|
||||
background: rgba(74, 144, 217, 0.18);
|
||||
}
|
||||
|
||||
.milestone-timeline__bar-fill {
|
||||
position: absolute;
|
||||
inset: 0 auto 0 0;
|
||||
z-index: 1;
|
||||
border-radius: inherit;
|
||||
background: linear-gradient(90deg, var(--detail-ref-hub-dark) 0%, var(--detail-ref-hub) 100%);
|
||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
|
||||
transition: width 0.2s ease;
|
||||
}
|
||||
|
||||
.milestone-timeline__bar-label-wrap {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
z-index: 2;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.milestone-timeline__bar-label {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
padding: 0 8px;
|
||||
overflow: hidden;
|
||||
min-width: 0;
|
||||
font-size: 18px;
|
||||
font-weight: 500;
|
||||
line-height: 22px;
|
||||
letter-spacing: -0.1px;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.milestone-timeline__bar-label--fill {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.milestone-timeline__bar-label--track {
|
||||
color: var(--detail-ref-title);
|
||||
}
|
||||
|
||||
.milestone-timeline__bar.is-selected .milestone-timeline__bar-label {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.milestone-timeline__bar.is-selected .milestone-timeline__bar-label--track {
|
||||
color: var(--detail-ref-hub-dark);
|
||||
}
|
||||
|
||||
.milestone-timeline__bar.is-expanded .milestone-timeline__bar-label {
|
||||
overflow: visible;
|
||||
text-overflow: clip;
|
||||
}
|
||||
1297
frontend/src/styles/dummy-board.css
Normal file
1297
frontend/src/styles/dummy-board.css
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
363
frontend/src/styles/routine-detail.css
Normal file
363
frontend/src/styles/routine-detail.css
Normal file
@@ -0,0 +1,363 @@
|
||||
/* 상시업무 상세 — detail-theme 와 동일 ref-hub 팔레트 */
|
||||
|
||||
.routine-detail {
|
||||
--rd-header-bg: linear-gradient(180deg, #37a184 0%, #29724f 20%, #07412e 100%);
|
||||
--rd-emerald-deep: #1e3a5f;
|
||||
--rd-bg-page: #fff;
|
||||
--rd-bg-card: #ffffff;
|
||||
--rd-bg-card-hover: #f8fafc;
|
||||
--rd-bg-stage-selected: #f5faff;
|
||||
--rd-border-card: #e8edf2;
|
||||
--rd-border-selected: #4a90d9;
|
||||
--rd-text-main: #1e3a5f;
|
||||
--rd-text-muted: #64748b;
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
min-height: 0;
|
||||
overflow: hidden;
|
||||
background: var(--rd-bg-page);
|
||||
color: var(--rd-text-main);
|
||||
font-family: "Pretendard Variable", Pretendard, -apple-system, sans-serif;
|
||||
}
|
||||
|
||||
.routine-detail__header {
|
||||
position: relative;
|
||||
z-index: 10;
|
||||
flex-shrink: 0;
|
||||
height: 56px;
|
||||
min-height: 56px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 0 20px;
|
||||
background: var(--rd-header-bg);
|
||||
color: #fff;
|
||||
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
|
||||
.routine-detail__header::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 0 0 auto;
|
||||
height: 45%;
|
||||
background: rgba(255, 255, 255, 0.08);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.routine-detail__tabs {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
align-items: center;
|
||||
min-width: 0;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
.routine-detail__tab {
|
||||
flex-shrink: 0;
|
||||
padding: 6px 16px;
|
||||
border: none;
|
||||
border-radius: 12px;
|
||||
font-family: inherit;
|
||||
font-size: 18px;
|
||||
font-weight: 400;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s ease;
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
color: rgba(255, 255, 255, 0.85);
|
||||
}
|
||||
|
||||
.routine-detail__tab:hover {
|
||||
background: rgba(255, 255, 255, 0.2);
|
||||
}
|
||||
|
||||
.routine-detail__tab.is-active {
|
||||
background: var(--rd-bg-card);
|
||||
color: var(--rd-emerald-deep);
|
||||
font-weight: 500;
|
||||
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.routine-detail__tab.is-empty {
|
||||
opacity: 0.45;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.routine-detail__meta {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
margin-left: auto;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 16px;
|
||||
font-size: 14px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.routine-detail__meta-item {
|
||||
color: rgba(255, 255, 255, 0.8);
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.routine-detail__meta-item strong {
|
||||
color: #fff;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.routine-detail__meta-divider {
|
||||
width: 1px;
|
||||
height: 14px;
|
||||
background: rgba(255, 255, 255, 0.25);
|
||||
}
|
||||
|
||||
.routine-detail__status {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
padding: 2px 10px;
|
||||
border-radius: 9999px;
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
background: rgba(255, 255, 255, 0.15);
|
||||
border: 1px solid rgba(255, 255, 255, 0.2);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.routine-detail__main {
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 3fr;
|
||||
grid-template-rows: 1fr;
|
||||
}
|
||||
|
||||
.routine-detail__aside {
|
||||
display: grid;
|
||||
grid-template-rows: 2fr 1fr;
|
||||
background: var(--rd-bg-card);
|
||||
border-right: 1px solid var(--rd-border-card);
|
||||
min-height: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.routine-detail__section {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 16px;
|
||||
min-height: 0;
|
||||
overflow: hidden;
|
||||
border-bottom: 1px solid var(--rd-border-card);
|
||||
}
|
||||
|
||||
.routine-detail__section:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.routine-detail__section-head {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 12px;
|
||||
padding-bottom: 8px;
|
||||
border-bottom: 1px solid #e2e8f0;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.routine-detail__section-label {
|
||||
font-size: 18px;
|
||||
font-weight: 900;
|
||||
color: var(--rd-text-muted);
|
||||
letter-spacing: 0.05em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.routine-detail__add-btn {
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 8px;
|
||||
border: none;
|
||||
background: #4a90d9;
|
||||
color: #fff;
|
||||
font-size: 18px;
|
||||
font-weight: 700;
|
||||
cursor: pointer;
|
||||
transition: background 0.2s;
|
||||
}
|
||||
|
||||
.routine-detail__add-btn:hover {
|
||||
background: #2563ab;
|
||||
}
|
||||
|
||||
.routine-detail__stage-list {
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
padding-right: 4px;
|
||||
}
|
||||
|
||||
.routine-detail__stage-card {
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
padding: 10px 14px;
|
||||
border-radius: 8px;
|
||||
border: 1px solid var(--rd-border-card);
|
||||
background: var(--rd-bg-card-hover);
|
||||
cursor: pointer;
|
||||
transition: all 0.2s ease;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.routine-detail__stage-card:hover {
|
||||
border-color: #cbd5e1;
|
||||
background: var(--rd-bg-card);
|
||||
}
|
||||
|
||||
.routine-detail__stage-card.is-selected {
|
||||
border-color: var(--rd-border-selected);
|
||||
background: var(--rd-bg-stage-selected);
|
||||
box-shadow: 0 0 0 1px var(--rd-border-selected);
|
||||
}
|
||||
|
||||
.routine-detail__stage-title {
|
||||
font-size: 24px;
|
||||
font-weight: 400;
|
||||
color: #1e293b;
|
||||
line-height: 1.3;
|
||||
margin-bottom: 4px;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.routine-detail__stage-card.is-selected .routine-detail__stage-title {
|
||||
color: var(--rd-emerald-deep);
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.routine-detail__stage-overview {
|
||||
font-size: 20px;
|
||||
font-weight: 400;
|
||||
color: var(--rd-text-muted);
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.routine-detail__content-list {
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
list-style: none;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
padding-right: 4px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.routine-detail__content-item {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
font-size: 20px;
|
||||
font-weight: 400;
|
||||
line-height: 1.4;
|
||||
color: #334155;
|
||||
}
|
||||
|
||||
.routine-detail__content-bullet {
|
||||
color: #4a90d9;
|
||||
font-weight: 700;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.routine-detail__content-text {
|
||||
flex: 1;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.routine-detail__empty {
|
||||
font-size: 16px;
|
||||
color: var(--rd-text-muted);
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.routine-detail__panel {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-width: 0;
|
||||
height: 100%;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
.routine-detail__preview {
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
padding: 24px;
|
||||
overflow-y: auto;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 20px;
|
||||
background: #f1f5f9;
|
||||
}
|
||||
|
||||
.routine-detail__preview-title {
|
||||
font-size: 16px;
|
||||
font-weight: 800;
|
||||
color: #475569;
|
||||
margin: 0 0 4px;
|
||||
}
|
||||
|
||||
.routine-detail__results-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.routine-detail__result-card {
|
||||
background: var(--rd-bg-card);
|
||||
border: 1px solid var(--rd-border-card);
|
||||
border-radius: 12px;
|
||||
padding: 16px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
color: var(--rd-text-main);
|
||||
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
|
||||
transition: all 0.2s ease;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.routine-detail__result-card:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
|
||||
border-color: #cbd5e1;
|
||||
}
|
||||
|
||||
.routine-detail__result-icon {
|
||||
font-size: 36px;
|
||||
margin-bottom: 10px;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.routine-detail__result-name {
|
||||
font-size: 15px;
|
||||
font-weight: 600;
|
||||
color: #1e293b;
|
||||
word-break: break-all;
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 2;
|
||||
overflow: hidden;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
.routine-detail__panel .milestone-timeline {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
Reference in New Issue
Block a user