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