Oberfläche auf das tradeo Corporate Design umstellen
Nur tradeo Blue und Weiß, Neutraltöne als Deckkraft-Abstufungen. Poppins für Titel und Kennzeichen, Inter für Bedienelemente, beide selbst gehostet. Kopfzeile als Markenfläche, Listen mit Trennlinien statt Kästen, Linien-SVGs statt Emojis, Rot nur noch funktional. Design-System unter docs/DESIGN.md abgelegt und in CLAUDE.md verankert. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
1 parent
95756778d8
commit
8a0f903a40
14 files changed
+1160
-190
No files matched your search
@@ -27,3 +27,17 @@ Wofür dieses Projekt gut ist, und was jemand wissen muss, der hier weiterarbeit
|
|||||||
- Wenig Abhängigkeiten — was Browser und Node schon können, reicht meistens
|
- Wenig Abhängigkeiten — was Browser und Node schon können, reicht meistens
|
||||||
- Semantisches HTML, mobil zuerst, bedienbar per Tastatur, ausreichender Kontrast
|
- Semantisches HTML, mobil zuerst, bedienbar per Tastatur, ausreichender Kontrast
|
||||||
- Konfiguration über Umgebungsvariablen; keine Zugangsdaten im Quelltext
|
- Konfiguration über Umgebungsvariablen; keine Zugangsdaten im Quelltext
|
||||||
|
|
||||||
|
## Design
|
||||||
|
|
||||||
|
Die Oberfläche folgt dem tradeo Corporate Design System in `docs/DESIGN.md`. Kurzfassung für die App:
|
||||||
|
|
||||||
|
- Farben: nur tradeo Blue `#122E45` und Weiß. Neutraltöne als Deckkraft-Abstufungen von tradeo Blue
|
||||||
|
(`--tint-*`, `--line*`, `--text-*` in `public/style.css`). Keine neuen Farben erfinden.
|
||||||
|
- Schrift: Poppins (600/500) für Titel und Kennzeichen, Inter für alles andere; beide selbst gehostet
|
||||||
|
unter `public/fonts/`.
|
||||||
|
- 8-px-Raster, Radius 6 px, linksbündig, ruhige Flächen, dezente Trennlinien statt Kästen.
|
||||||
|
- Keine Emojis als Icons; nur schlichte Linien-SVGs mit funktionalem Zweck. Sentence case, keine
|
||||||
|
Ausrufezeichen.
|
||||||
|
- Was das CDS offen lässt (Statusfarbe, Radius, Icon-Familie, Dark Mode), ist im Kopf von
|
||||||
|
`public/style.css` als offene Designentscheidung vermerkt und dort zentral änderbar.
|
||||||
+734
@@ -0,0 +1,734 @@
|
|||||||
|
# tradeo Corporate Design System
|
||||||
|
**Version:** 0.1 — Arbeitsstand
|
||||||
|
**Zweck:** Einheitliche visuelle Referenz für Mitarbeitende, Designer, Entwickler und KI/LLM-Systeme
|
||||||
|
**Geltungsbereich:** Primär interne Kommunikation; externe Nutzung nur vereinzelt
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 0. Grundsatz
|
||||||
|
|
||||||
|
Dieses Dokument ist kein Inspirationskatalog, sondern ein verbindliches **Design-System**.
|
||||||
|
|
||||||
|
Neue Gestaltungen werden nicht frei erfunden. Sie werden ausschließlich aus den hier definierten bzw. aus bestehenden tradeo-Komponenten zusammengesetzt.
|
||||||
|
|
||||||
|
**Leitsatz:**
|
||||||
|
> Bestehende Komponenten kombinieren — keine neue visuelle Sprache erfinden.
|
||||||
|
|
||||||
|
Wenn eine benötigte Komponente noch nicht definiert ist, wird sie zunächst in das Design-System aufgenommen und erst danach produktiv verwendet.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
# 1. Markencharakter
|
||||||
|
|
||||||
|
tradeo soll visuell wirken als:
|
||||||
|
|
||||||
|
- technisch
|
||||||
|
- reduziert
|
||||||
|
- hochwertig
|
||||||
|
- freundlich
|
||||||
|
- minimalistisch
|
||||||
|
- modern
|
||||||
|
- professionell
|
||||||
|
- ruhig
|
||||||
|
- funktional
|
||||||
|
|
||||||
|
## 1.1 Gestaltungsprinzipien
|
||||||
|
|
||||||
|
### 1. Klarheit vor Dekoration
|
||||||
|
Jedes Element braucht einen funktionalen Grund. Dekoration ohne Informations- oder Orientierungsfunktion wird vermieden.
|
||||||
|
|
||||||
|
### 2. Funktion vor Spielerei
|
||||||
|
Lesbarkeit, Orientierung und Verständlichkeit haben Vorrang vor visueller Originalität.
|
||||||
|
|
||||||
|
### 3. Ruhe statt visueller Lautstärke
|
||||||
|
Wenige Farben, klare Hierarchien, großzügige Abstände und kontrollierte Kontraste.
|
||||||
|
|
||||||
|
### 4. Professionell, aber nicht kühl
|
||||||
|
Die Gestaltung soll technisch und präzise sein, gleichzeitig aber zugänglich und freundlich wirken.
|
||||||
|
|
||||||
|
### 5. Einheitlichkeit vor Einzelkreativität
|
||||||
|
Ein neues Medium soll eindeutig als Teil von tradeo erkennbar sein, auch wenn kein Logo sichtbar ist.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
# 2. Logo
|
||||||
|
|
||||||
|
## 2.1 Primärlogo
|
||||||
|
|
||||||
|
Das bestehende tradeo-Logo bleibt unverändert.
|
||||||
|
|
||||||
|
**Erlaubt:**
|
||||||
|
- Originaldarstellung
|
||||||
|
- weiße Wortmarke auf tradeo-Blau
|
||||||
|
- vorhandene, bereits eingesetzte Logo-Varianten
|
||||||
|
|
||||||
|
**Nicht erlaubt:**
|
||||||
|
- Verzerren
|
||||||
|
- Strecken
|
||||||
|
- Stauchen
|
||||||
|
- Drehen
|
||||||
|
- Umfärben außerhalb bestehender Varianten
|
||||||
|
- Schatten hinzufügen
|
||||||
|
- Konturen hinzufügen
|
||||||
|
- Buchstaben einzeln verändern
|
||||||
|
- neue Logo-Lockups erfinden
|
||||||
|
|
||||||
|
## 2.2 Schutzraum
|
||||||
|
|
||||||
|
Um das Logo ist immer ausreichend freie Fläche vorzusehen.
|
||||||
|
|
||||||
|
Bis ein exakter Schutzraum anhand der Original-Logodatei definiert ist, gilt:
|
||||||
|
|
||||||
|
> Keine Texte, Linien, Icons oder Rahmen unmittelbar an das Logo setzen.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
# 3. Farben
|
||||||
|
|
||||||
|
## 3.1 Bestätigte Primärfarbe
|
||||||
|
|
||||||
|
### tradeo Blue
|
||||||
|
- **HEX:** `#122E45`
|
||||||
|
- **RGB:** `18 / 46 / 69`
|
||||||
|
|
||||||
|
**Verwendung:**
|
||||||
|
- zentrale Markenflächen
|
||||||
|
- Header
|
||||||
|
- Titelbereiche
|
||||||
|
- primäre Buttons
|
||||||
|
- Navigationsflächen
|
||||||
|
- zentrale Beschilderungselemente
|
||||||
|
- Hintergründe mit weißem Text
|
||||||
|
|
||||||
|
tradeo Blue ist die visuell dominierende Markenfarbe.
|
||||||
|
|
||||||
|
## 3.2 Weiß
|
||||||
|
|
||||||
|
- **HEX:** `#FFFFFF`
|
||||||
|
|
||||||
|
**Verwendung:**
|
||||||
|
- Haupt-Hintergrund
|
||||||
|
- Text auf tradeo Blue
|
||||||
|
- ruhige Negativflächen
|
||||||
|
- Karten und Inhaltsflächen
|
||||||
|
|
||||||
|
## 3.3 Weitere Farben
|
||||||
|
|
||||||
|
Weitere Farben und Gradients werden **nicht frei neu definiert**.
|
||||||
|
|
||||||
|
Es dürfen ausschließlich Farbtöne und Verläufe verwendet werden, die bereits in bestehenden tradeo-Medien — insbesondere auf der Website — vorkommen und anschließend als verbindliche Tokens in dieses Dokument übernommen wurden.
|
||||||
|
|
||||||
|
### Status: noch zu erfassen
|
||||||
|
- sekundäre Blautöne
|
||||||
|
- Grautöne
|
||||||
|
- Website-Hintergrundfarben
|
||||||
|
- vorhandene Gradients
|
||||||
|
- bestehende Akzentfarben
|
||||||
|
- funktionale Statusfarben
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
# 4. Typografie
|
||||||
|
|
||||||
|
## 4.1 Primärschrift
|
||||||
|
|
||||||
|
### Poppins
|
||||||
|
|
||||||
|
Poppins ist die primäre tradeo-Schrift.
|
||||||
|
|
||||||
|
**Bevorzugte Verwendung:**
|
||||||
|
- Hauptüberschriften
|
||||||
|
- Bereichsbezeichnungen
|
||||||
|
- Schilder
|
||||||
|
- kurze Labels
|
||||||
|
- Titel
|
||||||
|
- Key Messages
|
||||||
|
- Navigation
|
||||||
|
- prägnante Kennzeichnungen
|
||||||
|
|
||||||
|
### Empfohlene Schnitte
|
||||||
|
- **SemiBold / 600:** Hauptüberschriften
|
||||||
|
- **Medium / 500:** Unterüberschriften und Labels
|
||||||
|
- **Regular / 400:** kurze, ruhige Texte wenn Poppins eingesetzt wird
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 4.2 Sekundärschrift
|
||||||
|
|
||||||
|
### Inter — vorgeschlagene Ergänzung
|
||||||
|
|
||||||
|
Inter ergänzt Poppins als neutrale, professionelle Funktionsschrift.
|
||||||
|
|
||||||
|
**Bevorzugte Verwendung:**
|
||||||
|
- Fließtext
|
||||||
|
- Tabellen
|
||||||
|
- längere Beschreibungen
|
||||||
|
- UI-Texte
|
||||||
|
- Formulare
|
||||||
|
- Daten
|
||||||
|
- Präsentationsinhalte
|
||||||
|
- technische Informationen
|
||||||
|
|
||||||
|
### Empfohlene Schnitte
|
||||||
|
- **Regular / 400:** Standardtext
|
||||||
|
- **Medium / 500:** hervorgehobener Text
|
||||||
|
- **SemiBold / 600:** Labels und wichtige UI-Informationen
|
||||||
|
|
||||||
|
> Hinweis: Inter ist aktuell ein Vorschlag und sollte einmal intern freigegeben werden, bevor sie als verbindliche Zweitschrift gilt.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
# 5. Typografische Hierarchie
|
||||||
|
|
||||||
|
Die folgenden Rollen sind verbindlich. Die konkrete Größe wird je nach Medium skaliert.
|
||||||
|
|
||||||
|
## Display / Hero
|
||||||
|
- Schrift: Poppins
|
||||||
|
- Gewicht: 600
|
||||||
|
- Einsatz: große zentrale Aussage
|
||||||
|
- maximal wenige Wörter
|
||||||
|
- hoher Weißraumanteil
|
||||||
|
|
||||||
|
## H1 / Seitentitel
|
||||||
|
- Schrift: Poppins
|
||||||
|
- Gewicht: 600
|
||||||
|
- Einsatz: Hauptüberschrift eines Mediums
|
||||||
|
|
||||||
|
## H2 / Abschnitt
|
||||||
|
- Schrift: Poppins
|
||||||
|
- Gewicht: 500–600
|
||||||
|
- Einsatz: Untergliederung
|
||||||
|
|
||||||
|
## Label
|
||||||
|
- Schrift: Poppins oder Inter
|
||||||
|
- Gewicht: 500–600
|
||||||
|
- Einsatz: kurze funktionale Bezeichnungen
|
||||||
|
|
||||||
|
## Body
|
||||||
|
- Schrift: Inter
|
||||||
|
- Gewicht: 400
|
||||||
|
- Einsatz: Fließtext
|
||||||
|
|
||||||
|
## Data / Table
|
||||||
|
- Schrift: Inter
|
||||||
|
- Gewicht: 400–500
|
||||||
|
- Einsatz: Tabellen, Kennzahlen, Statusinformationen
|
||||||
|
|
||||||
|
## Caption
|
||||||
|
- Schrift: Inter
|
||||||
|
- Gewicht: 400
|
||||||
|
- Einsatz: Zusatzinformationen
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
# 6. Schreibweise
|
||||||
|
|
||||||
|
## Standard
|
||||||
|
- bevorzugt **Sentence case**
|
||||||
|
- kurze Überschriften
|
||||||
|
- klare Substantive und Verben
|
||||||
|
- keine werbliche Übertreibung
|
||||||
|
- keine unnötig lockere Jugendsprache
|
||||||
|
|
||||||
|
## Vermeiden
|
||||||
|
- ÜBERMÄSSIGE GROSSSCHREIBUNG
|
||||||
|
- mehrere Ausrufezeichen
|
||||||
|
- verspielte Sonderzeichen
|
||||||
|
- unnötige Emojis
|
||||||
|
- pseudo-technische Buzzwords
|
||||||
|
- lange Textblöcke auf Schildern
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
# 7. Layout-System
|
||||||
|
|
||||||
|
## 7.1 Grundprinzip
|
||||||
|
|
||||||
|
Layouts folgen einer klaren visuellen Hierarchie:
|
||||||
|
|
||||||
|
1. Orientierung
|
||||||
|
2. Hauptinformation
|
||||||
|
3. unterstützende Information
|
||||||
|
4. Details
|
||||||
|
|
||||||
|
Nicht alle vier Ebenen müssen verwendet werden.
|
||||||
|
|
||||||
|
## 7.2 Ausrichtung
|
||||||
|
|
||||||
|
**Standard:** linksbündig
|
||||||
|
|
||||||
|
Zentrierung nur wenn:
|
||||||
|
- eine einzelne Aussage im Mittelpunkt steht
|
||||||
|
- keine mehrstufige Informationshierarchie vorhanden ist
|
||||||
|
- die Komposition dadurch nachweislich ruhiger wird
|
||||||
|
|
||||||
|
## 7.3 Weißraum
|
||||||
|
|
||||||
|
Weißraum ist ein aktives Gestaltungsmittel.
|
||||||
|
|
||||||
|
Elemente sollen nicht deshalb vergrößert oder ergänzt werden, nur weil Platz verfügbar ist.
|
||||||
|
|
||||||
|
## 7.4 Informationsdichte
|
||||||
|
|
||||||
|
Bevorzugt:
|
||||||
|
- wenige Elemente
|
||||||
|
- klare Gruppen
|
||||||
|
- erkennbare Abstände
|
||||||
|
- deutliche Hierarchie
|
||||||
|
|
||||||
|
Vermeiden:
|
||||||
|
- viele gleichgewichtete Elemente
|
||||||
|
- flächendeckende Boxen
|
||||||
|
- mehrere konkurrierende Überschriften
|
||||||
|
- unnötige Rahmen
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
# 8. Spacing-System für digitale Medien
|
||||||
|
|
||||||
|
Für UIs und digitale Layouts wird ein **8-Pixel-Grundraster** empfohlen.
|
||||||
|
|
||||||
|
Typische Abstände:
|
||||||
|
|
||||||
|
- `4 px` — Mikroabstand
|
||||||
|
- `8 px` — eng zusammengehörige Elemente
|
||||||
|
- `16 px` — Standardabstand
|
||||||
|
- `24 px` — Gruppenabstand
|
||||||
|
- `32 px` — Abschnitt
|
||||||
|
- `48 px` — großer Abschnitt
|
||||||
|
- `64 px+` — große Layouttrennung
|
||||||
|
|
||||||
|
Abweichungen sind nur sinnvoll, wenn sie aus einem bestehenden tradeo-Layout übernommen werden.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
# 9. Formen
|
||||||
|
|
||||||
|
## Grundcharakter
|
||||||
|
- geometrisch
|
||||||
|
- sauber
|
||||||
|
- weich genug, um freundlich zu wirken
|
||||||
|
- nicht verspielt
|
||||||
|
|
||||||
|
## Vermeiden
|
||||||
|
- dekorative Freiformen
|
||||||
|
- Comic-Elemente
|
||||||
|
- übermäßige Rundungen
|
||||||
|
- starke 3D-Effekte
|
||||||
|
- visuell aggressive Rahmen
|
||||||
|
|
||||||
|
Für digitale Interfaces sollen Radien konsistent verwendet werden.
|
||||||
|
|
||||||
|
**Exakte Radius-Tokens:** noch anhand bestehender tradeo-UIs / Website festzulegen.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
# 10. Gradients
|
||||||
|
|
||||||
|
Gradients dürfen verwendet werden, wenn sie aus bestehenden tradeo-Medien übernommen sind.
|
||||||
|
|
||||||
|
## Regeln
|
||||||
|
- subtil
|
||||||
|
- ruhig
|
||||||
|
- innerhalb der bestehenden Farbwelt
|
||||||
|
- keine Regenbogenverläufe
|
||||||
|
- keine Neonwirkung
|
||||||
|
- kein dominantes „Gaming“- oder „Web3“-Erscheinungsbild
|
||||||
|
|
||||||
|
**Exakte Gradient-Tokens:** noch aus der Website zu extrahieren.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
# 11. Icons
|
||||||
|
|
||||||
|
Icons sind funktionale Orientierungselemente.
|
||||||
|
|
||||||
|
## Bevorzugt
|
||||||
|
- einheitliche Icon-Familie
|
||||||
|
- reduzierte Formen
|
||||||
|
- klare Silhouetten
|
||||||
|
- konsistente Strichstärken
|
||||||
|
- technisch-neutral
|
||||||
|
|
||||||
|
## Nicht erlaubt
|
||||||
|
- Mischung verschiedener Icon-Stile
|
||||||
|
- Emoji als regulärer Icon-Ersatz
|
||||||
|
- Cartoon-Icons
|
||||||
|
- handgezeichnete Stilwechsel
|
||||||
|
- dekorative Icons ohne Funktion
|
||||||
|
|
||||||
|
**Verbindliche Icon-Familie:** noch festzulegen.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
# 12. Fotografie und Bildsprache
|
||||||
|
|
||||||
|
Wenn Fotos verwendet werden, sollen sie:
|
||||||
|
|
||||||
|
- authentisch
|
||||||
|
- technisch
|
||||||
|
- sauber
|
||||||
|
- ruhig
|
||||||
|
- hochwertig
|
||||||
|
- dokumentarisch
|
||||||
|
- realistisch
|
||||||
|
|
||||||
|
wirken.
|
||||||
|
|
||||||
|
Bevorzugte Motive:
|
||||||
|
- Mitarbeiter bei realer Arbeit
|
||||||
|
- Hardware
|
||||||
|
- Prozesse
|
||||||
|
- Logistik
|
||||||
|
- Technik
|
||||||
|
- Arbeitsplatzsituationen
|
||||||
|
- Details von Materialien und Produkten
|
||||||
|
|
||||||
|
Vermeiden:
|
||||||
|
- generische Stock-Fotografie
|
||||||
|
- überinszenierte Business-Szenen
|
||||||
|
- künstlich überschwängliche Gestik
|
||||||
|
- stark verspielte Inszenierung
|
||||||
|
- extreme Filter
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
# 13. Beschilderungen
|
||||||
|
|
||||||
|
Beschilderungen haben besonders hohe Anforderungen an Verständlichkeit.
|
||||||
|
|
||||||
|
## Prioritäten
|
||||||
|
1. Erkennbarkeit
|
||||||
|
2. Lesbarkeit
|
||||||
|
3. Orientierung
|
||||||
|
4. CI-Konsistenz
|
||||||
|
5. Gestaltung
|
||||||
|
|
||||||
|
## Grundaufbau
|
||||||
|
|
||||||
|
**Ebene 1 — Hauptinformation**
|
||||||
|
z. B. `Wareneingang`
|
||||||
|
|
||||||
|
**Ebene 2 — Funktion / Präzisierung**
|
||||||
|
z. B. `Anlieferung & Prüfung`
|
||||||
|
|
||||||
|
**Ebene 3 — optionale Zusatzinformation**
|
||||||
|
z. B. Öffnungszeiten oder Prozesshinweis
|
||||||
|
|
||||||
|
**Ebene 4 — optionale Kennzeichnung**
|
||||||
|
Icon, Nummer, Richtungspfeil
|
||||||
|
|
||||||
|
## Regeln
|
||||||
|
- möglichst nur eine zentrale Aussage
|
||||||
|
- Poppins für Hauptinformation
|
||||||
|
- hoher Kontrast
|
||||||
|
- keine langen Texte
|
||||||
|
- Symbole nur mit funktionalem Nutzen
|
||||||
|
- keine unnötigen Zierrahmen
|
||||||
|
- Pfeile und Orientierungselemente immer konsistent
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
# 14. Präsentationen
|
||||||
|
|
||||||
|
## Grundprinzip
|
||||||
|
Eine Folie = eine Kernaussage.
|
||||||
|
|
||||||
|
## Gestaltung
|
||||||
|
- Poppins für Titel
|
||||||
|
- Inter für Inhalte
|
||||||
|
- großzügiger Weißraum
|
||||||
|
- wenig Text
|
||||||
|
- visuelle Hierarchie statt Textmenge
|
||||||
|
- Diagramme reduziert
|
||||||
|
- tradeo Blue als primäre Markenfarbe
|
||||||
|
|
||||||
|
## Nicht verwenden
|
||||||
|
- dekorative PowerPoint-Effekte
|
||||||
|
- WordArt
|
||||||
|
- übermäßige Animationen
|
||||||
|
- 3D-Diagramme
|
||||||
|
- bunte SmartArt-Stile
|
||||||
|
- Clipart
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
# 15. Thumbnails und Banner
|
||||||
|
|
||||||
|
## Ziel
|
||||||
|
Schnell erfassbare zentrale Aussage.
|
||||||
|
|
||||||
|
## Aufbau
|
||||||
|
- starke Headline
|
||||||
|
- maximal wenige unterstützende Elemente
|
||||||
|
- klare Bild-/Text-Hierarchie
|
||||||
|
- tradeo-Farbwelt
|
||||||
|
- Poppins dominant
|
||||||
|
|
||||||
|
## Nicht verwenden
|
||||||
|
- Meme-Ästhetik
|
||||||
|
- Clickbait-Stil
|
||||||
|
- schrille Farben
|
||||||
|
- zu viele Textblöcke
|
||||||
|
- mehrere konkurrierende Blickfänge
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
# 16. Interne Anwendungen und UIs
|
||||||
|
|
||||||
|
tradeo-UIs sollen wie ein Teil derselben visuellen Organisation wirken.
|
||||||
|
|
||||||
|
## Typografie
|
||||||
|
- Poppins: Page Title / Module Title
|
||||||
|
- Inter: Navigation, Tabellen, Formulare, Controls, Fließtext
|
||||||
|
|
||||||
|
## Grundregeln
|
||||||
|
- klare Navigation
|
||||||
|
- wenige visuelle Ebenen
|
||||||
|
- großzügige Abstände
|
||||||
|
- einfache Statusdarstellung
|
||||||
|
- konsistente Buttons
|
||||||
|
- konsistente Karten
|
||||||
|
- klare Interaktionszustände
|
||||||
|
|
||||||
|
## Primäre Aktion
|
||||||
|
Primäre Aktionen werden bevorzugt in tradeo Blue dargestellt.
|
||||||
|
|
||||||
|
## Sekundäre Aktion
|
||||||
|
Zurückhaltender als die primäre Aktion.
|
||||||
|
|
||||||
|
## Destruktive Aktion
|
||||||
|
Nur funktional markieren; niemals als dekorative Akzentfarbe verwenden.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
# 17. Tabellen und Daten
|
||||||
|
|
||||||
|
Daten sollen funktional und scanbar dargestellt werden.
|
||||||
|
|
||||||
|
## Regeln
|
||||||
|
- Inter verwenden
|
||||||
|
- klare Spalten
|
||||||
|
- Zahlen sauber ausrichten
|
||||||
|
- dezente Trennlinien
|
||||||
|
- geringe visuelle Dichte
|
||||||
|
- Hervorhebung nur bei inhaltlicher Relevanz
|
||||||
|
|
||||||
|
Vermeiden:
|
||||||
|
- abwechselnd stark gefärbte Tabellenzeilen
|
||||||
|
- dicke Rahmen
|
||||||
|
- mehrere Akzentfarben
|
||||||
|
- dekorative Tabellenköpfe
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
# 18. Do / Don't
|
||||||
|
|
||||||
|
## DO
|
||||||
|
- bestehende Komponenten wiederverwenden
|
||||||
|
- wenige Farben einsetzen
|
||||||
|
- klar hierarchisieren
|
||||||
|
- großzügigen Weißraum lassen
|
||||||
|
- Poppins bewusst einsetzen
|
||||||
|
- technische Präzision zeigen
|
||||||
|
- Inhalte schnell erfassbar machen
|
||||||
|
- Vorlagen verwenden
|
||||||
|
|
||||||
|
## DON'T
|
||||||
|
- neue Farben spontan erfinden
|
||||||
|
- neue Schriftarten einführen
|
||||||
|
- verspielte Gestaltung verwenden
|
||||||
|
- unnötige Icons ergänzen
|
||||||
|
- Elemente stark dekorieren
|
||||||
|
- mehrere Designsprachen mischen
|
||||||
|
- „jung“, „hip“ oder „quirky“ gestalten
|
||||||
|
- visuelle Trends ohne Bezug zu tradeo übernehmen
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
# 19. Entscheidungsregel für neue Medien
|
||||||
|
|
||||||
|
Vor Freigabe eines neuen Mediums müssen folgende Fragen mit **Ja** beantwortet werden:
|
||||||
|
|
||||||
|
- Verwendet es ausschließlich bestehende tradeo-Komponenten?
|
||||||
|
- Ist die Hauptinformation sofort erkennbar?
|
||||||
|
- Ist die visuelle Hierarchie eindeutig?
|
||||||
|
- Ist die Anzahl der Farben minimal?
|
||||||
|
- Ist die Typografie regelkonform?
|
||||||
|
- Sind Abstände und Ausrichtungen konsistent?
|
||||||
|
- Würde das Medium auch ohne Logo wie tradeo wirken?
|
||||||
|
- Wirkt es technisch, reduziert, hochwertig, freundlich, minimalistisch und modern?
|
||||||
|
|
||||||
|
Wenn eine Antwort **Nein** lautet, muss die Gestaltung überarbeitet werden.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
# 20. Regel für KI / LLM-Systeme
|
||||||
|
|
||||||
|
## Systemanweisung
|
||||||
|
|
||||||
|
Bei der Erstellung visueller tradeo-Medien gilt:
|
||||||
|
|
||||||
|
> Verwende ausschließlich die in diesem Corporate Design System beschriebenen bzw. als bestehend dokumentierten tradeo-Komponenten. Erfinde keine zusätzlichen Farben, Schriftarten, Gradients, Icons, Formen oder Stilrichtungen. Wenn eine benötigte Komponente nicht definiert ist, kennzeichne dies als offene Designentscheidung statt selbstständig eine neue Lösung einzuführen.
|
||||||
|
|
||||||
|
## Prioritäten für KI-generierte Gestaltung
|
||||||
|
|
||||||
|
1. CI-Konformität
|
||||||
|
2. funktionale Verständlichkeit
|
||||||
|
3. visuelle Hierarchie
|
||||||
|
4. Lesbarkeit
|
||||||
|
5. Konsistenz
|
||||||
|
6. Ästhetik
|
||||||
|
|
||||||
|
Ästhetische Originalität steht nicht über Konsistenz.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
# 21. KI-Kurzprofil
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
brand:
|
||||||
|
name: tradeo
|
||||||
|
character:
|
||||||
|
- technical
|
||||||
|
- reduced
|
||||||
|
- premium
|
||||||
|
- friendly
|
||||||
|
- minimalist
|
||||||
|
- modern
|
||||||
|
- professional
|
||||||
|
|
||||||
|
principles:
|
||||||
|
- clarity_over_decoration
|
||||||
|
- function_over_playfulness
|
||||||
|
- calm_over_visual_noise
|
||||||
|
- consistency_over_individual_creativity
|
||||||
|
- reuse_existing_components_only
|
||||||
|
|
||||||
|
colors:
|
||||||
|
primary:
|
||||||
|
name: tradeo_blue
|
||||||
|
hex: "#122E45"
|
||||||
|
rgb: [18, 46, 69]
|
||||||
|
white:
|
||||||
|
hex: "#FFFFFF"
|
||||||
|
rule: "Do not invent new brand colors. Use only documented existing tradeo colors."
|
||||||
|
|
||||||
|
typography:
|
||||||
|
primary:
|
||||||
|
family: "Poppins"
|
||||||
|
roles:
|
||||||
|
- headlines
|
||||||
|
- labels
|
||||||
|
- signage
|
||||||
|
- key_messages
|
||||||
|
secondary:
|
||||||
|
family: "Inter"
|
||||||
|
status: "proposed"
|
||||||
|
roles:
|
||||||
|
- body
|
||||||
|
- ui
|
||||||
|
- tables
|
||||||
|
- data
|
||||||
|
- long_form_text
|
||||||
|
|
||||||
|
layout:
|
||||||
|
default_alignment: left
|
||||||
|
whitespace: generous
|
||||||
|
visual_density: low
|
||||||
|
digital_spacing_base_px: 8
|
||||||
|
|
||||||
|
style:
|
||||||
|
avoid:
|
||||||
|
- playful
|
||||||
|
- colorful
|
||||||
|
- childish
|
||||||
|
- unserious
|
||||||
|
- cartoon
|
||||||
|
- decorative_without_function
|
||||||
|
- excessive_shadows
|
||||||
|
- excessive_3d
|
||||||
|
- mixed_visual_languages
|
||||||
|
|
||||||
|
generation_rule:
|
||||||
|
"Compose from existing components. Do not invent a new visual language."
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
# 22. Medien-Matrix
|
||||||
|
|
||||||
|
| Medium | Primärschrift | Sekundärschrift | Hauptziel |
|
||||||
|
|---|---|---|---|
|
||||||
|
| Beschilderung | Poppins | Inter optional | Orientierung |
|
||||||
|
| Überschrift / Schriftzug | Poppins | — | Identifikation |
|
||||||
|
| Präsentation | Poppins | Inter | Kommunikation |
|
||||||
|
| Layout / Dokument | Poppins | Inter | Struktur |
|
||||||
|
| Thumbnail | Poppins | Inter optional | schnelle Erfassung |
|
||||||
|
| App / UI | Poppins | Inter | Bedienbarkeit |
|
||||||
|
| Banner | Poppins | Inter optional | zentrale Aussage |
|
||||||
|
| Tabelle / Dashboard | Poppins für Titel | Inter | Datenerfassung |
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
# 23. Noch zu definierende Design-Tokens
|
||||||
|
|
||||||
|
Diese Punkte werden anhand bestehender tradeo-Materialien exakt ergänzt:
|
||||||
|
|
||||||
|
- [ ] vollständige Farbpalette
|
||||||
|
- [ ] Website-Gradients
|
||||||
|
- [ ] Neutralfarben
|
||||||
|
- [ ] exakte Typografiegrößen pro Medium
|
||||||
|
- [ ] Zeilenhöhen
|
||||||
|
- [ ] Letter Spacing
|
||||||
|
- [ ] Corner Radii
|
||||||
|
- [ ] Border Styles
|
||||||
|
- [ ] Shadow Styles
|
||||||
|
- [ ] Icon-Familie
|
||||||
|
- [ ] Pfeil-System
|
||||||
|
- [ ] Logo-Schutzraum
|
||||||
|
- [ ] Mindestgröße Logo
|
||||||
|
- [ ] Print-Farbwerte
|
||||||
|
- [ ] RAL-Farben für physische Beschilderung
|
||||||
|
- [ ] Standardformate für Schilder
|
||||||
|
- [ ] Präsentationsmaster
|
||||||
|
- [ ] UI-Komponenten
|
||||||
|
- [ ] Thumbnail-Templates
|
||||||
|
- [ ] Banner-Templates
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
# 24. Geplante Template-Bibliothek
|
||||||
|
|
||||||
|
Langfristig sollte dieses Design-System durch konkrete Referenz-Templates ergänzt werden:
|
||||||
|
|
||||||
|
1. Türschild
|
||||||
|
2. Bereichsschild
|
||||||
|
3. Regal-/Lagerplatzkennzeichnung
|
||||||
|
4. Maschinen-/Arbeitsplatzkennzeichnung
|
||||||
|
5. Lean-/Shopfloor-Board
|
||||||
|
6. Prozesshinweis
|
||||||
|
7. SOP-Titelblatt
|
||||||
|
8. Präsentationsfolie
|
||||||
|
9. Thumbnail
|
||||||
|
10. Banner
|
||||||
|
11. Dashboard
|
||||||
|
12. interne Web-App
|
||||||
|
13. Formulare
|
||||||
|
14. Tabellen
|
||||||
|
15. Informationskarte
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
# 25. Versionierung
|
||||||
|
|
||||||
|
Änderungen an Farben, Typografie oder zentralen Design-Tokens werden dokumentiert.
|
||||||
|
|
||||||
|
Empfohlenes Schema:
|
||||||
|
|
||||||
|
- `0.x` — Aufbau / Entwicklung
|
||||||
|
- `1.0` — erste freigegebene CI
|
||||||
|
- `1.x` — Ergänzungen ohne grundlegenden Stilwechsel
|
||||||
|
- `2.0` — grundlegende visuelle Änderung
|
||||||
|
|
||||||
|
**Aktueller Stand:** `0.1`
|
||||||
+13
-16
@@ -23,6 +23,7 @@ function fmtDate(isoStr) {
|
|||||||
function fmtLong(isoStr) {
|
function fmtLong(isoStr) {
|
||||||
return new Date(isoStr + 'T12:00:00').toLocaleDateString('de-DE', { weekday: 'long', day: 'numeric', month: 'long', year: 'numeric' });
|
return new Date(isoStr + 'T12:00:00').toLocaleDateString('de-DE', { weekday: 'long', day: 'numeric', month: 'long', year: 'numeric' });
|
||||||
}
|
}
|
||||||
|
const LOCK_ICON = '<svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><rect x="5" y="11" width="14" height="10" rx="1.5"/><path d="M8 11V7a4 4 0 0 1 8 0v4"/></svg>';
|
||||||
const MONTHS = ['Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Dezember'];
|
const MONTHS = ['Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Dezember'];
|
||||||
|
|
||||||
let toastTimer;
|
let toastTimer;
|
||||||
@@ -66,11 +67,6 @@ function personById(id) { return state.data.persons.find((p) => p.id === id); }
|
|||||||
function fullName(p) { return p ? `${p.firstName} ${p.lastName}` : 'unbesetzt'; }
|
function fullName(p) { return p ? `${p.firstName} ${p.lastName}` : 'unbesetzt'; }
|
||||||
function shortName(p) { return p ? `${p.firstName} ${p.lastName.charAt(0)}.` : '?'; }
|
function shortName(p) { return p ? `${p.firstName} ${p.lastName.charAt(0)}.` : '?'; }
|
||||||
function initials(p) { return `${p.firstName.charAt(0)}${p.lastName.charAt(0)}`.toUpperCase(); }
|
function initials(p) { return `${p.firstName.charAt(0)}${p.lastName.charAt(0)}`.toUpperCase(); }
|
||||||
function colorFor(id) {
|
|
||||||
let h = 0;
|
|
||||||
for (const c of id) h = (h * 31 + c.charCodeAt(0)) >>> 0;
|
|
||||||
return `hsl(${h % 360} 55% 45%)`;
|
|
||||||
}
|
|
||||||
function isAbsent(personId, date) {
|
function isAbsent(personId, date) {
|
||||||
return state.data.absences.some((a) => a.personId === personId && a.from <= date && a.to >= date);
|
return state.data.absences.some((a) => a.personId === personId && a.from <= date && a.to >= date);
|
||||||
}
|
}
|
||||||
@@ -94,7 +90,6 @@ function avatarEl(p, cls = '') {
|
|||||||
}
|
}
|
||||||
const e = document.createElement('span');
|
const e = document.createElement('span');
|
||||||
e.className = `avatar ${cls}`;
|
e.className = `avatar ${cls}`;
|
||||||
e.style.background = colorFor(p.id);
|
|
||||||
e.textContent = initials(p);
|
e.textContent = initials(p);
|
||||||
e.setAttribute('role', 'img');
|
e.setAttribute('role', 'img');
|
||||||
e.setAttribute('aria-label', fullName(p));
|
e.setAttribute('aria-label', fullName(p));
|
||||||
@@ -141,7 +136,9 @@ function renderCalendar() {
|
|||||||
if (date < today) cell.classList.add('past');
|
if (date < today) cell.classList.add('past');
|
||||||
const num = document.createElement('div');
|
const num = document.createElement('div');
|
||||||
num.className = 'num';
|
num.className = 'num';
|
||||||
num.textContent = cur.getDate();
|
const numText = document.createElement('span');
|
||||||
|
numText.textContent = cur.getDate();
|
||||||
|
num.appendChild(numText);
|
||||||
cell.appendChild(num);
|
cell.appendChild(num);
|
||||||
if (outside) { grid.appendChild(cell); continue; }
|
if (outside) { grid.appendChild(cell); continue; }
|
||||||
|
|
||||||
@@ -162,7 +159,7 @@ function renderCalendar() {
|
|||||||
cell.setAttribute('aria-label', `${fmtLong(date)}, kein Meeting`);
|
cell.setAttribute('aria-label', `${fmtLong(date)}, kein Meeting`);
|
||||||
} else if (a) {
|
} else if (a) {
|
||||||
planned += 1;
|
planned += 1;
|
||||||
if (a.locked) { const lock = document.createElement('span'); lock.className = 'lock'; lock.textContent = '🔒'; lock.title = 'fixiert'; num.appendChild(lock); }
|
if (a.locked) { const lock = document.createElement('span'); lock.className = 'lock'; lock.innerHTML = LOCK_ICON; lock.title = 'fixiert'; num.appendChild(lock); }
|
||||||
const pair = document.createElement('div');
|
const pair = document.createElement('div');
|
||||||
pair.className = 'pair';
|
pair.className = 'pair';
|
||||||
const main = personById(a.main);
|
const main = personById(a.main);
|
||||||
@@ -171,7 +168,7 @@ function renderCalendar() {
|
|||||||
pair.appendChild(slotEl(main, 'main', date));
|
pair.appendChild(slotEl(main, 'main', date));
|
||||||
pair.appendChild(slotEl(co, 'co', date));
|
pair.appendChild(slotEl(co, 'co', date));
|
||||||
cell.appendChild(pair);
|
cell.appendChild(pair);
|
||||||
const absentNote = (p) => (p && isAbsent(p.id, date) ? ' (abwesend!)' : '');
|
const absentNote = (p) => (p && isAbsent(p.id, date) ? ' (abwesend)' : '');
|
||||||
cell.setAttribute('aria-label', `${fmtLong(date)}: Haupt ${fullName(main)}${absentNote(main)}, Neben ${fullName(co)}${absentNote(co)}${a.locked ? ', fixiert' : ''}`);
|
cell.setAttribute('aria-label', `${fmtLong(date)}: Haupt ${fullName(main)}${absentNote(main)}, Neben ${fullName(co)}${absentNote(co)}${a.locked ? ', fixiert' : ''}`);
|
||||||
} else {
|
} else {
|
||||||
cell.setAttribute('aria-label', `${fmtLong(date)}, noch nicht ausgelost`);
|
cell.setAttribute('aria-label', `${fmtLong(date)}, noch nicht ausgelost`);
|
||||||
@@ -206,7 +203,7 @@ function slotEl(p, role, date) {
|
|||||||
name.className = 'name';
|
name.className = 'name';
|
||||||
name.textContent = shortName(p);
|
name.textContent = shortName(p);
|
||||||
name.title = fullName(p);
|
name.title = fullName(p);
|
||||||
if (absent) { name.classList.add('absent'); name.title += ' – abwesend!'; }
|
if (absent) { name.classList.add('absent'); name.title += ' – abwesend'; }
|
||||||
slot.appendChild(name);
|
slot.appendChild(name);
|
||||||
return slot;
|
return slot;
|
||||||
}
|
}
|
||||||
@@ -734,16 +731,16 @@ function renderAbsences() {
|
|||||||
const conflicts = Object.entries(state.data.assignments).filter(([d, x]) => d >= a.from && d <= a.to && !x.off && (x.main === a.personId || x.co === a.personId));
|
const conflicts = Object.entries(state.data.assignments).filter(([d, x]) => d >= a.from && d <= a.to && !x.off && (x.main === a.personId || x.co === a.personId));
|
||||||
if (conflicts.length) {
|
if (conflicts.length) {
|
||||||
const warn = document.createElement('span');
|
const warn = document.createElement('span');
|
||||||
warn.className = 'tag off';
|
warn.className = 'tag conflict';
|
||||||
warn.textContent = `${conflicts.length}× eingeplant!`;
|
warn.textContent = `${conflicts.length}× eingeplant`;
|
||||||
warn.title = 'Diese Person ist an Tagen im Kalender eingeplant, an denen sie abwesend ist. Im Kalender neu auslosen.';
|
warn.title = 'Diese Person ist an Tagen im Kalender eingeplant, an denen sie abwesend ist. Im Kalender neu auslosen.';
|
||||||
li.appendChild(warn);
|
li.appendChild(warn);
|
||||||
}
|
}
|
||||||
const del = document.createElement('button');
|
const del = document.createElement('button');
|
||||||
del.type = 'button';
|
del.type = 'button';
|
||||||
del.className = 'ghost danger';
|
del.className = 'ghost';
|
||||||
del.textContent = 'Löschen';
|
del.textContent = 'Entfernen';
|
||||||
del.addEventListener('click', () => run(() => api(`api/absences/${a.id}`, { method: 'DELETE' }), 'Abwesenheit gelöscht.'));
|
del.addEventListener('click', () => run(() => api(`api/absences/${a.id}`, { method: 'DELETE' }), 'Abwesenheit entfernt.'));
|
||||||
li.appendChild(del);
|
li.appendChild(del);
|
||||||
list.appendChild(li);
|
list.appendChild(li);
|
||||||
}
|
}
|
||||||
@@ -797,7 +794,7 @@ function renderSettings() {
|
|||||||
if (!h.auto) li.appendChild(tag('manuell'));
|
if (!h.auto) li.appendChild(tag('manuell'));
|
||||||
const del = document.createElement('button');
|
const del = document.createElement('button');
|
||||||
del.type = 'button';
|
del.type = 'button';
|
||||||
del.className = 'ghost danger';
|
del.className = 'ghost';
|
||||||
del.textContent = 'Entfernen';
|
del.textContent = 'Entfernen';
|
||||||
del.addEventListener('click', () => run(() => api(`api/holidays/${h.date}`, { method: 'DELETE' }), 'Eintrag entfernt.'));
|
del.addEventListener('click', () => run(() => api(`api/holidays/${h.date}`, { method: 'DELETE' }), 'Eintrag entfernt.'));
|
||||||
li.appendChild(del);
|
li.appendChild(del);
|
||||||
|
|||||||
@@ -0,0 +1,93 @@
|
|||||||
|
Copyright 2020 The Inter Project Authors (https://github.com/rsms/inter)
|
||||||
|
|
||||||
|
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||||
|
This license is copied below, and is also available with a FAQ at:
|
||||||
|
https://scripts.sil.org/OFL
|
||||||
|
|
||||||
|
|
||||||
|
-----------------------------------------------------------
|
||||||
|
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||||
|
-----------------------------------------------------------
|
||||||
|
|
||||||
|
PREAMBLE
|
||||||
|
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||||
|
development of collaborative font projects, to support the font creation
|
||||||
|
efforts of academic and linguistic communities, and to provide a free and
|
||||||
|
open framework in which fonts may be shared and improved in partnership
|
||||||
|
with others.
|
||||||
|
|
||||||
|
The OFL allows the licensed fonts to be used, studied, modified and
|
||||||
|
redistributed freely as long as they are not sold by themselves. The
|
||||||
|
fonts, including any derivative works, can be bundled, embedded,
|
||||||
|
redistributed and/or sold with any software provided that any reserved
|
||||||
|
names are not used by derivative works. The fonts and derivatives,
|
||||||
|
however, cannot be released under any other type of license. The
|
||||||
|
requirement for fonts to remain under this license does not apply
|
||||||
|
to any document created using the fonts or their derivatives.
|
||||||
|
|
||||||
|
DEFINITIONS
|
||||||
|
"Font Software" refers to the set of files released by the Copyright
|
||||||
|
Holder(s) under this license and clearly marked as such. This may
|
||||||
|
include source files, build scripts and documentation.
|
||||||
|
|
||||||
|
"Reserved Font Name" refers to any names specified as such after the
|
||||||
|
copyright statement(s).
|
||||||
|
|
||||||
|
"Original Version" refers to the collection of Font Software components as
|
||||||
|
distributed by the Copyright Holder(s).
|
||||||
|
|
||||||
|
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||||
|
or substituting -- in part or in whole -- any of the components of the
|
||||||
|
Original Version, by changing formats or by porting the Font Software to a
|
||||||
|
new environment.
|
||||||
|
|
||||||
|
"Author" refers to any designer, engineer, programmer, technical
|
||||||
|
writer or other person who contributed to the Font Software.
|
||||||
|
|
||||||
|
PERMISSION & CONDITIONS
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||||
|
redistribute, and sell modified and unmodified copies of the Font
|
||||||
|
Software, subject to the following conditions:
|
||||||
|
|
||||||
|
1) Neither the Font Software nor any of its individual components,
|
||||||
|
in Original or Modified Versions, may be sold by itself.
|
||||||
|
|
||||||
|
2) Original or Modified Versions of the Font Software may be bundled,
|
||||||
|
redistributed and/or sold with any software, provided that each copy
|
||||||
|
contains the above copyright notice and this license. These can be
|
||||||
|
included either as stand-alone text files, human-readable headers or
|
||||||
|
in the appropriate machine-readable metadata fields within text or
|
||||||
|
binary files as long as those fields can be easily viewed by the user.
|
||||||
|
|
||||||
|
3) No Modified Version of the Font Software may use the Reserved Font
|
||||||
|
Name(s) unless explicit written permission is granted by the corresponding
|
||||||
|
Copyright Holder. This restriction only applies to the primary font name as
|
||||||
|
presented to the users.
|
||||||
|
|
||||||
|
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||||
|
Software shall not be used to promote, endorse or advertise any
|
||||||
|
Modified Version, except to acknowledge the contribution(s) of the
|
||||||
|
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||||
|
permission.
|
||||||
|
|
||||||
|
5) The Font Software, modified or unmodified, in part or in whole,
|
||||||
|
must be distributed entirely under this license, and must not be
|
||||||
|
distributed under any other license. The requirement for fonts to
|
||||||
|
remain under this license does not apply to any document created
|
||||||
|
using the Font Software.
|
||||||
|
|
||||||
|
TERMINATION
|
||||||
|
This license becomes null and void if any of the above conditions are
|
||||||
|
not met.
|
||||||
|
|
||||||
|
DISCLAIMER
|
||||||
|
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||||
|
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||||
|
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||||
|
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||||
|
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||||
|
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||||
@@ -0,0 +1,93 @@
|
|||||||
|
Copyright 2020 The Poppins Project Authors (https://github.com/itfoundry/Poppins)
|
||||||
|
|
||||||
|
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||||
|
This license is copied below, and is also available with a FAQ at:
|
||||||
|
http://scripts.sil.org/OFL
|
||||||
|
|
||||||
|
|
||||||
|
-----------------------------------------------------------
|
||||||
|
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||||
|
-----------------------------------------------------------
|
||||||
|
|
||||||
|
PREAMBLE
|
||||||
|
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||||
|
development of collaborative font projects, to support the font creation
|
||||||
|
efforts of academic and linguistic communities, and to provide a free and
|
||||||
|
open framework in which fonts may be shared and improved in partnership
|
||||||
|
with others.
|
||||||
|
|
||||||
|
The OFL allows the licensed fonts to be used, studied, modified and
|
||||||
|
redistributed freely as long as they are not sold by themselves. The
|
||||||
|
fonts, including any derivative works, can be bundled, embedded,
|
||||||
|
redistributed and/or sold with any software provided that any reserved
|
||||||
|
names are not used by derivative works. The fonts and derivatives,
|
||||||
|
however, cannot be released under any other type of license. The
|
||||||
|
requirement for fonts to remain under this license does not apply
|
||||||
|
to any document created using the fonts or their derivatives.
|
||||||
|
|
||||||
|
DEFINITIONS
|
||||||
|
"Font Software" refers to the set of files released by the Copyright
|
||||||
|
Holder(s) under this license and clearly marked as such. This may
|
||||||
|
include source files, build scripts and documentation.
|
||||||
|
|
||||||
|
"Reserved Font Name" refers to any names specified as such after the
|
||||||
|
copyright statement(s).
|
||||||
|
|
||||||
|
"Original Version" refers to the collection of Font Software components as
|
||||||
|
distributed by the Copyright Holder(s).
|
||||||
|
|
||||||
|
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||||
|
or substituting -- in part or in whole -- any of the components of the
|
||||||
|
Original Version, by changing formats or by porting the Font Software to a
|
||||||
|
new environment.
|
||||||
|
|
||||||
|
"Author" refers to any designer, engineer, programmer, technical
|
||||||
|
writer or other person who contributed to the Font Software.
|
||||||
|
|
||||||
|
PERMISSION & CONDITIONS
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||||
|
redistribute, and sell modified and unmodified copies of the Font
|
||||||
|
Software, subject to the following conditions:
|
||||||
|
|
||||||
|
1) Neither the Font Software nor any of its individual components,
|
||||||
|
in Original or Modified Versions, may be sold by itself.
|
||||||
|
|
||||||
|
2) Original or Modified Versions of the Font Software may be bundled,
|
||||||
|
redistributed and/or sold with any software, provided that each copy
|
||||||
|
contains the above copyright notice and this license. These can be
|
||||||
|
included either as stand-alone text files, human-readable headers or
|
||||||
|
in the appropriate machine-readable metadata fields within text or
|
||||||
|
binary files as long as those fields can be easily viewed by the user.
|
||||||
|
|
||||||
|
3) No Modified Version of the Font Software may use the Reserved Font
|
||||||
|
Name(s) unless explicit written permission is granted by the corresponding
|
||||||
|
Copyright Holder. This restriction only applies to the primary font name as
|
||||||
|
presented to the users.
|
||||||
|
|
||||||
|
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||||
|
Software shall not be used to promote, endorse or advertise any
|
||||||
|
Modified Version, except to acknowledge the contribution(s) of the
|
||||||
|
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||||
|
permission.
|
||||||
|
|
||||||
|
5) The Font Software, modified or unmodified, in part or in whole,
|
||||||
|
must be distributed entirely under this license, and must not be
|
||||||
|
distributed under any other license. The requirement for fonts to
|
||||||
|
remain under this license does not apply to any document created
|
||||||
|
using the Font Software.
|
||||||
|
|
||||||
|
TERMINATION
|
||||||
|
This license becomes null and void if any of the above conditions are
|
||||||
|
not met.
|
||||||
|
|
||||||
|
DISCLAIMER
|
||||||
|
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||||
|
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||||
|
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||||
|
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||||
|
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||||
|
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
/* Poppins und Inter, selbst gehostet (SIL Open Font License, siehe OFL-*.txt). Quelle: Google Fonts, Subsets latin + latin-ext. */
|
||||||
|
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('inter-variable-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
|
||||||
|
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('inter-variable-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
|
||||||
|
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('poppins-500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
|
||||||
|
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('poppins-500-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
|
||||||
|
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('poppins-600-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
|
||||||
|
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('poppins-600-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+11
-10
@@ -3,14 +3,15 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
|
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
|
||||||
<meta name="color-scheme" content="light dark">
|
<meta name="color-scheme" content="light">
|
||||||
<title>Rotatory – Morning-Meeting-Moderation</title>
|
<title>Rotatory – Morning-Meeting-Moderation</title>
|
||||||
|
<link rel="stylesheet" href="fonts/fonts.css">
|
||||||
<link rel="stylesheet" href="style.css">
|
<link rel="stylesheet" href="style.css">
|
||||||
<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ctext y='.9em' font-size='90'%3E%F0%9F%8E%99%3C/text%3E%3C/svg%3E">
|
<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect width='16' height='16' rx='3' fill='%23122E45'/%3E%3C/svg%3E">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header class="topbar">
|
<header class="topbar">
|
||||||
<h1><span aria-hidden="true">🎙</span> Rotatory</h1>
|
<h1>Rotatory</h1>
|
||||||
<nav aria-label="Bereiche">
|
<nav aria-label="Bereiche">
|
||||||
<a href="#kalender" data-view="kalender">Kalender</a>
|
<a href="#kalender" data-view="kalender">Kalender</a>
|
||||||
<a href="#personen" data-view="personen">Personen</a>
|
<a href="#personen" data-view="personen">Personen</a>
|
||||||
@@ -24,15 +25,15 @@
|
|||||||
<section id="view-kalender" class="view" aria-labelledby="cal-title">
|
<section id="view-kalender" class="view" aria-labelledby="cal-title">
|
||||||
<div class="toolbar">
|
<div class="toolbar">
|
||||||
<div class="month-nav">
|
<div class="month-nav">
|
||||||
<button type="button" id="prev-month" aria-label="Vorheriger Monat">‹</button>
|
<button type="button" id="prev-month" class="icon-button" aria-label="Vorheriger Monat"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><path d="M15 6l-6 6 6 6"/></svg></button>
|
||||||
<h2 id="cal-title">Monat</h2>
|
<h2 id="cal-title">Monat</h2>
|
||||||
<button type="button" id="next-month" aria-label="Nächster Monat">›</button>
|
<button type="button" id="next-month" class="icon-button" aria-label="Nächster Monat"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><path d="M9 6l6 6-6 6"/></svg></button>
|
||||||
<button type="button" id="today-month" class="ghost">Heute</button>
|
<button type="button" id="today-month" class="ghost">Heute</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="actions">
|
<div class="actions">
|
||||||
<button type="button" id="open-plan" class="primary">Auslosen …</button>
|
<button type="button" id="open-plan" class="primary">Auslosen …</button>
|
||||||
<button type="button" id="open-nextcloud">Nextcloud …</button>
|
<button type="button" id="open-nextcloud">Nextcloud …</button>
|
||||||
<a id="download-ics" class="button ghost" href="#" download>ICS</a>
|
<a id="download-ics" class="button ghost" href="#" download>ICS-Datei</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<p id="cal-hint" class="hint" hidden></p>
|
<p id="cal-hint" class="hint" hidden></p>
|
||||||
@@ -45,7 +46,7 @@
|
|||||||
<div class="legend">
|
<div class="legend">
|
||||||
<span><span class="badge main">H</span> Hauptmoderation</span>
|
<span><span class="badge main">H</span> Hauptmoderation</span>
|
||||||
<span><span class="badge co">N</span> Nebenmoderation</span>
|
<span><span class="badge co">N</span> Nebenmoderation</span>
|
||||||
<span><span class="lock" aria-hidden="true">🔒</span> fixiert</span>
|
<span><span class="lock" aria-hidden="true"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><rect x="5" y="11" width="14" height="10" rx="1.5"/><path d="M8 11V7a4 4 0 0 1 8 0v4"/></svg></span> fixiert</span>
|
||||||
<span><span class="avatar empty small" aria-hidden="true">?</span> unbesetzt</span>
|
<span><span class="avatar empty small" aria-hidden="true">?</span> unbesetzt</span>
|
||||||
</div>
|
</div>
|
||||||
<section class="stats" aria-labelledby="stats-title">
|
<section class="stats" aria-labelledby="stats-title">
|
||||||
@@ -123,7 +124,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
<p class="hint">Abwesenheiten wirken auf die nächste Auslosung. Bereits ausgeloste Tage werden markiert und lassen sich im Kalender neu auslosen.</p>
|
<p class="hint">Abwesenheiten wirken auf die nächste Auslosung. Bereits ausgeloste Tage werden markiert und lassen sich im Kalender neu auslosen.</p>
|
||||||
<label class="inline"><input type="checkbox" id="absence-show-past"> Vergangene anzeigen</label>
|
<label class="inline" id="absence-toggle"><input type="checkbox" id="absence-show-past"> Vergangene anzeigen</label>
|
||||||
<ul id="absence-list" class="list"></ul>
|
<ul id="absence-list" class="list"></ul>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
@@ -169,7 +170,7 @@
|
|||||||
<label class="inline"><input type="checkbox" name="locked"> Fixieren (bleibt bei jeder Auslosung erhalten)</label>
|
<label class="inline"><input type="checkbox" name="locked"> Fixieren (bleibt bei jeder Auslosung erhalten)</label>
|
||||||
<label class="inline"><input type="checkbox" name="off"> Kein Meeting an diesem Tag</label>
|
<label class="inline"><input type="checkbox" name="off"> Kein Meeting an diesem Tag</label>
|
||||||
<div class="form-actions">
|
<div class="form-actions">
|
||||||
<button type="button" id="day-reroll">🎲 Neu auslosen</button>
|
<button type="button" id="day-reroll">Neu auslosen</button>
|
||||||
<button type="button" id="day-clear" class="ghost danger">Entfernen</button>
|
<button type="button" id="day-clear" class="ghost danger">Entfernen</button>
|
||||||
<span class="spacer"></span>
|
<span class="spacer"></span>
|
||||||
<button type="button" id="day-close" class="ghost">Abbrechen</button>
|
<button type="button" id="day-close" class="ghost">Abbrechen</button>
|
||||||
@@ -213,7 +214,7 @@
|
|||||||
<button type="button" id="nextcloud-test">Verbindung testen</button>
|
<button type="button" id="nextcloud-test">Verbindung testen</button>
|
||||||
<span class="spacer"></span>
|
<span class="spacer"></span>
|
||||||
<button type="button" class="ghost" id="nextcloud-close">Schließen</button>
|
<button type="button" class="ghost" id="nextcloud-close">Schließen</button>
|
||||||
<button type="submit" class="primary" id="nextcloud-go">Go – schreiben</button>
|
<button type="submit" class="primary" id="nextcloud-go">In Nextcloud schreiben</button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</dialog>
|
</dialog>
|
||||||
|
|||||||
+195
-164
@@ -1,204 +1,235 @@
|
|||||||
|
/*
|
||||||
|
* Rotatory – Oberfläche nach dem tradeo Corporate Design System (docs/DESIGN.md, Stand 0.1).
|
||||||
|
* Farben: ausschließlich tradeo Blue #122E45 und Weiß. Neutraltöne sind Abstufungen von tradeo Blue
|
||||||
|
* über Deckkraft – eine offene Designentscheidung, bis das CDS Grautöne definiert (Abschnitt 3.3).
|
||||||
|
* Ebenso offen: Radius (hier 6 px), funktionale Statusfarbe (hier #B42318, nur für Fehler/Konflikte),
|
||||||
|
* Icon-Familie (hier schlichte Linien-SVGs, 1,75 px Strich). Kein Dark Mode, da im CDS nicht definiert.
|
||||||
|
*/
|
||||||
:root {
|
:root {
|
||||||
--bg: #f6f7fb;
|
--tradeo-blue: #122E45;
|
||||||
--card: #ffffff;
|
--white: #FFFFFF;
|
||||||
--text: #1c2130;
|
--text: #122E45;
|
||||||
--muted: #5d6578;
|
--text-2: rgba(18, 46, 69, .72);
|
||||||
--line: #dde1ea;
|
--text-3: rgba(18, 46, 69, .56);
|
||||||
--accent: #2f6fed;
|
--line: rgba(18, 46, 69, .14);
|
||||||
--accent-text: #ffffff;
|
--line-2: rgba(18, 46, 69, .32);
|
||||||
--main: #2f6fed;
|
--tint-1: rgba(18, 46, 69, .04);
|
||||||
--co: #e08a1e;
|
--tint-2: rgba(18, 46, 69, .08);
|
||||||
--danger: #c93b3b;
|
--tint-3: rgba(18, 46, 69, .16);
|
||||||
--holiday: #eef0f5;
|
--danger: #B42318;
|
||||||
--today: #fff6d6;
|
--radius: 6px;
|
||||||
--warn: #b25e00;
|
--font-title: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
|
||||||
--ok: #1d7a3e;
|
--font-ui: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
|
||||||
--radius: 10px;
|
--avatar-main: 52px;
|
||||||
--cell-min: 64px;
|
--avatar-co: 44px;
|
||||||
}
|
--cell-min: 104px;
|
||||||
@media (prefers-color-scheme: dark) {
|
|
||||||
:root {
|
|
||||||
--bg: #14171f;
|
|
||||||
--card: #1e222c;
|
|
||||||
--text: #e8eaf0;
|
|
||||||
--muted: #a0a7b8;
|
|
||||||
--line: #313746;
|
|
||||||
--holiday: #1a1d25;
|
|
||||||
--today: #3a3420;
|
|
||||||
--accent: #5b8dff;
|
|
||||||
--main: #5b8dff;
|
|
||||||
--co: #f0a23a;
|
|
||||||
--danger: #ff7b7b;
|
|
||||||
--warn: #f2b45a;
|
|
||||||
--ok: #5fcf7f;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
* { box-sizing: border-box; }
|
* { box-sizing: border-box; }
|
||||||
html { color-scheme: light dark; }
|
html { color-scheme: light; }
|
||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font: 15px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
|
font: 400 15px/1.5 var(--font-ui);
|
||||||
color: var(--text);
|
color: var(--text);
|
||||||
background: var(--bg);
|
background: var(--white);
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
}
|
}
|
||||||
h1, h2, h3 { margin: 0 0 .5rem; line-height: 1.2; }
|
h1, h2, h3 { margin: 0; font-family: var(--font-title); line-height: 1.25; }
|
||||||
h1 { font-size: 1.25rem; }
|
h1 { font-size: 18px; font-weight: 600; }
|
||||||
h2 { font-size: 1.2rem; }
|
h2 { font-size: 22px; font-weight: 600; }
|
||||||
h3 { font-size: 1rem; margin-top: 1.5rem; }
|
h3 { font-size: 16px; font-weight: 500; }
|
||||||
a { color: var(--accent); }
|
a { color: var(--tradeo-blue); }
|
||||||
[hidden] { display: none !important; }
|
[hidden] { display: none !important; }
|
||||||
|
svg.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
|
||||||
|
|
||||||
|
/* Kopfzeile: Markenfläche in tradeo Blue mit weißer Wortmarke */
|
||||||
.topbar {
|
.topbar {
|
||||||
display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center;
|
display: flex; flex-wrap: wrap; align-items: center; gap: 8px 32px;
|
||||||
padding: .6rem 1rem; background: var(--card); border-bottom: 1px solid var(--line);
|
padding: 0 24px; min-height: 56px;
|
||||||
|
background: var(--tradeo-blue); color: var(--white);
|
||||||
position: sticky; top: 0; z-index: 5;
|
position: sticky; top: 0; z-index: 5;
|
||||||
}
|
}
|
||||||
.topbar nav { display: flex; gap: .25rem; flex-wrap: wrap; }
|
.topbar h1 { color: var(--white); padding: 14px 0; }
|
||||||
|
.topbar nav { display: flex; gap: 4px; flex-wrap: wrap; align-self: stretch; }
|
||||||
.topbar nav a {
|
.topbar nav a {
|
||||||
text-decoration: none; color: var(--muted); padding: .35rem .7rem; border-radius: 999px; font-weight: 500;
|
display: inline-flex; align-items: center; padding: 0 12px; min-height: 56px;
|
||||||
|
text-decoration: none; color: rgba(255, 255, 255, .76); font-weight: 500; font-size: 14px;
|
||||||
|
border-bottom: 2px solid transparent;
|
||||||
}
|
}
|
||||||
.topbar nav a[aria-current="page"] { background: var(--accent); color: var(--accent-text); }
|
.topbar nav a:hover { color: var(--white); }
|
||||||
.topbar nav a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, .day:focus-visible {
|
.topbar nav a[aria-current="page"] { color: var(--white); border-bottom-color: var(--white); }
|
||||||
outline: 3px solid var(--accent); outline-offset: 2px;
|
.topbar nav a:focus-visible { outline: 2px solid var(--white); outline-offset: -4px; }
|
||||||
|
@media (max-width: 560px) {
|
||||||
|
.topbar { padding: 0 16px; gap: 0 16px; }
|
||||||
|
.topbar h1 { padding: 12px 0; }
|
||||||
|
.topbar nav { flex-wrap: nowrap; overflow-x: auto; width: 100%; margin: 0 -16px; padding: 0 8px; scrollbar-width: none; }
|
||||||
|
.topbar nav::-webkit-scrollbar { display: none; }
|
||||||
|
.topbar nav a { min-height: 44px; padding: 0 10px; font-size: 13px; white-space: nowrap; }
|
||||||
|
}
|
||||||
|
button:focus-visible, input:focus-visible, select:focus-visible, .button:focus-visible, .day:focus-visible, .avatar[tabindex]:focus-visible {
|
||||||
|
outline: 2px solid var(--tradeo-blue); outline-offset: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
main { padding: 1rem; max-width: 1100px; margin: 0 auto; }
|
main { padding: 24px 16px 48px; max-width: 1120px; margin: 0 auto; }
|
||||||
.view > h2 { margin-bottom: 1rem; }
|
@media (min-width: 720px) { main { padding: 32px 24px 64px; } }
|
||||||
|
.view > h2 { margin-bottom: 24px; }
|
||||||
|
h3 { margin: 32px 0 12px; }
|
||||||
|
|
||||||
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; margin-bottom: 1rem; }
|
/* Karten und Formulare */
|
||||||
.form-grid { display: grid; gap: .75rem; grid-template-columns: 1fr; }
|
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; }
|
||||||
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .wide, .form-grid fieldset, .form-grid .form-actions, .form-grid .hint { grid-column: 1 / -1; } }
|
.form-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
|
||||||
label { display: flex; flex-direction: column; gap: .25rem; font-size: .9rem; color: var(--muted); }
|
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .wide, .form-grid fieldset, .form-grid .form-actions, .form-grid .hint, .form-grid h3 { grid-column: 1 / -1; } }
|
||||||
label.inline { flex-direction: row; align-items: center; gap: .5rem; color: var(--text); }
|
.form-grid h3 { margin: 0; }
|
||||||
input, select, button, .button {
|
label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; color: var(--text-2); }
|
||||||
font: inherit; border-radius: 8px; border: 1px solid var(--line); padding: .5rem .65rem; background: var(--card); color: var(--text);
|
label.inline { flex-direction: row; align-items: center; gap: 10px; color: var(--text); font-weight: 400; font-size: 14px; }
|
||||||
min-height: 40px;
|
|
||||||
}
|
|
||||||
input[type="checkbox"] { min-height: 0; width: 1.1rem; height: 1.1rem; accent-color: var(--accent); }
|
|
||||||
/* Felder dürfen nie breiter werden als ihr Container – lange Kalendernamen in <select> sonst schon */
|
|
||||||
label > input:not([type="checkbox"]), label > select { width: 100%; min-width: 0; max-width: 100%; }
|
label > input:not([type="checkbox"]), label > select { width: 100%; min-width: 0; max-width: 100%; }
|
||||||
.form-grid > *, .dialog-form > *, .row > label { min-width: 0; }
|
.form-grid > *, .dialog-form > *, .row > label { min-width: 0; }
|
||||||
|
input, select, button, .button {
|
||||||
|
font: inherit; font-size: 15px; color: var(--text); background: var(--white);
|
||||||
|
border: 1px solid var(--line-2); border-radius: var(--radius); padding: 8px 12px; min-height: 40px;
|
||||||
|
}
|
||||||
|
input::placeholder { color: var(--text-3); }
|
||||||
|
input[type="checkbox"] { min-height: 0; width: 18px; height: 18px; margin: 0; accent-color: var(--tradeo-blue); }
|
||||||
|
fieldset.checks { border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-wrap: wrap; gap: 12px 24px; padding: 12px 16px 16px; margin: 0; }
|
||||||
|
fieldset.checks legend { font-size: 13px; font-weight: 500; color: var(--text-2); padding: 0 4px; }
|
||||||
|
fieldset.checks label { flex-direction: row; align-items: center; gap: 8px; color: var(--text); font-weight: 400; font-size: 14px; }
|
||||||
|
.row { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: end; margin-bottom: 16px; }
|
||||||
.row > label { flex: 1 1 180px; }
|
.row > label { flex: 1 1 180px; }
|
||||||
.row > button { flex: 0 0 auto; }
|
.row > button { flex: 0 0 auto; }
|
||||||
fieldset.checks { border: 1px solid var(--line); border-radius: 8px; display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; padding: .5rem .75rem .75rem; margin: 0; }
|
.hint { color: var(--text-2); font-size: 13px; margin: 4px 0 16px; }
|
||||||
fieldset.checks legend { font-size: .85rem; color: var(--muted); padding: 0 .25rem; }
|
.result { padding: 12px 16px; border-radius: var(--radius); background: var(--tint-1); font-size: 14px; white-space: pre-line; }
|
||||||
fieldset.checks label { flex-direction: row; align-items: center; gap: .4rem; color: var(--text); }
|
|
||||||
button, .button { cursor: pointer; font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: .35rem; }
|
|
||||||
button:hover, .button:hover { border-color: var(--accent); }
|
|
||||||
button.primary { background: var(--accent); color: var(--accent-text); border-color: var(--accent); }
|
|
||||||
button.ghost, .button.ghost { background: transparent; }
|
|
||||||
button.danger { color: var(--danger); }
|
|
||||||
button:disabled { opacity: .5; cursor: wait; }
|
|
||||||
.form-actions { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
|
|
||||||
.form-actions .spacer { flex: 1; }
|
|
||||||
.row { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: end; margin-bottom: .75rem; }
|
|
||||||
.hint { color: var(--muted); font-size: .88rem; margin: .25rem 0 .75rem; }
|
|
||||||
.result { padding: .6rem .8rem; border-radius: 8px; background: var(--holiday); font-size: .9rem; white-space: pre-line; }
|
|
||||||
.result.error { color: var(--danger); }
|
.result.error { color: var(--danger); }
|
||||||
|
|
||||||
|
/* Schaltflächen: primär in tradeo Blue, sekundär zurückhaltend, destruktiv nur funktional */
|
||||||
|
button, .button {
|
||||||
|
cursor: pointer; font-weight: 500; font-size: 14px; text-decoration: none; color: var(--tradeo-blue);
|
||||||
|
display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 16px; white-space: nowrap;
|
||||||
|
}
|
||||||
|
button:hover, .button:hover { background: var(--tint-1); }
|
||||||
|
button.primary { background: var(--tradeo-blue); color: var(--white); border-color: var(--tradeo-blue); }
|
||||||
|
button.primary:hover { box-shadow: inset 0 0 0 999px rgba(255, 255, 255, .1); background: var(--tradeo-blue); }
|
||||||
|
button.ghost, .button.ghost { border-color: transparent; }
|
||||||
|
button.danger { color: var(--danger); }
|
||||||
|
button.icon-button { width: 40px; padding: 0; }
|
||||||
|
button:disabled { opacity: .45; cursor: default; }
|
||||||
|
.form-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
|
||||||
|
.form-actions .spacer { flex: 1; }
|
||||||
|
|
||||||
/* Kalender */
|
/* Kalender */
|
||||||
.toolbar { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: space-between; align-items: center; margin-bottom: .75rem; }
|
.toolbar { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; margin-bottom: 16px; }
|
||||||
.month-nav { display: flex; align-items: center; gap: .4rem; }
|
.month-nav { display: flex; align-items: center; gap: 8px; }
|
||||||
.month-nav h2 { min-width: 11ch; text-align: center; margin: 0; }
|
.month-nav h2 { min-width: 11ch; font-size: 20px; }
|
||||||
.month-nav button { min-width: 40px; }
|
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
|
||||||
.actions { display: flex; gap: .4rem; flex-wrap: wrap; }
|
.calendar { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
|
||||||
.calendar { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
|
|
||||||
.weekdays, .days { display: grid; grid-template-columns: repeat(5, 1fr); }
|
.weekdays, .days { display: grid; grid-template-columns: repeat(5, 1fr); }
|
||||||
.weekdays div { text-align: center; font-size: .8rem; color: var(--muted); padding: .4rem 0; border-bottom: 1px solid var(--line); text-transform: uppercase; letter-spacing: .04em; }
|
.weekdays div { font-size: 12px; font-weight: 500; color: var(--text-3); padding: 8px 10px; border-bottom: 1px solid var(--line); }
|
||||||
.day {
|
.day {
|
||||||
min-height: var(--cell-min); padding: .3rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
|
min-height: var(--cell-min); padding: 8px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0;
|
||||||
display: flex; flex-direction: column; gap: .25rem; text-align: left; background: transparent; border-radius: 0; color: inherit;
|
display: flex; flex-direction: column; gap: 6px; align-items: stretch; justify-content: flex-start; text-align: left;
|
||||||
cursor: pointer; align-items: stretch; justify-content: flex-start;
|
background: var(--white); color: inherit; cursor: pointer; font-weight: 400; white-space: normal;
|
||||||
}
|
}
|
||||||
.day:nth-child(5n) { border-right: 0; }
|
.day:nth-child(5n) { border-right: 0; }
|
||||||
.day.outside { background: var(--holiday); cursor: default; opacity: .55; }
|
.day.outside { background: var(--tint-1); cursor: default; }
|
||||||
.day.holiday { background: var(--holiday); }
|
.day.outside .num { opacity: .5; }
|
||||||
.day.today { background: var(--today); }
|
.day.holiday { background: var(--tint-1); }
|
||||||
.day.past { opacity: .7; }
|
.day.past:not(.outside) { opacity: .6; }
|
||||||
.day:hover:not(.outside) { border-color: var(--line); box-shadow: inset 0 0 0 2px var(--accent); }
|
.day:hover:not(.outside) { background: var(--tint-1); }
|
||||||
.day .num { font-size: .8rem; color: var(--muted); display: flex; justify-content: space-between; align-items: center; }
|
.day:focus-visible { outline-offset: -2px; }
|
||||||
.day .num .lock { font-size: .7rem; }
|
.day .num { font-size: 13px; font-weight: 500; color: var(--text-3); display: flex; justify-content: space-between; align-items: center; min-height: 24px; }
|
||||||
.day .label { font-size: .72rem; color: var(--muted); line-height: 1.2; overflow-wrap: anywhere; }
|
.day.today .num > span:first-child { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--tradeo-blue); color: var(--white); font-weight: 600; }
|
||||||
.day .label.off { color: var(--warn); font-weight: 500; }
|
.day .num .lock { display: inline-flex; color: var(--text-2); }
|
||||||
.day .pair { display: flex; gap: .3rem; align-items: flex-end; justify-content: center; flex-wrap: wrap; }
|
.day .num .lock svg { width: 14px; height: 14px; }
|
||||||
.slot { display: flex; flex-direction: column; align-items: center; gap: .1rem; min-width: 0; }
|
.day .label { font-size: 12px; color: var(--text-2); line-height: 1.3; overflow-wrap: anywhere; }
|
||||||
.slot .name { font-size: .68rem; line-height: 1.1; text-align: center; max-width: 5.5rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
.day .label.off { font-weight: 500; }
|
||||||
|
.day .pair { display: flex; gap: 8px; align-items: flex-end; justify-content: center; flex-wrap: wrap; margin-top: auto; margin-bottom: auto; }
|
||||||
|
.slot { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; }
|
||||||
|
.slot .name { font-size: 12px; line-height: 1.2; text-align: center; max-width: 6rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-2); }
|
||||||
.slot .name.absent { color: var(--danger); text-decoration: line-through; }
|
.slot .name.absent { color: var(--danger); text-decoration: line-through; }
|
||||||
.avatar.absent { border-color: var(--danger); box-shadow: 0 0 0 2px var(--danger); }
|
|
||||||
.avatar {
|
|
||||||
width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--holiday);
|
|
||||||
display: inline-flex; align-items: center; justify-content: center; font-weight: 600; color: #fff; font-size: 1rem;
|
|
||||||
border: 3px solid var(--main); position: relative; flex-shrink: 0;
|
|
||||||
}
|
|
||||||
.avatar.co { width: 42px; height: 42px; border-color: var(--co); font-size: .85rem; }
|
|
||||||
.avatar.empty { border-style: dashed; color: var(--muted); background: transparent; }
|
|
||||||
.avatar.small { width: 24px; height: 24px; border-width: 2px; font-size: .7rem; }
|
|
||||||
.avatar.plain { border-color: var(--line); }
|
|
||||||
.slot .avatar-wrap { position: relative; display: inline-block; }
|
.slot .avatar-wrap { position: relative; display: inline-block; }
|
||||||
|
|
||||||
|
/* Avatare: Hauptmoderation mit gefülltem, Nebenmoderation mit umrandetem Kennzeichen – eine Farbe, zwei Gewichte */
|
||||||
|
.avatar {
|
||||||
|
width: var(--avatar-main); height: var(--avatar-main); border-radius: 50%; object-fit: cover;
|
||||||
|
display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
|
||||||
|
background: var(--tint-2); color: var(--text); font-family: var(--font-title); font-weight: 600; font-size: 15px;
|
||||||
|
border: 2px solid var(--tradeo-blue);
|
||||||
|
}
|
||||||
|
.avatar.co { width: var(--avatar-co); height: var(--avatar-co); border-color: var(--line-2); font-size: 13px; }
|
||||||
|
.avatar.plain { border-color: var(--line); }
|
||||||
|
.avatar.empty { border-style: dashed; border-color: var(--line-2); color: var(--text-3); background: transparent; }
|
||||||
|
.avatar.small { width: 24px; height: 24px; border-width: 1px; font-size: 10px; }
|
||||||
|
.avatar.absent { border-color: var(--danger); }
|
||||||
.badge {
|
.badge {
|
||||||
display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%;
|
display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%;
|
||||||
font-size: .65rem; font-weight: 700; color: #fff; background: var(--main);
|
font-family: var(--font-title); font-size: 10px; font-weight: 600; line-height: 1;
|
||||||
|
background: var(--tradeo-blue); color: var(--white); border: 1.5px solid var(--tradeo-blue);
|
||||||
}
|
}
|
||||||
.badge.co { background: var(--co); }
|
.badge.co { background: var(--white); color: var(--tradeo-blue); }
|
||||||
.slot .badge { position: absolute; bottom: -2px; right: -4px; border: 2px solid var(--card); width: 20px; height: 20px; }
|
.slot .badge { position: absolute; bottom: -3px; right: -5px; box-shadow: 0 0 0 2px var(--white); }
|
||||||
.legend { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: .75rem 0; font-size: .85rem; color: var(--muted); align-items: center; }
|
.legend { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 16px 0 0; font-size: 13px; color: var(--text-2); align-items: center; }
|
||||||
.legend > span { display: inline-flex; align-items: center; gap: .35rem; }
|
.legend > span { display: inline-flex; align-items: center; gap: 8px; }
|
||||||
.stats { margin-top: .5rem; }
|
.legend .lock { display: inline-flex; color: var(--text-2); }
|
||||||
.stats h3 { margin-top: .5rem; }
|
.legend .lock svg { width: 16px; height: 16px; }
|
||||||
#stats { display: flex; flex-wrap: wrap; gap: .5rem; }
|
.stats { margin-top: 32px; }
|
||||||
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .25rem .6rem .25rem .3rem; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font-size: .85rem; }
|
.stats h3 { margin-top: 0; }
|
||||||
.chip .avatar { width: 26px; height: 26px; border-width: 2px; font-size: .7rem; }
|
#stats { display: flex; flex-wrap: wrap; gap: 8px; }
|
||||||
.chip .count { color: var(--muted); }
|
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 13px; }
|
||||||
|
.chip .avatar { width: 28px; height: 28px; border-width: 1px; font-size: 11px; }
|
||||||
|
.chip .count { color: var(--text-3); font-variant-numeric: tabular-nums; }
|
||||||
|
|
||||||
@media (max-width: 520px) {
|
@media (max-width: 560px) {
|
||||||
:root { --cell-min: 78px; }
|
:root { --cell-min: 88px; --avatar-main: 36px; --avatar-co: 30px; }
|
||||||
main { padding: .5rem; }
|
.avatar { font-size: 12px; } .avatar.co { font-size: 10px; }
|
||||||
.avatar { width: 34px; height: 34px; border-width: 2px; font-size: .75rem; }
|
.slot .badge { width: 16px; height: 16px; font-size: 9px; }
|
||||||
.avatar.co { width: 28px; height: 28px; font-size: .65rem; }
|
|
||||||
.slot .badge { width: 15px; height: 15px; font-size: .55rem; }
|
|
||||||
.slot .name { display: none; }
|
.slot .name { display: none; }
|
||||||
.day { padding: .2rem; }
|
.day { padding: 6px 4px; gap: 4px; }
|
||||||
.day .pair { flex-direction: column; align-items: center; gap: .15rem; }
|
.day .pair { flex-direction: column; align-items: center; gap: 6px; }
|
||||||
|
.weekdays div { padding: 8px 6px; }
|
||||||
|
.month-nav h2 { min-width: 0; }
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Listen */
|
/* Listen: Zeilen mit dezenten Trennlinien statt einzelner Kästen */
|
||||||
.list, .person-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
|
.list, .person-list, .contacts-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
|
||||||
.list li, .person-list li {
|
.list li, .person-list li, .contacts-list li { display: flex; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
|
||||||
display: flex; align-items: center; gap: .75rem; padding: .6rem .8rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); flex-wrap: wrap;
|
.list.compact li { padding: 8px 0; }
|
||||||
}
|
.person-list .avatar { width: 48px; height: 48px; cursor: pointer; }
|
||||||
.list.compact li { padding: .35rem .6rem; }
|
.person-list .avatar.plain:hover { border-color: var(--tradeo-blue); }
|
||||||
.person-list .avatar { width: 56px; height: 56px; cursor: pointer; }
|
.person-list .who { flex: 1; min-width: 180px; }
|
||||||
.person-list .avatar.plain:hover { border-color: var(--accent); }
|
.person-list .who strong { display: block; font-family: var(--font-title); font-weight: 500; font-size: 15px; }
|
||||||
.person-list .who { flex: 1; min-width: 160px; }
|
.person-list .who small, .list small, .contacts-list small { color: var(--text-2); font-size: 13px; }
|
||||||
.person-list .who strong { display: block; }
|
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
|
||||||
.person-list .who small, .list small { color: var(--muted); }
|
.tag { font-size: 12px; font-weight: 500; padding: 2px 8px; border-radius: 4px; background: var(--tint-2); color: var(--text); border: 1px solid transparent; }
|
||||||
.tags { display: flex; gap: .3rem; flex-wrap: wrap; margin-top: .2rem; }
|
.tag.main { background: var(--tradeo-blue); color: var(--white); }
|
||||||
.tag { font-size: .72rem; padding: .1rem .5rem; border-radius: 999px; background: var(--holiday); color: var(--muted); }
|
.tag.co { background: var(--white); border-color: var(--tradeo-blue); }
|
||||||
.tag.main { background: var(--main); color: #fff; }
|
.tag.off { background: var(--tint-3); }
|
||||||
.tag.co { background: var(--co); color: #fff; }
|
.tag.conflict { background: var(--white); border-color: var(--danger); color: var(--danger); }
|
||||||
.tag.off { background: var(--danger); color: #fff; }
|
.list li .grow { flex: 1; min-width: 180px; }
|
||||||
.list li .grow { flex: 1; min-width: 160px; }
|
.list li button, .person-list li button { min-height: 34px; padding: 0 12px; font-size: 13px; }
|
||||||
.list li button, .person-list li button { min-height: 34px; padding: .3rem .6rem; font-size: .85rem; }
|
.person-list li.inactive { opacity: .55; }
|
||||||
.person-list li.inactive { opacity: .6; }
|
.type-krankheit { color: var(--danger); }
|
||||||
.type-urlaub { color: var(--ok); } .type-krankheit { color: var(--danger); } .type-frei { color: var(--accent); } .type-sonstiges { color: var(--muted); }
|
label.inline#absence-toggle { margin-bottom: 8px; }
|
||||||
.contacts-list { list-style: none; margin: 0; padding: 0; max-height: 50vh; overflow: auto; border: 1px solid var(--line); border-radius: 8px; }
|
|
||||||
.contacts-list li { display: flex; align-items: center; gap: .6rem; padding: .4rem .6rem; border-bottom: 1px solid var(--line); }
|
|
||||||
.contacts-list li:last-child { border-bottom: 0; }
|
|
||||||
.contacts-list li.exists { opacity: .55; }
|
|
||||||
.contacts-list label { flex-direction: row; align-items: center; gap: .6rem; color: var(--text); flex: 1; cursor: pointer; }
|
|
||||||
.contacts-list small { color: var(--muted); }
|
|
||||||
.contacts-tools { display: flex; gap: .5rem; }
|
|
||||||
.form-grid h3 { margin: 0; }
|
|
||||||
|
|
||||||
/* Dialoge */
|
/* Dialoge */
|
||||||
dialog { border: 1px solid var(--line); border-radius: var(--radius); padding: 0; background: var(--card); color: var(--text); width: min(92vw, 520px); max-width: calc(100vw - 2rem); box-sizing: border-box; }
|
dialog {
|
||||||
dialog::backdrop { background: rgba(0,0,0,.45); }
|
border: 1px solid var(--line); border-radius: var(--radius); padding: 0; background: var(--white); color: var(--text);
|
||||||
.dialog-form { display: grid; gap: .75rem; padding: 1.25rem; }
|
width: min(92vw, 520px); max-width: calc(100vw - 32px); box-shadow: 0 8px 24px rgba(18, 46, 69, .16);
|
||||||
.dialog-form h2 { margin: 0; }
|
}
|
||||||
.dialog-form .form-actions { margin-top: .5rem; }
|
dialog::backdrop { background: rgba(18, 46, 69, .4); }
|
||||||
|
.dialog-form { display: grid; gap: 16px; padding: 24px; }
|
||||||
|
.dialog-form h2 { font-size: 18px; }
|
||||||
|
.dialog-form .form-actions { margin-top: 8px; }
|
||||||
|
.contacts-list { max-height: 50vh; overflow: auto; border: 1px solid var(--line); border-radius: var(--radius); }
|
||||||
|
.contacts-list li { padding: 8px 12px; gap: 12px; }
|
||||||
|
.contacts-list li:last-child { border-bottom: 0; }
|
||||||
|
.contacts-list li.exists { opacity: .5; }
|
||||||
|
.contacts-list label { flex-direction: row; align-items: center; gap: 12px; color: var(--text); flex: 1; cursor: pointer; font-weight: 400; font-size: 14px; }
|
||||||
|
.contacts-tools { display: flex; gap: 8px; }
|
||||||
|
|
||||||
.toast { position: fixed; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); left: 50%; transform: translateX(-50%); background: var(--text); color: var(--bg); padding: .6rem 1rem; border-radius: 999px; font-size: .9rem; z-index: 20; max-width: 90vw; }
|
.toast {
|
||||||
.toast.error { background: var(--danger); color: #fff; }
|
position: fixed; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); left: 50%; transform: translateX(-50%);
|
||||||
.status-ok { color: var(--ok); } .status-warn { color: var(--warn); }
|
background: var(--tradeo-blue); color: var(--white); padding: 10px 16px; border-radius: var(--radius); font-size: 14px; z-index: 20; max-width: 90vw;
|
||||||
code { background: var(--holiday); padding: .1rem .3rem; border-radius: 4px; font-size: .85em; }
|
}
|
||||||
|
.toast.error { background: var(--danger); }
|
||||||
|
.status-ok, .status-warn { font-weight: 500; }
|
||||||
|
.status-warn { color: var(--danger); }
|
||||||
|
code { background: var(--tint-1); padding: 1px 6px; border-radius: 4px; font-size: .9em; }
|
||||||
Reference in new issue
Block a user