Blame view
public/css/blocks/header/headerMain.css
7.27 KB
b80175387 Начальный проект ... |
1 2 3 4 5 6 7 8 9 10 11 |
.header-main { background-color: #F7F7F9; } .header-main-container { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; |
2f5f2c1a4 Баг с версткой ка... |
12 13 14 15 16 17 |
height: 70px; } @media (min-width: 640px) { .header-main-container { height: 101px; } |
b80175387 Начальный проект ... |
18 19 20 21 22 23 24 25 26 |
} .header-main-left { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; |
2f5f2c1a4 Баг с версткой ка... |
27 28 29 30 |
-webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; width: 100%; |
b80175387 Начальный проект ... |
31 32 |
} .header-main-left__logo { |
2f5f2c1a4 Баг с версткой ка... |
33 |
margin-right: 15px; |
b80175387 Начальный проект ... |
34 |
} |
2f5f2c1a4 Баг с версткой ка... |
35 36 37 38 |
@media (min-width: 375px) { .header-main-left__logo { margin-right: 40px; } |
b80175387 Начальный проект ... |
39 40 41 42 43 44 45 46 47 48 49 50 |
} .header-main-left__button { background: #F5851A; border-radius: 9.375px; font-weight: 600; font-style: normal; font-size: 14px; line-height: 16px; letter-spacing: -0.01em; color: #FFFFFF; border: 1px solid #F5851A; cursor: pointer; |
2f5f2c1a4 Баг с версткой ка... |
51 52 |
width: 40.5px; height: 31.5px; |
b80175387 Начальный проект ... |
53 54 |
position: relative; margin-right: 20px; |
2f5f2c1a4 Баг с версткой ка... |
55 56 57 58 59 60 61 62 63 64 65 |
font-size: 0; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; padding-right: 0px; |
b80175387 Начальный проект ... |
66 67 68 69 70 71 72 |
} .header-main-left__button: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; |
2f5f2c1a4 Баг с версткой ка... |
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 |
width: 13px; height: 11px; right: 12px; } @media (min-width: 680px) { .header-main-left__button { padding-right: 20px; font-size: 14px; width: 151px; height: 42px; } .header-main-left__button:after { right: 30px; width: 16px; height: 15px; } } .header-main-left .mobile-wrapper { display: -webkit-box; display: -ms-flexbox; display: flex; } @media (min-width: 680px) { .header-main-left .mobile-wrapper { display: inline-block; } } .header-main-left .catalog-open { border: 1px solid #F2994A; background-color: #FFFFFF; color: #F2994A; border-radius: 9.375px; font-weight: 600; font-style: normal; font-size: 14px; line-height: 16px; letter-spacing: -0.01em; -webkit-transition: background 0.2s ease-in-out; -o-transition: background 0.2s ease-in-out; transition: background 0.2s ease-in-out; |
b80175387 Начальный проект ... |
113 114 |
} .header-main-left .catalog-open:after { |
2f5f2c1a4 Баг с версткой ка... |
115 116 117 118 119 120 121 122 123 |
background-image: url("data:image/svg+xml,%3Csvg width='17' height='17' viewBox='0 0 17 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_336_40613)'%3E%3Cpath d='M2 2.5H16' stroke='%23F2994A' stroke-width='2.03906' stroke-linecap='round'/%3E%3Cpath d='M2 8.30664H16' stroke='%23F2994A' stroke-width='2.03906' stroke-linecap='round'/%3E%3Cpath d='M2 14.5H16' stroke='%23F2994A' stroke-width='2.03906' stroke-linecap='round'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_336_40613'%3E%3Crect width='17' height='16' fill='white' transform='translate(0 0.5)'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E"); } @media (min-width: 680px) { .header-main-left { -webkit-box-pack: start; -ms-flex-pack: start; justify-content: flex-start; width: 0; } |
b80175387 Начальный проект ... |
124 125 126 127 |
} .header-main-left-search { position: relative; |
2f5f2c1a4 Баг с версткой ка... |
128 129 |
display: none; margin-right: 15px; |
b80175387 Начальный проект ... |
130 131 |
} .header-main-left-search__input { |
2f5f2c1a4 Баг с версткой ка... |
132 |
min-width: 205px; |
b80175387 Начальный проект ... |
133 134 135 136 137 138 139 |
height: 42px; border: 1px solid #ABB2BF; border-radius: 10px; padding-left: 20px; outline: none; font-family: "Montserrat"; font-size: 16px; |
2f5f2c1a4 Баг с версткой ка... |
140 |
margin-right: 0; |
b80175387 Начальный проект ... |
141 142 143 |
} @media (min-width: 1024px) { .header-main-left-search__input { |
2f5f2c1a4 Баг с версткой ка... |
144 |
min-width: 375px; |
b80175387 Начальный проект ... |
145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 |
height: 42px; } } .header-main-left-search: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; -webkit-transform: translateY(-50%); -ms-transform: translateY(-50%); transform: translateY(-50%); width: 26px; height: 26px; } |
2f5f2c1a4 Баг с версткой ка... |
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 |
@media (min-width: 680px) { .header-main-left-search { display: inline-block; } } .header-search-mobile { background-color: #DFE1E7; border-radius: 7.5px; display: inline-block; width: 37.5px; height: 31.5px; position: relative; } .header-search-mobile:after { 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"); background-repeat: no-repeat; background-size: cover; width: 19.5px; height: 19.5px; top: 6px; left: 9px; } @media (min-width: 680px) { .header-search-mobile { display: none; } } |
b80175387 Начальный проект ... |
193 194 195 196 197 198 199 200 201 202 |
.header-main__right { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; } .header-main__right-socials { |
2f5f2c1a4 Баг с версткой ка... |
203 |
display: none; |
b80175387 Начальный проект ... |
204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 |
-webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; color: #333B49; margin-right: 32px; } .header-main__right-socials .mail { font-family: "Muller"; font-weight: 500; font-size: 15px; line-height: 15px; margin-bottom: 10px; } .header-main__right-socials .tel { font-family: "Muller"; font-weight: 700; font-size: 15px; line-height: 15px; } |
2f5f2c1a4 Баг с версткой ка... |
224 225 226 227 228 229 230 |
@media (min-width: 860px) { .header-main__right-socials { display: -webkit-box; display: -ms-flexbox; display: flex; } } |
b80175387 Начальный проект ... |
231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 |
.header-main__right-button { background: #F5851A; border-radius: 9.375px; font-weight: 600; font-style: normal; font-size: 14px; line-height: 16px; letter-spacing: -0.01em; color: #FFFFFF; border: 1px solid #F5851A; cursor: pointer; padding: 12px 30px; margin-right: 50px; display: none; } .header-main__right-button:hover { border: 1px solid #F2994A; background-color: #FFFFFF; color: #F2994A; border-radius: 9.375px; font-weight: 600; font-style: normal; font-size: 14px; line-height: 16px; letter-spacing: -0.01em; } @media (min-width: 1220px) { .header-main__right-button { display: inline-block; } } .header-main__right-cart { position: relative; |
2f5f2c1a4 Баг с версткой ка... |
264 |
display: none; |
b80175387 Начальный проект ... |
265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 |
} .header-main__right-cart .svg-cart { width: 32px; height: 32px; position: relative; } .header-main__right-cart .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; |
2f5f2c1a4 Баг с версткой ка... |
285 286 287 288 289 |
} @media (min-width: 680px) { .header-main__right-cart { display: inline-block; } |
b80175387 Начальный проект ... |
290 |
} |