diff --git a/src/app/components/analysis-panel/analysis-panel.component.ts b/src/app/components/analysis-panel/analysis-panel.component.ts index 23ed1cd4d68c3c3e8df5f55cb902c84dc4190829..cc71e65ee4a17b70e6debe25e72121c975bacb20 100644 --- a/src/app/components/analysis-panel/analysis-panel.component.ts +++ b/src/app/components/analysis-panel/analysis-panel.component.ts @@ -491,7 +491,7 @@ export class AnalysisPanelComponent implements OnInit, OnChanges { nodeDetails.label = nodeDetails.label ? nodeDetails.label : nodeDetails[identifier] } console.log(nodeDetails) - // IMPORTANT we set seeds to "selected" and not to seeds. The user should be inspired to run + // IMPORTANT we set seeds to "selected" and not to seeds. The user should be inspired to run // further analysis and the button function can be used to highlight seeds // option to use scores[node] as gradient, but sccores are very small nodes.push(NetworkSettings.getNodeStyle(nodeDetails as Node, config, false, false, 1)) @@ -513,7 +513,7 @@ export class AnalysisPanelComponent implements OnInit, OnChanges { } else { this.legendContext = "drug"; } - + } else if (target === 'drug-target') { if (this.highlightSeeds) { this.legendContext = "drugTargetAndSeeds"; @@ -521,7 +521,7 @@ export class AnalysisPanelComponent implements OnInit, OnChanges { this.legendContext = 'drugTarget' } } else { - throw `Could not set legend context based on ${target}.` + throw `Could not set legend context based on ${target}.` } } @@ -622,7 +622,7 @@ export class AnalysisPanelComponent implements OnInit, OnChanges { const addItems = []; const removeItems = []; console.log(e) - + for (const i of this.tableSelectedProteins) { const wrapper = getWrapperFromNode(i); if (oldSelection.indexOf(i) === -1) { diff --git a/src/app/pages/explorer-page/explorer-page.component.ts b/src/app/pages/explorer-page/explorer-page.component.ts index 5a1deefb73365683b418f9743b44f0d2d8d39ead..3aed5904707742b3f58e32477eebe58d12a81f5a 100644 --- a/src/app/pages/explorer-page/explorer-page.component.ts +++ b/src/app/pages/explorer-page/explorer-page.component.ts @@ -60,9 +60,9 @@ export class ExplorerPageComponent implements OnInit, AfterViewInit { return; } - // addd settings to config + // add settings to config const configObj = JSON.parse(config); - this.myConfig = merge(this.myConfig, configObj) + this.myConfig = merge(this.myConfig, configObj); // update Drugst.One according to the settings // check if config updates affect network @@ -382,7 +382,6 @@ export class ExplorerPageComponent implements OnInit, AfterViewInit { // skip if node is not a protein mapped to backend return; } - console.log(node) const wrapper = getWrapperFromNode(node); if (this.analysis.inSelection(node)) { this.analysis.removeItems([wrapper]); diff --git a/src/stylesheets/styles.scss b/src/stylesheets/styles.scss index 6b0ae1657653028eef3a2d6627e8d532a99b3d4c..33cf6e6359c1596048746bb862698b3f71d56795 100644 --- a/src/stylesheets/styles.scss +++ b/src/stylesheets/styles.scss @@ -61,10 +61,8 @@ padding: 0; } - .tissue-dropdown { padding: 5px; - background-color: rgba(255.0, 255.0, 255.0, 0.85); .scroll-area { max-height: 600px; diff --git a/src/stylesheets/theme-styles.scss b/src/stylesheets/theme-styles.scss index 55967b6c8174a346f13780dd0f4a73f8eec46605..26b914fe4c8761a2c1801afc871631d2036d0790 100644 --- a/src/stylesheets/theme-styles.scss +++ b/src/stylesheets/theme-styles.scss @@ -106,6 +106,13 @@ color: var(--drgstn-primary) !important; } + a.dropdown-item:hover, button.dropdown-item:hover{ + background-color: var(--drgstn-panel-secondary) + } + + .tissue-dropdown { + background-color: var(--drgstn-panel); + } .button.is-primary.is-focused, .button.is-primary:focus { background-color: var(--drgstn-primary) !important;