Projekt

Obecné

Profil

Stáhnout (14.4 KB) Statistiky
| Větev: | Revize:
1
@import '../extensions/bootstrap-4.4.1/functions';
2
@import '../extensions/bootstrap-4.4.1/variables';
3
@import '../extensions/bootstrap-4.4.1/mixins/breakpoints';
4

    
5
$images-dir: '../img/';
6

    
7
@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam:wght@400;600;700;800&display=swap');
8

    
9
html, body {
10
  position: relative;
11
  height: 96.2%;
12
  background: #242C6B;
13

    
14
  @include media-breakpoint-down(sm) {
15
    height: auto;
16
  }
17
}
18

    
19
body {
20
  font-family: 'Be Vietnam', sans-serif;
21
  color: #fff;
22
}
23

    
24
header {
25
  height: 70px;
26
  background: #0048A9;
27

    
28
  .logo {
29
    width: 450px;
30
    height: 181px;
31
    position: absolute;
32
    top: 70px;
33
    left: 0;
34
    z-index: 2;
35
    background: url($images-dir + 'header-bg.png');
36

    
37
    @media (max-width: 1400px) {
38
      display: none;
39
    }
40

    
41
    img {
42
      height: 100px;
43
      position: relative;
44
      top: -50px;
45
      left: 50px;
46
    }
47
  }
48

    
49
  nav.navbar {
50
    height: 70px;
51
    position: relative;
52
  }
53

    
54
  .navbar-toggler-icon {
55
    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");
56
  }
57

    
58
  .navbar-brand.shifted {
59
    @media (min-width: 1401px) {
60
      position: absolute;
61
      top: 0;
62
      left: 450px;
63
    }
64

    
65
    @include media-breakpoint-down(lg) {
66
      left: 20px;
67
    }
68
  }
69

    
70
  @include media-breakpoint-down(md) {
71
    #navigation {
72
      width: 100%;
73
      padding: 20px;
74
      position: absolute;
75
      top: 70px;
76
      left: 0;
77
      z-index: 1001;
78
      opacity: .9;
79
      background: #004fb3;
80
    }
81
  }
82

    
83
  .nav-item {
84
    margin-right: 40px;
85

    
86
    @media (max-width: 1480px) {
87
      margin-right: 30px;
88
    }
89

    
90
    @media (max-width: 1440px) {
91
      margin-right: 15px;
92
    }
93

    
94
    @include media-breakpoint-down(lg) {
95
      margin-right: 30px;
96
    }
97

    
98
    @include media-breakpoint-down(md) {
99
      margin-right: 0;
100
    }
101

    
102
    .active {
103
      font-weight: 800;
104
    }
105

    
106
    &.button {
107
      .nav-link {
108
        padding-left: 22px;
109
        padding-right: 22px;
110
        border: 1px solid #fff;
111
        border-radius: 20px;
112

    
113
        &:hover {
114
          background: #004fb3;
115
        }
116
      }
117
    }
118
  }
119

    
120
  .navbar-button {
121
    padding: .5rem 22px;
122
    border: 1px solid #fff;
123
    border-radius: 20px;
124
    text-decoration: none;
125

    
126
    @include media-breakpoint-down(md) {
127
      display: none;
128
    }
129

    
130
    &:hover {
131
      background: #004fb3;
132
    }
133
  }
134

    
135
  .btn-secondary {
136
    height: 100%;
137
    font-size: 16px;
138
    text-transform: uppercase;
139
    font-weight: 800;
140
    letter-spacing: 0.4px;
141
    border-radius: 0;
142
    border: #0048A9;
143
    background: #004fb3;
144

    
145
    &:hover {
146
      background: #0048A9 !important;
147
    }
148
  }
149

    
150
  // NAVIGACE NA STRÁNCE S MAPOU
151
  &.map {
152
    @include media-breakpoint-down(md) {
153
      .navbar-nav {
154
        width: 100%;
155
      }
156
    }
157

    
158
    form {
159
      display: flex;
160
    }
161

    
162
    label {
163
      margin: 0 0 0 15px;
164
      font-size: 16px;
165
      font-weight: 800;
166
      letter-spacing: .4px;
167
    }
168

    
169
    input, .custom-select {
170
      letter-spacing: .4px;
171
      color: #fff;
172
      border-color: #0048A9;
173
      background: #0048A9;
174

    
175
      &:hover {
176
        background: #004fb3;
177
      }
178
    }
179

    
180
    .nav-item {
181
      margin: 0;
182
      border-right: 1px solid #1C6CC0;
183

    
184
      @include media-breakpoint-down(md) {
185
        margin-bottom: 20px;
186
        border: 0;
187
      }
188

    
189
      &:nth-of-type(1) {
190
        margin-left: 100px;
191

    
192
        @include media-breakpoint-down(lg) {
193
          margin-left: 0;
194
        }
195
      }
196

    
197
      &:nth-of-type(1), &:nth-of-type(2), &:nth-of-type(3) {
198
        width: 300px;
199

    
200
        @media (max-width: 1500px) {
201
          width: 280px;
202
        }
203

    
204
        @media (max-width: 1400px) {
205
          width: 230px;
206
        }
207

    
208
        @media (max-width: 1400px) {
209
          max-width: 230px;
210
          width: auto;
211
        }
212

    
213
        @include media-breakpoint-down(md) {
214
          max-width: none;
215
        }
216
      }
217

    
218
      &:last-of-type {
219
        display: none;
220
        border: 0;
221

    
222
        /*@include media-breakpoint-down(lg) {
223

    
224
          margin: 0 10px 0 20px;
225
        }*/
226

    
227
        @include media-breakpoint-down(md) {
228
          display: block;
229
          width: 100%;
230
          margin: 30px 10px 0 0;
231

    
232
          h2 {
233
            width: 100%;
234
          }
235
        }
236
      }
237

    
238
      @include media-breakpoint-down(md) {
239
        .btn {
240
          width: 100%;
241
        }
242
      }
243
    }
244
  }
245
}
246

    
247
h1 {
248
  text-transform: uppercase;
249
  font-size: 21px;
250
  font-weight: 700;
251
  letter-spacing: 0.53px;
252

    
253
  @include media-breakpoint-up(lg) {
254
    line-height: 55px;
255
  }
256
}
257

    
258
h2 {
259
  font-size: 16px;
260
  font-weight: 400;
261
  letter-spacing: 0.4px;
262

    
263
  @include media-breakpoint-up(lg) {
264
    margin: 0;
265
  }
266
}
267

    
268
h3 {
269
  font-size: 38px;
270
  font-weight: 800;
271
  letter-spacing: 0.95px;
272

    
273
  @include media-breakpoint-down(xs) {
274
    font-size: 28px;
275
  }
276
}
277

    
278
a {
279
  color: #fff;
280
  outline: none;
281

    
282
  &:hover {
283
    color: #fff;
284
  }
285
}
286

    
287
hr {
288
  width: 300px;
289
  text-align: left;
290
  margin: 30px 0;
291
  border-top: 2px solid #fff;
292

    
293
  @include media-breakpoint-down(lg) {
294
    width: 90%;
295
  }
296

    
297
  @include media-breakpoint-down(xs) {
298
    margin: 15px 0;
299
  }
300
}
301

    
302
.swiper-container {
303
  height: 100%;
304
  position: relative;
305
}
306

    
307
.swiper-slide {
308
  z-index: -1000;
309
  display: flex;
310
  justify-content: center;
311
  align-items: center;
312

    
313
  &.slide-bg-1 {
314
    background: url($images-dir + 'bg-1.jpg') no-repeat bottom center;
315
    background-size: cover;
316
  }
317

    
318
  &.slide-bg-2 {
319
    background: url($images-dir + 'bg-2.jpg') no-repeat bottom center;
320
    background-size: cover;
321
  }
322

    
323
  &.slide-bg-3 {
324
    background: url($images-dir + 'bg-3.jpg') no-repeat bottom center;
325
    background-size: cover;
326

    
327
    .slide-text {
328
      width: 750px;
329

    
330
      @include media-breakpoint-down(lg) {
331
        width: 100%;
332
      }
333
    }
334
  }
335
}
336

    
337
// TEXT VE SLIDU
338
.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
    &: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
  }
384
}
385

    
386
// STRÁNKOVÁNÍ (TLAČÍTKA) SLIDŮ
387
.swiper-pagination-buttons {
388
  width: 200px;
389
  height: 56px;
390
  padding: 6px;
391
  position: absolute;
392
  right: 150px;
393
  bottom: 20px;
394
  z-index: 1;
395
  border-radius: 100px;
396
  background: #0B155A;
397

    
398
  @include media-breakpoint-down(lg) {
399
    right: 20px;
400
  }
401

    
402
  @include media-breakpoint-down(sm) {
403
    width: 120px;
404
  }
405

    
406
  .btn-prev, .btn-next {
407
    display: inline-block;
408
    width: 45px;
409
    height: 45px;
410
    position: relative;
411
    border-radius: 50%;
412
    border: 2px solid #fff;
413

    
414
    &:after {
415
      content: "";
416
      display: inline-block;
417
      width: 7px;
418
      height: 12px;
419
      position: absolute;
420
      top: calc(50% - 6px);
421
      left: calc(50% - 4px);
422
    }
423
  }
424

    
425
  .btn-prev:after {
426
    background: url($images-dir + 'btn-prev.svg') no-repeat top right;
427
  }
428

    
429
  .btn-next {
430
    float: right;
431

    
432
    &:after {
433
      background: url($images-dir + 'btn-next.svg') no-repeat top right;
434
    }
435
  }
436
}
437

    
438
// STRÁNKOVÁNÍ (POZICE) SLIDŮ
439
.swiper-pagination-bullets {
440
  display: inline-block;
441
  width: auto !important;
442
  height: 30px;
443
  position: absolute;
444
  left: 20px !important;
445
  bottom: 30px !important;
446
  border-radius: 100px;
447
  opacity: 0.8;
448
  background: #0B155A;
449

    
450
  @include media-breakpoint-up(lg) {
451
    left: 50% !important;
452
    transform: translateX(-50%);
453
  }
454

    
455
  @include media-breakpoint-down(xs) {
456
    display: none;
457
  }
458

    
459
  &:before {
460
    content: "";
461
    width: 100px;
462
    position: absolute;
463
    top: 13px;
464
    left: 15px;
465
    z-index: 1;
466
    border-top: 2px solid #fff;
467
  }
468

    
469
  .swiper-pagination-bullet {
470
    width: 20px;
471
    height: 20px;
472
    position: relative;
473
    margin: 4px 15px !important;
474
    opacity: 1;
475
    border: 2px solid #0B155A;
476
    background: #0B155A;
477

    
478
    &:before {
479
      content: "";
480
      display: inline-block;
481
      width: 6px;
482
      height: 6px;
483
      position: absolute;
484
      top: 5px;
485
      left: 5px;
486
      border-radius: 50%;
487
      background: #fff;
488
    }
489

    
490
    &:first-of-type {
491
      margin-left: 5px !important;
492
    }
493

    
494
    &:last-of-type {
495
      margin-right: 5px !important;
496
    }
497
  }
498

    
499
  .swiper-pagination-bullet-active {
500
    border: 2px solid #fff;
501
  }
502
}
503

    
504
.btn-primary {
505
  width: 300px;
506
  height: 50px;
507
  line-height: 32px;
508
  position: relative;
509
  padding-left: 30px;
510
  margin-top: 40px;
511
  text-align: left;
512
  font-size: 16px;
513
  text-transform: uppercase;
514
  letter-spacing: 0.4px;
515
  border-radius: 30px;
516
  border: 1px solid #0B155A;
517
  background: #0B155A;
518

    
519
  &:hover, &:focus, &:active {
520
    border: 1px solid #0048A9;
521
    background: #0048A9 !important;
522
  }
523

    
524
  @include media-breakpoint-down(xs) {
525
    width: 100%;
526
    max-width: 270px;
527
    height: auto;
528
    margin-top: 20px;
529
  }
530
}
531

    
532
.btn-secondary {
533
  background: #0B155A;
534

    
535
  &:hover, &:focus, &:active {
536
    background: #7378A0 !important;
537
  }
538
}
539

    
540
// UKÁZKOVÉ BODY NA MAPĚ
541
.map-point {
542
  width: 50px;
543
  height: 50px;
544
  z-index: 1;
545
  position: absolute;
546
  border-radius: 50%;
547
  cursor: pointer;
548
  border: 2px solid #fff;
549

    
550
  @include media-breakpoint-down(sm) {
551
    display: none;
552
  }
553

    
554
  &:before {
555
    content: "";
556
    display: inline-block;
557
    width: 16px;
558
    height: 16px;
559
    position: absolute;
560
    top: calc(50% - 8px);
561
    left: calc(50% - 8px);
562
    background: url($images-dir + 'map-point-plus.svg') no-repeat;
563
  }
564

    
565
  &:hover {
566
    &:before {
567
      z-index: 1;
568
      top: calc(50% - 1px);
569
      background: url($images-dir + 'map-point-minus.svg') no-repeat;
570
    }
571

    
572
    .desc {
573
      display: block;
574
      width: 210px;
575
      padding: 10px 20px;
576
      z-index: 0;
577
      opacity: 0.75;
578
      border-radius: 25px 0 25px 0;
579
      background: #0B155A;
580
    }
581
  }
582

    
583
  .desc {
584
    display: none;
585
  }
586

    
587
  p {
588
    font-size: 14px;
589
    font-weight: 400;
590

    
591
    &:last-of-type {
592
      margin-bottom: 10px;
593
    }
594
  }
595

    
596
  strong {
597
    display: inline-block;
598
    width: 100%;
599
    padding: 0 0 20px 40px;
600
    font-size: 16px;
601
  }
602

    
603
  .circle {
604
    width: 50px;
605
    height: 50px;
606
    position: absolute;
607
    top: -2px;
608
    left: -2px;
609
    border-radius: 50%;
610
    border: 2px solid #fff;
611
  }
612

    
613
  &.point-1 {
614
    bottom: 12%;
615
    right: -75%;
616
  }
617

    
618
  &.point-2 {
619
    top: 21%;
620
    right: -92%;
621
  }
622

    
623
  &.point-3 {
624
    top: 22%;
625
    right: -92%;
626
  }
627
}
628

    
629
#heatmap {
630
  height: 100%;
631
}
632

    
633

    
634
// SEZNAM LOKACÍ NA MAPĚ
635
.map-locations {
636
  position: absolute;
637
  right: 50px;
638
  top: 110px;
639
  z-index: 1000;
640
  border-radius: 22px;
641
  background-color: rgba(11, 21, 90, .7);
642

    
643
  .menu {
644
    position: relative;
645
    padding: 10px 60px 13px 16px;
646
    margin-bottom: 10px;
647
    border-radius: 50px;
648
    opacity: 1;
649
    background: #0B155A;
650

    
651
    .circle {
652
      display: inline-block;
653
      width: 40px;
654
      height: 40px;
655
      position: absolute;
656
      top: 3px;
657
      right: 3px;
658
      border-radius: 50%;
659
      border: 2px solid #fff;
660

    
661
      &:after {
662
        content: "";
663
        display: inline-block;
664
        width: 16px;
665
        height: 16px;
666
        position: absolute;
667
        top: calc(50% - 8px);
668
        left: calc(50% - 8px);
669
        background: url($images-dir + 'map-point-plus.svg') no-repeat;
670
      }
671
    }
672
  }
673

    
674
  .locations {
675
    ul {
676
      padding-left: 36px;
677
      padding-right: 20px;
678
      font-size: 15px;
679
      list-style-image: url($images-dir + 'li-bullet.svg');
680
    }
681

    
682
    li {
683
      margin-bottom: 10px;
684
      cursor: pointer;
685
    }
686
  }
687
}
688

    
689

    
690
// PŘEHRÁVAČ HEATMAPY
691
.player {
692
  width: 100%;
693
  display: flex;
694
  justify-content: center;
695
  align-items: center;
696
  position: absolute;
697
  left: 50%;
698
  transform: translateX(-50%);
699
  bottom: -40px;
700
  z-index: 1000;
701

    
702
  .next, .prev, .play {
703
    display: inline-block;
704
    width: 50px;
705
    height: 50px;
706
    margin-right: 20px;
707
    position: relative;
708
    border-radius: 50%;
709
    opacity: .7;
710
    border: 2px solid #fff;
711
    box-shadow: 0 0 0 4px #0B155A;
712
    background: #0B155A;
713
    cursor: pointer;
714

    
715
    &:after {
716
      content: "";
717
      display: inline-block;
718
      width: 7px;
719
      height: 12px;
720
      position: absolute;
721
      top: calc(50% - 6px);
722
      left: calc(50% - 4px);
723
    }
724
  }
725

    
726
  .play {
727
    width: 65px;
728
    height: 65px;
729
    opacity: 1;
730

    
731
    &:after {
732
      width: 10px;
733
      height: 16px;
734
      top: calc(50% - 8px);
735
      left: calc(50% - 2px);
736
      background: url($images-dir + 'btn-play.svg') no-repeat top right;
737
    }
738
  }
739

    
740
  .next:after {
741
    background: url($images-dir + 'btn-next.svg') no-repeat top right;
742
  }
743

    
744
  .prev:after {
745
    background: url($images-dir + 'btn-prev.svg') no-repeat top right;
746
  }
747

    
748
  .time {
749
    display: flex;
750
    justify-content: center;
751
    align-items: center;
752
    width: 64px;
753
    font-size: 15px;
754
    padding: 3px 0 4px 0;
755
    border-radius: 15px;
756
    background: #0B155A;
757
  }
758
}
759

    
760

    
761
.slide-background {
762
  width: 650px;
763
  height: 290px;
764
  z-index: 1;
765
  position: absolute;
766
  bottom: 0;
767
  left: 0;
768
  background: url($images-dir + 'footer-bg.svg') no-repeat;
769

    
770
  @include media-breakpoint-down(xs) {
771
    width: 320px;
772
    height: 143px;
773
    background-size: 100%;
774
  }
775
}
776

    
777
// LOGA V SEKCI "O PROJEKTU"
778
.logos-partners {
779
  margin-top: 40px;
780

    
781
  a {
782
    text-decoration: none;
783

    
784
    img {
785
      margin-left: 50px;
786
      height: 80px;
787

    
788
      @media only screen and (max-width: 430px) {
789
        height: 70px;
790
        margin-left: 0;
791
      }
792

    
793
      @media only screen and (max-width: 340px) {
794
        height: 60px;
795
      }
796
    }
797

    
798
    &:first-of-type img {
799
      margin-left: 0;
800
    }
801
  }
802
}
(4-4/5)