-
Notifications
You must be signed in to change notification settings - Fork 12.5k
Expand file tree
/
Copy pathCartItem.module.css
More file actions
58 lines (49 loc) · 832 Bytes
/
CartItem.module.css
File metadata and controls
58 lines (49 loc) · 832 Bytes
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
.item {
margin: 1rem 0;
background-color: #575757;
padding: 1rem;
}
.item h3 {
margin: 0 0 0.5rem 0;
font-size: 1.75rem;
}
.item header {
display: flex;
justify-content: space-between;
align-items: baseline;
}
.details {
display: flex;
justify-content: space-between;
align-items: center;
}
.quantity span {
font-size: 1.5rem;
font-weight: bold;
}
.price {
font-size: 1.5rem;
font-weight: bold;
}
.itemprice {
font-weight: normal;
font-size: 1rem;
font-style: italic;
}
.actions {
display: flex;
justify-content: flex-end;
margin: 0.5rem 0;
}
.actions button {
background-color: transparent;
border: 1px solid white;
margin-left: 0.5rem;
padding: 0.15rem 1rem;
color: white;
}
.actions button:hover,
.actions button:active {
background-color: #4b4b4b;
color: white;
}