User:Mathieu/menus.css

From Event-B
Jump to navigationJump to search

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* menu magic - many thanks to [[User:Zocky]]! */

span.popup_menu
{
	display:none;
	position:absolute;
	left:0px; top:2.3ex;
	z-index:2;
	width:10em; 
	background:white; 
	border:solid 1px grey;
}
span.popup_menu a {display:block;}
span.popup_menu_row a {display:inline;}
span.popup_menu_row {display:block;}
div.popup_drop {display:inline; position:relative}
div.popup_drop:hover span.popup_menu,
div.popup_drop span.popup_menu:hover {display:inline; background:White; padding:2px 2px 2px 2px}


/* other colours, styles and so on */
span.popup_menu a:hover {background:#CCf; color:#44f}
span.popup_mainlink {font-size: 140%; font-weight: bold}

table.popupBorderTable { background: #FFBE20 /* orange */ }
table.popupTable { background: #FFFAEF }