Standardise disambiguation icon

All icons should be 20 by 20 by standard.
(Previously it was 24 by 24)

Bug: T190558
Change-Id: I0956c9c31f1606f0a77b4be29bde5a56b5c5ebb8
This commit is contained in:
jdlrobson 2018-03-23 11:45:40 -07:00
parent 90b787ed9c
commit 1acd15adb1
5 changed files with 16 additions and 14 deletions

View file

@ -88,7 +88,12 @@
"popups-settings": "resources/ext.popups.images/cog.svg",
"popups-close": "resources/ext.popups.images/close.svg",
"preview-generic": "resources/ext.popups.images/sad-face.svg",
"preview-disambiguation": "resources/ext.popups.images/multiple-articles.svg"
"preview-disambiguation": {
"file": {
"ltr": "resources/ext.popups.images/multiple-articles-ltr.svg",
"rtl": "resources/ext.popups.images/multiple-articles-rtl.svg"
}
}
}
},
"ext.popups": {

View file

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="2 2 20 20">
<path fill="#C8CCD1" d="M11 12h4V7h-4v5zm-5 2h9v-1H6v1zm0 2h9v-1H6v1zm0 2h9v-1H6v1zm4-9H6v1h4V9zm0 2H6v1h4v-1zm0-4H6v1h4V7zM4 5h13v16H7c-1.7 0-3-1.3-3-3V5z"/>
<path fill-rule="evenodd" fill="#C8CCD1" d="M18 4v14h2V2H7v2"/>
</svg>

After

Width:  |  Height:  |  Size: 355 B

View file

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="2 2 20 20">
<path fill="#C8CCD1" d="M13 12H9V7h4v5zm5 2H9v-1h9v1zm0 2H9v-1h9v1zm0 2H9v-1h9v1zm-4-9h4v1h-4V9zm0 2h4v1h-4v-1zm0-4h4v1h-4V7zm6-2H7v16h10c1.7 0 3-1.3 3-3V5z"/>
<path fill="#C8CCD1" fill-rule="evenodd" d="M6 4v14H4V2h13v2"/>
</svg>

After

Width:  |  Height:  |  Size: 356 B

View file

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="26" height="32" xmlns="http://www.w3.org/2000/svg">
<g id="Page-1" fill="none" fill-rule="evenodd">
<g id="multiple-articles" fill="#C8CCD1" fill-rule="nonzero">
<path d="M22.4 0a3.2 3.2 0 0 1 3.2 3.2v22.4h-3.2V3.2H4.8V0h17.6zM3.2 32A3.2 3.2 0 0 1 0 28.8V8a3.2 3.2 0 0 1 3.2-3.2h14.4A3.2 3.2 0 0 1 20.8 8v20.8a3.2 3.2 0 0 1-3.2 3.2H3.2zm8-24v8h6.4V8h-6.4zm-8 0v1.6h6.4V8H3.2zm0 3.2v1.6h6.4v-1.6H3.2zm0 3.2V16h6.4v-1.6H3.2zm0 3.2v1.6h14.4v-1.6H3.2zm0 3.2v1.6h14.4v-1.6H3.2zm0 3.2v1.6h14.4V24H3.2z" id="Shape"/>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 614 B

View file

@ -56,11 +56,6 @@
}
}
/* slightly shrinking disambiguation icon */
.mw-ui-icon.mw-ui-icon-element.mw-ui-icon-preview-disambiguation:before {
background-size: contain;
}
.mwe-popups {
background: #fff;
position: absolute;