Skip to content

Commit

Permalink
1.4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
umhan35 committed Dec 21, 2013
0 parents commit faaf7b0
Show file tree
Hide file tree
Showing 13 changed files with 3,355 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ionicons
11 changes: 11 additions & 0 deletions build_from_up_stream.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
git clone https://github.com/driftyco/ionicons

mkdir -p vendor/assets/fonts/
mkdir -p vendor/assets/stylesheets/

cp ionicons/fonts/* vendor/assets/fonts/
cp ionicons/scss/* vendor/assets/stylesheets/

sed -i '' 's/url("#{$ionicons-font-path}\//font-url("/g' vendor/assets/stylesheets/_ionicons-font.scss

rm -rf ionicons
7 changes: 7 additions & 0 deletions ionicons-rails.gemspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Gem::Specification.new do |s|
s.name = 'ionicons-rails'
s.version = '1.4.0.0'
s.summary = 'Ionions for Ruby on Rails'
s.authors = 'Zhao Han'
s.files = Dir["{lib,vendor}/**/*"]
end
9 changes: 9 additions & 0 deletions lib/ionicons-rails.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
module Ionicons
module Rails
class Engine < ::Rails::Engine
initializer "ionicons-rails.assets.precompile" do |app|
app.config.assets.precompile << %r(ionicons\.(?:eot|svg|ttf|woff)$)
end
end
end
end
Binary file added vendor/assets/fonts/ionicons.eot
Binary file not shown.
1,623 changes: 1,623 additions & 0 deletions vendor/assets/fonts/ionicons.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added vendor/assets/fonts/ionicons.ttf
Binary file not shown.
Binary file added vendor/assets/fonts/ionicons.woff
Binary file not shown.
76 changes: 76 additions & 0 deletions vendor/assets/stylesheets/_ionicons-animation.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
// Animation Icons
// --------------------------

.#{$ionicons-prefix}spin {
-webkit-animation: spin 1s infinite linear;
-moz-animation: spin 1s infinite linear;
-o-animation: spin 1s infinite linear;
animation: spin 1s infinite linear;
}

@-moz-keyframes spin {
0% { -moz-transform: rotate(0deg); }
100% { -moz-transform: rotate(359deg); }
}
@-webkit-keyframes spin {
0% { -webkit-transform: rotate(0deg); }
100% { -webkit-transform: rotate(359deg); }
}
@-o-keyframes spin {
0% { -o-transform: rotate(0deg); }
100% { -o-transform: rotate(359deg); }
}
@-ms-keyframes spin {
0% { -ms-transform: rotate(0deg); }
100% { -ms-transform: rotate(359deg); }
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(359deg); }
}


.#{$ionicons-prefix}loading-a,
.#{$ionicons-prefix}loading-b,
.#{$ionicons-prefix}loading-c,
.#{$ionicons-prefix}loading-d,
.#{$ionicons-prefix}looping,
.#{$ionicons-prefix}refreshing,
.#{$ionicons-prefix}ios7-reloading {
@extend .ion;
@extend .#{$ionicons-prefix}spin;
}

.#{$ionicons-prefix}loading-a {
-webkit-animation-timing-function: steps(8, start);
-moz-animation-timing-function: steps(8, start);
animation-timing-function: steps(8, start);
}

.#{$ionicons-prefix}loading-a:before {
@extend .#{$ionicons-prefix}load-a:before;
}

.#{$ionicons-prefix}loading-b:before {
@extend .#{$ionicons-prefix}load-b:before;
}

.#{$ionicons-prefix}loading-c:before {
@extend .#{$ionicons-prefix}load-c:before;
}

.#{$ionicons-prefix}loading-d:before {
@extend .#{$ionicons-prefix}load-d:before;
}

.#{$ionicons-prefix}looping:before {
@extend .#{$ionicons-prefix}loop:before;
}

.#{$ionicons-prefix}refreshing:before {
@extend .#{$ionicons-prefix}refresh:before;
}

.#{$ionicons-prefix}ios7-reloading:before {
@extend .#{$ionicons-prefix}ios7-reload:before;
}
27 changes: 27 additions & 0 deletions vendor/assets/stylesheets/_ionicons-font.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
// Ionicons Font Path
// --------------------------

@font-face {
font-family: $ionicons-font-family;
src:font-url("ionicons.eot?v=#{$ionicons-version}");
src:font-url("ionicons.eot?v=#{$ionicons-version}#iefix") format("embedded-opentype"),
font-url("ionicons.ttf?v=#{$ionicons-version}") format("truetype"),
font-url("ionicons.woff?v=#{$ionicons-version}") format("woff"),
font-url("ionicons.svg?v=#{$ionicons-version}#Ionicons") format("svg");
font-weight: normal;
font-style: normal;
}

.ion {
display: inline-block;
font-family: $ionicons-font-family;
speak: none;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
text-rendering: auto;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
Loading

0 comments on commit faaf7b0

Please sign in to comment.