Simplify watch link selectors

Change-Id: I51b1f66900dbc4982156b5356783a69a7025ebe7
This commit is contained in:
Volker E 2019-09-30 01:12:02 -07:00
parent 190d9830ca
commit 7227e50b0a
1 changed files with 5 additions and 4 deletions

View File

@ -4,8 +4,8 @@
/* Only use icon if the menu item is not collapsed into the "More" dropdown
* (in which case it is inside .vectorMenu instead of .vectorTabs). */
.vectorTabs {
#ca-unwatch.icon a,
#ca-watch.icon a {
// `#ca-unwatch` & `#ca-watch` both carry `.mw-watchlink` as well.
.mw-watchlink.icon a {
margin: 0;
padding: 0;
display: block;
@ -37,8 +37,9 @@
.background-image-svg( 'images/watch-icon-hl.svg', 'images/watch-icon-hl.png' );
}
#ca-unwatch.icon a.loading,
#ca-watch.icon a.loading {
// Loading watchstar link class.
#ca-unwatch.icon .loading,
#ca-watch.icon .loading {
background-image: url( images/watch-icon-loading.svg );
.rotation( 700ms );
/* Suppress the hilarious rotating focus outline on Firefox */