jQuery UI CSS overrides are too un-specific
-
Good morning,
Please consider tying your plugin’s CSS for jQuery UI to a specific class or ID. WordPress Core’s wp-admin area relies heavily on jQuery UI, and so do most plugins. Therefore by targeting things like
.ui-tabs
you’re affecting all jQuery tabs in wp-admin.I suggest targeting and adding a wrapper class to Oasis Workflow plugin stuff, e.g.
.oasis-workflow .oasis-jquery-ui .ui-tabs { //jQuery UI overrides for Oasis Workflow plugin go here }
This mostly seems to be related to styles cascading from the plugin’s datepicker.css, found here: https://plugins.trac.www.ads-software.com/browser/oasis-workflow/trunk/css/lib/calendar/datepicker.css
One particular issue this causes is a weird effect on the Submit button in areas of wp-admin. Here is a screenshot: https://www.dropbox.com/s/i022z5i2mbnouw3/Screenshot%202016-11-03%2012.19.45.jpg?dl=0
- The topic ‘jQuery UI CSS overrides are too un-specific’ is closed to new replies.