Making WordPress.org


Ignore:
Timestamp:
01/17/2018 06:44:27 PM (8 years ago)
Author:
obenland
Message:

Support Theme: Update wporg-header styles.

The support theme doesn't share the sass structure of most other wporg-* themes, so it needs to be updated separately.

Props chetan200891.
See #1530.
Fixes #3384.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/sass/modules/_wporg-header.scss

    r6177 r6389  
    1919
    2020        a {
    21             background: url( //s.w.org/style/images/wp-header-logo.png?1 ) center left no-repeat;
    22             background-size: 303px 53px;
     21            background: url( //s.w.org/style/images/wporg-logo.svg?3 ) center left no-repeat;
     22            background-size: 290px 46px;
    2323            display: block;
    2424            height: 88px;
    2525            text-indent: -9999px;
    26             width: 303px;
    27 
    28             @media only screen and (-webkit-min-device-pixel-ratio: 1.5),
    29             only screen and (min-resolution: 1.5dppx),
    30             only screen and (min-resolution: 144dpi) {
    31                 background-image: url( //s.w.org/style/images/wp-header-logo-2x.png?1 );
    32             }
    3326        }
    3427    }
     
    132125
    133126            &.current,
    134             &.current-menu-item {
    135                 a {
    136                     color: #eee;
    137                 }
    138             }
    139 
     127            &.current-menu-item,
    140128            .uparrow {
    141129                display: none;
     
    204192
    205193            [type="submit"] {
    206                 background: #191e23 url( //s.w.org/wp-includes/images/admin-bar-sprite.png?d=20120831 ) no-repeat 2px 4px;
     194                background: #191e23 url( //s.w.org/wp-includes/images/admin-bar-sprite.png?d=20120831 ) no-repeat 2px 5px;
    207195                border: none;
    208196                border-radius: 0;
     
    343331
    344332#mobile-menu-button {
     333    background: none;
     334    border: none;
     335    box-shadow: none;
    345336    display: block;
    346337    float: left;
     
    349340    font-style: normal;
    350341    font-weight: normal;
    351     height: 32px;
    352342    left: 10px;
    353343    line-height: 1;
     344    padding: 1px;
    354345    position: absolute;
    355346    text-align: center;
    356347    text-decoration: inherit;
     348    text-shadow: none;
    357349    top: 75px;
    358350    transition: color .1s ease-in;
    359351    vertical-align: top;
    360     width: 39px;
    361352    -webkit-font-smoothing: antialiased;
    362353
     
    369360        float: left;
    370361        font: normal 50px/1 'Dashicons';
    371         height: 32px;
    372362        margin: 0;
    373363        outline: none;
     
    375365        text-decoration: none;
    376366        vertical-align: middle;
    377         width: 39px;
    378367        -webkit-font-smoothing: antialiased;
    379     }
    380 
    381     &:hover {
    382         background:none;
    383368    }
    384369
Note: See TracChangeset for help on using the changeset viewer.