Make WordPress Core

Ticket #47069: 47069.8.diff

File 47069.8.diff, 10.2 KB (added by afercia, 4 years ago)
  • src/wp-admin/css/color-picker.css

     
    1010
    1111/* Needs higher specificiity. */
    1212.wp-picker-container .wp-color-result.button {
    13         min-height: 30px;
     13        min-height: 28px;
    1414        margin: 0 6px 6px 0px;
    1515        padding: 0 0 0 30px;
    1616        font-size: 11px;
     
    2222        border-left: 1px solid #ccc;
    2323        color: #555;
    2424        display: block;
    25         line-height: 2.54545455; /* 28px */
     25        line-height: 2.36363636; /* 26px */
    2626        padding: 0 6px;
    2727        text-align: center;
    2828}
     
    7373.wp-picker-input-wrap .button.wp-picker-default,
    7474.wp-customizer .wp-picker-input-wrap .button.wp-picker-default {
    7575        margin-left: 6px;
    76         padding: 0 8px;
    77         line-height: 2.54545455; /* 28px */
    78         min-height: 30px;
     76        padding: 2px 8px;
    7977}
    8078
    8179.wp-picker-container .iris-square-slider .ui-slider-handle:focus {
     
    8987}
    9088
    9189.wp-picker-container input[type="text"].wp-color-picker {
    92         width: 4rem;
     90        width: 65px;
    9391        font-size: 12px;
    9492        font-family: monospace;
    95         line-height: 2.33333333; /* 28px */
     93        line-height: 1.33333333; /* 16px */
    9694        margin: 0;
    97         padding: 0 5px;
     95        padding: 5px;
    9896        vertical-align: top;
    99         min-height: 30px;
     97        min-height: 28px;
    10098}
    10199
    102100.wp-color-picker::-webkit-input-placeholder {
     
    134132
    135133@media screen and (max-width: 782px) {
    136134        .wp-picker-container input[type="text"].wp-color-picker {
    137                 width: 5rem;
     135                width: 80px;
     136                padding: 6px 5px 5px;
    138137                font-size: 16px;
    139                 line-height: 1.875; /* 30px */
    140                 min-height: 32px;
     138                line-height: 1.15;
    141139        }
    142140
    143141        .wp-customizer .wp-picker-container input[type="text"].wp-color-picker {
    144                 padding: 0 5px;
     142                padding: 5px 5px 4px;
    145143        }
    146144
    147         .wp-picker-input-wrap .button.wp-picker-default {
    148                 padding: 0 8px;
    149                 line-height: 2.14285714; /* 30px */
    150                 min-height: 32px;
    151         }
    152 
    153         .wp-customizer .wp-picker-input-wrap .button.wp-picker-default {
    154                 padding: 0 8px;
    155                 font-size: 14px;
    156                 line-height: 2.14285714; /* 30px */
    157                 min-height: 32px;
    158         }
    159 
    160145        .wp-picker-container .wp-color-result.button {
     146                height: auto;
    161147                padding: 0 0 0 40px;
    162148                font-size: 14px;
    163                 line-height: 2.14285714; /* 30px */
     149                line-height: 2.1;
    164150        }
    165151
    166152        .wp-customizer .wp-picker-container .wp-color-result.button {
    167                 font-size: 14px;
    168                 line-height: 2.14285714; /* 30px */
     153                font-size: 13px;
     154                line-height: 2;
    169155        }
    170156
    171157        .wp-picker-container .wp-color-result-text {
     
    178164                padding: 0 10px;
    179165        }
    180166}
     167
     168@media screen and (max-width: 640px) {
     169        .wp-customizer .wp-picker-container .wp-color-result.button {
     170                font-size: 14px;
     171                line-height: 2.1;
     172        }
     173
     174        .wp-customizer .wp-picker-container input[type="text"].wp-color-picker {
     175                padding: 6px 5px;
     176        }
     177}
  • src/wp-admin/css/common.css

     
    924924
    925925#delete-action {
    926926        float: left;
    927         line-height: 2.30769231; /* 30px */
     927        line-height: 2.1;
    928928}
    929929
    930930#delete-link {
    931         line-height: 2.30769231; /* 30px */
     931        line-height: 2.1;
    932932        vertical-align: middle;
    933933        text-align: left;
    934934        margin-left: 8px;
     
    945945}
    946946
    947947#publishing-action .spinner {
    948         float: none;
    949         margin-top: 5px;
     948        float: left;
    950949}
    951950
    952951#misc-publishing-actions {
     
    10871086}
    10881087
    10891088.wp-filter .search-form input[type="search"] {
    1090         margin: 1px 0;
     1089        margin: 0;
    10911090        width: 280px;
    10921091        max-width: 100%;
    10931092        font-size: inherit;
  • src/wp-admin/css/customize-controls.css

     
    159159        float: left;
    160160        transform: none;
    161161        margin-top: 0;
    162         line-height: 2;
    163162}
    164163
    165164body:not(.ready) #publish-settings,
     
    28722871        }
    28732872
    28742873        .wp-core-ui.wp-customizer .button {
    2875                 min-height: 30px;
    2876                 padding: 0 14px;
    2877                 line-height: 2;
     2874                padding: 6px 14px;
     2875                line-height: normal;
    28782876                font-size: 14px;
    28792877                vertical-align: middle;
     2878                height: auto;
    28802879        }
    28812880
     2881        #publish-settings {
     2882                height: 31px;
     2883        }
     2884
    28822885        #customize-control-changeset_status .customize-inside-control-row {
    28832886                padding-top: 15px;
    28842887        }
  • src/wp-admin/css/forms.css

     
    2828
    2929input,
    3030select {
    31         margin: 0 1px;
     31        margin: 1px;
    3232}
    3333
    3434textarea.code {
     
    315315        border-color: #7e8993;
    316316        box-shadow: none;
    317317        border-radius: 3px;
    318         padding: 4px 24px 4px 8px;
    319         min-height: 30px;
     318        padding: 3px 24px 3px 8px;
     319        min-height: 28px;
    320320        max-width: 25rem;
    321321        vertical-align: middle;
    322322        -webkit-appearance: none;
     
    484484#doaction,
    485485#doaction2,
    486486#post-query-submit {
    487         margin: 0 8px 0 0;
     487        margin: 1px 8px 0 0;
    488488}
    489489
     490.tablenav #changeit,
     491.tablenav #delete_all,
     492.tablenav #clear-recent-list,
     493.wp-filter #delete_all {
     494        margin-top: 1px;
     495}
     496
    490497.tablenav .actions select {
    491498        float: left;
    492499        margin-right: 6px;
     
    501508.wp-cancel-pw > .dashicons {
    502509        position: relative;
    503510        top: 3px;
    504         width: 1.25rem;
    505         height: 1.25rem;
    506         top: 0.25rem;
    507         font-size: 20px;
    508511}
    509512
    510513.wp-cancel-pw .dashicons-no {
     
    598601.wp-pwd [type="password"] {
    599602        margin-bottom: 0;
    600603        /* Same height as the buttons */
    601         min-height: 30px;
     604        line-height: 20px;
     605        min-height: 28px;
     606        max-height: 40px;
    602607}
    603608
    604 /* Hide the Edge "reveal password" native button */
    605 .wp-pwd input::-ms-reveal {
    606         display: none;
    607 }
    608 
    609609#pass1-text,
    610610.show-password #pass1 {
    611611        display: none;
     
    635635        margin: 0 4px 0 0;
    636636}
    637637
    638 .plugins-php .search-box .wp-filter-search {
    639         font-size: inherit;
    640 }
    641 
    642638.js.plugins-php .search-box .wp-filter-search {
    643639        margin: 0;
    644640        width: 280px;
     
    15651561                position: absolute;
    15661562                right: 0;
    15671563                top: 0;
    1568                 width: 2.375rem;
    1569                 height: 2.375rem;
    1570                 min-width: 40px;
    1571                 min-height: 40px;
    15721564        }
    15731565
    15741566        .wp-pwd button.wp-hide-pw {
    1575                 right: 2.5rem;
     1567                right: 40px;
    15761568        }
    15771569
    15781570        .wp-pwd button.button:hover,
     
    15931585        .wp-pwd [type="text"],
    15941586        .wp-pwd [type="password"] {
    15951587                line-height: 2;
    1596                 padding-right: 5rem;
    15971588        }
    15981589
    15991590        .wp-cancel-pw .dashicons-no {
  • src/wp-admin/css/list-tables.css

     
    638638        clear: both;
    639639        height: 30px;
    640640        margin: 6px 0 4px;
    641         padding-top: 5px;
    642641        vertical-align: middle;
    643642}
    644643
     
    648647
    649648.tablenav .tablenav-pages {
    650649        float: right;
    651         margin: 0 0 9px;
     650        margin: 3px 0 9px;
    652651}
    653652
    654653.tablenav .no-pages,
     
    660659.tablenav .tablenav-pages .tablenav-pages-navspan {
    661660        display: inline-block;
    662661        vertical-align: baseline;
    663         min-width: 30px;
    664         min-height: 30px;
     662        min-width: 28px;
     663        min-height: 28px;
    665664        margin: 0;
    666665        padding: 0 4px;
    667666        font-size: 16px;
    668         line-height: 1.625; /* 26px */
     667        line-height: 1.5;
    669668        text-align: center;
    670669}
    671670
     
    679678}
    680679
    681680.tablenav .actions {
    682         padding: 0 8px 0 0;
     681        overflow: hidden;
     682        padding: 2px 8px 0 0;
    683683}
    684684
    685685.wp-filter .actions {
     
    10381038        line-height: 1.16666666;
    10391039        vertical-align: middle;
    10401040        text-align: center;
    1041         padding: 0 4px;
     1041        padding: 6px 4px;
    10421042}
    10431043
    10441044.inline-edit-row fieldset label input.inline-edit-password-input {
     
    19571957                box-sizing: border-box;
    19581958        }
    19591959
    1960         .inline-edit-row fieldset input[name=jj],
    1961         .inline-edit-row fieldset input[name=hh],
    1962         .inline-edit-row fieldset input[name=mn],
    1963         .inline-edit-row fieldset input[name=aa] {
    1964                 font-size: 16px;
    1965                 line-height: 2;
    1966                 padding: 3px 4px;
    1967         }
    1968 
    19691960        .inline-edit-row fieldset ul.cat-checklist label,
    19701961        .inline-edit-row #bulk-titles div {
    19711962                font-size: 16px;
  • src/wp-includes/css/buttons.css

     
    4646        display: inline-block;
    4747        text-decoration: none;
    4848        font-size: 13px;
    49         line-height: 2.15384615; /* 28px */
    50         min-height: 30px;
     49        line-height: 2;
     50        min-height: 28px;
    5151        margin: 0;
    5252        padding: 0 10px;
    5353        cursor: pointer;
     
    7171
    7272.wp-core-ui .button.button-large,
    7373.wp-core-ui .button-group.button-large .button {
    74         min-height: 32px;
    75         line-height: 2.30769231; /* 30px */
    76         padding: 0 12px;
     74        min-height: 30px;
     75        line-height: 2.15384615;
     76        padding: 0 12px 2px;
    7777}
    7878
    7979.wp-core-ui .button.button-small,
    8080.wp-core-ui .button-group.button-small .button {
    81         min-height: 26px;
    82         line-height: 2.18181818; /* 24px */
     81        min-height: 24px;
     82        line-height: 2;
    8383        padding: 0 8px;
    8484        font-size: 11px;
    8585}
     
    349349        input#publish,
    350350        input#save-post,
    351351        a.preview {
    352                 padding: 0 14px;
    353                 line-height: 2.71428571; /* 38px */
     352                padding: 1px 14px;
     353                line-height: 2;
    354354                font-size: 14px;
    355355                vertical-align: middle;
    356                 min-height: 40px;
     356                height: auto;
    357357                margin-bottom: 4px;
    358358        }
    359359
     
    377377        /* Reset responsive styles in Press This, Customizer */
    378378
    379379        .wp-core-ui.wp-customizer .button {
     380                padding: 0 10px 1px;
    380381                font-size: 13px;
    381                 line-height: 2.15384615; /* 28px */
    382                 min-height: 30px;
     382                line-height: 2;
     383                min-height: 28px;
    383384                margin: 0;
    384385                vertical-align: inherit;
    385386        }
  • src/wp-includes/css/editor.css

     
    12011201
    12021202.wp-media-buttons span.wp-media-buttons-icon {
    12031203        display: inline-block;
    1204         width: 20px;
    1205         height: 20px;
    1206         line-height: 1;
    1207         vertical-align: middle;
     1204        width: 18px;
     1205        height: 18px;
     1206        vertical-align: text-top;
    12081207        margin: 0 2px;
    12091208}
    12101209
     
    17771776        width: 300px;
    17781777        padding: 3px;
    17791778        box-sizing: border-box;
    1780         line-height: 1.28571429; /* 18px */
    1781         /* Override value inherited from default input fields. */
    1782         min-height: 26px;
     1779        line-height: 1.28571429;
    17831780}
    17841781
    17851782.mce-toolbar div.wp-link-preview ~ .mce-btn,
  • src/wp-includes/css/media-views.css

     
    7373
    7474.media-frame select,
    7575.wp-admin .media-frame select {
    76         min-height: 30px;
     76        min-height: 28px;
    7777        vertical-align: middle;
    7878}
    7979