|
@@ -68,11 +68,62 @@ body * {
|
|
|
pointer-events: none;
|
|
|
}
|
|
|
|
|
|
+.overlay2 {
|
|
|
+ position: absolute;
|
|
|
+ width: 100%;
|
|
|
+ height: 100vh;
|
|
|
+ background-color: rgba(29,29,31,.6);
|
|
|
+ z-index: 3;
|
|
|
+ opacity: 0;
|
|
|
+ transition: opacity .6s cubic-bezier(.645,.045,.355,1);
|
|
|
+ pointer-events: none;
|
|
|
+}
|
|
|
+
|
|
|
.overlay-active {
|
|
|
pointer-events: auto;
|
|
|
opacity: 1;
|
|
|
}
|
|
|
|
|
|
+main.ng-enter{
|
|
|
+ -webkit-transition: all 1.6s cubic-bezier(.645,.045,.355,1);
|
|
|
+ transition: all 1.6s cubic-bezier(.645,.045,.355,1);
|
|
|
+ opacity: 0.6s
|
|
|
+}
|
|
|
+
|
|
|
+main.ng-enter-active {
|
|
|
+ opacity: 1;
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+/* main.ng-enter > div > div {
|
|
|
+ transition: all 1s ease;
|
|
|
+ transform: translateY(1000%);
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+main.ng-enter-active > div > div {
|
|
|
+ transform: translateY(0);
|
|
|
+} */
|
|
|
+
|
|
|
+main.ng-enter .meal-item {
|
|
|
+ transform: translateY(600px);
|
|
|
+}
|
|
|
+main.ng-enter .meal-item:nth-child(3n + 1) {
|
|
|
+ transition: all 1s cubic-bezier(.645,.045,.355,1);
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+main.ng-enter .meal-item:nth-child(3n + 2) {
|
|
|
+ transition: all 1.3s cubic-bezier(.645,.045,.355,1);
|
|
|
+}
|
|
|
+
|
|
|
+main.ng-enter .meal-item:nth-child(3n + 3) {
|
|
|
+ transition: all 1.6s cubic-bezier(.645,.045,.355,1);
|
|
|
+}
|
|
|
+
|
|
|
+main.ng-enter.ng-enter-active .meal-item {
|
|
|
+ transform: translateY(0);
|
|
|
+}
|
|
|
|
|
|
/* header-line */
|
|
|
.header-line {
|
|
@@ -136,11 +187,16 @@ body * {
|
|
|
|
|
|
.nav-menu li {
|
|
|
list-style-type: none;
|
|
|
- padding: 18px 0;
|
|
|
+
|
|
|
transition: all .5s cubic-bezier(.39,.575,.565,1);
|
|
|
cursor: pointer;
|
|
|
}
|
|
|
|
|
|
+.nav-menu a {
|
|
|
+ display: block;
|
|
|
+ padding: 18px 0;
|
|
|
+}
|
|
|
+
|
|
|
.nav-menu li:hover {
|
|
|
transform: translateX(4px);
|
|
|
}
|
|
@@ -205,7 +261,7 @@ body * {
|
|
|
|
|
|
.open-menu {
|
|
|
transition: all 0.6s cubic-bezier(.645,.045,.355,1);
|
|
|
- transform: translateX(281px);
|
|
|
+ transform: translateX(281px)!important;
|
|
|
}
|
|
|
|
|
|
.close-menu {
|
|
@@ -785,3 +841,244 @@ body * {
|
|
|
font-size: 14px;
|
|
|
}
|
|
|
/* footer */
|
|
|
+
|
|
|
+/* select-menu-page */
|
|
|
+.select-menu-page {
|
|
|
+ background: rgb(252, 252, 254);
|
|
|
+}
|
|
|
+
|
|
|
+.select-menu-page .search {
|
|
|
+ background: linear-gradient(to top,rgba(29, 29, 31,.9),rgba(29, 29, 31,.95));
|
|
|
+}
|
|
|
+
|
|
|
+.select-menu-page .search-wrapper {
|
|
|
+ margin: 0 auto;
|
|
|
+ max-width: 1024px;
|
|
|
+}
|
|
|
+
|
|
|
+.select-menu-page .search-description {
|
|
|
+ color: #fff;
|
|
|
+ border-bottom: 1px solid #fff;
|
|
|
+ padding: 20px 85px;
|
|
|
+ font-size: 27px;
|
|
|
+}
|
|
|
+
|
|
|
+.select-menu-page .search-buttons-wrapper {
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+}
|
|
|
+
|
|
|
+.select-menu-page .search-button {
|
|
|
+ position: relative;
|
|
|
+ width: 25%;
|
|
|
+ text-align: center;
|
|
|
+ padding: 20px 0;
|
|
|
+ color: #fff;
|
|
|
+ font-size: 18px;
|
|
|
+ letter-spacing: 1px;
|
|
|
+ cursor: pointer;
|
|
|
+ user-select: none;
|
|
|
+ /* font-family: 'Roboto'; */
|
|
|
+}
|
|
|
+
|
|
|
+.select-menu-page .search-button-active::after {
|
|
|
+ content: '';
|
|
|
+ position: absolute;
|
|
|
+ width: 0;
|
|
|
+ height: 0;
|
|
|
+ right: 0;
|
|
|
+ left: 0;
|
|
|
+ bottom: 0;
|
|
|
+ margin: 0 auto;
|
|
|
+ border-style: solid;
|
|
|
+ border-width: 0 10px 10px 10px;
|
|
|
+ border-color: transparent transparent rgb(252, 252, 254) transparent;
|
|
|
+}
|
|
|
+
|
|
|
+.select-menu-page .meal-items {
|
|
|
+ max-width: 1170px;
|
|
|
+ margin: 0 auto;
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ flex-wrap: wrap;
|
|
|
+ padding: 70px 0;
|
|
|
+}
|
|
|
+
|
|
|
+/* .select-menu-page .meal-item.ng-leave {
|
|
|
+ transition: all 1s ease;
|
|
|
+ opacity: 1;
|
|
|
+}
|
|
|
+
|
|
|
+.select-menu-page .meal-item.ng-leave.ng-leave-active {
|
|
|
+ opacity: 0;
|
|
|
+} */
|
|
|
+
|
|
|
+.select-menu-page .meal-item {
|
|
|
+ position: relative;
|
|
|
+ perspective: 1000px;
|
|
|
+ width: 31%;
|
|
|
+ /* margin-right: 3.5%; */
|
|
|
+ margin-bottom: 35px;
|
|
|
+}
|
|
|
+
|
|
|
+.select-menu-page .meal-item-title {
|
|
|
+ position: absolute;
|
|
|
+ z-index: 1;
|
|
|
+ width: 100%;
|
|
|
+ top: 0;
|
|
|
+ left: 0;
|
|
|
+ overflow: hidden;
|
|
|
+}
|
|
|
+
|
|
|
+.select-menu-page .meal-item-title h2 {
|
|
|
+ transition: all 0.4s ease;
|
|
|
+ transform: translateX(0px);
|
|
|
+ text-align: center;
|
|
|
+ text-transform: capitalize;
|
|
|
+ padding: 5px 0;
|
|
|
+ color: #fff;
|
|
|
+ background: rgba(29, 29, 31, 0.7);
|
|
|
+}
|
|
|
+
|
|
|
+/* .select-menu-page .meal-item:nth-child(3n + 3) {
|
|
|
+ margin-right: 0;
|
|
|
+} */
|
|
|
+
|
|
|
+.select-menu-page .meal-item-img {
|
|
|
+ overflow: hidden;
|
|
|
+}
|
|
|
+
|
|
|
+.select-menu-page .meal-item img{
|
|
|
+ width: 100%;
|
|
|
+ transition: all 0.4s ease;
|
|
|
+ transform: translateX(0px);
|
|
|
+}
|
|
|
+
|
|
|
+.select-menu-page .meal-item-ingredients {
|
|
|
+ position: absolute;
|
|
|
+ z-index: 2;
|
|
|
+ top: 0;
|
|
|
+ left: 0;
|
|
|
+ height: 100%;
|
|
|
+ width: 50%;
|
|
|
+ background: rgba(29, 29, 31,0.95);
|
|
|
+ transition: all 0.3s ease;
|
|
|
+ transform: rotateY(280.3deg);
|
|
|
+ transform-origin: 0 50%;
|
|
|
+ color: #fff;
|
|
|
+ padding: 12px;
|
|
|
+}
|
|
|
+
|
|
|
+.select-menu-page .meal-item-ingredients h3 {
|
|
|
+ margin: 5px;
|
|
|
+}
|
|
|
+
|
|
|
+.select-menu-page .meal-item-ingredients li {
|
|
|
+ font-size: 15px;
|
|
|
+ font-family: 'Roboto';
|
|
|
+ margin: 10px 5px;
|
|
|
+}
|
|
|
+
|
|
|
+.select-menu-page .meal-item:hover .meal-item-ingredients{
|
|
|
+ transform: rotateY(360deg);
|
|
|
+}
|
|
|
+
|
|
|
+.select-menu-page .meal-item:hover img{
|
|
|
+ transform: translateX(50px);
|
|
|
+}
|
|
|
+
|
|
|
+.select-menu-page .meal-item:hover .meal-item-title h2{
|
|
|
+ transform: translate3d(0, -100%, 0);
|
|
|
+ opacity: 0;
|
|
|
+}
|
|
|
+
|
|
|
+.selected-meals-btn {
|
|
|
+ position: absolute;
|
|
|
+ right: 15px;
|
|
|
+ top: 15px;
|
|
|
+ z-index: 2;
|
|
|
+}
|
|
|
+
|
|
|
+.selected-meals {
|
|
|
+ position: absolute;
|
|
|
+ top: 0;
|
|
|
+ right: 0;
|
|
|
+ height: 100vh;
|
|
|
+ width: 281px;
|
|
|
+ background-color: #1D1D1F;
|
|
|
+ padding: 50px;
|
|
|
+ padding-top: 100px;
|
|
|
+ transition: all 0.6s cubic-bezier(.645,.045,.355,1);
|
|
|
+ transform: translateX(281px);
|
|
|
+}
|
|
|
+/* select-menu-page */
|
|
|
+
|
|
|
+/* add-item-page */
|
|
|
+.add-item-page {
|
|
|
+ background: #F1F1F5;
|
|
|
+}
|
|
|
+
|
|
|
+.add-item-page .form-wrapper {
|
|
|
+ max-width: 768px;
|
|
|
+ margin: 0 auto;
|
|
|
+ padding: 70px 0;
|
|
|
+}
|
|
|
+
|
|
|
+.add-item-page form {
|
|
|
+ padding: 50px;
|
|
|
+ background: #FCFCFE;
|
|
|
+ box-shadow: 0 0 22px #cacaca;
|
|
|
+ text-align: center;
|
|
|
+}
|
|
|
+
|
|
|
+.add-item-page form h2 {
|
|
|
+ text-align: center;
|
|
|
+ letter-spacing: 0.5px;
|
|
|
+ color: #1D1D1F;
|
|
|
+}
|
|
|
+
|
|
|
+.add-item-page form input, .add-item-page form select {
|
|
|
+ width: 80%;
|
|
|
+ margin: 15px 0;
|
|
|
+ background-color: #F1F1F5;
|
|
|
+ height: 35px;
|
|
|
+ border: none;
|
|
|
+ box-shadow: inset 0 0 8px #cacaca;
|
|
|
+ padding: 0 10px;
|
|
|
+ font-size: 18px;
|
|
|
+ font-family: 'Roboto', sans-serif;
|
|
|
+ outline: none;
|
|
|
+}
|
|
|
+
|
|
|
+.add-item-page form .ingredient-wrapper input {
|
|
|
+ width: 80%;
|
|
|
+ margin-left: 5%;
|
|
|
+}
|
|
|
+
|
|
|
+.add-item-page form .ingredient-wrapper span {
|
|
|
+ width: 5%;
|
|
|
+ font-size: 22px;
|
|
|
+ opacity: .4;
|
|
|
+ transition: all .3s ease;
|
|
|
+ cursor: pointer;
|
|
|
+}
|
|
|
+
|
|
|
+.add-item-page form .ingredient-wrapper span:hover {
|
|
|
+ opacity: .8;
|
|
|
+}
|
|
|
+
|
|
|
+.add-item-page form button {
|
|
|
+ display: inline-block;
|
|
|
+ width: 150px;
|
|
|
+ height: 35px;
|
|
|
+ border: none;
|
|
|
+ box-shadow: 0 0 5px #cacaca;
|
|
|
+ font-family: 'Roboto', sans-serif;
|
|
|
+ font-size: 15px;
|
|
|
+ margin: 15px 0;
|
|
|
+ cursor: pointer;
|
|
|
+ background: rgba(29, 29, 31,.85);
|
|
|
+ color: #fff;
|
|
|
+ outline: none;
|
|
|
+}
|
|
|
+/* add-item-page */
|