(added top_menu opacity transition) |
m |
||
Line 29: | Line 29: | ||
margin-left: 20px; | margin-left: 20px; | ||
padding: 0px 10px; | padding: 0px 10px; | ||
+ | background: linear-gradient(0deg, #383838, #444444); | ||
border-radius: 0 0 5px 5px; | border-radius: 0 0 5px 5px; | ||
opacity: 0; | opacity: 0; |
Revision as of 09:36, 12 July 2016
/** Main Styles iGEM-Team Bonn
feel free to use stuff from here but please credit
- /
/* * * * * * * * * * * * * * * * * * * * * * * * * iGEM Menu
- * * * * * * * * * * * * * * * * * * * * * * * */
- sideMenu, #sideMenu * {
box-sizing: content-box; }
- sideMenu {
display: none; border: 1px solid #222; border-radius: 5px; }
- top_menu_under {
display: none; }
- top_menu_14 {
width: auto; height: 24px; margin-left: 20px; padding: 0px 10px; background: linear-gradient(0deg, #383838, #444444); border-radius: 0 0 5px 5px; opacity: 0; transition: opacity 0.1s linear; }
- top_menu_14:hover {
opacity: 0.95; }
- top_menu_14 .submenu {
top: 22px !important; opacity: 0.85; }
- top_menu_inside {
width: auto; margin-left: 0px; border: none; }
- top_menu_inside ul {
display: inline-block; margin-left: 15px; }
- top_menu_inside ul li {
padding-top: 2px; padding-bottom: 4px; }
- user_item {
margin-right: 0px !important; padding: 4px !important; }
- bars_item {
position: absolute !important; top: 0px !important; left: 0px !important; float: left !important; }