shelves 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e9cd8c6c34b3cd3d3b4149c5bea071402219941e
4
- data.tar.gz: 342e2d9fc86b37a59693bcad4935cffbded85fa4
3
+ metadata.gz: 961d0e2bd9800f051477e004260e8dcebfec0ffa
4
+ data.tar.gz: 8da4fe767dd5ad96c4f3f6e47ca478264fd49192
5
5
  SHA512:
6
- metadata.gz: 177c5d16d7b1fcea2712b374559bdb19bcfdaa85b8891dc75c285ed044f218f00f0b5f7aeb2ba1e3240e54f654d9ff4c0e6b6244e34f491e3b1a409b73d9a1e4
7
- data.tar.gz: 9984ec9a869641fbc14cc2da7411913cb743254a471d5a7fae048baba9c70817fb8d4e027c1a697def366eb1dd2f3d8ffb4348e38f6d6505c020718c955a5c5e
6
+ metadata.gz: eb518fc5379e1ecaa09bd4d4389cc6710679f5d501344e35c69d70d1c37f6d406f4d24b496d8ff1f870343472ea4b900762006622bb95462d00406029f863744
7
+ data.tar.gz: 86a507857aaadd94a7ccae9b2a452ae315e57bc07a44eb919d9cdb70253a68809d9c11bd6a382ee172e52dd31147154b921dd3883b6c539c7f75d847adb03bc6
data/.gitignore CHANGED
@@ -9,6 +9,7 @@ _yardoc
9
9
  coverage
10
10
  doc/
11
11
  lib/bundler/man
12
+ node_modules
12
13
  pkg
13
14
  rdoc
14
15
  spec/reports
data/.npmignore ADDED
@@ -0,0 +1,9 @@
1
+ **/.*
2
+ *.log
3
+ *.gemspec
4
+ Gemfile*
5
+ Rakefile
6
+ bin
7
+ lib
8
+ node_modules
9
+ pkg
data/bower.json ADDED
@@ -0,0 +1,22 @@
1
+ {
2
+ "name": "shelves",
3
+ "description": "The only responsive, fluid CSS grid framework with infinitely nestable columns.",
4
+ "version": "1.1.2",
5
+ "main": ["css/shelves.css", "scss/shelves.scss"],
6
+ "keywords": [
7
+ "css",
8
+ "scss",
9
+ "grid",
10
+ "mobile-first",
11
+ "responsive"
12
+ ],
13
+ "homepage": "http://shelvesgrid.org/",
14
+ "ignore": [
15
+ "*.gemspec",
16
+ "bin",
17
+ "lib",
18
+ "Gemfile",
19
+ "Gemfile.lock",
20
+ "Rakefile"
21
+ ]
22
+ }
@@ -1,3 +1,3 @@
1
1
  module Shelves
2
- VERSION = '1.1.1'
2
+ VERSION = '1.1.2'
3
3
  end
data/package.json ADDED
@@ -0,0 +1,32 @@
1
+ {
2
+ "name": "shelves",
3
+ "version": "1.1.2",
4
+ "description": "The only responsive, fluid CSS grid with infinitely nestable columns.",
5
+ "main": "scss/shelves.scss",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/typeimage/shelves.git"
12
+ },
13
+ "keywords": [
14
+ "eyeglass-module",
15
+ "sass",
16
+ "responsive",
17
+ "grid",
18
+ "rwd",
19
+ "layout"
20
+ ],
21
+ "author": "Pete Browne <pete@typeimage.com>",
22
+ "license": "MIT",
23
+ "bugs": {
24
+ "url": "https://github.com/typeimage/shelves/issues"
25
+ },
26
+ "homepage": "https://github.com/typeimage/shelves#readme",
27
+ "eyeglass": {
28
+ "needs": "^0.7.1",
29
+ "exports": false,
30
+ "sassDir": "scss"
31
+ }
32
+ }
@@ -1,4 +1,4 @@
1
- @import "shelves";
1
+ @import "./shelves";
2
2
 
3
3
  @include shelves-base;
4
4
 
@@ -11,7 +11,7 @@
11
11
  @include column-base;
12
12
  @include column-gutter;
13
13
 
14
- #{class-selector($shelves-row-name)} &:first-child {
14
+ .#{class-name($shelves-row-name)} &:first-child {
15
15
  @extend %shelves-mobile-first-column;
16
16
  }
17
17
  }
@@ -20,7 +20,7 @@
20
20
  @include reset-column-gutter;
21
21
  }
22
22
 
23
- #{class-selector($shelves-first-mobile-column-name)} {
23
+ .#{class-name($shelves-first-mobile-column-name)} {
24
24
  @extend %shelves-mobile-first-column;
25
25
  }
26
26
 
@@ -48,7 +48,7 @@
48
48
  @include column-base;
49
49
  @include column-gutter;
50
50
 
51
- #{class-selector($shelves-row-name)} &:first-child {
51
+ .#{class-name($shelves-row-name)} &:first-child {
52
52
  @extend %shelves-tablet-first-column;
53
53
  }
54
54
  }
@@ -57,7 +57,7 @@
57
57
  @include reset-column-gutter;
58
58
  }
59
59
 
60
- #{class-selector($shelves-first-tablet-column-name)} {
60
+ .#{class-name($shelves-first-tablet-column-name)} {
61
61
  @extend %shelves-tablet-first-column;
62
62
  }
63
63
 
@@ -85,7 +85,7 @@
85
85
  @include column-base;
86
86
  @include column-gutter;
87
87
 
88
- #{class-selector($shelves-row-name)} &:first-child {
88
+ .#{class-name($shelves-row-name)} &:first-child {
89
89
  @extend %shelves-first-desktop-column;
90
90
  }
91
91
  }
@@ -94,7 +94,7 @@
94
94
  @include reset-column-gutter;
95
95
  }
96
96
 
97
- #{class-selector($shelves-first-desktop-column-name)} {
97
+ .#{class-name($shelves-first-desktop-column-name)} {
98
98
  @extend %shelves-first-desktop-column;
99
99
  }
100
100
 
@@ -109,12 +109,12 @@
109
109
  // Nested Desktop Columns
110
110
 
111
111
  @if $shelves-nested-columns != false {
112
- @for $i from 1 to $shelves-desktop-columns - 1 {
112
+ @for $i from 1 to $shelves-desktop-columns - 1 {
113
113
  // Loop background through the columns
114
114
  // to cascade the nested column properties.
115
115
  $i: $shelves-desktop-columns - $i;
116
116
 
117
- #{class-selector($shelves-desktop-column-name $i)} {
117
+ .#{class-name($shelves-desktop-column-name $i)} {
118
118
  %shelves-nested-column-#{$i}-base {
119
119
  @include column-gutter($i);
120
120
  }
@@ -134,7 +134,7 @@
134
134
  }
135
135
 
136
136
  @if $shelves-center {
137
- #{class-selector($shelves-row-name)} #{class-selector($shelves-center-column-name)} {
137
+ .#{class-name($shelves-row-name)} .#{class-name($shelves-center-column-name)} {
138
138
  @include center-column;
139
139
  }
140
140
  }
data/scss/shelves.scss CHANGED
@@ -7,6 +7,6 @@ The only responsive, fluid CSS grid with infinitely nestable columns.
7
7
  Copyright (c) 2012, Pete Browne
8
8
  */
9
9
 
10
- @import "shelves/functions";
11
- @import "shelves/variables";
12
- @import "shelves/mixins";
10
+ @import "./shelves/functions";
11
+ @import "./shelves/variables";
12
+ @import "./shelves/mixins";
@@ -125,14 +125,6 @@
125
125
  @return implode($list, $shelves-separator);
126
126
  }
127
127
 
128
- // Creates an actual class selector by prefixing it with a ".".
129
- //
130
- // $name - A string or list of strings to create a class name from.
131
- //
132
- @function class-selector($name) {
133
- @return ".#{class-name($name)}";
134
- }
135
-
136
128
  // Creates a string by joining the parts of a list with the given separator.
137
129
  //
138
130
  // Note: This uses the PHP-style "implode" because Sass already uses "join"
@@ -1,6 +1,6 @@
1
- @import "shelves/mixins/utils";
2
- @import "shelves/mixins/context";
3
- @import "shelves/mixins/media";
4
- @import "shelves/mixins/row";
5
- @import "shelves/mixins/column";
6
- @import "shelves/mixins/generators";
1
+ @import "./mixins/utils";
2
+ @import "./mixins/context";
3
+ @import "./mixins/media";
4
+ @import "./mixins/row";
5
+ @import "./mixins/column";
6
+ @import "./mixins/generators";
@@ -8,10 +8,10 @@
8
8
  @include shelves-responsive-base;
9
9
  }
10
10
 
11
- #{class-selector($shelves-row-name)} {
11
+ .#{class-name($shelves-row-name)} {
12
12
  @include row;
13
13
 
14
- #{class-selector($shelves-row-name)} {
14
+ .#{class-name($shelves-row-name)} {
15
15
  @include reset-row;
16
16
  }
17
17
  }
@@ -31,25 +31,25 @@
31
31
  // device size.
32
32
  @mixin shelves-visibility-helpers {
33
33
  @include on-mobile {
34
- #{class-selector($shelves-hidden-mobile-name)},
35
- #{class-selector($shelves-visible-tablet-name)},
36
- #{class-selector($shelves-visible-desktop-name)} {
34
+ .#{class-name($shelves-hidden-mobile-name)},
35
+ .#{class-name($shelves-visible-tablet-name)},
36
+ .#{class-name($shelves-visible-desktop-name)} {
37
37
  @include force-hidden;
38
38
  }
39
39
  }
40
40
 
41
41
  @include on-tablet {
42
- #{class-selector($shelves-visible-mobile-name)},
43
- #{class-selector($shelves-hidden-tablet-name)},
44
- #{class-selector($shelves-visible-desktop-name)} {
42
+ .#{class-name($shelves-visible-mobile-name)},
43
+ .#{class-name($shelves-hidden-tablet-name)},
44
+ .#{class-name($shelves-visible-desktop-name)} {
45
45
  @include force-hidden;
46
46
  }
47
47
  }
48
48
 
49
49
  @include on-desktop {
50
- #{class-selector($shelves-visible-mobile-name)},
51
- #{class-selector($shelves-visible-tablet-name)},
52
- #{class-selector($shelves-hidden-desktop-name)} {
50
+ .#{class-name($shelves-visible-mobile-name)},
51
+ .#{class-name($shelves-visible-tablet-name)},
52
+ .#{class-name($shelves-hidden-desktop-name)} {
53
53
  @include force-hidden;
54
54
  }
55
55
  }
@@ -104,8 +104,8 @@
104
104
  $context: $total !default;
105
105
  $end: $context !default;
106
106
 
107
- @for $i from $start to $end {
108
- #{class-selector($column-name $i)} {
107
+ @for $i from $start to $end {
108
+ .#{class-name($column-name $i)} {
109
109
  @if $extend {
110
110
  @extend %#{$extend};
111
111
  }
@@ -113,29 +113,29 @@
113
113
  }
114
114
  }
115
115
  @if $prefixes {
116
- @for $i from $start to $end {
117
- #{class-selector($prefix-name $i)} {
116
+ @for $i from $start to $end {
117
+ .#{class-name($prefix-name $i)} {
118
118
  @include prefix-column($i, $context, $total, $gutter);
119
119
  }
120
120
  }
121
121
  }
122
122
  @if $suffixes {
123
- @for $i from $start to $end {
124
- #{class-selector($suffix-name $i)} {
123
+ @for $i from $start to $end {
124
+ .#{class-name($suffix-name $i)} {
125
125
  @include suffix-column($i, $context, $total, $gutter);
126
126
  }
127
127
  }
128
128
  }
129
129
  @if $pushes {
130
- @for $i from $start to $end {
131
- #{class-selector($push-name $i)} {
130
+ @for $i from $start to $end {
131
+ .#{class-name($push-name $i)} {
132
132
  @include push-column($i, $context, $total, $gutter);
133
133
  }
134
134
  }
135
135
  }
136
136
  @if $pulls {
137
- @for $i from $start to $end {
138
- #{class-selector($pull-name $i)} {
137
+ @for $i from $start to $end {
138
+ .#{class-name($pull-name $i)} {
139
139
  @include pull-column($i, $context, $total, $gutter);
140
140
  }
141
141
  }
metadata CHANGED
@@ -1,55 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shelves
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pete Browne
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-27 00:00:00.000000000 Z
11
+ date: 2015-12-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sass
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '3.3'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '3.3'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: choice
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0.1'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0.1'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: '10.0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ~>
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '10.0'
55
55
  description: The only responsive, fluid CSS grid with infinitely nestable columns.
@@ -60,13 +60,14 @@ executables:
60
60
  extensions: []
61
61
  extra_rdoc_files: []
62
62
  files:
63
- - .gitignore
63
+ - ".gitignore"
64
+ - ".npmignore"
64
65
  - Gemfile
65
66
  - LICENSE
66
67
  - README.md
67
68
  - Rakefile
68
69
  - bin/shelves
69
- - component.json
70
+ - bower.json
70
71
  - lib/shelves.rb
71
72
  - lib/shelves/cli.rb
72
73
  - lib/shelves/extensions/compass.rb
@@ -74,6 +75,7 @@ files:
74
75
  - lib/shelves/extensions/sass.rb
75
76
  - lib/shelves/extensions/sprockets.rb
76
77
  - lib/shelves/version.rb
78
+ - package.json
77
79
  - scss/shelves-grid.scss
78
80
  - scss/shelves.scss
79
81
  - scss/shelves/_functions.scss
@@ -95,12 +97,12 @@ require_paths:
95
97
  - lib
96
98
  required_ruby_version: !ruby/object:Gem::Requirement
97
99
  requirements:
98
- - - '>='
100
+ - - ">="
99
101
  - !ruby/object:Gem::Version
100
102
  version: '0'
101
103
  required_rubygems_version: !ruby/object:Gem::Requirement
102
104
  requirements:
103
- - - '>='
105
+ - - ">="
104
106
  - !ruby/object:Gem::Version
105
107
  version: '0'
106
108
  requirements: []
data/component.json DELETED
@@ -1,13 +0,0 @@
1
- {
2
- "name": "shelves",
3
- "version": "1.0.1",
4
- "main": ["css/shelves.css", "scss/shelves.scss"],
5
- "ignore": [
6
- "*.gemspec",
7
- "bin",
8
- "lib",
9
- "Gemfile",
10
- "Gemfile.lock",
11
- "Rakefile"
12
- ]
13
- }