Fieldset background removal

Alternate colours of lines for each comment, AND have the "Add a comment" border (only) in orange
merge -c2982 from branch 2.0 to trunk


git-svn-id: http://piwigo.org/svn/trunk@2983 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
vdigital 2008-12-15 20:42:35 +00:00
parent d911ccca2c
commit c7c4836934
2 changed files with 26 additions and 3 deletions

View file

@ -1,8 +1,8 @@
{* $Id$ *}
<ul class="thumbnailCategories">
{foreach from=$comments item=comment}
{foreach from=$comments item=comment name=comment_loop}
<li>
<div class="thumbnailCategory">
<div class="thumbnailCategory {if $smarty.foreach.comment_loop.index is odd}odd{else}even{/if}">
{if isset($comment.TN_SRC)}
<div class="illustration">
<a href="{$comment.U_PICTURE}">

View file

@ -366,4 +366,27 @@ input[type="button"]:hover, input[type="submit"]:hover, input[type="reset"]:hove
color:#999;
border-color:#666;
}
.titrePage img.button[alt="x"] { margin: 0 3px 3px; }
.titrePage img.button[alt="x"] { margin: 0 3px 3px; }
#thePicturePage .thumbnailCategory {
padding: 15px 2px 6px 12px;
border: 1px solid #666;
}
#thePicturePage .thumbnailCategory .date, #thePicturePage .thumbnailCategory .author {
font-weight:bold;
}
#thePicturePage .thumbnailCategories {
padding-left: 12px;
padding-right: 12px;
}
#thePicturePage .odd {
background-color: #222;
border-top:0 !important;
}
#addComment fieldset {
color: #f70;
border-color: #f70;
}
#addComment fieldset label {
color: #666;
}