From 9eaeb2377a6e37cd2c734c4bf4ca7a9f79110f3d Mon Sep 17 00:00:00 2001 From: Dylan Fong Date: Thu, 7 Sep 2017 14:39:44 -0400 Subject: [PATCH] Remove legacy opacity values --- src/sbgnStyle/index.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/sbgnStyle/index.js b/src/sbgnStyle/index.js index edf2ed5f..c0e1c3ae 100644 --- a/src/sbgnStyle/index.js +++ b/src/sbgnStyle/index.js @@ -17,7 +17,6 @@ const sbgnStyleSheet = function (cytoscape) { 'border-width': 1.5, 'border-color': '#555', 'background-color': '#f6f6f6', - 'background-opacity': 0.5, 'text-opacity': 1, 'opacity': 1, 'text-outline-color': 'white', @@ -32,7 +31,6 @@ const sbgnStyleSheet = function (cytoscape) { }) .selector('node:active') .css({ - 'background-opacity': 0.7, 'overlay-color': '#d67614', 'overlay-padding': '14' }) @@ -66,7 +64,7 @@ const sbgnStyleSheet = function (cytoscape) { `) .css({ 'ghost': 'yes', - 'ghost-opacity': 0.8 + 'ghost-opacity': 1 }) .selector(` @@ -98,7 +96,6 @@ const sbgnStyleSheet = function (cytoscape) { .selector('node[class="complex"], node[class="complex multimer"], node[class="compartment"]') .css({ 'compound-sizing-wrt-labels': 'exclude', - 'background-opacity': .2, 'text-valign': 'bottom', 'text-halign': 'center', })