1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

[groups] Add default group style to css so can be themed

This commit is contained in:
Nick O'Leary 2020-03-26 15:25:08 +00:00
parent afb564a4fc
commit ef9db701f8
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9
2 changed files with 10 additions and 2 deletions

View File

@ -284,3 +284,8 @@ $debug-message-border: #eee;
$debug-message-border-hover: #999; $debug-message-border-hover: #999;
$debug-message-border-warning: #ffdf9d; $debug-message-border-warning: #ffdf9d;
$debug-message-border-error: #f99; $debug-message-border-error: #f99;
$group-default-fill: none;
$group-default-fill-opacity: 1;
$group-default-stroke: #999;
$group-default-stroke-opacity: 1;

View File

@ -83,8 +83,8 @@
stroke: $link-link-color; stroke: $link-link-color;
} }
} }
} }
.red-ui-flow-group-outline { .red-ui-flow-group-outline {
fill: none; fill: none;
stroke: $node-selected-color; stroke: $node-selected-color;
@ -101,8 +101,11 @@
} }
.red-ui-flow-group-body { .red-ui-flow-group-body {
pointer-events: none; pointer-events: none;
fill-opacity: 1; fill: $group-default-fill;
fill-opacity: $group-default-fill-opacity;
stroke-width: 2; stroke-width: 2;
stroke: $group-default-stroke;
stroke-opacity: $group-default-stroke-opacity;
} }
.red-ui-flow-group-label { .red-ui-flow-group-label {
@include disable-selection; @include disable-selection;