From a187974f05bb290e6f86942ed4ece455e90b81f2 Mon Sep 17 00:00:00 2001 From: rvelices Date: Sun, 13 Oct 2013 05:01:14 +0000 Subject: simplified first and last holders in picture navigation... git-svn-id: http://piwigo.org/svn/trunk@24881 68402e56-0260-453c-a942-63ccdbb3a9ee --- themes/default/template/picture.tpl | 4 ++-- themes/default/theme.css | 13 +++++-------- themes/elegant/theme.css | 1 - 3 files changed, 7 insertions(+), 11 deletions(-) diff --git a/themes/default/template/picture.tpl b/themes/default/template/picture.tpl index 0759d14d4..f64e04856 100644 --- a/themes/default/template/picture.tpl +++ b/themes/default/template/picture.tpl @@ -133,7 +133,7 @@ y.callService( {$previous.TITLE_ESC} {elseif isset($U_UP)} - {/if} @@ -143,7 +143,7 @@ y.callService( {$next.TITLE_ESC} {elseif isset($U_UP)} - {/if} diff --git a/themes/default/theme.css b/themes/default/theme.css index e1fcfe4af..f787090bf 100644 --- a/themes/default/theme.css +++ b/themes/default/theme.css @@ -387,27 +387,24 @@ TD.calDayCellFull, TD.calDayCellEmpty { min-height: 120px; } -#linkPrev, #linkFirst { +#linkPrev { float: left; margin: 5px 10px 0 5px; } -#linkNext, #linkLast { +#linkNext { float: right; margin: 5px 5px 0 10px; text-align: right; } -#linkFirst, #linkLast { - border: 1px solid #ccc; -} -#linkFirst div, #linkLast div { - display: inline-block; +DIV.thumbHover{ /*only first & last holders are divs*/ width: 108px; height: 118px; + border: 1px solid gray; + padding: 0 5px; line-height: 1.2; - margin: 0 5px; } .imageInfoTable UL { /*this is the album list*/ diff --git a/themes/elegant/theme.css b/themes/elegant/theme.css index e5b046cbd..0c247e0a7 100644 --- a/themes/elegant/theme.css +++ b/themes/elegant/theme.css @@ -223,7 +223,6 @@ a:hover { border-bottom: none;} #imageInfos .navThumb { position: relative; margin: 0; overflow: hidden;} #imageInfos #linkPrev { float: left;} #imageInfos #linkNext { float: right;} -#imageInfos #linkFirst, #imageInfos #linkLast { border-color: #444444;} #imageInfos .prevThumbHover { background: transparent url(icon/none.png) no-repeat center center;} #imageInfos .prevThumbHover:hover { background: transparent url(icon/img_prev.png) no-repeat center center;} #imageInfos .nextThumbHover { background: transparent url(icon/none.png) no-repeat center center;} -- cgit v1.2.3