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

Add gray/grey alternate options for status

This commit is contained in:
Dave Conway-Jones 2020-11-05 09:20:47 +00:00
parent a58f4c2ec2
commit 65d90a6dff
No known key found for this signature in database
GPG Key ID: 88BA2B8A411BE9FF
3 changed files with 5 additions and 3 deletions

View File

@ -98,7 +98,8 @@ RED.view = (function() {
"green": "#5a8", "green": "#5a8",
"yellow": "#F9DF31", "yellow": "#F9DF31",
"blue": "#53A3F3", "blue": "#53A3F3",
"grey": "#d3d3d3" "grey": "#d3d3d3",
"gray": "#d3d3d3"
} }
var PORT_TYPE_INPUT = 1; var PORT_TYPE_INPUT = 1;

View File

@ -217,7 +217,8 @@ $node-status-colors: (
green: #5a8, green: #5a8,
yellow: #F9DF31, yellow: #F9DF31,
blue: #53A3F3, blue: #53A3F3,
grey: #d3d3d3 grey: #d3d3d3,
gray: #d3d3d3
); );

View File

@ -251,7 +251,7 @@ g.red-ui-flow-node-selected {
stroke-dasharray: none; stroke-dasharray: none;
} }
} }
@each $current-color in red green yellow blue grey { @each $current-color in red green yellow blue grey gray {
.red-ui-flow-node-status-dot-#{$current-color} { .red-ui-flow-node-status-dot-#{$current-color} {
fill: map-get($node-status-colors,$current-color); fill: map-get($node-status-colors,$current-color);
stroke: map-get($node-status-colors,$current-color); stroke: map-get($node-status-colors,$current-color);