Skip to content

Commit

Permalink
Merge pull request #51 from doximity/fix-svg-data
Browse files Browse the repository at this point in the history
Fix an issue that caused the SVG menu close icon not to show up
  • Loading branch information
bodytaing authored May 11, 2017
2 parents a88b089 + 073367a commit 8fe4867
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
vital (2.1.0)
vital (2.1.1)
sass (>= 3.4)

GEM
Expand Down
3 changes: 1 addition & 2 deletions dist/css/vital.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/css/vital.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/css/vital.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/css/vital.min.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/vital/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Vital
VERSION = "2.1.0"
VERSION = "2.1.1"
end
1 change: 0 additions & 1 deletion sass/vital/_header.sass
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@ nav
user-select: none
width: 4.6em
#menu-toggle:checked + .icon-menu
background-size: 3em
background-image: url($icon-close-empty)
background-color: rgba(0,0,0,0.02)

Expand Down
4 changes: 2 additions & 2 deletions sass/vital/_icons.sass
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ $icon-clock: 'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" vi

$icon-close: 'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><path d="M42.7 7.3C33-2.5 17.1-2.5 7.4 7.3s-9.7 25.6 0 35.3 25.6 9.8 35.3 0 9.7-25.5 0-35.3zm-6.1 27.8l-1.4 1.4L25 26.4 14.9 36.5l-1.4-1.4L23.6 25 13.5 14.9l1.4-1.4L25 23.6l10.1-10.1 1.4 1.4L26.4 25l10.2 10.1z"/></svg>'

$icon-close-empty: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><path d="M44.4 7.7l-2.1-2.1L25 22.9 7.7 5.6 5.6 7.7 22.9 25 5.6 42.3l2.1 2.1L25 27.1l17.3 17.3 2.1-2.1L27.1 25 44.4 7.7z"/></svg>'
$icon-close-empty: 'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><path d="M44.4 7.7l-2.1-2.1L25 22.9 7.7 5.6 5.6 7.7 22.9 25 5.6 42.3l2.1 2.1L25 27.1l17.3 17.3 2.1-2.1L27.1 25 44.4 7.7z"/></svg>'

$icon-close-empty-white: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><style>.st0{fill: white}</style><path class="st0" d="M44.4 7.7l-2.1-2.1L25 22.9 7.7 5.6 5.6 7.7 22.9 25 5.6 42.3l2.1 2.1L25 27.1l17.3 17.3 2.1-2.1L27.1 25 44.4 7.7z"/></svg>'
$icon-close-empty-white: 'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><style>.st0{fill: white}</style><path class="st0" d="M44.4 7.7l-2.1-2.1L25 22.9 7.7 5.6 5.6 7.7 22.9 25 5.6 42.3l2.1 2.1L25 27.1l17.3 17.3 2.1-2.1L27.1 25 44.4 7.7z"/></svg>'

$icon-close-outline: 'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><path d="M42.7 7.3C33-2.5 17.1-2.5 7.4 7.3s-9.8 25.6 0 35.4c9.8 9.8 25.6 9.8 35.4 0s9.7-25.6-.1-35.4zm-1.4 33.9c-8.9 8.9-23.5 8.9-32.4 0S0 17.7 8.9 8.8s23.5-8.9 32.4 0 8.9 23.5 0 32.4z"/><path d="M35.2 13.4L25 23.6 14.9 13.5l-1.4 1.4L23.6 25 13.5 35.1l1.4 1.4L25 26.4l10.1 10.1 1.4-1.4L26.4 25l10.1-10.1-1.3-1.5z"/></svg>'

Expand Down

0 comments on commit 8fe4867

Please sign in to comment.