Use background-image-svg mixin for SVG/PNG fallbacks
Change-Id: I00266b088b16fa749f3ee59d9ce4890ed025c887
This commit is contained in:
19
resources/css/ext.uls.interlanguage.less
Normal file
19
resources/css/ext.uls.interlanguage.less
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user