From 10c08111b099dd6b06316f360574ad7908e96bae Mon Sep 17 00:00:00 2001 From: Fabio 'c0m3tx' Vitale Date: Wed, 21 Oct 2015 12:12:02 +0200 Subject: [PATCH 1/2] Added animations --- ionicons-rails.gemspec | 4 ++-- vendor/assets/stylesheets/ionicons.scss | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ionicons-rails.gemspec b/ionicons-rails.gemspec index 32bcde6..f56df81 100644 --- a/ionicons-rails.gemspec +++ b/ionicons-rails.gemspec @@ -1,9 +1,9 @@ Gem::Specification.new do |s| s.name = 'ionicons-rails' - s.version = '2.0.0' + s.version = '2.0.1' s.summary = 'Ionicons for Ruby on Rails' s.author = 'Zhao Han' s.license = 'MIT' s.homepage = 'https://github.com/umhan35/ionicons-rails' s.files = Dir["{lib,vendor}/**/*"] -end \ No newline at end of file +end diff --git a/vendor/assets/stylesheets/ionicons.scss b/vendor/assets/stylesheets/ionicons.scss index d2c79f9..91f1906 100644 --- a/vendor/assets/stylesheets/ionicons.scss +++ b/vendor/assets/stylesheets/ionicons.scss @@ -13,3 +13,4 @@ @import "ionicons-font"; @import "ionicons-icons"; +@import "ionicons-animation"; From c1e014f68a38565f6f14ad116fe22eb6dcb6db16 Mon Sep 17 00:00:00 2001 From: Fabio 'c0m3tx' Vitale Date: Wed, 21 Oct 2015 12:17:17 +0200 Subject: [PATCH 2/2] Fix animation invalid class extension --- .../assets/stylesheets/_ionicons-animation.scss | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/vendor/assets/stylesheets/_ionicons-animation.scss b/vendor/assets/stylesheets/_ionicons-animation.scss index f338d58..f5ca24e 100644 --- a/vendor/assets/stylesheets/_ionicons-animation.scss +++ b/vendor/assets/stylesheets/_ionicons-animation.scss @@ -47,30 +47,30 @@ animation-timing-function: steps(8, start); } -.#{$ionicons-prefix}loading-a:before { +.#{$ionicons-prefix}loading-a:before { @extend .#{$ionicons-prefix}load-a:before; } -.#{$ionicons-prefix}loading-b:before { +.#{$ionicons-prefix}loading-b:before { @extend .#{$ionicons-prefix}load-b:before; } -.#{$ionicons-prefix}loading-c:before { +.#{$ionicons-prefix}loading-c:before { @extend .#{$ionicons-prefix}load-c:before; } -.#{$ionicons-prefix}loading-d:before { +.#{$ionicons-prefix}loading-d:before { @extend .#{$ionicons-prefix}load-d:before; } -.#{$ionicons-prefix}looping:before { +.#{$ionicons-prefix}looping:before { @extend .#{$ionicons-prefix}loop:before; } -.#{$ionicons-prefix}refreshing:before { +.#{$ionicons-prefix}refreshing:before { @extend .#{$ionicons-prefix}refresh:before; } -.#{$ionicons-prefix}ios7-reloading:before { - @extend .#{$ionicons-prefix}ios7-reload:before; +.#{$ionicons-prefix}ios7-reloading:before { + @extend .#{$ionicons-prefix}ios7-reload:before !optional; }