|
| 1 | +:root { |
| 2 | + --primary: #6366f1; |
| 3 | + --secondary: #a855f7; |
| 4 | + --bg: #0f172a; |
| 5 | + --card-bg: rgba(30, 41, 59, 0.7); |
| 6 | + --text: #f8fafc; |
| 7 | + --text-muted: #94a3b8; |
| 8 | + --success: #22c55e; |
| 9 | + --error: #ef4444; |
| 10 | +} |
| 11 | + |
| 12 | +* { |
| 13 | + margin: 0; |
| 14 | + padding: 0; |
| 15 | + box-sizing: border-box; |
| 16 | +} |
| 17 | + |
| 18 | +body { |
| 19 | + font-family: 'Segoe UI', system-ui, sans-serif; |
| 20 | + background: var(--bg); |
| 21 | + color: var(--text); |
| 22 | + height: 100vh; |
| 23 | + overflow: hidden; |
| 24 | + display: flex; |
| 25 | + flex-direction: column; |
| 26 | + padding: 20px; |
| 27 | +} |
| 28 | + |
| 29 | +h1 { |
| 30 | + font-size: 1.5rem; |
| 31 | + margin-bottom: 1rem; |
| 32 | + background: linear-gradient(to right, var(--primary), var(--secondary)); |
| 33 | + -webkit-background-clip: text; |
| 34 | + -webkit-text-fill-color: transparent; |
| 35 | + text-align: center; |
| 36 | +} |
| 37 | + |
| 38 | +.container { |
| 39 | + flex: 1; |
| 40 | + display: flex; |
| 41 | + flex-direction: column; |
| 42 | + gap: 1rem; |
| 43 | + overflow-y: auto; |
| 44 | + padding-right: 5px; |
| 45 | +} |
| 46 | + |
| 47 | +.card { |
| 48 | + background: var(--card-bg); |
| 49 | + backdrop-filter: blur(10px); |
| 50 | + border: 1px solid rgba(255, 255, 255, 0.1); |
| 51 | + border-radius: 12px; |
| 52 | + padding: 1rem; |
| 53 | + transition: transform 0.2s; |
| 54 | +} |
| 55 | + |
| 56 | +.card:hover { |
| 57 | + transform: translateY(-2px); |
| 58 | + border-color: rgba(255, 255, 255, 0.2); |
| 59 | +} |
| 60 | + |
| 61 | +.card-header { |
| 62 | + display: flex; |
| 63 | + justify-content: space-between; |
| 64 | + align-items: center; |
| 65 | + margin-bottom: 0.5rem; |
| 66 | +} |
| 67 | + |
| 68 | +.card-title { |
| 69 | + font-weight: 600; |
| 70 | + color: var(--text); |
| 71 | +} |
| 72 | + |
| 73 | +.card-subtitle { |
| 74 | + font-size: 0.8rem; |
| 75 | + color: var(--text-muted); |
| 76 | +} |
| 77 | + |
| 78 | +.value-display { |
| 79 | + font-family: 'Consolas', monospace; |
| 80 | + background: rgba(0, 0, 0, 0.3); |
| 81 | + padding: 0.5rem; |
| 82 | + border-radius: 6px; |
| 83 | + color: var(--success); |
| 84 | + word-break: break-all; |
| 85 | + text-align: center; |
| 86 | + font-size: 1.2rem; |
| 87 | +} |
| 88 | + |
| 89 | +.log-container { |
| 90 | + font-family: 'Consolas', monospace; |
| 91 | + font-size: 0.8rem; |
| 92 | + color: var(--text-muted); |
| 93 | + background: rgba(0, 0, 0, 0.3); |
| 94 | + padding: 0.5rem; |
| 95 | + border-radius: 6px; |
| 96 | + height: 150px; |
| 97 | + overflow-y: auto; |
| 98 | +} |
| 99 | + |
| 100 | +.log-entry { |
| 101 | + margin-bottom: 4px; |
| 102 | + border-bottom: 1px solid rgba(255,255,255,0.05); |
| 103 | + padding-bottom: 2px; |
| 104 | +} |
| 105 | + |
| 106 | +/* Custom Scrollbar */ |
| 107 | +::-webkit-scrollbar { |
| 108 | + width: 8px; |
| 109 | + height: 8px; |
| 110 | +} |
| 111 | + |
| 112 | +::-webkit-scrollbar-track { |
| 113 | + background: rgba(255, 255, 255, 0.05); |
| 114 | + border-radius: 4px; |
| 115 | +} |
| 116 | + |
| 117 | +::-webkit-scrollbar-thumb { |
| 118 | + background: linear-gradient(to bottom, var(--primary), var(--secondary)); |
| 119 | + border-radius: 4px; |
| 120 | + border: 2px solid transparent; |
| 121 | + background-clip: content-box; |
| 122 | +} |
| 123 | + |
| 124 | +::-webkit-scrollbar-thumb:hover { |
| 125 | + background: linear-gradient(to bottom, var(--secondary), var(--primary)); |
| 126 | + border-radius: 2px solid transparent; |
| 127 | + background-clip: content-box; |
| 128 | +} |
0 commit comments