latest work

This commit is contained in:
Ari Sosnovsky committed 2021-10-28 16:23:02 -04:00
commit 5f486a5f89
37 files changed
+12606

No files matched your search

@@ -0,0 +1,17 @@
.automation-editor {
&--root {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
button.elm-list {
width: 90%;
}
&--elm-list {
max-height: 300px;
overflow-y: auto;
overflow-x: hidden;
padding: 5%;
}
}
@@ -0,0 +1,69 @@
.automation-node {
display: flex;
flex-direction: row;
&-inner {
padding: 10px;
border-radius: 25px;
background-color: $secondary;
max-width: 200px;
max-height: 75px;
min-width: 200px;
min-height: 75px;
display: flex;
flex-direction: row;
flex-wrap: nowrap;
justify-content: space-around;
&-text {
flex: 2;
display: flex;
text-align: center;
justify-content: center;
align-items: center;
}
&-edge {
flex: 1;
border-radius: 30px;
display: flex;
flex-direction: column;
flex-wrap: nowrap;
justify-content: space-around;
align-items: center;
&.left {
border-left: 1px $secondary-accent solid;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
&.right {
border-right: 1px $secondary-accent solid;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
&:hover {
background-color: $primary-accent;
cursor: pointer;
}
}
}
&-children {
min-width: 250px;
padding: 2.5px;
&.closed {
height: 0;
width: 0;
display: none;
}
&.open {
border-radius: 25px;
border-color: $secondary-accent;
border-width: 1px;
border-style: solid;
display: flex;
flex-direction: column;
}
}
}
@@ -0,0 +1,7 @@
.input-wrapper {
display: flex;
flex-direction: column;
label {
font-size: 12px;
}
}
@@ -0,0 +1,45 @@
.new-node-modal {
position: absolute;
display: flex;
justify-content: center;
align-items: center;
width: 100vw;
height: 100vh;
left: 0;
top: 0;
&--background {
position: absolute;
z-index: 0;
width: 100vw;
height: 100vw;
background-color: rgba($secondary, 0.5);
}
&--inner {
z-index: 1;
max-width: 80%;
max-height: 60%;
min-height: 200px;
min-width: 200px;
border-radius: 20px;
padding: 15px;
display: flex;
flex-direction: column;
background-color: $primary;
border: 1px solid $primary-accent;
}
&--title {
text-align: center;
padding: 10px;
font-weight: bold;
}
&--body {
flex-grow: 1;
}
&--footer {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
}
}
+4
View File
@@ -0,0 +1,4 @@
@import "./AutomationNode.scss";
@import "./AutomationEditor.scss";
@import "./NewNodeModal.scss";
@import "./InputWrapper.scss";