|
166 | 166 | text-align: center; |
167 | 167 | } |
168 | 168 |
|
| 169 | +.sidebar-customize-btn { |
| 170 | + width: 100%; |
| 171 | + display: flex; |
| 172 | + align-items: center; |
| 173 | + justify-content: center; |
| 174 | + gap: 8px; |
| 175 | + margin-bottom: var(--space-sm); |
| 176 | + min-height: 44px; |
| 177 | + padding: 10px 14px; |
| 178 | + border-radius: var(--radius-pill); |
| 179 | + border: 1px solid var(--glass-border); |
| 180 | + background: color-mix(in srgb, var(--surface-elevated, var(--surface)) 90%, transparent); |
| 181 | + color: var(--text-secondary); |
| 182 | + font: inherit; |
| 183 | + font-size: 0.82rem; |
| 184 | + font-weight: 600; |
| 185 | + cursor: pointer; |
| 186 | + transition: all 0.2s ease; |
| 187 | +} |
| 188 | +.sidebar-customize-btn:hover { |
| 189 | + color: var(--text-primary); |
| 190 | + border-color: color-mix(in srgb, var(--accent) 25%, var(--glass-border)); |
| 191 | + background: color-mix(in srgb, var(--accent) 10%, var(--surface-elevated, var(--surface))); |
| 192 | +} |
| 193 | +.sidebar-customize-btn svg { |
| 194 | + width: 16px; |
| 195 | + height: 16px; |
| 196 | +} |
| 197 | + |
| 198 | +.nav-customize-modal { |
| 199 | + max-width: 760px; |
| 200 | +} |
| 201 | + |
| 202 | +.nav-customize-sections { |
| 203 | + display: grid; |
| 204 | + gap: var(--space-md); |
| 205 | +} |
| 206 | + |
| 207 | +.nav-customize-section { |
| 208 | + border: 1px solid var(--glass-border); |
| 209 | + border-radius: var(--radius-md); |
| 210 | + background: color-mix(in srgb, var(--surface) 94%, transparent); |
| 211 | + overflow: hidden; |
| 212 | +} |
| 213 | + |
| 214 | +.nav-customize-section-title { |
| 215 | + padding: 12px 16px; |
| 216 | + font-size: 0.74rem; |
| 217 | + font-weight: 700; |
| 218 | + letter-spacing: 0.08em; |
| 219 | + text-transform: uppercase; |
| 220 | + color: var(--text-muted); |
| 221 | + background: color-mix(in srgb, var(--surface-elevated, var(--surface)) 92%, transparent); |
| 222 | + border-bottom: 1px solid var(--glass-border); |
| 223 | +} |
| 224 | + |
| 225 | +.nav-customize-list { |
| 226 | + display: flex; |
| 227 | + flex-direction: column; |
| 228 | +} |
| 229 | + |
| 230 | +.nav-customize-row { |
| 231 | + display: flex; |
| 232 | + align-items: center; |
| 233 | + justify-content: space-between; |
| 234 | + gap: 12px; |
| 235 | + padding: 12px 16px; |
| 236 | +} |
| 237 | + |
| 238 | +.nav-customize-row + .nav-customize-row { |
| 239 | + border-top: 1px solid color-mix(in srgb, var(--glass-border) 78%, transparent); |
| 240 | +} |
| 241 | + |
| 242 | +.nav-customize-row-main { |
| 243 | + display: flex; |
| 244 | + align-items: center; |
| 245 | + gap: 12px; |
| 246 | + min-width: 0; |
| 247 | + flex: 1; |
| 248 | +} |
| 249 | + |
| 250 | +.nav-customize-row-main svg { |
| 251 | + width: 18px; |
| 252 | + height: 18px; |
| 253 | + flex-shrink: 0; |
| 254 | + color: var(--text-secondary); |
| 255 | +} |
| 256 | + |
| 257 | +.nav-customize-row-copy { |
| 258 | + min-width: 0; |
| 259 | +} |
| 260 | + |
| 261 | +.nav-customize-row-title { |
| 262 | + color: var(--text-primary); |
| 263 | + font-weight: 600; |
| 264 | + font-size: 0.92rem; |
| 265 | +} |
| 266 | + |
| 267 | +.nav-customize-row-meta { |
| 268 | + color: var(--text-muted); |
| 269 | + font-size: 0.75rem; |
| 270 | + min-height: 1em; |
| 271 | + margin-top: 2px; |
| 272 | +} |
| 273 | + |
| 274 | +.nav-customize-actions { |
| 275 | + display: flex; |
| 276 | + align-items: center; |
| 277 | + gap: 8px; |
| 278 | + flex-shrink: 0; |
| 279 | +} |
| 280 | + |
| 281 | +.nav-customize-icon { |
| 282 | + width: 36px; |
| 283 | + height: 36px; |
| 284 | + display: inline-flex; |
| 285 | + align-items: center; |
| 286 | + justify-content: center; |
| 287 | + border-radius: 999px; |
| 288 | + border: 1px solid var(--glass-border); |
| 289 | + background: transparent; |
| 290 | + color: var(--text-secondary); |
| 291 | + cursor: pointer; |
| 292 | + transition: all 0.2s ease; |
| 293 | +} |
| 294 | + |
| 295 | +.nav-customize-icon:hover:not(:disabled) { |
| 296 | + color: var(--text-primary); |
| 297 | + border-color: color-mix(in srgb, var(--accent) 22%, var(--glass-border)); |
| 298 | + background: color-mix(in srgb, var(--accent) 10%, transparent); |
| 299 | +} |
| 300 | + |
| 301 | +.nav-customize-icon.active { |
| 302 | + color: var(--warn); |
| 303 | + border-color: color-mix(in srgb, var(--warn) 35%, var(--glass-border)); |
| 304 | + background: color-mix(in srgb, var(--warn) 14%, transparent); |
| 305 | +} |
| 306 | + |
| 307 | +.nav-customize-icon:disabled { |
| 308 | + opacity: 0.35; |
| 309 | + cursor: default; |
| 310 | +} |
| 311 | + |
| 312 | +.nav-customize-icon svg { |
| 313 | + width: 16px; |
| 314 | + height: 16px; |
| 315 | +} |
| 316 | + |
169 | 317 | .sidebar-footer { |
170 | 318 | padding: var(--space-md); |
171 | 319 | border-top: 1px solid var(--glass-border); |
@@ -744,6 +892,12 @@ body.is-offline .offline-banner { display: flex; } |
744 | 892 | -webkit-tap-highlight-color: transparent; |
745 | 893 | transition: color 0.2s; |
746 | 894 | } |
| 895 | +.bottom-nav-item span { |
| 896 | + max-width: 100%; |
| 897 | + overflow: hidden; |
| 898 | + text-overflow: ellipsis; |
| 899 | + white-space: nowrap; |
| 900 | +} |
747 | 901 | .bottom-nav-item:active { color: var(--text-secondary); } |
748 | 902 | .bottom-nav-item.active { color: var(--amethyst-light); } |
749 | 903 | .bottom-nav-item.active::before { |
@@ -782,6 +936,7 @@ body.is-offline .offline-banner { display: flex; } |
782 | 936 | @media (min-width: 640px) { |
783 | 937 | .metrics-grid { grid-template-columns: 1fr 1fr; gap: var(--space-md); } |
784 | 938 | .health-overview { grid-template-columns: 1fr 1fr; } |
| 939 | + .nav-customize-sections { grid-template-columns: 1fr 1fr; } |
785 | 940 | .hero-header { flex-direction: row; align-items: flex-start; justify-content: space-between; } |
786 | 941 | .hero-status { flex: 1; min-width: 0; } |
787 | 942 | .hero-right { flex-shrink: 0; justify-content: flex-end; } |
@@ -839,4 +994,3 @@ body.is-offline .offline-banner { display: flex; } |
839 | 994 | .ring-legend { align-items: center; } |
840 | 995 | .gaming-score { order: -1; } |
841 | 996 | } |
842 | | - |
|
0 commit comments