/* ************************导航栏************************ */ .layout__nav__bar { position: fixed; z-index: 1000; top: 0; left: 0; width: 100%; min-width: 1200px; height: 66px; background-color: var(--bg-default-color); box-shadow: inset 0px -1px 0px 0px var(--border-default-color); /* display: flex; align-items: center; */ } .layout__nav__bar .section__all { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; } .layout__nav__bar .slot__left { width: 154px; height: 36px; margin-right: 30px; cursor: pointer; } .layout__nav__bar .slot__left .web-logo img { width: 154px; height: 36px; cursor: pointer; } .layout__nav__bar .slot__mid { flex: 1; font-size: 16px; } .layout__nav__bar .slot__mid .nav-list { display: flex; justify-content: flex-start; align-items: center; } .layout__nav__bar .slot__mid .nav-item { position: relative; height: 66px; display: flex; justify-content: center; align-items: center; } .layout__nav__bar .slot__mid .nav-item>a { display: flex; justify-content: center; align-items: center; } .layout__nav__bar .slot__mid .nav-item:not(:last-child) { margin-right: 14px; /* margin-right: 22px; */ } .layout__nav__bar .slot__mid .nav-item .dropdown-box { margin-left: -10px; padding: 5px 0; box-shadow: 0px 2px 4px 0px rgba(89, 89, 89, 0.5); } .layout__nav__bar .slot__mid .nav-item .dropdown-box a { display: inline-block; width: 100%; line-height: 14px; padding: 10px 15px 10px 10px; transition: all 0.5s; white-space: nowrap; } .layout__nav__bar .slot__mid .nav-item .dropdown-box a:hover { background-color: var(--theme-primary-color); color: var(--bg-default-color); transition: all 0.5s; } .layout__nav__bar .slot__mid .nav-item::after { position: absolute; content: ' '; width: 0; height: 4px; bottom: 0; left: 50%; z-index: 10; background-color: var(--theme-primary-color); transition: all 0.5s; } .layout__nav__bar .slot__mid .nav-item:hover::after { width: 100%; left: 0; transition: all 0.5s; } .layout__nav__bar .slot__mid .nav-item .icon { display: inline-block; position: relative; transform: rotate(0); -webkit-transform: rotate(0); transition: all 0.3s; } .layout__nav__bar .slot__mid .nav-item:hover .icon { transform: rotate(-180deg); -webkit-transform: rotate(-180deg); transition: all 0.3s; } .layout__nav__bar .slot__mid .nav-item:hover .dropdown-box { display: block; } .layout__nav__bar .slot__right { width: 277px; margin-left: 10px; display: flex; justify-content: space-between; align-items: center; } .layout__nav__bar .slot__right .search-box { position: relative; width: 222px; height: 30px; padding-left: 8px; border-radius: 2px; border: 1px solid var(--theme-primary-color); display: flex; justify-content: space-between; align-items: center; } .layout__nav__bar .slot__right .search-box .hot-list { display: none; position: absolute; top: calc(100% 2px); left: 0; background-color: var(--bg-default-color); border-radius: 2px; box-shadow: 0 2px 7px 0 rgba(0, 0, 0, 0.1); border: 1px solid var(--border-default-color); } .layout__nav__bar .slot__right .search-box .hot-list a { display: block; width: 175px; padding: 10px 8px; transition: all 0.3s; } .layout__nav__bar .slot__right .search-box .hot-list a:hover { color: var(--theme-primary-color); background-color: var(--bg-light-color); transition: all 0.3s; } .layout__nav__bar .slot__right .search-box .search-text { display: inline-block; width: 167px; height: 30px; border-radius: 2px 0px 0px 2px; color: var(--text-main-color); } .layout__nav__bar .slot__right .search-box .dropdown-box { width: 167px; } .layout__nav__bar .slot__right .search-box .search-text::placeholder { font-size: 14px; color: var(--text-sub2-color); line-height: 14px; } .layout__nav__bar .slot__right .search-box .search-btn { width: 47px; height: 30px; background: var(--theme-primary-color); border-radius: 0px 2px 2px 0px; color: var(--bg-default-color); display: flex; justify-content: center; align-items: center; text-align: center; } .layout__nav__bar .slot__right .login-box { width: 30px; font-size: 14px; color: var(--theme-primary-color); display: flex; justify-content: space-between; align-items: center; } .layout__nav__bar .slot__right .logined-box { flex: 1; height: 66px; } .layout__nav__bar .slot__right .user-box { position: relative; flex: 1; height: 66px; display: flex; justify-content: center; align-items: center; } .layout__nav__bar .slot__right .user-box .user-avatar { width: 32px; height: 32px; border-radius: 16px; overflow: hidden; transition: all 0.3s; } .layout__nav__bar .slot__right .logined-box:hover .user-box .user-avatar { box-shadow: 0 0 7px 0 #afd7fb; transition: all 0.3s; } .layout__nav__bar .slot__right .user-box .user-avatar img { width: 32px; height: 32px; border-radius: 16px; object-fit: cover; } .layout__nav__bar .slot__right .user-box .user-info { position: absolute; flex-shrink: 0; width: 301px; height: 271px; top: 66px; right: 0; background-size: 100% 100%; background-repeat: no-repeat; box-shadow: 0px 2px 19px 0px #dcdcdc; border-radius: 4px; transition: all 0.3s; display: none; animation-name: animate__slidedown; animation-duration: 0.5s; animation-fill-mode: both; } .layout__nav__bar .slot__right .user-box .user-info:not(.service) { background-image: ; } .layout__nav__bar .slot__right .user-box .user-info.service { background-image: ; } .layout__nav__bar .slot__right .user-box .user-info.service { height: 329px; } .layout__nav__bar .slot__right .logined-box:hover .user-box .user-info { display: block; transition: all 0.3s; } .layout__nav__bar .slot__right .user-box .user-info .detail-box { width: 300px; margin-bottom: 19px; padding: 0 15px; background-color: var(--bg-light-color); display: flex; flex-direction: column; justify-content: flex-start; align-items: center; } .layout__nav__bar .slot__right .user-box .detail-box .avatar { width: 50px; height: 50px; border-radius: 25px; overflow: hidden; transition: all 0.3s; margin: 25px 0 10px; } .layout__nav__bar .slot__right .user-box .detail-box .name { height: auto; font-size: 16px; } .layout__nav__bar .slot__right .user-box .detail-box .avatar img { width: 50px; height: 50px; border-radius: 25px; object-fit: cover; } .layout__nav__bar .slot__right .user-box .user-info .detail-box:hover .avatar { box-shadow: 0 2px 7px 0 #afd7fb; transition: all 0.3s; } .layout__nav__bar .slot__right .user-box .user-info:not(.service) .detail-box:hover { color: var(--theme-primary-color); transition: all 0.3s; } .layout__nav__bar .slot__right .user-box .user-info.service .detail-box:hover { color: #f89d52 !important; transition: all 0.3s; } .layout__nav__bar .slot__right .user-box .user-info .link-box { width: 270px; height: 86px; margin: 0 auto; padding: 19px 20px; background-color: var(--bg-default-color); display: flex; justify-content: space-between; align-items: center; box-shadow: 0px 5px 13px 0px rgba(186,198,207,0.23); border-radius: 8px; backdrop-filter: blur(2px); } .layout__nav__bar .slot__right .user-box .user-info:not(.service) .link-box { margin-bottom: 14px; } .layout__nav__bar .slot__right .user-box .link-box .link-item { height: 48px; display: flex; flex-direction: column; justify-content: center; align-items: center; font-size: 14px; line-height: 14px; transition: all 0.3s; } .layout__nav__bar .slot__right .user-info:not(.service) .link-box .link-item:hover { color: var(--theme-primary-color) !important; transition: all 0.3s; } .layout__nav__bar .slot__right .user-info.service .link-box .link-item:hover { color: #f89d52 !important; transition: all 0.3s; } .layout__nav__bar .slot__right .user-box .link-box .link-item .icon { width: 24px; height: 24px; margin-bottom: 10px; background-size: 100% 100%; background-repeat: no-repeat; } .layout__nav__bar .slot__right .user-box .service-entry { display: block; margin: 8px auto; width: 286px; height: 52px; background-image: url(/uploads/image/ipipersonal/center-enter-btn-default.png); background-size: 100% 100%; background-repeat: no-repeat; cursor: pointer; transition: all 0.3s ease; } .layout__nav__bar .slot__right .user-box .service-entry:hover { background-image: url(/uploads/image/ipipersonal/center-enter-btn-active.png); transition: all 0.3s ease; } .layout__nav__bar .slot__right .user-box .user-info .btn-box { position: relative; width: 100%; padding: 15px 0 19px; display: flex; justify-content: center; align-items: center; } .layout__nav__bar .slot__right .user-box .user-info:not(.service) .btn-box { border-top: 1px solid #e0e4e8; } .layout__nav__bar .slot__right .user-box .user-info.service .btn-box::before { position: absolute; content: ''; top: 0; left: 0; width: 100%; height: 1px; background-image: linear-gradient(45deg, rgba(249, 232, 222, 1), rgba(240, 205, 185, 1)); } .layout__nav__bar .slot__right .user-box .btn-box a, .layout__nav__bar .slot__right .user-box .btn-box div { position: relative; display: inline-block; text-align: center; font-size: 14px; line-height: 14px; text-shadow: 0px 2px 19px #dcdcdc; transition: all 0.3s; width: 50%; } .layout__nav__bar .slot__right .user-info:not(.service) .btn-box a:hover, .layout__nav__bar .slot__right .user-info:not(.service) .btn-box div:hover { color: var(--theme-primary-color); transition: all 0.3s; } .layout__nav__bar .slot__right .user-info.service .btn-box a:hover, .layout__nav__bar .slot__right .user-info.service .btn-box div:hover { color: #f89d52; transition: all 0.3s; } .layout__nav__bar .slot__right .user-info:not(.service) .btn-box .btn-setting { border-right: 1px solid #e0e4e8; } .layout__nav__bar .slot__right .user-info.service .btn-box .btn-setting { border-right: 1px solid #f0cdb9; } .dropdown-box { display: none; position: absolute; top: 100%; left: 0; background-color: var(--bg-default-color); animation-name: animate__dropdown; animation-duration: 0.5s; animation-fill-mode: both; } @keyframes animate__slide { 0% { transform: translate3d(0, -30px, 0); opacity: 0.3; } 100% { transform: translate3d(0, 0, 0); opacity: 1; } } @keyframes animate__dropdown { 0% { transform: translate3d(0, 30px, 0); opacity: 0.3; } 100% { transform: translate3d(0, 0, 0); opacity: 1; } } /* 十周年 */ .tenyear .slot__mid{ /* font-size: 14px; */ } .tenyear .slot__mid .nav-item:not(:last-child) { margin-right: 24px; } .tenyear .slot__right { width: 275px; } .tenyear .slot__right .login-box { width: 28px; } .tenyear .slot__left { width: 234px; margin-right: 24px; } .tenyear .slot__left .web-logo { width: 234px; height: 36px; position: relative; display: block; } .tenyear .slot__left .web-logo::before { content: ' '; position: absolute; top: 2px; left: 169px; width: 1px; height: 32px; background-color: var(--theme-primary-color); } .tenyear .slot__left .web-logo::after { content: ' '; position: absolute; top: 0; right: 0; width: 49px; height: 36px; background-image: ; background-size: 100% 100%; }