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

+9
View File
@@ -0,0 +1,9 @@
$primary: #111111;
$secondary: #1c1c1c;
$primary-accent: #bbbbbb;
$secondary-accent: #929191;
$font-color-primary: #e1e1e1;
$green: #68caa4;
$blue: #68aaca;
@@ -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";
+105
View File
@@ -0,0 +1,105 @@
@import "./colors.scss";
@import "./pages/index.scss";
@import "./utils.scss";
@import "./components/index.scss";
html,
body,
#app {
margin: 0;
padding: 0;
height: 100vh;
width: 100vw;
overflow: hidden;
font-family: Tahoma, Geneva, sans-serif;
background-color: $primary;
display: grid;
align-items: center;
justify-items: center;
color: $font-color-primary;
}
.row {
display: flex;
flex-direction: row;
}
.col {
display: flex;
flex-direction: column;
}
.center {
display: flex;
justify-content: center;
align-items: center;
}
h1,
h2,
h3,
h4,
h5 {
justify-content: center;
align-items: center;
display: flex;
text-align: center;
}
/* width */
::-webkit-scrollbar {
width: 10px;
}
/* Track */
::-webkit-scrollbar-track {
background: $secondary;
}
/* Handle */
::-webkit-scrollbar-thumb {
background: $secondary-accent;
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background: $primary-accent;
}
:root {
touch-action: pan-x pan-y;
height: 100%;
}
button {
background-color: $secondary;
color: $primary-accent;
border-color: $primary-accent;
&:hover {
background-color: $primary;
border-color: $secondary-accent;
}
&.secondary {
background-color: $primary;
color: $secondary-accent;
border-color: $secondary-accent;
&:hover {
background-color: $secondary;
border-color: $primary-accent;
}
}
border-style: solid;
border-width: 1px;
padding: 2.5%;
margin-left: 5%;
margin-right: 5%;
border-radius: 5px;
cursor: pointer;
}
select {
@extend button;
margin: 0;
}
+4
View File
@@ -0,0 +1,4 @@
#page--home {
align-items: center;
justify-content: center;
}
+18
View File
@@ -0,0 +1,18 @@
@import "./Home.scss";
.page {
height: 100vh;
width: 100vw;
overflow: hidden;
font-size: 16px;
color: $font-color-primary;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
> div {
flex: 1;
}
}
+9
View File
@@ -0,0 +1,9 @@
.box {
background-color: $secondary;
max-width: 80%;
max-height: 30%;
min-width: 80%;
min-height: 30%;
border-radius: 10px;
padding: 10px;
}