This patch is a followup to #410646: "Secondary menu" exists but is no longer the default source for the secondary links - it should have gone in with the patch there, but was removed when all the Bartik code was taken out of that patch.

All it does is remove CSS for the "Secondary menu" menu/block that no longer exists in Drupal as a result of that patch.

In actuality, the surrounding code here seems a little suspicious, since (a) this is in an RTL file but doesn't seem to match any selectors from the LTR file, and (b) It seems to me like the styling for the "block-menu" class should cover this; no need to also target specific menus. But anyway, the patch for now just removes the obsolete rules for the secondary menu.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Jeff Burnz’s picture

Status: Needs review » Needs work

Its weird because core does much styling itself to display them inline so for LTR not a lot more is needed, however core uses display: inline; which does not reverse the order of links when in RTL mode, so we have to float them to force the reversing.

Theres some styles in style.css for the secondary menu, need to dig them out also, one is:

// line 681 style.css
#footer-wrapper ul#secondary-menu {
  margin: 1em 0;
}

Could be more but I didn't see any others immediately.

David_Rothstein’s picture

Status: Needs work » Needs review

I don't think so, actually... that one is for "secondary menu" (the theme feature formally known as 'secondary links'), not "secondary menu" (the menu/block).

So that one we still need to keep around (though I suppose you will move/change it as part of #889982: Move secondary links to the header in Bartik since at that point the secondary links won't be in the footer anymore).

If this isn't proof of why we need to fix #698014: Theme settings for main/secondary variables mismatch with menu settings, I don't know what is :)

Jeff Burnz’s picture

Status: Needs review » Reviewed & tested by the community

Oh for goodness sake, man I must have been tired...

Dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to CVS HEAD. Thanks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.