NxTIC/css/container/compact.css

46 lines
16 KiB
CSS
Raw Normal View History

/* [1] COULEURS
=========================================================*/
/* (1) COULEURS DU THEME $DEFAULT */
/* (2) COULEURS DE THEME $DARK */
/* [2] DIMENSIONS
=========================================================*/
/* (1) Layout de base */
#WRAPPER > #CONTAINER { /* [1] Section (contenu) =========================================================*/ }
#WRAPPER > #CONTAINER > section { display: none; margin: 1em; position: relative; flex-grow: 1; padding: 1em; border-radius: 3px; background-color: #fff; color: #000; font-size: 1em; border: 1px solid #ddd; /* [2] Titres =========================================================*/ /* [3][4] Boutons radio + Checkboxes =========================================================*/ /* [5] Boutons de submit =========================================================*/ /* [6] Images inline =========================================================*/ /* [7] Contour flags =========================================================*/ }
#WRAPPER > #CONTAINER > section.active { display: block; }
#WRAPPER > #CONTAINER > section.charts { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: space-around; }
#WRAPPER > #CONTAINER > section h6 { color: #848484; font-size: 1.2em; text-transform: uppercase; font-weight: 300; letter-spacing: .2em; margin: 0; padding: 0; }
#WRAPPER > #CONTAINER > section h6:before { content: '- '; }
#WRAPPER > #CONTAINER > section h6:after { content: ' -'; }
#WRAPPER > #CONTAINER > section h6.center { text-align: center; }
#WRAPPER > #CONTAINER > section input[type="radio"], #WRAPPER > #CONTAINER > section input[type="checkbox"] { display: none; }
#WRAPPER > #CONTAINER > section input[type="radio"] + label[for], #WRAPPER > #CONTAINER > section input[type="checkbox"] + label[for] { padding-left: .8em; -webkit-touch-callout: none; /* iOS Safari */ -webkit-user-select: none; /* Chrome/Safari/Opera */ -khtml-user-select: none; /* Konqueror */ -moz-user-select: none; /* Firefox */ -ms-user-select: none; /* IE/Edge */ user-select: none; /* non-prefixed */ }
#WRAPPER > #CONTAINER > section input[type="radio"] + label[for]:before, #WRAPPER > #CONTAINER > section input[type="checkbox"] + label[for]:before { content: ''; display: inline-block; position: relative; top: .1em; left: -.8em; width: calc( 1em - 2*.15em); height: calc( 1em - 2*.15em); border-radius: 50% / 50%; border: 0.15em solid #399ced; background: #fff center center no-repeat; background-image: none; background-size: 70% auto; transition: background .2s ease-in-out; cursor: pointer; }
#WRAPPER > #CONTAINER > section input[type="radio"]:checked + label[for]:before, #WRAPPER > #CONTAINER > section input[type="checkbox"]:checked + label[for]:before { background-color: #399ced; background-image: url("/f/svg/checked/st/container"); }
#WRAPPER > #CONTAINER > section input[type="checkbox"] + label[for]:before { border-radius: 3px; }
#WRAPPER > #CONTAINER > section input[type="submit"], #WRAPPER > #CONTAINER > section input[type="button"] { margin: .5em 0; padding: .3em .5em; border-radius: 3px; border: 1px solid #515151; color: #515151; background-color: #fff; transition: background .1s ease-in-out, color .1s ease-in-out; /* (1) Animation de @hover */ /* (2) Bouton primaire */ }
#WRAPPER > #CONTAINER > section input[type="submit"]:hover, #WRAPPER > #CONTAINER > section input[type="button"]:hover { background-color: #515151; color: #fff; }
#WRAPPER > #CONTAINER > section input[type="submit"].primary, #WRAPPER > #CONTAINER > section input[type="button"].primary { border-color: #399ced; color: #399ced; background-color: #fff; /* (3) Animation de @hover pour bouton primaire */ }
#WRAPPER > #CONTAINER > section input[type="submit"].primary:hover, #WRAPPER > #CONTAINER > section input[type="button"].primary:hover { background-color: #399ced; color: #fff; }
#WRAPPER > #CONTAINER > section img { margin: 1em; height: 3em; }
#WRAPPER > #CONTAINER > section .flag { margin: 0 .8em; padding: .2em .8em; border-radius: 5px; border: 1px solid #b5b5b5; color: #555; font-family: 'Inconsolata'; }
/*# sourceMappingURL=data:application/json;base64,ewoJInZlcnNpb24iOiAzLAoJImZpbGUiOiAiY29tcGFjdC5jc3MiLAoJInNvdXJjZXMiOiBbCgkJIi4uL2NvbnRhaW5lci5zY3NzIiwKCQkiLi4vY29uc3RhbnRzLnNjc3MiCgldLAoJInNvdXJjZXNDb250ZW50IjogWwoJCSJAaW1wb3J0ICdjb25zdGFudHMuc2Nzcyc7XG5cbiNXUkFQUEVSID4gI0NPTlRBSU5FUntcblxuXHQvKiBbMV0gU2VjdGlvbiAoY29udG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