Replace deprecated background-image-svg() mixin calls
Use normal `background-image` properties with SVGs now that IE 8 and Android 2.1 is removed from Grade C. Bug: T248062 Change-Id: I6026ff013e41cc147d916193d93c03a6b3d4efef
This commit is contained in:
@@ -20,8 +20,7 @@
|
|||||||
* Copied from jquery.uls.css with the path changed.
|
* Copied from jquery.uls.css with the path changed.
|
||||||
*/
|
*/
|
||||||
.uls-trigger {
|
.uls-trigger {
|
||||||
background: no-repeat left center;
|
background: no-repeat url( ../../lib/jquery.uls/images/language.svg ) left center;
|
||||||
.background-image-svg( '../../lib/jquery.uls/images/language.svg', '../../lib/jquery.uls/images/language.png' );
|
|
||||||
// Let the SVG image fit without cropping or stretch
|
// Let the SVG image fit without cropping or stretch
|
||||||
background-size: contain;
|
background-size: contain;
|
||||||
padding-left: 24px;
|
padding-left: 24px;
|
||||||
@@ -40,7 +39,7 @@
|
|||||||
// Putting the icon in before in order to apply `opacity`.
|
// Putting the icon in before in order to apply `opacity`.
|
||||||
&:before {
|
&:before {
|
||||||
content: '';
|
content: '';
|
||||||
.background-image-svg( '../../lib/jquery.uls/images/language.svg', '../../lib/jquery.uls/images/language.png' );
|
background-image: url( ../../lib/jquery.uls/images/language.svg );
|
||||||
// Same values as Vector's `#pt-userpage a`.
|
// Same values as Vector's `#pt-userpage a`.
|
||||||
background-position: @background-position-menu-uls-icon;
|
background-position: @background-position-menu-uls-icon;
|
||||||
// Support Edge: Can't be `contain`, see T207075.
|
// Support Edge: Can't be `contain`, see T207075.
|
||||||
|
|||||||
Reference in New Issue
Block a user