Making WordPress.org


Ignore:
Timestamp:
02/17/2018 01:14:53 AM (7 years ago)
Author:
iandunn
Message:

WordCamp Coming Soon Page: Remove redundant CSS.

r6055 added styles to the CSS file, even though the rules already existed in admin_bar_styling(). This updates the latter like r6055 should have done. This also format the CSS to improve readability.

Props grapplerulrich
Fixes #859

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-coming-soon-page/classes/wordcamp-coming-soon-page.php

    r6226 r6664  
    357357        }
    358358
    359         echo '<style type="text/css">#wpadminbar .wc-coming-soon-info, #wpadminbar .wc-coming-soon-info a { background: #FFE399; color: #23282d }</style>';
     359        ?>
     360
     361        <style type="text/css">
     362            #wpadminbar .wc-coming-soon-info .ab-item,
     363            #wpadminbar .wc-coming-soon-info .ab-item a {
     364                background: #FFE399;
     365                color: #23282d;
     366            }
     367        </style>
     368
     369        <?php
    360370    }
    361371
Note: See TracChangeset for help on using the changeset viewer.