WordPress.org

Make WordPress Core

Changeset 21450


Ignore:
Timestamp:
08/06/2012 12:19:29 AM (6 years ago)
Author:
lancewillett
Message:

Twenty Twelve: generalize form styles so plugins that insert things like contact forms will fit in. Props ryanimel, see #21477.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentytwelve/style.css

    r21447 r21450  
    196196/* Buttons */
    197197.menu-toggle,
    198 input#searchsubmit,
     198input[type="submit"],
    199199article.post-password-required input[type=submit],
    200200li.bypostauthor cite span {
     
    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;
     
    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;
     
    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;
     
    12131213}
    12141214#respond form input[type="text"],
    1215 #respond form textarea {
     1215textarea {
    12161216    font-family: inherit;
    12171217    font-size: 12px;
Note: See TracChangeset for help on using the changeset viewer.