Skip to content

Commit 0b88c14

Browse files
committed
visual updates at xs
1 parent 7bb5bc4 commit 0b88c14

File tree

7 files changed

+17
-36
lines changed

7 files changed

+17
-36
lines changed

src/app/browser/pages/profile-search/profile-search.component.html

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
<h1 class="center">Profile Search</h1>
33
<h4 class="center">This tool will find diseases that share your profile of phenotypes.
44
</h4>
5-
<div>
6-
<mat-horizontal-stepper labelPosition="bottom" #stepper>
5+
<mat-horizontal-stepper labelPosition="bottom" #stepper>
76
<mat-step [completed]="submittedTerms">
87
<form class="discover-form">
98
<ng-template matStepLabel>Build Phenotype List</ng-template>
@@ -97,6 +96,5 @@ <h3>Your Phenotype Profile</h3>
9796
<div>
9897
</div>
9998
</mat-step>
100-
</mat-horizontal-stepper>
101-
</div>
99+
</mat-horizontal-stepper>
102100
</div>

src/app/browser/pages/profile-search/profile-search.component.scss

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,7 @@
7676
.mat-form-field {
7777
font-size: 14px;
7878
width: 100%;
79-
}
80-
81-
.profile-container {
82-
margin: 0 10%;
83-
}
79+
};
8480

8581
.tab-output-container {
8682
margin: 1rem 0 0 0;

src/app/shared/search/search/search.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div class="search-wrapper flex flex-row flex-wrap align-items-center">
1+
<div class="search-wrapper flex flex-row flex-wrap align-items-center justify-center">
22
<mat-select class="search-filter sm:flex-[0_0_20%] flex-[0_0_80%] h-[45px]" placeholder="All" [(value)]="navFilter">
33
<mat-option value="all">All</mat-option>
44
<mat-option value="term">Term</mat-option>

src/app/static/home/home.component.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div class="flex flex-row">
2-
<div class="home-search md:flex-[0_0_65%] md:ml-[17%] flex-[90%] ml-[5%]">
2+
<div class="home-search md:flex-[0_0_65%] md:ml-[17%] flex-[100%]">
33
<div class="search-container mat-elevation-z4">
44
<img class="main-logo" src="assets/hpo-logo-white.png"/>
55
<div class="searchbar-container">
@@ -52,7 +52,7 @@ <h2>News & Updates</h2>
5252
</div>
5353
</div>
5454
<div class="home-highlight-menu flex flex-row flex-wrap">
55-
<div routerLink="/tools/exomiser" class="home-item dark md:flex-[0_0_35%] md:ml-[10%] flex-[90%] ml-[5%]">
55+
<div routerLink="/tools/exomiser" class="home-item dark md:flex-[0_0_35%] md:ml-[10%] flex-[90%] ml-[2.5%] mr-[2.5%]">
5656
<div class="flex flex-row flex-1 items-center justify-between">
5757
<img class="tool-icon" src="assets/highlight-images/exomiser.png"/>
5858
<div class="home-body">
@@ -64,7 +64,7 @@ <h2 class="title">Exomiser</h2>
6464
</i>
6565
</div>
6666
</div>
67-
<div routerLink="/tools/phenomizer" class="home-item light cursor-not-allowed md:flex-[0_0_35%] md:ml-[10%] flex-[90%] ml-[5%]">
67+
<div routerLink="/tools/phenomizer" class="home-item light cursor-not-allowed md:flex-[0_0_35%] md:ml-[10%] flex-[90%] ml-[2.5%] mr-[2.5%]">
6868
<div class="flex flex-row flex-1 items-center justify-between">
6969
<img class="tool-icon" src="assets/highlight-images/phenomizer.png"/>
7070
<div class="home-body">
@@ -76,7 +76,7 @@ <h2 class="title">Phenomizer <span class="text-red">[Offline]</span></h2>
7676
</i>
7777
</div>
7878
</div>
79-
<div routerLink="/tools/genomiser" class="home-item light md:flex-[0_0_35%] md:ml-[10%] flex-[90%] ml-[5%]">
79+
<div routerLink="/tools/genomiser" class="home-item light md:flex-[0_0_35%] md:ml-[10%] flex-[90%] ml-[2.5%] mr-[2.5%]">
8080
<div class="flex flex-row flex-1 items-center justify-between">
8181
<img class="tool-icon" src="assets/highlight-images/genomiser.png"/>
8282
<div class="home-body">
@@ -88,7 +88,7 @@ <h2 class="title">Genomiser</h2>
8888
</i>
8989
</div>
9090
</div>
91-
<div routerLink="/browse/profile-search" class="home-item dark md:flex-[0_0_35%] md:ml-[10%] flex-[90%] ml-[5%]">
91+
<div routerLink="/browse/profile-search" class="home-item dark md:flex-[0_0_35%] md:ml-[10%] flex-[90%] ml-[2.5%] mr-[2.5%]">
9292
<div class="flex flex-row flex-1 items-center justify-between">
9393
<img class="tool-icon" src="assets/highlight-images/patientarchive.png"/>
9494
<div class="home-body">
@@ -105,7 +105,7 @@ <h2 class="title">Profile Search</h2>
105105
<div class="flex flex-row items-center justify-between">
106106
<div class="phenopacket-banner mat-elevation-z1 flex-[1_1_80%] ml-[10%] max-w-[80%]" (click)="this.utilityService.openExternalUrl('https://www.ga4gh.org/product/phenopackets/')">
107107
<img class="phenopacket-logo" src="assets/phenopackets.png"/>
108-
<div class="description xs:hidden sm:block">
108+
<div class="description hidden sm:block">
109109
<h1>Phenopackets</h1>
110110
<span class="text-base">A Global Alliance for Genomics and Health (GA4GH) international standard for phenotypic data exchange.</span>
111111
</div>

src/app/static/home/home.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ a .irdirc {
238238
}
239239

240240
& .description {
241-
margin-top: 0;
241+
margin-top: .5rem;
242242
}
243243

244244
& .material-icons {

src/app/static/resources/faq/faq.component.html

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,9 @@ <h1 class="center pageTitle">Frequently Asked Questions</h1>
88
</div>
99
<br>
1010
<div class="center">
11-
<a mat-button href="https://obophenotype.github.io/human-phenotype-ontology/documentation/FAQs/" target="__blank" class="faq-btn normal">Ontology FAQ</a>
11+
<a mat-button href="https://obophenotype.github.io/human-phenotype-ontology/clinicians/FAQs/" target="__blank" class="faq-btn normal">Ontology FAQ</a>
1212
</div>
1313
<div class="center mt-2">
14-
<h3>This page is under construction. Please check back later.</h3>
15-
</div>
16-
<div class="faq-container flex flex-row flex-wrap">
17-
<div class="w-full sm:w-1/2 sm:ml-[25%]">
18-
19-
<!-- <mat-accordion>
20-
<mat-expansion-panel [expanded]="openPanel === 1" id="hpo-relation">
21-
<mat-expansion-panel-header>
22-
<mat-panel-title>
23-
<strong>What are the different ways to work with HPO data?</strong>
24-
</mat-panel-title>
25-
</mat-expansion-panel-header>
26-
<p>
27-
The HPO comes in native formats such as OWL and OBO, and can also be accessed via REST APIs for JSON. To use any of these formats we
28-
</p>
29-
</mat-expansion-panel>
30-
</mat-accordion> -->
31-
</div>
14+
<h3>This page is under construction and being reviewed.</h3>
3215
</div>
3316
</div>

src/styles.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -649,3 +649,7 @@ a.mat-mdc-button-base {
649649
.nav-hover:hover {
650650
color: lightgray !important;
651651
}
652+
653+
.mat-stepper-horizontal {
654+
background: unset !important;
655+
}

0 commit comments

Comments
 (0)