Closed (fixed)
Project:
EU Cookie Compliance (GDPR Compliance)
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
12 Jun 2017 at 12:06 UTC
Updated:
24 Mar 2018 at 16:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
hkirsman commentedAlso this it too specific and id's are never good idea:
#sliding-popup .popup-content #popup-text pIt's hard to over-ride this without using !important + if you have so deep selector then it costs a lot for browser to calculate. Rather it should be something like this:
.eu-cookie-compliance p {
}
There are other things also. I suggest refactoring css.
Comment #3
svenryen commentedIndeed, those are valid points. If you have a suggestion for how we can improve this whil NOT BREAKING backwards compatibility, you're welcome to submit a patch.
Comment #4
svenryen commentedHere's a patch that provides cleaner css and more sensible class names.
I can't remove any existing classes, as many users may have overrides for them in their css, but at least this should allow overriding eu-cookie-compliance css classes without having to use 4-5 selectors for each override.
Comment #6
svenryen commentedI pushed this to -dev. If anybody has objections, please submit a different patch ;)
Comment #7
svenryen commentedComment #8
hkirsman commentedLooks much better, thanks!