Show exchange badge and expanded rule tips in hub order popup.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* 中控弹窗 iframe:紧凑表单,无内部滚动条 */
|
||||
/* 中控弹窗 iframe:仅实盘下单模块 */
|
||||
html:has(body[data-order-popup="1"]),
|
||||
body[data-order-popup="1"] {
|
||||
overflow: hidden !important;
|
||||
@@ -23,21 +23,64 @@ body[data-order-popup="1"] .order-popup-trade-grid {
|
||||
body[data-order-popup="1"] .order-popup-form-card {
|
||||
margin: 0;
|
||||
padding: 10px 12px 12px;
|
||||
border: none;
|
||||
background: transparent;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
body[data-order-popup="1"] .order-popup-form-card .tip-collapse {
|
||||
margin-bottom: 4px;
|
||||
body[data-order-popup="1"] .order-popup-exchange-bar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
flex-wrap: wrap;
|
||||
margin-bottom: 10px;
|
||||
padding-bottom: 8px;
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
|
||||
}
|
||||
|
||||
body[data-order-popup="1"] .order-popup-form-card .tip-collapse-summary {
|
||||
padding: 6px 8px;
|
||||
body[data-order-popup="1"] .order-popup-exchange-tag {
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
|
||||
/* 规则说明:始终展开,不可折叠 */
|
||||
body[data-order-popup="1"] .order-popup-form-card details.tip-collapse {
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.08);
|
||||
border-radius: 8px;
|
||||
padding: 0;
|
||||
background: rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
|
||||
body[data-order-popup="1"] .order-popup-form-card details.tip-collapse > summary {
|
||||
display: block;
|
||||
pointer-events: none;
|
||||
cursor: default;
|
||||
list-style: none;
|
||||
padding: 8px 10px 4px;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
color: #cfd3ef;
|
||||
}
|
||||
|
||||
body[data-order-popup="1"] .order-popup-form-card details.tip-collapse > summary::-webkit-details-marker,
|
||||
body[data-order-popup="1"] .order-popup-form-card details.tip-collapse > summary::marker {
|
||||
display: none;
|
||||
content: "";
|
||||
}
|
||||
|
||||
body[data-order-popup="1"] .order-popup-form-card details.tip-collapse .tip-collapse-body {
|
||||
display: block !important;
|
||||
padding: 4px 10px 10px;
|
||||
font-size: 11px;
|
||||
line-height: 1.45;
|
||||
}
|
||||
|
||||
body[data-order-popup="1"] #add-order-form {
|
||||
gap: 6px 8px;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
body[data-order-popup="1"] #add-order-form input,
|
||||
@@ -54,3 +97,12 @@ body[data-order-popup="1"] #add-order-form > span {
|
||||
body[data-order-popup="1"] .order-plan-preview-bar {
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
html[data-theme="light"] body[data-order-popup="1"] .order-popup-exchange-bar {
|
||||
border-bottom-color: rgba(0, 0, 0, 0.08);
|
||||
}
|
||||
|
||||
html[data-theme="light"] body[data-order-popup="1"] .order-popup-form-card details.tip-collapse {
|
||||
border-color: rgba(0, 0, 0, 0.08);
|
||||
background: rgba(0, 0, 0, 0.03);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user