Skip to content

Commit

Permalink
NN-391 Removed unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
TripZz committed Nov 23, 2023
1 parent a5d77b5 commit 259221c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 326 deletions.
323 changes: 0 additions & 323 deletions frontend/src/components/pathwaytools/PathwayGraphList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,6 @@ export default {
filt_terms() {
var com = this;
var filtered = com.term_data.nodes;
console.log(filtered)
if (com.category != "Filter") {
// If category is set, filter by category
Expand Down Expand Up @@ -124,7 +122,6 @@ export default {
com.filter_terms.push({'label': term})
})
console.log(com.filter_terms)
},
select_term(term, index) {
var com = this;
Expand Down Expand Up @@ -207,324 +204,4 @@ export default {


<style>
#pathways-list {
width: 32.83%;
height: 96.92%;
position: absolute;
top:50%;
transform: translateY(-50%);
margin-left: 0.28%;
border-radius: 5px;
z-index: 997;
cursor: default;
font-family: 'ABeeZee', sans-serif;
}
.pathway-search {
width: 37.54%;
height: 11.16%;
display: flex;
position: absolute;
align-items: center;
border-radius: 5px;
background: #0A0A1A;
align-content: center;
justify-content: center;
}
.pathway-search-icon {
margin-left: 3%;
position: relative;
height: 0.9vw;
width: 0.9vw;
filter: invert(100%);
}
.pathway-search input[type=text] {
margin-left: 2%;
font-size: 0.85vw;
width: 80%;
background: none;
color: white;
cursor: default;
font-family: 'ABeeZee', sans-serif;
}
.pathway-search [type="text"]::-webkit-input-placeholder {
opacity: 70%;
}
#pathway-filter {
width: 17.81%;
left: 38.54%;
height: 11.16%;
display: flex;
position: absolute;
border-radius: 5px;
background: #0A0A1A;
align-items: center;
justify-content: center;
}
#pathway-filter span {
display: block;
width: 90%;
font-size: 0.95vw;
color: white;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
cursor: default;
text-align: center;
}
#pathway-filter .remove-filter {
width: 10%;
padding: 0%;
filter: invert(100%);
position: absolute;
top: 6%;
right: 4%;
padding-top: 1%;
filter: invert(100%);
}
#pathway-filter-categories {
display: flex;
position: fixed;
width: 92.05%;
height: 30.32%;
left: 20%;
top: 15%;
padding: 1% 0.5% 1% 0.5%;
border-radius: 5px;
border: 1px solid #FFF;
background: #0A0A1A;
z-index: 1;
align-items: center;
overflow-x: scroll;
overflow-y: hidden;
cursor: default;
}
#pathway-filter-categories .element {
border-radius: 5px;
background: rgba(217, 217, 217, 0.17);
display: flex;
width: 26.88%;
height: 100%;
margin: 0% 1% 0% 1%;
overflow: hidden;
}
#pathway-filter-categories .element:hover {
background: rgba(217, 217, 217, 0.47);
}
.element a {
width: 100%;
color: white;
padding: 5%;
font-weight: bold;
font-size: 0.4vw;
align-self: center;
text-align: center;
}
.list-section {
width: 100%;
height: 87.65%;
top: 12.35%;
border-radius: 5px;
background: #0A0A1A;
position: absolute;
padding: 0% 2% 2% 2%;
}
.bookmark-button {
width: 7.51%;
height: 11.16%;
left: 57.35%;
position: absolute;
border-radius: 5px;
background: #0A0A1A;
align-content: center;
justify-content: center;
}
.visualize-button {
width: 17.24%;
height: 11.16%;
left: 65.86%;
position: absolute;
border-radius: 5px;
background: #0A0A1A;
text-align: center;
cursor:default;
}
.export-button {
width: 15.8%;
height: 11.16%;
left: 84.1%;
position: absolute;
border-radius: 5px;
background: #0A0A1A;
cursor: default;
}
.export-button .export-text {
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 0.95vw;
}
.list-section a {
color: white;
text-decoration:none;
}
.list-section .results {
height: 90%;
overflow: scroll;
}
.option {
display: -webkit-flex;
}
.sorting {
margin-top: 0.1vw;
margin-left: 1.35vw;
padding-bottom: 0.1vw;
width: 91%;
font-size: 0.73vw;
border-bottom: 1px solid;
border-color: white;
cursor: default;
}
.sorting a {
color: rgba(255, 255, 255, 0.7);
}
.fdr_filter{
position: fixed;
left: 78.6%;
}
.pathway-text{
width: 92%;
white-space: nowrap;
overflow: hidden; /* Hide overflow content */
text-overflow: ellipsis;
margin-left: 2%;
}
.pathway-text a {
cursor: default;
}
/* bookmark styles */
table {
display: flex;
width: 100%;
}
:focus {outline:0 !important;}
table tbody{
width: 100%;
}
td:first-child {
width: 3.41%;
align-self: center;
}
td:nth-child(2) {
color: #FFF;
font-size: 0.9vw;
width: 91.55%;
overflow: hidden;
align-self: center;
}
td:last-child {
font-size: 0.9vw;
color: white;
width: 24.04%;
align-self: center;
}
.favourite-symbol{
width: 100%;
height: 100%;
justify-content: center;
text-align: center;
position: relative;
display: flex;
}
.custom-checkbox {
position: relative;
display: inline-block;
cursor: default;
}
.checkbox-image {
display: block;
width: 0.9vw;
height: 0.9vw;
background-color: white;
-webkit-mask: url(@/assets/pathwaybar/star-solid.svg) no-repeat center;
mask: url(@/assets/pathwaybar/star-solid.svg) no-repeat center;
mask-size: 0.9vw;
background-repeat: no-repeat;
}
.checked {
background-color: #ffa500;
}
.selected {
background-color: rgba(255,0,0,0.7);
}
.bookmark-image {
width: 100%;
height: 100%;
padding: 5% 23% 5% 23%;
-webkit-filter: invert(100%); /* Safari/Chrome */
filter: invert(100%);
}
.visualize-logo {
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
}
.visualize-logo .bookmark-image {
margin-left: 3%;
width: 25%;
height: 85%;
padding: 0%;
filter: invert(100%);
padding-top:1%;
}
.visualize-text {
font-size: 0.95vw;
color: white;
}
.recolor_filter {
filter: invert(71%) sepia(19%) saturate(7427%) hue-rotate(360deg) brightness(104%) contrast(105%);
}
</style>
3 changes: 0 additions & 3 deletions frontend/src/components/pathwaytools/PathwayGraphMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ export default {
filtered_terms: []
}
},
mounted() {
console.log(this.term_data)
},
methods: {
generatePathways(species, genes){
var com = this
Expand Down

0 comments on commit 259221c

Please sign in to comment.