From 7571f770bcb1d9ef702b9f6cee103f4fa6c6fd7a Mon Sep 17 00:00:00 2001 From: Phong Truong Date: Tue, 12 Mar 2019 08:45:50 +0700 Subject: [PATCH 1/3] Update style.css Better contrast --- assets/css/style.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/css/style.css b/assets/css/style.css index 710f804..a50b710 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -1759,7 +1759,7 @@ h6 .badge { font-size: 13px; } .dropdown-menu { - box-shadow: 0 0 30px rgba(0, 0, 0, 0.03); + box-shadow: 0px 10px 40px 0px rgba(51, 73, 94, 0.15); border: none; width: 200px; } .dropdown-menu.show { @@ -1940,7 +1940,7 @@ a.dropdown-item { --dark: color(dark); } body { - background-color: #fafdfb; + background-color: #f4f6f9; font-size: 14px; font-weight: 400; font-family: "Nunito", "Segoe UI", arial; From 5973509d87b3aa34b3acb411936812f799fd197f Mon Sep 17 00:00:00 2001 From: Phong Truong Date: Tue, 12 Mar 2019 11:15:17 +0700 Subject: [PATCH 2/3] Revert "Update style.css" This reverts commit 7571f770bcb1d9ef702b9f6cee103f4fa6c6fd7a. --- assets/css/style.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/css/style.css b/assets/css/style.css index a50b710..710f804 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -1759,7 +1759,7 @@ h6 .badge { font-size: 13px; } .dropdown-menu { - box-shadow: 0px 10px 40px 0px rgba(51, 73, 94, 0.15); + box-shadow: 0 0 30px rgba(0, 0, 0, 0.03); border: none; width: 200px; } .dropdown-menu.show { @@ -1940,7 +1940,7 @@ a.dropdown-item { --dark: color(dark); } body { - background-color: #f4f6f9; + background-color: #fafdfb; font-size: 14px; font-weight: 400; font-family: "Nunito", "Segoe UI", arial; From 71cd0bd3a039a4f69cddee4e1dbc1c992fafa990 Mon Sep 17 00:00:00 2001 From: Phong Truong Date: Tue, 12 Mar 2019 11:32:48 +0700 Subject: [PATCH 3/3] Fix contrast --- assets/css/style.css | 4 ++-- sources/scss/_variable.scss | 2 +- sources/scss/override/_dropdown.scss | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/assets/css/style.css b/assets/css/style.css index 710f804..7adec17 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -1759,7 +1759,7 @@ h6 .badge { font-size: 13px; } .dropdown-menu { - box-shadow: 0 0 30px rgba(0, 0, 0, 0.03); + box-shadow: 0 10px 40px 0 rgba(51, 73, 94, 0.15); border: none; width: 200px; } .dropdown-menu.show { @@ -1940,7 +1940,7 @@ a.dropdown-item { --dark: color(dark); } body { - background-color: #fafdfb; + background-color: #f4f6f9; font-size: 14px; font-weight: 400; font-family: "Nunito", "Segoe UI", arial; diff --git a/sources/scss/_variable.scss b/sources/scss/_variable.scss index 362cf4c..ced079a 100644 --- a/sources/scss/_variable.scss +++ b/sources/scss/_variable.scss @@ -10,7 +10,7 @@ $colors: ( whitesmoke: #f7f9f9, dark: #191d21, muted: #98a6ad, - body: #fafdfb, + body: #f4f6f9, font: #6c757d, fontdark: #34395e, white: #ffffff, diff --git a/sources/scss/override/_dropdown.scss b/sources/scss/override/_dropdown.scss index a7cc47c..87922ba 100644 --- a/sources/scss/override/_dropdown.scss +++ b/sources/scss/override/_dropdown.scss @@ -4,7 +4,7 @@ } .dropdown-menu { - @include shadow(0 0 30px); + @include shadow(0 10px 40px 0, rgba(51, 73, 94, 0.15)); border: none; width: 200px; &.show {