diff --git a/src/Orchard.Web/Modules/Orchard.Comments/Views/ListOfComments.cshtml b/src/Orchard.Web/Modules/Orchard.Comments/Views/ListOfComments.cshtml index 9de2d99ae..17bff6a75 100644 --- a/src/Orchard.Web/Modules/Orchard.Comments/Views/ListOfComments.cshtml +++ b/src/Orchard.Web/Modules/Orchard.Comments/Views/ListOfComments.cshtml @@ -2,15 +2,20 @@ @using Orchard.Comments.Models; \ No newline at end of file + + diff --git a/src/Orchard.Web/Modules/Orchard.Comments/Views/Parts/Comments.Comments.cshtml b/src/Orchard.Web/Modules/Orchard.Comments/Views/Parts/Comments.Comments.cshtml index 887980133..a8a7206ab 100644 --- a/src/Orchard.Web/Modules/Orchard.Comments/Views/Parts/Comments.Comments.cshtml +++ b/src/Orchard.Web/Modules/Orchard.Comments/Views/Parts/Comments.Comments.cshtml @@ -19,37 +19,42 @@ else if(!Request.IsAuthenticated && !AuthorizedFor(Permissions.AddComment)) { } else { using (Html.BeginForm("Create", "Comment", new { area = "Orchard.Comments" }, FormMethod.Post, new { @class = "comment" })) { @Html.ValidationSummary() -

@T("Add a Comment")

- if (!Request.IsAuthenticated) { + if (!Request.IsAuthenticated) { +
-
+ @T("Add a Comment") +
    +
  1. -
-
+ +
  • -
  • -
    + +
  • -
  • + +
    } else { @Html.Hidden("Name", WorkContext.CurrentUser.UserName ?? "") @Html.Hidden("Email", WorkContext.CurrentUser.Email ?? "") }
    -
    +
      +
    1. -
    -
    + +
  • @Html.Hidden("CommentedOn", (int)Model.ContentPart.ContentItem.Id) @Html.Hidden("ReturnUrl", Context.Request.ToUrlString()) @Html.AntiForgeryTokenOrchard() -
  • + +
    } -} \ No newline at end of file +} diff --git a/src/Orchard.Web/Themes/TheThemeMachine/Styles/Site.css b/src/Orchard.Web/Themes/TheThemeMachine/Styles/Site.css index 2fb7161ea..3ecadbd85 100644 --- a/src/Orchard.Web/Themes/TheThemeMachine/Styles/Site.css +++ b/src/Orchard.Web/Themes/TheThemeMachine/Styles/Site.css @@ -303,7 +303,6 @@ label.forcheckbox { margin:0 0 0 .4em; display:inline; } fieldset { padding:0em; margin: 0 0 0em 0; border: 0px solid #dbdbdb; } legend { font-weight: 600; font-size:1.2em; } - input[type="text"], #CommentText, #password, #confirmPassword { border:1px solid #999; display: block; @@ -320,7 +319,9 @@ form.search { width:17em; } -fieldset div {margin:1.6em 0 0 0} +fieldset ol {list-style-type:none;} + +fieldset ol li {margin:1.6em 0 0 0} legend { font-size: 1.4em; @@ -408,27 +409,26 @@ button:focus, .button:focus { ul.comments, form.comment { margin:1.2em 0 1.2em 1.8em; + list-style: none; } -div.comment { - font-size:1.3em; - font-style:italic; - color:#484848; +article.comment h4 { + font-size:1.4em; } -div.comment a { +article.comment a { color:#484848; text-decoration:none; } -div.comment span.who { +article.comment span.who { font-weight:600; font-style:normal; text-transform:capitalize; color:#333; } -ul.comments li div.text { +article.comment p.text { margin:.6em 0 2.4em 0; }