перетягивание внутри drap-and-drop блоков и поправлена настройка панели кнопок с блоками

This commit is contained in:
2026-08-20 12:56:49 +03:00
parent 72d89ec02b
commit 484c2363c9
3 changed files with 210 additions and 20 deletions

View File

@@ -7363,3 +7363,73 @@ body.hockey-navigation-open .runtime-viewport.has-hockey-pbp { gap: 14px !import
.hockey-runtime-side-stack { flex-basis:290px; width:290px; }
.player-selection-editor-row { grid-template-columns:1fr 1fr; }
}
/* Build82 — quick-panel settings tabs + reorderable player slots. */
.prematch-editor-tabs {
display:flex;
align-items:center;
gap:6px;
padding:4px;
border:1px solid #2a4058;
border-radius:11px;
background:#0b1725;
}
.prematch-editor-tab {
min-height:34px;
display:flex;
align-items:center;
justify-content:center;
gap:7px;
padding:0 14px;
color:#7890a8;
border:1px solid transparent;
border-radius:8px;
background:transparent;
font-size:10px;
font-weight:950;
cursor:pointer;
}
.prematch-editor-tab:hover { color:#c8d7e5; background:#102238; }
.prematch-editor-tab.active { color:#eaf5ff; border-color:#365a72; background:#14304a; box-shadow:inset 0 -2px 0 #48dfbd; }
.prematch-editor-tab span {
min-width:20px;
height:18px;
display:grid;
place-items:center;
padding:0 5px;
border-radius:9px;
color:#a9c1d5;
background:#203b53;
font:900 8px "Roboto Mono",Consolas,monospace;
}
.prematch-editor-section { min-height:0; }
.player-selection-editor.prematch-editor-section {
min-height:0;
margin-top:0;
padding-top:0;
border-top:0;
display:grid;
grid-template-rows:auto minmax(0,1fr);
}
.player-selection-editor.prematch-editor-section .player-selection-editor-list {
min-height:0;
overflow:auto;
padding-right:4px;
overscroll-behavior:contain;
}
.hockey-player-select-slot { grid-template-columns:27px minmax(0,1fr) auto auto; }
.hockey-player-select-slot[draggable="true"] { cursor:grab; }
.hockey-player-select-slot[draggable="true"]:active { cursor:grabbing; }
.hockey-player-select-slot.is-dragging { opacity:.48; border-color:#48dfbd; }
.hockey-player-select-drag {
width:16px;
display:grid;
place-items:center;
color:#58748b;
font-size:10px;
font-weight:950;
letter-spacing:-2px;
user-select:none;
}
.hockey-player-select-slot:hover .hockey-player-select-drag { color:#9ab2c6; }