Module:Message box/fmbox.css: Difference between revisions

From Test Wiki
Jump to navigation Jump to search
Content deleted Content added
Q (talk | contribs)
Undo revision 26127 by Q (talk)
Tag: Undo
Changing to white instead of transparent. Feel free to revert if this breaks.
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
/* {{pp|small=y}} */
/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
.fmbox {
th.mbox-text, td.mbox-text { /* The message body cell(s) */
clear: both;
padding: 0.25em 0.9em; /* 0.9em left/right */
margin: 0.2em 0;
width: 100%;
border: 1px solid #a2a9b1;
background-color: #f8f9fa; /* Default "system" gray */
box-sizing: border-box;
}
}

td.mbox-image { /* The left image cell */
.fmbox-warning {
padding: 2px 0 2px 0.9em; /* 0.9em left, 0px right */
border: 1px solid #bb7070; /* Dark pink */
background-color: #ffdbdb; /* Pink */
}
}

td.mbox-imageright { /* The right image cell */
.fmbox-editnotice {
padding: 2px 0.9em 2px 0; /* 0px left, 0.9em right */
background-color: #FFFFFF; /* White */
}
}

/* Footer and header message box styles */
table.fmbox {
.fmbox .mbox-text {
border: none;
clear: both;
/* @noflip */
margin: 0.2em 0;
padding: 0.25em 0.9em;
width: 100%;
width: 100%;
border: 1px solid #a2a9b1;
background-color: #f8f9fa; /* Default "system" gray */
box-sizing: border-box;
}
}

table.fmbox-system {
.fmbox .mbox-image {
background-color: #f8f9fa;
border: none;
/* @noflip */
padding: 2px 0 2px 0.9em;
text-align: center;
}
}

table.fmbox-warning {
.fmbox .mbox-imageright {
border: 1px solid #bb7070; /* Dark pink */
border: none;
background-color: #ffdbdb; /* Pink */
/* @noflip */
padding: 2px 0.9em 2px 0;
text-align: center;
}
}

table.fmbox-editnotice {
.fmbox .mbox-invalid-type {
background-color: transparent;
text-align: center;
}
}

Latest revision as of 02:08, 30 April 2024

/* {{pp|small=y}} */
.fmbox {
	clear: both;
	margin: 0.2em 0;
	width: 100%;
	border: 1px solid #a2a9b1;
	background-color: #f8f9fa;     /* Default "system" gray */
	box-sizing: border-box;
}

.fmbox-warning {
	border: 1px solid #bb7070;  /* Dark pink */
	background-color: #ffdbdb;  /* Pink */
}

.fmbox-editnotice {
	background-color: #FFFFFF; /* White */
}

.fmbox .mbox-text {
	border: none;
	/* @noflip */
	padding: 0.25em 0.9em;
	width: 100%;
}

.fmbox .mbox-image {
	border: none;
	/* @noflip */
	padding: 2px 0 2px 0.9em;
	text-align: center;
}

.fmbox .mbox-imageright {
	border: none;
	/* @noflip */
	padding: 2px 0.9em 2px 0;
	text-align: center;
}

.fmbox .mbox-invalid-type {
	text-align: center;
}