Changeset 13557
- Timestamp:
- Mar 14, 2012, 2:52:28 PM (12 years ago)
- Location:
- extensions/simple_themes/simple
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/simple_themes/simple/README.md
r13555 r13557 43 43 --------- 44 44 45 ### version 2.5.1 (18/10/2011) 46 47 * refactor code for #titrePage and add the link to switch the menu 48 * fixes for comments page 49 * fixes for pages where the $MENUBAR is present 50 51 ### version 2.5 (08/10/2011) 52 53 * use media queries to adapt layout for small screens 54 * remove arbitrary limit on width: the picture will simply be partially hidden if too wide 55 * update password.tpl 56 * add MENUBAR on all pages 57 * Spelling correction in README 58 * update url 59 * bugfix for the feature 'open external links in new window' for menubar links 60 45 61 ### version 2.4.3 (31/05/2011) 46 62 … … 74 90 75 91 * if cl_conflit is used, don't add jQuery.noConflict 76 * fix the possibility to toggle visibility of image information 92 * fix the possibility to toggle visibility of image information 77 93 * show logout link when connected - thanks to gbo 78 94 * update jquery to 1.4.4 … … 110 126 - add Readme 111 127 - tweak for plugins adding icons in .titrePage (piwishak, addthis, ...) 112 113 114 ## TODO115 116 - put rss link in header.tpl (when ready) -
extensions/simple_themes/simple/content.css
r13556 r13557 9 9 } 10 10 11 img { border: 0; }11 img { border: 0; max-width: 100%; } 12 12 a { text-decoration: none; } 13 13 hr { border: 1px #999999 solid; } … … 190 190 191 191 #thumbnails li, .middle_block > ul li { 192 margin: 0;192 margin: 1em; 193 193 padding: 0; 194 194 display: inline-block; 195 width: 200px; 196 height: 200px; 195 vertical-align: middle; 197 196 } 198 197 199 198 .nb-comments, .nb-hits { 200 199 font-weight: normal; 201 display: block;202 200 } 203 201 .zero { … … 209 207 .thumbnailCategories { 210 208 margin: 0; 211 padding: 1em;209 padding: 0; 212 210 overflow: hidden; 213 211 list-style: none; … … 216 214 .thumbnailCategories li { 217 215 display: inline-block; 218 height: 160px;219 216 overflow: hidden; 220 217 vertical-align: top; 221 218 margin: 1em; 222 width: 45%; 219 width: 29%; 220 text-align: center; 223 221 } 224 222 225 223 .illustration { 226 float: left;227 width: 150px;228 224 } 229 225 230 226 .description { 231 227 overflow: auto; 232 padding-left: 1em;233 228 } 234 229 … … 312 307 text-align: center; 313 308 padding: 1em 0 2em; 314 margin: auto;309 margin: 0 auto; 315 310 overflow: hidden; 316 311 } … … 336 331 337 332 #slideshow { 338 width: 656px; 339 margin: 1em auto 0; 333 margin: 1em auto; 334 } 335 #slideshow .titrePage { 336 width: 600px; 337 margin: 0 auto; 340 338 } 341 339 … … 345 343 float: right; 346 344 margin-right: 1em; 345 } 346 #slideshow #theImage { 347 float: none; 348 width: 100%; 347 349 } 348 350 -
extensions/simple_themes/simple/template/slideshow.tpl
r13547 r13557 1 1 {html_head} 2 2 {literal} 3 <style>#copyright {display: none;}</style> 3 <style> 4 #copyright { display: none; } 5 </style> 4 6 {/literal} 5 7 {/html_head} 6 <div id="slideshow" class="titrePage"> 7 <div class="imageNumber">{$PHOTO}</div> 8 {include file='picture_nav_buttons.tpl'|@get_extent:'picture_nav_buttons'} 9 {if $SHOW_PICTURE_NAME_ON_TITLE } 10 <h2>{$current.TITLE}</h2> 11 {/if} 8 <div id="slideshow"> 9 <div class="titrePage"> 10 <div class="imageNumber">{$PHOTO}</div> 11 {include file='picture_nav_buttons.tpl'|@get_extent:'picture_nav_buttons'} 12 {if $SHOW_PICTURE_NAME_ON_TITLE } 13 <h2>{$current.TITLE}</h2> 14 {/if} 15 </div> 16 <div id="theImage"> 17 {$ELEMENT_CONTENT} 18 {if isset($COMMENT_IMG)} 19 <p class="showlegend">{$COMMENT_IMG}</p> 20 {/if} 21 </div> 12 22 </div> 13 <div id="theImage">14 {$ELEMENT_CONTENT}15 {if isset($COMMENT_IMG)}16 <p class="showlegend">{$COMMENT_IMG}</p>17 {/if}18 </div> -
extensions/simple_themes/simple/template/thumbnails.tpl
r13546 r13557 6 6 <img class="thumbnail" src="{$thumbnail.TN_SRC}" alt="{$thumbnail.TN_ALT}" title="{$thumbnail.TN_TITLE}" /> 7 7 </a> 8 {if $SHOW_THUMBNAIL_CAPTION } 8 9 <p> 9 10 {if isset($thumbnail.NAME)}{$thumbnail.NAME}{/if} … … 13 14 {if isset($thumbnail.NB_COMMENTS)} 14 15 <span class="{if 0==$thumbnail.NB_COMMENTS}zero {/if}nb-comments"> 15 {$pwg->l10n_dec('%d comment', '%d comments',$thumbnail.NB_COMMENTS)}16 ({$pwg->l10n_dec('%d comment', '%d comments',$thumbnail.NB_COMMENTS)}) 16 17 </span> 17 18 {/if} 18 {* {if isset($thumbnail.NB_HITS)} 19 {* 20 {if isset($thumbnail.NB_HITS)} 19 21 <span class="{if 0==$thumbnail.NB_HITS}zero {/if}nb-hits"> 20 22 {$pwg->l10n_dec('%d hit', '%d hits',$thumbnail.NB_HITS)} 21 23 </span> 22 {/if} *} 24 {/if} 25 *} 23 26 </p> 27 {/if} 24 28 </li> 25 29 {/foreach} -
extensions/simple_themes/simple/themeconf.inc.php
r13556 r13557 2 2 /* 3 3 Theme Name: Simple Grey 4 Version: 2.5. 14 Version: 2.5.2 5 5 Description: Simple Grey 6 6 Theme URI: http://piwigo.org/ext/extension_view.php?eid=308
Note: See TracChangeset
for help on using the changeset viewer.