Blame view

public/scss/blocks/_slider.scss 2.89 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
  .slider {
      padding: 60px 0;
  
      @media (min-width: 1200px) {
          padding: 100px 0;
      }
  
      &__wrap {
          position: relative;
  
          .swiper-pagination {
              position: static;
              bottom: 0;
  
              .swiper-pagination-bullet {
                  margin: 0 5px;
              }
          }
  
          .swiper-pagination-bullet {
              width: 30px;
              height: 4px;
              margin: 0 5px;
              border-radius: 5px;
              background-color: #F2F2F3;
              opacity: 1;
              transition: .3s;
  
              @media (min-width: 1200px) {
                  width: 40px;
              }
  
              &:hover {
                  @media (min-width: 1200px) {
                      background-color: $blue;
                  }
              }
          }
  
          .swiper-pagination-bullet-active {
              background-color: $blue;
          }
      }
  
      &__top {
          display: flex;
          flex-direction: column;
  
          @media (min-width: 1200px) {
              flex-direction: row;
              align-items: center;
              justify-content: space-between;
          }
      }
  
      &__title {
  
          @media (min-width: 1200px) {
              margin: 0px 30px 0px 0px;
          }
      }
  
      &__more {
          margin: 16px 0 0 0;
          color: #4B4E53;
          font-size: 16px;
          line-height: 22px;
          font-weight: 500;
          white-space: nowrap;
          border-bottom: 1px solid $blue;
          transition: .3s;
  
          @media (min-width: 1200px) {
              margin: 0 30px 10px auto;
          }
  
          &:hover {
              @media (min-width: 1200px) {
                  color: $blue;
              }
          }
      }
  
      &__control {
          display: none;
  
          @media (min-width: 1200px) {
              display: flex;
          }
  
          .swiper-button-prev,
          .swiper-button-next {
              position: static;
              width: 40px;
              height: 40px;
              border-radius: 10px;
              border: 1px solid $main;
              margin: 0;
              transition: .3s;
  
              &:after {
                  display: none;
              }
  
              svg {
                  stroke: $main;
                  transition: .3s;
              }
  
              &:hover {
                  @media (min-width: 1200px) {
                      background-color: $main;
                  }
  
                  svg {
                      @media (min-width: 1200px) {
                          stroke: $white;
                      }
                  }
              }
          }
  
          .swiper-button-prev {
              margin-right: 10px;
          }
  
          .swiper-button-next {
              svg {
                  transform: rotate(180deg);
              }
          }
      }
  
      &__swiper {
          padding: 40px 0 45px;
          // overflow: visible;
  
          @media (min-width: 1200px) {
              padding: 60px 0 54px;
          }
  
          .swiper-slide {
              height: auto;
          }
  
      }
  
  }