Fix style to match unreal sizes

This commit is contained in:
barsdeveloper
2023-05-21 19:10:03 +02:00
parent f17b5ee15a
commit a3422ba8b6
14 changed files with 106 additions and 30 deletions

View File

@@ -152,7 +152,7 @@ ueb-node.ueb-node-style-event .ueb-node-top {
}
.ueb-node-name:last-child {
padding-right: 25px;
padding-right: 16px;
}
.ueb-zoom--2 .ueb-node-name {
@@ -198,11 +198,11 @@ ueb-node[data-pure-function="true"] .ueb-node-name-symbol {
.ueb-node-outputs,
.ueb-node-variadic {
padding-right: 10px;
padding-right: 8px;
}
.ueb-node-has-inputs .ueb-node-inputs {
padding-right: 30px;
padding-right: 20px;
}
.ueb-node-variadic {
@@ -320,7 +320,8 @@ ueb-node.ueb-node-style-operation .ueb-node-top {
align-self: center;
justify-self: center;
padding: 0;
font-size: 28px;
/* 2.15385 is to get an effective font size of 28px from --ueb-font-size which is 13 px */
font-size: calc(2.15385 * var(--ueb-font-size));
font-stretch: condensed;
font-weight: bold;
line-height: 100%;
@@ -385,7 +386,8 @@ ueb-node.ueb-node-style-comment .ueb-node-top {
border-radius: 0;
background: rgb(var(--ueb-node-color)) linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
color: white;
font-size: 24px;
/* 1.84615 is to get an effective font size of 24px from --ueb-font-size which is 13 px */
font-size: calc(1.84615 * var(--ueb-font-size));
text-shadow: 2px 1px 1px #444, 0 0 2px #bbb;
line-height: 1.22;
z-index: 1;