NxTIC/subDir/public_html/css/expanded/menu-side.css

95 lines
12 KiB
CSS
Raw Permalink Normal View History

/* [1] COULEURS
=========================================================*/
/* (1) COULEURS DU THEME $DEFAULT */
/* (2) COULEURS DE THEME $DARK */
/* (3) Couleurs du theme pour la timeline */
/* [2] DIMENSIONS
=========================================================*/
/* (1) Layout de base */
/* [3] Mixins
=========================================================*/
/* [4] Functions
=========================================================*/
#WRAPPER > #MENU-SIDE {
/* [1] Elements du menu
=========================================================*/
/* [2] Gestion du menu deroulant
=========================================================*/
/* (1) Quand le menu est deroule */
}
#WRAPPER > #MENU-SIDE > span {
display: block;
position: relative;
width: calc( 100% - 2*1em - 2*1.5em);
padding: .8em 1.5em;
padding-left: calc( 1.5em + 2*1em);
border-bottom: 1px solid transparent;
background: url("/subDir/src/static/menu-side/sub@aaaaaa.svg") right 1.5em center no-repeat;
background-size: .5em .5em;
color: #666;
font-size: .85em;
-webkit-transition: color 0.2s ease-in-out, background 0.2s ease-in-out, box-shadow 0.2s ease-in-out, border 0.2s ease-in-out;
transition: color 0.2s ease-in-out, background 0.2s ease-in-out, box-shadow 0.2s ease-in-out, border 0.2s ease-in-out;
cursor: pointer;
/* (1) Icone svg */
/* (2) Animation de @hover */
/* (3) Animation quand .active */
}
#WRAPPER > #MENU-SIDE > span > svg, #WRAPPER > #MENU-SIDE > span > svg * {
position: absolute;
top: calc( 50% - 1em/2);
left: 1.5em;
width: 1em;
height: 1em;
fill: #939393 !important;
-webkit-transition: fill 0.2s ease-in-out;
transition: fill 0.2s ease-in-out;
}
#WRAPPER > #MENU-SIDE > span:not(.active):hover {
background-image: url("/subDir/src/static/menu-side/sub@000000.svg");
color: #000;
}
#WRAPPER > #MENU-SIDE > span:not(.active):hover > svg, #WRAPPER > #MENU-SIDE > span:not(.active):hover > svg * {
fill: #000 !important;
}
#WRAPPER > #MENU-SIDE > span.active {
border-bottom-color: #0c5fa7;
background-color: #0e6dbf;
background-image: url("/subDir/src/static/menu-side/sub-active@ffffff.svg");
color: #ffffff;
}
#WRAPPER > #MENU-SIDE > span.active > svg, #WRAPPER > #MENU-SIDE > span.active > svg * {
fill: #fff !important;
}
#WRAPPER > #MENU-SIDE > span:not(.icon) + div.sub > span {
display: block;
position: relative;
width: calc( 100% - 1.5em - 2.5em);
padding: .5em 1.5em;
padding-left: 2.5em;
background: #eee url("/subDir/src/static/menu-side/sub@777777.svg") 1.5em center no-repeat;
background-size: .5em;
color: #777777;
font-size: .85em;
cursor: pointer;
-webkit-transition: color 0.2s ease-in-out;
transition: color 0.2s ease-in-out;
}
#WRAPPER > #MENU-SIDE > span:not(.icon) + div.sub > span:hover, #WRAPPER > #MENU-SIDE > span:not(.icon) + div.sub > span.active {
color: #000;
background-image: url("/subDir/src/static/menu-side/sub@000000.svg");
}
#WRAPPER > #MENU-SIDE > span:not(.icon):not(.active) + div.sub > span {
display: none;
}
/*# sourceMappingURL=data:application/json;base64,ewoJInZlcnNpb24iOiAzLAoJImZpbGUiOiAibWVudS1zaWRlLmNzcyIsCgkic291cmNlcyI6IFsKCQkiLi4vbWVudS1zaWRlLnNjc3MiLAoJCSIuLi9jb25zdGFudHMuc2NzcyIKCV0sCgkic291cmNlc0NvbnRlbnQiOiBbCgkJIkBpbXBvcnQgJ2NvbnN0YW50cyc7XG5cbiNXUkFQUEVSID4gI01FTlUtU0lERXtcblxuXHQvKiBbMV0gRWxlbWVudHMgZHUgbWVudVxuXHQ9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0qL1xuXHQmID4gc3Bhbntcblx0XHRkaXNwbGF5OiBibG9jaztcblx0XHRwb3NpdGlvbjogcmVsYXRpdmU7XG5cdFx0XHR3aWR0aDogY2FsYyggMTAwJSAtIDIqMWVtIC0gMioxLjVlbSApO1xuXG5cdFx0cGFkZGluZzogLjhlbSAxLjVlbTtcblx0XHRwYWRkaW5nLWxlZnQ6IGNhbGMoIDEuNWVtICsgMioxZW0gKTtcblxuXHRcdGJvcmRlci1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