Projekt

Obecné

Profil

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