137 lines
2.8 KiB
CSS
137 lines
2.8 KiB
CSS
/* 录制回放相关样式 */
|
|
.btn-record {
|
|
background-color: #ff9800;
|
|
color: white;
|
|
}
|
|
|
|
.btn-playback {
|
|
background-color: #2196f3;
|
|
color: white;
|
|
}
|
|
|
|
/* 轨迹管理区域样式 */
|
|
.path-management {
|
|
margin-top: 30px;
|
|
padding: 20px;
|
|
background: linear-gradient(145deg, #e6e6e6, #ffffff);
|
|
border-radius: 15px;
|
|
box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.1), -10px -10px 20px rgba(255, 255, 255, 0.7);
|
|
width: 100%;
|
|
max-width: 600px;
|
|
}
|
|
|
|
.path-management h3 {
|
|
margin-top: 0;
|
|
color: #333;
|
|
text-align: center;
|
|
}
|
|
|
|
.path-input {
|
|
display: flex;
|
|
gap: 10px;
|
|
margin-bottom: 20px;
|
|
justify-content: center;
|
|
}
|
|
|
|
.path-input input {
|
|
padding: 10px;
|
|
border: none;
|
|
border-radius: 10px;
|
|
background: #f5f5f5;
|
|
box-shadow: inset 5px 5px 10px rgba(0, 0, 0, 0.1), inset -5px -5px 10px rgba(255, 255, 255, 0.7);
|
|
width: 200px;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.btn-save {
|
|
background: linear-gradient(145deg, #4CAF50, #45a049);
|
|
color: white;
|
|
border: none;
|
|
border-radius: 10px;
|
|
padding: 10px 20px;
|
|
font-size: 16px;
|
|
font-weight: bold;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1), -5px -5px 10px rgba(255, 255, 255, 0.7);
|
|
}
|
|
|
|
.btn-save:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 7px 7px 14px rgba(0, 0, 0, 0.15), -7px -7px 14px rgba(255, 255, 255, 0.8);
|
|
}
|
|
|
|
.btn-save:active {
|
|
transform: translateY(0);
|
|
box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.1), -3px -3px 6px rgba(255, 255, 255, 0.7);
|
|
}
|
|
|
|
.path-list h4 {
|
|
margin-top: 0;
|
|
color: #555;
|
|
text-align: center;
|
|
}
|
|
|
|
#pathList {
|
|
list-style: none;
|
|
padding: 0;
|
|
max-height: 200px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
#pathList li {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 10px;
|
|
margin: 5px 0;
|
|
background: #f5f5f5;
|
|
border-radius: 10px;
|
|
box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.1), -3px -3px 6px rgba(255, 255, 255, 0.7);
|
|
}
|
|
|
|
#pathList li button {
|
|
background: linear-gradient(145deg, #f44336, #da190b);
|
|
color: white;
|
|
border: none;
|
|
border-radius: 5px;
|
|
padding: 5px 10px;
|
|
font-size: 12px;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
#pathList li button:hover {
|
|
background: linear-gradient(145deg, #e53935, #c62828);
|
|
}
|
|
|
|
#pathList li button.load-btn {
|
|
background: linear-gradient(145deg, #2196F3, #1976D2);
|
|
margin-right: 5px;
|
|
}
|
|
|
|
#pathList li button.load-btn:hover {
|
|
background: linear-gradient(145deg, #1E88E5, #1565C0);
|
|
}
|
|
|
|
/* 响应式设计 - 轨迹管理 */
|
|
@media (max-width: 650px) {
|
|
.path-input {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.path-input input {
|
|
width: 100%;
|
|
max-width: 300px;
|
|
}
|
|
|
|
.btn-save {
|
|
width: 100%;
|
|
max-width: 300px;
|
|
}
|
|
|
|
.path-management {
|
|
padding: 15px;
|
|
}
|
|
} |