В процессе работы
This commit is contained in:
@@ -94,10 +94,9 @@
|
||||
padding-right: 4px;
|
||||
margin: 0;
|
||||
letter-spacing: 0.02em;
|
||||
overscroll-behavior: contain; /* ← ДОБАВИТЬ ЭТО */
|
||||
overscroll-behavior: contain;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
|
||||
#history::-webkit-scrollbar {
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
@@ -156,15 +155,17 @@
|
||||
.channels-toggle-all:active {
|
||||
transform: scale(0.95);
|
||||
}
|
||||
|
||||
/* ===== СЕТКА КАНАЛОВ ===== */
|
||||
.channels-grid {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 6px;
|
||||
overscroll-behavior: contain;
|
||||
max-height: 500px;
|
||||
overflow-y: auto;
|
||||
overflow-x: visible;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
overscroll-behavior: contain;
|
||||
padding-right: 4px;
|
||||
}
|
||||
.channels-grid::-webkit-scrollbar {
|
||||
@@ -256,8 +257,6 @@
|
||||
overflow: hidden;
|
||||
box-shadow: inset 0 2px 4px rgba(0,0,0,0.6);
|
||||
}
|
||||
|
||||
/* ===== ЯРКИЙ КОНТРАСТНЫЙ ПРОГРЕСС-БАР ===== */
|
||||
.channel-progress .progress .fill {
|
||||
height: 100%;
|
||||
background: #e6852d;
|
||||
@@ -268,14 +267,11 @@
|
||||
inset 0 1px 2px rgba(255,255,255,0.3),
|
||||
0 0 15px rgba(255, 165, 0, 0.5);
|
||||
}
|
||||
|
||||
/* Активный канал - более яркий */
|
||||
.channel-item.channel-active .fill {
|
||||
box-shadow:
|
||||
inset 0 1px 2px rgba(255,255,255,0.4),
|
||||
0 0 25px rgba(255, 165, 0, 0.7);
|
||||
}
|
||||
|
||||
.channel-stats {
|
||||
font-size: var(--font-size-xs);
|
||||
color: #666;
|
||||
@@ -288,7 +284,6 @@
|
||||
.progress-row {
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.progress-label {
|
||||
font-family: var(--font-mono);
|
||||
font-size: var(--font-size-base);
|
||||
@@ -297,7 +292,6 @@
|
||||
opacity: 0.9;
|
||||
letter-spacing: 0.03em;
|
||||
}
|
||||
|
||||
.progress {
|
||||
width: 100%;
|
||||
height: 34px;
|
||||
@@ -308,19 +302,15 @@
|
||||
overflow: hidden;
|
||||
box-shadow: inset 0 2px 4px rgba(0,0,0,0.4);
|
||||
}
|
||||
|
||||
.progress-with-signal {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0;
|
||||
}
|
||||
|
||||
.progress-90 {
|
||||
flex: 0 0 86%;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
/* ЯРКИЙ ЗАПОЛНЕННЫЙ БАР */
|
||||
.fill {
|
||||
height: 100%;
|
||||
width: 0%;
|
||||
@@ -331,7 +321,6 @@
|
||||
0 0 12px rgba(230,133,45,0.5);
|
||||
transition: width 0.25s linear;
|
||||
}
|
||||
|
||||
.fill.no-connection {
|
||||
background: #555555 !important;
|
||||
box-shadow: none !important;
|
||||
@@ -347,7 +336,6 @@
|
||||
border: 2px solid #444;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.card:has(#bar2) .fill,
|
||||
.card:has(#bar3) .fill {
|
||||
background: #e6852d;
|
||||
@@ -365,7 +353,6 @@
|
||||
height: 34px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.sig-bar {
|
||||
flex: 1;
|
||||
border-radius: 2px;
|
||||
@@ -374,37 +361,73 @@
|
||||
background-color: transparent;
|
||||
transition: background-color 0.3s, border-color 0.3s;
|
||||
}
|
||||
|
||||
.sig-bar-1 { height: 33%; }
|
||||
.sig-bar-2 { height: 66%; }
|
||||
.sig-bar-3 { height: 100%; }
|
||||
|
||||
.sig-bar.dim {
|
||||
background-color: transparent;
|
||||
border-color: #1a3a1a;
|
||||
}
|
||||
|
||||
.sig-bar.active-1,
|
||||
.sig-bar.active-2,
|
||||
.sig-bar.active-3 {
|
||||
background-color: #e6852d;
|
||||
border-color: #c46b1f;
|
||||
}
|
||||
|
||||
.sig-bar.no-connection {
|
||||
background-color: #555555 !important;
|
||||
border-color: #555555 !important;
|
||||
opacity: 0.3 !important;
|
||||
}
|
||||
|
||||
/* ===== АДАПТИВ ===== */
|
||||
/* ===== АНИМАЦИЯ ===== */
|
||||
.channel-item.updating .channel-value {
|
||||
animation: pulse-value 0.15s ease;
|
||||
}
|
||||
@keyframes pulse-value {
|
||||
0%, 100% { transform: scale(1); }
|
||||
50% { transform: scale(1.2); color: #ff0; }
|
||||
}
|
||||
|
||||
/* ===== КАРТОЧКИ НА ДЕСКТОПЕ ===== */
|
||||
@media (min-width: 769px) {
|
||||
.card {
|
||||
max-height: 100%;
|
||||
overflow: visible;
|
||||
}
|
||||
.channels-card {
|
||||
max-height: 600px;
|
||||
overflow: visible;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.channels-card .channels-grid {
|
||||
max-height: 500px;
|
||||
overflow-y: auto;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
.history-card {
|
||||
max-height: 500px;
|
||||
overflow: visible;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.history-card #history {
|
||||
max-height: 400px;
|
||||
overflow-y: auto;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
}
|
||||
|
||||
/* ===== МОБИЛЬНАЯ ВЕРСИЯ ===== */
|
||||
@media (max-width: 768px) {
|
||||
.channels-grid {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 4px;
|
||||
max-height: none;
|
||||
overflow-y: visible;
|
||||
overscroll-behavior: none;
|
||||
max-height: 400px;
|
||||
overflow-y: auto;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
overscroll-behavior: contain;
|
||||
}
|
||||
.channels-header {
|
||||
flex-direction: column;
|
||||
@@ -420,29 +443,18 @@
|
||||
.channel-value {
|
||||
font-size: var(--font-size-sm);
|
||||
}
|
||||
.channel-progress .progress {
|
||||
height: 10px;
|
||||
padding: 1px;
|
||||
border-width: 2px;
|
||||
}
|
||||
#history {
|
||||
max-height: 300px;
|
||||
}
|
||||
.card:has(#bar2) .progress,
|
||||
.card:has(#bar3) .progress {
|
||||
height: 28px;
|
||||
padding: 4px;
|
||||
border-width: 2px;
|
||||
}
|
||||
.progress {
|
||||
height: 28px;
|
||||
padding: 4px;
|
||||
border-width: 2px;
|
||||
.history-card #history {
|
||||
max-height: 280px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.channels-grid {
|
||||
max-height: 350px;
|
||||
gap: 3px;
|
||||
}
|
||||
.channel-header {
|
||||
@@ -458,73 +470,7 @@
|
||||
max-height: 200px;
|
||||
font-size: var(--font-size-xs);
|
||||
}
|
||||
.card:has(#bar2) .progress,
|
||||
.card:has(#bar3) .progress {
|
||||
height: 24px;
|
||||
padding: 3px;
|
||||
border-width: 2px;
|
||||
}
|
||||
.progress {
|
||||
height: 24px;
|
||||
padding: 3px;
|
||||
border-width: 2px;
|
||||
}
|
||||
}
|
||||
|
||||
/* ===== АНИМАЦИЯ ===== */
|
||||
.channel-item.updating .channel-value {
|
||||
animation: pulse-value 0.15s ease;
|
||||
}
|
||||
@keyframes pulse-value {
|
||||
0%, 100% { transform: scale(1); }
|
||||
50% { transform: scale(1.2); color: #ff0; }
|
||||
}
|
||||
|
||||
/* Карточки на десктопе */
|
||||
@media (min-width: 769px) {
|
||||
.card {
|
||||
max-height: 100%;
|
||||
overflow: visible;
|
||||
}
|
||||
.channels-card {
|
||||
max-height: 600px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.channels-card .channels-grid {
|
||||
max-height: 500px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
.history-card {
|
||||
max-height: 500px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.history-card #history {
|
||||
max-height: 400px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.card {
|
||||
overflow: visible !important;
|
||||
height: auto !important;
|
||||
min-height: unset;
|
||||
max-height: none !important;
|
||||
}
|
||||
.channels-card {
|
||||
max-height: none !important;
|
||||
overflow: visible !important;
|
||||
}
|
||||
.channels-card .channels-grid {
|
||||
max-height: none !important;
|
||||
overflow-y: visible !important;
|
||||
}
|
||||
.history-card {
|
||||
max-height: none !important;
|
||||
overflow: visible !important;
|
||||
}
|
||||
.history-card #history {
|
||||
max-height: 300px;
|
||||
overflow-y: auto;
|
||||
max-height: 180px;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user