Skip to content
Snippets Groups Projects
Commit a3e61fc6 authored by AndiMajore's avatar AndiMajore
Browse files

fixed tooltips

parent adb27b55
Branches
Tags
No related merge requests found
Showing
with 37 additions and 37 deletions
...@@ -241,7 +241,7 @@ ...@@ -241,7 +241,7 @@
<button <button
class="button is-rounded has-tooltip is-small" class="button is-rounded has-tooltip is-small"
pTooltip="Normalize the scores" pTooltip="Normalize the scores"
[tooltipStyleClass]="'drgstn drgstn-tooltip'" [tooltipStyleClass]="'drgstn drgstn-tooltip drgstn-tooltip-top'"
tooltipPosition="top" tooltipPosition="top"
[class.is-primary]="tableNormalize" [class.is-primary]="tableNormalize"
(click)="toggleNormalization(true)" (click)="toggleNormalization(true)"
...@@ -257,7 +257,7 @@ ...@@ -257,7 +257,7 @@
<button <button
class="button is-rounded has-tooltip is-small" class="button is-rounded has-tooltip is-small"
pTooltip="Disable normalization of the scores." pTooltip="Disable normalization of the scores."
[tooltipStyleClass]="'drgstn drgstn-tooltip'" [tooltipStyleClass]="'drgstn drgstn-tooltip drgstn-tooltip-top'"
tooltipPosition="top" tooltipPosition="top"
[class.is-primary]="!tableNormalize" [class.is-primary]="!tableNormalize"
(click)="toggleNormalization(false)" (click)="toggleNormalization(false)"
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
<th *ngIf="tableHasScores" [pSortableColumn]="'score'"> <th *ngIf="tableHasScores" [pSortableColumn]="'score'">
Score Score
<span class="has-tooltip tooltip-button has-text-info question-icon" <span class="has-tooltip tooltip-button has-text-info question-icon"
[pTooltip]="tableDrugScoreTooltip" [tooltipStyleClass]="'drgstn drgstn-tooltip'" tooltipPosition="top"> [pTooltip]="tableDrugScoreTooltip" [tooltipStyleClass]="'drgstn drgstn-tooltip drgstn-tooltip-top'" tooltipPosition="top">
<fa-icon [icon]="faQuestionCircle" class="icon"></fa-icon> <fa-icon [icon]="faQuestionCircle" class="icon"></fa-icon>
</span> </span>
<p-sortIcon [field]="'score'"></p-sortIcon> <p-sortIcon [field]="'score'"></p-sortIcon>
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
<th *ngIf="tableHasScores" [pSortableColumn]="'score'"> <th *ngIf="tableHasScores" [pSortableColumn]="'score'">
Score Score
<span class="question-icon has-text-info has-tooltip tooltip-button" <span class="question-icon has-text-info has-tooltip tooltip-button"
[pTooltip]="tableProteinScoreTooltip" [tooltipStyleClass]="'drgstn drgstn-tooltip'" tooltipPosition="top"> [pTooltip]="tableProteinScoreTooltip" [tooltipStyleClass]="'drgstn drgstn-tooltip drgstn-tooltip-top'" tooltipPosition="top">
<fa-icon [icon]="faQuestionCircle" class="icon"></fa-icon> <fa-icon [icon]="faQuestionCircle" class="icon"></fa-icon>
</span> </span>
<p-sortIcon [field]="'score'"></p-sortIcon> <p-sortIcon [field]="'score'"></p-sortIcon>
......
<div class="content"> <div class="content">
<ng-select [items]="datasetItems" bindLabel="label" [virtualScroll]="true" class="custom" <ng-select [items]="datasetItems" bindLabel="label" [virtualScroll]="true" class="custom"
placeholder="Select..." [ngModel]="selectedDataset" (ngModelChange)="select($event)" pTooltip="Choose the dataset you want to explore." [tooltipStyleClass]="'drgstn drgstn-tooltip'" tooltipPosition="top"> placeholder="Select..." [ngModel]="selectedDataset" (ngModelChange)="select($event)" pTooltip="Choose the dataset you want to explore." [tooltipStyleClass]="'drgstn drgstn-tooltip drgstn-tooltip-top'" tooltipPosition="top">
<ng-template ng-option-tmp let-item="item"> <ng-template ng-option-tmp let-item="item">
{{item.strains}} <br/> {{item.strains}} <br/>
<small>{{item.datasetNames}}</small> <small>{{item.datasetNames}}</small>
......
...@@ -93,8 +93,8 @@ ...@@ -93,8 +93,8 @@
<span <span
class="icon has-text-info" class="icon has-text-info"
pTooltip="Tissue expression data is provided by the GTEx project. Unit is transcript per million." pTooltip="Tissue expression data is provided by the GTEx project. Unit is transcript per million."
[tooltipStyleClass]="'drgstn drgstn-tooltip'" [tooltipStyleClass]="'drgstn drgstn-tooltip drgstn-tooltip-left'"
tooltipPosition="top" tooltipPosition="left"
><i class="fas fa-info-circle"></i ><i class="fas fa-info-circle"></i
></span> ></span>
</p> </p>
......
...@@ -39,8 +39,8 @@ ...@@ -39,8 +39,8 @@
(click)="networkHandler.activeNetwork.toImage()" (click)="networkHandler.activeNetwork.toImage()"
class="button is-primary is-rounded has-tooltip" class="button is-primary is-rounded has-tooltip"
pTooltip="Take a screenshot of the current network." pTooltip="Take a screenshot of the current network."
[tooltipStyleClass]="'drgstn drgstn-tooltip'" [tooltipStyleClass]="'drgstn drgstn-tooltip drgstn-tooltip-right'"
tooltipPosition="top" tooltipPosition="right"
[ngClass]="{ [ngClass]="{
'is-small': drugstoneConfig.smallStyle 'is-small': drugstoneConfig.smallStyle
}" }"
...@@ -87,8 +87,8 @@ ...@@ -87,8 +87,8 @@
aria-haspopup="true" aria-haspopup="true"
aria-controls="dropdown-menu" aria-controls="dropdown-menu"
pTooltip="Tissue expression data is provided by the GTEx project." pTooltip="Tissue expression data is provided by the GTEx project."
[tooltipStyleClass]="'drgstn drgstn-tooltip'" [tooltipStyleClass]="'drgstn drgstn-tooltip drgstn-tooltip-right'"
tooltipPosition="top" tooltipPosition="right"
[ngClass]="{ [ngClass]="{
'is-small': drugstoneConfig.smallStyle 'is-small': drugstoneConfig.smallStyle
}" }"
......
<button <button
class="button is-rounded has-tooltip" class="button is-rounded has-tooltip"
[pTooltip]="tooltip" [pTooltip]="tooltip"
[tooltipStyleClass]="'drgstn drgstn-tooltip'" [tooltipStyleClass]="'drgstn drgstn-tooltip drgstn-tooltip-right'"
tooltipPosition="right" tooltipPosition="right"
(click)="toggle()" (click)="toggle()"
[ngClass]="{ [ngClass]="{
......
...@@ -39,8 +39,8 @@ ...@@ -39,8 +39,8 @@
(click)="networkHandler.activeNetwork.toImage()" (click)="networkHandler.activeNetwork.toImage()"
class="button is-primary is-rounded has-tooltip" class="button is-primary is-rounded has-tooltip"
pTooltip="Take a screenshot of the current network." pTooltip="Take a screenshot of the current network."
[tooltipStyleClass]="'drgstn drgstn-tooltip'" [tooltipStyleClass]="'drgstn drgstn-tooltip drgstn-tooltip-left'"
tooltipPosition="top" tooltipPosition="left"
[ngClass]="{ [ngClass]="{
'is-small': drugstoneConfig.smallStyle 'is-small': drugstoneConfig.smallStyle
}" }"
...@@ -87,8 +87,8 @@ ...@@ -87,8 +87,8 @@
aria-haspopup="true" aria-haspopup="true"
aria-controls="dropdown-menu" aria-controls="dropdown-menu"
pTooltip="Tissue expression data is provided by the GTEx project." pTooltip="Tissue expression data is provided by the GTEx project."
[tooltipStyleClass]="'drgstn drgstn-tooltip'" [tooltipStyleClass]="'drgstn drgstn-tooltip drgstn-tooltip-left'"
tooltipPosition="top" tooltipPosition="left"
[ngClass]="{ [ngClass]="{
'is-small': drugstoneConfig.smallStyle 'is-small': drugstoneConfig.smallStyle
}" }"
......
<button <button
class="button is-rounded has-tooltip" class="button is-rounded has-tooltip"
[pTooltip]="tooltip" [pTooltip]="tooltip"
[tooltipStyleClass]="'drgstn drgstn-tooltip'" [tooltipStyleClass]="'drgstn drgstn-tooltip drgstn-tooltip-left'"
tooltipPosition="left" tooltipPosition="left"
(click)="toggle()" (click)="toggle()"
[ngClass]="{ [ngClass]="{
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
[searchFn]="querySearch" [searchFn]="querySearch"
(change)="select($event)" (change)="select($event)"
pTooltip="Find nodes in the network." pTooltip="Find nodes in the network."
[tooltipStyleClass]="'drgstn drgstn-tooltip'" [tooltipStyleClass]="'drgstn drgstn-tooltip drgstn-tooltip-top'"
tooltipPosition="top" tooltipPosition="top"
> >
<ng-template ng-option-tmp let-item="item"> <ng-template ng-option-tmp let-item="item">
......
...@@ -97,7 +97,7 @@ ...@@ -97,7 +97,7 @@
*ngIf="task.info.done" *ngIf="task.info.done"
(click)="open(task.token)" (click)="open(task.token)"
pTooltip="Show analysis results" pTooltip="Show analysis results"
[tooltipStyleClass]="'drgstn drgstn-tooltip'" [tooltipStyleClass]="'drgstn drgstn-tooltip drgstn-tooltip-top'"
tooltipPosition="top" tooltipPosition="top"
> >
<div class="columns mb-0"> <div class="columns mb-0">
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
class="button is-rounded has-tooltip" class="button is-rounded has-tooltip"
[pTooltip]="tooltipOn" [pTooltip]="tooltipOn"
[disabled]="disabled" [disabled]="disabled"
[tooltipStyleClass]="'drgstn drgstn-tooltip'" [tooltipStyleClass]="'drgstn drgstn-tooltip drgstn-tooltip-top'"
tooltipPosition="top" tooltipPosition="top"
[class.is-primary]="value" [class.is-primary]="value"
(click)="toggle(true)" (click)="toggle(true)"
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
class="button is-rounded has-tooltip" class="button is-rounded has-tooltip"
[pTooltip]="tooltipOff" [pTooltip]="tooltipOff"
[disabled]="disabled" [disabled]="disabled"
[tooltipStyleClass]="'drgstn drgstn-tooltip'" [tooltipStyleClass]="'drgstn drgstn-tooltip-top'"
tooltipPosition="top" tooltipPosition="top"
[class.is-primary]="!value" [class.is-primary]="!value"
(click)="toggle(false)" (click)="toggle(false)"
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
</section> </section>
<footer class="modal-card-foot"> <footer class="modal-card-foot">
<button (click)="addProteins();" class="button is-success is-rounded has-tooltip" <button (click)="addProteins();" class="button is-success is-rounded has-tooltip"
pTooltip="Add all to the selection." [tooltipStyleClass]="'drgstn drgstn-tooltip'" tooltipPosition="top" pTooltip="Add all to the selection." [tooltipStyleClass]="'drgstn drgstn-tooltip drgstn-tooltip-top'" tooltipPosition="top"
[disabled]="proteins.length === 0 || !selectedTissue || loading"> [disabled]="proteins.length === 0 || !selectedTissue || loading">
<span class="icon"> <span class="icon">
<i class="fas fa-plus"></i> <i class="fas fa-plus"></i>
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
</span> </span>
</button> </button>
<button (click)="addVisibleProteins();" class="button is-success is-rounded has-tooltip" <button (click)="addVisibleProteins();" class="button is-success is-rounded has-tooltip"
pTooltip="Add to selection if they appear in the current network." [tooltipStyleClass]="'drgstn drgstn-tooltip'" tooltipPosition="top" pTooltip="Add to selection if they appear in the current network." [tooltipStyleClass]="'drgstn drgstn-tooltip drgstn-tooltip-top'" tooltipPosition="top"
[disabled]="proteins.length === 0 || !selectedTissue || loading"> [disabled]="proteins.length === 0 || !selectedTissue || loading">
<span class="icon"> <span class="icon">
<i class="fas fa-expand"></i> <i class="fas fa-expand"></i>
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
Select proteins ({{proteins.length}}) Select proteins ({{proteins.length}})
</span> </span>
</button> </button>
<button (click)="close()" class="button is-rounded has-tooltip" pTooltip="Close the current window." [tooltipStyleClass]="'drgstn drgstn-tooltip'" tooltipPosition="top"> <button (click)="close()" class="button is-rounded has-tooltip" pTooltip="Close the current window." [tooltipStyleClass]="'drgstn drgstn-tooltip drgstn-tooltip-top'" tooltipPosition="top">
Close Close
</button> </button>
</footer> </footer>
......
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
</section> </section>
<footer class="modal-card-foot"> <footer class="modal-card-foot">
<button (click)="addProteins();" class="button is-success is-rounded has-tooltip" <button (click)="addProteins();" class="button is-success is-rounded has-tooltip"
pTooltip="Add all to the selection." [tooltipStyleClass]="'drgstn drgstn-tooltip'" tooltipPosition="top" pTooltip="Add all to the selection." [tooltipStyleClass]="'drgstn drgstn-tooltip drgstn-tooltip-top'" tooltipPosition="top"
[disabled]="proteins.length === 0 || loading"> [disabled]="proteins.length === 0 || loading">
<span class="icon"> <span class="icon">
<i class="fa fa-plus"></i> <i class="fa fa-plus"></i>
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
</span> </span>
</button> </button>
<button (click)="addVisibleProteins();" class="button is-success is-rounded has-tooltip" <button (click)="addVisibleProteins();" class="button is-success is-rounded has-tooltip"
pTooltip="Add to selection if they appear in the current network." [tooltipStyleClass]="'drgstn drgstn-tooltip'" tooltipPosition="top" pTooltip="Add to selection if they appear in the current network." [tooltipStyleClass]="'drgstn drgstn-tooltip drgstn-tooltip-top'" tooltipPosition="top"
[disabled]="proteins.length === 0 || loading"> [disabled]="proteins.length === 0 || loading">
<span class="icon"> <span class="icon">
<i class="fas fa-expand"></i> <i class="fas fa-expand"></i>
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
Select Select
</span> </span>
</button> </button>
<button (click)="close()" class="button is-rounded has-tooltip" pTooltip="Close the current window." [tooltipStyleClass]="'drgstn drgstn-tooltip'" tooltipPosition="top">Close <button (click)="close()" class="button is-rounded has-tooltip" pTooltip="Close the current window." [tooltipStyleClass]="'drgstn drgstn-tooltip drgstn-tooltip-top'" tooltipPosition="top">Close
</button> </button>
</footer> </footer>
</div> </div>
......
...@@ -455,7 +455,7 @@ ...@@ -455,7 +455,7 @@
<footer class="modal-card-foot"> <footer class="modal-card-foot">
<button (click)="startTask(); close()" class="button is-success is-rounded has-tooltip" <button (click)="startTask(); close()" class="button is-success is-rounded has-tooltip"
pTooltip="Run the analysis." [tooltipStyleClass]="'drgstn drgstn-tooltip'" tooltipPosition="top" pTooltip="Run the analysis." [tooltipStyleClass]="'drgstn drgstn-tooltip drgstn-tooltip-top'" tooltipPosition="top"
[disabled]="!analysis.canLaunchTask()"> [disabled]="!analysis.canLaunchTask()">
<span class="icon"> <span class="icon">
<i class="fa fa-rocket"></i> <i class="fa fa-rocket"></i>
...@@ -464,7 +464,7 @@ ...@@ -464,7 +464,7 @@
Launch Launch
</span> </span>
</button> </button>
<button (click)="close()" class="button is-rounded has-tooltip" pTooltip="Close the current window." [tooltipStyleClass]="'drgstn drgstn-tooltip'" tooltipPosition="top">Close <button (click)="close()" class="button is-rounded has-tooltip" pTooltip="Close the current window." [tooltipStyleClass]="'drgstn drgstn-tooltip drgstn-tooltip-top'" tooltipPosition="top">Close
</button> </button>
</footer> </footer>
</div> </div>
......
...@@ -250,7 +250,7 @@ ...@@ -250,7 +250,7 @@
[disabled]="analysis.isLaunchingQuick()" [disabled]="analysis.isLaunchingQuick()"
class="button is-white is-rounded has-tooltip quick-start-btn" class="button is-white is-rounded has-tooltip quick-start-btn"
pTooltip="Find drugs for all proteins." pTooltip="Find drugs for all proteins."
[tooltipStyleClass]="'drgstn drgstn-tooltip'" [tooltipStyleClass]="'drgstn drgstn-tooltip drgstn-tooltip-top'"
tooltipPosition="top" tooltipPosition="top"
> >
<span class="icon quick-icon"> <span class="icon quick-icon">
...@@ -342,7 +342,7 @@ ...@@ -342,7 +342,7 @@
" "
class="button is-white is-rounded quick-start-btn drugs-btn" class="button is-white is-rounded quick-start-btn drugs-btn"
pTooltip="Find drugs for the selected proteins." pTooltip="Find drugs for the selected proteins."
[tooltipStyleClass]="'drgstn drgstn-tooltip'" [tooltipStyleClass]="'drgstn drgstn-tooltip drgstn-tooltip-top'"
tooltipPosition="top" tooltipPosition="top"
> >
<span class="icon quick-icon"> <span class="icon quick-icon">
...@@ -404,7 +404,7 @@ ...@@ -404,7 +404,7 @@
<div <div
class="control" class="control"
pTooltip="Find drug targets for the selected proteins." pTooltip="Find drug targets for the selected proteins."
[tooltipStyleClass]="'drgstn drgstn-tooltip'" [tooltipStyleClass]="'drgstn drgstn-tooltip drgstn-tooltip-top'"
tooltipPosition="top" tooltipPosition="top"
> >
<button <button
...@@ -427,7 +427,7 @@ ...@@ -427,7 +427,7 @@
<div <div
class="control" class="control"
pTooltip="Find drugs for the selected proteins." pTooltip="Find drugs for the selected proteins."
[tooltipStyleClass]="'drgstn drgstn-tooltip'" [tooltipStyleClass]="'drgstn drgstn-tooltip drgstn-tooltip-top'"
tooltipPosition="top" tooltipPosition="top"
> >
<button <button
...@@ -455,7 +455,7 @@ ...@@ -455,7 +455,7 @@
target="_blank" target="_blank"
class="button is-primary is-fullwidth is-rounded has-tooltip" class="button is-primary is-fullwidth is-rounded has-tooltip"
pTooltip="Use enrichment analysis via g:Profiler (external)." pTooltip="Use enrichment analysis via g:Profiler (external)."
[tooltipStyleClass]="'drgstn drgstn-tooltip'" [tooltipStyleClass]="'drgstn drgstn-tooltip drgstn-tooltip-top'"
tooltipPosition="top" tooltipPosition="top"
> >
<span class="icon"> <span class="icon">
...@@ -472,7 +472,7 @@ ...@@ -472,7 +472,7 @@
disabled disabled
class="button is-primary is-fullwidth is-rounded has-tooltip" class="button is-primary is-fullwidth is-rounded has-tooltip"
pTooltip="Use enrichment analysis via g:Profiler (external)." pTooltip="Use enrichment analysis via g:Profiler (external)."
[tooltipStyleClass]="'drgstn drgstn-tooltip'" [tooltipStyleClass]="'drgstn drgstn-tooltip drgstn-tooltip-top'"
tooltipPosition="top" tooltipPosition="top"
> >
<span class="icon"> <span class="icon">
...@@ -530,7 +530,7 @@ ...@@ -530,7 +530,7 @@
" "
class="card-footer-item has-text-danger" class="card-footer-item has-text-danger"
pTooltip="Delete all tasks." pTooltip="Delete all tasks."
[tooltipStyleClass]="'drgstn drgstn-tooltip'" [tooltipStyleClass]="'drgstn drgstn-tooltip drgstn-tooltip-top'"
tooltipPosition="top" tooltipPosition="top"
> >
<span class="icon"> <span class="icon">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment