mirror of
http://hblu.top:3000/st2411020106/111.git
synced 2026-01-27 22:43:24 +08:00
370 lines
6.2 KiB
CSS
370 lines
6.2 KiB
CSS
/* 全局样式重置 */
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
min-height: 100vh;
|
|
color: #333;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.container {
|
|
max-width: 1400px;
|
|
margin: 0 auto;
|
|
padding: 20px;
|
|
}
|
|
|
|
/* 头部样式 */
|
|
.header {
|
|
background: rgba(255, 255, 255, 0.95);
|
|
padding: 30px;
|
|
border-radius: 15px;
|
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
|
|
backdrop-filter: blur(10px);
|
|
margin-bottom: 30px;
|
|
text-align: center;
|
|
}
|
|
|
|
.title-section {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 15px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.header-icon {
|
|
font-size: 2.5rem;
|
|
color: #667eea;
|
|
}
|
|
|
|
.header h1 {
|
|
font-size: 2.5rem;
|
|
color: #4a5568;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.subtitle {
|
|
font-size: 1.1rem;
|
|
color: #718096;
|
|
font-weight: 400;
|
|
}
|
|
|
|
/* 主要内容区域 */
|
|
.main-content {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 30px;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
/* 面板样式 */
|
|
.panel {
|
|
background: rgba(255, 255, 255, 0.95);
|
|
border-radius: 15px;
|
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
|
|
backdrop-filter: blur(10px);
|
|
overflow: hidden;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.panel-header {
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
color: white;
|
|
padding: 20px 30px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.panel-header h2 {
|
|
font-size: 1.5rem;
|
|
font-weight: 600;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
/* 输入面板样式 */
|
|
.input-panel {
|
|
min-height: 700px;
|
|
}
|
|
|
|
.form-group {
|
|
padding: 20px 30px;
|
|
}
|
|
|
|
.form-group label {
|
|
display: block;
|
|
margin-bottom: 10px;
|
|
font-weight: 600;
|
|
color: #4a5568;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.form-group textarea,
|
|
.form-group select {
|
|
width: 100%;
|
|
padding: 15px;
|
|
border: 2px solid #e2e8f0;
|
|
border-radius: 10px;
|
|
font-size: 1rem;
|
|
font-family: 'Courier New', Courier, monospace;
|
|
resize: vertical;
|
|
transition: border-color 0.3s ease;
|
|
}
|
|
|
|
.form-group textarea {
|
|
min-height: 300px;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.form-group select {
|
|
height: 50px;
|
|
background-color: white;
|
|
}
|
|
|
|
.form-group textarea:focus,
|
|
.form-group select:focus {
|
|
outline: none;
|
|
border-color: #667eea;
|
|
box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
|
|
}
|
|
|
|
.options-container {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 10px;
|
|
padding: 0 30px;
|
|
}
|
|
|
|
.button-group {
|
|
display: flex;
|
|
gap: 15px;
|
|
padding: 20px 30px;
|
|
margin-top: auto;
|
|
}
|
|
|
|
/* 按钮样式 */
|
|
.btn {
|
|
flex: 1;
|
|
padding: 15px 30px;
|
|
border: none;
|
|
border-radius: 10px;
|
|
font-size: 1.1rem;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
color: white;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
|
|
}
|
|
|
|
.btn-secondary {
|
|
background-color: #e2e8f0;
|
|
color: #4a5568;
|
|
}
|
|
|
|
.btn-secondary:hover {
|
|
background-color: #cbd5e0;
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
/* 结果面板样式 */
|
|
.result-panel {
|
|
min-height: 700px;
|
|
}
|
|
|
|
.status {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-weight: 600;
|
|
padding: 8px 15px;
|
|
border-radius: 20px;
|
|
}
|
|
|
|
.status-idle {
|
|
background-color: rgba(255, 255, 255, 0.2);
|
|
color: white;
|
|
}
|
|
|
|
.status-processing {
|
|
background-color: rgba(255, 255, 0, 0.2);
|
|
color: #f59e0b;
|
|
}
|
|
|
|
.status-success {
|
|
background-color: rgba(0, 255, 0, 0.2);
|
|
color: #10b981;
|
|
}
|
|
|
|
.status-error {
|
|
background-color: rgba(255, 0, 0, 0.2);
|
|
color: #ef4444;
|
|
}
|
|
|
|
.result-container {
|
|
padding: 30px;
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
/* 加载指示器 */
|
|
.loading {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 50px 0;
|
|
gap: 20px;
|
|
}
|
|
|
|
.spinner {
|
|
width: 50px;
|
|
height: 50px;
|
|
border: 5px solid #e2e8f0;
|
|
border-top: 5px solid #667eea;
|
|
border-radius: 50%;
|
|
animation: spin 1s linear infinite;
|
|
}
|
|
|
|
@keyframes spin {
|
|
0% { transform: rotate(0deg); }
|
|
100% { transform: rotate(360deg); }
|
|
}
|
|
|
|
/* 结果内容 */
|
|
.result-content {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
max-height: 500px;
|
|
}
|
|
|
|
.empty-state {
|
|
text-align: center;
|
|
padding: 80px 0;
|
|
color: #a0aec0;
|
|
}
|
|
|
|
.empty-state i {
|
|
font-size: 4rem;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
/* 结果文本样式 */
|
|
.result-text {
|
|
white-space: pre-wrap;
|
|
font-family: 'Courier New', Courier, monospace;
|
|
line-height: 1.8;
|
|
color: #4a5568;
|
|
}
|
|
|
|
/* 底部信息 */
|
|
.footer {
|
|
background: rgba(255, 255, 255, 0.95);
|
|
padding: 20px 30px;
|
|
border-radius: 15px;
|
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
|
|
backdrop-filter: blur(10px);
|
|
text-align: center;
|
|
color: #718096;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
/* 响应式设计 */
|
|
@media (max-width: 1200px) {
|
|
.main-content {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.header h1 {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.header-icon {
|
|
font-size: 2rem;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.container {
|
|
padding: 15px;
|
|
}
|
|
|
|
.header {
|
|
padding: 20px;
|
|
}
|
|
|
|
.header h1 {
|
|
font-size: 1.8rem;
|
|
}
|
|
|
|
.subtitle {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.panel {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.panel-header {
|
|
padding: 15px 20px;
|
|
}
|
|
|
|
.form-group {
|
|
padding: 15px 20px;
|
|
}
|
|
|
|
.options-container {
|
|
grid-template-columns: 1fr;
|
|
padding: 0 20px;
|
|
}
|
|
|
|
.button-group {
|
|
padding: 15px 20px;
|
|
}
|
|
|
|
.result-container {
|
|
padding: 20px;
|
|
}
|
|
}
|
|
|
|
/* 滚动条样式 */
|
|
::-webkit-scrollbar {
|
|
width: 8px;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background: #f1f1f1;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background: #c1c1c1;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: #a1a1a1;
|
|
} |