From 66898bb87ae62586930dca11b0b319f29052d1f9 Mon Sep 17 00:00:00 2001 From: maartenkling Date: Mon, 22 Oct 2012 09:53:09 +0200 Subject: [PATCH] remove inline styles, this also fixes #12399 --- plone/app/discussion/browser/comments.pt | 12 ++-- plone/app/discussion/browser/moderation.pt | 4 +- .../browser/stylesheets/discussion.css | 55 +++++++++++++++++-- 3 files changed, 57 insertions(+), 14 deletions(-) diff --git a/plone/app/discussion/browser/comments.pt b/plone/app/discussion/browser/comments.pt index 7220b33..8e28a88 100644 --- a/plone/app/discussion/browser/comments.pt +++ b/plone/app/discussion/browser/comments.pt @@ -14,8 +14,7 @@
- @@ -87,7 +86,7 @@ - - +
-
@@ -87,7 +87,7 @@
diff --git a/plone/app/discussion/browser/stylesheets/discussion.css b/plone/app/discussion/browser/stylesheets/discussion.css index 548d23d..d63b9c7 100644 --- a/plone/app/discussion/browser/stylesheets/discussion.css +++ b/plone/app/discussion/browser/stylesheets/discussion.css @@ -11,7 +11,7 @@ .discussion, #commenting { /* Clear "float: left" from "manage portlets" div above the - comment viewlet. This will get fixed in the next Plone 4 + comment viewlet. This will get fixed in the next Plone 4 release. */ clear: both; } @@ -55,7 +55,7 @@ .discussion .documentByLine { float: left; margin-left: 0; - margin-bottom: 0.5em; + margin-bottom: 0.5em; } .commentActions { @@ -65,8 +65,49 @@ .discussion .discreet { color: #666666; - font-size: 85%; + font-size: 85%; } +.loginbutton { + margin-bottom: 1.25em; +} +.commentactionsform { + display: inline; +} + +.replyTreeLevel0 { + margin-left: 0em; +} +.replyTreeLevel1 { + margin-left: 1em; +} +.replyTreeLevel2 { + margin-left: 2em; +} +.replyTreeLevel3 { + margin-left: 3em; +} +.replyTreeLevel4 { + margin-left: 4em; +} +.replyTreeLevel5 { + margin-left: 5em; +} +.replyTreeLevel6 { + margin-left: 6em; +} +.replyTreeLevel7 { + margin-left: 7em; +} +.replyTreeLevel8 { + margin-left: 8em; +} +.replyTreeLevel9 { + margin-left: 9em; +} +.replyTreeLevel10 { + margin-left: 10em; +} + /* Reply Form -------------------------------------------------------------------------- */ @@ -78,7 +119,7 @@ .reply .text-widget { /* Make sure the input fields are always below the label. This sometimes - * break when the reply form is copied from the main comment form. + * break when the reply form is copied from the main comment form. */ display: block; } @@ -120,6 +161,10 @@ #review-comments { margin: 0; + width: 100%; +} +#review-comments tbody tr { + vertical-align: top } #fieldset-moderate-comments { @@ -137,7 +182,7 @@ /* Plone 4 Styles -------------------------------------------------------------------------- */ -/* These styles are only applied for Plone 4, since Plone 3.x does +/* These styles are only applied for Plone 4, since Plone 3.x does not have a .row class for portal-column-content. */ .row #dobulkaction {