2017-01-23 14:59:47 +00:00
|
|
|
@import 'mediawiki.mixins.rotation';
|
2014-08-07 11:38:34 +00:00
|
|
|
|
|
|
|
/* Watch/Unwatch Icon Styling */
|
|
|
|
#ca-unwatch.icon a,
|
|
|
|
#ca-watch.icon a {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
display: block;
|
|
|
|
width: 26px;
|
|
|
|
/* This hides the text but shows the background image */
|
|
|
|
padding-top: 3.1em;
|
|
|
|
margin-top: 0;
|
|
|
|
/* Only applied in IE6 */
|
2015-09-10 21:14:53 +00:00
|
|
|
_margin-top: -0.8em;
|
2014-08-07 11:38:34 +00:00
|
|
|
height: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
background-position: 5px 60%;
|
2017-09-22 19:29:08 +00:00
|
|
|
background-repeat: no-repeat;
|
2014-08-07 11:38:34 +00:00
|
|
|
}
|
|
|
|
#ca-unwatch.icon a {
|
2017-01-23 14:59:47 +00:00
|
|
|
.background-image-svg( 'images/unwatch-icon.svg', 'images/unwatch-icon.png' );
|
2014-08-07 11:38:34 +00:00
|
|
|
}
|
|
|
|
#ca-watch.icon a {
|
2017-01-23 14:59:47 +00:00
|
|
|
.background-image-svg( 'images/watch-icon.svg', 'images/watch-icon.png' );
|
2014-08-07 11:38:34 +00:00
|
|
|
}
|
2014-12-16 18:17:59 +00:00
|
|
|
#ca-unwatch.icon a:hover,
|
|
|
|
#ca-unwatch.icon a:focus {
|
2017-01-23 14:59:47 +00:00
|
|
|
.background-image-svg( 'images/unwatch-icon-hl.svg', 'images/unwatch-icon-hl.png' );
|
2014-12-16 18:17:59 +00:00
|
|
|
}
|
|
|
|
#ca-watch.icon a:hover,
|
|
|
|
#ca-watch.icon a:focus {
|
2017-01-23 14:59:47 +00:00
|
|
|
.background-image-svg( 'images/watch-icon-hl.svg', 'images/watch-icon-hl.png' );
|
2014-12-16 18:17:59 +00:00
|
|
|
}
|
2014-08-07 11:38:34 +00:00
|
|
|
#ca-unwatch.icon a.loading,
|
|
|
|
#ca-watch.icon a.loading {
|
2017-01-23 14:59:47 +00:00
|
|
|
.background-image-svg( 'images/watch-icon-loading.svg', 'images/watch-icon-loading.png' );
|
|
|
|
.rotation( 700ms );
|
2014-08-07 11:38:34 +00:00
|
|
|
/* Suppress the hilarious rotating focus outline on Firefox */
|
2017-02-18 00:33:55 +00:00
|
|
|
outline: 0;
|
2014-08-07 11:38:34 +00:00
|
|
|
cursor: default;
|
|
|
|
pointer-events: none;
|
|
|
|
background-position: 50% 60%;
|
|
|
|
-webkit-transform-origin: 50% 57%;
|
|
|
|
transform-origin: 50% 57%;
|
|
|
|
}
|
|
|
|
#ca-unwatch.icon a span,
|
|
|
|
#ca-watch.icon a span {
|
|
|
|
display: none;
|
|
|
|
}
|