NxTIC/css/header/expanded.css

142 lines
13 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
=========================================================*/
/* [4] Functions
=========================================================*/
#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;
2016-05-25 15:27:18 +00:00
color: #555;
line-height: 4em;
white-space: nowrap;
font-weight: bold;
cursor: pointer;
}
#WRAPPER > #HEADER > #user-data > #user-picture {
display: block;
position: absolute;
top: 1.5em;
right: 4em;
width: calc( 4em - 2*1.5em);
height: calc( 4em - 2*1.5em);
border-radius: 50% / 50%;
background-color: #e8e8e8;
background-size: auto 80%;
cursor: default;
align-self: center;
}
#WRAPPER > #HEADER > #user-data > #user-picture.active {
background-color: #0e6dbf;
background-image: url("/src/dynamic/profile/sample.svg");
background-size: auto 100%;
}
#WRAPPER > #HEADER > #user-data:before {
content: '';
display: block;
position: absolute;
top: 0;
right: 0;
width: 4em;
height: 4em;
background: url("/src/static/header/expand@000000.svg") 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;
2016-04-22 08:27:58 +00:00
-webkit-transition: left 0.3s ease-in-out;
transition: left 0.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,ewoJInZlcnNpb24iOiAzLAoJImZpbGUiOiAiZXhwYW5kZWQuY3NzIiwKCSJzb3VyY2VzIjogWwoJCSIuLi9oZWFkZXIuc2NzcyIsCgkJIi4uL2NvbnN0YW50cy5zY3NzIgoJXSwKCSJzb3VyY2VzQ29udGVudCI6IFsKCQkiQGltcG9ydCAnY29uc3RhbnRzJztcblxuXG4jV1JBUFBFUiA+ICNIRUFERVJ7XG5cblx0LyogWzFdIEJhcnJlIGRlIHJlY2hlcmNoZVxuXHQ9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0qL1xuXHQmID4gI3NlYXJjaGJhcntcblx0XHRkaXNwbGF5OiBpbmxpbmUtYmxvY2s7XG5cdFx0cG9zaXRpb246IGFic29sdXRlO1xuXHRcdFx0dG9wOiAuOGVtO1xuXHRcdFx0bGVmdDogMWVtO1xuXHRcdFx0d2lkdGg6IDIwZW07XG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