From 252967c5e784878e2d3da72ee81e064decfc19e4 Mon Sep 17 00:00:00 2001 From: Ryan Arthur Date: Thu, 25 Oct 2018 13:40:09 -0400 Subject: [PATCH 1/3] Add theme color stylesheets --- apps/block_scout_web/assets/css/theme/_callisto_variables.scss | 3 +++ apps/block_scout_web/assets/css/theme/_ellaism_variables.scss | 3 +++ apps/block_scout_web/assets/css/theme/_expanse_variables.scss | 3 +++ apps/block_scout_web/assets/css/theme/_gochain_variables.scss | 3 +++ apps/block_scout_web/assets/css/theme/_musicoin_variables.scss | 3 +++ apps/block_scout_web/assets/css/theme/_pirl_variables.scss | 3 +++ apps/block_scout_web/assets/css/theme/_social_variables.scss | 3 +++ apps/block_scout_web/assets/css/theme/_tobalaba_variables.scss | 3 +++ .../block_scout_web/assets/css/theme/_tomochain_variables.scss | 3 +++ apps/block_scout_web/assets/css/theme/_wanchain_variables.scss | 3 +++ 10 files changed, 30 insertions(+) create mode 100644 apps/block_scout_web/assets/css/theme/_callisto_variables.scss create mode 100644 apps/block_scout_web/assets/css/theme/_ellaism_variables.scss create mode 100644 apps/block_scout_web/assets/css/theme/_expanse_variables.scss create mode 100644 apps/block_scout_web/assets/css/theme/_gochain_variables.scss create mode 100644 apps/block_scout_web/assets/css/theme/_musicoin_variables.scss create mode 100644 apps/block_scout_web/assets/css/theme/_pirl_variables.scss create mode 100644 apps/block_scout_web/assets/css/theme/_social_variables.scss create mode 100644 apps/block_scout_web/assets/css/theme/_tobalaba_variables.scss create mode 100644 apps/block_scout_web/assets/css/theme/_tomochain_variables.scss create mode 100644 apps/block_scout_web/assets/css/theme/_wanchain_variables.scss diff --git a/apps/block_scout_web/assets/css/theme/_callisto_variables.scss b/apps/block_scout_web/assets/css/theme/_callisto_variables.scss new file mode 100644 index 0000000000..3e4fc4041c --- /dev/null +++ b/apps/block_scout_web/assets/css/theme/_callisto_variables.scss @@ -0,0 +1,3 @@ +$primary: #34C88A; +$secondary: #163F59; +$tertiary: #466D85; diff --git a/apps/block_scout_web/assets/css/theme/_ellaism_variables.scss b/apps/block_scout_web/assets/css/theme/_ellaism_variables.scss new file mode 100644 index 0000000000..78134769ec --- /dev/null +++ b/apps/block_scout_web/assets/css/theme/_ellaism_variables.scss @@ -0,0 +1,3 @@ +$primary: #4A4A4A; +$secondary: #01C85C; +$tertiary: #466D85; diff --git a/apps/block_scout_web/assets/css/theme/_expanse_variables.scss b/apps/block_scout_web/assets/css/theme/_expanse_variables.scss new file mode 100644 index 0000000000..68e470fd1c --- /dev/null +++ b/apps/block_scout_web/assets/css/theme/_expanse_variables.scss @@ -0,0 +1,3 @@ +$primary: #1F4C55; +$secondary: #E08E64; +$tertiary: #333333; diff --git a/apps/block_scout_web/assets/css/theme/_gochain_variables.scss b/apps/block_scout_web/assets/css/theme/_gochain_variables.scss new file mode 100644 index 0000000000..9b409fccf9 --- /dev/null +++ b/apps/block_scout_web/assets/css/theme/_gochain_variables.scss @@ -0,0 +1,3 @@ +$primary: #586A8F; +$secondary: #00BCD4; +$tertiary: #6F87B2; diff --git a/apps/block_scout_web/assets/css/theme/_musicoin_variables.scss b/apps/block_scout_web/assets/css/theme/_musicoin_variables.scss new file mode 100644 index 0000000000..b69d3ee463 --- /dev/null +++ b/apps/block_scout_web/assets/css/theme/_musicoin_variables.scss @@ -0,0 +1,3 @@ +$primary: #171717; +$secondary: #FF9000; +$tertiary: #727272; diff --git a/apps/block_scout_web/assets/css/theme/_pirl_variables.scss b/apps/block_scout_web/assets/css/theme/_pirl_variables.scss new file mode 100644 index 0000000000..772c9092e6 --- /dev/null +++ b/apps/block_scout_web/assets/css/theme/_pirl_variables.scss @@ -0,0 +1,3 @@ +$primary: #343434; +$secondary: #A2D729; +$tertiary: #7F7F7F; diff --git a/apps/block_scout_web/assets/css/theme/_social_variables.scss b/apps/block_scout_web/assets/css/theme/_social_variables.scss new file mode 100644 index 0000000000..1fe62f615d --- /dev/null +++ b/apps/block_scout_web/assets/css/theme/_social_variables.scss @@ -0,0 +1,3 @@ +$primary: #A375FF; +$secondary: #00F0BD; +$tertiary: #53A9FF; diff --git a/apps/block_scout_web/assets/css/theme/_tobalaba_variables.scss b/apps/block_scout_web/assets/css/theme/_tobalaba_variables.scss new file mode 100644 index 0000000000..d85072d17f --- /dev/null +++ b/apps/block_scout_web/assets/css/theme/_tobalaba_variables.scss @@ -0,0 +1,3 @@ +$primary: #633D99; +$secondary: #6CC04A; +$tertiary: #A566FF; diff --git a/apps/block_scout_web/assets/css/theme/_tomochain_variables.scss b/apps/block_scout_web/assets/css/theme/_tomochain_variables.scss new file mode 100644 index 0000000000..7bf240a23d --- /dev/null +++ b/apps/block_scout_web/assets/css/theme/_tomochain_variables.scss @@ -0,0 +1,3 @@ +$primary: #211841; +$secondary: #F16950; +$tertiary: #8B84BC; diff --git a/apps/block_scout_web/assets/css/theme/_wanchain_variables.scss b/apps/block_scout_web/assets/css/theme/_wanchain_variables.scss new file mode 100644 index 0000000000..161d5e86da --- /dev/null +++ b/apps/block_scout_web/assets/css/theme/_wanchain_variables.scss @@ -0,0 +1,3 @@ +$primary: #3680F8; +$secondary: #2CCFC5; +$tertiary: #7289AF; From 0832321df47cb644649f763408382c718d6a6775 Mon Sep 17 00:00:00 2001 From: Ryan Arthur Date: Thu, 25 Oct 2018 13:41:10 -0400 Subject: [PATCH 2/3] Fix topnav dropdown link hover state --- .../lib/block_scout_web/templates/layout/_topnav.html.eex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/block_scout_web/lib/block_scout_web/templates/layout/_topnav.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/layout/_topnav.html.eex index 2257a48876..1fca8620dd 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/layout/_topnav.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/layout/_topnav.html.eex @@ -9,7 +9,7 @@