siyelo-flare 0.1.2 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.2
1
+ 0.1.4
@@ -29,7 +29,7 @@
29
29
  border= !border_color " 1px solid "
30
30
 
31
31
  =awesome_hover_color( !bg_color, !color )
32
- background-color= !bg_color - !shadow_diff
32
+ background-color= !bg_color - !btn_shadow_diff
33
33
  color= !color
34
34
  text-decoration: none
35
35
 
@@ -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.2"
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/manifest.rb"
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"]
@@ -0,0 +1,9 @@
1
+ /*
2
+ Siyelo Flare - Sassy.
3
+
4
+ Licensed under GPL and MIT.
5
+
6
+ @import flare/layout.sass
7
+
8
+ body
9
+ +full_width_container
@@ -1 +1,3 @@
1
1
  stylesheet 'buttons.sass', :media => "screen, projection"
2
+ stylesheet 'sprites.sass', :media => "screen, projection"
3
+ stylesheet 'layout.sass', :media => "screen, projection"
@@ -0,0 +1,11 @@
1
+ /*
2
+ Siyelo Flare - Sassy.
3
+
4
+ Licensed under GPL and MIT.
5
+
6
+ @import flare/sprites.sass
7
+
8
+ .join
9
+ h2
10
+ +replace-text("join.png")
11
+ +hover-sprite( 350px, 0, 0, -110px )
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.2
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: []