Fix: Umlaute in index.html korrigiert + Feature: Tee-Timer
- index.html: "Jährlicher Konsum nach Sorte" sowie "Geräten", "Hinzufügen", "Brühzeit", "Einträge" korrigiert (Umlaute fehlten) - Neuer Tee-Timer: Presets 3/5 Min., eigene Zeit (Min/Sek. einstellbar), Start/Pause/Weiter/Zurücksetzen, Restzeit driftfrei über Endzeit, akustischer Alarm (WebAudio) + Toast bei Ablauf - styles.css: Timer-Styles (Display, Presets, Controls, Status) Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
57
styles.css
57
styles.css
@ -704,3 +704,60 @@ section h2 {
|
||||
color: var(--text-secondary);
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
/* Tea Timer Section */
|
||||
.timer-section {
|
||||
background: var(--card-background);
|
||||
}
|
||||
|
||||
.timer-display {
|
||||
font-size: 3.5rem;
|
||||
font-weight: 700;
|
||||
font-variant-numeric: tabular-nums;
|
||||
text-align: center;
|
||||
color: var(--primary-color);
|
||||
font-family: 'Courier New', monospace;
|
||||
letter-spacing: 4px;
|
||||
}
|
||||
|
||||
.timer-presets {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.timer-custom {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.timer-custom input[type="number"] {
|
||||
width: 70px;
|
||||
padding: 8px;
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: var(--border-radius);
|
||||
font-size: 1rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.timer-controls {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
justify-content: center;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.timer-controls .btn:disabled {
|
||||
opacity: 0.5;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.timer-status {
|
||||
text-align: center;
|
||||
font-size: 0.95rem;
|
||||
color: var(--text-secondary);
|
||||
min-height: 1.2em;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user