Use background-image-svg mixin for SVG/PNG fallbacks

Change-Id: I00266b088b16fa749f3ee59d9ce4890ed025c887
This commit is contained in:
Ed Sanders
2016-01-25 18:33:07 +00:00
parent 00349ab0eb
commit b745fe4f6c
6 changed files with 41 additions and 61 deletions

View File

@@ -0,0 +1,19 @@
@import "mediawiki.mixins";
#p-lang .uls-settings-trigger {
background: transparent no-repeat right top;
.background-image-svg( '../images/cog-sprite.svg', '../images/cog-sprite.png' );
height: 16px;
width: 14px;
float: right;
cursor: pointer;
}
.skin-vector #p-lang .uls-settings-trigger {
/* Put it in the middle of the first row of the section title */
margin-top: 3px;
}
#p-lang .uls-settings-trigger:hover {
background-position: right -16px;
}