Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I noticed that outline around contextual links regions disappeared. I started investigated the problem, comparing with another web site (which runs on the same omega codebase) and figured out that the difference in the order of omega styles how they appear in the page's HTML.
I attach the screenshot of this.
Any ideas how this could happen?
The styles must go in the opposite order: first — base and then — theme:
@import url(".../omega/omega/css/modules/contextual/contextual.base.css?n0sdma");
@import url(".../omega/omega/css/modules/contextual/contextual.theme.css?n0sdma");
Comment | File | Size | Author |
---|---|---|---|
snapshot36.png | 11.22 KB | OnkelTem |
Comments
Comment #1
OnkelTem CreditAttribution: OnkelTem commentedComment #2
OnkelTem CreditAttribution: OnkelTem commentedComment #3
GuyPaddock CreditAttribution: GuyPaddock commentedI'm also seeing this behavior. Not sure why we're relying on the order in which the files load. Shouldn't the selector be more specific in the active state?
Comment #5
fubhy CreditAttribution: fubhy commentedAlthough I could not reproduce this behavior if committed a few lines of code to 4.x-dev that should fix this by ensuring that the weight of the css files is increased by a tiny amount file after file.