mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-23 15:56:47 +00:00
Increase specificity to avoid rare white boxes
This increases specificity of the mw-mmv-button to make sure it wins over '.cdx-button:enabled' and '.cdx-button.cdx-button--fake-button--enabled' that right now sometimes fail due to load order. Bug: T374373 Change-Id: I402aa0761615eeb0e080bb6087e0de778b6f493a
This commit is contained in:
parent
fb4e80a1b1
commit
81abf7ba8b
|
@ -6,7 +6,8 @@
|
|||
// Common to all buttons
|
||||
// We override the codex background and borders to be their forced darkmode variant
|
||||
// We use transparency on the background and on the icon color
|
||||
.cdx-button.mw-mmv-button {
|
||||
// Increase of specificity by class name repeat to avoid rare white boxes, T374373
|
||||
.cdx-button.mw-mmv-button.mw-mmv-button {
|
||||
background-color: @buttons-background-color-faded;
|
||||
position: fixed;
|
||||
z-index: 1003;
|
||||
|
|
Loading…
Reference in a new issue