From cf0b19ebb21a6aea1996e6ce32d88d99e18973f4 Mon Sep 17 00:00:00 2001 From: Arturas Salivonas Date: Fri, 18 Oct 2024 12:03:38 +0100 Subject: [PATCH 1/3] Left sidebar arrows Update Left sidebar arrows Update --- tyk-docs/assets/scss/_side-menu.scss | 10 +++++++--- tyk-docs/static/img/icon-caret-closed.svg | 7 +++++++ 2 files changed, 14 insertions(+), 3 deletions(-) create mode 100644 tyk-docs/static/img/icon-caret-closed.svg diff --git a/tyk-docs/assets/scss/_side-menu.scss b/tyk-docs/assets/scss/_side-menu.scss index 488b297af8..6ce0e116b3 100644 --- a/tyk-docs/assets/scss/_side-menu.scss +++ b/tyk-docs/assets/scss/_side-menu.scss @@ -172,7 +172,8 @@ Tree View list-style-type: none; line-height: 20px; //margin-bottom: 20px; // - padding-bottom: 10px; + padding-bottom: 5px; + padding-top:10px; position: relative; background: transparent !important; // cursor: pointer; // @@ -183,16 +184,17 @@ Tree View content: ""; background-image: url("../img/icon-caret.svg"); background-repeat: no-repeat; - background-position: left; + background-position: right; background-size: 12px; inline-size: 100%; block-size: var(--caret-size); + block-size:35px; position: absolute; top: 0; right: 0; bottom: 0; cursor: pointer; - scale: 1 -1; + scale: 1; transition: scale 0.2s; } @@ -228,6 +230,8 @@ Tree View &:not(.st-file):after { scale: 1; + background-size: 7px; + background-image: url("../img/icon-caret-closed.svg"); } } diff --git a/tyk-docs/static/img/icon-caret-closed.svg b/tyk-docs/static/img/icon-caret-closed.svg new file mode 100644 index 0000000000..0499073eae --- /dev/null +++ b/tyk-docs/static/img/icon-caret-closed.svg @@ -0,0 +1,7 @@ + + icon-caret-svg + + + \ No newline at end of file From b3dc09b80a79bd6d8bf9d4ea277d9dc827197d66 Mon Sep 17 00:00:00 2001 From: Master Date: Mon, 21 Oct 2024 12:28:11 +0530 Subject: [PATCH 2/3] Update tyk-docs/assets/scss/_side-menu.scss Co-authored-by: Yaara --- tyk-docs/assets/scss/_side-menu.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tyk-docs/assets/scss/_side-menu.scss b/tyk-docs/assets/scss/_side-menu.scss index 6ce0e116b3..f58b16c2f4 100644 --- a/tyk-docs/assets/scss/_side-menu.scss +++ b/tyk-docs/assets/scss/_side-menu.scss @@ -184,7 +184,7 @@ Tree View content: ""; background-image: url("../img/icon-caret.svg"); background-repeat: no-repeat; - background-position: right; + background-position: left; background-size: 12px; inline-size: 100%; block-size: var(--caret-size); From 9d0e16cd3e1e29d26bce3192ee2daf09d347aa13 Mon Sep 17 00:00:00 2001 From: Yaara Date: Tue, 5 Nov 2024 16:43:32 +0000 Subject: [PATCH 3/3] Update tyk-docs/assets/scss/_side-menu.scss Co-authored-by: Master --- tyk-docs/assets/scss/_side-menu.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tyk-docs/assets/scss/_side-menu.scss b/tyk-docs/assets/scss/_side-menu.scss index f58b16c2f4..210a649132 100644 --- a/tyk-docs/assets/scss/_side-menu.scss +++ b/tyk-docs/assets/scss/_side-menu.scss @@ -188,7 +188,7 @@ Tree View background-size: 12px; inline-size: 100%; block-size: var(--caret-size); - block-size:35px; + block-size: 30px; position: absolute; top: 0; right: 0;