Changeset 16030
- Timestamp:
- Jun 25, 2012, 12:10:18 PM (12 years ago)
- Location:
- extensions/simple_themes/simple
- Files:
-
- 2 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/simple_themes/simple/content.css
r13559 r16030 398 398 #theCommentsPage #comments li { 399 399 list-style: none; 400 display: table-row; 400 border-top: none; 401 /* display: table-row; */ 402 min-height:150px; 401 403 } 402 404 -
extensions/simple_themes/simple/template/mainpage_categories.tpl
r13551 r16030 1 {strip}{html_style} 2 .thumbnailCategory .illustration{ldelim} 3 width: {$derivative_params->max_width()+5}px; 4 } 5 6 .content .thumbnailCategory .description{ldelim} 7 height: {$derivative_params->max_height()+5}px; 8 } 9 {/html_style}{/strip} 1 10 <ul class="thumbnailCategories"> 2 {foreach from=$category_thumbnails item=cat}3 4 5 6 <img src="{$cat.TN_SRC}" alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '} - {'display this album'|@translate}">7 8 9 10 11 12 13 <img title="{$cat.icon_ts.TITLE}" src="{$ROOT_URL}{$themeconf.icon_dir}/recent{if $cat.icon_ts.IS_CHILD_DATE}_by_child{/if}.png" class="icon" alt="(!)">14 15 16 11 {foreach from=$category_thumbnails item=cat name=cat_loop} 12 <li> 13 <div class="illustration"> 14 <a href="{$cat.URL}"> 15 <img src="{$pwg->derivative_url($derivative_params, $cat.representative.src_image)}" alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '|@strip_tags:false} - {'display this album'|@translate}"> 16 </a> 17 </div> 18 <div class="description"> 19 <h3> 20 <a href="{$cat.URL}">{$cat.NAME}</a> 21 {if !empty($cat.icon_ts)} 22 <img title="{$cat.icon_ts.TITLE}" src="{$ROOT_URL}{$themeconf.icon_dir}/recent{if $cat.icon_ts.IS_CHILD_DATE}_by_child{/if}.png" alt="(!)"> 23 {/if} 24 </h3> 25 {if isset($cat.INFO_DATES) } 17 26 <p class="thumbCatDescNfoDate">{$cat.INFO_DATES}</p> 18 27 {/if} … … 21 30 <p class="thumbCatDesc">{$cat.DESCRIPTION}</p> 22 31 {/if} 23 </div>24 25 32 </div> 33 </li> 34 {/foreach} 26 35 </ul> -
extensions/simple_themes/simple/template/thumbnails.tpl
r13557 r16030 1 {if !empty($thumbnails)} 1 {if !empty($thumbnails)}{strip} 2 {combine_script id='jquery.ajaxmanager' path='themes/default/js/plugins/jquery.ajaxmanager.js' load='footer'} 3 {combine_script id='thumbnails.loader' path='themes/default/js/thumbnails.loader.js' require='jquery.ajaxmanager' load='footer'} 4 {*define_derivative name='derivative_params' width=160 height=90 crop=true*} 5 {html_style} 6 {*Set some sizes according to maximum thumbnail width and height*} 7 .thumbnails SPAN, 8 .thumbnails .wrap2 A, 9 .thumbnails LABEL{ldelim} 10 width: {$derivative_params->max_width()+2}px; 11 } 12 13 .thumbnails .wrap2{ldelim} 14 height: {$derivative_params->max_height()+3}px; 15 } 16 {if $derivative_params->max_width() > 600} 17 .thumbLegend {ldelim}font-size: 130%} 18 {else} 19 {if $derivative_params->max_width() > 400} 20 .thumbLegend {ldelim}font-size: 110%} 21 {else} 22 .thumbLegend {ldelim}font-size: 90%} 23 {/if} 24 {/if} 25 {/html_style} 2 26 <ul> 3 27 {foreach from=$thumbnails item=thumbnail} 28 {assign var=derivative value=$pwg->derivative($derivative_params, $thumbnail.src_image)} 4 29 <li> 5 30 <a href="{$thumbnail.URL}"> 6 <img class="thumbnail" src="{$thumbnail.TN_SRC}" alt="{$thumbnail.TN_ALT}" title="{$thumbnail.TN_TITLE}" />31 <img class="thumbnail" {if !$derivative->is_cached()}data-{/if}src="{$derivative->get_url()}" alt="{$thumbnail.TN_ALT}" title="{$thumbnail.TN_TITLE}"> 7 32 </a> 8 33 {if $SHOW_THUMBNAIL_CAPTION } … … 17 42 </span> 18 43 {/if} 19 {*20 {if isset($thumbnail.NB_HITS)}21 <span class="{if 0==$thumbnail.NB_HITS}zero {/if}nb-hits">22 {$pwg->l10n_dec('%d hit', '%d hits',$thumbnail.NB_HITS)}23 </span>24 {/if}25 *}26 44 </p> 27 45 {/if} 28 46 </li> 29 {/foreach}47 {/foreach}{/strip} 30 48 </ul> 31 49 {/if} -
extensions/simple_themes/simple/theme.css
r13560 r16030 210 210 font-weight: bold; 211 211 } 212 213 .commentsList .odd { 214 /* 215 background-color:#4c4c4c; 216 */ 217 } 218 219 .commentElement { 220 padding:5px; 221 border-top: 1px dotted #606060; 222 } 223 224 #comments .description { 225 border-top: 1px dotted #606060; 226 display: block; 227 padding: 10px 0; 228 } 229 230 #comments .illustration { 231 float: left; 232 margin: 0 10px 0 0; 233 } 234 235 /* LanguageSwitch */ 236 #languageSwitchLink .pwg-button-text {display:none;} 237 238 #languageSwitchLink .pwg-icon { 239 display: inline-block; 240 height: 26px; 241 overflow: hidden; 242 text-indent: -9999px; 243 vertical-align: bottom; 244 width: 26px; 245 }
Note: See TracChangeset
for help on using the changeset viewer.