r91204 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r91203‎ | r91204 | r91205 >
Date:19:37, 30 June 2011
Author:kaldari
Status:ok
Tags:
Comment:
fixing jQuery UI button styles for the old version of jQuery UI that is on live - still forward compatible as well
Modified paths:
  • /trunk/phase3/resources/jquery.ui/themes/vector/jquery.ui.button.css (modified) (history)

Diff [purge]

Index: trunk/phase3/resources/jquery.ui/themes/vector/jquery.ui.button.css
@@ -11,9 +11,12 @@
1212 .ui-button .ui-button-text { display: block; line-height: 1.4em; }
1313 .ui-button-text-only .ui-button-text { padding: .125em .25em; }
1414 .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, .ui-button-text-icons .ui-button-text { padding: .1em 0.8em .1em 1.9em; }
16 -.ui-button-text-icon-secondary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .1em 1.9em .1em 0.8em; }
17 -.ui-button-text-icons .ui-button-text { padding-left: 2.1em; padding-right: 2.1em; }
 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; }
 18+/* for older versions of jQuery UI */
 19+.ui-button-text-icon .ui-button-text { padding: 0.1em 0.8em 0.1em 1.9em; }
 20+
1821 /* no icon support for input elements, provide padding by default */
1922 input.ui-button { padding: .4em 1em; }
2023

Follow-up revisions

RevisionCommit summaryAuthorDate
r91220forgot one, follow-up to r91204kaldari21:10, 30 June 2011

Status & tagging log