mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-12 01:10:07 +00:00
Reintroduce highlighted
and selected
background colors in the Special:Notifications sidebar
After Id1312fee5bb of OOjs UI got merged, we have to reintroduce `highlighted` and `selected` states background color manually as it caused issues on simple OptionWidgets. Change-Id: I3fe7a4d2577bd1bc0fd258bc977b3539e268a84e
This commit is contained in:
parent
9d8e09e71b
commit
c4ea2c4af8
|
@ -6,6 +6,22 @@
|
|||
.box-sizing( border-box );
|
||||
clear: both;
|
||||
|
||||
&.oo-ui-optionWidget {
|
||||
// FIXME: Unlike OOjs UI's MenuOptionWidget, we don't care for icon changes right now
|
||||
&-highlighted {
|
||||
background-color: #eaecf0;
|
||||
}
|
||||
|
||||
&-selected {
|
||||
background-color: #eaf3ff;
|
||||
}
|
||||
|
||||
&-selected&-highlighted,
|
||||
&-pressed&-highlighted {
|
||||
background-color: rgba( 41, 98, 204, 0.1 );
|
||||
}
|
||||
}
|
||||
|
||||
&-icon {
|
||||
float: left;
|
||||
.oo-ui-iconElement-icon {
|
||||
|
@ -29,5 +45,4 @@
|
|||
background-color: #bbb;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue