Files
baron_qa_write/SW문의_소스패키지/assets/css/inquiry.css
T
root 308c06516c
Deploy EG-BIM QA Gateway / deploy (push) Successful in 1m0s
fix: 전체 UI 개선
2026-11-02 13:26:14 +09:00

184 lines
16 KiB
CSS

.inquiry-page { --inquiry-blue: #164b91; --inquiry-dark: #26374f; --inquiry-soft: #edf2f6; padding-top: 92px; color: #202a38; }
.inquiry-page *, .inquiry-dialog * { box-sizing: border-box; }
.inquiry-page button, .inquiry-dialog button { font: inherit; }
.inquiry-sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; overflow: hidden !important; clip-path: inset(50%); white-space: nowrap; }
.inquiry-page :focus-visible, .inquiry-dialog :focus-visible { outline: 2px solid #0c367f; outline-offset: 3px; }
.inquiry-page input, .inquiry-dialog input, .inquiry-dialog textarea { user-select: text; }
.inquiry-hero { --inquiry-hero-shade: transparent; height: 480px; position: relative; background: #0b2743 linear-gradient(var(--inquiry-hero-shade), var(--inquiry-hero-shade)) center / cover no-repeat; background-image: linear-gradient(var(--inquiry-hero-shade), var(--inquiry-hero-shade)), url(../img/inquiry-hero.webp); }
.inquiry-hero__copy { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; text-align: center; padding: 40px 24px; }
.inquiry-hero h1 { font-size: 70px; font-weight: 700; line-height: 1.4; letter-spacing: -0.04em; }
.inquiry-hero p { font-size: 22px; line-height: 1.6; }
.inquiry-workspace { position: relative; z-index: 1; width: min(1248px, 100%); padding: 0 24px; margin: -98px auto 120px; }
.inquiry-tabs-shell { --inquiry-tab-curve: 28px; padding: 19px 32px 0; border-radius: 48px 48px 0 0; background: linear-gradient(180deg, #174b64a6, #082f43d9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 1px 0 #74c7f4b3, inset 0 0 0 1px #5fadd666, inset 0 8px 16px #ffffff12, 0 -18px 12px #0a2f4843; }
.inquiry-tabs { display: flex; gap: 60px; position: relative; isolation: isolate; }
.inquiry-tabs button { position: relative; flex: 1; min-width: 0; min-height: 76px; padding: 8px 12px 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 0; border-radius: 34px 34px 0 0; color: #b9d4e0a6; background: transparent; cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease; }
.inquiry-tabs button:not([aria-selected="true"]):hover { color: #d6f0ff; background: #ffffff12; }
.inquiry-tabs [aria-selected="true"] { z-index: 1; color: #00a2ef; background: linear-gradient(180deg, #e8f8ff 0%, #fff 58%); box-shadow: inset 0 2px 0 #ffffffb3, 0 -3px 10px #163f5b08; }
/* Concave lower corners join the selected tab to the white board beneath it. */
.inquiry-tabs [aria-selected="true"]::before,
.inquiry-tabs [aria-selected="true"]::after { content: ""; position: absolute; bottom: 0; width: var(--inquiry-tab-curve); height: var(--inquiry-tab-curve); pointer-events: none; }
.inquiry-tabs [aria-selected="true"]::before { left: calc(-1 * var(--inquiry-tab-curve)); background: radial-gradient(circle at 0 0, transparent calc(var(--inquiry-tab-curve) - 0.5px), #fff var(--inquiry-tab-curve)); }
.inquiry-tabs [aria-selected="true"]::after { right: calc(-1 * var(--inquiry-tab-curve)); background: radial-gradient(circle at 100% 0, transparent calc(var(--inquiry-tab-curve) - 0.5px), #fff var(--inquiry-tab-curve)); }
.inquiry-tab-logo { width: 156px; max-width: 94%; height: 33px; display: flex; align-items: center; justify-content: center; }
.inquiry-tab-logo img { display: block; max-width: 100%; max-height: 33px; object-fit: contain; opacity: 0.48; filter: brightness(0) invert(1); transition: opacity 0.2s ease; }
.inquiry-tabs [aria-selected="true"] .inquiry-tab-logo img { opacity: 1; filter: none; }
.inquiry-tabs button:not([aria-selected="true"]):hover .inquiry-tab-logo img { opacity: 0.8; }
.inquiry-tab-description { font-size: 16px; line-height: 1.5; font-weight: 500; letter-spacing: -0.02em; white-space: nowrap; }
.inquiry-board { padding: 72px 6px 0; background: #fff; }
.inquiry-board__heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 28px; }
.inquiry-board h2 { font-size: 24px; line-height: 1.5; font-weight: 600; text-align: left; word-break: keep-all; }
.inquiry-remote { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid #c8d9ef; border-radius: 999px; color: var(--inquiry-blue); background: #fff; font-size: 14px; font-weight: 600; line-height: 1.4; white-space: nowrap; transition: background-color 0.2s ease; }
.inquiry-remote:hover { background: #f0f5fc; }
.inquiry-remote svg { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.inquiry-controls { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 28px; }
.inquiry-filters { display: flex; align-items: center; gap: 24px; flex-shrink: 0; }
.inquiry-categories { display: flex; gap: 6px; border: 0; }
.inquiry-categories label { position: relative; cursor: pointer; }
.inquiry-categories input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.inquiry-categories span { display: flex; align-items: center; justify-content: center; height: 44px; min-width: 60px; padding: 0 16px; border-radius: 999px; color: #758094; font-size: 15px; }
.inquiry-categories label:hover span { background: var(--inquiry-soft); }
.inquiry-categories input:checked + span { color: var(--inquiry-blue); background: #edf3fd; font-weight: 700; }
.inquiry-categories input:focus-visible + span { outline: 2px solid #0c367f; outline-offset: 3px; }
.inquiry-mine { display: inline-flex; align-items: center; gap: 8px; color: #697386; font-size: 13px; white-space: nowrap; cursor: pointer; }
.inquiry-mine input { appearance: auto; width: 16px; height: 16px; accent-color: var(--inquiry-blue); }
.inquiry-search { width: min(360px, 100%); display: flex; align-items: center; gap: 8px; padding: 0 6px 0 20px; border: 1px solid #e6e9ed; border-radius: 999px; background: #f7f8fa; }
.inquiry-search input { flex: 1; min-width: 0; width: 100%; height: 44px; border: 0; padding: 0; color: #273448; font-size: 14px; background: transparent; }
.inquiry-search input::placeholder { color: #9aa2b0; }
.inquiry-search:focus-within { outline: 2px solid #528bdc; outline-offset: 2px; }
.inquiry-search input:focus { outline: none; }
.inquiry-search-button { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 36px; height: 36px; border: 0; border-radius: 50%; color: #35445b; background: transparent; cursor: pointer; }
.inquiry-search-button:hover { background: #e9eef6; }
.inquiry-search-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.inquiry-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 45px; padding: 0 20px; border: 1px solid transparent; border-radius: 3px; background: #27241d; color: #fff; font-size: 16px !important; font-weight: 700 !important; white-space: nowrap; cursor: pointer; }
.inquiry-button:hover { background: #454035; }
.inquiry-button svg { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.inquiry-table-scroll { overflow-x: auto; scrollbar-width: thin; }
.inquiry-scroll-hint { display: none; }
.inquiry-table { table-layout: fixed; min-width: 1024px; width: 100%; font-size: 16px; }
.inquiry-table .col-number { width: 5%; }
.inquiry-table .col-category { width: 8%; }
.inquiry-table .col-company, .inquiry-table .col-team { width: 11%; }
.inquiry-table .col-author { width: 8%; }
.inquiry-table .col-date { width: 10%; }
.inquiry-table .col-status { width: 9%; }
.inquiry-table th { height: 48px; color: #657083; border-top: 1.5px solid var(--inquiry-dark); border-bottom: 1px solid #e5e9ef; font-weight: 500; text-align: center; white-space: nowrap; }
.inquiry-table td { height: 60px; padding: 0 10px; text-align: center; color: #555; border-bottom: 1px solid #eee; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inquiry-table .inquiry-notice { background: #f6f8fc; font-weight: 500; }
.inquiry-notice .inquiry-subject { color: var(--inquiry-blue); }
.inquiry-table tbody tr:hover { background: #fafafa; }
.inquiry-table .inquiry-subject { text-align: left; }
.inquiry-subject button { display: flex; align-items: center; gap: 6px; width: 100%; color: inherit; text-align: left; }
.inquiry-subject button:hover { color: #08734c; }
.inquiry-subject button > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inquiry-comments { display: inline-flex; align-items: center; gap: 2px; color: #008cff; font-size: 14px; font-weight: 700; flex-shrink: 0; }
.inquiry-comments svg { width: 15px; height: 15px; fill: currentColor; }
.inquiry-status { display: inline-block; padding: 6px 10px; border-radius: 4px; font-size: 14px; line-height: 1.5; font-weight: 600; }
.inquiry-status--new { color: #ef4444; background: #ef44441a; }
.inquiry-status--done { color: #38b000; background: #38b00014; }
.inquiry-status--review, .inquiry-status--patch { color: #777; background: #f0f0f0; }
.inquiry-table .inquiry-empty { height: 280px; white-space: normal; }
.inquiry-pagination { display: flex; justify-content: center; align-items: center; gap: 12px; margin: 30px 0; }
.inquiry-pagination button { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; font-size: 14px; color: #555; }
.inquiry-pagination [aria-current="page"] { background: #edf3fd; color: var(--inquiry-blue); }
.inquiry-pagination button:disabled { opacity: 0.3; cursor: default; }
.inquiry-pagination button:not(:disabled):hover { background: #eee; color: #111; }
.inquiry-board__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.inquiry-preview-note { color: #999; font-size: 13px; font-weight: 400; line-height: 1.6; }
.inquiry-write { min-width: 120px; border-radius: 999px; }
/* The banner starts below the fixed header, which remains legible on its white background. */
body:has(.inquiry-page) header { background: #fff; }
body:has(.inquiry-page) header .logo_box a.logo { background-color: #0c367f; }
body:has(.inquiry-page) header .header_inner .btn_menu div { background-color: #000; }
body:has(.inquiry-page) header .header_R .language a,
body:has(.inquiry-page) header nav ol li.depth1 > span { color: #000; }
body:has(.inquiry-page) header .header_R .language::before { background-image: url(../img/ico_language.svg); }
body:has(.inquiry-page) header .header_R .language a:first-child::after { background: #000; }
.inquiry-dialog { position: fixed; inset: 0; width: min(780px, calc(100% - 40px)); max-height: 88dvh; overflow: auto; margin: auto; border: 0; border-radius: 12px; padding: 32px; color: #222; background: #fff; box-shadow: 0 16px 60px #0004; }
.inquiry-dialog::backdrop { background: #17212b99; }
.inquiry-dialog__heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-bottom: 2px solid #27241d; padding-bottom: 20px; margin-bottom: 20px; }
.inquiry-dialog h2 { font-size: 24px; font-weight: 700; line-height: 1.5; word-break: keep-all; }
.inquiry-close { font-size: 32px !important; line-height: 1; width: 36px; height: 36px; flex-shrink: 0; }
.inquiry-detail__meta { color: #777; font-size: 14px; line-height: 1.8; }
.inquiry-detail__body { min-height: 180px; padding: 28px 0; line-height: 1.8; white-space: pre-line; user-select: text; }
.inquiry-dialog__actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 24px; }
.inquiry-button--light { color: #333; background: #eee; }
.inquiry-button--light:hover { background: #ddd; }
.inquiry-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 24px 0; }
.inquiry-form-grid label, .inquiry-form-wide { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; }
.inquiry-form-wide { margin-top: 20px; }
.inquiry-dialog input, .inquiry-dialog select, .inquiry-dialog textarea { width: 100%; border: 1px solid #ddd; border-radius: 3px; padding: 10px 12px; min-height: 44px; font-size: 14px; background: #fff; font-weight: 400; }
.inquiry-dialog textarea { resize: vertical; }
.inquiry-dialog input:focus, .inquiry-dialog select:focus, .inquiry-dialog textarea:focus { border: 1px solid #1d8467; outline: 2px solid #1d846733; }
.inquiry-form-feedback { font-size: 14px; color: #08734c; margin-top: 16px; }
body:has(.inquiry-dialog[open]) { overflow: hidden; }
/* Lock background scrolling only while a dialog is open; !important is needed to override layout.css html/body { overflow: visible !important }. */
html.inquiry-modal-open,
html.inquiry-modal-open body { overflow: hidden !important; }
@media (max-width: 1400px) {
.inquiry-page { padding-top: 50px; }
}
@media (max-width: 1000px) {
.inquiry-scroll-hint { display: block; margin: 0 0 12px; text-align: right; color: #888; font-size: 12px; }
.inquiry-controls { flex-wrap: wrap; gap: 20px; }
.inquiry-search { width: 100%; max-width: none; }
}
@media (max-width: 600px) {
.inquiry-hero { --inquiry-hero-shade: rgba(5, 24, 44, 0.38); height: 340px; background-position: 22% center; }
.inquiry-hero h1 { font-size: 48px; }
.inquiry-hero p { font-size: 17px; }
.inquiry-workspace { margin: -96px auto 72px; padding: 0 16px; }
.inquiry-tabs-shell { --inquiry-tab-curve: 13px; padding: 12px 13px 0; border-radius: 30px 30px 0 0; }
.inquiry-tabs { gap: 5px; }
.inquiry-tabs button { min-height: 84px; padding: 8px 4px 12px; gap: 4px; border-radius: 22px 22px 0 0; }
.inquiry-tab-logo { width: 145px; max-width: 100%; height: 28px; }
.inquiry-tab-logo img { height: auto; max-height: 28px; }
.inquiry-tabs [data-service="egbim"] img { width: 49px; height: 25px; }
.inquiry-tabs [data-service="tova"] img { width: 80px; }
.inquiry-tabs [data-service="gaia"] img { width: 58px; }
.inquiry-tab-description { display: flex; align-items: center; justify-content: center; min-height: 29px; font-size: 11px; line-height: 1.3; white-space: normal; word-break: keep-all; }
.inquiry-board { padding: 24px 4px 0; }
.inquiry-board__heading { flex-wrap: nowrap; gap: 12px; margin-bottom: 22px; }
.inquiry-board h2 { flex: 1 1 auto; font-size: 20px; }
.inquiry-board__heading .inquiry-remote { flex-shrink: 0; margin-left: auto; }
.inquiry-remote { gap: 6px; min-height: 40px; padding: 0 12px; font-size: 12px; }
.inquiry-remote svg { width: 18px; height: 18px; }
.inquiry-filters { width: 100%; flex-wrap: wrap; gap: 16px; }
.inquiry-categories { width: 100%; gap: 6px; }
.inquiry-categories label { flex: 1; }
.inquiry-categories span { min-width: 0; padding: 0 12px; height: 44px; font-size: 14px; }
.inquiry-controls { padding-bottom: 24px; }
.inquiry-search input { font-size: 16px; }
.inquiry-search-button { width: 40px; height: 40px; }
.inquiry-board__bottom { align-items: flex-end; }
.inquiry-preview-note { font-size: 12px; }
.inquiry-dialog { padding: 24px 20px; width: calc(100% - 24px); }
.inquiry-dialog h2 { font-size: 20px; }
.inquiry-form-grid { grid-template-columns: 1fr; gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
.inquiry-tabs button, .inquiry-tab-logo img, .inquiry-remote { transition: none; }
}
/* English labels use the same layout, with room for longer words. */
html:lang(en) .inquiry-table { min-width: 1180px; font-size: 14px; }
html:lang(en) .inquiry-table .col-number { width: 6%; }
html:lang(en) .inquiry-table .col-category { width: 9%; }
html:lang(en) .inquiry-table .col-company { width: 12%; }
html:lang(en) .inquiry-table .col-status { width: 10%; }
@media (max-width: 600px) {
html:lang(en) .inquiry-hero h1 { font-size: 40px; }
html:lang(en) .inquiry-categories span { padding: 0 7px; font-size: 12px; }
}
@media (max-width: 600px) {
html:lang(en) .inquiry-tabs button { padding: 6px 4px 10px; gap: 3px; }
html:lang(en) .inquiry-tab-description { min-height: 36px; font-size: 10px; line-height: 1.2; }
}
@media (max-width: 360px) {
html:lang(en) .inquiry-categories span { padding: 0 3px; font-size: 11px; white-space: nowrap; }
}