mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-05-19 04:07:33 +08:00
SVGIcon class, Macro reference entity
This commit is contained in:
21
dist/css/ueb-style.css
vendored
21
dist/css/ueb-style.css
vendored
@@ -259,13 +259,13 @@ ueb-link svg {
|
||||
transform: scaleY(calc(var(--ueb-y-reflected-coefficient) * var(--ueb-from-input-coefficient)));
|
||||
}
|
||||
|
||||
ueb-link svg path {
|
||||
ueb-link .ueb-link-area path {
|
||||
visibility: visible;
|
||||
stroke: var(--ueb-link-color);
|
||||
stroke-width: calc(3px / var(--ueb-scale));
|
||||
}
|
||||
|
||||
ueb-link[data-dragging=true] svg path,
|
||||
ueb-link[data-dragging=true] .ueb-link-area path,
|
||||
ueb-link .ueb-link-area:hover path {
|
||||
stroke-width: calc(6px / var(--ueb-scale));
|
||||
transition: stroke-width 0.8s;
|
||||
@@ -278,7 +278,6 @@ ueb-link .ueb-link-area:hover path {
|
||||
top: calc(100% * (1 - var(--ueb-y-reflected)) + 22px);
|
||||
left: calc((1 - var(--ueb-from-input)) * 100% + (var(--ueb-from-input-coefficient)) * var(--ueb-start-percentage) + 15px);
|
||||
border: 1px solid #000;
|
||||
padding: 4px 8px;
|
||||
border-radius: 2px;
|
||||
background: linear-gradient(to bottom, #2a2a2a 0, #151515 50%, #2a2a2a 100%);
|
||||
color: var(--ueb-pin-dim-color);
|
||||
@@ -286,6 +285,22 @@ ueb-link .ueb-link-area:hover path {
|
||||
z-index: 1000000;
|
||||
}
|
||||
|
||||
.ueb-link-message-icon {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
.ueb-link-message-text {
|
||||
padding: 4px 8px;
|
||||
}
|
||||
|
||||
.ueb-link-message-icon svg {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
ueb-node {
|
||||
display: block;
|
||||
position: absolute;
|
||||
|
||||
Reference in New Issue
Block a user