mabtie 0.0.4.beta1 → 0.0.4.beta2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.md CHANGED
@@ -16,7 +16,7 @@ Mabtie is recommended to be run as a gem and included in your Gemfile:
16
16
 
17
17
  After you've bundled, run the installer:
18
18
 
19
- rake flutie:install
19
+ rake mabtie:install
20
20
 
21
21
  The installer will copy the mabtie stylesheets into **assets/stylesheets**
22
22
 
@@ -24,7 +24,7 @@ Once Mabtie is installed, with your application running (not in production envir
24
24
 
25
25
  Click on the "Default styles" link to view the same markup with a barebones layout that only contains the Mabtie stylesheets. Click on "Application styles" to view the markup in your application layout.
26
26
 
27
- To upgrade, bump the gem version in your Gemfile, and then run 'rake flutie:install' again to get the latest changes moved into your application.
27
+ To upgrade, bump the gem version in your Gemfile, and then run 'rake mabtie:install' again to get the latest changes moved into your application.
28
28
 
29
29
  Usage
30
30
  -----
@@ -37,7 +37,7 @@ bc. <%= stylesheet_link_tag :flutie, 'admin', :cache => true %>
37
37
 
38
38
  ### Sass
39
39
 
40
- If you use Sass in your application, the flutie stylesheets are also available as scss files, installed in public/flutie/sass. This location is automatically added to your Sass template load path. These files can be imported into your own sass files for use with the following:
40
+ If you use Sass, Rails 3.1 does by default, in your application, the flutie stylesheets are also available as scss files, installed in public/flutie/sass. This location is automatically added to your Sass template load path. These files can be imported into your own sass files for use with the following:
41
41
 
42
42
  @import "flutie";
43
43
 
@@ -65,6 +65,16 @@ styleguides directory. For example:
65
65
  <a href="#prev">Previous</a>
66
66
  <a href="#next">Next</a>
67
67
  </div>
68
+ ### Using Grid System
69
+
70
+ Using the Grid System
71
+ -----------------------
72
+ To start using the grid system do:
73
+
74
+ <div class="container_12">
75
+ </div>
76
+
77
+ If you like more info on using the system please [see this set of sildes](http://www.slideshare.net/nathansmith/refresh-okc).
68
78
 
69
79
  Suggestions, Bugs, Refactoring?
70
80
  -------------------------------
@@ -92,6 +102,8 @@ The names and logos for thoughtbot are trademarks of thoughtbot, inc.
92
102
 
93
103
  The form styleing is from [formalize](http://formalize.me/)
94
104
 
105
+ The Grid System is from [960 Grid System](http://960.gs)
106
+
95
107
  License
96
108
  -------
97
109
 
Binary file
@@ -685,3 +685,254 @@ li {
685
685
 
686
686
  ol ol, ol ul, ul ul, ul ol {
687
687
  margin-left: 1em; }
688
+
689
+ /*
690
+ Variable Grid System (Fluid Version).
691
+ Learn more ~ http://www.spry-soft.com/grids/
692
+ Based on 960 Grid System - http://960.gs/ & 960 Fluid - http://www.designinfluences.com/
693
+
694
+ Licensed under GPL and MIT.
695
+ */
696
+ /* Containers
697
+ ----------------------------------------------------------------------------------------------------*/
698
+ .container_12 {
699
+ width: 92%;
700
+ margin-left: 4%;
701
+ margin-right: 4%; }
702
+
703
+ /* Grid >> Global
704
+ ----------------------------------------------------------------------------------------------------*/
705
+ .grid_1,
706
+ .grid_2,
707
+ .grid_3,
708
+ .grid_4,
709
+ .grid_5,
710
+ .grid_6,
711
+ .grid_7,
712
+ .grid_8,
713
+ .grid_9,
714
+ .grid_10,
715
+ .grid_11,
716
+ .grid_12 {
717
+ display: inline;
718
+ float: left;
719
+ position: relative;
720
+ margin-left: 1%;
721
+ margin-right: 1%; }
722
+
723
+ /* Grid >> Children (Alpha ~ First, Omega ~ Last)
724
+ ----------------------------------------------------------------------------------------------------*/
725
+ .alpha {
726
+ margin-left: 0; }
727
+
728
+ .omega {
729
+ margin-right: 0; }
730
+
731
+ /* Grid >> 12 Columns
732
+ ----------------------------------------------------------------------------------------------------*/
733
+ .container_12 .grid_1 {
734
+ width: 6.333%; }
735
+
736
+ .container_12 .grid_2 {
737
+ width: 14.667%; }
738
+
739
+ .container_12 .grid_3 {
740
+ width: 23.0%; }
741
+
742
+ .container_12 .grid_4 {
743
+ width: 31.333%; }
744
+
745
+ .container_12 .grid_5 {
746
+ width: 39.667%; }
747
+
748
+ .container_12 .grid_6 {
749
+ width: 48.0%; }
750
+
751
+ .container_12 .grid_7 {
752
+ width: 56.333%; }
753
+
754
+ .container_12 .grid_8 {
755
+ width: 64.667%; }
756
+
757
+ .container_12 .grid_9 {
758
+ width: 73.0%; }
759
+
760
+ .container_12 .grid_10 {
761
+ width: 81.333%; }
762
+
763
+ .container_12 .grid_11 {
764
+ width: 89.667%; }
765
+
766
+ .container_12 .grid_12 {
767
+ width: 98.0%; }
768
+
769
+ /* Prefix Extra Space >> 12 Columns
770
+ ----------------------------------------------------------------------------------------------------*/
771
+ .container_12 .prefix_1 {
772
+ padding-left: 8.333%; }
773
+
774
+ .container_12 .prefix_2 {
775
+ padding-left: 16.667%; }
776
+
777
+ .container_12 .prefix_3 {
778
+ padding-left: 25.0%; }
779
+
780
+ .container_12 .prefix_4 {
781
+ padding-left: 33.333%; }
782
+
783
+ .container_12 .prefix_5 {
784
+ padding-left: 41.667%; }
785
+
786
+ .container_12 .prefix_6 {
787
+ padding-left: 50.0%; }
788
+
789
+ .container_12 .prefix_7 {
790
+ padding-left: 58.333%; }
791
+
792
+ .container_12 .prefix_8 {
793
+ padding-left: 66.667%; }
794
+
795
+ .container_12 .prefix_9 {
796
+ padding-left: 75.0%; }
797
+
798
+ .container_12 .prefix_10 {
799
+ padding-left: 83.333%; }
800
+
801
+ .container_12 .prefix_11 {
802
+ padding-left: 91.667%; }
803
+
804
+ /* Suffix Extra Space >> 12 Columns
805
+ ----------------------------------------------------------------------------------------------------*/
806
+ .container_12 .suffix_1 {
807
+ padding-right: 8.333%; }
808
+
809
+ .container_12 .suffix_2 {
810
+ padding-right: 16.667%; }
811
+
812
+ .container_12 .suffix_3 {
813
+ padding-right: 25.0%; }
814
+
815
+ .container_12 .suffix_4 {
816
+ padding-right: 33.333%; }
817
+
818
+ .container_12 .suffix_5 {
819
+ padding-right: 41.667%; }
820
+
821
+ .container_12 .suffix_6 {
822
+ padding-right: 50.0%; }
823
+
824
+ .container_12 .suffix_7 {
825
+ padding-right: 58.333%; }
826
+
827
+ .container_12 .suffix_8 {
828
+ padding-right: 66.667%; }
829
+
830
+ .container_12 .suffix_9 {
831
+ padding-right: 75.0%; }
832
+
833
+ .container_12 .suffix_10 {
834
+ padding-right: 83.333%; }
835
+
836
+ .container_12 .suffix_11 {
837
+ padding-right: 91.667%; }
838
+
839
+ /* Push Space >> 12 Columns
840
+ ----------------------------------------------------------------------------------------------------*/
841
+ .container_12 .push_1 {
842
+ left: 8.333%; }
843
+
844
+ .container_12 .push_2 {
845
+ left: 16.667%; }
846
+
847
+ .container_12 .push_3 {
848
+ left: 25.0%; }
849
+
850
+ .container_12 .push_4 {
851
+ left: 33.333%; }
852
+
853
+ .container_12 .push_5 {
854
+ left: 41.667%; }
855
+
856
+ .container_12 .push_6 {
857
+ left: 50.0%; }
858
+
859
+ .container_12 .push_7 {
860
+ left: 58.333%; }
861
+
862
+ .container_12 .push_8 {
863
+ left: 66.667%; }
864
+
865
+ .container_12 .push_9 {
866
+ left: 75.0%; }
867
+
868
+ .container_12 .push_10 {
869
+ left: 83.333%; }
870
+
871
+ .container_12 .push_11 {
872
+ left: 91.667%; }
873
+
874
+ /* Pull Space >> 12 Columns
875
+ ----------------------------------------------------------------------------------------------------*/
876
+ .container_12 .pull_1 {
877
+ left: -8.333%; }
878
+
879
+ .container_12 .pull_2 {
880
+ left: -16.667%; }
881
+
882
+ .container_12 .pull_3 {
883
+ left: -25%; }
884
+
885
+ .container_12 .pull_4 {
886
+ left: -33.333%; }
887
+
888
+ .container_12 .pull_5 {
889
+ left: -41.667%; }
890
+
891
+ .container_12 .pull_6 {
892
+ left: -50%; }
893
+
894
+ .container_12 .pull_7 {
895
+ left: -58.333%; }
896
+
897
+ .container_12 .pull_8 {
898
+ left: -66.667%; }
899
+
900
+ .container_12 .pull_9 {
901
+ left: -75%; }
902
+
903
+ .container_12 .pull_10 {
904
+ left: -83.333%; }
905
+
906
+ .container_12 .pull_11 {
907
+ left: -91.667%; }
908
+
909
+ /* Clear Floated Elements
910
+ ----------------------------------------------------------------------------------------------------*/
911
+ /* http://sonspring.com/journal/clearing-floats */
912
+ .clear {
913
+ clear: both;
914
+ display: block;
915
+ overflow: hidden;
916
+ visibility: hidden;
917
+ width: 0;
918
+ height: 0; }
919
+
920
+ /* http://perishablepress.com/press/2008/02/05/lessons-learned-concerning-the-clearfix-css-hack */
921
+ .clearfix:after {
922
+ clear: both;
923
+ content: ' ';
924
+ display: block;
925
+ font-size: 0;
926
+ line-height: 0;
927
+ visibility: hidden;
928
+ width: 0;
929
+ height: 0; }
930
+
931
+ .clearfix {
932
+ display: inline-block; }
933
+
934
+ * html .clearfix {
935
+ height: 1%; }
936
+
937
+ .clearfix {
938
+ display: block; }
@@ -0,0 +1,343 @@
1
+ /*
2
+ Variable Grid System (Fluid Version).
3
+ Learn more ~ http://www.spry-soft.com/grids/
4
+ Based on 960 Grid System - http://960.gs/ & 960 Fluid - http://www.designinfluences.com/
5
+
6
+ Licensed under GPL and MIT.
7
+ */
8
+
9
+
10
+ /* Containers
11
+ ----------------------------------------------------------------------------------------------------*/
12
+ .container_12 {
13
+ width: 92%;
14
+ margin-left: 4%;
15
+ margin-right: 4%;
16
+ }
17
+
18
+ /* Grid >> Global
19
+ ----------------------------------------------------------------------------------------------------*/
20
+
21
+ .grid_1,
22
+ .grid_2,
23
+ .grid_3,
24
+ .grid_4,
25
+ .grid_5,
26
+ .grid_6,
27
+ .grid_7,
28
+ .grid_8,
29
+ .grid_9,
30
+ .grid_10,
31
+ .grid_11,
32
+ .grid_12 {
33
+ display:inline;
34
+ float: left;
35
+ position: relative;
36
+ margin-left: 1%;
37
+ margin-right: 1%;
38
+ }
39
+
40
+ /* Grid >> Children (Alpha ~ First, Omega ~ Last)
41
+ ----------------------------------------------------------------------------------------------------*/
42
+
43
+ .alpha {
44
+ margin-left: 0;
45
+ }
46
+
47
+ .omega {
48
+ margin-right: 0;
49
+ }
50
+
51
+ /* Grid >> 12 Columns
52
+ ----------------------------------------------------------------------------------------------------*/
53
+
54
+
55
+ .container_12 .grid_1 {
56
+ width:6.333%;
57
+ }
58
+
59
+ .container_12 .grid_2 {
60
+ width:14.667%;
61
+ }
62
+
63
+ .container_12 .grid_3 {
64
+ width:23.0%;
65
+ }
66
+
67
+ .container_12 .grid_4 {
68
+ width:31.333%;
69
+ }
70
+
71
+ .container_12 .grid_5 {
72
+ width:39.667%;
73
+ }
74
+
75
+ .container_12 .grid_6 {
76
+ width:48.0%;
77
+ }
78
+
79
+ .container_12 .grid_7 {
80
+ width:56.333%;
81
+ }
82
+
83
+ .container_12 .grid_8 {
84
+ width:64.667%;
85
+ }
86
+
87
+ .container_12 .grid_9 {
88
+ width:73.0%;
89
+ }
90
+
91
+ .container_12 .grid_10 {
92
+ width:81.333%;
93
+ }
94
+
95
+ .container_12 .grid_11 {
96
+ width:89.667%;
97
+ }
98
+
99
+ .container_12 .grid_12 {
100
+ width:98.0%;
101
+ }
102
+
103
+
104
+
105
+ /* Prefix Extra Space >> 12 Columns
106
+ ----------------------------------------------------------------------------------------------------*/
107
+
108
+
109
+ .container_12 .prefix_1 {
110
+ padding-left:8.333%;
111
+ }
112
+
113
+ .container_12 .prefix_2 {
114
+ padding-left:16.667%;
115
+ }
116
+
117
+ .container_12 .prefix_3 {
118
+ padding-left:25.0%;
119
+ }
120
+
121
+ .container_12 .prefix_4 {
122
+ padding-left:33.333%;
123
+ }
124
+
125
+ .container_12 .prefix_5 {
126
+ padding-left:41.667%;
127
+ }
128
+
129
+ .container_12 .prefix_6 {
130
+ padding-left:50.0%;
131
+ }
132
+
133
+ .container_12 .prefix_7 {
134
+ padding-left:58.333%;
135
+ }
136
+
137
+ .container_12 .prefix_8 {
138
+ padding-left:66.667%;
139
+ }
140
+
141
+ .container_12 .prefix_9 {
142
+ padding-left:75.0%;
143
+ }
144
+
145
+ .container_12 .prefix_10 {
146
+ padding-left:83.333%;
147
+ }
148
+
149
+ .container_12 .prefix_11 {
150
+ padding-left:91.667%;
151
+ }
152
+
153
+
154
+
155
+ /* Suffix Extra Space >> 12 Columns
156
+ ----------------------------------------------------------------------------------------------------*/
157
+
158
+
159
+ .container_12 .suffix_1 {
160
+ padding-right:8.333%;
161
+ }
162
+
163
+ .container_12 .suffix_2 {
164
+ padding-right:16.667%;
165
+ }
166
+
167
+ .container_12 .suffix_3 {
168
+ padding-right:25.0%;
169
+ }
170
+
171
+ .container_12 .suffix_4 {
172
+ padding-right:33.333%;
173
+ }
174
+
175
+ .container_12 .suffix_5 {
176
+ padding-right:41.667%;
177
+ }
178
+
179
+ .container_12 .suffix_6 {
180
+ padding-right:50.0%;
181
+ }
182
+
183
+ .container_12 .suffix_7 {
184
+ padding-right:58.333%;
185
+ }
186
+
187
+ .container_12 .suffix_8 {
188
+ padding-right:66.667%;
189
+ }
190
+
191
+ .container_12 .suffix_9 {
192
+ padding-right:75.0%;
193
+ }
194
+
195
+ .container_12 .suffix_10 {
196
+ padding-right:83.333%;
197
+ }
198
+
199
+ .container_12 .suffix_11 {
200
+ padding-right:91.667%;
201
+ }
202
+
203
+
204
+
205
+ /* Push Space >> 12 Columns
206
+ ----------------------------------------------------------------------------------------------------*/
207
+
208
+
209
+ .container_12 .push_1 {
210
+ left:8.333%;
211
+ }
212
+
213
+ .container_12 .push_2 {
214
+ left:16.667%;
215
+ }
216
+
217
+ .container_12 .push_3 {
218
+ left:25.0%;
219
+ }
220
+
221
+ .container_12 .push_4 {
222
+ left:33.333%;
223
+ }
224
+
225
+ .container_12 .push_5 {
226
+ left:41.667%;
227
+ }
228
+
229
+ .container_12 .push_6 {
230
+ left:50.0%;
231
+ }
232
+
233
+ .container_12 .push_7 {
234
+ left:58.333%;
235
+ }
236
+
237
+ .container_12 .push_8 {
238
+ left:66.667%;
239
+ }
240
+
241
+ .container_12 .push_9 {
242
+ left:75.0%;
243
+ }
244
+
245
+ .container_12 .push_10 {
246
+ left:83.333%;
247
+ }
248
+
249
+ .container_12 .push_11 {
250
+ left:91.667%;
251
+ }
252
+
253
+
254
+
255
+ /* Pull Space >> 12 Columns
256
+ ----------------------------------------------------------------------------------------------------*/
257
+
258
+
259
+ .container_12 .pull_1 {
260
+ left:-8.333%;
261
+ }
262
+
263
+ .container_12 .pull_2 {
264
+ left:-16.667%;
265
+ }
266
+
267
+ .container_12 .pull_3 {
268
+ left:-25.0%;
269
+ }
270
+
271
+ .container_12 .pull_4 {
272
+ left:-33.333%;
273
+ }
274
+
275
+ .container_12 .pull_5 {
276
+ left:-41.667%;
277
+ }
278
+
279
+ .container_12 .pull_6 {
280
+ left:-50.0%;
281
+ }
282
+
283
+ .container_12 .pull_7 {
284
+ left:-58.333%;
285
+ }
286
+
287
+ .container_12 .pull_8 {
288
+ left:-66.667%;
289
+ }
290
+
291
+ .container_12 .pull_9 {
292
+ left:-75.0%;
293
+ }
294
+
295
+ .container_12 .pull_10 {
296
+ left:-83.333%;
297
+ }
298
+
299
+ .container_12 .pull_11 {
300
+ left:-91.667%;
301
+ }
302
+
303
+
304
+
305
+
306
+ /* Clear Floated Elements
307
+ ----------------------------------------------------------------------------------------------------*/
308
+
309
+ /* http://sonspring.com/journal/clearing-floats */
310
+
311
+ .clear {
312
+ clear: both;
313
+ display: block;
314
+ overflow: hidden;
315
+ visibility: hidden;
316
+ width: 0;
317
+ height: 0;
318
+ }
319
+
320
+ /* http://perishablepress.com/press/2008/02/05/lessons-learned-concerning-the-clearfix-css-hack */
321
+
322
+ .clearfix:after {
323
+ clear: both;
324
+ content: ' ';
325
+ display: block;
326
+ font-size: 0;
327
+ line-height: 0;
328
+ visibility: hidden;
329
+ width: 0;
330
+ height: 0;
331
+ }
332
+
333
+ .clearfix {
334
+ display: inline-block;
335
+ }
336
+
337
+ * html .clearfix {
338
+ height: 1%;
339
+ }
340
+
341
+ .clearfix {
342
+ display: block;
343
+ }
@@ -4,4 +4,5 @@
4
4
  @import 'forms';
5
5
  @import 'tables';
6
6
  @import 'lists';
7
- @import 'screen';
7
+ @import 'screen';
8
+ @import 'grid';
@@ -1,4 +1,4 @@
1
- module Flutie
1
+ module Mabtie
2
2
 
3
3
  class Engine < Rails::Engine
4
4
  end
@@ -8,7 +8,7 @@ end
8
8
 
9
9
  directory = File.dirname(__FILE__)
10
10
 
11
- namespace :flutie do
11
+ namespace :mabtie do
12
12
  desc 'install mabtie stylesheets into app/assets directory'
13
13
  task :install => :environment do
14
14
  # Copy the flutie stylesheets into rails_root/app/assets/mabtie
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mabtie
3
3
  version: !ruby/object:Gem::Version
4
- hash: 62196353
4
+ hash: 62196359
5
5
  prerelease: 6
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
9
  - 4
10
10
  - beta
11
- - 1
12
- version: 0.0.4.beta1
11
+ - 2
12
+ version: 0.0.4.beta2
13
13
  platform: ruby
14
14
  authors:
15
15
  - Chad Pytel
@@ -18,11 +18,12 @@ authors:
18
18
  - Mike Burns
19
19
  - Fred Yates
20
20
  - Matthew Burket
21
+ - Nathan Smith
21
22
  autorequire:
22
23
  bindir: bin
23
24
  cert_chain: []
24
25
 
25
- date: 2011-05-25 00:00:00 -05:00
26
+ date: 2011-05-26 00:00:00 -05:00
26
27
  default_executable:
27
28
  dependencies:
28
29
  - !ruby/object:Gem::Dependency
@@ -39,6 +40,20 @@ dependencies:
39
40
  version: "0"
40
41
  type: :development
41
42
  version_requirements: *id001
43
+ - !ruby/object:Gem::Dependency
44
+ name: shoulda
45
+ prerelease: false
46
+ requirement: &id002 !ruby/object:Gem::Requirement
47
+ none: false
48
+ requirements:
49
+ - - ">="
50
+ - !ruby/object:Gem::Version
51
+ hash: 3
52
+ segments:
53
+ - 0
54
+ version: "0"
55
+ type: :development
56
+ version_requirements: *id002
42
57
  description: Mabtie is a CSS framework, or a melting pot of them, to create great style defults.
43
58
  email: support@assignitapp.com
44
59
  executables: []
@@ -56,6 +71,7 @@ files:
56
71
  - app/assets/stylesheets/sass/_reset.scss
57
72
  - app/assets/stylesheets/sass/_type.scss
58
73
  - app/assets/stylesheets/sass/_tables.scss
74
+ - app/assets/stylesheets/sass/_grid.scss
59
75
  - app/assets/stylesheets/sass/_screen.scss
60
76
  - app/assets/stylesheets/sass/_lists.scss
61
77
  - app/assets/stylesheets/sass/_defaults.scss
@@ -64,12 +80,14 @@ files:
64
80
  - app/assets/stylesheets/flutie.css
65
81
  - app/assets/images/select_arrow.gif
66
82
  - app/assets/images/button.png
83
+ - app/assets/images/images/select_arrow.gif
84
+ - app/assets/images/images/button.png
67
85
  - config/initializers/expansion.rb
68
86
  - config/initializers/sass.rb
69
87
  - config/routes.rb
88
+ - lib/mabtie/engine.rb
70
89
  - lib/flutie.rb
71
- - lib/tasks/flutie.rake
72
- - lib/flutie/engine.rb
90
+ - lib/tasks/mabtie.rake
73
91
  has_rdoc: true
74
92
  homepage: http://github.com/mab879/mabtie
75
93
  licenses: []