-
Notifications
You must be signed in to change notification settings - Fork 0
/
checkOut.css
152 lines (141 loc) · 2.35 KB
/
checkOut.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
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,400;0,500;0,700;0,900;1,100;1,700&display=swap");
:root {
--primary-clr: #251b37;
--secondary-clr: #372948;
--auxillary-clr: #ffcaca;
--second-auxillary-clr: #ffecef;
--font-family: "Roboto", sans-serif;
}
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
h1 a {
text-decoration: none;
color: white;
font-size: 30px;
}
nav,
footer {
height: 85px;
background-color: var(--primary-clr);
display: flex;
align-items: center;
padding: 0px 50px;
color: white;
}
footer {
justify-content: center;
}
header {
position: sticky;
top: 0;
z-index: 99;
}
/* Header - navigation bar */
nav {
display: flex;
align-items: center;
justify-content: space-between;
}
.navBar {
position: relative;
/* background-color: var(--second-auxillary-clr); */
padding: 0px 15px;
border-radius: 30%;
cursor: pointer;
}
.navBar img {
width: 30px;
border-radius: 50%;
}
.navBar img:hover {
width: 32px;
}
.number-cart-items {
position: absolute;
color: white;
font-weight: 700;
font-size: 18px;
right: 0;
padding-right: 5px;
}
/* End of navigation Bar*/
main {
display: flex;
justify-content: center;
padding: 50px;
}
.order {
position: relative;
height: 450px;
width: 450px;
background: var(--second-auxillary-clr);
border-radius: 10px;
box-shadow: 0px 2px 2px var(--primary-clr);
}
table {
width: 95%;
margin: 15px auto;
color: var(--secondary-clr);
}
.rows {
margin: 15px 0;
}
.title {
width: 50%;
}
.price {
width: 25%;
}
.qty {
width: 25%;
}
.totalContainer {
float: right;
padding: 10px 45px;
font-size: 25px;
}
.payNow {
width: 25%;
position: absolute;
bottom: 25px;
left: 39%;
background: var(--primary-clr);
padding: 5px;
text-align: center;
color: white;
border-radius: 8px;
cursor: pointer;
}
.payNow:hover {
background: var(--auxillary-clr);
color: var(--primary-clr);
border: 1px solid var(--primary-clr);
}
form {
padding: 50px 35px;
}
.inputTag {
padding: 10px 0px;
}
form input {
width: 100%;
padding: 8px;
border-radius: 8px;
border: 1px solid var(--primary-clr);
color: white;
}
form input:hover {
background: var(--auxillary-clr);
}
form input:focus {
background: #ccc;
color: var(--primary-clr);
font-size: 18px;
}
label {
font-size: 18px;
font-weight: bold;
}