增加了moos变量显示的webui功能
This commit is contained in:
@@ -708,3 +708,154 @@ body {
|
||||
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: 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);
|
||||
}
|
||||
|
||||
.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: 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(4px);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user