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.
- data/.gitmodules +3 -0
- data/README.md +10 -14
- data/Rakefile +7 -5
- data/app/assets/javascripts/typus.js +1 -0
- data/app/assets/javascripts/typus/jquery.application.js +0 -2
- data/app/assets/stylesheets/typus.css +13 -1
- data/app/assets/stylesheets/typus/account.css +53 -0
- data/app/assets/stylesheets/typus/actions.css +11 -0
- data/app/assets/stylesheets/typus/content.css +92 -0
- data/app/assets/stylesheets/typus/defaults.css +31 -0
- data/app/assets/stylesheets/typus/errors.css +33 -0
- data/app/assets/stylesheets/typus/footer.css +8 -0
- data/app/assets/stylesheets/typus/forms.css +52 -0
- data/app/assets/stylesheets/typus/hacks.css +20 -0
- data/app/assets/stylesheets/typus/header.css +55 -0
- data/app/assets/stylesheets/typus/layout.css +4 -0
- data/app/assets/stylesheets/typus/pagination.css +34 -8
- data/app/assets/stylesheets/typus/sidebar.css +23 -0
- data/app/assets/stylesheets/typus/tables.css +47 -0
- data/app/helpers/admin/base_helper.rb +1 -1
- data/app/helpers/admin/resources/data_types/belongs_to_helper.rb +1 -0
- data/app/helpers/admin/resources/data_types/tree_helper.rb +1 -0
- data/app/helpers/admin/resources/display_helper.rb +1 -1
- data/app/helpers/admin/resources/form_helper.rb +1 -0
- data/app/helpers/admin/resources_helper.rb +3 -5
- data/app/views/admin/account/forgot_password.html.erb +7 -1
- data/app/views/admin/base/user_guide.html.erb +61 -57
- data/app/views/admin/dashboard/show.html.erb +6 -16
- data/app/views/admin/dashboard/widgets/_applications.html.erb +31 -0
- data/app/views/admin/dashboard/widgets/_models.html.erb +23 -0
- data/app/views/admin/dashboard/widgets/_models_extended.html.erb +25 -0
- data/app/views/admin/dashboard/widgets/_resources.html.erb +23 -0
- data/app/views/admin/resources/_actions.html.erb +23 -0
- data/app/views/admin/resources/edit.html.erb +26 -20
- data/app/views/admin/resources/edit/_actions.html.erb +7 -0
- data/app/views/admin/resources/edit/_rencently_edited.html.erb +8 -0
- data/app/views/admin/resources/index.html.erb +42 -32
- data/app/views/admin/resources/new.html.erb +16 -8
- data/app/views/admin/resources/show.html.erb +22 -14
- data/app/views/admin/session/new.html.erb +9 -1
- data/app/views/admin/templates/_belongs_to.html.erb +1 -1
- data/app/views/admin/templates/_belongs_to_with_autocomplete.html.erb +1 -1
- data/app/views/admin/templates/_boolean.html.erb +1 -1
- data/app/views/admin/templates/_date.html.erb +1 -1
- data/app/views/admin/templates/_datetime.html.erb +1 -1
- data/app/views/admin/templates/_dragonfly.html.erb +1 -1
- data/app/views/admin/templates/_paperclip.html.erb +1 -1
- data/app/views/admin/templates/_password.html.erb +1 -1
- data/app/views/admin/templates/_selector.html.erb +1 -1
- data/app/views/admin/templates/_string.html.erb +1 -1
- data/app/views/admin/templates/_string_with_preview.html.erb +1 -1
- data/app/views/admin/templates/_text.html.erb +1 -1
- data/app/views/admin/templates/_text_with_ckeditor.html.erb +16 -2
- data/app/views/admin/templates/_text_with_ckeditor_and_assets.html.erb +16 -2
- data/app/views/admin/templates/_time.html.erb +1 -1
- data/app/views/admin/templates/_tree.html.erb +1 -1
- data/app/views/helpers/admin/resources/_sidebar.html.erb +36 -12
- data/app/views/helpers/admin/resources/_table.html.erb +5 -3
- data/app/views/layouts/admin/base.html.erb +16 -29
- data/app/views/layouts/admin/headless.html.erb +1 -1
- data/app/views/layouts/admin/session.html.erb +6 -0
- data/lib/support/fake_user.rb +2 -8
- data/lib/typus.rb +6 -2
- data/lib/typus/authentication/devise.rb +19 -0
- data/lib/typus/controller/headless.rb +1 -1
- data/lib/typus/orm/active_record/admin_user_v1.rb +15 -1
- data/lib/typus/orm/active_record/admin_user_v2.rb +16 -2
- data/lib/typus/orm/active_record/user/class_methods.rb +2 -3
- data/lib/typus/orm/active_record/user/instance_methods.rb +5 -2
- data/lib/typus/orm/active_record/user/instance_methods_more.rb +19 -0
- data/lib/typus/version.rb +1 -1
- data/vendor/assets/adapt/css/1200.css +357 -0
- data/vendor/assets/adapt/css/1200.min.css +1 -0
- data/vendor/assets/adapt/css/1560.css +357 -0
- data/vendor/assets/adapt/css/1560.min.css +1 -0
- data/vendor/assets/adapt/css/720.css +357 -0
- data/vendor/assets/adapt/css/720.min.css +1 -0
- data/vendor/assets/adapt/css/960.css +357 -0
- data/vendor/assets/adapt/css/960.min.css +1 -0
- data/vendor/assets/adapt/css/fluid.css +345 -0
- data/vendor/assets/adapt/css/fluid.min.css +1 -0
- data/vendor/assets/adapt/css/master.css +120 -0
- data/vendor/assets/adapt/css/mobile.css +20 -0
- data/vendor/assets/adapt/css/mobile.min.css +1 -0
- data/vendor/assets/adapt/css/reset.css +202 -0
- data/vendor/assets/adapt/css/text.css +81 -0
- data/vendor/assets/adapt/images/h1.png +0 -0
- data/vendor/assets/adapt/js/adapt.js +135 -0
- data/vendor/assets/adapt/js/adapt.min.js +1 -0
- data/vendor/assets/formalize/.gitignore +1 -0
- data/vendor/assets/formalize/css/_formalize.sass +332 -0
- data/vendor/assets/formalize/css/demo.css +47 -0
- data/vendor/assets/formalize/css/formalize.css +395 -0
- data/vendor/assets/formalize/css/reset.css +202 -0
- data/vendor/assets/formalize/css/text.css +81 -0
- data/vendor/assets/formalize/images/button.png +0 -0
- data/vendor/assets/formalize/images/select_arrow.gif +0 -0
- data/vendor/assets/formalize/js/dojo.formalize.js +166 -0
- data/vendor/assets/formalize/js/dojo.formalize.min.js +1 -0
- data/vendor/assets/formalize/js/extjs.formalize.js +163 -0
- data/vendor/assets/formalize/js/extjs.formalize.min.js +1 -0
- data/vendor/assets/formalize/js/jquery.formalize.js +150 -0
- data/vendor/assets/formalize/js/jquery.formalize.min.js +1 -0
- data/vendor/assets/formalize/js/mootools.formalize.js +155 -0
- data/vendor/assets/formalize/js/mootools.formalize.min.js +1 -0
- data/vendor/assets/formalize/js/prototype.formalize.js +163 -0
- data/vendor/assets/formalize/js/prototype.formalize.min.js +1 -0
- data/vendor/assets/formalize/js/yui.formalize.js +152 -0
- data/vendor/assets/formalize/js/yui.formalize.min.js +1 -0
- metadata +79 -47
- data/app/assets/stylesheets/typus/screen.css +0 -340
- data/app/helpers/admin/dashboard_helper.rb +0 -8
- data/app/views/admin/dashboard/_applications.html.erb +0 -21
- data/config/locales/typus.ca.models.yml +0 -17
- data/config/locales/typus.ca.yml +0 -80
- data/config/locales/typus.de.models.yml +0 -17
- data/config/locales/typus.de.yml +0 -79
- data/config/locales/typus.el.models.yml +0 -17
- data/config/locales/typus.el.yml +0 -81
- data/config/locales/typus.es.models.yml +0 -18
- data/config/locales/typus.es.yml +0 -81
- data/config/locales/typus.fr.models.yml +0 -18
- data/config/locales/typus.fr.yml +0 -85
- data/config/locales/typus.hu.models.yml +0 -17
- data/config/locales/typus.hu.yml +0 -79
- data/config/locales/typus.it.models.yml +0 -18
- data/config/locales/typus.it.yml +0 -88
- data/config/locales/typus.locale.models.yml.template +0 -17
- data/config/locales/typus.locale.yml.template +0 -80
- data/config/locales/typus.pt-BR.models.yml +0 -17
- data/config/locales/typus.pt-BR.yml +0 -79
- data/config/locales/typus.pt-PT.models.yml +0 -17
- data/config/locales/typus.pt-PT.yml +0 -83
- data/config/locales/typus.ru.models.yml +0 -17
- data/config/locales/typus.ru.yml +0 -79
- data/config/locales/typus.zh-CN.models.yml +0 -17
- data/config/locales/typus.zh-CN.yml +0 -78
@@ -0,0 +1 @@
|
|
1
|
+
body{min-width:1200px}.container_12{margin-left:auto;margin-right:auto;width:1200px}.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:80px}.container_12 .grid_2{width:180px}.container_12 .grid_3{width:280px}.container_12 .grid_4{width:380px}.container_12 .grid_5{width:480px}.container_12 .grid_6{width:580px}.container_12 .grid_7{width:680px}.container_12 .grid_8{width:780px}.container_12 .grid_9{width:880px}.container_12 .grid_10{width:980px}.container_12 .grid_11{width:1080px}.container_12 .grid_12{width:1180px}.container_12 .prefix_1{padding-left:100px}.container_12 .prefix_2{padding-left:200px}.container_12 .prefix_3{padding-left:300px}.container_12 .prefix_4{padding-left:400px}.container_12 .prefix_5{padding-left:500px}.container_12 .prefix_6{padding-left:600px}.container_12 .prefix_7{padding-left:700px}.container_12 .prefix_8{padding-left:800px}.container_12 .prefix_9{padding-left:900px}.container_12 .prefix_10{padding-left:1000px}.container_12 .prefix_11{padding-left:1100px}.container_12 .suffix_1{padding-right:100px}.container_12 .suffix_2{padding-right:200px}.container_12 .suffix_3{padding-right:300px}.container_12 .suffix_4{padding-right:400px}.container_12 .suffix_5{padding-right:500px}.container_12 .suffix_6{padding-right:600px}.container_12 .suffix_7{padding-right:700px}.container_12 .suffix_8{padding-right:800px}.container_12 .suffix_9{padding-right:900px}.container_12 .suffix_10{padding-right:1000px}.container_12 .suffix_11{padding-right:1100px}.container_12 .push_1{left:100px}.container_12 .push_2{left:200px}.container_12 .push_3{left:300px}.container_12 .push_4{left:400px}.container_12 .push_5{left:500px}.container_12 .push_6{left:600px}.container_12 .push_7{left:700px}.container_12 .push_8{left:800px}.container_12 .push_9{left:900px}.container_12 .push_10{left:1000px}.container_12 .push_11{left:1100px}.container_12 .pull_1{left:-100px}.container_12 .pull_2{left:-200px}.container_12 .pull_3{left:-300px}.container_12 .pull_4{left:-400px}.container_12 .pull_5{left:-500px}.container_12 .pull_6{left:-600px}.container_12 .pull_7{left:-700px}.container_12 .pull_8{left:-800px}.container_12 .pull_9{left:-900px}.container_12 .pull_10{left:-1000px}.container_12 .pull_11{left:-1100px}.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: 1560px;
|
18
|
+
}
|
19
|
+
|
20
|
+
/* `Containers
|
21
|
+
----------------------------------------------------------------------------------------------------*/
|
22
|
+
|
23
|
+
.container_12 {
|
24
|
+
margin-left: auto;
|
25
|
+
margin-right: auto;
|
26
|
+
width: 1560px;
|
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: 110px;
|
80
|
+
}
|
81
|
+
|
82
|
+
.container_12 .grid_2 {
|
83
|
+
width: 240px;
|
84
|
+
}
|
85
|
+
|
86
|
+
.container_12 .grid_3 {
|
87
|
+
width: 370px;
|
88
|
+
}
|
89
|
+
|
90
|
+
.container_12 .grid_4 {
|
91
|
+
width: 500px;
|
92
|
+
}
|
93
|
+
|
94
|
+
.container_12 .grid_5 {
|
95
|
+
width: 630px;
|
96
|
+
}
|
97
|
+
|
98
|
+
.container_12 .grid_6 {
|
99
|
+
width: 760px;
|
100
|
+
}
|
101
|
+
|
102
|
+
.container_12 .grid_7 {
|
103
|
+
width: 890px;
|
104
|
+
}
|
105
|
+
|
106
|
+
.container_12 .grid_8 {
|
107
|
+
width: 1020px;
|
108
|
+
}
|
109
|
+
|
110
|
+
.container_12 .grid_9 {
|
111
|
+
width: 1150px;
|
112
|
+
}
|
113
|
+
|
114
|
+
.container_12 .grid_10 {
|
115
|
+
width: 1280px;
|
116
|
+
}
|
117
|
+
|
118
|
+
.container_12 .grid_11 {
|
119
|
+
width: 1410px;
|
120
|
+
}
|
121
|
+
|
122
|
+
.container_12 .grid_12 {
|
123
|
+
width: 1540px;
|
124
|
+
}
|
125
|
+
|
126
|
+
/* `Prefix Extra Space >> 12 Columns
|
127
|
+
----------------------------------------------------------------------------------------------------*/
|
128
|
+
|
129
|
+
.container_12 .prefix_1 {
|
130
|
+
padding-left: 130px;
|
131
|
+
}
|
132
|
+
|
133
|
+
.container_12 .prefix_2 {
|
134
|
+
padding-left: 260px;
|
135
|
+
}
|
136
|
+
|
137
|
+
.container_12 .prefix_3 {
|
138
|
+
padding-left: 390px;
|
139
|
+
}
|
140
|
+
|
141
|
+
.container_12 .prefix_4 {
|
142
|
+
padding-left: 520px;
|
143
|
+
}
|
144
|
+
|
145
|
+
.container_12 .prefix_5 {
|
146
|
+
padding-left: 650px;
|
147
|
+
}
|
148
|
+
|
149
|
+
.container_12 .prefix_6 {
|
150
|
+
padding-left: 780px;
|
151
|
+
}
|
152
|
+
|
153
|
+
.container_12 .prefix_7 {
|
154
|
+
padding-left: 910px;
|
155
|
+
}
|
156
|
+
|
157
|
+
.container_12 .prefix_8 {
|
158
|
+
padding-left: 1040px;
|
159
|
+
}
|
160
|
+
|
161
|
+
.container_12 .prefix_9 {
|
162
|
+
padding-left: 1170px;
|
163
|
+
}
|
164
|
+
|
165
|
+
.container_12 .prefix_10 {
|
166
|
+
padding-left: 1300px;
|
167
|
+
}
|
168
|
+
|
169
|
+
.container_12 .prefix_11 {
|
170
|
+
padding-left: 1430px;
|
171
|
+
}
|
172
|
+
|
173
|
+
/* `Suffix Extra Space >> 12 Columns
|
174
|
+
----------------------------------------------------------------------------------------------------*/
|
175
|
+
|
176
|
+
.container_12 .suffix_1 {
|
177
|
+
padding-right: 130px;
|
178
|
+
}
|
179
|
+
|
180
|
+
.container_12 .suffix_2 {
|
181
|
+
padding-right: 260px;
|
182
|
+
}
|
183
|
+
|
184
|
+
.container_12 .suffix_3 {
|
185
|
+
padding-right: 390px;
|
186
|
+
}
|
187
|
+
|
188
|
+
.container_12 .suffix_4 {
|
189
|
+
padding-right: 520px;
|
190
|
+
}
|
191
|
+
|
192
|
+
.container_12 .suffix_5 {
|
193
|
+
padding-right: 650px;
|
194
|
+
}
|
195
|
+
|
196
|
+
.container_12 .suffix_6 {
|
197
|
+
padding-right: 780px;
|
198
|
+
}
|
199
|
+
|
200
|
+
.container_12 .suffix_7 {
|
201
|
+
padding-right: 910px;
|
202
|
+
}
|
203
|
+
|
204
|
+
.container_12 .suffix_8 {
|
205
|
+
padding-right: 1040px;
|
206
|
+
}
|
207
|
+
|
208
|
+
.container_12 .suffix_9 {
|
209
|
+
padding-right: 1170px;
|
210
|
+
}
|
211
|
+
|
212
|
+
.container_12 .suffix_10 {
|
213
|
+
padding-right: 1300px;
|
214
|
+
}
|
215
|
+
|
216
|
+
.container_12 .suffix_11 {
|
217
|
+
padding-right: 1430px;
|
218
|
+
}
|
219
|
+
|
220
|
+
/* `Push Space >> 12 Columns
|
221
|
+
----------------------------------------------------------------------------------------------------*/
|
222
|
+
|
223
|
+
.container_12 .push_1 {
|
224
|
+
left: 130px;
|
225
|
+
}
|
226
|
+
|
227
|
+
.container_12 .push_2 {
|
228
|
+
left: 260px;
|
229
|
+
}
|
230
|
+
|
231
|
+
.container_12 .push_3 {
|
232
|
+
left: 390px;
|
233
|
+
}
|
234
|
+
|
235
|
+
.container_12 .push_4 {
|
236
|
+
left: 520px;
|
237
|
+
}
|
238
|
+
|
239
|
+
.container_12 .push_5 {
|
240
|
+
left: 650px;
|
241
|
+
}
|
242
|
+
|
243
|
+
.container_12 .push_6 {
|
244
|
+
left: 780px;
|
245
|
+
}
|
246
|
+
|
247
|
+
.container_12 .push_7 {
|
248
|
+
left: 910px;
|
249
|
+
}
|
250
|
+
|
251
|
+
.container_12 .push_8 {
|
252
|
+
left: 1040px;
|
253
|
+
}
|
254
|
+
|
255
|
+
.container_12 .push_9 {
|
256
|
+
left: 1170px;
|
257
|
+
}
|
258
|
+
|
259
|
+
.container_12 .push_10 {
|
260
|
+
left: 1300px;
|
261
|
+
}
|
262
|
+
|
263
|
+
.container_12 .push_11 {
|
264
|
+
left: 1430px;
|
265
|
+
}
|
266
|
+
|
267
|
+
/* `Pull Space >> 12 Columns
|
268
|
+
----------------------------------------------------------------------------------------------------*/
|
269
|
+
|
270
|
+
.container_12 .pull_1 {
|
271
|
+
left: -130px;
|
272
|
+
}
|
273
|
+
|
274
|
+
.container_12 .pull_2 {
|
275
|
+
left: -260px;
|
276
|
+
}
|
277
|
+
|
278
|
+
.container_12 .pull_3 {
|
279
|
+
left: -390px;
|
280
|
+
}
|
281
|
+
|
282
|
+
.container_12 .pull_4 {
|
283
|
+
left: -520px;
|
284
|
+
}
|
285
|
+
|
286
|
+
.container_12 .pull_5 {
|
287
|
+
left: -650px;
|
288
|
+
}
|
289
|
+
|
290
|
+
.container_12 .pull_6 {
|
291
|
+
left: -780px;
|
292
|
+
}
|
293
|
+
|
294
|
+
.container_12 .pull_7 {
|
295
|
+
left: -910px;
|
296
|
+
}
|
297
|
+
|
298
|
+
.container_12 .pull_8 {
|
299
|
+
left: -1040px;
|
300
|
+
}
|
301
|
+
|
302
|
+
.container_12 .pull_9 {
|
303
|
+
left: -1170px;
|
304
|
+
}
|
305
|
+
|
306
|
+
.container_12 .pull_10 {
|
307
|
+
left: -1300px;
|
308
|
+
}
|
309
|
+
|
310
|
+
.container_12 .pull_11 {
|
311
|
+
left: -1430px;
|
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:1560px}.container_12{margin-left:auto;margin-right:auto;width:1560px}.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:110px}.container_12 .grid_2{width:240px}.container_12 .grid_3{width:370px}.container_12 .grid_4{width:500px}.container_12 .grid_5{width:630px}.container_12 .grid_6{width:760px}.container_12 .grid_7{width:890px}.container_12 .grid_8{width:1020px}.container_12 .grid_9{width:1150px}.container_12 .grid_10{width:1280px}.container_12 .grid_11{width:1410px}.container_12 .grid_12{width:1540px}.container_12 .prefix_1{padding-left:130px}.container_12 .prefix_2{padding-left:260px}.container_12 .prefix_3{padding-left:390px}.container_12 .prefix_4{padding-left:520px}.container_12 .prefix_5{padding-left:650px}.container_12 .prefix_6{padding-left:780px}.container_12 .prefix_7{padding-left:910px}.container_12 .prefix_8{padding-left:1040px}.container_12 .prefix_9{padding-left:1170px}.container_12 .prefix_10{padding-left:1300px}.container_12 .prefix_11{padding-left:1430px}.container_12 .suffix_1{padding-right:130px}.container_12 .suffix_2{padding-right:260px}.container_12 .suffix_3{padding-right:390px}.container_12 .suffix_4{padding-right:520px}.container_12 .suffix_5{padding-right:650px}.container_12 .suffix_6{padding-right:780px}.container_12 .suffix_7{padding-right:910px}.container_12 .suffix_8{padding-right:1040px}.container_12 .suffix_9{padding-right:1170px}.container_12 .suffix_10{padding-right:1300px}.container_12 .suffix_11{padding-right:1430px}.container_12 .push_1{left:130px}.container_12 .push_2{left:260px}.container_12 .push_3{left:390px}.container_12 .push_4{left:520px}.container_12 .push_5{left:650px}.container_12 .push_6{left:780px}.container_12 .push_7{left:910px}.container_12 .push_8{left:1040px}.container_12 .push_9{left:1170px}.container_12 .push_10{left:1300px}.container_12 .push_11{left:1430px}.container_12 .pull_1{left:-130px}.container_12 .pull_2{left:-260px}.container_12 .pull_3{left:-390px}.container_12 .pull_4{left:-520px}.container_12 .pull_5{left:-650px}.container_12 .pull_6{left:-780px}.container_12 .pull_7{left:-910px}.container_12 .pull_8{left:-1040px}.container_12 .pull_9{left:-1170px}.container_12 .pull_10{left:-1300px}.container_12 .pull_11{left:-1430px}.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: 720px;
|
18
|
+
}
|
19
|
+
|
20
|
+
/* `Containers
|
21
|
+
----------------------------------------------------------------------------------------------------*/
|
22
|
+
|
23
|
+
.container_12 {
|
24
|
+
margin-left: auto;
|
25
|
+
margin-right: auto;
|
26
|
+
width: 720px;
|
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: 40px;
|
80
|
+
}
|
81
|
+
|
82
|
+
.container_12 .grid_2 {
|
83
|
+
width: 100px;
|
84
|
+
}
|
85
|
+
|
86
|
+
.container_12 .grid_3 {
|
87
|
+
width: 160px;
|
88
|
+
}
|
89
|
+
|
90
|
+
.container_12 .grid_4 {
|
91
|
+
width: 220px;
|
92
|
+
}
|
93
|
+
|
94
|
+
.container_12 .grid_5 {
|
95
|
+
width: 280px;
|
96
|
+
}
|
97
|
+
|
98
|
+
.container_12 .grid_6 {
|
99
|
+
width: 340px;
|
100
|
+
}
|
101
|
+
|
102
|
+
.container_12 .grid_7 {
|
103
|
+
width: 400px;
|
104
|
+
}
|
105
|
+
|
106
|
+
.container_12 .grid_8 {
|
107
|
+
width: 460px;
|
108
|
+
}
|
109
|
+
|
110
|
+
.container_12 .grid_9 {
|
111
|
+
width: 520px;
|
112
|
+
}
|
113
|
+
|
114
|
+
.container_12 .grid_10 {
|
115
|
+
width: 580px;
|
116
|
+
}
|
117
|
+
|
118
|
+
.container_12 .grid_11 {
|
119
|
+
width: 640px;
|
120
|
+
}
|
121
|
+
|
122
|
+
.container_12 .grid_12 {
|
123
|
+
width: 700px;
|
124
|
+
}
|
125
|
+
|
126
|
+
/* `Prefix Extra Space >> 12 Columns
|
127
|
+
----------------------------------------------------------------------------------------------------*/
|
128
|
+
|
129
|
+
.container_12 .prefix_1 {
|
130
|
+
padding-left: 60px;
|
131
|
+
}
|
132
|
+
|
133
|
+
.container_12 .prefix_2 {
|
134
|
+
padding-left: 120px;
|
135
|
+
}
|
136
|
+
|
137
|
+
.container_12 .prefix_3 {
|
138
|
+
padding-left: 180px;
|
139
|
+
}
|
140
|
+
|
141
|
+
.container_12 .prefix_4 {
|
142
|
+
padding-left: 240px;
|
143
|
+
}
|
144
|
+
|
145
|
+
.container_12 .prefix_5 {
|
146
|
+
padding-left: 300px;
|
147
|
+
}
|
148
|
+
|
149
|
+
.container_12 .prefix_6 {
|
150
|
+
padding-left: 360px;
|
151
|
+
}
|
152
|
+
|
153
|
+
.container_12 .prefix_7 {
|
154
|
+
padding-left: 420px;
|
155
|
+
}
|
156
|
+
|
157
|
+
.container_12 .prefix_8 {
|
158
|
+
padding-left: 480px;
|
159
|
+
}
|
160
|
+
|
161
|
+
.container_12 .prefix_9 {
|
162
|
+
padding-left: 540px;
|
163
|
+
}
|
164
|
+
|
165
|
+
.container_12 .prefix_10 {
|
166
|
+
padding-left: 600px;
|
167
|
+
}
|
168
|
+
|
169
|
+
.container_12 .prefix_11 {
|
170
|
+
padding-left: 660px;
|
171
|
+
}
|
172
|
+
|
173
|
+
/* `Suffix Extra Space >> 12 Columns
|
174
|
+
----------------------------------------------------------------------------------------------------*/
|
175
|
+
|
176
|
+
.container_12 .suffix_1 {
|
177
|
+
padding-right: 60px;
|
178
|
+
}
|
179
|
+
|
180
|
+
.container_12 .suffix_2 {
|
181
|
+
padding-right: 120px;
|
182
|
+
}
|
183
|
+
|
184
|
+
.container_12 .suffix_3 {
|
185
|
+
padding-right: 180px;
|
186
|
+
}
|
187
|
+
|
188
|
+
.container_12 .suffix_4 {
|
189
|
+
padding-right: 240px;
|
190
|
+
}
|
191
|
+
|
192
|
+
.container_12 .suffix_5 {
|
193
|
+
padding-right: 300px;
|
194
|
+
}
|
195
|
+
|
196
|
+
.container_12 .suffix_6 {
|
197
|
+
padding-right: 360px;
|
198
|
+
}
|
199
|
+
|
200
|
+
.container_12 .suffix_7 {
|
201
|
+
padding-right: 420px;
|
202
|
+
}
|
203
|
+
|
204
|
+
.container_12 .suffix_8 {
|
205
|
+
padding-right: 480px;
|
206
|
+
}
|
207
|
+
|
208
|
+
.container_12 .suffix_9 {
|
209
|
+
padding-right: 540px;
|
210
|
+
}
|
211
|
+
|
212
|
+
.container_12 .suffix_10 {
|
213
|
+
padding-right: 600px;
|
214
|
+
}
|
215
|
+
|
216
|
+
.container_12 .suffix_11 {
|
217
|
+
padding-right: 660px;
|
218
|
+
}
|
219
|
+
|
220
|
+
/* `Push Space >> 12 Columns
|
221
|
+
----------------------------------------------------------------------------------------------------*/
|
222
|
+
|
223
|
+
.container_12 .push_1 {
|
224
|
+
left: 60px;
|
225
|
+
}
|
226
|
+
|
227
|
+
.container_12 .push_2 {
|
228
|
+
left: 120px;
|
229
|
+
}
|
230
|
+
|
231
|
+
.container_12 .push_3 {
|
232
|
+
left: 180px;
|
233
|
+
}
|
234
|
+
|
235
|
+
.container_12 .push_4 {
|
236
|
+
left: 240px;
|
237
|
+
}
|
238
|
+
|
239
|
+
.container_12 .push_5 {
|
240
|
+
left: 300px;
|
241
|
+
}
|
242
|
+
|
243
|
+
.container_12 .push_6 {
|
244
|
+
left: 360px;
|
245
|
+
}
|
246
|
+
|
247
|
+
.container_12 .push_7 {
|
248
|
+
left: 420px;
|
249
|
+
}
|
250
|
+
|
251
|
+
.container_12 .push_8 {
|
252
|
+
left: 480px;
|
253
|
+
}
|
254
|
+
|
255
|
+
.container_12 .push_9 {
|
256
|
+
left: 540px;
|
257
|
+
}
|
258
|
+
|
259
|
+
.container_12 .push_10 {
|
260
|
+
left: 600px;
|
261
|
+
}
|
262
|
+
|
263
|
+
.container_12 .push_11 {
|
264
|
+
left: 660px;
|
265
|
+
}
|
266
|
+
|
267
|
+
/* `Pull Space >> 12 Columns
|
268
|
+
----------------------------------------------------------------------------------------------------*/
|
269
|
+
|
270
|
+
.container_12 .pull_1 {
|
271
|
+
left: -60px;
|
272
|
+
}
|
273
|
+
|
274
|
+
.container_12 .pull_2 {
|
275
|
+
left: -120px;
|
276
|
+
}
|
277
|
+
|
278
|
+
.container_12 .pull_3 {
|
279
|
+
left: -180px;
|
280
|
+
}
|
281
|
+
|
282
|
+
.container_12 .pull_4 {
|
283
|
+
left: -240px;
|
284
|
+
}
|
285
|
+
|
286
|
+
.container_12 .pull_5 {
|
287
|
+
left: -300px;
|
288
|
+
}
|
289
|
+
|
290
|
+
.container_12 .pull_6 {
|
291
|
+
left: -360px;
|
292
|
+
}
|
293
|
+
|
294
|
+
.container_12 .pull_7 {
|
295
|
+
left: -420px;
|
296
|
+
}
|
297
|
+
|
298
|
+
.container_12 .pull_8 {
|
299
|
+
left: -480px;
|
300
|
+
}
|
301
|
+
|
302
|
+
.container_12 .pull_9 {
|
303
|
+
left: -540px;
|
304
|
+
}
|
305
|
+
|
306
|
+
.container_12 .pull_10 {
|
307
|
+
left: -600px;
|
308
|
+
}
|
309
|
+
|
310
|
+
.container_12 .pull_11 {
|
311
|
+
left: -660px;
|
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
|
+
}
|