From 1ab4d2ce861fe09d1c156a8aec679fbba1668bad Mon Sep 17 00:00:00 2001 From: Ryan Kaldari Date: Thu, 30 Jun 2011 19:37:17 +0000 Subject: [PATCH] fixing jQuery UI button styles for the old version of jQuery UI that is on live - still forward compatible as well --- resources/jquery.ui/themes/vector/jquery.ui.button.css | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/resources/jquery.ui/themes/vector/jquery.ui.button.css b/resources/jquery.ui/themes/vector/jquery.ui.button.css index 373894638e..f7a879e8d4 100644 --- a/resources/jquery.ui/themes/vector/jquery.ui.button.css +++ b/resources/jquery.ui/themes/vector/jquery.ui.button.css @@ -11,9 +11,12 @@ button.ui-button-icons-only { width: 3.7em; } .ui-button .ui-button-text { display: block; line-height: 1.4em; } .ui-button-text-only .ui-button-text { padding: .125em .25em; } .ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: .4em; text-indent: -9999999px; } -.ui-button-text-icon-primary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .1em 0.8em .1em 1.9em; } -.ui-button-text-icon-secondary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .1em 1.9em .1em 0.8em; } -.ui-button-text-icons .ui-button-text { padding-left: 2.1em; padding-right: 2.1em; } +.ui-button-text-icon-primary .ui-button-text { padding: 0.1em 0.8em 0.1em 1.9em; } +.ui-button-text-icon-secondary .ui-button-text { padding: .1em 1.9em .1em 0.8em; } +.ui-button-text-icons .ui-button-text { padding: 0.1em 1.9em 0.1em 1.9em; } +/* for older versions of jQuery UI */ +.ui-button-text-icon .ui-button-text { padding: 0.1em 0.8em 0.1em 1.9em; } + /* no icon support for input elements, provide padding by default */ input.ui-button { padding: .4em 1em; } -- 2.20.1