The default CSS for nice_menus ends up looking strange in Garland due to Garland's CSS. We should make nice_menus CSS generic as possible so it looks decently benign in all of the core themes. The major thing in Garland which is weird is the border on the ul and the fact that there is a gap between li. I propose removing the borders from the CSS as the easiest and cleanest fix for the border issue. It's a simple patch but what do others think on this?

I haven't had time to look at the gap issue but I think it needs to be addressed as well.

Comments

add1sun’s picture

Status: Active » Needs review
StatusFileSize
new599 bytes

I'm thinking not to remove the border since it may confuse people who upgrade. I did track down the funky css in garland and here is a simple patch to override the necessary css to get nice menus looking normal in garland/minelli. All of the other core themes look fine with this as well.

add1sun’s picture

StatusFileSize
new3.8 KB

Bleh, Garland does funky theming to the whole header region so nice menus are completely borked there. Here is a new, much bigger patch that puts in the more specific overrides to make it work in the header as well.

brenda003’s picture

Component: Theme Compat » Code

This is working for me in all core themes, unfortunately I don't have access to IE right now to test there.

One thing, though, is the filter:mask(); doesn't validate - I'm not sure what it even *does*, I've never seen it used before. Removing it didn't seem to do anything - what's it for?

add1sun’s picture

The filter is specifically for an IE fix to get the flyout menus to display properly over form selects. Filter activates IE's activeX rendering to make the damn thing work. :) We should probably pull that out to an IE hack file and conditionally included it so normal browsers validate OK. But that should be a separate issue.

Goose4all’s picture

i love you!

works like a charm.. ;)

thank you!!

add1sun’s picture

Status: Needs review » Fixed

patch applied to the 5 branch. thanks for testing folks!

Anonymous’s picture

Status: Fixed » Closed (fixed)