Fix opacity of focus styles

Ensure buttons have full opacity when focused, as when hovered.

Change-Id: Id16e9e3691b7d9b0ebb03ac78bbe86c80568a00b
This commit is contained in:
Ed Sanders 2023-02-02 17:06:55 +00:00
parent 6b0268a758
commit 5289d1e8f2
2 changed files with 6 additions and 2 deletions

View file

@ -1,7 +1,8 @@
.mw-echo-ui-mixin-hover-opacity() {
opacity: @opacity-low;
&:hover {
&:hover,
&:focus {
opacity: 1;
}
}

View file

@ -133,9 +133,12 @@
}
&-menu {
.mw-echo-ui-mixin-hover-opacity();
vertical-align: bottom;
padding: 0;
> .oo-ui-buttonElement-button {
.mw-echo-ui-mixin-hover-opacity();
}
}
&-timestamp {