rebuilt condition editor
This commit is contained in:
1 parent
6da5a7592e
commit
cc2597c408
18 files changed
+599
-445
No files matched your search
@@ -0,0 +1,66 @@
|
||||
.condition-node-base {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
max-height: 85vh;
|
||||
}
|
||||
|
||||
.condition-node-base--list {
|
||||
max-width: 10em;
|
||||
width: 7em;
|
||||
}
|
||||
|
||||
.condition-node-base--body {
|
||||
flex: 1;
|
||||
min-height: 1.5em;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
|
||||
.condition-node-base--body--children.view {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
min-height: calc(100% - 1px);
|
||||
max-height: calc(100% - 1px);
|
||||
background-color: var(--secondary);
|
||||
border-color: var(--secondary-accent);
|
||||
border-bottom-style: solid;
|
||||
border-width: 1px;
|
||||
}
|
||||
|
||||
.condition-node-base--body .input-yaml {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.condition-node-base--body {
|
||||
overflow: auto;
|
||||
max-width: 100vw;
|
||||
}
|
||||
|
||||
.condition-node-base--body .condition-node-base--body--children {
|
||||
flex: 1;
|
||||
padding-left: 0.5em;
|
||||
max-width: 100vw;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
.condition-node-base.is-edited>.condition-node-base--body {
|
||||
max-height: calc(100%-2px-1em);
|
||||
max-width: calc(100vw-2px-1em);
|
||||
border-color: var(--green);
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
margin: 0.25em;
|
||||
padding: 0.25em;
|
||||
}
|
||||
|
||||
.condition-node--logic-viewer--add {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
padding: 0.5em;
|
||||
background-color: var(--secondary);
|
||||
}
|
||||
Reference in new issue
Block a user