Various styling fixes

This commit is contained in:
barsdeveloper
2023-05-21 02:21:52 +02:00
parent cccae45d7a
commit 6ed6d397a5
14 changed files with 80 additions and 42 deletions

View File

@@ -26,16 +26,21 @@ ueb-link>svg {
z-index: 1;
}
ueb-link .ueb-link-area path {
ueb-link .ueb-link-path {
visibility: visible;
stroke: var(--ueb-link-color);
stroke-width: calc(1.5px / var(--ueb-scale));
transition: stroke-width 0.8s;
}
ueb-link[data-dragging="true"] .ueb-link-area path,
ueb-link .ueb-link-area:hover path {
ueb-link .ueb-link-area {
visibility: visible;
stroke-width: 20px;
}
ueb-link[data-dragging="true"] .ueb-link-path,
.ueb-link-area:hover~.ueb-link-path {
stroke-width: calc(6px / var(--ueb-scale));
transition: stroke-width 0.8s;
}
ueb-link[data-dragging="true"] .ueb-link-message {

View File

@@ -99,11 +99,16 @@ ueb-blueprint[data-scrolling="false"][data-selecting="false"] ueb-node.ueb-node-
.ueb-node-top {
grid-area: top;
color: #d0d0d0;
font-size: calc(var(--ueb-font-size) + 0.5px);
font-size: var(--ueb-font-size);
font-weight: 600;
line-height: 120%;
white-space: nowrap;
}
ueb-node.ueb-node-style-setter .ueb-node-top {
max-height: 5px;
}
ueb-node.ueb-node-style-comment .ueb-node-top {
white-space: normal;
}
@@ -140,7 +145,6 @@ ueb-node.ueb-node-style-event .ueb-node-top {
background: radial-gradient(ellipse 100% 100% at 40% 50%, rgba(0, 0, 0, 0.5) 20%, transparent 50%);
margin: -1px -15px;
padding: 2px 15px;
line-height: 120%;
}
.ueb-node-style-setter .ueb-node-name {

View File

@@ -49,6 +49,7 @@ ueb-node.ueb-node-style-minimal .ueb-pin-wrapper {
.ueb-node-top .ueb-pin-wrapper {
padding: 2px 4px 2px 10px;
min-height: 0;
}
ueb-blueprint[data-scrolling="false"][data-selecting="false"] .ueb-pin-wrapper:hover {
@@ -140,12 +141,12 @@ ueb-node[data-type="/Script/BlueprintGraph.K2Node_VariableSet"] ueb-pin[data-dir
}
.ueb-pin-input-wrapper {
display: flex;
display: inline-flex;
padding-left: 8px;
}
.ueb-pin-input {
margin-left: 6px;
margin-left: 5px;
border: 1px solid #a0a0a0;
border-radius: 3px;
padding: 0 4px 0 4px;
@@ -208,6 +209,7 @@ ueb-pin[data-type="/Script/CoreUObject.LinearColor"] .ueb-pin-input {
min-width: 10px;
max-width: 400px;
max-height: 16em;
font-size: 12.6px;
background: none;
color: inherit;
overflow: auto;