WIP: enhance validation feedback in code editor, add support for multiple validation indicators and new validation types
This commit is contained in:
18
src/main.css
18
src/main.css
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user