Changeset 21311 for extensions
- Timestamp:
- Mar 7, 2013, 12:08:32 PM (12 years ago)
- Location:
- extensions/GThumb/template
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/GThumb/template/gthumb.css
r18124 r21311 24 24 } 25 25 26 #thumbnails .thumbLegend { 27 display:none; 26 #thumbnails .gthumb .thumbLegend { 28 27 position:absolute; 29 28 z-index:100; 30 top:50%;31 margin-top:-20px;29 bottom:-40px; 30 top:auto; 32 31 height:30px; 33 32 padding:5px 0; … … 35 34 background:rgba(0,0,0,0.7); 36 35 text-align:center; 37 vertical-align:middle;38 36 overflow:hidden; 39 box-shadow:0 0 3px rgb(0,0,0); 40 color:aaa; 37 color:#aaa; 38 -webkit-transition:all 200ms ease-out; 39 -moz-transition:all 200ms ease-out; 40 -ms-transition:all 200ms ease-out; 41 -o-transition:all 200ms ease-out; 42 transition:all 200ms ease-out; 41 43 } 42 44 #thumbnails .gthumb:hover .thumbLegend { 43 display:block;45 bottom:0px; 44 46 } 45 47 #thumbnails .thumbLegend .thumbName { 46 48 display:block; 47 vertical-align:middle;48 49 font-weight:bold; 49 50 color:#eee; -
extensions/GThumb/template/gthumb.tpl
r20096 r21311 3 3 {assign var=derivative value=$pwg->derivative($GThumb_derivative_params, $thumbnail.src_image)} 4 4 <li class="gthumb"> 5 <a href="{$thumbnail.URL}">6 5 {if $SHOW_THUMBNAIL_CAPTION } 7 6 <span class="thumbLegend"> … … 17 16 </span> 18 17 {/if} 18 {if isset($thumbnail.NB_COMMENTS) && isset($thumbnail.NB_HITS)} - {/if} 19 19 {if isset($thumbnail.NB_HITS)} 20 20 <span class="{if 0==$thumbnail.NB_HITS}zero {/if}nb-hits"> … … 24 24 </span> 25 25 {/if} 26 <a href="{$thumbnail.URL}"> 26 27 <img class="thumbnail" {if !$derivative->is_cached()}data-{/if}src="{$derivative->get_url()}" alt="{$thumbnail.TN_ALT}" title="{$thumbnail.TN_TITLE}" {$derivative->get_size_htm()}> 27 28 </a>
Note: See TracChangeset
for help on using the changeset viewer.