1059 lines
21 KiB
CSS
1059 lines
21 KiB
CSS
/* 全局样式 */
|
|
body {
|
|
font-family: 'Arial', sans-serif;
|
|
background-color: #282c34;
|
|
color: #ffffff;
|
|
margin: 0;
|
|
padding: 20px;
|
|
height: 100vh;
|
|
display: grid;
|
|
grid-template-rows: auto auto 1fr 1fr;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 20px;
|
|
}
|
|
|
|
.db-status-panel {
|
|
grid-column: 1 / -1;
|
|
background-color: #1e2128;
|
|
border: 2px solid rgba(97, 218, 251, 0.3);
|
|
border-radius: 12px;
|
|
padding: 20px;
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
|
|
position: relative;
|
|
overflow: auto;
|
|
transition: all 0.3s ease;
|
|
display: flex;
|
|
min-width: 1200px;
|
|
min-height: 400px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.db-status-panel:hover {
|
|
transform: translateY(-4px);
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
|
|
border-color: rgba(97, 218, 251, 0.6);
|
|
}
|
|
|
|
.db-status-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 15px;
|
|
padding: 15px;
|
|
background: rgba(97, 218, 251, 0.05);
|
|
border-radius: 6px;
|
|
border: 1px solid rgba(97, 218, 251, 0.1);
|
|
}
|
|
|
|
.control-panel {
|
|
grid-column: 1 / -1;
|
|
display: flex;
|
|
gap: 20px;
|
|
padding: 20px;
|
|
background-color: #333;
|
|
border: 1px solid #61dafb;
|
|
border-radius: 8px;
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.control-panel:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
|
|
border-color: rgba(97, 218, 251, 0.8);
|
|
}
|
|
|
|
.db-status {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
font-size: 16px;
|
|
position: relative;
|
|
padding: 10px;
|
|
border-radius: 6px;
|
|
background: rgba(97, 218, 251, 0.05);
|
|
border: 1px solid rgba(97, 218, 251, 0.2);
|
|
}
|
|
|
|
.db-status span {
|
|
position: relative;
|
|
color: #61dafb;
|
|
background: linear-gradient(90deg, #61dafb, #4fa8c7);
|
|
-webkit-background-clip: text;
|
|
background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
animation: textShine 2s infinite alternate;
|
|
}
|
|
|
|
@keyframes textShine {
|
|
0% {
|
|
background-position: 0% 50%;
|
|
}
|
|
100% {
|
|
background-position: 100% 50%;
|
|
}
|
|
}
|
|
|
|
.db-status::before {
|
|
content: '';
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
background: #61dafb;
|
|
box-shadow: 0 0 8px #61dafb;
|
|
animation: pulse 1.5s infinite;
|
|
margin-right: 8px;
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0% {
|
|
transform: scale(0.8);
|
|
opacity: 0.7;
|
|
}
|
|
50% {
|
|
transform: scale(1);
|
|
opacity: 1;
|
|
}
|
|
100% {
|
|
transform: scale(0.8);
|
|
opacity: 0.7;
|
|
}
|
|
}
|
|
|
|
.db-status i {
|
|
font-size: 20px;
|
|
}
|
|
|
|
.db-status.connected {
|
|
color: #4caf50;
|
|
}
|
|
|
|
.db-status.disconnected {
|
|
color: #f44336;
|
|
}
|
|
|
|
.db-size {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
font-size: 16px;
|
|
color: #61dafb;
|
|
margin-top: 10px;
|
|
padding: 15px;
|
|
background: linear-gradient(145deg, rgba(97, 218, 251, 0.1), rgba(97, 218, 251, 0.2));
|
|
border-radius: 8px;
|
|
border: 1px solid rgba(97, 218, 251, 0.3);
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
|
|
position: relative;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.db-size:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
|
|
border-color: rgba(97, 218, 251, 0.5);
|
|
}
|
|
|
|
.db-size button {
|
|
margin-left: auto;
|
|
padding: 8px 12px;
|
|
font-size: 14px;
|
|
background: linear-gradient(145deg, #61dafb, #4fa8c7);
|
|
border: none;
|
|
border-radius: 4px;
|
|
color: #282c34;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.db-size button:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.db-size .size-value {
|
|
font-weight: bold;
|
|
color: #4caf50;
|
|
background-color: rgba(76, 175, 80, 0.1);
|
|
padding: 4px 8px;
|
|
border-radius: 4px;
|
|
border: 1px solid rgba(76, 175, 80, 0.3);
|
|
}
|
|
|
|
#download-db {
|
|
width: auto;
|
|
min-width: 160px;
|
|
padding: 12px 20px;
|
|
background: linear-gradient(145deg, #61dafb, #4fa8c7);
|
|
border: none;
|
|
border-radius: 8px;
|
|
color: #282c34;
|
|
cursor: pointer;
|
|
font-weight: bold;
|
|
font-size: 14px;
|
|
text-align: center;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
transition: all 0.3s ease;
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
|
|
margin: 10px 0;
|
|
margin-left: auto;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
#download-db::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: -100%;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: linear-gradient(
|
|
90deg,
|
|
transparent,
|
|
rgba(255, 255, 255, 0.3),
|
|
transparent
|
|
);
|
|
animation: buttonShine 3s infinite;
|
|
}
|
|
|
|
#download-db:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
|
|
background: linear-gradient(145deg, #4fa8c7, #61dafb);
|
|
}
|
|
|
|
@keyframes buttonShine {
|
|
0% {
|
|
left: -100%;
|
|
}
|
|
100% {
|
|
left: 100%;
|
|
}
|
|
}
|
|
|
|
#download-db i {
|
|
font-size: 18px;
|
|
}
|
|
|
|
#download-progress {
|
|
width: 100%;
|
|
height: 8px;
|
|
margin-top: 10px;
|
|
background: rgba(97, 218, 251, 0.1);
|
|
border-radius: 4px;
|
|
border: 1px solid rgba(97, 218, 251, 0.3);
|
|
overflow: hidden;
|
|
position: relative;
|
|
}
|
|
|
|
#download-progress::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
height: 100%;
|
|
width: 0;
|
|
background: linear-gradient(90deg, #61dafb, #4fa8c7);
|
|
animation: progressAnimation 2s infinite;
|
|
}
|
|
|
|
@keyframes progressAnimation {
|
|
0% {
|
|
width: 0;
|
|
}
|
|
50% {
|
|
width: 100%;
|
|
}
|
|
100% {
|
|
width: 0;
|
|
}
|
|
}
|
|
|
|
.db-size .size-value {
|
|
font-weight: bold;
|
|
color: #4caf50;
|
|
background-color: rgba(76, 175, 80, 0.1);
|
|
padding: 4px 8px;
|
|
border-radius: 4px;
|
|
border: 1px solid rgba(76, 175, 80, 0.3);
|
|
}
|
|
|
|
.control-panel button {
|
|
flex: 1;
|
|
padding: 15px 20px;
|
|
background: linear-gradient(145deg, #61dafb, #4fa8c7);
|
|
border: none;
|
|
border-radius: 6px;
|
|
color: #282c34;
|
|
cursor: pointer;
|
|
font-weight: bold;
|
|
font-size: 14px;
|
|
text-align: left;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
transition: all 0.3s ease;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.control-panel button:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
|
|
background: linear-gradient(145deg, #4fa8c7, #61dafb);
|
|
}
|
|
|
|
.control-panel button i {
|
|
font-size: 18px;
|
|
}
|
|
|
|
.panel {
|
|
background-color: #333;
|
|
border: 1px solid #61dafb;
|
|
border-radius: 8px;
|
|
padding: 20px;
|
|
overflow: auto;
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.panel:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
|
|
border-color: rgba(97, 218, 251, 0.8);
|
|
}
|
|
|
|
.panel h2 {
|
|
color: #61dafb;
|
|
margin-top: 0;
|
|
margin-bottom: 15px;
|
|
font-size: 18px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 8px 12px;
|
|
background: linear-gradient(145deg, rgba(97, 218, 251, 0.1), rgba(97, 218, 251, 0.2));
|
|
border-radius: 6px;
|
|
border: 1px solid rgba(97, 218, 251, 0.3);
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.panel h2::before {
|
|
content: '';
|
|
display: inline-block;
|
|
width: 12px;
|
|
height: 12px;
|
|
border-radius: 50%;
|
|
background: #61dafb;
|
|
box-shadow: 0 0 8px #61dafb;
|
|
animation: glow 2s infinite alternate;
|
|
}
|
|
|
|
.panel h2::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: -100%;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: linear-gradient(
|
|
90deg,
|
|
transparent,
|
|
rgba(97, 218, 251, 0.3),
|
|
transparent
|
|
);
|
|
animation: shine 4s infinite;
|
|
}
|
|
|
|
@keyframes glow {
|
|
0% {
|
|
box-shadow: 0 0 8px #61dafb;
|
|
}
|
|
100% {
|
|
box-shadow: 0 0 16px #61dafb, 0 0 24px #61dafb;
|
|
}
|
|
}
|
|
|
|
|
|
.status-columns {
|
|
display: flex;
|
|
gap: 20px;
|
|
width: 100%;
|
|
}
|
|
|
|
.status-column {
|
|
flex: 1;
|
|
min-width: 400px;
|
|
max-width: 45%;
|
|
height: 380px;
|
|
overflow: auto;
|
|
padding: 20px;
|
|
margin: 10px;
|
|
background: rgba(97, 218, 251, 0.05);
|
|
border-radius: 12px;
|
|
border: 2px solid rgba(97, 218, 251, 0.2);
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
|
|
position: relative;
|
|
}
|
|
|
|
.status-columns {
|
|
display: flex;
|
|
gap: 20px;
|
|
width: 100%;
|
|
justify-content: space-between;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.status-column::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: -10px;
|
|
width: 2px;
|
|
height: 100%;
|
|
background: linear-gradient(
|
|
to bottom,
|
|
transparent,
|
|
rgba(97, 218, 251, 0.5),
|
|
transparent
|
|
);
|
|
}
|
|
|
|
.status-column::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
right: -10px;
|
|
width: 2px;
|
|
height: 100%;
|
|
background: linear-gradient(
|
|
to bottom,
|
|
transparent,
|
|
rgba(97, 218, 251, 0.5),
|
|
transparent
|
|
);
|
|
}
|
|
|
|
.status-column h3 {
|
|
color: #ffeb3b;
|
|
margin-top: 0;
|
|
margin-bottom: 6px;
|
|
font-size: 18px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 4px 8px;
|
|
background: linear-gradient(145deg, rgba(255, 235, 59, 0.1), rgba(255, 235, 59, 0.2));
|
|
border-radius: 4px;
|
|
border: 1px solid rgba(255, 235, 59, 0.3);
|
|
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.status-column h3::before {
|
|
content: '';
|
|
display: inline-block;
|
|
width: 12px;
|
|
height: 12px;
|
|
border-radius: 50%;
|
|
background: #ffeb3b;
|
|
box-shadow: 0 0 8px #ffeb3b;
|
|
animation: glow 2s infinite alternate;
|
|
}
|
|
|
|
.status-column h3::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: -100%;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: linear-gradient(
|
|
90deg,
|
|
transparent,
|
|
rgba(255, 235, 59, 0.3),
|
|
transparent
|
|
);
|
|
animation: shine 4s infinite;
|
|
}
|
|
|
|
/* MOOS通知面板样式 */
|
|
.moos-notify-panel {
|
|
margin-top: 20px;
|
|
padding: 15px;
|
|
background: rgba(97, 218, 251, 0.05);
|
|
border-radius: 8px;
|
|
border: 1px solid rgba(97, 218, 251, 0.2);
|
|
}
|
|
|
|
.moos-notify-panel .input-group {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.moos-notify-panel label {
|
|
display: block;
|
|
color: #61dafb;
|
|
margin-bottom: 5px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.moos-notify-panel input {
|
|
width: 100%;
|
|
padding: 8px;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border: 1px solid rgba(97, 218, 251, 0.3);
|
|
border-radius: 4px;
|
|
color: #ffffff;
|
|
}
|
|
|
|
.moos-notify-panel input:focus {
|
|
outline: none;
|
|
border-color: #61dafb;
|
|
box-shadow: 0 0 0 2px rgba(97, 218, 251, 0.3);
|
|
}
|
|
|
|
.moos-notify-panel button {
|
|
width: 100%;
|
|
padding: 10px;
|
|
background: linear-gradient(145deg, #61dafb, #4fa8c7);
|
|
border: none;
|
|
border-radius: 6px;
|
|
color: #282c34;
|
|
font-weight: bold;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.moos-notify-panel button:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
/* 状态信息面板样式 */
|
|
.state-info {
|
|
padding: 20px;
|
|
background: linear-gradient(145deg, #3a3f4b, #2e323a);
|
|
border-radius: 8px;
|
|
border: 2px solid rgba(97, 218, 251, 0.3);
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
|
|
transition: all 0.3s ease;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.log-panel {
|
|
grid-column: 1;
|
|
grid-row: 3;
|
|
}
|
|
|
|
.state-machine-panel {
|
|
grid-column: 2;
|
|
grid-row: 3;
|
|
min-height: 600px;
|
|
max-height: 800px;
|
|
overflow: auto;
|
|
}
|
|
|
|
.dis-sys-panel {
|
|
grid-column: 1;
|
|
grid-row: 4;
|
|
min-height: 600px;
|
|
max-height: 800px;
|
|
overflow: auto;
|
|
}
|
|
|
|
.ccu-state-panel {
|
|
grid-column: 2;
|
|
grid-row: 4;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 15px;
|
|
min-height: 600px;
|
|
max-height: 800px;
|
|
overflow: auto;
|
|
}
|
|
|
|
.state-machine-panel h2 {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.state-machine-panel h2::before {
|
|
content: '';
|
|
display: inline-block;
|
|
width: 12px;
|
|
height: 12px;
|
|
border-radius: 50%;
|
|
background: #61dafb;
|
|
box-shadow: 0 0 8px #61dafb;
|
|
}
|
|
|
|
.state-info {
|
|
padding: 20px;
|
|
background: linear-gradient(145deg, #3a3f4b, #2e323a);
|
|
border-radius: 8px;
|
|
border: 2px solid rgba(97, 218, 251, 0.3);
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.state-info:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
|
|
border-color: rgba(97, 218, 251, 0.5);
|
|
}
|
|
|
|
.state-row {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: 8px;
|
|
padding: 8px;
|
|
border-radius: 4px;
|
|
background: linear-gradient(
|
|
90deg,
|
|
rgba(97, 218, 251, 0.05),
|
|
rgba(97, 218, 251, 0.1),
|
|
rgba(97, 218, 251, 0.05)
|
|
);
|
|
position: relative;
|
|
overflow: hidden;
|
|
border: 2px solid transparent;
|
|
animation: borderGlow 3s infinite alternate;
|
|
}
|
|
|
|
@keyframes borderGlow {
|
|
0% {
|
|
border-color: rgba(97, 218, 251, 0.3);
|
|
box-shadow: 0 0 8px rgba(97, 218, 251, 0.3);
|
|
}
|
|
50% {
|
|
border-color: rgba(97, 218, 251, 0.6);
|
|
box-shadow: 0 0 16px rgba(97, 218, 251, 0.6);
|
|
}
|
|
100% {
|
|
border-color: rgba(97, 218, 251, 0.3);
|
|
box-shadow: 0 0 8px rgba(97, 218, 251, 0.3);
|
|
}
|
|
}
|
|
|
|
.state-row::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: -100%;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: linear-gradient(
|
|
90deg,
|
|
transparent,
|
|
rgba(97, 218, 251, 0.3),
|
|
transparent
|
|
);
|
|
animation: shine 4s infinite;
|
|
}
|
|
|
|
@keyframes shine {
|
|
0% {
|
|
left: -100%;
|
|
}
|
|
100% {
|
|
left: 100%;
|
|
}
|
|
}
|
|
|
|
.state-label {
|
|
font-weight: bold;
|
|
min-width: 80px;
|
|
margin-right: 10px;
|
|
background: linear-gradient(90deg, #61dafb, #4fa8c7);
|
|
-webkit-background-clip: text;
|
|
background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
animation: textShine 2s infinite alternate;
|
|
}
|
|
|
|
@keyframes textShine {
|
|
0% {
|
|
background-position: 0% 50%;
|
|
}
|
|
100% {
|
|
background-position: 100% 50%;
|
|
}
|
|
}
|
|
|
|
.state-label i {
|
|
width: 20px;
|
|
text-align: center;
|
|
margin-right: 8px;
|
|
background: linear-gradient(90deg, #61dafb, #4fa8c7);
|
|
-webkit-background-clip: text;
|
|
background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
animation: textShine 2s infinite alternate;
|
|
}
|
|
|
|
.state-value {
|
|
flex-grow: 1;
|
|
font-family: 'Courier New', monospace;
|
|
font-weight: bold;
|
|
padding: 4px 8px;
|
|
border-radius: 4px;
|
|
background-color: rgba(76, 175, 80, 0.1);
|
|
border: 1px solid rgba(76, 175, 80, 0.3);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.process-log {
|
|
background-color: rgba(97, 218, 251, 0.05);
|
|
padding: 15px;
|
|
border-radius: 8px;
|
|
max-height: 600px;
|
|
overflow-y: auto;
|
|
border: 1px solid rgba(97, 218, 251, 0.2);
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
/* 进程消息容器样式 */
|
|
.process-container {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
|
|
gap: 15px;
|
|
padding: 10px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.process-card {
|
|
background: linear-gradient(145deg, #3a3f4b, #2e323a);
|
|
border-radius: 8px;
|
|
padding: 15px;
|
|
border: 1px solid rgba(97, 218, 251, 0.3);
|
|
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
|
transition: box-shadow 0.3s ease; /* 简化为仅阴影过渡 */
|
|
}
|
|
|
|
.process-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding-bottom: 10px;
|
|
margin-bottom: 10px;
|
|
border-bottom: 1px solid rgba(97, 218, 251, 0.2);
|
|
}
|
|
|
|
.process-name {
|
|
color: #61dafb;
|
|
font-weight: bold;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.topic-count {
|
|
color: #4caf50;
|
|
font-size: 14px;
|
|
background: rgba(76, 175, 80, 0.1);
|
|
padding: 4px 8px;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.topic-group h4 {
|
|
color: #ffeb3b;
|
|
margin: 10px 0 5px 0;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.subscribed-list, .published-list {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.subscribed-list li, .published-list li {
|
|
padding: 6px 10px;
|
|
margin: 3px 0;
|
|
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;
|
|
}
|
|
|
|
.subscribed-list li:hover, .published-list li:hover {
|
|
background: rgba(97, 218, 251, 0.1);
|
|
border-left-color: #61dafb;
|
|
transform: translateX(5px);
|
|
}
|
|
|
|
#process-count {
|
|
background: rgba(97, 218, 251, 0.2);
|
|
padding: 2px 8px;
|
|
border-radius: 4px;
|
|
margin-left: 10px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.process-entry:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
|
|
border-color: rgba(97, 218, 251, 0.5);
|
|
}
|
|
|
|
.process-name {
|
|
font-weight: bold;
|
|
margin-bottom: 10px;
|
|
color: #61dafb;
|
|
font-size: 16px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.process-name::before {
|
|
content: '';
|
|
display: inline-block;
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
background: #61dafb;
|
|
box-shadow: 0 0 8px #61dafb;
|
|
animation: glow 2s infinite alternate;
|
|
}
|
|
|
|
.message-type {
|
|
font-style: italic;
|
|
color: #61dafb;
|
|
margin: 10px 0 5px 0;
|
|
font-size: 14px;
|
|
padding: 4px 8px;
|
|
background: rgba(97, 218, 251, 0.1);
|
|
border-radius: 4px;
|
|
display: inline-block;
|
|
}
|
|
|
|
.subscribed-list, .published-list {
|
|
margin-left: 20px;
|
|
list-style-type: none;
|
|
padding-left: 0;
|
|
}
|
|
|
|
.subscribed-list li, .published-list li {
|
|
margin: 5px 0;
|
|
padding: 6px 10px;
|
|
background: rgba(97, 218, 251, 0.05);
|
|
border-radius: 4px;
|
|
border-left: 3px solid rgba(97, 218, 251, 0.3);
|
|
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位移 */
|
|
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;
|
|
}
|