diff --git a/vendor/built_in_modules/gallery/app/assets/javascripts/galleryAPI.js.erb b/vendor/built_in_modules/gallery/app/assets/javascripts/galleryAPI.js.erb index 4ae220f2..814f2129 100644 --- a/vendor/built_in_modules/gallery/app/assets/javascripts/galleryAPI.js.erb +++ b/vendor/built_in_modules/gallery/app/assets/javascripts/galleryAPI.js.erb @@ -222,7 +222,7 @@ var galleryAPI = function(){ }) }) var uploadpanel = $('
'); - var frame = $(''); + var frame = $(''); uploadpanel.find("a.bt-cls").click(function(){ uploadpanel.hide("slide"); frame.remove(); @@ -487,7 +487,9 @@ var galleryAPI = function(){ $.post("set_cover",{"imageid":$(this).attr("href"),"aid":id},function(){}) }) $(".description_loader .edit_fn .bt-dels").click(function(){ - $(this).toggleClass("setdelete"); + $(this) + .toggleClass("setdelete btn-danger active") + .find('span').toggleClass('icon-white'); if($(".description_loader .edit_fn .setdelete").length > 0){ g.albumArea.find(".rghead .rgfn .bt-delete").show(); }else{ diff --git a/vendor/built_in_modules/gallery/app/assets/stylesheets/gallery.css b/vendor/built_in_modules/gallery/app/assets/stylesheets/gallery.css index eb0aed1c..bb242c98 100755 --- a/vendor/built_in_modules/gallery/app/assets/stylesheets/gallery.css +++ b/vendor/built_in_modules/gallery/app/assets/stylesheets/gallery.css @@ -104,7 +104,6 @@ clear: both; overflow: hidden; margin-bottom: 10px; - border-bottom: solid 1px #fcfcfc; } .albumname_edit label { width: 120px; @@ -141,7 +140,7 @@ right: 0; bottom: 0; overflow: hidden; - background: #333; + background: #222; clear: both; /*z-index: 99;*/ min-height: 250px; @@ -354,23 +353,6 @@ padding: 6px; } .rgphoto_edit .rgbtsg.active { display: inline-block; } -/* -.bt-add { background-position: 0 -106px; } -.bt-add:hover { background-position: 0 -296px; } -.bt-add:active { background-position: 0 -486px; } -.bt-del { background-position: 0 -144px; } -.bt-del:hover { background-position: 0 -334px; } -.bt-del:active { background-position: 0 -524px; } -.bt-edit { background-position: 0 -182px; } -.bt-edit:hover { background-position: 0 -372px; } -.bt-edit:active { background-position: 0 -562px; } -.bt-back { background-position: 0 -676px; } -.bt-back:hover { background-position: 0 -714px; } -.bt-back:active { background-position: 0 -752px; } -.bt-save, .bt-finish { background-position: 0 -220px; } -.bt-save:hover, .bt-finish:hover { background-position: 0 -410px; } -.bt-save:active, .bt-finish:active { background-position: 0 -600px; } -*/ .bt-finish { display: block; float: right; clear: both; } .bt-addnew { margin: 0 auto; @@ -391,27 +373,7 @@ right: 6px; top: 6px; } -/* -.bt-close:hover { background-position: -436px 0; } -.bt-close:active { background-position: -514px 0; } -.bt-cls { background-position: 0 -790px; } -.bt-cls:hover { background-position: 0 -828px; } -.bt-cls:active { background-position: 0 -866px; } -.bt-dels { background-position: -318px 0; width: 32px; } -.bt-dels:hover { background-position: -396px 0; } -.bt-dels:active { background-position: -474px 0; } -.bt-dels.setdelete { background-position: -474px -38px; width: 32px; } -.bt-cover { background-position: -318px -38px; width: 32px; } -.bt-cover:hover { background-position: -358px -38px; } -.bt-cover:active { background-position: -398px -38px; } -.bt-cover.setcover { background-position: -438px -38px; } -.bt-chk { background-position: -318px -76px; width: 16px; height: 16px; margin-right: 4px; } -.bt-chk:hover { background-position: -342px -76px; } -.bt-chk.check { background-position: -366px -76px; } -.bt-languages { background-position: -398px -72px; width: 32px; position: relative; } -.bt-languages:hover { background-position: -438px -72px; } -.bt-languages:active { background-position: -477px -72px; } -*/ + .inputui { margin: 0 0 8px 0; diff --git a/vendor/built_in_modules/gallery/app/views/panel/gallery/back_end/orbit_galleries/edit_album.html.erb b/vendor/built_in_modules/gallery/app/views/panel/gallery/back_end/orbit_galleries/edit_album.html.erb index 253f039d..8d6cc4c5 100644 --- a/vendor/built_in_modules/gallery/app/views/panel/gallery/back_end/orbit_galleries/edit_album.html.erb +++ b/vendor/built_in_modules/gallery/app/views/panel/gallery/back_end/orbit_galleries/edit_album.html.erb @@ -32,12 +32,12 @@