r104634 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r104633‎ | r104634 | r104635 >
Date:00:35, 30 November 2011
Author:tparscal
Status:deferred
Tags:
Comment:
Added clear button to menu
Modified paths:
  • /trunk/extensions/VisualEditor/modules/es/es.Surface.css (modified) (history)
  • /trunk/extensions/VisualEditor/modules/es/images/clear.png (modified) (history)
  • /trunk/extensions/VisualEditor/modules/es/images/clear.psd (added) (history)
  • /trunk/extensions/VisualEditor/modules/es/views/es.ContextView.js (modified) (history)

Diff [purge]

Index: trunk/extensions/VisualEditor/modules/es/es.Surface.css
@@ -102,6 +102,10 @@
103103 height: 1em;
104104 padding: 0.25em;
105105 border: solid 1px white;
 106+ -webkit-border-radius: 0.25em;
 107+ -moz-border-radius: 0.25em;
 108+ -o-border-radius: 0.25em;
 109+ border-radius: 0.25em;
106110 background-position: center center;
107111 background-position: no-repeat;
108112 cursor: pointer;
@@ -113,6 +117,9 @@
114118 .es-contextView-menuButton-italic {
115119 background-image: url(images/italic.png);
116120 }
 121+.es-contextView-menuButton-clear {
 122+ background-image: url(images/clear.png);
 123+}
117124
118125 .es-contextView-menuButton:hover {
119126 border-color: #b3d6f6;
Index: trunk/extensions/VisualEditor/modules/es/images/clear.png
Cannot display: file marked as a binary type.
svn:mime-type = image/png
Index: trunk/extensions/VisualEditor/modules/es/images/clear.psd
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/extensions/VisualEditor/modules/es/images/clear.psd
___________________________________________________________________
Added: svn:mime-type
120127 + application/octet-stream
Index: trunk/extensions/VisualEditor/modules/es/views/es.ContextView.js
@@ -16,6 +16,7 @@
1717 '<div class="es-contextView-menuSection">' +
1818 '<div class="es-contextView-menuButton es-contextView-menuButton-bold"></div>' +
1919 '<div class="es-contextView-menuButton es-contextView-menuButton-italic"></div>' +
 20+ '<div class="es-contextView-menuButton es-contextView-menuButton-clear"></div>' +
2021 '</div>' +
2122 '<div class="es-contextView-menuItem-break"></div>' +
2223 '<div class="es-contextView-menuItem">Cut</div>' +

Status & tagging log