diff --git a/apps/block_scout_web/assets/css/components/_card.scss b/apps/block_scout_web/assets/css/components/_card.scss index 41e0e78745..c4a5db1ed1 100644 --- a/apps/block_scout_web/assets/css/components/_card.scss +++ b/apps/block_scout_web/assets/css/components/_card.scss @@ -1,4 +1,7 @@ +$card-background-color: #fff !default; + .card { + background-color: $card-background-color; border-radius: 10px; border: none; box-shadow: 0 5px 40px -5px rgba(#000, 0.25); diff --git a/apps/block_scout_web/assets/css/components/_footer.scss b/apps/block_scout_web/assets/css/components/_footer.scss index c7055d453b..f18cc229ce 100644 --- a/apps/block_scout_web/assets/css/components/_footer.scss +++ b/apps/block_scout_web/assets/css/components/_footer.scss @@ -1,15 +1,15 @@ -$footer-padding: 1em; -$footer-text-color: rgba($white, 0.7); +$footer-background-color: $secondary !default; +$footer-padding: 1em !default; +$footer-text-color: rgba(#fff, 0.7) !default; .footer { - font-size: 12px; - background: $primary; + background: $footer-background-color; color: $footer-text-color; - margin-top: $footer-padding; + font-size: 12px; + margin: 0; padding: $footer-padding; position: relative; - @media (max-width: $breakpoint-md) { width: 100%; } diff --git a/apps/block_scout_web/assets/css/theme/_posdao_variables.scss b/apps/block_scout_web/assets/css/theme/_posdao_variables.scss index a22aa4036f..19315c701b 100644 --- a/apps/block_scout_web/assets/css/theme/_posdao_variables.scss +++ b/apps/block_scout_web/assets/css/theme/_posdao_variables.scss @@ -9,4 +9,4 @@ $dashboard-banner-gradient-end: #1e4168; $dashboard-line-color-price: $secondary; $dashboard-line-color-market: $primary; -$tile-type-block-border-color: $secondary !default; \ No newline at end of file +$tile-type-block-border-color: $secondary; \ No newline at end of file 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 new file mode 100644 index 0000000000..9a26bec27f --- /dev/null +++ b/apps/block_scout_web/assets/static/images/posdao_logo_footer.svg @@ -0,0 +1,21 @@ + diff --git a/apps/block_scout_web/config/config.exs b/apps/block_scout_web/config/config.exs index 179e83c8c4..69a3cb4988 100644 --- a/apps/block_scout_web/config/config.exs +++ b/apps/block_scout_web/config/config.exs @@ -18,6 +18,7 @@ config :block_scout_web, BlockScoutWeb.Chain, subnetwork: System.get_env("SUBNETWORK"), network_icon: System.get_env("NETWORK_ICON"), logo: System.get_env("LOGO"), + logo_footer: System.get_env("LOGO_FOOTER"), has_emission_funds: false config :block_scout_web, diff --git a/apps/block_scout_web/lib/block_scout_web/templates/layout/_footer.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/layout/_footer.html.eex index 4a15dc8f1e..67c26af175 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/layout/_footer.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/layout/_footer.html.eex @@ -3,7 +3,7 @@