-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathNavbar.module.css
82 lines (82 loc) · 1.24 KB
/
Navbar.module.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
.container {
align-items: center;
background-color: #d1411e;
display: flex;
flex-direction: row;
height: 100px;
justify-content: space-between;
padding: 0px 50px;
position: sticky;
top: 0;
width: 100%;
z-index: 999;
}
.item {
align-items: center;
display: flex;
flex: 1;
}
.item:nth-child(2) {
display: flex;
flex: 3;
}
.item:last-child {
display: flex;
justify-content: flex-end;
}
.callButton {
background-color: #fff;
border-radius: 50px;
height: 50px;
padding: 10px;
width: 50px;
}
.texts {
color: #fff;
margin-left: 20px;
}
.text:first-child {
font-size: 12px;
font-weight: 500;
}
.text:last-child {
font-size: 20px;
font-weight: bold;
}
.list {
align-items: center;
color: #fff;
display: flex;
list-style: none;
padding: 0;
}
.listItem {
font-weight: 500;
margin: 20px;
}
.cart {
position: relative;
}
.counter {
align-items: center;
background-color: #fff;
border-radius: 50%;
color: #d1411e;
display: flex;
font-weight: 500;
height: 20px;
justify-content: center;
padding: 3px;
position: absolute;
right: -10px;
top: -10px;
width: 20px;
}
@media screen and (max-width: 480px) {
.item:nth-child(2) {
display: none;
}
.item:nth-child(1) {
flex: 3;
}
}