| 1 |
@import "fonts.scss"; |
| 2 |
@import "vars.scss"; |
| 3 |
.visually-hidden { |
| 4 |
position: absolute; |
| 5 |
clip: rect(0 0 0 0); |
| 6 |
width: 1px; |
| 7 |
height: 1px; |
| 8 |
margin: -1px; |
| 9 |
} |
| 10 |
.button { |
| 11 |
line-height: 0px; |
| 12 |
font-size: 0px; |
| 13 |
padding: 0px; |
| 14 |
margin: 0px; |
| 15 |
border: none; |
| 16 |
} |
| 17 |
body { |
| 18 |
min-width: 320px; |
| 19 |
margin: 0; |
| 20 |
padding: 0; |
| 21 |
font-family: opensans, sans-serif; |
| 22 |
font-size: 20px; |
| 23 |
line-height: 27px; |
| 24 |
color: #000000; |
| 25 |
} |
| 26 |
.main-nav__button, |
| 27 |
.main-nav__button::after, |
| 28 |
.main-nav__button::before { |
| 29 |
content: ""; |
| 30 |
background-color: #000; |
| 31 |
width: 20px; |
| 32 |
height: 2px; |
| 33 |
border-radius: 0; |
| 34 |
position: absolute; |
| 35 |
top: 40px; |
| 36 |
right: 30px; |
| 37 |
&:hover { |
| 38 |
cursor: pointer; |
| 39 |
background-color: rgb(206, 23, 23); |
| 40 |
} |
| 41 |
} |
| 42 |
.main-nav__button::before { |
| 43 |
position: absolute; |
| 44 |
top: -6px; |
| 45 |
right: 0px; |
| 46 |
} |
| 47 |
.main-nav__button::after { |
| 48 |
position: absolute; |
| 49 |
top: 6px; |
| 50 |
right: 0px; |
| 51 |
} |
| 52 |
.logo-wrapper{ |
| 53 |
border-bottom: 1px solid #ececec; |
| 54 |
} |
| 55 |
.main-header__logo { |
| 56 |
display: flex; |
| 57 |
width: 86px; |
| 58 |
min-height: 80px; |
| 59 |
margin: 0 auto; |
| 60 |
} |
| 61 |
.main-nav__list { |
| 62 |
list-style: none; |
| 63 |
display: flex; |
| 64 |
flex-direction: column; |
| 65 |
margin: 0; |
| 66 |
padding: 0; |
| 67 |
} |
| 68 |
.main-nav__item { |
| 69 |
display: flex; |
| 70 |
align-items: center; |
| 71 |
min-height: 80px; |
| 72 |
padding-left: 75px; |
| 73 |
border-bottom: 1px solid #ececec; |
| 74 |
position: relative; |
| 75 |
} |
| 76 |
.main-nav__item-form label, |
| 77 |
.main-nav__item-link { |
| 78 |
margin-top: -5px; |
| 79 |
text-decoration: none; |
| 80 |
font-family: opensansbold; |
| 81 |
font-size: 17px; |
| 82 |
color: #000; |
| 83 |
} |
| 84 |
.main-nav__item-form label { |
| 85 |
&:hover { |
| 86 |
cursor: pointer; |
| 87 |
} |
| 88 |
} |
| 89 |
.main-nav__item--search svg { |
| 90 |
position: absolute; |
| 91 |
top: 30px; |
| 92 |
left: 30px; |
| 93 |
path { |
| 94 |
fill: #d3d2d2; |
| 95 |
} |
| 96 |
} |
| 97 |
.main-nav__item--basket svg { |
| 98 |
position: absolute; |
| 99 |
top: 30px; |
| 100 |
left: 30px; |
| 101 |
path { |
| 102 |
fill: #d3d2d2; |
| 103 |
} |
| 104 |
} |
Комментарии