NxTIC/css/menu-side/expanded.css

87 lines
9.4 KiB
CSS
Raw Normal View History

/* [1] COULEURS
=========================================================*/
/* (1) COULEURS DU THEME $DEFAULT */
/* (2) COULEURS DE THEME $DARK */
/* [2] DIMENSIONS
=========================================================*/
/* (1) Layout de base */
#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;
transition: color .2s ease-in-out, background .2s ease-in-out, box-shadow .2s ease-in-out, border .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;
transition: fill .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;
transition: color .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;
}
/*# sourceMappingURL=data:application/json;base64,ewoJInZlcnNpb24iOiAzLAoJImZpbGUiOiAiZXhwYW5kZWQuY3NzIiwKCSJzb3VyY2VzIjogWwoJCSIuLi9tZW51LXNpZGUuc2NzcyIsCgkJIi4uL2NvbnN0YW50cy5zY3NzIgoJXSwKCSJzb3VyY2VzQ29udGVudCI6IFsKCQkiQGltcG9ydCAnY29uc3RhbnRzJztcblxuI1dSQVBQRVIgPiAjTUVOVS1TSURFe1xuXG5cdC8qIFsxXSBFbGVtZW50cyBkdSBtZW51XG5cdD09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PSovXG5cdCYgPiBzcGFue1xuXHRcdGRpc3BsYXk6IGJsb2NrO1xuXHRcdHBvc2l0aW9uOiByZWxhdGl2ZTtcblx0XHRcdHdpZHRoOiBjYWxjKCAxMDAlIC0gMioxZW0gLSAyKjEuNWVtICk7XG5cblx0XHRwYWRkaW5nOiAuOGVtIDEuNWVtO1xuXHRcdHBhZGRpbmctbGVmdDogY2FsYyggMS41ZW0gKyAyKjFlbSApO1xuXG5cdFx0Ym9yZGVyLWJvdHRvbTogMXB4IHNvbGlkIHRyYW5zcGFyZW50O1xuXG5cdFx0YmFja2dyb3VuZDogdXJsKCcvZi9zdmcvc3ViL3N0L21lbnUtc2lkZS9hYWFhYWEnKSByaWdodCAxLjVlbSBjZW50ZXIgbm8tcmVwZWF0O1xuXHRcdGJhY2tncm91bmQtc2l6ZTogLjVlbSAuNWVtO1xuX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