WordPress.org

Make WordPress Core

Changeset 17772


Ignore:
Timestamp:
04/29/2011 09:00:06 PM (9 years ago)
Author:
iandstewart
Message:

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

Location:
trunk/wp-content/themes/twentyeleven
Files:
4 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyeleven/colors/dark.css

    r17756 r17772  
    397397}
    398398.commentlist > li:before {
    399     content: url(images/comment-arrow.png) no-repeat;
     399    content: url(../images/comment-arrow-dark.png);
    400400}
    401401
    402402/* Post author highlighting */
    403403.commentlist > li.bypostauthor {
    404     background: #ddd;
    405     border-color: #fff;
    406     color: #333;
    407 }
    408 .commentlist > li.bypostauthor .comment-meta {
    409     color: #333;
     404    background: #222;
     405    border-color: #2c2c2c;
    410406}
    411407.commentlist > li.bypostauthor:before {
    412     content: url(images/comment-arrow-bypostauthor.png);
     408    content: url(../images/comment-arrow-bypostauthor-dark.png);
    413409}
    414410
    415411/* Post Author threaded comments */
    416412.commentlist .children > li.bypostauthor {
    417     background: #ddd;
    418     border-color: #fff;
    419 }
    420 .commentlist .children > li.bypostauthor > article,
    421 .commentlist .children > li.bypostauthor > article .comment-meta {
    422     color: #333;
    423 }
    424 .commentlist .children > li.bypostauthor > article .comment-reply-link {
    425     color: #333;
     413    background: #222;
     414    border-color: #2c2c2c;
    426415}
    427416
     
    520509    }
    521510    .commentlist > li:before {
    522         content: none;
     511        content: none !important;
    523512    }
    524513
     
    532521        color: #666;
    533522    }
     523}
  • trunk/wp-content/themes/twentyeleven/style.css

    r17761 r17772  
    16061606    background: #fff;
    16071607    border-left: 1px solid #ddd;
     1608    -moz-border-radius: 0 3px 3px 0;
     1609    border-radius: 0 3px 3px 0;
    16081610    margin: 1.625em 0 0;
    16091611    padding: 1.625em;
     
    16471649}
    16481650.commentlist > li:before {
    1649     content: url(images/comment-arrow.png) no-repeat;
     1651    content: url(images/comment-arrow.png);
    16501652    left: -21px;
    16511653    position: absolute;
     
    16701672/* Post author highlighting */
    16711673.commentlist > li.bypostauthor {
    1672     background: #222;
    1673     border-color: #000;
    1674     color: #ccc;
    1675 }
    1676 .commentlist > li.bypostauthor .comment-meta {
    1677     color: #ccc;
    1678 }
    1679 .commentlist > li.bypostauthor .comment-meta a {
    1680     font-weight: bold;
     1674    background: #ddd;
     1675    border-color: #d3d3d3;
    16811676}
    16821677.commentlist > li.bypostauthor .comment-meta a:focus,
     
    16871682    content: url(images/comment-arrow-bypostauthor.png);
    16881683}
    1689 .commentlist > li.bypostauthor .comment-content a {
    1690 }
    1691 .commentlist > li.bypostauthor .comment-content a:focus,
    1692 .commentlist > li.bypostauthor .comment-content a:active,
    1693 .commentlist > li.bypostauthor .comment-content a:hover {
    1694 }
    1695 .commentlist > li.bypostauthor .comment-reply-link {
    1696 }
    1697 .commentlist > li.bypostauthor .comment-reply-link:focus,
    1698 .commentlist > li.bypostauthor .comment-reply-link:active,
    1699 .commentlist > li.bypostauthor .comment-reply-link:hover {
    1700 }
    17011684
    17021685/* Post Author threaded comments */
    1703 .commentlist > li.bypostauthor .children,
    1704 .commentlist > li.bypostauthor .children .comment-meta,
    1705 .commentlist > li.bypostauthor .children .comment-meta a,
    1706 .commentlist > li.bypostauthor .children .comment-reply-link {
    1707 }
    1708 .commentlist > li.bypostauthor .children .comment-meta a:focus,
    1709 .commentlist > li.bypostauthor .children .comment-meta a:active,
    1710 .commentlist > li.bypostauthor .children .comment-meta a:hover {
    1711 }
    17121686.commentlist .children > li.bypostauthor {
    1713     background: #222;
    1714     border-color: #000;
    1715 }
    1716 .commentlist .children > li.bypostauthor > article,
    1717 .commentlist .children > li.bypostauthor > article .comment-meta {
    1718     color: #ccc;
    1719 }
    1720 .commentlist .children > li.bypostauthor > article .comment-meta a {
    1721     font-weight: bold;
    1722 }
    1723 .commentlist .children > li.bypostauthor > article .comment-reply-link {
    1724     color: #ccc;
    1725 }
    1726 .commentlist .children > li.bypostauthor > article .comment-meta a:focus,
    1727 .commentlist .children > li.bypostauthor > article .comment-meta a:active,
    1728 .commentlist .children > li.bypostauthor > article .comment-meta a:hover,
    1729 .commentlist .children > li.bypostauthor > article .comment-reply-link:focus,
    1730 .commentlist .children > li.bypostauthor > article .comment-reply-link:active,
    1731 .commentlist .children > li.bypostauthor > article .comment-reply-link:hover {
    1732 }
    1733 .commentlist .children > li.bypostauthor > article .comment-content a {
    1734     color: #1b8be0;
    1735 }
    1736 .commentlist .children > li.bypostauthor > article .comment-content a:focus,
    1737 .commentlist .children > li.bypostauthor > article .comment-content a:active,
    1738 .commentlist .children > li.bypostauthor > article .comment-content a:hover {
     1687    background: #ddd;
     1688    border-color: #d3d3d3;
    17391689}
    17401690
Note: See TracChangeset for help on using the changeset viewer.