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