mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-27 08:50:33 +00:00
Add background color for images in dark mode
Adding a grey background color in dark mode so transparent images are readable Bug: T375045 Change-Id: I168cd8b48359e59acb038a6909b77f6c38600c79
This commit is contained in:
parent
8ae9a02b98
commit
ab5c9fe83a
|
@ -452,6 +452,14 @@
|
|||
/* @noflip */
|
||||
background-image: linear-gradient( to left, transparent, @background-color-base 50% );
|
||||
}
|
||||
|
||||
@supports ( clip-path: polygon( 1px 1px ) ) {
|
||||
.mwe-popups {
|
||||
.mwe-popups-thumbnail {
|
||||
background-color: #c8ccd1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -470,5 +478,13 @@
|
|||
/* @noflip */
|
||||
background-image: linear-gradient( to left, transparent, @background-color-base 50% );
|
||||
}
|
||||
|
||||
@supports ( clip-path: polygon( 1px 1px ) ) {
|
||||
.mwe-popups {
|
||||
.mwe-popups-thumbnail {
|
||||
background-color: #c8ccd1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue