Zuletzt bearbeitet vor einem Jahr
von Margit

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

HW>Mlink-rodrigue
Keine Bearbeitungszusammenfassung
 
Keine Bearbeitungszusammenfassung
 
(10 dazwischenliegende Versionen von 3 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
/* Infoboxes */
/* Infoboxes */
.hw-messagebox {
.cd-textbox {
padding: 14px;
padding: 14px;
margin: 2em 0 1em 0;
margin: 2em 0 1em 0;
display: block;
display: table;
position:relative;
position:relative;
clear:both;
width: 100%;
clear:both;
}
}
.hw-messagebox.icon {
.cd-textbox .icon-col {
padding-left: 35px;
display: table-cell;
vertical-align: middle;
width: 30px;
}
}
.hw-messagebox.icon:before {
.cd-textbox .icon-col.icon::before {
position: absolute;
width: 35px;
font-size: 1.6em;
height: 100%;
top: 8px;
font-size: 1.6em;
font-family: "fontawesome";
font-family: "fontawesome";
left:8px;
}
}
.hw-messagebox p {
.cd-textbox .text-col {
margin-left: 10px;
}
.boxheader {
font-weight:bold;
display: block;
}
 
.cd-textbox p {
margin:0
margin:0
}
}
.notification-note, .notification-Hinweis {
.cd-textbox-note {
border-left: solid 4px #2b80ea;
border-left: solid 4px #2b80ea;
background:#dfecfc;
background:#dfecfc;
}
.boxlabel {
font-weight:bold;
padding-right:0.5em;
}
}
.notification-note.icon::before, .notification-Hinweis.icon::before{
 
content: "\f05a ";
.cd-textbox-note .icon::before {
color: #2b80ea;
content: "\f05a ";
color: #2b80ea;
}
}
.notification-tip,.notification-Tipp {
.cd-textbox-tip {
border-left: solid 4px #fdc300;
border-left: solid 4px #fdc300;
background:#fff6d8;
background:#fff6d8;
}
}
.notification-tip.icon::before, .notification-Tipp.icon::before{
.cd-textbox-tip .icon::before {
content: "\f0eb";
content: "\f26a";
color: #fdc300;
color: #fdc300;
font-size: 1.7em;
font-size: 1.3em;
margin-left: 5px;
margin-left: 2px;
}
}
.notification-warning, .notification-Warnung  {
.cd-textbox-warning {
border-left: solid 4px #bd1d1d;
border-left: solid 4px #bd1d1d;
background: #f5dcdc;
background: #f5dcdc;
}
}
.notification-warning.icon::before, .notification-Warnung.icon::before{
.cd-textbox-warning .icon::before {
content: "\f071";
content: "\f071";
color: #bd1d1d;
color: #bd1d1d;
}
}
.notification-important, .notification-Wichtig {
.cd-textbox-important {
border-left: solid 4px #ffa406;
border-left: solid 4px #f28c00;
background: #fedb9c;
background: #FFFAE6;
margin-left: 2px;
margin-left: 2px;
}
}
.notification-important.icon::before, .notification-Wichtig.icon::before{
.cd-textbox-important .icon::before {
content: "\f06a";
content: "\f06a";
color: #ffa406;
color: #f28c00;
}
}
.notification-example, .notification-Beispiel {
 
.cd-textbox-example {
border-left: solid 4px #94c11f;
border-left: solid 4px #94c11f;
background: #eff6dd;
background: #eff6dd;
}
}
.notification-example.icon::before, .notification-Beispiel.icon::before{
.cd-textbox-example.icon::before{
content: "\f0a4";
content: "\f0a4";
color: #94c11f;
color: #94c11f;
}
}
.notification-neutral, .notification-Neutral {
 
border-left: solid 4px #747474;
.cd-textbox-neutral {
background:#f1f3f9;  
border-left: solid 4px #747474;
padding:14px;
background:#f1f3f9;  
padding:14px;
}
.cd-textbox-neutral .icon::before{
content: "\f0a9 ";
color: #747474;
left: 10px;
top: 8px;
}
}
.notification-neutral.icon::before, .notification-Neutral.icon::before{
 
content: "\f0a9 ";
.cd-textbox-success {
color: #747474;
border-left: solid 4px #94c11f;
left: 10px;
background: #eff6dd;
top: 8px;
}
}
.notification-neutral .boxlabel, .notification-Neutral .boxlabel {
.cd-textbox-success .icon::before{
display:none;
content: "\f058 ";
color: #94c11f;
}
}

Aktuelle Version vom 17. April 2023, 09:19 Uhr

/* Infoboxes */
.cd-textbox {
	padding: 14px;
	margin: 2em 0 1em 0;
	display: table;
	position:relative;
	width: 100%;
	clear:both;
}
.cd-textbox .icon-col {
	display: table-cell;
	vertical-align: middle;
	width: 30px;
}
.cd-textbox .icon-col.icon::before {
	width: 35px;
	height: 100%;
	font-size: 1.6em;
	font-family: "fontawesome";
}
.cd-textbox .text-col {
	margin-left: 10px;
}
.boxheader {	
	font-weight:bold;
	display: block;
}

.cd-textbox p {
	margin:0
}
.cd-textbox-note {
	border-left: solid 4px #2b80ea;
	background:#dfecfc;
}

.cd-textbox-note .icon::before {
	content: "\f05a ";
	color: #2b80ea;
}
.cd-textbox-tip {
	border-left: solid 4px #fdc300;
	background:#fff6d8;
}
.cd-textbox-tip .icon::before {
	content: "\f26a";
	color: #fdc300;
	font-size: 1.3em;
	margin-left: 2px;
}
.cd-textbox-warning {
	border-left: solid 4px #bd1d1d;
	background: #f5dcdc;
}
.cd-textbox-warning .icon::before {
	content: "\f071";
	color: #bd1d1d;
}
.cd-textbox-important {
	border-left: solid 4px #f28c00;
	background: #FFFAE6;
	margin-left: 2px;
}
.cd-textbox-important .icon::before {
	content: "\f06a";
	color: #f28c00;
}

.cd-textbox-example {
border-left: solid 4px #94c11f;
background: #eff6dd;
}
.cd-textbox-example.icon::before{
content: "\f0a4";
color: #94c11f;
}

.cd-textbox-neutral {
	border-left: solid 4px #747474;
	background:#f1f3f9; 
	padding:14px;
}
.cd-textbox-neutral .icon::before{
	content: "\f0a9 ";
	color: #747474;
	left: 10px;
	top: 8px;
}

.cd-textbox-success {
	border-left: solid 4px #94c11f;
	background: #eff6dd;
}
.cd-textbox-success .icon::before{
	content: "\f058 ";
	color: #94c11f;
}