Skip to content

Commit de8a021

Browse files
committed
changes update
1 parent ad24159 commit de8a021

File tree

3 files changed

+155
-113
lines changed

3 files changed

+155
-113
lines changed

Hotel-booking-App/src/DataCreation.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ var hotelData = [
1414
HotelID: 102278,
1515
HotelName: 'Benor Cotel',
1616
Address: "59 rue de l'Abbaye",
17-
Description: 'We are the king of the hotel.',
17+
Description: 'We are the king of the hotel in the vast beautiful world.',
1818
HotelImgID: 'hotel_1',
1919
Rating: 5,
2020
ReviewCount: 20,
@@ -37,7 +37,7 @@ var hotelData = [
3737
HotelID: 102278,
3838
HotelName: 'Benor Cotel',
3939
Address: "59 rue de l'Abbaye",
40-
Description: 'We are the king of the hotel.',
40+
Description: 'We are the king of the hotel in the vast beautiful world.',
4141
HotelImgID: 'hotel_1',
4242
Rating: 5,
4343
ReviewCount: 20,
@@ -60,7 +60,7 @@ var hotelData = [
6060
HotelID: 102278,
6161
HotelName: 'Benor Cotel',
6262
Address: "59 rue de l'Abbaye",
63-
Description: 'We are the king of the hotel.',
63+
Description: 'We are the king of the hotel in the vast beautiful world.',
6464
HotelImgID: 'hotel_1',
6565
Rating: 5,
6666
ReviewCount: 20,

Hotel-booking-App/src/HotelBookApp.css

+92-75
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,18 @@
11
body {
22
margin: 0;
3-
font-family: "Segoe UI", "GeezaPro", "DejaVu Serif", sans-serif, "-apple-system", "BlinkMacSystemFont";
4-
font-size: 13px;
3+
font-family: "Segoe UI";
54
font-weight: 400;
6-
color: black;
5+
font-size: 16px;
6+
line-height: 24px;
7+
color: #767676;
8+
}
9+
10+
.primary-text-style {
11+
font-family: "Segoe UI";
12+
font-weight: 400;
13+
font-size: 16px;
14+
line-height: 24px;
15+
color: #767676;
716
}
817

918
.e-title-bar {
@@ -56,6 +65,7 @@ body {
5665

5766
.e-side-bar-operation-container {
5867
background-color: #ffffff;
68+
width: 260px;
5969
}
6070

6171
.e-check-in-out-text {
@@ -70,31 +80,29 @@ body {
7080
padding: 10px 3px;
7181
}
7282

73-
.e-line-separator {
74-
width: 90%;
75-
background-color: gray;
76-
padding: 1px 0px;
77-
margin: 10px auto;
78-
}
79-
83+
.e-line-separator,
8084
.e-data-line-separator {
8185
width: 95%;
82-
background-color: gray;
83-
padding: 0.2px 0px;
86+
background-color: #EAEAEA;
87+
padding: 1px 0px;
8488
margin: 10px auto;
8589
}
8690

8791
.e-app-container {
88-
background-color: #e6eaed;
92+
background-color: #F0F4F6;
8993
width: 100%;
9094
}
9195

9296
.e-operation-container {
93-
padding: 20px 10px;
97+
padding: 10px 10px;
98+
position: absolute;
99+
z-index: 10;
100+
right: 0px;
101+
top: 0px;
94102
}
95103

96104
.e-grid-container {
97-
padding: 10px;
105+
padding: 20px 10px 10px 10px;
98106
}
99107

100108
.e-mobile-layout {
@@ -117,51 +125,47 @@ body {
117125
}
118126

119127
.e-title-text {
120-
font-size: 15px;
121-
font-weight: 900;
122-
color: black;
128+
font-weight: 600;
129+
color: #333333;
123130
}
124131

125132
.e-header-text {
126-
font-size: 15px;
127-
font-weight: 900;
128133
text-align: center;
129134
padding: 10px;
130-
color: black;
135+
font-weight: 600;
136+
color: #333333;
137+
}
138+
139+
.e-headercell .e-header-text {
140+
padding: 14px;
131141
}
132142

133143
.e-semi-header-text {
134-
font-size: 13px;
135-
font-weight: 700;
136-
color: black;
144+
font-weight: 600;
145+
color: #333333;
137146
}
138147

139148
.e-semi-bold-header-text {
140-
font-size: 14px;
141-
font-weight: 800;
142-
color: black;
149+
font-weight: 600;
150+
color: #333333;
143151
}
144152

145153
.e-light-blue-border-bottom {
146154
border-bottom: 3px solid #e0f2fe !important;
147155
}
148156

149-
.templateRow {
150-
padding: 10px;
151-
}
152-
153157
.templateRow td {
154158
position: relative;
155159
}
156160

157161
.e-rowtemplate-border-applier {
158162
box-shadow: none;
159-
border: 5px solid #e0f2fe !important;
163+
border: 1px solid #EAEAEA !important;
160164
}
161165

162166
.e-room-not-available-cover {
163167
position: absolute;
164-
width: 100%;
168+
width: calc(100% - 2px);
165169
height: 100%;
166170
background-color: #f2f2f2;
167171
opacity: 0.5;
@@ -224,20 +228,21 @@ body {
224228
text-decoration: underline;
225229
}
226230

227-
.e-below-text-styler {
228-
margin-top: 5px;
231+
.e-rating-container.e-custom-rating .e-rating-item-list {
232+
margin: 0px;
229233
}
230234

231-
.e-quote-styler {
232-
font-size: 13px;
233-
font-weight: 600;
234-
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
235+
.e-rating-container.e-custom-rating .e-rating-item-container {
236+
padding-left: 0px;
237+
padding-bottom: 0px;
235238
}
236239

237-
.e-rating-container.e-custom-rating .e-rating-item-container {
238-
margin: -5px 0px 0px 0px;
239-
padding: 0px 5px;
240-
font-size: 18px;
240+
.e-rating-container .e-rating-item-container {
241+
font-size: 16px;
242+
}
243+
244+
.e-rating-reviews-container {
245+
align-items: center;
241246
}
242247

243248
.e-book-layout {
@@ -266,9 +271,8 @@ body {
266271
}
267272

268273
.e-cost-styler {
269-
font-size: 20px;
270274
font-weight: 600;
271-
color: black;
275+
color: #333333;
272276
}
273277

274278
.e-book-button {
@@ -289,21 +293,40 @@ body {
289293
}
290294

291295
.e-details-container {
292-
background-color: #e6eaed;
296+
background-color: #F0F4F6;
297+
padding-top: 30px;
298+
}
299+
300+
.e-carousel-image-holder-height {
301+
height: 280px;
293302
}
294303

295304
.e-back-button-carousel-container {
296305
display: block !important;
297306
}
298307

308+
.e-background-blur-image-container {
309+
width: 100%;
310+
position: absolute;
311+
z-index: 0;
312+
}
313+
314+
.e-background-blur-image {
315+
width: 100%;
316+
height: 100%;
317+
opacity: 0.8;
318+
filter: blur(1px);
319+
}
320+
299321
.e-back-button-container {
300322
padding: 10px;
323+
position: absolute;
324+
z-index: 1;
301325
}
302326

303327
.e-back-button::before {
304328
content: "\e610";
305-
color: #333;
306-
background-color: #ffffff;
329+
color: black;
307330
padding: 5px;
308331
font-size: 17px;
309332
font-family: "e-icons";
@@ -330,36 +353,27 @@ body {
330353
.e-details-info-container {
331354
display: flex;
332355
background-color: #ffffff;
356+
margin-top: 30px;
333357
}
334358

335359
.e-booking-details-container {
336360
width: 100%;
337-
border-left: 5px solid #e6eaed !important;
338-
border-right: 5px solid #e6eaed !important;
361+
border-left: 5px solid #F0F4F6 !important;
362+
border-right: 5px solid #F0F4F6 !important;
339363
}
340364

341365
.e-booking-details-separator {
342366
padding: 10px 15px;
343367
}
344368

345369
.e-hotel-details-container {
346-
border-right: 5px solid #e6eaed !important;
370+
border-right: 5px solid #F0F4F6 !important;
347371
}
348372

349373
.e-hotel-details-side-bar-separator {
350374
padding: 10px 15px;
351375
}
352376

353-
.e-toast-container .e-toast,
354-
.e-toast-container .e-toast:hover {
355-
background-color: #5b5b57;
356-
}
357-
358-
.e-toast-container .e-toast .e-toast-message .e-toast-content,
359-
.e-toast-container .e-toast .e-toast-message .e-toast-content:hover {
360-
color: white;
361-
}
362-
363377
.e-print-info {
364378
display: none;
365379
position: fixed;
@@ -374,19 +388,16 @@ body {
374388
padding: 10px;
375389
}
376390

377-
.e-custom-print-button {
378-
text-align: left;
391+
.e-print-info-separator {
392+
margin-top: 10px;
379393
}
380394

381-
.e-custom-print-icon::before {
382-
content: "\ebf9";
383-
color: #333;
384-
font-size: 16px;
385-
font-family: "e-icons";
395+
.e-chip-list {
396+
padding-left: 0px;
386397
}
387398

388-
.e-print-info-separator {
389-
margin-top: 10px;
399+
.e-chip.e-outline {
400+
margin-left: 0px;
390401
}
391402

392403
@import '../node_modules/@syncfusion/ej2-base/styles/fabric.css';
@@ -452,13 +463,13 @@ text-align: left;
452463

453464
.e-booking-details-container {
454465
width: 100%;
455-
border-left: 0px solid #e6eaed !important;
456-
border-right: 0px solid #e6eaed !important;
457-
border-bottom: 5px solid #e6eaed !important;
466+
border-left: 0px solid #F0F4F6 !important;
467+
border-right: 0px solid #F0F4F6 !important;
468+
border-bottom: 5px solid #F0F4F6 !important;
458469
}
459470

460471
.e-hotel-details-container {
461-
border-right: 0px solid #e6eaed !important;
472+
border-right: 0px solid #F0F4F6 !important;
462473
}
463474
}
464475

@@ -496,6 +507,7 @@ text-align: left;
496507
position: absolute;
497508
height: 100%;
498509
overflow-y: auto;
510+
width: auto;
499511
}
500512

501513
.e-carouselcomponent-container,
@@ -511,13 +523,18 @@ text-align: left;
511523
width: 320px;
512524
height: 180px;
513525
}
526+
527+
.e-operation-container {
528+
position: static;
529+
padding-top: 0px;
530+
}
514531
}
515532

516533
@media only screen and (max-width: 560px) {
517534

518535
.e-carouselcomponent-container,
519536
.e-carousel-img-container img {
520-
height: 180px;
537+
height: 240px;
521538
width: 320px;
522539
}
523540
}

0 commit comments

Comments
 (0)