%PDF- %PDF-
Direktori : /var/www/tif-dev/wp-content/themes/inkfactory/assets/scss/ |
Current File : //var/www/tif-dev/wp-content/themes/inkfactory/assets/scss/_сomponents.scss |
//Book Now .book-now-link { position: fixed; z-index: 800; top: 200px; right: 0; background: $yellow; padding: 15px 19px; padding-right: 28px; border-radius: 30px 0px 0px 30px; display: flex; align-items: flex-start; svg { position: absolute; top: 21px; right: 16px; } } //Notification .notification { padding: 10px 20px; text-align: center; background-color: #000; &__link { color: #ffffff; font-size: 16px; font-weight: 400; font-style: normal; font-family: "AG Book Pro", sans-serif; &:hover{ color: $violet; } } } //Buttons .content-wrapper .btn, .btn { display: flex; align-items: center; justify-content: space-between; letter-spacing: 0.02em; border: none; border-radius: 30px; transition: all 0.3s ease; text-decoration: inherit; &_black { background: $black; color: $white; &:hover { opacity: 0.8; } } &_yellow { background: $yellow; color: $black; &:hover { opacity: 0.8; } } &_violet { background: $violet; color: $white; &:hover { opacity: 0.8; } } &_big { padding: 15px 20px; max-width: 420px; font-size: calc-rem(25); line-height: calc-lh(25, 24); } &_small { padding: 0 12px; max-width: 204px; font-size: calc-rem(16); line-height: calc-lh(16, 24); } &-transparent { padding: 15px 0; color: $black; max-width: 420px; &:hover { color: $black; opacity: 0.8; } &.btn_big { max-width: 420px; font-size: calc-rem(25); line-height: calc-lh(25, 24); } &.btn_small { padding: 0; max-width: 100px; font-size: calc-rem(16); line-height: calc-lh(16, 24); } } } //Search .search-block { padding: 15px 0; &__wrapp { display: flex; align-items: center; } &__icon { cursor: pointer; } &__form { margin-left: 25px; width: 100%; input[type="text"] { border: none; font-size: calc-rem(16); line-height: calc-lh(16, 24); border-bottom: 2px solid transparent; background-color: transparent; transition: all 0.3s ease; width: 200px; &:focus, &:active { outline: none; width: 100%; border-bottom: 2px solid $black; &::placeholder { color: $black; } } } } } //Subscrible .subscrible { padding-top: 90px; padding-bottom: 90px; &__link { .btn { margin: auto; } } @media (max-width: 767px) { padding-top: 40px; padding-bottom: 40px; } } //Cards .cards { flex-wrap: wrap; margin-right: -6px; margin-left: -6px; overflow: hidden; display: flex; &__item { width: 100%; max-width: 50%; padding-left: 6px; padding-right: 6px; margin-bottom: 12px; } &__body { overflow: hidden; border-radius: 10px; position: relative; } &__content { width: 100%; position: absolute; left: 0; bottom: 0; padding: 96px 54px; display: flex; justify-content: space-between; } &__title { max-width: 260px; letter-spacing: 0.02em; } &__link { .btn { font-weight: 700; min-width: 204px; } } //Cards Gift &-gift { .cards__title { text-transform: uppercase; font-weight: 700; font-size: calc-rem(25); line-height: calc-lh(25, 30); } .btn { font-weight: 700; } } //Cards Merch &-merch { .cards__title { color: $white; max-width: 204px; margin-bottom: 12px; font-size: calc-rem(16); line-height: calc-lh(16, 24); } .cards__content { flex-direction: column; align-items: flex-end; } .btn { font-weight: 700; } } //Cards Media &-media { .cards__content { padding: 58px 50px; &_right { justify-content: flex-end; } } .cards__body { border-radius: 30px; } } @media (max-width: 1200px) { &__content, .cards-media .cards__content { padding: 40px 30px; } &-merch .cards__content, &-gift .cards__content { flex-direction: column; align-items: self-start; } } @media (max-width: 990px) { &__content, .cards-media .cards__content { padding: 20px; } &__link .btn { padding: 9px 20px; } } @media (max-width: 767px) { margin-right: -15px; margin-left: -15px; &__item { padding: 0; margin-bottom: 0; } &__body, &-media .cards__body { border-radius: 0; } &-media &__content { padding: 40px 40px; } &__item { max-width: 100%; } } } //Tabs .tabs { display: flex; justify-content: space-between; margin-bottom: 54px; &-content { &__list { } &__item { display: none; &:first-child { display: block; } } } &__item { background: #e5e5e5; width: 100%; text-align: center; padding: 15px 0; border-radius: 30px; margin-right: 20px; cursor: pointer; transition: all 0.3s ease-in-out; &:last-child { margin-right: 0; } @media (max-width: 767px) { padding: 15px 30px; } span { white-space: nowrap; font-size: calc-rem(25); line-height: calc-lh(25, 24); font-family: $base-font; font-weight: 700; } &.active, &:hover { background: $yellow; } } @media (max-width: 767px) { margin-right: -15px; margin-left: -15px; padding-right: 15px; padding-left: 15px; overflow-x: scroll; } } //Accordion .accordion { &__item { background: $black; color: $white; margin-bottom: 12px; &:last-child { margin-bottom: 0; } &.active { background: $yellow; color: $black; .accordion__arrow { transform: rotate(-90deg); } } } &__tab { padding: 30px 55px; cursor: pointer; position: relative; } &__title { font-size: calc-rem(25); line-height: calc-lh(25, 24); font-weight: 700; margin-bottom: 0!important; text-transform: inherit!important; } &__arrow { position: absolute; left: 20px; top: 26px; transform: rotate(90deg); font-size: calc-rem(28); line-height: calc-lh(28, 34); } &__content { padding: 20px 55px; display: none; } } //Gallery .gallery { display: grid; grid-template-columns: 1fr 1fr 1fr; grid-gap: 12px; margin-bottom: 60px; @media (max-width: 1200px) { grid-template-columns: 1fr 1fr; } @media (max-width: 550px) { grid-template-columns: 1fr; justify-items: center; } &__item { max-width: 420px; border-radius: 30px; overflow: hidden; position: relative; display: flex; align-items: center; position: relative; &::before{ background-color: rgba(0, 0, 0, 0.5); content: ''; display: block; height: 100%; position: absolute; width: 100%; z-index: 5; } &:hover img{ transform: scale(1.05); } img { transition: 0.3s; width: 100%; } &-content { position: absolute; padding: 50px; bottom: 0; left: 0; z-index: 10; @media (max-width: 550px) { padding: 30px; } .h3 { font-weight: 700; color: $white; text-transform: uppercase; margin-bottom: 6px; @media (max-width: 990px) { font-size: 24px; } } .btn { max-width: 150px; span:last-child { margin-left: 50px; margin-bottom: 2px; } } } } } .info-block { background: $white; box-shadow: 0px 6px 42px $yellow; text-align: center; padding: 24px; border-radius: 30px; .btn { display: inline-block; span:last-child { margin-left: 20px; } } } //Forms elements .form { &-wrapper { max-width: 640px; margin: auto; } &-row { display: flex; flex-wrap: wrap; align-items: flex-end; margin-right: -8px; margin-left: -8px; } &-col-50p { flex: 0 0 auto; width: 50%; padding-right: 8px; padding-left: 8px; } &-group { margin-bottom: 24px; label { font-weight: 700; text-transform: uppercase; font-size: calc-rem(14); } button[type="submit"] { text-align: center; justify-content: center; text-transform: uppercase; width: 100%; max-width: 100%; cursor: pointer; span { margin: 0 5px; } } } @media (max-width: 767px) { &-col-50p { width: 100%; } } } input, select, textarea { display: block; width: 100%; padding: 0.5rem 1rem; font-size: 1.25rem; font-weight: 400; line-height: 1.6; color: $black; background: $white; border: 1px solid $black; box-sizing: border-box; } input, select { height: 50px; } .custom-acceptance { cursor: pointer; .wpcf7-list-item { margin: 0; } label { cursor: pointer; display: flex; align-items: center; } input[type="checkbox"] { accent-color: $black; border-radius: 3px; width: 30px; height: 30px; display: inline-block; margin-right: 10px; } .wpcf7-list-item-label { font-size: calc-rem(13); color: $gray; font-weight: 400; text-transform: capitalize; } } .star { &__title { margin-bottom: 15px; } &__list { display: flex; justify-content: center; } &__item { margin: 10px; } @media (max-width: 767px) { &__item { svg { width: 100%; } } } } // Breadcrumbs .breadcrumbs { z-index: 100; display: block; margin-top: 30px; margin-bottom: 30px; &__wrapper { display: flex; flex-wrap: wrap; max-width: 100%; overflow-x: auto; overflow-y: hidden; color: $black; a { font-size: calc-rem(13); } } .current-item, .breadcrumb_last { font-size: calc-rem(13); color: $violet; } &__item { display: flex; align-items: center; padding-right: 10px; font-size: calc-rem(13); &:not(:last-child):after { display: block; content: "→"; color: $black; transform: translateX(5px); } } &__link { color: $black; white-space: nowrap; transition: color 0.3s; &:hover { opacity: 0.8; transition: color 0.3s; } a { color: $black; } } &__link--disabled { color: $black; opacity: 0.8; text-decoration: none !important; &:hover { opacity: 0.8; color: $black; } } } //Pagination .pagination { &__wrapp { justify-content: center; display: flex; } span.pagination__arrow { background: transparent; opacity: 0.7; pointer-events: none; } &__arrow { &:first-child { margin-left: 0px; margin-right: 10px; } &:last-child { margin-left: 10px; margin-right: 0; &::after { left: 48%; transform: translate(-50%, -50%) rotate(225deg); } } &::after { content: ""; display: block; position: absolute; left: 52%; top: 50%; transform: translate(-50%, -50%) rotate(45deg); width: 7px; height: 7px; border-bottom: 2px solid #b1b9ca; border-left: 2px solid #b1b9ca; } &:hover::after { border-bottom: 2px solid #fff; border-left: 2px solid #fff; } } &__item { position: relative; width: 40px; height: 40px; background-color: $white; color: $black; font-weight: 700; font-size: 12px; border-radius: 50%; display: inline-block; text-align: center; line-height: 40px; margin-right: 4px; border: 1px solid #f4f7fa; transition: all 0.3s ease; &.active { background-color: $violet; color: #fff; } &:hover { transition: all 0.3s ease; background-color: $violet; color: #fff; border: 1px solid transparent; } } &__wrap { display: flex; justify-content: flex-start; padding-top: 50px; } } //Custom select .select { position: relative; display: inline-block; color: $gray; font-size: 25px; line-height: 32px; font-weight: 300; text-transform: uppercase; &__header { display: inline-block; position: relative; color: $gray; font-size: 25px; line-height: 32px; padding: 12px 20px; cursor: pointer; &::after { content: ">"; display: inline-block; position: relative; transform: rotate(90deg); transition: all 0.3s ease; } } &__current { position: relative; display: inline-block; cursor: pointer; font-weight: 300; text-transform: uppercase; text-decoration: underline; font-style: normal; letter-spacing: normal; } &__body { position: absolute; display: inline-block; width: 100%; top: 100%; left: 0; box-shadow: 0px 10px 20px #ebff00; border-radius: 0px 0px 30px 30px; background: #fff; opacity: 0; visibility: hidden; overflow: hidden; transition: all 0.3s ease; z-index: -1; } &__item { cursor: pointer; transition: all 0.3s ease; color: $gray; font-style: normal; letter-spacing: normal; padding: 12px 20px; &:last-child { margin-bottom: 0; } &:hover { background-color: #e5e5e5; opacity: 1; transition: all 0.3s ease; } } &.is-active { .select__header { background: #ffffff; box-shadow: 0px -10px 20px #ebff00; border-radius: 30px 30px 0px 0px; &::after { color: $violet; transform: rotate(270deg); transition: all 0.3s ease; } } .select__body { opacity: 1; visibility: visible; transition: all 0.3s ease; z-index: 100; } } } .tippy-box { color: #fff; background-color: $violet; border-radius: 30px; font-size: 13px; } //Swiper .swiper-container-horizontal > .swiper-scrollbar { position: absolute; left: 0; z-index: 50; height: 12px; width: 100%; border: 1px solid #fff; border-radius: 6px; } .swiper-scrollbar-drag { height: 14px; width: 100%; position: relative; background: $violet; border-radius: 10px; left: 0; bottom: 2px; }