2015-10-20 20:10:38 +00:00
|
|
|
/*
|
2015-10-20 08:44:40 +00:00
|
|
|
*
|
|
|
|
* 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 ***/
|
|
|
|
/*******************************************/
|
2015-10-21 11:22:34 +00:00
|
|
|
#MENU .userdata{
|
2015-10-21 08:53:45 +00:00
|
|
|
/* position */
|
|
|
|
height: 5em;
|
|
|
|
|
|
|
|
/* background */
|
2015-10-22 21:06:25 +00:00
|
|
|
background: #28b965 url(../src/menu/userdata/visitor.svg) left 1em center no-repeat;
|
2015-10-21 11:22:34 +00:00
|
|
|
background-size: 3em auto;
|
|
|
|
|
|
|
|
/* foreground */
|
|
|
|
color: #fff;
|
|
|
|
text-indent: 5em;
|
|
|
|
font-weight: bold;
|
|
|
|
line-height: 5em;
|
|
|
|
|
2015-10-21 11:35:59 +00:00
|
|
|
/* extra */
|
2015-10-21 22:27:12 +00:00
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
/* animation */
|
|
|
|
transition: background-color .2s ease-in-out;
|
|
|
|
-moz-transition: background-color .2s ease-in-out;
|
|
|
|
-webkit-transition: background-color .2s ease-in-out;
|
|
|
|
-ms-transition: background-color .2s ease-in-out;
|
|
|
|
-o-transition: background-color .2s ease-in-out;
|
2015-10-21 08:53:45 +00:00
|
|
|
}
|
|
|
|
|
2015-10-21 22:27:12 +00:00
|
|
|
|
|
|
|
#MENU .userdata:hover{ background-color: #2dcc70; }
|
|
|
|
|
2015-10-22 06:55:12 +00:00
|
|
|
/* quand c'est un homme */
|
|
|
|
#MENU .userdata.M{ background-image: url(../src/menu/userdata/male.svg); }
|
|
|
|
|
|
|
|
/* quand c'est une femme */
|
|
|
|
#MENU .userdata.F{ background-image: url(../src/menu/userdata/female.svg); }
|
2015-10-22 10:07:41 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-10-21 22:27:12 +00:00
|
|
|
|
2015-10-21 08:53:45 +00:00
|
|
|
|
2015-10-21 11:22:34 +00:00
|
|
|
|
|
|
|
|
2015-12-01 18:45:00 +00:00
|
|
|
#MENU span[data-link]{
|
2015-10-20 08:44:40 +00:00
|
|
|
/* position */
|
|
|
|
display: block;
|
2015-10-20 20:10:38 +00:00
|
|
|
position: relative;
|
2015-10-21 08:53:45 +00:00
|
|
|
height: 4em;
|
2015-10-21 11:35:59 +00:00
|
|
|
padding-left: 5em;
|
2015-10-21 22:13:58 +00:00
|
|
|
margin-top: 1em ;
|
2015-10-20 08:44:40 +00:00
|
|
|
|
|
|
|
/* border */
|
2015-10-20 20:10:38 +00:00
|
|
|
border-bottom: 3px solid transparent;
|
2015-10-20 08:44:40 +00:00
|
|
|
|
|
|
|
/* foreground */
|
2015-10-21 08:53:45 +00:00
|
|
|
color: #92a6b0;
|
2015-10-21 11:35:59 +00:00
|
|
|
font-size: 14px;
|
2015-10-21 11:22:34 +00:00
|
|
|
line-height: 4.5em;
|
2015-10-21 08:53:45 +00:00
|
|
|
font-weight: bold;
|
2015-10-20 20:10:38 +00:00
|
|
|
text-transform: uppercase;
|
2015-10-20 08:44:40 +00:00
|
|
|
|
2015-10-20 20:10:38 +00:00
|
|
|
/* xTra */
|
|
|
|
cursor: pointer;
|
2015-10-21 08:53:45 +00:00
|
|
|
|
|
|
|
/* 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;
|
2015-10-21 11:35:59 +00:00
|
|
|
|
|
|
|
/* background */
|
|
|
|
background: transparent url(../src/menu_icon/home_grayscale.svg) left 1em center no-repeat;
|
|
|
|
background-size: 1.7em;
|
2015-10-21 11:42:28 +00:00
|
|
|
|
|
|
|
/* animation */
|
2015-10-21 17:13:56 +00:00
|
|
|
transition: background-position 0s, all .2s ease-in-out;
|
|
|
|
-moz-transition: background-position 0s, all .2s ease-in-out;
|
|
|
|
-webkit-transition: all 0s;
|
|
|
|
-ms-transition: background-position 0s, all .2s ease-in-out;
|
|
|
|
-o-transition: background-position 0s, all .2s ease-in-out;
|
2015-10-21 08:53:45 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2015-10-21 20:56:56 +00:00
|
|
|
#MENU span:hover,
|
|
|
|
#MENU span.active{
|
2015-10-21 11:35:59 +00:00
|
|
|
background: #233342 url(../src/menu_icon/home_grayscale.svg) left 1em center no-repeat;
|
|
|
|
background-size: 1.7em;
|
|
|
|
|
2015-10-21 08:53:45 +00:00
|
|
|
color: #fff;
|
2015-10-20 08:44:40 +00:00
|
|
|
}
|
|
|
|
|
2015-10-21 11:35:59 +00:00
|
|
|
|
|
|
|
/* gestion des différentes icônes */
|
2015-10-21 20:56:56 +00:00
|
|
|
#MENU span:nth-child(2){ background-image: url(../src/menu/menu_icon/home.svg); }
|
|
|
|
#MENU span:nth-child(3){ background-image: url(../src/menu/menu_icon/groups.svg); }
|
2016-01-02 13:21:31 +00:00
|
|
|
#MENU span:nth-child(4){ background-image: url(../src/menu/menu_icon/modules2.svg); }
|
|
|
|
#MENU span:nth-child(5){ background-image: url(../src/menu/menu_icon/marks2.svg); }
|
2015-10-29 23:01:35 +00:00
|
|
|
#MENU span:nth-child(6){ background-image: url(../src/menu/menu_icon/settings.svg); }
|
2015-10-21 11:35:59 +00:00
|
|
|
|
|
|
|
|
|
|
|
/* gestion de l'activation des différentes icônes */
|
2015-10-21 20:56:56 +00:00
|
|
|
#MENU span:nth-child(2):hover,
|
|
|
|
#MENU span:nth-child(2).active{ background-image: url(../src/menu/menu_icon/home@hover.svg); }
|
|
|
|
#MENU span:nth-child(3):hover,
|
|
|
|
#MENU span:nth-child(3).active{ background-image: url(../src/menu/menu_icon/groups@hover.svg); }
|
|
|
|
#MENU span:nth-child(4):hover,
|
2016-01-02 13:21:31 +00:00
|
|
|
#MENU span:nth-child(4).active{ background-image: url(../src/menu/menu_icon/modules2@hover.svg); }
|
2015-10-21 20:56:56 +00:00
|
|
|
#MENU span:nth-child(5):hover,
|
2016-01-02 13:21:31 +00:00
|
|
|
#MENU span:nth-child(5).active{ background-image: url(../src/menu/menu_icon/marks2@hover.svg); }
|
2015-10-21 20:56:56 +00:00
|
|
|
#MENU span:nth-child(6):hover,
|
2015-10-29 23:01:35 +00:00
|
|
|
#MENU span:nth-child(6).active{ background-image: url(../src/menu/menu_icon/settings@hover.svg); }
|
2015-10-22 10:07:41 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2015-12-01 18:45:00 +00:00
|
|
|
|
|
|
|
|
|
|
|
/* affichage de l'année de visualisation (en cours) */
|
|
|
|
#MENU #CURRENTYEAR{
|
|
|
|
/* position */
|
|
|
|
position: absolute;
|
|
|
|
bottom: 1em;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
/* foreground */
|
|
|
|
color: #92a6b0;
|
|
|
|
font-family: 'Ubuntu';
|
|
|
|
text-align: center;
|
|
|
|
}
|