aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2012-02-09 11:01:08 +0000
committerplegall <plg@piwigo.org>2012-02-09 11:01:08 +0000
commitafb04c02937046f22b2e71974c785c6ee70ae10f (patch)
tree3a68f7446d2b4cdb7b054ad8c1c674d57c37e375 /admin
parent065debcad40ffcc7676339f519588be15ee8b0c1 (diff)
feature 2471: improve visibility of the new "Zoom - Edit" links on each
thumbnails of the Batch Manager. git-svn-id: http://piwigo.org/svn/trunk@13066 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin')
-rw-r--r--admin/themes/default/template/batch_manager_global.tpl4
-rw-r--r--admin/themes/default/theme.css5
2 files changed, 5 insertions, 4 deletions
diff --git a/admin/themes/default/template/batch_manager_global.tpl b/admin/themes/default/template/batch_manager_global.tpl
index 562704661..d368591c2 100644
--- a/admin/themes/default/template/batch_manager_global.tpl
+++ b/admin/themes/default/template/batch_manager_global.tpl
@@ -505,7 +505,7 @@ jQuery(window).load(function() {
$(".thumbnails img").each(function () {
max_dim = Math.max(max_dim, $(this).height(), $(this).width() );
});
- max_dim += 20;
+ max_dim += 35;
$("ul.thumbnails span, ul.thumbnails label").css('width', max_dim+'px').css('height', max_dim+'px');
$('ul.thumbnails').enableShiftClick();
});
@@ -614,7 +614,7 @@ jQuery(window).load(function() {
<span class="wrap1">
<label>
<span class="wrap2{if $isSelected} thumbSelected{/if}">
- <div class="actions"><a href="{$thumbnail.FILE_SRC}" class="preview-box">{'Zoom'|@translate}</a> | <a href="{$thumbnail.U_EDIT}" target="_blank">{'Edit'|@translate}</a></div>
+ <div class="actions"><a href="{$thumbnail.FILE_SRC}" class="preview-box">{'Zoom'|@translate}</a> &middot; <a href="{$thumbnail.U_EDIT}" target="_blank">{'Edit'|@translate}</a></div>
{if $thumbnail.LEVEL > 0}
<em class="levelIndicatorB">{$pwg->l10n($pwg->sprintf('Level %d',$thumbnail.LEVEL))}</em>
<em class="levelIndicatorF" title="{'Who can see these photos?'|@translate} : ">{$pwg->l10n($pwg->sprintf('Level %d',$thumbnail.LEVEL))}</em>
diff --git a/admin/themes/default/theme.css b/admin/themes/default/theme.css
index 14aa30b96..b1c2ef5b2 100644
--- a/admin/themes/default/theme.css
+++ b/admin/themes/default/theme.css
@@ -980,8 +980,9 @@ LEGEND {
#batchManagerGlobal .bulkAction {text-align:left;margin:15px 0;padding:0;}
#batchManagerGlobal #action_del_tags ul.tagSelection {margin:0 !important; width:620px;}
#batchManagerGlobal #checkActions {text-align:left; margin:0 0 20px 0;}
-#batchManagerGlobal ul.thumbnails div.actions {display:none;position:absolute;top:0;right:5px;}
-#batchManagerGlobal ul.thumbnails div.actions a {color:#222;}
+#batchManagerGlobal ul.thumbnails div.actions {display:none;position:absolute;top:0;right:5px;color:#fff}
+#batchManagerGlobal ul.thumbnails div.actions a {color:#fff;}
+#batchManagerGlobal ul.thumbnails div.actions a:hover {border-color:#fff;}
#batchManagerGlobal ul.thumbnails span.wrap1:hover div.actions {display:block;}
#batchManagerGlobal #selectedMessage {padding:5px; -moz-border-radius:5px;-webkit-border-radius:5px;}
#batchManagerGlobal #selectSet a {border-bottom:1px dotted;}