mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-23 23:27:09 +00:00
Show validation errors
This commit is contained in:
@@ -67,7 +67,8 @@
|
||||
border-bottom-left-radius: 3px;
|
||||
}
|
||||
|
||||
.node-header > *:last-child {
|
||||
.node-header > *:last-child,
|
||||
.node-header[data-error] > *:nth-last-child(2) {
|
||||
border-top-right-radius: 3px;
|
||||
border-bottom-right-radius: 3px;
|
||||
}
|
||||
@@ -120,6 +121,13 @@ button.remove::before {
|
||||
content: url('./images/trash.svg');
|
||||
}
|
||||
|
||||
.node-header[data-error] > svg {
|
||||
border: none;
|
||||
height: 34px;
|
||||
width: 34px;
|
||||
padding: 6px;
|
||||
}
|
||||
|
||||
.node-body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -175,6 +183,10 @@ button.remove {
|
||||
background-color: #e76f51;
|
||||
}
|
||||
|
||||
.node-header[data-error] > svg {
|
||||
fill: #e76f51;
|
||||
}
|
||||
|
||||
.node-body {
|
||||
border-color: #b9b9b9 !important;
|
||||
transition: border-color var(--style-transition);
|
||||
@@ -239,6 +251,10 @@ body[data-style=dark] button.remove {
|
||||
background-color: #b64023;
|
||||
}
|
||||
|
||||
body[data-style=dark] .node-header[data-error] > svg {
|
||||
fill: #b64023;
|
||||
}
|
||||
|
||||
body[data-style=dark] .node-body {
|
||||
border-color: #454749 !important;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user