Blame view

public/scss/blocks/_partners.scss 1.63 KB
242debab8   thesolarwind   Первый коммит в п...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
  .partners {
      padding-top: 60px;
  
      @media (min-width: 1200px) {
          padding-top: 100px;
      }
  
      &__title {
          margin-bottom: 60px;
      }
  
      &__inner {
          display: grid;
          grid-template-columns: repeat(6, 1fr);
          grid-gap: 20px;
      }
  
      &__swiper {
          // padding-bottom: 60px;
          overflow: visible;
          @media (min-width: 1200px) {
              padding-bottom: 0;
          }
  
          .swiper-scrollbar {
              display: none;
              width: 200px;
              height: 4px;
              left: 0;
              right: 0;
              bottom: 3px;
              margin: 0 auto;
              background-color: #F2F2F3;
  
              @media (min-width: 1200px) {
                  display: none;
              }
          }
  
          .swiper-scrollbar-drag {
              top: -3px;
              height: 10px;
              background-color: $blue;
              cursor: pointer;
          }
      }
  }
  
  .partners-item {
      background-color: #FFFFFF;
      box-shadow: 0px 2px 12px rgba(6, 15, 26, 0.04);
      border-radius: 10px;
      padding: 20px;
      transition: .3s;
  
      img {
          height: 95px;
          width: 100%;
          object-fit: contain;
          filter: grayscale(1);
          transition: .3s;
      }
  
      &:hover {
          box-shadow: 0px 2px 20px rgba(6, 15, 26, 0.04), 0px 2px 12px rgba(6, 15, 26, 0.04);
          img {
              filter: grayscale(0);
          }
      }
  
      &:nth-child(7),
      &:nth-child(8),
      &:nth-child(9),
      &:nth-child(10),
      &:nth-child(11),
      &:nth-child(12) {
          transform: translateX(-50%);
          @media (min-width: 1200px) {
              transform: translateX(0);
          }
      }
  }