[Resolved] Add input[type=number] to field styling

Home Forums Support [Resolved] Add input[type=number] to field styling

Home Forums Support Add input[type=number] to field styling

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #337290
    Anders

    I suggest adding input[type=number] to the theme field styling:

    input[type=text],input[type=email],input[type=url],input[type=password],input[type=tel],input[type=search],textarea {
     background:#FAFAFA;
     color:#666;
     border:1px solid #ccc;
     border-radius:0;
     padding:10px 15px;
     -moz-box-sizing:border-box;
     -webkit-box-sizing:border-box;
     box-sizing:border-box;
     max-width:100%
    }
    input[type=text]:focus,input[type=email]:focus,input[type=url]:focus,input[type=password]:focus,input[type=tel]:focus,input[type=search]:focus,textarea:focus {
     color:#111;
     background:#FFF
    }

    I know I would be able to add some custom CSS to style number fields. But I believe is could be implemented in the theme default css =)

    #337710
    Tom
    Lead Developer
    Lead Developer

    I wonder what the field would look like if someone gave it a dark background? How would the arrows look etc..?

    I’ll definitely look into it ๐Ÿ™‚

    #343561
    Tom
    Lead Developer
    Lead Developer

    I just made this change for the next version.

    Thanks! ๐Ÿ™‚

    #362865
    Anders

    Hey Tom!

    Nice to hear that want to make the suggested changes. Although I don’t see it 1.3.48.
    Is it planned for a future release?

    /Anders

    #363232
    Tom
    Lead Developer
    Lead Developer

    It will be in 1.3.49. You can download the release candidate here: https://tomusborne.com/dev/temp/generatepress.zip

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.