Make WordPress Core

Ticket #30728: 30728.1.patch

File 30728.1.patch, 2.6 KB (added by lancewillett, 10 years ago)

Attempt to simplify padding for all search inputs

  • src/wp-content/themes/twentyfifteen/style.css

     
    554554        outline: 0;
    555555}
    556556
    557 input[type="search"] {
    558         -webkit-appearance: textfield;
    559 }
    560 
    561 input[type="search"]::-webkit-search-decoration {
    562         -webkit-appearance: none;
    563 }
    564 
    565557button::-moz-focus-inner,
    566558input::-moz-focus-inner {
    567559        border: 0;
     
    592584        outline: 0;
    593585}
    594586
     587input[type="search"] {
     588        -webkit-appearance: textfield;
     589        padding: 0.375em 0.1275em 0.375em 0.375em;
     590}
     591
     592input[type="search"]::-webkit-search-decoration {
     593        -webkit-appearance: none;
     594}
     595
    595596.post-password-form {
    596597        position: relative;
    597598}
     
    13561357.widget input[type="email"],
    13571358.widget input[type="url"],
    13581359.widget input[type="password"],
    1359 .widget input[type="search"],
    13601360.widget textarea {
    13611361        padding: 0.375em;
    13621362}
     
    28322832        input[type="email"],
    28332833        input[type="url"],
    28342834        input[type="password"],
    2835         input[type="search"],
    28362835        textarea {
    28372836                padding: 0.5em;
    28382837        }
     
    30533052        .widget input[type="email"],
    30543053        .widget input[type="url"],
    30553054        .widget input[type="password"],
    3056         .widget input[type="search"],
    30573055        .widget textarea {
    30583056                padding: 0.5625em;
    30593057        }
     
    34283426        input[type="email"],
    34293427        input[type="url"],
    34303428        input[type="password"],
    3431         input[type="search"],
    34323429        textarea {
    34333430                padding: 0.5278em;
    34343431        }
     
    36183615        .widget input[type="email"],
    36193616        .widget input[type="url"],
    36203617        .widget input[type="password"],
    3621         .widget input[type="search"],
    36223618        .widget textarea {
    36233619                padding: 0.75em;
    36243620        }
     
    39943990        input[type="email"],
    39953991        input[type="url"],
    39963992        input[type="password"],
    3997         input[type="search"],
    39983993        textarea {
    39993994                padding: 0.375em;
    40003995        }
     
    42234218        .widget input[type="email"],
    42244219        .widget input[type="url"],
    42254220        .widget input[type="password"],
    4226         .widget input[type="search"],
    42274221        .widget textarea {
    42284222                padding: 0.4583em;
    42294223        }
     
    46184612        input[type="email"],
    46194613        input[type="url"],
    46204614        input[type="password"],
    4621         input[type="search"],
    46224615        textarea {
    46234616                padding: 0.5em;
    46244617        }
     
    47874780        .widget input[type="email"],
    47884781        .widget input[type="url"],
    47894782        .widget input[type="password"],
    4790         .widget input[type="search"],
    47914783        .widget textarea {
    47924784                padding: 0.5em;
    47934785        }
     
    51255117        input[type="email"],
    51265118        input[type="url"],
    51275119        input[type="password"],
    5128         input[type="search"],
    51295120        textarea {
    51305121                padding: 0.5278em;
    51315122        }
     
    53015292        .widget input[type="email"],
    53025293        .widget input[type="url"],
    53035294        .widget input[type="password"],
    5304         .widget input[type="search"],
    53055295        .widget textarea {
    53065296                padding: 0.5em;
    53075297        }