Die aufgeklappte Liste eines <select> zeichnet der Browser selbst, CSS erreicht sie nicht. Ohne Hinweis geht er von einer hellen Seite aus und malt sie weiss -- die helle Schrift darauf war praktisch unlesbar (gemeldet mit Screenshot). Behebung ueber color-scheme: dark auf <html>. Das ist der Schalter fuer alles, was der Browser selbst zeichnet: Auswahllisten, Datumskalender, Bildlaufleisten, Textmarkierung. Zusaetzlich sind Hintergrund und Schriftfarbe an <option> gesetzt, weil aeltere Browser und manche Linux-Oberflaechen color-scheme nur teilweise beachten. Damit entfallen die beiden filter: invert(.75) am Kalendersymbol der Datumsfelder -- der Browser zeichnet es jetzt schon hell, invert haette es wieder verdunkelt. Nur statische Dateien, kein Neustart noetig.
165 lines
5.9 KiB
CSS
165 lines
5.9 KiB
CSS
/* ===================================================================
|
|
Aufgabenbrett. Baut auf gate.css und start.css auf.
|
|
=================================================================== */
|
|
|
|
.inhalt--breit { max-width: 1240px; }
|
|
|
|
.zurueck { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; }
|
|
.zurueck:hover { border-bottom-color: currentColor; }
|
|
|
|
.kopf-zeile {
|
|
display: flex; align-items: flex-end; justify-content: space-between;
|
|
gap: 20px; flex-wrap: wrap; margin-bottom: 24px;
|
|
}
|
|
.kopf-zeile .titel { margin: 0; font-size: clamp(1.4rem, 2.2vw, 1.85rem); }
|
|
|
|
.knopf--klein {
|
|
width: auto; margin: 0; padding: 10px 18px; font-size: .92rem;
|
|
}
|
|
|
|
.leise { color: var(--text-still); font-weight: 400; }
|
|
|
|
/* ---------- Formular -------------------------------------------------- */
|
|
|
|
.neu {
|
|
margin: 0 0 28px;
|
|
padding: 20px;
|
|
background: rgba(255, 255, 255, .03);
|
|
border: 1px solid var(--rand);
|
|
border-radius: var(--radius);
|
|
}
|
|
.neu__zeile { margin-bottom: 14px; }
|
|
.neu__raster {
|
|
display: grid; gap: 14px; margin-bottom: 8px;
|
|
grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
|
|
}
|
|
.neu__knoepfe { display: flex; gap: 10px; align-items: center; margin-top: 12px; }
|
|
|
|
.feld-schild {
|
|
display: block; margin-bottom: 6px;
|
|
font-size: .76rem; font-weight: 600; letter-spacing: .06em;
|
|
text-transform: uppercase; color: var(--text-still);
|
|
}
|
|
|
|
.neu input, .neu textarea, .neu select {
|
|
width: 100%; padding: 10px 12px;
|
|
background: rgba(255, 255, 255, .045);
|
|
border: 1px solid var(--rand);
|
|
border-radius: var(--radius-klein);
|
|
color: var(--text); font: inherit;
|
|
transition: border-color var(--tempo), box-shadow var(--tempo);
|
|
}
|
|
.neu textarea { resize: vertical; min-height: 62px; }
|
|
.neu input:focus, .neu textarea:focus, .neu select:focus {
|
|
outline: none; border-color: rgba(63, 189, 245, .7);
|
|
box-shadow: 0 0 0 3px rgba(63, 189, 245, .16);
|
|
}
|
|
/* Aufhellen ist nicht mehr noetig: color-scheme: dark (gate.css) laesst den
|
|
Browser das Kalendersymbol schon hell zeichnen. Ein invert() wuerde es hier
|
|
wieder verdunkeln. */
|
|
.neu input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; }
|
|
|
|
/* ---------- Brett ----------------------------------------------------- */
|
|
|
|
.brett {
|
|
display: grid; gap: 14px;
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
align-items: start;
|
|
}
|
|
|
|
.spalte {
|
|
background: rgba(255, 255, 255, .022);
|
|
border: 1px solid var(--rand);
|
|
border-radius: var(--radius);
|
|
padding: 14px 12px 16px;
|
|
min-height: 120px;
|
|
}
|
|
|
|
.spalte__kopf {
|
|
display: flex; align-items: center; gap: 8px;
|
|
margin: 0 2px 12px;
|
|
font-size: .78rem; font-weight: 700;
|
|
letter-spacing: .08em; text-transform: uppercase;
|
|
color: var(--text-leise);
|
|
}
|
|
.spalte__punkt { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; }
|
|
.spalte__zahl {
|
|
margin-left: auto; padding: 1px 8px;
|
|
background: rgba(255, 255, 255, .06); border-radius: 999px;
|
|
font-size: .74rem; color: var(--text-still); letter-spacing: normal;
|
|
}
|
|
|
|
.spalte[data-status="offen"] .spalte__punkt { background: #6f89a8; }
|
|
.spalte[data-status="arbeit"] .spalte__punkt { background: var(--akzent); }
|
|
.spalte[data-status="review"] .spalte__punkt { background: #e0a33c; }
|
|
.spalte[data-status="erledigt"] .spalte__punkt { background: #4dab77; }
|
|
|
|
.karte {
|
|
padding: 12px 13px;
|
|
margin-bottom: 9px;
|
|
background: rgba(9, 13, 22, .78);
|
|
border: 1px solid var(--rand);
|
|
border-left: 3px solid transparent;
|
|
border-radius: var(--radius-klein);
|
|
}
|
|
.karte[data-prio="hoch"] { border-left-color: #d8656e; }
|
|
.karte[data-prio="mittel"] { border-left-color: #4b6c8a; }
|
|
.karte[data-prio="niedrig"] { border-left-color: #3c4a5a; }
|
|
|
|
.karte__titel { font-weight: 600; font-size: .93rem; line-height: 1.35; }
|
|
.karte__text { margin: 6px 0 0; font-size: .84rem; color: var(--text-leise); }
|
|
|
|
.karte__zeile {
|
|
display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
|
|
margin-top: 10px; font-size: .76rem; color: var(--text-still);
|
|
}
|
|
.karte__frist--faellig { color: var(--warn); font-weight: 600; }
|
|
|
|
.karte__schritte { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
|
|
.schritt {
|
|
padding: 5px 10px;
|
|
background: rgba(255, 255, 255, .04);
|
|
border: 1px solid var(--rand);
|
|
border-radius: 8px;
|
|
color: var(--text-leise); font: inherit; font-size: .76rem; cursor: pointer;
|
|
transition: background var(--tempo), border-color var(--tempo), color var(--tempo);
|
|
}
|
|
.schritt:hover { background: rgba(255, 255, 255, .08); color: var(--text); border-color: var(--rand-hell); }
|
|
.schritt[disabled] { opacity: .4; cursor: default; }
|
|
|
|
.spalte__leer { margin: 4px 2px; font-size: .82rem; color: var(--text-still); }
|
|
|
|
@media (max-width: 1080px) { .brett { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
|
|
@media (max-width: 620px) { .brett { grid-template-columns: 1fr; } }
|
|
|
|
/* ---------- Bearbeiten-Dialog ------------------------------------------ */
|
|
|
|
.dialog {
|
|
width: min(560px, calc(100vw - 32px));
|
|
padding: 0; border: 1px solid var(--rand-hell);
|
|
border-radius: var(--radius);
|
|
background: #0b1018;
|
|
color: var(--text);
|
|
box-shadow: var(--schatten);
|
|
}
|
|
.dialog::backdrop { background: rgba(2, 4, 8, .68); backdrop-filter: blur(3px); }
|
|
|
|
.neu--blank { margin: 0; border: 0; background: none; padding: 22px; }
|
|
|
|
.dialog__titel { margin: 0 0 18px; font-size: 1.12rem; font-weight: 700; }
|
|
|
|
.dialog__knoepfe { display: flex; gap: 10px; align-items: center; margin-top: 16px; flex-wrap: wrap; }
|
|
.dialog__knoepfe #b-loeschen { margin-left: auto; }
|
|
|
|
.abmelden--warnung { color: var(--warn); border-color: rgba(255, 154, 162, .35); }
|
|
.abmelden--warnung:hover { background: rgba(255, 154, 162, .1); border-color: rgba(255, 154, 162, .6); }
|
|
|
|
.karte__stift {
|
|
margin-left: auto; padding: 3px 8px;
|
|
background: none; border: 0; border-radius: 7px;
|
|
color: var(--text-still); font: inherit; font-size: .75rem; cursor: pointer;
|
|
}
|
|
.karte__stift:hover { background: rgba(255, 255, 255, .07); color: var(--text-leise); }
|
|
.karte__kopf { display: flex; align-items: flex-start; gap: 8px; }
|
|
.karte__kopf .karte__titel { flex: 1 1 auto; }
|