Projekt

Obecné

Profil

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