Merge "Do not embed the "You have been subscribed" popup image"

This commit is contained in:
jenkins-bot 2024-10-15 13:12:41 +00:00 committed by Gerrit Code Review
commit c0d0eda2d7

View file

@ -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;
}
}