changed xilica nodes colors to light grey
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
RED.nodes.registerType('xilica-command', {
|
RED.nodes.registerType('xilica-command', {
|
||||||
category: 'Xilica',
|
category: 'Xilica',
|
||||||
color: '#000000',
|
color: '#dddddd',
|
||||||
defaults: {
|
defaults: {
|
||||||
name: { value: "" },
|
name: { value: "" },
|
||||||
connection: { value: "", type: "xilica-connection", required: true },
|
connection: { value: "", type: "xilica-connection", required: true },
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
RED.nodes.registerType('xilica-interval', {
|
RED.nodes.registerType('xilica-interval', {
|
||||||
category: 'Xilica',
|
category: 'Xilica',
|
||||||
color: '#000000',
|
color: '#dddddd',
|
||||||
defaults: {
|
defaults: {
|
||||||
name: { value: "" },
|
name: { value: "" },
|
||||||
interval: { value: 100 }
|
interval: { value: 100 }
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
RED.nodes.registerType('xilica-listen', {
|
RED.nodes.registerType('xilica-listen', {
|
||||||
category: 'Xilica',
|
category: 'Xilica',
|
||||||
color: '#000000',
|
color: '#dddddd',
|
||||||
defaults: {
|
defaults: {
|
||||||
name: { value: "" },
|
name: { value: "" },
|
||||||
rules: { value: [] }
|
rules: { value: [] }
|
||||||
|
|||||||
@@ -1,60 +1,7 @@
|
|||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
// Global styling for Xilica nodes: black background, white text
|
|
||||||
(function() {
|
|
||||||
var css = '' +
|
|
||||||
'.red-ui-palette-node[data-palette-type="xilica-ping"],' +
|
|
||||||
'.red-ui-palette-node[data-palette-type="xilica-command"],' +
|
|
||||||
'.red-ui-palette-node[data-palette-type="xilica-interval"],' +
|
|
||||||
'.red-ui-palette-node[data-palette-type="xilica-subscribe"],' +
|
|
||||||
'.red-ui-palette-node[data-palette-type="xilica-listen"]{' +
|
|
||||||
'background-color:#000000 !important;' +
|
|
||||||
'color:#ffffff !important;' +
|
|
||||||
'}' +
|
|
||||||
'.red-ui-flow-node[data-type="xilica-ping"],' +
|
|
||||||
'.red-ui-flow-node[data-type="xilica-command"],' +
|
|
||||||
'.red-ui-flow-node[data-type="xilica-interval"],' +
|
|
||||||
'.red-ui-flow-node[data-type="xilica-subscribe"],' +
|
|
||||||
'.red-ui-flow-node[data-type="xilica-listen"]{' +
|
|
||||||
'fill:#000000 !important;' +
|
|
||||||
'}' +
|
|
||||||
'.red-ui-flow-node[data-type="xilica-ping"] .red-ui-flow-node-label,' +
|
|
||||||
'.red-ui-flow-node[data-type="xilica-command"] .red-ui-flow-node-label,' +
|
|
||||||
'.red-ui-flow-node[data-type="xilica-interval"] .red-ui-flow-node-label,' +
|
|
||||||
'.red-ui-flow-node[data-type="xilica-subscribe"] .red-ui-flow-node-label,' +
|
|
||||||
'.red-ui-flow-node[data-type="xilica-listen"] .red-ui-flow-node-label,' +
|
|
||||||
'.red-ui-flow-node[data-type="xilica-ping"] text,' +
|
|
||||||
'.red-ui-flow-node[data-type="xilica-command"] text,' +
|
|
||||||
'.red-ui-flow-node[data-type="xilica-interval"] text,' +
|
|
||||||
'.red-ui-flow-node[data-type="xilica-subscribe"] text,' +
|
|
||||||
'.red-ui-flow-node[data-type="xilica-listen"] text,' +
|
|
||||||
'.red-ui-flow-node[data-type=\"xilica-ping\"] text tspan,' +
|
|
||||||
'.red-ui-flow-node[data-type=\"xilica-command\"] text tspan,' +
|
|
||||||
'.red-ui-flow-node[data-type=\"xilica-interval\"] text tspan,' +
|
|
||||||
'.red-ui-flow-node[data-type=\"xilica-subscribe\"] text tspan,' +
|
|
||||||
'.red-ui-flow-node[data-type=\"xilica-listen\"] text tspan{' +
|
|
||||||
'fill:#ffffff !important;' +
|
|
||||||
'stroke:#ffffff !important;' +
|
|
||||||
'color:#ffffff !important;' +
|
|
||||||
'}' +
|
|
||||||
'.red-ui-palette-node[data-palette-type="xilica-ping"] *,' +
|
|
||||||
'.red-ui-palette-node[data-palette-type="xilica-command"] *,' +
|
|
||||||
'.red-ui-palette-node[data-palette-type="xilica-interval"] *,' +
|
|
||||||
'.red-ui-palette-node[data-palette-type="xilica-subscribe"] *,' +
|
|
||||||
'.red-ui-palette-node[data-palette-type="xilica-listen"] *{' +
|
|
||||||
'color:#ffffff !important;' +
|
|
||||||
'}';
|
|
||||||
|
|
||||||
if (typeof document !== "undefined") {
|
|
||||||
var styleEl = document.createElement('style');
|
|
||||||
styleEl.type = 'text/css';
|
|
||||||
styleEl.appendChild(document.createTextNode(css));
|
|
||||||
document.head.appendChild(styleEl);
|
|
||||||
}
|
|
||||||
}());
|
|
||||||
|
|
||||||
RED.nodes.registerType('xilica-ping', {
|
RED.nodes.registerType('xilica-ping', {
|
||||||
category: 'Xilica',
|
category: 'Xilica',
|
||||||
color: '#000000',
|
color: '#dddddd',
|
||||||
defaults: {
|
defaults: {
|
||||||
name: { value: "" }
|
name: { value: "" }
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
RED.nodes.registerType('xilica-subscribe', {
|
RED.nodes.registerType('xilica-subscribe', {
|
||||||
category: 'Xilica',
|
category: 'Xilica',
|
||||||
color: '#000000',
|
color: '#dddddd',
|
||||||
defaults: {
|
defaults: {
|
||||||
name: { value: "" },
|
name: { value: "" },
|
||||||
action: { value: "subscribe" },
|
action: { value: "subscribe" },
|
||||||
|
|||||||
Reference in New Issue
Block a user