From a672c1ed112bbba3d43b6a26f996471305a029a7 Mon Sep 17 00:00:00 2001 From: Timo Stollenwerk Date: Mon, 7 Dec 2009 19:39:23 +0000 Subject: [PATCH] Plone 4 styles added. svn path=/plone.app.discussion/trunk/; revision=32349 --- .../browser/stylesheets/discussion.css | 34 ++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/plone/app/discussion/browser/stylesheets/discussion.css b/plone/app/discussion/browser/stylesheets/discussion.css index 2b73084..e9b1101 100644 --- a/plone/app/discussion/browser/stylesheets/discussion.css +++ b/plone/app/discussion/browser/stylesheets/discussion.css @@ -26,8 +26,13 @@ margin-right: -90px; } +.commentImage a:link { + /* Override the default bottom border of links in Plone 4. */ + border: 0px; +} + .commentImage img { - margin-right: 1em; + margin-right: 1em; } .commentBody { @@ -131,3 +136,30 @@ ul.filter { #fieldset-moderate-comments { padding: 2em 1em; } + + +/* 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. */ + +.row #commenting { + font-size: 80%; +} + +.row textarea { + font: 100% Monaco, "Courier New", Courier, monospace; + width: 100%; +} +.row fieldset { + border: 0.1em solid #329fd7; + border-style: solid none none none; +} +.row legend { + padding: 0.5em 0.5em 0.5em 0; + font-size: 85%; +} +.row label { + font-weight:bold; +}