WordPress.org

Make WordPress Core

Ticket #21477: 21477-form-inputs.patch

File 21477-form-inputs.patch, 1.6 KB (added by lancewillett, 3 years ago)

Patch from ryanimel for form inputs

  • wp-content/themes/twentytwelve/style.css

     
    195195 
    196196/* Buttons */ 
    197197.menu-toggle, 
    198 input#searchsubmit, 
     198input[type="submit"], 
    199199article.post-password-required input[type=submit], 
    200200li.bypostauthor cite span { 
    201201        padding: 6px 10px; 
     
    217217        box-shadow: 0 1px 2px rgba(64, 64, 64, 0.1); 
    218218} 
    219219.menu-toggle, 
    220 input#searchsubmit, 
     220input[type="submit"], 
    221221article.post-password-required input[type=submit] { 
    222222        cursor: pointer; 
    223223} 
    224224.menu-toggle:hover, 
    225 input#searchsubmit:hover, 
     225input[type="submit"]:hover, 
    226226article.post-password-required input[type=submit]:hover { 
    227227        color: #5e5e5e; 
    228228        background-color: #ebebeb; 
     
    235235} 
    236236.menu-toggle:active, 
    237237.menu-toggle.toggled-on, 
    238 input#searchsubmit:active, 
     238input[type="submit"]:active, 
    239239article.post-password-required input[type=submit]:active, 
    240 input#searchsubmit.toggled-on { 
     240input[type="submit"].toggled-on { 
    241241        color: #777; 
    242242        background-color: #e1e1e1; 
    243243        background-repeat: repeat-x; 
     
    260260} 
    261261 
    262262/* Form fields */ 
    263 .widget_search input[type="text"], 
    264 article.post-password-required form input[type="password"] { 
     263input[type="text"], 
     264input[type="password"] { 
    265265        padding: 6px; 
    266266        padding: 0.428571429rem; 
    267267        font-family: inherit; 
     
    12121212        line-height: 1.714285714; 
    12131213} 
    12141214#respond form input[type="text"], 
    1215 #respond form textarea { 
     1215textarea { 
    12161216        font-family: inherit; 
    12171217        font-size: 12px; 
    12181218        font-size: 0.857142857rem;