stipe 0.0.4.5 → 0.0.4.6

Sign up to get free protection for your applications and to get access to all the features.
data/readme.md CHANGED
@@ -16,6 +16,12 @@ Stipe is a Compass Extension, so Compass is set as a depdency. You will need to
16
16
  For [reasons explained](/Anotheruiguy/toadstool/blob/master/doc-src/exploited-bug.md) please continue using the alpha gem and upgrading to Sass 3.2 will break Toadstool and Stipe.
17
17
 
18
18
  # Stipe Changelog
19
+ ## 0.0.4.6
20
+ * Updated grid system to support 24 col grid solution
21
+
22
+ ## 0.0.4.5
23
+ * Addressed all compatibility issues with Sass 3.2
24
+
19
25
  ## 0.0.4.1
20
26
  * Addressed bug with vendor prefix variables
21
27
 
@@ -11,6 +11,7 @@
11
11
  @include box_shadow (inset $shadow_color, 0 0 em(20) em(10));
12
12
  }
13
13
 
14
+
14
15
  %grid_1 {
15
16
  @include grid(1);
16
17
  @media #{$tablet_portrait} {
@@ -139,75 +140,46 @@
139
140
  @include full_width_block(12);
140
141
  }
141
142
 
142
- // push ----------------------
143
-
144
- %push_12_1 {
145
- @include push(12,1);
146
- }
147
-
148
- %push_12_2 {
149
- @include push(12,2);
143
+ // 24 col grid support --------------------
144
+ @for $i from 1 through 24 {
145
+ %grid_#{$i}_24 {
146
+ @include grid($i, $grid_type:24);
147
+ }
150
148
  }
151
149
 
152
- %push_12_3 {
153
- @include push(12,3);
150
+ // push ----------------------
151
+ @for $i from 1 through 12 {
152
+ %push_12_#{$i} {
153
+ @include push(12,$i);
154
+ }
154
155
  }
155
156
 
156
157
  // suffix ----------------------
157
-
158
- %suffix_12_1 {
159
- @include suffix(12,1);
160
- }
161
-
162
- %suffix_12_2 {
163
- @include suffix(12,2);
164
- }
165
-
166
- %suffix_12_3 {
167
- @include suffix(12,3);
158
+ @for $i from 1 through 12 {
159
+ %suffix_12_#{$i} {
160
+ @include suffix(12,$i);
161
+ }
168
162
  }
169
163
 
170
164
  // prefix ----------------------
171
-
172
- %prefix_12_1 {
173
- @include prefix(12,1);
174
- }
175
-
176
- %prefix_12_2 {
177
- @include prefix(12,2);
178
- }
179
-
180
- %prefix_12_3 {
181
- @include prefix(12,3);
165
+ @for $i from 1 through 12 {
166
+ %prefix_12_#{$i} {
167
+ @include prefix(12,$i);
168
+ }
182
169
  }
183
170
 
184
-
185
171
  // push ----------------------
186
-
187
- %push_12_1 {
188
- @include push(12,1);
189
- }
190
-
191
- %push_12_2 {
192
- @include push(12,2);
193
- }
194
-
195
- %push_12_3 {
196
- @include push(12,3);
172
+ @for $i from 1 through 12 {
173
+ %push_12_#{$i} {
174
+ @include push(12,$i);
175
+ }
197
176
  }
198
177
 
199
178
  // pull ----------------------
200
-
201
- %pull_12_1 {
202
- @include pull(12,1);
203
- }
204
-
205
- %pull_12_2 {
206
- @include pull(12,2);
207
- }
208
-
209
- %pull_12_3 {
210
- @include pull(12,3);
179
+ @for $i from 1 through 12 {
180
+ %pull_12_#{$i} {
181
+ @include pull(12,$i);
182
+ }
211
183
  }
212
184
 
213
185
  // alpha / omega ----------------------
@@ -218,4 +190,4 @@
218
190
 
219
191
  %omega {
220
192
  @include omega;
221
- }
193
+ }
@@ -17,6 +17,11 @@ $border_place: '';
17
17
  $col_width: 60 - $col_gutter;
18
18
  @include the_grid($col_count, $col_width, $grid_uom, $grid_padding_l, $grid_padding_r, $grid_padding_tb, $grid_border, $grid_child, $col_gutter, $grid_align, $grid_context, $border_color, $border_place);
19
19
  }
20
+ @else if $grid_type == 24 {
21
+ $col_width: 40 - $col_base;
22
+ $col_gutter: $col_base;
23
+ @include the_grid($col_count, $col_width, $grid_uom, $grid_padding_l, $grid_padding_r, $grid_padding_tb, $grid_border, $grid_child, $col_gutter, $grid_align, $grid_context, $border_color, $border_place);
24
+ }
20
25
  }
21
26
 
22
27
  /////////// main content dusplay box //////////////
@@ -33,6 +33,9 @@
33
33
  margin-bottom: em(20);
34
34
  float: left;
35
35
  background-image: url(data:image/gif;base64,R0lGODlhUAABAIAAAP/////l5SwAAAAAUAABAAACC4SPocvtD6NsqIICADs=);
36
+ &.col_24_grid {
37
+ background-image: url(data:image/gif;base64,R0lGODlhKAABAIAAAP/////l5SH5BAAAAAAALAAAAAAoAAEAAAIIhB2py+15TAEAOw==);
38
+ }
36
39
  }
37
40
  }
38
41
 
@@ -24,64 +24,11 @@
24
24
 
25
25
 
26
26
  // grid ----------------------
27
- .grid-1 {
28
- @extend %grid_1;
29
- @extend %grid_display;
30
- }
31
-
32
- .grid-2 {
33
- @extend %grid_2;
34
- @extend %grid_display;
35
- }
36
-
37
- .grid-3 {
38
- @extend %grid_3;
39
- @extend %grid_display;
40
- }
41
-
42
- .grid-4 {
43
- @extend %grid_4;
44
- @extend %grid_display;
45
- }
46
-
47
- .grid-5 {
48
- @extend %grid_5;
49
- @extend %grid_display;
50
- }
51
-
52
- .grid-6 {
53
- @extend %grid_6;
54
- @extend %grid_display;
55
- }
56
-
57
- .grid-7 {
58
- @extend %grid_7;
59
- @extend %grid_display;
60
- }
61
-
62
- .grid-8 {
63
- @extend %grid_8;
64
- @extend %grid_display;
65
- }
66
-
67
- .grid-9 {
68
- @extend %grid_9;
69
- @extend %grid_display;
70
- }
71
-
72
- .grid-10 {
73
- @extend %grid_10;
74
- @extend %grid_display;
75
- }
76
-
77
- .grid-11 {
78
- @extend %grid_11;
79
- @extend %grid_display;
80
- }
81
-
82
- .grid-12 {
83
- @extend %grid_12;
84
- @extend %grid_display;
27
+ @for $i from 1 through 12 {
28
+ .grid-#{$i} {
29
+ @extend %grid_#{$i};
30
+ @extend %grid_display;
31
+ }
85
32
  }
86
33
 
87
34
  .grid-full {
@@ -91,3 +38,11 @@
91
38
  .grid-full_center {
92
39
  @include full_width_block(12);
93
40
  }
41
+
42
+
43
+ @for $i from 1 through 24 {
44
+ .grid-#{$i}-24 {
45
+ @extend %grid_#{$i}_24;
46
+ @extend %grid_display;
47
+ }
48
+ }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stipe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4.5
4
+ version: 0.0.4.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -52,66 +52,66 @@ extra_rdoc_files: []
52
52
  files:
53
53
  - readme.md
54
54
  - lib/stipe.rb
55
- - stylesheets/stipe/_buttons.scss
56
- - stylesheets/stipe/_color.scss
57
- - stylesheets/stipe/_forms.scss
58
- - stylesheets/stipe/_gradients.scss
59
- - stylesheets/stipe/_grid.scss
60
- - stylesheets/stipe/_media.scss
61
55
  - stylesheets/stipe/_stipe.scss
62
- - stylesheets/stipe/_typography.scss
56
+ - stylesheets/stipe/buttons/lib/_minimal.scss
57
+ - stylesheets/stipe/buttons/lib/_cupid-green.scss
63
58
  - stylesheets/stipe/buttons/_extends.scss
64
59
  - stylesheets/stipe/buttons/doc-src/buttons.md
65
- - stylesheets/stipe/buttons/lib/_cupid-green.scss
66
- - stylesheets/stipe/buttons/lib/_minimal.scss
67
- - stylesheets/stipe/color/_color_math.scss
68
- - stylesheets/stipe/color/_default_color_pallet.scss
69
- - stylesheets/stipe/color/_extends_deprecated.scss
70
- - stylesheets/stipe/color/_grayscale_math.scss
71
- - stylesheets/stipe/color/readme.md
72
- - stylesheets/stipe/doc-src/grids.md
73
- - stylesheets/stipe/forms/_extends.scss
74
- - stylesheets/stipe/forms/_mixins.scss
75
- - stylesheets/stipe/gradients/_extends.scss
60
+ - stylesheets/stipe/typography/web_fonts/_font_awesome_pua.scss
61
+ - stylesheets/stipe/typography/web_fonts/_zocial.scss
62
+ - stylesheets/stipe/typography/web_fonts/_zocial_characters.scss
63
+ - stylesheets/stipe/typography/web_fonts/_font_awesome.scss
64
+ - stylesheets/stipe/typography/_mixins.scss
65
+ - stylesheets/stipe/typography/_default.scss
66
+ - stylesheets/stipe/typography/_functions.scss
67
+ - stylesheets/stipe/typography/_extends.scss
68
+ - stylesheets/stipe/_buttons.scss
69
+ - stylesheets/stipe/resets/_eric_meyer.scss
70
+ - stylesheets/stipe/resets/_toadstool.scss
71
+ - stylesheets/stipe/_color.scss
76
72
  - stylesheets/stipe/gradients/mixins/_area_51.scss
77
73
  - stylesheets/stipe/gradients/mixins/_linear_gradient_bkgimage.scss
78
- - stylesheets/stipe/grid/_debug.scss
79
- - stylesheets/stipe/grid/_extends.scss
74
+ - stylesheets/stipe/gradients/_extends.scss
80
75
  - stylesheets/stipe/grid/_mixins.scss
81
76
  - stylesheets/stipe/grid/lib/_grid_background.scss
82
- - stylesheets/stipe/grid/lib/_grid_margin.scss
83
77
  - stylesheets/stipe/grid/lib/_grid_placement.scss
78
+ - stylesheets/stipe/grid/lib/_grid_margin.scss
84
79
  - stylesheets/stipe/grid/lib/_push_logic.scss
85
80
  - stylesheets/stipe/grid/lib/_the_grid.scss
81
+ - stylesheets/stipe/grid/_debug.scss
86
82
  - stylesheets/stipe/grid/readme.md
87
- - stylesheets/stipe/resets/_eric_meyer.scss
88
- - stylesheets/stipe/resets/_toadstool.scss
89
- - stylesheets/stipe/stipe/_extends.scss
90
- - stylesheets/stipe/stipe/_mixins.scss
83
+ - stylesheets/stipe/grid/_extends.scss
84
+ - stylesheets/stipe/_grid.scss
85
+ - stylesheets/stipe/toadstool/ui_patterns/_color_grid.scss
86
+ - stylesheets/stipe/toadstool/ui_patterns/_prettify.scss
87
+ - stylesheets/stipe/toadstool/ui_patterns/_emBox.scss
88
+ - stylesheets/stipe/toadstool/modules/_footer.scss
89
+ - stylesheets/stipe/toadstool/modules/_header.scss
90
+ - stylesheets/stipe/toadstool/modules/_main_nav.scss
91
+ - stylesheets/stipe/toadstool/_web_fonts.scss
91
92
  - stylesheets/stipe/toadstool/_buttons.scss
92
- - stylesheets/stipe/toadstool/_config.scss
93
+ - stylesheets/stipe/toadstool/_ui_patterns.scss
93
94
  - stylesheets/stipe/toadstool/_design.scss
94
- - stylesheets/stipe/toadstool/_forms.scss
95
95
  - stylesheets/stipe/toadstool/_grids.scss
96
- - stylesheets/stipe/toadstool/_modules.scss
96
+ - stylesheets/stipe/toadstool/_forms.scss
97
97
  - stylesheets/stipe/toadstool/_typography.scss
98
+ - stylesheets/stipe/toadstool/_modules.scss
98
99
  - stylesheets/stipe/toadstool/_ui_manifest.scss
99
- - stylesheets/stipe/toadstool/_ui_patterns.scss
100
- - stylesheets/stipe/toadstool/_web_fonts.scss
101
- - stylesheets/stipe/toadstool/modules/_footer.scss
102
- - stylesheets/stipe/toadstool/modules/_header.scss
103
- - stylesheets/stipe/toadstool/modules/_main_nav.scss
104
- - stylesheets/stipe/toadstool/ui_patterns/_color_grid.scss
105
- - stylesheets/stipe/toadstool/ui_patterns/_emBox.scss
106
- - stylesheets/stipe/toadstool/ui_patterns/_prettify.scss
107
- - stylesheets/stipe/typography/_default.scss
108
- - stylesheets/stipe/typography/_extends.scss
109
- - stylesheets/stipe/typography/_functions.scss
110
- - stylesheets/stipe/typography/_mixins.scss
111
- - stylesheets/stipe/typography/web_fonts/_font_awesome.scss
112
- - stylesheets/stipe/typography/web_fonts/_font_awesome_pua.scss
113
- - stylesheets/stipe/typography/web_fonts/_zocial.scss
114
- - stylesheets/stipe/typography/web_fonts/_zocial_characters.scss
100
+ - stylesheets/stipe/toadstool/_config.scss
101
+ - stylesheets/stipe/_gradients.scss
102
+ - stylesheets/stipe/_forms.scss
103
+ - stylesheets/stipe/color/_grayscale_math.scss
104
+ - stylesheets/stipe/color/_default_color_pallet.scss
105
+ - stylesheets/stipe/color/_color_math.scss
106
+ - stylesheets/stipe/color/_extends_deprecated.scss
107
+ - stylesheets/stipe/color/readme.md
108
+ - stylesheets/stipe/_typography.scss
109
+ - stylesheets/stipe/forms/_mixins.scss
110
+ - stylesheets/stipe/forms/_extends.scss
111
+ - stylesheets/stipe/doc-src/grids.md
112
+ - stylesheets/stipe/stipe/_mixins.scss
113
+ - stylesheets/stipe/stipe/_extends.scss
114
+ - stylesheets/stipe/_media.scss
115
115
  homepage: https://github.com/Anotheruiguy/stipe
116
116
  licenses: []
117
117
  post_install_message:
@@ -132,7 +132,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
132
132
  version: '0'
133
133
  requirements: []
134
134
  rubyforge_project:
135
- rubygems_version: 1.8.23
135
+ rubygems_version: 1.8.24
136
136
  signing_key:
137
137
  specification_version: 3
138
138
  summary: Core styles for Toadstool