diff --git a/public/index.html b/public/index.html index 94b3870..232d663 100644 --- a/public/index.html +++ b/public/index.html @@ -100,6 +100,106 @@ box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1); } + /* Horizontal Time Tabs */ + .time-tabs { + display: flex; + background: #1e293b; + border: 2px solid #334155; + border-radius: 0.75rem; + padding: 0.25rem; + gap: 0.25rem; + overflow-x: auto; + } + + .time-tab { + flex: 1; + min-width: 0; + padding: 0.75rem 1rem; + background: transparent; + border: none; + border-radius: 0.5rem; + color: #94a3b8; + font-size: 0.875rem; + font-weight: 500; + cursor: pointer; + transition: all 0.2s ease; + display: flex; + align-items: center; + justify-content: center; + gap: 0.5rem; + white-space: nowrap; + } + + .time-tab:hover { + background: #334155; + color: #e2e8f0; + transform: translateY(-1px); + } + + .time-tab.active { + background: linear-gradient(135deg, #00d4ff, #0891b2); + color: white; + box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3); + } + + .time-tab.active:hover { + transform: translateY(-1px); + box-shadow: 0 6px 16px rgba(0, 212, 255, 0.4); + } + + .tab-icon { + font-size: 1rem; + flex-shrink: 0; + } + + .tab-text { + font-size: 0.875rem; + font-weight: 500; + } + + /* Mobile responsive tabs */ + @media (max-width: 768px) { + .time-tabs { + flex-direction: column; + gap: 0.5rem; + padding: 0.5rem; + } + + .time-tab { + padding: 1rem; + justify-content: flex-start; + border-radius: 0.75rem; + } + + .tab-text { + font-size: 1rem; + } + } + + @media (max-width: 480px) { + .time-tabs { + flex-direction: row; + overflow-x: auto; + padding: 0.25rem; + gap: 0.25rem; + } + + .time-tab { + min-width: 80px; + padding: 0.5rem 0.75rem; + flex-direction: column; + gap: 0.25rem; + } + + .tab-icon { + font-size: 1.2rem; + } + + .tab-text { + font-size: 0.75rem; + } + } + .refresh-btn { width: 100%; padding: 1rem; @@ -564,12 +664,24 @@
- +
+ + + + +