Commit 5297eec 1 parent c0f38af commit 5297eec Copy full SHA for 5297eec
File tree 4 files changed +13
-9
lines changed
catalog/src/lib/language-switcher
inputs/src/lib/navigation-button
4 files changed +13
-9
lines changed Original file line number Diff line number Diff line change 9
9
ROUTER_ROUTE_NEWS ,
10
10
ROUTER_ROUTE_ORGANISATIONS ,
11
11
} from '../../router/constants'
12
+ // import { getThemeConfig } from '@geonetwork-ui/util/app-config'
12
13
13
14
marker ( 'datahub.header.news' )
14
15
marker ( 'datahub.header.datasets' )
@@ -20,6 +21,7 @@ marker('datahub.header.organisations')
20
21
changeDetection : ChangeDetectionStrategy . OnPush ,
21
22
} )
22
23
export class NavigationMenuComponent {
24
+ foregroundColor = /*getThemeConfig().HEADER_FOREGROUND_COLOR ||*/ '#ffffff'
23
25
displayMobileMenu = false
24
26
tabLinks = [
25
27
{
Original file line number Diff line number Diff line change 9
9
[label] ="'datahub.search.back' | translate "
10
10
[icon] ="'arrow_back' "
11
11
[style.--navigation-button-color] ="foregroundColor "
12
+ [style.--color-background] ="'#ffffff' "
12
13
>
13
14
</ gn-ui-navigation-button >
14
15
</ div >
17
18
*ngIf ="metadata?.uniqueIdentifier "
18
19
[record] ="metadata "
19
20
[displayCount] ="false "
20
- class ="flex text-background content-center "
21
+ class ="flex text-background content-center bg-white rounded px-2 items-center justify-center font-semibold text-sm leading-5 "
21
22
[style.color] ="foregroundColor "
22
23
[style.--star-toggle-enabled-color] ="foregroundColor "
23
24
[style.--star-toggle-disabled-color] ="foregroundColor "
24
25
> </ gn-ui-favorite-star >
25
- < gn-ui-language-switcher
26
+ <!-- < gn-ui-language-switcher
26
27
*ngIf="showLanguageSwitcher"
27
28
class="language-switcher text-[13px] mt-0.5"
28
29
[style.--color-main]="foregroundColor"
29
30
[style.--color-gray-300]="foregroundColor"
30
- > </ gn-ui-language-switcher >
31
+ ></gn-ui-language-switcher> -->
31
32
</ div >
32
33
</ div >
33
34
< div
37
38
>
38
39
{{ metadata.title }}
39
40
</ div >
40
- < div class ="flex flex-row gap-2 mb-4 ml-4 " [style.color] ="foregroundColor ">
41
+ < div class ="flex flex-row gap-2 mb-4 ml-4 " [style.color] ="'#ffffff' ">
41
42
< div
42
43
*ngIf ="(isGeodata$ | async) === true "
43
44
class ="flex flex-row bg-primary-darker rounded "
Original file line number Diff line number Diff line change 5
5
[selected] ="currentLang "
6
6
ariaName ="languages "
7
7
[showTitle] ="false "
8
- [extraBtnClass] ="'flex justify-items-center text-white !pl-2 !py-1' "
8
+ [extraBtnClass] ="'flex justify-items-center !pl-2 !py-1' "
9
9
class ="text-sm "
10
10
>
11
11
</ gn-ui-dropdown-selector >
Original file line number Diff line number Diff line change 1
1
< button
2
- class ="group flex items-center justify-center gap-1 backdrop-blur p-1 bg-primary-opacity-30 rounded content-center "
2
+ class ="bg-white text-xs font-semibold group flex items-center justify-center gap-1 backdrop-blur py-1.5 px-2 bg-primary-opacity-30 rounded content-center "
3
3
>
4
- < mat-icon class ="material-symbols-outlined align-middle w-[18px] "> {{
5
- icon
6
- }}</ mat-icon >
4
+ < mat-icon
5
+ class ="material-symbols-outlined align-middle w-[18px] text-primary "
6
+ > {{ icon }}</ mat-icon
7
+ >
7
8
< span
8
9
class ="mx-2 mt-0.5 text-[16px] tracking-widest content-center opacity-75 "
9
10
> {{ label.toUpperCase() }}</ span
You can’t perform that action at this time.
0 commit comments