- Fixed theme class application from html to body element for proper CSS inheritance - Removed CSS conflicts between base styles and error/success states - Fixed focus state interference with error/success background colors - Changed error message panel to fixed placement (no more UI jumping) - Added theme-consistent styling for alert-success in all theme modes - Expression textbox now properly shows red/green backgrounds in manual themes - Status message now shows Expression is correct vs error message consistently
108 lines
2.4 KiB
CSS
108 lines
2.4 KiB
CSS
body {
|
|
margin: 0;
|
|
background-color: #f8f9fa;
|
|
}
|
|
|
|
code {
|
|
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
|
|
monospace;
|
|
}
|
|
|
|
.container-fluid {
|
|
height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.content-section {
|
|
flex: 1;
|
|
min-height: 0;
|
|
}
|
|
|
|
.textarea-container {
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.form-control {
|
|
resize: vertical;
|
|
}
|
|
|
|
.input-section .form-control {
|
|
flex: 1;
|
|
min-height: 200px;
|
|
}
|
|
|
|
.output-section .form-control {
|
|
flex: 1;
|
|
min-height: 200px;
|
|
background-color: #f8f9fa;
|
|
}
|
|
|
|
.error {
|
|
background-color: var(--error-bg-light) !important;
|
|
border-color: var(--error-border-light) !important;
|
|
color: var(--error-text-light);
|
|
}
|
|
|
|
.success {
|
|
background-color: var(--success-bg-light) !important;
|
|
border-color: var(--success-border-light) !important;
|
|
color: var(--success-text-light);
|
|
}
|
|
|
|
.header-section {
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
color: white;
|
|
padding: 2rem 0;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
/* Dark mode support for error states */
|
|
@media (prefers-color-scheme: dark) {
|
|
.error {
|
|
background-color: var(--error-bg-dark) !important;
|
|
border-color: var(--error-border-dark) !important;
|
|
color: var(--error-text-dark) !important;
|
|
}
|
|
}
|
|
|
|
/* Manual theme overrides for error states */
|
|
.theme-dark .error {
|
|
background-color: var(--error-bg-dark) !important;
|
|
border-color: var(--error-border-dark) !important;
|
|
color: var(--error-text-dark) !important;
|
|
}
|
|
|
|
.theme-light .error {
|
|
background-color: var(--error-bg-light) !important;
|
|
border-color: var(--error-border-light) !important;
|
|
color: var(--error-text-light) !important;
|
|
}
|
|
|
|
/* Manual theme overrides for success states */
|
|
.theme-dark .success {
|
|
background-color: var(--success-bg-dark) !important;
|
|
border-color: var(--success-border-dark) !important;
|
|
color: var(--success-text-dark) !important;
|
|
}
|
|
|
|
.theme-light .success {
|
|
background-color: var(--success-bg-light) !important;
|
|
border-color: var(--success-border-light) !important;
|
|
color: var(--success-text-light) !important;
|
|
}
|
|
|
|
/* Additional specificity for jmespath-input with error class */
|
|
.theme-dark .jmespath-input.error {
|
|
background-color: #4a1e1e !important;
|
|
border-color: #6d2c2c !important;
|
|
color: #f8d7da !important;
|
|
}
|
|
|
|
.theme-light .jmespath-input.error {
|
|
background-color: #f8d7da !important;
|
|
border-color: #f5c6cb !important;
|
|
color: #721c24 !important;
|
|
} |