1 | * {
|
---|
2 | font-family: Arial, Helvetica, sans-serif;
|
---|
3 | }
|
---|
4 |
|
---|
5 | .header {
|
---|
6 | margin: 0;
|
---|
7 | padding: 0;
|
---|
8 | height: 70px;
|
---|
9 | width: 100%;
|
---|
10 | display: flex;
|
---|
11 | align-items: center;
|
---|
12 | justify-content: space-between;
|
---|
13 | padding-bottom: 5px;
|
---|
14 | border-bottom: 1px solid rgb(166, 165, 165);
|
---|
15 | }
|
---|
16 |
|
---|
17 | span {
|
---|
18 | display: flex;
|
---|
19 | align-items: center;
|
---|
20 | }
|
---|
21 |
|
---|
22 | span p {
|
---|
23 | display: flex;
|
---|
24 | align-items: center;
|
---|
25 | margin: 0;
|
---|
26 | }
|
---|
27 |
|
---|
28 | .header__menu {
|
---|
29 | display: flex;
|
---|
30 | list-style: none;
|
---|
31 | align-items: center;
|
---|
32 | justify-content: space-evenly;
|
---|
33 | }
|
---|
34 |
|
---|
35 | .header__menu li {
|
---|
36 | margin-left: 20px;
|
---|
37 | }
|
---|
38 |
|
---|
39 | .header__right {
|
---|
40 | display: flex;
|
---|
41 | flex-direction: column;
|
---|
42 | justify-content: space-between;
|
---|
43 | }
|
---|
44 |
|
---|
45 | .header__search {
|
---|
46 | display: flex;
|
---|
47 | }
|
---|
48 |
|
---|
49 | .header__searchInput {
|
---|
50 | width: 300px;
|
---|
51 | }
|
---|
52 |
|
---|
53 | .header__buttons {
|
---|
54 | display: flex;
|
---|
55 | justify-content: space-evenly;
|
---|
56 | }
|
---|
57 |
|
---|
58 | .link {
|
---|
59 | color: black;
|
---|
60 | text-decoration: none;
|
---|
61 | }
|
---|
62 |
|
---|
63 | .link:hover {
|
---|
64 | color: black;
|
---|
65 | }
|
---|
66 |
|
---|
67 | .header__cart {
|
---|
68 | color: black;
|
---|
69 | }
|
---|
70 |
|
---|
71 | .badgee {
|
---|
72 | text-decoration: none;
|
---|
73 | }
|
---|
74 |
|
---|
75 | .header__dropdown {
|
---|
76 | width: 700px;
|
---|
77 | padding-top: 28px;
|
---|
78 | background-color: #ffffff;
|
---|
79 | border: 1px solid rgb(166, 165, 165);
|
---|
80 | box-shadow: 0 6px 12px rgb(0 0 0 / 18%);
|
---|
81 | padding-right: 10px;
|
---|
82 | position: absolute;
|
---|
83 | display: none;
|
---|
84 | z-index: 10;
|
---|
85 | }
|
---|
86 |
|
---|
87 | .header__products {
|
---|
88 | position: relative;
|
---|
89 | cursor: pointer;
|
---|
90 | }
|
---|
91 |
|
---|
92 | .header__products:hover .header__dropdown {
|
---|
93 | display: flex;
|
---|
94 | }
|
---|
95 |
|
---|
96 | .header__dropdown a {
|
---|
97 | display: block;
|
---|
98 | }
|
---|
99 |
|
---|
100 | .header__dropdownColumn ul {
|
---|
101 | list-style: none;
|
---|
102 | padding: 0;
|
---|
103 | }
|
---|
104 |
|
---|
105 | .header__dropdownColumn ul li {
|
---|
106 | font-weight: bold;
|
---|
107 | margin-top: 4px;
|
---|
108 | }
|
---|
109 |
|
---|
110 | .header__dropdownColumn ul li a {
|
---|
111 | color: rgb(45, 44, 44);
|
---|
112 | text-decoration: 0;
|
---|
113 | }
|
---|
114 |
|
---|
115 | .header__dropdownColumn ul li ul {
|
---|
116 | margin-bottom: 15px;
|
---|
117 | }
|
---|
118 |
|
---|
119 | .header__dropdownColumn ul li ul li {
|
---|
120 | font-weight: 100;
|
---|
121 | text-decoration: none;
|
---|
122 | color: rgb(107, 106, 106);
|
---|
123 | }
|
---|
124 |
|
---|
125 | .header__dropdownColumn ul li:hover span {
|
---|
126 | border-bottom: 1px solid rgb(45, 44, 44);
|
---|
127 | }
|
---|
128 |
|
---|
129 | .header__dropdownColumn ul li ul li a:hover {
|
---|
130 | text-decoration: underline;
|
---|
131 | color: red;
|
---|
132 | }
|
---|
133 |
|
---|
134 | .header__icon {
|
---|
135 | display: none !important;
|
---|
136 | }
|
---|
137 |
|
---|
138 | .header__iconContainer {
|
---|
139 | display: none;
|
---|
140 | }
|
---|
141 |
|
---|
142 | .header__iconContainer img {
|
---|
143 | margin-left: 10px;
|
---|
144 | }
|
---|
145 |
|
---|
146 | .mobile-menu-container {
|
---|
147 | background-color: white;
|
---|
148 | box-shadow: 0 10px 15px rgb(0 0 0 / 40%);
|
---|
149 | height: 100vh;
|
---|
150 | z-index: 20;
|
---|
151 | position: absolute;
|
---|
152 | top: 0;
|
---|
153 | }
|
---|
154 |
|
---|
155 | .closeBtn {
|
---|
156 | margin-right: 20px;
|
---|
157 | text-align: right;
|
---|
158 | cursor: pointer;
|
---|
159 | font-size: 40px;
|
---|
160 | }
|
---|
161 |
|
---|
162 | .mobile-menu-container ul {
|
---|
163 | list-style: none;
|
---|
164 | padding: 0px;
|
---|
165 | margin-top: 10px;
|
---|
166 | }
|
---|
167 |
|
---|
168 | .mobile-menu-container ul li {
|
---|
169 | cursor: pointer;
|
---|
170 | border-top: 1px solid grey;
|
---|
171 | font-size: 20px;
|
---|
172 | display: flex;
|
---|
173 | justify-content: left;
|
---|
174 | align-items: center;
|
---|
175 | height: 50px;
|
---|
176 | }
|
---|
177 |
|
---|
178 | .subDropdown {
|
---|
179 | background-color: white;
|
---|
180 | height: 100vh;
|
---|
181 | z-index: 21;
|
---|
182 | position: absolute;
|
---|
183 | top: 0;
|
---|
184 | }
|
---|
185 |
|
---|
186 | .visible {
|
---|
187 | display: block;
|
---|
188 | }
|
---|
189 |
|
---|
190 | .hidden {
|
---|
191 | display: none;
|
---|
192 | }
|
---|
193 |
|
---|
194 | .category-menu {
|
---|
195 | position: absolute;
|
---|
196 | background-color: #ffffff;
|
---|
197 | top: 0;
|
---|
198 | z-index: 22;
|
---|
199 | height: 100vh;
|
---|
200 | }
|
---|
201 |
|
---|
202 | @media only screen and (max-width: 1015px) {
|
---|
203 | .header__dropdown {
|
---|
204 | margin-left: -200px;
|
---|
205 | }
|
---|
206 | }
|
---|
207 |
|
---|
208 | @media only screen and (max-width: 873px) {
|
---|
209 | .header__menu {
|
---|
210 | display: none;
|
---|
211 | }
|
---|
212 |
|
---|
213 | .header__icon {
|
---|
214 | display: block !important;
|
---|
215 | cursor: pointer;
|
---|
216 | }
|
---|
217 |
|
---|
218 | .header__iconContainer {
|
---|
219 | display: flex;
|
---|
220 | }
|
---|
221 |
|
---|
222 | .mobile-menu-container {
|
---|
223 | width: 40vw;
|
---|
224 | }
|
---|
225 |
|
---|
226 | .subDropdown {
|
---|
227 | width: 40vw;
|
---|
228 | }
|
---|
229 |
|
---|
230 | .category-menu {
|
---|
231 | width: 40vw;
|
---|
232 | }
|
---|
233 | }
|
---|
234 |
|
---|
235 | @media only screen and (max-width: 500px) {
|
---|
236 | .mobile-menu-container {
|
---|
237 | width: 50vw;
|
---|
238 | }
|
---|
239 |
|
---|
240 | .subDropdown {
|
---|
241 | width: 50vw;
|
---|
242 | }
|
---|
243 |
|
---|
244 | .category-menu {
|
---|
245 | width: 50vw;
|
---|
246 | }
|
---|
247 | }
|
---|
248 |
|
---|
249 | @media only screen and (max-width: 400px) {
|
---|
250 | .header__search {
|
---|
251 | display: none;
|
---|
252 | }
|
---|
253 |
|
---|
254 | .mobile-menu-container {
|
---|
255 | width: 80vw;
|
---|
256 | }
|
---|
257 |
|
---|
258 | .subDropdown {
|
---|
259 | width: 80vw;
|
---|
260 | }
|
---|
261 |
|
---|
262 | .category-menu {
|
---|
263 | width: 80vw;
|
---|
264 | }
|
---|
265 | }
|
---|
266 |
|
---|
267 | @media only screen and (max-width: 355px) {
|
---|
268 | span p {
|
---|
269 | display: none;
|
---|
270 | }
|
---|
271 |
|
---|
272 | .mobile-menu-container {
|
---|
273 | width: 100vw;
|
---|
274 | }
|
---|
275 |
|
---|
276 | .subDropdown {
|
---|
277 | width: 100vw;
|
---|
278 | }
|
---|
279 |
|
---|
280 | .category-menu {
|
---|
281 | width: 100vw;
|
---|
282 | }
|
---|
283 | }
|
---|