Small refactoring, set variable node

This commit is contained in:
barsdeveloper
2022-11-19 18:40:20 +01:00
parent 0981c15372
commit b55779312b
34 changed files with 524 additions and 253 deletions

View File

@@ -51,7 +51,7 @@ ueb-node[data-selected="true"]>.ueb-node-border {
padding: 1px;
box-shadow: inset 0 0 2px 0 black;
border-radius: var(--ueb-node-radius);
background: rgba(10, 10, 10, 0.8);
background: rgba(14, 16, 10, 0.8);
overflow: hidden;
}
@@ -194,20 +194,20 @@ ueb-node[data-advanced-display="Shown"] .ueb-node-expansion>svg {
transform: scaleY(-1)
}
ueb-node.ueb-node-type-variable .ueb-node-wrapper,
ueb-node.ueb-node-type-variable .ueb-node-border,
ueb-node.ueb-node-type-variable {
ueb-node.ueb-node-style-glass .ueb-node-wrapper,
ueb-node.ueb-node-style-glass .ueb-node-border,
ueb-node.ueb-node-style-glass {
border-radius: 15px;
box-shadow: none;
}
ueb-node.ueb-node-type-variable .ueb-node-wrapper {
ueb-node.ueb-node-style-glass .ueb-node-wrapper {
border: 1px solid black;
box-shadow: 1px 1px 0 0 rgba(255, 255, 255, 0.6) inset, 0 -2px 2px 1px rgba(0, 0, 0, 0.5) inset;
background:
linear-gradient(to bottom, rgba(255, 255, 255, 0.188) 0%, rgba(255, 255, 255, 0.063) 49%, rgba(0, 0, 0, 0.251) 49%),
linear-gradient(to bottom, rgba(255, 255, 255, 0.188) 0%, rgba(255, 255, 255, 0.063) 14px, rgba(0, 0, 0, 0.251) 14px),
linear-gradient(to right, transparent 10%, rgba(var(--ueb-node-color), 0.3) 50%, transparent 90%);
background-size: 100%, 100% 82%;
background-size: 100%, 100% 28px;
background-repeat: repeat, no-repeat;
}
@@ -215,3 +215,17 @@ ueb-node[data-selected="true"] .ueb-node-border {
box-shadow: inset 0 0 0px 6px #ce8700;
background: none;
}
ueb-node.ueb-node-style-glass .ueb-node-top,
ueb-node.ueb-node-style-glass .ueb-node-name {
margin: 0;
box-shadow: none;
border-radius: 0;
background: none;
}
ueb-node.ueb-node-style-glass .ueb-node-top {
position: absolute;
left: 50%;
translate: -50%;
}