Make WordPress Core

Ticket #25220: 25220.hover-state-fixes.diff

File 25220.hover-state-fixes.diff, 898 bytes (added by celloexpressions, 11 years ago)

Fix several instances of the custom accent color CSS overriding white or black link colors that should have no text-color change on hover by adding link color declarations to additional and more specific selectors.

  • wp-content/themes/twentyfourteen/style.css

     
    10711071.page-links a:hover {
    10721072        background: #24890d;
    10731073        border: 1px solid #24890d;
     1074        color: #fff;
    10741075}
    10751076.page-links > span.page-links-title {
    10761077        margin: 0;
     
    15721573.paging-navigation a:hover {
    15731574        background-color: #f5f5f5;
    15741575        border-top: 1px solid #000;
     1576        color: #2b2b2b;
    15751577}
    15761578.post-navigation,
    15771579.image-navigation {
     
    19231925.widget_calendar a:hover {
    19241926        background-color: #35921f;
    19251927}
     1928.widget-area .widget_calendar a:hover {
     1929        color: #fff; /* Override custom accent color with more specific selector. */
     1930}
    19261931.widget_calendar table {
    19271932        border: 1px solid rgba(255, 255, 255, 0.2);
    19281933        border-width: 1px 0 1px 1px;