From 67d551d5e3739af81611c06a7786844f4eabb4ea Mon Sep 17 00:00:00 2001 From: Chad Kieffer Date: Fri, 6 Feb 2009 06:34:47 +0000 Subject: jQuery-based buttons! Form updates, short form updates. Need to fix add user/group buttons and search form on search results page. --- themes/admin_default/css/screen.css | 13 ------------- themes/admin_default/images/backg-buttonlink.png | Bin 233 -> 0 bytes themes/admin_default/js/ui.init.js | 3 +++ 3 files changed, 3 insertions(+), 13 deletions(-) delete mode 100644 themes/admin_default/images/backg-buttonlink.png (limited to 'themes/admin_default') diff --git a/themes/admin_default/css/screen.css b/themes/admin_default/css/screen.css index 12006e46..cc7d4cd2 100644 --- a/themes/admin_default/css/screen.css +++ b/themes/admin_default/css/screen.css @@ -140,19 +140,6 @@ margin-right: 1em; } -.gButtonLink { - border-width: 1px; - border-style: solid; - border-color: #ececec #c8c8c8 #c8c8c8 #ececec; - background-image: url('../images/backg-buttonlink.png'); - padding: .2em .3em; - font-weight: bold; -} - -.gButtonLink:hover { - border-color: #c8c8c8 #ececec #ececec #c8c8c8; -} - #gUserAdminList { margin-bottom: 1em; } diff --git a/themes/admin_default/images/backg-buttonlink.png b/themes/admin_default/images/backg-buttonlink.png deleted file mode 100644 index b44c7a3f..00000000 Binary files a/themes/admin_default/images/backg-buttonlink.png and /dev/null differ diff --git a/themes/admin_default/js/ui.init.js b/themes/admin_default/js/ui.init.js index efc2af04..c8e21c9c 100644 --- a/themes/admin_default/js/ui.init.js +++ b/themes/admin_default/js/ui.init.js @@ -14,6 +14,9 @@ $(document).ready(function(){ speed: 'fast' }); + $(".gButtonLink").addClass("fg-button fg-button-icon-left ui-state-default ui-corner-all"); + $(".gButtonLink").prepend(''); + // Apply modal dialogs var dialogLinks = $(".gDialogLink"); for (var i=0; i < dialogLinks.length; i++) { -- cgit v1.2.3