Twenty Eleven: Simplified post author highlighting and comment arrow images for the dark color scheme comments; See #17198

git-svn-id: https://develop.svn.wordpress.org/trunk@17772 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ian Stewart 2011-04-29 21:00:06 +00:00
parent 9730cb8d15
commit a2e6825307
8 changed files with 16 additions and 76 deletions

View File

@ -396,33 +396,22 @@ section.recent-posts .other-recent-posts .comments-link a:hover {
color: #999; color: #999;
} }
.commentlist > li:before { .commentlist > li:before {
content: url(images/comment-arrow.png) no-repeat; content: url(../images/comment-arrow-dark.png);
} }
/* Post author highlighting */ /* Post author highlighting */
.commentlist > li.bypostauthor { .commentlist > li.bypostauthor {
background: #ddd; background: #222;
border-color: #fff; border-color: #2c2c2c;
color: #333;
}
.commentlist > li.bypostauthor .comment-meta {
color: #333;
} }
.commentlist > li.bypostauthor:before { .commentlist > li.bypostauthor:before {
content: url(images/comment-arrow-bypostauthor.png); content: url(../images/comment-arrow-bypostauthor-dark.png);
} }
/* Post Author threaded comments */ /* Post Author threaded comments */
.commentlist .children > li.bypostauthor { .commentlist .children > li.bypostauthor {
background: #ddd; background: #222;
border-color: #fff; border-color: #2c2c2c;
}
.commentlist .children > li.bypostauthor > article,
.commentlist .children > li.bypostauthor > article .comment-meta {
color: #333;
}
.commentlist .children > li.bypostauthor > article .comment-reply-link {
color: #333;
} }
/* Comment Form */ /* Comment Form */
@ -519,7 +508,7 @@ section.recent-posts .other-recent-posts .comments-link a:hover {
color: #666; color: #666;
} }
.commentlist > li:before { .commentlist > li:before {
content: none; content: none !important;
} }
/* Post Author threaded comments */ /* Post Author threaded comments */
@ -530,4 +519,5 @@ section.recent-posts .other-recent-posts .comments-link a:hover {
.commentlist .children > li.bypostauthor > article, .commentlist .children > li.bypostauthor > article,
.commentlist .children > li.bypostauthor > article .comment-meta { .commentlist .children > li.bypostauthor > article .comment-meta {
color: #666; color: #666;
} }
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 355 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 386 B

After

Width:  |  Height:  |  Size: 353 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 399 B

View File

@ -1605,6 +1605,8 @@ section.ephemera .entry-title a span {
.commentlist .children li.comment { .commentlist .children li.comment {
background: #fff; background: #fff;
border-left: 1px solid #ddd; border-left: 1px solid #ddd;
-moz-border-radius: 0 3px 3px 0;
border-radius: 0 3px 3px 0;
margin: 1.625em 0 0; margin: 1.625em 0 0;
padding: 1.625em; padding: 1.625em;
position: relative; position: relative;
@ -1646,7 +1648,7 @@ section.ephemera .entry-title a span {
top: 0; top: 0;
} }
.commentlist > li:before { .commentlist > li:before {
content: url(images/comment-arrow.png) no-repeat; content: url(images/comment-arrow.png);
left: -21px; left: -21px;
position: absolute; position: absolute;
} }
@ -1669,15 +1671,8 @@ a.comment-reply-link {
/* Post author highlighting */ /* Post author highlighting */
.commentlist > li.bypostauthor { .commentlist > li.bypostauthor {
background: #222; background: #ddd;
border-color: #000; border-color: #d3d3d3;
color: #ccc;
}
.commentlist > li.bypostauthor .comment-meta {
color: #ccc;
}
.commentlist > li.bypostauthor .comment-meta a {
font-weight: bold;
} }
.commentlist > li.bypostauthor .comment-meta a:focus, .commentlist > li.bypostauthor .comment-meta a:focus,
.commentlist > li.bypostauthor .comment-meta a:active, .commentlist > li.bypostauthor .comment-meta a:active,
@ -1686,56 +1681,11 @@ a.comment-reply-link {
.commentlist > li.bypostauthor:before { .commentlist > li.bypostauthor:before {
content: url(images/comment-arrow-bypostauthor.png); content: url(images/comment-arrow-bypostauthor.png);
} }
.commentlist > li.bypostauthor .comment-content a {
}
.commentlist > li.bypostauthor .comment-content a:focus,
.commentlist > li.bypostauthor .comment-content a:active,
.commentlist > li.bypostauthor .comment-content a:hover {
}
.commentlist > li.bypostauthor .comment-reply-link {
}
.commentlist > li.bypostauthor .comment-reply-link:focus,
.commentlist > li.bypostauthor .comment-reply-link:active,
.commentlist > li.bypostauthor .comment-reply-link:hover {
}
/* Post Author threaded comments */ /* Post Author threaded comments */
.commentlist > li.bypostauthor .children,
.commentlist > li.bypostauthor .children .comment-meta,
.commentlist > li.bypostauthor .children .comment-meta a,
.commentlist > li.bypostauthor .children .comment-reply-link {
}
.commentlist > li.bypostauthor .children .comment-meta a:focus,
.commentlist > li.bypostauthor .children .comment-meta a:active,
.commentlist > li.bypostauthor .children .comment-meta a:hover {
}
.commentlist .children > li.bypostauthor { .commentlist .children > li.bypostauthor {
background: #222; background: #ddd;
border-color: #000; border-color: #d3d3d3;
}
.commentlist .children > li.bypostauthor > article,
.commentlist .children > li.bypostauthor > article .comment-meta {
color: #ccc;
}
.commentlist .children > li.bypostauthor > article .comment-meta a {
font-weight: bold;
}
.commentlist .children > li.bypostauthor > article .comment-reply-link {
color: #ccc;
}
.commentlist .children > li.bypostauthor > article .comment-meta a:focus,
.commentlist .children > li.bypostauthor > article .comment-meta a:active,
.commentlist .children > li.bypostauthor > article .comment-meta a:hover,
.commentlist .children > li.bypostauthor > article .comment-reply-link:focus,
.commentlist .children > li.bypostauthor > article .comment-reply-link:active,
.commentlist .children > li.bypostauthor > article .comment-reply-link:hover {
}
.commentlist .children > li.bypostauthor > article .comment-content a {
color: #1b8be0;
}
.commentlist .children > li.bypostauthor > article .comment-content a:focus,
.commentlist .children > li.bypostauthor > article .comment-content a:active,
.commentlist .children > li.bypostauthor > article .comment-content a:hover {
} }
/* Comment Form */ /* Comment Form */