typus 3.1.0.rc14 → 3.1.0.rc15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (137) hide show
  1. data/.gitmodules +3 -0
  2. data/README.md +10 -14
  3. data/Rakefile +7 -5
  4. data/app/assets/javascripts/typus.js +1 -0
  5. data/app/assets/javascripts/typus/jquery.application.js +0 -2
  6. data/app/assets/stylesheets/typus.css +13 -1
  7. data/app/assets/stylesheets/typus/account.css +53 -0
  8. data/app/assets/stylesheets/typus/actions.css +11 -0
  9. data/app/assets/stylesheets/typus/content.css +92 -0
  10. data/app/assets/stylesheets/typus/defaults.css +31 -0
  11. data/app/assets/stylesheets/typus/errors.css +33 -0
  12. data/app/assets/stylesheets/typus/footer.css +8 -0
  13. data/app/assets/stylesheets/typus/forms.css +52 -0
  14. data/app/assets/stylesheets/typus/hacks.css +20 -0
  15. data/app/assets/stylesheets/typus/header.css +55 -0
  16. data/app/assets/stylesheets/typus/layout.css +4 -0
  17. data/app/assets/stylesheets/typus/pagination.css +34 -8
  18. data/app/assets/stylesheets/typus/sidebar.css +23 -0
  19. data/app/assets/stylesheets/typus/tables.css +47 -0
  20. data/app/helpers/admin/base_helper.rb +1 -1
  21. data/app/helpers/admin/resources/data_types/belongs_to_helper.rb +1 -0
  22. data/app/helpers/admin/resources/data_types/tree_helper.rb +1 -0
  23. data/app/helpers/admin/resources/display_helper.rb +1 -1
  24. data/app/helpers/admin/resources/form_helper.rb +1 -0
  25. data/app/helpers/admin/resources_helper.rb +3 -5
  26. data/app/views/admin/account/forgot_password.html.erb +7 -1
  27. data/app/views/admin/base/user_guide.html.erb +61 -57
  28. data/app/views/admin/dashboard/show.html.erb +6 -16
  29. data/app/views/admin/dashboard/widgets/_applications.html.erb +31 -0
  30. data/app/views/admin/dashboard/widgets/_models.html.erb +23 -0
  31. data/app/views/admin/dashboard/widgets/_models_extended.html.erb +25 -0
  32. data/app/views/admin/dashboard/widgets/_resources.html.erb +23 -0
  33. data/app/views/admin/resources/_actions.html.erb +23 -0
  34. data/app/views/admin/resources/edit.html.erb +26 -20
  35. data/app/views/admin/resources/edit/_actions.html.erb +7 -0
  36. data/app/views/admin/resources/edit/_rencently_edited.html.erb +8 -0
  37. data/app/views/admin/resources/index.html.erb +42 -32
  38. data/app/views/admin/resources/new.html.erb +16 -8
  39. data/app/views/admin/resources/show.html.erb +22 -14
  40. data/app/views/admin/session/new.html.erb +9 -1
  41. data/app/views/admin/templates/_belongs_to.html.erb +1 -1
  42. data/app/views/admin/templates/_belongs_to_with_autocomplete.html.erb +1 -1
  43. data/app/views/admin/templates/_boolean.html.erb +1 -1
  44. data/app/views/admin/templates/_date.html.erb +1 -1
  45. data/app/views/admin/templates/_datetime.html.erb +1 -1
  46. data/app/views/admin/templates/_dragonfly.html.erb +1 -1
  47. data/app/views/admin/templates/_paperclip.html.erb +1 -1
  48. data/app/views/admin/templates/_password.html.erb +1 -1
  49. data/app/views/admin/templates/_selector.html.erb +1 -1
  50. data/app/views/admin/templates/_string.html.erb +1 -1
  51. data/app/views/admin/templates/_string_with_preview.html.erb +1 -1
  52. data/app/views/admin/templates/_text.html.erb +1 -1
  53. data/app/views/admin/templates/_text_with_ckeditor.html.erb +16 -2
  54. data/app/views/admin/templates/_text_with_ckeditor_and_assets.html.erb +16 -2
  55. data/app/views/admin/templates/_time.html.erb +1 -1
  56. data/app/views/admin/templates/_tree.html.erb +1 -1
  57. data/app/views/helpers/admin/resources/_sidebar.html.erb +36 -12
  58. data/app/views/helpers/admin/resources/_table.html.erb +5 -3
  59. data/app/views/layouts/admin/base.html.erb +16 -29
  60. data/app/views/layouts/admin/headless.html.erb +1 -1
  61. data/app/views/layouts/admin/session.html.erb +6 -0
  62. data/lib/support/fake_user.rb +2 -8
  63. data/lib/typus.rb +6 -2
  64. data/lib/typus/authentication/devise.rb +19 -0
  65. data/lib/typus/controller/headless.rb +1 -1
  66. data/lib/typus/orm/active_record/admin_user_v1.rb +15 -1
  67. data/lib/typus/orm/active_record/admin_user_v2.rb +16 -2
  68. data/lib/typus/orm/active_record/user/class_methods.rb +2 -3
  69. data/lib/typus/orm/active_record/user/instance_methods.rb +5 -2
  70. data/lib/typus/orm/active_record/user/instance_methods_more.rb +19 -0
  71. data/lib/typus/version.rb +1 -1
  72. data/vendor/assets/adapt/css/1200.css +357 -0
  73. data/vendor/assets/adapt/css/1200.min.css +1 -0
  74. data/vendor/assets/adapt/css/1560.css +357 -0
  75. data/vendor/assets/adapt/css/1560.min.css +1 -0
  76. data/vendor/assets/adapt/css/720.css +357 -0
  77. data/vendor/assets/adapt/css/720.min.css +1 -0
  78. data/vendor/assets/adapt/css/960.css +357 -0
  79. data/vendor/assets/adapt/css/960.min.css +1 -0
  80. data/vendor/assets/adapt/css/fluid.css +345 -0
  81. data/vendor/assets/adapt/css/fluid.min.css +1 -0
  82. data/vendor/assets/adapt/css/master.css +120 -0
  83. data/vendor/assets/adapt/css/mobile.css +20 -0
  84. data/vendor/assets/adapt/css/mobile.min.css +1 -0
  85. data/vendor/assets/adapt/css/reset.css +202 -0
  86. data/vendor/assets/adapt/css/text.css +81 -0
  87. data/vendor/assets/adapt/images/h1.png +0 -0
  88. data/vendor/assets/adapt/js/adapt.js +135 -0
  89. data/vendor/assets/adapt/js/adapt.min.js +1 -0
  90. data/vendor/assets/formalize/.gitignore +1 -0
  91. data/vendor/assets/formalize/css/_formalize.sass +332 -0
  92. data/vendor/assets/formalize/css/demo.css +47 -0
  93. data/vendor/assets/formalize/css/formalize.css +395 -0
  94. data/vendor/assets/formalize/css/reset.css +202 -0
  95. data/vendor/assets/formalize/css/text.css +81 -0
  96. data/vendor/assets/formalize/images/button.png +0 -0
  97. data/vendor/assets/formalize/images/select_arrow.gif +0 -0
  98. data/vendor/assets/formalize/js/dojo.formalize.js +166 -0
  99. data/vendor/assets/formalize/js/dojo.formalize.min.js +1 -0
  100. data/vendor/assets/formalize/js/extjs.formalize.js +163 -0
  101. data/vendor/assets/formalize/js/extjs.formalize.min.js +1 -0
  102. data/vendor/assets/formalize/js/jquery.formalize.js +150 -0
  103. data/vendor/assets/formalize/js/jquery.formalize.min.js +1 -0
  104. data/vendor/assets/formalize/js/mootools.formalize.js +155 -0
  105. data/vendor/assets/formalize/js/mootools.formalize.min.js +1 -0
  106. data/vendor/assets/formalize/js/prototype.formalize.js +163 -0
  107. data/vendor/assets/formalize/js/prototype.formalize.min.js +1 -0
  108. data/vendor/assets/formalize/js/yui.formalize.js +152 -0
  109. data/vendor/assets/formalize/js/yui.formalize.min.js +1 -0
  110. metadata +79 -47
  111. data/app/assets/stylesheets/typus/screen.css +0 -340
  112. data/app/helpers/admin/dashboard_helper.rb +0 -8
  113. data/app/views/admin/dashboard/_applications.html.erb +0 -21
  114. data/config/locales/typus.ca.models.yml +0 -17
  115. data/config/locales/typus.ca.yml +0 -80
  116. data/config/locales/typus.de.models.yml +0 -17
  117. data/config/locales/typus.de.yml +0 -79
  118. data/config/locales/typus.el.models.yml +0 -17
  119. data/config/locales/typus.el.yml +0 -81
  120. data/config/locales/typus.es.models.yml +0 -18
  121. data/config/locales/typus.es.yml +0 -81
  122. data/config/locales/typus.fr.models.yml +0 -18
  123. data/config/locales/typus.fr.yml +0 -85
  124. data/config/locales/typus.hu.models.yml +0 -17
  125. data/config/locales/typus.hu.yml +0 -79
  126. data/config/locales/typus.it.models.yml +0 -18
  127. data/config/locales/typus.it.yml +0 -88
  128. data/config/locales/typus.locale.models.yml.template +0 -17
  129. data/config/locales/typus.locale.yml.template +0 -80
  130. data/config/locales/typus.pt-BR.models.yml +0 -17
  131. data/config/locales/typus.pt-BR.yml +0 -79
  132. data/config/locales/typus.pt-PT.models.yml +0 -17
  133. data/config/locales/typus.pt-PT.yml +0 -83
  134. data/config/locales/typus.ru.models.yml +0 -17
  135. data/config/locales/typus.ru.yml +0 -79
  136. data/config/locales/typus.zh-CN.models.yml +0 -17
  137. data/config/locales/typus.zh-CN.yml +0 -78
@@ -0,0 +1 @@
1
+ body{min-width:720px}.container_12{margin-left:auto;margin-right:auto;width:720px}.grid_1,.grid_2,.grid_3,.grid_4,.grid_5,.grid_6,.grid_7,.grid_8,.grid_9,.grid_10,.grid_11,.grid_12{display:inline;float:left;margin-left:10px;margin-right:10px}.push_1,.pull_1,.push_2,.pull_2,.push_3,.pull_3,.push_4,.pull_4,.push_5,.pull_5,.push_6,.pull_6,.push_7,.pull_7,.push_8,.pull_8,.push_9,.pull_9,.push_10,.pull_10,.push_11,.pull_11{position:relative}.alpha{margin-left:0}.omega{margin-right:0}.container_12 .grid_1{width:40px}.container_12 .grid_2{width:100px}.container_12 .grid_3{width:160px}.container_12 .grid_4{width:220px}.container_12 .grid_5{width:280px}.container_12 .grid_6{width:340px}.container_12 .grid_7{width:400px}.container_12 .grid_8{width:460px}.container_12 .grid_9{width:520px}.container_12 .grid_10{width:580px}.container_12 .grid_11{width:640px}.container_12 .grid_12{width:700px}.container_12 .prefix_1{padding-left:60px}.container_12 .prefix_2{padding-left:120px}.container_12 .prefix_3{padding-left:180px}.container_12 .prefix_4{padding-left:240px}.container_12 .prefix_5{padding-left:300px}.container_12 .prefix_6{padding-left:360px}.container_12 .prefix_7{padding-left:420px}.container_12 .prefix_8{padding-left:480px}.container_12 .prefix_9{padding-left:540px}.container_12 .prefix_10{padding-left:600px}.container_12 .prefix_11{padding-left:660px}.container_12 .suffix_1{padding-right:60px}.container_12 .suffix_2{padding-right:120px}.container_12 .suffix_3{padding-right:180px}.container_12 .suffix_4{padding-right:240px}.container_12 .suffix_5{padding-right:300px}.container_12 .suffix_6{padding-right:360px}.container_12 .suffix_7{padding-right:420px}.container_12 .suffix_8{padding-right:480px}.container_12 .suffix_9{padding-right:540px}.container_12 .suffix_10{padding-right:600px}.container_12 .suffix_11{padding-right:660px}.container_12 .push_1{left:60px}.container_12 .push_2{left:120px}.container_12 .push_3{left:180px}.container_12 .push_4{left:240px}.container_12 .push_5{left:300px}.container_12 .push_6{left:360px}.container_12 .push_7{left:420px}.container_12 .push_8{left:480px}.container_12 .push_9{left:540px}.container_12 .push_10{left:600px}.container_12 .push_11{left:660px}.container_12 .pull_1{left:-60px}.container_12 .pull_2{left:-120px}.container_12 .pull_3{left:-180px}.container_12 .pull_4{left:-240px}.container_12 .pull_5{left:-300px}.container_12 .pull_6{left:-360px}.container_12 .pull_7{left:-420px}.container_12 .pull_8{left:-480px}.container_12 .pull_9{left:-540px}.container_12 .pull_10{left:-600px}.container_12 .pull_11{left:-660px}.clear{clear:both;display:block;overflow:hidden;visibility:hidden;width:0;height:0}.clearfix:before,.clearfix:after,.container_12:before,.container_12:after{content:'.';display:block;overflow:hidden;visibility:hidden;font-size:0;line-height:0;width:0;height:0}.clearfix:after,.container_12:after{clear:both}.clearfix,.container_12{zoom:1}
@@ -0,0 +1,357 @@
1
+ /*
2
+ 960 Grid System ~ Core CSS.
3
+ Learn more ~ http://960.gs/
4
+
5
+ Licensed under GPL and MIT.
6
+ */
7
+
8
+ /*
9
+ Forces backgrounds to span full width,
10
+ even if there is horizontal scrolling.
11
+ Increase this if your layout is wider.
12
+
13
+ Note: IE6 works fine without this fix.
14
+ */
15
+
16
+ body {
17
+ min-width: 960px;
18
+ }
19
+
20
+ /* `Containers
21
+ ----------------------------------------------------------------------------------------------------*/
22
+
23
+ .container_12 {
24
+ margin-left: auto;
25
+ margin-right: auto;
26
+ width: 960px;
27
+ }
28
+
29
+ /* `Grid >> Global
30
+ ----------------------------------------------------------------------------------------------------*/
31
+
32
+ .grid_1,
33
+ .grid_2,
34
+ .grid_3,
35
+ .grid_4,
36
+ .grid_5,
37
+ .grid_6,
38
+ .grid_7,
39
+ .grid_8,
40
+ .grid_9,
41
+ .grid_10,
42
+ .grid_11,
43
+ .grid_12 {
44
+ display: inline;
45
+ float: left;
46
+ margin-left: 10px;
47
+ margin-right: 10px;
48
+ }
49
+
50
+ .push_1, .pull_1,
51
+ .push_2, .pull_2,
52
+ .push_3, .pull_3,
53
+ .push_4, .pull_4,
54
+ .push_5, .pull_5,
55
+ .push_6, .pull_6,
56
+ .push_7, .pull_7,
57
+ .push_8, .pull_8,
58
+ .push_9, .pull_9,
59
+ .push_10, .pull_10,
60
+ .push_11, .pull_11 {
61
+ position: relative;
62
+ }
63
+
64
+ /* `Grid >> Children (Alpha ~ First, Omega ~ Last)
65
+ ----------------------------------------------------------------------------------------------------*/
66
+
67
+ .alpha {
68
+ margin-left: 0;
69
+ }
70
+
71
+ .omega {
72
+ margin-right: 0;
73
+ }
74
+
75
+ /* `Grid >> 12 Columns
76
+ ----------------------------------------------------------------------------------------------------*/
77
+
78
+ .container_12 .grid_1 {
79
+ width: 60px;
80
+ }
81
+
82
+ .container_12 .grid_2 {
83
+ width: 140px;
84
+ }
85
+
86
+ .container_12 .grid_3 {
87
+ width: 220px;
88
+ }
89
+
90
+ .container_12 .grid_4 {
91
+ width: 300px;
92
+ }
93
+
94
+ .container_12 .grid_5 {
95
+ width: 380px;
96
+ }
97
+
98
+ .container_12 .grid_6 {
99
+ width: 460px;
100
+ }
101
+
102
+ .container_12 .grid_7 {
103
+ width: 540px;
104
+ }
105
+
106
+ .container_12 .grid_8 {
107
+ width: 620px;
108
+ }
109
+
110
+ .container_12 .grid_9 {
111
+ width: 700px;
112
+ }
113
+
114
+ .container_12 .grid_10 {
115
+ width: 780px;
116
+ }
117
+
118
+ .container_12 .grid_11 {
119
+ width: 860px;
120
+ }
121
+
122
+ .container_12 .grid_12 {
123
+ width: 940px;
124
+ }
125
+
126
+ /* `Prefix Extra Space >> 12 Columns
127
+ ----------------------------------------------------------------------------------------------------*/
128
+
129
+ .container_12 .prefix_1 {
130
+ padding-left: 80px;
131
+ }
132
+
133
+ .container_12 .prefix_2 {
134
+ padding-left: 160px;
135
+ }
136
+
137
+ .container_12 .prefix_3 {
138
+ padding-left: 240px;
139
+ }
140
+
141
+ .container_12 .prefix_4 {
142
+ padding-left: 320px;
143
+ }
144
+
145
+ .container_12 .prefix_5 {
146
+ padding-left: 400px;
147
+ }
148
+
149
+ .container_12 .prefix_6 {
150
+ padding-left: 480px;
151
+ }
152
+
153
+ .container_12 .prefix_7 {
154
+ padding-left: 560px;
155
+ }
156
+
157
+ .container_12 .prefix_8 {
158
+ padding-left: 640px;
159
+ }
160
+
161
+ .container_12 .prefix_9 {
162
+ padding-left: 720px;
163
+ }
164
+
165
+ .container_12 .prefix_10 {
166
+ padding-left: 800px;
167
+ }
168
+
169
+ .container_12 .prefix_11 {
170
+ padding-left: 880px;
171
+ }
172
+
173
+ /* `Suffix Extra Space >> 12 Columns
174
+ ----------------------------------------------------------------------------------------------------*/
175
+
176
+ .container_12 .suffix_1 {
177
+ padding-right: 80px;
178
+ }
179
+
180
+ .container_12 .suffix_2 {
181
+ padding-right: 160px;
182
+ }
183
+
184
+ .container_12 .suffix_3 {
185
+ padding-right: 240px;
186
+ }
187
+
188
+ .container_12 .suffix_4 {
189
+ padding-right: 320px;
190
+ }
191
+
192
+ .container_12 .suffix_5 {
193
+ padding-right: 400px;
194
+ }
195
+
196
+ .container_12 .suffix_6 {
197
+ padding-right: 480px;
198
+ }
199
+
200
+ .container_12 .suffix_7 {
201
+ padding-right: 560px;
202
+ }
203
+
204
+ .container_12 .suffix_8 {
205
+ padding-right: 640px;
206
+ }
207
+
208
+ .container_12 .suffix_9 {
209
+ padding-right: 720px;
210
+ }
211
+
212
+ .container_12 .suffix_10 {
213
+ padding-right: 800px;
214
+ }
215
+
216
+ .container_12 .suffix_11 {
217
+ padding-right: 880px;
218
+ }
219
+
220
+ /* `Push Space >> 12 Columns
221
+ ----------------------------------------------------------------------------------------------------*/
222
+
223
+ .container_12 .push_1 {
224
+ left: 80px;
225
+ }
226
+
227
+ .container_12 .push_2 {
228
+ left: 160px;
229
+ }
230
+
231
+ .container_12 .push_3 {
232
+ left: 240px;
233
+ }
234
+
235
+ .container_12 .push_4 {
236
+ left: 320px;
237
+ }
238
+
239
+ .container_12 .push_5 {
240
+ left: 400px;
241
+ }
242
+
243
+ .container_12 .push_6 {
244
+ left: 480px;
245
+ }
246
+
247
+ .container_12 .push_7 {
248
+ left: 560px;
249
+ }
250
+
251
+ .container_12 .push_8 {
252
+ left: 640px;
253
+ }
254
+
255
+ .container_12 .push_9 {
256
+ left: 720px;
257
+ }
258
+
259
+ .container_12 .push_10 {
260
+ left: 800px;
261
+ }
262
+
263
+ .container_12 .push_11 {
264
+ left: 880px;
265
+ }
266
+
267
+ /* `Pull Space >> 12 Columns
268
+ ----------------------------------------------------------------------------------------------------*/
269
+
270
+ .container_12 .pull_1 {
271
+ left: -80px;
272
+ }
273
+
274
+ .container_12 .pull_2 {
275
+ left: -160px;
276
+ }
277
+
278
+ .container_12 .pull_3 {
279
+ left: -240px;
280
+ }
281
+
282
+ .container_12 .pull_4 {
283
+ left: -320px;
284
+ }
285
+
286
+ .container_12 .pull_5 {
287
+ left: -400px;
288
+ }
289
+
290
+ .container_12 .pull_6 {
291
+ left: -480px;
292
+ }
293
+
294
+ .container_12 .pull_7 {
295
+ left: -560px;
296
+ }
297
+
298
+ .container_12 .pull_8 {
299
+ left: -640px;
300
+ }
301
+
302
+ .container_12 .pull_9 {
303
+ left: -720px;
304
+ }
305
+
306
+ .container_12 .pull_10 {
307
+ left: -800px;
308
+ }
309
+
310
+ .container_12 .pull_11 {
311
+ left: -880px;
312
+ }
313
+
314
+ /* `Clear Floated Elements
315
+ ----------------------------------------------------------------------------------------------------*/
316
+
317
+ /* http://sonspring.com/journal/clearing-floats */
318
+
319
+ .clear {
320
+ clear: both;
321
+ display: block;
322
+ overflow: hidden;
323
+ visibility: hidden;
324
+ width: 0;
325
+ height: 0;
326
+ }
327
+
328
+ /* http://www.yuiblog.com/blog/2010/09/27/clearfix-reloaded-overflowhidden-demystified */
329
+
330
+ .clearfix:before,
331
+ .clearfix:after,
332
+ .container_12:before,
333
+ .container_12:after {
334
+ content: '.';
335
+ display: block;
336
+ overflow: hidden;
337
+ visibility: hidden;
338
+ font-size: 0;
339
+ line-height: 0;
340
+ width: 0;
341
+ height: 0;
342
+ }
343
+
344
+ .clearfix:after,
345
+ .container_12:after {
346
+ clear: both;
347
+ }
348
+
349
+ /*
350
+ The following zoom:1 rule is specifically for IE6 + IE7.
351
+ Move to separate stylesheet if invalid CSS is a problem.
352
+ */
353
+
354
+ .clearfix,
355
+ .container_12 {
356
+ zoom: 1;
357
+ }
@@ -0,0 +1 @@
1
+ body{min-width:960px}.container_12{margin-left:auto;margin-right:auto;width:960px}.grid_1,.grid_2,.grid_3,.grid_4,.grid_5,.grid_6,.grid_7,.grid_8,.grid_9,.grid_10,.grid_11,.grid_12{display:inline;float:left;margin-left:10px;margin-right:10px}.push_1,.pull_1,.push_2,.pull_2,.push_3,.pull_3,.push_4,.pull_4,.push_5,.pull_5,.push_6,.pull_6,.push_7,.pull_7,.push_8,.pull_8,.push_9,.pull_9,.push_10,.pull_10,.push_11,.pull_11{position:relative}.alpha{margin-left:0}.omega{margin-right:0}.container_12 .grid_1{width:60px}.container_12 .grid_2{width:140px}.container_12 .grid_3{width:220px}.container_12 .grid_4{width:300px}.container_12 .grid_5{width:380px}.container_12 .grid_6{width:460px}.container_12 .grid_7{width:540px}.container_12 .grid_8{width:620px}.container_12 .grid_9{width:700px}.container_12 .grid_10{width:780px}.container_12 .grid_11{width:860px}.container_12 .grid_12{width:940px}.container_12 .prefix_1{padding-left:80px}.container_12 .prefix_2{padding-left:160px}.container_12 .prefix_3{padding-left:240px}.container_12 .prefix_4{padding-left:320px}.container_12 .prefix_5{padding-left:400px}.container_12 .prefix_6{padding-left:480px}.container_12 .prefix_7{padding-left:560px}.container_12 .prefix_8{padding-left:640px}.container_12 .prefix_9{padding-left:720px}.container_12 .prefix_10{padding-left:800px}.container_12 .prefix_11{padding-left:880px}.container_12 .suffix_1{padding-right:80px}.container_12 .suffix_2{padding-right:160px}.container_12 .suffix_3{padding-right:240px}.container_12 .suffix_4{padding-right:320px}.container_12 .suffix_5{padding-right:400px}.container_12 .suffix_6{padding-right:480px}.container_12 .suffix_7{padding-right:560px}.container_12 .suffix_8{padding-right:640px}.container_12 .suffix_9{padding-right:720px}.container_12 .suffix_10{padding-right:800px}.container_12 .suffix_11{padding-right:880px}.container_12 .push_1{left:80px}.container_12 .push_2{left:160px}.container_12 .push_3{left:240px}.container_12 .push_4{left:320px}.container_12 .push_5{left:400px}.container_12 .push_6{left:480px}.container_12 .push_7{left:560px}.container_12 .push_8{left:640px}.container_12 .push_9{left:720px}.container_12 .push_10{left:800px}.container_12 .push_11{left:880px}.container_12 .pull_1{left:-80px}.container_12 .pull_2{left:-160px}.container_12 .pull_3{left:-240px}.container_12 .pull_4{left:-320px}.container_12 .pull_5{left:-400px}.container_12 .pull_6{left:-480px}.container_12 .pull_7{left:-560px}.container_12 .pull_8{left:-640px}.container_12 .pull_9{left:-720px}.container_12 .pull_10{left:-800px}.container_12 .pull_11{left:-880px}.clear{clear:both;display:block;overflow:hidden;visibility:hidden;width:0;height:0}.clearfix:before,.clearfix:after,.container_12:before,.container_12:after{content:'.';display:block;overflow:hidden;visibility:hidden;font-size:0;line-height:0;width:0;height:0}.clearfix:after,.container_12:after{clear:both}.clearfix,.container_12{zoom:1}
@@ -0,0 +1,345 @@
1
+ /*
2
+ 960 Grid System ~ Core CSS.
3
+ Learn more ~ http://960.gs/
4
+
5
+ Licensed under GPL and MIT.
6
+ */
7
+
8
+ /* Containers
9
+ ----------------------------------------------------------------------------------------------------*/
10
+
11
+ .container_12 {
12
+ width: 100%;
13
+ margin-left: 0%;
14
+ margin-right: 0%;
15
+ }
16
+
17
+ /* Grid >> Global
18
+ ----------------------------------------------------------------------------------------------------*/
19
+
20
+ .grid_1,
21
+ .grid_2,
22
+ .grid_3,
23
+ .grid_4,
24
+ .grid_5,
25
+ .grid_6,
26
+ .grid_7,
27
+ .grid_8,
28
+ .grid_9,
29
+ .grid_10,
30
+ .grid_11,
31
+ .grid_12 {
32
+ display: inline;
33
+ float: left;
34
+ margin-left: 1%;
35
+ margin-right: 1%;
36
+ }
37
+
38
+ .push_1, .pull_1,
39
+ .push_2, .pull_2,
40
+ .push_3, .pull_3,
41
+ .push_4, .pull_4,
42
+ .push_5, .pull_5,
43
+ .push_6, .pull_6,
44
+ .push_7, .pull_7,
45
+ .push_8, .pull_8,
46
+ .push_9, .pull_9,
47
+ .push_10, .pull_10,
48
+ .push_11, .pull_11 {
49
+ position: relative;
50
+ }
51
+
52
+ /* Grid >> Children (Alpha ~ First, Omega ~ Last)
53
+ ----------------------------------------------------------------------------------------------------*/
54
+
55
+ .alpha {
56
+ margin-left: 0;
57
+ }
58
+
59
+ .omega {
60
+ margin-right: 0;
61
+ }
62
+
63
+ /* Grid >> 12 Columns
64
+ ----------------------------------------------------------------------------------------------------*/
65
+
66
+ .container_12 .grid_1 {
67
+ width: 6.333%;
68
+ }
69
+
70
+ .container_12 .grid_2 {
71
+ width: 14.667%;
72
+ }
73
+
74
+ .container_12 .grid_3 {
75
+ width: 23.0%;
76
+ }
77
+
78
+ .container_12 .grid_4 {
79
+ width: 31.333%;
80
+ }
81
+
82
+ .container_12 .grid_5 {
83
+ width: 39.667%;
84
+ }
85
+
86
+ .container_12 .grid_6 {
87
+ width: 48.0%;
88
+ }
89
+
90
+ .container_12 .grid_7 {
91
+ width: 56.333%;
92
+ }
93
+
94
+ .container_12 .grid_8 {
95
+ width: 64.667%;
96
+ }
97
+
98
+ .container_12 .grid_9 {
99
+ width: 73.0%;
100
+ }
101
+
102
+ .container_12 .grid_10 {
103
+ width: 81.333%;
104
+ }
105
+
106
+ .container_12 .grid_11 {
107
+ width: 89.667%;
108
+ }
109
+
110
+ .container_12 .grid_12 {
111
+ width: 98.0%;
112
+ }
113
+
114
+ /* Prefix Extra Space >> 12 Columns
115
+ ----------------------------------------------------------------------------------------------------*/
116
+
117
+ .container_12 .prefix_1 {
118
+ padding-left: 8.333%;
119
+ }
120
+
121
+ .container_12 .prefix_2 {
122
+ padding-left: 16.667%;
123
+ }
124
+
125
+ .container_12 .prefix_3 {
126
+ padding-left: 25.0%;
127
+ }
128
+
129
+ .container_12 .prefix_4 {
130
+ padding-left: 33.333%;
131
+ }
132
+
133
+ .container_12 .prefix_5 {
134
+ padding-left: 41.667%;
135
+ }
136
+
137
+ .container_12 .prefix_6 {
138
+ padding-left: 50.0%;
139
+ }
140
+
141
+ .container_12 .prefix_7 {
142
+ padding-left: 58.333%;
143
+ }
144
+
145
+ .container_12 .prefix_8 {
146
+ padding-left: 66.667%;
147
+ }
148
+
149
+ .container_12 .prefix_9 {
150
+ padding-left: 75.0%;
151
+ }
152
+
153
+ .container_12 .prefix_10 {
154
+ padding-left: 83.333%;
155
+ }
156
+
157
+ .container_12 .prefix_11 {
158
+ padding-left: 91.667%;
159
+ }
160
+
161
+ /* Suffix Extra Space >> 12 Columns
162
+ ----------------------------------------------------------------------------------------------------*/
163
+
164
+ .container_12 .suffix_1 {
165
+ padding-right: 8.333%;
166
+ }
167
+
168
+ .container_12 .suffix_2 {
169
+ padding-right: 16.667%;
170
+ }
171
+
172
+ .container_12 .suffix_3 {
173
+ padding-right: 25.0%;
174
+ }
175
+
176
+ .container_12 .suffix_4 {
177
+ padding-right: 33.333%;
178
+ }
179
+
180
+ .container_12 .suffix_5 {
181
+ padding-right: 41.667%;
182
+ }
183
+
184
+ .container_12 .suffix_6 {
185
+ padding-right: 50.0%;
186
+ }
187
+
188
+ .container_12 .suffix_7 {
189
+ padding-right: 58.333%;
190
+ }
191
+
192
+ .container_12 .suffix_8 {
193
+ padding-right: 66.667%;
194
+ }
195
+
196
+ .container_12 .suffix_9 {
197
+ padding-right: 75.0%;
198
+ }
199
+
200
+ .container_12 .suffix_10 {
201
+ padding-right: 83.333%;
202
+ }
203
+
204
+ .container_12 .suffix_11 {
205
+ padding-right: 91.667%;
206
+ }
207
+
208
+ /* Push Space >> 12 Columns
209
+ ----------------------------------------------------------------------------------------------------*/
210
+
211
+ .container_12 .push_1 {
212
+ left: 8.333%;
213
+ }
214
+
215
+ .container_12 .push_2 {
216
+ left: 16.667%;
217
+ }
218
+
219
+ .container_12 .push_3 {
220
+ left: 25.0%;
221
+ }
222
+
223
+ .container_12 .push_4 {
224
+ left: 33.333%;
225
+ }
226
+
227
+ .container_12 .push_5 {
228
+ left: 41.667%;
229
+ }
230
+
231
+ .container_12 .push_6 {
232
+ left: 50.0%;
233
+ }
234
+
235
+ .container_12 .push_7 {
236
+ left: 58.333%;
237
+ }
238
+
239
+ .container_12 .push_8 {
240
+ left: 66.667%;
241
+ }
242
+
243
+ .container_12 .push_9 {
244
+ left: 75.0%;
245
+ }
246
+
247
+ .container_12 .push_10 {
248
+ left: 83.333%;
249
+ }
250
+
251
+ .container_12 .push_11 {
252
+ left: 91.667%;
253
+ }
254
+
255
+ /* Pull Space >> 12 Columns
256
+ ----------------------------------------------------------------------------------------------------*/
257
+
258
+ .container_12 .pull_1 {
259
+ left: -8.333%;
260
+ }
261
+
262
+ .container_12 .pull_2 {
263
+ left: -16.667%;
264
+ }
265
+
266
+ .container_12 .pull_3 {
267
+ left: -25.0%;
268
+ }
269
+
270
+ .container_12 .pull_4 {
271
+ left: -33.333%;
272
+ }
273
+
274
+ .container_12 .pull_5 {
275
+ left: -41.667%;
276
+ }
277
+
278
+ .container_12 .pull_6 {
279
+ left: -50.0%;
280
+ }
281
+
282
+ .container_12 .pull_7 {
283
+ left: -58.333%;
284
+ }
285
+
286
+ .container_12 .pull_8 {
287
+ left: -66.667%;
288
+ }
289
+
290
+ .container_12 .pull_9 {
291
+ left: -75.0%;
292
+ }
293
+
294
+ .container_12 .pull_10 {
295
+ left: -83.333%;
296
+ }
297
+
298
+ .container_12 .pull_11 {
299
+ left: -91.667%;
300
+ }
301
+
302
+ /* `Clear Floated Elements
303
+ ----------------------------------------------------------------------------------------------------*/
304
+
305
+ /* http://sonspring.com/journal/clearing-floats */
306
+
307
+ .clear {
308
+ clear: both;
309
+ display: block;
310
+ overflow: hidden;
311
+ visibility: hidden;
312
+ width: 0;
313
+ height: 0;
314
+ }
315
+
316
+ /* http://www.yuiblog.com/blog/2010/09/27/clearfix-reloaded-overflowhidden-demystified */
317
+
318
+ .clearfix:before,
319
+ .clearfix:after,
320
+ .container_12:before,
321
+ .container_12:after {
322
+ content: '.';
323
+ display: block;
324
+ overflow: hidden;
325
+ visibility: hidden;
326
+ font-size: 0;
327
+ line-height: 0;
328
+ width: 0;
329
+ height: 0;
330
+ }
331
+
332
+ .clearfix:after,
333
+ .container_12:after {
334
+ clear: both;
335
+ }
336
+
337
+ /*
338
+ The following zoom:1 rule is specifically for IE6 + IE7.
339
+ Move to separate stylesheet if invalid CSS is a problem.
340
+ */
341
+
342
+ .clearfix,
343
+ .container_12 {
344
+ zoom: 1;
345
+ }