Multi Relationships
ExpressionEngine 2
Back to this add-on's main page
View Other Add-ons From Denza
Plugin styles break EE datepicker
Bug Report
Karen
|
Posted: 15 February 2012 12:42 PM |
|
|
|
When chasing down a bug where our EE datepicker was showing up with all-white styles, we discovered that your stylesheet “/themes/third_party/mrelshp/assets/css/ui.dropdownchecklist.css” was conflicting with EE’s styles in “/themes/cp_themes/default/css/jquery-ui-1.8.16.custom.css” by using an !important declaration on a conflicting class name (.ui-state-default). We added !important to the relevant classes in the EE stylesheet to compensate, but as this is technically an issue with Multi Relationships, we are submitting a bug report.
|
|
|
denza
|
Posted: 15 February 2012 04:22 PM |
# 1
|
|
Developer
|
Thanks for issue
in next release I’ll implement this fix: adding a .publish_mrelshp selector that way:
.publish_mrelshp .ui-state-default {border:none !important;background:none !important;clear:both !important;}
|
|
|
Karen
|
Posted: 24 February 2012 12:10 PM |
# 2
|
|
|
If you continue to use the .ui-state-default class as well as the new class you mentioned, this will continue to be an issue. The fix you mentioned will not work if implemented as written.
|
|
|
denza
|
Posted: 24 February 2012 12:43 PM |
# 3
|
|
Developer
|
I’ve updated css in package, please try it.
|
|
|
Karen
|
Posted: 24 February 2012 01:22 PM |
# 4
|
|
|
I took a look at this, but it’s not fixed. Adding another class will not change the fact that you’re overriding the styles on .ui-state-default:
.publish_mrelshp .ui-state-default {border:none !important;background:none !important;clear:both !important;}
Have you checked your datepickers on a date tab in your ExpressionEngine? Because you will probably see that it’s unstyled, assuming your stylesheet is loaded. Ours turned white with white numbers.
|
|
|
denza
|
Posted: 24 February 2012 01:48 PM |
# 5
|
|
Developer
|
sure, i’ve checked datepicker, and it’s ok.
and selector “.publish_mrelshp .ui-state-default” is not the same as “.ui-state-default” and will not redeclare there styles. just try tu use new css, and be sure you have cleaned the browser cache
|
|
|
Karen
|
Posted: 24 February 2012 01:52 PM |
# 6
|
|
|
Ah, my apologies, I see what you’ve done. I’ll install it and let you know what we find - thanks!
|
|
|
denza
|
Posted: 24 February 2012 01:57 PM |
# 7
|
|
Developer
|
ok, but lines in checkboxes list are confusing me. It should be better to see code in firebug.
|
|
|
Karen
|
Posted: 24 February 2012 02:03 PM |
# 8
|
|
|
The datepicker styles are working again. Thanks!
|
|
|