Projekt

Obecné

Profil

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