(fixed sideMenu, little improvements) |
(added top_menu opacity transition) |
||
Line 31: | Line 31: | ||
border-radius: 0 0 5px 5px; | border-radius: 0 0 5px 5px; | ||
opacity: 0; | opacity: 0; | ||
+ | transition: opacity 0.1s linear; | ||
} | } | ||
Revision as of 09:26, 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; 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; }