Make WordPress Core

Ticket #47477: 47477.4.diff

File 47477.4.diff, 3.3 KB (added by afercia, 4 years ago)
  • src/wp-admin/css/forms.css

     
    309309
    310310/* Select styles are based on the default button in buttons.css */
    311311.wp-admin select {
     312        font-size: 13px;
     313        line-height: 1.4;
    312314        color: #555;
    313315        border-color: #7e8993;
    314316        box-shadow: none;
    315317        border-radius: 3px;
    316         padding: 2px 24px 2px 8px;
     318        padding: 3px 24px 3px 8px;
    317319        min-height: 28px;
    318320        vertical-align: middle;
    319321        -webkit-appearance: none;
    320322        /* 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%;
     323        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 5px top 55%;
    322324        background-size: 16px 16px;
    323325}
    324326
     
    340342        box-shadow: none;
    341343}
    342344
     345/* Reset Firefox inner outline that appears on :focus. */
     346/* This ruleset overrides the color change on :focus thus needs to be after select:focus. */
     347.wp-admin select:-moz-focusring {
     348        color: transparent;
     349        text-shadow: 0 0 0 #016087;
     350}
     351
     352/* Remove background focus style from IE11 while keeping focus style available on option elements. */
     353.wp-admin select::-ms-value {
     354        background: transparent;
     355}
     356
     357/* Hide the native down arrow for select element on IE. */
     358.wp-admin select::-ms-expand {
     359        display: none;
     360}
     361
    343362.wp-admin .button-cancel {
    344363        padding: 0 5px;
    345364        line-height: 2;
     
    13331352        #wpbody select {
    13341353                min-height: 36px;
    13351354                font-size: 16px;
     1355                padding: 5px 24px 5px 8px;
    13361356        }
    13371357
    13381358        .wp-admin .button-cancel {
  • src/wp-admin/css/list-tables.css

     
    950950.inline-edit-row fieldset.inline-edit-date label {
    951951        display: inline-block;
    952952        margin: 0;
    953         line-height: 1.5;
    954953        vertical-align: baseline;
    955954}
    956955
     
    975974        padding: 0;
    976975}
    977976
    978 .inline-edit-row fieldset.inline-edit-date select {
    979         margin: 1px;
    980         line-height: 2;
    981 }
    982 
    983977.inline-edit-row fieldset label span.input-text-wrap,
    984978.inline-edit-row fieldset .timestamp-wrap {
    985979        display: block;
     
    10391033
    10401034.inline-edit-row fieldset input[name=jj],
    10411035.inline-edit-row fieldset input[name=hh],
    1042 .inline-edit-row fieldset input[name=mn] {
    1043         font-size: 12px;
    1044         width: 2.3em;
    1045 }
    1046 
     1036.inline-edit-row fieldset input[name=mn],
    10471037.inline-edit-row fieldset input[name=aa] {
    10481038        font-size: 12px;
    1049         width: 3.5em;
     1039        text-align: center;
     1040        padding: 2px;
    10501041}
    10511042
    10521043.inline-edit-row fieldset label input.inline-edit-password-input {
     
    19881979                margin-left: 0;
    19891980        }
    19901981
    1991         .inline-edit-row fieldset input[name=jj],
    1992         .inline-edit-row fieldset input[name=hh],
    1993         .inline-edit-row fieldset input[name=mn] {
    1994                 width: 3em;
    1995         }
    1996 
    1997         .inline-edit-row fieldset input[name=aa] {
    1998                 width: 4.5em;
    1999         }
    2000 
    20011982        .inline-edit-row .inline-edit-or {
    20021983                margin: 0 6px 0 0;
    20031984        }