plone.app.discussion/plone/app/discussion/browser/stylesheets/discussion.css
Timo Stollenwerk 1920869f8b Make p.a.d. styles less generic. This fixes #10253.
svn path=/plone.app.discussion/trunk/; revision=34373
2010-02-26 16:56:31 +00:00

150 lines
2.7 KiB
CSS

/* plone.app.discussion stylesheet */
.discussion .hide {
display: none;
}
/* Comments Viewlet
-------------------------------------------------------------------------- */
.discussion,
#commenting {
/* Clear "float: left" from "manage portlets" div above the
comment viewlet. This will get fixed in the next Plone 4
release. */
clear: both;
}
.comment {
min-height: 100px;
overflow: auto;
}
.commentImage {
width: 90px;
float: left;
margin-right: -90px;
}
.commentImage a:link {
/* Override the default bottom border of links in Plone 4. */
border: 0px;
}
.commentImage img {
margin-right: 1em;
}
.commentBody {
margin: 1em 0;
}
.showCommenterImage h3,
.showCommenterImage .documentByLine,
.showCommenterImage .commentBody,
.showCommenterImage .commentActions,
.showCommenterImage .reply {
/* The showCommenterImage CSS class is only set if showing the
* commenters image is enabled.
*/
margin-left: 90px;
}
/* Reply Form
-------------------------------------------------------------------------- */
.reply fieldset {
/* Fix bouncing fieldset when reply form is shown. */
margin: 0 !important;
}
.reply-to-comment-button {
/* Hide the reply-to-comment button and show it only if Javascript
* is enabled. Since the reply functions rely on jQuery.
*/
display: none;
}
.cancelreplytocomment {
/* Hide the cancel button in the comment form, show it only in the reply form
* in order to close it.
*/
display: none;
}
/* Moderation View
-------------------------------------------------------------------------- */
#bulkactions {
text-align: left;
}
#dobulkaction {
margin: 0.3em 0;
}
.comment-publish-button {
float: left;
}
.comment-delete-button {
float: right;
}
#review-comments {
margin: 0;
}
#fieldset-moderate-comments {
padding: 2em 1em;
}
#fieldset-moderate-comments .actions {
width: 14em;
}
/* 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 #dobulkaction {
margin: 0;
}
.row #commenting {
font-size: 80%;
}
.row #commenting textarea,
.row .discussion textarea {
font: 100% Monaco, "Courier New", Courier, monospace;
width: 100%;
}
.row #commenting fieldset,
.row .discussion fieldset {
border: 0.1em solid #329fd7;
border-style: solid none none none;
}
.row #commenting legend,
.row .discussion legend {
padding: 0.5em 0.5em 0.5em 0;
font-size: 85%;
}
.row #commenting label,
.row .discussion label {
font-weight:bold;
}
.row #fieldset-moderate-comments .actions {
width: 9em !important;
}