@import "./mixin.less"; .@{prefix}-header { width: 100%; height: 76px; position: fixed; top: 0; left: 0; z-index: 1000; color: #e8fbff; background: radial-gradient(circle at 18% 0%, rgba(70, 219, 255, .12), transparent 30%), linear-gradient(180deg, #061321 0%, #020812 100%); border-bottom: 1px solid rgba(91, 226, 255, .14); box-shadow: 0 16px 46px rgba(0, 0, 0, .28); backdrop-filter: blur(12px); &:before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(85, 228, 255, .82), transparent); opacity: .36; } &:after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; pointer-events: none; background-image: linear-gradient(rgba(91, 226, 255, .024) 1px, transparent 1px), linear-gradient(90deg, rgba(91, 226, 255, .024) 1px, transparent 1px); background-size: 44px 44px; opacity: .36; } .@{prefix}-header__inner { width: calc(100% - 44px); max-width: 1240px; height: 76px; margin: 0 auto; position: relative; z-index: 1; display: flex; align-items: center; gap: 28px; } .@{prefix}-brand-mark { width: 232px; height: 62px; margin: 0; flex: 0 0 auto; padding: 0; position: relative; display: flex; align-items: center; justify-content: flex-start; transition: transform .24s ease; &:hover { transform: translateY(-1px); } } .@{prefix}-logo { width: 232px; height: auto; margin: 0; display: block; object-fit: contain; filter: brightness(0) invert(1) drop-shadow(0 0 14px rgba(113, 239, 255, .38)); opacity: 1; transition: filter .24s ease, opacity .24s ease, transform .24s ease; &:hover { filter: brightness(0) invert(1) drop-shadow(0 0 18px rgba(113, 239, 255, .52)); transform: translateY(-1px); } } .@{prefix}-logo-text { height: 44px; margin: 0; display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; } .@{prefix}-logo-text a { position: relative; height: 38px; padding: 0 16px; display: inline-flex; align-items: center; color: #c7eef6; font-size: 14px; font-weight: 700; line-height: 38px; text-decoration: none; white-space: nowrap; border: 1px solid rgba(105, 226, 255, .26); border-radius: 8px; background: linear-gradient(180deg, rgba(15, 49, 74, .64), rgba(5, 21, 39, .72)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 10px 24px rgba(0, 0, 0, .12); transition: color .22s ease, border-color .22s ease, background .22s ease, transform .22s ease, box-shadow .22s ease; &:before { content: ''; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: #48e1ff; box-shadow: 0 0 12px rgba(72, 225, 255, .9); } &:after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1px; background: linear-gradient(90deg, transparent, rgba(122, 243, 255, .65), transparent); opacity: 0; transition: opacity .22s ease; } } .@{prefix}-logo-text a:hover { color: #fff; border-color: rgba(122, 243, 255, .7); background: linear-gradient(180deg, rgba(20, 75, 105, .78), rgba(7, 33, 57, .88)); text-decoration: none; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(25, 187, 226, .14); &:after { opacity: 1; } } .@{prefix}-header__actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; } .@{prefix}-button { margin: 0; flex: 0 0 auto; } .@{prefix}-rightcol { width: 46px; height: 40px; margin-left: auto; display: none; align-items: center; justify-content: center; flex-direction: column; gap: 5px; border: 1px solid rgba(105, 226, 255, .36); border-radius: 8px; background: rgba(10, 36, 58, .78); box-shadow: 0 0 24px rgba(72, 225, 255, .16); cursor: pointer; span { width: 20px; height: 2px; display: block; background: #dffbff; box-shadow: 0 0 10px rgba(72, 225, 255, .7); } } } @media (max-width: 1120px) { .@{prefix}-header { .@{prefix}-logo-text { display: none; } .@{prefix}-rightcol { display: flex; } } } @media (max-width: 768px) { .@{prefix}-header { height: 88px; .@{prefix}-header__inner { width: calc(100% - 28px); height: 88px; gap: 12px; } .@{prefix}-brand-mark { width: 202px; height: 58px; } .@{prefix}-logo { width: 202px; height: auto; } .@{prefix}-header__actions { display: none; } } }