File tree Expand file tree Collapse file tree 4 files changed +32
-6
lines changed Expand file tree Collapse file tree 4 files changed +32
-6
lines changed Original file line number Diff line number Diff line change 5
5
< ion-icon name ="search " [color] ="!showSearch ? 'light' : 'dark' "> </ ion-icon >
6
6
</ button >
7
7
< form class ="search " (ngSubmit) ="search($event) ">
8
- < input dir ="auto " placeholder ="{{ 'Search for block, transaction or address' }} " [(ngModel)] ="q " name ="search "
9
- autocomplete ="off " autocorrect ="off " spellcheck ="false ">
8
+ < input dir ="auto " placeholder ="{{ 'Search for block, transaction or address' }} " [(ngModel)] ="q " name ="search " autocomplete ="off " autocorrect ="off " spellcheck ="false ">
10
9
</ form >
11
10
12
11
< ion-buttons >
13
- < button ion-button (click) ="changeCurrency($event) ">
14
- < ion-icon name ="logo-bitcoin " *ngIf ="currencyProvider?.currencySymbol !== 'USD' "> </ ion-icon >
12
+ < button ion-button (click) ="changeCurrency($event) " class =" cn-button " >
13
+ < ion-icon name ="logo-bitcoin " *ngIf ="(chainNetwork.chain === 'BTC' || chainNetwork.chain === 'BCH') && currencyProvider?.currencySymbol !== 'USD' "> </ ion-icon >
15
14
< ion-icon name ="logo-usd " *ngIf ="currencyProvider?.currencySymbol === 'USD' "> </ ion-icon >
15
+ < img class ="eth-icon " src ="assets/img/ethicon.svg " *ngIf ="chainNetwork.chain === 'ETH' && currencyProvider?.currencySymbol !== 'USD' " width ="12 ">
16
16
17
17
{{ currencyProvider?.currencySymbol }}
18
18
26
26
27
27
< ion-toolbar class ="mobile-searchbar " fixed [hidden] ="!showSearch ">
28
28
< form (ngSubmit) ="search($event) ">
29
- < ion-searchbar #searchbar placeholder ="{{ 'Search for block, transaction or address' }} " [(ngModel)] ="q "
30
- name ="search "> </ ion-searchbar >
29
+ < ion-searchbar #searchbar placeholder ="{{ 'Search for block, transaction or address' }} " [(ngModel)] ="q " name ="search "> </ ion-searchbar >
31
30
</ form >
32
31
</ ion-toolbar >
33
32
</ ion-header >
Original file line number Diff line number Diff line change @@ -62,4 +62,10 @@ head-nav {
62
62
display : none ;
63
63
}
64
64
}
65
+ .cn-button :hover ,
66
+ .cn-button :focus {
67
+ img {
68
+ filter : invert (100% ) contrast (44% );
69
+ }
70
+ }
65
71
}
You can’t perform that action at this time.
0 commit comments