From e1a5e7131152d339e30c095021d8fefa0d4e6b52 Mon Sep 17 00:00:00 2001 From: Akhilender Date: Wed, 30 Aug 2023 02:36:25 +0530 Subject: [PATCH 1/8] Enhanced Spacing for Improved Component Layout In response to user feedback, this commit addresses the spacing concerns within the GetNighthawk website's UI. The existing design was visually appealing but lacked sufficient spacing between certain components. Changes Made: - Added margin-bottom to the analysis, distribution, and standards-based cards to create a clear distinction between them and improve readability. - Introduced appropriate spacing between the 'Nighthawk & Meshery' section and the 'Layer 7 Performance Analysis' division to enhance the overall visual balance. These adjustments have been carefully implemented to maintain the smooth and polished UI while ensuring a more comfortable viewing experience for users. The improved spacing creates a harmonious layout, allowing each component to breathe and stand out effectively. Resolves Issue: #290 Signed-off-by: Akhilender akhilenderb9@gmail.com Signed-off-by: Akhilender --- docs/_sass/getnighthawk.scss | 2 +- docs/_sass/index.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_sass/getnighthawk.scss b/docs/_sass/getnighthawk.scss index f585b223..acf9730f 100644 --- a/docs/_sass/getnighthawk.scss +++ b/docs/_sass/getnighthawk.scss @@ -5533,7 +5533,7 @@ div.globalFooterCard.card-environment { display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: auto; - margin: 2rem 0rem; + margin: 2rem 0rem 12rem 0rem; padding: 2rem 0rem; .card-item { display: flex; diff --git a/docs/_sass/index.scss b/docs/_sass/index.scss index 83567894..d6f7cd7f 100644 --- a/docs/_sass/index.scss +++ b/docs/_sass/index.scss @@ -217,7 +217,7 @@ $blue-munsell-3: #4392a4ff; // nighthawk-description startups .nighthawk-description-div { - margin: -23rem auto 3rem auto; + margin: -23rem auto 12rem auto; z-index: 1; } .description-div { From fec4e2910e618e74413ac02c5db4c952713f32cd Mon Sep 17 00:00:00 2001 From: Akhilender Date: Wed, 30 Aug 2023 13:22:45 +0530 Subject: [PATCH 2/8] Implemented customizd scrollbar feature Refactored the CSS code to introduce a custom scrollbar consistent with modern design trends. The new scrollbar design aligns with the desired appearance, replacing the default one. Changes Made: - Added custom scrollbar CSS rules. - Removed the default scrollbar appearance. These adjustments have been carefully implemented to maintain the smooth and polished UI. Resolves Issue: #327 Signed-off-by: Akhilender --- docs/_sass/getnighthawk.scss | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docs/_sass/getnighthawk.scss b/docs/_sass/getnighthawk.scss index acf9730f..d943fd97 100644 --- a/docs/_sass/getnighthawk.scss +++ b/docs/_sass/getnighthawk.scss @@ -5979,3 +5979,20 @@ div.globalFooterCard.card-environment { .accordion-button::after { margin-left: 10px !important; } + +/* Custom Scrollbar*/ +::-webkit-scrollbar{ + width: 8px; +} +::-webkit-scrollbar-track { + background-color: #ffffff; +} +::-webkit-scrollbar-thumb { + background-color: #393E46; + border-radius: 12px; + box-shadow: inset 0 0 6px rgba(0,0,0,.3); + transition: background-color 0.3s ease; +} +::-webkit-scrollbar-thumb:hover { + background: #555b66; +} \ No newline at end of file From b008390640cd4fbd85c9dd0eb058de02e94085e4 Mon Sep 17 00:00:00 2001 From: Akhilender Date: Thu, 31 Aug 2023 15:19:41 +0530 Subject: [PATCH 3/8] Enhanced Spacing for Improved Component Layout In response to user feedback, this commit addresses the spacing concerns within the GetNighthawk website's UI. The existing design was visually appealing but lacked sufficient spacing between certain components. Changes Made: - Added margin-bottom to the analysis, distribution, and standards-based cards to create a clear distinction between them and improve readability. - Introduced appropriate spacing between the 'Nighthawk & Meshery' section and the 'Layer 7 Performance Analysis' division to enhance the overall visual balance. These adjustments have been carefully implemented to maintain the smooth and polished UI while ensuring a more comfortable viewing experience for users. The improved spacing creates a harmonious layout, allowing each component to breathe and stand out effectively. Resolves Issue: #290 Signed-off-by: Akhilender --- docs/_sass/getnighthawk.scss | 2 +- docs/_sass/index.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_sass/getnighthawk.scss b/docs/_sass/getnighthawk.scss index f585b223..acf9730f 100644 --- a/docs/_sass/getnighthawk.scss +++ b/docs/_sass/getnighthawk.scss @@ -5533,7 +5533,7 @@ div.globalFooterCard.card-environment { display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: auto; - margin: 2rem 0rem; + margin: 2rem 0rem 12rem 0rem; padding: 2rem 0rem; .card-item { display: flex; diff --git a/docs/_sass/index.scss b/docs/_sass/index.scss index 83567894..d6f7cd7f 100644 --- a/docs/_sass/index.scss +++ b/docs/_sass/index.scss @@ -217,7 +217,7 @@ $blue-munsell-3: #4392a4ff; // nighthawk-description startups .nighthawk-description-div { - margin: -23rem auto 3rem auto; + margin: -23rem auto 12rem auto; z-index: 1; } .description-div { From 87453af06a2321393ae307b43978428f83ed8b8e Mon Sep 17 00:00:00 2001 From: Akhilender Date: Thu, 31 Aug 2023 15:45:17 +0530 Subject: [PATCH 4/8] Implemented customized scrollbar feature Refactored the CSS code to introduce a custom scrollbar consistent with modern design trends. The new scrollbar design aligns with the desired appearance, replacing the default one. Changes Made: - Added custom scrollbar CSS rules. - Removed the default scrollbar appearance. These adjustments have been carefully implemented to maintain the smooth and polished UI. Resolves Issue: #327 Signed-off-by: Akhilender --- docs/_sass/layout.scss | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/_sass/layout.scss b/docs/_sass/layout.scss index 45ebb2c3..9b1a261c 100644 --- a/docs/_sass/layout.scss +++ b/docs/_sass/layout.scss @@ -542,3 +542,19 @@ hr { grid-template-columns: 1fr; } } +/* Custom Scrollbar*/ +::-webkit-scrollbar{ + width: 8px; +} +::-webkit-scrollbar-track { + background-color: #ffffff; +} +::-webkit-scrollbar-thumb { + background-color: #393E46; + border-radius: 12px; + box-shadow: inset 0 0 6px rgba(0,0,0,.3); + transition: background-color 0.3s ease; +} +::-webkit-scrollbar-thumb:hover { + background: #555b66; +} \ No newline at end of file From 0f5f6a8d5588d601244deb9fd0ff3751e3c5b8b2 Mon Sep 17 00:00:00 2001 From: Akhilender Date: Fri, 8 Sep 2023 20:34:38 +0530 Subject: [PATCH 5/8] Altered the css for the scrollbar - Made the required changes for the custom scrollbar to be in sync with remaining all websites of Layer5 Organization. Signed-off-by: Akhilender --- docs/_sass/layout.scss | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/docs/_sass/layout.scss b/docs/_sass/layout.scss index 9b1a261c..4894f0db 100644 --- a/docs/_sass/layout.scss +++ b/docs/_sass/layout.scss @@ -544,17 +544,15 @@ hr { } /* Custom Scrollbar*/ ::-webkit-scrollbar{ - width: 8px; + width: 0.5rem; } ::-webkit-scrollbar-track { - background-color: #ffffff; + background: rgb(255, 255, 255); } ::-webkit-scrollbar-thumb { - background-color: #393E46; - border-radius: 12px; - box-shadow: inset 0 0 6px rgba(0,0,0,.3); - transition: background-color 0.3s ease; + background: rgb(60, 73, 79); + border-radius: 0.3rem; } ::-webkit-scrollbar-thumb:hover { - background: #555b66; + background: rgb(85, 91, 102); } \ No newline at end of file From e40ccfe1b93b20ba70a12e531b029590d9c6493b Mon Sep 17 00:00:00 2001 From: Akhilender Date: Fri, 8 Sep 2023 21:17:58 +0530 Subject: [PATCH 6/8] Changed the rgb value of scrollbar for hover as required Signed-off-by: Akhilender --- docs/_sass/layout.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_sass/layout.scss b/docs/_sass/layout.scss index 4894f0db..bbe5e9af 100644 --- a/docs/_sass/layout.scss +++ b/docs/_sass/layout.scss @@ -554,5 +554,5 @@ hr { border-radius: 0.3rem; } ::-webkit-scrollbar-thumb:hover { - background: rgb(85, 91, 102); + background: rgb(85, 85, 85); } \ No newline at end of file From 2690871ae9891dcca2884f95be60bddeb4aec8ce Mon Sep 17 00:00:00 2001 From: Akhilender Bongirwar <112749383+akhilender-bongirwar@users.noreply.github.com> Date: Fri, 8 Sep 2023 22:03:48 +0530 Subject: [PATCH 7/8] Removed the redundant css code Signed-off-by: Akhilender Bongirwar <112749383+akhilender-bongirwar@users.noreply.github.com> --- docs/_sass/getnighthawk.scss | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/docs/_sass/getnighthawk.scss b/docs/_sass/getnighthawk.scss index d943fd97..f585b223 100644 --- a/docs/_sass/getnighthawk.scss +++ b/docs/_sass/getnighthawk.scss @@ -5533,7 +5533,7 @@ div.globalFooterCard.card-environment { display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: auto; - margin: 2rem 0rem 12rem 0rem; + margin: 2rem 0rem; padding: 2rem 0rem; .card-item { display: flex; @@ -5979,20 +5979,3 @@ div.globalFooterCard.card-environment { .accordion-button::after { margin-left: 10px !important; } - -/* Custom Scrollbar*/ -::-webkit-scrollbar{ - width: 8px; -} -::-webkit-scrollbar-track { - background-color: #ffffff; -} -::-webkit-scrollbar-thumb { - background-color: #393E46; - border-radius: 12px; - box-shadow: inset 0 0 6px rgba(0,0,0,.3); - transition: background-color 0.3s ease; -} -::-webkit-scrollbar-thumb:hover { - background: #555b66; -} \ No newline at end of file From f17775a2e933059314d253ed4e29a5f996442e1d Mon Sep 17 00:00:00 2001 From: Akhilender Bongirwar <112749383+akhilender-bongirwar@users.noreply.github.com> Date: Fri, 8 Sep 2023 22:06:08 +0530 Subject: [PATCH 8/8] Updated index.scss Removed the extra spacing code form the issue customscrollbar. Signed-off-by: Akhilender Bongirwar <112749383+akhilender-bongirwar@users.noreply.github.com> --- docs/_sass/index.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_sass/index.scss b/docs/_sass/index.scss index d6f7cd7f..7c830ce0 100644 --- a/docs/_sass/index.scss +++ b/docs/_sass/index.scss @@ -217,7 +217,7 @@ $blue-munsell-3: #4392a4ff; // nighthawk-description startups .nighthawk-description-div { - margin: -23rem auto 12rem auto; + margin: -23rem auto 3rem auto; z-index: 1; } .description-div { @@ -366,4 +366,4 @@ $blue-munsell-3: #4392a4ff; } } -// stewarded by section ends \ No newline at end of file +// stewarded by section ends