38 lines
11 KiB
CSS
38 lines
11 KiB
CSS
/* [1] COULEURS
|
|
=========================================================*/
|
|
/* (1) COULEURS DU THEME $DEFAULT */
|
|
/* (2) COULEURS DE THEME $DARK */
|
|
/* [2] DIMENSIONS
|
|
=========================================================*/
|
|
/* (1) Layout de base */
|
|
#WRAPPER > #HEADER { /* [1] Barre de recherche =========================================================*/ /* [2] Informations utilisateur =========================================================*/ /* (0) Conteneur */ /* [3] Menu deroulant pour l'administration du profil =========================================================*/ /* (3) Gestion de l'activation ou non de l'user panel */ }
|
|
|
|
#WRAPPER > #HEADER > #searchbar { display: inline-block; position: absolute; top: .8em; left: 1em; width: 20em; height: 2em; padding: .2em 1em; border: 0; border-radius: 3px; background-color: #e8e8e8; }
|
|
|
|
#WRAPPER > #HEADER > #user-data { display: inline-block; position: absolute; top: 0; right: 0; height: calc( 100% - 2*1em); /* (1) Username de l'utilisateur */ /* (2) Image du profil */ /* (3) Icone d'activation */ }
|
|
|
|
#WRAPPER > #HEADER > #user-data > #user-name { display: block; position: absolute; top: 0; right: calc( 4em*2 - 1em); height: 4em; padding: 0 1em; color: #fff; line-height: 4em; white-space: nowrap; font-weight: bold; cursor: pointer; }
|
|
|
|
#WRAPPER > #HEADER > #user-data > #user-picture { display: block; position: absolute; top: 1em; right: 4em; width: calc( 4em - 2*1em); height: calc( 4em - 2*1em); border-radius: 50% / 50%; background: #e8e8e8 url("/f/svg/nopic/st/header") center center no-repeat; background-size: auto 80%; cursor: default; align-self: center; }
|
|
|
|
#WRAPPER > #HEADER > #user-data > #user-picture.active { background-image: url("/f/svg/sample/dy/profile"); background-size: auto 100%; }
|
|
|
|
#WRAPPER > #HEADER > #user-data:before { content: ''; display: block; position: absolute; top: 0; right: 0; width: 4em; height: 4em; background: url("/f/svg/expand/st/header/ffffff") center center no-repeat; background-size: 1em 1em; cursor: pointer; }
|
|
|
|
#WRAPPER > #HEADER > .user-panel { display: block; position: absolute; top: calc( 4em - 1em); right: 0; margin: .5em; border-radius: 5px; border: 1px solid #cfcfcf; background-color: #fff; transition: left .3s ease-in-out; /* (1) Pour chaque element du menu */ }
|
|
|
|
#WRAPPER > #HEADER > .user-panel > span { display: block; position: relative; color: #000; padding: .5em 1em; padding-left: 2em; cursor: pointer; }
|
|
|
|
#WRAPPER > #HEADER > .user-panel > span:not(:last-child) { border-bottom: 1px solid #ddd; }
|
|
|
|
#WRAPPER > #HEADER > .user-panel > span:hover { background-color: #eee; }
|
|
|
|
#WRAPPER > #HEADER > #toggle-user-panel { display: none; }
|
|
|
|
#WRAPPER > #HEADER > #toggle-user-panel + .user-panel { left: 100%; }
|
|
|
|
#WRAPPER > #HEADER > #toggle-user-panel:checked + .user-panel { left: auto; }
|
|
|
|
#WRAPPER > #HEADER > #toggle-user-panel:checked + .user-panel:before { left: 7em; }
|
|
|
|
/*# sourceMappingURL=data:application/json;base64,ewoJInZlcnNpb24iOiAzLAoJImZpbGUiOiAiY29tcGFjdC5jc3MiLAoJInNvdXJjZXMiOiBbCgkJIi4uL2hlYWRlci5zY3NzIiwKCQkiLi4vY29uc3RhbnRzLnNjc3MiCgldLAoJInNvdXJjZXNDb250ZW50IjogWwoJCSJAaW1wb3J0ICdjb25zdGFudHMnO1xuXG5cbiNXUkFQUEVSID4gI0hFQURFUntcblxuXHQvKiBbMV0gQmFycmUgZGUgcmVjaGVyY2hlXG5cdD09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PSovXG5cdCYgPiAjc2VhcmNoYmFye1xuXHRcdGRpc3BsYXk6IGlubGluZS1ibG9jaztcblx0XHRwb3NpdGlvbjogYWJzb2x1dGU7XG5cdFx0XHR0b3A6IC44ZW07XG5cdFx0XHRsZWZ0OiAxZW07XG5cdFx0XHR3aWR0aDogMjBlbTtcblx0XHRcdGhlaWdodDogMmVtO1xuXG5cdFx0cGFkZGluZzogLjJlbSAxZW07XG5cblx0XHRib3JkZXI6IDA7XG5cdFx0Ym9yZGVyLXJhZGl1czogM3B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