|
|
@@ -88,6 +88,55 @@ button:disabled { cursor: not-allowed; }
|
|
|
.radio-panel__intro strong { display: block; margin-top: 4px; font-size: 13px; }
|
|
|
.radio-panel__signal { font-size: 10px; }
|
|
|
.radio-controls { display: flex; align-items: center; gap: 8px; min-width: 0; }
|
|
|
+
|
|
|
+/* VM-16 inspired industrial keypad reconstruction. The surrounding PWA stays modern;
|
|
|
+ this module is deliberately warmer and more tactile, like a replaced laboratory unit. */
|
|
|
+.keypad-panel {
|
|
|
+ position: relative;
|
|
|
+ padding: 22px;
|
|
|
+ border: 1px solid color-mix(in srgb, var(--wire) 42%, var(--line));
|
|
|
+ border-radius: 9px;
|
|
|
+ background:
|
|
|
+ linear-gradient(135deg, rgba(255,255,255,.16), transparent 38%),
|
|
|
+ linear-gradient(180deg, #d8d9d0 0%, #c3c7bd 100%);
|
|
|
+ color: #20251f;
|
|
|
+ box-shadow: inset 0 1px rgba(255,255,255,.55), inset 0 -2px rgba(44,52,45,.14), 0 10px 24px rgba(12,18,14,.12);
|
|
|
+}
|
|
|
+:root[data-theme="dark"] .keypad-panel {
|
|
|
+ background: linear-gradient(135deg, rgba(255,255,255,.12), transparent 38%), linear-gradient(180deg, #777d72, #5e675e);
|
|
|
+ color: #182019;
|
|
|
+}
|
|
|
+.keypad-panel::before, .keypad-panel::after { content: ""; position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #6f776d; box-shadow: inset 0 1px 1px rgba(255,255,255,.55); }
|
|
|
+.keypad-panel::before { top: 9px; left: 10px; }
|
|
|
+.keypad-panel::after { top: 9px; right: 10px; }
|
|
|
+.keypad-panel .panel-heading { align-items: center; margin-bottom: 15px; padding: 0 4px 13px; border-bottom: 1px solid rgba(44,52,45,.26); }
|
|
|
+.keypad-panel .panel-kicker { color: #566156; }
|
|
|
+.keypad-panel h2 { color: #202820; font: 700 17px/1.2 var(--mono); letter-spacing: -.04em; }
|
|
|
+:root[data-theme="dark"] .keypad-panel h2 { color: #1b241d; }
|
|
|
+.keypad-panel .lamp { position: relative; width: 19px; height: 19px; margin: 0 3px 0 0; border: 3px solid #596257; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #d9ded5 0 12%, #8f988b 35%, #646c62 72%); box-shadow: inset 0 1px 2px rgba(255,255,255,.55), 0 1px 1px rgba(0,0,0,.28); transition: box-shadow .18s, background .18s, border-color .18s; }
|
|
|
+.keypad-panel .lamp::after { content: "HL1"; position: absolute; top: 24px; right: -2px; color: #566156; font: 7px var(--mono); }
|
|
|
+.keypad-panel .lamp.is-success { border-color: #5d624d; background: radial-gradient(circle at 34% 28%, #fff7c5 0 10%, #e6bb54 34%, #9b6b1c 74%); box-shadow: 0 0 0 2px rgba(175,139,48,.18), 0 0 14px rgba(226,183,72,.7), inset 0 1px 2px #fff7c5; }
|
|
|
+.keypad-panel .lamp.is-error { border-color: #67453e; background: radial-gradient(circle at 34% 28%, #ffd0bd 0 10%, #d96c4d 36%, #813a2d 74%); box-shadow: 0 0 0 2px rgba(190,70,46,.16), 0 0 11px rgba(211,86,60,.5); }
|
|
|
+.keypad-panel .code-display { margin: 0 4px 16px; padding: 10px 11px; border: 1px solid rgba(49,57,49,.3); border-radius: 3px; background: rgba(46,57,47,.12); box-shadow: inset 0 2px 4px rgba(24,31,25,.12); }
|
|
|
+.keypad-panel .code-display > span { color: #566156; font-size: 8px; }
|
|
|
+.keypad-panel .code-display strong { color: #283129; font-size: 21px; letter-spacing: .2em; text-shadow: 0 1px rgba(255,255,255,.42); }
|
|
|
+.keypad-panel .code-display button { color: #4f5c50; border: 1px solid rgba(49,57,49,.26); border-radius: 3px; background: rgba(255,255,255,.18); line-height: 1; }
|
|
|
+.keypad-panel .code-display button:hover { color: #273128; background: rgba(255,255,255,.36); }
|
|
|
+.keypad { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; padding: 12px; border: 1px solid rgba(49,57,49,.3); border-radius: 4px; background: #aab1a6; box-shadow: inset 0 2px 5px rgba(35,43,36,.2), 0 1px rgba(255,255,255,.45); }
|
|
|
+.keypad button { position: relative; height: 48px; border: 1px solid #697267; border-radius: 4px; background: linear-gradient(180deg, #e5e6df 0%, #c8ccc3 65%, #b1b7ad 100%); color: #273128; font: 700 16px var(--mono); text-shadow: 0 1px rgba(255,255,255,.7); box-shadow: 0 3px 0 #727a70, 0 5px 7px rgba(38,46,39,.2), inset 0 1px rgba(255,255,255,.8); transition: transform .09s ease, box-shadow .09s ease, filter .15s ease, border-color .15s ease; }
|
|
|
+.keypad button::after { content: ""; position: absolute; inset: 3px; border: 1px solid rgba(255,255,255,.28); border-radius: 2px; pointer-events: none; }
|
|
|
+.keypad button:hover:not(:disabled) { border-color: #4d6a9b; filter: saturate(1.05) brightness(1.03); color: #233d78; background: linear-gradient(180deg, #eef0ea, #cbd2d0); }
|
|
|
+.keypad button:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 0 0 #727a70, 0 1px 2px rgba(38,46,39,.25), inset 0 2px 4px rgba(38,46,39,.18); }
|
|
|
+.keypad button:focus-visible { outline-color: #3659d9; outline-offset: 3px; }
|
|
|
+.keypad .keypad__disabled { visibility: visible; opacity: .42; color: #657064; background: #b7bdb4; box-shadow: 0 2px 0 #858d82; cursor: default; }
|
|
|
+.keypad .keypad__disabled::after { content: "·"; border: 0; inset: auto; }
|
|
|
+.keypad .keypad__reset { color: #4e5b50; background: linear-gradient(180deg, #cfd3ca, #aeb5ab); font-size: 9px; letter-spacing: .04em; }
|
|
|
+.keyboard-tip { margin: 13px 4px 0; color: #566156; font: 9px var(--mono); }
|
|
|
+@media (max-width: 480px) {
|
|
|
+ .keypad-panel { padding: 17px 14px; }
|
|
|
+ .keypad { gap: 7px; padding: 9px; }
|
|
|
+ .keypad button { height: 45px; }
|
|
|
+}
|
|
|
.radio-controls select { min-width: 0; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--text); font-size: 11px; }
|
|
|
.radio-play { width: 40px; padding-inline: 0; }
|
|
|
.radio-volume { display: flex; align-items: center; gap: 10px; color: var(--muted); }
|