Newer
Older
/* You can add global styles to this file, and also import other style files */
@import 'assets/scss/z-index';
@import 'assets/scss/color';
@import 'assets/scss/breakpoint';

Hugo SUBTIL
committed
@import '../node_modules/leaflet.locatecontrol/dist/L.Control.Locate.css';
html {
height: -webkit-fill-available;
margin: 0;
padding: 0;
background-color: $grey-6;
}
body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
min-height: 100vh;
min-height: -webkit-fill-available;
}
a {
color: $default-link-color;
text-decoration: none;
background-color: transparent;
text-decoration: none;
}
&:hover {
text-decoration: underline;
&.primary {
@include hyperlink;
width: 100%;
}
&.right {
.bold {
font-weight: bold !important;
}
// Containers
.content-container {
margin: 0;
&.medium-pt {
padding: 25px 0 30px 0;
}
&.small-pt {
padding: 10px 0 30px 0;
}
&.no-pt {
padding: 0 0 30px 0;
}
min-height: calc(100vh - #{$header-height} - #{$footer-height});
@media #{$phone} {
padding-top: 30px;
}
}
.section-container {
width: 80%;
max-width: 1200px;
margin: 0 auto;
@media #{$tablet} {
width: 95%;
max-width: unset;
}
&.no-max-width {
max-width: unset;
margin-bottom: 1rem;
/** Buttons **/
button {
&:focus {
outline-color: $blue-hover;
}
}
/** Checkboxes **/
.checkbox {
list-style-type: none;
input {
opacity: 0;
display: none;
&:checked ~ .customCheck {
background-color: $primary-color;
border-color: transparent;
}
&:checked ~ .customCheck:after {
display: block;
}
}
label {
grid-template-columns: min-content auto;
display: inline-grid;
cursor: pointer;
}
.label {
padding-left: 16px;
padding-right: 10px;
}
.customCheck {
display: inline-grid;
width: 18px;
height: 18px;
background-color: $white;
border: 1px solid $grey;
cursor: pointer;
position: relative;
top: 0;
left: 0;
&:hover {
}
&:after {
content: '';
position: absolute;
display: none;
left: 7px;
top: 3px;
width: 4px;
height: 8px;
border: solid $white;
border-width: 0 2px 2px 0;
transform: rotate(45deg);
-webkit-transform: rotate(45deg);
-ms-transform: rotate(45deg);
}
}
}
// Layout
.w-100 {
width: 100%;
}

Hugo SUBTIL
committed
.mobile-column {
@media #{$large-phone} {
flex-direction: column;
}
}
// PRINT
@media print {
body,
html,
.forPrint {
height: auto;
}
.content-container {
display: none !important;
}
}
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
// Modal
.modalBackground {
width: 100%;
height: 100%;
z-index: $modal-z-index;
position: absolute;
content: '';
top: 0;
background-color: $modal-background;
.modal {
.contentModal {
width: 100%;
background: $white;
padding: 35px 20px 18px 20px;
}
.footerModal {
width: 100%;
margin-top: 14px;
@include cn-bold-16;
.btn {
background: $secondary-color;
border-radius: 4px;
outline: none;
cursor: pointer;
border: 0;
color: $white;
height: 40px;
@include btn-bold;
width: 149px;
&.confirm {
background: none;
color: $grey-1;
text-decoration: underline;
}
}
}
min-width: 350px;
width: 80%;
max-width: 560px;
margin: auto;
border-radius: 6px;
@include background-hash;
border: 1px solid $grey-4;
margin-top: 50vh;
transform: translateY(-50%);
}
}