diff --git a/libs/openchallenges/challenge/src/lib/_challenge-theme.scss b/libs/openchallenges/challenge/src/lib/_challenge-theme.scss index 91cf3e074c..21f9a05814 100644 --- a/libs/openchallenges/challenge/src/lib/_challenge-theme.scss +++ b/libs/openchallenges/challenge/src/lib/_challenge-theme.scss @@ -11,31 +11,39 @@ .base { background-color: white; } + #profile-top, #profile-stats { border-color: transparent; background-color: map.get($figma, dl-color-default-hover1); } + .featured { border-color: transparent; color: #71c663; } + .username { color: map.get($figma, dl-color-default-secondary1); } + .profile-nav-group { border-color: map.get($figma, dl-color-default-primary2); - background-color: rgba(255, 255, 255, 1); + background-color: rgb(255 255 255 / 100%); } + .profile-nav-item { border-color: transparent; + &:focus, &:hover { background-color: map.get($figma, dl-color-default-primary1); color: white; } + color: black; } + .profile-nav-item.active-tab { background-color: map.get($figma, dl-color-default-navbardark); color: white; @@ -60,11 +68,7 @@ } } - .text-grey { - color: rgba(black, 0.38); - } - - @media (max-width: 479px) { + @media (width <= 479px) { .profile-pic { background-color: map.get($figma, dl-color-default-hover2); } @@ -75,18 +79,22 @@ .username { font-size: 28px; } + .profile-featured > .mat-icon { font-size: 60px; } + .profile-pic { div.avatar-content { - font-family: 'Lato', sans-serif !important; + font-family: Lato, sans-serif !important; } } - @media screen and (max-width: 641px) { + + @media screen and (width <= 641px) { #profile-details > h2 { font-size: 32px; } + #profile-details > h3 { font-size: 21px; } @@ -95,12 +103,14 @@ @mixin theme($theme) { $color-config: mat.m2-get-color-config($theme); - @if $color-config != null { + + @if $color-config { @include color($theme); } $typography-config: mat.m2-get-typography-config($theme); - @if $typography-config != null { + + @if $typography-config { @include typography($theme); } } diff --git a/libs/openchallenges/challenge/src/lib/challenge-organizers/challenge-organizers.component.html b/libs/openchallenges/challenge/src/lib/challenge-organizers/challenge-organizers.component.html index a6f5843c1d..7e0322efde 100644 --- a/libs/openchallenges/challenge/src/lib/challenge-organizers/challenge-organizers.component.html +++ b/libs/openchallenges/challenge/src/lib/challenge-organizers/challenge-organizers.component.html @@ -13,7 +13,7 @@

Organizers

-

Not available

+

There are no active OpenChallenges users at this time.

diff --git a/libs/openchallenges/challenge/src/lib/challenge-stats/challenge-stats.component.html b/libs/openchallenges/challenge/src/lib/challenge-stats/challenge-stats.component.html index 00018707d6..eb886b876c 100644 --- a/libs/openchallenges/challenge/src/lib/challenge-stats/challenge-stats.component.html +++ b/libs/openchallenges/challenge/src/lib/challenge-stats/challenge-stats.component.html @@ -1,11 +1,11 @@
-
+ diff --git a/libs/openchallenges/ui/src/lib/person-card/mock-challenge-organizers.ts b/libs/openchallenges/ui/src/lib/person-card/mock-challenge-organizers.ts index a259795c68..3a67329b71 100644 --- a/libs/openchallenges/ui/src/lib/person-card/mock-challenge-organizers.ts +++ b/libs/openchallenges/ui/src/lib/person-card/mock-challenge-organizers.ts @@ -1,18 +1,18 @@ import { ChallengeOrganizer } from './challenge-organizer'; export const MOCK_CHALLENGE_ORGANIZERS: ChallengeOrganizer[] = [ - { - id: '', - challengeId: '1', - login: 'awesome-lead', - name: 'Awesome Lead', - roles: ['ChallengeLead'], - }, - { - id: '', - challengeId: '2', - name: 'Awesome Engineer', - login: 'awesome-engineer', - roles: ['InfrastructureLead'], - }, + // { + // id: '', + // challengeId: '1', + // login: 'awesome-lead', + // name: 'Awesome Lead', + // roles: ['ChallengeLead'], + // }, + // { + // id: '', + // challengeId: '2', + // name: 'Awesome Engineer', + // login: 'awesome-engineer', + // roles: ['InfrastructureLead'], + // }, ]; diff --git a/libs/openchallenges/ui/src/lib/person-card/mock-org-members.ts b/libs/openchallenges/ui/src/lib/person-card/mock-org-members.ts index 8fbf9c986e..1edda417af 100644 --- a/libs/openchallenges/ui/src/lib/person-card/mock-org-members.ts +++ b/libs/openchallenges/ui/src/lib/person-card/mock-org-members.ts @@ -1,31 +1,31 @@ import { OrgMembership } from './org-membership'; export const MOCK_ORG_MEMBERS: OrgMembership[] = [ - { - id: '', - name: 'Awesome Admin', - state: 'active', - roles: ['admin'], - avatarUrl: '', - organizationId: '', - userId: '', - }, - { - id: '', - name: 'Awesome Member1', - state: 'active', - roles: ['member'], - avatarUrl: '', - organizationId: '', - userId: '', - }, - { - id: '', - name: 'Awesome Member2', - state: 'active', - roles: ['member'], - avatarUrl: '', - organizationId: '', - userId: '', - }, + // { + // id: '', + // name: 'Awesome Admin', + // state: 'active', + // roles: ['admin'], + // avatarUrl: '', + // organizationId: '', + // userId: '', + // }, + // { + // id: '', + // name: 'Awesome Member1', + // state: 'active', + // roles: ['member'], + // avatarUrl: '', + // organizationId: '', + // userId: '', + // }, + // { + // id: '', + // name: 'Awesome Member2', + // state: 'active', + // roles: ['member'], + // avatarUrl: '', + // organizationId: '', + // userId: '', + // }, ];