mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-23 15:36:58 +00:00
Fix opacity of focus styles
Ensure buttons have full opacity when focused, as when hovered. Change-Id: Id16e9e3691b7d9b0ebb03ac78bbe86c80568a00b
This commit is contained in:
parent
6b0268a758
commit
5289d1e8f2
|
@ -1,7 +1,8 @@
|
|||
.mw-echo-ui-mixin-hover-opacity() {
|
||||
opacity: @opacity-low;
|
||||
|
||||
&:hover {
|
||||
&:hover,
|
||||
&:focus {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue