railties 3.1.1 → 3.1.2.rc1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +2382 -0
- data/guides/output/2_2_release_notes.html +565 -0
- data/guides/output/2_3_release_notes.html +713 -0
- data/guides/output/3_0_release_notes.html +652 -0
- data/guides/output/3_1_release_notes.html +670 -0
- data/guides/output/action_controller_overview.html +925 -0
- data/guides/output/action_mailer_basics.html +658 -0
- data/guides/output/action_view_overview.html +1471 -0
- data/guides/output/active_model_basics.html +349 -0
- data/guides/output/active_record_basics.html +364 -0
- data/guides/output/active_record_querying.html +1272 -0
- data/guides/output/active_record_validations_callbacks.html +1292 -0
- data/guides/output/active_resource_basics.html +252 -0
- data/guides/output/active_support_core_extensions.html +3374 -0
- data/guides/output/ajax_on_rails.html +412 -0
- data/guides/output/api_documentation_guidelines.html +317 -0
- data/guides/output/asset_pipeline.html +691 -0
- data/guides/output/association_basics.html +1742 -0
- data/guides/output/caching_with_rails.html +533 -0
- data/guides/output/command_line.html +662 -0
- data/guides/output/configuring.html +811 -0
- data/guides/output/contribute.html +216 -0
- data/guides/output/contributing_to_ruby_on_rails.html +465 -0
- data/guides/output/credits.html +210 -0
- data/guides/output/debugging_rails_applications.html +791 -0
- data/guides/output/engines.html +673 -0
- data/guides/output/form_helpers.html +850 -0
- data/guides/output/generators.html +725 -0
- data/guides/output/getting_started.html +1980 -0
- data/guides/output/i18n.html +1054 -0
- data/guides/output/images/belongs_to.png +0 -0
- data/guides/output/images/book_icon.gif +0 -0
- data/guides/output/images/bullet.gif +0 -0
- data/guides/output/images/challenge.png +0 -0
- data/guides/output/images/chapters_icon.gif +0 -0
- data/guides/output/images/check_bullet.gif +0 -0
- data/guides/output/images/credits_pic_blank.gif +0 -0
- data/guides/output/images/csrf.png +0 -0
- data/guides/output/images/customized_error_messages.png +0 -0
- data/guides/output/images/edge_badge.png +0 -0
- data/guides/output/images/error_messages.png +0 -0
- data/guides/output/images/feature_tile.gif +0 -0
- data/guides/output/images/footer_tile.gif +0 -0
- data/guides/output/images/fxn.png +0 -0
- data/guides/output/images/grey_bullet.gif +0 -0
- data/guides/output/images/habtm.png +0 -0
- data/guides/output/images/has_many.png +0 -0
- data/guides/output/images/has_many_through.png +0 -0
- data/guides/output/images/has_one.png +0 -0
- data/guides/output/images/has_one_through.png +0 -0
- data/guides/output/images/header_backdrop.png +0 -0
- data/guides/output/images/header_tile.gif +0 -0
- data/guides/output/images/i18n/demo_html_safe.png +0 -0
- data/guides/output/images/i18n/demo_localized_pirate.png +0 -0
- data/guides/output/images/i18n/demo_translated_en.png +0 -0
- data/guides/output/images/i18n/demo_translated_pirate.png +0 -0
- data/guides/output/images/i18n/demo_translation_missing.png +0 -0
- data/guides/output/images/i18n/demo_untranslated.png +0 -0
- data/guides/output/images/icons/README +5 -0
- data/guides/output/images/icons/callouts/1.png +0 -0
- data/guides/output/images/icons/callouts/10.png +0 -0
- data/guides/output/images/icons/callouts/11.png +0 -0
- data/guides/output/images/icons/callouts/12.png +0 -0
- data/guides/output/images/icons/callouts/13.png +0 -0
- data/guides/output/images/icons/callouts/14.png +0 -0
- data/guides/output/images/icons/callouts/15.png +0 -0
- data/guides/output/images/icons/callouts/2.png +0 -0
- data/guides/output/images/icons/callouts/3.png +0 -0
- data/guides/output/images/icons/callouts/4.png +0 -0
- data/guides/output/images/icons/callouts/5.png +0 -0
- data/guides/output/images/icons/callouts/6.png +0 -0
- data/guides/output/images/icons/callouts/7.png +0 -0
- data/guides/output/images/icons/callouts/8.png +0 -0
- data/guides/output/images/icons/callouts/9.png +0 -0
- data/guides/output/images/icons/caution.png +0 -0
- data/guides/output/images/icons/example.png +0 -0
- data/guides/output/images/icons/home.png +0 -0
- data/guides/output/images/icons/important.png +0 -0
- data/guides/output/images/icons/next.png +0 -0
- data/guides/output/images/icons/note.png +0 -0
- data/guides/output/images/icons/prev.png +0 -0
- data/guides/output/images/icons/tip.png +0 -0
- data/guides/output/images/icons/up.png +0 -0
- data/guides/output/images/icons/warning.png +0 -0
- data/guides/output/images/jaimeiniesta.jpg +0 -0
- data/guides/output/images/nav_arrow.gif +0 -0
- data/guides/output/images/polymorphic.png +0 -0
- data/guides/output/images/posts_index.png +0 -0
- data/guides/output/images/radar.png +0 -0
- data/guides/output/images/rails_guides_logo.gif +0 -0
- data/guides/output/images/rails_logo_remix.gif +0 -0
- data/guides/output/images/rails_welcome.png +0 -0
- data/guides/output/images/session_fixation.png +0 -0
- data/guides/output/images/tab_grey.gif +0 -0
- data/guides/output/images/tab_info.gif +0 -0
- data/guides/output/images/tab_note.gif +0 -0
- data/guides/output/images/tab_red.gif +0 -0
- data/guides/output/images/tab_yellow.gif +0 -0
- data/guides/output/images/tab_yellow.png +0 -0
- data/guides/output/images/validation_error_messages.png +0 -0
- data/guides/output/images/vijaydev.jpg +0 -0
- data/guides/output/index.html +300 -0
- data/guides/output/initialization.html +1087 -0
- data/guides/output/javascripts/guides.js +7 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushAS3.js +59 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushAppleScript.js +75 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushBash.js +59 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushCSharp.js +65 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushColdFusion.js +100 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushCpp.js +97 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushCss.js +91 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushDelphi.js +55 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushDiff.js +41 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushErlang.js +52 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushGroovy.js +67 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushJScript.js +52 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushJava.js +57 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushJavaFX.js +58 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushPerl.js +72 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushPhp.js +88 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushPlain.js +33 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushPowerShell.js +74 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushPython.js +64 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushRuby.js +55 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushSass.js +94 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushScala.js +51 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushSql.js +66 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushVb.js +56 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushXml.js +69 -0
- data/guides/output/javascripts/syntaxhighlighter/shCore.js +17 -0
- data/guides/output/layout.html +312 -0
- data/guides/output/layouts_and_rendering.html +1257 -0
- data/guides/output/migrations.html +751 -0
- data/guides/output/nested_model_forms.html +350 -0
- data/guides/output/performance_testing.html +858 -0
- data/guides/output/plugins.html +590 -0
- data/guides/output/rails_application_templates.html +368 -0
- data/guides/output/rails_on_rack.html +408 -0
- data/guides/output/routing.html +1246 -0
- data/guides/output/ruby_on_rails_guides_guidelines.html +218 -0
- data/guides/output/security.html +968 -0
- data/guides/output/stylesheets/fixes.css +16 -0
- data/guides/output/stylesheets/main.css +445 -0
- data/guides/output/stylesheets/print.css +52 -0
- data/guides/output/stylesheets/reset.css +43 -0
- data/guides/output/stylesheets/style.css +13 -0
- data/guides/output/stylesheets/syntaxhighlighter/shCore.css +226 -0
- data/guides/output/stylesheets/syntaxhighlighter/shCoreDefault.css +328 -0
- data/guides/output/stylesheets/syntaxhighlighter/shCoreDjango.css +331 -0
- data/guides/output/stylesheets/syntaxhighlighter/shCoreEclipse.css +339 -0
- data/guides/output/stylesheets/syntaxhighlighter/shCoreEmacs.css +324 -0
- data/guides/output/stylesheets/syntaxhighlighter/shCoreFadeToGrey.css +328 -0
- data/guides/output/stylesheets/syntaxhighlighter/shCoreMDUltra.css +324 -0
- data/guides/output/stylesheets/syntaxhighlighter/shCoreMidnight.css +324 -0
- data/guides/output/stylesheets/syntaxhighlighter/shCoreRDark.css +324 -0
- data/guides/output/stylesheets/syntaxhighlighter/shThemeDefault.css +117 -0
- data/guides/output/stylesheets/syntaxhighlighter/shThemeDjango.css +120 -0
- data/guides/output/stylesheets/syntaxhighlighter/shThemeEclipse.css +128 -0
- data/guides/output/stylesheets/syntaxhighlighter/shThemeEmacs.css +113 -0
- data/guides/output/stylesheets/syntaxhighlighter/shThemeFadeToGrey.css +117 -0
- data/guides/output/stylesheets/syntaxhighlighter/shThemeMDUltra.css +113 -0
- data/guides/output/stylesheets/syntaxhighlighter/shThemeMidnight.css +113 -0
- data/guides/output/stylesheets/syntaxhighlighter/shThemeRDark.css +113 -0
- data/guides/output/stylesheets/syntaxhighlighter/shThemeRailsGuides.css +116 -0
- data/guides/output/testing.html +1182 -0
- data/guides/source/active_record_validations_callbacks.textile +3 -3
- data/guides/source/active_support_core_extensions.textile +2 -2
- data/guides/source/asset_pipeline.textile +7 -5
- data/guides/source/association_basics.textile +2 -4
- data/guides/source/command_line.textile +1 -1
- data/guides/source/configuring.textile +4 -2
- data/guides/source/contributing_to_ruby_on_rails.textile +6 -6
- data/guides/source/initialization.textile +2 -2
- data/guides/source/performance_testing.textile +1 -1
- data/guides/source/routing.textile +1 -1
- data/guides/source/security.textile +2 -2
- data/lib/rails/commands/server.rb +1 -1
- data/lib/rails/engine.rb +1 -1
- data/lib/rails/generators/app_base.rb +2 -1
- data/lib/rails/generators/base.rb +3 -3
- data/lib/rails/generators/rails/app/templates/gitignore +15 -5
- data/lib/rails/rack.rb +0 -1
- data/lib/rails/tasks/documentation.rake +7 -7
- data/lib/rails/tasks/misc.rake +0 -2
- data/lib/rails/test_unit/testing.rake +2 -0
- data/lib/rails/version.rb +2 -2
- metadata +495 -326
- data/CHANGELOG +0 -2371
- data/lib/rails/rack/content_length.rb +0 -38
@@ -0,0 +1,16 @@
|
|
1
|
+
/*
|
2
|
+
Fix a rendering issue affecting WebKits on Mac.
|
3
|
+
See https://github.com/lifo/docrails/issues#issue/16 for more information.
|
4
|
+
*/
|
5
|
+
.syntaxhighlighter a,
|
6
|
+
.syntaxhighlighter div,
|
7
|
+
.syntaxhighlighter code,
|
8
|
+
.syntaxhighlighter table,
|
9
|
+
.syntaxhighlighter table td,
|
10
|
+
.syntaxhighlighter table tr,
|
11
|
+
.syntaxhighlighter table tbody,
|
12
|
+
.syntaxhighlighter table thead,
|
13
|
+
.syntaxhighlighter table caption,
|
14
|
+
.syntaxhighlighter textarea {
|
15
|
+
line-height: 1.2em !important;
|
16
|
+
}
|
@@ -0,0 +1,445 @@
|
|
1
|
+
/* Guides.rubyonrails.org */
|
2
|
+
/* Main.css */
|
3
|
+
/* Created January 30, 2009 */
|
4
|
+
/* Modified February 8, 2009
|
5
|
+
--------------------------------------- */
|
6
|
+
|
7
|
+
/* General
|
8
|
+
--------------------------------------- */
|
9
|
+
|
10
|
+
.left {float: left; margin-right: 1em;}
|
11
|
+
.right {float: right; margin-left: 1em;}
|
12
|
+
.small {font-size: smaller;}
|
13
|
+
.large {font-size: larger;}
|
14
|
+
.hide {display: none;}
|
15
|
+
|
16
|
+
li ul, li ol { margin:0 1.5em; }
|
17
|
+
ul, ol { margin: 0 1.5em 1.5em 1.5em; }
|
18
|
+
|
19
|
+
ul { list-style-type: disc; }
|
20
|
+
ol { list-style-type: decimal; }
|
21
|
+
|
22
|
+
dl { margin: 0 0 1.5em 0; }
|
23
|
+
dl dt { font-weight: bold; }
|
24
|
+
dd { margin-left: 1.5em;}
|
25
|
+
|
26
|
+
pre,code { margin: 1.5em 0; overflow: auto; color: #222;}
|
27
|
+
pre,code,tt {
|
28
|
+
font-size: 1em;
|
29
|
+
font-family: "Anonymous Pro", "Inconsolata", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
|
30
|
+
line-height: 1.5;
|
31
|
+
}
|
32
|
+
|
33
|
+
abbr, acronym { border-bottom: 1px dotted #666; }
|
34
|
+
address { margin: 0 0 1.5em; font-style: italic; }
|
35
|
+
del { color:#666; }
|
36
|
+
|
37
|
+
blockquote { margin: 1.5em; color: #666; font-style: italic; }
|
38
|
+
strong { font-weight: bold; }
|
39
|
+
em, dfn { font-style: italic; }
|
40
|
+
dfn { font-weight: bold; }
|
41
|
+
sup, sub { line-height: 0; }
|
42
|
+
p {margin: 0 0 1.5em;}
|
43
|
+
|
44
|
+
label { font-weight: bold; }
|
45
|
+
fieldset { padding:1.4em; margin: 0 0 1.5em 0; border: 1px solid #ccc; }
|
46
|
+
legend { font-weight: bold; font-size:1.2em; }
|
47
|
+
|
48
|
+
input.text, input.title,
|
49
|
+
textarea, select {
|
50
|
+
margin:0.5em 0;
|
51
|
+
border:1px solid #bbb;
|
52
|
+
}
|
53
|
+
|
54
|
+
table {
|
55
|
+
margin: 0 0 1.5em;
|
56
|
+
border: 2px solid #CCC;
|
57
|
+
background: #FFF;
|
58
|
+
border-collapse: collapse;
|
59
|
+
}
|
60
|
+
|
61
|
+
table th, table td {
|
62
|
+
padding: 0.25em 1em;
|
63
|
+
border: 1px solid #CCC;
|
64
|
+
border-collapse: collapse;
|
65
|
+
}
|
66
|
+
|
67
|
+
table th {
|
68
|
+
border-bottom: 2px solid #CCC;
|
69
|
+
background: #EEE;
|
70
|
+
font-weight: bold;
|
71
|
+
padding: 0.5em 1em;
|
72
|
+
}
|
73
|
+
|
74
|
+
|
75
|
+
/* Structure and Layout
|
76
|
+
--------------------------------------- */
|
77
|
+
|
78
|
+
body {
|
79
|
+
text-align: center;
|
80
|
+
font-family: Helvetica, Arial, sans-serif;
|
81
|
+
font-size: 87.5%;
|
82
|
+
line-height: 1.5em;
|
83
|
+
background: #222;
|
84
|
+
color: #999;
|
85
|
+
}
|
86
|
+
|
87
|
+
.wrapper {
|
88
|
+
text-align: left;
|
89
|
+
margin: 0 auto;
|
90
|
+
width: 69em;
|
91
|
+
}
|
92
|
+
|
93
|
+
#topNav {
|
94
|
+
padding: 1em 0;
|
95
|
+
color: #565656;
|
96
|
+
}
|
97
|
+
|
98
|
+
#header {
|
99
|
+
background: #c52f24 url(../images/header_tile.gif) repeat-x;
|
100
|
+
color: #FFF;
|
101
|
+
padding: 1.5em 0;
|
102
|
+
position: relative;
|
103
|
+
z-index: 99;
|
104
|
+
}
|
105
|
+
|
106
|
+
#feature {
|
107
|
+
background: #d5e9f6 url(../images/feature_tile.gif) repeat-x;
|
108
|
+
color: #333;
|
109
|
+
padding: 0.5em 0 1.5em;
|
110
|
+
}
|
111
|
+
|
112
|
+
#container {
|
113
|
+
background: #FFF;
|
114
|
+
color: #333;
|
115
|
+
padding: 0.5em 0 1.5em 0;
|
116
|
+
}
|
117
|
+
|
118
|
+
#mainCol {
|
119
|
+
width: 45em;
|
120
|
+
margin-left: 2em;
|
121
|
+
}
|
122
|
+
|
123
|
+
#subCol {
|
124
|
+
position: absolute;
|
125
|
+
z-index: 0;
|
126
|
+
top: 0;
|
127
|
+
right: 0;
|
128
|
+
background: #FFF;
|
129
|
+
padding: 1em 1.5em 1em 1.25em;
|
130
|
+
width: 17em;
|
131
|
+
font-size: 0.9285em;
|
132
|
+
line-height: 1.3846em;
|
133
|
+
}
|
134
|
+
|
135
|
+
#extraCol {display: none;}
|
136
|
+
|
137
|
+
#footer {
|
138
|
+
padding: 2em 0;
|
139
|
+
background: url(../images/footer_tile.gif) repeat-x;
|
140
|
+
}
|
141
|
+
#footer .wrapper {
|
142
|
+
padding-left: 2em;
|
143
|
+
width: 67em;
|
144
|
+
}
|
145
|
+
|
146
|
+
#header .wrapper, #topNav .wrapper, #feature .wrapper {padding-left: 1em; width: 68em;}
|
147
|
+
#feature .wrapper {width: 45em; padding-right: 23em; position: relative; z-index: 0;}
|
148
|
+
|
149
|
+
/* Links
|
150
|
+
--------------------------------------- */
|
151
|
+
|
152
|
+
a, a:link, a:visited {
|
153
|
+
color: #ee3f3f;
|
154
|
+
text-decoration: underline;
|
155
|
+
}
|
156
|
+
|
157
|
+
#mainCol a, #subCol a, #feature a {color: #980905;}
|
158
|
+
|
159
|
+
|
160
|
+
/* Navigation
|
161
|
+
--------------------------------------- */
|
162
|
+
|
163
|
+
.nav {margin: 0; padding: 0;}
|
164
|
+
.nav li {display: inline; list-style: none;}
|
165
|
+
|
166
|
+
#header .nav {
|
167
|
+
float: right;
|
168
|
+
margin-top: 1.5em;
|
169
|
+
font-size: 1.2857em;
|
170
|
+
}
|
171
|
+
|
172
|
+
#header .nav li {margin: 0 0 0 0.5em;}
|
173
|
+
#header .nav a {color: #FFF; text-decoration: none;}
|
174
|
+
#header .nav a:hover {text-decoration: underline;}
|
175
|
+
|
176
|
+
#header .nav .index {
|
177
|
+
padding: 0.5em 1.5em;
|
178
|
+
border-radius: 1em;
|
179
|
+
-webkit-border-radius: 1em;
|
180
|
+
-moz-border-radius: 1em;
|
181
|
+
background: #980905;
|
182
|
+
position: relative;
|
183
|
+
}
|
184
|
+
|
185
|
+
#header .nav .index a {
|
186
|
+
background: #980905 url(../images/nav_arrow.gif) no-repeat right top;
|
187
|
+
padding-right: 1em;
|
188
|
+
position: relative;
|
189
|
+
z-index: 15;
|
190
|
+
padding-bottom: 0.125em;
|
191
|
+
}
|
192
|
+
#header .nav .index:hover a, #header .nav .index a:hover {background-position: right -81px;}
|
193
|
+
|
194
|
+
#guides {
|
195
|
+
width: 27em;
|
196
|
+
display: block;
|
197
|
+
background: #980905;
|
198
|
+
border-radius: 1em;
|
199
|
+
-webkit-border-radius: 1em;
|
200
|
+
-moz-border-radius: 1em;
|
201
|
+
-webkit-box-shadow: 0.25em 0.25em 1em rgba(0,0,0,0.25);
|
202
|
+
-moz-box-shadow: rgba(0,0,0,0.25) 0.25em 0.25em 1em;
|
203
|
+
color: #f1938c;
|
204
|
+
padding: 1.5em 2em;
|
205
|
+
position: absolute;
|
206
|
+
z-index: 10;
|
207
|
+
top: -0.25em;
|
208
|
+
right: 0;
|
209
|
+
padding-top: 2em;
|
210
|
+
}
|
211
|
+
|
212
|
+
#guides dt, #guides dd {
|
213
|
+
font-weight: normal;
|
214
|
+
font-size: 0.722em;
|
215
|
+
margin: 0;
|
216
|
+
padding: 0;
|
217
|
+
}
|
218
|
+
#guides dt {padding:0; margin: 0.5em 0 0;}
|
219
|
+
#guides a {color: #FFF; background: none !important;}
|
220
|
+
#guides .L, #guides .R {float: left; width: 50%; margin: 0; padding: 0;}
|
221
|
+
#guides .R {float: right;}
|
222
|
+
#guides hr {
|
223
|
+
display: block;
|
224
|
+
border: none;
|
225
|
+
height: 1px;
|
226
|
+
color: #f1938c;
|
227
|
+
background: #f1938c;
|
228
|
+
}
|
229
|
+
|
230
|
+
/* Headings
|
231
|
+
--------------------------------------- */
|
232
|
+
|
233
|
+
h1 {
|
234
|
+
font-size: 2.5em;
|
235
|
+
line-height: 1em;
|
236
|
+
margin: 0.6em 0 .2em;
|
237
|
+
font-weight: bold;
|
238
|
+
}
|
239
|
+
|
240
|
+
h2 {
|
241
|
+
font-size: 2.1428em;
|
242
|
+
line-height: 1em;
|
243
|
+
margin: 0.7em 0 .2333em;
|
244
|
+
font-weight: bold;
|
245
|
+
}
|
246
|
+
|
247
|
+
h3 {
|
248
|
+
font-size: 1.7142em;
|
249
|
+
line-height: 1.286em;
|
250
|
+
margin: 0.875em 0 0.2916em;
|
251
|
+
font-weight: bold;
|
252
|
+
}
|
253
|
+
|
254
|
+
h4 {
|
255
|
+
font-size: 1.2857em;
|
256
|
+
line-height: 1.2em;
|
257
|
+
margin: 1.6667em 0 .3887em;
|
258
|
+
font-weight: bold;
|
259
|
+
}
|
260
|
+
|
261
|
+
h5 {
|
262
|
+
font-size: 1em;
|
263
|
+
line-height: 1.5em;
|
264
|
+
margin: 1em 0 .5em;
|
265
|
+
font-weight: bold;
|
266
|
+
}
|
267
|
+
|
268
|
+
h6 {
|
269
|
+
font-size: 1em;
|
270
|
+
line-height: 1.5em;
|
271
|
+
margin: 1em 0 .5em;
|
272
|
+
font-weight: normal;
|
273
|
+
}
|
274
|
+
|
275
|
+
.section {
|
276
|
+
padding-bottom: 0.25em;
|
277
|
+
border-bottom: 1px solid #999;
|
278
|
+
}
|
279
|
+
|
280
|
+
/* Content
|
281
|
+
--------------------------------------- */
|
282
|
+
|
283
|
+
.pic {
|
284
|
+
margin: 0 2em 2em 0;
|
285
|
+
}
|
286
|
+
|
287
|
+
#topNav strong {color: #999; margin-right: 0.5em;}
|
288
|
+
#topNav strong a {color: #FFF;}
|
289
|
+
|
290
|
+
#header h1 {
|
291
|
+
float: left;
|
292
|
+
background: url(../images/rails_guides_logo.gif) no-repeat;
|
293
|
+
width: 297px;
|
294
|
+
text-indent: -9999em;
|
295
|
+
margin: 0;
|
296
|
+
padding: 0;
|
297
|
+
}
|
298
|
+
|
299
|
+
#header h1 a {
|
300
|
+
text-decoration: none;
|
301
|
+
display: block;
|
302
|
+
height: 77px;
|
303
|
+
}
|
304
|
+
|
305
|
+
#feature p {
|
306
|
+
font-size: 1.2857em;
|
307
|
+
margin-bottom: 0.75em;
|
308
|
+
}
|
309
|
+
|
310
|
+
#feature ul {margin-left: 0;}
|
311
|
+
#feature ul li {
|
312
|
+
list-style: none;
|
313
|
+
background: url(../images/check_bullet.gif) no-repeat left 0.5em;
|
314
|
+
padding: 0.5em 1.75em 0.5em 1.75em;
|
315
|
+
font-size: 1.1428em;
|
316
|
+
font-weight: bold;
|
317
|
+
}
|
318
|
+
|
319
|
+
#mainCol dd, #subCol dd {
|
320
|
+
padding: 0.25em 0 1em;
|
321
|
+
border-bottom: 1px solid #CCC;
|
322
|
+
margin-bottom: 1em;
|
323
|
+
margin-left: 0;
|
324
|
+
/*padding-left: 28px;*/
|
325
|
+
padding-left: 0;
|
326
|
+
}
|
327
|
+
|
328
|
+
#mainCol dt, #subCol dt {
|
329
|
+
font-size: 1.2857em;
|
330
|
+
padding: 0.125em 0 0.25em 0;
|
331
|
+
margin-bottom: 0;
|
332
|
+
/*background: url(../images/book_icon.gif) no-repeat left top;
|
333
|
+
padding: 0.125em 0 0.25em 28px;*/
|
334
|
+
}
|
335
|
+
|
336
|
+
#mainCol dd.work-in-progress, #subCol dd.work-in-progress {
|
337
|
+
background: #fff9d8 url(../images/tab_yellow.gif) no-repeat left top;
|
338
|
+
border: none;
|
339
|
+
padding: 1.25em 1em 1.25em 48px;
|
340
|
+
margin-left: 0;
|
341
|
+
margin-top: 0.25em;
|
342
|
+
}
|
343
|
+
|
344
|
+
#mainCol div.warning, #subCol dd.warning {
|
345
|
+
background: #f9d9d8 url(../images/tab_red.gif) no-repeat left top;
|
346
|
+
border: none;
|
347
|
+
padding: 1.25em 1.25em 1.25em 48px;
|
348
|
+
margin-left: 0;
|
349
|
+
margin-top: 0.25em;
|
350
|
+
}
|
351
|
+
|
352
|
+
#subCol .chapters {color: #980905;}
|
353
|
+
#subCol .chapters a {font-weight: bold;}
|
354
|
+
#subCol .chapters ul a {font-weight: normal;}
|
355
|
+
#subCol .chapters li {margin-bottom: 0.75em;}
|
356
|
+
#subCol h3.chapter {margin-top: 0.25em;}
|
357
|
+
#subCol h3.chapter img {vertical-align: text-bottom;}
|
358
|
+
#subCol .chapters ul {margin-left: 0; margin-top: 0.5em;}
|
359
|
+
#subCol .chapters ul li {
|
360
|
+
list-style: none;
|
361
|
+
padding: 0 0 0 1em;
|
362
|
+
background: url(../images/bullet.gif) no-repeat left 0.45em;
|
363
|
+
margin-left: 0;
|
364
|
+
font-size: 1em;
|
365
|
+
font-weight: normal;
|
366
|
+
}
|
367
|
+
|
368
|
+
div.code_container {
|
369
|
+
background: #EEE url(../images/tab_grey.gif) no-repeat left top;
|
370
|
+
padding: 0.25em 1em 0.5em 48px;
|
371
|
+
}
|
372
|
+
|
373
|
+
.note {
|
374
|
+
background: #fff9d8 url(../images/tab_note.gif) no-repeat left top;
|
375
|
+
border: none;
|
376
|
+
padding: 1em 1em 0.25em 48px;
|
377
|
+
margin: 0.25em 0 1.5em 0;
|
378
|
+
}
|
379
|
+
|
380
|
+
.info {
|
381
|
+
background: #d5e9f6 url(../images/tab_info.gif) no-repeat left top;
|
382
|
+
border: none;
|
383
|
+
padding: 1em 1em 0.25em 48px;
|
384
|
+
margin: 0.25em 0 1.5em 0;
|
385
|
+
}
|
386
|
+
|
387
|
+
.note tt, .info tt {border:none; background: none; padding: 0;}
|
388
|
+
|
389
|
+
#mainCol ul li {
|
390
|
+
list-style:none;
|
391
|
+
background: url(../images/grey_bullet.gif) no-repeat left 0.5em;
|
392
|
+
padding-left: 1em;
|
393
|
+
margin-left: 0;
|
394
|
+
}
|
395
|
+
|
396
|
+
#subCol .content {
|
397
|
+
font-size: 0.7857em;
|
398
|
+
line-height: 1.5em;
|
399
|
+
}
|
400
|
+
|
401
|
+
#subCol .content li {
|
402
|
+
font-weight: normal;
|
403
|
+
background: none;
|
404
|
+
padding: 0 0 1em;
|
405
|
+
font-size: 1.1667em;
|
406
|
+
}
|
407
|
+
|
408
|
+
/* Clearing
|
409
|
+
--------------------------------------- */
|
410
|
+
|
411
|
+
.clearfix:after {
|
412
|
+
content: ".";
|
413
|
+
display: block;
|
414
|
+
height: 0;
|
415
|
+
clear: both;
|
416
|
+
visibility: hidden;
|
417
|
+
}
|
418
|
+
|
419
|
+
.clearfix {display: inline-block;}
|
420
|
+
* html .clearfix {height: 1%;}
|
421
|
+
.clearfix {display: block;}
|
422
|
+
.clear { clear:both; }
|
423
|
+
|
424
|
+
/* Same bottom margin for special boxes than for regular paragraphs, this way
|
425
|
+
intermediate whitespace looks uniform. */
|
426
|
+
div.code_container, div.important, div.caution, div.warning, div.note, div.info {
|
427
|
+
margin-bottom: 1.5em;
|
428
|
+
}
|
429
|
+
|
430
|
+
/* Remove bottom margin of paragraphs in special boxes, otherwise they get a
|
431
|
+
spurious blank area below with the box background. */
|
432
|
+
div.important p, div.caution p, div.warning p, div.note p, div.info p {
|
433
|
+
margin-bottom: 1em;
|
434
|
+
}
|
435
|
+
|
436
|
+
/* Edge Badge
|
437
|
+
--------------------------------------- */
|
438
|
+
|
439
|
+
#edge-badge {
|
440
|
+
position: fixed;
|
441
|
+
right: 0px;
|
442
|
+
top: 0px;
|
443
|
+
z-index: 100;
|
444
|
+
border: none;
|
445
|
+
}
|