Fixes: Cursor bug, Adds: translate

This commit is contained in:
apapachristou 2019-05-21 17:47:52 +03:00
parent e49d7afc54
commit 19ce1b6653
3 changed files with 20 additions and 19 deletions

View File

@ -88,7 +88,7 @@
<h4> DATA MANAGEMENT PLANS </h4>
<div class="info">
<p class="subtitle">{{ dashboardStatisticsData?.totalDataManagementPlanCount }} Public Dmps</p>
<p class="view-all" (click)=viewAllPublicDmpsClicked()>View All</p>
<p class="view-all" (click)=viewAllPublicDmpsClicked()>{{ 'GENERAL.ACTIONS.VIEW-ALL' | translate }}</p>
</div>
</div>
<mat-divider></mat-divider>
@ -102,7 +102,7 @@
<h4> DATASETS </h4>
<div class="info">
<p class="subtitle">{{ dashboardStatisticsData?.totalDataSetCount }} Public Datasets</p>
<p class="view-all" (click)=viewAllPublicDatasetsClicked()>View All</p>
<p class="view-all" (click)=viewAllPublicDatasetsClicked()>{{ 'GENERAL.ACTIONS.VIEW-ALL' | translate }}</p>
</div>
</div>
<mat-divider class="col-12"></mat-divider>

View File

@ -81,7 +81,7 @@
<div class="col-md-3 col-lg-3">
<div class="project-item">
<div class="gray-container container-header">
<span class="ml-2"
<span class="ml-2 pt-2"
(click)="projectClicked(dmp.project.id)">{{ dmp.project.abbreviation }}</span>
</div>
<p class="card-subtitle mt-3 mb-1 ml-3 mr-3">{{ dmp.project.label }}</p>

View File

@ -50,7 +50,6 @@
margin-right: 2em;
margin-top: 2em;
padding: 0.5em;
cursor: pointer;
}
.researchers-title {
@ -59,7 +58,7 @@
background-color: white;
padding: 0px 10px;
margin-top: -16px;
cursor: default;
text-transform: uppercase;
}
@ -68,6 +67,7 @@
align-items: baseline;
margin-top: 0px;
text-transform: uppercase;
cursor: pointer;
}
.container-header p {
@ -176,21 +176,22 @@ h4 span {
}
.desc {
position: relative;
overflow: hidden;
height: 80px;
font-size: 14px;
padding-top: 15px;
margin-bottom: 30px;
position: relative;
overflow: hidden;
height: 80px;
font-size: 14px;
padding-top: 15px;
margin-bottom: 30px;
cursor: default;
}
.desc:after {
content: "";
text-align: right;
position: absolute;
bottom: 0;
right: 0;
width: 70%;
height: 1.4em;
background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1) 50%);
content: "";
text-align: right;
position: absolute;
bottom: 0;
right: 0;
width: 70%;
height: 1.4em;
background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1) 50%);
}