WordPress.org

Make WordPress Core

Changeset 26689


Ignore:
Timestamp:
12/05/2013 09:02:11 PM (8 years ago)
Author:
lancewillett
Message:

Twenty Fourteen: remove unneeded !important declarations, and comment the ones we absolutely need to keep around. Fixes #26444.

Location:
trunk/src/wp-content/themes/twentyfourteen
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfourteen/css/ie.css

    r26661 r26689  
    887887
    888888.ie7 .screen-reader-text {
    889     clip: rect(1px 1px 1px 1px); /* IE7 */
     889    clip: rect(1px 1px 1px 1px);
    890890}
    891891
     
    905905.ie7 .search-toggle .screen-reader-text {
    906906    color: #fff;
    907     position: relative !important;
     907    position: relative; /* Override inherited `absolute` value set in style.css. */
    908908}
    909909
  • trunk/src/wp-content/themes/twentyfourteen/functions.php

    r26665 r26689  
    240240
    241241    // Load the Internet Explorer specific stylesheet.
    242     wp_enqueue_style( 'twentyfourteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentyfourteen-style', 'genericons' ), '20131110' );
     242    wp_enqueue_style( 'twentyfourteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentyfourteen-style', 'genericons' ), '20131205' );
    243243    wp_style_add_data( 'twentyfourteen-ie', 'conditional', 'lt IE 9' );
    244244
  • trunk/src/wp-content/themes/twentyfourteen/inc/custom-header.php

    r26668 r26689  
    7171        .site-title,
    7272        .site-description {
    73             position: absolute;
    7473            clip: rect(1px 1px 1px 1px); /* IE7 */
    7574            clip: rect(1px, 1px, 1px, 1px);
     75            position: absolute;
    7676        }
    7777    <?php
  • trunk/src/wp-content/themes/twentyfourteen/style.css

    r26662 r26689  
    707707.screen-reader-text {
    708708    clip: rect(1px, 1px, 1px, 1px);
    709     position: absolute !important;
     709    position: absolute;
    710710}
    711711
     
    714714    border-radius: 3px;
    715715    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    716     clip: auto !important;
     716    clip: auto;
    717717    color: #21759b;
    718718    display: block;
     
    40354035@media print {
    40364036    body {
    4037         background: none !important;
     4037        background: none !important; /* Brute force since user agents all print differently. */
    40384038        color: #2b2b2b;
    40394039        font-size: 12pt;
Note: See TracChangeset for help on using the changeset viewer.