From f7a720d2e827925f6fbae4981e2a17fd79eb31f6 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Mon, 8 Jun 2009 23:17:28 -0700 Subject: Rename main_element_attributes() callback to body_attributes() to be more intuitive for themers. --- themes/admin_default/views/admin.html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'themes/admin_default') diff --git a/themes/admin_default/views/admin.html.php b/themes/admin_default/views/admin.html.php index 721c4dd5..b7cfaa40 100644 --- a/themes/admin_default/views/admin.html.php +++ b/themes/admin_default/views/admin.html.php @@ -31,7 +31,7 @@ admin_head() ?> - main_element_attributes() ?>> + body_attributes() ?>> admin_page_top() ?>
-- cgit v1.2.3 From f1c91ab9779542f1605476bc52c57d5f14294e97 Mon Sep 17 00:00:00 2001 From: jhilden Date: Tue, 9 Jun 2009 23:54:02 -0400 Subject: fixed that you couldn't copy and paste text from the admin dashboard * made only the block headers draggable, so that the rest of the block could be normal * this should fix bug #292 --- modules/gallery/views/admin_dashboard.html.php | 8 ++++---- themes/admin_default/css/screen.css | 3 +-- 2 files changed, 5 insertions(+), 6 deletions(-) (limited to 'themes/admin_default') diff --git a/modules/gallery/views/admin_dashboard.html.php b/modules/gallery/views/admin_dashboard.html.php index c266d7e1..5b8cae2e 100644 --- a/modules/gallery/views/admin_dashboard.html.php +++ b/modules/gallery/views/admin_dashboard.html.php @@ -10,23 +10,23 @@ }; $(document).ready(function(){ - $("#gAdminDashboard .gBlock *:first").addClass("gDraggable"); + $("#gAdminDashboard .gBlock .ui-widget-header").addClass("gDraggable"); $("#gAdminDashboard").sortable({ connectWith: ["#gAdminDashboardSidebar"], containment: "document", cursor: "move", - handle: $("div:first"), + handle: $(".ui-widget-header"), opacity: 0.6, placeholder: "gDropTarget", stop: update_blocks }); - $("#gAdminDashboardSidebar .gBlock *:first").addClass("gDraggable"); + $("#gAdminDashboardSidebar .gBlock .ui-widget-header").addClass("gDraggable"); $("#gAdminDashboardSidebar").sortable({ connectWith: ["#gAdminDashboard"], containment: "document", cursor: "move", - handle: $("div:first"), + handle: $(".ui-widget-header"), opacity: 0.6, placeholder: "gDropTarget", stop: update_blocks diff --git a/themes/admin_default/css/screen.css b/themes/admin_default/css/screen.css index 1ad64fa1..82f85f21 100644 --- a/themes/admin_default/css/screen.css +++ b/themes/admin_default/css/screen.css @@ -327,8 +327,7 @@ li.gDefaultGroup h4, li.gDefaultGroup .gUser { border: none; } -.ui-draggable, -.ui-sortable { +.ui-draggable { cursor: move; } -- cgit v1.2.3 From d297f1fdd24c3bc509ee5fd1bb5969976dc8a160 Mon Sep 17 00:00:00 2001 From: jhilden Date: Wed, 10 Jun 2009 02:07:47 -0400 Subject: first stab at makeing the language admin view prettier --- themes/admin_default/css/screen.css | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'themes/admin_default') diff --git a/themes/admin_default/css/screen.css b/themes/admin_default/css/screen.css index 82f85f21..de4d2413 100644 --- a/themes/admin_default/css/screen.css +++ b/themes/admin_default/css/screen.css @@ -432,3 +432,7 @@ li.gDefaultGroup h4, li.gDefaultGroup .gUser { cursor: pointer; } +#gLanguageSettingsForm .checklist li { + width: 150px; + overflow: hidden; +} -- cgit v1.2.3