Compact links: Add png background image for trigger
Converted the css to less file too. Change-Id: I2f01c170336b0d19f0dbac10ebd9a3eac769d104
This commit is contained in:
committed by
Niklas Laxström
parent
62d05ed78d
commit
cac3e709de
@@ -231,7 +231,7 @@
|
|||||||
},
|
},
|
||||||
"ext.uls.compactlinks": {
|
"ext.uls.compactlinks": {
|
||||||
"scripts": "js/ext.uls.compactlinks.js",
|
"scripts": "js/ext.uls.compactlinks.js",
|
||||||
"styles": "css/ext.uls.compactlinks.css",
|
"styles": "css/ext.uls.compactlinks.less",
|
||||||
"dependencies": [
|
"dependencies": [
|
||||||
"ext.uls.mediawiki",
|
"ext.uls.mediawiki",
|
||||||
"ext.uls.init",
|
"ext.uls.init",
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
@import "mediawiki.mixins";
|
||||||
|
|
||||||
#p-lang .body ul .uls-trigger,
|
#p-lang .body ul .uls-trigger,
|
||||||
#p-lang .pBody ul .uls-trigger {
|
#p-lang .pBody ul .uls-trigger {
|
||||||
background-image: none;
|
background-image: none;
|
||||||
@@ -10,7 +12,7 @@
|
|||||||
padding: 4px 6px 4px 25px;
|
padding: 4px 6px 4px 25px;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
background-image: url( ../images/compact-links-trigger.svg );
|
.background-image-svg( '../images/compact-links-trigger.svg', '../images/compact-links-trigger.png' );
|
||||||
background-size: 18px;
|
background-size: 18px;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-position: left 4px center;
|
background-position: left 4px center;
|
||||||
BIN
resources/images/compact-links-trigger.png
Normal file
BIN
resources/images/compact-links-trigger.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 673 B |
Reference in New Issue
Block a user