Add next open/close day panel + refactor common funcs to util

This commit is contained in:
2018-03-19 14:00:34 +05:30
parent eb3151471a
commit 047bc7c291
11 changed files with 309 additions and 118 deletions
+28 -1
View File
@@ -36,7 +36,7 @@
}
}
@media screen and (max-width: 320px){
@media screen and (max-width: 320px) {
.App {
font-size: 0.3em;
}
@@ -47,7 +47,34 @@
height: 100%;
}
.App .upper-half {
width: 100%;
height: 80vh;
}
.App .lower-half {
width: 100%;
height: 20vh;
border-top: 5px solid antiquewhite;
}
.App .OpenXDay-container {
width: 100%;
height: 100%;
}
.App .OpenXPlusOneDay-container {
float: left;
width: 40%;
height: 100%;
}
.App .OpenXPlusOneDay-container .OpenXDayMini {
border-right: 5px solid rgba(255, 255, 255, 0.5);
}
.App .NextOpenClose-container {
float: right;
width: 60%;
height: 100%;
}