mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-14 19:35:38 +00:00
Merge "Do not embed the "You have been subscribed" popup image"
This commit is contained in:
commit
c0d0eda2d7
|
@ -709,10 +709,22 @@ h1, h2, h3, h4, h5, h6 {
|
||||||
}
|
}
|
||||||
|
|
||||||
&-image {
|
&-image {
|
||||||
/* @embed */
|
|
||||||
background: url( autotopicsubpopup-image.svg ) center center no-repeat;
|
background: url( autotopicsubpopup-image.svg ) center center no-repeat;
|
||||||
width: 200px;
|
width: 200px;
|
||||||
height: 200px;
|
height: 200px;
|
||||||
|
|
||||||
|
// Add dark mode images (T369834)
|
||||||
|
@media screen {
|
||||||
|
html.skin-theme-clientpref-night & {
|
||||||
|
background-image: url( autotopicsubpopup-image-dark.svg );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and ( prefers-color-scheme: dark ) {
|
||||||
|
html.skin-theme-clientpref-os & {
|
||||||
|
background-image: url( autotopicsubpopup-image-dark.svg );
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Desktop
|
// Desktop
|
||||||
|
@ -900,14 +912,3 @@ h1, h2, h3, h4, h5, h6 {
|
||||||
opacity: 0.8;
|
opacity: 0.8;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add dark mode images (T369834)
|
|
||||||
html.skin-theme-clientpref-night .ext-discussiontools-autotopicsubpopup-image {
|
|
||||||
background: url( autotopicsubpopup-image-dark.svg ) center center no-repeat;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media screen and ( prefers-color-scheme: dark ) {
|
|
||||||
html.skin-theme-clientpref-os .ext-discussiontools-autotopicsubpopup-image {
|
|
||||||
background: url( autotopicsubpopup-image-dark.svg ) center center no-repeat;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue