cleaned up styles for node display

This commit is contained in:
ari committed 2022-06-29 15:07:55 -04:00
1 parent 9a43330501
commit 4d9afbe26b
10 files changed
+173 -68

No files matched your search

+56
View File
@@ -1,3 +1,59 @@
.dagnode {
font-size: 0.9em;
display: flex;
justify-content: center;
align-items: center;
cursor: default;
}
.dagnode--inner {
position: relative;
display: flex;
flex-direction: row;
justify-content: flex-start;
align-items: center;
padding: 1.5em 0.5em;
/* width: calc(100% - 0.5em);
height: calc(100% - 0.5em); */
border-style: solid;
border-width: 1px;
border-radius: 10px;
}
.dagnode--label {
flex: 1;
display: flex;
overflow: hidden;
text-overflow: ellipsis;
word-wrap: break-word;
overflow-wrap: break-word;
align-items: center;
justify-content: center;
text-align: center;
}
.dagnode .dagnode--inner .speed-dial {
height: 2em;
width: 2em;
min-height: 2em;
max-height: 2em;
position: absolute;
top: -1em;
left: -1em;
background-color: var(--primary);
border-color: var(--primary-accent);
border-style: solid;
border-width: 0.5px;
border-radius: 20px;
}
.open>.dagnode--actions-btn, .dagnode--actions-btn:hover {
color: var(--primary);
background-color: var(--primary-accent);
border-radius: 20px;
}
.dagnode--actions--move.right {
transform: rotate(180deg);
}