Changeset 24881


Ignore:
Timestamp:
Oct 13, 2013, 7:01:14 AM (11 years ago)
Author:
rvelices
Message:

simplified first and last holders in picture navigation...

Location:
trunk/themes
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/themes/default/template/picture.tpl

    r24837 r24881  
    134134                        </a>
    135135                {elseif isset($U_UP)}
    136                         <a class="navThumb" id="linkFirst" href="{$U_UP}" title="{'Thumbnails'|@translate}" rel="prev">
     136                        <a class="navThumb" id="linkPrev" href="{$U_UP}" title="{'Thumbnails'|@translate}">
    137137                                <div class="thumbHover">{'First Page'|@translate}<br><br>{'Go back to the album'|@translate}</div>
    138138                        </a>
     
    144144                        </a>
    145145                {elseif isset($U_UP)}
    146                         <a class="navThumb" id="linkLast"  href="{$U_UP}"  title="{'Thumbnails'|@translate}" rel="next">
     146                        <a class="navThumb" id="linkNext"  href="{$U_UP}"  title="{'Thumbnails'|@translate}">
    147147                                <div class="thumbHover">{'Last Page'|@translate}<br><br>{'Go back to the album'|@translate}</div>
    148148                        </a>
  • trunk/themes/default/theme.css

    r24837 r24881  
    388388}
    389389
    390 #linkPrev, #linkFirst {
     390#linkPrev {
    391391        float: left;
    392392        margin: 5px 10px 0 5px;
    393393}
    394394
    395 #linkNext, #linkLast {
     395#linkNext {
    396396        float: right;
    397397        margin: 5px 5px 0 10px;
     
    399399}
    400400
    401 #linkFirst, #linkLast {
    402   border: 1px solid #ccc;
    403 }
    404 
    405 #linkFirst div, #linkLast div {
    406   display: inline-block;
     401
     402DIV.thumbHover{ /*only first & last holders are divs*/
    407403  width: 108px;
    408404        height: 118px;
     405        border: 1px solid gray;
     406        padding: 0 5px;
    409407  line-height: 1.2;
    410   margin: 0 5px;
    411408}
    412409
  • trunk/themes/elegant/theme.css

    r23642 r24881  
    224224#imageInfos #linkPrev                           { float: left;}
    225225#imageInfos #linkNext                           { float: right;}
    226 #imageInfos #linkFirst, #imageInfos #linkLast { border-color: #444444;}
    227226#imageInfos .prevThumbHover                     { background: transparent url(icon/none.png) no-repeat center center;}
    228227#imageInfos .prevThumbHover:hover       { background: transparent url(icon/img_prev.png) no-repeat center center;}
Note: See TracChangeset for help on using the changeset viewer.