This commit is contained in:
@@ -64,6 +64,32 @@
|
|||||||
align-items: center;
|
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 效果 */
|
/* nav-shadow 样式和 hover 效果 */
|
||||||
#index .nav-shadow {
|
#index .nav-shadow {
|
||||||
background: rgba(15, 23, 42, 0.8) !important;
|
background: rgba(15, 23, 42, 0.8) !important;
|
||||||
@@ -97,7 +123,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* ============================================
|
/* ============================================
|
||||||
登录注册按钮 - 撑满高度设计
|
登录注册区域 - 撑满高度设计
|
||||||
============================================ */
|
============================================ */
|
||||||
|
|
||||||
/* 登录注册容器 */
|
/* 登录注册容器 */
|
||||||
@@ -111,60 +137,12 @@
|
|||||||
flex-direction: row !important;
|
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 {
|
#index .no-login .btn.btn-normal#registBtn {
|
||||||
display: flex !important;
|
display: flex !important;
|
||||||
align-items: center !important;
|
align-items: center !important;
|
||||||
justify-content: center !important;
|
justify-content: center !important;
|
||||||
padding: 0 32px !important;
|
padding: 0 48px !important;
|
||||||
font-size: 14px !important;
|
font-size: 14px !important;
|
||||||
font-weight: 500 !important;
|
font-weight: 500 !important;
|
||||||
color: #ffffff !important;
|
color: #ffffff !important;
|
||||||
@@ -177,7 +155,7 @@
|
|||||||
position: relative !important;
|
position: relative !important;
|
||||||
overflow: hidden !important;
|
overflow: hidden !important;
|
||||||
margin: 0 !important;
|
margin: 0 !important;
|
||||||
min-width: 100px !important;
|
min-width: 140px !important;
|
||||||
flex-shrink: 0 !important;
|
flex-shrink: 0 !important;
|
||||||
box-shadow: none !important;
|
box-shadow: none !important;
|
||||||
}
|
}
|
||||||
@@ -193,6 +171,7 @@
|
|||||||
opacity: 0;
|
opacity: 0;
|
||||||
transition: opacity 0.3s ease;
|
transition: opacity 0.3s ease;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
|
z-index: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#index .no-login .btn.btn-normal#registBtn:hover {
|
#index .no-login .btn.btn-normal#registBtn:hover {
|
||||||
@@ -204,6 +183,16 @@
|
|||||||
opacity: 1;
|
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) {
|
@media (max-width: 768px) {
|
||||||
#index .nav-header {
|
#index .nav-header {
|
||||||
|
|||||||
@@ -29,14 +29,13 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="nav-right">
|
<div class="nav-right">
|
||||||
<a href="/document.html">
|
<a href="/document.html" class="nav-text-link">文档</a>
|
||||||
<div class="control">文档</div>
|
<span class="nav-divider">|</span>
|
||||||
</a>
|
<a href="/home.htm" class="nav-text-link">控制台</a>
|
||||||
<a href="/home.htm">
|
<span class="nav-divider">|</span>
|
||||||
<div class="control">控制台</div>
|
|
||||||
</a>
|
|
||||||
<div class="no-login" style="display: none;">
|
<div class="no-login" style="display: none;">
|
||||||
<div class="btn btn-normal-light mr-10" id="loginBtn">登录</div>
|
<span class="nav-text-link" id="loginBtn">登录</span>
|
||||||
|
<span class="nav-divider">|</span>
|
||||||
<div class="btn btn-normal" id="registBtn">立即注册</div>
|
<div class="btn btn-normal" id="registBtn">立即注册</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="login-in " style="display: none;">
|
<div class="login-in " style="display: none;">
|
||||||
|
|||||||
Reference in New Issue
Block a user