aswi2020sebela-gitlab/website/public/css/style.scss @ 500e20aa
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: 2;
|
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 |
.btn-secondary {
|
121 |
height: 100%;
|
122 |
font-size: 16px;
|
123 |
text-transform: uppercase;
|
124 |
font-weight: 800;
|
125 |
letter-spacing: 0.4px;
|
126 |
border-radius: 0;
|
127 |
border: #0048A9;
|
128 |
background: #0048A9;
|
129 |
|
130 |
&:hover {
|
131 |
background: #004fb3 !important;
|
132 |
}
|
133 |
}
|
134 |
|
135 |
// NAVIGACE NA STRÁNCE S MAPOU
|
136 |
&.map {
|
137 |
@include media-breakpoint-down(md) {
|
138 |
.navbar-nav {
|
139 |
width: 100%;
|
140 |
}
|
141 |
}
|
142 |
|
143 |
form {
|
144 |
display: flex;
|
145 |
}
|
146 |
|
147 |
label {
|
148 |
margin: 0 0 0 15px;
|
149 |
font-size: 16px;
|
150 |
font-weight: 800;
|
151 |
letter-spacing: .4px;
|
152 |
}
|
153 |
|
154 |
input, .custom-select {
|
155 |
letter-spacing: .4px;
|
156 |
color: #fff;
|
157 |
border-color: #0048A9;
|
158 |
background: #0048A9;
|
159 |
|
160 |
&:hover {
|
161 |
background: #004fb3;
|
162 |
}
|
163 |
}
|
164 |
|
165 |
.nav-item {
|
166 |
margin: 0;
|
167 |
border-right: 1px solid #1C6CC0;
|
168 |
|
169 |
@include media-breakpoint-down(md) {
|
170 |
margin-bottom: 20px;
|
171 |
border: 0;
|
172 |
}
|
173 |
|
174 |
&:nth-of-type(1) {
|
175 |
margin-left: 100px;
|
176 |
|
177 |
@include media-breakpoint-down(lg) {
|
178 |
margin-left: 0;
|
179 |
}
|
180 |
}
|
181 |
|
182 |
&:nth-of-type(1), &:nth-of-type(2), &:nth-of-type(3) {
|
183 |
width: 300px;
|
184 |
|
185 |
@media (max-width: 1500px) {
|
186 |
width: 280px;
|
187 |
}
|
188 |
|
189 |
@media (max-width: 1400px) {
|
190 |
width: 230px;
|
191 |
}
|
192 |
|
193 |
@media (max-width: 1400px) {
|
194 |
max-width: 230px;
|
195 |
width: auto;
|
196 |
}
|
197 |
|
198 |
@include media-breakpoint-down(md) {
|
199 |
max-width: none;
|
200 |
}
|
201 |
}
|
202 |
|
203 |
&:last-of-type {
|
204 |
display: flex;
|
205 |
align-items: center;
|
206 |
align-self: center;
|
207 |
margin: 0 30px 0 160px;
|
208 |
border: 0;
|
209 |
|
210 |
@media (max-width: 1700px) {
|
211 |
margin-left: 80px;
|
212 |
}
|
213 |
|
214 |
@media (max-width: 1500px) {
|
215 |
margin-left: 40px;
|
216 |
}
|
217 |
|
218 |
@include media-breakpoint-down(lg) {
|
219 |
margin: 0 10px 0 20px;
|
220 |
}
|
221 |
|
222 |
@include media-breakpoint-down(md) {
|
223 |
width: 100%;
|
224 |
margin: 30px 10px 0 0;
|
225 |
|
226 |
h2 {
|
227 |
width: 100%;
|
228 |
}
|
229 |
}
|
230 |
}
|
231 |
|
232 |
@include media-breakpoint-down(md) {
|
233 |
.btn {
|
234 |
width: 100%;
|
235 |
}
|
236 |
}
|
237 |
}
|
238 |
}
|
239 |
}
|
240 |
|
241 |
h1 {
|
242 |
text-transform: uppercase;
|
243 |
font-size: 21px;
|
244 |
font-weight: 700;
|
245 |
letter-spacing: 0.53px;
|
246 |
|
247 |
@include media-breakpoint-up(lg) {
|
248 |
line-height: 55px;
|
249 |
}
|
250 |
}
|
251 |
|
252 |
h2 {
|
253 |
font-size: 16px;
|
254 |
font-weight: 400;
|
255 |
letter-spacing: 0.4px;
|
256 |
|
257 |
@include media-breakpoint-up(lg) {
|
258 |
margin: 0;
|
259 |
}
|
260 |
}
|
261 |
|
262 |
h3 {
|
263 |
font-size: 38px;
|
264 |
font-weight: 800;
|
265 |
letter-spacing: 0.95px;
|
266 |
|
267 |
@include media-breakpoint-down(xs) {
|
268 |
font-size: 28px;
|
269 |
}
|
270 |
}
|
271 |
|
272 |
a {
|
273 |
color: #fff;
|
274 |
|
275 |
&:hover {
|
276 |
color: #fff;
|
277 |
}
|
278 |
}
|
279 |
|
280 |
hr {
|
281 |
width: 300px;
|
282 |
text-align: left;
|
283 |
margin: 30px 0;
|
284 |
border-top: 2px solid #fff;
|
285 |
|
286 |
@include media-breakpoint-down(lg) {
|
287 |
width: 90%;
|
288 |
}
|
289 |
|
290 |
@include media-breakpoint-down(xs) {
|
291 |
margin: 15px 0;
|
292 |
}
|
293 |
}
|
294 |
|
295 |
.swiper-container {
|
296 |
height: 100%;
|
297 |
position: relative;
|
298 |
}
|
299 |
|
300 |
.swiper-slide {
|
301 |
z-index: -1000;
|
302 |
display: flex;
|
303 |
justify-content: center;
|
304 |
align-items: center;
|
305 |
|
306 |
&.slide-bg-1 {
|
307 |
background: url($images-dir + 'bg-1.jpg') no-repeat bottom center; |
308 |
background-size: cover;
|
309 |
}
|
310 |
|
311 |
&.slide-bg-2 {
|
312 |
background: url($images-dir + 'bg-2.jpg') no-repeat bottom center; |
313 |
background-size: cover;
|
314 |
}
|
315 |
|
316 |
&.slide-bg-3 {
|
317 |
background: url($images-dir + 'bg-3.jpg') no-repeat bottom center; |
318 |
background-size: cover;
|
319 |
|
320 |
.slide-text {
|
321 |
width: 750px;
|
322 |
|
323 |
@include media-breakpoint-down(lg) {
|
324 |
width: 100%;
|
325 |
}
|
326 |
}
|
327 |
}
|
328 |
}
|
329 |
|
330 |
// TEXT VE SLIDU
|
331 |
.slide-text {
|
332 |
width: 600px;
|
333 |
padding-bottom: 160px;
|
334 |
position: relative;
|
335 |
|
336 |
@include media-breakpoint-down(lg) {
|
337 |
width: 100%;
|
338 |
}
|
339 |
|
340 |
@include media-breakpoint-down(lg) {
|
341 |
padding-bottom: 80px;
|
342 |
}
|
343 |
|
344 |
.slide-index {
|
345 |
display: inline-block;
|
346 |
padding-bottom: 20px;
|
347 |
font-size: 72px;
|
348 |
font-weight: 800;
|
349 |
|
350 |
@include media-breakpoint-down(xs) {
|
351 |
padding-bottom: 10px;
|
352 |
font-size: 48px;
|
353 |
}
|
354 |
}
|
355 |
|
356 |
.btn-primary {
|
357 |
&:after {
|
358 |
content: "";
|
359 |
display: inline-block;
|
360 |
width: 10px;
|
361 |
height: 16px;
|
362 |
position: absolute;
|
363 |
top: 16px;
|
364 |
right: 20px;
|
365 |
background: url($images-dir + 'btn-play.svg') no-repeat top right; |
366 |
}
|
367 |
}
|
368 |
|
369 |
p {
|
370 |
font-size: 18px;
|
371 |
font-weight: 600;
|
372 |
|
373 |
@include media-breakpoint-down(xs) {
|
374 |
font-size: 16px;
|
375 |
}
|
376 |
}
|
377 |
}
|
378 |
|
379 |
// STRÁNKOVÁNÍ (TLAČÍTKA) SLIDŮ
|
380 |
.swiper-pagination-buttons {
|
381 |
width: 200px;
|
382 |
height: 56px;
|
383 |
padding: 6px;
|
384 |
position: absolute;
|
385 |
right: 150px;
|
386 |
bottom: 20px;
|
387 |
z-index: 1;
|
388 |
border-radius: 100px;
|
389 |
background: #0B155A;
|
390 |
|
391 |
@include media-breakpoint-down(lg) {
|
392 |
right: 20px;
|
393 |
}
|
394 |
|
395 |
@include media-breakpoint-down(sm) {
|
396 |
width: 120px;
|
397 |
}
|
398 |
|
399 |
.btn-prev, .btn-next {
|
400 |
display: inline-block;
|
401 |
width: 45px;
|
402 |
height: 45px;
|
403 |
position: relative;
|
404 |
border-radius: 50%;
|
405 |
border: 2px solid #fff;
|
406 |
|
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 |
background: #0B155A;
|
442 |
|
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 |
border-top: 2px solid #fff;
|
460 |
}
|
461 |
|
462 |
.swiper-pagination-bullet {
|
463 |
width: 20px;
|
464 |
height: 20px;
|
465 |
position: relative;
|
466 |
margin: 4px 15px !important;
|
467 |
opacity: 1;
|
468 |
border: 2px solid #0B155A;
|
469 |
background: #0B155A;
|
470 |
|
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 |
background: #fff;
|
481 |
}
|
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 |
border: 2px solid #fff;
|
494 |
}
|
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 |
border: 1px solid #0B155A;
|
510 |
background: #0B155A;
|
511 |
|
512 |
&:hover, &:focus, &:active {
|
513 |
border: 1px solid #0048A9;
|
514 |
background: #0048A9 !important;
|
515 |
}
|
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 |
background: #0B155A;
|
527 |
|
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 |
border: 2px solid #fff;
|
542 |
|
543 |
@include media-breakpoint-down(sm) {
|
544 |
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 |
width: 210px;
|
568 |
padding: 10px 20px;
|
569 |
z-index: 0;
|
570 |
opacity: 0.75;
|
571 |
border-radius: 25px 0 25px 0;
|
572 |
background: #0B155A;
|
573 |
}
|
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 |
border: 2px solid #fff;
|
604 |
}
|
605 |
|
606 |
&.point-1 {
|
607 |
bottom: 12%;
|
608 |
right: -75%;
|
609 |
}
|
610 |
|
611 |
&.point-2 {
|
612 |
top: 21%;
|
613 |
right: -92%;
|
614 |
}
|
615 |
|
616 |
&.point-3 {
|
617 |
top: 22%;
|
618 |
right: -92%;
|
619 |
}
|
620 |
}
|
621 |
|
622 |
#heatmap {
|
623 |
height: 100%;
|
624 |
}
|
625 |
|
626 |
.slide-background {
|
627 |
width: 650px;
|
628 |
height: 290px;
|
629 |
z-index: 1;
|
630 |
position: absolute;
|
631 |
bottom: 0;
|
632 |
left: 0;
|
633 |
background: url($images-dir + 'footer-bg.svg') no-repeat; |
634 |
|
635 |
@include media-breakpoint-down(xs) {
|
636 |
width: 320px;
|
637 |
height: 143px;
|
638 |
background-size: 100%;
|
639 |
}
|
640 |
}
|
641 |
|
642 |
// LOGA V SEKCI "O PROJEKTU"
|
643 |
.logos-partners {
|
644 |
margin-top: 40px;
|
645 |
|
646 |
a {
|
647 |
text-decoration: none;
|
648 |
|
649 |
img {
|
650 |
margin-left: 50px;
|
651 |
height: 80px;
|
652 |
|
653 |
@media only screen and (max-width: 430px) {
|
654 |
height: 70px;
|
655 |
margin-left: 0;
|
656 |
}
|
657 |
|
658 |
@media only screen and (max-width: 340px) {
|
659 |
height: 60px;
|
660 |
}
|
661 |
}
|
662 |
|
663 |
&:first-of-type img {
|
664 |
margin-left: 0;
|
665 |
}
|
666 |
}
|
667 |
}
|