From 548bbfc1272c659c9a47f16905025738ed955819 Mon Sep 17 00:00:00 2001 From: Suruchi Kumari Date: Wed, 8 Nov 2023 16:00:17 +0000 Subject: [PATCH 1/5] added modals Signed-off-by: Suruchi Kumari --- content/en/cloud/_index.md | 2 +- content/en/cloud/concepts/_index.md | 2 +- content/en/cloud/security/_index.md | 6 ++- content/en/cloud/self-hosted/_index.md | 8 ++-- layouts/_default/_markup/render-image.html | 4 +- layouts/_default/baseof.html | 2 +- layouts/docs/baseof.html | 1 + layouts/partials/image-modal.html | 56 +++++++++++----------- 8 files changed, 41 insertions(+), 40 deletions(-) diff --git a/content/en/cloud/_index.md b/content/en/cloud/_index.md index 0474ab74..67245791 100755 --- a/content/en/cloud/_index.md +++ b/content/en/cloud/_index.md @@ -6,7 +6,7 @@ menu: {main: {weight: 2}} cascade: type: docs --- -{{< figure src="layer5-cloud-provider.svg" class="image-center-shadow" >}} +![layer5-cloud-provider](layer5-cloud-provider.svg) {{% pageinfo %}} ## Understanding the Meshery Ecosystem diff --git a/content/en/cloud/concepts/_index.md b/content/en/cloud/concepts/_index.md index 75765b5f..a57deadb 100644 --- a/content/en/cloud/concepts/_index.md +++ b/content/en/cloud/concepts/_index.md @@ -5,7 +5,7 @@ description: > An overview of Layer5 Cloud concepts and their relationships to one another. --- -{{< figure src="concepts-overview.svg" class="image-center-shadow" >}} +![concepts-overview](concepts-overview.svg) - +
- {{ .Text }} + {{ .Text }}
\ No newline at end of file diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 99c2b22e..9636bab1 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -14,6 +14,6 @@ {{ partial "footer.html" . }} {{ partialCached "scripts.html" . }} - {{ partialCached "image-modal.html" . }} + {{ partial "image-modal.html" . }} \ No newline at end of file diff --git a/layouts/docs/baseof.html b/layouts/docs/baseof.html index 210b6af5..dbc53fa2 100644 --- a/layouts/docs/baseof.html +++ b/layouts/docs/baseof.html @@ -28,5 +28,6 @@ {{ partial "footer.html" . }} {{ partial "scripts.html" . }} + {{ partial "image-modal.html" . }} \ No newline at end of file diff --git a/layouts/partials/image-modal.html b/layouts/partials/image-modal.html index 2e87799e..f30215aa 100644 --- a/layouts/partials/image-modal.html +++ b/layouts/partials/image-modal.html @@ -5,32 +5,32 @@ + + \ No newline at end of file From 4347dfcb9f0ef76e17f203d707039419790295d1 Mon Sep 17 00:00:00 2001 From: Suruchi Kumari Date: Wed, 8 Nov 2023 18:29:45 +0000 Subject: [PATCH 2/5] added classes to images Signed-off-by: Suruchi Kumari --- assets/scss/_elements_project.scss | 3 +++ content/en/cloud/_index.md | 2 +- content/en/cloud/concepts/_index.md | 2 +- content/en/cloud/security/_index.md | 4 ++-- content/en/cloud/self-hosted/_index.md | 6 +++--- layouts/_default/_markup/render-image.html | 2 +- 6 files changed, 11 insertions(+), 8 deletions(-) diff --git a/assets/scss/_elements_project.scss b/assets/scss/_elements_project.scss index ee370129..cfb59d16 100644 --- a/assets/scss/_elements_project.scss +++ b/assets/scss/_elements_project.scss @@ -76,6 +76,9 @@ div.tip { padding-bottom: 10px; padding-top: 10px; } + .image-center-no-shadow{ + width: 100%; + } .align-right { display: block; diff --git a/content/en/cloud/_index.md b/content/en/cloud/_index.md index 67245791..60bcd45e 100755 --- a/content/en/cloud/_index.md +++ b/content/en/cloud/_index.md @@ -6,7 +6,7 @@ menu: {main: {weight: 2}} cascade: type: docs --- -![layer5-cloud-provider](layer5-cloud-provider.svg) +![layer5-cloud-provider](layer5-cloud-provider.svg "image-center-shadow") {{% pageinfo %}} ## Understanding the Meshery Ecosystem diff --git a/content/en/cloud/concepts/_index.md b/content/en/cloud/concepts/_index.md index a57deadb..f4ef416a 100644 --- a/content/en/cloud/concepts/_index.md +++ b/content/en/cloud/concepts/_index.md @@ -5,7 +5,7 @@ description: > An overview of Layer5 Cloud concepts and their relationships to one another. --- -![concepts-overview](concepts-overview.svg) +![concepts-overview](concepts-overview.svg "image-center-shadow")
- {{ .Text }} + {{ .Text }}
\ No newline at end of file From b38a29f564ae9b9b4f8b5c17f63010e637fed326 Mon Sep 17 00:00:00 2001 From: Suruchi Kumari Date: Mon, 13 Nov 2023 05:14:55 +0000 Subject: [PATCH 3/5] slight changes Signed-off-by: Suruchi Kumari --- assets/scss/_image-modal_project.scss | 17 ++++++++--------- layouts/partials/image-modal.html | 2 +- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/assets/scss/_image-modal_project.scss b/assets/scss/_image-modal_project.scss index 965b8033..0c8f72ff 100644 --- a/assets/scss/_image-modal_project.scss +++ b/assets/scss/_image-modal_project.scss @@ -7,20 +7,19 @@ .modal { display: none; position: fixed; - z-index: 1; + z-index: 9999999; padding-top: 4em; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; - background-color: black; + background: rgba(0,0,0,0.85); } /* Modal Content */ -.modal-content { +.modal-cont { position: relative; - background-color: black; margin: auto; padding: 0; width: 90%; @@ -40,16 +39,16 @@ color: white; background-color: black; position: absolute; - top: .5em; - right: .5em; - font-size: 2em; - font-weight: bold; + top: 5px; + right: 5px; + font-size: 2.5em; height: 1em; width: 1em; text-indent: 10em; overflow: hidden; border: 0; -} + z-index: 99; +} .modal-close::after { position: absolute; diff --git a/layouts/partials/image-modal.html b/layouts/partials/image-modal.html index f30215aa..03dc1a5a 100644 --- a/layouts/partials/image-modal.html +++ b/layouts/partials/image-modal.html @@ -6,7 +6,7 @@