mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-23 15:16:50 +00:00
Rename the skin night mode classes to more readable classes
The classes: - skin-night-mode-clientpref-0 - skin-night-mode-clientpref-1 - skin-night-mode-clientpref-2 is being replaced with - skin-theme-clientpref-day - skin-theme-clientpref-night - skin-theme-clientpref-os Depends-on: Ia253de68f94236e7fe2219b736dd6084c64ce838 Bug: T359983 Change-Id: I262e07dfa6e5d8b38c06bff9aab8fa15e4cddee1
This commit is contained in:
parent
cf2a10e42e
commit
609fb8149d
|
@ -439,7 +439,7 @@
|
|||
}
|
||||
|
||||
// Apply night mode styles that can't be handled with CSS variables, i.e. anything with rgba()
|
||||
html.skin-night-mode-clientpref-1 {
|
||||
html.skin-theme-clientpref-night {
|
||||
.mwe-popups {
|
||||
box-shadow: 0 30px 90px -20px rgba( 255, 255, 255, 0.3 ), 0 0 1px 1px rgba( 255, 255, 255, 0.05 );
|
||||
|
||||
|
@ -460,7 +460,7 @@ html.skin-night-mode-clientpref-1 {
|
|||
}
|
||||
|
||||
@media ( prefers-color-scheme: dark ) {
|
||||
html.skin-night-mode-clientpref-2 {
|
||||
html.skin-theme-clientpref-os {
|
||||
.mwe-popups {
|
||||
box-shadow: 0 30px 90px -20px rgba( 255, 255, 255, 0.3 ), 0 0 1px 1px rgba( 255, 255, 255, 0.05 );
|
||||
|
||||
|
|
Loading…
Reference in a new issue