From 4341c34261ea159953785cb1727644358aa2e40a Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Thu, 10 Dec 2020 11:48:14 +0200 Subject: [PATCH] docs: SVG consistency changes (#32259) * Move inlined SVG to a partial. Also, add `fill="currentColor"` in the SVGs. * docs: reorder attributes --- site/assets/scss/_navbar.scss | 5 ----- site/assets/scss/_subnav.scss | 4 ---- site/layouts/partials/docs-navbar.html | 4 +--- site/layouts/partials/icons/circle-square.svg | 2 +- site/layouts/partials/icons/cloud-fill.svg | 2 +- site/layouts/partials/icons/code.svg | 2 +- site/layouts/partials/icons/collapse.svg | 2 +- site/layouts/partials/icons/droplet-fill.svg | 2 +- site/layouts/partials/icons/expand.svg | 2 +- site/layouts/partials/icons/hamburger.svg | 3 +++ site/layouts/partials/icons/list.svg | 2 +- 11 files changed, 11 insertions(+), 19 deletions(-) create mode 100644 site/layouts/partials/icons/hamburger.svg diff --git a/site/assets/scss/_navbar.scss b/site/assets/scss/_navbar.scss index 954304c3fb..4a9b08b369 100644 --- a/site/assets/scss/_navbar.scss +++ b/site/assets/scss/_navbar.scss @@ -5,11 +5,6 @@ .navbar-toggler { padding: 0; border: 0; - - .bi { - width: 2rem; - fill: currentColor; - } } .navbar-nav { diff --git a/site/assets/scss/_subnav.scss b/site/assets/scss/_subnav.scss index c23d96a49b..8377ff4235 100644 --- a/site/assets/scss/_subnav.scss +++ b/site/assets/scss/_subnav.scss @@ -70,10 +70,6 @@ box-shadow: 0 0 0 3px rgba($bd-purple-bright, .25); } - .bi { - fill: currentColor; - } - .bi-collapse { display: none; } &:not(.collapsed) { diff --git a/site/layouts/partials/docs-navbar.html b/site/layouts/partials/docs-navbar.html index efa3c32326..e120c9c740 100644 --- a/site/layouts/partials/docs-navbar.html +++ b/site/layouts/partials/docs-navbar.html @@ -5,9 +5,7 @@