feat&fix: update paths in configuration, enhance error handling, and improve UI elements

This commit is contained in:
adlsdztony
2025-06-01 04:48:50 +00:00
parent d1a001b2b7
commit cb62b3c877
13 changed files with 359 additions and 68 deletions

View File

@@ -49,6 +49,11 @@ h2 { color: #0056b3; margin-top: 36px; font-size: 1.6em; font-weight: 600; }
.step-card {
border: none;
background: #fafdff;
box-shadow: 0 4px 15px rgba(0,0,0,0.08);
margin-bottom: 25px;
border-radius: 10px;
overflow: hidden;
transition: all 0.3s;
padding: 22px 26px;
margin-bottom: 24px;
border-radius: 10px;
@@ -57,19 +62,29 @@ h2 { color: #0056b3; margin-top: 36px; font-size: 1.6em; font-weight: 600; }
position: relative;
overflow: hidden;
}
.step-intent {
padding: 10px 20px;
background: #f0f7ff;
border-left: 4px solid #4285f4;
margin: 10px 20px;
font-size: 0.95em;
line-height: 1.5;
color: #333;
}
.exit-condition {
background: #fff8e1;
padding: 8px 12px;
border-radius: 6px;
font-family: 'Courier New', monospace;
font-size: 0.9em;
border-left: 3px solid #ffa000;
}
.step-card:hover {
box-shadow: 0 10px 30px rgba(0,123,255,0.1);
transform: translateY(-3px);
}
.step-card:before {
content: '';
position: absolute;
left: 0;
top: 0;
height: 100%;
width: 4px;
background: linear-gradient(to bottom, #007bff, #00c6ff);
}
.step-header { display: flex; justify-content: space-between; margin-bottom: 12px; align-items: center; }
.step-title { font-weight: 600; color: #1a237e; font-size: 1.1em; }
.step-time { color: #6c757d; font-size: 0.92em; }
@@ -90,10 +105,7 @@ pre {
box-shadow: 0 5px 15px rgba(0,0,0,0.08);
transition: all 0.3s;
}
.step-image:hover {
transform: scale(1.01);
box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}
.no-steps {
color: #8492a6;
font-style: italic;
@@ -154,5 +166,142 @@ pre {
.status-not-started { background: linear-gradient(135deg, #f0f0f0, #e6e6e6); color: #555; }
.status-preparing, .status-initializing { background: linear-gradient(135deg, #fff7e0, #ffe8a3); color: #8a6d00; }
.status-running { background: linear-gradient(135deg, #e3f2fd, #bbdefb); color: #0d47a1; }
.status-done { background: linear-gradient(135deg, #e8f5e9, #c8e6c9); color: #1b5e20; }
.status-done, .status-done-message-exit, .status-done-max-steps { background: linear-gradient(135deg, #e8f5e9, #c8e6c9); color: #1b5e20; }
.status-error { background: linear-gradient(135deg, #ffebee, #ffcdd2); color: #b71c1c; }
.step-intent {
padding: 10px 20px;
background: #f0f7ff;
border-left: 4px solid #4285f4;
margin: 10px 0;
font-size: 0.95em;
line-height: 1.5;
color: #333;
}
.exit-condition {
background: #fff8e1;
padding: 8px 12px;
border-radius: 6px;
font-family: 'Courier New', monospace;
font-size: 0.9em;
border-left: 3px solid #ffa000;
position: relative;
}
.exit-message {
background: #e8f5e9;
padding: 12px 16px;
border-radius: 6px;
font-family: 'Segoe UI', Arial, sans-serif;
font-size: 1em;
border-left: 3px solid #4caf50;
position: relative;
line-height: 1.5;
color: #1b5e20;
margin-top: 4px;
box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.exit-condition-help {
margin-top: 8px;
font-family: 'Segoe UI', Arial, sans-serif;
font-size: 0.85em;
color: #666;
background: #f5f5f5;
padding: 6px 10px;
border-radius: 4px;
border-left: 2px solid #9e9e9e;
}
/* 工具提示样式 */
.tooltip {
position: relative;
display: inline-block;
margin-left: 8px;
cursor: help;
}
.tooltip .tooltip-text {
visibility: hidden;
min-width: 200px;
max-width: 500px;
width: max-content;
background-color: #333;
color: #fff;
text-align: left;
border-radius: 6px;
padding: 10px 12px;
position: absolute;
z-index: 10;
bottom: 125%;
left: 50%;
transform: translateX(-50%);
opacity: 0;
transition: opacity 0.3s;
font-weight: normal;
font-size: 0.85em;
white-space: normal;
word-wrap: break-word;
line-height: 1.4;
box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.tooltip .tooltip-text::after {
content: "";
position: absolute;
top: 100%;
left: 50%;
margin-left: -5px;
border-width: 5px;
border-style: solid;
border-color: #333 transparent transparent transparent;
}
.tooltip:hover .tooltip-text {
visibility: visible;
opacity: 1;
}
/* 移动设备上的工具提示调整 */
@media (max-width: 768px) {
.tooltip .tooltip-text {
width: auto;
max-width: 250px;
left: auto;
right: 0;
transform: none;
}
.tooltip .tooltip-text::after {
left: auto;
right: 10px;
}
}
/* 进度条样式 */
.progress-bar {
height: 12px;
background-color: #eef2f7;
border-radius: 6px;
margin: 10px 0;
overflow: hidden;
box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
width: 100%;
max-width: 300px;
}
.progress-fill {
height: 100%;
background: linear-gradient(90deg, #007bff, #00c6ff);
width: 0%;
transition: width 0.6s ease;
}
.progress-percentage {
text-align: right;
font-size: 0.85em;
color: #6c757d;
margin-top: 4px;
font-weight: normal;
}