This commit is contained in:
@@ -64,6 +64,32 @@
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
/* 纯文字链接样式 */
|
||||
#index .nav-right .nav-text-link {
|
||||
color: #CBD5E1;
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
padding: 0 16px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
transition: all 0.3s ease;
|
||||
cursor: pointer;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#index .nav-right .nav-text-link:hover {
|
||||
color: #38BDF8;
|
||||
}
|
||||
|
||||
/* 分隔符样式 */
|
||||
#index .nav-right .nav-divider {
|
||||
color: rgba(148, 163, 184, 0.3);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-size: 14px;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
/* nav-shadow 样式和 hover 效果 */
|
||||
#index .nav-shadow {
|
||||
background: rgba(15, 23, 42, 0.8) !important;
|
||||
@@ -97,7 +123,7 @@
|
||||
}
|
||||
|
||||
/* ============================================
|
||||
登录注册按钮 - 撑满高度设计
|
||||
登录注册区域 - 撑满高度设计
|
||||
============================================ */
|
||||
|
||||
/* 登录注册容器 */
|
||||
@@ -111,60 +137,12 @@
|
||||
flex-direction: row !important;
|
||||
}
|
||||
|
||||
/* 登录按钮 - 浅色边框样式,撑满高度 */
|
||||
#index .no-login .btn.btn-normal-light.mr-10#loginBtn {
|
||||
display: flex !important;
|
||||
align-items: center !important;
|
||||
justify-content: center !important;
|
||||
padding: 0 32px !important;
|
||||
font-size: 14px !important;
|
||||
font-weight: 500 !important;
|
||||
color: #E5E7EB !important;
|
||||
background: transparent !important;
|
||||
border: 1px solid rgba(148, 163, 184, 0.3) !important;
|
||||
border-top: none !important;
|
||||
border-bottom: none !important;
|
||||
border-radius: 0 !important;
|
||||
cursor: pointer !important;
|
||||
transition: all 0.3s ease !important;
|
||||
position: relative !important;
|
||||
overflow: hidden !important;
|
||||
margin: 0 !important;
|
||||
min-width: 100px !important;
|
||||
flex-shrink: 0 !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
#index .no-login .btn.btn-normal-light.mr-10#loginBtn::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: rgba(56, 189, 248, 0.1);
|
||||
opacity: 0;
|
||||
transition: opacity 0.3s ease;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
#index .no-login .btn.btn-normal-light.mr-10#loginBtn:hover {
|
||||
color: #38BDF8 !important;
|
||||
border-color: rgba(56, 189, 248, 0.5) !important;
|
||||
background: rgba(56, 189, 248, 0.05) !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
#index .no-login .btn.btn-normal-light.mr-10#loginBtn:hover::before {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/* 注册按钮 - 渐变背景样式,撑满高度 */
|
||||
#index .no-login .btn.btn-normal#registBtn {
|
||||
display: flex !important;
|
||||
align-items: center !important;
|
||||
justify-content: center !important;
|
||||
padding: 0 32px !important;
|
||||
padding: 0 48px !important;
|
||||
font-size: 14px !important;
|
||||
font-weight: 500 !important;
|
||||
color: #ffffff !important;
|
||||
@@ -177,7 +155,7 @@
|
||||
position: relative !important;
|
||||
overflow: hidden !important;
|
||||
margin: 0 !important;
|
||||
min-width: 100px !important;
|
||||
min-width: 140px !important;
|
||||
flex-shrink: 0 !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
@@ -193,6 +171,7 @@
|
||||
opacity: 0;
|
||||
transition: opacity 0.3s ease;
|
||||
pointer-events: none;
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
#index .no-login .btn.btn-normal#registBtn:hover {
|
||||
@@ -204,6 +183,16 @@
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/* 确保注册按钮文字始终可见 */
|
||||
#index .no-login .btn.btn-normal#registBtn {
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
#index .no-login .btn.btn-normal#registBtn * {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
/* 响应式 */
|
||||
@media (max-width: 768px) {
|
||||
#index .nav-header {
|
||||
|
||||
Reference in New Issue
Block a user