mirror of
https://github.com/Youzini-afk/ST-Bionic-Memory-Ecology.git
synced 2026-05-15 22:30:38 +08:00
ui: 面板支持拖拽缩放(resize:both)
This commit is contained in:
@@ -25,17 +25,20 @@
|
|||||||
#st-bme-panel {
|
#st-bme-panel {
|
||||||
width: 82vw;
|
width: 82vw;
|
||||||
height: 72vh;
|
height: 72vh;
|
||||||
max-width: 1200px;
|
min-width: 480px;
|
||||||
max-height: 800px;
|
min-height: 360px;
|
||||||
|
max-width: 96vw;
|
||||||
|
max-height: 92vh;
|
||||||
background: var(--bme-surface, #131316);
|
background: var(--bme-surface, #131316);
|
||||||
border: 1px solid var(--bme-border, rgba(255, 255, 255, 0.08));
|
border: 1px solid var(--bme-border, rgba(255, 255, 255, 0.08));
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
overflow: hidden;
|
overflow: auto;
|
||||||
box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
|
box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
|
||||||
transform: translateY(12px) scale(0.98);
|
transform: translateY(12px) scale(0.98);
|
||||||
transition: transform 0.25s ease;
|
transition: transform 0.25s ease;
|
||||||
|
resize: both;
|
||||||
}
|
}
|
||||||
|
|
||||||
#st-bme-panel-overlay.active #st-bme-panel {
|
#st-bme-panel-overlay.active #st-bme-panel {
|
||||||
|
|||||||
Reference in New Issue
Block a user