|
| 1 | +* { |
| 2 | + box-sizing: border-box; |
| 3 | + margin: 0; |
| 4 | + padding: 0; |
| 5 | +} |
| 6 | + |
| 7 | +body { |
| 8 | + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; |
| 9 | + background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); |
| 10 | + min-height: 100vh; |
| 11 | + color: #fff; |
| 12 | +} |
| 13 | + |
| 14 | +.app { |
| 15 | + max-width: 600px; |
| 16 | + margin: 0 auto; |
| 17 | + padding: 2rem 1rem; |
| 18 | +} |
| 19 | + |
| 20 | +header { |
| 21 | + text-align: center; |
| 22 | + margin-bottom: 2rem; |
| 23 | +} |
| 24 | + |
| 25 | +header h1 { |
| 26 | + font-size: 1.5rem; |
| 27 | + margin-bottom: 0.5rem; |
| 28 | + background: linear-gradient(90deg, #00d4ff, #7b2ff7); |
| 29 | + -webkit-background-clip: text; |
| 30 | + -webkit-text-fill-color: transparent; |
| 31 | + background-clip: text; |
| 32 | +} |
| 33 | + |
| 34 | +header p { |
| 35 | + color: #888; |
| 36 | + margin-bottom: 0.5rem; |
| 37 | +} |
| 38 | + |
| 39 | +header a { |
| 40 | + color: #00d4ff; |
| 41 | + text-decoration: none; |
| 42 | +} |
| 43 | + |
| 44 | +header a:hover { |
| 45 | + text-decoration: underline; |
| 46 | +} |
| 47 | + |
| 48 | +.card { |
| 49 | + background: rgba(255, 255, 255, 0.05); |
| 50 | + border-radius: 1rem; |
| 51 | + padding: 1.5rem; |
| 52 | + margin-bottom: 1.5rem; |
| 53 | + border: 1px solid rgba(255, 255, 255, 0.1); |
| 54 | +} |
| 55 | + |
| 56 | +.card h2 { |
| 57 | + font-size: 1.2rem; |
| 58 | + margin-bottom: 1rem; |
| 59 | +} |
| 60 | + |
| 61 | +.card.error { |
| 62 | + border-color: #ff4757; |
| 63 | +} |
| 64 | + |
| 65 | +.status { |
| 66 | + display: flex; |
| 67 | + gap: 0.5rem; |
| 68 | + margin-bottom: 1rem; |
| 69 | + flex-wrap: wrap; |
| 70 | +} |
| 71 | + |
| 72 | +.badge { |
| 73 | + padding: 0.25rem 0.75rem; |
| 74 | + border-radius: 999px; |
| 75 | + font-size: 0.75rem; |
| 76 | + background: rgba(255, 255, 255, 0.1); |
| 77 | +} |
| 78 | + |
| 79 | +.badge.granted { background: rgba(0, 255, 136, 0.2); color: #00ff88; } |
| 80 | +.badge.denied { background: rgba(255, 71, 87, 0.2); color: #ff4757; } |
| 81 | +.badge.prompt { background: rgba(255, 193, 7, 0.2); color: #ffc107; } |
| 82 | +.badge.listening { background: rgba(255, 71, 87, 0.2); color: #ff4757; } |
| 83 | +.badge.idle { background: rgba(255, 255, 255, 0.1); } |
| 84 | + |
| 85 | +.transcript-box { |
| 86 | + background: rgba(0, 0, 0, 0.3); |
| 87 | + border-radius: 0.5rem; |
| 88 | + padding: 1rem; |
| 89 | + min-height: 100px; |
| 90 | + margin-bottom: 1rem; |
| 91 | +} |
| 92 | + |
| 93 | +.transcript { |
| 94 | + color: #fff; |
| 95 | + line-height: 1.6; |
| 96 | +} |
| 97 | + |
| 98 | +.interim { |
| 99 | + color: #888; |
| 100 | + font-style: italic; |
| 101 | +} |
| 102 | + |
| 103 | +.error-message { |
| 104 | + background: rgba(255, 71, 87, 0.2); |
| 105 | + color: #ff4757; |
| 106 | + padding: 0.75rem; |
| 107 | + border-radius: 0.5rem; |
| 108 | + margin-bottom: 1rem; |
| 109 | + font-size: 0.875rem; |
| 110 | +} |
| 111 | + |
| 112 | +.buttons { |
| 113 | + display: flex; |
| 114 | + gap: 0.5rem; |
| 115 | +} |
| 116 | + |
| 117 | +button { |
| 118 | + padding: 0.75rem 1.5rem; |
| 119 | + border: none; |
| 120 | + border-radius: 0.5rem; |
| 121 | + cursor: pointer; |
| 122 | + font-size: 1rem; |
| 123 | + transition: all 0.2s; |
| 124 | +} |
| 125 | + |
| 126 | +button.start { |
| 127 | + background: linear-gradient(90deg, #00d4ff, #7b2ff7); |
| 128 | + color: #fff; |
| 129 | +} |
| 130 | + |
| 131 | +button.stop { |
| 132 | + background: #ff4757; |
| 133 | + color: #fff; |
| 134 | +} |
| 135 | + |
| 136 | +button.secondary { |
| 137 | + background: rgba(255, 255, 255, 0.1); |
| 138 | + color: #fff; |
| 139 | +} |
| 140 | + |
| 141 | +button:hover { |
| 142 | + transform: translateY(-2px); |
| 143 | + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); |
| 144 | +} |
| 145 | + |
| 146 | +.description { |
| 147 | + color: #888; |
| 148 | + font-size: 0.875rem; |
| 149 | + margin-bottom: 1rem; |
| 150 | +} |
| 151 | + |
| 152 | +.input-group { |
| 153 | + display: flex; |
| 154 | + gap: 0.5rem; |
| 155 | +} |
| 156 | + |
| 157 | +.input-group input { |
| 158 | + flex: 1; |
| 159 | + padding: 0.75rem 1rem; |
| 160 | + border: 2px solid rgba(255, 255, 255, 0.1); |
| 161 | + border-radius: 0.5rem; |
| 162 | + background: rgba(0, 0, 0, 0.3); |
| 163 | + color: #fff; |
| 164 | + font-size: 1rem; |
| 165 | + outline: none; |
| 166 | + transition: border-color 0.2s; |
| 167 | +} |
| 168 | + |
| 169 | +.input-group input:focus { |
| 170 | + border-color: #00d4ff; |
| 171 | +} |
| 172 | + |
| 173 | +.input-group input.active { |
| 174 | + border-color: #ff4757; |
| 175 | +} |
| 176 | + |
| 177 | +footer { |
| 178 | + text-align: center; |
| 179 | + margin-top: 2rem; |
| 180 | + color: #888; |
| 181 | +} |
| 182 | + |
| 183 | +footer code { |
| 184 | + background: rgba(255, 255, 255, 0.1); |
| 185 | + padding: 0.25rem 0.5rem; |
| 186 | + border-radius: 0.25rem; |
| 187 | + font-size: 0.875rem; |
| 188 | +} |
0 commit comments