This commit is contained in:
@@ -794,91 +794,173 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* 侧边 */
|
/* 侧边工具栏 - 深色科技风格 */
|
||||||
.aside-tools {
|
.aside-tools {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 45%;
|
top: 45%;
|
||||||
right: 0;
|
right: 0;
|
||||||
z-index: 3;
|
z-index: 3;
|
||||||
|
transform: translateY(-50%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.aside-tools .tools-list {
|
.aside-tools .tools-list {
|
||||||
width: 40px;
|
width: 50px;
|
||||||
background: #FFFFFF;
|
background: rgba(15, 23, 42, 0.9);
|
||||||
box-shadow: 0px 0px 10px rgba(19, 55, 83, 0.08);
|
backdrop-filter: blur(20px);
|
||||||
opacity: 1;
|
box-shadow: 0 8px 32px rgba(15, 23, 42, 0.6);
|
||||||
border-radius: 3px 0 0 3px;
|
border: 1px solid rgba(148, 163, 184, 0.15);
|
||||||
|
border-right: none;
|
||||||
|
border-radius: 8px 0 0 8px;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.aside-tools .tools-list .tools-item {
|
.aside-tools .tools-list .tools-item {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
transition: all 0.3s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.aside-tools .tools-list .tools-item:hover {
|
||||||
|
background: rgba(56, 189, 248, 0.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.aside-tools .tools-list .tools-item img {
|
.aside-tools .tools-list .tools-item img {
|
||||||
margin: 10px;
|
margin: 13px;
|
||||||
height: 24px;
|
height: 24px;
|
||||||
width: 24px;
|
width: 24px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
filter: brightness(0.9);
|
||||||
|
transition: all 0.3s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.aside-tools .tools-list .tools-item:hover img {
|
||||||
|
filter: brightness(1.2);
|
||||||
|
transform: scale(1.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.aside-tools .tools-list .tools-item::before {
|
.aside-tools .tools-list .tools-item::before {
|
||||||
content: '';
|
content: '';
|
||||||
position: absolute;
|
position: absolute;
|
||||||
background: rgba(230, 234, 237, 1);
|
background: rgba(148, 163, 184, 0.15);
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
|
left: 10px;
|
||||||
right: 10px;
|
right: 10px;
|
||||||
width: 16px;
|
|
||||||
height: 1px;
|
height: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.aside-tools .tools-list .tools-item:last-child:before {
|
.aside-tools .tools-list .tools-item:last-child:before {
|
||||||
content: none;
|
content: none;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.aside-tools .tools-list .tools-item:hover .tools-box {
|
.aside-tools .tools-list .tools-item:hover .tools-box {
|
||||||
display: block;
|
display: block;
|
||||||
|
animation: slideInRight 0.3s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes slideInRight {
|
||||||
|
from {
|
||||||
|
opacity: 0;
|
||||||
|
transform: translateX(10px);
|
||||||
|
}
|
||||||
|
to {
|
||||||
|
opacity: 1;
|
||||||
|
transform: translateX(0);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.aside-tools .tools-list .tools-item .tools-box {
|
.aside-tools .tools-list .tools-item .tools-box {
|
||||||
display: none;
|
display: none;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: -220px;
|
left: -240px;
|
||||||
top: 0;
|
top: 0;
|
||||||
padding-right: 30px;
|
padding-right: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.aside-tools .tools-list .tools-item .tools-box-s {
|
.aside-tools .tools-list .tools-item .tools-box-s {
|
||||||
padding: 20px;
|
padding: 24px;
|
||||||
width: 190px;
|
width: 210px;
|
||||||
background: #FFFFFF;
|
background: rgba(15, 23, 42, 0.95);
|
||||||
box-shadow: 0px 0px 10px rgba(19, 55, 83, 0.08);
|
backdrop-filter: blur(20px);
|
||||||
opacity: 1;
|
box-shadow: 0 8px 32px rgba(15, 23, 42, 0.6);
|
||||||
border-radius: 3px;
|
border: 1px solid rgba(148, 163, 184, 0.2);
|
||||||
|
border-radius: 12px;
|
||||||
|
position: relative;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 弹窗卡片光晕效果 */
|
||||||
|
.aside-tools .tools-list .tools-item .tools-box-s::before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
top: -50%;
|
||||||
|
left: -50%;
|
||||||
|
width: 200%;
|
||||||
|
height: 200%;
|
||||||
|
background: radial-gradient(
|
||||||
|
circle at center,
|
||||||
|
rgba(56, 189, 248, 0.1) 0%,
|
||||||
|
transparent 50%
|
||||||
|
);
|
||||||
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.aside-tools .tools-list .tools-item .tools-box h5 {
|
.aside-tools .tools-list .tools-item .tools-box h5 {
|
||||||
font-size: 14px;
|
font-size: 16px;
|
||||||
font-weight: bold;
|
font-weight: 600;
|
||||||
margin-bottom: 5px;
|
margin-bottom: 8px;
|
||||||
|
color: #F9FAFB;
|
||||||
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
.aside-tools .tools-list .tools-item .tools-box p {
|
.aside-tools .tools-list .tools-item .tools-box p {
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
|
color: rgba(203, 213, 225, 0.8);
|
||||||
|
line-height: 1.6;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.aside-tools .tools-list .tools-item .tools-box .com-contact-tel {
|
||||||
|
color: #38BDF8;
|
||||||
|
font-weight: 500;
|
||||||
|
font-size: 14px;
|
||||||
|
margin-top: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.aside-tools .tools-list .tools-item .tools-box .button {
|
.aside-tools .tools-list .tools-item .tools-box .button {
|
||||||
font-size: 12px;
|
font-size: 13px;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-top: 20px;
|
margin-top: 16px;
|
||||||
padding: 4px 7px;
|
padding: 8px 20px;
|
||||||
border: 1px solid #E6EAED;
|
background: linear-gradient(135deg, rgba(56, 189, 248, 0.2) 0%, rgba(99, 102, 241, 0.2) 100%);
|
||||||
opacity: 1;
|
border: 1px solid rgba(56, 189, 248, 0.3);
|
||||||
border-radius: 3px;
|
border-radius: 6px;
|
||||||
|
color: #38BDF8;
|
||||||
|
font-weight: 500;
|
||||||
|
transition: all 0.3s ease;
|
||||||
|
position: relative;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.aside-tools .tools-list .tools-item .tools-box .button::before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: -100%;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.3), transparent);
|
||||||
|
transition: left 0.5s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.aside-tools .tools-list .tools-item .tools-box .button:hover {
|
.aside-tools .tools-list .tools-item .tools-box .button:hover {
|
||||||
border: 1px solid #38BDF8;
|
background: linear-gradient(135deg, rgba(56, 189, 248, 0.3) 0%, rgba(99, 102, 241, 0.3) 100%);
|
||||||
|
border-color: rgba(56, 189, 248, 0.5);
|
||||||
|
color: #FFFFFF;
|
||||||
|
box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3);
|
||||||
|
transform: translateY(-2px);
|
||||||
|
}
|
||||||
|
|
||||||
|
.aside-tools .tools-list .tools-item .tools-box .button:hover::before {
|
||||||
|
left: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -129,11 +129,9 @@
|
|||||||
user-select: none;
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 登录注册容器 - 修复为 inline flex */
|
/* 登录注册容器 - 与其他导航项平级 */
|
||||||
#index .no-login {
|
#index .no-login {
|
||||||
display: inline-flex;
|
display: contents; /* 让子元素直接参与父级 flex 布局 */
|
||||||
align-items: stretch;
|
|
||||||
height: 100%;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 注册文字链接 */
|
/* 注册文字链接 */
|
||||||
@@ -143,7 +141,7 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 登录按钮包装器 - 与 header 等高 */
|
/* 登录按钮 - 与 header 等高,直接参与 nav-right 的 flex 布局 */
|
||||||
#index .login-btn-wrapper {
|
#index .login-btn-wrapper {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: stretch;
|
align-items: stretch;
|
||||||
|
|||||||
Reference in New Issue
Block a user