mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-04 08:50:33 +08:00
New templates, node advanced display, style fixes
This commit is contained in:
@@ -19,6 +19,7 @@ ueb-blueprint {
|
||||
position: relative;
|
||||
font-family: Roboto, Noto, Oxygen, Ubuntu, "Open Sans", "Helvetica Neue", sans-serif;
|
||||
font-size: var(--ueb-font-size);
|
||||
color: #fff;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
|
||||
@@ -60,7 +60,6 @@ ueb-blueprint[data-drag-scrolling="false"][data-selecting="false"] ueb-node {
|
||||
.ueb-node-body {
|
||||
display: flex;
|
||||
padding: 1px 0;
|
||||
color: white;
|
||||
font-weight: 100;
|
||||
white-space: nowrap;
|
||||
}
|
||||
@@ -75,10 +74,16 @@ ueb-blueprint[data-drag-scrolling="false"][data-selecting="false"] ueb-node {
|
||||
padding-right: 8px;
|
||||
}
|
||||
|
||||
.ueb-node-expand {
|
||||
.ueb-node-expansion {
|
||||
display: none;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
ueb-node[data-advanced-display] .ueb-node-expand {
|
||||
.ueb-node-expansion:hover {
|
||||
background-color: #656765;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
ueb-node[data-advanced-display] .ueb-node-expansion {
|
||||
display: block;
|
||||
}
|
||||
@@ -30,8 +30,8 @@ ueb-blueprint[data-drag-scrolling="false"][data-selecting="false"] ueb-pin:hover
|
||||
.ueb-pin-icon-value {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
width: calc(1em - 1px);
|
||||
height: calc(1em - 1px);
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
vertical-align: baseline;
|
||||
margin: 0 0.5em -1px 0.1em;
|
||||
}
|
||||
@@ -56,8 +56,8 @@ ueb-pin.ueb-pin-fill .ueb-pin-icon-value::before {
|
||||
content: "";
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: calc(50% - 0.3em);
|
||||
left: calc(100% + 1px);
|
||||
top: 3px;
|
||||
left: 13px;
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-top: 0.3em solid transparent;
|
||||
|
||||
Reference in New Issue
Block a user