Vorlage:Styles/Styles.css: Unterschied zwischen den Versionen
Navigationskasten: Klasse obs-nav-alle fuer den Knopf "alle auf/zu" je Gruppe (Common.js-Patch Aenderung 3) [Volltext ersetzt] |
Abschnitt Farbige Hervorhebung ergaenzt: Klassen obs-rot und obs-gruen (Codex-Farben Fehler/Erfolg, nachtmodusfaehig) fuer Vorlage:Rot und Vorlage:Gruen; bestehende Abschnitte unveraendert [Volltext ersetzt] |
||
| (4 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 50: | Zeile 50: | ||
} | } | ||
/* Kopfzeile in Bergau-Rot (Variablen --bergau-* setzt MediaWiki:Vector-2022.css | |||
inkl. Nachtmodus; ohne sie gelten die hellen Rueckfallwerte) */ | |||
.obs-nav-kopf { | .obs-nav-kopf { | ||
padding: 8px 12px 9px; | padding: 8px 12px 9px; | ||
background: # | background: #b40000; | ||
background: var( -- | background: var( --bergau-rot-kopf, #b40000 ); | ||
border-bottom: 1px solid # | color: #fff; | ||
border-bottom: 1px solid var( -- | border-bottom: 1px solid #b40000; | ||
border-bottom: 1px solid var( --bergau-rot, #b40000 ); | |||
} | } | ||
| Zeile 62: | Zeile 65: | ||
text-transform: uppercase; | text-transform: uppercase; | ||
letter-spacing: 0.04em; | letter-spacing: 0.04em; | ||
color: | color: rgba( 255, 255, 255, 0.8 ); | ||
color: | } | ||
.obs-nav-pfad a { | |||
color: #fff; | |||
} | } | ||
| Zeile 130: | Zeile 136: | ||
} | } | ||
/* Aktuelle Seite (MediaWiki rendert den Selbstlink ohne href) */ | /* Aktuelle Seite (MediaWiki rendert den Selbstlink ohne href), Markierung in Bergau-Rot */ | ||
.obs-nav-inhalt .mw-selflink { | .obs-nav-inhalt .mw-selflink { | ||
font-weight: 600; | font-weight: 600; | ||
color: inherit; | color: inherit; | ||
background: # | background: #fbf0f0; | ||
background: var( -- | background: var( --bergau-rot-hell, #fbf0f0 ); | ||
box-shadow: inset 3px 0 0 # | box-shadow: inset 3px 0 0 #b40000; | ||
box-shadow: inset 3px 0 0 var( -- | box-shadow: inset 3px 0 0 var( --bergau-rot, #b40000 ); | ||
} | } | ||
| Zeile 146: | Zeile 152: | ||
font-weight: 600; | font-weight: 600; | ||
color: inherit; | color: inherit; | ||
background: # | background: #fbf0f0; | ||
background: var( -- | background: var( --bergau-rot-hell, #fbf0f0 ); | ||
box-shadow: inset 3px 0 0 # | box-shadow: inset 3px 0 0 #b40000; | ||
box-shadow: inset 3px 0 0 var( -- | box-shadow: inset 3px 0 0 var( --bergau-rot, #b40000 ); | ||
} | } | ||
| Zeile 202: | Zeile 208: | ||
/* Inhalte starten zugeklappt, damit vor dem Lauf von Common.js nicht kurz | /* Inhalte starten zugeklappt, damit vor dem Lauf von Common.js nicht kurz | ||
alles offen steht. | alles offen steht. Sobald das Skript den Container mit obs-klapp-js markiert, | ||
steuert nur noch das Attribut hidden="until-found" den Zustand (Browser-Suche | |||
.obs-nav .collapsible > .body { | findet zugeklappte Inhalte); ein display:none per CSS wuerde das aushebeln. */ | ||
.obs-nav .collapsible:not( .obs-klapp-js ) > .body { | |||
display: none; | display: none; | ||
} | } | ||
| Zeile 215: | Zeile 222: | ||
border-top: 0.3em solid transparent; | border-top: 0.3em solid transparent; | ||
border-bottom: 0.3em solid transparent; | border-bottom: 0.3em solid transparent; | ||
border-left: 0.38em solid | border-left: 0.38em solid #b40000; | ||
opacity: 0. | border-left: 0.38em solid var( --bergau-rot, #b40000 ); | ||
opacity: 0.8; | |||
transition: transform 0.15s ease; | transition: transform 0.15s ease; | ||
} | } | ||
| Zeile 340: | Zeile 348: | ||
margin: 0 0 1em 0; | margin: 0 0 1em 0; | ||
} | } | ||
} | |||
/* ---------- Tasten und Eingaben (Vorlage:Key, Vorlage:KeyLink, Vorlage:Input) ---------- */ | |||
/* Taste: neutrale Kachel mit leichtem 3D-Rand, Farben aus Codex-Tokens (Nachtmodus automatisch) */ | |||
.obs-key { | |||
display: inline-block; | |||
padding: 0 0.45em; | |||
margin: 0 0.1em; | |||
font-size: 0.85em; | |||
line-height: 1.5; | |||
font-family: inherit; | |||
white-space: nowrap; | |||
color: inherit; | |||
background: #f8f9fa; | |||
background: var( --background-color-neutral-subtle, #f8f9fa ); | |||
border: 1px solid #a2a9b1; | |||
border: 1px solid var( --border-color-base, #a2a9b1 ); | |||
border-bottom-width: 2px; | |||
border-radius: 3px; | |||
vertical-align: baseline; | |||
} | |||
/* Taste mit Link (Vorlage:KeyLink): Link bleibt als Link erkennbar */ | |||
.obs-key a { | |||
color: #36c; | |||
color: var( --color-progressive, #36c ); | |||
} | |||
/* Woertliche Eingabe (Vorlage:Input) */ | |||
.obs-code { | |||
font-family: monospace, monospace; | |||
font-size: 0.95em; | |||
padding: 0 0.3em; | |||
background: #f8f9fa; | |||
background: var( --background-color-neutral-subtle, #f8f9fa ); | |||
border: 1px solid #c8ccd1; | |||
border: 1px solid var( --border-color-subtle, #c8ccd1 ); | |||
border-radius: 2px; | |||
} | |||
/* ---------- Klapptext ausserhalb der Navigation (Vorlage:Klapptext, Vorlage:KlapptextFAQ) ---------- | |||
Klasse obs-klapp sitzt zusaetzlich zu collapsible auf dem Container; Common.js | |||
(Klassen collapsible/title/body/selected) bleibt unveraendert. Innerhalb des | |||
Navigationskastens gelten weiterhin die obs-nav-Regeln, s. Ueberschreibungen unten. */ | |||
.obs-klapp { | |||
margin: 0 0 6px; | |||
border: 1px solid #c8ccd1; | |||
border: 1px solid var( --border-color-subtle, #c8ccd1 ); | |||
border-radius: 3px; | |||
background: #fff; | |||
background: var( --background-color-base, #fff ); | |||
} | |||
.obs-klapp > .title { | |||
position: relative; | |||
cursor: pointer; | |||
font-weight: 600; | |||
padding: 6px 12px 6px 28px; | |||
background: #f8f9fa; | |||
background: var( --background-color-neutral-subtle, #f8f9fa ); | |||
border-radius: 3px; | |||
} | |||
.obs-klapp:not( .selected ) > .title { | |||
border-bottom: 1px solid #c8ccd1; | |||
border-bottom: 1px solid var( --border-color-subtle, #c8ccd1 ); | |||
border-radius: 3px 3px 0 0; | |||
} | |||
.obs-klapp > .title:hover { | |||
background: #eaecf0; | |||
background: var( --background-color-interactive-subtle, #eaecf0 ); | |||
} | |||
/* PNG-Pfeile aus Common.js ausblenden, Dreieck in Markenfarbe */ | |||
.obs-klapp > .title .action { | |||
display: none; | |||
} | |||
.obs-klapp > .title::before { | |||
content: ""; | |||
position: absolute; | |||
left: 12px; | |||
top: 0.95em; | |||
border-top: 0.3em solid transparent; | |||
border-bottom: 0.3em solid transparent; | |||
border-left: 0.38em solid #b40000; | |||
border-left: 0.38em solid var( --bergau-rot, #b40000 ); | |||
opacity: 0.8; | |||
transition: transform 0.15s ease; | |||
} | |||
.obs-klapp:not( .selected ) > .title::before { | |||
transform: rotate( 90deg ); | |||
} | |||
/* Inhalt: Inline-Einzug der Vorlage neutralisieren, eigenes Polster */ | |||
.obs-klapp > .body { | |||
margin-left: 0 !important; | |||
padding: 8px 12px 4px; | |||
} | |||
/* Alte Unterstreichung in FAQ-Koepfen entfaellt */ | |||
.obs-klapp > .title u { | |||
text-decoration: none; | |||
} | |||
/* Vorlage:KlapptextFAQ: Inhaltsflaeche ohne eigene Farbe (frueher #f6f6f6) */ | |||
.obs-klapp-faq { | |||
padding: 0; | |||
} | |||
/* Im Navigationskasten bleibt die schlanke Listenoptik: nur die hier neu | |||
gesetzten Eigenschaften zuruecknehmen, Trennlinien (border-top) und | |||
Hover-Regeln des Kastens bleiben in Kraft */ | |||
.obs-nav .obs-klapp { | |||
border: 0; | |||
border-radius: 0; | |||
margin: 0; | |||
background: transparent; | |||
} | |||
.obs-nav .obs-klapp > .title, | |||
.obs-nav .obs-klapp:not( .selected ) > .title { | |||
border-bottom: 0; | |||
border-radius: 0; | |||
background: transparent; | |||
} | |||
.obs-nav .obs-klapp > .title:hover { | |||
background: #f8f9fa; | |||
background: var( --background-color-interactive-subtle, #f8f9fa ); | |||
} | |||
.obs-nav .obs-klapp > .body { | |||
padding: 0; | |||
} | |||
/* ---------- Farbige Hervorhebung (Vorlage:Rot, Vorlage:Grün) ---------- | |||
Codex-Farben fuer Fehler und Erfolg; Vector hellt sie im Nachtmodus selbst auf. */ | |||
.obs-rot { | |||
color: #d73333; | |||
color: var( --color-error, #d73333 ); | |||
} | |||
.obs-gruen { | |||
color: #177860; | |||
color: var( --color-success, #177860 ); | |||
} | } | ||
Aktuelle Version vom 25. September 2026, 12:49 Uhr
.themenbox {
background: #e8edf7;
background: var( --background-color-progressive-subtle, #e8edf7 );
}
.meldungsbox {
padding: 10px;
border-left: 5px solid;
}
.meldungsbox-aktuelles {
background-color: #f1f4fd;
background-color: var( --background-color-progressive-subtle, #f1f4fd );
border-left-color: #36c;
border-left-color: var( --border-color-progressive, #36c );
}
.meldungsbox-hinweis {
background-color: #dff2eb;
background-color: var( --background-color-success-subtle, #dff2eb );
border-left-color: #196551;
border-left-color: var( --border-color-success, #196551 );
}
.meldungsbox-achtung {
background-color: #ffe9e5;
background-color: var( --background-color-error-subtle, #ffe9e5 );
border-left-color: #9f3526;
border-left-color: var( --border-color-error, #9f3526 );
}
/* ---------- Navigationskasten (Vorlage:Navigation) ---------- */
.obs-nav {
float: right;
clear: both;
/* eigener Stapelkontext: nachfolgende Inhalte mit position:relative
(z.B. EmbedVideo-Container) duerfen den Kasten nicht ueberdecken */
position: relative;
z-index: 1;
width: 19em;
margin: 0 0 1em 1.5em;
border: 1px solid #c8ccd1;
border: 1px solid var( --border-color-subtle, #c8ccd1 );
border-radius: 2px;
background: #fff;
background: var( --background-color-base, #fff );
font-size: 0.92em;
line-height: 1.5;
}
/* Kopfzeile in Bergau-Rot (Variablen --bergau-* setzt MediaWiki:Vector-2022.css
inkl. Nachtmodus; ohne sie gelten die hellen Rueckfallwerte) */
.obs-nav-kopf {
padding: 8px 12px 9px;
background: #b40000;
background: var( --bergau-rot-kopf, #b40000 );
color: #fff;
border-bottom: 1px solid #b40000;
border-bottom: 1px solid var( --bergau-rot, #b40000 );
}
.obs-nav-pfad {
font-size: 0.85em;
text-transform: uppercase;
letter-spacing: 0.04em;
color: rgba( 255, 255, 255, 0.8 );
}
.obs-nav-pfad a {
color: #fff;
}
.obs-nav-titel {
font-weight: 600;
font-size: 1.15em;
margin-top: 1px;
}
.obs-nav-inhalt {
padding: 0 0 6px;
}
/* Beginnt der Inhalt mit einer Linkliste, etwas Luft nach der Kopfleiste;
beginnt er mit einem Klapptext, entfaellt dessen obere Linie (Kopfleiste hat schon eine) */
.obs-nav-inhalt > ul:first-child,
.obs-nav-inhalt > div:not( .collapsible ):first-child > ul:first-child {
padding-top: 4px;
}
.obs-nav-inhalt > .collapsible:first-child > .title,
.obs-nav-inhalt > div:first-child > .collapsible:first-child > .title {
border-top: 0;
}
/* Inline-Abstaende aus Vorlage:Klapptext (margin-bottom 7px, margin-left 16px)
und aus Hilfs-divs im Inhalt neutralisieren. Die Einrueckung uebernehmen
unten die Zeilen selbst, damit Hover und Markierung ueber die volle Breite laufen. */
.obs-nav-inhalt div[style] {
margin: 0 !important;
}
/* Listen ohne Aufzaehlungspunkte */
.obs-nav-inhalt ul,
.obs-nav-inhalt dl {
list-style: none;
margin: 0;
padding: 0;
}
.obs-nav-inhalt li,
.obs-nav-inhalt dd,
.obs-nav-inhalt p {
margin: 0;
}
/* Trennlinien (----) im Inhalt haben im Kasten keine Funktion */
.obs-nav-inhalt hr {
display: none;
}
/* Zeilen: Links (in Listen oder als loser Absatz), aktuelle Seite, Zwischenueberschriften, Klapptext-Koepfe */
.obs-nav-inhalt li > a,
.obs-nav-inhalt li > .mw-selflink,
.obs-nav-inhalt p > a,
.obs-nav-inhalt p > .mw-selflink {
display: block;
padding: 3px 12px 3px 24px;
}
.obs-nav-inhalt li > a:hover,
.obs-nav-inhalt p > a:hover {
background: #f8f9fa;
background: var( --background-color-interactive-subtle, #f8f9fa );
text-decoration: none;
}
/* Aktuelle Seite (MediaWiki rendert den Selbstlink ohne href), Markierung in Bergau-Rot */
.obs-nav-inhalt .mw-selflink {
font-weight: 600;
color: inherit;
background: #fbf0f0;
background: var( --bergau-rot-hell, #fbf0f0 );
box-shadow: inset 3px 0 0 #b40000;
box-shadow: inset 3px 0 0 var( --bergau-rot, #b40000 );
}
/* Markierung per Skript (MediaWiki:Common.js, Sprungmarke in der Adresse):
.obs-nav-aktiv sitzt auf dem Eintrag zur Sprungmarke, .obs-nav-hash auf dem
Kasten; der serverseitige Selbstlink tritt dann zurueck. */
.obs-nav-inhalt .obs-nav-aktiv {
font-weight: 600;
color: inherit;
background: #fbf0f0;
background: var( --bergau-rot-hell, #fbf0f0 );
box-shadow: inset 3px 0 0 #b40000;
box-shadow: inset 3px 0 0 var( --bergau-rot, #b40000 );
}
.obs-nav.obs-nav-hash .mw-selflink:not( .obs-nav-aktiv ) {
font-weight: normal;
background: transparent;
box-shadow: none;
}
/* Zwischenueberschriften aus ";Text" - halbfett, grau, normale Schreibweise */
.obs-nav-inhalt dt {
padding: 8px 12px 1px 24px;
font-size: 0.95em;
font-weight: 600;
color: #54595d;
color: var( --color-subtle, #54595d );
}
.obs-nav-inhalt dt b,
.obs-nav-inhalt dt strong {
font-weight: inherit;
}
/* ---------- Klapptexte innerhalb der Navigation (Vorlage:Klapptext) ----------
MediaWiki:Common.js haengt an .collapsible / .title / .body und setzt
.selected auf den zugeklappten Container. Die von dort nachgeladenen
PNG-Pfeile werden ausgeblendet und durch ein CSS-Dreieck ersetzt. */
.obs-nav .collapsible > .title {
position: relative;
cursor: pointer;
font-weight: 600;
padding: 4px 12px 4px 24px;
}
/* Trennlinie nur zwischen den Hauptmenues (Klapptexte der obersten Ebene),
nicht in den Untermenues */
.obs-nav-inhalt > .collapsible > .title,
.obs-nav-inhalt > div:not( .collapsible ) > .collapsible > .title {
border-top: 1px solid #a2a9b1;
border-top: 1px solid var( --border-color-base, #a2a9b1 );
}
.obs-nav .collapsible > .title:hover {
background: #f8f9fa;
background: var( --background-color-interactive-subtle, #f8f9fa );
}
.obs-nav .collapsible > .title .action {
display: none;
}
/* Inhalte starten zugeklappt, damit vor dem Lauf von Common.js nicht kurz
alles offen steht. Sobald das Skript den Container mit obs-klapp-js markiert,
steuert nur noch das Attribut hidden="until-found" den Zustand (Browser-Suche
findet zugeklappte Inhalte); ein display:none per CSS wuerde das aushebeln. */
.obs-nav .collapsible:not( .obs-klapp-js ) > .body {
display: none;
}
.obs-nav .collapsible > .title::before {
content: "";
position: absolute;
left: 10px;
top: 0.75em;
border-top: 0.3em solid transparent;
border-bottom: 0.3em solid transparent;
border-left: 0.38em solid #b40000;
border-left: 0.38em solid var( --bergau-rot, #b40000 );
opacity: 0.8;
transition: transform 0.15s ease;
}
.obs-nav .collapsible:not( .selected ) > .title::before {
transform: rotate( 90deg );
}
/* Knopf "alle auf" / "alle zu" im Kopf einer Gruppe mit Untergruppen
(wird von MediaWiki:Common.js eingefuegt) */
.obs-nav .obs-nav-alle {
float: right;
margin: 0 0 0 8px;
padding: 0 4px;
font-size: 0.85em;
font-weight: normal;
line-height: inherit;
color: #54595d;
color: var( --color-subtle, #54595d );
opacity: 0.75;
border-radius: 2px;
}
.obs-nav .obs-nav-alle:hover {
opacity: 1;
color: #36c;
color: var( --color-progressive, #36c );
text-decoration: none;
background: #eaecf0;
background: var( --background-color-neutral, #eaecf0 );
}
/* Selbstlink im Kopf eines Klapptexts: Markierung ueber die ganze Kopfzeile.
Negative Raender heben das Polster des Kopfs auf, das Dreieck (::before,
absolut positioniert) bleibt darueber sichtbar. */
.obs-nav .collapsible > .title .mw-selflink {
display: block;
margin: -4px -12px -4px -24px;
padding: 4px 12px 4px 24px;
}
/* ---------- Einrueckungsstufen ----------
Jede Klapptext-Ebene (.body) und jede Listenebene rueckt 12px weiter ein.
Die Zeile selbst bleibt volle Breite, nur der Text wandert nach rechts. */
/* Stufe 1: zweite Listenebene oder Inhalt eines Klapptexts */
.obs-nav-inhalt li li > a,
.obs-nav-inhalt li li > .mw-selflink,
.obs-nav .body li > a,
.obs-nav .body li > .mw-selflink,
.obs-nav .body p > a,
.obs-nav .body p > .mw-selflink,
.obs-nav .body dt,
.obs-nav .body .collapsible > .title,
.obs-nav .body .collapsible > .title .mw-selflink {
padding-left: 36px;
}
.obs-nav .body .collapsible > .title .mw-selflink {
margin-left: -36px;
}
.obs-nav .body .collapsible > .title::before {
left: 22px;
}
/* Stufe 2 */
.obs-nav-inhalt li li li > a,
.obs-nav .body li li > a,
.obs-nav .body li li > .mw-selflink,
.obs-nav .body .body li > a,
.obs-nav .body .body li > .mw-selflink,
.obs-nav .body .body p > a,
.obs-nav .body .body p > .mw-selflink,
.obs-nav .body .body dt,
.obs-nav .body .body .collapsible > .title,
.obs-nav .body .body .collapsible > .title .mw-selflink {
padding-left: 48px;
}
.obs-nav .body .body .collapsible > .title .mw-selflink {
margin-left: -48px;
}
.obs-nav .body .body .collapsible > .title::before {
left: 34px;
}
/* Stufe 3 */
.obs-nav .body li li li > a,
.obs-nav .body .body li li > a,
.obs-nav .body .body li li > .mw-selflink,
.obs-nav .body .body .body li > a,
.obs-nav .body .body .body li > .mw-selflink,
.obs-nav .body .body .body p > a,
.obs-nav .body .body .body dt,
.obs-nav .body .body .body .collapsible > .title,
.obs-nav .body .body .body .collapsible > .title .mw-selflink {
padding-left: 60px;
}
.obs-nav .body .body .body .collapsible > .title .mw-selflink {
margin-left: -60px;
}
.obs-nav .body .body .body .collapsible > .title::before {
left: 46px;
}
/* Stufe 4 */
.obs-nav .body .body .body li li > a,
.obs-nav .body .body .body .body li > a,
.obs-nav .body .body .body .body p > a,
.obs-nav .body .body .body .body .collapsible > .title {
padding-left: 72px;
}
/* Schmale Bildschirme: Kasten unter die Ueberschrift statt daneben */
@media ( max-width: 720px ) {
.obs-nav {
float: none;
width: auto;
margin: 0 0 1em 0;
}
}
/* ---------- Tasten und Eingaben (Vorlage:Key, Vorlage:KeyLink, Vorlage:Input) ---------- */
/* Taste: neutrale Kachel mit leichtem 3D-Rand, Farben aus Codex-Tokens (Nachtmodus automatisch) */
.obs-key {
display: inline-block;
padding: 0 0.45em;
margin: 0 0.1em;
font-size: 0.85em;
line-height: 1.5;
font-family: inherit;
white-space: nowrap;
color: inherit;
background: #f8f9fa;
background: var( --background-color-neutral-subtle, #f8f9fa );
border: 1px solid #a2a9b1;
border: 1px solid var( --border-color-base, #a2a9b1 );
border-bottom-width: 2px;
border-radius: 3px;
vertical-align: baseline;
}
/* Taste mit Link (Vorlage:KeyLink): Link bleibt als Link erkennbar */
.obs-key a {
color: #36c;
color: var( --color-progressive, #36c );
}
/* Woertliche Eingabe (Vorlage:Input) */
.obs-code {
font-family: monospace, monospace;
font-size: 0.95em;
padding: 0 0.3em;
background: #f8f9fa;
background: var( --background-color-neutral-subtle, #f8f9fa );
border: 1px solid #c8ccd1;
border: 1px solid var( --border-color-subtle, #c8ccd1 );
border-radius: 2px;
}
/* ---------- Klapptext ausserhalb der Navigation (Vorlage:Klapptext, Vorlage:KlapptextFAQ) ----------
Klasse obs-klapp sitzt zusaetzlich zu collapsible auf dem Container; Common.js
(Klassen collapsible/title/body/selected) bleibt unveraendert. Innerhalb des
Navigationskastens gelten weiterhin die obs-nav-Regeln, s. Ueberschreibungen unten. */
.obs-klapp {
margin: 0 0 6px;
border: 1px solid #c8ccd1;
border: 1px solid var( --border-color-subtle, #c8ccd1 );
border-radius: 3px;
background: #fff;
background: var( --background-color-base, #fff );
}
.obs-klapp > .title {
position: relative;
cursor: pointer;
font-weight: 600;
padding: 6px 12px 6px 28px;
background: #f8f9fa;
background: var( --background-color-neutral-subtle, #f8f9fa );
border-radius: 3px;
}
.obs-klapp:not( .selected ) > .title {
border-bottom: 1px solid #c8ccd1;
border-bottom: 1px solid var( --border-color-subtle, #c8ccd1 );
border-radius: 3px 3px 0 0;
}
.obs-klapp > .title:hover {
background: #eaecf0;
background: var( --background-color-interactive-subtle, #eaecf0 );
}
/* PNG-Pfeile aus Common.js ausblenden, Dreieck in Markenfarbe */
.obs-klapp > .title .action {
display: none;
}
.obs-klapp > .title::before {
content: "";
position: absolute;
left: 12px;
top: 0.95em;
border-top: 0.3em solid transparent;
border-bottom: 0.3em solid transparent;
border-left: 0.38em solid #b40000;
border-left: 0.38em solid var( --bergau-rot, #b40000 );
opacity: 0.8;
transition: transform 0.15s ease;
}
.obs-klapp:not( .selected ) > .title::before {
transform: rotate( 90deg );
}
/* Inhalt: Inline-Einzug der Vorlage neutralisieren, eigenes Polster */
.obs-klapp > .body {
margin-left: 0 !important;
padding: 8px 12px 4px;
}
/* Alte Unterstreichung in FAQ-Koepfen entfaellt */
.obs-klapp > .title u {
text-decoration: none;
}
/* Vorlage:KlapptextFAQ: Inhaltsflaeche ohne eigene Farbe (frueher #f6f6f6) */
.obs-klapp-faq {
padding: 0;
}
/* Im Navigationskasten bleibt die schlanke Listenoptik: nur die hier neu
gesetzten Eigenschaften zuruecknehmen, Trennlinien (border-top) und
Hover-Regeln des Kastens bleiben in Kraft */
.obs-nav .obs-klapp {
border: 0;
border-radius: 0;
margin: 0;
background: transparent;
}
.obs-nav .obs-klapp > .title,
.obs-nav .obs-klapp:not( .selected ) > .title {
border-bottom: 0;
border-radius: 0;
background: transparent;
}
.obs-nav .obs-klapp > .title:hover {
background: #f8f9fa;
background: var( --background-color-interactive-subtle, #f8f9fa );
}
.obs-nav .obs-klapp > .body {
padding: 0;
}
/* ---------- Farbige Hervorhebung (Vorlage:Rot, Vorlage:Grün) ----------
Codex-Farben fuer Fehler und Erfolg; Vector hellt sie im Nachtmodus selbst auf. */
.obs-rot {
color: #d73333;
color: var( --color-error, #d73333 );
}
.obs-gruen {
color: #177860;
color: var( --color-success, #177860 );
}