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