From 5fdcdc0e682f3ae42652bddea274e824e2a51974 Mon Sep 17 00:00:00 2001 From: Chad Kieffer Date: Mon, 12 Jan 2009 03:49:19 +0000 Subject: Applied jquery ui dialog titlebar to dashboard blocks to add a close button. It's not semantically "nice" but it works for now. --- themes/admin_default/css/screen.css | 4 ++-- themes/admin_default/views/block.html.php | 9 +++++++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/themes/admin_default/css/screen.css b/themes/admin_default/css/screen.css index 6c369b54..edc1beab 100644 --- a/themes/admin_default/css/screen.css +++ b/themes/admin_default/css/screen.css @@ -65,12 +65,12 @@ margin-bottom: 0; } -#gContent .gBlock h2 { - background-color: #e8e8e8; +#gContent .gBlock .ui-dialog-titlebar { margin: -.8em -.3em 0 -.3em; } #gSidebar .gBlock h2 { + background: none; margin: -.9em -.4em 0 -.3em; cursor: move; } diff --git a/themes/admin_default/views/block.html.php b/themes/admin_default/views/block.html.php index 42d09196..7f14353a 100644 --- a/themes/admin_default/views/block.html.php +++ b/themes/admin_default/views/block.html.php @@ -1,6 +1,11 @@ -
-

+
+
-- cgit v1.2.3