MediaWiki:Gadget-dark-mode-toggle-pagestyles.css: Difference between revisions
Appearance
Content deleted Content added
per tper |
Hot fix to avoid report an issue showing for gadget users until 1.43.0-wmf.13 rolls out. https://phabricator.wikimedia.org/T368795#9971505 |
||
Line 22: | Line 22: | ||
visibility: hidden; |
visibility: hidden; |
||
margin-left: inherit; |
margin-left: inherit; |
||
} |
|||
/* Avoid showing "report an issue" - can be removed in 1.43.0-wmf.13 */ |
|||
.skin-vector-2022 .skin-theme-exclusion-notice ~ span { |
|||
display: none; |
|||
} |
} |
Latest revision as of 21:46, 10 July 2024
/* Fixes for empty icons in Vector 2022 and Minerva */
.mw-ui-icon-vector-gadget-pt-darkmode,
.mw-ui-icon-vector-gadget-pt-darkmode-sticky-header,
.minerva-icon-portletlink-pt-darkmode {
background-image: url(/w/load.php?modules=oojs-ui.styles.icons-accessibility&image=moon);
}
.minerva-icon-portletlink-pt-darkmode {
opacity: 0.65;
}
.client-dark-mode .mw-ui-icon-vector-gadget-pt-darkmode,
.client-dark-mode .mw-ui-icon-vector-gadget-pt-darkmode-sticky-header,
.client-dark-mode .minerva-icon-portletlink-pt-darkmode {
background-image: url(/w/load.php?modules=oojs-ui.styles.icons-accessibility&image=bright);
}
/* These same rules should also be in [[MediaWiki:Gadget-dark-mode.css]] but with higher specificity. */
.skin-vector-legacy :not(#pt-darkmode) + #pt-watchlist::before,
.skin-monobook :not(#pt-darkmode) + #pt-watchlist::before {
content: "Dark mode";
visibility: hidden;
margin-left: inherit;
}
/* Avoid showing "report an issue" - can be removed in 1.43.0-wmf.13 */
.skin-vector-2022 .skin-theme-exclusion-notice ~ span {
display: none;
}