NxTIC/public_html/css/expanded/container.css

196 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;
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,ewoJInZlcnNpb24iOiAzLAoJImZpbGUiOiAiY29udGFpbmVyLmNzcyIsCgkic291cmNlcyI6IFsKCQkiLi4vY29udGFpbmVyLnNjc3MiLAoJCSIuLi9jb25zdGFudHMuc2NzcyIKCV0sCgkic291cmNlc0NvbnRlbnQiOiBbCgkJIkBpbXBvcnQgJ2NvbnN0YW50cy5zY3NzJztcblxuI1dSQVBQRVIgPiAjQ09OVEFJTkVSe1xuXG5cdC8qIFsxXSBTZWN0aW9uIChjb250ZW51KVxuXHQ9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0qL1xuXHQmID4gc2VjdGlvbntcblx0XHRkaXNwbGF5OiBub25lO1xuXG5cdFx0bWFyZ2luOiAzZW07XG5cblx0XHQvLyBHZXN0aW9uIGRlIGwnYWN0aXZhdGlvbiBkZXMgc291cy1wYXJ0aWVzXG5cdFx0Ji5hY3RpdmV7IGRpc3BsYXk6IGJsb2NrOyB9XG5cblx0XHRwb3NpdGlvbjogcmVsYXRpd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