2016-02-02 22:56:48 +00:00
|
|
|
@import 'constants';
|
|
|
|
|
2016-02-02 22:29:30 +00:00
|
|
|
#WRAPPER > #CONTAINER{
|
|
|
|
|
2016-02-05 09:26:10 +00:00
|
|
|
/* [1] Menu interne (sub-menu-side)
|
|
|
|
=========================================================*/
|
|
|
|
|
2016-02-02 22:29:30 +00:00
|
|
|
& > .sub-menu-side{
|
|
|
|
display: block;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
// Les liens du menu
|
|
|
|
& > span[data-sublink]{
|
|
|
|
display: block;
|
|
|
|
position: relative;
|
2016-02-03 10:30:46 +00:00
|
|
|
width: 7.5em;
|
2016-02-02 22:29:30 +00:00
|
|
|
|
2016-02-02 23:26:11 +00:00
|
|
|
padding: .3em 1em .3em 2em;
|
2016-02-03 08:00:06 +00:00
|
|
|
margin: 1em ;
|
2016-02-02 22:29:30 +00:00
|
|
|
|
|
|
|
border-radius: 3px;
|
|
|
|
|
2016-02-02 22:56:48 +00:00
|
|
|
color: $sub-menu-color;
|
2016-02-02 22:29:30 +00:00
|
|
|
text-shadow: 1px 1px white;
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
|
|
transition: all .2s;
|
|
|
|
|
2016-02-02 22:56:48 +00:00
|
|
|
cursor: pointer;
|
|
|
|
|
2016-02-03 10:30:46 +00:00
|
|
|
overflow: hidden;
|
|
|
|
|
2016-02-02 22:56:48 +00:00
|
|
|
// Dimension/Position des svg (icones)
|
|
|
|
& > .svg > svg{
|
|
|
|
display: inline-block;
|
|
|
|
position: absolute;
|
2016-02-02 23:26:11 +00:00
|
|
|
left: .5em;
|
|
|
|
// left: 100%;
|
2016-02-02 22:56:48 +00:00
|
|
|
top: 50%;
|
|
|
|
width: 1em;
|
|
|
|
height: 1em;
|
|
|
|
|
|
|
|
transform: translateY(-50%);
|
|
|
|
|
|
|
|
// Coloration pour tous les elements du svg
|
|
|
|
& path{
|
|
|
|
fill: $sub-menu-color !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-02-02 22:29:30 +00:00
|
|
|
&:hover,
|
|
|
|
&.active{
|
2016-02-02 22:56:48 +00:00
|
|
|
color: darken($sub-menu-color, 30);
|
2016-02-02 22:29:30 +00:00
|
|
|
background-color: #d8deea;
|
2016-02-02 22:56:48 +00:00
|
|
|
box-shadow: inset 0 0 4px #c8ced9;
|
|
|
|
|
|
|
|
& > .svg > svg path{
|
|
|
|
fill: darken($sub-menu-color, 30) !important;
|
|
|
|
}
|
|
|
|
|
2016-02-02 22:29:30 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
2016-02-02 23:26:11 +00:00
|
|
|
|
2016-02-02 22:29:30 +00:00
|
|
|
|
2016-02-02 23:26:11 +00:00
|
|
|
// On decale le premier
|
|
|
|
& > span[data-sublink]:nth-child(1){
|
|
|
|
margin-top: 1em;
|
|
|
|
}
|
|
|
|
|
2016-02-02 22:29:30 +00:00
|
|
|
}
|
|
|
|
|
2016-02-05 09:26:10 +00:00
|
|
|
|
|
|
|
/* [2] Section (contenu)
|
|
|
|
=========================================================*/
|
2016-02-03 08:00:06 +00:00
|
|
|
& > section{
|
|
|
|
// background-color: #f00;
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
2016-02-02 22:29:30 +00:00
|
|
|
|
2016-02-05 09:26:10 +00:00
|
|
|
|
|
|
|
/* [3] INLINE-BOX pour afficher les listes de donnees
|
|
|
|
=========================================================*/
|
|
|
|
& > section > .inline-box{
|
|
|
|
display: block;
|
|
|
|
position: relative;
|
|
|
|
width: calc( 100% - 2*1em - 2*1em );
|
|
|
|
margin: 1em;
|
|
|
|
padding: 1em;
|
|
|
|
|
|
|
|
border-radius: 3px;
|
|
|
|
box-shadow: 0 0 1px #b7b7b7;
|
|
|
|
|
|
|
|
background-color: #fff;
|
2016-02-05 09:51:38 +00:00
|
|
|
|
|
|
|
/* (1) Titre de l'element */
|
|
|
|
.title{
|
|
|
|
display: inline-block;
|
|
|
|
|
|
|
|
font-size: 1.3em;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* (2) Code RFID */
|
|
|
|
.code{
|
|
|
|
display: inline-block;
|
|
|
|
color: #777;
|
|
|
|
|
|
|
|
// svg (icone)
|
|
|
|
svg{
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
margin-left: .5em;
|
|
|
|
margin-right: .5em;
|
|
|
|
margin-bottom: -.6em;
|
|
|
|
width: 1.5em;
|
|
|
|
height: 2em;
|
|
|
|
|
|
|
|
path{
|
|
|
|
fill: #777 !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
/* (3) Adresse mail */
|
|
|
|
.mail{
|
|
|
|
display: block;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
margin: 1em;
|
|
|
|
|
|
|
|
color: #777;
|
|
|
|
}
|
|
|
|
|
2016-02-05 09:26:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2016-02-02 22:29:30 +00:00
|
|
|
}
|