Files
crypto_monitor/static/embed_order_popup.css
T
2026-06-25 23:30:41 +08:00

109 lines
2.7 KiB
CSS

/* 中控弹窗 iframe:仅实盘下单模块 */
html:has(body[data-order-popup="1"]),
body[data-order-popup="1"] {
overflow: hidden !important;
height: auto !important;
}
body[data-order-popup="1"] .container.embed-order-popup-shell {
max-width: 100%;
padding: 8px 10px 10px;
overflow: hidden;
}
body[data-order-popup="1"] .embed-order-popup-hide {
display: none !important;
}
body[data-order-popup="1"] .order-popup-trade-grid {
display: block;
grid-template-columns: 1fr;
}
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-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-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,
body[data-order-popup="1"] #add-order-form select,
body[data-order-popup="1"] #add-order-form button[type="submit"] {
max-width: 100%;
}
body[data-order-popup="1"] #add-order-form label,
body[data-order-popup="1"] #add-order-form > span {
font-size: 0.78rem !important;
}
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);
}