fix(person-funding): color author-position stat boxes and filter chip by position.
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/head This commit looks good
This commit is contained in:
@@ -445,7 +445,9 @@
|
||||
<div class="funding-detail empty">
|
||||
<div class="empty-overview">
|
||||
@if (activeFilter !== 'all') {
|
||||
<span class="empty-overview__filter">
|
||||
<span
|
||||
class="empty-overview__filter"
|
||||
[ngClass]="getPositionBadgeClass(activeFilter)">
|
||||
Filter: {{ getPositionLabel(activeFilter) }}
|
||||
</span>
|
||||
}
|
||||
@@ -474,7 +476,6 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="empty-overview__hint">
|
||||
<span class="material-icons" aria-hidden="true">touch_app</span>
|
||||
<p>
|
||||
Wähle links einen Förderer aus, um die zugehörigen Publikationen
|
||||
anzuzeigen.
|
||||
|
||||
@@ -147,51 +147,64 @@
|
||||
font-weight: bold;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
&.stat-first {
|
||||
background: #effaf3;
|
||||
border-color: #bdebcf;
|
||||
|
||||
.stat-label,
|
||||
.stat-value {
|
||||
color: #24834f;
|
||||
}
|
||||
}
|
||||
|
||||
&.stat-middle {
|
||||
background: #f6f0ff;
|
||||
border-color: #d8cafe;
|
||||
|
||||
.stat-label,
|
||||
.stat-value {
|
||||
color: #7255d9;
|
||||
}
|
||||
}
|
||||
|
||||
&.stat-last {
|
||||
background: #fff1f2;
|
||||
border-color: #fda4af;
|
||||
|
||||
.stat-label,
|
||||
.stat-value {
|
||||
color: #be123c;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.stat-first,
|
||||
.position-badge--first,
|
||||
.hero-highlight--open,
|
||||
.publication-detail-grid .access-badge--open {
|
||||
background: #effaf3;
|
||||
}
|
||||
|
||||
.stat-first {
|
||||
border-color: #bdebcf;
|
||||
}
|
||||
|
||||
.position-badge--first {
|
||||
color: #24834f;
|
||||
border: 1px solid #bdebcf;
|
||||
}
|
||||
|
||||
.hero-highlight--open,
|
||||
.publication-detail-grid .access-badge--open {
|
||||
border-color: #bdebcf;
|
||||
color: #24834f;
|
||||
}
|
||||
|
||||
.stat-middle,
|
||||
.position-badge--middle {
|
||||
background: #f6f0ff;
|
||||
border-color: #d8cafe;
|
||||
}
|
||||
|
||||
.position-badge--middle {
|
||||
color: #7255d9;
|
||||
border: 1px solid #d8cafe;
|
||||
}
|
||||
|
||||
.stat-last,
|
||||
.position-badge--last {
|
||||
background: #fff1f2;
|
||||
border-color: #fda4af;
|
||||
color: #be123c;
|
||||
}
|
||||
|
||||
.position-badge--first,
|
||||
.position-badge--middle,
|
||||
.position-badge--last {
|
||||
color: #be123c;
|
||||
border: 1px solid #fda4af;
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
}
|
||||
|
||||
.publication-list {
|
||||
@@ -250,6 +263,24 @@
|
||||
font-size: 0.75rem;
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
|
||||
&.position-badge--first {
|
||||
background: #effaf3;
|
||||
border-color: #bdebcf;
|
||||
color: #24834f;
|
||||
}
|
||||
|
||||
&.position-badge--middle {
|
||||
background: #f6f0ff;
|
||||
border-color: #d8cafe;
|
||||
color: #7255d9;
|
||||
}
|
||||
|
||||
&.position-badge--last {
|
||||
background: #fff1f2;
|
||||
border-color: #fda4af;
|
||||
color: #be123c;
|
||||
}
|
||||
}
|
||||
|
||||
&__title {
|
||||
|
||||
Reference in New Issue
Block a user