Site logo

Archived topic

Colors Form : missing the element

5 replies · Started by Silvère on August 17, 2016

Viewing posts 1–6 of 6

Hi,

Forms are stylized with some CSS and the plugin Colors help for easy customisation. But the Select element is juste ignored. I think it is an oversight Tom.

For the moment i add this code to my css file :

select {
    color: /* my hexa color */;
    border-image-source: initial;
    border-image-slice: initial;
    border-image-width: initial;
    border-image-outset: initial;
    border-image-repeat: initial;
    box-sizing: border-box;
    max-width: 100%;
    background:  /* my hexa color */;
    border-width: 1px;
    border-style: solid;
    border-color:  /* my hexa color */;
    border-radius: 0px;
    padding: 10px 15px;
}

It work but I need to update file according to the Form part of the Color plugin.

Tell me if I'm wrong.

Thanks a lot

Hi there,

Select inputs usually aren't styled the same as buttons or text inputs, and some browsers/operating systems completely ignore any select styles (iOS).

I'll play with it, but I don't think it will get pushed to core unless I can make it look good :)

Thanks!

Those look good, but what if your buttons were red? Would your select be red?

If buttons are red it doesn't meen that all inputs are red.
In your plugin "Colors > Form" you have made a distinction between buttons and the others control. I think select is one of these other control.

I thought it was a bug. But if your design there are no worries I can manually add CSS and I respect your choice. You're the boss ;-)

You make a good point, I'll definitely play around with it :)

This archived topic is closed to new replies.