FileMaster
Search
Toggle Dark Mode
Home
/
.
/
backup
/
assets
/
scss
/
components
Edit File: _banners.scss
.box-banner-info { position: absolute; top: 50%; transform: translateY(-50%); left: 0px; width: 100%; z-index: 3; right: 0px; max-width: 1170px; margin: auto; padding-right: var(--bs-gutter-x, 0.75rem); padding-left: var(--bs-gutter-x, 0.75rem); text-align: center; } .box-cover-image { position: relative; background-position: top center; background-repeat: no-repeat; background-size: cover; height: 820px; background-color: $background-bg-3; img { position: relative; z-index: 1; } } .banner-homepage2, .banner-homepage3 { .box-cover-image { background-position: right 150px bottom; background-size: auto 100%; height: 820px; } .box-banner-info { text-align: left; } .box-pagination-button { justify-content: flex-start; } } .banner-homepage3 { .box-banner-home3 { .box-cover-image { background-color: $background-bg-6; background-position: right 50px bottom; height: 720px; } } } .banner-homepage4 { background-color: $background-bg-7; position: relative; .box-cover-image { background-color: transparent; background-size: auto 95%; background-position: center bottom; } .box-banner-info { border: 10px solid $color-white; padding: 60px 70px; color: $color-white; max-width: 400px; } .box-pagination-button { top: 50%; transform: translateY(-50%); width: 25px; right: 80px; left: auto; bottom: auto; z-index: 12134; } .btn-prev-style-2 { background-image: url(../imgs/page/homepage4/up.svg); background-position: center; background-repeat: no-repeat; background-size: contain; height: 73px; width: 26px; margin-bottom: 20px; } .btn-next-style-2 { margin-top: 20px; background-image: url(../imgs/page/homepage4/down.svg); background-position: center; background-repeat: no-repeat; background-size: contain; height: 73px; width: 26px; } .box-page-swiper { position: absolute; left: 80px; top: 50%; right: auto; z-index: 1234; transform: translateY(-50%); width: 20px; } } .banner-homepage5 { background-color: $background-bg-4; .box-cover-image { background-color: transparent; padding-top: 55px; background-position: right top 50px; background-size: auto calc(100% - 50px); max-width: 1170px; margin: auto; } } .banner-homepage6 { .box-banner-homepage6 { padding: 0px 46px; max-width: 1438px; margin: auto; } } .banner-homepage7 { .box-cover-image { background-position: center bottom; height: 800px; background-color: $background-bg-9; img { display: block; height: 100%; width: auto; max-width: none; min-width: 100%; } } .box-banner-info { text-align: left; } } .banner-homepage9 { .box-cover-image { img { width: 100%; } } .box-banner-info { top: 18%; transform: none; } } .banner-homepage8 { .box-cover-image { background-color: $background-bg-6; min-height: 660px; height: auto; } } .banner-homepage10 { background-color: $background-bg-11; img { display: block; } .row { margin: 0px; } .col-lg-6 { padding: 0px; } } .banner-homepage11 { .box-cover-image { background-color: $background-bg-13; min-height: 600px; height: auto; } .box-bg-pet { background-image: url(../imgs/page/homepage11/bg-pets.svg); background-position: center; background-size: contain; background-repeat: no-repeat; } .box-pagination-button { justify-content: center; } } .banner-homepage12 .box-cover-image { background-position: top center; background-size: cover; height: 650px; } .banner-homepage13 .box-cover-image { background-position: right center; background-size: auto 90%; height: 650px; background-color: $background-bg-17; } .box-pagination-button { position: absolute; bottom: 40px; max-width: 1170px; left: 0px; right: 0px; margin: auto; display: flex; align-items: center; padding-right: var(--bs-gutter-x, 0.75rem); padding-left: var(--bs-gutter-x, 0.75rem); justify-content: center; } .swiper-button-next-banner, .swiper-button-prev-banner { position: relative; top: auto; left: auto; right: auto; bottom: auto; } .swiper-button-prev-banner { margin-right: 10px; } .swiper-pagination-banner { position: relative; display: inline-block; bottom: auto !important; text-align: left; width: auto; left: auto; padding: 0px 0px 0px 0px; color: #fff; font-size: 14px; line-height: 24px; font-weight: 500; } @keyframes hero-thumb-animation { 0% { transform: translateY(-20px); } 100% { transform: translateY(0px); } } @keyframes hero-thumb-animation-2 { 0% { transform: translateY(0px); } 100% { transform: translateY(-20px); } } @keyframes hero-thumb-sm-animation { 0% { -webkit-transform: translateY(-20px) translateX(50px); -moz-transform: translateY(-20px) translateX(50px); -ms-transform: translateY(-20px) translateX(50px); transform: translateY(-20px) translateX(50px); } 100% { -webkit-transform: translateY(-20px) translateX(0px); -moz-transform: translateY(-20px) translateX(0px); -ms-transform: translateY(-20px) translateX(0px); transform: translateY(-20px) translateX(0px); } } @keyframes hero-thumb-sm-2-animation { 0% { -webkit-transform: translateY(-50px); -moz-transform: translateY(-50px); -ms-transform: translateY(-50px); transform: translateY(-50px); } 100% { -webkit-transform: translateY(0px); -moz-transform: translateY(0px); -ms-transform: translateY(0px); transform: translateY(0px); } } .shape-1 { -webkit-animation: hero-thumb-animation 2s linear infinite alternate; -moz-animation: hero-thumb-animation 2s linear infinite alternate; -o-animation: hero-thumb-animation 2s linear infinite alternate; animation: hero-thumb-animation 2s linear infinite alternate; } .shape-1-2 { -webkit-animation: hero-thumb-animation-2 2s linear infinite alternate; -moz-animation: hero-thumb-animation-2 2s linear infinite alternate; -o-animation: hero-thumb-animation-2 2s linear infinite alternate; animation: hero-thumb-animation-2 2s linear infinite alternate; } .shape-2 { -webkit-animation: hero-thumb-sm-animation 4s linear infinite alternate; -moz-animation: hero-thumb-sm-animation 4s linear infinite alternate; -o-animation: hero-thumb-sm-animation 4s linear infinite alternate; animation: hero-thumb-sm-animation 4s linear infinite alternate; } .shape-3 { -webkit-animation: hero-thumb-sm-2-animation 4s linear infinite alternate; -moz-animation: hero-thumb-sm-2-animation 4s linear infinite alternate; -o-animation: hero-thumb-sm-2-animation 4s linear infinite alternate; animation: hero-thumb-sm-2-animation 4s linear infinite alternate; } // End New Agon
Save
Back