/* * header: 氓陇麓茅茠篓盲驴隆忙聛炉 */ .hb-logo{ width: 100%; } .topNav-ul { display: flex; align-items: center; margin-bottom: 0.875rem; margin-top: 1.375rem; } .topNav-ul li, .topNav-ul li a, .topNav-ul li span{ font-size: 14px; color: rgb(255 255 255 / 80%); } .topNav-ul li:last-child{ margin-right: 0; } .nav-ul .nu-item{ position: fixed; background: #ffffff; left: 0; right: 0; opacity: 0; z-index: 1; width: 0; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; /* margin-top: 1.1rem; */ transition: 0.4s linear opacity; } .nav-ul .nu-item li{ display: none; } .top-menu-fixed .nav-ul li:hover .nu-item{ width: auto; opacity: 1; left: 0; /* z-index: 10; */ } .top-menu-fixed .nav-ul li:hover .nu-item li{ display: block; } .nav-ul .nu-item li{ padding: 24px 0; } .nav-ul .nu-item li a{ font-size: 14px; font-weight: 400; color: #333333; } /* 氓鈥郝好ヂ∶徟撁ヂ嶁€⒚ヂ济ㄋ喡 */ .top-menu-fixed{ position: fixed; top: 0; left: 0; right: 0; background: #FFFFFF; transition: all 0.5; z-index: 11; } .top-menu-fixed .nav-ul li, .top-menu-fixed .nav-ul li a{ color: #333333; } .top-menu-fixed .nav-ul{ /* border-color: #ebebeb; */ } .nav-ul .activeLi{ opacity: 1; font-weight: 700; } .top-menu-fixed .nav-ul .activeLiShow{ position: relative; } .top-menu-fixed .nav-ul .activeLiShow>a{ color: #FF8500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .top-menu-fixed .nav-ul .activeLiShow>ul{ width: auto; opacity: 1; left: 0; } .top-menu-fixed .nav-ul .activeLiShow>ul>li{ display: block; } .top-menu-fixed .nav-ul .activeLiShow::before { width: 100%; color: #FF8500; left: 0; content: ""; position: absolute; height: 2px; bottom: -0.0625rem; background: #FF8500; transition: 0.4s linear; } .top-menu-fixed .topNav-ul li{ color: #666666; margin-right: 30px; } .nav-ul { display: flex; justify-content: space-between; align-items: center; /* border-top: 0.0625rem #FFFFFF solid; border-bottom: 0.0625rem #FFFFFF solid; */ } .nav-ul li{ margin: 0 1.3125rem; padding: 1.0625rem 0; font-size: 1.25rem; color: #FFFFFF; } .nav-ul li a{ font-size: 1rem; color: #FFFFFF; } .top-menu-fixed .nav-ul li{ position: relative; height: 70px; box-sizing: border-box; line-height: 70px; padding: 0; } .top-menu-fixed .nav-ul li:hover>a{ color: #FF8500; } .top-menu-fixed .nav-ul li::before { content: ""; position: absolute; left: 50%; width: 0; height: 2px; bottom: -0.0625rem; background: #FF8500; transition: 0.4s linear; } .top-menu-fixed .nav-ul li:hover::before{ width: 100%; color: #FF8500; left: 0; } /* menu > mainNav: 盲赂禄猫聫艙氓聧鈥 */ .menu_box { margin: 0; background-color: #FFFFFF; padding: 0; border-bottom: 1px solid #f2f2f2; } .mainNav-box { width: 100%; display: flex; align-items: center; justify-content: flex-start; } .mainNav-item{ /* padding: 1.25rem 0; */ font-size: 1rem; position: relative; flex: 1; line-height: 60px; text-align: center; cursor: pointer; } .mainNav-box .tn-active, .mainNav-box .tn-active>a{ background-color: #ff8500; color: #FFFFFF; } .mainNav-item:hover ul{ display: block; box-shadow: 0px 0px 12px rgba(0, 0, 0, .12); } .mainNav-item .active-item{ display: block; } .mainNav-item ul li{ border-bottom: 1px solid #E6E6E6; } .mainNav-item ul li:last-child{ border: none; } .mainNav-item ul li a{ display: inline-block; text-align: center; width: 100%; height: 56px; line-height: 56px; font-size: 14px; font-weight: 400; color: #666666; } .mainNav-item ul li a:hover{ color: #FF8500; } .mainNav-item:hover ul.main_nav_long_ui{ display: flex; flex-wrap: wrap; width: 200%; } .mainNav-item:hover ul.main_nav_long_ui li{ width: 50%; } .sidebar .tmf-nav{ display: flex; align-items: center; justify-content: space-between; padding: 0.5rem 0; } .sidebar .tmf-nav>div:nth-child(2){ width: 100%; margin-left: 5.8%; } @media only screen and (max-width: 1400px){ .sidebar .tmf-nav>div:nth-child(2){ margin-left: 2.8%; } } .tmf-top-menu{ border-bottom: 1px solid #E6E6E6; height: 36px; line-height: 36px; } body{ padding-top: 120px; } .menu_box .edition-center{ overflow: unset; } .topNav-ul>a:last-child li, .top-menu-fixed .nav-ul li:last-child{ margin-right: 0; } .mainNav-item:hover, .mainNav-item:hover>a{ background-color: #ff8500; color: #FFFFFF !important; } .mainNav-item ul{ display: none; position: absolute; width: 100%; top: 100%; left: 0; background: #ffffff; } .nav-ul li:last-child .nu-item { justify-content: flex-end; padding-right: 13.5416666%; } @media only screen and (min-width: 1800px) and (max-width: 1920px){ .top-menu-fixed .nav-ul .activeLiShow>ul{ padding: 0 13.4%; } } @media only screen and (min-width: 1400px) and (max-width: 1800px){ .top-menu-fixed .nav-ul .activeLiShow>ul{ padding: 0 6.66%; } } @media only screen and (max-width: 1400px){ .top-menu-fixed .nav-ul .activeLiShow>ul, .nav-ul li:last-child .nu-item{ padding: 0 5%; } }