Make WordPress Core

Ticket #20579: 20579.5.twentytwelve.diff

File 20579.5.twentytwelve.diff, 2.2 KB (added by lancewillett, 12 years ago)
  • wp-content/themes/twentytwelve/style.css

     
    202202        line-height: 2.181818182;
    203203}
    204204
     205/* Form fields, general styles first */
     206button,
     207input,
     208textarea {
     209        border: 1px solid #ccc;
     210        border-radius: 3px;
     211        font-family: inherit;
     212        padding: 6px;
     213        padding: 0.428571429rem;
     214}
     215button,
     216input {
     217    line-height: normal;
     218}
     219textarea {
     220        font-size: 100%;
     221        overflow: auto;
     222        vertical-align: top;
     223}
     224
     225/* Reset non-text input types */
     226input[type="checkbox"],
     227input[type="radio"],
     228input[type="file"],
     229input[type="hidden"],
     230input[type="image"],
     231input[type="color"] {
     232        border: 0;
     233        border-radius: 0;
     234        padding: 0;
     235}
     236
    205237/* Buttons */
    206238.menu-toggle,
    207239input[type="submit"],
     240input[type="button"],
     241input[type="reset"],
    208242article.post-password-required input[type=submit],
    209243li.bypostauthor cite span {
    210244        padding: 6px 10px;
     
    226260        box-shadow: 0 1px 2px rgba(64, 64, 64, 0.1);
    227261}
    228262.menu-toggle,
     263button,
    229264input[type="submit"],
    230 article.post-password-required input[type=submit] {
     265input[type="button"],
     266input[type="reset"] {
    231267        cursor: pointer;
    232268}
     269button[disabled],
     270input[disabled] {
     271    cursor: default;
     272}
    233273.menu-toggle:hover,
     274button:hover,
    234275input[type="submit"]:hover,
     276input[type="button"]:hover,
     277input[type="reset"]:hover,
    235278article.post-password-required input[type=submit]:hover {
    236279        color: #5e5e5e;
    237280        background-color: #ebebeb;
     
    244287}
    245288.menu-toggle:active,
    246289.menu-toggle.toggled-on,
     290button:active,
    247291input[type="submit"]:active,
    248 article.post-password-required input[type=submit]:active,
    249 input[type="submit"].toggled-on {
     292input[type="button"]:active,
     293input[type="reset"]:active {
    250294        color: #757575;
    251295        background-color: #e1e1e1;
    252296        background-repeat: repeat-x;
     
    268312        padding: 0;
    269313}
    270314
    271 /* Form fields */
    272 input[type="text"],
    273 input[type="password"],
    274 input[type="email"],
    275 input[type="url"],
    276 textarea {
    277         padding: 6px;
    278         padding: 0.428571429rem;
    279         font-family: inherit;
    280         border: 1px solid #ccc;
    281         border-radius: 3px;
    282 }
    283 
    284315/* Responsive images */
    285316.entry-content img,
    286317.comment-content img,