forked from LanKeEn-TARC/TSA
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcart.css
234 lines (209 loc) · 4.04 KB
/
cart.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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
body {
background: #040B10;
}
/*Marquee*/
marquee {
width:100%;
margin-top: 5.8%;
margin-bottom: 8px;
}
marquee > h1{
text-align: center;
color: white;
}
/*Table*/
#cartDetails {
border: #8cacac dashed 3px;
border-collapse: collapse;
width: 97%;
margin-left: auto;
margin-right: auto;
margin-bottom: 30px;
}
/*Table H1*/
#cartDetails thead th {
border-collapse: collapse;
border-bottom: 2.5px solid #2196f3;
font-weight: bold;
font-size: 1.2em;
padding: 15px;
color: white;
height: 30px;
font-family: sans-serif;
font-weight: bold;
}
/* A row of the cart items */
.cart {
background-color: #040B10;
color: white;
font-family: sans-serif;
text-align: center;
margin:5px;
border-bottom: 1.2px solid #ddd;
}
.cart td{
padding-top: 50px;
padding-bottom: 50px;
}
/*The column of the each width (td) */
.cartProductImg {
width: 20%;
text-align: center;
}
.name {
width: 22%;
text-align: left;
}
.quantity {
width: 20%;
text-align: center;
}
.quantity input.quantityValue{
font-weight: bold;
}
.price {
width: 10%;
text-align: center;
}
.total {
width:12%;
text-align: center;
}
.remove {
width:5%;
padding-right: 15px;
}
/* A column of the cart item properties*/
.cart img {
padding: 0%;
text-align: none;
border-radius: 15px 15px 15px;
width: 50%;
height: auto;
}
.cart p {
margin:0;
color: #CACCCD;
font-size: 20pt;
font-family: 'Times New Roman', Times, serif;
line-height: 2.5;
}
.cart .remove button{
margin-top: 7.5px;
padding: 5px;
font-size: 20px;
text-decoration: none;
cursor:pointer;
border: 2px solid #2196f3 ;
border-radius: 12px;
}
.cart .remove button:hover{
background-color: red;
box-shadow: 0 12px 16px 0 rgb(46, 40, 40);
}
.cart .remove button:active {
box-shadow: 0 5px ;
transform: translateY(5px);
}
/*Quantity*/
.quantity input{
-webkit-appearance: none;
appearance: none;
border: none;
text-align: center;
width: 50px;
height: 30px;
font-size: 1.4em;
color: black;
background-color: white;
font-weight: 300;
}
button[class*=Button] {
width: 30px;
height: 30px;
background-color: #E1E8EE;
border-radius: 50%;
border: none;
cursor: pointer;
}
.minusButton img{
margin-bottom: 3px;
}
.plusButton img{
margin-top: 2px;
}
.quantity button:focus,
.quantity input:focus{
outline: 0;
}
/*Total*/
.cartPayment{
display: flex;
flex-direction: row;
width: 80%;
height: 100%;
justify-content: space-between;
margin-left: auto;
margin-right: auto;
margin-bottom: 20px;
}
#totalPrice{
text-align: center;
font-weight: bold;
font-size: 2em;
font-family: Arial, Helvetica, sans-serif;
letter-spacing: 1px;
color: white;
}
#totalPrice h3{
margin-top: 10px;
margin-left: 20px;
}
/*sliding Button*/
.slidingButton {
width: 340px;
height: 40px;
padding: 10px 40px;
line-height: 40px;
position: relative;
z-index: 1;
}
.btn_one {
font-size: 1.1em;
float: left;
color: rgb(255, 255, 255);
text-decoration: none;
transition: 1.0s;
}
.btn_two {
font-size: 1.1em;
float: right;
text-decoration: none;
color: #a6afbf;
}
.btn_bg {
background: #283048;
background: linear-gradient(to right, #859398, #283048);
height: 60px;
width: 170px;
position: absolute;
top: 0;
margin-left: -208px;
z-index: -1;
transition: 1.0s;
border-radius: 5px;
}
#continueShop:hover + .btn_bg {
width: 252px;
margin-left: -40px;
}
.btn_two > #continueShop:hover {
color: white;
}
.btn_two:hover ~ .btn_one {
color: #a6afbf;
}
#continueShop {
padding: 10px 0;
transition: 1.0s;
}