Blame view

public/scss/blocks/header/headerMain.scss 5.51 KB
b80175387   Андрей Ларионов   Начальный проект ...
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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
  @import "../../mixins";
  @import "../../vars";
  
  .header-main {
    background-color: #F7F7F9;
  }
  
  .header-main-container {
    display: flex;
    justify-content: space-between;
    height: 101px;
  }
  
        .header-main-left {
          display: flex;
          align-items: center;
  
          &__logo {
              margin-right: 40px;
  
              > img {
                  width: 184px;
                  max-height: 45px;
                  height: 100%;
              }
          }
  
          &__button {
              @include btn-orange;
              padding: 12px 61px 12px 30px;
              position: relative;
              margin-right: 20px;
              font-size: 14px;
  
            &:after {
              position: absolute;
              content: "";
              background-image: url("data:image/svg+xml,%3Csvg width='18' height='15' viewBox='0 0 18 15' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 1.125H16' stroke='white' stroke-width='2.03906' stroke-linecap='round'/%3E%3Cpath d='M2 6.9314H16' stroke='white' stroke-width='2.03906' stroke-linecap='round'/%3E%3Cpath d='M2 13.1251H16' stroke='white' stroke-width='2.03906' stroke-linecap='round'/%3E%3C/svg%3E");
              background-repeat: no-repeat;
              background-size: cover;
              width: 16px;
              height: 15px;
              right: 30px;
            }
          }
  
          .catalog-open {
  
            &:after {
              background-image: url("data:image/svg+xml,%3Csvg width='17' height='16' viewBox='0 0 17 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 2L15 14' stroke='white' stroke-width='2.03906' stroke-linecap='round'/%3E%3Cpath d='M2 14.1251L15 1.99998' stroke='white' stroke-width='2.03906' stroke-linecap='round'/%3E%3C/svg%3E");
            }
          }
        }
  
      .header-main-left-search {
          position: relative;
  
          &__input {
              width: 205px;
              height: 42px;
              border: 1px solid #ABB2BF;
              border-radius: 10px;
              padding-left: 20px;
              outline: none;
              font-family: "Montserrat";
              font-size: 16px;
              
  
              @media (min-width: $b1024) {
                      width: 375px;
                      height: 42px;
                  }
          }
  
           &:after {
               position: absolute;
               content: "";
               background-image: url("../img/svg/input-search.svg");
               background-position: right center;
               background-repeat: no-repeat;
               background-size: cover;
               top: 51%;
               right: 15px;
               transform: translateY(-50%);
               width: 26px;
              height: 26px;
          }
  
                  // @media (min-width: $b1024) {
                      
                  //     &:after {
                          
                  //     }
                  // }
  
          // &__mobile {
          //     width: 38px;
          //     height: 31.5px;
          //     background-color: #DFE1E7;
          //     border-radius: 7.5px;
          //     border: none;
          //     display: inline-block;
  
          //     @media (min-width: $b1024) {
          //             display: none;
          //         }
          // }
  
          // &:before {
          //     position: absolute;
          //     content: "";
          //     background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12.4248' cy='7.51028' r='4.38379' transform='rotate(45 12.4248 7.51028)' stroke='%23F5851A' stroke-width='1.5'/%3E%3Cpath d='M8.79395 11.1406L4.387 15.5476' stroke='%23F5851A' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E%0A");
          //     background-repeat: no-repeat;
          //     background-size: cover;
          //     width: 20px;
          //     height: 20px;
          //     margin: 6px 9px;
              
          // }
  
                  // @media (min-width: $b1024) {
          
                  //     &:before {
                  //         width: 0;
                  //         height: 0;
                  //     }
                  // }
      }
      
        .header-main__right {
          display: flex;
          align-items: center;
  
          &-socials {
            display: flex;
            flex-direction: column;
            color: $vmainGrey;
            margin-right: 32px;
  
            .mail {
              font-family: 'Muller';
              font-weight: 500;
              font-size: 15px;
              line-height: 15px;
              margin-bottom: 10px;
            }
  
            .tel {
              font-family: 'Muller';
              font-weight: 700;
              font-size: 15px;
              line-height: 15px;
            }
          }
  
          &-button {
              @include btn-orange;
              padding: 12px 30px;
              margin-right: 50px;
              display: none;
  
            &:hover {
              @include btn-orange-hover;
            }
  
          @media (min-width: 1220px) {
              display: inline-block;
          }
          }
  
          &-cart {
            position: relative;
  
            .svg-cart {
              width: 32px;
              height: 32px;
              position: relative;
            }
  
            .number {
              position: absolute;
              content: "";
              background-image: url("../img/svg/cart-bg.svg");
              background-position: center;
              background-repeat: no-repeat;
              background-size: contain;
              width: 24px;
              height: 24px;
              padding-left: 8px;
              padding-top: 2px;
              bottom: -2px;
              left: -5px;
              color: #fff;
            }
  
          }
        }