diff --git a/CHANGELOG.md b/CHANGELOG.md index 487bb5c558..836028fa07 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,8 @@ - [#2075](https://github.com/poanetwork/blockscout/pull/2075) - add blocks cache ### Fixes +- [#2142](https://github.com/poanetwork/blockscout/pull/2142) - Removed posdao theme and logo, added 'page not found' image for goerli +- [#2138](https://github.com/poanetwork/blockscout/pull/2138) - badge colors issue, api titles issue - [#2129](https://github.com/poanetwork/blockscout/pull/2129) - Fix for width of explorer elements - [#2121](https://github.com/poanetwork/blockscout/pull/2121) - Binding of 404 page - [#2120](https://github.com/poanetwork/blockscout/pull/2120) - footer links and socials focus color issue diff --git a/apps/block_scout_web/assets/css/components/_api.scss b/apps/block_scout_web/assets/css/components/_api.scss index 6fc2bc9a97..820e1e8f01 100644 --- a/apps/block_scout_web/assets/css/components/_api.scss +++ b/apps/block_scout_web/assets/css/components/_api.scss @@ -1,7 +1,7 @@ -$api-text-monospace-color: $primary !default; +$api-text-monospace-color: $secondary !default; $api-text-monospace-background: rgba($api-text-monospace-color, 0.1) !default; $api-anchors-list-background-color: #f6f7f9 !default; -$api-doc-list-item-title-color: $primary !default; +$api-doc-list-item-title-color: #333 !default; $api-doc-list-item-view-more-color: $api-doc-list-item-title-color !default; .api-text-monospace { @@ -89,8 +89,8 @@ $api-doc-list-item-view-more-color: $api-doc-list-item-title-color !default; .api-doc-list-item-title { color: $api-doc-list-item-title-color; - font-size: 17px; - font-weight: 700; + font-size: 15px; + font-weight: 400; line-height: 1.2; margin: 0 0 15px; } diff --git a/apps/block_scout_web/assets/css/components/_badge.scss b/apps/block_scout_web/assets/css/components/_badge.scss index 2891a6e4ff..9fad8b41dd 100644 --- a/apps/block_scout_web/assets/css/components/_badge.scss +++ b/apps/block_scout_web/assets/css/components/_badge.scss @@ -2,8 +2,8 @@ $badge-success-color: #15bba6 !default; $badge-success-background-color: rgba($badge-success-color, 0.1) !default; $badge-danger-color: #ed9966 !default; $badge-danger-background-color: rgba($badge-danger-color, 0.1) !default; -$badge-neutral-color: #333 !default; -$badge-neutral-background-color: #e9e9e9 !default; +$badge-neutral-color: $secondary !default; +$badge-neutral-background-color: rgba($secondary, .1) !default; .badge { color: $white; diff --git a/apps/block_scout_web/assets/css/theme/_dai_variables.scss b/apps/block_scout_web/assets/css/theme/_dai_variables.scss index 1e19866bbe..50cbcfa290 100644 --- a/apps/block_scout_web/assets/css/theme/_dai_variables.scss +++ b/apps/block_scout_web/assets/css/theme/_dai_variables.scss @@ -57,4 +57,9 @@ $card-tab-active: $secondary; $dashboard-banner-gradient-end ); } -} \ No newline at end of file +} + +// Badges +$badge-neutral-color: #20446e; +$badge-neutral-background-color: rgba(#20446e, .1); +$api-text-monospace-color: #20446e; \ No newline at end of file diff --git a/apps/block_scout_web/assets/css/theme/_ethereum_classic_variables.scss b/apps/block_scout_web/assets/css/theme/_ethereum_classic_variables.scss index 9bec5a1243..68feab4dfc 100644 --- a/apps/block_scout_web/assets/css/theme/_ethereum_classic_variables.scss +++ b/apps/block_scout_web/assets/css/theme/_ethereum_classic_variables.scss @@ -70,3 +70,8 @@ $card-tab-active: $tertiary; filter: brightness(0) invert(1); } } + +// Badges +$badge-neutral-color: $tertiary; +$badge-neutral-background-color: rgba($tertiary, .1); +$api-text-monospace-color: $tertiary; \ No newline at end of file diff --git a/apps/block_scout_web/assets/css/theme/_goerli_variables.scss b/apps/block_scout_web/assets/css/theme/_goerli_variables.scss index 3ab3e4d089..7900dd4c3b 100644 --- a/apps/block_scout_web/assets/css/theme/_goerli_variables.scss +++ b/apps/block_scout_web/assets/css/theme/_goerli_variables.scss @@ -73,3 +73,8 @@ $card-tab-active: $sub-accent-color; ); } } + +// Badges +$badge-neutral-color: $sub-accent-color; +$badge-neutral-background-color: rgba($sub-accent-color, .1); +$api-text-monospace-color: $sub-accent-color; diff --git a/apps/block_scout_web/assets/css/theme/_kovan_variables.scss b/apps/block_scout_web/assets/css/theme/_kovan_variables.scss index 821232bbd5..351f046726 100644 --- a/apps/block_scout_web/assets/css/theme/_kovan_variables.scss +++ b/apps/block_scout_web/assets/css/theme/_kovan_variables.scss @@ -67,4 +67,11 @@ $card-tab-active: $tertiary; $dashboard-banner-gradient-end ); } -} \ No newline at end of file +} + +// Badges +$badge-success-color: #15bba6; +$badge-success-background-color: rgba(#15bba6, .1); +$badge-neutral-color: $tertiary; +$badge-neutral-background-color: rgba($tertiary, .1); +$api-text-monospace-color: $tertiary; \ No newline at end of file diff --git a/apps/block_scout_web/assets/css/theme/_lukso_variables.scss b/apps/block_scout_web/assets/css/theme/_lukso_variables.scss index cfa415b7ae..65f9a73b5f 100644 --- a/apps/block_scout_web/assets/css/theme/_lukso_variables.scss +++ b/apps/block_scout_web/assets/css/theme/_lukso_variables.scss @@ -146,3 +146,8 @@ $dashboard-banner-network-plain-container-height: 150px; } } } + +// Badges +$badge-neutral-color: $tertiary; +$badge-neutral-background-color: rgba($tertiary, .1); +$api-text-monospace-color: $tertiary; diff --git a/apps/block_scout_web/assets/css/theme/_neutral_variables.scss b/apps/block_scout_web/assets/css/theme/_neutral_variables.scss index 8b6676a856..8a0a62d26e 100644 --- a/apps/block_scout_web/assets/css/theme/_neutral_variables.scss +++ b/apps/block_scout_web/assets/css/theme/_neutral_variables.scss @@ -59,4 +59,9 @@ $card-tab-active: $primary; $dashboard-banner-gradient-end ); } -} \ No newline at end of file +} + +// Badges +$badge-neutral-color: $primary; +$badge-neutral-background-color: rgba($primary, .1); +$api-text-monospace-color: $primary; \ No newline at end of file diff --git a/apps/block_scout_web/assets/css/theme/_poa_variables.scss b/apps/block_scout_web/assets/css/theme/_poa_variables.scss index 8b6676a856..8a0a62d26e 100644 --- a/apps/block_scout_web/assets/css/theme/_poa_variables.scss +++ b/apps/block_scout_web/assets/css/theme/_poa_variables.scss @@ -59,4 +59,9 @@ $card-tab-active: $primary; $dashboard-banner-gradient-end ); } -} \ No newline at end of file +} + +// Badges +$badge-neutral-color: $primary; +$badge-neutral-background-color: rgba($primary, .1); +$api-text-monospace-color: $primary; \ No newline at end of file diff --git a/apps/block_scout_web/assets/css/theme/_posdao_variables.scss b/apps/block_scout_web/assets/css/theme/_posdao_variables.scss deleted file mode 100644 index 9d92ca2adc..0000000000 --- a/apps/block_scout_web/assets/css/theme/_posdao_variables.scss +++ /dev/null @@ -1,29 +0,0 @@ -$primary: #15bba6; -$secondary: #17314f; -$tertiary: #00ff00; - -$header-links-color-active: #333; -$dashboard-banner-gradient-start: $secondary; -$dashboard-banner-gradient-end: #1e4168; - -$dashboard-line-color-market: $primary; - -$tile-type-block-border-color: $secondary; -$tile-type-block-color: #333; - -$footer-background-color: #173250; -$footer-text-color: #909dac; - -$navbar-logo-height: auto; -$navbar-logo-width: 100px; - -$footer-logo-height: auto; -$footer-logo-width: 100px; - -$card-background-1: $secondary; -$card-background-1-text-color: #fff; - -$btn-copy-color: $secondary; -$btn-qr-color: $secondary; - -$btn-dropdown-line-color: $secondary; \ No newline at end of file diff --git a/apps/block_scout_web/assets/css/theme/_rsk_variables.scss b/apps/block_scout_web/assets/css/theme/_rsk_variables.scss index e7536db13c..76029e1a34 100644 --- a/apps/block_scout_web/assets/css/theme/_rsk_variables.scss +++ b/apps/block_scout_web/assets/css/theme/_rsk_variables.scss @@ -61,3 +61,7 @@ $card-tab-active: $secondary; filter: brightness(0) invert(1); } } + +// Badges +$badge-neutral-color: #1a323b; +$badge-neutral-background-color: rgba(#1a323b, .1); diff --git a/apps/block_scout_web/assets/css/theme/_sokol_variables.scss b/apps/block_scout_web/assets/css/theme/_sokol_variables.scss index 2d80e64f03..71822bdc5a 100644 --- a/apps/block_scout_web/assets/css/theme/_sokol_variables.scss +++ b/apps/block_scout_web/assets/css/theme/_sokol_variables.scss @@ -65,3 +65,7 @@ $card-tab-active: $sub-accent-color; ); } } + +// Badges +$badge-neutral-color: $tertiary; +$badge-neutral-background-color: rgba($tertiary, .1); \ No newline at end of file diff --git a/apps/block_scout_web/assets/static/images/goerli-page-not-found.png b/apps/block_scout_web/assets/static/images/goerli-page-not-found.png new file mode 100644 index 0000000000..8758824715 Binary files /dev/null and b/apps/block_scout_web/assets/static/images/goerli-page-not-found.png differ diff --git a/apps/block_scout_web/assets/static/images/goerli-page-not-found@2x.png b/apps/block_scout_web/assets/static/images/goerli-page-not-found@2x.png new file mode 100644 index 0000000000..19557af509 Binary files /dev/null and b/apps/block_scout_web/assets/static/images/goerli-page-not-found@2x.png differ diff --git a/apps/block_scout_web/assets/static/images/goerli_logo.png b/apps/block_scout_web/assets/static/images/goerli_logo.png deleted file mode 100644 index 910a7b2362..0000000000 Binary files a/apps/block_scout_web/assets/static/images/goerli_logo.png and /dev/null differ diff --git a/apps/block_scout_web/assets/static/images/posdao_logo.png b/apps/block_scout_web/assets/static/images/posdao_logo.png deleted file mode 100755 index 535b0ab6ac..0000000000 Binary files a/apps/block_scout_web/assets/static/images/posdao_logo.png and /dev/null differ diff --git a/apps/block_scout_web/assets/static/images/posdao_logo_footer.png b/apps/block_scout_web/assets/static/images/posdao_logo_footer.png deleted file mode 100755 index 1b49d8eff2..0000000000 Binary files a/apps/block_scout_web/assets/static/images/posdao_logo_footer.png and /dev/null differ diff --git a/apps/block_scout_web/assets/static/images/posdao_logo_footer.svg b/apps/block_scout_web/assets/static/images/posdao_logo_footer.svg deleted file mode 100644 index 9a26bec27f..0000000000 --- a/apps/block_scout_web/assets/static/images/posdao_logo_footer.svg +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - - - - - - - - -