|
@@ -263,7 +263,10 @@ const Navbar = () => {
|
263
|
263
|
backdropFilter: "none !important",
|
264
|
264
|
'& .navItem':{
|
265
|
265
|
color:"black !important"
|
266
|
|
- }
|
|
266
|
+ },
|
|
267
|
+ '& .navItem:hover':{
|
|
268
|
+ color:"#95AAC5 !important"
|
|
269
|
+ },
|
267
|
270
|
}
|
268
|
271
|
}}
|
269
|
272
|
onMouseLeave={() => {
|
|
@@ -312,9 +315,10 @@ const Navbar = () => {
|
312
|
315
|
|
313
|
316
|
<IconButton
|
314
|
317
|
onClick={() => setOpen(true)}
|
|
318
|
+ className="navItem"
|
315
|
319
|
sx={{
|
316
|
320
|
backgroundColor: "transparent",
|
317
|
|
- color: "white",
|
|
321
|
+ color: (isAtTop) ? "white" : "black",
|
318
|
322
|
"&:hover": {
|
319
|
323
|
backgroundColor: "rgba(0, 0, 0, 0.1)",
|
320
|
324
|
},
|
|
@@ -343,7 +347,6 @@ const Navbar = () => {
|
343
|
347
|
position: "relative",
|
344
|
348
|
':hover': {
|
345
|
349
|
backgroundColor: "rgba(0,0,0,0)",
|
346
|
|
- color: "#95AAC5"
|
347
|
350
|
}
|
348
|
351
|
}}
|
349
|
352
|
color="inherit"
|
|
@@ -363,7 +366,7 @@ const Navbar = () => {
|
363
|
366
|
color: (isAtTop) ? "white" : "black",
|
364
|
367
|
transition: "all 0.3s ease-in-out",
|
365
|
368
|
":hover": {
|
366
|
|
- color: "#95AAC5"
|
|
369
|
+ color: "#95AAC5 !important"
|
367
|
370
|
}
|
368
|
371
|
}}>{productType}</Typography>
|
369
|
372
|
</Button>))}
|
|
@@ -402,12 +405,14 @@ const Navbar = () => {
|
402
|
405
|
|
403
|
406
|
<IconButton>
|
404
|
407
|
<SearchIcon className="navItem" style={{
|
|
408
|
+ transition: "all 0.3s ease-in-out",
|
405
|
409
|
color: (isAtTop) ? "white" : "black",
|
406
|
410
|
}} />
|
407
|
411
|
</IconButton>
|
408
|
412
|
|
409
|
413
|
<Badge sx={{ cursor: "pointer" }} onClick={() => { window.location.href = "/cart" }} badgeContent={cartAmount} color="primary">
|
410
|
414
|
<LocalMallIcon className="navItem" style={{
|
|
415
|
+ transition: "all 0.3s ease-in-out",
|
411
|
416
|
color: (isAtTop) ? "white" : "black",
|
412
|
417
|
}} />
|
413
|
418
|
</Badge>
|