From e1a5e7131152d339e30c095021d8fefa0d4e6b52 Mon Sep 17 00:00:00 2001 From: Akhilender Date: Wed, 30 Aug 2023 02:36:25 +0530 Subject: [PATCH 1/4] 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/4] 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/4] 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 38cb68e1a9336f66ed81904abf0e6d4c9249aa35 Mon Sep 17 00:00:00 2001 From: Akhilender Date: Mon, 2 Oct 2023 20:13:25 +0530 Subject: [PATCH 4/4] Decreased the spacing - Changed from 12rem to 6rem for proper visibility of the website. - The website looks consistent now. Signed-off-by: Akhilender --- docs/_sass/getnighthawk.scss | 19 +------------------ docs/_sass/index.scss | 2 +- 2 files changed, 2 insertions(+), 19 deletions(-) diff --git a/docs/_sass/getnighthawk.scss b/docs/_sass/getnighthawk.scss index d943fd97..c917c7e3 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 6rem 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 diff --git a/docs/_sass/index.scss b/docs/_sass/index.scss index d6f7cd7f..bb1df96e 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 6rem auto; z-index: 1; } .description-div {