Skip to content

Remove custom submenu CSS and simplify nav styles#469

Merged
JoeProgrammer88 merged 1 commit intomainfrom
NavRefactor
Feb 21, 2026
Merged

Remove custom submenu CSS and simplify nav styles#469
JoeProgrammer88 merged 1 commit intomainfrom
NavRefactor

Conversation

@JoeProgrammer88
Copy link
Copy Markdown
Member

Summary

Removed all custom submenu-related CSS, including styling and hover effects for .submenu-container, .submenu-item, and .submenu classes. Cleaned up vendor-prefixed transitions and retained main menu item hover/background styles. Navigation now relies on default Bootstrap dropdown behavior.

Copilot Summary

This pull request makes several simplifications and cleanups to the navigation and menu-related CSS in site.css. The main focus is on removing unused or redundant styles, especially those related to submenus, and on reducing vendor-prefixed properties for a more modern and maintainable codebase.

Navigation and submenu CSS cleanup:

  • Removed all CSS rules related to .submenu-container, .submenu-item, and #bootstrap-override .submenu, including positioning, padding, and styling, as these submenu structures are no longer used or required.
  • Removed .submenu and .submenu-item from various selectors, reflecting that submenu-specific styles are no longer necessary. [1] [2] [3]

Vendor prefix and legacy property removal:

  • Removed all vendor-prefixed transition properties (-webkit-, -moz-, -o-) for color and background-color transitions, relying on standard CSS for modern browser support. [1] [2]

General navigation style adjustments:

  • Removed the position: absolute; property from .navbar-nav .dropdown-menu to allow for default Bootstrap positioning.
  • Removed display: -webkit-flex; and -webkit-justify-content from navigation layout, as standard flexbox is sufficient.

These changes help modernize the stylesheet, reduce complexity, and ensure that only actively used navigation elements are styled.

Removed all custom submenu-related CSS, including styling and hover effects for .submenu-container, .submenu-item, and .submenu classes. Cleaned up vendor-prefixed transitions and retained main menu item hover/background styles. Navigation now relies on default Bootstrap dropdown behavior.
@JoeProgrammer88 JoeProgrammer88 merged commit 18ad5ca into main Feb 21, 2026
1 check passed
@JoeProgrammer88 JoeProgrammer88 deleted the NavRefactor branch February 21, 2026 00:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant