mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-05-13 15:27:30 +08:00
Several visual fixes
This commit is contained in:
@@ -72,7 +72,6 @@ ueb-node[data-selected="true"]>.ueb-node-border {
|
||||
}
|
||||
|
||||
.ueb-node-outputs ueb-pin[data-type="exec"] .ueb-pin-wrapper {
|
||||
margin-right: -3px;
|
||||
min-height: 26px;
|
||||
}
|
||||
|
||||
@@ -100,8 +99,8 @@ ueb-blueprint[data-scrolling="false"][data-selecting="false"] ueb-node.ueb-node-
|
||||
.ueb-node-top {
|
||||
grid-area: top;
|
||||
color: #d0d0d0;
|
||||
/* 1.030769 is to get an effective font size of 13.4px from --ueb-font-size which is 13 px */
|
||||
font-size: calc(1.030769 * var(--ueb-font-size));
|
||||
/* 112% is to get an effective font size of 14px from --ueb-font-size which is 12.5 px by default */
|
||||
font-size: 112%;
|
||||
font-weight: bold;
|
||||
line-height: 120%;
|
||||
white-space: nowrap;
|
||||
@@ -184,8 +183,8 @@ ueb-node[data-pure-function="true"] .ueb-node-name-symbol {
|
||||
.ueb-node-subtitle-text {
|
||||
padding-top: 1px;
|
||||
padding-right: 5px;
|
||||
/* 0.946154 is to get an effective font size of 12.3px from --ueb-font-size which is 13 px */
|
||||
font-size: calc(0.946154 * var(--ueb-font-size));
|
||||
/* Reset font size set by the parent */
|
||||
font-size: var(--ueb-font-size);
|
||||
font-weight: 100;
|
||||
font-style: italic;
|
||||
color: #a9b78f;
|
||||
@@ -196,8 +195,8 @@ ueb-node[data-pure-function="true"] .ueb-node-name-symbol {
|
||||
}
|
||||
|
||||
ueb-node.ueb-node-has-inputs .ueb-node-inputs {
|
||||
padding-right: 20px;
|
||||
padding-left: 5px;
|
||||
padding-right: 15px;
|
||||
padding-left: 6px;
|
||||
}
|
||||
|
||||
.ueb-node-outputs {
|
||||
@@ -206,7 +205,7 @@ ueb-node.ueb-node-has-inputs .ueb-node-inputs {
|
||||
|
||||
.ueb-node-outputs,
|
||||
.ueb-node-variadic {
|
||||
padding-right: 8px;
|
||||
padding-right: 6px;
|
||||
}
|
||||
|
||||
.ueb-node-variadic {
|
||||
@@ -324,8 +323,8 @@ ueb-node.ueb-node-style-operation .ueb-node-top {
|
||||
align-self: center;
|
||||
justify-self: center;
|
||||
padding: 0;
|
||||
/* 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));
|
||||
/* 224% is to get an effective font size of 28px from --ueb-font-size which is 12.5 px by default */
|
||||
font-size: 224%;
|
||||
font-stretch: condensed;
|
||||
font-weight: bold;
|
||||
line-height: 100%;
|
||||
@@ -390,8 +389,8 @@ ueb-node.ueb-node-style-comment .ueb-node-top {
|
||||
border-radius: 0;
|
||||
background: rgb(var(--ueb-node-color));
|
||||
color: white;
|
||||
/* 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));
|
||||
/* 192% is to get an effective font size of 24px from --ueb-font-size which is 12.5 px */
|
||||
font-size: 192%;
|
||||
text-shadow: 2px 1px 1px #444, 0 0 2px #bbb;
|
||||
line-height: 1.22;
|
||||
z-index: 1;
|
||||
|
||||
Reference in New Issue
Block a user