NxTIC/css/timeline-form/compact.css

74 lines
32 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) */ /* Contiendra l'input*/ /* Animation de hover*/ /* Animation de .active*/ /* (7) Inputs de type text */ /* (8) Gestion des espacements */ /* (9) <article> sert uniquement à regrouper */ /* (10) Gestion des espacements verticaux */ /* (11) Gestion des custom <select> */ }
2016-04-22 09:48:25 +00:00
#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 #399ced; }
2016-04-22 09:48:25 +00:00
#WRAPPER > #CONTAINER section[data-timeline] h3 { display: block; padding: 20px 40px; font-size: 1.4em; color: #fff; font-weight: bold; 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) //*/ }
2016-04-22 09:48:25 +00:00
#WRAPPER > #CONTAINER section[data-timeline] h3[data-n]:before { content: attr(data-n); display: inline-block; position: absolute; margin-top: .48em; margin-left: -41px; padding: 3px 12px; border-radius: 50%; /* Contour blanc*/ box-shadow: 0 0 0 3px #fff; background-color: #399ced; 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%); }
2016-04-20 15:06:48 +00:00
2016-04-22 09:48:25 +00:00
#WRAPPER > #CONTAINER section[data-timeline] h4 { display: block; padding: 20px 40px; font-size: 1.2em; color: #1068b0; font-weight: bold; /* Gestion du before (compteur css) //*/ }
2016-04-22 09:48:25 +00:00
#WRAPPER > #CONTAINER section[data-timeline] h4[data-icon]:before { content: attr(data-icon); display: inline-block; position: absolute; margin-top: .8em; margin-left: -41px; padding: 7px; border-radius: 50%; /* Contour blanc*/ box-shadow: 0 0 0 2px #fff; background-color: #399ced; font-size: 1em; 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%); }
2016-04-22 09:48:25 +00:00
#WRAPPER > #CONTAINER section[data-timeline] h5 { display: block; padding: 20px 40px; font-size: 1.2em; color: #1068b0; font-weight: bold; /* Gestion du before (compteur css) //*/ /* Texte genre text message*/ }
2016-04-22 09:48:25 +00:00
#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: #399ced; /* 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%); }
2016-04-22 09:48:25 +00:00
#WRAPPER > #CONTAINER section[data-timeline] h5[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; }
2016-04-22 08:27:58 +00:00
#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; /* 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; /* 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 09:48:25 +00:00
#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; transition: border 0.2s ease-in-out, background 0.2s ease-in-out; /* Animation de @focus*/ }
2016-04-22 08:27:58 +00:00
#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] input[type='submit'][data-store]:before { /* Icone de sauvegarde */ content: 'y '; font-size: 1em; font-family: 'icomoon'; color: #fff; font-weight: bold; }
#WRAPPER > #CONTAINER section[data-timeline] label { color: #555; }
2016-04-22 09:48:25 +00:00
#WRAPPER > #CONTAINER section[data-timeline] [data-space] { padding-top: 20px; padding-bottom: 20px; }
#WRAPPER > #CONTAINER section[data-timeline] article { all: unset !important; }
2016-04-22 09:48:25 +00:00
#WRAPPER > #CONTAINER section[data-timeline] .spacetop, #WRAPPER > #CONTAINER section[data-timeline] .spaced { margin-top: 20px !important; }
2016-04-22 08:27:58 +00:00
#WRAPPER > #CONTAINER section[data-timeline] .spacebtm, #WRAPPER > #CONTAINER section[data-timeline] .spaced { margin-bottom: 20px !important; }
2016-04-22 09:48:25 +00:00
#WRAPPER > #CONTAINER section[data-timeline] .nobold, #WRAPPER > #CONTAINER section[data-timeline] .nobold * { font-weight: normal !important; }
2016-04-22 08:27:58 +00:00
#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; }
2016-04-22 09:48:25 +00:00
#WRAPPER > #CONTAINER section[data-timeline] .select-container select { display: inline-block; padding: 2px; padding-right: 30px; border: none; border-bottom: 1px solid #333; background: #fff url("/f/svg/bottom_arrow/st/container/333333") right 10px center no-repeat; background-size: 10px auto; overflow: hidden; }
#WRAPPER > #CONTAINER section[data-timeline] .select-container select:focus { border-color: #399ced; background-image: url("/f/svg/bottom_arrow/st/container/399ced"); }
/*# sourceMappingURL=data:application/json;base64,ewoJInZlcnNpb24iOiAzLAoJImZpbGUiOiAiY29tcGFjdC5jc3MiLAoJInNvdXJjZXMiOiBbCgkJIi4uL3RpbWVsaW5lLWZvcm0uc2NzcyIsCgkJIi4uL2NvbnN0YW50cy5zY3NzIgoJXSwKCSJzb3VyY2VzQ29udGVudCI6IFsKCQkiQGltcG9ydCAnY29uc3RhbnRzJztcblxuLyogWzFdIEZvcm11bGFpcmUgZGUgdHlwZSB0aW1lbGluZVxuPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ki9cbiNXUkFQUEVSID4gI0NPTlRBSU5FUiBzZWN0aW9uW2RhdGEtdGltZWxpbmVde1xuXHRkaXNwbGF5OiBibG9jaztcblx0cG9zaXRpb246IHJlbGF0aXZlO1xuXG5cdGJhY2tncm91bmQtY29sb3I6ICNmZmY7XG5cblx0Zm9udC1zaXplOiAuOWVtO1xuXHRjb2xvcjogIzAwMDtcblxuXHQvKiAoMSkgT24gYWpvdXRlIGxlIGxpc2Vyw6kgw6AgZHJvaXRlIHBvdXIgVE9VUyBsZXMgw6lsw6ltZW50cyAqL1xuXHQmIGg1LFxuXHQmIGg0LFxuXHQmIGgzLFxuXHQmICoubGluZXtcblx0XHRkaXNwbGF5OiBibG9jaztcblxuXHRcdGNvbG9yOiA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