123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590 |
- @charset "UTF-8";
-
- .indexWrapper {
- width: 100%;
- background-color: #efdbc0;
- opacity: 0;
- visibility: hidden;
-
- img {
- image-rendering: auto;
- }
-
- .bg {
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- background: url(https://d1xzlli46wohoc.cloudfront.net/images/indexPage/bg.png) no-repeat 37% 1%/ 470px auto;
- transition: 0.3s;
- }
-
- .intro {
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- text-align: center;
- overflow: hidden;
-
- &__container {
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 789px;
- transform-origin: center top;
- }
-
- &__logo {
- opacity: 0;
- visibility: hidden;
- position: absolute;
- top: 35px;
- left: 50%;
- transform: translateX(-50%);
- width: 210px;
- height: auto;
- z-index: 3;
- img {
- width: 100%;
- height: auto;
- image-rendering: pixelated;
- image-rendering: -webkit-optimize-contrast;
- }
- }
-
- &__title {
- opacity: 0;
- visibility: hidden;
- position: absolute;
- top: 125px;
- left: 50%;
- transform: translateX(-50%);
- display: inline-block;
- width: 335px;
- height: 168px;
- z-index: 3;
-
- img {
- width: 100%;
- height: auto;
- image-rendering: pixelated;
- }
- }
-
- &__tip {
- opacity: 0;
- visibility: hidden;
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
- display: inline-block;
- width: 165px;
- height: 109px;
- z-index: 3;
-
- img {
- width: 100%;
- height: auto;
- image-rendering: pixelated;
- image-rendering: -webkit-optimize-contrast;
- }
- }
-
- &__protect {
- position: absolute;
- left: 50%;
- bottom: 15px;
- transform: translateX(-50%);
- width: 100%;
- text-align: center;
- font-size: 14px;
- letter-spacing: 1px;
- color: #fff;
- z-index: 3;
- }
-
- &__overlay {
- // display: none;
- position: fixed;
- top: 0;
- bottom: 0;
- left: 0;
- right: 0;
- background-color: rgba(#000, 0.9);
- z-index: 2;
- }
-
- &__text {
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: flex-start;
- position: absolute;
- top: 110px;
- left: 50%;
- transform: translateX(-50%);
- width: 307px;
- height: auto;
-
- img {
- opacity: 0;
- visibility: hidden;
- height: auto;
- image-rendering: pixelated;
- image-rendering: -webkit-optimize-contrast;
- transform: translateY(10px);
-
- &:nth-child(1) {
- width: 210px;
- margin-bottom: 5px;
- }
-
- &:nth-child(2) {
- width: 35px;
- }
-
- &:nth-child(3) {
- width: 315px;
- margin-bottom: 5px;
- }
-
- &:nth-child(4) {
- width: 315px;
- margin-bottom: 5px;
- }
-
- &:nth-child(5) {
- width: 315px;
- }
- }
- }
-
- &__kv {
- // opacity: 0;
- // visibility: hidden;
- position: absolute;
- top: 320px;
- width: 100%;
- height: auto;
- transform-origin: center center;
-
- img {
- width: 100%;
- height: auto;
- }
- }
-
- &__kol {
- position: absolute;
- top: 0;
- left: 52%;
- transform: translateX(-50%);
- width: 100%;
- height: 340px;
- transform-origin: center bottom;
- pointer-events: none;
- z-index: 1;
-
- img {
- position: absolute;
- bottom: 0;
- left: 50%;
- transform: translateX(-50%);
- width: auto;
- height: 100%;
- image-rendering: pixelated;
- image-rendering: -webkit-optimize-contrast;
- }
- }
-
- &__table {
- position: absolute;
- top: 331px;
- width: 100%;
- height: 180px;
-
- img {
- position: absolute;
- width: auto;
- height: 100%;
- top: 0;
- left: 79%;
- transform: translateX(-50%);
- }
- }
-
- &__skip {
- opacity: 0;
- visibility: hidden;
- position: absolute;
- left: 50%;
- top: 354px;
- width: 190px;
- height: auto;
- transform: translateX(-50%);
-
- img {
- width: 100%;
- height: auto;
- image-rendering: pixelated;
- image-rendering: -webkit-optimize-contrast;
- }
- }
-
- &__bottom {
- position: absolute;
- width: 200%;
- height: 100%;
- top: 821px;
- left: 50%;
- transform: translateX(-50%);
- background-color: #efdbc0;
- }
-
- &__volume {
- position: absolute;
- bottom: 10px;
- right: 10px;
- width: 21px;
- height: 26px;
- background: url(https://d1xzlli46wohoc.cloudfront.net/images/indexPage/intro-volume-mute.png) no-repeat center center/contain;
- z-index: 2;
-
- &.active {
- background: url(https://d1xzlli46wohoc.cloudfront.net/images/indexPage/intro-volume-open.png) no-repeat center center/contain;
- }
- }
- }
-
- .index {
- display: none;
- opacity: 0;
- visibility: hidden;
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- overflow: hidden;
-
- &__container {
- opacity: 0;
- visibility: hidden;
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- overflow: hidden;
- transform-origin: center top;
- }
-
- &__outer {
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 800px;
- }
-
- &__title {
- opacity: 0;
- visibility: hidden;
- position: absolute;
- top: 70px;
- left: 51.5%;
- transform: translateX(-50%);
- transform-origin: center center;
- display: inline-block;
- width: auto;
- height: 19vh;
- z-index: 3;
-
- img {
- width: auto;
- height: 100%;
- image-rendering: auto;
- }
- }
-
- &__kv {
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- overflow: auto
- }
-
- &__slides {
- position: absolute;
- top: 0;
- left: 0;
- height: 640px;
- overflow: hidden;
- width: auto;
- display: flex;
- align-items: flex-start;
- justify-content: flex-start;
- padding-top: 240px;
- }
-
- &__bg {
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- overflow: hidden;
-
- &__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: 34% top;
- background-size: 120%;
- image-rendering: -webkit-optimize-contrast;
- }
- }
-
- &__slide {
- position: relative;
- font-size: 0;
- height: 300px;
- z-index: 2;
-
- // border: 1px solid blue;
- a {
- position: relative;
- display: block;
- width: 100%;
- height: 100%;
- }
-
- img {
- height: 100%;
- width: auto;
- image-rendering: pixelated;
- image-rendering: -webkit-optimize-contrast;
- font-size: 0;
- line-height: 0;
- }
-
- &[data-kol='Ralf'] {
- .index__light {
- left: 59%;
- }
- }
-
- &[data-kol='Drangadrang'] {
- .index__light {
- left: 36%;
- }
- }
-
- &-commute_Chang,
- &-commute_Li,
- &-commute_He,
- &-Hao,
- &-Yang {
- position: absolute;
- top: 0;
- height: 100%;
- // border: 1px solid green;
- }
-
- &-Hao {
- left: 35%;
- width: 23.5%;
- .index__light {
- left: 67%;
- }
- }
-
- &-Yang {
- left: 59%;
- width: 33.5%;
- }
-
- &-commute_Chang {
- left: 7%;
- width: 24%;
- .index__light {
- left: 64%;
- }
- }
-
- &-commute_Li {
- left: 27.5%;
- width: 17.5%;
- }
-
- &-commute_He {
- left: 45%;
- width: 26%;
- }
- }
-
- &__light {
- 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;
- opacity: 0;
- visibility: hidden;
- }
-
- &__table {
- position: absolute;
- top: 471px;
- left: 0;
- width: 100%;
- height: 200px;
- background: url(https://d1xzlli46wohoc.cloudfront.net/images/indexPage/index-table.png) repeat-x left top;
- background-size: auto 100%;
- z-index: 1;
- }
-
- &__dishes {
- position: sticky;
- top: 540px;
- left: 0;
- width: 100%;
- height: 100px;
- z-index: 2;
- }
-
- &__dish {
- opacity: 0;
- visibility: hidden;
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- text-align: center;
-
- img {
- width: auto;
- height: 100%;
- display: inline-block;
- image-rendering: pixelated;
- image-rendering: -webkit-optimize-contrast;
- }
-
- &[data-dish='ordinary'] {
- top: 10px;
- height: 45px;
- }
- }
-
- &__bottom {
- position: absolute;
- width: 100%;
- height: 100%;
- top: 630px;
- left: 0;
- background-color: #EDDABF;
- }
- }
-
- .modal-promo {
- button.close {
- position: absolute;
- top: 5px;
- right: 5px;
- width: 30px;
- height: 30px;
- border-radius: 50%;
- background: $blue;
- opacity: 1;
- z-index: 1;
-
- span {
- color: #fff;
- text-shadow: none;
- font-weight: 300;
- font-size: 23px;
- line-height: 1;
- position: relative;
- top: 2px;
- vertical-align: text-top;
- }
- }
-
- .modal{
-
- &-dialog {
- margin: 0 1.5rem;
- }
-
- &-content {
- border-radius: 10px;
- }
-
- &-body {
- padding: 0;
-
- img {
- width: 100%;
- height: auto;
- image-rendering: pixelated;
- image-rendering: -webkit-optimize-contrast;
- }
- }
-
- }
-
- }
- }
- .modal-open .modal-promo {
- overflow: hidden;
- }
-
-
- @media (min-height: 0px) {
- .indexWrapper {
- .index {
- &__title {
- top: calc(55px + 3vh);
- height: 17vh;
- }
-
- &__bottom {
- top: 90.5vh;
- z-index: 1;
- }
-
- &__table {
- top: 59.7vh;
- height: 31.3vh;
- }
-
- &__dishes {
- top: 70.5vh;
- height: 14vh;
-
- }
-
- &__slides {
- height: 100%;
- padding-top: 31.6vh;
- }
-
- &__slide {
- height: 37vh
- }
- }
- }
- }
|