2015-05-01, 10:28 AM
I suggest that rather than hardcoding the url to the select2.css in the templates that another stylesheet is added in the themes section of the ACP (rather like the thread_status.css or usercp.css).
This will make it easier to provide matching select2.css, especially for those forums with a flat or black theme. I know that an import url can be added at the top of the css, but using a stylesheet in the theme is more consistent imo and helps separate concerns and avoids the issues around @import.
http://stackoverflow.com/questions/10036...use-import
This will make it easier to provide matching select2.css, especially for those forums with a flat or black theme. I know that an import url can be added at the top of the css, but using a stylesheet in the theme is more consistent imo and helps separate concerns and avoids the issues around @import.
http://stackoverflow.com/questions/10036...use-import