VolkerE has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/376869 )

Change subject: Use standard close icon
......................................................................

Use standard close icon

Using standard close icon and slightly increase size.
Also removing redundant, default CSS values.

Bug: T50067
Change-Id: I532db809215a2896855c73c885c1394952ab426c
---
M resources/css/ext.translate.editor.css
M resources/images/close.png
M resources/images/close.svg
3 files changed, 10 insertions(+), 45 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Translate 
refs/changes/69/376869/1

diff --git a/resources/css/ext.translate.editor.css 
b/resources/css/ext.translate.editor.css
index 8d5b261..f9ab4bb 100644
--- a/resources/css/ext.translate.editor.css
+++ b/resources/css/ext.translate.editor.css
@@ -8,31 +8,31 @@
 
 /* Temporary fix for T111685 */
 .grid .tux-message-editor .close {
-       background: url( ../images/close.png ) no-repeat scroll center center 
transparent;
+       background: url( ../images/close.png ) no-repeat center center;
        background-image: -webkit-linear-gradient( transparent, transparent ), 
url( ../images/close.svg );
        /* @embed */
        background-image: linear-gradient( transparent, transparent ), url( 
../images/close.svg );
-       padding: 15px;
+       padding: 16px;
        cursor: pointer;
        float: right;
 }
 
 /* Temporary fix for T111685 */
 .grid .tux-message-editor .editor-info-toggle {
-       padding: 15px;
+       padding: 16px;
        cursor: pointer;
        float: right;
 }
 
 .tux-message-editor .editor-contract {
-       background: url( ../images/contract-ltr.png ) no-repeat scroll center 
center transparent;
+       background: url( ../images/contract-ltr.png ) no-repeat center center;
        background-image: -webkit-linear-gradient( transparent, transparent ), 
url( ../images/contract-ltr.svg );
        /* @embed */
        background-image: linear-gradient( transparent, transparent ), url( 
../images/contract-ltr.svg );
 }
 
 .tux-message-editor .editor-expand {
-       background: url( ../images/expand-ltr.png ) no-repeat scroll center 
center transparent;
+       background: url( ../images/expand-ltr.png ) no-repeat center center;
        background-image: -webkit-linear-gradient( transparent, transparent ), 
url( ../images/expand-ltr.svg );
        /* @embed */
        background-image: linear-gradient( transparent, transparent ), url( 
../images/expand-ltr.svg );
@@ -230,7 +230,7 @@
 }
 
 .message-desc-edit {
-       background: transparent url( ../images/action-edit.png ) left center 
no-repeat;
+       background: url( ../images/action-edit.png ) left center no-repeat;
        background-image: -webkit-linear-gradient( transparent, transparent ), 
url( ../images/action-edit.svg );
        /* @embed */
        background-image: linear-gradient( transparent, transparent ), url( 
../images/action-edit.svg );
diff --git a/resources/images/close.png b/resources/images/close.png
index 84631c3..80dde95 100644
--- a/resources/images/close.png
+++ b/resources/images/close.png
Binary files differ
diff --git a/resources/images/close.svg b/resources/images/close.svg
index 375b4f5..7f75511 100644
--- a/resources/images/close.svg
+++ b/resources/images/close.svg
@@ -1,40 +1,5 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!-- Created with Inkscape (http://www.inkscape.org/) -->
-
-<svg
-   xmlns:dc="http://purl.org/dc/elements/1.1/";
-   xmlns:cc="http://creativecommons.org/ns#";
-   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
-   xmlns:svg="http://www.w3.org/2000/svg";
-   xmlns="http://www.w3.org/2000/svg";
-   version="1.1"
-   width="12"
-   height="12"
-   id="svg2">
-  <defs
-     id="defs4" />
-  <metadata
-     id="metadata7">
-    <rdf:RDF>
-      <cc:Work
-         rdf:about="">
-        <dc:format>image/svg+xml</dc:format>
-        <dc:type
-           rdf:resource="http://purl.org/dc/dcmitype/StillImage"; />
-        <dc:title></dc:title>
-      </cc:Work>
-    </rdf:RDF>
-  </metadata>
-  <g
-     transform="translate(-578.6585,-310.8933)"
-     id="layer1">
-    <path
-       d="m 579.70127,311.93609 9.91446,9.91442"
-       id="path6064-1-0-9"
-       
style="fill:none;stroke:#2e3436;stroke-width:2.085536;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
 />
-    <path
-       d="m 589.6157,311.93609 -9.91441,9.91442"
-       id="path6064-3-2-4-6"
-       
style="fill:none;stroke:#2e3436;stroke-width:2.085536;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
 />
-  </g>
+<?xml version="1.0" encoding="utf-8"?>
+<svg xmlns="http://www.w3.org/2000/svg"; width="20" height="20" viewBox="0 0 20 
20">
+       <path d="M3.636 2.222l14.142 14.142-1.414 1.414L2.222 3.636z"/>
+       <path d="M17.778 3.636L3.636 17.778l-1.414-1.414L16.364 2.222z"/>
 </svg>

-- 
To view, visit https://gerrit.wikimedia.org/r/376869
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I532db809215a2896855c73c885c1394952ab426c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Translate
Gerrit-Branch: master
Gerrit-Owner: VolkerE <volke...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to