compass-grid-plugin 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,14 @@
1
+
2
+ // Force Sass to return a decimal to the current precision
3
+ @function real-percentage($a, $b) {
4
+ $prec: pow(10, precision());
5
+ @return round($a / $b * $prec) / $prec;
6
+ }
7
+
8
+ // Return the nth item in a list or a default value
9
+ @function nth-else($list, $n, $else: false) {
10
+ @if type-of($list) != list {
11
+ @return if($n == 1, $list, $else);
12
+ }
13
+ @return if($n <= length($list), nth($list, $n), $else);
14
+ }
@@ -1,17 +1,17 @@
1
- description "Sass Grid based on the 1KB CSS Grid"
2
-
3
- stylesheet 'screen.scss', :media => "screen, projection"
4
- stylesheet 'partials/_base.scss'
5
-
6
- help %Q{
7
- Please see the website for all documentation and tutorials:
8
-
9
- https://github.com/heygrady/1KB-SCSS-Grid
10
- }
11
-
12
- welcome_message %Q{
13
- Please see the website for all documentation and tutorials:
14
-
15
- https://github.com/heygrady/1KB-SCSS-Grid
16
-
1
+ description "Sass Grid based on the 1KB CSS Grid"
2
+
3
+ stylesheet 'screen.scss', :media => "screen, projection"
4
+ stylesheet 'partials/_base.scss'
5
+
6
+ help %Q{
7
+ Please see the website for all documentation and tutorials:
8
+
9
+ https://github.com/heygrady/1KB-SCSS-Grid
10
+ }
11
+
12
+ welcome_message %Q{
13
+ Please see the website for all documentation and tutorials:
14
+
15
+ https://github.com/heygrady/1KB-SCSS-Grid
16
+
17
17
  }
@@ -1,7 +1,7 @@
1
- //-----------------------------------
2
- // Grid Defaults
3
- //-----------------------------------
4
- $grid-column-width: 60px;
5
- $grid-gutter-width: 20px;
6
- $grid-columns: 12;
1
+ //-----------------------------------
2
+ // Grid Defaults
3
+ //-----------------------------------
4
+ $grid-column-width: 60px;
5
+ $grid-gutter-width: 20px;
6
+ $grid-columns: 12;
7
7
  $grid-clearfix-class: true;
@@ -1,9 +1,9 @@
1
- //-----------------------------------
2
- // Base Settings
3
- //-----------------------------------
4
- @import "partials/base";
5
-
6
- //-----------------------------------
7
- // Plugins
8
- //-----------------------------------
9
- @import "grid";
1
+ //-----------------------------------
2
+ // Base Settings
3
+ //-----------------------------------
4
+ @import "partials/base";
5
+
6
+ //-----------------------------------
7
+ // Plugins
8
+ //-----------------------------------
9
+ @import "grid";
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: compass-grid-plugin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-04-23 00:00:00.000000000 Z
12
+ date: 2012-05-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: compass
@@ -27,9 +27,9 @@ dependencies:
27
27
  - - ! '>='
28
28
  - !ruby/object:Gem::Version
29
29
  version: '0'
30
- description: Compass extension based on the 1KB CSS Grid designed to utilize Sass
31
- and Compass to remove unnecessary classes from the HTML markup and make customization
32
- easier.
30
+ description: Compass grid extension inspired by the 1KB CSS Grid. Supports fixed and
31
+ fluid grids. Designed to utilize Sass and Compass to remove unnecessary classes
32
+ from the HTML markup and make customization easier.
33
33
  email:
34
34
  - github@heygrady.net
35
35
  executables: []
@@ -57,10 +57,11 @@ files:
57
57
  - lib/compass/grid/version.rb
58
58
  - stylesheets/_grid.scss
59
59
  - stylesheets/grid/_fluid.scss
60
+ - stylesheets/grid/fluid/_helpers.scss
60
61
  - templates/project/manifest.rb
61
62
  - templates/project/partials/_base.scss
62
63
  - templates/project/screen.scss
63
- homepage: https://github.com/heygrady/1KB-SCSS-Grid
64
+ homepage: https://github.com/heygrady/compass-grid-plugin
64
65
  licenses: []
65
66
  post_install_message:
66
67
  rdoc_options: []
@@ -83,5 +84,5 @@ rubyforge_project:
83
84
  rubygems_version: 1.8.23
84
85
  signing_key:
85
86
  specification_version: 3
86
- summary: Compass extension based on the 1KB CSS Grid
87
+ summary: Compass grid extension inspired by the 1KB CSS Grid
87
88
  test_files: []