diff options
| author | Mark Otto <[email protected]> | 2016-12-04 22:06:29 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2016-12-04 22:06:29 -0800 |
| commit | 7c3bda24f0706510bcbb1525a3d07541978c07b6 (patch) | |
| tree | 5d8a105c858b6b9846ca2f5770002f4e0d09f88b | |
| parent | 9fca3e3ec890af24b4aa151599ad3b39164c26b4 (diff) | |
| download | bootstrap-7c3bda24f0706510bcbb1525a3d07541978c07b6.tar.xz bootstrap-7c3bda24f0706510bcbb1525a3d07541978c07b6.zip | |
simplify svg by only using viewbox
| -rw-r--r-- | scss/_variables.scss | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scss/_variables.scss b/scss/_variables.scss index 6ce7d723a..50803fc3f 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -895,8 +895,8 @@ $carousel-caption-color: #fff !default; $carousel-control-icon-width: 20px !default; -$carousel-control-prev-icon-bg: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' fill='#{$carousel-control-color}' viewBox='0 0 8 8'%3E%3Cpath d='M4 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E"), "#", "%23") !default; -$carousel-control-next-icon-bg: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' fill='#{$carousel-control-color}' viewBox='0 0 8 8'%3E%3Cpath d='M1.5 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E"), "#", "%23") !default; +$carousel-control-prev-icon-bg: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='#{$carousel-control-color}' viewBox='0 0 8 8'%3E%3Cpath d='M4 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E"), "#", "%23") !default; +$carousel-control-next-icon-bg: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='#{$carousel-control-color}' viewBox='0 0 8 8'%3E%3Cpath d='M1.5 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E"), "#", "%23") !default; // 34. Close |
