WIP: enhance validation feedback in code editor, add support for multiple validation indicators and new validation types

This commit is contained in:
Michael Czechowski
2025-05-19 12:55:43 +02:00
parent 4f5154b795
commit e4d03c6b7f
7 changed files with 230 additions and 81 deletions

View File

@@ -343,15 +343,6 @@ code {
transition: background-color 0.2s ease;
}
.code-input.inline-input {
display: inline-block;
min-height: 30px;
height: auto;
padding: 2px 4px;
margin: 0 4px;
border-bottom: 1px dashed #666;
}
/* Controls */
.controls {
display: flex;
@@ -424,10 +415,16 @@ code {
border: 1px solid var(--success-color);
}
.validation-success-indicator {
.validation-indicators-container {
position: absolute;
top: 1rem;
right: 7rem;
display: flex;
gap: 5px;
z-index: 5;
}
.validation-success-indicator {
background-color: var(--success-color);
color: white;
width: 20px;
@@ -437,7 +434,6 @@ code {
align-items: center;
justify-content: center;
font-size: 12px;
z-index: 5;
}
/* Module selector button with progress */