Make WordPress Core

Ticket #39983: 39983.2.diff

File 39983.2.diff, 3.2 KB (added by afercia, 9 years ago)
  • src/wp-admin/css/customize-nav-menus.css

     
    150150        outline: none;
    151151        overflow: hidden;
    152152        cursor: pointer;
     153        text-align: center;
    153154}
    154155
    155156.wp-customizer .menu-item.menu-item-edit-active .item-edit .toggle-indicator:after {
     
    521522        box-shadow: none;
    522523        outline: none;
    523524        cursor: pointer;
     525        text-align: center;
    524526}
    525527
    526528#available-menu-items .accordion-section-title .no-items,
     
    612614        box-shadow: none;
    613615        outline: none;
    614616        cursor: pointer;
     617        text-align: center;
    615618}
    616619
    617620#available-menu-items .menu-item-handle .item-add:focus {
  • src/wp-includes/css/media-views.css

     
    183183        right: 0;
    184184        width: 50px;
    185185        height: 50px;
     186        margin: 0;
    186187        padding: 0;
     188        border: 1px solid transparent;
     189        background: none;
     190        color: #666;
    187191        z-index: 1000;
     192        cursor: pointer;
     193        outline: none;
    188194        -webkit-transition: color .1s ease-in-out, background .1s ease-in-out;
    189195        transition: color .1s ease-in-out, background .1s ease-in-out;
    190196}
    191197
    192 .media-modal-close.button-link {
    193         text-decoration: none;
     198.media-modal-close:hover,
     199.media-modal-close:active {
     200        color: #00a0d2;
    194201}
    195202
    196 .media-modal-close:active {
    197         -webkit-box-shadow: none;
    198         box-shadow: none;
     203.media-modal-close:focus {
     204        color: #00a0d2;
     205        border-color: #5b9dd9;
     206        -webkit-box-shadow: 0 0 3px rgba( 0, 115, 170, .8 );
     207        box-shadow: 0 0 3px rgba( 0, 115, 170, .8 );
    199208}
    200209
    201210.media-modal-close span.media-modal-icon {
     
    209218        vertical-align: middle;
    210219        -webkit-font-smoothing: antialiased;
    211220        -moz-osx-font-smoothing: grayscale;
    212         color: #666;
    213221}
    214222
    215 .media-modal-close:hover .media-modal-icon:before {
    216         color: #00a0d2;
    217 }
    218 
    219 .media-modal-close:active {
    220         outline: 0;
    221 }
    222 
    223223.media-modal-content {
    224224        position: absolute;
    225225        top: 0;
  • src/wp-includes/css/wp-auth-check.css

     
    9393        width: 22px;
    9494        color: #72777c;
    9595        text-decoration: none;
     96        text-align: center;
    9697}
    9798
    9899#wp-auth-check-wrap .wp-auth-check-close:before {
  • src/wp-includes/media-template.php

     
    163163
    164164        <script type="text/html" id="tmpl-media-modal">
    165165                <div class="<?php echo $class; ?>">
    166                         <button type="button" class="button-link media-modal-close"><span class="media-modal-icon"><span class="screen-reader-text"><?php _e( 'Close media panel' ); ?></span></span></button>
     166                        <button type="button" class="media-modal-close"><span class="media-modal-icon"><span class="screen-reader-text"><?php _e( 'Close media panel' ); ?></span></span></button>
    167167                        <div class="media-modal-content"></div>
    168168                </div>
    169169                <div class="media-modal-backdrop"></div>