|
body { |
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; |
|
line-height: 1.6; |
|
background-color: #f4f4f4; |
|
color: #333; |
|
margin: 0; |
|
padding: 1em; |
|
} |
|
|
|
.container { |
|
max-width: 1600px; |
|
margin: auto; |
|
background: #fff; |
|
padding: 2em; |
|
border-radius: 8px; |
|
box-shadow: 0 0 20px rgba(0, 0, 0, 0.05); |
|
} |
|
|
|
.main-layout { |
|
display: flex; |
|
flex-direction: column; |
|
gap: 2em; |
|
} |
|
|
|
.top-section { |
|
display: flex; |
|
flex-direction: row; |
|
gap: 2em; |
|
} |
|
|
|
.config-column, .output-column { |
|
flex: 1; |
|
display: flex; |
|
flex-direction: column; |
|
} |
|
|
|
|
|
.config-editor-wrapper { |
|
flex-grow: 1; |
|
display: flex; |
|
flex-direction: column; |
|
} |
|
|
|
#config-editor { |
|
flex-grow: 1; |
|
width: 100%; |
|
box-sizing: border-box; |
|
resize: vertical; |
|
} |
|
|
|
|
|
.bottom-section { |
|
width: 100%; |
|
} |
|
|
|
.form-row { |
|
display: flex; |
|
gap: 1em; |
|
align-items: flex-end; |
|
} |
|
|
|
.form-row .form-group { |
|
flex: 1; |
|
margin-bottom: 0.8em; |
|
} |
|
|
|
.form-group { |
|
margin-bottom: 0.8em; |
|
} |
|
|
|
.form-group label { |
|
display: block; |
|
margin-bottom: 0.25em; |
|
font-weight: 500; |
|
} |
|
|
|
.form-group label.inline-label { |
|
display: inline-block; |
|
margin-left: 0.5em; |
|
font-weight: normal; |
|
} |
|
|
|
.form-group input[type="number"], |
|
.form-group select { |
|
width: 100%; |
|
padding: 6px 10px; |
|
border-radius: 4px; |
|
border: 1px solid #ccc; |
|
box-sizing: border-box; |
|
} |
|
|
|
button { |
|
background-color: #3498db; |
|
color: white; |
|
padding: 10px 15px; |
|
border: none; |
|
border-radius: 4px; |
|
cursor: pointer; |
|
font-size: 16px; |
|
margin-top: 10px; |
|
} |
|
|
|
button:hover { |
|
background-color: #2980b9; |
|
} |
|
|
|
#results { |
|
background-color: #ecf0f1; |
|
padding: 15px; |
|
border-radius: 4px; |
|
white-space: pre-wrap; |
|
word-wrap: break-word; |
|
min-height: 100px; |
|
} |
|
|
|
.results-container { |
|
margin-top: 20px; |
|
} |
|
|
|
|
|
table { |
|
width: 100%; |
|
border-collapse: collapse; |
|
margin-top: 20px; |
|
} |
|
|
|
th, td { |
|
border: 1px solid #ddd; |
|
padding: 12px; |
|
text-align: left; |
|
} |
|
|
|
th { |
|
background-color: #f2f2f2; |
|
font-weight: bold; |
|
} |
|
|
|
tbody tr:nth-child(even) { |
|
background-color: #f9f9f9; |
|
} |
|
|
|
tbody tr:hover { |
|
background-color: #f1f1f1; |
|
} |
|
|
|
.error { |
|
color: #e74c3c; |
|
font-weight: bold; |
|
} |
|
|
|
.button-container { |
|
grid-column: 1 / -1; |
|
text-align: center; |
|
margin-top: 20px; |
|
} |
|
|
|
|
|
.history-container { |
|
margin-top: 40px; |
|
border-top: 1px solid #e0e0e0; |
|
padding-top: 20px; |
|
} |
|
|
|
.history-container h2 { |
|
display: flex; |
|
justify-content: space-between; |
|
align-items: center; |
|
} |
|
|
|
#history-list table { |
|
margin-top: 10px; |
|
} |
|
|
|
.small-button { |
|
padding: 4px 8px; |
|
font-size: 0.8em; |
|
background-color: #e74c3c; |
|
} |
|
|
|
.small-button:hover { |
|
background-color: #c0392b; |
|
} |
|
|
|
.history-item-actions { |
|
display: flex; |
|
gap: 10px; |
|
} |
|
|
|
#output-container { |
|
margin-top: 2em; |
|
padding: 1.5em; |
|
background-color: #f9f9f9; |
|
border: 1px solid #ddd; |
|
border-radius: 8px; |
|
} |
|
|
|
#results-wrapper h3, #history-wrapper h3 { |
|
margin-top: 0; |
|
border-bottom: 2px solid #eee; |
|
padding-bottom: 0.5em; |
|
margin-bottom: 1em; |
|
} |
|
|
|
#results-display table { |
|
width: 100%; |
|
border-collapse: collapse; |
|
} |
|
|
|
#results-display th, #results-display td { |
|
padding: 8px 12px; |
|
border: 1px solid #ddd; |
|
text-align: left; |
|
} |
|
|
|
#results-display th { |
|
background-color: #f2f2f2; |
|
} |
|
|
|
#history-table { |
|
width: 100%; |
|
border-collapse: collapse; |
|
} |
|
|
|
#history-table th, #history-table td { |
|
padding: 8px 12px; |
|
border: 1px solid #ddd; |
|
text-align: left; |
|
} |
|
|
|
#history-table th { |
|
background-color: #f2f2f2; |
|
} |
|
|
|
#history-table td:last-child { |
|
text-align: right; |
|
} |
|
|
|
#raw-json-output { |
|
background-color: #2d2d2d; |
|
color: #f1f1f1; |
|
padding: 1em; |
|
border-radius: 5px; |
|
max-height: 500px; |
|
overflow-y: auto; |
|
} |
|
|
|
#clear-history { |
|
background-color: #dc3545; |
|
} |
|
|
|
#clear-history:hover { |
|
background-color: #c82333; |
|
} |
|
|
|
.error-message { |
|
color: #dc3545; |
|
background-color: #f8d7da; |
|
border: 1px solid #f5c6cb; |
|
padding: 0.75rem 1.25rem; |
|
margin-top: 1rem; |
|
margin-bottom: 1rem; |
|
border-radius: 0.25rem; |
|
text-align: center; |
|
} |
|
|
|
|
|
@media (max-width: 992px) { |
|
.top-section { |
|
flex-direction: column; |
|
} |
|
} |
|
|
|
.history-detail-row td { |
|
background-color: #333; |
|
padding: 15px; |
|
border-top: 2px solid #555; |
|
text-align: left; |
|
} |
|
|
|
.history-detail-row pre { |
|
background-color: #1e1e1e; |
|
color: #d4d4d4; |
|
padding: 10px; |
|
border-radius: 4px; |
|
white-space: pre-wrap; |
|
word-break: break-all; |
|
} |
|
|
|
.history-detail-row table { |
|
width: 100%; |
|
border-collapse: collapse; |
|
margin: 0; |
|
} |
|
|
|
.history-detail-row table th { |
|
background-color: #e0e0e0; |
|
color: #333; |
|
padding: 8px 12px; |
|
border: 1px solid #555; |
|
} |
|
|
|
.history-detail-row table td { |
|
color: #d4d4d4; |
|
padding: 8px 12px; |
|
border: 1px solid #555; |
|
background-color: #2a2a2a; |
|
} |
|
|
|
.model-breakdown-view { |
|
max-height: 400px; |
|
overflow-y: auto; |
|
overflow-x: auto; |
|
background-color: #2d2d2d; |
|
color: #f1f1f1; |
|
padding: 1em; |
|
border-radius: 5px; |
|
white-space: pre-wrap; |
|
margin: 0; |
|
font-family: monospace; |
|
font-size: 0.85em; |
|
} |
|
|
|
.model-meta-info { |
|
font-size: 0.9em; |
|
color: #666; |
|
margin-top: 4px; |
|
} |
|
|
|
.model-meta-info span { |
|
margin-right: 15px; |
|
} |
|
|
|
.action-btn.raw-btn { |
|
background-color: #555; |
|
color: white; |
|
} |
|
|
|
.highlight-red { |
|
color: #ff6b6b; |
|
} |
|
|
|
.ansi-red { color: #e74c3c; } |
|
.ansi-green { color: #2ecc71; } |
|
.ansi-yellow { color: #f1c40f; } |
|
.ansi-blue { color: #3498db; } |
|
.ansi-magenta { color: #9b59b6; } |
|
.ansi-cyan { color: #1abc9c; } |
|
|
|
.breakdown-row td { |
|
text-align: left !important; |
|
} |
|
|
|
.footer { |
|
margin-top: 2em; |
|
font-size: 0.85em; |
|
color: #555; |
|
text-align: center; |
|
} |
|
|
|
.footer a { |
|
color: #2a77d4; |
|
text-decoration: none; |
|
} |
|
|
|
.footer a:hover { |
|
text-decoration: underline; |
|
} |
|
|
|
.disclaimer { |
|
margin-top: 0.5em; |
|
font-style: italic; |
|
} |
|
|
|
.disclaimer-banner { |
|
background-color: #fff3cd; |
|
color: #856404; |
|
border: 1px solid #ffeeba; |
|
padding: 10px 15px; |
|
border-radius: 4px; |
|
margin: 15px 0; |
|
font-weight: bold; |
|
text-align: center; |
|
} |