aswi2020sebela-gitlab/website/public/css/style.scss @ b7a21811
1 |
@import 'bootstrap-4.4.1/_functions.scss'; |
---|---|
2 |
@import 'bootstrap-4.4.1/_variables.scss'; |
3 |
@import 'bootstrap-4.4.1/mixins/_breakpoints.scss'; |
4 |
|
5 |
@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam:wght@400;600;700;800&display=swap'); |
6 |
|
7 |
$primary-bg-color: #0048A9; |
8 |
$primary-bg-color-darker: #004fb3; |
9 |
$input-bg-hover: #336dba; |
10 |
$secondary-bg-color: #0b155a; |
11 |
|
12 |
$primary-text-color: #ffffff; |
13 |
|
14 |
$images-dir: '../img/'; |
15 |
|
16 |
|
17 |
html, body { |
18 |
position: relative; |
19 |
height: 96.2%; |
20 |
font-family: 'Be Vietnam', sans-serif; |
21 |
color: $primary-text-color; |
22 |
background: $secondary-bg-color; |
23 |
|
24 |
&.intro { |
25 |
@include media-breakpoint-down(sm) { |
26 |
height: calc(100% - 45px); |
27 |
}
|
28 |
}
|
29 |
}
|
30 |
|
31 |
header { |
32 |
height: 70px; |
33 |
background: $primary-bg-color; |
34 |
|
35 |
.logo { |
36 |
width: 450px; |
37 |
height: 181px; |
38 |
position: absolute; |
39 |
top: 70px; |
40 |
left: 0; |
41 |
z-index: 2; |
42 |
background: url($images-dir + 'header-bg.png'); |
43 |
|
44 |
@media (max-width: 1400px) { |
45 |
display: none; |
46 |
}
|
47 |
|
48 |
img { |
49 |
height: 100px; |
50 |
position: relative; |
51 |
top: -50px; |
52 |
left: 50px; |
53 |
}
|
54 |
}
|
55 |
|
56 |
nav.navbar { |
57 |
height: 70px; |
58 |
position: relative; |
59 |
}
|
60 |
|
61 |
.navbar-toggler-icon { |
62 |
background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgb(255,255,255)' stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E"); |
63 |
}
|
64 |
|
65 |
.navbar-brand.shifted {
|
66 |
@media (min-width: 1401px) {
|
67 |
position: absolute;
|
68 |
top: 0;
|
69 |
left: 450px;
|
70 |
}
|
71 |
|
72 |
@include media-breakpoint-down(lg) {
|
73 |
left: 20px;
|
74 |
}
|
75 |
}
|
76 |
|
77 |
@include media-breakpoint-down(md) {
|
78 |
#navigation {
|
79 |
width: 100%;
|
80 |
padding: 20px;
|
81 |
position: absolute;
|
82 |
top: 70px;
|
83 |
left: 0;
|
84 |
z-index: 1001;
|
85 |
opacity: .98;
|
86 |
background: $primary-bg-color-darker;
|
87 |
}
|
88 |
}
|
89 |
|
90 |
.nav-item {
|
91 |
margin-right: 40px;
|
92 |
|
93 |
@media (max-width: 1480px) {
|
94 |
margin-right: 30px;
|
95 |
}
|
96 |
|
97 |
@media (max-width: 1440px) {
|
98 |
margin-right: 15px;
|
99 |
}
|
100 |
|
101 |
@include media-breakpoint-down(lg) {
|
102 |
margin-right: 30px;
|
103 |
}
|
104 |
|
105 |
@include media-breakpoint-down(md) {
|
106 |
margin-right: 0;
|
107 |
}
|
108 |
|
109 |
.active {
|
110 |
font-weight: 800;
|
111 |
}
|
112 |
|
113 |
&.button {
|
114 |
.nav-link {
|
115 |
padding-left: 22px;
|
116 |
padding-right: 22px;
|
117 |
border: 1px solid $primary-text-color;
|
118 |
border-radius: 20px;
|
119 |
|
120 |
&:hover {
|
121 |
background: #004fb3;
|
122 |
}
|
123 |
}
|
124 |
}
|
125 |
}
|
126 |
|
127 |
.navbar-button {
|
128 |
padding: .5rem 22px;
|
129 |
margin-right: 40px;
|
130 |
border: 1px solid $primary-text-color;
|
131 |
border-radius: 20px;
|
132 |
text-decoration: none;
|
133 |
|
134 |
@include media-breakpoint-down(md) {
|
135 |
display: none;
|
136 |
}
|
137 |
|
138 |
&:hover {
|
139 |
background: #004fb3;
|
140 |
}
|
141 |
}
|
142 |
|
143 |
.btn-secondary {
|
144 |
height: 100%;
|
145 |
font-size: 16px;
|
146 |
text-transform: uppercase;
|
147 |
font-weight: 800;
|
148 |
letter-spacing: 0.4px;
|
149 |
border-radius: 0;
|
150 |
border: $primary-bg-color;
|
151 |
background: #004fb3;
|
152 |
|
153 |
&:hover {
|
154 |
background: $primary-bg-color !important;
|
155 |
}
|
156 |
}
|
157 |
|
158 |
// NAVIGACE NA STRÁNCE S MAPOU
|
159 |
&.map {
|
160 |
@include media-breakpoint-down(md) {
|
161 |
.navbar-nav {
|
162 |
width: 100%;
|
163 |
}
|
164 |
}
|
165 |
|
166 |
form {
|
167 |
display: flex;
|
168 |
margin: auto;
|
169 |
}
|
170 |
|
171 |
label {
|
172 |
margin: 0 0 0 15px;
|
173 |
font-size: 16px;
|
174 |
letter-spacing: .4px;
|
175 |
}
|
176 |
|
177 |
input, .custom-select {
|
178 |
letter-spacing: .4px;
|
179 |
color: $primary-text-color;
|
180 |
border-color: $primary-bg-color;
|
181 |
background: $primary-bg-color;
|
182 |
|
183 |
&::placeholder {
|
184 |
color: $primary-text-color;
|
185 |
opacity: 1;
|
186 |
}
|
187 |
}
|
188 |
|
189 |
.nav-item {
|
190 |
margin: 0;
|
191 |
border-right: 1px solid #1C6CC0;
|
192 |
|
193 |
@include media-breakpoint-down(md) {
|
194 |
margin-bottom: 20px;
|
195 |
border: 0;
|
196 |
}
|
197 |
|
198 |
&:nth-of-type(1), &:nth-of-type(2), &:nth-of-type(3) {
|
199 |
width: 300px;
|
200 |
|
201 |
@media (max-width: 1500px) {
|
202 |
width: 280px;
|
203 |
}
|
204 |
|
205 |
@media (max-width: 1400px) {
|
206 |
width: 230px;
|
207 |
}
|
208 |
|
209 |
@media (max-width: 1400px) {
|
210 |
max-width: 230px;
|
211 |
width: auto;
|
212 |
}
|
213 |
|
214 |
@include media-breakpoint-down(md) {
|
215 |
max-width: none;
|
216 |
}
|
217 |
}
|
218 |
}
|
219 |
}
|
220 |
}
|
221 |
|
222 |
h1 {
|
223 |
text-transform: uppercase;
|
224 |
font-size: 21px;
|
225 |
font-weight: 700;
|
226 |
letter-spacing: 0.53px;
|
227 |
|
228 |
@include media-breakpoint-up(lg) {
|
229 |
line-height: 55px;
|
230 |
}
|
231 |
}
|
232 |
|
233 |
h2 {
|
234 |
font-size: 16px;
|
235 |
font-weight: 400;
|
236 |
letter-spacing: 0.4px;
|
237 |
|
238 |
@include media-breakpoint-up(lg) {
|
239 |
margin: 0;
|
240 |
}
|
241 |
}
|
242 |
|
243 |
h3 {
|
244 |
font-size: 38px;
|
245 |
font-weight: 800;
|
246 |
letter-spacing: 0.95px;
|
247 |
|
248 |
@include media-breakpoint-down(xs) {
|
249 |
font-size: 28px;
|
250 |
}
|
251 |
}
|
252 |
|
253 |
a {
|
254 |
color: $primary-text-color;
|
255 |
outline: none;
|
256 |
|
257 |
&:hover {
|
258 |
color: $primary-text-color;
|
259 |
}
|
260 |
}
|
261 |
|
262 |
hr {
|
263 |
width: 300px;
|
264 |
text-align: left;
|
265 |
margin: 30px 0;
|
266 |
border-top: 2px solid $primary-text-color;
|
267 |
|
268 |
@include media-breakpoint-down(lg) {
|
269 |
width: 90%;
|
270 |
}
|
271 |
|
272 |
@include media-breakpoint-down(xs) {
|
273 |
margin: 15px 0;
|
274 |
}
|
275 |
}
|
276 |
|
277 |
.swiper-container {
|
278 |
height: 100%;
|
279 |
position: relative;
|
280 |
}
|
281 |
|
282 |
.swiper-slide {
|
283 |
display: flex;
|
284 |
justify-content: center;
|
285 |
align-items: center;
|
286 |
|
287 |
&.slide-bg-1 {
|
288 |
background: url($images-dir + 'bg-1.jpg') no-repeat top center; |
289 |
background-size: cover;
|
290 |
}
|
291 |
|
292 |
&.slide-bg-2 {
|
293 |
background: url($images-dir + 'bg-2.jpg') no-repeat bottom center; |
294 |
background-size: cover;
|
295 |
}
|
296 |
|
297 |
&.slide-bg-3 {
|
298 |
background: url($images-dir + 'bg-3.jpg') no-repeat bottom center; |
299 |
background-size: cover;
|
300 |
|
301 |
.slide-text {
|
302 |
width: 100%;
|
303 |
}
|
304 |
}
|
305 |
|
306 |
@include media-breakpoint-down(sm) {
|
307 |
.container {
|
308 |
max-width: 100%;
|
309 |
height: 100%;
|
310 |
overflow-y: scroll;
|
311 |
}
|
312 |
}
|
313 |
}
|
314 |
|
315 |
// TEXT VE SLIDU
|
316 |
.slide-text {
|
317 |
width: 600px;
|
318 |
padding-bottom: 160px;
|
319 |
position: relative;
|
320 |
|
321 |
@include media-breakpoint-down(lg) {
|
322 |
width: 100%;
|
323 |
}
|
324 |
|
325 |
@include media-breakpoint-down(lg) {
|
326 |
padding-bottom: 80px;
|
327 |
}
|
328 |
|
329 |
.slide-index {
|
330 |
display: inline-block;
|
331 |
padding-bottom: 20px;
|
332 |
font-size: 72px;
|
333 |
font-weight: 800;
|
334 |
|
335 |
@include media-breakpoint-down(xs) {
|
336 |
padding-bottom: 10px;
|
337 |
font-size: 48px;
|
338 |
}
|
339 |
}
|
340 |
|
341 |
.btn-primary {
|
342 |
z-index: 1000;
|
343 |
|
344 |
&:after {
|
345 |
content: "";
|
346 |
display: inline-block;
|
347 |
width: 10px;
|
348 |
height: 16px;
|
349 |
position: absolute;
|
350 |
top: 16px;
|
351 |
right: 20px;
|
352 |
background: url($images-dir + 'btn-play.svg') no-repeat top right; |
353 |
}
|
354 |
}
|
355 |
|
356 |
p {
|
357 |
font-size: 18px;
|
358 |
font-weight: 600;
|
359 |
|
360 |
@include media-breakpoint-down(xs) {
|
361 |
font-size: 16px;
|
362 |
}
|
363 |
|
364 |
a {
|
365 |
text-decoration: underline;
|
366 |
|
367 |
&:hover {
|
368 |
text-decoration: none;
|
369 |
}
|
370 |
}
|
371 |
}
|
372 |
}
|
373 |
|
374 |
// STRÁNKOVÁNÍ (TLAČÍTKA) SLIDŮ
|
375 |
.swiper-pagination-buttons {
|
376 |
width: 200px;
|
377 |
height: 56px;
|
378 |
padding: 6px;
|
379 |
position: absolute;
|
380 |
right: 150px;
|
381 |
bottom: 20px;
|
382 |
z-index: 1;
|
383 |
border-radius: 100px;
|
384 |
background: $secondary-bg-color;
|
385 |
|
386 |
@include media-breakpoint-down(lg) {
|
387 |
right: 20px;
|
388 |
}
|
389 |
|
390 |
@include media-breakpoint-down(sm) {
|
391 |
width: 120px;
|
392 |
}
|
393 |
|
394 |
@include media-breakpoint-down(xs) {
|
395 |
bottom: 10px;
|
396 |
}
|
397 |
|
398 |
.btn-prev, .btn-next {
|
399 |
display: inline-block;
|
400 |
width: 45px;
|
401 |
height: 45px;
|
402 |
position: relative;
|
403 |
border-radius: 50%;
|
404 |
border: 2px solid $primary-text-color;
|
405 |
|
406 |
&:after {
|
407 |
content: "";
|
408 |
display: inline-block;
|
409 |
width: 7px;
|
410 |
height: 12px;
|
411 |
position: absolute;
|
412 |
top: calc(50% - 6px);
|
413 |
left: calc(50% - 4px);
|
414 |
}
|
415 |
}
|
416 |
|
417 |
.btn-prev:after {
|
418 |
background: url($images-dir + 'btn-prev.svg') no-repeat top right; |
419 |
}
|
420 |
|
421 |
.btn-next {
|
422 |
float: right;
|
423 |
|
424 |
&:after {
|
425 |
background: url($images-dir + 'btn-next.svg') no-repeat top right; |
426 |
}
|
427 |
}
|
428 |
}
|
429 |
|
430 |
// STRÁNKOVÁNÍ (POZICE) SLIDŮ
|
431 |
.swiper-pagination-bullets {
|
432 |
display: inline-block;
|
433 |
width: auto !important;
|
434 |
height: 30px;
|
435 |
position: absolute;
|
436 |
left: 20px !important;
|
437 |
bottom: 30px !important;
|
438 |
border-radius: 100px;
|
439 |
opacity: 0.8;
|
440 |
background: $secondary-bg-color;
|
441 |
|
442 |
@include media-breakpoint-up(lg) {
|
443 |
left: 50% !important;
|
444 |
transform: translateX(-50%);
|
445 |
}
|
446 |
|
447 |
@include media-breakpoint-down(xs) {
|
448 |
display: none;
|
449 |
}
|
450 |
|
451 |
&:before {
|
452 |
content: "";
|
453 |
width: 100px;
|
454 |
position: absolute;
|
455 |
top: 13px;
|
456 |
left: 15px;
|
457 |
z-index: 1;
|
458 |
border-top: 2px solid $primary-text-color;
|
459 |
}
|
460 |
|
461 |
.swiper-pagination-bullet {
|
462 |
width: 20px;
|
463 |
height: 20px;
|
464 |
position: relative;
|
465 |
margin: 4px 15px !important;
|
466 |
opacity: 1;
|
467 |
border: 2px solid $secondary-bg-color;
|
468 |
background: $secondary-bg-color;
|
469 |
|
470 |
&:before {
|
471 |
content: "";
|
472 |
display: inline-block;
|
473 |
width: 6px;
|
474 |
height: 6px;
|
475 |
position: absolute;
|
476 |
top: 5px;
|
477 |
left: 5px;
|
478 |
border-radius: 50%;
|
479 |
background: $primary-text-color;
|
480 |
}
|
481 |
|
482 |
&:first-of-type {
|
483 |
margin-left: 5px !important;
|
484 |
}
|
485 |
|
486 |
&:last-of-type {
|
487 |
margin-right: 5px !important;
|
488 |
}
|
489 |
}
|
490 |
|
491 |
.swiper-pagination-bullet-active {
|
492 |
border: 2px solid $primary-text-color;
|
493 |
}
|
494 |
}
|
495 |
|
496 |
.btn-primary {
|
497 |
width: 300px;
|
498 |
height: 50px;
|
499 |
line-height: 32px;
|
500 |
position: relative;
|
501 |
padding-left: 30px;
|
502 |
margin-top: 40px;
|
503 |
text-align: left;
|
504 |
font-size: 16px;
|
505 |
text-transform: uppercase;
|
506 |
letter-spacing: 0.4px;
|
507 |
border-radius: 30px;
|
508 |
border: 1px solid $secondary-bg-color;
|
509 |
background: $secondary-bg-color;
|
510 |
|
511 |
&:hover, &:focus, &:active {
|
512 |
border: 1px solid $primary-bg-color;
|
513 |
background: $primary-bg-color !important;
|
514 |
}
|
515 |
|
516 |
@include media-breakpoint-down(xs) {
|
517 |
width: 100%;
|
518 |
max-width: 270px;
|
519 |
height: auto;
|
520 |
margin-top: 20px;
|
521 |
}
|
522 |
}
|
523 |
|
524 |
.btn-secondary {
|
525 |
background: $secondary-bg-color;
|
526 |
|
527 |
&:hover, &:focus, &:active {
|
528 |
background: #7378A0 !important;
|
529 |
}
|
530 |
}
|
531 |
|
532 |
// UKÁZKOVÉ BODY NA MAPĚ
|
533 |
.map-point {
|
534 |
width: 50px;
|
535 |
height: 50px;
|
536 |
z-index: 1;
|
537 |
position: absolute;
|
538 |
border-radius: 50%;
|
539 |
cursor: pointer;
|
540 |
border: 2px solid $primary-text-color;
|
541 |
|
542 |
@media not all and (min-width: 1900px) and (max-width: 2100px) {
|
543 |
display: none;
|
544 |
}
|
545 |
|
546 |
&:before {
|
547 |
content: "";
|
548 |
display: inline-block;
|
549 |
width: 16px;
|
550 |
height: 16px;
|
551 |
position: absolute;
|
552 |
top: calc(50% - 8px);
|
553 |
left: calc(50% - 8px);
|
554 |
background: url($images-dir + 'map-point-plus.svg') no-repeat; |
555 |
}
|
556 |
|
557 |
&:hover {
|
558 |
&:before {
|
559 |
z-index: 1;
|
560 |
top: calc(50% - 1px);
|
561 |
background: url($images-dir + 'map-point-minus.svg') no-repeat; |
562 |
}
|
563 |
|
564 |
.desc {
|
565 |
display: block;
|
566 |
width: 220px;
|
567 |
padding: 10px 20px;
|
568 |
z-index: 0;
|
569 |
opacity: 0.75;
|
570 |
border-radius: 25px 0 25px 0;
|
571 |
background: $secondary-bg-color;
|
572 |
}
|
573 |
}
|
574 |
|
575 |
.desc {
|
576 |
display: none;
|
577 |
}
|
578 |
|
579 |
p {
|
580 |
font-size: 14px;
|
581 |
font-weight: 400;
|
582 |
|
583 |
&:last-of-type {
|
584 |
margin-bottom: 10px;
|
585 |
}
|
586 |
}
|
587 |
|
588 |
strong {
|
589 |
display: inline-block;
|
590 |
width: 100%;
|
591 |
padding: 0 0 20px 40px;
|
592 |
font-size: 16px;
|
593 |
}
|
594 |
|
595 |
.circle {
|
596 |
width: 50px;
|
597 |
height: 50px;
|
598 |
position: absolute;
|
599 |
top: -2px;
|
600 |
left: -2px;
|
601 |
border-radius: 50%;
|
602 |
border: 2px solid $primary-text-color;
|
603 |
}
|
604 |
|
605 |
&.point-1 {
|
606 |
top: 470px;
|
607 |
right: 32.2%;
|
608 |
}
|
609 |
|
610 |
&.point-2 {
|
611 |
top: 688px;
|
612 |
right: 21.2%;
|
613 |
}
|
614 |
|
615 |
&.point-3 {
|
616 |
bottom: 430px;
|
617 |
right: 20.8%;
|
618 |
}
|
619 |
}
|
620 |
|
621 |
#heatmap {
|
622 |
height: 100%;
|
623 |
}
|
624 |
|
625 |
|
626 |
// SEZNAM LOKACÍ NA MAPĚ
|
627 |
.map-locations {
|
628 |
position: absolute;
|
629 |
top: 95px;
|
630 |
right: 25px;
|
631 |
z-index: 1000;
|
632 |
border-radius: 22px;
|
633 |
background-color: rgba(11, 21, 90, .7);
|
634 |
|
635 |
.mobile {
|
636 |
display: none;
|
637 |
}
|
638 |
|
639 |
@include media-breakpoint-down(md) {
|
640 |
top: 90px;
|
641 |
right: 20px;
|
642 |
|
643 |
.desktop {
|
644 |
display: none;
|
645 |
}
|
646 |
|
647 |
.mobile {
|
648 |
display: inline-block;
|
649 |
}
|
650 |
}
|
651 |
|
652 |
@include media-breakpoint-down(xs) {
|
653 |
max-width: 240px;
|
654 |
max-height: 70%;
|
655 |
top: 80px;
|
656 |
right: 10px;
|
657 |
}
|
658 |
|
659 |
.menu {
|
660 |
width: 100%;
|
661 |
display: inline-block;
|
662 |
position: relative;
|
663 |
padding: 10px 60px 13px 16px;
|
664 |
text-decoration: none;
|
665 |
border-radius: 50px;
|
666 |
opacity: 1;
|
667 |
background: $secondary-bg-color;
|
668 |
|
669 |
.circle {
|
670 |
display: inline-block;
|
671 |
width: 40px;
|
672 |
height: 40px;
|
673 |
position: absolute;
|
674 |
top: 3px;
|
675 |
right: 3px;
|
676 |
border-radius: 50%;
|
677 |
border: 2px solid $primary-text-color;
|
678 |
|
679 |
&:after {
|
680 |
content: "";
|
681 |
display: inline-block;
|
682 |
width: 16px;
|
683 |
height: 16px;
|
684 |
position: absolute;
|
685 |
top: calc(50% - 8px);
|
686 |
left: calc(50% - 8px);
|
687 |
background: url($images-dir + 'map-point-plus.svg') no-repeat; |
688 |
}
|
689 |
}
|
690 |
}
|
691 |
|
692 |
.locations {
|
693 |
z-index: 1000;
|
694 |
|
695 |
ul {
|
696 |
margin-top: 10px;
|
697 |
padding-left: 36px;
|
698 |
padding-right: 20px;
|
699 |
font-size: 15px;
|
700 |
list-style-image: url($images-dir + 'li-bullet.svg'); |
701 |
|
702 |
@include media-breakpoint-down(xs) {
|
703 |
max-height: 244px;
|
704 |
overflow-y: scroll;
|
705 |
font-size: 13.5px;
|
706 |
}
|
707 |
}
|
708 |
|
709 |
li {
|
710 |
margin-bottom: 10px;
|
711 |
cursor: pointer;
|
712 |
|
713 |
&:hover {
|
714 |
text-decoration: underline;
|
715 |
}
|
716 |
}
|
717 |
}
|
718 |
}
|
719 |
|
720 |
|
721 |
// DOLNÍ OVLÁDACÍ PANEL HEATMAPY
|
722 |
.player {
|
723 |
width: 100%;
|
724 |
display: flex;
|
725 |
justify-content: center;
|
726 |
align-items: center;
|
727 |
position: absolute;
|
728 |
left: 50%;
|
729 |
transform: translateX(-50%);
|
730 |
bottom: -40px;
|
731 |
z-index: 1000;
|
732 |
|
733 |
@include media-breakpoint-down(xs) {
|
734 |
bottom: -30px;
|
735 |
}
|
736 |
|
737 |
.next, .prev, .play, .pause, .lock-date {
|
738 |
display: inline-block;
|
739 |
width: 42px;
|
740 |
height: 42px;
|
741 |
margin-right: 20px;
|
742 |
position: relative;
|
743 |
border-radius: 50%;
|
744 |
opacity: .7;
|
745 |
border: 2px solid $primary-text-color;
|
746 |
box-shadow: 0 0 0 4px $secondary-bg-color;
|
747 |
background: $secondary-bg-color;
|
748 |
cursor: pointer;
|
749 |
|
750 |
&:hover {
|
751 |
opacity: 1;
|
752 |
}
|
753 |
|
754 |
&:after {
|
755 |
content: "";
|
756 |
display: inline-block;
|
757 |
width: 7px;
|
758 |
height: 12px;
|
759 |
position: absolute;
|
760 |
top: calc(50% - 6px);
|
761 |
left: calc(50% - 4px);
|
762 |
}
|
763 |
}
|
764 |
|
765 |
.play, .pause {
|
766 |
width: 57px;
|
767 |
height: 57px;
|
768 |
opacity: 1;
|
769 |
|
770 |
@include media-breakpoint-down(md) {
|
771 |
order: 3;
|
772 |
}
|
773 |
|
774 |
&:hover {
|
775 |
opacity: .7;
|
776 |
}
|
777 |
|
778 |
&:after {
|
779 |
width: 10px;
|
780 |
height: 16px;
|
781 |
top: calc(50% - 8px);
|
782 |
}
|
783 |
}
|
784 |
|
785 |
.play:after {
|
786 |
left: calc(50% - 2px);
|
787 |
background: url($images-dir + 'btn-play.svg') no-repeat; |
788 |
}
|
789 |
|
790 |
.pause:after {
|
791 |
left: calc(50% - 4px);
|
792 |
background: url($images-dir + 'btn-pause.png') no-repeat; |
793 |
}
|
794 |
|
795 |
.next {
|
796 |
@include media-breakpoint-down(md) {
|
797 |
order: 3;
|
798 |
}
|
799 |
|
800 |
@include media-breakpoint-down(xs) {
|
801 |
margin-right: 0;
|
802 |
}
|
803 |
|
804 |
&:after {
|
805 |
background: url($images-dir + 'btn-next.svg') no-repeat; |
806 |
}
|
807 |
}
|
808 |
|
809 |
.prev {
|
810 |
@include media-breakpoint-down(md) {
|
811 |
order: 2;
|
812 |
}
|
813 |
|
814 |
&:after {
|
815 |
background: url($images-dir + 'btn-prev.svg') no-repeat; |
816 |
}
|
817 |
}
|
818 |
|
819 |
.datetime {
|
820 |
display: flex;
|
821 |
|
822 |
@media (max-width: 390px) {
|
823 |
display: block;
|
824 |
text-align: center;
|
825 |
margin-right: 10px;
|
826 |
}
|
827 |
}
|
828 |
|
829 |
.date {
|
830 |
display: flex;
|
831 |
align-items: center;
|
832 |
align-content: center;
|
833 |
font-size: 15px;
|
834 |
margin-right: 10px;
|
835 |
text-align: center;
|
836 |
border-radius: 15px;
|
837 |
cursor: pointer;
|
838 |
background: rgba(11, 21, 90, .7);
|
839 |
|
840 |
@media (max-width: 390px) {
|
841 |
margin-right: 0;
|
842 |
}
|
843 |
|
844 |
span {
|
845 |
padding: 3px 6px 4px 12px;
|
846 |
}
|
847 |
|
848 |
.lock-date {
|
849 |
width: 26px;
|
850 |
height: 26px;
|
851 |
margin-right: 2px;
|
852 |
opacity: 1;
|
853 |
border: 1px solid $primary-text-color;
|
854 |
box-shadow: 0 0 0 2px $secondary-bg-color;
|
855 |
|
856 |
&:hover {
|
857 |
box-shadow: 0 0 0 2px rgba(11, 21, 90, .2);
|
858 |
background: rgba(11, 21, 90, .2);
|
859 |
|
860 |
&:after {
|
861 |
background-position: -8px 0;
|
862 |
}
|
863 |
}
|
864 |
|
865 |
&:after {
|
866 |
content: '';
|
867 |
display: inline-block;
|
868 |
width: 8px;
|
869 |
height: 11px;
|
870 |
background: url($images-dir + 'btn-lock.svg') no-repeat 0 0; |
871 |
background-size: cover;
|
872 |
}
|
873 |
|
874 |
&.unlock {
|
875 |
&:after {
|
876 |
background-position: -8px 0;
|
877 |
}
|
878 |
|
879 |
&:hover:after {
|
880 |
background-position: 0 0;
|
881 |
}
|
882 |
}
|
883 |
}
|
884 |
}
|
885 |
|
886 |
.timeline {
|
887 |
display: flex;
|
888 |
height: 30px;
|
889 |
flex-direction: row;
|
890 |
position: relative;
|
891 |
padding: 0 10px;
|
892 |
border-radius: 100px;
|
893 |
cursor: pointer;
|
894 |
background-color: rgba(11, 21, 90, .7);
|
895 |
|
896 |
@include media-breakpoint-down(md) {
|
897 |
padding: 0;
|
898 |
order: 1;
|
899 |
margin-right: 20px;
|
900 |
}
|
901 |
|
902 |
@media (max-width: 390px) {
|
903 |
display: inline-block;
|
904 |
margin: 4px 0 0 0;
|
905 |
}
|
906 |
|
907 |
.hour {
|
908 |
@include media-breakpoint-down(md) {
|
909 |
display: none;
|
910 |
}
|
911 |
|
912 |
&:before {
|
913 |
content: "";
|
914 |
display: inline-block;
|
915 |
width: 6px;
|
916 |
height: 6px;
|
917 |
border-radius: 50%;
|
918 |
background: $primary-text-color;
|
919 |
}
|
920 |
|
921 |
&:after {
|
922 |
content: "";
|
923 |
display: inline-block;
|
924 |
position: relative;
|
925 |
top: -2px;
|
926 |
width: 20px;
|
927 |
height: 2px;
|
928 |
background: $primary-text-color;
|
929 |
}
|
930 |
}
|
931 |
|
932 |
.end-dot:before {
|
933 |
content: "";
|
934 |
display: inline-block;
|
935 |
width: 6px;
|
936 |
height: 6px;
|
937 |
border-radius: 50%;
|
938 |
background: $primary-text-color;
|
939 |
|
940 |
@include media-breakpoint-down(md) {
|
941 |
display: none;
|
942 |
}
|
943 |
}
|
944 |
}
|
945 |
|
946 |
.time {
|
947 |
display: flex;
|
948 |
justify-content: center;
|
949 |
align-items: center;
|
950 |
width: 64px;
|
951 |
font-size: 15px;
|
952 |
padding: 3px 0 4px 0;
|
953 |
z-index: 1000;
|
954 |
border-radius: 15px;
|
955 |
background: $secondary-bg-color;
|
956 |
|
957 |
@include media-breakpoint-up(lg) {
|
958 |
position: absolute;
|
959 |
|
960 |
&.hour-0 {left: 0;}
|
961 |
&.hour-1 {left: 25px;}
|
962 |
&.hour-2 {left: 50px;}
|
963 |
&.hour-3 {left: 75px;}
|
964 |
&.hour-4 {left: 100px;}
|
965 |
&.hour-5 {left: 125px;}
|
966 |
&.hour-6 {left: 150px;}
|
967 |
&.hour-7 {left: 175px;}
|
968 |
&.hour-8 {left: 200px;}
|
969 |
&.hour-9 {left: 225px;}
|
970 |
&.hour-10 {left: 250px;}
|
971 |
&.hour-11 {left: 275px;}
|
972 |
&.hour-12 {left: 300px;}
|
973 |
&.hour-13 {left: 325px;}
|
974 |
&.hour-14 {left: 350px;}
|
975 |
&.hour-15 {left: 375px;}
|
976 |
&.hour-16 {left: 400px;}
|
977 |
&.hour-17 {left: 425px;}
|
978 |
&.hour-18 {left: 450px;}
|
979 |
&.hour-19 {left: 475px;}
|
980 |
&.hour-20 {left: 500px;}
|
981 |
&.hour-21 {left: 525px;}
|
982 |
&.hour-22 {left: 550px;}
|
983 |
&.hour-23 {left: 585px;}
|
984 |
}
|
985 |
}
|
986 |
}
|
987 |
|
988 |
|
989 |
.slide-background {
|
990 |
width: 650px;
|
991 |
height: 290px;
|
992 |
z-index: 1;
|
993 |
position: absolute;
|
994 |
bottom: 0;
|
995 |
left: 0;
|
996 |
background: url($images-dir + 'footer-bg.svg') no-repeat; |
997 |
|
998 |
@include media-breakpoint-down(md) {
|
999 |
width: 320px;
|
1000 |
height: 143px;
|
1001 |
background-size: 100%;
|
1002 |
}
|
1003 |
}
|
1004 |
|
1005 |
|
1006 |
// COPYRIGHT
|
1007 |
div.copyright {
|
1008 |
p {
|
1009 |
font-weight: 400;
|
1010 |
}
|
1011 |
|
1012 |
span {
|
1013 |
font-size: 17px;
|
1014 |
}
|
1015 |
}
|
1016 |
|
1017 |
|
1018 |
// LOGA V SEKCI "O PROJEKTU"
|
1019 |
p.logos-partners {
|
1020 |
margin-top: 40px;
|
1021 |
text-align: right;
|
1022 |
|
1023 |
a {
|
1024 |
text-decoration: none;
|
1025 |
|
1026 |
img {
|
1027 |
margin-left: 50px;
|
1028 |
height: 80px;
|
1029 |
|
1030 |
@media only screen and (max-width: 430px) {
|
1031 |
height: 70px;
|
1032 |
margin-left: 0;
|
1033 |
}
|
1034 |
|
1035 |
@media only screen and (max-width: 340px) {
|
1036 |
height: 60px;
|
1037 |
}
|
1038 |
}
|
1039 |
|
1040 |
&:first-of-type img {
|
1041 |
margin-left: 0;
|
1042 |
}
|
1043 |
}
|
1044 |
}
|
1045 |
|
1046 |
|
1047 |
// POPUP O KONKRÉTNÍM BODĚ V HEATMAPĚ
|
1048 |
.leaflet-popup-content-wrapper, .leaflet-popup-tip {
|
1049 |
font-family: 'Be Vietnam', sans-serif; |
1050 |
text-align: center;
|
1051 |
color: $primary-text-color;
|
1052 |
}
|
1053 |
|
1054 |
.leaflet-popup-content-wrapper {
|
1055 |
.leaflet-popup-content strong {
|
1056 |
display: inline-block;
|
1057 |
margin-bottom: 8px;
|
1058 |
}
|
1059 |
|
1060 |
.popup-controls {
|
1061 |
display: flex;
|
1062 |
margin: 1em 0 1em 0;
|
1063 |
|
1064 |
.circle-button {
|
1065 |
height: 32px;
|
1066 |
width: 32px;
|
1067 |
border: 0;
|
1068 |
border-radius: 24px;
|
1069 |
background: url($images-dir + 'btn-prev.svg') rgba(255, 255, 255, .1) no-repeat center center; |
1070 |
transition: background 0.3s ease-out;
|
1071 |
outline: none !important;
|
1072 |
|
1073 |
&:hover {
|
1074 |
background: url($images-dir + 'btn-prev.svg') rgba(125, 125, 125, .1) no-repeat center center; |
1075 |
}
|
1076 |
|
1077 |
&.next {
|
1078 |
background: url($images-dir + 'btn-next.svg') rgba(255, 255, 255, .1) no-repeat center center; |
1079 |
|
1080 |
&:hover {
|
1081 |
background: url($images-dir + 'btn-next.svg') rgba(125, 125, 125, .1) no-repeat center center; |
1082 |
}
|
1083 |
}
|
1084 |
}
|
1085 |
}
|
1086 |
|
1087 |
#total-info {
|
1088 |
margin-left: 5px;
|
1089 |
font-size: 11pt;
|
1090 |
}
|
1091 |
|
1092 |
#number-info {
|
1093 |
display: flex;
|
1094 |
align-items: center;
|
1095 |
justify-content: center;
|
1096 |
font-family: monospace;
|
1097 |
font-size: 24pt;
|
1098 |
font-weight: 700;
|
1099 |
}
|
1100 |
|
1101 |
#count-info {
|
1102 |
margin: auto;
|
1103 |
color: $primary-text-color;
|
1104 |
}
|
1105 |
}
|
1106 |
|
1107 |
// ÚPRAVA VZHLEDU HLAVIČKY NA STRÁNCE S HEATMAPOU
|
1108 |
header.map .nav-item {
|
1109 |
padding: 5px;
|
1110 |
margin-top: auto;
|
1111 |
margin-bottom: auto;
|
1112 |
|
1113 |
&:nth-child(3), &:last-child{
|
1114 |
border: 0;
|
1115 |
}
|
1116 |
|
1117 |
.btn-secondary {
|
1118 |
display: flex;
|
1119 |
justify-content: center;
|
1120 |
align-items: center;
|
1121 |
outline: none;
|
1122 |
border-radius: 50px;
|
1123 |
height: 40px;
|
1124 |
width: 40px;
|
1125 |
margin-left: 10px;
|
1126 |
transition: all 0.2s ease-out;
|
1127 |
color: $primary-bg-color;
|
1128 |
background: rgba(255, 255, 255, 1);
|
1129 |
-webkit-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.17);
|
1130 |
-moz-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.17);
|
1131 |
box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.17);
|
1132 |
|
1133 |
@include media-breakpoint-down(md) {
|
1134 |
width: 100%;
|
1135 |
border-radius: .25rem;
|
1136 |
margin-left: 0px;
|
1137 |
margin-top: 10px;
|
1138 |
margin-bottom: -10px;
|
1139 |
}
|
1140 |
|
1141 |
&:after {
|
1142 |
padding-bottom: 4px;
|
1143 |
content: '↺'; |
1144 |
font-weight: 400;
|
1145 |
font-size: 30px;
|
1146 |
transform: rotateZ(0);
|
1147 |
transition: all 0.6s cubic-bezier(0.075, 0.82, 0.165, 1);
|
1148 |
}
|
1149 |
|
1150 |
&:hover {
|
1151 |
color: $primary-bg-color;
|
1152 |
background: rgba(255, 255, 255, 1) !important;
|
1153 |
-webkit-box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.22);
|
1154 |
-moz-box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.22);
|
1155 |
box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.22);
|
1156 |
|
1157 |
&:after {
|
1158 |
transform: rotateZ(-90deg);
|
1159 |
transition: all 0.6s cubic-bezier(0.075, 0.82, 0.165, 1);
|
1160 |
}
|
1161 |
}
|
1162 |
|
1163 |
&:active, &:focus {
|
1164 |
background: rgba(240, 240, 240, 1) !important;
|
1165 |
color: $primary-bg-color !important;
|
1166 |
}
|
1167 |
}
|
1168 |
|
1169 |
input {
|
1170 |
&:hover {
|
1171 |
background: rgba(255, 255, 255, .2);
|
1172 |
}
|
1173 |
|
1174 |
&:focus {
|
1175 |
background: $primary-text-color;
|
1176 |
color: #000;
|
1177 |
}
|
1178 |
}
|
1179 |
}
|
1180 |
|
1181 |
|
1182 |
// MENU PRO VÝBĚR ČASU/DATOVÝCH SAD
|
1183 |
.dropdown {
|
1184 |
min-width: 200px;
|
1185 |
|
1186 |
input[type="radio"]:checked ~ label {
|
1187 |
font-weight: 800;
|
1188 |
}
|
1189 |
|
1190 |
.btn {
|
1191 |
width: 100%;
|
1192 |
text-align: left;
|
1193 |
letter-spacing: .4px;
|
1194 |
color: $primary-text-color;
|
1195 |
background: $primary-bg-color;
|
1196 |
|
1197 |
&:hover {
|
1198 |
background: $input-bg-hover;
|
1199 |
}
|
1200 |
}
|
1201 |
|
1202 |
.dropdown-menu {
|
1203 |
width: 100%;
|
1204 |
max-height: 300px;
|
1205 |
overflow-y: auto;
|
1206 |
z-index: 1001;
|
1207 |
}
|
1208 |
|
1209 |
.dropdown-item {
|
1210 |
&:active {
|
1211 |
background: $primary-bg-color;
|
1212 |
}
|
1213 |
|
1214 |
label {
|
1215 |
width: 100% !important;
|
1216 |
margin-left: 0;
|
1217 |
cursor: pointer;
|
1218 |
}
|
1219 |
}
|
1220 |
|
1221 |
#dropdown-time .dropdown-item:nth-of-type(even) {
|
1222 |
background: rgba(0,0,0,.05);
|
1223 |
|
1224 |
&:active {
|
1225 |
background: $primary-bg-color;
|
1226 |
}
|
1227 |
}
|
1228 |
}
|