Resizeable comments

This commit is contained in:
barsdeveloper
2022-12-04 22:12:53 +01:00
parent 41e1ffd59b
commit 9e8e25d832
19 changed files with 1103 additions and 443 deletions

View File

@@ -321,10 +321,6 @@ ueb-node {
box-shadow: none;
}
ueb-blueprint[data-scrolling=false][data-selecting=false] ueb-node {
cursor: move;
}
.ueb-node-border {
margin: -3px;
padding: 3px;
@@ -361,6 +357,10 @@ ueb-node[data-selected=true] > .ueb-node-border {
overflow: hidden;
}
ueb-blueprint[data-scrolling=false][data-selecting=false] .ueb-node-wrapper {
cursor: move;
}
.ueb-zoom--2 .ueb-node-wrapper {
box-shadow: none;
padding: 0;
@@ -528,10 +528,20 @@ ueb-node.ueb-node-style-glass .ueb-node-outputs:first-child {
padding-left: 8px;
}
ueb-node.ueb-node-style-comment {
z-index: -1;
}
ueb-node.ueb-node-style-comment .ueb-node-border {
height: 100%;
}
ueb-node.ueb-node-style-comment .ueb-node-wrapper {
padding: 0;
height: 100%;
border-radius: 0;
background: rgba(var(--ueb-node-color), 0.5);
box-shadow: 0;
box-shadow: none;
}
ueb-node.ueb-node-style-comment .ueb-node-top {
@@ -702,7 +712,6 @@ ueb-pin[data-type="/Script/CoreUObject.LinearColor"] .ueb-pin-input {
line-height: calc(1em + 1px);
background: none;
color: inherit;
cursor: text;
overflow: auto;
}
.ueb-pin-input-content::-webkit-scrollbar {
@@ -715,6 +724,10 @@ ueb-pin[data-type="/Script/CoreUObject.LinearColor"] .ueb-pin-input {
margin: 4px;
}
ueb-blueprint[data-scrolling=false][data-selecting=false] .ueb-node-wrapper {
cursor: move;
}
.ueb-button {
min-width: 60px;
border: 1px solid #0f0f0f;
@@ -803,6 +816,76 @@ ueb-window .ueb-pin-input-content {
cursor: pointer;
}
.ueb-resizeable-top,
.ueb-resizeable-top-right,
.ueb-resizeable-top-left {
position: absolute;
top: 0;
height: 10px;
}
.ueb-resizeable-top {
right: 0;
left: 0;
cursor: ns-resize;
}
.ueb-resizeable-top-right {
right: 0;
width: 10px;
cursor: nesw-resize;
}
.ueb-resizeable-top-left {
left: 0;
width: 10px;
cursor: nwse-resize;
}
.ueb-resizeable-right {
position: absolute;
top: 0;
right: 0;
bottom: 0;
width: 10px;
cursor: ew-resize;
}
.ueb-resizeable-bottom,
.ueb-resizeable-bottom-right,
.ueb-resizeable-bottom-left {
position: absolute;
bottom: -3px;
height: 10px;
cursor: ns-resize;
}
.ueb-resizeable-bottom {
right: 0;
left: 0;
}
.ueb-resizeable-bottom-right {
right: 0;
width: 10px;
cursor: nwse-resize;
}
.ueb-resizeable-bottom-left {
left: 0;
width: 10px;
cursor: nesw-resize;
}
.ueb-resizeable-left {
position: absolute;
top: 0;
bottom: 0;
left: 0;
width: 10px;
cursor: ew-resize;
}
ueb-window {
display: block;
position: absolute;