muck-engine 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/MIT-LICENSE +20 -0
- data/README.rdoc +23 -0
- data/Rakefile +67 -0
- data/VERSION +1 -0
- data/app/controllers/admin/muck/base_controller.rb +24 -0
- data/app/helpers/muck_custom_form_builder.rb +186 -0
- data/app/helpers/muck_engine_helper.rb +60 -0
- data/app/models/country.rb +13 -0
- data/app/models/language.rb +3 -0
- data/app/models/state.rb +13 -0
- data/app/views/forms/_base_field.html.erb +11 -0
- data/app/views/forms/_color_picker_field.html.erb +27 -0
- data/app/views/forms/_default.html.erb +1 -0
- data/app/views/forms/_field.html.erb +3 -0
- data/app/views/forms/_field_with_tips.html.erb +4 -0
- data/app/views/forms/_menu_field.erb +4 -0
- data/app/views/forms/_menu_field.html.erb +3 -0
- data/app/views/forms/_tips.html.erb +7 -0
- data/app/views/layouts/admin.html.erb +39 -0
- data/app/views/layouts/default.html.erb +39 -0
- data/app/views/shared/_error_box.html.erb +7 -0
- data/app/views/shared/_field_error.html.erb +3 -0
- data/app/views/shared/_flash_error_box.html.erb +4 -0
- data/app/views/shared/_flash_messages.html.erb +7 -0
- data/app/views/shared/_growl.html.erb +11 -0
- data/app/views/shared/_growl_box.html.erb +3 -0
- data/app/views/shared/_no_result.html.erb +1 -0
- data/db/migrate/20090402234137_create_languages.rb +18 -0
- data/db/migrate/20090426041056_create_countries.rb +15 -0
- data/db/migrate/20090426041103_create_states.rb +18 -0
- data/install.rb +1 -0
- data/lib/action_controller/muck_application.rb +74 -0
- data/lib/active_record/muck_model.rb +34 -0
- data/lib/muck-engine.rb +5 -0
- data/locales/en.yml +17 -0
- data/public/images/arrow_down.gif +0 -0
- data/public/images/arrow_left.gif +0 -0
- data/public/images/arrow_right.gif +0 -0
- data/public/images/arrow_up.gif +0 -0
- data/public/images/icons/accept.png +0 -0
- data/public/images/icons/add.png +0 -0
- data/public/images/icons/delete.png +0 -0
- data/public/images/icons/vote.png +0 -0
- data/public/images/loading.gif +0 -0
- data/public/images/spinner.gif +0 -0
- data/public/javascripts/application.js +76 -0
- data/public/javascripts/fancyzoom.min.js +1 -0
- data/public/javascripts/jquery/jquery-ui.js +273 -0
- data/public/javascripts/jquery/jquery.form.js +637 -0
- data/public/javascripts/jquery/jquery.jgrowl.js +2 -0
- data/public/javascripts/jquery/jquery.js +19 -0
- data/public/javascripts/jquery/jquery.tips.js +69 -0
- data/public/stylesheets/admin.css +12 -0
- data/public/stylesheets/blueprint/ie.css +26 -0
- data/public/stylesheets/blueprint/liquid_screen.css +203 -0
- data/public/stylesheets/blueprint/plugins/buttons/icons/cross.png +0 -0
- data/public/stylesheets/blueprint/plugins/buttons/icons/key.png +0 -0
- data/public/stylesheets/blueprint/plugins/buttons/icons/tick.png +0 -0
- data/public/stylesheets/blueprint/plugins/buttons/readme.txt +32 -0
- data/public/stylesheets/blueprint/plugins/buttons/screen.css +97 -0
- data/public/stylesheets/blueprint/plugins/fancy-type/readme.txt +14 -0
- data/public/stylesheets/blueprint/plugins/fancy-type/screen.css +71 -0
- data/public/stylesheets/blueprint/plugins/link-icons/icons/doc.png +0 -0
- data/public/stylesheets/blueprint/plugins/link-icons/icons/email.png +0 -0
- data/public/stylesheets/blueprint/plugins/link-icons/icons/external.png +0 -0
- data/public/stylesheets/blueprint/plugins/link-icons/icons/feed.png +0 -0
- data/public/stylesheets/blueprint/plugins/link-icons/icons/im.png +0 -0
- data/public/stylesheets/blueprint/plugins/link-icons/icons/pdf.png +0 -0
- data/public/stylesheets/blueprint/plugins/link-icons/icons/visited.png +0 -0
- data/public/stylesheets/blueprint/plugins/link-icons/icons/xls.png +0 -0
- data/public/stylesheets/blueprint/plugins/link-icons/readme.txt +18 -0
- data/public/stylesheets/blueprint/plugins/link-icons/screen.css +40 -0
- data/public/stylesheets/blueprint/plugins/liquid/liquid.css +134 -0
- data/public/stylesheets/blueprint/plugins/liquid/src/liquid.css +197 -0
- data/public/stylesheets/blueprint/plugins/rtl/readme.txt +10 -0
- data/public/stylesheets/blueprint/plugins/rtl/screen.css +109 -0
- data/public/stylesheets/blueprint/print.css +30 -0
- data/public/stylesheets/blueprint/screen.css +251 -0
- data/public/stylesheets/blueprint/src/forms.css +49 -0
- data/public/stylesheets/blueprint/src/grid.css +213 -0
- data/public/stylesheets/blueprint/src/grid.png +0 -0
- data/public/stylesheets/blueprint/src/ie.css +59 -0
- data/public/stylesheets/blueprint/src/print.css +85 -0
- data/public/stylesheets/blueprint/src/reset.css +38 -0
- data/public/stylesheets/blueprint/src/typography.css +105 -0
- data/public/stylesheets/jquery/cupertino/images/ui-bg_diagonals-small_0_aaaaaa_40x40.png +0 -0
- data/public/stylesheets/jquery/cupertino/images/ui-bg_diagonals-thick_15_444444_40x40.png +0 -0
- data/public/stylesheets/jquery/cupertino/images/ui-bg_glass_100_f0f0f0_1x400.png +0 -0
- data/public/stylesheets/jquery/cupertino/images/ui-bg_glass_50_99c2ff_1x400.png +0 -0
- data/public/stylesheets/jquery/cupertino/images/ui-bg_glass_55_fbf5d0_1x400.png +0 -0
- data/public/stylesheets/jquery/cupertino/images/ui-bg_glass_80_e6e6e6_1x400.png +0 -0
- data/public/stylesheets/jquery/cupertino/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/public/stylesheets/jquery/cupertino/images/ui-bg_highlight-hard_100_f9f9f9_1x100.png +0 -0
- data/public/stylesheets/jquery/cupertino/images/ui-bg_highlight-soft_100_e7eef3_1x100.png +0 -0
- data/public/stylesheets/jquery/cupertino/images/ui-icons_222222_256x240.png +0 -0
- data/public/stylesheets/jquery/cupertino/images/ui-icons_2694e8_256x240.png +0 -0
- data/public/stylesheets/jquery/cupertino/images/ui-icons_2e83ff_256x240.png +0 -0
- data/public/stylesheets/jquery/cupertino/images/ui-icons_72a7cf_256x240.png +0 -0
- data/public/stylesheets/jquery/cupertino/images/ui-icons_888888_256x240.png +0 -0
- data/public/stylesheets/jquery/cupertino/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/public/stylesheets/jquery/cupertino/images/ui-icons_ffffff_256x240.png +0 -0
- data/public/stylesheets/jquery/cupertino/jquery-ui-1.7.1.custom.css +404 -0
- data/public/stylesheets/jquery/redmond/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/public/stylesheets/jquery/redmond/images/ui-bg_flat_55_fbec88_40x100.png +0 -0
- data/public/stylesheets/jquery/redmond/images/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
- data/public/stylesheets/jquery/redmond/images/ui-bg_glass_85_dfeffc_1x400.png +0 -0
- data/public/stylesheets/jquery/redmond/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/public/stylesheets/jquery/redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
- data/public/stylesheets/jquery/redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
- data/public/stylesheets/jquery/redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
- data/public/stylesheets/jquery/redmond/images/ui-icons_217bc0_256x240.png +0 -0
- data/public/stylesheets/jquery/redmond/images/ui-icons_2e83ff_256x240.png +0 -0
- data/public/stylesheets/jquery/redmond/images/ui-icons_469bdd_256x240.png +0 -0
- data/public/stylesheets/jquery/redmond/images/ui-icons_6da8d5_256x240.png +0 -0
- data/public/stylesheets/jquery/redmond/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/public/stylesheets/jquery/redmond/images/ui-icons_d8e7f3_256x240.png +0 -0
- data/public/stylesheets/jquery/redmond/images/ui-icons_f9bd01_256x240.png +0 -0
- data/public/stylesheets/jquery/redmond/jquery-ui-1.7.1.custom.css +404 -0
- data/public/stylesheets/jquery/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/public/stylesheets/jquery/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/public/stylesheets/jquery/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/public/stylesheets/jquery/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/public/stylesheets/jquery/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/public/stylesheets/jquery/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/public/stylesheets/jquery/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/public/stylesheets/jquery/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/public/stylesheets/jquery/smoothness/images/ui-icons_222222_256x240.png +0 -0
- data/public/stylesheets/jquery/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
- data/public/stylesheets/jquery/smoothness/images/ui-icons_454545_256x240.png +0 -0
- data/public/stylesheets/jquery/smoothness/images/ui-icons_888888_256x240.png +0 -0
- data/public/stylesheets/jquery/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/public/stylesheets/jquery/smoothness/jquery-ui-1.7.1.custom.css +404 -0
- data/public/stylesheets/jquery/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
- data/public/stylesheets/jquery/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
- data/public/stylesheets/jquery/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
- data/public/stylesheets/jquery/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
- data/public/stylesheets/jquery/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
- data/public/stylesheets/jquery/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/public/stylesheets/jquery/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
- data/public/stylesheets/jquery/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
- data/public/stylesheets/jquery/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
- data/public/stylesheets/jquery/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
- data/public/stylesheets/jquery/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
- data/public/stylesheets/jquery/ui-lightness/images/ui-icons_ef8c08_256x240.png +0 -0
- data/public/stylesheets/jquery/ui-lightness/images/ui-icons_ffd27a_256x240.png +0 -0
- data/public/stylesheets/jquery/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
- data/public/stylesheets/jquery/ui-lightness/jquery-ui-1.7.1.custom.css +404 -0
- data/public/stylesheets/reset.css +0 -0
- data/public/stylesheets/styles.css +76 -0
- data/rails/init.rb +3 -0
- data/tasks/languages.txt +183 -0
- data/test/muck_engine_test.rb +8 -0
- data/test/test_helper.rb +3 -0
- data/uninstall.rb +1 -0
- metadata +207 -0
@@ -0,0 +1,213 @@
|
|
1
|
+
/* --------------------------------------------------------------
|
2
|
+
|
3
|
+
grid.css
|
4
|
+
* Sets up an easy-to-use grid of 24 columns.
|
5
|
+
|
6
|
+
By default, the grid is 950px wide, with 24 columns
|
7
|
+
spanning 30px, and a 10px margin between columns.
|
8
|
+
|
9
|
+
If you need fewer or more columns, namespaces or semantic
|
10
|
+
element names, use the compressor script (lib/compress.rb)
|
11
|
+
|
12
|
+
Note: Changes made in this file will not be applied when
|
13
|
+
using the compressor: make changes in lib/blueprint/grid.css.rb
|
14
|
+
|
15
|
+
-------------------------------------------------------------- */
|
16
|
+
|
17
|
+
/* A container should group all your columns. */
|
18
|
+
.container {
|
19
|
+
width: 950px;
|
20
|
+
margin: 0 auto;
|
21
|
+
}
|
22
|
+
|
23
|
+
/* Use this class on any .span / container to see the grid. */
|
24
|
+
.showgrid { background: url(src/grid.png); }
|
25
|
+
|
26
|
+
|
27
|
+
/* Columns
|
28
|
+
-------------------------------------------------------------- */
|
29
|
+
|
30
|
+
/* Sets up basic grid floating and margin. */
|
31
|
+
.column, div.span-1, div.span-2, div.span-3, div.span-4, div.span-5,
|
32
|
+
div.span-6, div.span-7, div.span-8, div.span-9, div.span-10,
|
33
|
+
div.span-11, div.span-12, div.span-13, div.span-14, div.span-15,
|
34
|
+
div.span-16, div.span-17, div.span-18, div.span-19, div.span-20,
|
35
|
+
div.span-21, div.span-22, div.span-23, div.span-24 {
|
36
|
+
float: left;
|
37
|
+
margin-right: 10px;
|
38
|
+
}
|
39
|
+
|
40
|
+
/* The last column in a row needs this class. */
|
41
|
+
.last, div.last { margin-right: 0; }
|
42
|
+
|
43
|
+
/* Use these classes to set the width of a column. */
|
44
|
+
.span-1 { width: 30px; }
|
45
|
+
.span-2 { width: 70px; }
|
46
|
+
.span-3 { width: 110px; }
|
47
|
+
.span-4 { width: 150px; }
|
48
|
+
.span-5 { width: 190px; }
|
49
|
+
.span-6 { width: 230px; }
|
50
|
+
.span-7 { width: 270px; }
|
51
|
+
.span-8 { width: 310px; }
|
52
|
+
.span-9 { width: 350px; }
|
53
|
+
.span-10 { width: 390px; }
|
54
|
+
.span-11 { width: 430px; }
|
55
|
+
.span-12 { width: 470px; }
|
56
|
+
.span-13 { width: 510px; }
|
57
|
+
.span-14 { width: 550px; }
|
58
|
+
.span-15 { width: 590px; }
|
59
|
+
.span-16 { width: 630px; }
|
60
|
+
.span-17 { width: 670px; }
|
61
|
+
.span-18 { width: 710px; }
|
62
|
+
.span-19 { width: 750px; }
|
63
|
+
.span-20 { width: 790px; }
|
64
|
+
.span-21 { width: 830px; }
|
65
|
+
.span-22 { width: 870px; }
|
66
|
+
.span-23 { width: 910px; }
|
67
|
+
.span-24 { width: 950px; margin: 0; }
|
68
|
+
|
69
|
+
/* Add these to a column to append empty cols. */
|
70
|
+
.append-1 { padding-right: 40px; }
|
71
|
+
.append-2 { padding-right: 80px; }
|
72
|
+
.append-3 { padding-right: 120px; }
|
73
|
+
.append-4 { padding-right: 160px; }
|
74
|
+
.append-5 { padding-right: 200px; }
|
75
|
+
.append-6 { padding-right: 240px; }
|
76
|
+
.append-7 { padding-right: 280px; }
|
77
|
+
.append-8 { padding-right: 320px; }
|
78
|
+
.append-9 { padding-right: 360px; }
|
79
|
+
.append-10 { padding-right: 400px; }
|
80
|
+
.append-11 { padding-right: 440px; }
|
81
|
+
.append-12 { padding-right: 480px; }
|
82
|
+
.append-13 { padding-right: 520px; }
|
83
|
+
.append-14 { padding-right: 560px; }
|
84
|
+
.append-15 { padding-right: 600px; }
|
85
|
+
.append-16 { padding-right: 640px; }
|
86
|
+
.append-17 { padding-right: 680px; }
|
87
|
+
.append-18 { padding-right: 720px; }
|
88
|
+
.append-19 { padding-right: 760px; }
|
89
|
+
.append-20 { padding-right: 800px; }
|
90
|
+
.append-21 { padding-right: 840px; }
|
91
|
+
.append-22 { padding-right: 880px; }
|
92
|
+
.append-23 { padding-right: 920px; }
|
93
|
+
|
94
|
+
/* Add these to a column to prepend empty cols. */
|
95
|
+
.prepend-1 { padding-left: 40px; }
|
96
|
+
.prepend-2 { padding-left: 80px; }
|
97
|
+
.prepend-3 { padding-left: 120px; }
|
98
|
+
.prepend-4 { padding-left: 160px; }
|
99
|
+
.prepend-5 { padding-left: 200px; }
|
100
|
+
.prepend-6 { padding-left: 240px; }
|
101
|
+
.prepend-7 { padding-left: 280px; }
|
102
|
+
.prepend-8 { padding-left: 320px; }
|
103
|
+
.prepend-9 { padding-left: 360px; }
|
104
|
+
.prepend-10 { padding-left: 400px; }
|
105
|
+
.prepend-11 { padding-left: 440px; }
|
106
|
+
.prepend-12 { padding-left: 480px; }
|
107
|
+
.prepend-13 { padding-left: 520px; }
|
108
|
+
.prepend-14 { padding-left: 560px; }
|
109
|
+
.prepend-15 { padding-left: 600px; }
|
110
|
+
.prepend-16 { padding-left: 640px; }
|
111
|
+
.prepend-17 { padding-left: 680px; }
|
112
|
+
.prepend-18 { padding-left: 720px; }
|
113
|
+
.prepend-19 { padding-left: 760px; }
|
114
|
+
.prepend-20 { padding-left: 800px; }
|
115
|
+
.prepend-21 { padding-left: 840px; }
|
116
|
+
.prepend-22 { padding-left: 880px; }
|
117
|
+
.prepend-23 { padding-left: 920px; }
|
118
|
+
|
119
|
+
|
120
|
+
/* Border on right hand side of a column. */
|
121
|
+
div.border {
|
122
|
+
padding-right: 4px;
|
123
|
+
margin-right: 5px;
|
124
|
+
border-right: 1px solid #eee;
|
125
|
+
}
|
126
|
+
|
127
|
+
/* Border with more whitespace, spans one column. */
|
128
|
+
div.colborder {
|
129
|
+
padding-right: 24px;
|
130
|
+
margin-right: 25px;
|
131
|
+
border-right: 1px solid #eee;
|
132
|
+
}
|
133
|
+
|
134
|
+
|
135
|
+
/* Use these classes on an element to push it into the
|
136
|
+
next column, or to pull it into the previous column. */
|
137
|
+
|
138
|
+
.pull-1 { margin-left: -40px; }
|
139
|
+
.pull-2 { margin-left: -80px; }
|
140
|
+
.pull-3 { margin-left: -120px; }
|
141
|
+
.pull-4 { margin-left: -160px; }
|
142
|
+
.pull-5 { margin-left: -200px; }
|
143
|
+
|
144
|
+
.pull-1, .pull-2, .pull-3, .pull-4, .pull-5 {
|
145
|
+
float:left;
|
146
|
+
position:relative;
|
147
|
+
}
|
148
|
+
|
149
|
+
.push-1 { margin: 0 -40px 1.5em 40px; }
|
150
|
+
.push-2 { margin: 0 -80px 1.5em 80px; }
|
151
|
+
.push-3 { margin: 0 -120px 1.5em 120px; }
|
152
|
+
.push-4 { margin: 0 -160px 1.5em 160px; }
|
153
|
+
.push-5 { margin: 0 -200px 1.5em 200px; }
|
154
|
+
|
155
|
+
.push-1, .push-2, .push-3, .push-4, .push-5 {
|
156
|
+
float: right;
|
157
|
+
position:relative;
|
158
|
+
}
|
159
|
+
|
160
|
+
|
161
|
+
/* Misc classes and elements
|
162
|
+
-------------------------------------------------------------- */
|
163
|
+
|
164
|
+
/* In case you need to add a gutter above/below an element */
|
165
|
+
.prepend-top {
|
166
|
+
margin-top:1.5em;
|
167
|
+
}
|
168
|
+
.append-bottom {
|
169
|
+
margin-bottom:1.5em;
|
170
|
+
}
|
171
|
+
|
172
|
+
/* Use a .box to create a padded box inside a column. */
|
173
|
+
.box {
|
174
|
+
padding: 1.5em;
|
175
|
+
margin-bottom: 1.5em;
|
176
|
+
background: #E5ECF9;
|
177
|
+
}
|
178
|
+
|
179
|
+
/* Use this to create a horizontal ruler across a column. */
|
180
|
+
hr {
|
181
|
+
background: #ddd;
|
182
|
+
color: #ddd;
|
183
|
+
clear: both;
|
184
|
+
float: none;
|
185
|
+
width: 100%;
|
186
|
+
height: .1em;
|
187
|
+
margin: 0 0 1.45em;
|
188
|
+
border: none;
|
189
|
+
}
|
190
|
+
hr.space {
|
191
|
+
background: #fff;
|
192
|
+
color: #fff;
|
193
|
+
}
|
194
|
+
|
195
|
+
|
196
|
+
/* Clearing floats without extra markup
|
197
|
+
Based on How To Clear Floats Without Structural Markup by PiE
|
198
|
+
[http://www.positioniseverything.net/easyclearing.html] */
|
199
|
+
|
200
|
+
.clearfix:after, .container:after {
|
201
|
+
content: "\0020";
|
202
|
+
display: block;
|
203
|
+
height: 0;
|
204
|
+
clear: both;
|
205
|
+
visibility: hidden;
|
206
|
+
overflow:hidden;
|
207
|
+
}
|
208
|
+
.clearfix, .container {display: block;}
|
209
|
+
|
210
|
+
/* Regular clearing
|
211
|
+
apply to column that should drop below previous ones. */
|
212
|
+
|
213
|
+
.clear { clear:both; }
|
Binary file
|
@@ -0,0 +1,59 @@
|
|
1
|
+
/* --------------------------------------------------------------
|
2
|
+
|
3
|
+
ie.css
|
4
|
+
|
5
|
+
Contains every hack for Internet Explorer,
|
6
|
+
so that our core files stay sweet and nimble.
|
7
|
+
|
8
|
+
-------------------------------------------------------------- */
|
9
|
+
|
10
|
+
/* Make sure the layout is centered in IE5 */
|
11
|
+
body { text-align: center; }
|
12
|
+
.container { text-align: left; }
|
13
|
+
|
14
|
+
/* Fixes IE margin bugs */
|
15
|
+
* html .column, * html div.span-1, * html div.span-2,
|
16
|
+
* html div.span-3, * html div.span-4, * html div.span-5,
|
17
|
+
* html div.span-6, * html div.span-7, * html div.span-8,
|
18
|
+
* html div.span-9, * html div.span-10, * html div.span-11,
|
19
|
+
* html div.span-12, * html div.span-13, * html div.span-14,
|
20
|
+
* html div.span-15, * html div.span-16, * html div.span-17,
|
21
|
+
* html div.span-18, * html div.span-19, * html div.span-20,
|
22
|
+
* html div.span-21, * html div.span-22, * html div.span-23,
|
23
|
+
* html div.span-24 { overflow-x: hidden; }
|
24
|
+
|
25
|
+
|
26
|
+
/* Elements
|
27
|
+
-------------------------------------------------------------- */
|
28
|
+
|
29
|
+
/* Fixes incorrect styling of legend in IE6. */
|
30
|
+
* html legend { margin:0px -8px 16px 0; padding:0; }
|
31
|
+
|
32
|
+
/* Fixes incorrect placement of ol numbers in IE6/7. */
|
33
|
+
ol { margin-left:2em; }
|
34
|
+
|
35
|
+
/* Fixes wrong line-height on sup/sub in IE. */
|
36
|
+
sup { vertical-align: text-top; }
|
37
|
+
sub { vertical-align: text-bottom; }
|
38
|
+
|
39
|
+
/* Fixes IE7 missing wrapping of code elements. */
|
40
|
+
html>body p code { *white-space: normal; }
|
41
|
+
|
42
|
+
/* IE 6&7 has problems with setting proper <hr> margins. */
|
43
|
+
hr { margin: -8px auto 11px; }
|
44
|
+
|
45
|
+
|
46
|
+
/* Clearing
|
47
|
+
-------------------------------------------------------------- */
|
48
|
+
|
49
|
+
/* Makes clearfix actually work in IE */
|
50
|
+
.clearfix, .container {display: inline-block;}
|
51
|
+
* html .clearfix,
|
52
|
+
* html .container {height: 1%;}
|
53
|
+
|
54
|
+
|
55
|
+
/* Forms
|
56
|
+
-------------------------------------------------------------- */
|
57
|
+
|
58
|
+
/* Fixes padding on fieldset */
|
59
|
+
fieldset {padding-top: 0;}
|
@@ -0,0 +1,85 @@
|
|
1
|
+
/* --------------------------------------------------------------
|
2
|
+
|
3
|
+
print.css
|
4
|
+
* Gives you some sensible styles for printing pages.
|
5
|
+
* See Readme file in this directory for further instructions.
|
6
|
+
|
7
|
+
Some additions you'll want to make, customized to your markup:
|
8
|
+
#header, #footer, #navigation { display:none; }
|
9
|
+
|
10
|
+
-------------------------------------------------------------- */
|
11
|
+
|
12
|
+
body {
|
13
|
+
line-height: 1.5;
|
14
|
+
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
|
15
|
+
color:#000;
|
16
|
+
background: none;
|
17
|
+
font-size: 10pt;
|
18
|
+
}
|
19
|
+
|
20
|
+
|
21
|
+
/* Layout
|
22
|
+
-------------------------------------------------------------- */
|
23
|
+
|
24
|
+
.container {
|
25
|
+
background: none;
|
26
|
+
}
|
27
|
+
|
28
|
+
hr {
|
29
|
+
background:#ccc;
|
30
|
+
color:#ccc;
|
31
|
+
width:100%;
|
32
|
+
height:2px;
|
33
|
+
margin:2em 0;
|
34
|
+
padding:0;
|
35
|
+
border:none;
|
36
|
+
}
|
37
|
+
hr.space {
|
38
|
+
background: #fff;
|
39
|
+
color: #fff;
|
40
|
+
}
|
41
|
+
|
42
|
+
|
43
|
+
/* Text
|
44
|
+
-------------------------------------------------------------- */
|
45
|
+
|
46
|
+
h1,h2,h3,h4,h5,h6 { font-family: "Helvetica Neue", Arial, "Lucida Grande", sans-serif; }
|
47
|
+
code { font:.9em "Courier New", Monaco, Courier, monospace; }
|
48
|
+
|
49
|
+
img { float:left; margin:1.5em 1.5em 1.5em 0; }
|
50
|
+
a img { border:none; }
|
51
|
+
p img.top { margin-top: 0; }
|
52
|
+
|
53
|
+
blockquote {
|
54
|
+
margin:1.5em;
|
55
|
+
padding:1em;
|
56
|
+
font-style:italic;
|
57
|
+
font-size:.9em;
|
58
|
+
}
|
59
|
+
|
60
|
+
.small { font-size: .9em; }
|
61
|
+
.large { font-size: 1.1em; }
|
62
|
+
.quiet { color: #999; }
|
63
|
+
.hide { display:none; }
|
64
|
+
|
65
|
+
|
66
|
+
/* Links
|
67
|
+
-------------------------------------------------------------- */
|
68
|
+
|
69
|
+
a:link, a:visited {
|
70
|
+
background: transparent;
|
71
|
+
font-weight:700;
|
72
|
+
text-decoration: underline;
|
73
|
+
}
|
74
|
+
|
75
|
+
a:link:after, a:visited:after {
|
76
|
+
content: " (" attr(href) ")";
|
77
|
+
font-size: 90%;
|
78
|
+
}
|
79
|
+
|
80
|
+
/* If you're having trouble printing relative links, uncomment and customize this:
|
81
|
+
(note: This is valid CSS3, but it still won't go through the W3C CSS Validator) */
|
82
|
+
|
83
|
+
/* a[href^="/"]:after {
|
84
|
+
content: " (http://www.yourdomain.com" attr(href) ") ";
|
85
|
+
} */
|
@@ -0,0 +1,38 @@
|
|
1
|
+
/* --------------------------------------------------------------
|
2
|
+
|
3
|
+
reset.css
|
4
|
+
* Resets default browser CSS.
|
5
|
+
|
6
|
+
-------------------------------------------------------------- */
|
7
|
+
|
8
|
+
html, body, div, span, object, iframe,
|
9
|
+
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
10
|
+
a, abbr, acronym, address, code,
|
11
|
+
del, dfn, em, img, q, dl, dt, dd, ol, ul, li,
|
12
|
+
fieldset, form, label, legend,
|
13
|
+
table, caption, tbody, tfoot, thead, tr, th, td {
|
14
|
+
margin: 0;
|
15
|
+
padding: 0;
|
16
|
+
border: 0;
|
17
|
+
font-weight: inherit;
|
18
|
+
font-style: inherit;
|
19
|
+
font-size: 100%;
|
20
|
+
font-family: inherit;
|
21
|
+
vertical-align: baseline;
|
22
|
+
}
|
23
|
+
|
24
|
+
body {
|
25
|
+
line-height: 1.5;
|
26
|
+
}
|
27
|
+
|
28
|
+
/* Tables still need 'cellspacing="0"' in the markup. */
|
29
|
+
table { border-collapse: separate; border-spacing: 0; }
|
30
|
+
caption, th, td { text-align: left; font-weight: normal; }
|
31
|
+
table, td, th { vertical-align: middle; }
|
32
|
+
|
33
|
+
/* Remove possible quote marks (") from <q>, <blockquote>. */
|
34
|
+
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
|
35
|
+
blockquote, q { quotes: "" ""; }
|
36
|
+
|
37
|
+
/* Remove annoying border on linked images. */
|
38
|
+
a img { border: none; }
|
@@ -0,0 +1,105 @@
|
|
1
|
+
/* --------------------------------------------------------------
|
2
|
+
|
3
|
+
typography.css
|
4
|
+
* Sets up some sensible default typography.
|
5
|
+
|
6
|
+
-------------------------------------------------------------- */
|
7
|
+
|
8
|
+
/* Default font settings.
|
9
|
+
The font-size percentage is of 16px. (0.75 * 16px = 12px) */
|
10
|
+
body {
|
11
|
+
font-size: 75%;
|
12
|
+
color: #222;
|
13
|
+
background: #fff;
|
14
|
+
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
|
15
|
+
}
|
16
|
+
|
17
|
+
|
18
|
+
/* Headings
|
19
|
+
-------------------------------------------------------------- */
|
20
|
+
|
21
|
+
h1,h2,h3,h4,h5,h6 { font-weight: normal; color: #111; }
|
22
|
+
|
23
|
+
h1 { font-size: 3em; line-height: 1; margin-bottom: 0.5em; }
|
24
|
+
h2 { font-size: 2em; margin-bottom: 0.75em; }
|
25
|
+
h3 { font-size: 1.5em; line-height: 1; margin-bottom: 1em; }
|
26
|
+
h4 { font-size: 1.2em; line-height: 1.25; margin-bottom: 1.25em; }
|
27
|
+
h5 { font-size: 1em; font-weight: bold; margin-bottom: 1.5em; }
|
28
|
+
h6 { font-size: 1em; font-weight: bold; }
|
29
|
+
|
30
|
+
h1 img, h2 img, h3 img,
|
31
|
+
h4 img, h5 img, h6 img {
|
32
|
+
margin: 0;
|
33
|
+
}
|
34
|
+
|
35
|
+
|
36
|
+
/* Text elements
|
37
|
+
-------------------------------------------------------------- */
|
38
|
+
|
39
|
+
p { margin: 0 0 1.5em; }
|
40
|
+
p img.left { float: left; margin: 1.5em 1.5em 1.5em 0; padding: 0; }
|
41
|
+
p img.right { float: right; margin: 1.5em 0 1.5em 1.5em; }
|
42
|
+
|
43
|
+
a:focus,
|
44
|
+
a:hover { color: #000; }
|
45
|
+
a { color: #009; text-decoration: underline; }
|
46
|
+
|
47
|
+
blockquote { margin: 1.5em; color: #666; font-style: italic; }
|
48
|
+
strong { font-weight: bold; }
|
49
|
+
em,dfn { font-style: italic; }
|
50
|
+
dfn { font-weight: bold; }
|
51
|
+
sup, sub { line-height: 0; }
|
52
|
+
|
53
|
+
abbr,
|
54
|
+
acronym { border-bottom: 1px dotted #666; }
|
55
|
+
address { margin: 0 0 1.5em; font-style: italic; }
|
56
|
+
del { color:#666; }
|
57
|
+
|
58
|
+
pre { margin: 1.5em 0; white-space: pre; }
|
59
|
+
pre,code,tt { font: 1em 'andale mono', 'lucida console', monospace; line-height: 1.5; }
|
60
|
+
|
61
|
+
|
62
|
+
/* Lists
|
63
|
+
-------------------------------------------------------------- */
|
64
|
+
|
65
|
+
li ul,
|
66
|
+
li ol { margin:0 1.5em; }
|
67
|
+
ul, ol { margin: 0 1.5em 1.5em 1.5em; }
|
68
|
+
|
69
|
+
ul { list-style-type: disc; }
|
70
|
+
ol { list-style-type: decimal; }
|
71
|
+
|
72
|
+
dl { margin: 0 0 1.5em 0; }
|
73
|
+
dl dt { font-weight: bold; }
|
74
|
+
dd { margin-left: 1.5em;}
|
75
|
+
|
76
|
+
|
77
|
+
/* Tables
|
78
|
+
-------------------------------------------------------------- */
|
79
|
+
|
80
|
+
table { margin-bottom: 1.4em; width:100%; }
|
81
|
+
th { font-weight: bold; }
|
82
|
+
thead th { background: #c3d9ff; }
|
83
|
+
th,td,caption { padding: 4px 10px 4px 5px; }
|
84
|
+
tr.even td { background: #e5ecf9; }
|
85
|
+
tfoot { font-style: italic; }
|
86
|
+
caption { background: #eee; }
|
87
|
+
|
88
|
+
|
89
|
+
/* Misc classes
|
90
|
+
-------------------------------------------------------------- */
|
91
|
+
|
92
|
+
.small { font-size: .8em; margin-bottom: 1.875em; line-height: 1.875em; }
|
93
|
+
.large { font-size: 1.2em; line-height: 2.5em; margin-bottom: 1.25em; }
|
94
|
+
.hide { display: none; }
|
95
|
+
|
96
|
+
.quiet { color: #666; }
|
97
|
+
.loud { color: #000; }
|
98
|
+
.highlight { background:#ff0; }
|
99
|
+
.added { background:#060; color: #fff; }
|
100
|
+
.removed { background:#900; color: #fff; }
|
101
|
+
|
102
|
+
.first { margin-left:0; padding-left:0; }
|
103
|
+
.last { margin-right:0; padding-right:0; }
|
104
|
+
.top { margin-top:0; padding-top:0; }
|
105
|
+
.bottom { margin-bottom:0; padding-bottom:0; }
|