{ "version": 3, "file": "min.css", "sources": [ "../timeline-form.scss", "../constants.scss" ], "sourcesContent": [ "@import 'constants';\n\n/* [1] Formulaire de type timeline\n=========================================================*/\n#WRAPPER > #CONTAINER section[data-timeline]{\n\tdisplay: block;\n\tposition: relative;\n\n\tbackground-color: #fff;\n\n\tfont-size: .9em;\n\tcolor: #000;\n\n\t/* (1) On ajoute le liseré à droite pour TOUS les éléments */\n\t& h5,\n\t& h4,\n\t& h3,\n\t& *.line{\n\t\tdisplay: block;\n\n\t\tcolor: #333;\n\n\t\tmargin: 0 40px;\n\t\tpadding: 5px 60px;\n\n border-left: 2px solid #d8e0e9;\n\n\t}\n\n\n\t/* (2) Titres de sections */\n\t& h3{\n\t\tdisplay: block;\n\t\tpadding: 20px 40px;\n\n\t\tfont-size: 1.4em;\n\t\tcolor: #000;\n\t\tfont-weight: bold;\n\n // background-color: $timeline-color;\n\n\t\t/* TODO: Transformer les background en ::before pour que ca soit juste un cercle avec bg et border*/\n\t\t/* FIXME: Corriger le liseré pour les autres navigateurs que FF*/\n\n\t\t/* Gestion du before (compteur css) //*/\n\t\t&[data-n]:before{\n content: attr(data-n);\n\n display: inline-block;\n position: absolute;\n margin-top: .48em;\n margin-left: -41px;\n padding: 3px 12px;\n\n border-radius: 50%;\n /* Contour blanc*/\n box-shadow: 0 0 0 3px #fff;\n\n background-color: $timeline-color;\n\n\t\t\tfont-size: 1.3em;\n\t\t\tcolor: #fff;\n\t\t\tfont-weight: bold;\n\n /* On centre sur la ligne*/\n @include transform( translateX(-50%) translateY(-50%) );\n\n\t\t}\n\t}\n\n\t/* (3) Titres des sous-sections */\n\t& h4{\n\t\tdisplay: block;\n\n\t\tpadding: 20px 40px;\n\n\t\tfont-size: 1.2em;\n\t\tcolor: darken($timeline-color, 20);\n\t\tfont-weight: bold;\n\n\t\t/* Gestion du before (compteur css) //*/\n\t\t&[data-icon]:before{\n\t\t\tcontent: attr(data-icon);\n\n display: inline-block;\n position: absolute;\n margin-top: .8em;\n margin-left: -41px;\n padding: 7px;\n\n border-radius: 50%;\n /* Contour blanc*/\n box-shadow: 0 0 0 2px #fff;\n\n background-color: $timeline-color;\n\n\t\t\tfont-size: 1em;\n\t\t\tfont-family: 'icomoon';\n\t\t\tcolor: #fff;\n\t\t\tfont-weight: bold;\n\n /* On centre sur la ligne*/\n @include transform( translateX(-50%) translateY(-50%) );\n\t\t}\n\t}\n\n\t/* (4) Titres genre text message */\n\t& h5{\n\t\tdisplay: block;\n\n\t\tpadding: 20px 40px;\n\n\t\tfont-size: 1.2em;\n\t\tcolor: darken($timeline-color, 20);\n\t\tfont-weight: bold;\n\n\t\t/* Gestion du before (compteur css) //*/\n\t\t&:before{\n\t\t\tcontent: '';\n\n display: inline-block;\n position: absolute;\n margin-top: .7em;\n margin-left: -41px;\n padding: 7px;\n\n border-radius: 50%;\n /* Contour blanc*/\n box-shadow: 0 0 0 2px #fff;\n\n background-color: $timeline-color;\n\n /* On centre sur la ligne*/\n @include transform( translateX(-50%) translateY(-50%) );\n\t\t}\n\n /* Texte genre text message*/\n &[data-text]:after{\n content: attr(data-text);\n padding: 6px 10px;\n\n border-radius: 3px;\n\n background: $timeline-color;\n\n color: #fff;\n font-weight: normal;\n }\n\t}\n\n\t/* (5) 'Tags' -> textes sur le liseré gauche */\n\t& [data-tag]{\n\t\tdisplay: block;\n\n\t\tpadding: 40px 60px;\n\n &:before{\n \t\tcontent: attr(data-tag);\n\n display: inline-block;\n position: absolute;\n margin-top: .5em;\n margin-left: -41px;\n padding: 2px;\n\n background-color: #fff;\n\n font-size: 1.2em;\n color: $timeline-color;\n font-weight: bold;\n\n /* On centre sur la ligne*/\n @include transform( translateX(-50%) translateY(-50%) );\n }\n\t}\n\n /* (6) Input d'upload de fichier (css hack) */\n & input[type='file']{\n position: relative;\n opacity: 0;\n\n z-index: 8;\n\n cursor: pointer;\n\n }\n\n /* Contiendra l'input*/\n & input[type='file'] + span.file-input{\n display: inline-block;\n position: absolute;\n margin-top: -1px;\n margin-left: -290px;\n width: calc( 290px - 2*15px );\n height: 30px;\n\n padding: 0 15px;\n\n border-radius: 3px;\n background: #ddd;\n\n color: #333;\n line-height: 30px;\n font-weight: normal;\n\n z-index: 9;\n\n cursor: pointer;\n\n\t\tpointer-events: none;\n\n /* Icone d'upload*/\n &:before{\n content: 'e ';\n\n font-size: 1em;\n\t\t\tfont-family: 'icomoon';\n\t\t\tcolor: #333;\n\t\t\tfont-weight: bold;\n }\n\n\t\t@include transition( background .1s ease-in-out );\n }\n\n\n\t/* Animation de hover*/\n\t& input[type='file']:hover + span.file-input{\n\t\tbackground: #bbb;\n\t\tbox-shadow: inset 0 0 5px #888;\n\t}\n\n\n\t/* Animation de .active*/\n\t& input[type='file'].active + span.file-input{\n\t\tbackground: $timeline-color;\n\t\tcolor: #fff;\n\t\t// On change l'icône\n\t\t&:before{\n content: 'v ';\n\t\t\tcolor: #fff;\n\t\t}\n\t}\n\n\t/* (7) Inputs de type text */\n\t& input[type='text'],\n\t& input[type='password'],\n\t& input[type='number'],\n\t& input[type='button'],\n\t& input[type='submit'],\n\t& input[type='mail']{\n\t\tdisplay: inline;\n\t\twidth: auto;\n\n\t\tmargin: unset;\n\t\tpadding: 5px 10px;\n\t\tmargin-bottom: 5px;\n\t\tmargin-right: 15px;\n\n\t\tborder-radius: 0;\n\t\tborder: 0;\n\t\tborder-bottom: 1px solid #555;\n\n\t\tfont-size: .8em;\n\t\tfont-weight: normal;\n\t\tcolor: #333;\n\n\t\t@include transition( border .2s ease-in-out, background .2s ease-in-out );\n\n\t\t/* Animation de @focus*/\n\t\t&:focus{\n\t\t\tborder-color: $timeline-color;\n\t\t}\n\t}\n\n\t// Before pour les submit\n\t& input[type='submit'][data-store]{\n\n\t\t&:before{\n\t\t\t/* Icone de sauvegarde */\n\t content: 'y ';\n\n\t font-size: 1em;\n\t\t\tfont-family: 'icomoon';\n\t\t\tcolor: #fff;\n\t\t\tfont-weight: bold;\n\t\t}\n\t}\n\n\n\t& label{\n\t\tcolor: #555;\n\t}\n\n\t/* (8) Gestion des espacements */\n\t& [data-space]{\n\t\t@extend *.line;\n\n\t\tpadding-top: 20px;\n\t\tpadding-bottom: 20px;\n\t}\n\n\t/* (9)
sert uniquement à regrouper */\n\t& article{\n\t\tall: unset !important;\n\t}\n\n\t/* (10) Gestion des espacements verticaux */\n\t& .spacetop{ margin-top: 20px !important; }\n\t& .spacebtm{ margin-bottom: 20px !important; }\n\n\t& .spaced{\n\t\t@extend .spacetop;\n\t\t@extend .spacebtm;\n\t}\n\n\t& .nobold,\n\t& .nobold *{\n\t\tfont-weight: normal !important;\n\t}\n\n\t/* (11) Gestion des custom