diff options
author | Nicolas Lécureuil <neoclust@mageia.org> | 2017-04-19 00:18:12 +0200 |
---|---|---|
committer | Nicolas Lécureuil <neoclust@mageia.org> | 2017-04-19 00:18:12 +0200 |
commit | 0e8b7f021f27e524f8c0b25dca600c00fd2c2468 (patch) | |
tree | a1194ff372adcc235bcfea361af8830ed954456a /vector/components/watchstar.less | |
parent | 14ffe3143e36d79ef7054b293e51f3fb4b658224 (diff) | |
download | mediawiki-0e8b7f021f27e524f8c0b25dca600c00fd2c2468.tar mediawiki-0e8b7f021f27e524f8c0b25dca600c00fd2c2468.tar.gz mediawiki-0e8b7f021f27e524f8c0b25dca600c00fd2c2468.tar.bz2 mediawiki-0e8b7f021f27e524f8c0b25dca600c00fd2c2468.tar.xz mediawiki-0e8b7f021f27e524f8c0b25dca600c00fd2c2468.zip |
Add mw 1.23.15 themes
Diffstat (limited to 'vector/components/watchstar.less')
-rw-r--r-- | vector/components/watchstar.less | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/vector/components/watchstar.less b/vector/components/watchstar.less new file mode 100644 index 0000000..1a6d1fc --- /dev/null +++ b/vector/components/watchstar.less @@ -0,0 +1,46 @@ +@import "mediawiki.mixins.rotation" + +/* 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 */ + margin-top: -0.8em !ie; + height: 0; + overflow: hidden; + background-position: 5px 60%; +} +#ca-unwatch.icon a { + .background-image-svg('images/unwatch-icon.svg', 'images/unwatch-icon.png'); +} +#ca-watch.icon a { + .background-image-svg('images/watch-icon.svg', 'images/watch-icon.png'); +} +#ca-unwatch.icon a:hover, +#ca-unwatch.icon a:focus { + .background-image-svg('images/unwatch-icon-hl.svg', 'images/unwatch-icon-hl.png'); +} +#ca-watch.icon a:hover, +#ca-watch.icon a:focus { + .background-image-svg('images/watch-icon-hl.svg', 'images/watch-icon-hl.png'); +} +#ca-unwatch.icon a.loading, +#ca-watch.icon a.loading { + .background-image-svg('images/watch-icon-loading.svg', 'images/watch-icon-loading.png'); + .rotation(700ms); + /* Suppress the hilarious rotating focus outline on Firefox */ + outline: 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; +} |