initial svg
This commit is contained in:
1 parent
c933589998
commit
a8c83afaff
22 files changed
+452
-21
No files matched your search
@@ -0,0 +1,69 @@
|
||||
.automation-dag {
|
||||
height: 99%;
|
||||
width: 99%;
|
||||
border: 1px solid $secondary-accent;
|
||||
svg {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.edge {
|
||||
stroke: $secondary-accent;
|
||||
}
|
||||
#arrow > path {
|
||||
fill: $secondary-accent;
|
||||
}
|
||||
|
||||
&--node {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
background-color: $secondary;
|
||||
border-radius: 1em;
|
||||
height: 100%;
|
||||
max-height: 100%;
|
||||
max-width: 100%;
|
||||
width: 100%;
|
||||
font-size: 0.5em;
|
||||
|
||||
&-inner {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex: 1;
|
||||
|
||||
&-text {
|
||||
flex: 2;
|
||||
display: flex;
|
||||
text-align: center;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
&-edge {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex-wrap: nowrap;
|
||||
border-radius: 1em;
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2,6 +2,7 @@
|
||||
@import "./AutomationEditor.scss";
|
||||
@import "./NewNodeModal.scss";
|
||||
@import "./InputWrapper.scss";
|
||||
@import "./AutomationDAG.scss";
|
||||
|
||||
* {
|
||||
transition: all 200ms ease-in;
|
||||
|
||||
@@ -6,6 +6,8 @@
|
||||
overflow: hidden;
|
||||
font-size: 16px;
|
||||
color: $font-color-primary;
|
||||
max-width: 100vw;
|
||||
max-height: 100vh;
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
Reference in new issue
Block a user