-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcartpage.css
103 lines (84 loc) · 1.44 KB
/
cartpage.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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
body {
background-color: rgb(255, 255, 255);
font-family: "Poppins", sans-serif;
}
.container{
max-width: 1200px;
margin: 0 auto;
}
.cart{
display: flex;
}
.products{
flex: 0.75;
background-color: white;
}
.product{
display: flex;
border: 1px solid black;
}
.product:hover{
transform: translateY(-0.1%);
box-shadow: 0 4rem 7rem rgba(0, 0, 0, 0.1);
}
.product > img{
width: 300px;
height: 200px;
object-fit: cover;
}
.vehicle-info{
padding: 20px;
width: 100%;
position: relative;
}
.vehicle-name, .vehicle-price {
margin-bottom: -5px;
}
.vehicle-remove{
position: absolute;
bottom: 20px;
right: 20px;
padding: 2%;
background-color: rgb(0, 45, 128);
color: white;
cursor: pointer;
border-radius: 5px;
}
.vehicle-remove:hover{
background-color: white;
color: rgb(2, 0, 128);
font-weight: 600;
border: 1px solid rgb(0, 45, 128);
}
.cart-total{
flex: 0.25;
margin-left: 20px;
padding: 20px;
border: 1px solid silver;
border-radius: 5px;
}
.cart-total p, label{
display: flex;
justify-content: space-between;
margin-bottom: 30px;
font-size: 20px;
}
.cart-total button{
display: block;
text-align: center;
line-height: 40px;
background-color: rgb(12, 145, 12);
color: white;
text-decoration: none;
}
.cart-total button:hover{
background-color: rgb(0, 255, 76);
}
div.elem-group {
margin: 20px 0;
}
div.elem-group.inlined {
width: 30%;
display: inline-block;
margin-left: 1%;
}