/* * * Gestion complète du MENU * ------------------------------------- * 1. propriétés complémentaires #MENU * 2. position textes * 3. icônes * 4. Labels * */ /*******************************************/ /*** 1. Propriétés complémentaires #MENU ***/ /*******************************************/ #MENU .icon{ /* position */ height: 5em; /* background */ background-color: #2dcc70; } #MENU a{ /* position */ display: block; position: relative; height: 4em; padding-left: 4em; margin-bottom: 1em ; /* border */ border-bottom: 3px solid transparent; /* foreground */ color: #92a6b0; font-size: 12px; line-height: 4em; font-weight: bold; text-transform: uppercase; /* xTra */ cursor: pointer; /* animation */ transition: .2s ease-in-out; -moz-transition: .2s ease-in-out; -webkit-transition: .2s ease-in-out; -ms-transition: .2s ease-in-out; -o-transition: .2s ease-in-out; } #MENU a:hover, #MENU a.active{ background-color: #233343; color: #fff; }