2016-02-02 13:32:02 +00:00
|
|
|
@import 'constants';
|
|
|
|
|
|
|
|
#WRAPPER > #MENU-SIDE{
|
|
|
|
|
|
|
|
& > span[data-link]{
|
|
|
|
display: block;
|
|
|
|
position: relative;
|
2016-02-18 21:33:20 +00:00
|
|
|
width: calc( #{$menu-side-width} - 2*.7em - 2*.55em - 2*.01em );
|
|
|
|
height: calc( #{$menu-side-width} - 2*.7em - 2*.55em - 2*.01em );
|
2016-02-02 13:32:02 +00:00
|
|
|
|
|
|
|
// padding: 1em;
|
|
|
|
margin: 2em .7em;
|
|
|
|
padding: .55em;
|
|
|
|
|
|
|
|
border: .01em solid transparent;
|
|
|
|
border-radius: 2px;
|
2016-07-08 15:04:41 +00:00
|
|
|
|
2016-02-02 13:32:02 +00:00
|
|
|
|
2016-02-18 21:33:20 +00:00
|
|
|
// Decalage des elements du menu
|
2016-02-03 11:32:53 +00:00
|
|
|
&.mt{ // Margin Top
|
|
|
|
margin-top: 3em;
|
|
|
|
}
|
|
|
|
&.mb{ // Margin Bottom
|
|
|
|
margin-bottom: 3em;
|
|
|
|
}
|
|
|
|
|
2016-02-02 13:32:02 +00:00
|
|
|
color: #a2a2a2;
|
2016-02-18 21:33:20 +00:00
|
|
|
line-height: calc( #{$menu-side-width} - 2*.7em - 2*.55em - 2*.01em );
|
2016-02-02 13:32:02 +00:00
|
|
|
|
|
|
|
transition: color .3s, border .3s;
|
|
|
|
|
|
|
|
cursor: pointer;
|
2016-07-08 15:04:41 +00:00
|
|
|
|
2016-02-02 13:32:02 +00:00
|
|
|
svg, svg *{
|
2016-02-18 21:33:20 +00:00
|
|
|
width: calc( #{$menu-side-width} / 2.5 );
|
|
|
|
height: calc( #{$menu-side-width} / 2.5 );
|
2016-07-08 15:04:41 +00:00
|
|
|
|
2016-02-18 21:33:20 +00:00
|
|
|
// stroke: none !important;
|
|
|
|
// fill: #777 !important;
|
2016-02-02 13:32:02 +00:00
|
|
|
|
|
|
|
transition: fill .3s;
|
2016-07-08 15:04:41 +00:00
|
|
|
|
2016-02-14 21:50:07 +00:00
|
|
|
pointer-events: none;
|
2016-07-09 12:21:32 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
& #stylisable{ // pour les elements sauf le profil
|
|
|
|
fill: #a2a2a2 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
& #stroke-stylisable{ // pour le profil
|
|
|
|
stroke: #a2a2a2 !important;
|
|
|
|
}
|
2016-02-02 13:32:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
&[data-desc]:after{
|
|
|
|
content: attr(data-desc);
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
2016-02-19 12:42:28 +00:00
|
|
|
top: calc( #{$menu-side-width} / 4 - 2*.3em );
|
|
|
|
left: calc( #{$menu-side-width} * 1.15 - 2*.3em );
|
2016-02-02 13:32:02 +00:00
|
|
|
padding: .3em;
|
|
|
|
|
|
|
|
border-radius: 3px;
|
|
|
|
|
|
|
|
background-color: #2a2a2a;
|
|
|
|
|
|
|
|
color: #e2e2e2;
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
|
|
transition: transform .1s;
|
2016-07-08 15:04:41 +00:00
|
|
|
|
2016-02-02 13:32:02 +00:00
|
|
|
transform-origin: 0 0;
|
|
|
|
transform: scaleX(0);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&.active{
|
|
|
|
color: $theme-color;
|
|
|
|
border-color: #e6e6e6;
|
|
|
|
box-shadow: inset 0 0 .5em #eee;
|
|
|
|
|
|
|
|
&:hover:after{
|
|
|
|
transform: scaleX(1);
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
2016-02-18 21:33:20 +00:00
|
|
|
svg #stylisable{ // pour les elements sauf le profil
|
2016-02-03 11:32:53 +00:00
|
|
|
fill: #000 !important;
|
2016-02-02 13:32:02 +00:00
|
|
|
}
|
2016-02-18 21:33:20 +00:00
|
|
|
|
|
|
|
svg #stroke-stylisable{ // pour le profil
|
|
|
|
stroke: #000 !important;
|
|
|
|
}
|
2016-02-02 13:32:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
2016-07-08 15:04:41 +00:00
|
|
|
|
2016-02-02 13:32:02 +00:00
|
|
|
|
|
|
|
}
|