Changeset 13801 for trunk/themes
- Timestamp:
- Mar 29, 2012, 9:34:00 PM (12 years ago)
- Location:
- trunk/themes
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/themes/Sylvia/theme.css
r13729 r13801 286 286 background-color: #111; 287 287 } 288 .content .commentElement div.illustration {288 .content .commentElement .illustration { 289 289 padding: 0 0 0 10px; 290 290 margin: 0 !important; 291 291 } 292 .content .commentElement div.illustration a {292 .content .commentElement .illustration a { 293 293 display: block; 294 294 margin: 0; … … 355 355 padding: 15px 2px 6px 12px; 356 356 border: 1px solid #666; 357 }358 #thePicturePage .commentElement .date, #thePicturePage .commentElementy .author {359 font-weight:bold;360 357 } 361 358 #thePicturePage .commentsList { -
trunk/themes/default/local_head.tpl
r10812 r13801 8 8 {combine_css path="themes/default/print.css" order=-10} 9 9 {/if} 10 11 {if !isset($MENUBAR)}<style type="text/css">.content {ldelim} margin-left:auto !important; }</style>{/if} -
trunk/themes/default/template/comment_list.tpl
r13697 r13801 1 1 {if isset($comment_derivative_params)} 2 2 {strip}{html_style} 3 .commentElement DIV.illustration{ldelim}4 width: {$comment_derivative_params->max_width()+5}px ;3 .commentElement .illustration{ldelim} 4 width: {$comment_derivative_params->max_width()+5}px 5 5 } 6 6 7 7 .content .commentElement .description{ldelim} 8 height: {$comment_derivative_params->max_height()+5}px ;8 height: {$comment_derivative_params->max_height()+5}px 9 9 } 10 10 {/html_style}{/strip} … … 12 12 <ul class="commentsList"> 13 13 {foreach from=$comments item=comment name=comment_loop} 14 <li> 15 <div class="commentElement {if $smarty.foreach.comment_loop.index is odd}odd{else}even{/if}"> 14 <li class="commentElement {if $smarty.foreach.comment_loop.index is odd}odd{else}even{/if}"> 16 15 {if isset($comment.src_image)} 17 16 <div class="illustration"> … … 42 41 {/if} 43 42 44 <span class=" author">{$comment.AUTHOR}</span> - <span class="date">{$comment.DATE}</span>43 <span class="commentAuthor">{$comment.AUTHOR}</span> - <span class="commentDate">{$comment.DATE}</span> 45 44 {if isset($comment.IN_EDIT)} 46 45 <a name="edit_comment"></a> … … 58 57 {/if} 59 58 </div> 60 </div>61 59 </li> 62 60 {/foreach} -
trunk/themes/default/template/picture.tpl
r13787 r13801 59 59 <div class="switchBoxTitle">{'Photo sizes'|@translate}</div> 60 60 {foreach from=$current.unique_derivatives item=derivative key=derivative_type} 61 <span class="switchCheck" id="derivativeChecked{$derivative_type}"{if $derivative->get_type() ne $current.selected_derivative->get_type()} style="visibility:hidden"{/if}>✔ </span> 61 <span class="switchCheck" id="derivativeChecked{$derivative_type}"{if $derivative->get_type() ne $current.selected_derivative->get_type()} style="visibility:hidden"{/if}>✔ </span> 62 62 <a href="javascript:changeImgSrc('{$derivative->get_url()|@escape:javascript}','{$derivative_type}','{$derivative->get_type()}')"> 63 63 {$derivative->get_type()|@translate}<span class="derivativeSizeDetails"> ({$derivative->get_size_hr()})</span> … … 139 139 {/if} 140 140 141 </div> <!--142 143 --><div id="infoSwitcher"></div><!-- 144 --><div id="imageInfos">141 </div> 142 143 <div id="infoSwitcher"></div> 144 <div id="imageInfos"> 145 145 {if $DISPLAY_NAV_THUMB} 146 146 <div class="navThumbs"> … … 160 160 {/if} 161 161 162 <dl id="standard" class="imageInfoTable infoTable">162 <dl id="standard" class="imageInfoTable"> 163 163 {strip} 164 164 {if $display_info.author and isset($INFO_AUTHOR)} … … 278 278 <dt><a id="privacyLevelLink" href="javascript:togglePrivacyLevelBox()">{'Who can see this photo?'|@translate}</a></dt> 279 279 <dd> 280 {combine_script id='core.scripts' require='jquery'load='async' path='themes/default/js/scripts.js'}281 {footer_script }280 {combine_script id='core.scripts' load='async' path='themes/default/js/scripts.js'} 281 {footer_script require='jquery'} 282 282 {literal}function setPrivacyLevel(rootUrl, id, level) 283 283 { … … 310 310 {/literal} 311 311 {/footer_script} 312 312 313 313 <div id="privacyLevelBox" class="switchBox" onclick="togglePrivacyLevelBox()" style="display:none" onmouseout="e=event.toElement||event.relatedTarget;e.parentNode==this||e==this||togglePrivacyLevelBox()"> 314 314 {foreach from=$available_permission_levels item=label key=level} … … 325 325 326 326 {if isset($metadata)} 327 <dl id="Metadata" class="imageInfoTable infoTable2">327 <dl id="Metadata" class="imageInfoTable"> 328 328 {foreach from=$metadata item=meta} 329 329 <h3>{$meta.TITLE}</h3> … … 342 342 {if isset($COMMENT_COUNT)} 343 343 <div id="comments" {if (!isset($comment_add) && ($COMMENT_COUNT == 0))}class="noCommentContent"{else}class="commentContent"{/if}><div id="commentsSwitcher"></div> 344 {if $COMMENT_COUNT > 0} 345 <h3>{$pwg->l10n_dec('%d comment', '%d comments',$COMMENT_COUNT)}</h3> 346 {else} 347 <h3><span class="noCommentText">{$pwg->l10n_dec('%d comment', '%d comments',$COMMENT_COUNT)}</span></h3> 348 {/if} 349 344 <h3>{$pwg->l10n_dec('%d comment', '%d comments',$COMMENT_COUNT)}</h3> 345 350 346 <div id="pictureComments"> 351 347 {if isset($comment_add)} 352 348 <div id="commentAdd"> 353 349 <h4>{'Add a comment'|@translate}</h4> 354 <form method="post" action="{$comment_add.F_ACTION}" class="filter"id="addComment" >350 <form method="post" action="{$comment_add.F_ACTION}" id="addComment" > 355 351 {if $comment_add.SHOW_AUTHOR} 356 352 <p><label>{'Author'|@translate} :</label></p> 357 353 <p><input type="text" name="author" /></p> 354 <p><label>{'Comment'|@translate} :</label></p> 358 355 {/if} 359 <p><label>{'Comment'|@translate} :</label></p> 360 <p><textarea name="content" id="contentid" rows="10" cols="50">{$comment_add.CONTENT}</textarea></p> 356 <p><textarea name="content" id="contentid" rows="5" cols="50">{$comment_add.CONTENT}</textarea></p> 361 357 <p><input type="hidden" name="key" value="{$comment_add.KEY}" /> 362 358 <input class="submit" type="submit" value="{'Submit'|@translate}"></p> 363 359 </form> 364 360 </div> -
trunk/themes/default/template/picture_nav_buttons.tpl
r13729 r13801 31 31 </a> 32 32 {/if} 33 <!--{strip}{if isset($first)}33 {*<!--{strip}{if isset($first)} 34 34 <a href="{$first.U_IMG}" title="{'First'|@translate} : {$first.TITLE}" class="pwg-state-default pwg-button"> 35 35 <span class="pwg-icon pwg-icon-arrowstop-w"> </span><span class="pwg-button-text">{'First'|@translate}</span> … … 39 39 <span class="pwg-icon pwg-icon-arrowstop-w"> </span><span class="pwg-button-text">{'First'|@translate}</span> 40 40 </span> 41 {/if}{/strip}--> 41 {/if}{/strip}-->*} 42 42 {strip}{if isset($previous)} 43 43 <a href="{$previous.U_IMG}" title="{'Previous'|@translate} : {$previous.TITLE}" class="pwg-state-default pwg-button"> … … 73 73 </span> 74 74 {/if}{/strip} 75 <!--{strip}{if isset($last)}75 {*<!--{strip}{if isset($last)} 76 76 <a href="{$last.U_IMG}" title="{'Last'|@translate} : {$last.TITLE}" class="pwg-state-default pwg-button pwg-button-icon-right"> 77 77 <span class="pwg-icon pwg-icon-arrowstop-e"></span><span class="pwg-button-text">{'Last'|@translate}</span> … … 81 81 <span class="pwg-icon pwg-icon-arrowstop-e"> </span><span class="pwg-button-text">{'Last'|@translate}</span> 82 82 </span> 83 {/if}{/strip}--> 83 {/if}{/strip}-->*} 84 84 {/if} 85 85 </div> -
trunk/themes/default/theme.css
r13774 r13801 270 270 } 271 271 272 .comment sList LI{273 margin: 0;274 padding: 0;272 .commentElement { 273 margin: 5px; 274 padding: 2px 0 0 2px; 275 275 float: left; 276 276 width:99%; 277 277 } 278 278 279 .commentElement {280 display:block;281 padding: 2px 0 0 2px;282 margin: 5px;283 }284 285 279 .commentElement .description { 286 font-size: 100%;287 280 overflow: auto; 288 281 /*width: inherit;*/ 289 282 } 290 283 291 .commentElement .description P { 292 margin: 0; 293 } 294 295 .commentElement DIV.illustration { 284 .commentElement .illustration { 296 285 text-align: left; 297 286 margin: 2px 0 0 2px; … … 412 401 } 413 402 414 .infoTable .label { 415 font-weight: bold; 416 text-align: right; 417 padding-right: 0.5em; 418 } 419 420 .infoTable UL { 403 .imageInfoTable UL { /*this is the album list*/ 421 404 margin: 0; 422 405 padding: 0 0 0 1em; … … 452 435 clear: none; 453 436 } 454 455 .noCommentText {display:none;}456 437 457 438 /** … … 825 806 #commentAdd input[type="text"], 826 807 #commentAdd textarea { 827 min-width: 100%;828 808 max-width: 100%; 829 809 width: 100%; 830 font-family: Arial,Helvetica,sans-serif; 831 font-size: 100%; 832 } 833 #pictureCommentList li { 834 clear: both; 835 display: block; 836 padding: 0.5em 0; 837 margin-bottom: 5px; 810 } 811 812 #pictureCommentList .commentElement { 838 813 border-radius: 5px; 839 width: 100%; 840 } 841 #pictureCommentList ul { list-style: none; padding: 0;} 842 #pictureCommentList li ul { list-style-type: none; padding: 4px;} 843 #pictureCommentList .author { font-weight: bold;} 844 #pictureCommentList .date { font-style: italic;} 814 } 815 816 .commentAuthor { 817 font-weight: bold; 818 } 819 820 .commentDate { 821 font-style: italic 822 } 823 845 824 #pictureCommentList .commentsOrder { float: left; margin-bottom: 5px;} 846 825 #pictureCommentList .navigationBar { float: right; margin-bottom: 5px;} … … 848 827 #pictureComments form p { margin: 5px 0; text-align: left;} 849 828 #pictureComments form p textarea { margin: 10px 0;} 850 #pictureComments INPUT { margin: 10px;}851 829 #pictureComments INPUT[type=submit] { margin: 0;} 852 830 -
trunk/themes/elegant/theme.css
r13789 r13801 12 12 #thePicturePage #comments { background-color: #333;} 13 13 #pictureCommentList li { background-color: #444;} 14 #pictureCommentList .commentElement { background-color: transparent;}15 14 .calendarTitle { background-color: #222;} 16 15 17 16 .switchBox, .header_notes { background-color: #555;} 18 .thumbnailCategory , .commentElement{ background-color: #333;}17 .thumbnailCategory { background-color: #333;} 19 18 .message { background-color: #666;} 20 19 … … 163 162 .thumbnails IMG { margin-bottom: 0; vertical-align: middle;} 164 163 .thumbnailCategory DIV.illustration, 165 .commentElement DIV.illustration { margin: 2px; text-align: center;}164 .commentElement .illustration { margin: 2px; text-align: center;} 166 165 167 166 … … 239 238 #thePicturePage #comments fieldset { margin: 0 1em;} 240 239 241 .noCommentText { display:block;}242 240 .commentshidden #pictureComments { display: none;} 243 241 .commentContent .comments_toggle { cursor: pointer;} … … 255 253 font-size: 100%; 256 254 } 257 #pictureCommentList li { 258 clear: both; 259 display: block; 260 padding: 0.5em 0; 261 margin-bottom: 5px; 262 border-radius: 5px; 263 width: 100%; 264 } 265 #pictureCommentList ul { list-style: none; padding: 0;} 266 #pictureCommentList li ul { list-style-type: none; padding: 4px;} 267 #pictureCommentList .author { font-weight: bold;} 268 #pictureCommentList .date { font-style: italic;} 255 269 256 #pictureCommentList .commentsOrder { float: left; margin-bottom: 5px;} 270 257 #pictureCommentList .navigationBar { float: right; margin-bottom: 5px;}
Note: See TracChangeset
for help on using the changeset viewer.