Merge "Add version comments for 1.24 to all updaters"
[lhc/web/wiklou.git] / skins / vector / components / watchstar.less
1 @import "mediawiki.mixins.rotation"
2
3 /* Watch/Unwatch Icon Styling */
4 #ca-unwatch.icon a,
5 #ca-watch.icon a {
6 margin: 0;
7 padding: 0;
8 display: block;
9 width: 26px;
10 /* This hides the text but shows the background image */
11 padding-top: 3.1em;
12 margin-top: 0;
13 /* Only applied in IE6 */
14 margin-top: -0.8em !ie;
15 height: 0;
16 overflow: hidden;
17 background-position: 5px 60%;
18 }
19 #ca-unwatch.icon a {
20 .background-image-svg('images/unwatch-icon.svg', 'images/unwatch-icon.png');
21 }
22 #ca-watch.icon a {
23 .background-image-svg('images/watch-icon.svg', 'images/watch-icon.png');
24 }
25 #ca-unwatch.icon a:hover,
26 #ca-unwatch.icon a:focus {
27 .background-image-svg('images/unwatch-icon-hl.svg', 'images/unwatch-icon-hl.png');
28 }
29 #ca-watch.icon a:hover,
30 #ca-watch.icon a:focus {
31 .background-image-svg('images/watch-icon-hl.svg', 'images/watch-icon-hl.png');
32 }
33 #ca-unwatch.icon a.loading,
34 #ca-watch.icon a.loading {
35 .background-image-svg('images/watch-icon-loading.svg', 'images/watch-icon-loading.png');
36 .rotation(700ms);
37 background-position: 50% 60%;
38 -webkit-transform-origin: 50% 57%;
39 transform-origin: 50% 57%;
40 }
41 #ca-unwatch.icon a span,
42 #ca-watch.icon a span {
43 display: none;
44 }