From 1920869f8b975c5b25ad69fe4f4686faa30487e8 Mon Sep 17 00:00:00 2001 From: Timo Stollenwerk Date: Fri, 26 Feb 2010 16:56:31 +0000 Subject: [PATCH] Make p.a.d. styles less generic. This fixes #10253. svn path=/plone.app.discussion/trunk/; revision=34373 --- .../browser/stylesheets/discussion.css | 27 ++++++++++++------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/plone/app/discussion/browser/stylesheets/discussion.css b/plone/app/discussion/browser/stylesheets/discussion.css index 2c76f0a..bf2d0f1 100644 --- a/plone/app/discussion/browser/stylesheets/discussion.css +++ b/plone/app/discussion/browser/stylesheets/discussion.css @@ -1,12 +1,13 @@ /* plone.app.discussion stylesheet */ -.hide { +.discussion .hide { display: none; } /* Comments Viewlet - ---------------------------------------------------------------- */ + -------------------------------------------------------------------------- */ + .discussion, #commenting { /* Clear "float: left" from "manage portlets" div above the @@ -52,7 +53,7 @@ /* Reply Form - ---------------------------------------------------------------- */ + -------------------------------------------------------------------------- */ .reply fieldset { /* Fix bouncing fieldset when reply form is shown. */ @@ -75,7 +76,7 @@ /* Moderation View - ---------------------------------------------------------------- */ + -------------------------------------------------------------------------- */ #bulkactions { text-align: left; @@ -107,7 +108,7 @@ /* Plone 4 Styles - ---------------------------------------------------------------- */ + -------------------------------------------------------------------------- */ /* These styles are only applied for Plone 4, since Plone 3.x does not have a .row class for portal-column-content. */ @@ -120,23 +121,29 @@ font-size: 80%; } -.row textarea { +.row #commenting textarea, +.row .discussion textarea { font: 100% Monaco, "Courier New", Courier, monospace; width: 100%; } -.row fieldset { + +.row #commenting fieldset, +.row .discussion fieldset { border: 0.1em solid #329fd7; border-style: solid none none none; } -.row legend { + +.row #commenting legend, +.row .discussion legend { padding: 0.5em 0.5em 0.5em 0; font-size: 85%; } -.row label { + +.row #commenting label, +.row .discussion label { font-weight:bold; } .row #fieldset-moderate-comments .actions { width: 9em !important; } -