using storybook
converted to jss
This commit is contained in:
1 parent
6d4fe7749a
commit
df272e138c
33 files changed
+8944
-1650
No files matched your search
@@ -0,0 +1,110 @@
|
||||
.automation-editor {
|
||||
height: 99%;
|
||||
width: 99%;
|
||||
color: $primary-accent;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
||||
&-dag {
|
||||
border: 1px solid $secondary-accent;
|
||||
width: 100%;
|
||||
svg {
|
||||
height: 99%;
|
||||
width: 99%;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
|
||||
circle {
|
||||
fill: adjust-color($color: $secondary, $green: 125, $blue: 125);
|
||||
&.blue {
|
||||
fill: adjust-color($color: $secondary, $blue: 125);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&-info-box {
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: flex-start;
|
||||
overflow: auto;
|
||||
}
|
||||
.edge {
|
||||
stroke: $secondary-accent;
|
||||
}
|
||||
#arrow > path {
|
||||
fill: $secondary-accent;
|
||||
}
|
||||
span {
|
||||
font-size: 8px;
|
||||
}
|
||||
|
||||
&--node {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
background-color: $secondary;
|
||||
border-radius: 1em;
|
||||
height: 100%;
|
||||
max-height: 100%;
|
||||
max-width: 100%;
|
||||
width: 100%;
|
||||
|
||||
&-inner {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex: 1;
|
||||
|
||||
&.top-color {
|
||||
&.red {
|
||||
border-top-color: adjust-color($color: $secondary, $red: 125);
|
||||
}
|
||||
&.blue {
|
||||
border-top-color: adjust-color($color: $secondary, $blue: 125);
|
||||
}
|
||||
&.green {
|
||||
border-top-color: adjust-color($color: $secondary, $green: 125);
|
||||
}
|
||||
|
||||
border-top-width: 1px;
|
||||
border-top-style: solid;
|
||||
border-top-left-radius: 10px;
|
||||
border-top-right-radius: 10px;
|
||||
}
|
||||
|
||||
&-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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
.input-wrapper {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin-top: 10px;
|
||||
margin-bottom: 0.25em;
|
||||
|
||||
label {
|
||||
font-size: 10px;
|
||||
position: absolute;
|
||||
left: 0.75em;
|
||||
top: 0.5em;
|
||||
font-weight: bold;
|
||||
}
|
||||
select,
|
||||
textarea,
|
||||
input {
|
||||
padding-top: 16px;
|
||||
padding-left: 8px;
|
||||
resize: none;
|
||||
}
|
||||
// .input-view {
|
||||
// @extend input;
|
||||
// cursor: default;
|
||||
// }
|
||||
// a.icon {
|
||||
// cursor: pointer;
|
||||
// position: absolute;
|
||||
// right: 0.5em;
|
||||
// top: 0.5em;
|
||||
|
||||
// &:hover {
|
||||
// transform: rotate(90deg);
|
||||
// > svg {
|
||||
// fill: $secondary-accent;
|
||||
// }
|
||||
// }
|
||||
|
||||
// &.opened {
|
||||
// transform: rotate(360deg);
|
||||
// height: 0.5em;
|
||||
// right: 0.25em;
|
||||
// &.checkmark {
|
||||
// opacity: 1;
|
||||
// z-index: 1;
|
||||
// }
|
||||
// &.pencil {
|
||||
// opacity: 0;
|
||||
// z-index: -1;
|
||||
// }
|
||||
// }
|
||||
|
||||
// &.pencil {
|
||||
// opacity: 1;
|
||||
// z-index: 1;
|
||||
// }
|
||||
// &.checkmark {
|
||||
// opacity: 0;
|
||||
// z-index: -1;
|
||||
// }
|
||||
// }
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
.state-manager-options {
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
@import "./NewNodeModal.scss";
|
||||
@import "./InputWrapper.scss";
|
||||
@import "./AutomationDAG.scss";
|
||||
|
||||
* {
|
||||
transition: all 200ms ease-in;
|
||||
}
|
||||
Reference in new issue
Block a user