NxTIC/css/menu-side/nested.css

74 lines
11 KiB
CSS
Raw Normal View History

/* [1] COULEURS
=========================================================*/
/* (1) COULEURS DU THEME $DEFAULT */
/* (2) COULEURS DE THEME $DARK */
2016-04-22 08:27:58 +00:00
/* (3) Couleurs du theme pour la timeline */
/* [2] DIMENSIONS
=========================================================*/
/* (1) Layout de base */
2016-04-22 08:27:58 +00:00
/* [3] Mixins
=========================================================*/
#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;
2016-04-22 08:27:58 +00:00
-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;
2016-04-22 08:27:58 +00:00
-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: #313541 url("/f/svg/sub/st/menu-side/888888") 1.5em center no-repeat;
background-size: .5em;
color: #7a7a7a;
font-size: .85em;
cursor: pointer;
2016-04-22 08:27:58 +00:00
-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: #ffffff;
background-image: url("/f/svg/sub/st/menu-side/ffffff"); }
#WRAPPER > #MENU-SIDE > span:not(.icon):not(.active) + div.sub > span {
display: none; }
2016-04-22 08:27:58 +00:00
/*# sourceMappingURL=data:application/json;base64,ewoJInZlcnNpb24iOiAzLAoJImZpbGUiOiAibmVzdGVkLmNzcyIsCgkic291cmNlcyI6IFsKCQkiLi4vbWVudS1zaWRlLnNjc3MiLAoJCSIuLi9jb25zdGFudHMuc2NzcyIKCV0sCgkic291cmNlc0NvbnRlbnQiOiBbCgkJIkBpbXBvcnQgJ2NvbnN0YW50cyc7XG5cbiNXUkFQUEVSID4gI01FTlUtU0lERXtcblxuXHQvKiBbMV0gRWxlbWVudHMgZHUgbWVudVxuXHQ9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0qL1xuXHQmID4gc3Bhbntcblx0XHRkaXNwbGF5OiBibG9jaztcblx0XHRwb3NpdGlvbjogcmVsYXRpdmU7XG5cdFx0XHR3aWR0aDogY2FsYyggMTAwJSAtIDIqMWVtIC0gMioxLjVlbSApO1xuXG5cdFx0cGFkZGluZzogLjhlbSAxLjVlbTtcblx0XHRwYWRkaW5nLWx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