fix: loosen divergence scan list layout with card-style rows
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -4161,6 +4161,132 @@ body.login-page {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.market-vol-rank-list.is-div-scan-list {
|
||||
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
|
||||
gap: 8px;
|
||||
max-height: min(52vh, 420px);
|
||||
padding: 4px 2px 8px;
|
||||
}
|
||||
|
||||
.market-vol-rank-li {
|
||||
list-style: none;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.market-div-scan-meta-title,
|
||||
.div-scan-meta-title {
|
||||
font-size: 0.78rem;
|
||||
color: var(--text);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.market-div-scan-meta-sub,
|
||||
.div-scan-meta-sub {
|
||||
margin-top: 2px;
|
||||
font-size: 0.68rem;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.market-vol-rank-item.is-div-scan {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
gap: 8px;
|
||||
padding: 10px 12px;
|
||||
border: 1px solid var(--border-soft);
|
||||
border-radius: 8px;
|
||||
background: var(--inset-surface);
|
||||
min-height: 4.5rem;
|
||||
}
|
||||
|
||||
.market-vol-rank-item.is-div-scan:hover {
|
||||
border-color: rgba(0, 255, 157, 0.28);
|
||||
background: rgba(0, 255, 157, 0.06);
|
||||
}
|
||||
|
||||
.market-vol-rank-item.is-div-scan.is-active {
|
||||
border-color: rgba(0, 255, 157, 0.45);
|
||||
background: rgba(0, 255, 157, 0.1);
|
||||
}
|
||||
|
||||
.div-scan-row {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.div-scan-head {
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.div-scan-head .market-vol-rank-sym {
|
||||
font-size: 0.92rem;
|
||||
font-weight: 700;
|
||||
flex: 1 1 auto;
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.div-scan-head .market-vol-rank-no {
|
||||
font-size: 0.72rem;
|
||||
}
|
||||
|
||||
.div-scan-head .market-vol-rank-badge {
|
||||
font-size: 0.7rem;
|
||||
padding: 2px 8px;
|
||||
}
|
||||
|
||||
.div-scan-sub {
|
||||
gap: 10px;
|
||||
padding-left: 2px;
|
||||
}
|
||||
|
||||
.div-scan-dir {
|
||||
font-size: 0.8rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.div-scan-dir.is-bull {
|
||||
color: #4cd97f;
|
||||
}
|
||||
|
||||
.div-scan-dir.is-bear {
|
||||
color: #ff7a9a;
|
||||
}
|
||||
|
||||
.div-scan-dir.is-split {
|
||||
color: #b8bcc4;
|
||||
}
|
||||
|
||||
.div-scan-fresh {
|
||||
font-size: 0.72rem;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.div-scan-split-detail {
|
||||
font-size: 0.72rem;
|
||||
color: #b8bcc4;
|
||||
}
|
||||
|
||||
.div-scan-tf-pills {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 4px;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.div-scan-tf-pill {
|
||||
padding: 1px 6px;
|
||||
border-radius: 4px;
|
||||
font-size: 0.65rem;
|
||||
background: rgba(255, 255, 255, 0.06);
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.market-vol-rank-item {
|
||||
width: 100%;
|
||||
display: grid;
|
||||
@@ -4202,8 +4328,11 @@ body.login-page {
|
||||
border-left: 3px solid #8a8f98;
|
||||
}
|
||||
|
||||
.market-vol-rank-item.is-div-scan {
|
||||
grid-template-columns: auto 28px 1fr auto;
|
||||
.market-vol-rank-item.is-div-scan.confluence-c1,
|
||||
.market-vol-rank-item.is-div-scan.confluence-c2,
|
||||
.market-vol-rank-item.is-div-scan.confluence-c3,
|
||||
.market-vol-rank-item.is-div-scan.confluence-split {
|
||||
border-left-width: 4px;
|
||||
}
|
||||
|
||||
.market-vol-rank-badge {
|
||||
|
||||
Reference in New Issue
Block a user