Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
plugin
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Cosy-Bio
Drugst.One
plugin
Commits
e545f19d
Commit
e545f19d
authored
5 years ago
by
Julian Matschinske
Browse files
Options
Downloads
Patches
Plain Diff
Fix margin and scrolling issues
...and probably introduce new ones...
parent
3cf31f81
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/app/pages/explorer-page/explorer-page.component.html
+25
-28
25 additions, 28 deletions
src/app/pages/explorer-page/explorer-page.component.html
src/styles.scss
+8
-7
8 additions, 7 deletions
src/styles.scss
with
33 additions
and
35 deletions
src/app/pages/explorer-page/explorer-page.component.html
+
25
−
28
View file @
e545f19d
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
<div
class=
"covex left-window"
>
<div
class=
"covex left-window"
>
<div>
<div>
<div
class=
"covex bar-left"
>
<div
class=
"covex
sidebar
bar-left"
>
<div
class=
"card bar-large"
>
<div
class=
"card bar-large"
>
<header
class=
"card-header"
>
<header
class=
"card-header"
>
...
@@ -182,8 +182,7 @@
...
@@ -182,8 +182,7 @@
</div>
</div>
</div>
</div>
<div
class=
"covex bar-right"
>
<div
class=
"covex sidebar bar-right"
>
<div
class=
"card bar-large"
>
<div
class=
"card bar-large"
>
<header
class=
"card-header"
>
<header
class=
"card-header"
>
<p
class=
"card-header-title"
>
<p
class=
"card-header-title"
>
...
@@ -373,9 +372,9 @@
...
@@ -373,9 +372,9 @@
<div
class=
"card bar-large"
>
<div
class=
"card bar-large"
>
<header
class=
"card-header"
>
<header
class=
"card-header"
>
<p
class=
"card-header-title"
>
<p
class=
"card-header-title"
>
<span
class=
"icon"
>
<span
class=
"icon"
>
<i
class=
"fas fa-filter"
aria-hidden=
"true"
></i>
<i
class=
"fas fa-filter"
aria-hidden=
"true"
></i>
</span>
Selection ({{analysis.getCount()}})
</span>
Selection ({{analysis.getCount()}})
</p>
</p>
<a
(click)=
"collapseSelection = !collapseSelection"
data-action=
"collapse"
<a
(click)=
"collapseSelection = !collapseSelection"
data-action=
"collapse"
class=
"card-header-icon is-hidden-fullscreen"
aria-label=
"more options"
>
class=
"card-header-icon is-hidden-fullscreen"
aria-label=
"more options"
>
...
@@ -387,7 +386,7 @@
...
@@ -387,7 +386,7 @@
</header>
</header>
<div
*ngIf=
"collapseSelection"
>
<div
*ngIf=
"collapseSelection"
>
<div
class=
"card-content overflow"
>
<div
class=
"card-content overflow"
>
<table
class=
"table"
*ngIf=
"analysis.getCount() > 0"
>
<table
class=
"table
selection-table
"
*ngIf=
"analysis.getCount() > 0"
>
<thead>
<thead>
<tr>
<tr>
<td>
Type
</td>
<td>
Type
</td>
...
@@ -398,10 +397,10 @@
...
@@ -398,10 +397,10 @@
<tbody>
<tbody>
<tr
*ngFor=
"let p of analysis.getSelection()"
>
<tr
*ngFor=
"let p of analysis.getSelection()"
>
<td>
<td>
<span
class=
"icon"
>
<span
class=
"icon"
>
<i
class=
"fa fa-dna"
*ngIf=
"p.type == 'host'"
></i>
<i
class=
"fa fa-dna"
*ngIf=
"p.type == 'host'"
></i>
<i
class=
"fa fa-virus"
*ngIf=
"p.type =='virus'"
></i>
<i
class=
"fa fa-virus"
*ngIf=
"p.type =='virus'"
></i>
</span>
</span>
</td>
</td>
<td
*ngIf=
"p.type == 'virus'"
>
{{p.data.effectName}}
</td>
<td
*ngIf=
"p.type == 'virus'"
>
{{p.data.effectName}}
</td>
<td
*ngIf=
"p.type == 'host'"
>
{{p.data.name}}
</td>
<td
*ngIf=
"p.type == 'host'"
>
{{p.data.name}}
</td>
...
@@ -421,37 +420,35 @@
...
@@ -421,37 +420,35 @@
<footer
class=
"card-footer"
>
<footer
class=
"card-footer"
>
<a
(click)=
"analysis.addAllHostProteins(currentViewNodes, currentViewProteins)"
<a
(click)=
"analysis.addAllHostProteins(currentViewNodes, currentViewProteins)"
class=
"card-footer-item has-text-success"
data-tooltip=
"Add all visible host proteins."
>
class=
"card-footer-item has-text-success"
data-tooltip=
"Add all visible host proteins."
>
<span
class=
"icon"
>
<span
class=
"icon"
>
<i
class=
"fa fa-plus"
></i>
<i
class=
"fa fa-plus"
></i>
</span>
</span>
<span>
<span>
Host Proteins
Host Proteins
</span>
</span>
</a>
</a>
<a
(click)=
"analysis.addAllViralProteins(currentViewNodes, currentViewEffects)"
<a
(click)=
"analysis.addAllViralProteins(currentViewNodes, currentViewEffects)"
class=
"card-footer-item has-text-success"
data-tooltip=
"Add all visible viral proteins."
>
class=
"card-footer-item has-text-success"
data-tooltip=
"Add all visible viral proteins."
>
<span
class=
"icon"
>
<span
class=
"icon"
>
<i
class=
"fa fa-plus"
></i>
<i
class=
"fa fa-plus"
></i>
</span>
</span>
<span>
<span>
Viral Proteins
Viral Proteins
</span>
</span>
</a>
</a>
</footer>
</footer>
<footer
class=
"card-footer"
>
<footer
class=
"card-footer"
>
<a
(click)=
"analysis.resetSelection()"
class=
"card-footer-item has-text-danger"
<a
(click)=
"analysis.resetSelection()"
class=
"card-footer-item has-text-danger"
data-tooltip=
"Remove all entries of the selection."
>
data-tooltip=
"Remove all entries of the selection."
>
<span
class=
"icon"
>
<span
class=
"icon"
>
<i
class=
"fa fa-refresh"
></i>
<i
class=
"fa fa-refresh"
></i>
</span>
</span>
<span>
<span>
Reset
Reset
</span>
</span>
</a>
</a>
</footer>
</footer>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
This diff is collapsed.
Click to expand it.
src/styles.scss
+
8
−
7
View file @
e545f19d
...
@@ -74,18 +74,19 @@ input.checkbox {
...
@@ -74,18 +74,19 @@ input.checkbox {
margin-left
:
15px
;
margin-left
:
15px
;
}
}
div
.covex.sidebar
{
height
:
calc
(
100vh
-
70px
);
overflow-y
:
auto
;
overflow-x
:
hidden
;
width
:
350px
;
}
div
.covex.bar-left
{
div
.covex.bar-left
{
float
:
left
;
float
:
left
;
width
:
350px
;
height
:
calc
(
100vh
-
102px
);
overflow
:
auto
;
}
}
div
.covex.bar-right
{
div
.covex.bar-right
{
float
:
right
;
float
:
right
;
width
:
350px
;
height
:
calc
(
100vh
-
102px
);
overflow
:
auto
;
}
}
div
.card.bar-small
{
div
.card.bar-small
{
...
@@ -107,7 +108,7 @@ div.card.bar-large {
...
@@ -107,7 +108,7 @@ div.card.bar-large {
div
.card-content.overflow
{
div
.card-content.overflow
{
overflow
:
auto
;
overflow
:
auto
;
max-height
:
5
0
0px
;
max-height
:
3
50px
;
}
}
div
.covex.left-window
{
div
.covex.left-window
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment