464 lines
11 KiB
CSS
464 lines
11 KiB
CSS
/* Search keywords row + zibll mobile search top offsets */
|
|
|
|
.header-components-search__keywords,
|
|
.header-slider-search .search-keywords {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
margin-top: 10px;
|
|
justify-content: center;
|
|
text-align: center;
|
|
}
|
|
|
|
/* zibll: .header-slider-search .search_keywords, .header-slider-search .search-type-but-average .but */
|
|
.header-components-search__kw-tag,
|
|
.header-slider-search .search_keywords,
|
|
.header-slider-search .search-keywords .but,
|
|
.header-slider-search .search-type-but-average .but {
|
|
--this-bg: rgba(255, 255, 255, 0.8);
|
|
--this-color: #888;
|
|
display: inline-block;
|
|
padding: 3px 5px;
|
|
font-size: 0.85em;
|
|
line-height: 1.4;
|
|
border-radius: 100px;
|
|
background: var(--this-bg);
|
|
color: var(--this-color);
|
|
text-decoration: none;
|
|
transition: background 0.2s;
|
|
}
|
|
|
|
.header-slider-search .search-type-but-average .but.active {
|
|
--this-bg: var(--focus-color, var(--color-primary));
|
|
--this-color: #fff;
|
|
}
|
|
|
|
.filter-blur .header-slider-search .search_keywords,
|
|
.filter-blur .header-slider-search .search-keywords .but,
|
|
.filter-blur .header-slider-search .search-type-but-average .but,
|
|
.filter-blur .header-components-search__kw-tag {
|
|
-webkit-backdrop-filter: saturate(5) blur(20px);
|
|
backdrop-filter: saturate(5) blur(20px);
|
|
}
|
|
|
|
.header-components-search__kw-tag:hover,
|
|
.header-slider-search .search_keywords:hover,
|
|
.header-slider-search .search-keywords .but:hover {
|
|
background: rgba(255, 255, 255, 0.95);
|
|
}
|
|
|
|
/* Hide default keywords title row inside hero overlay (zibll header search has no title line). */
|
|
.header-slider-search .search-keywords > p {
|
|
display: none;
|
|
}
|
|
|
|
.header-slider-search .search-keywords {
|
|
text-align: center;
|
|
}
|
|
|
|
/* zibll mobile (max-width: 767px) search / card offsets */
|
|
@media (max-width: 767px) {
|
|
|
|
.header-slider-container .new-swiper.slide-header .swiper-wrapper,
|
|
.new-swiper.slide-index.slide-header .swiper-wrapper {
|
|
height: var(--m-height);
|
|
}
|
|
|
|
.header-components:not(.new-swiper) {
|
|
height: var(--m-height);
|
|
}
|
|
|
|
.header-components--gradient {
|
|
height: var(--m-height);
|
|
}
|
|
|
|
.header-slider-search,
|
|
.header-components-search,
|
|
.header-slider-search.abs-center,
|
|
.header-components-search.abs-center {
|
|
font-size: 12px;
|
|
top: calc(50% - 40px);
|
|
width: 100%;
|
|
max-width: 840px;
|
|
padding: 0 20px;
|
|
}
|
|
|
|
.card-1 .header-slider-search,
|
|
.card-1 .header-components-search,
|
|
.card-2 .header-slider-search,
|
|
.card-2 .header-components-search {
|
|
top: calc(50% - 1px);
|
|
}
|
|
|
|
.card-5 .header-slider-search,
|
|
.card-5 .header-components-search,
|
|
.card-6 .header-slider-search,
|
|
.card-6 .header-components-search {
|
|
top: calc(50% - 83px);
|
|
}
|
|
|
|
.card-7 .header-slider-search,
|
|
.card-7 .header-components-search,
|
|
.card-8 .header-slider-search,
|
|
.card-8 .header-components-search {
|
|
top: calc(50% - 120px);
|
|
}
|
|
|
|
.header-slider-search-more.before {
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
.header-slider-search .line-form,
|
|
.header-components-search .line-form {
|
|
font-size: 14px;
|
|
padding: 4px 12px;
|
|
}
|
|
|
|
.header-slider-search .scale-placeholder.is-focus,
|
|
.header-slider-search .line-form-input:focus ~ .scale-placeholder,
|
|
.header-components-search .scale-placeholder.is-focus,
|
|
.header-components-search .line-form-input:focus ~ .scale-placeholder {
|
|
transform: translateY(-32px);
|
|
font-size: 12px;
|
|
color: #fff;
|
|
}
|
|
|
|
.header-slider-card,
|
|
.header-components-card {
|
|
margin-top: -35px;
|
|
}
|
|
|
|
|
|
.header-slider-card .icon-cover-card.zib-widget {
|
|
padding: 10px;
|
|
}
|
|
.header-slider-card .icon-cover-card.padding-10 {
|
|
padding: 2px;
|
|
}
|
|
|
|
|
|
/* zibll ~640px: slide-header text padding 52px */
|
|
.header-components.slide-header .slide-text,
|
|
.header-components.slide-header .header-components__content.slide-text {
|
|
padding-top: 52px;
|
|
}
|
|
|
|
.s-desc,
|
|
.slide-text {
|
|
padding: 0.7em;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.header-components.slide-header .slide-text,
|
|
.header-components.slide-header .header-components__content.slide-text {
|
|
padding-top: 52px;
|
|
}
|
|
}
|
|
|
|
/* Nav transparent helpers (when hero is present) */
|
|
.site-nav.nav-transparent {
|
|
background-color: transparent;
|
|
border-bottom-color: transparent;
|
|
color: #fff;
|
|
}
|
|
|
|
.site-nav.nav-transparent .site-brand,
|
|
.site-nav.nav-transparent .site-brand__name {
|
|
color: #fff;
|
|
}
|
|
|
|
.site-nav.nav-transparent .icon-btn {
|
|
color: rgba(255, 255, 255, 0.9);
|
|
}
|
|
|
|
.site-nav.nav-transparent .icon-btn:hover {
|
|
background: rgba(255, 255, 255, 0.15);
|
|
color: #fff;
|
|
}
|
|
|
|
.site-nav.nav-transparent ul.nav-desktop a {
|
|
color: rgba(255, 255, 255, 0.85);
|
|
}
|
|
|
|
.site-nav.nav-transparent ul.nav-desktop a:hover {
|
|
color: #fff;
|
|
background: rgba(255, 255, 255, 0.15);
|
|
}
|
|
|
|
.site-nav.nav-transparent ul.nav-desktop .current-menu-item > a,
|
|
.site-nav.nav-transparent ul.nav-desktop .current_page_item > a {
|
|
background: rgba(255, 255, 255, 0.2);
|
|
color: #fff;
|
|
}
|
|
|
|
.site-nav.nav-transparent .nav-auth .btn-outline {
|
|
border-color: rgba(255, 255, 255, 0.6);
|
|
color: #fff;
|
|
}
|
|
|
|
.site-nav.nav-transparent .nav-auth .btn-outline:hover {
|
|
background: rgba(255, 255, 255, 0.15);
|
|
border-color: #fff;
|
|
}
|
|
|
|
.site-nav.nav-transparent .nav-user__toggle {
|
|
border-color: rgba(255, 255, 255, 0.5);
|
|
}
|
|
|
|
.site-nav.nav-transparent.is-scrolled {
|
|
background-color: var(--surface-page);
|
|
border-bottom-color: var(--color-line);
|
|
color: var(--color-ink);
|
|
}
|
|
|
|
.site-nav.nav-transparent.is-scrolled .site-brand,
|
|
.site-nav.nav-transparent.is-scrolled .site-brand__name {
|
|
color: var(--color-ink);
|
|
}
|
|
|
|
.site-nav.nav-transparent.is-scrolled .icon-btn {
|
|
color: var(--color-ink-3);
|
|
}
|
|
|
|
.site-nav.nav-transparent.is-scrolled ul.nav-desktop a {
|
|
color: var(--color-ink-3);
|
|
}
|
|
|
|
.site-nav.nav-transparent.is-scrolled .nav-auth .btn-outline {
|
|
border-color: var(--color-line);
|
|
color: var(--color-ink);
|
|
}
|
|
|
|
.site-nav.nav-transparent.is-scrolled .nav-user__toggle {
|
|
border-color: var(--color-line);
|
|
}
|
|
|
|
/* Swiper nav / pagination (header) */
|
|
.header-components .swiper-button-prev,
|
|
.header-components .swiper-button-next {
|
|
width: 30px;
|
|
height: 40px;
|
|
color: #fff;
|
|
text-shadow: 0 0 6px #444;
|
|
opacity: 0;
|
|
transition: opacity 0.3s, background-color 0.3s;
|
|
z-index: 10;
|
|
}
|
|
|
|
.header-components .swiper-button-prev::after,
|
|
.header-components .swiper-button-next::after {
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.header-components:hover .swiper-button-prev,
|
|
.header-components:hover .swiper-button-next {
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.header-components .swiper-button-prev:hover,
|
|
.header-components .swiper-button-next:hover {
|
|
opacity: 1;
|
|
background-color: rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.header-components .swiper-pagination-bullet {
|
|
width: 10px;
|
|
height: 10px;
|
|
background: transparent;
|
|
border: 2px solid rgba(255, 255, 255, 0.6);
|
|
opacity: 0.7;
|
|
border-radius: 20px;
|
|
transition: 0.4s;
|
|
}
|
|
|
|
.header-components .swiper-pagination-bullet-active {
|
|
background: #fff;
|
|
border-color: #fff;
|
|
opacity: 1;
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.header-components .swiper-button-prev,
|
|
.header-components .swiper-button-next {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
/* ============================================================
|
|
* Banner Module — zibll .s-desc style (unchanged geometry)
|
|
* ============================================================ */
|
|
.banner-module {
|
|
position: relative;
|
|
width: 100%;
|
|
border-radius: var(--main-radius, var(--radius, 8px));
|
|
overflow: hidden;
|
|
box-shadow: 0 0 10px var(--main-shadow, rgba(116, 116, 116, 0.08));
|
|
margin-bottom: 20px;
|
|
background: var(--main-bg-color, var(--surface-1));
|
|
}
|
|
|
|
.banner-module__swiper {
|
|
position: relative;
|
|
width: 100%;
|
|
height: auto;
|
|
aspect-ratio: 5 / 2;
|
|
overflow: hidden;
|
|
}
|
|
|
|
@supports not (aspect-ratio: 1 / 1) {
|
|
.banner-module__swiper {
|
|
height: 0;
|
|
padding-bottom: 40%;
|
|
box-sizing: content-box;
|
|
}
|
|
}
|
|
|
|
.banner-module__swiper .swiper-wrapper {
|
|
position: absolute;
|
|
inset: 0;
|
|
width: 100%;
|
|
height: 100% !important;
|
|
}
|
|
|
|
.banner-module__swiper .swiper-slide {
|
|
position: relative;
|
|
overflow: hidden;
|
|
cursor: pointer;
|
|
width: 100%;
|
|
height: 100% !important;
|
|
}
|
|
|
|
.banner-module__slide-bg {
|
|
position: absolute;
|
|
inset: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.banner-module__slide-bg img,
|
|
.banner-module__slide-bg .fit-cover {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
max-width: none;
|
|
object-fit: cover;
|
|
border-radius: 0;
|
|
}
|
|
|
|
.banner-module__slide-fallback {
|
|
width: 100%;
|
|
height: 100%;
|
|
background: linear-gradient(135deg, var(--color-primary), var(--color-primary-active, var(--color-primary-dark)));
|
|
}
|
|
|
|
.banner-module__slide-overlay {
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
top: auto;
|
|
height: 45%;
|
|
background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), transparent);
|
|
pointer-events: none;
|
|
border-radius: 0 0 var(--main-radius, 8px) var(--main-radius, 8px);
|
|
z-index: 1;
|
|
}
|
|
|
|
.banner-module__content {
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: 2;
|
|
color: #fff;
|
|
max-width: none;
|
|
padding: 1.8em 2.5em;
|
|
font-size: 16px;
|
|
text-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.banner-module__title {
|
|
font-family: var(--font-ui);
|
|
font-size: 16px;
|
|
font-weight: normal;
|
|
margin: 0 0 4px;
|
|
line-height: 1.4;
|
|
text-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.banner-module__subtitle {
|
|
font-size: 14px;
|
|
margin: 0;
|
|
opacity: 0.95;
|
|
line-height: 1.5;
|
|
text-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.banner-module .swiper-button-prev,
|
|
.banner-module .swiper-button-next {
|
|
width: 30px;
|
|
height: 40px;
|
|
border-radius: 0;
|
|
background: transparent;
|
|
color: #fff;
|
|
text-shadow: 0 0 6px #444;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
z-index: 10;
|
|
transition: opacity 0.3s, background-color 0.3s;
|
|
}
|
|
|
|
.banner-module .swiper-button-prev::after,
|
|
.banner-module .swiper-button-next::after {
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.banner-module:hover .swiper-button-prev,
|
|
.banner-module:hover .swiper-button-next {
|
|
opacity: 0.8;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.banner-module .swiper-button-prev:hover,
|
|
.banner-module .swiper-button-next:hover {
|
|
opacity: 1;
|
|
background-color: rgba(0, 0, 0, 0.3);
|
|
transform: none;
|
|
}
|
|
|
|
@media (max-width: 767px) {
|
|
.banner-module {
|
|
border-radius: var(--main-radius, 8px);
|
|
}
|
|
|
|
.banner-module__swiper {
|
|
aspect-ratio: 2 / 1;
|
|
height: auto;
|
|
}
|
|
|
|
@supports not (aspect-ratio: 1 / 1) {
|
|
.banner-module__swiper {
|
|
height: 0;
|
|
padding-bottom: 50%;
|
|
box-sizing: content-box;
|
|
}
|
|
}
|
|
|
|
.banner-module__content {
|
|
padding: 1em 1.2em;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.banner-module__title {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.banner-module .swiper-button-prev,
|
|
.banner-module .swiper-button-next {
|
|
display: none;
|
|
}
|
|
}
|