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:
Volker E 2016-10-04 14:37:45 -07:00 committed by Catrope
parent 9d8e09e71b
commit c4ea2c4af8

View file

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