Skip to main content
xenoveritas.org

Main navigation

  • Categories
  • Home
  • Links
  • Name Generator
  • Scramble
User account menu
  • Log in

Breadcrumb

  1. Home

Mozilla-Related Tricks

By Xenoveritas, 11 January, 2006
  • Add new comment

Like the default Firefox theme on your Windows XP machine, but dislike the way the menus look? Want them to look more like the Windows XP menus? You can fix them by applying some custom CSS via your userChrome.css file.

Simply add the following to your userChrome.css file:

/*
 * Make the menus look like Windows XP menus
 */

menubar > menu[_moz-menuactive="true"] {
  border: 1px solid Highlight !important;
  -moz-border-top-colors: Highlight !important;
  -moz-border-right-colors: Highlight !important;
  -moz-border-bottom-colors: Highlight !important;
  -moz-border-left-colors: Highlight !important;
  background-color: Highlight !important;
  color: HighlightText !important;
}

menubar > menu[_moz-menuactive="true"][open="true"] {
  background-color: Highlight !important;
  border: 1px solid Highlight !important;
  -moz-border-top-colors: Highlight !important;
  -moz-border-right-colors: Highlight !important;
  -moz-border-bottom-colors: Highlight !important;
  -moz-border-left-colors: Highlight !important;
  color: HighlightText !important;
}

menupopup,
popup {
  border: 1px solid ThreeDShadow !important;
  -moz-border-top-colors: ThreeDShadow !important;
  -moz-border-right-colors: ThreeDShadow !important;
  -moz-border-bottom-colors: ThreeDShadow !important;
  -moz-border-left-colors: ThreeDShadow !important;
  padding: 1px !important;
}

/*
 * Above rule also grabs menulists, which we don't want.
 * Reset them.
 */

menulist > menupopup {
  border: 1px solid -moz-use-text-color !important;
  -moz-border-top-colors: -moz-use-text-color !important;
  -moz-border-right-colors: -moz-use-text-color !important;
  -moz-border-bottom-colors: -moz-use-text-color !important;
  -moz-border-left-colors: -moz-use-text-color !important;
  padding: 0px !important;
}

/*
 * Fix captions having the wrong background color
 * in tabs
 */

tabpanel caption {
  background-color: ThreeDHighlight !important;
}

This will make the Firefox menus appear like the Windows XP menus.

Current Games

I'm currently playing:

  • Final Fantasy XIV: Endwalker

I intend to maybe get around to finishing:

  • Literally anything else

Video Games Section

Thought for the Moment

I never have thoughts any more.

Old Thoughts

Has the LHC Destroyed the Earth?

  • Create new account
  • Reset your password
RSS feed
Powered by Drupal