-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
244 lines (210 loc) · 4.35 KB
/
style.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
235
236
237
238
239
240
241
242
243
244
/*BODY*/
body {
padding: 0px;
margin: 0px;
background-color: black;
font-family:'-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu, Cantarell', 'Open Sans', 'Helvetica Neue', sans-serif;
}
/*NAVBAR*/
.navbar {
background: rgba(0,0,0,0.6) !important;
height: 3cm;
}
.navbar .navbar-brand {
font-family: '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Open Sans', 'Helvetica Neue', sans-serif;
font-weight: bold;
color: #fed4b4;
font-size: 1.4em;
margin-left: 5%;
}
.navbar-text {
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
color: #f8cdb0;
display: block;
position: relative;
-webkit-transition: all 0.3s ease-in;
transition: all 0.3s ease-in;
}
.navbar-text:hover {
color: #f9d2a8;
cursor: pointer;
-webkit-transform: scale(1.4);
-ms-transform: scale(1.4);
transform: scale(1.4);
}
.nav-item {
margin-left: 40px;
}
.navbar .nav-item a {
font-weight: 500;
color: #f3e2b3;
font-weight: bolder;
display: block;
position: relative;
-webkit-transition: all 0.3s ease-in;
transition: all 0.3s ease-in;
}
.nav-item:hover a {
color: #f7d2b0;
-webkit-transform: scale(1.4);
-ms-transform: scale(1.4);
transform: scale(1.4);
}
/*END OF NAVBAR*/
/*PIZZA ORDER*/
.pizza-order,
.pizza-orderlist {
height: 100vh;
position: relative;
}
.pizza-orderlist,
.view-cart,
.error-modal,
.checkout-modal {
display: none;
}
.form-container {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
background-color: #fff;
border-radius: 10px 4px 4px 4px;
box-shadow: 0 0 10px rgba(41, 40, 40, 0.301);
opacity: .85;
}
.left-col {
background: linear-gradient(
180deg,
rgba(231, 166, 106, 0.84) 6.25%,
rgba(242, 105, 113, 0) 100%
);
border-radius: 10px 4px 4px 4px;
}
.left-col-img img {
margin-left: 40px;
border-radius: 3px;
padding-bottom: 40px;
}
.steps-number {
position: relative;
background-color: #f2a969;
text-align: center;
padding: 5px 9px;
color: #fff;
border-radius: 50%;
font-weight: bold;
}
.steps-text {
font-size: 18px;
}
label,
input {
cursor: pointer;
}
select.form-control {
background-color: #f2b469;
color: #fff;
}
input[type="checkbox"] {
background-color: #e37d4e;
}
.order-summary {
background: linear-gradient(
180deg,
rgba(202, 125, 73, 0.84) 6.25%,
rgba(242, 105, 113, 0.3) 100%
);
}
.order-item td {
font-size: 12px;
}
/*END OF PIZZA ORDER*/
/*CHECK OUT CONTAINER*/
.checkout-container,
.feedback-container {
height: fit-content;
top: 10%;
cursor: text;
color: #fff;
line-height: 3em;
text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.692);
display: none;
z-index: 2;
}
.checkout-overlay {
z-index: 1;
}
.checkout-container input {
cursor: text;
}
.checkout-modal {
background-image: url(./images/cheesetopping.jpg);
height: 100vh;
width: 100vw;
background-size: cover;
background-position: center center;
}
.error-overlay,
.checkout-overlay {
position: absolute;
top: 200px;
background-color: rgba(0, 0, 0, 0.397);
height: 100%;
width: 100%;
z-index: 3;
opacity: 1;
}
.error-container,
.checkout-container
{
background-color: #ac804dce;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.692);
border-radius: 4px;
height: 90px;
line-height: 45px;
top: 0;
left: 50%;
position: absolute;
text-align: center;
transform: translate(-50%, 0);
width: 30em;
z-index: 5;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
.feedback-container {
background-color: #92733ace;
box-shadow: 0 0 10px rgba(211, 139, 46, 0.692);
border-radius: 4px;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
line-height: 45px;
top: 0;
left: 50%;
position: absolute;
text-align: center;
transform: translate(-50%, 0);
width: 30em;
z-index: 5;
}
.close-error {
background-color: #fff;
border-radius: 50%;
height: 30px;
width: 30px;
line-height: 30px;
font-weight: bold;
position: inherit;
right: 0;
margin: 3px 3px 0 0;
}
.error {
padding: 20px 20px;
font-size: 18px;
}
.close-error:hover {
box-shadow: 0 0 20px rgba(0, 0, 0, 0.568);
color: #f2b769;
cursor: pointer;
transition: all 0.2s;
}
/*END OF CHECKOUT CONTAINER*/