NxTIC/css/menu-side/nested.css

76 lines
11 KiB
CSS

/* [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("/f/svg/sub/st/menu-side/aaaaaa") 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("/f/svg/sub/st/menu-side/000000");
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: #2290eb;
background-color: #399ced;
background-image: url("/f/svg/sub-active/st/menu-side/ffffff");
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("/f/svg/sub/st/menu-side/777777") 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("/f/svg/sub/st/menu-side/000000"); }
#WRAPPER > #MENU-SIDE > span:not(.icon):not(.active) + div.sub > span {
display: none; }
/*# sourceMappingURL=data:application/json;base64,ewoJInZlcnNpb24iOiAzLAoJImZpbGUiOiAibmVzdGVkLmNzcyIsCgkic291cmNlcyI6IFsKCQkiLi4vbWVudS1zaWRlLnNjc3MiLAoJCSIuLi9jb25zdGFudHMuc2NzcyIKCV0sCgkic291cmNlc0NvbnRlbnQiOiBbCgkJIkBpbXBvcnQgJ2NvbnN0YW50cyc7XG5cbiNXUkFQUEVSID4gI01FTlUtU0lERXtcblxuXHQvKiBbMV0gRWxlbWVudHMgZHUgbWVudVxuXHQ9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0qL1xuXHQmID4gc3Bhbntcblx0XHRkaXNwbGF5OiBibG9jaztcblx0XHRwb3NpdGlvbjogcmVsYXRpdmU7XG5cdFx0XHR3aWR0aDogY2FsYyggMTAwJSAtIDIqMWVtIC0gMioxLjVlbSApO1xuXG5cdFx0cGFkZGluZzogLjhlbSAxLjVlbTtcblx0XHRwYWRkaW5nLWxlZnQ6IGNhbGMoIDEuNWVtICsgMioxZW0gKTtcblxuXHRcdGJvcmRlci1ib3R0b206IDFweCBzb2xpZCB0cmFuc3BhcmVudDtcblxuXHRcdGJhY2tncm91bmQ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