Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 4e003182

Přidáno uživatelem Martin Sebela před asi 4 roky(ů)

Re #8079 - finishing frontend
- new date label next to timeline
- changed intro images to images with real data
- locations box has maximum height with scrollbar
- new texts on intro pages (map points)
- CSS changes and repairs

Zobrazit rozdíly:

website/public/css/style.scss
274 274
}
275 275

  
276 276
.swiper-slide {
277
  z-index: -1000;
278 277
  display: flex;
279 278
  justify-content: center;
280 279
  align-items: center;
281 280

  
282 281
  &.slide-bg-1 {
283
    background: url($images-dir + 'bg-1.jpg') no-repeat bottom center;
282
    background: url($images-dir + 'bg-1.jpg') no-repeat top center;
284 283
    background-size: cover;
285 284
  }
286 285

  
......
293 292
    background: url($images-dir + 'bg-3.jpg') no-repeat bottom center;
294 293
    background-size: cover;
295 294

  
296
    @include media-breakpoint-down(sm) {
297
      .container {
298
        max-width: 100%;
299
        height: 100%;
300
        overflow-y: scroll;
301
      }
302
    }
303

  
304 295
    .slide-text {
305 296
      width: 100%;
306 297
    }
307 298
  }
299

  
300
  @include media-breakpoint-down(sm) {
301
    .container {
302
      max-width: 100%;
303
      height: 100%;
304
      overflow-y: scroll;
305
    }
306
  }
308 307
}
309 308

  
310 309
// TEXT VE SLIDU
......
534 533
  cursor: pointer;
535 534
  border: 2px solid #fff;
536 535

  
537
  @include media-breakpoint-down(sm) {
536
  @media not all and (min-width: 1900px) and (max-width: 2100px) {
538 537
    display: none;
539 538
  }
540 539

  
......
558 557

  
559 558
    .desc {
560 559
      display: block;
561
      width: 210px;
560
      width: 220px;
562 561
      padding: 10px 20px;
563 562
      z-index: 0;
564 563
      opacity: 0.75;
......
598 597
  }
599 598

  
600 599
  &.point-1 {
601
    bottom: 12%;
602
    right: -75%;
600
    top: 455px;
601
    right: 32.5%;
603 602
  }
604 603

  
605 604
  &.point-2 {
606
    top: 21%;
607
    right: -92%;
605
    top: 235px;
606
    right: 18%;
608 607
  }
609 608

  
610 609
  &.point-3 {
611
    top: 22%;
612
    right: -92%;
610
    bottom: 430px;
611
    right: 20.8%;
613 612
  }
614 613
}
615 614

  
......
646 645

  
647 646
  @include media-breakpoint-down(xs) {
648 647
    max-width: 240px;
648
    max-height: 70%;
649 649
    top: 80px;
650 650
    right: 10px;
651 651
  }
......
694 694
      list-style-image: url($images-dir + 'li-bullet.svg');
695 695

  
696 696
      @include media-breakpoint-down(xs) {
697
        max-height: 244px;
698
        overflow-y: scroll;
697 699
        font-size: 13.5px;
698 700
      }
699 701
    }
......
789 791
      order: 3;
790 792
    }
791 793

  
794
    @include media-breakpoint-down(xs) {
795
      margin-right: 0;
796
    }
797

  
792 798
    &:after {
793 799
      background: url($images-dir + 'btn-next.svg') no-repeat;
794 800
    }
......
804 810
    }
805 811
  }
806 812

  
813
  .datetime {
814
    display: flex;
815
    
816
    @media (max-width: 390px) {
817
      display: block;
818
      text-align: center;
819
      margin-right: 10px;
820
    }
821
  }
822

  
823
  .date {
824
    font-size: 15px;
825
    padding: 3px 12px 4px 12px;
826
    margin-right: 10px;
827
    text-align: center;
828
    border-radius: 15px;
829
    cursor: pointer;
830
    background: #0B155A;
831

  
832
    @media (max-width: 390px) {
833
      margin-right: 0;
834
    }
835

  
836
    &:hover {
837
      opacity: .7;
838
    }
839
  }
840

  
807 841
  .timeline {
808 842
    display: flex;
809 843
    height: 30px;
......
819 853
      margin-right: 20px;
820 854
    }
821 855

  
856
    @media (max-width: 390px) {
857
      display: inline-block;
858
      margin: 4px 0 0 0;
859
    }
860

  
822 861
    .hour {
823 862
      @include media-breakpoint-down(md) {
824 863
        display: none;

Také k dispozici: Unified diff