行情区:K线全屏、可选技术指标与交易所价格精度对齐
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -509,6 +509,10 @@ body.hub-instance-frame-open {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
body.market-chart-fs-open {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.instance-frame-shell {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
@@ -1982,6 +1986,104 @@ body.login-page {
|
||||
min-height: 440px;
|
||||
}
|
||||
|
||||
.market-chart-wrap.is-fullscreen {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: 8500;
|
||||
width: 100vw;
|
||||
height: 100vh !important;
|
||||
max-height: none;
|
||||
min-height: 0;
|
||||
border-radius: 0;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.market-chart-wrap.is-fullscreen.has-pos-panel {
|
||||
height: 100vh !important;
|
||||
}
|
||||
|
||||
.market-chart-actions {
|
||||
margin-left: auto;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
gap: 6px 10px;
|
||||
}
|
||||
|
||||
.market-ind-menu {
|
||||
position: relative;
|
||||
font-size: 0.72rem;
|
||||
}
|
||||
|
||||
.market-ind-menu summary {
|
||||
cursor: pointer;
|
||||
list-style: none;
|
||||
padding: 2px 10px;
|
||||
border-radius: 4px;
|
||||
border: 1px solid var(--border-soft);
|
||||
color: var(--muted);
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.market-ind-menu summary::-webkit-details-marker {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.market-ind-menu[open] summary {
|
||||
color: var(--accent);
|
||||
border-color: rgba(0, 255, 157, 0.35);
|
||||
}
|
||||
|
||||
.market-ind-options {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: calc(100% + 4px);
|
||||
z-index: 20;
|
||||
min-width: 168px;
|
||||
padding: 8px 10px;
|
||||
border-radius: 6px;
|
||||
border: 1px solid var(--border-soft);
|
||||
background: rgba(10, 16, 26, 0.98);
|
||||
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.market-ind-opt {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
cursor: pointer;
|
||||
color: var(--text);
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.market-ind-opt input {
|
||||
accent-color: var(--accent);
|
||||
}
|
||||
|
||||
.market-fs-btn,
|
||||
.market-fs-exit {
|
||||
font-size: 0.72rem;
|
||||
padding: 2px 10px;
|
||||
}
|
||||
|
||||
.market-fs-exit {
|
||||
position: absolute;
|
||||
top: 8px;
|
||||
left: 8px;
|
||||
z-index: 12;
|
||||
}
|
||||
|
||||
.market-chart-wrap.is-fullscreen .market-fs-exit:not(.hidden) {
|
||||
display: inline-flex !important;
|
||||
}
|
||||
|
||||
.market-chart-wrap.is-fullscreen .market-fs-btn {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.market-ohlcv-bar {
|
||||
flex: 0 0 auto;
|
||||
padding: 8px 12px;
|
||||
|
||||
Reference in New Issue
Block a user