Vorlage:Note/styles.css: Unterschied zwischen den Versionen

aus dem Wiki des Entropia e.V., CCC Karlsruhe
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 12: Zeile 12:
border-radius: var(--border-radius-medium);
border-radius: var(--border-radius-medium);
}
}


.note-inline {
.note-inline {
Zeile 31: Zeile 32:
}
}
.note-warn {
.note-warn {
background-color: var( --color-warning );
background-color: var( --background-color-warning );
/* [[File:OOjs_UI_icon_alert-warning.svg]] */
/* [[File:OOjs_UI_icon_alert-warning.svg]] */
background-image: url(https://upload.wikimedia.org/wikipedia/commons/3/3b/OOjs_UI_icon_alert-warning.svg);
background-image: url(https://upload.wikimedia.org/wikipedia/commons/3/3b/OOjs_UI_icon_alert-warning.svg);
Zeile 38: Zeile 39:


.note-error {
.note-error {
background-color: var(--color-destructive);
background-color: var(--background-color-destructive);
/* [[File:OOjs_UI_icon_notice-destructive.svg]] */
/* [[File:OOjs_UI_icon_notice-destructive.svg]] */
background-image: url(https://upload.wikimedia.org/wikipedia/commons/b/bf/OOjs_UI_icon_notice-destructive.svg);
background-image: url(https://upload.wikimedia.org/wikipedia/commons/b/bf/OOjs_UI_icon_notice-destructive.svg);
border-color: #c33;
border-color: #c33;
}
}

Version vom 5. März 2024, 19:46 Uhr

.note {
	background-position: left 7px top 50%;
	padding: 0.5em 0.5em 0.5em 40px;
	margin: 0.5em 0;
	overflow: hidden;
	background-color: #f8f9fa;
	background-repeat: no-repeat;
	border: 1px solid #ddd;
	min-height: 25px;
	background-size: 25px;
	color: var(--color-base);
	border-radius: var(--border-radius-medium);
}


.note-inline {
	display: inline-block;
	vertical-align: middle;
}

.note-info {
	background-color: #eaf3ff;
	/* [[File:OOjs_UI_icon_information-progressive.svg]] */
	background-image: url(https://upload.wikimedia.org/wikipedia/commons/e/ec/OOjs_UI_icon_information-progressive.svg);
	border-color: #a3caff;
}
.note-reminder {
	background-color: #fff9ea;
	/* [[File:OOjs_UI_icon_lightbulb-yellow.svg]] */
	background-image: url(https://upload.wikimedia.org/wikipedia/commons/a/a8/OOjs_UI_icon_lightbulb-yellow.svg);
	border-color: #fc3;
}
.note-warn {
	background-color: var( --background-color-warning );
	/* [[File:OOjs_UI_icon_alert-warning.svg]] */
	background-image: url(https://upload.wikimedia.org/wikipedia/commons/3/3b/OOjs_UI_icon_alert-warning.svg);
	border-color: #fc3;
}

.note-error {
	background-color: var(--background-color-destructive);
	/* [[File:OOjs_UI_icon_notice-destructive.svg]] */
	background-image: url(https://upload.wikimedia.org/wikipedia/commons/b/bf/OOjs_UI_icon_notice-destructive.svg);
	border-color: #c33;
}