style: improve CSS formatting and organization for play gate modal and zones panel
This commit is contained in:
@@ -183,7 +183,7 @@ body {
|
|||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.master .np > * {
|
.master .np>* {
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -960,36 +960,90 @@ body {
|
|||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* === Click-to-start gate modal === */
|
/* === Click-to-start gate modal === */
|
||||||
.play-gate-backdrop {
|
.play-gate-backdrop {
|
||||||
position: fixed; inset: 0;
|
position: fixed;
|
||||||
background: rgba(0,0,0,0.72);
|
inset: 0;
|
||||||
|
background: rgba(0, 0, 0, 0.72);
|
||||||
backdrop-filter: blur(6px);
|
backdrop-filter: blur(6px);
|
||||||
display: flex; align-items: center; justify-content: center;
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
z-index: 9999;
|
z-index: 9999;
|
||||||
}
|
}
|
||||||
|
|
||||||
.play-gate-card {
|
.play-gate-card {
|
||||||
background: #161a22; border: 1px solid #262b36;
|
background: #161a22;
|
||||||
border-radius: 20px; padding: 28px 32px;
|
border: 1px solid #262b36;
|
||||||
min-width: 320px; max-width: 480px;
|
border-radius: 20px;
|
||||||
box-shadow: 0 18px 40px rgba(0,0,0,0.55);
|
padding: 28px 32px;
|
||||||
text-align: center; color: #e9ecf2;
|
min-width: 320px;
|
||||||
|
max-width: 480px;
|
||||||
|
box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
|
||||||
|
text-align: center;
|
||||||
|
color: #e9ecf2;
|
||||||
}
|
}
|
||||||
.play-gate-title { margin: 0 0 8px; font-size: 20px; }
|
|
||||||
.play-gate-station { color: #ff7a3d; font-weight: 600; margin-bottom: 4px; }
|
.play-gate-title {
|
||||||
.play-gate-sub { color: #8a90a0; font-size: 13px; margin-bottom: 16px; }
|
margin: 0 0 8px;
|
||||||
.play-gate-row { display: flex; gap: 12px; justify-content: center; margin-top: 18px; }
|
font-size: 20px;
|
||||||
.play-gate-start, .play-gate-cancel {
|
|
||||||
padding: 10px 22px; border-radius: 14px;
|
|
||||||
border: 1px solid #262b36; background: #1f242e; color: #e9ecf2;
|
|
||||||
font-size: 15px; cursor: pointer;
|
|
||||||
}
|
}
|
||||||
.play-gate-start { background: #ff7a3d; border-color: #ff7a3d; color: #07080b; font-weight: 600; }
|
|
||||||
.play-gate-start:hover { filter: brightness(1.1); }
|
.play-gate-station {
|
||||||
.play-gate-cancel:hover { background: #0e1116; }
|
color: #ff7a3d;
|
||||||
|
font-weight: 600;
|
||||||
|
margin-bottom: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.play-gate-sub {
|
||||||
|
color: #8a90a0;
|
||||||
|
font-size: 13px;
|
||||||
|
margin-bottom: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.play-gate-row {
|
||||||
|
display: flex;
|
||||||
|
gap: 12px;
|
||||||
|
justify-content: center;
|
||||||
|
margin-top: 18px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.play-gate-start,
|
||||||
|
.play-gate-cancel {
|
||||||
|
padding: 10px 22px;
|
||||||
|
border-radius: 14px;
|
||||||
|
border: 1px solid #262b36;
|
||||||
|
background: #1f242e;
|
||||||
|
color: #e9ecf2;
|
||||||
|
font-size: 15px;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.play-gate-start {
|
||||||
|
background: #ff7a3d;
|
||||||
|
border-color: #ff7a3d;
|
||||||
|
color: #07080b;
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
|
||||||
|
.play-gate-start:hover {
|
||||||
|
filter: brightness(1.1);
|
||||||
|
}
|
||||||
|
|
||||||
|
.play-gate-cancel:hover {
|
||||||
|
background: #0e1116;
|
||||||
|
}
|
||||||
|
|
||||||
.play-gate-dismiss {
|
.play-gate-dismiss {
|
||||||
display: flex; gap: 8px; align-items: center; justify-content: center;
|
display: flex;
|
||||||
margin-top: 14px; color: #8a90a0; font-size: 12px; cursor: pointer;
|
gap: 8px;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
margin-top: 14px;
|
||||||
|
color: #8a90a0;
|
||||||
|
font-size: 12px;
|
||||||
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* === Zones panel === */
|
/* === Zones panel === */
|
||||||
@@ -999,14 +1053,39 @@ body {
|
|||||||
background: #0e1116;
|
background: #0e1116;
|
||||||
border: 1px solid #262b36;
|
border: 1px solid #262b36;
|
||||||
border-radius: 12px;
|
border-radius: 12px;
|
||||||
display: flex; flex-direction: column; gap: 6px;
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.zones-label {
|
.zones-label {
|
||||||
font-size: 11px; color: #8a90a0; text-transform: uppercase; letter-spacing: 0.1em;
|
font-size: 11px;
|
||||||
|
color: #8a90a0;
|
||||||
|
text-transform: uppercase;
|
||||||
|
letter-spacing: 0.1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.zone-row {
|
.zone-row {
|
||||||
display: grid; grid-template-columns: 120px 1fr 44px; align-items: center; gap: 10px;
|
display: grid;
|
||||||
|
grid-template-columns: 120px 1fr 44px;
|
||||||
|
align-items: center;
|
||||||
|
gap: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zone-name {
|
||||||
|
font-size: 13px;
|
||||||
|
color: #e9ecf2;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zone-row input[type=range] {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zone-val {
|
||||||
|
font-size: 12px;
|
||||||
|
color: #8a90a0;
|
||||||
|
text-align: right;
|
||||||
|
font-variant-numeric: tabular-nums;
|
||||||
}
|
}
|
||||||
.zone-name { font-size: 13px; color: #e9ecf2; overflow: hidden; text-overflow: ellipsis; }
|
|
||||||
.zone-row input[type=range] { width: 100%; }
|
|
||||||
.zone-val { font-size: 12px; color: #8a90a0; text-align: right; font-variant-numeric: tabular-nums; }
|
|
||||||
|
|||||||
Reference in New Issue
Block a user