Projekt

Obecné

Profil

Stáhnout (24.8 KB) Statistiky
| Větev: | Revize:
1
@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

    
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
$heatmap-nav-border-color: #1C6CC0;
15
$heatmap-nav-button-bg-color: #0057be;
16

    
17
$images-dir: '../img/';
18

    
19

    
20
html, body {
21
  position: relative;
22
  height: 96.2%;
23
  font-family: 'Be Vietnam', sans-serif;
24
  color: $primary-text-color;
25
  background: $secondary-bg-color;
26

    
27
  &.intro {
28
    @include media-breakpoint-down(sm) {
29
      height: calc(100% - 45px);
30
    }
31
  }
32
}
33

    
34
header {
35
  height: 70px;
36
  background: $primary-bg-color;
37

    
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
      z-index: 1001;
88
      opacity: .98;
89
      background: $primary-bg-color-darker;
90
    }
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
        border: 1px solid $primary-text-color;
121
        border-radius: 20px;
122

    
123
        &:hover {
124
          background: $primary-bg-color-darker;
125
        }
126
      }
127
    }
128
  }
129

    
130
  .navbar-button {
131
    padding: .5rem 22px;
132
    margin-right: 40px;
133
    border: 1px solid $primary-text-color;
134
    border-radius: 20px;
135
    text-decoration: none;
136

    
137
    @include media-breakpoint-down(md) {
138
      display: none;
139
    }
140

    
141
    &:hover {
142
      background: $primary-bg-color-darker;
143
    }
144
  }
145

    
146
  .btn-secondary {
147
    height: 100%;
148
    font-size: 16px;
149
    text-transform: uppercase;
150
    font-weight: 800;
151
    letter-spacing: .4px;
152
    border-radius: 0;
153
    border: $primary-bg-color;
154
    background: $primary-bg-color-darker;
155

    
156
    &:hover {
157
      background: $primary-bg-color !important;
158
    }
159
  }
160
}
161

    
162
h1 {
163
  text-transform: uppercase;
164
  font-size: 21px;
165
  font-weight: 700;
166
  letter-spacing: .53px;
167

    
168
  @include media-breakpoint-up(lg) {
169
    line-height: 55px;
170
  }
171
}
172

    
173
h2 {
174
  font-size: 16px;
175
  font-weight: 400;
176
  letter-spacing: .4px;
177

    
178
  @include media-breakpoint-up(lg) {
179
    margin: 0;
180
  }
181
}
182

    
183
h3 {
184
  font-size: 38px;
185
  font-weight: 800;
186
  letter-spacing: .95px;
187

    
188
  @include media-breakpoint-down(xs) {
189
    font-size: 28px;
190
  }
191
}
192

    
193
a {
194
  color: $primary-text-color;
195
  outline: none;
196

    
197
  &:hover {
198
    color: $primary-text-color;
199
  }
200
}
201

    
202
hr {
203
  width: 300px;
204
  text-align: left;
205
  margin: 30px 0;
206
  border-top: 2px solid $primary-text-color;
207

    
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
// OBRÁZKY VE SLIDECH NA ÚVODNÍ STRÁNCE
223
.swiper-slide {
224
  display: flex;
225
  justify-content: center;
226
  align-items: center;
227

    
228
  &.slide-bg-1 {
229
    background: url($images-dir + 'bg-1.jpg') no-repeat top center;
230
    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
      width: 100%;
244
    }
245
  }
246

    
247
  @include media-breakpoint-down(sm) {
248
    .container {
249
      max-width: 100%;
250
      height: 100%;
251
      overflow-y: scroll;
252
    }
253
  }
254
}
255

    
256
// TEXT VE SLIDU NA ÚVODNÍ STRÁNCE
257
.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
    z-index: 1000;
284

    
285
    &: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

    
305
    a {
306
      text-decoration: underline;
307

    
308
      &:hover {
309
        text-decoration: none;
310
      }
311
    }
312
  }
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
  background: $secondary-bg-color;
326

    
327
  @include media-breakpoint-down(lg) {
328
    right: 20px;
329
  }
330

    
331
  @include media-breakpoint-down(sm) {
332
    width: 120px;
333
  }
334

    
335
  @include media-breakpoint-down(xs) {
336
    bottom: 10px;
337
  }
338

    
339
  .btn-prev, .btn-next {
340
    display: inline-block;
341
    width: 45px;
342
    height: 45px;
343
    position: relative;
344
    border-radius: 50%;
345
    border: 2px solid $primary-text-color;
346

    
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
  background: $secondary-bg-color;
382

    
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
    border-top: 2px solid $primary-text-color;
400
  }
401

    
402
  .swiper-pagination-bullet {
403
    width: 20px;
404
    height: 20px;
405
    position: relative;
406
    margin: 4px 15px !important;
407
    opacity: 1;
408
    border: 2px solid $secondary-bg-color;
409
    background: $secondary-bg-color;
410

    
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
      background: $primary-text-color;
421
    }
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
    border: 2px solid $primary-text-color;
434
  }
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
  border: 1px solid $secondary-bg-color;
450
  background: $secondary-bg-color;
451

    
452
  &:hover, &:focus, &:active {
453
    border: 1px solid $primary-bg-color;
454
    background: $primary-bg-color !important;
455
  }
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
  background: $secondary-bg-color;
467

    
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
  border: 2px solid $primary-text-color;
482

    
483
  @media not all and (min-width: 1900px) and (max-width: 2100px) {
484
    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
      width: 220px;
508
      padding: 10px 20px;
509
      z-index: 0;
510
      opacity: 0.75;
511
      border-radius: 25px 0 25px 0;
512
      background: $secondary-bg-color;
513
    }
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
    border: 2px solid $primary-text-color;
544
  }
545

    
546
  &.point-1 {
547
    top: 470px;
548
    right: 32.2%;
549
  }
550

    
551
  &.point-2 {
552
    top: 688px;
553
    right: 21.2%;
554
  }
555

    
556
  &.point-3 {
557
    bottom: 430px;
558
    right: 20.8%;
559
  }
560
}
561

    
562

    
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
#heatmap {
628
  height: 100%;
629
}
630

    
631

    
632
// 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
.map-locations {
829
  position: absolute;
830
  top: 95px;
831
  right: 25px;
832
  z-index: 1000;
833
  border-radius: 22px;
834
  background-color: rgba(11, 21, 90, .7);
835

    
836
  // KRATŠÍ NADPIS PRO MENŠÍ ROZLIŠENÍ
837
  .mobile {
838
    display: none;
839
  }
840

    
841
  @include media-breakpoint-down(md) {
842
    top: 90px;
843
    right: 20px;
844

    
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
    max-height: 70%;
857
    top: 80px;
858
    right: 10px;
859
  }
860

    
861
  // NADPIS PRO OTEVŘENÍ / SKRYTÍ SEZNAMU LOKACÍ
862
  .menu {
863
    width: 100%;
864
    display: inline-block;
865
    position: relative;
866
    padding: 10px 60px 13px 16px;
867
    text-decoration: none;
868
    border-radius: 50px;
869
    opacity: 1;
870
    background: $secondary-bg-color;
871

    
872
    // IKONKA V NADPISU
873
    .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
      border: 2px solid $primary-text-color;
882

    
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
  // SEZNAM LOKACÍ
897
  .locations {
898
    z-index: 1000;
899

    
900
    ul {
901
      margin-top: 10px;
902
      padding-left: 36px;
903
      padding-right: 20px;
904
      font-size: 15px;
905
      list-style-image: url($images-dir + 'li-bullet.svg');
906

    
907
      @include media-breakpoint-down(xs) {
908
        max-height: 244px;
909
        overflow-y: scroll;
910
        font-size: 13.5px;
911
      }
912
    }
913

    
914
    li {
915
      margin-bottom: 10px;
916
      cursor: pointer;
917

    
918
      &:hover {
919
        text-decoration: underline;
920
      }
921
    }
922
  }
923
}
924

    
925

    
926
// DOLNÍ OVLÁDACÍ PANEL HEATMAPY
927
.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
  @include media-breakpoint-down(xs) {
939
    bottom: -30px;
940
  }
941

    
942
  // TLAČÍTKA PRO OVLÁDÁNÍ ANIMACE HEATMAPY
943
  .next-btn, .prev-btn, .animate-btn, .lock-btn {
944
    display: inline-block;
945
    width: 42px;
946
    height: 42px;
947
    margin-right: 20px;
948
    position: relative;
949
    border-radius: 50%;
950
    opacity: .7;
951
    border: 2px solid $primary-text-color;
952
    box-shadow: 0 0 0 4px $secondary-bg-color;
953
    background: $secondary-bg-color;
954
    cursor: pointer;
955

    
956
    @media (max-width: 320px) {
957
      margin-right: 15px;
958
    }
959

    
960
    &:hover {
961
      opacity: 1;
962
    }
963

    
964
    &: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
  // TLAČÍTKO START / STOP ANIMACE
976
  .animate-btn {
977
    width: 57px;
978
    height: 57px;
979
    opacity: 1;
980

    
981
    @include media-breakpoint-down(md) {
982
      order: 3;
983
    }
984

    
985
    &:hover {
986
      opacity: .7;
987
    }
988

    
989
    &:after {
990
      width: 10px;
991
      height: 16px;
992
      top: calc(50% - 8px);
993
    }
994

    
995
    &.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
  }
1005

    
1006
  // TLAČÍTKO DALŠÍ KROK ANIMACE
1007
  .next-btn {
1008
    @include media-breakpoint-down(md) {
1009
      order: 3;
1010
    }
1011

    
1012
    @include media-breakpoint-down(xs) {
1013
      margin-right: 0;
1014
    }
1015

    
1016
    &:after {
1017
      background: url($images-dir + 'btn-next.svg') no-repeat;
1018
    }
1019
  }
1020

    
1021
  // TLAČÍTKO PŘEDCHOZÍ KROK ANIMACE
1022
  .prev-btn {
1023
    @include media-breakpoint-down(md) {
1024
      order: 2;
1025
    }
1026

    
1027
    &:after {
1028
      background: url($images-dir + 'btn-prev.svg') no-repeat;
1029
    }
1030
  }
1031

    
1032
  // WRAPPER ČASOVÉ OSY
1033
  .timeline-wrapper {
1034
    display: flex;
1035
    
1036
    @media (max-width: 390px) {
1037
      display: block;
1038
      text-align: center;
1039
      margin-right: 10px;
1040
    }
1041
  }
1042

    
1043
  // DATUM
1044
  .date {
1045
    display: flex;
1046
    align-items: center;
1047
    align-content: center;
1048
    font-size: 15px;
1049
    margin-right: 10px;
1050
    text-align: center;
1051
    border-radius: 15px;
1052
    cursor: pointer;
1053
    background: rgba(11, 21, 90, .7);
1054
    
1055
    @media (max-width: 390px) {
1056
      margin-right: 0;
1057
    }
1058

    
1059
    &:hover .lock-btn:after {
1060
      background-position: 0 0;
1061
    }
1062

    
1063
    &.lock {
1064
      background: rgba(11, 21, 90, 1);
1065

    
1066
      &:hover .lock-btn:after {
1067
        background-position: -8px 0;
1068
      }
1069
      
1070
      .lock-btn {
1071
        border: 0;
1072
        box-shadow: none;
1073

    
1074
        &:after {
1075
          background-position: 0 0;
1076
        }
1077
      }
1078
    }
1079

    
1080
    span {
1081
      padding: 3px 6px 4px 12px;
1082
    }
1083

    
1084
    // ZÁMEČEK PRO UZAMČENÍ ANIMACE V KONKRÉTNÍM DATU
1085
    .lock-btn {
1086
      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
        background: url($images-dir + 'btn-lock.svg') no-repeat -8px 0;
1098
        background-size: cover;
1099
      }
1100

    
1101
      &:hover:after {
1102
        background-position: 0 0;
1103
      }
1104
    }
1105
  }
1106

    
1107
  // ČASOVÁ OSA
1108
  .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
      order: 1;
1119
      margin-right: 20px;
1120
    }
1121

    
1122
    @media (max-width: 390px) {
1123
      display: inline-block;
1124
      margin: 4px 0 0 0;
1125
    }
1126

    
1127
    // JEDEN DÍLEK ČASOVÉ OSY
1128
    .hour {
1129
      cursor: pointer;
1130

    
1131
      @include media-breakpoint-down(md) {
1132
        display: none;
1133
      }
1134

    
1135
      &:nth-of-type(2) {
1136
        margin-left: 10px;
1137
      }
1138

    
1139
      &:before {
1140
        content: "";
1141
        display: inline-block;
1142
        width: 6px;
1143
        height: 6px;
1144
        border-radius: 50%;
1145
        background: $primary-text-color;
1146
      }
1147

    
1148
      &:after {
1149
        content: "";
1150
        display: inline-block;
1151
        position: relative;
1152
        top: -2px;
1153
        width: 20px;
1154
        height: 2px;
1155
        background: $primary-text-color;
1156
      }
1157
    }
1158

    
1159
    // POSLEDNÍ DÍLEK ČASOVÉ OSY
1160
    .end-dot:before {
1161
      content: "";
1162
      display: inline-block;
1163
      width: 6px;
1164
      height: 6px;
1165
      margin-right: 10px;
1166
      border-radius: 50%;
1167
      background: $primary-text-color;
1168

    
1169
      @include media-breakpoint-down(md) {
1170
        display: none;
1171
      }
1172
    }
1173
  }
1174

    
1175
  // ČAS NA ČASOVÉ OSE
1176
  .time {
1177
    display: flex;
1178
    justify-content: center;
1179
    align-items: center;
1180
    width: 64px;
1181
    padding: 3px 0 4px 0;
1182
    z-index: 1000;
1183
    font-size: 15px;
1184
    border-radius: 15px;
1185
    cursor: ew-resize;
1186
    background: $secondary-bg-color;
1187

    
1188
    @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

    
1217
    // NAČÍTÁNÍ
1218
    .custom-spinner-border {
1219
      margin: 3px 0 4px 0;
1220
    }
1221
  }
1222
}
1223

    
1224

    
1225
// POPUP O KONKRÉTNÍM BODĚ V HEATMAPĚ
1226
.leaflet-popup-content-wrapper, .leaflet-popup-tip {
1227
  font-family: 'Be Vietnam', sans-serif;
1228
  text-align: center;
1229
  color: $primary-text-color;
1230

    
1231
  // INFORMACE O LOKACI / NÁZEV DATASETU
1232
  strong {
1233
    display: inline-block;
1234
    margin-bottom: 8px;
1235
  }
1236

    
1237
  // 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
    display: flex;
1255
    margin: 1em 0 1em 0;
1256

    
1257
    button {
1258
      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
    // POČET STRÁNEK
1280
    p {
1281
      margin: auto;
1282
    }
1283
  }
1284
}
(7-7/8)