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