diff --git a/apps/explorer_web/assets/css/_typography.scss b/apps/explorer_web/assets/css/_typography.scss index 0e0cc4914c..cbdacb91c4 100644 --- a/apps/explorer_web/assets/css/_typography.scss +++ b/apps/explorer_web/assets/css/_typography.scss @@ -52,6 +52,6 @@ a { } .contract-address { - text-decoration: underline; - text-decoration-style: dashed; + border-bottom: 1px dashed currentColor; + display: inline-block; } diff --git a/apps/explorer_web/assets/css/components/_tile.scss b/apps/explorer_web/assets/css/components/_tile.scss index 52a77c7b50..19a1ade3a7 100644 --- a/apps/explorer_web/assets/css/components/_tile.scss +++ b/apps/explorer_web/assets/css/components/_tile.scss @@ -22,7 +22,7 @@ &-transaction { border-left: 4px solid $blue; - .tile-label, .tile-text-highlight { + .tile-label { color: $blue; } } @@ -51,7 +51,7 @@ &-token { border-left: 4px solid $orange; - .tile-label, .tile-text-highlight { + .tile-label { color: $orange; } } @@ -59,18 +59,38 @@ &-internal-transaction { border-left: 4px solid $teal; - .tile-label, .tile-text-highlight { + .tile-label { color: $teal; } } } + &-status { + &--failed { + border-top: 1px solid lighten($danger, 10%); + border-right: 1px solid lighten($danger, 10%); + border-bottom: 1px solid lighten($danger, 10%); + + .tile-status-label { + color: $danger; + } + } + &--out_of_gas { + border-top: 1px solid lighten($warning, 10%); + border-right: 1px solid lighten($warning, 10%); + border-bottom: 1px solid lighten($warning, 10%); + + .tile-status-label { + color: $warning; + } + } + } + .tile-title { font-size: 14px; font-weight: 600; color: $gray-700; margin-bottom: 0; - display: block; } } diff --git a/apps/explorer_web/assets/css/theme/_poa_variables.scss b/apps/explorer_web/assets/css/theme/_poa_variables.scss index b9571921bf..39a0559089 100644 --- a/apps/explorer_web/assets/css/theme/_poa_variables.scss +++ b/apps/explorer_web/assets/css/theme/_poa_variables.scss @@ -38,7 +38,7 @@ $blue: #4786ff !default; $indigo: #5b33a1 !default; $purple: #9987fc !default; $pink: #e83e8c !default; -$red: #dc3545 !default; +$red: #c74d39 !default; $orange: #ef9a60 !default; $yellow: #ffc107 !default; $green: #20b760 !default; diff --git a/apps/explorer_web/lib/explorer_web/templates/address_internal_transaction/_internal_transaction.html.eex b/apps/explorer_web/lib/explorer_web/templates/address_internal_transaction/_internal_transaction.html.eex index 2a4bd40ff5..3c4d8b7dd4 100644 --- a/apps/explorer_web/lib/explorer_web/templates/address_internal_transaction/_internal_transaction.html.eex +++ b/apps/explorer_web/lib/explorer_web/templates/address_internal_transaction/_internal_transaction.html.eex @@ -18,14 +18,16 @@ <%= render ExplorerWeb.AddressView, "_link.html", address_hash: ExplorerWeb.InternalTransactionView.to_address_hash(@internal_transaction), contract: ExplorerWeb.AddressView.contract?(@internal_transaction.to_address), locale: @locale %> <% end %> - <%= ExplorerWeb.TransactionView.value(@internal_transaction, include_label: false) %> POA - -
<%= gettext("Showing %{count} Validated Transactions", count: Cldr.Number.to_string!(@transaction_estimated_count, format: "#,###")) %>
<%= for transaction <- @transactions do %> -