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