5e8d08f1af
- 포탈 미게시 API 필터 안내 배너 HTML 및 JS 추가 - 조회 시 API 명 표시 및 API 옵션 외 필터 유지 로직 변경
853 lines
20 KiB
SCSS
853 lines
20 KiB
SCSS
// ============================================================
|
|
// API Status 페이지 (/apistatus, /apistatus/issues)
|
|
// 설계: architecture/01-api-status/02-screen-design
|
|
// 타이틀 배너: Figma eapim-portal node 1:16
|
|
// ============================================================
|
|
|
|
// 타이틀 배너 — 레이아웃의 .container 안에 놓이므로 컨테이너 폭을 따른다
|
|
.as-title-banner {
|
|
// 상단 여백은 fixed 헤더(80px) 아래로 배너를 내리기 위한 값이다
|
|
margin: 44px 0 28px;
|
|
border-radius: 12px;
|
|
background: linear-gradient(110deg, #003080 0%, #0049b4 60%, #066ae5 100%);
|
|
color: #fff;
|
|
overflow: hidden;
|
|
|
|
.as-title-banner-inner {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
flex-wrap: wrap;
|
|
padding: 32px;
|
|
}
|
|
|
|
h1 {
|
|
margin: 0;
|
|
font-size: 24px;
|
|
font-weight: 700;
|
|
letter-spacing: -0.02em;
|
|
color: #fff;
|
|
}
|
|
|
|
.as-title-meta {
|
|
text-align: right;
|
|
|
|
p { margin: 0; font-weight: 400; }
|
|
}
|
|
|
|
.as-title-meta-main {
|
|
font-size: 13px;
|
|
color: #fff;
|
|
|
|
strong { font-weight: 500; }
|
|
}
|
|
|
|
.as-title-meta-sub {
|
|
margin-top: 2px;
|
|
font-size: 11px;
|
|
color: #c9d1dc;
|
|
}
|
|
|
|
.as-title-dot {
|
|
display: inline-block;
|
|
width: 8px;
|
|
height: 8px;
|
|
margin-right: 6px;
|
|
border-radius: 50%;
|
|
background: #56e3a6;
|
|
box-shadow: 0 0 0 4px rgba(86, 227, 166, 0.25);
|
|
}
|
|
|
|
@media (max-width: 720px) {
|
|
.as-title-banner-inner { padding: 24px 20px; }
|
|
|
|
h1 { font-size: 20px; }
|
|
|
|
.as-title-meta { text-align: left; }
|
|
}
|
|
}
|
|
|
|
.api-status {
|
|
// ---- 토큰 (설계서 색상 규격) ----
|
|
--as-ok: #1b8c4a;
|
|
--as-ok-bg: #e7f6ec;
|
|
--as-warn: #c77800;
|
|
--as-warn-bg: #fef3c7;
|
|
--as-err: #c8362f;
|
|
--as-err-bg: #feeae7;
|
|
--as-info: #0a66c2;
|
|
--as-info-bg: #e7f0fb;
|
|
--as-both: #6b21a8;
|
|
--as-gray-bg: #eef1f5;
|
|
// 이슈 없음 = 정상. API Status 메인 가동률 바와 같은 색을 쓴다
|
|
--as-none-bg: var(--as-ok);
|
|
--as-border: #e0e6f1;
|
|
--as-border-strong: #d1d5db;
|
|
--as-text: #020616;
|
|
--as-text-2: #252b37;
|
|
--as-text-3: #4b5563;
|
|
--as-muted: #6b7280;
|
|
--as-radius: 12px;
|
|
--as-pill: 999px;
|
|
|
|
display: grid;
|
|
gap: 20px;
|
|
padding: 0 0 70px;
|
|
|
|
// 상단 헤더가 fixed 라 브레드크럼 위를 덮는다. 첫 카드가 헤더에 붙지 않도록 띄운다.
|
|
&.is-standalone { padding-top: 44px; }
|
|
|
|
// 제목(h1~h3) 외 본문은 기본 굵기를 쓴다.
|
|
// 포털 전역 타이포가 본문을 600 으로 잡고 있어 페이지 범위에서 되돌린다.
|
|
font-weight: 400;
|
|
|
|
p,
|
|
span,
|
|
li,
|
|
a,
|
|
td,
|
|
th,
|
|
label,
|
|
button,
|
|
input,
|
|
select { font-weight: 400; }
|
|
|
|
b,
|
|
strong { font-weight: 500; }
|
|
|
|
// ---------------- 공통 카드/배지 ----------------
|
|
.as-card {
|
|
background: #fff;
|
|
border: 1px solid var(--as-border);
|
|
border-radius: var(--as-radius);
|
|
padding: 24px;
|
|
box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
|
|
}
|
|
|
|
.as-card-head {
|
|
display: flex;
|
|
align-items: baseline;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
margin-bottom: 14px;
|
|
|
|
h2 {
|
|
margin: 0;
|
|
font-size: 18px;
|
|
letter-spacing: -0.01em;
|
|
color: var(--as-text);
|
|
}
|
|
|
|
.as-desc {
|
|
margin: 4px 0 0;
|
|
font-size: 13px;
|
|
color: var(--as-muted);
|
|
}
|
|
}
|
|
|
|
.as-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
font-size: 11px;
|
|
font-weight: 500;
|
|
padding: 4px 10px;
|
|
border-radius: var(--as-pill);
|
|
letter-spacing: 0.02em;
|
|
white-space: nowrap;
|
|
|
|
&.is-incident,
|
|
&.is-outage { background: var(--as-err-bg); color: var(--as-err); }
|
|
&.is-maintenance { background: var(--as-info-bg); color: var(--as-info); }
|
|
&.is-degraded { background: var(--as-warn-bg); color: var(--as-warn); }
|
|
&.is-normal { background: var(--as-ok-bg); color: var(--as-ok); }
|
|
&.is-muted { background: var(--as-gray-bg); color: var(--as-text-3); }
|
|
}
|
|
|
|
.as-section-title {
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
margin: 6px 4px 14px;
|
|
|
|
h2 {
|
|
margin: 0;
|
|
font-size: 20px;
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
.as-desc { font-size: 13px; color: var(--as-muted); }
|
|
|
|
.as-count {
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
color: var(--as-muted);
|
|
background: #f6f9fb;
|
|
padding: 2px 8px;
|
|
border-radius: var(--as-pill);
|
|
}
|
|
}
|
|
|
|
.as-empty {
|
|
color: var(--as-muted);
|
|
font-size: 14px;
|
|
padding: 26px;
|
|
background: #fff;
|
|
border: 1px dashed var(--as-border);
|
|
border-radius: var(--as-radius);
|
|
text-align: center;
|
|
}
|
|
|
|
.as-api-pills {
|
|
display: flex;
|
|
gap: 6px;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
margin-top: 12px;
|
|
font-size: 13px;
|
|
color: var(--as-text-3);
|
|
|
|
.as-api-pill {
|
|
background: var(--as-gray-bg);
|
|
color: var(--as-text-2);
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
padding: 4px 10px;
|
|
border-radius: var(--as-pill);
|
|
}
|
|
|
|
// 오픈 API 목록에 있는 API — 상세로 이동
|
|
a.as-api-pill {
|
|
text-decoration: none;
|
|
transition: background 0.15s, color 0.15s;
|
|
|
|
&:hover,
|
|
&:focus-visible {
|
|
background: var(--as-info-bg);
|
|
color: var(--as-info);
|
|
}
|
|
}
|
|
|
|
// 목록에 없는 API — 링크 없음, 채도를 낮춰 구분
|
|
.as-api-pill.is-unlinked {
|
|
background: #f3f5f8;
|
|
color: var(--as-muted);
|
|
cursor: default;
|
|
}
|
|
}
|
|
|
|
// ---------------- 진행 중 장애 카드 ----------------
|
|
.as-alert-card {
|
|
border-left: 4px solid var(--as-err);
|
|
|
|
.as-alert-head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.as-alert-title {
|
|
margin: 8px 0 6px;
|
|
font-size: 20px;
|
|
color: var(--as-err);
|
|
}
|
|
|
|
.as-meta { font-size: 13px; color: var(--as-text-3); }
|
|
|
|
.as-alert-timeline {
|
|
margin-top: 16px;
|
|
border-top: 1px dashed var(--as-border);
|
|
padding-top: 14px;
|
|
display: grid;
|
|
gap: 10px;
|
|
}
|
|
|
|
.as-tl-row {
|
|
display: grid;
|
|
grid-template-columns: 60px 76px 1fr;
|
|
gap: 12px;
|
|
font-size: 13px;
|
|
|
|
.as-tl-time {
|
|
color: var(--as-muted);
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.as-tl-who {
|
|
font-size: 11px;
|
|
font-weight: 500;
|
|
text-align: center;
|
|
height: -webkit-fit-content;
|
|
height: fit-content;
|
|
padding: 2px 8px;
|
|
border-radius: var(--as-pill);
|
|
background: var(--as-gray-bg);
|
|
color: var(--as-text-2);
|
|
|
|
&.is-system { background: var(--as-info-bg); color: var(--as-info); }
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
// 진행 중 장애가 노출 상한을 넘을 때 안내
|
|
.as-alert-overflow {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
padding: 14px 20px;
|
|
border: 1px dashed var(--as-err);
|
|
border-radius: var(--as-radius);
|
|
background: var(--as-err-bg);
|
|
font-size: 13px;
|
|
color: var(--as-err);
|
|
|
|
a { color: var(--as-err); font-weight: 500; text-decoration: none; }
|
|
}
|
|
|
|
// ---------------- 90일 서비스 상태 ----------------
|
|
.as-uptime {
|
|
.as-bar-chart {
|
|
display: flex;
|
|
gap: 2px;
|
|
align-items: flex-end;
|
|
height: 56px;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.as-axis {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-top: 14px;
|
|
font-size: 11px;
|
|
color: var(--as-muted);
|
|
}
|
|
}
|
|
|
|
.as-bar {
|
|
flex: 1 0 4px;
|
|
height: 100%;
|
|
border: 0;
|
|
padding: 0;
|
|
border-radius: 2px;
|
|
background: var(--as-ok);
|
|
cursor: pointer;
|
|
transition: opacity 0.15s;
|
|
|
|
&.is-outage { background: var(--as-err); }
|
|
&.is-maintenance { background: var(--as-info); }
|
|
&.is-degraded { background: var(--as-warn); }
|
|
&:hover { opacity: 0.75; }
|
|
}
|
|
|
|
.as-legend {
|
|
display: flex;
|
|
gap: 14px;
|
|
flex-wrap: wrap;
|
|
margin-top: 18px;
|
|
font-size: 12px;
|
|
color: var(--as-muted);
|
|
|
|
.as-sw {
|
|
display: inline-block;
|
|
width: 10px;
|
|
height: 10px;
|
|
border-radius: 2px;
|
|
margin-right: 4px;
|
|
vertical-align: middle;
|
|
|
|
&.is-ok { background: var(--as-ok); }
|
|
&.is-outage { background: var(--as-err); }
|
|
&.is-maintenance { background: var(--as-info); }
|
|
&.is-degraded { background: var(--as-warn); }
|
|
&.is-none { background: var(--as-none-bg); }
|
|
&.is-both { background: var(--as-both); }
|
|
}
|
|
}
|
|
|
|
// ---------------- My APIs ----------------
|
|
.as-my-apis {
|
|
table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 13px;
|
|
}
|
|
|
|
th,
|
|
td { text-align: left; padding: 12px 14px; }
|
|
|
|
th {
|
|
background: #f6f9fb;
|
|
color: var(--as-text-3);
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
border-bottom: 1px solid var(--as-border);
|
|
}
|
|
|
|
tbody tr {
|
|
border-bottom: 1px solid var(--as-border);
|
|
cursor: pointer;
|
|
|
|
&:last-child { border-bottom: 0; }
|
|
&:hover { background: #f6f9fb; }
|
|
}
|
|
|
|
.as-api-name { font-weight: 500; color: var(--as-text); }
|
|
.as-num { font-variant-numeric: tabular-nums; }
|
|
}
|
|
|
|
// ---------------- 점검 사항 ----------------
|
|
.as-maint-list { display: grid; gap: 14px; }
|
|
|
|
.as-maint-card {
|
|
background: #fff;
|
|
border: 1px solid var(--as-border);
|
|
border-left: 4px solid var(--as-info);
|
|
border-radius: var(--as-radius);
|
|
padding: 22px 24px;
|
|
box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
|
|
|
|
&.is-ongoing { border-left-color: var(--as-warn); }
|
|
|
|
.as-maint-head {
|
|
display: flex;
|
|
align-items: baseline;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.as-maint-title { margin: 0; font-size: 18px; font-weight: 700; color: var(--as-text); }
|
|
|
|
.as-schedule {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
color: var(--as-info);
|
|
background: var(--as-info-bg);
|
|
padding: 4px 12px;
|
|
border-radius: var(--as-pill);
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
&.is-ongoing .as-schedule { color: var(--as-warn); background: var(--as-warn-bg); }
|
|
|
|
.as-maint-body { margin: 14px 0 12px; font-size: 14px; line-height: 1.6; color: var(--as-text-3); }
|
|
|
|
.as-maint-meta {
|
|
text-align: right;
|
|
font-size: 12px;
|
|
color: var(--as-muted);
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
}
|
|
|
|
// ---------------- 지난 이슈 / 이슈 이력 카드 ----------------
|
|
.as-issue-list { display: grid; gap: 24px; }
|
|
|
|
.as-issue-group {
|
|
.as-date-head {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
width: 100%;
|
|
margin: 0 4px 10px;
|
|
padding-bottom: 8px;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
color: var(--as-text-2);
|
|
border-bottom: 1px solid var(--as-border);
|
|
}
|
|
}
|
|
|
|
.as-issue-card {
|
|
background: #fff;
|
|
border: 1px solid var(--as-border);
|
|
border-radius: var(--as-radius);
|
|
padding: 22px 26px 24px;
|
|
box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
|
|
|
|
&.is-incident { border-left: 4px solid var(--as-err); }
|
|
&.is-maintenance { border-left: 4px solid var(--as-info); }
|
|
|
|
.as-issue-meta-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
font-size: 12px;
|
|
color: var(--as-muted);
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.as-issue-title {
|
|
margin: 0 0 18px;
|
|
font-size: 19px;
|
|
font-weight: 800;
|
|
line-height: 1.3;
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
&.is-incident .as-issue-title { color: var(--as-err); }
|
|
&.is-maintenance .as-issue-title { color: var(--as-info); }
|
|
}
|
|
|
|
// 세로 타임라인
|
|
.as-tl-block {
|
|
position: relative;
|
|
padding-left: 24px;
|
|
|
|
&::before {
|
|
content: '';
|
|
position: absolute;
|
|
left: 6px;
|
|
top: 8px;
|
|
bottom: 8px;
|
|
width: 1px;
|
|
background: var(--as-border);
|
|
}
|
|
}
|
|
|
|
.as-tl-item {
|
|
position: relative;
|
|
padding-bottom: 22px;
|
|
|
|
&:last-child { padding-bottom: 0; }
|
|
|
|
+ .as-tl-item {
|
|
margin-top: 4px;
|
|
padding-top: 22px;
|
|
border-top: 1px dashed var(--as-border);
|
|
}
|
|
|
|
.as-dot {
|
|
position: absolute;
|
|
left: -24px;
|
|
top: 6px;
|
|
width: 12px;
|
|
height: 12px;
|
|
border-radius: 50%;
|
|
border: 2px solid #fff;
|
|
background: var(--as-muted);
|
|
box-shadow: 0 0 0 1px var(--as-border-strong);
|
|
}
|
|
|
|
&.state-RESOLVED .as-dot { background: var(--as-ok); box-shadow: 0 0 0 1px var(--as-ok); }
|
|
&.state-MONITORING .as-dot { background: var(--as-warn); box-shadow: 0 0 0 1px var(--as-warn); }
|
|
&.state-IDENTIFIED .as-dot { background: #c95a0f; box-shadow: 0 0 0 1px #c95a0f; }
|
|
&.state-INVESTIGATING .as-dot { background: var(--as-warn); box-shadow: 0 0 0 1px var(--as-warn); }
|
|
&.state-CANCELED .as-dot { background: var(--as-muted); box-shadow: 0 0 0 1px var(--as-muted); }
|
|
|
|
.as-tl-label { margin: 0 0 8px; font-size: 14px; font-weight: 500; color: var(--as-text); }
|
|
.as-tl-body { margin: 0 0 8px; font-size: 14px; line-height: 1.6; color: var(--as-text); white-space: pre-line; }
|
|
|
|
.as-tl-ts {
|
|
margin: 0;
|
|
font-size: 13px;
|
|
color: var(--as-muted);
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
}
|
|
|
|
.as-more-link {
|
|
display: block;
|
|
margin-top: 14px;
|
|
text-align: right;
|
|
font-size: 13px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
// ---------------- 이슈 이력 페이지 ----------------
|
|
.as-index-bar {
|
|
display: flex;
|
|
gap: 2px;
|
|
align-items: stretch;
|
|
height: 44px;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.as-index-cell {
|
|
flex: 1 0 4px;
|
|
border: 0;
|
|
padding: 0;
|
|
border-radius: 2px;
|
|
background: var(--as-none-bg); // 이슈 없음 = 정상(메인 가동률 바와 동일)
|
|
cursor: pointer;
|
|
transition: opacity 0.15s;
|
|
|
|
&.has-incident { background: var(--as-err); }
|
|
&.has-maintenance { background: var(--as-info); }
|
|
&.has-both { background: var(--as-both); }
|
|
&.is-selected { outline: 2px solid var(--as-text-2); outline-offset: 1px; }
|
|
&:hover { opacity: 0.75; }
|
|
}
|
|
|
|
.as-filter-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
flex-wrap: wrap;
|
|
background: #fff;
|
|
border: 1px solid var(--as-border);
|
|
border-radius: var(--as-radius);
|
|
padding: 14px 18px;
|
|
font-size: 13px;
|
|
|
|
.as-filter-field {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.as-filter-label {
|
|
font-weight: 500;
|
|
color: var(--as-text-2);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.as-filter-right {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-left: auto;
|
|
color: var(--as-muted);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.as-filter-count b { color: var(--as-text); }
|
|
}
|
|
|
|
.as-input {
|
|
height: 34px;
|
|
padding: 0 10px;
|
|
border: 1px solid var(--as-border-strong);
|
|
border-radius: 6px;
|
|
font-size: 13px;
|
|
color: var(--as-text);
|
|
background: #fff;
|
|
max-width: 100%;
|
|
|
|
&:focus {
|
|
outline: none;
|
|
border-color: var(--as-info);
|
|
box-shadow: 0 0 0 2px rgba(10, 102, 194, 0.15);
|
|
}
|
|
}
|
|
|
|
// 값 지우기 버튼이 붙는 입력 컨트롤 (날짜 / API)
|
|
.as-field-control {
|
|
position: relative;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
|
|
input { padding-right: 30px; }
|
|
|
|
// type=search 의 네이티브 지우기 버튼은 자체 버튼과 중복이라 감춘다
|
|
input[type='search'] {
|
|
-webkit-appearance: none;
|
|
appearance: none;
|
|
|
|
&::-webkit-search-cancel-button,
|
|
&::-webkit-search-decoration { -webkit-appearance: none; appearance: none; display: none; }
|
|
}
|
|
}
|
|
|
|
.as-field-clear {
|
|
position: absolute;
|
|
top: 50%;
|
|
right: 6px;
|
|
transform: translateY(-50%);
|
|
display: none;
|
|
width: 20px;
|
|
height: 20px;
|
|
padding: 0;
|
|
border: 0;
|
|
border-radius: 50%;
|
|
background: var(--as-gray-bg);
|
|
color: var(--as-text-3);
|
|
font-size: 14px;
|
|
line-height: 1;
|
|
cursor: pointer;
|
|
|
|
&:hover { background: var(--as-border-strong); color: var(--as-text); }
|
|
}
|
|
|
|
.as-filter-field.has-value .as-field-clear { display: block; }
|
|
|
|
// 날짜 입력은 네이티브 달력 아이콘과 겹치지 않게 여유를 둔다
|
|
#filterDateInput { padding-right: 52px; }
|
|
|
|
// API 라이브서치 콤보박스
|
|
.as-combo {
|
|
.as-field-control {
|
|
min-width: 240px;
|
|
flex: 1 1 240px;
|
|
}
|
|
|
|
input { width: 100%; }
|
|
|
|
.as-combo-list {
|
|
position: absolute;
|
|
z-index: 20;
|
|
top: calc(100% + 4px);
|
|
left: 0;
|
|
right: 0;
|
|
max-height: 280px;
|
|
margin: 0;
|
|
padding: 4px;
|
|
overflow-y: auto;
|
|
list-style: none;
|
|
background: #fff;
|
|
border: 1px solid var(--as-border-strong);
|
|
border-radius: 8px;
|
|
box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
|
|
}
|
|
|
|
.as-combo-item {
|
|
padding: 8px 10px;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
|
|
&:hover { background: var(--as-info-bg); }
|
|
}
|
|
|
|
.as-combo-empty {
|
|
padding: 10px;
|
|
color: var(--as-muted);
|
|
font-size: 12px;
|
|
text-align: center;
|
|
}
|
|
}
|
|
|
|
// 포탈에 게시되지 않은 API 필터 안내
|
|
.as-unlisted-banner {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 12px 18px;
|
|
border: 1px solid var(--as-border);
|
|
border-left: 4px solid var(--as-muted);
|
|
border-radius: var(--as-radius);
|
|
background: #f6f8fa;
|
|
font-size: 13px;
|
|
color: var(--as-text-3);
|
|
|
|
b { color: var(--as-text); }
|
|
|
|
.as-unlisted-icon {
|
|
flex: 0 0 auto;
|
|
color: var(--as-muted);
|
|
font-size: 15px;
|
|
}
|
|
}
|
|
|
|
.as-pager {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
margin-top: 6px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
// 필터/페이저 버튼 (전역 버튼 클래스에 의존하지 않는다)
|
|
.as-btn {
|
|
min-width: 32px;
|
|
height: 32px;
|
|
padding: 0 12px;
|
|
border: 1px solid var(--as-border-strong);
|
|
border-radius: 6px;
|
|
background: #fff;
|
|
color: var(--as-text-2);
|
|
font-size: 13px;
|
|
line-height: 1;
|
|
cursor: pointer;
|
|
|
|
&:hover { background: #f6f9fb; }
|
|
|
|
&.is-current {
|
|
border-color: var(--as-info);
|
|
background: var(--as-info);
|
|
color: #fff;
|
|
cursor: default;
|
|
}
|
|
}
|
|
|
|
// ---------------- 반응형 ----------------
|
|
@media (max-width: 960px) {
|
|
.as-filter-bar {
|
|
gap: 10px;
|
|
|
|
.as-filter-right { margin-left: 0; width: 100%; justify-content: flex-end; }
|
|
}
|
|
|
|
.as-my-apis {
|
|
table { display: block; overflow-x: auto; white-space: nowrap; }
|
|
}
|
|
}
|
|
|
|
@media (max-width: 720px) {
|
|
gap: 16px;
|
|
padding-bottom: 48px;
|
|
|
|
&.is-standalone { padding-top: 32px; }
|
|
|
|
.as-card { padding: 18px 16px; }
|
|
|
|
.as-card-head { margin-bottom: 12px; }
|
|
|
|
.as-alert-card .as-tl-row { grid-template-columns: 52px 1fr; }
|
|
.as-alert-card .as-tl-who { display: none; }
|
|
.as-alert-card .as-alert-title { font-size: 18px; }
|
|
|
|
// 필터: 라벨 + 입력을 한 줄씩 쌓는다
|
|
.as-filter-bar {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
padding: 14px;
|
|
|
|
.as-filter-field { flex-direction: column; align-items: flex-start; gap: 6px; }
|
|
|
|
// 세로 스택에서는 flex-basis 가 높이로 해석되므로 반드시 해제한다
|
|
.as-input,
|
|
.as-field-control { flex: 0 0 auto; width: 100%; min-width: 0; }
|
|
|
|
.as-filter-right { justify-content: space-between; }
|
|
}
|
|
|
|
.as-index-bar { height: 36px; }
|
|
|
|
.as-issue-card { padding: 18px 16px; }
|
|
.as-issue-title { font-size: 17px; }
|
|
|
|
.as-maint-card { padding: 18px 16px; }
|
|
|
|
.as-uptime .as-bar-chart { height: 44px; }
|
|
|
|
.as-issue-list { gap: 16px; }
|
|
|
|
.as-pager button { min-width: 30px; padding: 0 8px; }
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.as-section-title h2 { font-size: 18px; }
|
|
|
|
.as-legend { gap: 8px; font-size: 11px; }
|
|
|
|
.as-tl-block { padding-left: 18px; }
|
|
.as-tl-item .as-dot { left: -18px; }
|
|
}
|
|
}
|