main/public_html/css/menu.css

60 lines
963 B
CSS
Raw Permalink Normal View History

2017-12-01 14:47:28 +00:00
/* Menu Item Wrapper */
#MENU .menu-item-wrapper{
display: block;
top: 0;
left: 0;
width: 100%;
height: 4em;
flex: 0 0 1;
font-size: .8em;
overflow: hidden;
}
/* Menu Standard Item */
#MENU .menu-item-wrapper .menu-item{
display: block;
top: 0;
left: 0;
width: calc( 100% - 3em );
2017-12-03 15:02:18 +00:00
height: calc( 100% - 1.4em );
2017-12-01 14:47:28 +00:00
2017-12-03 15:02:18 +00:00
background: #fff url('/image/menu/dashboard.svg') center left 1em no-repeat;
background-size: 1.2em auto;
2017-12-01 14:47:28 +00:00
2017-12-03 15:02:18 +00:00
padding-top: 1.4em;
2017-12-01 14:47:28 +00:00
padding-left: 3em;
color: #888;
letter-spacing: 2px;
overflow: hidden;
cursor: pointer;
transition: background-color .1s ease-in-out,
color .2s ease-in-out;
2017-12-01 14:47:28 +00:00
}
#MENU .menu-item:hover,
#MENU .menu-item.active{
color: #444;
background-color: #eef2f5;
}
/****************************/
/* Minified Menu */
#WRAPPER.min #MENU{
width: calc( 3.5em - 1px );
}
#WRAPPER.min #MENU .menu-item-wrapper .menu-item{
background-position: center center;
background-size: 50%;
}