From 129e996abd4d7d4a53238721dd8a856b233b2872 Mon Sep 17 00:00:00 2001 From: katibest Date: Tue, 10 Jul 2018 09:44:44 -0400 Subject: [PATCH] Update orange color for out badge and white text --- apps/explorer_web/assets/css/app.scss | 1 + apps/explorer_web/assets/css/components/_badge.scss | 3 +++ apps/explorer_web/assets/css/theme/_poa_variables.scss | 2 +- .../templates/address_transaction/_transaction.html.eex | 2 +- 4 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 apps/explorer_web/assets/css/components/_badge.scss diff --git a/apps/explorer_web/assets/css/app.scss b/apps/explorer_web/assets/css/app.scss index 2571ee44a6..668ff54d93 100644 --- a/apps/explorer_web/assets/css/app.scss +++ b/apps/explorer_web/assets/css/app.scss @@ -69,6 +69,7 @@ $fa-font-path: "~@fortawesome/fontawesome-free/webfonts"; @import "components/tile"; @import "components/dashboard-banner"; @import "components/icon-link"; +@import "components/badge"; :export { diff --git a/apps/explorer_web/assets/css/components/_badge.scss b/apps/explorer_web/assets/css/components/_badge.scss new file mode 100644 index 0000000000..7f32acab9a --- /dev/null +++ b/apps/explorer_web/assets/css/components/_badge.scss @@ -0,0 +1,3 @@ +.badge { + color: $white; +} diff --git a/apps/explorer_web/assets/css/theme/_poa_variables.scss b/apps/explorer_web/assets/css/theme/_poa_variables.scss index f2563b8aaa..b9571921bf 100644 --- a/apps/explorer_web/assets/css/theme/_poa_variables.scss +++ b/apps/explorer_web/assets/css/theme/_poa_variables.scss @@ -39,7 +39,7 @@ $indigo: #5b33a1 !default; $purple: #9987fc !default; $pink: #e83e8c !default; $red: #dc3545 !default; -$orange: #fd7e14 !default; +$orange: #ef9a60 !default; $yellow: #ffc107 !default; $green: #20b760 !default; $teal: #009097 !default; diff --git a/apps/explorer_web/lib/explorer_web/templates/address_transaction/_transaction.html.eex b/apps/explorer_web/lib/explorer_web/templates/address_transaction/_transaction.html.eex index db134f6c04..1fac5749de 100644 --- a/apps/explorer_web/lib/explorer_web/templates/address_transaction/_transaction.html.eex +++ b/apps/explorer_web/lib/explorer_web/templates/address_transaction/_transaction.html.eex @@ -14,7 +14,7 @@
<%= if @address.hash == @transaction.from_address_hash do %> - OUT + OUT <% else %> IN <% end %>