完善功能

This commit is contained in:
zjk
2025-04-02 21:31:51 +08:00
parent 341630f547
commit 811fbf2924
7 changed files with 426 additions and 62 deletions
+206 -9
View File
@@ -734,13 +734,7 @@ body {
padding: 15px;
border: 1px solid rgba(97, 218, 251, 0.3);
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
transition: all 0.3s ease;
}
.process-card:hover {
transform: translateY(-3px);
box-shadow: 0 4px 8px rgba(0,0,0,0.2);
border-color: rgba(97, 218, 251, 0.6);
transition: box-shadow 0.3s ease; /* 简化为仅阴影过渡 */
}
.process-header {
@@ -851,11 +845,214 @@ body {
background: rgba(97, 218, 251, 0.05);
border-radius: 4px;
border-left: 3px solid rgba(97, 218, 251, 0.3);
transition: all 0.2s ease;
transition: background-color 0.2s ease, border-color 0.2s ease; /* 修改过渡属性 */
}
.subscribed-list li:hover, .published-list li:hover {
background: rgba(97, 218, 251, 0.1);
border-left-color: #61dafb;
transform: translateX(4px);
/* 移除transform位移 */
transform: none;
}
/* 消息详情弹窗样式 */
.message-detail-modal {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 600px;
max-width: 90%;
background: linear-gradient(145deg, #3a3f4b, #2e323a);
border-radius: 12px;
border: 2px solid rgba(97, 218, 251, 0.3);
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
z-index: 1000;
padding: 20px;
animation: modalFadeIn 0.3s ease;
}
@keyframes modalFadeIn {
from {
opacity: 0;
transform: translate(-50%, -60%);
}
to {
opacity: 1;
transform: translate(-50%, -50%);
}
}
.message-detail-header {
display: flex;
justify-content: space-between;
align-items: center;
padding-bottom: 15px;
margin-bottom: 15px;
border-bottom: 1px solid rgba(97, 218, 251, 0.2);
}
.message-detail-title {
color: #61dafb;
font-size: 18px;
font-weight: bold;
}
.message-detail-close {
cursor: pointer;
color: #61dafb;
font-size: 20px;
transition: all 0.2s ease;
}
.message-detail-close:hover {
transform: scale(1.1);
color: #4fa8c7;
}
.message-detail-content {
max-height: 60vh;
overflow-y: auto;
padding-right: 10px;
}
.message-detail-item {
margin-bottom: 15px;
padding: 10px;
background: rgba(97, 218, 251, 0.05);
border-radius: 6px;
border-left: 3px solid rgba(97, 218, 251, 0.3);
}
.message-detail-label {
color: #ffeb3b;
font-weight: bold;
margin-bottom: 5px;
}
.message-detail-value {
color: #ffffff;
word-break: break-all;
font-family: 'Courier New', monospace;
}
.message-detail-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.7);
z-index: 999;
animation: overlayFadeIn 0.3s ease;
}
@keyframes overlayFadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
/* 新增消息提示框样式 */
.message-tooltip {
position: fixed;
z-index: 1000;
background: rgba(40, 44, 52, 0.95);
border: 1px solid rgba(97, 218, 251, 0.3);
border-radius: 6px;
padding: 12px;
max-width: 300px;
box-shadow: 0 4px 12px rgba(0,0,0,0.25);
backdrop-filter: blur(4px);
pointer-events: none;
transform: translate(10px, 10px);
transition: opacity 0.2s ease;
}
.message-tooltip-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 8px;
color: #61dafb;
font-weight: bold;
}
.tooltip-label {
color: #4fa8c7;
margin-right: 6px;
}
.message-tooltip-item {
margin: 4px 0;
font-size: 14px;
}
.message-tooltip::before {
content: '';
position: absolute;
top: -10px;
left: 50%;
transform: translateX(-50%);
border-width: 5px;
border-style: solid;
border-color: transparent transparent rgba(97, 218, 251, 0.3) transparent;
}
.message-tooltip-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 8px;
padding-bottom: 8px;
border-bottom: 1px solid rgba(97, 218, 251, 0.2);
}
.message-tooltip-title {
color: #61dafb;
font-size: 14px;
font-weight: bold;
}
.message-tooltip-close {
cursor: pointer;
color: #61dafb;
font-size: 16px;
transition: all 0.2s ease;
}
.message-tooltip-close:hover {
color: #4fa8c7;
transform: scale(1.1);
}
.message-tooltip-content {
max-height: 200px;
overflow-y: auto;
padding-right: 8px;
}
.message-tooltip-item {
margin-bottom: 8px;
padding: 6px;
background: rgba(97, 218, 251, 0.05);
border-radius: 4px;
border-left: 2px solid rgba(97, 218, 251, 0.2);
}
.message-tooltip-label {
color: #ffeb3b;
font-size: 12px;
font-weight: bold;
margin-bottom: 4px;
}
.message-tooltip-value {
color: #ffffff;
font-size: 12px;
word-break: break-word;
font-family: 'Courier New', monospace;
}