Delrifai/#420 navbar revamp
Hi Mohammad,
Per our conversation, the following are the changes :
- Convert the sync info into a button/icon => Done, also revamped the sync info dialogue (opens on click)
- Remove the witnesses link and add it to the Top Witnesses Card => Added this, to the top of the witnesses card and kept the see more link
- Push the Logo to the Left => Done
- Revamp the toggle switch of the theme into a button/icon => Done, used two types of icons here since the sun icon in fontawesome was not as friendly as the one used
- Revamp styles of the ViewPopper => Done
- Push all buttons/icons to the right before searchbar =>Done
- Revamp the search bar so that it has a standard width and is expanded on click => Done . I have updated the autocomplete input here which might affect the autocomplete under the search section to fulfill the requirements. I have also updated the styles of the autocomplete input to match the navbar. In addition, I trimmed that trx # to show in the results of the search as 10 characters instead full hash so I don't have a horizontal scroll bar.
Tests :
- Tested on Chrome and Mobile
- Sanity Check on Brave/FF
- All previous functionalities were preserved, including the block sync, the autocomplete inputs, and the viewpopper.
- NB: I tried to make minimal changes to the code without re-writes
- On Mobile, the side menu changed automatically with the changes