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 landing page update (MystenLabs#3217)
* explorer landing page update * rm the temp pagination code from RecentTxCard component * comment update * fixed pagination, added pag cont number and rm unnessary var * style update * lint * error msg display added on tx result page * rm background from module code view * update rm codeview background offwhite color
- Loading branch information
Showing
15 changed files
with
325 additions
and
89 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
25 changes: 19 additions & 6 deletions
25
explorer/client/src/components/pagination/Pagination.module.css
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 |
---|---|---|
@@ -1,22 +1,35 @@ | ||
.pagination { | ||
@apply flex flex-row items-center justify-center list-none; | ||
@apply flex flex-row items-center justify-start list-none w-full; | ||
} | ||
|
||
.pagination ul { | ||
@apply flex flex-row items-center justify-center list-none pl-0; | ||
@apply flex flex-row items-center justify-center list-none p-0 m-0; | ||
} | ||
|
||
.pagination ul li { | ||
@apply mr-2; | ||
@apply mr-2 hidden md:block; | ||
} | ||
|
||
.pagination ul li button { | ||
@apply bg-gray-200 hover:bg-gray-300 focus:bg-gray-300 text-gray-800 hover:text-gray-800 focus:text-gray-800 font-medium py-2 px-4 rounded-none border-0 cursor-pointer | ||
md:pr-3 md:pl-3 pr-1.5 pl-1.5; | ||
@apply text-gray-600 hover:text-gray-800 focus:text-gray-800 font-medium py-2 px-4 cursor-pointer | ||
md:pr-3 md:pl-3 pr-3 pl-3 border-[1px] rounded-[6px] border-white bg-[#FFFFFF] hover:bg-[#F4FBFF]; | ||
|
||
border: 1px solid #e9eaeb; | ||
transition: all 0.4s ease; | ||
} | ||
|
||
.arrow { | ||
@apply block !important; | ||
} | ||
|
||
.activepag { | ||
@apply bg-sui text-white !important; | ||
@apply bg-[#F4FBFF] text-sui-dark border-sui-dark !important; | ||
} | ||
|
||
.paginationleft svg { | ||
transform: rotate(180deg); | ||
} | ||
|
||
.paginationdot:hover { | ||
@apply bg-[#FFFFFF] hover:bg-[#FFFFFF]; | ||
} |
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
Oops, something went wrong.