Updated green theme CSS and added comment bubbles.

--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4045499
This commit is contained in:
jowall
2010-01-16 00:13:24 +00:00
parent ee7ed66480
commit e25a36d1cc
6 changed files with 45 additions and 10 deletions

View File

@@ -110,7 +110,6 @@ input[type="submit"], input[type="button"], .button {
float:left;
font-size:220%;
color:#000;
/*padding:16px 0 0 0;*/
padding:42px 0 0 0;
border-bottom:none;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 B

View File

@@ -1,7 +1,7 @@
/*Blog specific styles
----------------------------------------------------------*/
.posted, div.comment {
.posted {
margin: 0 0 8px 0;
}
@@ -23,12 +23,32 @@
}
.comments li {
margin:20px 20px 20px 10px;
margin:0 10px 0 0;
padding:8px;
border-bottom:1px solid #eef2ed;
}
div.comment {
padding:8px 8px 8px 16px;
color: #000;
min-width:200px;
background:#fff;
border:1px solid #CACEC6;
-moz-border-radius:6px;
-webkit-border-radius:6px;
}
.commentauthor {
background-position: 20px 0px;
padding: 16px 0 0 8px;
margin: 0 0 10px 0;
background: url(../Content/Images/commentpointer.gif) no-repeat;
position:relative;
top:-1px;
left:10px;
}
span.who {
font-weight:700;
}

View File

@@ -31,7 +31,7 @@ h6 {font-size: 123.1%;} /*16px*/
/* Paragraphs and lists */
p {line-height:20px; padding:12px 0px;}
p {line-height:24px; padding:12px;}
.small {font-size: 96%;}
strong {font-weight:700;}
@@ -67,7 +67,7 @@ input[type="text"], textarea, #password {
fieldset {
margin: 20px 20px 20px 10px;
border:1px solid #eef2ed;
border:1px solid #CACEC6;
-moz-border-radius:6px;
-webkit-border-radius:6px;
}
@@ -224,7 +224,7 @@ colgroup
}
#subcolumn ul {
border:1px solid #eef2ed;
border:1px solid #CACEC6;
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
padding:8px;

View File

@@ -13,7 +13,6 @@
</div>
</div>
<% Html.Zone("primary");
Html.ZonesAny(); %>

View File

@@ -0,0 +1,17 @@
<%@ Control Language="C#" Inherits="Orchard.Mvc.ViewUserControl<IEnumerable<Comment>>" %>
<%@ Import Namespace="Orchard.Comments.Models"%>
<ul class="comments"><%
foreach (var comment in Model) { %>
<li>
<div class="comment">
<p><%=Html.Encode(comment.CommentText) %></p>
</div>
<div class="commentauthor">
<span class="who"><%=Html.LinkOrDefault(Html.Encode(comment.UserName), Html.Encode(comment.SiteName), new { rel = "nofollow" })%></span>&nbsp;<span>said <%=Html.Link(Html.DateTimeRelative(comment.CommentDate), "#")%></span>
</div>
</li><%
} %>
</ul>