|
@@ -1,19 +1,17 @@
|
|
|
-/* Constructor */
|
|
|
-/* .constructor-page-title h1 {
|
|
|
+/* Constructor
|
|
|
+ .constructor-page-title h1 {
|
|
|
text-align: center;
|
|
|
margin: 45px 0;
|
|
|
font-family: "AvenirNextLTPro-Demi";
|
|
|
color: #1D1D1F;
|
|
|
font-weight: 200;
|
|
|
-} */
|
|
|
-
|
|
|
+} */
|
|
|
.constructor-page-title {
|
|
|
background: #1D1D1F;
|
|
|
text-align: center;
|
|
|
margin-bottom: 45px;
|
|
|
padding: 11px 0;
|
|
|
}
|
|
|
-
|
|
|
.constructor-page-title h1 {
|
|
|
display: inline-block;
|
|
|
font-family: "AvenirNextLTPro-Demi";
|
|
@@ -21,7 +19,6 @@
|
|
|
font-size: 25px;
|
|
|
color: #fff;
|
|
|
}
|
|
|
-
|
|
|
.constructor-wrapper {
|
|
|
margin-bottom: 30px;
|
|
|
display: flex;
|
|
@@ -160,7 +157,6 @@
|
|
|
div.accordion__content, ul li i:before, ul li i:after {
|
|
|
transition: all 0.5s ease-in-out;
|
|
|
}
|
|
|
-
|
|
|
/* CAROUSEL */
|
|
|
.slick-slider {
|
|
|
margin-bottom: 0;
|
|
@@ -239,7 +235,6 @@ div.accordion__content, ul li i:before, ul li i:after {
|
|
|
text-shadow: 0px -1px 0px rgba(0,0,0,0.2);
|
|
|
font-weight: normal;
|
|
|
}
|
|
|
-
|
|
|
.constructor-day__type .constructor-meals {
|
|
|
border-left: 2px inset #1d1d1f;
|
|
|
border-right: 2px inset #1d1d1f;
|
|
@@ -284,7 +279,7 @@ div.accordion__content, ul li i:before, ul li i:after {
|
|
|
width: 48px;
|
|
|
height: 48px;
|
|
|
bottom: 30px;
|
|
|
- left: 1%;
|
|
|
+ left: 2%;
|
|
|
cursor: pointer;
|
|
|
}
|
|
|
.scrollTop:hover {
|
|
@@ -292,7 +287,6 @@ div.accordion__content, ul li i:before, ul li i:after {
|
|
|
animation-duration: 1s;
|
|
|
animation-iteration-count: infinite;
|
|
|
}
|
|
|
-
|
|
|
@keyframes pulse {
|
|
|
0% {
|
|
|
transform: scale(0.9);
|
|
@@ -305,7 +299,6 @@ div.accordion__content, ul li i:before, ul li i:after {
|
|
|
}
|
|
|
}
|
|
|
/* button to basket */
|
|
|
-
|
|
|
.btn-basket {
|
|
|
margin: 0 auto;
|
|
|
z-index: 5;
|
|
@@ -322,17 +315,14 @@ div.accordion__content, ul li i:before, ul li i:after {
|
|
|
background: #1d1d1f;
|
|
|
transition: border 1s cubic-bezier(0.19,1,.22,1), color .6s cubic-bezier(0.19,1,.22,1), background 5s cubic-bezier(0.19,1,.22,1);
|
|
|
}
|
|
|
-
|
|
|
.btn-basket .btn-basket__link {
|
|
|
color: #f1f1f5;
|
|
|
text-decoration: none;
|
|
|
}
|
|
|
-
|
|
|
.btn-basket .btn-basket__mask {
|
|
|
background: #fff;
|
|
|
background: rgba(255,255,255,0.5);
|
|
|
}
|
|
|
-
|
|
|
.btn-basket .btn-basket__mask {
|
|
|
position: absolute;
|
|
|
display: block;
|
|
@@ -341,26 +331,21 @@ div.accordion__content, ul li i:before, ul li i:after {
|
|
|
transform: translate3d(-120%,-50px,0) rotate3d(0,0,1,45deg);
|
|
|
transition: all 1.1s cubic-bezier(0.19,1,.22,1);
|
|
|
}
|
|
|
-
|
|
|
.btn-basket:hover {
|
|
|
background: black;
|
|
|
border-color: #fff;
|
|
|
box-shadow: 0 0 5px rgba(255,245,245,0.8);
|
|
|
/* background-image: url('http://cuinine.com/img/codepen/savvy.jpg'); */
|
|
|
}
|
|
|
-
|
|
|
.btn-basket:hover .btn-basket__link {
|
|
|
color: #fff;
|
|
|
}
|
|
|
-
|
|
|
.btn-basket:hover .btn-basket__mask {
|
|
|
background: white;
|
|
|
-webkit-transform: translate3d(120%,-100px,0) rotate3d(0,0,1,90deg);
|
|
|
transform: translate3d(120%,-100px,0) rotate3d(0,0,1,90deg);
|
|
|
}
|
|
|
-
|
|
|
/* constructor-meals__btn-delete */
|
|
|
-
|
|
|
.constructor-meals__btn-delete {
|
|
|
position: absolute;
|
|
|
right: 9px;
|
|
@@ -382,8 +367,210 @@ div.accordion__content, ul li i:before, ul li i:after {
|
|
|
.constructor-meals__item:hover .constructor-meals__btn-delete {
|
|
|
opacity: 1;
|
|
|
}
|
|
|
-
|
|
|
.constructor-total-price {
|
|
|
margin-bottom: 50px;
|
|
|
text-align: center;
|
|
|
}
|
|
|
+
|
|
|
+/* Responsive */
|
|
|
+
|
|
|
+.select-menu-page .meal-item-ingredients {
|
|
|
+ opacity: 0;
|
|
|
+}
|
|
|
+.select-menu-page .meal-item:hover .meal-item-ingredients{
|
|
|
+ opacity: 1;
|
|
|
+}
|
|
|
+.one-week2 {
|
|
|
+ display: none;
|
|
|
+}
|
|
|
+.constructor-meals--snacks {
|
|
|
+ border-bottom: 1px inset #1d1d1f;
|
|
|
+}
|
|
|
+
|
|
|
+@media screen and (max-width: 1100px){
|
|
|
+
|
|
|
+ .select-menu-page .meal-items {
|
|
|
+ padding: 50px 20px;
|
|
|
+ }
|
|
|
+ /* .search-buttons-wrapper {
|
|
|
+ padding-right: 50px;
|
|
|
+ } */
|
|
|
+ .constructor {
|
|
|
+ width: 25vw;
|
|
|
+ }
|
|
|
+ .constructor-meals__title {
|
|
|
+ font-size: 15px;
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+ }
|
|
|
+ .constructor-meals__title h3 {
|
|
|
+ margin: 0;
|
|
|
+ }
|
|
|
+ .scrollTop {
|
|
|
+ bottom: 60px;
|
|
|
+ left: 2%;
|
|
|
+ }
|
|
|
+
|
|
|
+ @media screen and (max-width: 800px){
|
|
|
+
|
|
|
+ .select-menu-page .meal-item-title h2 {
|
|
|
+ padding: 3px 0;
|
|
|
+ font-size: 18px;
|
|
|
+ }
|
|
|
+ .select-menu-page .meal-items {
|
|
|
+ padding: 40px 20px;
|
|
|
+ }
|
|
|
+ .select-menu-page .meal-item-ingredients {
|
|
|
+ padding: 5px 0;
|
|
|
+ }
|
|
|
+ .select-menu-page .meal-item-ingredients li {
|
|
|
+ font-size: 13px;
|
|
|
+ margin: 2px 5px;
|
|
|
+ }
|
|
|
+ .select-menu-page .meal-item-bottom-container {
|
|
|
+ padding: 0;
|
|
|
+ }
|
|
|
+ .select-menu-page .meal-item-price {
|
|
|
+ display: flex;
|
|
|
+ align-content: center;
|
|
|
+ }
|
|
|
+ .select-menu-page .meal-item-price span {
|
|
|
+ padding-top: 1.5px;
|
|
|
+ font-size: 16px;
|
|
|
+ }
|
|
|
+ .select-menu-page .meal-item-btn {
|
|
|
+ padding: 3px;
|
|
|
+ }
|
|
|
+ .slick-prev {
|
|
|
+ left: -30px;
|
|
|
+ }
|
|
|
+ [dir='rtl'] .slick-prev {
|
|
|
+ right: -30px;
|
|
|
+ left: auto;
|
|
|
+ }
|
|
|
+ .slick-next {
|
|
|
+ right: -17px;
|
|
|
+ }
|
|
|
+ [dir='rtl'] .slick-next {
|
|
|
+ right: auto;
|
|
|
+ left: -17px;
|
|
|
+ }
|
|
|
+ .constructor {
|
|
|
+ margin-right: 5vw;
|
|
|
+ width: 25vw;
|
|
|
+ }
|
|
|
+ .slick-container {
|
|
|
+ width: 65vw;
|
|
|
+ }
|
|
|
+ .constructor-wrapper {
|
|
|
+ padding-left: 10px;
|
|
|
+ justify-content: left;
|
|
|
+ }
|
|
|
+ .constructor-day {
|
|
|
+ margin-right: 8px;
|
|
|
+ }
|
|
|
+ .slick-prev:before,
|
|
|
+ .slick-next:before {
|
|
|
+ font-size: 25px;
|
|
|
+ }
|
|
|
+ .constructor-meals__title {
|
|
|
+ font-size: 13.5px;
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+ }
|
|
|
+ .constructor-meals__title h3 {
|
|
|
+ margin: 0;
|
|
|
+ }
|
|
|
+ .btn-basket {
|
|
|
+ width: 25vw;
|
|
|
+ letter-spacing: .1rem;
|
|
|
+ }
|
|
|
+ .scrollTop {
|
|
|
+ bottom: 155px;
|
|
|
+ left: 1%;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ @media screen and (max-width: 400px){
|
|
|
+ .select-menu-page .meal-items {
|
|
|
+ flex-direction: column;
|
|
|
+ padding: 20px 20px;
|
|
|
+ }
|
|
|
+ .select-menu-page .meal-item {
|
|
|
+ width: 80%;
|
|
|
+ margin: 10px auto;
|
|
|
+ }
|
|
|
+ .select-menu-page .meal-item-title h2 {
|
|
|
+ padding: 3px 0;
|
|
|
+ font-size: 22px;
|
|
|
+ }
|
|
|
+ .select-menu-page .meal-item-ingredients {
|
|
|
+ padding: 0;
|
|
|
+ }
|
|
|
+ .select-menu-page .meal-item-ingredients li {
|
|
|
+ font-size: 15px;
|
|
|
+ margin: 4px 5px;
|
|
|
+ }
|
|
|
+ .scrollTop {
|
|
|
+ bottom: 210px;
|
|
|
+ left: 3%;
|
|
|
+ }
|
|
|
+ .select-menu-page .search-description {
|
|
|
+ padding: 15px 15px;
|
|
|
+ text-align: center;
|
|
|
+ font-size: 23px;
|
|
|
+ }
|
|
|
+ .select-menu-page .meal-item-price span {
|
|
|
+ padding-top: 3px;
|
|
|
+ font-size: 18px;
|
|
|
+ }
|
|
|
+ .one-week {
|
|
|
+ display: none;
|
|
|
+ }
|
|
|
+ .one-week2 {
|
|
|
+ display: block;
|
|
|
+ }
|
|
|
+ .constructor-day {
|
|
|
+ margin-right: 5px;
|
|
|
+ }
|
|
|
+ .btn-basket {
|
|
|
+ width: 45vw;
|
|
|
+ }
|
|
|
+ .slick-prev {
|
|
|
+ left: -11px;
|
|
|
+ bottom: 25px;
|
|
|
+ z-index: 1;
|
|
|
+ }
|
|
|
+ [dir='rtl'] .slick-prev {
|
|
|
+ right: -11px;
|
|
|
+ left: auto;
|
|
|
+ z-index: 1;
|
|
|
+ }
|
|
|
+ .slick-next {
|
|
|
+ right: -2px;
|
|
|
+ }
|
|
|
+ [dir='rtl'] .slick-next {
|
|
|
+ right: auto;
|
|
|
+ left: -2px;
|
|
|
+ z-index: 1;
|
|
|
+ }
|
|
|
+ .constructor {
|
|
|
+ margin-right: 5vw;
|
|
|
+ width: 45vw;
|
|
|
+ }
|
|
|
+ .slick-container {
|
|
|
+ width: 45vw;
|
|
|
+ }
|
|
|
+ .accordion__title {
|
|
|
+ font-size: 17px;
|
|
|
+ }
|
|
|
+ .slick-prev:before, .slick-next:before {
|
|
|
+ color: black;
|
|
|
+ }
|
|
|
+ .slick-prev, .slick-next {
|
|
|
+ top: 45%;
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|