WordPress.org

Make WordPress Core

Ticket #21478: 21478.2.diff

File 21478.2.diff, 842 bytes (added by jkudish, 3 years ago)

Apply the css rules for text inputs and textareas to all input[type="text"], input[type="password"] and textarea so as to maintain a consistent look across all inputs in the theme. Simplified/removed some duplicated css in the process

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

     
    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"], 
     265textarea { 
    265266        padding: 6px; 
    266267        padding: 0.428571429rem; 
    267268        font-family: inherit; 
     
    12081209} 
    12091210#respond form input[type="text"], 
    12101211#respond form textarea { 
    1211         font-family: inherit; 
    12121212        font-size: 12px; 
    12131213        font-size: 0.857142857rem; 
    12141214        line-height: 1.714285714; 
    12151215        padding: 10px; 
    12161216        padding: 0.714285714rem; 
    1217         border: 1px solid #d5d2ca; 
    1218         border-radius: 3px; 
    12191217        width: 96%; 
    12201218} 
    12211219#respond form p.form-allowed-tags {