@colorfff: #fff; @fontSize18: 18px; .displayflex(@jc: flex-start, @ai: stretch,@wrap: nowrap) { display: flex; flex-direction: row; flex-wrap: @wrap; justify-content: @jc; align-items: @ai; } .displaybox(@num:2) { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: @num; overflow: hidden; } .navShow { height: 100vh; width: 100vw; overflow: hidden; } .nav-container { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: 0.3s; } .nav-container:before { content: ""; position: absolute; top: 0; left: 0; right: 0; background: url(/static/english/images/b_bg.png) center top no-repeat; background-size: 100% 100% !important; height: 160px; z-index: -1; transition: 0.5s; pointer-events: none; } .width1400 { width: 1400px; margin: 0 auto; } .nav-main { .displayflex(space-between); } .nav-left { width: 301px; margin-right: 20px; } .nav-logo { width: 100%; height: 100px; line-height: 100px; } .nav-right { flex: 1; } .navbar-toggle { position: relative; float: right; margin-right: 15px; margin-top: 8px; margin-bottom: 8px; background-color: transparent; background-image: none; border: 1px solid transparent; border-radius: 4px; display: none; } /*menu*/ .navMenu-ul { display: flex; justify-content: flex-end; margin-top: 10px; } #navMenu { width: 90%; display: flex; justify-content: space-between; } #navMenu > ul { .displayflex(space-between); height: 32px; width: 100%; } #navMenu li { position: relative; } #navMenu li a { color: #fff; display: block; line-height: 32px; height: 100%; text-align: center; transition: all 0.2s linear; font-size: 16px; width: 100%; text-decoration: none; } #navMenu .sub { position: absolute; top: 100%; background: #fff; width: auto; left: 50%; z-index: 10000; transform: translateX(-50%) scaleY(0); visibility: hidden; filter: alpha(opacity=0); opacity: 0; transition: 0.5s; transform-origin: top; box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); border-radius: 0 0 10px 10px; overflow: hidden; } #navMenu li:hover .sub { opacity: 1; visibility: inherit; transform: translateX(-50%); } #navMenu .sub .box { padding: 3px 0 0; text-align: center; } #navMenu ul li .sub a { display: flex; padding: 0; position: relative; z-index: 2; height: 100%; width: auto; align-items: center; padding: 8px 30px; line-height: 28px; transition: 0.6s; font-size: 14px; color: #666666; text-align: center; white-space: nowrap; font-family: SourceHanSerifCN-Bold; min-width: 160px; justify-content: center; } #navMenu ul li .sub:after { content: ""; height: 3px; width: 100%; position: absolute; left: 0; top: 0; background: #e2be8f; } #navMenu ul li .sub a:hover { background: #003277; color: @colorfff; } #navMenu li ul li { float: none; height: 32px; width: 100%; overflow: hidden; } #navMenu li ul li a { width: 100%; display: block; text-align: center; color: #eeeeee; font-size: 14px; line-height: 32px; height: 32px; transition: all 0.2s linear; } .big-nav { position: fixed; z-index: 49; left: 0; top: 0; right: 0; bottom: 0; background: url(/static/english/images/Banner.png) no-repeat center; background-size: cover; opacity: 0; visibility: hidden; transition: 0.3s; } .big-nav .scroll { position: absolute; z-index: 1; left: 0; right: 0; top: 200px; bottom: 0; overflow-y: auto; padding-bottom: 0.3rem; } .big-nav .scroll .wp { max-width: 100%; flex-wrap: nowrap; } .wp { margin: 0 auto; max-width: 100%; width: 94%; } .big-nav .scroll dl { width: 15%; margin-bottom: 20px; transform: translateY(100px); opacity: 0; overflow: hidden; text-align: center; } .big-nav .scroll dl dt { font-family: "bell"; font-size: 16px; font-weight: bold; padding-bottom: 15px; margin-bottom: 20px; position: relative; } .big-nav .scroll dl dt:after { content: ""; height: 1px; width: 0; position: absolute; left: 50%; bottom: 0; background: #fff; transform: translateX(-50%); } .big-nav .scroll dl dt a { color: #fff; font-size: 18px; } .big-nav .scroll dl dd ul { display: flex; justify-content: space-between; flex-wrap: wrap; } .big-nav .scroll dl dd ul li { width: 100%; margin-bottom: 15px; font-size: 14px; line-height: 20px; } .big-nav .scroll dl dd ul li a { color: #fff; } body.navShow .big-nav-block { opacity: 1; visibility: initial; } body.navShow .header:before { opacity: 0; } body.navShow .big-nav .scroll dl { transform: translateY(0); opacity: 1; } body.navShow .big-nav { opacity: 1; visibility: visible; } body.navShow .big-nav .scroll dl dt:after { width: 20px; transition: width 0.6s 1s linear; } body.navShow .nav-left { display: none; } body.navShow .navMenu-ul { display: none; } body.navShow .big-nav .scroll .wp dl:nth-child(1) { transition: 0.8s 0.2s; } body.navShow .big-nav .scroll .wp dl:nth-child(2) { transition: 0.8s 0.3s; } body.navShow .big-nav .scroll .wp dl:nth-child(3) { transition: 0.8s 0.4s; } body.navShow .big-nav .scroll .wp dl:nth-child(4) { transition: 0.8s 0.5s; } body.navShow .big-nav .scroll .wp dl:nth-child(5) { transition: 0.8s 0.6s; } body.navShow .big-nav .scroll .wp dl:nth-child(6) { transition: 0.8s 0.7s; } body.navShow .big-nav .scroll .wp dl:nth-child(7) { transition: 0.8s 0.8s; } body.navShow .big-nav .scroll .wp dl:nth-child(8) { transition: 0.8s 0.9s; } body.navShow .big-nav .scroll .wp dl:nth-child(9) { transition: 0.8s 1s; } #search.showdiv { opacity: 1; visibility: visible; } #search { background: rgba(206, 146, 57, 0.9); background: url(/static/english/images/Banner.png) no-repeat center; background-size: cover; position: fixed; left: 0; top: 0; right: 0; bottom: 0; z-index: 99999; opacity: 0; visibility: hidden; transition: all 0.3s ease-out 0s; display: -ms-flexbox; display: flex; -ms-flex-align: center; align-items: center; -ms-flex-pack: center; justify-content: center; backdrop-filter: blur(2px); } .layer.showdiv .serform { transform: translateY(0); transition: 0.5s 0.3s; } .serform { width: 90%; margin: 0 auto; transform: translateY(1.5rem); transition: 0.2s 0.1s; } #divu21 { width: 100%; } .layer .tit { text-align: center; font-size: 20px; margin-bottom: 30px; color: #fff; } .layer .serform .input-group { max-width: 550px; margin: 0 auto; } .pore { position: relative; } .layer .serform .input-group .inp { height: 40px; border: 0; border-right: 0; padding-right: 20px; width: 100%; padding-left: 10px; box-sizing: border-box; } .layer .serform .input-group .sub { position: absolute; right: 0; top: 0; width: 50px; height: 40px; overflow: hidden; background: 0 0; background: #620b62; border: none; } .layer .serform .input-group .sub:after { content: ""; background: url(/static/english/images/search.png) no-repeat center; position: absolute; top: 0; bottom: 0; left: 0; z-index: 0; right: 0; cursor: pointer; } .search-close { position: absolute; top: 30px; right: 20px; width: 30px; height: 30px; text-align: center; line-height: 30px; color: @colorfff; font-size: 24px; z-index: 1000; cursor: pointer; } .scrolling .nav-container { background: rgba(0, 50, 119, 0.75); padding: 15px 0; backdrop-filter: blur(5px); // background-image: -moz-linear-gradient( 0deg, rgba(117,35,125,.9) 0%, rgba(155,51,121,.9) 100%); // background-image: -webkit-linear-gradient( 0deg, rgba(117,35,125,.9) 0%, rgba(155,51,121,.9) 100%); // background-image: -ms-linear-gradient( 0deg, rgba(117,35,125,.9) 0%, rgba(155,51,121,.9) 100%); } .scrolling .nav-container:before { background: none; } .scrolling .nav-right-top { display: none; } .scrolling .nav-logo { height: 49px; line-height: 49px; } .scrolling .nav-container .navbtn { background: none; top: 50%; } .scrolling .nav-container .navbtn2 { background: none; top: 50%; display: none; } .nav-container .navbtn { width: 80px; height: 48px; background: #003277; transition: 0.3s; position: absolute; top: 46%; right: 0; z-index: 5; color: #fff; text-align: center; border-radius: 24px 0 0 24px; transform: translateY(-50%); } .nav-container .navbtn2 { width: 80px; height: 48px; background: #003277; transition: 0.3s; position: absolute; top: 46%; right: 0; z-index: 5; color: #fff; text-align: center; border-radius: 24px 0 0 24px; transform: translateY(-50%); } .menu-btn { overflow: hidden; width: 36px; height: 36px; background: 0 0; opacity: 1; position: absolute; z-index: 999; top: 50%; transform: translateY(-50%); left: 20px; outline: none; border: none; -webkit-appearance: none; border-radius: 0; cursor: pointer; } .menu-btn .line-1, .menu-btn .line-2, .menu-btn .line-3 { position: absolute; top: 50%; right: 0; display: block; width: 36px; height: 2px; background: #fff; transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) 0s; transition-property: transform, width, margin, background-color; margin-top: -1px; } .menu-btn .line-1 { margin-top: -12px; width: 30px; } .menu-btn .line-3 { margin-top: 10px; width: 30px; } .navbtn2 .menu-btn .line-1, .navbtn2 .menu-btn .line-3 { width: 36px; } body.navShow .menu-btn .line-1 { visibility: hidden; } body.navShow .menu-btn .line-2 { margin-top: -1px !important; width: 100%; -webkit-transform: rotate(45deg); transform: rotate(45deg); } body.navShow .menu-btn .line-3 { margin-top: -1px !important; width: 100%; -webkit-transform: rotate(-45deg); transform: rotate(-45deg); } .nav-right-top { display: flex; flex-wrap: wrap; justify-content: flex-end; } .flex { display: flex; justify-content: space-between; flex-wrap: wrap; } .nav-right-top ul li { margin-right: 10px; height: 20px; } .nav-right-top ul li a { display: block; /* padding: 0 10px; border: 1px solid rgba(255, 255, 255, 0.6); */ color: #fff; /* line-height: 18px; height: 18px; border-radius: 10px; font-size: 12px; */ transition: 0.3s; } .nav-search { cursor: pointer; } .nav-search img { width: 18px; } .navShow .nav-right-top { display: flex; justify-content: center; } .navShow .nav-right-top .flex { display: flex; justify-content: center; } .navShow .nav-container { background: none; }