NxTIC/css/timeline-form/nested.css

248 lines
31 KiB
CSS
Raw Normal View History

@charset "UTF-8";
/* [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
=========================================================*/
/* [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) */
2016-04-22 08:27:58 +00:00
/* Contiendra l'input*/
/* Animation de hover*/
/* Animation de .active*/
/* (7) Inputs de type text */
/* (8) Gestion des espacements */
2016-04-22 08:27:58 +00:00
/* (9) <article> sert uniquement à regrouper */
/* (10) Gestion des espacements verticaux */
/* (11) Gestion des custom <select> */ }
#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;
2016-04-22 08:27:58 +00:00
background-color: #399ced;
/* TODO: Transformer les background en ::before pour que ca soit juste un cercle avec bg et border*/
/* FIXME: Corriger le liseré pour les autres navigateurs que FF*/
/* Gestion du before (compteur css) //*/ }
#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%;
2016-04-22 08:27:58 +00:00
/* Contour blanc*/
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;
2016-04-22 08:27:58 +00:00
/* On centre sur la ligne*/
transform: translateX(-50%) translateY(-50%);
-moz-transform: translateX(-50%) translateY(-50%);
-o-transform: translateX(-50%) translateY(-50%);
-ms-transform: translateX(-50%) translateY(-50%);
-webkit-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;
2016-04-22 08:27:58 +00:00
font-weight: bold;
/* Gestion du before (compteur css) //*/ }
#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%;
2016-04-22 08:27:58 +00:00
/* Contour blanc*/
box-shadow: 0 0 0 2px #fff;
background-color: #399ced;
font-size: 1em;
font-family: 'icomoon';
color: #fff;
font-weight: bold;
2016-04-22 08:27:58 +00:00
/* On centre sur la ligne*/
transform: translateX(-50%) translateY(-50%);
-moz-transform: translateX(-50%) translateY(-50%);
-o-transform: translateX(-50%) translateY(-50%);
-ms-transform: translateX(-50%) translateY(-50%);
-webkit-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;
2016-04-22 08:27:58 +00:00
font-weight: bold;
/* Gestion du before (compteur css) //*/
/* Texte genre text message*/ }
#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%;
2016-04-22 08:27:58 +00:00
/* Contour blanc*/
box-shadow: 0 0 0 2px #fff;
background-color: #399ced;
2016-04-22 08:27:58 +00:00
/* On centre sur la ligne*/
transform: translateX(-50%) translateY(-50%);
-moz-transform: translateX(-50%) translateY(-50%);
-o-transform: translateX(-50%) translateY(-50%);
-ms-transform: translateX(-50%) translateY(-50%);
-webkit-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;
2016-04-22 08:27:58 +00:00
/* On centre sur la ligne*/
transform: translateX(-50%) translateY(-50%);
-moz-transform: translateX(-50%) translateY(-50%);
-o-transform: translateX(-50%) translateY(-50%);
-ms-transform: translateX(-50%) translateY(-50%);
-webkit-transform: translateX(-50%) translateY(-50%); }
#WRAPPER > #CONTAINER section[data-timeline] input[type='file'] {
position: relative;
opacity: 0;
z-index: 8;
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;
pointer-events: none;
2016-04-22 08:27:58 +00:00
/* Icone d'upload*/
-webkit-transition: background 0.1s ease-in-out;
transition: background 0.1s ease-in-out; }
#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[type='file']:hover + span.file-input {
background: #bbb;
box-shadow: inset 0 0 5px #888; }
#WRAPPER > #CONTAINER section[data-timeline] input[type='file'].active + span.file-input {
background: #399ced;
color: #fff; }
2016-04-22 08:27:58 +00:00
#WRAPPER > #CONTAINER section[data-timeline] input[type='text'],
#WRAPPER > #CONTAINER section[data-timeline] input[type='password'],
#WRAPPER > #CONTAINER section[data-timeline] input[type='number'],
#WRAPPER > #CONTAINER section[data-timeline] input[type='button'],
#WRAPPER > #CONTAINER section[data-timeline] input[type='submit'],
#WRAPPER > #CONTAINER section[data-timeline] input[type='mail'] {
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;
color: #333;
2016-04-22 08:27:58 +00:00
-webkit-transition: border 0.2s ease-in-out;
transition: border 0.2s ease-in-out;
/* Animation de @focus*/ }
#WRAPPER > #CONTAINER section[data-timeline] input[type='text']:focus,
#WRAPPER > #CONTAINER section[data-timeline] input[type='password']:focus,
#WRAPPER > #CONTAINER section[data-timeline] input[type='number']:focus,
#WRAPPER > #CONTAINER section[data-timeline] input[type='button']:focus,
#WRAPPER > #CONTAINER section[data-timeline] input[type='submit']:focus,
#WRAPPER > #CONTAINER section[data-timeline] input[type='mail']:focus {
border-color: #399ced; }
#WRAPPER > #CONTAINER section[data-timeline] label {
color: #555; }
#WRAPPER > #CONTAINER section[data-timeline] [data-space] {
padding-top: 30px;
padding-bottom: 30px; }
#WRAPPER > #CONTAINER section[data-timeline] article {
all: unset !important; }
2016-04-22 08:27:58 +00:00
#WRAPPER > #CONTAINER section[data-timeline] .spacetop, #WRAPPER > #CONTAINER section[data-timeline] .spaced {
margin-top: 20px !important; }
#WRAPPER > #CONTAINER section[data-timeline] .spacebtm, #WRAPPER > #CONTAINER section[data-timeline] .spaced {
margin-bottom: 20px !important; }
#WRAPPER > #CONTAINER section[data-timeline] .nobold {
font-weight: normal !important; }
#WRAPPER > #CONTAINER section[data-timeline] select {
width: auto;
display: inline-block;
background: transparent;
border: 0;
-webkit-appearance: none;
-moz-appearance: none;
text-indent: 1px;
text-overflow: '';
font-size: .9em; }
#WRAPPER > #CONTAINER section[data-timeline] .select-container select {
display: inline-block;
padding: 2px;
padding-right: 20px;
border-radius: 3px;
border: 1px solid #399ced;
background: #fff url("/f/svg/bottom_arrow/st/container/399ced") right 5px center no-repeat;
background-size: 10px auto;
overflow: hidden; }
/*# sourceMappingURL=data:application/json;base64,ewoJInZlcnNpb24iOiAzLAoJImZpbGUiOiAibmVzdGVkLmNzcyIsCgkic291cmNlcyI6IFsKCQkiLi4vdGltZWxpbmUtZm9ybS5zY3NzIiwKCQkiLi4vY29uc3RhbnRzLnNjc3MiCgldLAoJInNvdXJjZXNDb250ZW50IjogWwoJCSJAaW1wb3J0ICdjb25zdGFudHMnO1xuXG4vKiBbMV0gRm9ybXVsYWlyZSBkZSB0eXBlIHRpbWVsaW5lXG49PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0qL1xuI1dSQVBQRVIgPiAjQ09OVEFJTkVSIHNlY3Rpb25bZGF0YS10aW1lbGluZV17XG5cdGRpc3BsYXk6IGJsb2NrO1xuXHRwb3NpdGlvbjogcmVsYXRpdmU7XG5cblx0YmFja2dyb3VuZC1jb2xvcjogI2ZmZjtcblxuXHRmb250LXNpemU6IC45ZW07XG5cdGNvbG9yOiAjMDAwO1xuXG5cdC8qICgxKSBPbiBham91dGUgbGUgbGlzZXLDqSDDoCBkcm9pdGUgcG91ciBUT1VTIGxlcyDDqWzDqW1lbnRzICovXG5cdCYgKjpub3QoLm5vLWxpbmUpe1xuXHRcdGRpc3BsYXk6IGJsb2NrO1xuXG5cdFx0Y29sb3I6ICMzMzM7XG5cblx0XHRtYXJnaW46IDAgNDBweDtcblx0XHRwYWRkaW5nOiA1cHggNjBweDtcblxuICAgICAgICBib3JkZXItbGVmdDogMnB4IHNvbGlkICR0aW1lbGluZS1jb2xvcjtcblxuXHR9XG5cblxuXHQvKiAoMikgVGl0cmVzIGRlIHNlY3Rpb25zIC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