Make WordPress Core

Ticket #17863: css-number.diff

File css-number.diff, 1.6 KB (added by joostdevalk, 13 years ago)

CSS needed for input type="number"

  • wp-admin/css/global.dev.css

     
    218218/* include margin and padding in the width calculation of input and textarea */
    219219input[type="text"],
    220220input[type="password"],
     221input[type="number"],
    221222textarea {
    222223        -moz-box-sizing: border-box;
    223224        -webkit-box-sizing: border-box;
  • wp-admin/css/colors-classic.dev.css

     
    1515input[type="button"],
    1616input[type="submit"],
    1717input[type="reset"],
     18input[type="number"],
    1819select {
    1920        border-color: #dfdfdf;
    2021        background-color: #fff;
  • wp-admin/css/colors-fresh.dev.css

     
    1515input[type="button"],
    1616input[type="submit"],
    1717input[type="reset"],
     18input[type="number"],
    1819select {
    1920        border-color: #dfdfdf;
    2021        background-color: #fff;
  • wp-admin/css/wp-admin.dev.css

     
    122122input[type="button"],
    123123input[type="submit"],
    124124input[type="reset"],
     125input[type="number"],
    125126select {
    126127        border-width: 1px;
    127128        border-style: solid;