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

From Test Wiki
Content deleted Content added
Changing to white instead of transparent. Feel free to revert if this breaks.
Updating per https://en.wikipedia.org/wiki/Module:Message_box/fmbox.css, switching back to transparent should dark mode arrive here.
 
Line 1: Line 1:
/* {{pp|small=y}} */
.fmbox {
.fmbox {
clear: both;
clear: both;
Line 5: Line 4:
width: 100%;
width: 100%;
border: 1px solid #a2a9b1;
border: 1px solid #a2a9b1;
background-color: #f8f9fa; /* Default "system" gray */
background-color: var(--background-color-interactive-subtle, #f8f9fa);
box-sizing: border-box;
box-sizing: border-box;
color: var(--color-base, #202122);
}
}


Line 15: Line 15:


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


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


@media screen {
html.skin-theme-clientpref-night .fmbox-warning {
background-color: #300; /* Reddish, same hue/saturation as light */
}
}


@media screen and ( prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .fmbox-warning {
background-color: #300; /* Reddish, same hue/saturation as light */
}
}
}