diff --git a/webapp/src/app/modules/person-funding/person-funding.component.html b/webapp/src/app/modules/person-funding/person-funding.component.html
index 8c579e5f..4fa60a0a 100644
--- a/webapp/src/app/modules/person-funding/person-funding.component.html
+++ b/webapp/src/app/modules/person-funding/person-funding.component.html
@@ -303,17 +303,6 @@
}
} @else {
-
-
- {{ getUniquePublicationCount() }}
- Einzigartige Publikationen
-
-
- {{ filteredFunders.length }}
- Förderer
-
-
-
@@ -321,23 +310,35 @@
Filter nach Position:
+ [attr.aria-pressed]="activeFilter === 'all'"
+ (click)="setFilter('all')"
+ >
Alle
+ [attr.aria-pressed]="activeFilter === 'first'"
+ (click)="setFilter('first')"
+ >
Erstautor
+ [attr.aria-pressed]="activeFilter === 'middle'"
+ (click)="setFilter('middle')"
+ >
Mitautor
+ [attr.aria-pressed]="activeFilter === 'last'"
+ (click)="setFilter('last')"
+ >
Letztautor
@@ -466,7 +467,44 @@
} @else {
-
Klicke auf einen Förderer für Details.
+
+ @if (activeFilter !== "all") {
+
+ Filter: {{ getPositionLabel(activeFilter) }}
+
+ }
+
Förderübersicht
+
+ @if (activeFilter === "all") {
+ Alle geförderten Publikationen dieser Person im Überblick.
+ } @else {
+ Nur Publikationen mit der gewählten Autorenposition.
+ }
+
+
+
+ {{
+ getUniquePublicationCount()
+ }}
+ Einzigartige Publikationen
+
+
+ {{
+ filteredFunders.length
+ }}
+ Förderer
+
+
+
+
touch_app
+
+ Wähle links einen Förderer aus, um die zugehörigen Publikationen
+ anzuzeigen.
+
+
+
}
diff --git a/webapp/src/app/modules/person-funding/person-funding.component.scss b/webapp/src/app/modules/person-funding/person-funding.component.scss
index 949d838c..0d6f7ab9 100644
--- a/webapp/src/app/modules/person-funding/person-funding.component.scss
+++ b/webapp/src/app/modules/person-funding/person-funding.component.scss
@@ -23,38 +23,42 @@
button {
padding: 6px 14px;
- border: 1px solid #ccc;
+ border: 1px solid transparent;
border-radius: 20px;
- background: white;
+ background: #fff;
cursor: pointer;
font-size: 14px;
+ font-weight: 500;
- &:hover {
- background: #f0f0f0;
+ &.active {
+ font-weight: 600;
+ border-width: 2px;
+ padding: 5px 13px;
}
}
+
button:nth-child(2) {
- background: #f0f6ff;
- color: #0b63ce;
- border-color: #bdd4ff;
+ color: #3b82c4;
+ border-color: #c7dcfa;
+ &.active { color: #0b4f9e; background: #e8f2ff; border-color: #3b82c4; }
}
button:nth-child(3) {
- background: #effaf3;
- color: #24834f;
- border-color: #bdebcf;
+ color: #3d9a66;
+ border-color: #b8e6cb;
+ &.active { color: #1a6b3f; background: #e8f7ee; border-color: #3d9a66; }
}
button:nth-child(4) {
- background: #f6f0ff;
- color: #7255d9;
- border-color: #d8cafe;
+ color: #7c65d9;
+ border-color: #d5c8f8;
+ &.active { color: #5b3fc9; background: #f0ebff; border-color: #7c65d9; }
}
button:nth-child(5) {
- background: #fff7e8;
- color: #c67500;
- border-color: #ffd796;
+ color: #d1435f;
+ border-color: #f8c4ce;
+ &.active { color: #a61e3a; background: #ffe8ec; border-color: #d1435f; }
}
}
@@ -69,9 +73,7 @@
color: #333;
font-size: 14px;
- span {
- color: #555;
- }
+ span { color: #555; }
select {
border: 0;
@@ -101,9 +103,7 @@
flex-wrap: wrap;
}
- .sort-control {
- margin-left: auto;
- }
+ .sort-control { margin-left: auto; }
table {
width: 100%;
@@ -119,14 +119,7 @@
tr {
cursor: pointer;
-
- &:hover {
- background: #f5f5f5;
- }
-
- &.selected {
- background: #f0f0f0;
- }
+ &.selected { background: #f0f0f0; }
}
td {
@@ -152,18 +145,22 @@
display: flex;
align-items: center;
justify-content: center;
- color: #999;
- min-height: 200px;
+ min-height: 280px;
+ padding: 24px;
+ background:
+ radial-gradient(circle at 100% 0%, rgba(200, 217, 255, 0.35), transparent 45%),
+ linear-gradient(160deg, #fff 0%, #f8faff 100%);
+ border-color: #dbe3f2;
}
h3 {
- margin: 0 0 16px 0;
+ margin: 0 0 16px;
font-size: 16px;
color: #333;
}
h4 {
- margin: 16px 0 8px 0;
+ margin: 16px 0 8px;
font-size: 14px;
color: #555;
}
@@ -172,16 +169,13 @@
.position-stats {
display: flex;
gap: 12px;
- margin-bottom: 16px;
+ margin: 0 auto 16px;
width: fit-content;
- margin-left: auto;
- margin-right: auto;
.stat {
- flex: 0 auto;
min-width: 100px;
text-align: center;
- background: white;
+ background: #fff;
border: 1px solid #e0e0e0;
border-radius: 8px;
padding: 10px;
@@ -200,20 +194,48 @@
color: #333;
}
}
- .stat-first {
- background: #effaf3;
- border-color: #bdebcf;
- }
+}
- .stat-middle {
- background: #f6f0ff;
- border-color: #d8cafe;
- }
+.stat-first,
+.position-badge--first,
+.hero-highlight--open,
+.publication-detail-grid .access-badge--open {
+ background: #effaf3;
+}
- .stat-last {
- background: #fff7e8;
- border-color: #ffd796;
- }
+.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;
+}
+
+.position-badge--last {
+ color: #be123c;
+ border: 1px solid #fda4af;
}
.publication-list {
@@ -241,7 +263,7 @@
padding: 4px 10px;
border: 1px solid #d0d0d0;
border-radius: 6px;
- background: white;
+ background: #fff;
cursor: pointer;
font-size: 12px;
@@ -257,38 +279,109 @@
}
}
-.funding-summary {
- margin-bottom: 16px;
+.empty-overview {
+ width: 100%;
+ text-align: center;
- .summary-line {
- margin: 0 0 4px 0;
- font-size: 14px;
- color: #333;
- }
-
- .summary-label {
- color: #333;
- }
-
- .summary-value {
+ &__filter {
+ display: inline-block;
+ margin-bottom: 12px;
+ padding: 4px 12px;
+ border: 1px solid #dbe3f2;
+ border-radius: 999px;
+ background: rgba(255, 255, 255, 0.9);
+ color: #475569;
+ font-size: 0.75rem;
font-weight: 600;
- color: #333;
+ text-transform: uppercase;
+ }
+
+ &__title {
+ margin: 0 0 8px;
+ font-size: 1.125rem;
+ color: #1e3a5f;
+ }
+
+ &__subtitle {
+ margin: 0 0 20px;
+ color: #64748b;
+ font-size: 0.875rem;
+ line-height: 1.5;
+ }
+
+ &__stats {
+ display: grid;
+ grid-template-columns: 1fr 1fr;
+ gap: 12px;
+ margin-bottom: 20px;
+ }
+
+ &__stat {
+ display: flex;
+ flex-direction: column;
+ gap: 6px;
+ padding: 16px 12px;
+ border: 1px solid #e0e6f0;
+ border-radius: 10px;
+ background: rgba(255, 255, 255, 0.85);
+ }
+
+ &__stat-value {
+ font-size: 1.75rem;
+ font-weight: 700;
+ line-height: 1.1;
+ color: #1e3a5f;
+ }
+
+ &__stat-label {
+ font-size: 0.8rem;
+ line-height: 1.35;
+ color: #64748b;
+ }
+
+ &__hint {
+ display: flex;
+ align-items: flex-start;
+ gap: 10px;
+ padding: 12px 14px;
+ border: 1px dashed #c7d5ea;
+ border-radius: 10px;
+ background: rgba(255, 255, 255, 0.7);
+ text-align: left;
+
+ .material-icons {
+ font-size: 20px;
+ color: #3b82c4;
+ }
+
+ p {
+ margin: 0;
+ color: #475569;
+ font-size: 0.875rem;
+ line-height: 1.45;
+ }
}
}
-.funding-publication-page {
- padding: 16px;
-}
+.funding-publication-page { padding: 16px; }
-.publication-detail-back {
+.publication-detail-back,
+.publication-more-info {
display: inline-flex;
align-items: center;
- gap: 6px;
border: 0;
background: transparent;
cursor: pointer;
}
+.publication-detail-back { gap: 6px; }
+
+.publication-more-info {
+ gap: 4px;
+ margin-top: 6px;
+ padding: 0;
+}
+
.publication-detail-hero {
display: flex;
justify-content: space-between;
@@ -326,7 +419,6 @@
font-size: 0.75rem;
font-weight: 700;
text-transform: uppercase;
- letter-spacing: 0.02em;
}
}
@@ -362,7 +454,6 @@
display: inline-flex;
align-items: center;
gap: 6px;
- flex-shrink: 0;
padding: 10px 16px;
border: 1px solid #bdd4ff;
border-radius: 8px;
@@ -371,33 +462,14 @@
font-weight: 600;
font-size: 0.875rem;
text-decoration: none;
- white-space: nowrap;
- &:hover {
- background: #e3efff;
- }
-
- .material-icons {
- font-size: 18px;
- }
- }
-}
-
-@media (max-width: 720px) {
- .publication-detail-hero {
- flex-direction: column;
- align-items: stretch;
-
- &__action {
- justify-content: center;
- }
+ .material-icons { font-size: 18px; }
}
}
.hero-highlight {
display: inline-flex;
flex-direction: column;
- min-width: 72px;
padding: 8px 12px;
border: 1px solid #e0e6f0;
border-radius: 8px;
@@ -414,7 +486,6 @@
font-size: 0.7rem;
color: #64748b;
text-transform: uppercase;
- letter-spacing: 0.03em;
}
&--badge {
@@ -426,12 +497,6 @@
color: #475569;
}
- &--open {
- border-color: #bdebcf;
- background: #effaf3;
- color: #24834f;
- }
-
&--closed {
border-color: #e0e6f0;
background: #f8fafc;
@@ -447,24 +512,6 @@
font-size: 0.8rem;
font-weight: 700;
- &--first {
- background: #effaf3;
- color: #24834f;
- border: 1px solid #bdebcf;
- }
-
- &--middle {
- background: #f6f0ff;
- color: #7255d9;
- border: 1px solid #d8cafe;
- }
-
- &--last {
- background: #fff7e8;
- color: #c67500;
- border: 1px solid #ffd796;
- }
-
&--unknown {
background: #f1f5f9;
color: #64748b;
@@ -472,179 +519,123 @@
}
}
-.publication-detail-grid {
+$g: '.publication-detail-grid';
+
+#{$g} {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
gap: 12px;
+}
- .publication-detail-main,
- .publication-detail-side {
- display: grid;
- gap: 12px;
- min-width: 0;
- }
+#{$g} .publication-detail-main,
+#{$g} .publication-detail-side {
+ display: grid;
+ gap: 12px;
+ min-width: 0;
+}
- .publication-detail-section {
- border: 1px solid #e0e6f0;
- border-radius: 10px;
- padding: 18px;
- background: #fff;
+#{$g} .publication-detail-section {
+ border: 1px solid #e0e6f0;
+ border-radius: 10px;
+ padding: 18px;
+ background: #fff;
- h3 {
- margin: 0 0 14px;
- font-size: 1rem;
- color: #1e3a5f;
- }
-
- &--funding {
- background: #fafbfd;
- }
- }
-
- .publication-overview,
- .publication-abstract {
- margin: 0;
- color: #334155;
- line-height: 1.65;
- }
-
- .publication-detail-facts {
- display: grid;
- gap: 12px;
- margin: 0;
-
- div {
- display: grid;
- grid-template-columns: 130px minmax(0, 1fr);
- gap: 12px;
- }
-
- dt {
- color: #64748b;
- font-size: 0.875rem;
- }
-
- dd {
- margin: 0;
- word-break: break-word;
- color: #1e293b;
- }
- }
-
- .tag-list {
- display: flex;
- flex-wrap: wrap;
- gap: 6px;
- margin: 0;
- padding: 0;
- list-style: none;
-
- &--compact .tag {
- font-size: 0.75rem;
- padding: 3px 8px;
- }
- }
-
- .tag {
- padding: 4px 10px;
- border-radius: 999px;
- background: #f0f6ff;
- border: 1px solid #dbeafe;
- color: #1e40af;
- font-size: 0.8rem;
- line-height: 1.3;
- }
-
- .access-badge {
- display: inline-flex;
- padding: 4px 10px;
- border-radius: 999px;
- font-size: 0.8rem;
- font-weight: 600;
- background: #f1f5f9;
- color: #64748b;
-
- &--open {
- background: #effaf3;
- color: #24834f;
- }
-
- &--closed {
- background: #f8fafc;
- color: #475569;
- }
- }
-
- .access-actions {
- display: flex;
- flex-wrap: wrap;
- gap: 10px;
- align-items: center;
- }
-
- .inline-action {
- display: inline-flex;
- align-items: center;
- gap: 4px;
- color: #0b63ce;
- font-weight: 600;
- font-size: 0.875rem;
- text-decoration: none;
-
- .material-icons {
- font-size: 16px;
- }
- }
-
- .warning-badge {
- display: inline-flex;
- padding: 4px 10px;
- border-radius: 999px;
- background: #fef2f2;
- border: 1px solid #fecaca;
- color: #b91c1c;
- font-size: 0.8rem;
- font-weight: 600;
- }
-
- .citation-year-table {
- border-collapse: collapse;
-
- th,
- td {
- padding: 2px 0;
- font-weight: normal;
- text-align: left;
- vertical-align: top;
- }
-
- th {
- padding-right: 20px;
- font-weight: 600;
- color: #334155;
- white-space: nowrap;
- }
-
- td {
- color: #1e293b;
- }
+ h3 {
+ margin: 0 0 14px;
+ font-size: 1rem;
+ color: #1e3a5f;
}
}
-@media (max-width: 960px) {
- .publication-detail-grid {
- grid-template-columns: 1fr;
- }
+#{$g} .publication-overview,
+#{$g} .publication-abstract {
+ margin: 0;
+ color: #334155;
+ line-height: 1.65;
+}
+
+#{$g} .publication-detail-facts {
+ display: grid;
+ gap: 12px;
+ margin: 0;
+}
+
+#{$g} .publication-detail-facts div {
+ display: grid;
+ grid-template-columns: 130px minmax(0, 1fr);
+ gap: 12px;
+}
+
+#{$g} .publication-detail-facts dt {
+ color: #64748b;
+ font-size: 0.875rem;
+}
+
+#{$g} .publication-detail-facts dd {
+ margin: 0;
+ word-break: break-word;
+ color: #1e293b;
+}
+
+#{$g} .tag-list {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 6px;
+ margin: 0;
+ padding: 0;
+ list-style: none;
+}
+
+#{$g} .tag,
+#{$g} .access-badge,
+#{$g} .warning-badge {
+ display: inline-flex;
+ padding: 4px 10px;
+ border-radius: 999px;
+ font-size: 0.8rem;
+}
+
+#{$g} .tag {
+ background: #f0f6ff;
+ border: 1px solid #dbeafe;
+ color: #1e40af;
+ line-height: 1.3;
+}
+
+#{$g} .access-badge {
+ font-weight: 600;
+ background: #f1f5f9;
+ color: #64748b;
+}
+
+#{$g} .access-badge--closed {
+ background: #f8fafc;
+ color: #475569;
+}
+
+#{$g} .inline-action {
+ display: inline-flex;
+ align-items: center;
+ gap: 4px;
+ color: #0b63ce;
+ font-weight: 600;
+ font-size: 0.875rem;
+ text-decoration: none;
+
+ .material-icons { font-size: 16px; }
+}
+
+#{$g} .warning-badge {
+ background: #fef2f2;
+ border: 1px solid #fecaca;
+ color: #b91c1c;
+ font-weight: 600;
}
.publication-item {
padding: 8px 0;
border-bottom: 2px solid #5b5555;
cursor: pointer;
-
- &:hover {
- background: #f9f9f9;
- }
}
.publication-title {
@@ -654,30 +645,31 @@
word-break: break-word;
display: block;
}
-.publication-more-info {
- display: flex;
- align-items: center;
- gap: 4px;
- margin-top: 6px;
- border: 0;
- background: transparent;
- padding: 0;
- cursor: pointer;
-}
+
+.mehr-infos-label,
+.publication-link-icon { color: #1976d2; }
.mehr-infos-label {
font-size: 0.8rem;
- color: #1976d2;
font-weight: 500;
}
.publication-link-icon {
display: flex;
align-items: center;
- color: #1976d2;
- flex-shrink: 0;
- .material-icons {
- font-size: 16px;
+ .material-icons { font-size: 16px; }
+}
+
+@media (max-width: 720px) {
+ .publication-detail-hero {
+ flex-direction: column;
+ align-items: stretch;
+
+ &__action { justify-content: center; }
}
}
+
+@media (max-width: 960px) {
+ #{$g} { grid-template-columns: 1fr; }
+}