Jonas Kress (WMDE) has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/252917

Change subject: Replace text with icons in toolbars
......................................................................

Replace text with icons in toolbars

Change-Id: I9fc1fe814c92f46f61b92d3b6fb53944aaab2293
---
M 
view/resources/jquery/wikibase/toolbar/themes/default/jquery.wikibase.toolbarbutton.css
1 file changed, 10 insertions(+), 7 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase 
refs/changes/17/252917/1

diff --git 
a/view/resources/jquery/wikibase/toolbar/themes/default/jquery.wikibase.toolbarbutton.css
 
b/view/resources/jquery/wikibase/toolbar/themes/default/jquery.wikibase.toolbarbutton.css
index d0226f4..181b9a5 100755
--- 
a/view/resources/jquery/wikibase/toolbar/themes/default/jquery.wikibase.toolbarbutton.css
+++ 
b/view/resources/jquery/wikibase/toolbar/themes/default/jquery.wikibase.toolbarbutton.css
@@ -35,19 +35,18 @@
 .wikibase-toolbar-button-edit  a,
 .wikibase-toolbar-button-save  a,
 .wikibase-toolbar-button-remove  a,
-.wikibase-toolbar-button-cancel  a,
-.wikibase-toolbar-button-add  a {
+.wikibase-toolbar-button-cancel  a {
        /* common styles */
-       background-position: 0px -4px;
-       background-size: 20px 20px;
-       padding-left: 20px;
        background-repeat: no-repeat;
-       font-size: 90%;
+       overflow:hidden;
+       width: 24px;
+       height: 24px;
+       color: transparent!important;
+       display: inline-block;
 }
 
 .wikibase-toolbar-button-edit  a{
        background-image: /* @embed */ url(images/icons/oojs-ui/edit-ltr.svg);
-       background-position: 0px -2px;
 }
 
 .wikibase-toolbar-button-save  a{
@@ -64,4 +63,8 @@
 
 .wikibase-toolbar-button-add  a{
        background-image: /* @embed */ url(images/icons/oojs-ui/add.svg);
+       background-position: 0px -6px;
+       padding-left: 22px;
+       background-repeat: no-repeat;
+       font-size: 90%;
 }
\ No newline at end of file

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9fc1fe814c92f46f61b92d3b6fb53944aaab2293
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Jonas Kress (WMDE) <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to