Title: [Solved] CSS, default background input color for dropdown Post by: argumentum on February 11, 2018, 11:35:00 AM I'm trying to change the background color of the black theme's selected/input color and I don't find an easy way ( or any way really )
(https://i.imgur.com/UyJbHDs.png) I did the change to red by adding to the easyui.css Code: input { Thanks Title: Re: CSS, default background input color for dropdown Post by: jarry on February 11, 2018, 08:22:46 PM Please try this code:
Code: <style type="text/css"> Title: Re: CSS, default background input color for dropdown Post by: argumentum on February 11, 2018, 09:48:35 PM Please try this code: ..getting closer =) (https://i.imgur.com/QPQ4IK9.png) ...this approach also overrides the .validatebox-invalid{} section. ( but I can live with that if needed to ) Title: Re: CSS, default background input color for dropdown Post by: jarry on February 12, 2018, 01:17:45 AM Please look at this example http://code.reloado.com/ahejok/edit#html,live
Title: Re: CSS, default background input color for dropdown Post by: argumentum on February 12, 2018, 08:51:27 AM Please look at this example http://code.reloado.com/ahejok/edit#html,live Quite interesting. If the the CSS declaration is after everything else is loaded, then it acts as expected. So I'll play around to load this last as an added CSS or something. Thank you jarry for the clarification. Can an implementation of default-control-background-color be available on a future version of jEasyUI ? The https://www.jeasyui.com/themebuilder/index.php (https://www.jeasyui.com/themebuilder/index.php) does not have one and, is the only thing that has no declaration of, and it would be most welcomed, as in this "hack", it overrides validatebox-invalid and probably other features. I'll mark this post as solved but if you come up with a better solution, please do post. Thanks Example of Dark Hive theme ( at 200% to watch in detail ): (https://i.imgur.com/1GcXeCD.png) PS: ..what I ended up doing is creating a .CSS and loading a default one first and if the extra exists, loading that after: Code: function onChangeTheme(theme) { Code: <head> Code: input, select, .textbox,.textbox .textbox-text{ For the above pic. of the Dark Hive theme, the CSS is: Code: input, select, .textbox,.textbox .textbox-text{ Again, if this can be addressed on a next version it'd be very welcomed. |