NxTIC/public_html/css/min/timeline-form.css

75 lines
15 KiB
CSS
Executable File

@charset "UTF-8";
/* [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] 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) */ /* Contiendra l'input*/ /* Animation de hover*/ /* Animation de .active*/ /* (7) Inputs de type text */ /* (8) Gestion des espacements */ /* (10) Gestion des espacements verticaux */ /* (11) Gestion des custom <select> */ /* (12) Gestion des coloris pour les titres */ /* (13) Gestion de la navigation fléchée */ /* (14) Gestion de l'affichage des MINI fiches et des FICHES relations */ }
#WRAPPER > #CONTAINER section[data-timeline] h5, #WRAPPER > #CONTAINER section[data-timeline] h4, #WRAPPER > #CONTAINER section[data-timeline] h3, #WRAPPER > #CONTAINER section[data-timeline] *.line, #WRAPPER > #CONTAINER section[data-timeline] [data-space] { display: block; color: #333; margin: 0 40px; padding: 5px 60px; border-left: 2px solid #d8e0e9; }
#WRAPPER > #CONTAINER section[data-timeline] h3 { display: block; padding: 20px 40px; font-size: 1.4em; color: #000; font-weight: bold; /* Gestion du before (compteur css) //*/ }
#WRAPPER > #CONTAINER section[data-timeline] h3[data-n]:before { content: attr(data-n); display: inline-block; position: absolute; margin-top: .6em; margin-left: -41px; padding: 3px 12px; border-radius: 50%; /* Contour blanc*/ box-shadow: 0 0 0 3px #fff; background-color: #738394; font-size: 1.3em; color: #fff; font-weight: bold; /* 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 { display: block; padding: 20px 40px; font-size: 1.2em; color: #46505b; font-weight: bold; /* Gestion du before (compteur css) //*/ }
#WRAPPER > #CONTAINER section[data-timeline] h4[data-icon]:before { content: attr(data-icon); display: inline-block; position: absolute; margin-top: .9em; margin-left: -41px; padding: 9px; border-radius: 50%; /* Contour blanc*/ box-shadow: 0 0 0 2px #fff; background-color: #738394; font-size: .9em; font-family: 'icomoon'; color: #fff; font-weight: bold; /* 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 { display: block; padding: 20px 40px; font-size: 1.2em; color: #46505b; font-weight: bold; /* Gestion du before (compteur css) //*/ /* Texte genre text message*/ }
#WRAPPER > #CONTAINER section[data-timeline] h5:before { content: ''; display: inline-block; position: absolute; margin-top: .7em; margin-left: -41px; padding: 7px; border-radius: 50%; /* Contour blanc*/ box-shadow: 0 0 0 2px #fff; background-color: #738394; /* 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[data-text]:after { content: attr(data-text); padding: 6px 10px; border-radius: 3px; background: #738394; 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: #738394; font-weight: bold; /* 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: #0e6dbf; color: #ddd; line-height: 30px; font-weight: normal; z-index: 9; cursor: pointer; pointer-events: none; /* 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: #222; font-weight: bold; }
#WRAPPER > #CONTAINER section[data-timeline] input[type='file']:hover + span.file-input { background: #0b528f; box-shadow: inset 0 0 5px #888; }
#WRAPPER > #CONTAINER section[data-timeline] input[type='file'].active + span.file-input { background: #d54b28; color: #fff; }
#WRAPPER > #CONTAINER section[data-timeline] input[type='file'].active + span.file-input:before { content: 'v '; color: #fff; }
#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: 0; border-bottom: 1px solid #555; font-size: .8em; font-weight: normal; color: #333; -webkit-transition: border 0.2s ease-in-out, background 0.2s ease-in-out, color 0.2s ease-in-out; transition: border 0.2s ease-in-out, background 0.2s ease-in-out, color 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: #d54b28; }
#WRAPPER > #CONTAINER section[data-timeline] input[type='submit'] { border-color: #7f2d18; background: #d54b28; color: #fff; }
#WRAPPER > #CONTAINER section[data-timeline] input[type='submit']:hover, #WRAPPER > #CONTAINER section[data-timeline] input[type='submit']:focus { background: #c04324; }
#WRAPPER > #CONTAINER section[data-timeline] label { color: #555; }
#WRAPPER > #CONTAINER section[data-timeline] [data-space] { padding-top: 20px; padding-bottom: 20px; }
#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, #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 option:not(:disabled) { padding-left: 1.5em; }
#WRAPPER > #CONTAINER section[data-timeline] select option:disabled:not(:first-child) { font-size: 1.2em; color: #000; font-weight: bold; }
#WRAPPER > #CONTAINER section[data-timeline] select option.pad { padding-left: 2.5em; }
#WRAPPER > #CONTAINER section[data-timeline] .select-container select { display: inline-block; padding: 5px 2px; padding-right: 30px; border: none; border-bottom: 1px solid #333; background: #fff url("/src/static/container/bottom_arrow@333333.svg") right 10px center no-repeat; background-size: 10px auto; overflow: hidden; }
#WRAPPER > #CONTAINER section[data-timeline] .select-container select:focus { border-color: #d54b28; background-image: url("/src/static/container/bottom_arrow@d54b28.svg"); }
#WRAPPER > #CONTAINER section[data-timeline] h5.color0, #WRAPPER > #CONTAINER section[data-timeline] h4.color0, #WRAPPER > #CONTAINER section[data-timeline] h3.color0 { color: #0e6dbf; }
#WRAPPER > #CONTAINER section[data-timeline] h5.color0:before, #WRAPPER > #CONTAINER section[data-timeline] h5.color0:after, #WRAPPER > #CONTAINER section[data-timeline] h4.color0:before, #WRAPPER > #CONTAINER section[data-timeline] h4.color0:after, #WRAPPER > #CONTAINER section[data-timeline] h3.color0:before, #WRAPPER > #CONTAINER section[data-timeline] h3.color0:after { background-color: #0e6dbf; }
#WRAPPER > #CONTAINER section[data-timeline] h5.color1, #WRAPPER > #CONTAINER section[data-timeline] h4.color1, #WRAPPER > #CONTAINER section[data-timeline] h3.color1 { color: #e64e3e; }
#WRAPPER > #CONTAINER section[data-timeline] h5.color1:before, #WRAPPER > #CONTAINER section[data-timeline] h5.color1:after, #WRAPPER > #CONTAINER section[data-timeline] h4.color1:before, #WRAPPER > #CONTAINER section[data-timeline] h4.color1:after, #WRAPPER > #CONTAINER section[data-timeline] h3.color1:before, #WRAPPER > #CONTAINER section[data-timeline] h3.color1:after { background-color: #e64e3e; }
#WRAPPER > #CONTAINER section[data-timeline] h5.color2, #WRAPPER > #CONTAINER section[data-timeline] h4.color2, #WRAPPER > #CONTAINER section[data-timeline] h3.color2 { color: #d54b28; }
#WRAPPER > #CONTAINER section[data-timeline] h5.color2:before, #WRAPPER > #CONTAINER section[data-timeline] h5.color2:after, #WRAPPER > #CONTAINER section[data-timeline] h4.color2:before, #WRAPPER > #CONTAINER section[data-timeline] h4.color2:after, #WRAPPER > #CONTAINER section[data-timeline] h3.color2:before, #WRAPPER > #CONTAINER section[data-timeline] h3.color2:after { background-color: #d54b28; }
#WRAPPER > #CONTAINER section[data-timeline] h5.color3, #WRAPPER > #CONTAINER section[data-timeline] h4.color3, #WRAPPER > #CONTAINER section[data-timeline] h3.color3 { color: #b14be7; }
#WRAPPER > #CONTAINER section[data-timeline] h5.color3:before, #WRAPPER > #CONTAINER section[data-timeline] h5.color3:after, #WRAPPER > #CONTAINER section[data-timeline] h4.color3:before, #WRAPPER > #CONTAINER section[data-timeline] h4.color3:after, #WRAPPER > #CONTAINER section[data-timeline] h3.color3:before, #WRAPPER > #CONTAINER section[data-timeline] h3.color3:after { background-color: #b14be7; }
#WRAPPER > #CONTAINER section[data-timeline] h5.color4, #WRAPPER > #CONTAINER section[data-timeline] h4.color4, #WRAPPER > #CONTAINER section[data-timeline] h3.color4 { color: #053b5d; }
#WRAPPER > #CONTAINER section[data-timeline] h5.color4:before, #WRAPPER > #CONTAINER section[data-timeline] h5.color4:after, #WRAPPER > #CONTAINER section[data-timeline] h4.color4:before, #WRAPPER > #CONTAINER section[data-timeline] h4.color4:after, #WRAPPER > #CONTAINER section[data-timeline] h3.color4:before, #WRAPPER > #CONTAINER section[data-timeline] h3.color4:after { background-color: #053b5d; }
#WRAPPER > #CONTAINER section[data-timeline] .arrow-container span { display: inline-block; position: relative; margin: .3em 0; padding: .5em .8em; border: 1px solid #b7c6d7; color: #7692b2; cursor: pointer; -webkit-transition: 0.2s ease-in-out; transition: 0.2s ease-in-out; }
#WRAPPER > #CONTAINER section[data-timeline] .arrow-container span:not(:last-child):not(.lc) { border-right: 0; }
#WRAPPER > #CONTAINER section[data-timeline] .arrow-container span:first-child, #WRAPPER > #CONTAINER section[data-timeline] .arrow-container span.fc { border-top-left-radius: 5px; border-bottom-left-radius: 5px; }
#WRAPPER > #CONTAINER section[data-timeline] .arrow-container span:last-child, #WRAPPER > #CONTAINER section[data-timeline] .arrow-container span.lc { border-top-right-radius: 5px; border-bottom-right-radius: 5px; }
#WRAPPER > #CONTAINER section[data-timeline] .arrow-container span.done { font-weight: bold; color: #d54b28; }
#WRAPPER > #CONTAINER section[data-timeline] .arrow-container span.done:hover, #WRAPPER > #CONTAINER section[data-timeline] .arrow-container span.done.active { border-color: #d54b28; background: #d54b28; color: #fff; }
#WRAPPER > #CONTAINER section[data-timeline] .arrow-container span:not(.done) { font-weight: bold; color: #333; }
#WRAPPER > #CONTAINER section[data-timeline] .arrow-container span:not(.done):hover, #WRAPPER > #CONTAINER section[data-timeline] .arrow-container span:not(.done).active { border-color: #aaa; background: #aaa; color: #fff; }
#WRAPPER > #CONTAINER section[data-timeline] div.matrice input[type='checkbox'] { display: none; }
#WRAPPER > #CONTAINER section[data-timeline] div.matrice input[type='checkbox'] + label.matrice-content { display: table; position: relative; margin: .5em 0; padding: 1em; border-radius: 3px; border: 1px solid #ddd; background: #fff; color: #555; font-size: 1.1em; -webkit-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; cursor: pointer; font-style: italic; padding-left: 2em; }
#WRAPPER > #CONTAINER section[data-timeline] div.matrice input[type='checkbox'] + label.matrice-content:before { border-radius: 50% / 50%; border: 0; background: #aaa; cursor: pointer; }
#WRAPPER > #CONTAINER section[data-timeline] div.matrice input[type='checkbox'] + label.matrice-content:hover { text-decoration: none; }
#WRAPPER > #CONTAINER section[data-timeline] div.matrice input[type='checkbox'] + label.matrice-content span { color: #000; font-style: normal; }
#WRAPPER > #CONTAINER section[data-timeline] div.matrice input[type='checkbox'] + label.matrice-content:hover { border-color: #bcbcbc; background-color: #f2f2f2; }
#WRAPPER > #CONTAINER section[data-timeline] div.matrice input[type='checkbox']:checked + label { border-color: #07ca64; }
#WRAPPER > #CONTAINER section[data-timeline] div.matrice input[type='checkbox']:checked + label:before { background: #07ca64; }
#WRAPPER > #CONTAINER section[data-timeline] div.matrice input[type='checkbox']:checked + label:hover { border-color: #04803f; }