NxTIC/css/menu-side/compact.css

33 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
=========================================================*/
2016-04-25 08:39:04 +00:00
/* [4] Functions
=========================================================*/
#WRAPPER > #MENU-SIDE { /* [1] Elements du menu =========================================================*/ /* [2] Gestion du menu deroulant =========================================================*/ /* (1) Quand le menu est deroule */ }
2016-04-22 08:27:58 +00:00
#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 */ }
2016-04-22 08:27:58 +00:00
#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; }
2016-04-25 08:39:04 +00:00
#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; }
2016-04-25 08:39:04 +00:00
#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; }
2016-04-25 08:39:04 +00:00
/*# sourceMappingURL=data:application/json;base64,ewoJInZlcnNpb24iOiAzLAoJImZpbGUiOiAiY29tcGFjdC5jc3MiLAoJInNvdXJjZXMiOiBbCgkJIi4uL21lbnUtc2lkZS5zY3NzIiwKCQkiLi4vY29uc3RhbnRzLnNjc3MiCgldLAoJInNvdXJjZXNDb250ZW50IjogWwoJCSJAaW1wb3J0ICdjb25zdGFudHMnO1xuXG4jV1JBUFBFUiA+ICNNRU5VLVNJREV7XG5cblx0LyogWzFdIEVsZW1lbnRzIGR1IG1lbnVcblx0PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ki9cblx0JiA+IHNwYW57XG5cdFx0ZGlzcGxheTogYmxvY2s7XG5cdFx0cG9zaXRpb246IHJlbGF0aXZlO1xuXHRcdFx0d2lkdGg6IGNhbGMoIDEwMCUgLSAyKjFlbSAtIDIqMS41ZW0gKTtcblxuXHRcdHBhZGRpbmc6IC44ZW0gMS41ZW07XG5cdFx0cGFkZGluZ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