r94947 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r94946‎ | r94947 | r94948 >
Date:21:13, 18 August 2011
Author:catrope
Status:ok
Tags:
Comment:
1.17wmf1: MFT r91499, r92846
Modified paths:
  • /branches/wmf/1.17wmf1/resources/jquery.ui/themes/vector/jquery.ui.button.css (modified) (history)

Diff [purge]

Index: branches/wmf/1.17wmf1/resources/jquery.ui/themes/vector/jquery.ui.button.css
@@ -9,22 +9,22 @@
1010
1111 /*button text element */
1212 .ui-button .ui-button-text { display: block; line-height: 1.4em; }
13 -.ui-button-text-only .ui-button-text { padding: .125em .25em; }
14 -.ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: .4em; text-indent: -9999999px; }
15 -.ui-button-text-icon-primary .ui-button-text { padding: 0.1em 0.8em 0.1em 1.9em; }
16 -.ui-button-text-icon-secondary .ui-button-text { padding: .1em 1.9em .1em 0.8em; }
17 -.ui-button-text-icons .ui-button-text { padding: 0.1em 1.9em 0.1em 1.9em; }
 13+.ui-button-text-only .ui-button-text { padding: 0.3em 1em 0.25em 1em; }
 14+.ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: 0.3em; text-indent: -9999999px; }
 15+.ui-button-text-icon-primary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: 0.3em 1em 0.25em 2.1em; }
 16+.ui-button-text-icon-secondary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: 0.3em 2.1em 0.25em 1em; }
 17+.ui-button-text-icons .ui-button-text { padding-left: 2.1em; padding-right: 2.1em; }
1818 /* for older versions of jQuery UI */
19 -.ui-button-text-icon .ui-button-text { padding: 0.1em 0.8em 0.1em 1.9em; }
 19+.ui-button-text-icon .ui-button-text { padding: 0.3em 1em 0.3em 2.1em; }
2020
2121 /* no icon support for input elements, provide padding by default */
22 -input.ui-button { padding: .4em 1em; }
 22+input.ui-button { padding: 0.3em 1em; }
2323
2424 /*button icon element(s) */
2525 .ui-button-icon-only .ui-icon, .ui-button-text-icon-primary .ui-icon, .ui-button-text-icon-secondary .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-text-icon .ui-icon, .ui-button-icons-only .ui-icon { position: absolute; top: 50%; margin-top: -9px; }
2626 .ui-button-icon-only .ui-icon { left: 50%; margin-left: -8px; }
27 -.ui-button-text-icon .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary { left: .5em; }
28 -.ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
 27+.ui-button-text-icon-primary .ui-button-icon-primary, .ui-button-text-icon .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary { left: 0.5em; }
 28+.ui-button-text-icon-secondary .ui-button-icon-secondary, .ui-button-text-icon .ui-button-icon-secondary, .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: 0.5em; }
2929
3030 /*button sets*/
3131 .ui-buttonset { margin-right: 7px; }
@@ -36,7 +36,7 @@
3737 body .ui-button {
3838 -moz-border-radius: 4px;
3939 -webkit-border-radius: 4px;
40 - padding: 0.2em 0.6em 0.15em !important;
 40+ border-radius: 4px;
4141 margin: 0.5em 0 0.5em 0.4em !important;
4242 border: 1px solid #a6a6a6 !important;
4343 /* @embed */

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r91499another fix for old jQuery UI on livekaldari22:03, 5 July 2011
r92846follow-up to r91499 - set padding for the elements inside the button rather t...kaldari02:11, 22 July 2011

Status & tagging log