@@ -589,14 +607,14 @@ function mapAmount(events: readonly Event[]) {
|
{{ v.height }}
|
{{ toHex(v.hash) }}
@@ -624,8 +642,10 @@ function mapAmount(events: readonly Event[]) {
-
- {{ $t('account.received') }}
+
+ {{ $t('account.received') }}
@@ -648,14 +668,14 @@ function mapAmount(events: readonly Event[]) {
|
{{ v.height }}
|
{{ toHex(v.hash) }}
@@ -683,8 +703,10 @@ function mapAmount(events: readonly Event[]) {
-
- {{ $t('account.acc') }}
+
+ {{ $t('account.acc') }}
diff --git a/src/modules/[chain]/block/[height].vue b/src/modules/[chain]/block/[height].vue
index 68c00340..908debd9 100644
--- a/src/modules/[chain]/block/[height].vue
+++ b/src/modules/[chain]/block/[height].vue
@@ -76,49 +76,50 @@ onBeforeRouteUpdate(async (to, from, next) => {
- #{{ target }}
-
- {{ $t('block.estimated_time') }}: {{ format.toLocaleDate(estimateDate) }}
+ #{{ target }}
+
+ {{ $t('block.estimated_time') }}: {{ format.toLocaleDate(estimateDate) }}
-
-
+
+
#{{ current.block?.header?.height }}
{
-
- {{ $t('block.block_header') }}
+
+ {{ $t('block.block_header') }}
-
- {{ $t('account.transactions') }}
+
+ {{ $t('account.transactions') }}
-
- {{ $t('block.last_commit') }}
+
+ {{ $t('block.last_commit') }}
diff --git a/src/modules/[chain]/block/index.vue b/src/modules/[chain]/block/index.vue
index 9b7ed7b6..35c4e079 100644
--- a/src/modules/[chain]/block/index.vue
+++ b/src/modules/[chain]/block/index.vue
@@ -1,62 +1,88 @@
-
+
-
-
+
+
+
-
+
+
+
+ #{{ target }}
+
+ {{ $t('block.estimated_time') }}: {{ format.toLocaleDate(estimateDate) }}
+
+
+
+
+
+
+
+
- |
- {{ $t('account.height') }}
- |
+ {{ $t('account.messages') }} |
{{ $t('account.hash') }}
|
- {{ $t('account.messages') }} |
{{ $t('block.fees') }} |
+
+ {{ $t('account.height') }}
+ |
-
- |
- {{
- item.height
- }}
- |
-
+ |
+ | {{ format.messages(item.tx.body.messages) }} |
+
{{
item.hash
- }}
+ }}
|
- {{ format.messages(item.tx.body.messages) }} |
{{ format.formatTokens(item.tx.authInfo.fee?.amount) }} |
+
+ {{
+ item.height
+ }}
+ |
-
+
-
diff --git a/src/modules/[chain]/index.vue b/src/modules/[chain]/index.vue
index b217a534..fdd570fe 100644
--- a/src/modules/[chain]/index.vue
+++ b/src/modules/[chain]/index.vue
@@ -146,7 +146,7 @@ const amount = computed({
{{ $t('index.rank') }}:
#{{ coinInfo.market_cap_rank }}
@@ -171,7 +171,7 @@ const amount = computed({
|
- |
+ |
{{
item.height
}}
|
-
+ |
{{ toHex(item.hash) }}
@@ -829,7 +829,7 @@ function mapDelegators(tx: ExtraTxResponse) {
|
- |
+ |
{{ item.height }}
diff --git a/src/modules/[chain]/staking/index.vue b/src/modules/[chain]/staking/index.vue
index e12db6eb..efc34912 100644
--- a/src/modules/[chain]/staking/index.vue
+++ b/src/modules/[chain]/staking/index.vue
@@ -447,7 +447,7 @@ loadAvatars();
{
- const { chain } = to.params
- if(chain){
- const blockchain = useBlockchain()
- if(chain !== blockchain.chainName) {
- blockchain.setCurrent(chain.toString())
- }
- }
-})
+ const { chain } = to.params;
+ if (chain) {
+ const blockchain = useBlockchain();
+ if (chain !== blockchain.chainName) {
+ blockchain.setCurrent(chain.toString());
+ }
+ }
+});
+
+// console.log('router', router.getRoutes());
// Docs: https://router.vuejs.org/guide/advanced/navigation-guards.html#global-before-guards
-export default router;
\ No newline at end of file
+export default router;
diff --git a/src/style.css b/src/style.css
index d9fcf0c3..6385ae06 100644
--- a/src/style.css
+++ b/src/style.css
@@ -80,9 +80,10 @@ table td {
.countdown {
position: absolute;
- width: 45%;
- text-align: right;
- float: right;
+ transform: translate(-50%, -50%);
+ /* width: 45%; */
+ /* text-align: right; */
+ /* float: right; */
}
.validatore-table.table :where(th, td) {
@@ -149,7 +150,7 @@ table td {
}
.btn-secondary {
- @apply cursor-pointer bg-[#2E2E33] rounded-lg border border-[#383B40] px-6 py-[14px] h-[48px] text-[14px] font-medium text-white hover:brightness-150 hover:bg-[#2E2E33] hover:border-[#383B40];
+ @apply cursor-pointer bg-base rounded-lg border border-[#383B40] px-6 py-[14px] h-[48px] text-[14px] font-medium text-white hover:brightness-150 hover:bg-base hover:border-[#383B40];
}
.box-border {
@@ -161,3 +162,14 @@ table td {
color: white;
border: 1px solid #b999f3;
}
+
+.box-content {
+ @apply m-4 md:m-6 mb-4 p-4 md:p-6 rounded-[16px] shadow bg-[#141416] border border-[#242627];
+}
+
+.customTabV2.tabs-boxed .tab-active:not(.tab-disabled):not([disabled]) {
+ background-color: transparent;
+ color: #b999f3;
+ font-weight: 600;
+ border-bottom: 2px solid #b999f3;
+}
diff --git a/tailwind.config.js b/tailwind.config.js
index 952f8d49..c26db114 100644
--- a/tailwind.config.js
+++ b/tailwind.config.js
@@ -1,4 +1,6 @@
/** @type {import('tailwindcss').Config} */
+const colors = require('tailwindcss/colors');
+
module.exports = {
darkMode: ['class'],
content: ['./index.html', './src/**/*.{vue,js,ts,jsx,tsx}'],
@@ -8,9 +10,15 @@ module.exports = {
yes: '#3fb68b',
no: '#ff5353',
info: '#00b2ff',
+ link: '#B999F3',
main: 'var(--text-main)',
secondary: 'var(--text-secondary)',
active: 'var(--bg-active)',
+ base: {
+ DEFAULT: '#2E2E33',
+ 400: '#242627',
+ 500: '#141416',
+ },
},
},
},
| | |