aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga
diff options
context:
space:
mode:
authorvdigital <vdigital@piwigo.org>2008-12-15 20:36:17 +0000
committervdigital <vdigital@piwigo.org>2008-12-15 20:36:17 +0000
commit2b00e510054f7c8aa8384a926539c9e13f3c0e12 (patch)
tree16349460ee1382a908e9a1e1f1d1557a844c0025 /template/yoga
parentfa5f9e72728ec86f6d93ef45ddade47b7b6e48e2 (diff)
Fieldset background removal
Alternate colours of lines for each comment, AND have the "Add a comment" border (only) in orange git-svn-id: http://piwigo.org/svn/branches/2.0@2982 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--template/yoga/comment_list.tpl4
-rw-r--r--template/yoga/theme/Sylvia/theme.css24
2 files changed, 25 insertions, 3 deletions
diff --git a/template/yoga/comment_list.tpl b/template/yoga/comment_list.tpl
index 57c2a73cb..ee4f4efb8 100644
--- a/template/yoga/comment_list.tpl
+++ b/template/yoga/comment_list.tpl
@@ -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}">
diff --git a/template/yoga/theme/Sylvia/theme.css b/template/yoga/theme/Sylvia/theme.css
index 0fe8fc754..e3d77082a 100644
--- a/template/yoga/theme/Sylvia/theme.css
+++ b/template/yoga/theme/Sylvia/theme.css
@@ -367,4 +367,26 @@ input[type="button"]:hover, input[type="submit"]:hover, input[type="reset"]:hove
border-color:#666;
}
.titrePage img.button[alt="x"] { margin: 0 3px 3px; }
-fieldset { border: 1px solid #666; background-color: #222; } \ No newline at end of file
+
+#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;
+} \ No newline at end of file