forked from MystenLabs/sui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[explorer] Adds Search Filter (MystenLabs#1959)
* adds unstylised search filter * stylises the search filter * handles what happens when try to look up transaction as an object and address * improves handling when submit object or address in transaction section * reset category when submit search * change placeholder text for address and tx search lint changes * remove backtick strings in Search Co-authored-by: Stella Cannefax <[email protected]>
- Loading branch information
Showing
7 changed files
with
151 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
.form { | ||
@apply flex; | ||
} | ||
|
||
.searchbtn { | ||
@apply bg-sui hover:bg-suidark hover:text-white | ||
border-none text-black rounded-r-md | ||
cursor-pointer font-sans | ||
leading-8 flex-initial mr-[1vw] sm:mr-[5vw] ml-0; | ||
} | ||
|
||
.disabled { | ||
@apply bg-offblack hover:bg-offblack text-white cursor-text; | ||
} | ||
|
||
.searchtext { | ||
@apply border-none rounded-l-md font-mono leading-8 ml-0 | ||
flex-1 ml-[1vw] sm:ml-[5vw] w-[5rem] | ||
text-xs mr-0 bg-offwhite; | ||
} | ||
|
||
.categoryDropdown, .categoryDropdown > option { | ||
@apply flex-initial font-sans cursor-pointer rounded-none border-none border-l-2 border-black; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters