.ys-header { height: 72px; display: flex; flex-direction: column; transition: all 0.2s; position: sticky; top: 0; left: 0; width: 100%; z-index: 100; background-color: #fff; } .ys-header.is-home { position: fixed; } .ys-header.is-home:not(.is-sticky) { background-color: transparent; } .ys-header.is-solution-showcase { position: fixed; transform: translateY(0); } body.solution-showcase-tabs-stuck .ys-header.is-solution-showcase { transform: translateY(-100%); pointer-events: none; } .ys-header.is-solution-showcase:not(.is-sticky), body.solution-showcase-at-top .ys-header.is-solution-showcase { background-color: transparent; } .ys-header .ys-header-nav { width: 100%; height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(24px, 3vw, 64px); background-color: #fff; position: relative; z-index: 20; box-shadow: 0 15px 10px -15px #0000000f; transition: background-color 0.3s, box-shadow 0.3s; } .ys-header__logo { height: 72px; object-fit: contain; transition: opacity 0.3s; } .ys-header.is-home:not(.is-sticky) .ys-header-nav { background-color: transparent; box-shadow: none; } .ys-header.is-solution-showcase:not(.is-sticky) .ys-header-nav, body.solution-showcase-at-top .ys-header.is-solution-showcase .ys-header-nav { background-color: transparent; box-shadow: none; } .ys-header.is-sticky .ys-header-nav { background-color: #fff; box-shadow: 0 15px 10px -15px #0000000f; } .ys-header__nav { display: flex; flex-wrap: nowrap; justify-content: center; align-items: center; flex: 1; height: 100%; transition: max-width 0.3s, opacity 0.3s; max-width: min(58vw, 880px); margin: 0 clamp(16px, 2vw, 48px); gap: clamp(20px, 1.5vw, 36px); white-space: nowrap; /* Prevent text wrapping inside nav */ } .ys-header__nav.display-none { opacity: 0; pointer-events: none; } .ys-header__nav .nav-item.relative { position: static; /* Change to static so full-width dropdowns can position correctly */ } .ys-header__nav .nav-one { display: flex; align-items: center; height: 100%; padding: 0 clamp(8px, 0.7vw, 16px); font-size: clamp(15px, 0.82vw, 16px); font-weight: 500; color: var(--ys-color-text-000); text-decoration: none; cursor: pointer; white-space: nowrap; /* Ensure individual items never wrap */ } .ys-header__nav .nav-item:hover .nav-one { color: var(--ys-color-primary); } .ys-header__nav .nav-one .icon-short-arrow { display: inline-block; position: relative; left: 2px; transform: rotate(90deg); transition: transform 0.2s; color: var(--ys-color-text-300); font-weight: 400; } .ys-header__nav .nav-item:hover .nav-one .icon-short-arrow { transform: rotate(-90deg); } .ys-header__nav .nav-two { font-size: 14px; color: var(--ys-color-text-000); text-decoration: none; } .ys-header__nav .nav-two:hover { color: var(--ys-color-primary); } /* search start */ .ys-header__right { display: flex; align-items: center; justify-content: flex-end; gap: 20px; min-width: 200px; } .ys-header__right.open { flex: 1; position: relative; z-index: 21; } .ys-header__right.open .ys-header__lang-dropdown, .ys-header__right.open .ys-header__contact-btn, .ys-header__right.open .ys-header__search-icon { display: none; } .ys-header__search { position: relative; display: flex; justify-content: space-between; align-items: center; box-sizing: border-box; width: 0; height: 44px; padding: 0; opacity: 0; overflow: hidden; background-color: #fff; border: 0; border-radius: 4px; transition: all 0.2s; transform-origin: right; z-index: 22; } .ys-header__right.open .ys-header__search { width: 100%; padding: 0; border: none; opacity: 1; background-color: #f5f5f5; height: 44px; } .ys-header__right.open .ys-header__search::after { display: none; } .ys-header__right.open .ys-header__search .ys-header__search-input { width: calc(100% - 44px); height: 44px; line-height: 44px; padding: 0 20px; background-color: transparent; box-sizing: border-box; text-align: center; } .ys-header__right.open .ys-header__search .search-btn { width: 44px; height: 44px; top: 0; right: 0; background-color: var(--ys-color-primary, #2b37b3); border-radius: 0 4px 4px 0; display: flex; align-items: center; justify-content: center; } .ys-header__right.open .ys-header__search .search-btn .icon-search { color: #fff; font-size: 20px; } .ys-header__search::after { content: ''; position: absolute; height: 16px; left: 12px; top: 13px; width: 1px; background-color: var(--ys-color-text-000); animation: flashing 0.8s infinite; } .ys-header__search .ys-header__search-input { width: calc(100% - 46px); height: 16px; color: var(--ys-color-text-000); caret-color: var(--ys-color-primary); border: none; outline: none; } .ys-header__search:focus-within { border-color: var(--ys-color-primary); } .ys-header__search:focus-within::after { display: none; } .ys-header__search .ys-header__search-input::placeholder { color: var(--ys-color-text-500); } .ys-header__search .search-btn { width: 26px; padding: 0; position: absolute; top: 8px; right: 10px; background-color: #fff; border: none; outline: none; cursor: pointer; transition: transform 0.2s; } .ys-header__search .search-btn .icon-search { display: inline-block; font-size: 24px; color: var(--ys-color-text-000); transition: transform 0.2s; } .ys-header__search .search-btn:hover .icon-search { color: var(--ys-color-primary); transform: scale(1.1); } @keyframes flashing { 0% { opacity: 1; } 40% { opacity: 0; } 100% { opacity: 1; } } .ys-header__search-icon, .ys-header__lang-trigger { color: var(--ys-color-text-000); cursor: pointer; display: flex; align-items: center; font-size: 14px; } .ys-header__lang-dropdown { position: relative; display: inline-block; } .ys-header__lang-dropdown::after { content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 15px; background: transparent; } .ys-header__lang-menu { position: absolute; top: calc(100% + 5px); right: 0; background-color: #fff; min-width: 150px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); border-radius: 4px; padding: 8px 0; display: none; z-index: 100; opacity: 0; transform: translateY(10px); transition: all 0.2s ease; } .ys-header__lang-dropdown:hover .ys-header__lang-menu { display: block; opacity: 1; transform: translateY(0); } .ys-header__lang-menu .lang-item { display: block; padding: 10px 20px; color: var(--ys-color-text-000); text-decoration: none; font-size: 14px; transition: background-color 0.2s, color 0.2s; } .ys-header__lang-menu .lang-item:hover:not(.disabled) { background-color: #f5f5f5; color: var(--ys-color-primary); } .ys-header__lang-menu .lang-item.active { color: var(--ys-color-primary); } .ys-header__lang-menu .lang-item.disabled { color: #ccc; cursor: not-allowed; } .ys-header__lang-menu .lang-divider { height: 1px; background-color: #eee; margin: 8px 0; } .ys-header__contact-btn { background-color: #2b37b3; color: #fff; padding: 8px 16px; text-decoration: none; font-size: 14px; border-radius: 2px; transition: background-color 0.3s; } .ys-header__contact-btn:hover { background-color: #1e268a; } /* 透明状态下的文字颜色与Logo颜色 (仅首页有效) */ .ys-header.is-home:not(.is-sticky) .nav-one, .ys-header.is-home:not(.is-sticky) .ys-header__search-icon, .ys-header.is-home:not(.is-sticky) .ys-header__lang-trigger, .ys-header.is-home:not(.is-sticky) .icon-menu { color: #fff; } .ys-header.is-solution-showcase:not(.is-sticky) .nav-one, .ys-header.is-solution-showcase:not(.is-sticky) .ys-header__search-icon, .ys-header.is-solution-showcase:not(.is-sticky) .ys-header__lang-trigger, .ys-header.is-solution-showcase:not(.is-sticky) .icon-menu, body.solution-showcase-at-top .ys-header.is-solution-showcase .nav-one, body.solution-showcase-at-top .ys-header.is-solution-showcase .ys-header__search-icon, body.solution-showcase-at-top .ys-header.is-solution-showcase .ys-header__lang-trigger, body.solution-showcase-at-top .ys-header.is-solution-showcase .icon-menu { color: #fff; } .ys-header.is-home:not(.is-sticky) .nav-one .icon-short-arrow { color: rgba(255, 255, 255, 0.8); } .ys-header.is-solution-showcase:not(.is-sticky) .nav-one .icon-short-arrow, body.solution-showcase-at-top .ys-header.is-solution-showcase .nav-one .icon-short-arrow { color: rgba(255, 255, 255, 0.8); } .ys-header.is-home:not(.is-sticky) .ys-header__logo { filter: brightness(0) invert(1); } .ys-header.is-solution-showcase:not(.is-sticky) .ys-header__logo, body.solution-showcase-at-top .ys-header.is-solution-showcase .ys-header__logo { filter: brightness(0) invert(1); } body.solution-showcase-at-top .ys-header.is-solution-showcase .ys-header__contact-btn, .ys-header.is-solution-showcase:not(.is-sticky) .ys-header__contact-btn { background-color: #fff; color: var(--ys-color-text-000); } body.solution-showcase-at-top .ys-header.is-solution-showcase .ys-header__contact-btn:hover, .ys-header.is-solution-showcase:not(.is-sticky) .ys-header__contact-btn:hover { background-color: rgba(255, 255, 255, 0.9); } .ys-header__logo.display-none { opacity: 0; pointer-events: none; } /* user start */ .ys-header__user { margin-left: 30px; position: relative; height: 40px; padding-top: 3px; box-sizing: border-box; } .ys-header__user > a > i { font-size: 24px; cursor: pointer; color: var(--ys-color-text-000); } .ys-header__user .ys-header__user-card { position: absolute; top: 40px; right: -10px; padding: 16px; background-color: var(--ys-color-white); z-index: 20; border-radius: 2px; box-shadow: 0px 4px 14px 0px #0000001a; border: 1px solid var(--ys-color-text-700); transition: all 0.2s; transform-origin: top; transform: scaleY(0); } .ys-header__user:hover .ys-header__user-card { transform: scaleY(1); } .ys-header__user .ys-header__user-card button { height: 32px; line-height: 32px; margin-bottom: 12px; width: 100px; font-size: 12px; padding: 0; } .ys-header__user .ys-header__user-card button a { color: unset; text-decoration: none; display: block; } .ys-header__user .ys-header__user-card button:last-child { margin-bottom: 0; } /* user end */ /* 悬停卡片 start */ .ys-header__card { position: fixed; z-index: 18; left: 0; right: 0; top: var(--ys-header-height, 72px); background-color: var(--ys-color-white); transition: transform .2s ease-in-out; transform-origin: top; transform: scaleY(0); max-height: 82vh; overflow-y: auto; overflow-x: hidden; padding: 40px; box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.1) inset; border-top: 0.5px solid var(--ys-color-text-700); border-bottom: 1px solid var(--ys-color-text-700); transition-delay: 150ms; } .ys-header__card.active, .ys-header__card.show { transform: scaleY(1); } .ys-header__image-dropdown { padding: 0; overflow-x: auto; } .header-solution-grid, .header-investor-grid { display: flex; flex-wrap: nowrap; justify-content: center; box-sizing: border-box; margin: 0 auto; padding: 40px clamp(40px, 4vw, 72px); } .header-solution-grid { gap: 20px; width: max-content; max-width: 1280px; padding: 40px 40px; } .header-investor-grid { gap: clamp(20px, 2vw, 40px); width: min(100%, 1280px); min-width: 0; } .header-solution-item, .header-investor-item { text-align: left; text-decoration: none; color: #333; } .header-solution-item { flex: 0 0 224px; width: 224px; } .header-investor-item { flex: 1 1 0; min-width: 0; max-width: 350px; } .header-solution-thumb, .header-investor-thumb { width: 100%; overflow: hidden; border-radius: 4px; margin-bottom: 15px; } .header-solution-thumb { height: 191px; } .header-investor-thumb { height: 220px; } .header-dropdown-image { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 0.3s; } .header-solution-item:hover .header-dropdown-image, .header-investor-item:hover .header-dropdown-image { transform: scale(1.04); } .header-solution-name, .header-investor-name { color: #333; font-weight: bold; font-size: 16px; } .header-solution-name { margin-bottom: 8px; } .header-solution-desc { color: #999; font-size: 14px; line-height: 1.5; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .ys-header__cover { position: fixed; z-index: 17; left: 0; right: 0; top: var(--ys-header-height, 72px); bottom: 0; background-color: rgba(0, 0, 0, 0.7); transition-delay: 100ms; } /* 悬停卡片 end */ /* 解决方案 start */ .ys-header__card.ys-header__case { padding: 40px 52px; } .ys-header__case { background-color: #f3f5f8; } .ys-header .nav-solution-title { text-decoration: none; display: inline-block; margin-bottom: 18px; font-weight: 700; color: var(--ys-color-text-000); } .ys-header .nav-solution__list { list-style: none; padding: 0; margin: 0; } .ys-header .nav-solution__item { display: flex; align-items: center; flex-wrap: wrap; /* 允许子项过多时自动换行 */ } .ys-header .nav-solution__list:not(.nav-solution__list--child) > .nav-solution__item { margin-bottom: 12px; } .ys-header .nav-solution__list--child { display: flex; flex-wrap: wrap; align-items: center; margin-left: 0; } .ys-header .nav-solution__link { display: inline-block; line-height: 24px; padding: 6px 10px; text-decoration: none; color: var(--ys-color-text-000); } /* 仅第一级保留左侧的提示性竖线 */ .ys-header .nav-solution__list:not(.nav-solution__list--child) > .nav-solution__item > .nav-solution__link { border-left: 1px solid var(--ys-color-text-500); } .ys-header .nav-solution__list--child .nav-solution__link { border-left: none; padding: 6px 5px; } .ys-header .nav-solution__list--child .nav-solution__item::before { content: "——"; color: var(--ys-color-text-300); margin: 0 4px; /* 控制 "-" 两侧的间距 */ } .ys-header .nav-solution__link:hover { color: var(--ys-color-primary); } /* 解决方案 end */ /* 产品弹窗 start */ .ys-header__card.ys-header__product { position: absolute; left: 0; right: auto; width: auto; padding: 0; background-color: initial; overflow: initial; } .ys-header__product a { display: block; text-decoration: none; line-height: normal; } .ys-header__product .product-wrap { background-color: #fbfbfb; max-height: 500px; overflow-y: auto; box-shadow: -1px 1px 10px rgba(51, 51, 51, 0.2); } .ys-header__product .product-wrap::-webkit-scrollbar, .ys-header__product .product-child::-webkit-scrollbar { width: 7px; height: 7px; background-color: var(--ys-color-background-100); } .ys-header__product .product-wrap::-webkit-scrollbar-thumb, .ys-header__product .product-child::-webkit-scrollbar-thumb { border-radius: 5px; background-color: #C1C1C1; } .ys-header__product .to-product { display: flex; align-items: center; font-size: 18px; color: var(--ys-color-text-000); margin-bottom: 20px; } .ys-header__product .to-product i { transform: rotate(0deg) !important; display: block; font-size: 18px; } .ys-header__product .to-product:hover, .ys-header__product .product-item:hover .product-title { color: var(--ys-color-primary); } .ys-header__product .product-img { width: 140px; height: 140px; margin: auto; background: unset; } .ys-header__product .product-img img { object-fit: contain; } .ys-header__product .product-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin: 0; padding: 8px 0; font-size: 14px; display: inline-block; color: var(--ys-color-text-000); } .ys-header__product .product-item { position: relative; width: 180px; padding: 10px; display: flex; align-items: center; justify-content: space-between; } .ys-header__product .product-item.active { background-color: var(--ys-color-primary); } .ys-header__product .product-item.active .product-title { color: var(--ys-color-white); } .ys-header__product .product-item.active .iconfont { color: var(--ys-color-white); } .ys-header__product .product-item .iconfont { color: var(--ys-color-text-000); } .ys-header__product .product-child { position: absolute; top: 0; left: 100%; width: 500px; height: 100%; min-height: 100%; padding: 8px 10px; margin: 0; font-size: 14px; list-style: none; background-color: var(--ys-color-white); overflow-y: auto; box-shadow: 6px 1px 10px rgba(51,51,51,.2); display: flex; align-items: center; align-content: flex-start; flex-wrap: wrap; } .ys-header__product .product-child__item { line-height: normal; padding: 0; margin: 10px; } .ys-header__product .product-child__link { color: var(--ys-color-text-000); } .ys-header__product .product-child__link:hover { color: var(--ys-color-primary); } /* 产品弹窗 end */ /* mega menu product start */ .ys-header__mega { padding: 0; overflow-x: hidden; } .mega-menu-container { width: min(100%, 1840px); min-width: 0; max-width: 1840px; margin: 0 auto; box-sizing: border-box; padding: 0 clamp(24px, 3vw, 64px); } .mega-menu-top { display: flex; justify-content: space-between; align-items: center; padding: 24px 0 clamp(18px, 1.4vw, 26px); border-bottom: 1px solid #eee; } .all-products-link { color: #666; font-size: 14px; text-decoration: none; display: inline-flex; align-items: center; } .all-products-link:hover { color: var(--ys-color-primary); } .close-mega-menu { cursor: pointer; color: #999; font-size: 20px; } .mega-menu-content { display: flex; padding: clamp(24px, 2.4vw, 44px) 0; } .mega-sidebar { flex: 0 0 clamp(180px, 12vw, 240px); border-right: 1px solid #eee; padding-right: clamp(18px, 1.6vw, 32px); } .mega-sidebar-item { padding: clamp(12px, 1vw, 18px) 0; font-size: clamp(15px, 0.82vw, 16px); color: #666; cursor: pointer; display: flex; justify-content: space-between; align-items: center; } .mega-sidebar-item.active { color: var(--ys-color-primary); font-weight: bold; } .mega-sidebar-item .icon-short-arrow { transform: rotate(-90deg); font-size: 12px; opacity: 0; } .mega-sidebar-item.active .icon-short-arrow { opacity: 1; } .mega-panels { flex: 1; padding-left: clamp(28px, 2.8vw, 56px); } .mega-panel { display: none; } .mega-panel.active { display: block; } .mega-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(clamp(190px, 12vw, 240px), 1fr)); gap: clamp(16px, 1.3vw, 28px); } .mega-grid-item { min-height: clamp(78px, 5vw, 96px); display: flex; align-items: center; gap: clamp(12px, 1vw, 22px); background: #f9f9f9; padding: clamp(12px, 1vw, 18px); border-radius: 4px; text-decoration: none; color: #333; transition: all 0.3s; } .mega-grid-item:hover { background: #f0f0f0; color: var(--ys-color-primary); } .mega-grid-item__image { flex: 0 0 clamp(58px, 4vw, 78px); width: clamp(58px, 4vw, 78px); height: clamp(44px, 3.2vw, 60px); display: flex; align-items: center; justify-content: center; } .mega-grid-item__image img { max-width: 100%; max-height: 100%; display: block; object-fit: contain; } .mega-grid-item__name { font-size: clamp(13px, 0.78vw, 16px); line-height: 1.5; min-width: 0; } /* mega menu product end */ /* 内容与服务 start */ .ys-header__service { display: flex; padding: 0; } .ys-header__service .service-cate { background-color: #f3f5f8; padding: 30px 40px; width: 200px; box-sizing: border-box; margin: 0; } .ys-header__service .service-cate li { list-style: none; } .ys-header__service .service-cate .service-cate-title { font-weight: 18px; font-weight: 500; margin-bottom: 30px; color: var(--ys-color-text-000); } .ys-header__service .service-cate .service-cate-item { margin-bottom: 30px; font-size: 14px; cursor: pointer; color: var(--ys-color-text-100); } .ys-header__service .service-cate .service-cate-item a { color: var(--ys-color-text-100); text-decoration: none; } .ys-header__service .service-cate .service-cate-item:hover a, .ys-header__service .service-cate .service-cate-item:hover, .ys-header__service .service-cate .service-cate-item.active, .ys-header__service .service-cate .service-cate-item.active a { color: var(--ys-color-primary); } .ys-header__service .service-content { padding: 40px; overflow-y: auto; } .ys-header__service .service-content-box { display: grid; grid-template-columns: repeat(5, 1fr); gap: 40px; } .ys-header__service .content-item { width: 180px; text-decoration: none; display: block; } .ys-header__service .content-item[data-type="information"] { width: 193px; } .ys-header__service .content-item[data-type="information"] .content-img { height: 118px; } .ys-header__service .content-item[data-type='sample'], .ys-header__service .content-item[data-type='quote'] { width: 230px; } .ys-header__service .content-item[data-type='sample'] .content-img, .ys-header__service .content-item[data-type='quote'] .content-img { height: 140px; } .ys-header__service .content-item:hover img { transform: scale(1.1); } .ys-header__service .content-item:hover .content-title { color: var(--ys-color-primary); } .ys-header__service .content-item .content-img { display: block; width: 100%; height: 180px; margin-bottom: 20px; } .ys-header__service .content-item .content-title { text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; color: var(--ys-color-text-000); } .ys-header__service .content-item .content-desc { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: var(--ys-color-text-300); margin-top: 6px; } .ys-header__service .service-content-slide { height: 1px; background-color: var(--ys-color-text-700); margin: 30px 0 20px; } .ys-header__service .service-content-more { color: var(--ys-color-primary); font-size: 14px; text-decoration: none; } .ys-header__service .service-content-more i { transform: rotate(0deg) translateY(1px) !important; margin-left: 0px; } /* 内容与服务 end */ /* 公用 start */ .ys-header__common { display: flex; padding: 0; overflow-x: auto; } .ys-header__common a { text-decoration: none; color: var(--ys-color-text-000); } .ys-header__common.ys-header__card { background: transparent; } .ys-header__common .header-common__title { font-weight: 600; } .ys-header__common .header-common__title::after { content: '|'; padding-left: 22px; color: rgba(0, 0, 0, 0.2); } .ys-header__common .common-content { display: flex; align-items: center; justify-content: center; } .ys-header__common .common-content { background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(30px); width: 100%; min-width: 760px; height: clamp(56px, 3.5vw, 68px); } .ys-header__common .header-common__list { list-style: none; display: flex; align-items: center; margin: 0; padding: 0; } .ys-header__common .header-common__item { margin: 0 clamp(14px, 1.2vw, 28px); font-size: clamp(15px, 0.82vw, 16px); } .ys-header__common .header-common__item.active, .ys-header__common .header-common__item:hover { color: var(--ys-color-primary); } .display-none { display: none !important; } /* 公用 end */ /* 抽屉 start */ .ys-header__menu, .ys-header-menu, .ys-header.is-show-mobile-search .ys-header-search--mobile, .ys-header .header-menu__second { display: none; } /* 抽屉 end */ @media only screen and (max-height: 600px) { .ys-header__product .product-wrap { max-height: 82vh; } } @media only screen and (max-width: 1895px) { /* 解决方案 start */ .ys-header__case .case-item{ width: calc(16% - 40px); } /* 解决方案 end */ } @media only screen and (max-width: 1500px) { .ys-header__nav { max-width: min(58vw, 760px); } } @media only screen and (max-width: 1440px) { /* 解决方案 start */ .ys-header__case { /* gap: 20px; */ margin: 0 -10px; } .ys-header__case .case-item{ margin: 0 10px 10px; width: calc(16.66% - 20px); } /* 解决方案 end */ /* 内容与服务 start */ .ys-header__service .service-content { width: calc(100% - 200px); } .ys-header__service .service-content-box { gap: 20px; } .ys-header__service .content-item { width: 100%; } .ys-header__service .content-item[data-type="information"] { width: 100%; } /* 内容与服务 end */ } @media only screen and (max-width: 1280px) { .ys-header__nav { max-width: min(60vw, 680px); gap: clamp(18px, 1.4vw, 20px); } .ys-header__nav .nav-one { font-size: 15px; } } @media only screen and (max-width: 1200px) and (min-width: 1000px) { .ys-header__image-dropdown { overflow-x: hidden !important; } .header-solution-grid { width: 100% !important; max-width: 100% !important; gap: 12px !important; padding: 36px 24px !important; } .header-solution-item { flex: 0 1 calc((100vw - 96px) / 5) !important; width: calc((100vw - 96px) / 5) !important; } } @media only screen and (max-width: 999px) and (min-width: 900px) { .ys-header .ys-header-nav { justify-content: space-between !important; } .ys-header__nav { position: absolute !important; left: 50% !important; transform: translateX(-50%) !important; flex: 0 0 auto !important; width: auto !important; max-width: none !important; margin: 0 !important; gap: 16px !important; } .ys-header__image-dropdown { overflow-x: hidden !important; } .header-solution-grid { width: 100% !important; max-width: 100% !important; gap: 8px !important; padding: 32px 16px !important; } .header-solution-item { flex: 0 1 calc((100vw - 64px) / 5) !important; width: calc((100vw - 64px) / 5) !important; } .header-solution-name { font-size: 15px !important; } .header-solution-desc { font-size: 13px !important; } } @media only screen and (max-width: 1100px) { .ys-header .ys-header-nav { padding: 0 20px; } .ys-header__nav { margin: 0 14px; gap: 16px; } .ys-header__nav .nav-one { font-size: 15px; padding: 0 6px; } .ys-header__right { gap: 10px; min-width: 150px; } .ys-header__user { margin-left: 10px; } .ys-header__service .service-content-box { grid-template-columns: repeat(4, 1fr); } } @media only screen and (max-width: 992px) { .ys-header__nav { min-width: auto; max-width: 64vw; margin: 0 12px; gap: 14px; } .ys-header__nav .nav-one { font-size: 15px; padding: 0 5px; } .ys-header__right { gap: 10px; min-width: 120px; } .ys-header__call a { font-size: 13px; padding: 0 5px 0 3px; } .ys-header__search { width: 140px; } .ys-header__search .ys-header__search-input::placeholder { font-size: 12px; } .ys-header__user { margin-left: 10px; } .ys-header__product .product-child { width: 400px; } } @media only screen and (max-width: 850px) { .ys-header__card.ys-header__product { left: -40px; } } @media only screen and (max-width: 768px) { .ys-header__call, .ys-header-shortcut, .ys-header__search, .ys-header__nav { display: none; } .ys-header-menu, .ys-header__menu, .ys-header-search--mobile { display: block; } /* 抽屉 start */ .ys-header__menu { min-width: 59px; } .ys-header__menu .iconfont { font-size: 24px; cursor: pointer; color: var(--ys-color-text-000); } .ys-header-menu { position: fixed; z-index: 102; left: 0; top: 0; bottom: 0; width: 260px; background-color: var(--ys-color-white); transform: translateX(-260px); transition: 0.3s; } .ys-header-menu.show { transform: translateX(0); } .ys-header-menu.show + .ys-header__cover { z-index: 101; } .ys-header-menu .header-menu-close { height: var(--ys-header-height); line-height: var(--ys-header-height); padding-left: var(--ys-page-padding); } .ys-header-menu .header-menu-close .iconfont { font-size: 16px; color: var(--ys-color-text-000); } .ys-header-menu .header-menu-list { padding-top: 18px; height: calc(94% - 115px); overflow-y: auto; } .ys-header-menu .header-menu-list > div { border-bottom: 1px solid var(--ys-color-background-100); } .ys-header-menu .header-menu__link { text-decoration: none; color: var(--ys-color-text-000); margin-left: 40px; height: 62px; line-height: 62px; } .ys-header-menu .header-menu-other { position: absolute; width: 100%; bottom: 6%; text-align: center; } .ys-header-menu .header-menu__tel { color: var(--ys-color-text-100); font-size: 14px; } .ys-header-menu .header-menu__tel a { text-decoration: none; color: var(--ys-color-strong); font-size: 14px; font-weight: bold; } .ys-header__right { transition: 0.3s; } .ys-header.is-show-mobile-search .ys-header__logo { display: none; } .ys-header__right.open .ys-header__search { width: 100%; } .ys-header .header-menu__button, .ys-header .header-menu__more { padding: 0 40px; display: flex; justify-content: space-between; align-items: center; } .ys-header .header-menu__button .header-menu__link, .ys-header .header-menu__more .header-menu__link { margin: 0; } .ys-header .header-menu__list { display: none; list-style: none; margin: 0 60px; padding: 0; } .ys-header .header-menu__item { display: block; text-decoration: none; color: var(--ys-color-text-000); margin-bottom: 15px; } .ys-header .header-menu__item:hover { color: var(--ys-color-primary); } /* 抽屉 end */ /* 抽屉二级菜单 start */ .ys-header .header-menu__second { display: block; transform: translateX(-100vw); position: fixed; z-index: 1; width: 100vw; top: 0; bottom: 0; left: 0; right: 0; height: 100%; background-color: var(--ys-color-white); transition: 0.3s; } .ys-header .header-menu__second.active { transform: translateX(0); } .ys-header .header-menu__second .header-menu-close { display: flex; align-items: center; justify-content: space-between; padding: 0 var(--ys-page-padding) 0 10px; border-bottom: 1px solid var(--ys-color-text-700); } .ys-header .header-second__head .icon-short-arrow { font-size: 28px; display: block; transform: rotate(180deg); } .ys-header .header-second-back { display: flex; align-items: center; cursor: pointer; } .ys-header .header-second__content { padding: 20px var(--ys-page-padding) 0; height: calc(100% - var(--ys-header-height)); overflow-y: auto; } .ys-header .header-menu__second .header-menu__more { padding: 0; justify-content: flex-start; } .ys-header .header-menu__second .header-menu__link { height: auto; line-height: normal; padding: 20px 10px; cursor: pointer; } .ys-header .header-second__item { border-bottom: 1px solid var(--ys-color-background-100); } /* 抽屉二级菜单 end */ } @media only screen and (max-width: 540px) { .ys-header__user { margin-left: 5px; } } @media only screen and (max-width: 340px) { .ys-header__menu { min-width: auto; } } /* Reset & Core variables for this module */ .yl-solution-module { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; color: #333; background-color: #f8fbff; line-height: 1.6; } .yl-solution-module * { box-sizing: border-box; margin: 0; padding: 0; } .yl-container { width: 100%; max-width: 1300px; margin: 0 auto; padding: 0 20px; } .yl-section-title { text-align: center; font-size: 36px; color: #222; margin-bottom: 50px; font-weight: 700; } /* ================= Hero Section ================= */ .yl-hero { position: relative; background-size: cover; background-position: center; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 120px 0; text-align: center; color: #fff; background-color: #0b1120; } /* Fallback gradient overlay if bg image is too bright */ .yl-hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(135deg, rgba(8, 20, 48, 0.4) 0%, rgba(13, 33, 80, 0.2) 100%); z-index: 1; } .yl-hero .yl-container { position: relative; z-index: 2; } .yl-hero-title { font-size: 48px; font-weight: 700; margin-bottom: 20px; letter-spacing: 2px; } .yl-hero-subtitle { font-size: 18px; margin-bottom: 50px; opacity: 0.9; } .yl-hero-features { display: flex; justify-content: center; gap: 40px; margin-bottom: 50px; flex-wrap: wrap; } .yl-feature-item { display: flex; flex-direction: column; align-items: center; transition: transform 0.3s ease; } .yl-feature-item:hover { transform: translateY(-5px); } .yl-feature-icon-wrapper { width: 80px; height: 80px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.3); display: flex; align-items: center; justify-content: center; margin-bottom: 15px; background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(4px); transition: all 0.3s ease; } .yl-feature-item:hover .yl-feature-icon-wrapper { border-color: #3B3CCF; background: rgba(59, 130, 246, 0.2); box-shadow: 0 0 20px rgba(59, 130, 246, 0.4); } /* CSS icons for the 4 circular icons using pseudo-elements */ .yl-icon-ocp::before { content: 'OCP'; font-weight: bold; font-size: 20px; color: #fff; } .yl-icon-custom::before { content: '⛭'; font-size: 32px; color: #fff; } .yl-icon-capacity::before { content: '100K+'; font-weight: bold; font-size: 18px; color: #fff; } .yl-icon-leakage::before { content: '⛨'; font-size: 32px; color: #fff; } .yl-feature-text p { font-size: 16px; font-weight: 500; } .yl-feature-sub { font-size: 12px; opacity: 0.7; } .yl-hero-btn { display: inline-block; padding: 15px 40px; background: linear-gradient(90deg, #3B3CCF, #3B3CCF); color: #fff; text-decoration: none; font-size: 18px; font-weight: 600; border-radius: 0; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4); } .yl-hero-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6); background: linear-gradient(90deg, #3B3CCF, #3B3CCF); } /* ================= 解决方案 (Solutions) ================= */ .yl-solutions { padding: 80px 0; background-color: #fff; } .yl-solution-wrapper { display: flex; gap: 20px; background: transparent; align-items: stretch; } .yl-solution-tabs { width: 220px; background-color: #1a2235; /* dark blue */ display: flex; flex-direction: column; flex-shrink: 0; } .yl-tab-item { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; color: #a0aec0; cursor: pointer; transition: all 0.3s ease; border-bottom: 1px solid rgba(255,255,255,0.05); min-height: 168px; padding: 24px 16px; } .yl-tab-item:last-child { border-bottom: none; } .yl-tab-item.active, .yl-tab-item:hover { background-color: #3B3CCF; color: #fff; } .yl-tab-item.active { border-left: none; } .yl-tab-icon { width: 48px; height: 48px; margin-bottom: 10px; } .yl-tab-icon img { width: 100%; height: 100%; object-fit: contain; filter: brightness(0.7); transition: filter 0.3s ease; } .yl-tab-item.active .yl-tab-icon img, .yl-tab-item:hover .yl-tab-icon img { filter: brightness(1); } .yl-solution-content { flex: 1; display: grid; grid-template-columns: 1fr; color: #fff; position: relative; overflow: hidden; min-height: 560px; background: #081425; } .yl-solution-left { grid-area: 1 / 1; position: relative; width: min(560px, calc(100% - 96px)); padding: 56px 0 0 56px; z-index: 2; background: none; align-self: start; justify-self: start; } .yl-solution-panel { display: none; animation: yl-fade-in 0.5s ease-in-out; } .yl-solution-panel.active { display: block; width: 100%; } .yl-panel-title { font-size: clamp(24px, 2vw, 32px); font-weight: 600; margin-bottom: 25px; color: #e2e8f0; line-height: 1.4; text-shadow: 0 2px 4px rgba(0,0,0,0.5); } .yl-panel-list { list-style: none; display: grid; gap: 16px; } .yl-panel-list li { position: relative; padding-left: 0; margin-bottom: 0; font-size: clamp(16px, 1.1vw, 18px); color: #cbd5e1; line-height: 1.8; text-shadow: 0 1px 2px rgba(0,0,0,0.5); } .yl-panel-list li::before { display: none; } .yl-solution-image { grid-area: 1 / 1; width: 100%; min-height: 100%; position: relative; } .yl-solution-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 18, 34, 0.76) 0%, rgba(6, 18, 34, 0.5) 34%, rgba(6, 18, 34, 0.18) 60%, rgba(6, 18, 34, 0.04) 100%); z-index: 1; } .yl-solution-image img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; opacity: 1; } @keyframes yl-fade-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } /* ================= 产品优势 (Advantages) ================= */ .yl-advantages { padding: 80px 0; background-color: #1E2088; color: #fff; } .yl-advantages .yl-section-title { color: #fff; } .yl-advantage-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; align-items: stretch; } .yl-adv-item { min-width: 0; text-align: center; padding: 30px 18px; transition: transform 0.3s ease; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; height: 100%; } .yl-adv-item:hover { transform: translateY(-10px); } .yl-adv-item img { width: 64px; height: 64px; margin: 0 auto 20px auto; display: block; } .yl-adv-item h4 { font-size: 20px; margin-bottom: 10px; font-weight: 600; line-height: 1.4; } .yl-adv-item p { font-size: 14px; color: #a5b4fc; line-height: 1.7; } /* ================= 产品系列 (Product Series) ================= */ .yl-products { padding: 80px 0; background-color: #f8fbff; } .yl-product-list { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; } .yl-product-card { flex: 1; min-width: 300px; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.04); transition: all 0.3s ease; border: 1px solid #edf2f7; } .yl-product-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); border-color: #e2e8f0; } .yl-product-img { height: 250px; background-color: #f1f5f9; padding: 30px; display: flex; align-items: center; justify-content: center; } .yl-product-img img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform 0.5s ease; } .yl-product-card:hover .yl-product-img img { transform: scale(1.08); } .yl-product-info { padding: 30px; text-align: center; } .yl-product-info h3 { font-size: 24px; margin-bottom: 20px; color: #1a202c; } .yl-product-info p { font-size: 14px; color: #4a5568; margin-bottom: 8px; text-align: center; } .yl-product-info p span { color: #a0aec0; } .yl-product-btn { display: inline-block; margin-top: 20px; padding: 10px 30px; background-color: #3B3CCF; color: #fff; text-decoration: none; border-radius: 20px; font-size: 14px; font-weight: 500; transition: background-color 0.3s ease; } .yl-product-btn:hover { background-color: #3B3CCF; } /* ================= 为什么选择我们 (Why Choose Us) ================= */ .yl-choose-us { padding: 80px 0; background-color: #fff; } .yl-choose-list { display: flex; gap: 30px; flex-wrap: nowrap; } .yl-choose-card { flex: 1; min-width: 0; height: 380px; border-radius: 0; background-size: cover; background-position: center; position: relative; overflow: hidden; color: #fff; display: flex; align-items: flex-start; box-shadow: 0 10px 30px rgba(0,0,0,0.1); transition: flex 0.5s cubic-bezier(0.4, 0, 0.2, 1); cursor: pointer; } .yl-choose-list:not(:hover) .yl-choose-card:first-child { flex: 2.5; } .yl-choose-list .yl-choose-card:hover { flex: 2.5; } .yl-choose-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(15, 23, 42, 0.3); transition: all 0.3s ease; } .yl-choose-content { position: relative; z-index: 2; padding: 40px 30px; width: 100%; height: 100%; display: flex; flex-direction: column; } .yl-choose-content h3 { font-size: 22px; font-weight: 600; margin-bottom: 15px; position: relative; display: inline-block; } .yl-choose-desc { font-size: 14px; line-height: 1.7; color: #cbd5e1; margin-top: 15px; } .yl-choose-btn { display: inline-block; margin-top: auto; align-self: flex-start; padding: 10px 50px; border: 1px solid rgba(255,255,255,0.4); background-color: #3B3CCF; border-color: #3B3CCF; color: #fff; text-decoration: none; border-radius: 0; font-size: 14px; transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); pointer-events: none; opacity: 0; transform: translateY(20px); } .yl-choose-list:not(:hover) .yl-choose-card:first-child .yl-choose-btn, .yl-choose-list .yl-choose-card:hover .yl-choose-btn { opacity: 1; pointer-events: auto; transform: translateY(0); } .yl-choose-btn:hover { background-color: #3B3CCF; border-color: #3B3CCF; } /* ================= 底部横幅 (Bottom Banner) ================= */ .yl-bottom-banner { min-height: 330px; display: flex; align-items: center; background-size: cover; background-position: center; position: relative; color: #fff; } .yl-bottom-content { position: relative; z-index: 2; text-align: left; } .yl-bottom-text h2 { font-size: 36px; margin-bottom: 20px; font-weight: 700; } .yl-bottom-text p { font-size: 18px; margin-bottom: 40px; color: #cbd5e1; } .yl-bottom-btn { display: inline-block; padding: 15px 50px; background-color: #3B3CCF; color: #fff; text-decoration: none; font-size: 18px; font-weight: 600; border-radius: 0; transition: all 0.3s ease; } .yl-bottom-btn:hover { background-color: #3B3CCF; transform: scale(1.05); } /* ================= Responsive ================= */ @media (max-width: 1280px) { .yl-solution-content { min-height: 520px; } .yl-solution-left { width: min(500px, calc(100% - 80px)); padding: 40px 0 0 40px; } } @media (max-width: 992px) { .yl-hero-title { font-size: 36px; } .yl-solution-wrapper { flex-direction: column; } .yl-solution-tabs { width: 100%; flex-direction: row; } .yl-tab-item { flex: 1; padding: 15px; } .yl-tab-item.active { border-left: none; border-bottom: 4px solid #3B3CCF; } .yl-tab-item { min-height: 0; } .yl-solution-content { min-height: 460px; } .yl-solution-left { width: min(460px, calc(100% - 64px)); padding: 32px 0 0 32px; } .yl-choose-card:hover .yl-choose-desc { max-height: 200px; } } @media (max-width: 768px) { .yl-hero-title { font-size: 28px; } .yl-hero-subtitle { font-size: 18px; } .yl-section-title { font-size: 28px; } .yl-solution-content { min-height: 380px; } .yl-solution-left { width: calc(100% - 40px); padding: 24px 0 0 20px; } .yl-panel-title { font-size: 22px; } .yl-panel-list li { font-size: 15px; line-height: 1.7; } .yl-advantage-list { grid-template-columns: 1fr; } .yl-adv-item { width: 100%; max-width: none; } .yl-choose-card { min-width: 100%; } /* Show description on mobile by default */ .yl-choose-desc { max-height: 200px; opacity: 1; margin-top: 15px; } .yl-choose-content h3::after { width: 100%; } } .ys-footer-clean { --ys-content-width: 1300px; --ys-page-padding: calc((100% - var(--ys-content-width)) / 2); width: 100%; max-width: 100vw; /* overflow-x: hidden; Removed to prevent clipping of the dropdown menu */ box-sizing: border-box; background-color: #000000; padding: 40px 0; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; color: #999; } @media only screen and (min-width: 1441px) { .ys-footer-clean { --ys-content-width: min(1320px, calc(100% - 120px)); --ys-page-padding: calc((100% - var(--ys-content-width)) / 2); } } @media only screen and (max-width: 1440px) { .ys-footer-clean { --ys-content-width: 1200px; --ys-page-padding: calc(50vw - 600px); } } @media only screen and (max-width: 1280px) { .ys-footer-clean { --ys-content-width: 1000px; } } @media only screen and (max-width: 1024px) { .ys-footer-clean { --ys-content-width: calc(100% - 40px); --ys-page-padding: 20px; } } @media only screen and (max-width: 768px) { .ys-footer-clean { --ys-content-width: calc(100% - 20px); --ys-page-padding: 10px; } } .ys-footer-clean .footer-container { width: var(--ys-content-width); margin: 0 auto; box-sizing: border-box; display: flex; justify-content: space-between; align-items: center; } .ys-footer-clean .footer-left { display: flex; flex-direction: column; gap: 20px; } .ys-footer-clean .footer-links { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; } .ys-footer-clean .footer-links a { color: #e0e0e0; text-decoration: none; font-size: 14px; transition: color 0.3s ease; } .ys-footer-clean .footer-links a:hover { color: #fff; } .ys-footer-clean .dropdown-link { position: relative; } .ys-footer-clean .dropdown-link .dropdown-trigger { display: inline-flex; align-items: center; } .ys-footer-clean .dropdown-link .dropdown-trigger .icon-short-arrow { display: inline-block; transform: rotate(90deg); font-size: 10px; margin-left: 4px; transition: transform 0.3s ease; } .ys-footer-clean .dropdown-link:hover .dropdown-trigger .icon-short-arrow { transform: rotate(-90deg); } .ys-footer-clean .dropdown-link:hover .dropdown-trigger { color: #4b55c4; /* Match the blue color */ } .ys-footer-clean .dropdown-menu { display: none; position: absolute; bottom: 100%; /* 向上弹出,因为是在页脚 */ left: -20px; background-color: #fff; min-width: 220px; list-style: none; padding: 10px 0; margin: 0 0 15px 0; border-radius: 4px; box-shadow: 0 2px 12px rgba(0,0,0,0.15); z-index: 9999; /* Increased z-index to ensure it sits above index/4 */ } /* 增加一个隐形的桥梁,填补菜单和触发按钮之间的空隙,防止鼠标移出 hover 区域 */ .ys-footer-clean .dropdown-menu::after { content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 15px; /* 高度与 margin-bottom 保持一致 */ background: transparent; } .ys-footer-clean .dropdown-link:hover .dropdown-menu { display: block; } .ys-footer-clean .dropdown-menu li a { display: block; padding: 12px 20px; color: #333; font-size: 14px; transition: all 0.3s ease; } .ys-footer-clean .dropdown-menu li a:hover { background-color: #f9f9f9; color: #2b37b3; } .ys-footer-clean .footer-right { display: flex; align-items: center; justify-content: flex-end; } .ys-footer-clean .footer-logo { display: flex; flex-direction: column; align-items: center; /* 恢复居中对齐,通过宽度控制文字 */ background-color: #000000; /* 与 footer 背景一致的深色背景 */ padding: 10px; /* 增加一点内边距避免图片贴边,可根据需要调整 */ border-radius: 4px; /* 可选:一点圆角 */ } .ys-footer-clean .footer-logo img { max-width: 140px; /* 稍微缩小图片宽度以匹配文字感官 */ height: auto; object-fit: contain; } .ys-footer-clean .logo-text { color: #fff; font-size: 14px; font-weight: 300; display: flex; justify-content: space-between; width: 100%; max-width: 140px; /* 强制文字容器宽度与图片一致 */ padding: 0; margin: 0; } .ys-footer-clean .logo-text span { line-height: 1; display: inline-block; } .ys-footer-clean .copyright-text { color: #666; font-size: 12px; } /* 响应式调整 */ @media screen and (max-width: 768px) { .ys-footer-clean .footer-container { flex-direction: column; align-items: flex-start; gap: 30px; } .ys-footer-clean .footer-links { gap: 15px; } .ys-footer-clean .footer-links a { font-size: 13px; } } .ys-rightNav { --ys-right-nav-primary: #25272D; position: fixed; right: 20px; bottom: 90px; text-align: center; z-index: 99; font-size: 14px; line-height: 16px; } .ys-rightNav .service { background-color: var(--ys-right-nav-primary); padding: 10px 13px; width: 50px; color: var(--ys-color-white); box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.1); cursor: pointer; margin-left: auto; } .ys-rightNav .service:hover { background-color: var(--ys-color-primary); } .ys-rightNav .service i { font-size: 24px; margin-bottom: 6px; } .ys-rightNav .service div::before { content: ''; display: block; height: 14px; width: 1px; background-color: var(--ys-color-white); margin: 7px auto; } .ys-rightNav .circle { position: relative; cursor: pointer; display: block; text-decoration: none; margin-top: 1px; } .ys-rightNav .circle-icon { width: 50px; height: 50px; padding: 17px 12px 12px; background: var(--ys-color-primary); margin-left: auto; } .ys-rightNav .circle i { font-size: 24px; color: var(--ys-color-white); } .ys-rightNav .circle-header { display: flex; align-items: center; } .ys-rightNav .circle .text-cover { /* position: absolute; */ width: 0; height: 50px; overflow: hidden; background-color: var(--ys-right-nav-primary); color: var(--ys-color-white); text-align: left; transition: all .2s; transform-origin: center; /* transform: scale(0); */ } .ys-rightNav .circle .text-cover span { padding: 18px 20px; display: block; white-space: nowrap; } .ys-rightNav .circle:hover .text-cover { width: 167px; } .ys-rightNav #backTop { display: none; } .ys-rightNav #backTop i { display: block; } .ys-rightNav .code-cover { width: 217px; height: fit-content; margin: auto; transform-origin: right; z-index: 2; text-align: left; } .ys-rightNav .code-cover-box { width: 0; overflow: hidden; position: absolute; right: 0; top: 50px; background: var(--ys-color-white); transition: width .2s; z-index: 2; box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.10); } .ys-rightNav .circle:hover .code-cover-box { width: 100%; } .ys-rightNav .code-cover-box.code-cover-box--reserve { top: auto; bottom: 50px; } .ys-rightNav .code-cover.code-cover--contact { padding: 25px 20px; } .ys-rightNav .code-cover.narrow { width: auto; } .ys-rightNav .code-cover .code-item { display: flex; align-items: center; padding: 12px; border-bottom: 1px solid var(--ys-color-background-100); font-size: 12px; color: var(--ys-color-text-300); } .ys-rightNav .code-cover .code-item:last-child { border-bottom: 0; } .ys-rightNav .code-cover img { width: 82px; height: 82px; margin-right: 10px; } .ys-rightNav .code-cover .code-item i { font-size: 18px; color: var(--ys-color-success); margin-right: 4px; } .ys-rightNav .code-cover .code-item span { color: var(--ys-color-text-000); font-size: 14px; } .ys-rightNav .code-cover p { display: flex; align-items: center; justify-content: center; margin-top: 14px; } .ys-rightNav .code-cover .code-row { display: flex; align-items: center; text-decoration: none; font-size: 14px; white-space: nowrap; color: var(--ys-color-text-000); } .ys-rightNav .code-cover .code-row + .code-row { margin-top: 22px; } .ys-rightNav .code-row a { text-decoration: none; color: var(--ys-color-text-000); } .ys-rightNav .code-row i { font-size: 16px; color: var(--ys-color-text-000); margin-right: 14px; } #newBridge .nb-icon-wrap { display: none; } @media only screen and (max-width: 768px) { .ys-rightNav { right: 10px; } .ys-rightNav .service { height: 50px; padding: 16px 13px; } .ys-rightNav .service div { display: none; } }