NxTIC/css/header/nested.css

106 lines
12 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,ewoJInZlcnNpb24iOiAzLAoJImZpbGUiOiAibmVzdGVkLmNzcyIsCgkic291cmNlcyI6IFsKCQkiLi4vaGVhZGVyLnNjc3MiLAoJCSIuLi9jb25zdGFudHMuc2NzcyIKCV0sCgkic291cmNlc0NvbnRlbnQiOiBbCgkJIkBpbXBvcnQgJ2NvbnN0YW50cyc7XG5cblxuI1dSQVBQRVIgPiAjSEVBREVSe1xuXG5cdC8qIFsxXSBCYXJyZSBkZSByZWNoZXJjaGVcblx0PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ki9cblx0JiA+ICNzZWFyY2hiYXJ7XG5cdFx0ZGlzcGxheTogaW5saW5lLWJsb2NrO1xuXHRcdHBvc2l0aW9uOiBhYnNvbHV0ZTtcblx0XHRcdHRvcDogLjhlbTtcblx0XHRcdGxlZnQ6IDFlbTtcblx0XHRcdHdpZHRoOiAyMGVtO1xuXHRcdFx0aGVpZ2h0OiAyZW07XG5cblx0XHRwYWRkaW5nOiAuMmVtIDFlbTtcblxuXHRcdGJvcmRlcjogMDtcblx0XHRib3JkZXItcmFkaXVzOiAzcHg7XG5cblx0XHRiYWNrZ3JvdW5kLWNvbG9yOiAkdGhlbWUtYmc7XG5cblx0fVxuXG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