typus 3.1.0.rc18 → 3.1.0.rc19
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +14 -11
- data/.travis.yml +12 -0
- data/CHANGELOG +253 -0
- data/Gemfile +69 -0
- data/Guardfile +11 -0
- data/README.md +14 -26
- data/Rakefile +24 -100
- data/app/assets/javascripts/typus/application.js +8 -2
- data/app/assets/javascripts/typus/custom.js +2 -0
- data/app/assets/javascripts/typus/jquery.application.js +14 -0
- data/app/assets/stylesheets/typus/application.css +18 -10
- data/app/assets/stylesheets/typus/content.css +0 -1
- data/app/assets/stylesheets/typus/custom.css +11 -0
- data/app/assets/stylesheets/typus/errors.css +1 -1
- data/app/assets/stylesheets/typus/forms.css +17 -5
- data/app/assets/stylesheets/typus/hacks.css +4 -0
- data/app/assets/stylesheets/typus/header.css +8 -2
- data/app/assets/stylesheets/typus/pagination.css +3 -3
- data/app/assets/stylesheets/typus/sidebar.css +4 -0
- data/app/assets/stylesheets/typus/tables.css +0 -1
- data/app/controllers/admin/account_controller.rb +1 -2
- data/app/controllers/admin/base_controller.rb +5 -2
- data/app/controllers/admin/dashboard_controller.rb +5 -0
- data/app/controllers/admin/resource_controller.rb +1 -2
- data/app/controllers/admin/resources_controller.rb +36 -51
- data/app/controllers/admin/session_controller.rb +2 -3
- data/app/helpers/admin/base_helper.rb +2 -5
- data/app/helpers/admin/resources/data_types/belongs_to_helper.rb +35 -27
- data/app/helpers/admin/resources/data_types/dragonfly_helper.rb +16 -3
- data/app/helpers/admin/resources/data_types/has_and_belongs_to_many_helper.rb +45 -13
- data/app/helpers/admin/resources/data_types/has_many_helper.rb +27 -19
- data/app/helpers/admin/resources/data_types/has_one_helper.rb +24 -11
- data/app/helpers/admin/resources/data_types/paperclip_helper.rb +1 -1
- data/app/helpers/admin/resources/data_types/string_helper.rb +1 -1
- data/app/helpers/admin/resources/data_types/text_helper.rb +1 -1
- data/app/helpers/admin/resources/data_types/transversal_helper.rb +1 -1
- data/app/helpers/admin/resources/data_types/tree_helper.rb +1 -1
- data/app/helpers/admin/resources/display_helper.rb +10 -9
- data/app/helpers/admin/resources/filters_helper.rb +3 -10
- data/app/helpers/admin/resources/form_helper.rb +12 -2
- data/app/helpers/admin/resources/list_helper.rb +13 -5
- data/app/helpers/admin/resources/relationships_helper.rb +0 -21
- data/app/helpers/admin/resources_helper.rb +3 -3
- data/app/mailers/admin/mailer.rb +9 -4
- data/app/views/admin/base/user_guide.html.erb +1 -1
- data/app/views/admin/dashboard/{show.html.erb → index.html.erb} +0 -0
- data/app/views/admin/dashboard/widgets/_applications.html.erb +32 -10
- data/app/views/admin/mailer/reset_password_instructions.html.erb +9 -0
- data/app/views/admin/mailer/reset_password_instructions.text.erb +9 -0
- data/app/views/admin/resources/edit.html.erb +3 -13
- data/app/views/admin/resources/index.html.erb +11 -4
- data/app/views/admin/resources/new.html.erb +2 -2
- data/app/views/admin/resources/show.html.erb +1 -1
- data/app/views/admin/shared/_head.html.erb +2 -2
- data/app/views/admin/templates/_belongs_to.html.erb +6 -9
- data/app/views/admin/templates/_dragonfly.html.erb +1 -1
- data/app/views/admin/templates/_dragonfly_form_preview.html.erb +21 -0
- data/app/views/admin/templates/_dragonfly_preview.html.erb +1 -1
- data/app/views/admin/templates/_has_and_belongs_to_many.html.erb +15 -0
- data/app/views/admin/templates/{_has_n.html.erb → _has_many.html.erb} +0 -0
- data/app/views/admin/templates/_password.html.erb +1 -1
- data/app/views/admin/templates/_selector.html.erb +1 -11
- data/app/views/admin/templates/_string.html.erb +2 -20
- data/app/views/admin/templates/_string_with_preview.html.erb +2 -3
- data/app/views/admin/templates/_text.html.erb +1 -8
- data/app/views/admin/templates/_text_with_ckeditor.html.erb +1 -1
- data/app/views/admin/templates/_text_with_ckeditor_and_assets.html.erb +12 -9
- data/app/views/helpers/admin/base/_apps.html.erb +12 -4
- data/app/views/helpers/admin/base/_login_info.html.erb +1 -1
- data/app/views/helpers/admin/resources/_filters.html.erb +2 -1
- data/app/views/helpers/admin/resources/_sidebar.html.erb +25 -41
- data/app/views/layouts/admin/base.html.erb +1 -1
- data/config/locales/typus.ca.yml +1 -1
- data/config/locales/typus.de.yml +40 -35
- data/config/locales/typus.el.yml +1 -1
- data/config/locales/typus.es.yml +1 -1
- data/config/locales/typus.fr.yml +1 -1
- data/config/locales/typus.hu.yml +1 -1
- data/config/locales/typus.it.yml +1 -1
- data/config/locales/typus.locale.models.yml.template +17 -0
- data/config/locales/typus.locale.yml.template +80 -0
- data/config/locales/typus.pt-BR.yml +1 -1
- data/config/locales/typus.pt-PT.yml +2 -2
- data/config/locales/typus.ru.yml +1 -1
- data/config/locales/typus.zh-CN.yml +1 -1
- data/config/routes.rb +5 -1
- data/lib/generators/templates/config/initializers/typus.rb +9 -0
- data/lib/generators/templates/config/typus/README +0 -6
- data/lib/support/active_record.rb +2 -10
- data/lib/support/string.rb +6 -1
- data/lib/typus.rb +49 -10
- data/lib/typus/authentication/base.rb +0 -4
- data/lib/typus/authentication/none_with_role.rb +15 -0
- data/lib/typus/configuration.rb +3 -7
- data/lib/typus/controller/ancestry.rb +1 -1
- data/lib/typus/controller/bulk.rb +6 -2
- data/lib/typus/controller/format.rb +38 -25
- data/lib/typus/orm/active_record/class_methods.rb +0 -1
- data/lib/typus/orm/active_record/search.rb +6 -2
- data/lib/typus/orm/base.rb +4 -3
- data/lib/typus/orm/mongoid.rb +4 -0
- data/lib/typus/orm/{mongo → mongoid}/class_methods.rb +4 -3
- data/lib/typus/resources.rb +9 -0
- data/lib/typus/version.rb +1 -1
- data/typus.gemspec +13 -13
- data/vendor/assets/chosen/chosen-sprite.png +0 -0
- data/vendor/assets/chosen/chosen.css +334 -0
- data/vendor/assets/chosen/chosen.jquery.min.js +10 -0
- data/vendor/assets/fancybox/jquery.fancybox-1.3.4.css +17 -17
- metadata +57 -131
- data/.gitmodules +0 -6
- data/app/assets/javascripts/typus.js +0 -8
- data/app/assets/stylesheets/typus.css +0 -20
- data/app/assets/stylesheets/typus/actions.css +0 -11
- data/app/views/admin/mailer/reset_password_link.text.erb +0 -9
- data/app/views/admin/templates/_belongs_to_with_autocomplete.html.erb +0 -26
- data/lib/typus/controller/associations.rb +0 -146
- data/lib/typus/controller/autocomplete.rb +0 -16
- data/vendor/assets/fancybox/jquery.easing-1.3.pack.js +0 -72
- data/vendor/assets/fancybox/jquery.fancybox-1.3.4.js +0 -1156
- data/vendor/assets/fancybox/jquery.mousewheel-3.0.4.pack.js +0 -14
- data/vendor/assets/formalize/css/_formalize.sass +0 -332
- data/vendor/assets/formalize/css/demo.css +0 -47
- data/vendor/assets/formalize/css/reset.css +0 -202
- data/vendor/assets/formalize/css/text.css +0 -81
- data/vendor/assets/formalize/js/dojo.formalize.js +0 -166
- data/vendor/assets/formalize/js/dojo.formalize.min.js +0 -1
- data/vendor/assets/formalize/js/extjs.formalize.js +0 -163
- data/vendor/assets/formalize/js/extjs.formalize.min.js +0 -1
- data/vendor/assets/formalize/js/jquery.formalize.js +0 -150
- data/vendor/assets/formalize/js/mootools.formalize.js +0 -155
- data/vendor/assets/formalize/js/mootools.formalize.min.js +0 -1
- data/vendor/assets/formalize/js/prototype.formalize.js +0 -163
- data/vendor/assets/formalize/js/prototype.formalize.min.js +0 -1
- data/vendor/assets/formalize/js/yui.formalize.js +0 -152
- data/vendor/assets/formalize/js/yui.formalize.min.js +0 -1
- data/vendor/assets/jquery-tokeninput/jquery.tokeninput.js +0 -736
- data/vendor/assets/jquery-tokeninput/token-input.css +0 -120
@@ -1,14 +0,0 @@
|
|
1
|
-
/*! Copyright (c) 2010 Brandon Aaron (http://brandonaaron.net)
|
2
|
-
* Licensed under the MIT License (LICENSE.txt).
|
3
|
-
*
|
4
|
-
* Thanks to: http://adomas.org/javascript-mouse-wheel/ for some pointers.
|
5
|
-
* Thanks to: Mathias Bank(http://www.mathias-bank.de) for a scope bug fix.
|
6
|
-
* Thanks to: Seamus Leahy for adding deltaX and deltaY
|
7
|
-
*
|
8
|
-
* Version: 3.0.4
|
9
|
-
*
|
10
|
-
* Requires: 1.2.2+
|
11
|
-
*/
|
12
|
-
|
13
|
-
(function(d){function g(a){var b=a||window.event,i=[].slice.call(arguments,1),c=0,h=0,e=0;a=d.event.fix(b);a.type="mousewheel";if(a.wheelDelta)c=a.wheelDelta/120;if(a.detail)c=-a.detail/3;e=c;if(b.axis!==undefined&&b.axis===b.HORIZONTAL_AXIS){e=0;h=-1*c}if(b.wheelDeltaY!==undefined)e=b.wheelDeltaY/120;if(b.wheelDeltaX!==undefined)h=-1*b.wheelDeltaX/120;i.unshift(a,c,h,e);return d.event.handle.apply(this,i)}var f=["DOMMouseScroll","mousewheel"];d.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var a=
|
14
|
-
f.length;a;)this.addEventListener(f[--a],g,false);else this.onmousewheel=g},teardown:function(){if(this.removeEventListener)for(var a=f.length;a;)this.removeEventListener(f[--a],g,false);else this.onmousewheel=null}};d.fn.extend({mousewheel:function(a){return a?this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return this.unbind("mousewheel",a)}})})(jQuery);
|
@@ -1,332 +0,0 @@
|
|
1
|
-
// Note: This file is dependent on Sass and Compass.
|
2
|
-
// Sass = http://sass-lang.com
|
3
|
-
// Compass = http://compass-style.org
|
4
|
-
|
5
|
-
// `Widths
|
6
|
-
//----------------------------------------------------------------------------------------------------
|
7
|
-
.input_tiny
|
8
|
-
width: 50px
|
9
|
-
|
10
|
-
.input_small
|
11
|
-
width: 100px
|
12
|
-
|
13
|
-
.input_medium
|
14
|
-
width: 150px
|
15
|
-
|
16
|
-
.input_large
|
17
|
-
width: 200px
|
18
|
-
|
19
|
-
.input_xlarge
|
20
|
-
width: 250px
|
21
|
-
|
22
|
-
.input_xxlarge
|
23
|
-
width: 300px
|
24
|
-
|
25
|
-
.input_full
|
26
|
-
width: 100%
|
27
|
-
|
28
|
-
// Added via JS to <textarea> and class="input-full".
|
29
|
-
// Applies only to IE7. Other browsers don't need it.
|
30
|
-
.input_full_wrap
|
31
|
-
display: block
|
32
|
-
padding-right: 8px
|
33
|
-
|
34
|
-
// `UI Consistency
|
35
|
-
//----------------------------------------------------------------------------------------------------
|
36
|
-
|
37
|
-
::-moz-focus-inner
|
38
|
-
border: 0
|
39
|
-
padding: 0
|
40
|
-
|
41
|
-
input[type="search"]::-webkit-search-decoration
|
42
|
-
display: none
|
43
|
-
|
44
|
-
input,
|
45
|
-
button,
|
46
|
-
select,
|
47
|
-
textarea
|
48
|
-
margin: 0
|
49
|
-
vertical-align: middle
|
50
|
-
|
51
|
-
input[type="radio"],
|
52
|
-
input[type="checkbox"]
|
53
|
-
position: relative
|
54
|
-
vertical-align: top
|
55
|
-
top: 3px
|
56
|
-
// IE8, IE9, IE10
|
57
|
-
top: 0\0
|
58
|
-
// IE7
|
59
|
-
*top: -3px
|
60
|
-
|
61
|
-
// iPad
|
62
|
-
@media (-webkit-min-device-pixel-ratio: 1) and (max-device-width: 1024px)
|
63
|
-
input[type="radio"],
|
64
|
-
input[type="checkbox"]
|
65
|
-
vertical-align: baseline
|
66
|
-
top: 2px
|
67
|
-
|
68
|
-
// iPhone 3
|
69
|
-
@media (-webkit-min-device-pixel-ratio: 1) and (max-device-width: 480px)
|
70
|
-
input[type="radio"],
|
71
|
-
input[type="checkbox"]
|
72
|
-
vertical-align: baseline
|
73
|
-
top: 0
|
74
|
-
|
75
|
-
// iPhone 4
|
76
|
-
@media (-webkit-min-device-pixel-ratio: 2) and (max-device-width: 480px)
|
77
|
-
input[type="radio"],
|
78
|
-
input[type="checkbox"]
|
79
|
-
vertical-align: baseline
|
80
|
-
top: 0
|
81
|
-
|
82
|
-
button,
|
83
|
-
input[type="reset"],
|
84
|
-
input[type="submit"],
|
85
|
-
input[type="button"]
|
86
|
-
-webkit-appearance: none
|
87
|
-
+border-radius(4px)
|
88
|
-
+background-clip(padding-box)
|
89
|
-
background: #ddd url(../images/button.png) repeat-x
|
90
|
-
+background(linear-gradient(color-stops(#fff, #ddd)))
|
91
|
-
border: 1px solid
|
92
|
-
border-color: #ddd #bbb #999
|
93
|
-
cursor: pointer
|
94
|
-
color: #333
|
95
|
-
// Helvetica Neue present, because it works better
|
96
|
-
// for line-height on buttons than Arial, on OS X.
|
97
|
-
font: bold 12px/1.3 'Helvetica Neue', Arial, 'Liberation Sans', FreeSans, sans-serif
|
98
|
-
outline: 0
|
99
|
-
overflow: visible
|
100
|
-
padding: 3px 10px
|
101
|
-
text-shadow: #fff 0 1px 1px
|
102
|
-
width: auto
|
103
|
-
// IE7
|
104
|
-
*padding-top: 2px
|
105
|
-
*padding-bottom: 0px
|
106
|
-
|
107
|
-
button
|
108
|
-
// IE7
|
109
|
-
*padding-top: 1px
|
110
|
-
*padding-bottom: 1px
|
111
|
-
|
112
|
-
textarea,
|
113
|
-
select,
|
114
|
-
input[type="date"],
|
115
|
-
input[type="datetime"],
|
116
|
-
input[type="datetime-local"],
|
117
|
-
input[type="email"],
|
118
|
-
input[type="month"],
|
119
|
-
input[type="number"],
|
120
|
-
input[type="password"],
|
121
|
-
input[type="search"],
|
122
|
-
input[type="tel"],
|
123
|
-
input[type="text"],
|
124
|
-
input[type="time"],
|
125
|
-
input[type="url"],
|
126
|
-
input[type="week"]
|
127
|
-
-webkit-appearance: none
|
128
|
-
-moz-border-radius: 0
|
129
|
-
-webkit-border-radius: 0
|
130
|
-
border-radius: 0
|
131
|
-
-webkit-box-sizing: border-box
|
132
|
-
-moz-box-sizing: border-box
|
133
|
-
box-sizing: border-box
|
134
|
-
-moz-background-clip: padding
|
135
|
-
-webkit-background-clip: padding
|
136
|
-
background-clip: padding-box
|
137
|
-
background-color: #fff
|
138
|
-
border: 1px solid
|
139
|
-
border-color: #848484 #c1c1c1 #e1e1e1
|
140
|
-
color: #000
|
141
|
-
outline: 0
|
142
|
-
padding: 2px 3px
|
143
|
-
font-size: 13px
|
144
|
-
// Leaving out Helvetica Neue, to not throw off size="..."
|
145
|
-
// on inputs. Arial is more reliable, on Windows and OS X.
|
146
|
-
font-family: Arial, 'Liberation Sans', FreeSans, sans-serif
|
147
|
-
height: 1.8em
|
148
|
-
// IE7
|
149
|
-
*padding-top: 2px
|
150
|
-
*padding-bottom: 1px
|
151
|
-
*height: auto
|
152
|
-
|
153
|
-
// Separate rule for Firefox.
|
154
|
-
// Separate rule for IE, too.
|
155
|
-
// Cannot stack with WebKit's.
|
156
|
-
::-webkit-input-placeholder
|
157
|
-
color: #888
|
158
|
-
|
159
|
-
input:-moz-placeholder,
|
160
|
-
textarea:-moz-placeholder
|
161
|
-
color: #888
|
162
|
-
|
163
|
-
input.placeholder-text,
|
164
|
-
textarea.placeholder-text
|
165
|
-
color: #888
|
166
|
-
|
167
|
-
\:invalid
|
168
|
-
// Suppress red glow that Firefox
|
169
|
-
// adds to form fields by default,
|
170
|
-
// even when user is still typing.
|
171
|
-
-moz-box-shadow: none
|
172
|
-
-webkit-box-shadow: none
|
173
|
-
box-shadow: none
|
174
|
-
|
175
|
-
button:focus,
|
176
|
-
button:active,
|
177
|
-
input:focus,
|
178
|
-
input:active,
|
179
|
-
select:focus,
|
180
|
-
select:active,
|
181
|
-
textarea:focus,
|
182
|
-
textarea:active
|
183
|
-
-moz-box-shadow: #06f 0 0 7px
|
184
|
-
-webkit-box-shadow: #06f 0 0 7px
|
185
|
-
box-shadow: #06f 0 0 7px
|
186
|
-
// for Opera
|
187
|
-
z-index: 1
|
188
|
-
|
189
|
-
input[type="file"]:focus,
|
190
|
-
input[type="file"]:active,
|
191
|
-
input[type="radio"]:focus,
|
192
|
-
input[type="radio"]:active,
|
193
|
-
input[type="checkbox"]:focus,
|
194
|
-
input[type="checkbox"]:active
|
195
|
-
-moz-box-shadow: none
|
196
|
-
-webkit-box-shadow: none
|
197
|
-
box-shadow: none
|
198
|
-
|
199
|
-
select[disabled],
|
200
|
-
textarea[disabled],
|
201
|
-
input[type="date"][disabled],
|
202
|
-
input[type="datetime"][disabled],
|
203
|
-
input[type="datetime-local"][disabled],
|
204
|
-
input[type="email"][disabled],
|
205
|
-
input[type="month"][disabled],
|
206
|
-
input[type="number"][disabled],
|
207
|
-
input[type="password"][disabled],
|
208
|
-
input[type="search"][disabled],
|
209
|
-
input[type="tel"][disabled],
|
210
|
-
input[type="text"][disabled],
|
211
|
-
input[type="time"][disabled],
|
212
|
-
input[type="url"][disabled],
|
213
|
-
input[type="week"][disabled]
|
214
|
-
background-color: #eee
|
215
|
-
|
216
|
-
button[disabled],
|
217
|
-
input[disabled],
|
218
|
-
select[disabled],
|
219
|
-
select[disabled] option,
|
220
|
-
select[disabled] optgroup,
|
221
|
-
textarea[disabled]
|
222
|
-
-moz-box-shadow: none
|
223
|
-
-webkit-box-shadow: none
|
224
|
-
box-shadow: none
|
225
|
-
-webkit-user-select: none
|
226
|
-
-moz-user-select: none
|
227
|
-
user-select: none
|
228
|
-
color: #888
|
229
|
-
cursor: default
|
230
|
-
|
231
|
-
textarea,
|
232
|
-
select[size],
|
233
|
-
select[multiple]
|
234
|
-
height: auto
|
235
|
-
|
236
|
-
// Tweaks for Safari + Chrome.
|
237
|
-
@media (-webkit-min-device-pixel-ratio: 0)
|
238
|
-
select
|
239
|
-
background-image: url(../images/select_arrow.gif)
|
240
|
-
background-repeat: no-repeat
|
241
|
-
background-position: right center
|
242
|
-
padding-right: 20px
|
243
|
-
select[size],
|
244
|
-
select[multiple]
|
245
|
-
background-image: none
|
246
|
-
padding: 0
|
247
|
-
::-webkit-validation-bubble-message
|
248
|
-
box-shadow: rgba(0, 0, 0, 0.5) 0 0 5px
|
249
|
-
background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #666), color-stop(1, #000))
|
250
|
-
border: 1px solid
|
251
|
-
border-color: #747474 #5e5e5e #4f4f4f
|
252
|
-
color: #fff
|
253
|
-
font: 11px/1 'Lucida Grande', Arial, 'Liberation Sans', FreeSans, sans-serif
|
254
|
-
padding: 15px 15px 17px
|
255
|
-
text-shadow: #000 0 0 1px
|
256
|
-
::-webkit-validation-bubble-arrow,
|
257
|
-
::-webkit-validation-bubble-top-outer-arrow,
|
258
|
-
::-webkit-validation-bubble-top-inner-arrow
|
259
|
-
display: none
|
260
|
-
|
261
|
-
textarea
|
262
|
-
min-height: 40px
|
263
|
-
overflow: auto
|
264
|
-
resize: vertical
|
265
|
-
width: 100%
|
266
|
-
|
267
|
-
optgroup
|
268
|
-
color: #000
|
269
|
-
font-style: normal
|
270
|
-
font-weight: normal
|
271
|
-
|
272
|
-
// `IE6
|
273
|
-
//----------------------------------------------------------------------------------------------------
|
274
|
-
|
275
|
-
// Everything below this line is for IE6.
|
276
|
-
// Delete it if you don't support it! :)
|
277
|
-
|
278
|
-
// Classes are added dynamically via JS,
|
279
|
-
// because IE6 doesn't support attribute
|
280
|
-
// selectors: .ie6_button, .ie6_input, etc.
|
281
|
-
|
282
|
-
// Note: These style rules are somewhat
|
283
|
-
// duplicated because IE6 bombs out when
|
284
|
-
// it sees attribute selectors. Example:
|
285
|
-
|
286
|
-
// .ie6_button {
|
287
|
-
// This works in IE6.
|
288
|
-
// }
|
289
|
-
|
290
|
-
// .ie6_button,
|
291
|
-
// input[type=submit] {
|
292
|
-
// This doesn't work.
|
293
|
-
// }
|
294
|
-
|
295
|
-
.ie6_button,
|
296
|
-
* html button
|
297
|
-
background: #ddd url(../images/button.png) repeat-x
|
298
|
-
border: 1px solid
|
299
|
-
border-color: #ddd #bbb #999
|
300
|
-
cursor: pointer
|
301
|
-
color: #333
|
302
|
-
font: bold 12px/1.2 Arial, sans-serif
|
303
|
-
padding: 2px 10px 0px
|
304
|
-
overflow: visible
|
305
|
-
width: auto
|
306
|
-
|
307
|
-
* html button
|
308
|
-
padding-top: 1px
|
309
|
-
padding-bottom: 1px
|
310
|
-
|
311
|
-
.ie6_input,
|
312
|
-
* html textarea,
|
313
|
-
* html select
|
314
|
-
background: #fff
|
315
|
-
border: 1px solid
|
316
|
-
border-color: #848484 #c1c1c1 #e1e1e1
|
317
|
-
color: #000
|
318
|
-
padding: 2px 3px 1px
|
319
|
-
font-size: 13px
|
320
|
-
font-family: Arial, sans-serif
|
321
|
-
vertical-align: top
|
322
|
-
|
323
|
-
* html select
|
324
|
-
margin-top: 1px
|
325
|
-
|
326
|
-
.placeholder_text,
|
327
|
-
.ie6_input_disabled,
|
328
|
-
.ie6_button_disabled
|
329
|
-
color: #888
|
330
|
-
|
331
|
-
.ie6_input_disabled
|
332
|
-
background: #eee
|
@@ -1,47 +0,0 @@
|
|
1
|
-
@import 'reset.css';
|
2
|
-
@import 'text.css';
|
3
|
-
@import 'formalize.css';
|
4
|
-
|
5
|
-
/* `Body
|
6
|
-
----------------------------------------------------------------------------------------------------*/
|
7
|
-
|
8
|
-
body {
|
9
|
-
background: #fff;
|
10
|
-
color: #000;
|
11
|
-
}
|
12
|
-
|
13
|
-
/* `Wrapper
|
14
|
-
----------------------------------------------------------------------------------------------------*/
|
15
|
-
|
16
|
-
#wrapper {
|
17
|
-
margin: 0 auto;
|
18
|
-
padding: 20px;
|
19
|
-
width: 800px;
|
20
|
-
}
|
21
|
-
|
22
|
-
/* `Errors
|
23
|
-
----------------------------------------------------------------------------------------------------*/
|
24
|
-
|
25
|
-
label.error {
|
26
|
-
background: #ffc;
|
27
|
-
color: #c00;
|
28
|
-
font-style: italic;
|
29
|
-
}
|
30
|
-
|
31
|
-
input.error,
|
32
|
-
select.error,
|
33
|
-
textarea.error {
|
34
|
-
background-color: #fee;
|
35
|
-
}
|
36
|
-
|
37
|
-
/* `Table Layout
|
38
|
-
----------------------------------------------------------------------------------------------------*/
|
39
|
-
|
40
|
-
.horiz {
|
41
|
-
margin-top: -20px;
|
42
|
-
margin-left: -20px;
|
43
|
-
}
|
44
|
-
|
45
|
-
.horiz td {
|
46
|
-
padding: 20px 0 0 20px;
|
47
|
-
}
|
@@ -1,202 +0,0 @@
|
|
1
|
-
/* `XHTML, HTML4, HTML5 Reset
|
2
|
-
----------------------------------------------------------------------------------------------------*/
|
3
|
-
|
4
|
-
a,
|
5
|
-
abbr,
|
6
|
-
acronym,
|
7
|
-
address,
|
8
|
-
applet,
|
9
|
-
article,
|
10
|
-
aside,
|
11
|
-
audio,
|
12
|
-
b,
|
13
|
-
big,
|
14
|
-
blockquote,
|
15
|
-
body,
|
16
|
-
canvas,
|
17
|
-
caption,
|
18
|
-
center,
|
19
|
-
cite,
|
20
|
-
code,
|
21
|
-
dd,
|
22
|
-
del,
|
23
|
-
details,
|
24
|
-
dfn,
|
25
|
-
dialog,
|
26
|
-
div,
|
27
|
-
dl,
|
28
|
-
dt,
|
29
|
-
em,
|
30
|
-
embed,
|
31
|
-
fieldset,
|
32
|
-
figcaption,
|
33
|
-
figure,
|
34
|
-
font,
|
35
|
-
footer,
|
36
|
-
form,
|
37
|
-
h1,
|
38
|
-
h2,
|
39
|
-
h3,
|
40
|
-
h4,
|
41
|
-
h5,
|
42
|
-
h6,
|
43
|
-
header,
|
44
|
-
hgroup,
|
45
|
-
hr,
|
46
|
-
html,
|
47
|
-
i,
|
48
|
-
iframe,
|
49
|
-
img,
|
50
|
-
ins,
|
51
|
-
kbd,
|
52
|
-
label,
|
53
|
-
legend,
|
54
|
-
li,
|
55
|
-
mark,
|
56
|
-
menu,
|
57
|
-
meter,
|
58
|
-
nav,
|
59
|
-
object,
|
60
|
-
ol,
|
61
|
-
output,
|
62
|
-
p,
|
63
|
-
pre,
|
64
|
-
progress,
|
65
|
-
q,
|
66
|
-
rp,
|
67
|
-
rt,
|
68
|
-
ruby,
|
69
|
-
s,
|
70
|
-
samp,
|
71
|
-
section,
|
72
|
-
small,
|
73
|
-
span,
|
74
|
-
strike,
|
75
|
-
strong,
|
76
|
-
sub,
|
77
|
-
summary,
|
78
|
-
sup,
|
79
|
-
table,
|
80
|
-
tbody,
|
81
|
-
td,
|
82
|
-
tfoot,
|
83
|
-
th,
|
84
|
-
thead,
|
85
|
-
time,
|
86
|
-
tr,
|
87
|
-
tt,
|
88
|
-
u,
|
89
|
-
ul,
|
90
|
-
var,
|
91
|
-
video,
|
92
|
-
xmp {
|
93
|
-
border: 0;
|
94
|
-
margin: 0;
|
95
|
-
padding: 0;
|
96
|
-
font-size: 100%;
|
97
|
-
}
|
98
|
-
|
99
|
-
html,
|
100
|
-
body {
|
101
|
-
height: 100%;
|
102
|
-
}
|
103
|
-
|
104
|
-
article,
|
105
|
-
aside,
|
106
|
-
details,
|
107
|
-
figcaption,
|
108
|
-
figure,
|
109
|
-
footer,
|
110
|
-
header,
|
111
|
-
hgroup,
|
112
|
-
menu,
|
113
|
-
nav,
|
114
|
-
section {
|
115
|
-
/*
|
116
|
-
Override the default (display: inline) for
|
117
|
-
browsers that do not recognize HTML5 tags.
|
118
|
-
|
119
|
-
IE8 (and lower) requires a shiv:
|
120
|
-
http://ejohn.org/blog/html5-shiv
|
121
|
-
*/
|
122
|
-
display: block;
|
123
|
-
}
|
124
|
-
|
125
|
-
b,
|
126
|
-
strong {
|
127
|
-
/*
|
128
|
-
Makes browsers agree.
|
129
|
-
IE + Opera = font-weight: bold.
|
130
|
-
Gecko + WebKit = font-weight: bolder.
|
131
|
-
*/
|
132
|
-
font-weight: bold;
|
133
|
-
}
|
134
|
-
|
135
|
-
img {
|
136
|
-
color: transparent;
|
137
|
-
font-size: 0;
|
138
|
-
vertical-align: middle;
|
139
|
-
/*
|
140
|
-
For IE.
|
141
|
-
http://css-tricks.com/ie-fix-bicubic-scaling-for-images
|
142
|
-
*/
|
143
|
-
-ms-interpolation-mode: bicubic;
|
144
|
-
}
|
145
|
-
|
146
|
-
li {
|
147
|
-
/*
|
148
|
-
For IE6 + IE7.
|
149
|
-
*/
|
150
|
-
display: list-item;
|
151
|
-
}
|
152
|
-
|
153
|
-
table {
|
154
|
-
border-collapse: collapse;
|
155
|
-
border-spacing: 0;
|
156
|
-
}
|
157
|
-
|
158
|
-
th,
|
159
|
-
td,
|
160
|
-
caption {
|
161
|
-
font-weight: normal;
|
162
|
-
vertical-align: top;
|
163
|
-
text-align: left;
|
164
|
-
}
|
165
|
-
|
166
|
-
q {
|
167
|
-
quotes: none;
|
168
|
-
}
|
169
|
-
|
170
|
-
q:before,
|
171
|
-
q:after {
|
172
|
-
content: '';
|
173
|
-
content: none;
|
174
|
-
}
|
175
|
-
|
176
|
-
sub,
|
177
|
-
sup,
|
178
|
-
small {
|
179
|
-
font-size: 75%;
|
180
|
-
}
|
181
|
-
|
182
|
-
sub,
|
183
|
-
sup {
|
184
|
-
line-height: 0;
|
185
|
-
position: relative;
|
186
|
-
vertical-align: baseline;
|
187
|
-
}
|
188
|
-
|
189
|
-
sub {
|
190
|
-
bottom: -0.25em;
|
191
|
-
}
|
192
|
-
|
193
|
-
sup {
|
194
|
-
top: -0.5em;
|
195
|
-
}
|
196
|
-
|
197
|
-
svg {
|
198
|
-
/*
|
199
|
-
For IE9.
|
200
|
-
*/
|
201
|
-
overflow: hidden;
|
202
|
-
}
|