Projekt

Obecné

Profil

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