NxTIC/css/expanded/panel-list.css

229 lines
27 KiB
CSS
Raw Normal View History

/* [1] COULEURS
=========================================================*/
/* (1) COULEURS DU THEME $DEFAULT */
/* (2) COULEURS DE THEME $DARK */
/* (3) Couleurs du theme pour la timeline */
/* [2] DIMENSIONS
=========================================================*/
/* (1) Layout de base */
/* [3] Mixins
=========================================================*/
/* [4] Functions
=========================================================*/
/* [1] Panneau d'ajout/suppression d'elements
=========================================================*/
#WRAPPER > #CONTAINER section[data-panel-list] {
display: block;
position: relative;
border-radius: 3px;
border: 1px solid #ccc;
background-color: #fff;
font-size: .9em;
color: #000;
/* (1) Header (titre + ajout) */
/* (2) Description (sous le header) */
/* (3) Liste des elements */
/* (5) Formulaire d'ajout d'un nouvel element */
}
#WRAPPER > #CONTAINER section[data-panel-list] > div[data-header] {
display: flex;
position: relative;
flex-direction: row;
flex-wrap: nowrap;
justify-content: space-between;
align-items: center;
padding: .5em .7em;
border-radius: 3px 3px 0 0;
border-bottom: 1px solid #ccc;
background-color: #f5f5f5;
box-shadow: inset 0 0 5px #eee;
}
#WRAPPER > #CONTAINER section[data-panel-list] > div[data-header] > span,
#WRAPPER > #CONTAINER section[data-panel-list] > div[data-header] > button {
color: #333;
font-weight: bold;
line-height: 2em;
}
#WRAPPER > #CONTAINER section[data-panel-list] > div[data-header] > button {
padding: .1em .7em;
border-radius: 3px;
border: 1px solid #777;
background: #ecf0f1;
-webkit-transition: all 0.1s ease-in-out;
transition: all 0.1s ease-in-out;
color: #777;
}
#WRAPPER > #CONTAINER section[data-panel-list] > div[data-header] > button:hover {
background: #0e6dbf;
border-color: #0b528f;
color: #fff;
}
#WRAPPER > #CONTAINER section[data-panel-list] > div[data-description] {
display: block;
position: relative;
border-bottom: 1px solid #ccc;
padding: .7em .7em;
color: #555;
}
#WRAPPER > #CONTAINER section[data-panel-list] > ul[data-list] {
display: flex;
position: relative;
flex-direction: column;
justify-content: flex-start;
flex-wrap: nowrap;
margin: 0;
padding: 0;
list-style: none;
/* (4) Chaque element de la liste */
}
#WRAPPER > #CONTAINER section[data-panel-list] > ul[data-list] > li[data-element] {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
flex-wrap: nowrap;
padding: 1em;
/* (4.1) Logo et type d'element */
/* (4.2) Donnees descriptives */
/* (4.3) Bouton de suppression */
}
#WRAPPER > #CONTAINER section[data-panel-list] > ul[data-list] > li[data-element]:not(:last-child) {
border-bottom: 1px solid #ccc;
}
#WRAPPER > #CONTAINER section[data-panel-list] > ul[data-list] > li[data-element] > div:nth-child(1) {
display: flex;
width: 10em;
height: 6em;
flex-direction: column;
justify-content: flex-end;
align-items: center;
background-size: auto 50%;
}
#WRAPPER > #CONTAINER section[data-panel-list] > ul[data-list] > li[data-element] > div:nth-child(1)[data-token] {
background: url("/src/static/container/token@666666.svg") center 1em no-repeat;
}
#WRAPPER > #CONTAINER section[data-panel-list] > ul[data-list] > li[data-element] > div:nth-child(1)[data-token].active {
background-image: url("/src/static/container/token@0e6dbf.svg");
}
#WRAPPER > #CONTAINER section[data-panel-list] > ul[data-list] > li[data-element] > div:nth-child(1)[data-user] {
background: url("/src/static/container/user@666666.svg") center 1em no-repeat;
}
#WRAPPER > #CONTAINER section[data-panel-list] > ul[data-list] > li[data-element] > div:nth-child(1)[data-user].active {
background-image: url("/src/static/container/user@0e6dbf.svg");
}
#WRAPPER > #CONTAINER section[data-panel-list] > ul[data-list] > li[data-element] > div:nth-child(1)[data-number] {
background: url("/src/static/container/phone_number@666666.svg") center 1em no-repeat;
}
#WRAPPER > #CONTAINER section[data-panel-list] > ul[data-list] > li[data-element] > div:nth-child(1)[data-number].active {
background-image: url("/src/static/container/phone_number@0e6dbf.svg");
}
#WRAPPER > #CONTAINER section[data-panel-list] > ul[data-list] > li[data-element] > div:nth-child(1) > span {
display: block;
padding: 0 .4em;
border-radius: 3px;
border: 1px solid #ddd;
font-size: .8em;
color: #555;
text-transform: uppercase;
font-weight: bold;
}
#WRAPPER > #CONTAINER section[data-panel-list] > ul[data-list] > li[data-element] > div:nth-child(n+2) {
display: flex;
position: relative;
flex: 10em;
padding: 1em;
flex-direction: column;
justify-content: flex-start;
align-items: flex-start;
font-size: 1em;
color: #000;
}
#WRAPPER > #CONTAINER section[data-panel-list] > ul[data-list] > li[data-element] > div:nth-child(n+2) > span[data-prefix]:before {
content: attr(data-prefix) ": ";
font-weight: normal;
}
#WRAPPER > #CONTAINER section[data-panel-list] > ul[data-list] > li[data-element] > button {
padding: .1em .7em;
height: 2em;
border-radius: 3px;
border: 1px solid #de2b08;
background: #fff;
color: #de2b08;
font-weight: bold;
-webkit-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
}
#WRAPPER > #CONTAINER section[data-panel-list] > ul[data-list] > li[data-element] > button:hover {
background: #de2b08;
color: #fff;
}
#WRAPPER > #CONTAINER section[data-panel-list] > div[data-add] {
display: none;
position: relative;
padding: 1em;
border-bottom: 1px solid #ccc;
background-color: #ecf0f1;
/* (5.1) Description du champ de texte */
/* (5.2) Champs de texte */
/* (5.3) Bouton de creation animation de @hover*/
}
#WRAPPER > #CONTAINER section[data-panel-list] > div[data-add].active {
display: block;
}
#WRAPPER > #CONTAINER section[data-panel-list] > div[data-add] > .label {
display: inline-block;
width: 18em;
padding-right: 2em;
text-align: right;
color: #3b494c;
}
#WRAPPER > #CONTAINER section[data-panel-list] > div[data-add] > input[type='text'],
#WRAPPER > #CONTAINER section[data-panel-list] > div[data-add] > input[type='email'],
#WRAPPER > #CONTAINER section[data-panel-list] > div[data-add] > input[type='password'] {
margin: 1em 0;
padding: .5em .7em;
border-radius: 3px;
border: 1px solid #ddd;
background-color: #fff;
color: #000;
font-weight: normal;
}
#WRAPPER > #CONTAINER section[data-panel-list] > div[data-add] > input[type='text']:focus,
#WRAPPER > #CONTAINER section[data-panel-list] > div[data-add] > input[type='email']:focus,
#WRAPPER > #CONTAINER section[data-panel-list] > div[data-add] > input[type='password']:focus {
border-color: #0e6dbf;
box-shadow: inset 0 0 2px #ddd;
}
#WRAPPER > #CONTAINER section[data-panel-list] > div[data-add] > input[type='submit']:hover {
background: #0e6dbf;
border-color: #0b528f;
color: #fff;
}
/*# sourceMappingURL=data:application/json;base64,ewoJInZlcnNpb24iOiAzLAoJImZpbGUiOiAicGFuZWwtbGlzdC5jc3MiLAoJInNvdXJjZXMiOiBbCgkJIi4uL3BhbmVsLWxpc3Quc2NzcyIsCgkJIi4uL2NvbnN0YW50cy5zY3NzIgoJXSwKCSJzb3VyY2VzQ29udGVudCI6IFsKCQkiQGltcG9ydCAnY29uc3RhbnRzJztcblxuLyogWzFdIFBhbm5lYXUgZCdham91dC9zdXBwcmVzc2lvbiBkJ2VsZW1lbnRzXG49PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0qL1xuI1dSQVBQRVIgPiAjQ09OVEFJTkVSIHNlY3Rpb25bZGF0YS1wYW5lbC1saXN0XXtcblx0ZGlzcGxheTogYmxvY2s7XG5cdHBvc2l0aW9uOiByZWxhdGl2ZTtcblxuXHRib3JkZXItcmFkaXVzOiAzcHg7XG5cdGJvcmRlcjogMXB4IHNvbGlkICNjY2M7XG5cblx0YmFja2dyb3VuZC1jb2xvcjogI2ZmZjtcblxuXHRmb250LXNpemU6IC45ZW07XG5cdGNvbG9yOiAjMDAwO1xuXG5cblx0LyogKDEpIEhlYWRlciAodGl0cmUgKyBham91dCkgKi9cblx0JiA+IGRpdltkYXRhLWhlYWRlcl17XG5cdFx0ZGlzcGxheTogZmxleDtcblx0XHRwb3NpdGlvbjogcmVsYXRpdmU7XG5cblx0XHQvLyBmbGV4IHByb3BlcnRpZXNcblx0XHRmbGV4LWRpcmVjdGlvbjogcm93O1xuXHRcdGZsZXgtd3JhcDogbm93cmFwO1xuXHRcdGp1c3RpZnktY29udGVudDogc3BhY2UtYmV0d2Vlbjtcblx0XHRhbGlnbi1pdGVtczogY2VudGVyO1xuXG5cdFx0cGFkZGluZzogLjVlbSAuN2VtO1xuXG5cdFx0Ym9yZG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