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