From d581bbbd1eaeb242b7279e5a6d75f015dd5a5e6f Mon Sep 17 00:00:00 2001 From: Chad Kieffer Date: Sun, 4 Oct 2009 15:53:00 -0600 Subject: Renamed more CSS selectors from gName to g-name. --- modules/organize/css/organize.css | 14 +++++++------- modules/organize/js/organize.js | 14 +++++++------- modules/organize/views/organize_dialog.html.php | 12 ++++++------ 3 files changed, 20 insertions(+), 20 deletions(-) (limited to 'modules/organize') diff --git a/modules/organize/css/organize.css b/modules/organize/css/organize.css index fbf3c383..afa89229 100644 --- a/modules/organize/css/organize.css +++ b/modules/organize/css/organize.css @@ -24,7 +24,7 @@ white-space: nowrap; } -#g-organizeDetail { +#g-organize-detail { height: 100%; } @@ -36,20 +36,20 @@ /******************************************************************* * Album Tree styles */ -#g-organizeTreeContainer { +#g-organize-tree-container { height: 100%; overflow: auto; margin: 0 !important; padding: 0 !important; } -#g-organize-albumTree .selected { +#g-organize-album-tree .selected { background-color: #cfdeff; border-bottom: 1px solid #999; margin-right: 0px; } -#g-organize-albumTree ul li { +#g-organize-album-tree ul li { padding-left: 1.2em; } @@ -131,18 +131,18 @@ /**************************************************************** * Controls styles */ -#g-organizeControls { +#g-organize-controls { padding-left: 8px; background-color: #13A; color: #ccc; width: 100% !important; } -#g-organizeControls select { +#g-organize-controls select { display: inline; } -#g-organizeClose { +#g-organize-close { float: right; margin-right: 12px; } diff --git a/modules/organize/js/organize.js b/modules/organize/js/organize.js index 960d75e2..d1e9420b 100644 --- a/modules/organize/js/organize.js +++ b/modules/organize/js/organize.js @@ -110,7 +110,7 @@ _refresh: function(data) { if (data.tree) { - $("#g-organize-albumTree").html(data.tree); + $("#g-organize-album-tree").html(data.tree); } if (data.grid) { $("#g-organize-microthumb-grid").html(data.grid); @@ -142,14 +142,14 @@ $("#g-dialog").bind("dialogopen", function(event, ui) { $("#g-organize").height($("#g-dialog").innerHeight() - 20); $("#g-organize-microthumb-panel").height($("#g-dialog").innerHeight() - 90); - $("#g-organizeTreeContainer").height($("#g-dialog").innerHeight() - 59); + $("#g-organize-tree-container").height($("#g-dialog").innerHeight() - 59); }); $("#g-dialog").bind("dialogclose", function(event, ui) { window.location.reload(); }); - $("#g-dialog #g-organizeClose").click(function(event) { + $("#g-dialog #g-organize-close").click(function(event) { $("#g-dialog").dialog("close"); }); @@ -170,7 +170,7 @@ .mousemove($.organize.mouse_move_handler); $(".g-organize-album").droppable($.organize.branch_droppable); $(".g-organize-album-text").click($.organize.show_album); - $("#g-organize-albumTree .ui-icon-plus,#g-organize-albumTree .ui-icon-minus").click($.organize.toggle_branch); + $("#g-organize-album-tree .ui-icon-plus,#g-organize-album-tree .ui-icon-minus").click($.organize.toggle_branch); }, toggle_branch: function(event) { @@ -207,13 +207,13 @@ if ($(event.currentTarget).hasClass("selected")) { return; } - var parent = $(event.currentTarget).parents(".g-organizeBranch"); + var parent = $(event.currentTarget).parents(".g-organize-branch"); if ($(parent).hasClass("g-view-only")) { return; } $("#g-organize-microthumb-panel").selectable("destroy"); var id = $(event.currentTarget).attr("ref"); - $("#g-organize-albumTree .selected").removeClass("selected"); + $("#g-organize-album-tree .selected").removeClass("selected"); $(".g-organize-album-text[ref=" + id + "]").addClass("selected"); var url = $("#g-organize-microthumb-panel").attr("ref").replace("__ITEM_ID__", id).replace("__OFFSET__", 0); $.get(url, {}, @@ -231,7 +231,7 @@ */ resort: function(column, dir) { var url = sort_order_url - .replace("__ALBUM_ID__", $("#g-organize-albumTree .selected").attr("ref")) + .replace("__ALBUM_ID__", $("#g-organize-album-tree .selected").attr("ref")) .replace("__COL__", column) .replace("__DIR__", dir); $.get(url, {}, diff --git a/modules/organize/views/organize_dialog.html.php b/modules/organize/views/organize_dialog.html.php index 858c794c..dc627d10 100644 --- a/modules/organize/views/organize_dialog.html.php +++ b/modules/organize/views/organize_dialog.html.php @@ -16,21 +16,21 @@
-
-
-
    +
    +
    +
    -
    +
    ">
    -
    - +
    -- cgit v1.2.3