silverstripe-comments/css/comments.css

167 lines
3.4 KiB
CSS
Raw Normal View History

2015-04-22 04:05:51 +02:00
.comments-holder-container {
clear: both;
}
2015-04-22 04:05:51 +02:00
.comments-holder-container .field {
clear: left;
}
2015-04-22 04:05:51 +02:00
.comments-holder-container .num,
.comments-holder-container .author {
font-size: 1.3em;
}
2015-04-22 04:05:51 +02:00
.comments-holder-container .num {
color: #999;
margin-right: 5px;
}
2015-04-22 04:05:51 +02:00
.comments-holder-container .num-total {
line-height: 40px;
margin-bottom: 0;
}
.comments-holder-container #moderated {
border: solid #999 1px;
padding: 20px;
font-style: italic;
}
2015-04-22 04:05:51 +02:00
.comments-holder-container .comments-list {
margin: 0;
}
2015-04-22 04:05:51 +02:00
.comments-holder-container .comment-count {
margin: 15px 0;
}
.comments-holder-container .commenting-area {
margin-top: 50px;
}
.comments-holder-container .commenting-area label.left {
font-weight: normal;
}
.comments-holder-container .commenting-rss-feed {
margin-top: 4em;
text-align: right;
}
.comments-holder-container .commenting-rss-feed .action-links {
margin: 20px 0 10px;
}
.comments-holder-container .commenting-rss-feed .action-links li {
display: inline;
list-style-type: none;
margin-left: 20px;
}
.comments-holder-container .commenting-rss-feed .action-links li:first-child {
margin-left: 0;
}
.comments-holder-container .commenting-rss-feed .action-links li.comment-reply-action {
float: right;
}
.comments-holder-container .commenting-rss-feed .action-links a {
background-image: none;
}
.comments-holder-container .commenting-rss-feed .action-links a::first-letter {
text-transform: capitalize;
}
.comments-holder-container .no-comments-yet {
display: inline-block;
margin-top: 10px;
}
.comment {
clear: both;
list-style-type: none;
2015-04-22 04:05:51 +02:00
overflow: hidden;
2016-02-15 11:05:17 +01:00
padding: 20px 0 20px 0;
position: relative;
}
2015-04-22 04:05:51 +02:00
.comment.author-comment:after {
content: 'Author';
float: right;
position: absolute;
top: 1.5em;
2015-04-22 04:05:51 +02:00
right: 0.5em;
font-size: 1em;
font-weight: bold;
}
2015-04-22 04:05:51 +02:00
.comment.author-comment > .comment-text {
border: 1px solid blue;
}
2015-04-22 04:05:51 +02:00
.comment.spam .comment-text {
border: 1px dashed orange;
}
2016-02-15 11:05:17 +01:00
.comment img.gravatar {
float: left;
margin: 20px;
width: 90px;
height: 90px;
border: none;
}
2015-04-22 04:05:51 +02:00
.comment .comment-text {
background-color: #fff;
border: 1px solid #ddd;
box-shadow: none;
margin: 0;
2016-02-15 11:05:17 +01:00
padding: 0 20px 0 20px;
min-height: 130px;
white-space: pre;
white-space: pre-wrap;
white-space: pre-line;
word-wrap: break-word;
}
2015-04-22 04:05:51 +02:00
.comment .comment-text p:last-child {
margin-bottom: 0;
}
2016-02-15 11:05:17 +01:00
.comment .comment-text.hasGravatar {
padding: 0 20px 0 130px;
min-height: 130px;
}
2015-04-22 04:05:51 +02:00
.comment .date {
font-size: 16px;
}
2015-04-22 04:05:51 +02:00
.comment .date:before {
content: '\0000a0\0000a0\0000a0\0000a0';
}
2015-04-22 04:05:51 +02:00
.comment.unmoderated > .comment-text {
border: 1px solid yellow;
}
2015-04-22 04:05:51 +02:00
.comment .info {
margin-bottom: 10px;
}
2015-04-22 04:05:51 +02:00
.comment.spam .comment {
border: 1px dashed orange;
border-radius: 4px;
padding: 2.5em 1em 1em;
}
2015-04-22 04:05:51 +02:00
.comment .comment-replies-container {
clear: both;
padding-left: 10px;
2015-04-22 04:05:51 +02:00
margin: 80px 0 0 0;
border-left: 1px dashed #999;
}
2015-04-22 04:05:51 +02:00
.comment .comment-replies-container .comment-reply-form-holder {
padding: 0 10px;
}
2015-04-22 04:05:51 +02:00
.comment .comment-replies-container .comment-replies-holder {
padding: 0 0 0 10px;
}
2015-04-22 04:05:51 +02:00
.comments-list.root-level {
margin-left: 0;
}
2015-04-22 04:05:51 +02:00
.comment-reply-link {
float: right;
}
2015-04-22 04:05:51 +02:00
.comment-moderation-options {
float: left;
}
2015-04-22 04:05:51 +02:00
.comment-action-links {
margin: 20px 0 10px;
}
2015-04-22 04:05:51 +02:00
.comment-action-links a:not(:last-child) {
margin-right: 12px;
}
2015-04-22 04:05:51 +02:00
.commenting-rss-feed ul {
list-style: none;
}
/*# sourceMappingURL=comments.css.map */