Oh, and @tav eventually I want to replace the PD Menu with another LL modal, so there is continuity. Is the animated BWD launcher icon thingie available as a standalone stack?
You can of course already launch a limelight from the PD Menu as It has a custom class setting (and you can delete the pop drop content).
It will not animate however as that is triggered by PopDrop but do you really need it to animate when it is covered by a modal?
I can make it work by adding the limelight open class as well as the pop drop open class to the menu CSS but I just question as to whether it is worth it if it can’t be seen??
If the modal is transparent won’t the open icon show thru?
EDIT: Nope, you’re right, no need to have the launch icon animate. Yes, you can see it thru the modal, but once I’ve moved the close icon it’ll be more or less hidden.
How do I put some responsive padding around the close icon? At present, the PD launch is inside a BP with 30, 20 & 10px padding at respective screen sizes.
I would argue that it should fade out to 0 opacity in this case so that it is not confusing to the user when behind a modal. This can be achieved with the following CSS and makes it look a lot more polished.
I don’t understand the padding problem - what are you asking specifically?
Why is BluePrint not a solution?
You could obviously do it with a few lines of media query CSS if you want just like any stack but do you want to pad the icon and not the text or something?
Should add, the PD launch is inside a BP stack, with 10px padding on small, 20 on med and 30 on large. So it’s moving about a bit!
I can see how to add upto 20px padding to the limelight content, which in turn moves the close icon, and I could just set the launch BP stack to only one padding setting of 20 on all screens, but, well, you know, I like to be awkward.
Thanks. Found that earlier, couldn’t get it to work, but soon worked out I was being far to anal (the background was blurring everso slightly before the modal 100% opened) and so decided to not worry about it!
You would need to use a transition which takes a transition time and an optional delay and optional easing as its parameter
transition: property time [delay] [easing]
I specifically didn’t put that code in as applying it to stacks_top, i.e. everything on the page may have unforeseen consequences. Better not to break anything else than give in to your anus.