diff options
| author | XhmikosR <[email protected]> | 2019-07-21 17:49:40 +0300 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2019-07-22 17:13:44 +0300 |
| commit | 3f27053c44eafef7d85f7a8a8a52a6982de10b40 (patch) | |
| tree | 23939d33cedab521cfb19a0c0ab8533f11725932 /site/static/docs | |
| parent | 6bebd2938af67391943f4de90682bdcc09732f86 (diff) | |
| download | bootstrap-3f27053c44eafef7d85f7a8a8a52a6982de10b40.tar.xz bootstrap-3f27053c44eafef7d85f7a8a8a52a6982de10b40.zip | |
docs: use the `escape_svg` function.
Diffstat (limited to 'site/static/docs')
| -rw-r--r-- | site/static/docs/4.3/assets/scss/_nav.scss | 2 | ||||
| -rw-r--r-- | site/static/docs/4.3/assets/scss/_variables.scss | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/site/static/docs/4.3/assets/scss/_nav.scss b/site/static/docs/4.3/assets/scss/_nav.scss index 3ceec7aeb..265bdd72e 100644 --- a/site/static/docs/4.3/assets/scss/_nav.scss +++ b/site/static/docs/4.3/assets/scss/_nav.scss @@ -113,7 +113,7 @@ font-weight: 600; color: $gray-900; background-color: transparent; - background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23292b2c' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e"); + background-image: escape-svg($dropdown-active-icon); background-repeat: no-repeat; background-position: .4rem .6rem; background-size: .75rem .75rem; diff --git a/site/static/docs/4.3/assets/scss/_variables.scss b/site/static/docs/4.3/assets/scss/_variables.scss index e8bf3728d..32b138a45 100644 --- a/site/static/docs/4.3/assets/scss/_variables.scss +++ b/site/static/docs/4.3/assets/scss/_variables.scss @@ -7,6 +7,7 @@ $bd-download: #ffe484 !default; $bd-info: #5bc0de !default; $bd-warning: #f0ad4e !default; $bd-danger: #d9534f !default; +$dropdown-active-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'><path fill='#292b2c' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/></svg>"); // Enable responsive font sizes for font sizes defined in the docs // The weird if test is made as a workaround to prevent a false fusv error. |
