주식 트레이딩 페이지 고도화

This commit is contained in:
2026-01-28 02:13:56 +09:00
parent 7d01c72e58
commit 8fc7c2cb70
4 changed files with 426 additions and 266 deletions

View File

@@ -45,6 +45,15 @@
gap: 14px;
}
.stock-ideas {
margin: 0;
padding-left: 18px;
color: var(--muted);
font-size: 13px;
display: grid;
gap: 6px;
}
.stock-card__title {
margin: 0;
font-weight: 600;
@@ -133,6 +142,18 @@
grid-column: 1 / -1;
}
.stock-filter-row {
display: grid;
gap: 18px;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
align-items: stretch;
}
.stock-filter-row .stock-panel {
width: 100%;
max-width: none;
}
.stock-panel__head {
display: flex;
justify-content: space-between;
@@ -367,44 +388,66 @@
border-radius: 12px;
padding: 10px;
display: grid;
grid-template-columns: minmax(0, 1.2fr) repeat(4, minmax(0, 0.6fr));
grid-template-columns: minmax(0, 1.2fr) repeat(5, minmax(0, 0.6fr));
gap: 10px;
font-size: 12px;
font-size: 13px;
color: var(--muted);
background: rgba(255, 255, 255, 0.02);
align-items: center;
}
.stock-holdings__name {
margin: 0;
font-weight: 600;
color: var(--text);
font-size: 14px;
}
.stock-holdings__code {
font-size: 12px;
}
.stock-holdings__metric {
display: grid;
gap: 4px;
justify-items: start;
}
.stock-holdings__metric span {
font-size: 11px;
color: var(--muted);
}
.stock-ai {
display: grid;
gap: 12px;
.stock-holdings__metric strong {
font-size: 14px;
color: var(--text);
}
.stock-ai__grid {
display: grid;
gap: 12px;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
.stock-profit {
color: var(--text);
}
.stock-ai__card {
.stock-profit.is-up {
color: #f3a7a7;
}
.stock-profit.is-down {
color: #9fc5ff;
}
.stock-profit.is-flat {
color: var(--muted);
}
.stock-result {
border: 1px solid var(--line);
border-radius: 14px;
padding: 12px;
display: grid;
gap: 10px;
background: rgba(0, 0, 0, 0.2);
margin-top: 10px;
}
.stock-ai__title {
.stock-result__title {
margin: 0;
font-size: 12px;
text-transform: uppercase;
@@ -412,22 +455,53 @@
color: var(--muted);
}
.stock-ai__reason {
margin: 0;
.stock-result pre {
margin: 8px 0 0;
white-space: pre-wrap;
font-size: 12px;
color: var(--muted);
line-height: 1.4;
}
.stock-ai__raw {
.stock-modal {
position: fixed;
inset: 0;
z-index: 50;
display: grid;
place-items: center;
}
.stock-modal__backdrop {
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.55);
}
.stock-modal__card {
position: relative;
width: min(520px, 90vw);
border: 1px solid var(--line);
border-radius: 14px;
padding: 12px;
background: rgba(0, 0, 0, 0.2);
border-radius: 16px;
background: var(--surface);
padding: 16px;
display: grid;
gap: 12px;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.stock-ai__raw pre {
margin: 8px 0 0;
.stock-modal__head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.stock-modal__head h4 {
margin: 0;
font-size: 16px;
}
.stock-modal pre {
margin: 0;
white-space: pre-wrap;
font-size: 12px;
color: var(--muted);