WordPress.org

Make WordPress Core

Ticket #27521: 27521.4.diff

File 27521.4.diff, 9.2 KB (added by jorbin, 7 years ago)
  • src/wp-admin/css/colors/_admin.scss

     
    439439
    440440body.more-filters-opened .more-filters,
    441441body.more-filters-opened .more-filters:before {
     442        color: $menu-text;
     443        background-color: $menu-background;
     444}
     445
     446body.more-filters-opened .more-filters:hover,
     447body.more-filters-opened .more-filters:focus,
     448body.more-filters-opened .more-filters:hover:before,
     449body.more-filters-opened .more-filters:focus:before {
     450        background-color: $menu-highlight-background;
    442451        color: $menu-highlight-text;
    443         background-color: $menu-highlight-background;
    444452}
    445453
     454
    446455/* jQuery UI Slider */
    447456
    448457.wp-slider .ui-slider-handle,
  • src/wp-admin/css/common.css

     
    18381838        line-height: 18px;
    18391839        font-size: 14px;
    18401840        text-decoration: none;
     1841        -webkit-transition: none;
    18411842        transition: none;
    18421843}
    18431844
  • src/wp-admin/css/customize-controls.css

     
    469469
    470470#customize-control-header_image .current .container {
    471471        overflow: hidden;
     472        -webkit-border-radius: 2px;
    472473        border-radius: 2px;
    473474}
    474475
     
    526527
    527528#customize-control-header_image .random.placeholder {
    528529        cursor: pointer;
     530        -webkit-border-radius: 2px;
    529531        border-radius: 2px;
    530532        height: 40px;
    531533}
     
    536538
    537539#customize-control-header_image .placeholder:hover .dice {
    538540        -webkit-animation: dice-color-change 3s infinite;
    539         -moz-animation: dice-color-change 3s infinite;
    540541        -ms-animation: dice-color-change 3s infinite;
    541542        animation: dice-color-change 3s infinite;
    542543}
     
    548549        100% { color: #d4b146; }
    549550}
    550551
    551 @-moz-keyframes dice-color-change {
    552         0% { color: #d4b146; }
    553         50% { color: #ef54b0; }
    554         75% { color: #7190d3; }
    555         100% { color: #d4b146; }
    556 }
    557 
    558552@-ms-keyframes dice-color-change {
    559553        0% { color: #d4b146; }
    560554        50% { color: #ef54b0; }
     
    598592
    599593#customize-control-header_image img {
    600594        width: 100%;
     595        -webkit-border-radius: 2px;
    601596        border-radius: 2px;
    602597}
    603598
  • src/wp-admin/css/themes.css

     
    4040        top: -3px;
    4141}
    4242
     43.theme-navigation a{
     44        text-decoration:none;
     45}
     46
    4347/* Position admin messages */
    4448.themes-php div.updated,
    4549.themes-php div.error {
     
    10671071
    10681072.theme-navigation {
    10691073        background: #fff;
     1074        -webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
    10701075        box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
    10711076        -moz-box-sizing: border-box;
     1077        -webkit-box-sizing: border-box;
    10721078        box-sizing: border-box;
    10731079        color: #555;
    10741080        display: inline-block;
     
    10911097}
    10921098.upload-theme {
    10931099        -moz-box-sizing: border-box;
     1100        -webkit-box-sizing: border-box;
    10941101        box-sizing: border-box;
    10951102        display: none;
    10961103        margin: 0px 0 0;
     
    11551162        display: inline-block;
    11561163        margin: 0 10px;
    11571164        padding: 4px 6px;
    1158         -moz-transition: color .1s ease-in, background .1s ease-in;
    11591165        -webkit-transition: color .1s ease-in, background .1s ease-in;
    11601166        transition: color .1s ease-in, background .1s ease-in;
    11611167}
    11621168body.more-filters-opened .more-filters,
    11631169body.more-filters-opened .more-filters:before {
    1164         background: rgb(46, 162, 204);
     1170        background: #777;
     1171        -webkit-border-radius: 2px;
    11651172        border-radius: 2px;
    11661173        border: none;
    11671174        color: #fff;
     1175        -webkit-transition: color .1s ease-in, background .1s ease-in;
     1176        transition: color .1s ease-in, background .1s ease-in;
    11681177}
     1178body.more-filters-opened .more-filters:hover,
     1179body.more-filters-opened .more-filters:focus,
     1180body.more-filters-opened .more-filters:hover:before,
     1181body.more-filters-opened .more-filters:focus:before {
     1182        background: rgb(46, 162, 204);
     1183}
     1184
    11691185.theme-install-php .theme-search {
    11701186        position: absolute;
    11711187        right: 10px;
     
    11911207        font-weight: normal;
    11921208        font-style: normal;
    11931209        vertical-align: top;
    1194         -moz-transition: color .1s ease-in 0;
    11951210        -webkit-transition: color .1s ease-in 0;
    11961211        transition: color .1s ease-in 0;
    11971212        text-align: center;
     
    12111226}
    12121227.more-filters-container .filters-group {
    12131228        -moz-box-sizing: border-box;
     1229        -webkit-box-sizing: border-box;
    12141230        box-sizing: border-box;
    12151231        float: left;
    12161232        width: 20%;
  • src/wp-admin/js/theme.js

     
    269269        expand: function( event ) {
    270270                var self = this;
    271271
     272
    272273                event = event || window.event;
    273274
    274275                // 'enter' and 'space' keys expand the details view when a theme is :focused
     
    303304                        return this.touchDrag = false;
    304305                }
    305306
     307                // 'enter' and 'space' keys expand the details view when a theme is :focused
     308                if ( event.type === 'keydown' && ( event.which !== 13 && event.which !== 32 ) ) {
     309                        return;
     310                }
     311
    306312                event.preventDefault();
    307313
    308314                event = event || window.event;
     
    799805        search: function( event ) {
    800806                var options = {};
    801807
     808
    802809                // Clear on escape.
    803810                if ( event.type === 'keyup' && event.which === 27 ) {
    804811                        event.target.value = '';
     
    932939
    933940        // Handles Ajax request for searching through themes in public repo
    934941        search: function( event ) {
     942
     943                // Tabbing into the search input shouldn't trigger a search
     944                if ( event.type === 'keyup' && event.which === 9 ) {
     945                        return;
     946                }
     947
    935948                this.collection = this.options.parent.view.collection;
    936949
    937950                // Clear on escape.
     
    10851098                var $el = $( event.target ),
    10861099                        sort = $el.data( 'sort' );
    10871100
     1101                // links that trigger sort have a # as the href, we don't want to add that to the url
     1102                event.preventDefault();
     1103
    10881104                // Bail if this is already active
    10891105                if ( $el.hasClass( this.activeClass ) ) {
    10901106                        return;
  • src/wp-admin/theme-install.php

     
    104104<div class="wrap">
    105105        <h2>
    106106                <?php echo esc_html( $title ); ?>
    107                 <a class="upload add-new-h2"><?php _e( 'Upload Theme' ); ?></a>
    108                 <a class="browse-themes add-new-h2"><?php _ex( 'Browse', 'themes' ); ?></a>
     107                <a href="#" class="upload add-new-h2"><?php _e( 'Upload Theme' ); ?></a>
     108                <a href="#" class="browse-themes add-new-h2"><?php _ex( 'Browse', 'themes' ); ?></a>
    109109        </h2>
    110110
    111111        <div class="upload-theme">
     
    114114
    115115        <div class="theme-navigation">
    116116                <span class="theme-count"></span>
    117                 <span class="theme-section current" data-sort="featured"><?php _ex( 'Featured', 'themes' ); ?></span>
    118                 <span class="theme-section" data-sort="popular"><?php _ex( 'Popular', 'themes' ); ?></span>
    119                 <span class="theme-section" data-sort="new"><?php _ex( 'Latest', 'themes' ); ?></span>
     117                <a class="theme-section current" href="#" data-sort="featured"><?php _ex( 'Featured', 'themes' ); ?></a>
     118                <a class="theme-section" href="#" data-sort="popular"><?php _ex( 'Popular', 'themes' ); ?></a>
     119                <a class="theme-section" href="#" data-sort="new"><?php _ex( 'Latest', 'themes' ); ?></a>
    120120                <div class="theme-top-filters">
    121121                        <!--<span class="theme-filter" data-filter="photoblogging">Photography</span>
    122122                        <span class="theme-filter" data-filter="responsive-layout">Responsive</span>-->
    123                         <span class="more-filters"><?php _e( 'Feature Filter' ); ?></span>
     123                        <a class="more-filters" href="#"><?php _e( 'Feature Filter' ); ?></a>
    124124                </div>
    125125                <div class="more-filters-container">
    126126                <?php
  • src/wp-includes/css/editor.css

     
    197197        background: #eee;
    198198        background-image: -webkit-gradient(linear, left bottom, left top, from(#f6f6f6), to(#e3e3e3));
    199199        background-image: -webkit-linear-gradient(bottom, #f6f6f6, #e3e3e3);
    200         background-image:    -moz-linear-gradient(bottom, #f6f6f6, #e3e3e3);
    201         background-image:      -o-linear-gradient(bottom, #f6f6f6, #e3e3e3);
    202200        background-image: linear-gradient(to top, #f6f6f6, #e3e3e3);
    203201}
    204202
     
    933931        top: 50%;
    934932        left: 50%;
    935933        z-index: 100105;
     934        -webkit-transition: height 0.2s, margin-top 0.2s;
    936935        transition: height 0.2s, margin-top 0.2s;
    937936}
    938937
     
    11531152#wp-link .item-title {
    11541153        display: inline-block;
    11551154        width: 80%;
     1155        width: -webkit-calc(100% - 68px);
    11561156        width: calc(100% - 68px);
    11571157}
    11581158
     
    12431243
    12441244@media screen and ( max-height: 520px ) {
    12451245        #wp-link-wrap {
     1246                -webkit-transition: none;
    12461247                transition: none;
    12471248        }
    12481249
     
    12721273
    12731274        #link-selector {
    12741275                overflow: auto;
     1276                height: -webkit-calc(100% - 92px);
    12751277                height: calc(100% - 92px);
    12761278                padding-bottom: 2px;
    12771279        }