siyelo-flare 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/sass/flare/_buttons.sass +1 -1
- data/sass/flare/_layout.sass +25 -0
- data/sass/flare/_sprites.sass +18 -0
- data/siyelo-flare.gemspec +6 -2
- data/templates/project/layout.sass +9 -0
- data/templates/project/manifest.rb +2 -0
- data/templates/project/sprites.sass +11 -0
- metadata +5 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.4
|
data/sass/flare/_buttons.sass
CHANGED
@@ -0,0 +1,25 @@
|
|
1
|
+
// relies on blueprint!
|
2
|
+
|
3
|
+
=full_width_container
|
4
|
+
:height auto
|
5
|
+
:width 100%
|
6
|
+
:margin 0 auto
|
7
|
+
+clearfix
|
8
|
+
+last
|
9
|
+
|
10
|
+
=push_w_no_bottom_margin(!n)
|
11
|
+
position: relative
|
12
|
+
:margin= 0 (-!blueprint_grid_outer_width * !n) 0 (!blueprint_grid_outer_width * !n)
|
13
|
+
|
14
|
+
|
15
|
+
=one_half_column( !width = !blueprint_grid_columns, !is_last = false)
|
16
|
+
!cols = floor( !width / 2 )
|
17
|
+
+column(!cols, !is_last)
|
18
|
+
|
19
|
+
=one_third_column( !width = !blueprint_grid_columns, !is_last = false)
|
20
|
+
!cols = floor( !width / 3 )
|
21
|
+
+column(!cols, !is_last)
|
22
|
+
|
23
|
+
=two_thirds_column( !width = !blueprint_grid_columns, !is_last = false)
|
24
|
+
!cols = ceil(2 * !width / 3)
|
25
|
+
+column(!cols, !is_last)
|
@@ -0,0 +1,18 @@
|
|
1
|
+
|
2
|
+
=no-hover-sprite( !width, !x, !y )
|
3
|
+
width= !width
|
4
|
+
background-position= !x !y
|
5
|
+
|
6
|
+
// assumes your sprite's hover x-axis is aligned
|
7
|
+
=hover-sprite( !width, !x, !y, !hover_y )
|
8
|
+
+no-hover-sprite( !width, !x, !y )
|
9
|
+
&:hover, &:focus
|
10
|
+
background-position= !x !hover_y
|
11
|
+
|
12
|
+
// Create your own custom third-state e.g. .active, .disabled
|
13
|
+
=hover-sprite-multi( !width, !x, !y, !hover_y, !custom_class, !custom_y )
|
14
|
+
+no-hover-sprite( !width, !x, !y )
|
15
|
+
&:hover, &:focus
|
16
|
+
background-position= !x !hover_y
|
17
|
+
&#{!custom_class}
|
18
|
+
background-position= !x !custom_y
|
data/siyelo-flare.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{siyelo-flare}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.4"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Glenn Roberts"]
|
@@ -28,12 +28,16 @@ Gem::Specification.new do |s|
|
|
28
28
|
"lib/flare.rb",
|
29
29
|
"lib/flare/compass_plugin.rb",
|
30
30
|
"sass/flare/_buttons.sass",
|
31
|
+
"sass/flare/_layout.sass",
|
32
|
+
"sass/flare/_sprites.sass",
|
31
33
|
"siyelo-flare.gemspec",
|
32
34
|
"spec/siyelo-flare_spec.rb",
|
33
35
|
"spec/spec.opts",
|
34
36
|
"spec/spec_helper.rb",
|
35
37
|
"templates/project/buttons.sass",
|
36
|
-
"templates/project/
|
38
|
+
"templates/project/layout.sass",
|
39
|
+
"templates/project/manifest.rb",
|
40
|
+
"templates/project/sprites.sass"
|
37
41
|
]
|
38
42
|
s.homepage = %q{http://github.com/siyelo/siyelo-flare}
|
39
43
|
s.rdoc_options = ["--charset=UTF-8"]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: siyelo-flare
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Glenn Roberts
|
@@ -43,12 +43,16 @@ files:
|
|
43
43
|
- lib/flare.rb
|
44
44
|
- lib/flare/compass_plugin.rb
|
45
45
|
- sass/flare/_buttons.sass
|
46
|
+
- sass/flare/_layout.sass
|
47
|
+
- sass/flare/_sprites.sass
|
46
48
|
- siyelo-flare.gemspec
|
47
49
|
- spec/siyelo-flare_spec.rb
|
48
50
|
- spec/spec.opts
|
49
51
|
- spec/spec_helper.rb
|
50
52
|
- templates/project/buttons.sass
|
53
|
+
- templates/project/layout.sass
|
51
54
|
- templates/project/manifest.rb
|
55
|
+
- templates/project/sprites.sass
|
52
56
|
has_rdoc: true
|
53
57
|
homepage: http://github.com/siyelo/siyelo-flare
|
54
58
|
licenses: []
|