Make WordPress Core

Ticket #47477: 47477.3.diff

File 47477.3.diff, 3.8 KB (added by kjellr, 4 years ago)
  • src/wp-admin/css/forms.css

     
    6464
    6565/* Vertically align the number selector with the input. */
    6666input[type="number"] {
    67         height: 28px;
     67        min-height: 28px;
    6868        line-height: 1;
    6969}
    7070
     
    307307  2.0 - Forms
    308308------------------------------------------------------------------------------*/
    309309
    310 
     310/* Select styles are based on the default button in buttons.css */
    311311.wp-admin select {
    312         padding: 2px;
    313         line-height: 2;
    314         height: 28px;
     312        color: #555;
     313        border-color: #cccccc;
     314        box-shadow: 0 1px 0 #cccccc;
     315        border-radius: 3px;
     316        padding: 2px 24px 2px 8px;
     317        min-height: 28px;
    315318        vertical-align: middle;
     319        -webkit-appearance: none;
     320        /* The SVG is arrow-down-alt2 from Dashicons. */
     321        background: #f7f7f7 url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E') no-repeat right 4px top 50%;
     322        background-size: 16px 16px;
    316323}
    317324
     325.wp-admin select:hover {
     326        background-color: #fafafa;
     327        border-color: #999;
     328        color: #23282d;
     329}
     330
     331.wp-admin select:focus {
     332        border-color: #5b9dd9;
     333        box-shadow: 0 0 3px rgba(0, 115, 170, 0.8);
     334}
     335
     336.wp-admin select:active {
     337        background-color: #eee;
     338        border-color: #999;
     339        box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
     340}
     341
    318342.wp-admin .button-cancel {
    319343        padding: 0 5px;
    320344        line-height: 2;
     
    412436.tablenav .actions select {
    413437        float: left;
    414438        margin-right: 6px;
    415         max-width: 200px;
     439        max-width: 12.5rem;
    416440}
    417441
    418442.ie8 .tablenav .actions select {
    419         width: 155px;
     443        width: 9.6875rem;
    420444}
    421445
    422446.ie8 .tablenav .actions select#cat {
    423         width: 200px;
     447        width: 12.5rem;
    424448}
    425449
    426450#timezone_string option {
     
    12481272        }
    12491273
    12501274        input[type="number"] {
    1251                 height: 40px;
     1275                min-height: 40px;
    12521276        }
    12531277
    12541278        input.code {
     
    13021326        }
    13031327
    13041328        #wpbody select {
    1305                 height: 36px;
     1329                min-height: 36px;
    13061330                font-size: 16px;
    13071331        }
    13081332
     
    13721396        }
    13731397
    13741398        #wpbody .form-table td select {
    1375                 height: 40px;
     1399                min-height: 40px;
    13761400        }
    13771401
    13781402        input[type="text"].small-text,
  • src/wp-includes/css/buttons.css

     
    4747        text-decoration: none;
    4848        font-size: 13px;
    4949        line-height: 2;
    50         height: 28px;
     50        min-height: 28px;
    5151        margin: 0;
    52         padding: 0 10px 1px;
     52        padding: 0 10px;
    5353        cursor: pointer;
    5454        border-width: 1px;
    5555        border-style: solid;
     
    7171
    7272.wp-core-ui .button.button-large,
    7373.wp-core-ui .button-group.button-large .button {
    74         height: 30px;
     74        min-height: 30px;
    7575        line-height: 2.15384615;
    7676        padding: 0 12px 2px;
    7777}
     
    7878
    7979.wp-core-ui .button.button-small,
    8080.wp-core-ui .button-group.button-small .button {
    81         height: 24px;
     81        min-height: 24px;
    8282        line-height: 2;
    8383        padding: 0 8px 1px;
    8484        font-size: 11px;
     
    8787.wp-core-ui .button.button-hero,
    8888.wp-core-ui .button-group.button-hero .button {
    8989        font-size: 14px;
    90         height: 46px;
     90        min-height: 46px;
    9191        line-height: 3.14285714;
    9292        padding: 0 36px;
    9393}
     
    367367
    368368        #media-upload.wp-core-ui .button {
    369369                padding: 0 10px 1px;
    370                 height: 24px;
     370                min-height: 24px;
    371371                line-height: 22px;
    372372                font-size: 13px;
    373373        }
     
    388388                padding: 0 10px 1px;
    389389                font-size: 13px;
    390390                line-height: 2;
    391                 height: 28px;
     391                min-height: 28px;
    392392                margin: 0;
    393393                vertical-align: inherit;
    394394        }
     
    401401        /* Reset responsive styles on Log in button on iframed login form */
    402402
    403403        .interim-login .button.button-large {
    404                 height: 30px;
     404                min-height: 30px;
    405405                line-height: 2;
    406406                padding: 0 12px 2px;
    407407        }