123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112 |
- .header-wrap {
- height: 80px;
- display: flex;
- align-items: center;
- justify-content: space-between;
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- z-index: 999;
- padding: 0 40px;
- }
- .logo-wrap {
- width: 120px;
- height: 40px;
- display: block;
- background: url(../../assets/logo_words.png) no-repeat center;
- background-size: 100% 100%;
- }
- .header-nav {
- display: flex;
- text-align: center;
- & > li {
- width: 80px;
- height: 24px;
- line-height: 24px;
- color: rgba(255, 255, 255, .5);
- font-size: 12px;
- cursor: pointer;
- border-right: 1px solid rgba(255, 255, 255, .5);
- transition: all .3s ease 0s;
- position: relative;
- }
- & > li:last-child {
- border-right: 0;
- }
- & > li:hover {
- color: #fff;
- transition: all .3s ease 0s;
- }
- .qrcode-wrap {
- display: none;
- position: absolute;
- top: 100%;
- left: 50%;
- transform: translate(-50%, 0);
- padding-top: 20px;
- }
- .qrcode-img-wrap {
- background: #fff;
- border-radius: 10px;
- padding: 10px;
- }
- .qrcode-wrap .qrcode-img {
- width: 106px;
- height: 106px;
- display: block;
- margin: 0;
- }
- & > .qrcode-li:hover {
- // color: rgba(255,255,255,1);
- transition: all .3s ease 0s;
- .qrcode-wrap {
- display: block;
- }
- }
- li.nav-active {
- color: #fff;
- &:after {
- content: '';
- position: absolute;
- left: 50%;
- bottom: -1px;
- transform: translate(-50%, 0);
- height: 2px;
- width: 12px;
- background: #FF4D79;
- border-radius: 1px;
- }
- }
- }
- .header-white {
- box-shadow: 0px 4px 10px rgba(0,0,0,0.04);
- .logo-wrap {
- background: url(../../assets/logo_words_02.png) no-repeat center;
- background-size: 100% 100%;
- }
- .header-nav {
- & > li {
- color: rgba(0, 0, 0, .5);
- border-right: 1px solid rgba(0,0,0,0.25);
- }
- & > li:last-child {
- border-right: 0;
- }
- & > li:hover {
- color: #000000;
- }
- }
- li.nav-active {
- color: #000000;
- }
- .qrcode-img-wrap {
- box-shadow: 0px 0px 4px rgba(0,0,0,0.04);
- border: 1px solid rgba(0,0,0, 0.1);
- }
- }
|