forked from deepakChourasiya-aj/Furniture-Stock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcart.css
158 lines (133 loc) · 2.32 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
#main{
display: flex;
width: 95%;
margin: auto;
justify-content: space-evenly;
}
h1{
margin-left: 2.5%;
}
#cart{
border: 1px solid black;
width: 70%;
text-align: center;
padding: 40px 0px;
}
#add-cart{
display: flex;
width: 100%;
margin-top: 20px;
box-shadow: rgba(0, 0, 0, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
padding: 10px;
}
#add-cart img{
width: 30%;
}
#add-cart>span{
padding: 0px 20px;
width: 70%;
text-align: left;
height: 100%;
}
#remove-btn{
margin-top: 20px;
border: none;
border-radius: 2px;
background-color: rgb(33, 33, 33);
color: white;
padding: 5px 10px;
}
#remove-btn:hover{
background-color: black;
}
#add-cart>span>span{
display: flex;
}
#add-cart select{
margin: auto 20px;
height: 20px;
}
#cart-bill{
width: 22%;
gap: 20px;
}
#total-bill, #promo-code{
border: 1px solid black;
width: 100%;
padding: 5%;
}
#total-bill{
margin-top: 10px;
}
table{
width: 100%;
}
tr td:nth-child(2){
text-align: right;
}
#signin-btn{
padding: 10px 30px;
background: none;
border: 0.5px solid black;
border-radius: 8px;
box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}
#signin-btn:hover{
box-shadow: none;
}
#checkout-btn{
width: 100%;
padding: 10px 0px;
border-radius: 5px;
border: none;
background-color: rgb(33, 33, 33);
color: white;
}
#checkout-btn:hover{
background-color: black;
}
#checkout-btn img{
-webkit-filter: invert(1);
filter: invert(1);
}
#promo-code input{
width: 60%;
margin-top: 10px;
padding: 10px 5px;
border: 0.5px solid black;
border-radius: 5px;
}
#promo-code button{
width: 30%;
padding: 10px 5px;
margin-top: 10px;
background: none;
border: 0.5px solid black;
border-radius: 5px;
}
/* medium screens / Tablet view */
@media screen and (min-width: 500px) and (max-width: 800px) {
#main{
flex-direction: column;
}
#cart{
width: 100%;
margin-bottom: 20px;
}
#cart-bill{
width: 90%;
}
}
/* small screens / moblie view */
@media screen and (min-width: 200px) and (max-width: 499px) {
#main{
flex-direction: column;
}
#cart{
width: 100%;
margin-bottom: 20px;
}
#cart-bill{
width: 90%;
}
}