NxTIC/css/global/nested.css

326 lines
43 KiB
CSS
Raw Normal View History

@charset "UTF-8";
/* [1] COULEURS
=========================================================*/
/* (1) COULEURS DU THEME $DEFAULT */
/* (2) COULEURS DE THEME $DARK */
/* [2] DIMENSIONS
=========================================================*/
/* (1) Layout de base */
/* [1] Panel list (tokens, utilisateurs, etc)
=========================================================*/
/* [1] COULEURS
=========================================================*/
/* (1) COULEURS DU THEME $DEFAULT */
/* (2) COULEURS DE THEME $DARK */
/* [2] DIMENSIONS
=========================================================*/
/* (1) Layout de base */
/* [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;
transition: all .1s ease-in-out;
color: #777; }
#WRAPPER > #CONTAINER section[data-panel-list] > div[data-header] > button:hover {
background: #399ced;
border-color: #1484df;
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("/f/svg/token/st/container/666666") 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("/f/svg/token/st/container/399ced"); }
#WRAPPER > #CONTAINER section[data-panel-list] > ul[data-list] > li[data-element] > div:nth-child(1)[data-user] {
background: url("/f/svg/user/st/container/666666") 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("/f/svg/user/st/container/399ced"); }
2016-04-20 09:59:21 +00:00
#WRAPPER > #CONTAINER section[data-panel-list] > ul[data-list] > li[data-element] > div:nth-child(1)[data-number] {
background: url("/f/svg/phone_number/st/container/666666") 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("/f/svg/phone_number/st/container/399ced"); }
#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;
font-weight: bold; }
#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;
transition: all .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: #399ced;
box-shadow: inset 0 0 2px #ddd; }
#WRAPPER > #CONTAINER section[data-panel-list] > div[data-add] > input[type='submit']:hover {
background: #399ced;
border-color: #1484df;
color: #fff; }
/* [2] Formulaire de type 'timeline'
=========================================================*/
/* [1] Formulaire de type timeline
=========================================================*/
#WRAPPER > #CONTAINER section[data-timeline] {
display: block;
position: relative;
background-color: #fff;
font-size: .9em;
color: #000;
/* (1) On ajoute le liseré à droite pour TOUS les éléments */
/* (2) Titres de sections */
/* (3) Titres des sous-sections */
/* (4) Titres genre text message */
/* (5) 'Tags' -> textes sur le liseré gauche */
/* (6) Input d'upload de fichier (css hack) */
/* (7) Inputs de type text */
/* (8) Gestion des espacements */ }
#WRAPPER > #CONTAINER section[data-timeline] *:not(.no-line) {
display: block;
color: #333;
margin: 0 40px;
padding: 5px 60px;
border-left: 2px solid #399ced; }
#WRAPPER > #CONTAINER section[data-timeline] h3:not(.no-line) {
display: block;
padding: 20px 40px;
font-size: 1.4em;
color: #fff;
font-weight: bold;
background-color: #399ced; }
#WRAPPER > #CONTAINER section[data-timeline] h3:not(.no-line)[data-n]:before {
2016-04-20 15:06:48 +00:00
content: attr(data-n);
display: inline-block;
position: absolute;
margin-top: .48em;
margin-left: -41px;
padding: 3px 12px;
border-radius: 50%;
box-shadow: 0 0 0 3px #fff;
background-color: #399ced;
2016-04-20 15:06:48 +00:00
font-size: 1.3em;
color: #fff;
font-weight: bold;
transform: translateX(-50%) translateY(-50%); }
#WRAPPER > #CONTAINER section[data-timeline] h4:not(.no-line) {
display: block;
padding: 20px 40px;
font-size: 1.2em;
color: #1068b0;
font-weight: bold; }
#WRAPPER > #CONTAINER section[data-timeline] h4:not(.no-line)[data-icon]:before {
content: attr(data-icon);
display: inline-block;
position: absolute;
margin-top: .8em;
margin-left: -41px;
padding: 7px;
border-radius: 50%;
box-shadow: 0 0 0 2px #fff;
background-color: #399ced;
font-size: 1em;
font-family: 'icomoon';
color: #fff;
font-weight: bold;
transform: translateX(-50%) translateY(-50%); }
#WRAPPER > #CONTAINER section[data-timeline] h5:not(.no-line) {
display: block;
padding: 20px 40px;
font-size: 1.2em;
color: #1068b0;
font-weight: bold; }
#WRAPPER > #CONTAINER section[data-timeline] h5:not(.no-line):before {
content: '';
display: inline-block;
position: absolute;
margin-top: .7em;
margin-left: -41px;
padding: 7px;
border-radius: 50%;
box-shadow: 0 0 0 2px #fff;
background-color: #399ced;
transform: translateX(-50%) translateY(-50%); }
#WRAPPER > #CONTAINER section[data-timeline] h5:not(.no-line)[data-text]:after {
content: attr(data-text);
padding: 6px 10px;
border-radius: 3px;
background: #399ced;
color: #fff;
font-weight: normal; }
#WRAPPER > #CONTAINER section[data-timeline] [data-tag] {
display: block;
padding: 40px 60px; }
#WRAPPER > #CONTAINER section[data-timeline] [data-tag]:before {
content: attr(data-tag);
display: inline-block;
position: absolute;
margin-top: .5em;
margin-left: -41px;
padding: 2px;
background-color: #fff;
font-size: 1.2em;
color: #399ced;
font-weight: bold;
transform: translateX(-50%) translateY(-50%); }
#WRAPPER > #CONTAINER section[data-timeline] input[type='file'] {
position: relative;
opacity: 0;
z-index: 10;
cursor: pointer; }
#WRAPPER > #CONTAINER section[data-timeline] input[type='file'] + span.file-input {
display: inline-block;
position: absolute;
margin-top: -1px;
margin-left: -290px;
width: calc( 290px - 2*15px);
height: 30px;
padding: 0 15px;
border-radius: 3px;
background: #ddd;
color: #333;
line-height: 30px;
font-weight: normal;
z-index: 9;
cursor: pointer; }
#WRAPPER > #CONTAINER section[data-timeline] input[type='file'] + span.file-input:before {
content: 'e ';
font-size: 1em;
font-family: 'icomoon';
color: #333;
font-weight: bold; }
#WRAPPER > #CONTAINER section[data-timeline] input:not([type='file']) {
display: inline;
width: auto;
margin: unset;
padding: 5px 10px;
margin-bottom: 5px;
margin-right: 15px;
border-radius: 0;
border: 1.5px solid #aaa;
font-size: .8em;
font-weight: normal; }
#WRAPPER > #CONTAINER section[data-timeline] [data-space] {
padding-top: 30px;
padding-bottom: 30px; }
/*# sourceMappingURL=data:application/json;base64,ewoJInZlcnNpb24iOiAzLAoJImZpbGUiOiAibmVzdGVkLmNzcyIsCgkic291cmNlcyI6IFsKCQkiLi4vZ2xvYmFsLnNjc3MiLAoJCSIuLi9jb25zdGFudHMuc2NzcyIsCgkJIi4uL3BhbmVsLWxpc3Quc2NzcyIKCV0sCgkic291cmNlc0NvbnRlbnQiOiBbCgkJIkBpbXBvcnQgJ2NvbnN0YW50cyc7XG5cbi8qIFsxXSBQYW5lbCBsaXN0ICh0b2tlbnMsIHV0aWxpc2F0ZXVycywgZXRjKVxuPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ki9cbkBpbXBvcnQgJ3BhbmVsLWxpc3QnO1xuXG4vKiBbMl0gRm9ybXVsYWlyZSBkZSB0eXBlICd0aW1lbGluZSdcbj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PSovXG4vLyBAaW1wb3J0ICd0aW1lbGluZS1mb3JtJztcblxuLyogWzFdIEZvcm11bGFpcmUgZGUgdHlwZSB0aW1lbGluZVxuPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ki9cbiNXUkFQUEVSID4gI0NPTlRBSU5FUiBzZWN0aW9uW2RhdGEtdGltZWxpbmVde1xuXHRkaXNwbGF5OiBibG9jaztcblx0cG9zaXRpb246IHJlbGF0aXZlO1xuXG5cdGJhY2tncm91bmQtY29sb3I6ICNmZmY7XG5cblx0Zm9udC1zaXplOiAuOWVtO1xuXHRjb2xvcjogIzAwMDtcblxuXHQvKiAoMSkgT24gYWpvdXRlIGxlIGxpc2Vyw6kgw6AgZHJvaXRlIHBvdXIgVE9VUyBsZXMgw6lsw6ltZW50cyAqL1xuXHQmICo6bm90KC5uby1saW5lKXtcblx0XHRkaXNwbGF5OiBibG9jaztcblxuXHRcdGNvbG9yOiAjMzMzO1xuXG5cdFx0bWFyZ2luOiAw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xuICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogIzM5OWNlZDtcblxuXHRcdFx0Zm9udC1zaXplOiAxZW07XG5cdFx0XHRmb250LWZhbWlseTogJ2ljb21vb24nO1xuXHRcdFx0Y29sb3I6ICNmZmY7XG5cdFx0XHRmb250LXdlaWdodDogYm9sZDtcblxuICAgICAgICAgICAgLy8gT24gY2VudHJlIHN1ciBsYSBsaWduZVxuICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKC01MCUpIHRyYW5zbGF0ZVkoLTUwJSk7XG5cdFx0fVxuXHR9XG5cblx0LyogKDQpIFRpdHJlcyBnZW5yZSB0ZXh0IG1lc3NhZ2UgKi9cblx0JiBoNTpub3QoLm5vLWxpbmUpe1xuXHRcdGRpc3BsYXk6IGJsb2NrO1xuXG5cdFx0cGFkZGluZzogMjBweCA0MHB4O1xuXG5cdFx0Zm9udC1zaXplOiAxLjJlbTtcblx0XHRjb2xvcjogZGFya2VuKCMzOTljZWQsIDIwKTtcblx0XHRmb250LXdlaWdodDogYm9sZDtcblxuXHRcdC8vIEdlc3Rpb24gZHUgYmVmb3JlIChjb21wdGV1ciBjc3MpIC8vXG5cdFx0JjpiZWZvcmV7XG5cdFx0XHRjb250ZW50OiAnJztcblxuICAgICAgICAgICAgZGlzcGxheToga