mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-05-13 23:37:30 +08:00
New nodes types added
This commit is contained in:
@@ -205,12 +205,12 @@ 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-style-glass .ueb-node-wrapper {
|
||||
border: 1px solid black;
|
||||
box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.6) inset, 0 -2px 2px 1px rgba(0, 0, 0, 0.5) inset;
|
||||
padding: 3px;
|
||||
background:
|
||||
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%);
|
||||
@@ -235,12 +235,25 @@ ueb-node.ueb-node-style-glass .ueb-node-top {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
translate: -50%;
|
||||
padding: 3px;
|
||||
}
|
||||
|
||||
ueb-node.ueb-node-style-glass .ueb-node-outputs:first-child {
|
||||
padding-left: 8px;
|
||||
}
|
||||
|
||||
ueb-node.ueb-node-style-operation .ueb-node-top {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
translate: -50% -50%;
|
||||
font-size: 28px;
|
||||
}
|
||||
|
||||
ueb-node.ueb-node-style-operation .ueb-node-inputs {
|
||||
margin-right: 100px;
|
||||
}
|
||||
|
||||
ueb-node:not(.ueb-node-style-comment) {
|
||||
z-index: 10;
|
||||
}
|
||||
@@ -293,3 +306,15 @@ ueb-node.ueb-node-style-comment .ueb-node-top {
|
||||
text-shadow: 2px 1px 1px #444, 0 0 2px #bbb;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
ueb-node.ueb-node-style-conversion .ueb-node-content::after {
|
||||
content: "";
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: calc(50% - 3px);
|
||||
left: calc(50% - 3px);
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
border-radius: 3px;
|
||||
background: #8f8f8f;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user