compass-susy-plugin 0.8.0.pre1 → 0.8.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
data/Manifest CHANGED
@@ -8,6 +8,7 @@ lib/susy.rb
8
8
  lib/susy/compass_plugin.rb
9
9
  lib/susy/sass_extensions.rb
10
10
  sass/susy/_grid.scss
11
+ sass/susy/_inline_block_list.scss
11
12
  sass/susy/_reset.scss
12
13
  sass/susy/_susy.scss
13
14
  sass/susy/_text.scss
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.8.0.pre1
1
+ 0.8.0.rc1
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{compass-susy-plugin}
5
- s.version = "0.8.0.pre1"
5
+ s.version = "0.8.0.rc1"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Eric Meyer"]
@@ -10,7 +10,7 @@ Gem::Specification.new do |s|
10
10
  s.description = %q{Responsive web design with grids the quick and reliable way.}
11
11
  s.email = %q{eric@oddbird.net}
12
12
  s.extra_rdoc_files = ["LICENSE.txt", "README.mkdn", "lib/susy.rb", "lib/susy/compass_plugin.rb", "lib/susy/sass_extensions.rb"]
13
- s.files = ["LICENSE.txt", "Manifest", "README.mkdn", "Rakefile", "VERSION", "lib/susy.rb", "lib/susy/compass_plugin.rb", "lib/susy/sass_extensions.rb", "sass/susy/_grid.scss", "sass/susy/_reset.scss", "sass/susy/_susy.scss", "sass/susy/_text.scss", "sass/susy/_utils.scss", "sass/susy/_vertical_rhythm.scss", "templates/project/_base.scss", "templates/project/_defaults.scss", "templates/project/grid.png", "templates/project/ie.scss", "templates/project/manifest.rb", "templates/project/print.scss", "templates/project/screen.scss", "compass-susy-plugin.gemspec"]
13
+ s.files = ["LICENSE.txt", "Manifest", "README.mkdn", "Rakefile", "VERSION", "compass-susy-plugin.gemspec", "lib/susy.rb", "lib/susy/compass_plugin.rb", "lib/susy/sass_extensions.rb", "sass/susy/_grid.scss", "sass/susy/_inline_block_list.scss", "sass/susy/_reset.scss", "sass/susy/_susy.scss", "sass/susy/_text.scss", "sass/susy/_utils.scss", "sass/susy/_vertical_rhythm.scss", "templates/project/_base.scss", "templates/project/_defaults.scss", "templates/project/grid.png", "templates/project/ie.scss", "templates/project/manifest.rb", "templates/project/print.scss", "templates/project/screen.scss"]
14
14
  s.homepage = %q{http://susy.oddbird.net/}
15
15
  s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Compass-susy-plugin", "--main", "README.mkdn"]
16
16
  s.require_paths = ["lib"]
@@ -0,0 +1,42 @@
1
+ // Inline-Block list layout module.
2
+ //
3
+ // Easy mode using simple descendant li selectors:
4
+ //
5
+ // ul.nav
6
+ // +inline-block-list
7
+ //
8
+ // Advanced mode:
9
+ // If you need to target the list items using a different selector then use
10
+ // +inline-block-list-container on your ul/ol and +inline-block-list-item on your li.
11
+ // This may help when working on layouts involving nested lists. For example:
12
+ //
13
+ // ul.nav
14
+ // +inline-block-list-container
15
+ // > li
16
+ // +inline-block-list-item
17
+
18
+ // Can be mixed into any selector that target a ul or ol that is meant
19
+ // to have an inline-block layout. Used to implement +inline-block-list.
20
+ @mixin inline-block-list-container {
21
+ @include horizontal-list-container; }
22
+
23
+ // Can be mixed into any li selector that is meant to participate in a horizontal layout.
24
+ // Used to implement +inline-block-list.
25
+
26
+ @mixin inline-block-list-item($padding: false) {
27
+ @include no-bullet;
28
+ @include inline-block;
29
+ white-space: nowrap;
30
+ @if $padding {
31
+ padding: {
32
+ left: $padding;
33
+ right: $padding;
34
+ };
35
+ }
36
+ }
37
+
38
+ // A list(ol,ul) that is layed out such that the elements are inline-block and won't wrap.
39
+ @mixin inline-block-list($padding: false) {
40
+ @include inline-block-list-container;
41
+ li {
42
+ @include inline-block-list-item($padding); } }
@@ -3,6 +3,7 @@
3
3
 
4
4
  // An extension of the Compass Core Utilities
5
5
  @import "compass/utilities";
6
+ @import "inline_block_list";
6
7
 
7
8
  // Apply to you container element(s) to show a grid image.
8
9
  // - You need to supply the image. Susy can't do everything.
metadata CHANGED
@@ -6,8 +6,8 @@ version: !ruby/object:Gem::Version
6
6
  - 0
7
7
  - 8
8
8
  - 0
9
- - pre1
10
- version: 0.8.0.pre1
9
+ - rc1
10
+ version: 0.8.0.rc1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Eric Meyer
@@ -50,10 +50,12 @@ files:
50
50
  - README.mkdn
51
51
  - Rakefile
52
52
  - VERSION
53
+ - compass-susy-plugin.gemspec
53
54
  - lib/susy.rb
54
55
  - lib/susy/compass_plugin.rb
55
56
  - lib/susy/sass_extensions.rb
56
57
  - sass/susy/_grid.scss
58
+ - sass/susy/_inline_block_list.scss
57
59
  - sass/susy/_reset.scss
58
60
  - sass/susy/_susy.scss
59
61
  - sass/susy/_text.scss
@@ -66,7 +68,6 @@ files:
66
68
  - templates/project/manifest.rb
67
69
  - templates/project/print.scss
68
70
  - templates/project/screen.scss
69
- - compass-susy-plugin.gemspec
70
71
  has_rdoc: true
71
72
  homepage: http://susy.oddbird.net/
72
73
  licenses: []