177 build - css стиль кнопок

This commit is contained in:
2026-09-29 18:26:04 +03:00
parent 143a404c18
commit 0e0d611dd2
3 changed files with 65 additions and 6 deletions

View File

@@ -2489,7 +2489,24 @@ body.hockey-admin-settings-open { overflow: hidden; }
/* BUILD142: row + field browser for manual SQL Mapping. No horizontal spreadsheet scrolling. */
.hockey-map-table-picker-v2{max-height:56%!important;min-height:190px!important}
/* The details wrapper must reserve space for its entire body. A percentage
max-height with visible overflow made the following groups cover SQL cards. */
.hockey-map-table-picker-v2{
display:block;
flex:0 0 auto;
min-width:0;
min-height:0!important;
max-height:none!important;
height:auto;
overflow:hidden;
}
.hockey-map-table-picker-v2[open]>summary{margin-bottom:8px}
.hockey-map-table-picker-v2 .hockey-map-table-controls{
grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));
margin-bottom:8px;
}
.hockey-map-table-picker-v2 .hockey-map-table-controls>*{min-width:0;width:100%}
.hockey-map-table-picker-v2>.hockey-map-table-limit{margin-top:7px}
.hockey-map-table-browser{
height:min(310px,31dvh);
min-height:160px;
@@ -2499,6 +2516,7 @@ body.hockey-admin-settings-open { overflow: hidden; }
overflow:hidden;
}
.hockey-map-table-rows,.hockey-map-table-fields{
min-width:0;
min-height:0;
border:1px solid #263d51;
border-radius:9px;
@@ -2593,21 +2611,43 @@ body.hockey-admin-settings-open { overflow: hidden; }
.hockey-map-table-field-head strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#9fc4df;font-size:9px;text-transform:none}
.hockey-map-table-field em{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#f2f7fb;font-size:11px;font-style:normal;font-weight:800}
.hockey-map-table-field code{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#68839b;font:8px Consolas,monospace}
.hockey-map-table-fields-hint{padding:6px 8px;border-top:1px solid #22364a;color:#71889e;font-size:8px}
.hockey-map-table-fields-hint{padding:6px 8px;border-top:1px solid #22364a;color:#71889e;font-size:8px;line-height:1.4;overflow-wrap:anywhere}
.hockey-map-table-no-rows{padding:12px;color:#71889e;font-size:9px;text-align:center}
@media(max-width:1180px){
.hockey-map-table-browser{grid-template-columns:105px minmax(0,1fr)}
.hockey-map-table-fields-list{grid-template-columns:1fr}
}
@media(max-width:760px){
.hockey-map-table-picker-v2{max-height:62%!important}
.hockey-map-table-browser{grid-template-columns:1fr;grid-template-rows:minmax(90px,.55fr) minmax(130px,1.45fr)}
.hockey-map-table-browser{height:clamp(300px,46dvh,420px);min-height:300px;grid-template-columns:1fr;grid-template-rows:minmax(90px,.55fr) minmax(130px,1.45fr)}
.hockey-map-table-fields-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
/* BUILD170: per-title Mapping actions and a reviewable copy dialog. */
.hockey-map-input-actions { display:flex; flex-wrap:wrap; gap:6px; margin-top:3px; }
.hockey-map-input-actions button { padding:6px 10px; font-size:11px; }
.hockey-map-input-actions button {
appearance:none;
display:inline-flex;
align-items:center;
justify-content:center;
min-width:0;
min-height:32px;
max-width:100%;
padding:6px 10px;
border:1px solid #344b65;
border-radius:8px;
background:#152335;
color:#bed0e4;
font-family:inherit;
font-size:11px;
font-weight:800;
line-height:1.3;
cursor:pointer;
transition:background .12s ease,border-color .12s ease,color .12s ease;
}
.hockey-map-input-actions button:hover:not(:disabled){border-color:#48dfbd;background:#173c37;color:#77efd5}
.hockey-map-input-actions button:focus-visible{outline:2px solid #48dfbd;outline-offset:2px}
.hockey-map-input-actions button:active:not(:disabled){background:#205248}
.hockey-map-input-actions button:disabled{opacity:.4;cursor:not-allowed}
.hockey-map-input-error { color:#ff9aab!important; }
.hockey-map-input-dialog { width:min(650px,calc(100vw - 32px)); max-height:calc(100vh - 48px); overflow:auto; padding:24px; border:1px solid #38516b; border-radius:16px; color:#eaf4ff; background:#101d2d; box-shadow:0 24px 80px #0009; font:14px/1.5 system-ui,sans-serif; }
.hockey-map-input-dialog::backdrop { background:#02070cbf; }