- Timestamp:
- Sep 11, 2014, 11:05:00 AM (10 years ago)
- Location:
- trunk/admin
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/picture_modify.php
r28981 r29480 230 230 $admin_url_start.= isset($_GET['cat_id']) ? '&cat_id='.$_GET['cat_id'] : ''; 231 231 232 $src_image = new SrcImage($row); 233 232 234 $template->assign( 233 235 array( … … 238 240 'PATH'=>$row['path'], 239 241 240 'TN_SRC' => DerivativeImage::thumb_url($row), 242 'TN_SRC' => DerivativeImage::url(IMG_THUMB, $src_image), 243 'FILE_SRC' => DerivativeImage::url(IMG_LARGE, $src_image), 241 244 242 245 'NAME' => -
trunk/admin/themes/default/template/batch_manager_unit.tpl
r29389 r29480 56 56 57 57 <span class="thumb"> 58 <a href="{$element.FILE_SRC}" class="preview-box" title="{$element.LEGEND|@htmlspecialchars}"><img src="{$element.TN_SRC}" alt=""></a> 59 <br/> 60 <a href="{$element.U_EDIT}">{'Edit'|@translate}</a> 58 <a href="{$element.FILE_SRC}" class="preview-box icon-search" title="{$element.LEGEND|@htmlspecialchars}"><img src="{$element.TN_SRC}" alt=""></a> 59 <a href="{$element.U_EDIT}" class="icon-pencil">{'Edit'|@translate}</a> 61 60 </span> 62 61 -
trunk/admin/themes/default/template/picture_modify.tpl
r29389 r29480 1 1 {include file='include/autosize.inc.tpl'} 2 2 {include file='include/datepicker.inc.tpl'} 3 {include file='include/colorbox.inc.tpl'} 3 4 4 5 {combine_script id='LocalStorageCache' load='footer' path='admin/themes/default/js/LocalStorageCache.js'} … … 36 37 }); 37 38 }); 39 40 {* <!-- THUMBNAILS --> *} 41 jQuery("a.preview-box").colorbox(); 38 42 }()); 39 43 {/footer_script} … … 50 54 <tr> 51 55 <td id="albumThumbnail"> 52 < img src="{$TN_SRC}" alt="{'Thumbnail'|@translate}" class="Thumbnail">56 <a href="{$FILE_SRC}" class="preview-box icon-search" title="{$TITLE|htmlspecialchars}"><img src="{$TN_SRC}" alt="{'Thumbnail'|translate}"></a> 53 57 </td> 54 58 <td id="albumLinks" style="width:400px;vertical-align:top;"> -
trunk/admin/themes/default/theme.css
r29406 r29480 226 226 float: right; 227 227 text-align: center; 228 opacity: 0.6;229 -webkit-transition:opacity 400ms ease;230 transition:opacity 400ms ease;231 }232 FIELDSET.elementEdit .thumb:hover {233 opacity:1;234 228 } 235 229 … … 1221 1215 .userActions {float:right;text-align:right;} 1222 1216 1217 .preview-box.icon-search { 1218 display:block; 1219 position:relative; 1220 } 1221 .preview-box.icon-search:before { 1222 opacity:0; 1223 position:absolute; 1224 margin:-22px 0 0 -22px; 1225 top:50%; 1226 left:50%; 1227 font-size:50px; 1228 line-height:50px; 1229 color:white; 1230 z-index:100; 1231 text-shadow:0 0 20px rgba(0,0,0,0.4); 1232 -webkit-transition:opacity 200ms ease; 1233 transition:opacity 200ms ease; 1234 } 1235 .preview-box.icon-search:hover:before { 1236 opacity:0.9; 1237 } 1238 .preview-box.icon-search img { 1239 opacity:1; 1240 -webkit-transition:opacity 200ms ease; 1241 transition:opacity 200ms ease; 1242 } 1243 .preview-box.icon-search:hover img { 1244 opacity:0.5; 1245 }
Note: See TracChangeset
for help on using the changeset viewer.