Zum Inhalt springen

MediaWiki:Organigramm.css

Aus wikimitlinks069
Version vom 20. Oktober 2026, 18:24 Uhr von Nike3006 (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „→* Organigramm-Werkzeuge für wikimitlinks069 * Gehört zu MediaWiki:Organigramm.js. Farben passen sich dem dunklen Modus an. * Stand: 20.10.2026: →Bedienleiste: .lo-leiste { display: flex; flex-wrap: wrap; gap: .5em; align-items: center; margin: .8em 0 1em; padding: .6em .7em; border: 1px solid var( --border-color-subtle, #c8ccd1 ); border-left: 4px solid #6F003C; border-radius: 4px; background: var( --background-color-neutral-subt…“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)

Hinweis: Leere nach dem Veröffentlichen den Browser-Cache, um die Änderungen sehen zu können.

  • Firefox/Safari: Umschalttaste drücken und gleichzeitig Aktualisieren anklicken oder entweder Strg+F5 oder Strg+R (⌘+R auf dem Mac) drücken
  • Google Chrome: Umschalttaste+Strg+R (⌘+Umschalttaste+R auf dem Mac) drücken
  • Edge: Strg+F5 drücken oder Strg drücken und gleichzeitig Aktualisieren anklicken
/*
 * Organigramm-Werkzeuge für wikimitlinks069
 * Gehört zu MediaWiki:Organigramm.js. Farben passen sich dem dunklen Modus an.
 * Stand: 20.10.2026
 */

/* Bedienleiste */
.lo-leiste {
	display: flex;
	flex-wrap: wrap;
	gap: .5em;
	align-items: center;
	margin: .8em 0 1em;
	padding: .6em .7em;
	border: 1px solid var( --border-color-subtle, #c8ccd1 );
	border-left: 4px solid #6F003C;
	border-radius: 4px;
	background: var( --background-color-neutral-subtle, #f8f9fa );
}

.lo-suche {
	flex: 1 1 16em;
	min-width: 0;
	display: flex;
}

.lo-suche input {
	flex: 1;
	min-width: 0;
	font: inherit;
	padding: .45em .6em;
	border: 1px solid var( --border-color-base, #a2a9b1 );
	border-radius: 2px;
	background: var( --background-color-base, #fff );
	color: var( --color-base, #202122 );
}

.lo-suche input:focus {
	outline: 2px solid #6F003C;
	outline-offset: 1px;
}

.lo-leiste button {
	font: inherit;
	font-weight: 600;
	padding: .45em .8em;
	border: 1px solid var( --border-color-base, #a2a9b1 );
	border-radius: 2px;
	background: var( --background-color-interactive-subtle, #f8f9fa );
	color: var( --color-base, #202122 );
	cursor: pointer;
}

.lo-leiste button:hover {
	background: var( --background-color-interactive, #eaecf0 );
}

.lo-leiste button:focus-visible {
	outline: 2px solid #6F003C;
	outline-offset: 1px;
}

.lo-status {
	flex-basis: 100%;
	font-size: 90%;
	color: var( --color-subtle, #54595d );
}

.lo-sprung {
	margin-left: .6em;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	color: var( --color-progressive, #36c ) !important;
	font-weight: 400 !important;
}

.lo-sprung:hover {
	text-decoration: underline;
}

.lo-status[ hidden ],
.lo-sprung[ hidden ] {
	display: none;
}

/* Nur für Screenreader sichtbar */
.lo-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect( 0 0 0 0 );
	white-space: nowrap;
}

/* Punkte */
.lo-knoten.lo-hidden {
	display: none;
}

.lo-kopf {
	cursor: pointer;
	border-radius: 3px;
}

.lo-kopf:hover {
	background: rgba( 111, 0, 60, .06 );
}

.lo-knoten.lo-hit > .lo-kopf {
	background: rgba( 255, 0, 0, .08 );
}

/* Sprungziel kurz hervorheben */
.lo-knoten.lo-flash {
	animation: lo-flash 2s ease-out;
}

@keyframes lo-flash {
	0% {
		background-color: rgba( 255, 196, 0, .45 );
	}

	100% {
		background-color: transparent;
	}
}

@media ( prefers-reduced-motion: reduce ) {
	.lo-knoten.lo-flash {
		animation: none;
		outline: 2px solid #f0b400;
	}
}

/* Beim Springen nicht unter der festen Kopfleiste verschwinden */
span[ id^='lo-' ] {
	scroll-margin-top: 4.5rem;
}

.lo-knoten {
	scroll-margin-top: 4.5rem;
}

/* „#“ hinter dem Titel: Link zum Punkt kopieren */
.lo-link {
	margin: 0 .2em 0 .35em;
	padding: 0 .3em;
	border: 0;
	border-radius: 2px;
	background: none;
	font: inherit;
	font-size: 90%;
	font-weight: 600;
	color: var( --color-subtle, #72777d );
	opacity: .45;
	cursor: pointer;
}

.lo-kopf:hover .lo-link,
.lo-link:focus-visible {
	opacity: 1;
}

.lo-link:hover {
	color: #6F003C;
	text-decoration: underline;
}