매매 시그널 알림 화면 수정
This commit is contained in:
@@ -0,0 +1,764 @@
|
||||
/* 매매 시그널 알림 목록 — 갤러리 행 (요약 카드 + 가로 스크롤 차트) */
|
||||
|
||||
.tnl-row--gallery {
|
||||
display: block;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.tnl-row-gallery {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: flex-start;
|
||||
gap: 10px;
|
||||
height: 320px;
|
||||
max-height: 320px;
|
||||
padding: 10px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
/* 가상매매 투자대상 카드(vtd)와 동일한 3단 구성 */
|
||||
.tnl-summary-card {
|
||||
flex: 0 0 544px;
|
||||
width: 544px;
|
||||
height: 300px;
|
||||
max-height: 300px;
|
||||
align-self: flex-start;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
border: 1px solid color-mix(in srgb, var(--accent, #7aa2f7) 28%, var(--se-border, var(--border)));
|
||||
border-radius: 12px;
|
||||
background: var(--se-panel-card-bg, var(--bg2));
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.tnl-summary-card--buy {
|
||||
border-color: color-mix(in srgb, var(--accent, #3f7ef5) 35%, var(--se-border, var(--border)));
|
||||
}
|
||||
|
||||
.tnl-summary-card--sell {
|
||||
border-color: color-mix(in srgb, #ef5350 35%, var(--se-border, var(--border)));
|
||||
}
|
||||
|
||||
.tnl-summary-panel {
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
width: 100%;
|
||||
padding: 14px 16px 12px;
|
||||
border: none;
|
||||
background: transparent;
|
||||
color: inherit;
|
||||
text-align: left;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
overflow: hidden;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.tnl-summary-panel:hover {
|
||||
background: color-mix(in srgb, var(--accent, #7aa2f7) 6%, transparent);
|
||||
}
|
||||
|
||||
/* 1행: 종목명 */
|
||||
.tnl-summary-head {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.tnl-summary-title {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
min-width: 0;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.tnl-summary-ko {
|
||||
font-size: 17px;
|
||||
font-weight: 700;
|
||||
line-height: 1.2;
|
||||
color: var(--text);
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.tnl-summary-sym {
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
color: var(--text3, var(--se-text-muted));
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.tnl-summary-head-actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.tnl-summary-dot {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
/* 2행: 페어 · 시그널 가격 */
|
||||
.tnl-summary-quote {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
flex-shrink: 0;
|
||||
padding: 4px 2px;
|
||||
}
|
||||
|
||||
.tnl-summary-quote-left {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
min-width: 0;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.tnl-summary-arrow {
|
||||
font-size: 11px;
|
||||
line-height: 1;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.tnl-summary-arrow--buy {
|
||||
color: var(--accent, #3f7ef5);
|
||||
}
|
||||
|
||||
.tnl-summary-arrow--sell {
|
||||
color: #ef5350;
|
||||
}
|
||||
|
||||
.tnl-summary-pair {
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
color: var(--text3, var(--se-text-muted));
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.tnl-summary-type {
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.tnl-summary-type--buy {
|
||||
color: var(--accent, #3f7ef5);
|
||||
}
|
||||
|
||||
.tnl-summary-type--sell {
|
||||
color: #ef5350;
|
||||
}
|
||||
|
||||
.tnl-summary-quote-right {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
flex-shrink: 0;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.tnl-summary-price {
|
||||
font-size: 20px;
|
||||
font-weight: 800;
|
||||
font-variant-numeric: tabular-nums;
|
||||
white-space: nowrap;
|
||||
line-height: 1.1;
|
||||
}
|
||||
|
||||
.tnl-summary-price--buy {
|
||||
color: var(--accent, #3f7ef5);
|
||||
}
|
||||
|
||||
.tnl-summary-price--sell {
|
||||
color: #ef5350;
|
||||
}
|
||||
|
||||
/* 3행+: 상세 정보 */
|
||||
.tnl-summary-meta {
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
padding-right: 2px;
|
||||
}
|
||||
|
||||
.tnl-summary-info-row {
|
||||
display: grid;
|
||||
grid-template-columns: 88px minmax(0, 1fr);
|
||||
align-items: start;
|
||||
gap: 10px 14px;
|
||||
}
|
||||
|
||||
.tnl-summary-info-lbl {
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
color: var(--text3, var(--se-text-muted));
|
||||
line-height: 1.4;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.tnl-summary-info-val {
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
color: var(--text2);
|
||||
line-height: 1.45;
|
||||
word-break: break-word;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.tnl-summary-info-val--hi {
|
||||
font-weight: 700;
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
/* 하단: 투자전략 (vtd-target-strategy-field) */
|
||||
.tnl-summary-strategy-field {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
flex-shrink: 0;
|
||||
width: 100%;
|
||||
padding-top: 4px;
|
||||
border-top: 1px solid var(--border);
|
||||
}
|
||||
|
||||
.tnl-summary-strategy-lbl {
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
color: var(--text3, var(--se-text-muted));
|
||||
white-space: nowrap;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.tnl-summary-strategy-box {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
padding: 8px 12px;
|
||||
border-radius: 8px;
|
||||
border: 1px solid var(--se-border, var(--border));
|
||||
background: var(--bg, var(--bg3));
|
||||
color: var(--text);
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
line-height: 1.35;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.tnl-summary-card-actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
padding: 8px 10px;
|
||||
border-top: 1px solid var(--border);
|
||||
background: var(--bg3, var(--se-center-bg));
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.tnl-row-gallery--chart-expanded .tnl-charts-scroll {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.tnl-charts-expanded {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
height: 300px;
|
||||
max-height: 300px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
border-radius: 12px;
|
||||
border: 1px solid var(--se-border, var(--border));
|
||||
background: color-mix(in srgb, var(--bg) 40%, var(--bg2));
|
||||
overflow: hidden;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.tnl-charts-expanded .tnl-chart-card--expanded {
|
||||
flex: 1;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
max-height: none;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
gap: 8px;
|
||||
padding: 0 4px 4px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.tnl-charts-scroll {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
height: 300px;
|
||||
max-height: 300px;
|
||||
overflow-x: auto;
|
||||
overflow-y: hidden;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
overscroll-behavior-x: contain;
|
||||
border-radius: 12px;
|
||||
border: 1px solid var(--se-border, var(--border));
|
||||
background: color-mix(in srgb, var(--bg) 40%, var(--bg2));
|
||||
}
|
||||
|
||||
.tnl-charts-scroll::-webkit-scrollbar {
|
||||
height: 8px;
|
||||
}
|
||||
|
||||
.tnl-charts-scroll::-webkit-scrollbar-thumb {
|
||||
background: color-mix(in srgb, var(--text3) 35%, transparent);
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.tnl-charts-track {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: flex-start;
|
||||
gap: 10px;
|
||||
padding: 10px;
|
||||
height: 100%;
|
||||
box-sizing: border-box;
|
||||
width: max-content;
|
||||
}
|
||||
|
||||
.tnl-chart-card {
|
||||
position: relative;
|
||||
flex: 0 0 300px;
|
||||
width: 300px;
|
||||
height: 280px;
|
||||
max-height: 280px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 6px;
|
||||
border: 1px solid var(--se-border, var(--border));
|
||||
border-radius: 10px;
|
||||
background: var(--se-panel-card-bg, var(--bg2));
|
||||
overflow: hidden;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.tnl-chart-card-body {
|
||||
position: relative;
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.tnl-chart-card--expanded .tnl-chart-card-body {
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
.tnl-chart-card--placeholder {
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.tnl-chart-card-head {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 8px;
|
||||
padding: 8px 10px 0;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.tnl-chart-card-label {
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.tnl-chart-card-meta {
|
||||
font-size: 10px;
|
||||
color: var(--text3);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.tnl-mini-chart-canvas {
|
||||
position: relative;
|
||||
flex: 0 0 236px;
|
||||
height: 236px;
|
||||
max-height: 236px;
|
||||
min-height: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.tnl-mini-chart-canvas--fill {
|
||||
flex: 1 1 auto;
|
||||
height: 100%;
|
||||
max-height: none;
|
||||
}
|
||||
|
||||
.tnl-mini-chart-canvas > .tv-chart-wrap {
|
||||
flex: 1 1 0;
|
||||
min-height: 0;
|
||||
max-height: 100%;
|
||||
width: 100%;
|
||||
overflow: hidden !important;
|
||||
}
|
||||
|
||||
.tnl-mini-chart-loading {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
z-index: 2;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 11px;
|
||||
color: var(--text3);
|
||||
background: color-mix(in srgb, var(--bg2) 80%, transparent);
|
||||
}
|
||||
|
||||
.tnl-mini-chart-placeholder {
|
||||
flex: 0 0 236px;
|
||||
height: 236px;
|
||||
max-height: 236px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 11px;
|
||||
color: var(--text3);
|
||||
}
|
||||
|
||||
.tnl-mini-chart-placeholder--fill {
|
||||
flex: 1;
|
||||
height: 100%;
|
||||
max-height: none;
|
||||
}
|
||||
|
||||
/* 차트 하단 우측 — 펼쳐보기 / 원래보기 */
|
||||
.tnl-chart-view-btn {
|
||||
position: absolute;
|
||||
right: 8px;
|
||||
bottom: 8px;
|
||||
z-index: 4;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
padding: 0;
|
||||
border: 1px solid color-mix(in srgb, var(--accent, #3f7ef5) 35%, var(--se-border, var(--border)));
|
||||
border-radius: 8px;
|
||||
background: color-mix(in srgb, var(--bg2) 88%, transparent);
|
||||
color: var(--accent, #3f7ef5);
|
||||
cursor: pointer;
|
||||
box-shadow: 0 2px 8px color-mix(in srgb, var(--bg) 50%, transparent);
|
||||
transition: background 0.15s, border-color 0.15s, transform 0.1s;
|
||||
}
|
||||
|
||||
.tnl-chart-view-btn:hover {
|
||||
background: color-mix(in srgb, var(--accent, #3f7ef5) 18%, var(--bg2));
|
||||
border-color: var(--accent, #3f7ef5);
|
||||
}
|
||||
|
||||
.tnl-chart-view-btn:active {
|
||||
transform: scale(0.96);
|
||||
}
|
||||
|
||||
.tnl-chart-view-btn--restore {
|
||||
color: var(--text2);
|
||||
border-color: var(--se-border, var(--border));
|
||||
background: color-mix(in srgb, var(--bg3) 92%, transparent);
|
||||
}
|
||||
|
||||
.tnl-chart-view-btn--restore:hover {
|
||||
color: var(--text);
|
||||
border-color: var(--accent, #7aa2f7);
|
||||
background: color-mix(in srgb, var(--accent, #7aa2f7) 12%, var(--bg3));
|
||||
}
|
||||
|
||||
.tnl-muted {
|
||||
font-size: 12px;
|
||||
color: var(--text3);
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.tnl-list--gallery {
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
/* 헤더 — 제목(좌) · 목록/그리드 전환(우) */
|
||||
.tnl-header-row {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
gap: 16px;
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
|
||||
.tnl-header-intro {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.tnl-header-intro .tnl-title {
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
.tnl-header-intro .tnl-sub {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.tnl-header-actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
gap: 8px;
|
||||
flex-shrink: 0;
|
||||
padding-top: 2px;
|
||||
}
|
||||
|
||||
.tnl-layout-toggle {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
/* 그리드 n×n 배치 선택 */
|
||||
.tnl-grid-layout-picker {
|
||||
position: relative;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.tnl-grid-layout-trigger {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
padding: 0;
|
||||
border: 1px solid var(--se-border, var(--border));
|
||||
border-radius: 8px;
|
||||
background: var(--bg2, var(--se-panel-card-bg));
|
||||
color: var(--text2);
|
||||
cursor: pointer;
|
||||
transition: border-color 0.15s, background 0.15s, color 0.15s;
|
||||
}
|
||||
|
||||
.tnl-grid-layout-trigger:hover:not(:disabled) {
|
||||
border-color: var(--accent, #3f7ef5);
|
||||
color: var(--accent, #3f7ef5);
|
||||
background: color-mix(in srgb, var(--accent, #3f7ef5) 10%, var(--bg2));
|
||||
}
|
||||
|
||||
.tnl-grid-layout-trigger--open {
|
||||
border-color: var(--accent, #3f7ef5);
|
||||
color: var(--accent, #3f7ef5);
|
||||
box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent, #3f7ef5) 35%, transparent);
|
||||
}
|
||||
|
||||
.tnl-grid-layout-trigger--disabled {
|
||||
opacity: 0.4;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.tnl-grid-layout-popover {
|
||||
position: absolute;
|
||||
top: calc(100% + 8px);
|
||||
right: 0;
|
||||
z-index: 120;
|
||||
width: min(320px, calc(100vw - 48px));
|
||||
max-height: min(420px, 70vh);
|
||||
overflow-y: auto;
|
||||
padding: 10px 12px 12px;
|
||||
border-radius: 10px;
|
||||
border: 1px solid var(--se-border, var(--border));
|
||||
background: var(--bg2, #1a1f2e);
|
||||
box-shadow:
|
||||
0 12px 32px color-mix(in srgb, var(--bg) 55%, transparent),
|
||||
0 0 0 1px color-mix(in srgb, var(--text3) 12%, transparent);
|
||||
}
|
||||
|
||||
.tnl-grid-layout-popover-title {
|
||||
margin: 0 0 10px;
|
||||
font-size: 11px;
|
||||
font-weight: 700;
|
||||
color: var(--text3);
|
||||
letter-spacing: 0.04em;
|
||||
}
|
||||
|
||||
.tnl-grid-layout-group {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
padding: 4px 0;
|
||||
border-top: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
|
||||
}
|
||||
|
||||
.tnl-grid-layout-group:first-of-type {
|
||||
border-top: none;
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.tnl-grid-layout-group-lbl {
|
||||
flex: 0 0 14px;
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
color: var(--text3);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.tnl-grid-layout-group-row {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 6px;
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.tnl-grid-preset-btn {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 36px;
|
||||
height: 32px;
|
||||
padding: 0;
|
||||
border: 1px solid transparent;
|
||||
border-radius: 6px;
|
||||
background: transparent;
|
||||
color: var(--text2);
|
||||
cursor: pointer;
|
||||
transition: border-color 0.12s, background 0.12s, color 0.12s;
|
||||
}
|
||||
|
||||
.tnl-grid-preset-btn:hover {
|
||||
background: color-mix(in srgb, var(--accent, #3f7ef5) 10%, transparent);
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
.tnl-grid-preset-btn--on {
|
||||
border-color: var(--accent, #3f7ef5);
|
||||
background: color-mix(in srgb, var(--accent, #3f7ef5) 14%, transparent);
|
||||
color: var(--accent, #3f7ef5);
|
||||
}
|
||||
|
||||
.tnl-grid-preset-icon-svg {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* 그리드형 — 목록형과 동일한 알림 상세 카드 · n×n */
|
||||
.tnl-list-wrap.tnl-list-wrap--grid {
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 12px 24px 24px;
|
||||
box-sizing: border-box;
|
||||
container-type: inline-size;
|
||||
container-name: tnl-grid-wrap;
|
||||
}
|
||||
|
||||
ul.tnl-list.tnl-list--grid {
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
width: 100%;
|
||||
display: grid;
|
||||
flex-direction: unset;
|
||||
grid-auto-rows: auto;
|
||||
gap: 14px;
|
||||
align-content: start;
|
||||
align-items: start;
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 4px 4px 16px;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
overscroll-behavior: contain;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
|
||||
@container tnl-grid-wrap (max-width: 640px) {
|
||||
ul.tnl-list.tnl-list--grid {
|
||||
grid-template-columns: minmax(0, 1fr) !important;
|
||||
}
|
||||
}
|
||||
|
||||
@container tnl-grid-wrap (max-width: 960px) {
|
||||
ul.tnl-list.tnl-list--grid.tnl-grid--cols-3,
|
||||
ul.tnl-list.tnl-list--grid.tnl-grid--cols-4,
|
||||
ul.tnl-list.tnl-list--grid.tnl-grid--cols-5 {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
|
||||
}
|
||||
}
|
||||
|
||||
@container tnl-grid-wrap (max-width: 1200px) {
|
||||
ul.tnl-list.tnl-list--grid.tnl-grid--cols-4,
|
||||
ul.tnl-list.tnl-list--grid.tnl-grid--cols-5 {
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
|
||||
}
|
||||
}
|
||||
|
||||
.tnl-row.tnl-row--grid {
|
||||
display: block;
|
||||
min-width: 0;
|
||||
width: 100%;
|
||||
border: none;
|
||||
background: transparent;
|
||||
border-radius: 0;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
/* 목록형과 동일 카드 박스(544×300) — 그리드 셀 너비에 맞춤 */
|
||||
.tnl-row--grid .tnl-summary-card,
|
||||
.tnl-summary-card--grid {
|
||||
flex: none;
|
||||
width: 100%;
|
||||
max-width: none;
|
||||
height: 300px;
|
||||
max-height: 300px;
|
||||
min-height: 300px;
|
||||
}
|
||||
|
||||
.tnl-row--grid.tnl-row--unread .tnl-summary-card {
|
||||
border-color: rgba(122, 162, 247, 0.45);
|
||||
}
|
||||
|
||||
.tnl-row--grid .tnl-summary-card--selected,
|
||||
.tnl-row--grid.tnl-row--selected .tnl-summary-card {
|
||||
border-color: var(--accent, #7aa2f7);
|
||||
box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent, #7aa2f7) 35%, transparent);
|
||||
}
|
||||
|
||||
.tnl-row--gallery.tnl-row--selected .tnl-summary-card,
|
||||
.tnl-row--gallery.tnl-row--selected .tnl-charts-scroll,
|
||||
.tnl-row--gallery.tnl-row--selected .tnl-charts-expanded {
|
||||
border-color: var(--accent, #7aa2f7);
|
||||
box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent, #7aa2f7) 35%, transparent);
|
||||
}
|
||||
|
||||
@container tnl-main (max-width: 900px) {
|
||||
.tnl-row-gallery {
|
||||
flex-direction: column;
|
||||
height: auto;
|
||||
max-height: none;
|
||||
}
|
||||
|
||||
.tnl-summary-card {
|
||||
flex: 0 0 auto;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
max-height: none;
|
||||
}
|
||||
|
||||
.tnl-charts-scroll,
|
||||
.tnl-charts-expanded {
|
||||
height: 300px;
|
||||
max-height: 300px;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user