Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
ctools z-indexes at 1001, so we find ourselves in the way with navbar.
Comment | File | Size | Author |
---|---|---|---|
#9 | Capture du 2014-07-16 22:40:53.png | 179.63 KB | yched |
#8 | ctools-modal-4.png | 58.63 KB | jessebeach |
#1 | z-index-heart-cools-2050559-1.patch | 505 bytes | Andrew_Mallis |
navar-overlazy.png | 40.21 KB | Andrew_Mallis |
Comments
Comment #1
Andrew_Mallis CreditAttribution: Andrew_Mallis commentedattached is a patch that applies against dev
Comment #2
dsnopekI am able to recreate the problem with manual testing, using the latest 7.x-1.x from Git. And applying the patch in #1 does fix the problem!
However, I have one question: Does it make sense to try and synchronize the z-index values used in Navbar with those in Toolbar in Drupal 8?
In D8's Toolbar (in toolbar.module.css) its:
... and ...
So, they already differ (Navbar uses 1200 for something that's not unlike the 2nd example - although not exactly the same either). Not sure this really even matters.
Comment #3
Andrew_Mallis CreditAttribution: Andrew_Mallis commentedcomment in navbar.base.css seems to indicate the higher indexing's to circumvent some other core compatibility with contextual:
All for syncing things with core. I'm not so aware of what's what.
Comment #4
dsnopekI also just realized that the reason the CSS is so different between Drupal 8 Toolbar and Navbar is because another patch didn't get backported yet: #2050699: Backport "Reduce dependency on JavaScript" from Drupal 8 toolbar
Comment #5
hass CreditAttribution: hass commentedLooks like we no longer have this navbar base file. Please checkout latest DEV again.
Comment #6
jessebeach CreditAttribution: jessebeach commentedComment #7
jessebeach CreditAttribution: jessebeach commentedComment #8
jessebeach CreditAttribution: jessebeach commentedI think that recent refactoring has resolved this issue. When I test ctools modals, I see that the modal appears over the navbar.
Comment #9
yched CreditAttribution: yched commentedZ-indexes look fine, but the modal background doesn't extend to the left screen edge when the menu is open, you can still click in there :-)
Comment #10
hass CreditAttribution: hass commentedLooks like the issue is resolved.