From 5c28440221b3feeb8dc622c3ed20b9846bed71a4 Mon Sep 17 00:00:00 2001 From: Eric Arellano <14852634+Eric-Arellano@users.noreply.github.com> Date: Thu, 30 Mar 2023 07:56:20 -0600 Subject: [PATCH] Add missing chevron on previous-next buttons (Cherry-pick of #237) (#238) This PR adds missing chevron svg file used in footer Previous/Next buttons (original image accidentally removed in #138 ). It also updates references from `chevron-right-orange` to `chevron-right-purple`, matching the fill colour used. Updated footer rendering: ![image](https://user-images.githubusercontent.com/25207344/228622405-0e8a0ac2-f1b2-44af-be2c-85ee4ac48d52.png) Fixes #189 Co-authored-by: Karla Spuldaro --- qiskit_sphinx_theme/footer.html | 4 +- qiskit_sphinx_theme/static/css/theme.css | 2 +- .../static/images/chevron-right-purple.svg | 66 +++++++++++++++++++ 3 files changed, 69 insertions(+), 3 deletions(-) create mode 100644 qiskit_sphinx_theme/static/images/chevron-right-purple.svg diff --git a/qiskit_sphinx_theme/footer.html b/qiskit_sphinx_theme/footer.html index 107cbb14..0e570923 100644 --- a/qiskit_sphinx_theme/footer.html +++ b/qiskit_sphinx_theme/footer.html @@ -16,10 +16,10 @@ diff --git a/qiskit_sphinx_theme/static/css/theme.css b/qiskit_sphinx_theme/static/css/theme.css index 4073b3d9..adb17c7f 100644 --- a/qiskit_sphinx_theme/static/css/theme.css +++ b/qiskit_sphinx_theme/static/css/theme.css @@ -9739,7 +9739,7 @@ a:hover { a.with-right-arrow, .btn.with-right-arrow { padding-right: 1.375rem; position: relative; - background-image: url("../images/chevron-right-orange.svg"); + background-image: url("../images/chevron-right-purple.svg"); background-size: 6px 13px; background-position: center right 5px; background-repeat: no-repeat; diff --git a/qiskit_sphinx_theme/static/images/chevron-right-purple.svg b/qiskit_sphinx_theme/static/images/chevron-right-purple.svg new file mode 100644 index 00000000..1a0a8017 --- /dev/null +++ b/qiskit_sphinx_theme/static/images/chevron-right-purple.svg @@ -0,0 +1,66 @@ + +image/svg+xml + + +Page 1 +Created with Sketch. + + + + + + + + \ No newline at end of file