123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404 |
- .search {
- opacity: 0;
- visibility: hidden;
- position: relative;
- background: url(../images/searchPage/search-bg.jpg) repeat center top/50% auto;
- padding-bottom: 104px;
- img {
- width: 100%;
- height: auto;
- image-rendering: pixelated;
- image-rendering: -webkit-optimize-contrast;
- }
- &__kv {
- position: absolute;
- top: 0;
- width: 100%;
- height: 667px;
- height: calc(var(--vh, 1vh) * 100);
- overflow-x: auto;
- overflow-y: hidden;
- &__container {
- height: 667px;
- position: relative;
- overflow: hidden;
- }
- &__bg {
- position: sticky;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- overflow: hidden;
- z-index: 0;
- &__img {
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- background: url(https://d1xzlli46wohoc.cloudfront.net/images/indexPage/bg.jpg) no-repeat;
- background-position: 49.1% -60px;
- background-size: 827%;
- }
- }
- &__bottom{
- background: url(../images/searchPage/search-bg.jpg) repeat-x center top/contain;
- position: absolute;
- top: 480px;
- left: 0;
- width: 100%;
- height: 100%;
- }
- &__title {
- position: absolute;
- left: 51%;
- transform: translateX(-50%);
- top: 75px;
- display: inline-block;
- width: auto;
- height: 113px;
- z-index: 3;
- img {
- width: auto;
- height: 100%;
- }
- }
- &__table {
- position: absolute;
- top: 438px;
- left: 0;
- width: 100%;
- height: 187px;
- background: url(../images/searchPage/kv-table.png) repeat-x left top;
- background-size: auto 100%;
- z-index: 1;
- }
- &__slides {
- position: absolute;
- top: 0;
- left: 0;
- width: auto;
- height: 100%;
- overflow: hidden;
- display: flex;
- align-items: flex-start;
- justify-content: flex-start;
- padding: 202px 75px 0;
- transform-origin: 0 50%;
- }
- &__slide {
- position: relative;
- font-size: 0;
- height: 260px;
- width: 250px;
- z-index: 2;
- }
- &__ordinary {
- position: relative;
- display: flex;
- justify-content: center;
- align-items: center;
- width: 100%;
- height: 100%;
- img {
- height: 100%;
- width: auto;
- }
- }
- &__light {
- opacity: 0;
- visibility: hidden;
- position: absolute;
- bottom: -9vh;
- left: 50%;
- transform: translateX(-50%);
- width: 65vh;
- height: 64vh;
- background: url(https://d1xzlli46wohoc.cloudfront.net/images/indexPage/index-light.png) no-repeat center center/100% auto;
- }
- &__basket {
- display: block;
- position: absolute;
- bottom: -36px;
- left: 50%;
- transform: translateX(-50%);
- height: 110px;
- img {
- width: auto;
- height: 100%;
- }
- }
- &__dishes {
- position: sticky;
- top: 506px;
- left: 0;
- width: 100%;
- height: 82px;
- z-index: 2;
- // background: url(../images/searchPage/kv-dish.png) no-repeat 50% center/contain;
- }
- &__dish {
- display: block;
- opacity: 0;
- visibility: hidden;
- position: absolute;
- top: 0;
- left: 50%;
- transform: translateX(-50%);
- width: 100%;
- height: 100%;
- color: $blue;
- display: flex;
- justify-content: center;
- align-items: center;
- flex-wrap: wrap;
- @include em(20);
- font-weight: 900;
- text-align: center;
- padding: 15px 35px;
- line-height: 1.3;
- span {
- display: block;
- width: 100%;
- text-align: center;
- font-size: 0.8em;
- font-weight: 700;
- }
- &:hover {
- color: $blue;
- text-decoration: none;
- }
- }
- }
- &__form {
- padding: 20px 0;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: flex-start;
- &__title {
- width: 288px;
- margin-bottom: 30px;
- }
- &__box {
- width: 100%;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: flex-start;
- }
- &__name {
- width: 110px;
- margin-bottom: 15px;
- }
- &__list {
- width: 100%;
- display: flex;
- flex-wrap: nowrap;
- padding-left: 30px;
- padding-bottom: 15px;
- margin-bottom: 10px;
- overflow-x: auto;
- &::after {
- content: "";
- display: block;
- flex: 0 0 20px;
- width: 20px;
- height: 30px;
- }
- }
- &__item {
- margin-right: 10px;
- padding-bottom: 15px;
- display: inline-block;
- padding: 5px 18px 6px;
- border-radius: 30px;
- border: 1px solid $blue;
- color: $blue;
- margin-bottom: 0;
- line-height: 1;
- white-space: nowrap;
- &:last-child {
- margin-right: 0;
- }
- &.active {
- background-color: rgba(#fff,0.8);
- }
- }
- &__btn {
- text-align: center;
- width: 100%;
- padding: 0 24px;
- }
- &__cta {
- display: block;
- text-align: center;
- width: 100%;
- padding: 12px;
- margin-bottom: 25px;
- background-color: $blue;
- border-radius: 100px;
- color: #FFEFBE;
- @include em(18);
- &:not([href]) {
- color: #FFEFBE;
- &:hover {
- color: #FFEFBE;
- }
- }
- &:hover {
- color: #FFEFBE;
- }
- }
- &__clear {
- color: #6F6F6F;
- text-decoration: underline;
- &:not([href]) {
- color: #6F6F6F;
- text-decoration: underline;
- }
- }
- }
- &__result {
- padding: 0 20px;
- &__box {
- background: url(../images/searchPage/result-bg.png) no-repeat center top/100% auto;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: flex-start;
- width: 335px;
- height: 469px;
- margin: 0 auto;
- padding: 35px 50px 27px;
- }
- &__title {
- width: 165px;
- margin-bottom: 20px;
- }
- &__list {
- width: 100%;
- padding-left: 0;
- list-style: none;
- text-align: center;
- }
- &__item {
- width: 100%;
- padding-left: 0;
- list-style: none;
- a {
- width: 100%;
- text-align: center;
- @include em(18);
- display: block;
- padding: 15px 0;
- color: $blue;
- font-weight: 700;
- border-bottom: 0.5px dashed rgba($blue,0.6);
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- &:hover {
- text-decoration: none;
- }
- }
- &:last-child {
- a {
- border-bottom: none;
- }
- }
- }
- &__pagination {
- display: flex;
- flex-wrap: nowrap;
- justify-content: center;
- align-items: center;
- padding-left: 0;
- list-style: none;
- margin-bottom: 37px;
- }
- &__pageitem {
- display: flex;
- justify-content: center;
- align-items: center;
- padding-left: 0;
- list-style: none;
- width: 32px;
- height: 32px;
- margin: 4px;
- background-color: #fff;
- border-radius: 4px;
- border: 1px #DFE3E8 solid;
- color: #212B36;
- font-weight: 700;
- img {
- width: 8px;
- height: 10px;
- }
- &.active {
- border: 1px $blue solid;
- }
- &.disabled {
- pointer-events: none;
- background-color: rgba($blue,0.5);
- }
- }
- }
- .backCelebrity {
- display: block;
- text-align: center;
- img {
- display: inline-block;
- width: 200px;
- height: auto;
- }
- }
- .goTop {
- position: absolute;
- right: 25px;
- bottom: 25px;
- background-color: transparent;
- border: none;
- box-shadow: none;
- width: 50px;
- padding: 0;
- &:focus,&focus-visible {
- outline: none;
- }
- }
- }
-
- @media screen and (max-height:570px) {
- .search {
- &__kv {
- height: 550px;
- &__container {
- height: 550px;
- }
- &__title {
- height: 95px;
- }
- &__dishes {
- top: 400px;
- }
- &__dish {
- @include em(17);
- }
- &__table {
- top: 357px;
- height: 127px;
- }
- &__slides {
- padding: 170px 75px 0;
- }
- &__slide {
- height: 210px;
- width: 220px;
- }
- &__basket {
- height: 85px;
- }
- }
- }
- }
|