Difference between revisions of "Template:UBonn HBRS/css/main"

(added top_menu opacity)
(fixed disappearing submenus (added padding-bottom to list items), added different opacity for submenu, fixed hover)
Line 19: Line 19:
 
padding: 0px 10px;
 
padding: 0px 10px;
 
border-radius: 0 0 5px 5px;
 
border-radius: 0 0 5px 5px;
opacity: 0.85;
+
opacity: 0;
visibility: hidden;
+
 
}
 
}
  
 
#top_menu_14:hover {
 
#top_menu_14:hover {
visibility: visible;
+
opacity: 0.95;
 
}
 
}
  
 
#top_menu_14 .submenu {
 
#top_menu_14 .submenu {
 
top: 22px !important;
 
top: 22px !important;
 +
opacity: 0.8;
 
}
 
}
  
Line 44: Line 44:
 
#top_menu_inside ul li {
 
#top_menu_inside ul li {
 
padding-top: 2px;
 
padding-top: 2px;
 +
padding-bottom: 4px;
 
}
 
}
  

Revision as of 08:46, 12 July 2016

/** Main Styles

  • /

/* iGEM Menu */

  1. sideMenu {

display: none; }

  1. top_menu_under {

display: none; }

  1. top_menu_14 {

width: auto; height: 24px; margin-left: 20px; padding: 0px 10px; border-radius: 0 0 5px 5px; opacity: 0; }

  1. top_menu_14:hover {

opacity: 0.95; }

  1. top_menu_14 .submenu {

top: 22px !important; opacity: 0.8; }

  1. top_menu_inside {

width: auto; margin-left: 0px; border: none; }

  1. top_menu_inside ul {

display: inline-block; margin-left: 15px; }

  1. top_menu_inside ul li {

padding-top: 2px; padding-bottom: 4px; }

  1. user_item {

margin-right: 0px !important; padding-top: 2px !important; }

  1. bars_item {

position: absolute !important; top: 0px !important; left: 0px !important; float: left !important; }