Commit f84964c 1 parent 43d3bf1 commit f84964c Copy full SHA for f84964c
File tree 3 files changed +12
-10
lines changed
libs/ui/inputs/src/lib/navigation-button
3 files changed +12
-10
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
+ // import { getThemeConfig } from '@geonetwork-ui/util/app-config'
13
13
14
14
marker ( 'datahub.header.news' )
15
15
marker ( 'datahub.header.datasets' )
@@ -21,7 +21,7 @@ marker('datahub.header.organisations')
21
21
changeDetection : ChangeDetectionStrategy . OnPush ,
22
22
} )
23
23
export class NavigationMenuComponent {
24
- foregroundColor = getThemeConfig ( ) . HEADER_FOREGROUND_COLOR || '#ffffff'
24
+ foregroundColor = /* getThemeConfig().HEADER_FOREGROUND_COLOR ||*/ '#ffffff'
25
25
displayMobileMenu = false
26
26
tabLinks = [
27
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
39
40
</ div >
40
41
< div
41
42
class ="flex flex-row flex-wrap gap-2 mb-4 ml-4 sm:mr-[332px] "
42
- [style.color] ="foregroundColor "
43
+ [style.color] ="'#ffffff' "
43
44
>
44
45
< div
45
46
*ngIf ="(isGeodata$ | async) === true "
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