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:
Ebrahim Byagowi 2024-10-19 05:55:21 +03:30 committed by Ebrahim
parent fb4e80a1b1
commit 81abf7ba8b

View file

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