Skip to content

Commit

Permalink
Remove legacy opacity values
Browse files Browse the repository at this point in the history
  • Loading branch information
d2fong committed Sep 7, 2017
1 parent e235f2e commit 9eaeb23
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/sbgnStyle/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -32,7 +31,6 @@ const sbgnStyleSheet = function (cytoscape) {
})
.selector('node:active')
.css({
'background-opacity': 0.7,
'overlay-color': '#d67614',
'overlay-padding': '14'
})
Expand Down Expand Up @@ -66,7 +64,7 @@ const sbgnStyleSheet = function (cytoscape) {
`)
.css({
'ghost': 'yes',
'ghost-opacity': 0.8
'ghost-opacity': 1
})

.selector(`
Expand Down Expand Up @@ -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',
})
Expand Down

0 comments on commit 9eaeb23

Please sign in to comment.