mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Complete overhaul of Group UX
This commit is contained in:
@@ -91,10 +91,13 @@
|
||||
|
||||
.red-ui-flow-group {
|
||||
&.red-ui-flow-group-hovered {
|
||||
.red-ui-flow-group-outline-select {
|
||||
.red-ui-flow-group-outline-select-line {
|
||||
stroke-opacity: 0.8 !important;
|
||||
stroke-dasharray: 10 4 !important;
|
||||
}
|
||||
.red-ui-flow-group-outline-select-outline {
|
||||
stroke-opacity: 0.8 !important;
|
||||
}
|
||||
}
|
||||
&.red-ui-flow-group-active-hovered:not(.red-ui-flow-group-hovered) {
|
||||
.red-ui-flow-group-outline-select {
|
||||
@@ -113,15 +116,35 @@
|
||||
.red-ui-flow-group-outline-select {
|
||||
fill: none;
|
||||
stroke: var(--red-ui-node-selected-color);
|
||||
pointer-events: stroke;
|
||||
pointer-events: none;
|
||||
stroke-opacity: 0;
|
||||
stroke-width: 3;
|
||||
stroke-width: 2;
|
||||
|
||||
&.red-ui-flow-group-outline-select-background {
|
||||
&.red-ui-flow-group-outline-select-outline {
|
||||
stroke: var(--red-ui-view-background);
|
||||
stroke-width: 6;
|
||||
stroke-width: 4;
|
||||
}
|
||||
&.red-ui-flow-group-outline-select-background {
|
||||
fill: white;
|
||||
fill-opacity: 0;
|
||||
pointer-events: stroke;
|
||||
stroke-width: 16;
|
||||
}
|
||||
}
|
||||
|
||||
svg:not(.red-ui-workspace-lasso-active) {
|
||||
.red-ui-flow-group:not(.red-ui-flow-group-selected) {
|
||||
.red-ui-flow-group-outline-select.red-ui-flow-group-outline-select-background:hover {
|
||||
~ .red-ui-flow-group-outline-select {
|
||||
stroke-opacity: 0.4 !important;
|
||||
}
|
||||
~ .red-ui-flow-group-outline-select-line {
|
||||
stroke-dasharray: 10 4 !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.red-ui-flow-group-body {
|
||||
pointer-events: none;
|
||||
fill: var(--red-ui-group-default-fill);
|
||||
|
Reference in New Issue
Block a user