NxTIC/public_html/css/expanded/container.css

197 lines
22 KiB
CSS
Raw Permalink Normal View History

/* [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
=========================================================*/
#WRAPPER > #CONTAINER {
/* [1] Section (contenu)
=========================================================*/
}
#WRAPPER > #CONTAINER > section {
display: none;
margin: 3em;
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 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 */
cursor: pointer;
}
#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 #0e6dbf;
background: #fff center center no-repeat;
background-image: none;
background-size: 70% auto;
-webkit-transition: background 0.2s ease-in-out;
transition: background 0.2s ease-in-out;
cursor: pointer;
}
#WRAPPER > #CONTAINER > section input[type="radio"] + label[for]:hover,
#WRAPPER > #CONTAINER > section input[type="radio"] + label[for] .hover,
#WRAPPER > #CONTAINER > section input[type="checkbox"] + label[for]:hover,
#WRAPPER > #CONTAINER > section input[type="checkbox"] + label[for] .hover {
text-decoration: underline;
}
#WRAPPER > #CONTAINER > section input[type="radio"]:checked + label[for]:before,
#WRAPPER > #CONTAINER > section input[type="checkbox"]:checked + label[for]:before {
background-color: #0e6dbf;
background-image: url("/src/static/container/checked.svg");
}
#WRAPPER > #CONTAINER > section input[type="checkbox"] + label[for]:before {
border-radius: 3px;
-webkit-transition: border 0.1s ease-in-out;
transition: border 0.1s ease-in-out;
}
#WRAPPER > #CONTAINER > section input[type="checkbox"] + label[for]:hover:before {
border-color: #094478;
}
#WRAPPER > #CONTAINER > section input[type="submit"],
#WRAPPER > #CONTAINER > section input[type="button"] {
padding: .2em .5em;
margin: .5em 0;
border-radius: 3px;
border: 1px solid #515151;
color: #515151;
background-color: #fff;
-webkit-transition: background 0.1s ease-in-out, color 0.1s ease-in-out;
transition: background 0.1s ease-in-out, color 0.1s ease-in-out;
/* (1) Animation de @hover */
/* (2) Bouton primaire */
}
#WRAPPER > #CONTAINER > section input[type="submit"]:hover, #WRAPPER > #CONTAINER > section input[type="submit"].hover,
#WRAPPER > #CONTAINER > section input[type="button"]: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: #0e6dbf;
color: #0e6dbf;
background-color: #fff;
/* (3) Animation de @hover pour bouton primaire */
}
#WRAPPER > #CONTAINER > section input[type="submit"].primary:hover, #WRAPPER > #CONTAINER > section input[type="submit"].primary.hover,
#WRAPPER > #CONTAINER > section input[type="button"].primary:hover,
#WRAPPER > #CONTAINER > section input[type="button"].primary.hover {
background-color: #0e6dbf;
color: #fff;
}
#WRAPPER > #CONTAINER > section input[type='text'],
#WRAPPER > #CONTAINER > section input[type='number'],
#WRAPPER > #CONTAINER > section input[type='date'],
#WRAPPER > #CONTAINER > section input[type='time'] {
display: inline-block;
padding: .2em .5em;
margin: .5em 0;
border-radius: 3px;
border: 1px solid #777;
}
#WRAPPER > #CONTAINER > section img {
margin: 1em;
height: 3em;
}
#WRAPPER > #CONTAINER > section .flag {
margin: 0 .8em;
padding: .2em .5em;
border-radius: 5px;
border: 1px solid #b5b5b5;
color: #0e6cbe;
font-family: 'Inconsolata';
}
#WRAPPER > #CONTAINER > section .flat-border {
border-radius: 0;
}
/*# sourceMappingURL=data:application/json;base64,ewoJInZlcnNpb24iOiAzLAoJImZpbGUiOiAiY29udGFpbmVyLmNzcyIsCgkic291cmNlcyI6IFsKCQkiLi4vY29udGFpbmVyLnNjc3MiLAoJCSIuLi9jb25zdGFudHMuc2NzcyIKCV0sCgkic291cmNlc0NvbnRlbnQiOiBbCgkJIkBpbXBvcnQgJ2NvbnN0YW50cy5zY3NzJztcblxuI1dSQVBQRVIgPiAjQ09OVEFJTkVSe1xuXG5cdC8qIFsxXSBTZWN0aW9uIChjb250ZW51KVxuXHQ9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0qL1xuXHQmID4gc2VjdGlvbntcblx0XHRkaXNwbGF5OiBub25lO1xuXG5cdFx0bWFyZ2luOiAzZW07XG5cblx0XHQvLyBHZXN0aW9uIGRlIGwnYWN0aXZhdGlvbiBkZXMgc291cy1wYXJ0aWVzXG5cdFx0Ji5hY3RpdmV7IGRpc3BsYXk6IGJsb2NrOyB9XG5cblx0XHRwb3NpdGlvbjogcm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