flex-slider-rails 0.3.1 → 2.6.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/flex/slider/rails.rb +8 -7
- data/lib/flex/slider/rails/version.rb +1 -1
- data/vendor/assets/stylesheets/flexslider.css.scss +15 -7
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c51fa8f9c6997be1545e8079ee5a67a3c0fb2ac4
|
4
|
+
data.tar.gz: 3f283ffde62417ec01727de67e1f6a9bd9ab48b5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ba538c27c3da8a2426f3e054df34e5a4ed0ea98c51ac549f4a52e9c8fd1741439b21724109235d680de04560cf47a89c23d3a6f81330f4a75355bfa62ec00cb
|
7
|
+
data.tar.gz: dac3873a6633399dfd4001baf8f61251d760ddb2d2e57b1d3efa6653161af37684c750e57f461bebd22e496ab3dec10233e653f25ca89adc35a85bef3a8c2955
|
data/lib/flex/slider/rails.rb
CHANGED
@@ -5,15 +5,16 @@ module Flex
|
|
5
5
|
module Rails
|
6
6
|
class Engine < ::Rails::Engine
|
7
7
|
initializer :append_dependent_assets_path, :group => :all do |app|
|
8
|
-
|
8
|
+
app.config.assets.paths += %w( fonts )
|
9
9
|
|
10
|
-
|
11
|
-
|
10
|
+
app.config.assets.precompile += %w( flexslider.css.scss )
|
11
|
+
app.config.assets.precompile += %w( jquery.flexslider.js )
|
12
12
|
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
13
|
+
app.config.assets.precompile += %w( flexslider-icon.eot )
|
14
|
+
app.config.assets.precompile += %w( flexslider-icon.svg )
|
15
|
+
app.config.assets.precompile += %w( flexslider-icon.ttf )
|
16
|
+
app.config.assets.precompile += %w( flexslider-icon.woff )
|
17
|
+
end
|
17
18
|
end
|
18
19
|
end
|
19
20
|
end
|
@@ -1,9 +1,11 @@
|
|
1
|
+
// make sure to add the correct rails code
|
1
2
|
|
2
3
|
//= depend_on_asset 'flexslider-icon.eot'
|
3
4
|
//= depend_on_asset 'flexslider-icon.woff'
|
4
5
|
//= depend_on_asset 'flexslider-icon.ttf'
|
5
6
|
//= depend_on_asset 'flexslider-icon.svg'
|
6
7
|
|
8
|
+
|
7
9
|
/*
|
8
10
|
* jQuery FlexSlider v2.6.3
|
9
11
|
* http://www.woothemes.com/flexslider/
|
@@ -15,16 +17,22 @@
|
|
15
17
|
* Contributing author: Tyler Smith (@mbmufffin)
|
16
18
|
*
|
17
19
|
*/
|
20
|
+
|
18
21
|
/* ====================================================================================================================
|
19
22
|
* FONT-FACE
|
23
|
+
* ====================================================================================================================
|
20
24
|
* ====================================================================================================================*/
|
21
|
-
@font-face {
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
25
|
+
@font-face {
|
26
|
+
font-family: 'flexslider-icon';
|
27
|
+
src: font-url('flexslider-icon.eot');
|
28
|
+
src: font-url('flexslider-icon.eot?#iefix') format('embedded-opentype'),
|
29
|
+
font-url('flexslider-icon.woff') format('woff'),
|
30
|
+
font-url('flexslider-icon.ttf') format('truetype'),
|
31
|
+
font-url('flexslider-icon.svg#flexslider-icon') format('svg');
|
32
|
+
font-weight: normal;
|
33
|
+
font-style: normal;
|
34
|
+
}
|
35
|
+
|
28
36
|
/* ====================================================================================================================
|
29
37
|
* RESETS
|
30
38
|
* ====================================================================================================================*/
|