forked from hemang-mishra/DBMSProject
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcart.css
More file actions
119 lines (102 loc) · 2.49 KB
/
cart.css
File metadata and controls
119 lines (102 loc) · 2.49 KB
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
:root {
--primary-color: #4CAF50;
/* GreenLeaf theme color */
--secondary-color: #388E3C;
--background-color: #f9f9f9;
--card-color: #ffffff;
--text-color: #000000;
--border-radius: 8px;
--box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
--font-family: 'Roboto', sans-serif;
}
body {
margin: 0;
padding: 0;
font-family: var(--font-family);
background-color: var(--background-color);
color: var(--text-color);
}
main {
display: flex;
justify-content: center;
padding: 32px;
}
.container {
display: flex;
gap: 32px;
max-width: 1200px;
width: 100%;
}
.orders,
.price-details {
flex: 1;
background-color: var(--card-color);
padding: 24px;
border-radius: var(--border-radius);
box-shadow: var(--box-shadow);
}
.orders .title,
.price-details .title {
font-size: 20px;
font-weight: bold;
margin-bottom: 16px;
color: var(--secondary-color);
}
.cart-item {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 16px;
}
.cart-item img {
object-fit: cover;
width: 100px;
/* height: 60px; */
border-radius: var(--border-radius);
background-color: var(--background-color);
}
.cart-item-content {
flex: 1;
margin-left: 16px;
}
.cart-item-content h3 {
margin: 0;
font-size: 16px;
}
.cart-item-content p {
margin: 4px 0;
font-size: 14px;
color: gray;
}
.cart-item-price {
font-size: 16px;
font-weight: bold;
}
.price-details .price-row {
display: flex;
justify-content: space-between;
margin: 8px 0;
font-size: 14px;
}
.price-details .total {
font-size: 18px;
font-weight: bold;
margin-top: 16px;
}
.place-order-button {
display: block;
width: 100%;
padding: 12px;
margin-top: 24px;
background-color: var(--primary-color);
color: white;
border: none;
border-radius: var(--border-radius);
font-size: 16px;
text-align: center;
cursor: pointer;
box-shadow: var(--box-shadow);
}
.place-order-button:hover {
background-color: var(--secondary-color);
}