midilib 2.0.4 → 2.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/README.rdoc +9 -4
- data/Rakefile +2 -6
- data/examples/from_scratch.rb +3 -5
- data/examples/measures_mbt.rb +4 -4
- data/examples/print_program_changes.rb +9 -9
- data/examples/reader2text.rb +188 -188
- data/examples/seq2text.rb +17 -17
- data/examples/split.rb +19 -19
- data/examples/strings.rb +14 -14
- data/examples/transpose.rb +31 -31
- data/html/IO.html +65 -169
- data/html/MIDI.html +138 -256
- data/html/MIDI/ActiveSense.html +89 -178
- data/html/MIDI/ChannelEvent.html +95 -183
- data/html/MIDI/ChannelPressure.html +105 -190
- data/html/MIDI/Clock.html +89 -178
- data/html/MIDI/Continue.html +89 -178
- data/html/MIDI/Controller.html +107 -192
- data/html/MIDI/Event.html +138 -222
- data/html/MIDI/IO.html +45 -157
- data/html/MIDI/IO/MIDIFile.html +596 -568
- data/html/MIDI/IO/SeqReader.html +272 -314
- data/html/MIDI/IO/SeqWriter.html +229 -305
- data/html/MIDI/KeySig.html +129 -211
- data/html/MIDI/MIDI.html +45 -154
- data/html/MIDI/MIDI/MIDI.html +45 -154
- data/html/MIDI/MIDI/MIDI/Array.html +87 -185
- data/html/MIDI/Marker.html +71 -170
- data/html/MIDI/Measure.html +95 -190
- data/html/MIDI/Measures.html +103 -193
- data/html/MIDI/MetaEvent.html +180 -253
- data/html/MIDI/NoteEvent.html +118 -204
- data/html/MIDI/NoteOff.html +95 -183
- data/html/MIDI/NoteOn.html +95 -183
- data/html/MIDI/PitchBend.html +106 -191
- data/html/MIDI/PolyPressure.html +106 -189
- data/html/MIDI/ProgramChange.html +105 -190
- data/html/MIDI/Realtime.html +98 -184
- data/html/MIDI/Sequence.html +246 -311
- data/html/MIDI/SongPointer.html +106 -191
- data/html/MIDI/SongSelect.html +105 -190
- data/html/MIDI/Start.html +89 -178
- data/html/MIDI/Stop.html +89 -178
- data/html/MIDI/SystemCommon.html +71 -170
- data/html/MIDI/SystemExclusive.html +108 -193
- data/html/MIDI/SystemReset.html +89 -178
- data/html/MIDI/Tempo.html +135 -213
- data/html/MIDI/TimeSig.html +135 -214
- data/html/MIDI/Track.html +217 -291
- data/html/MIDI/TuneRequest.html +98 -184
- data/html/MIDI/Utils.html +89 -189
- data/html/README_rdoc.html +237 -257
- data/html/TODO_rdoc.html +64 -139
- data/html/created.rid +14 -14
- data/html/css/fonts.css +167 -0
- data/html/{rdoc.css → css/rdoc.css} +265 -218
- data/html/fonts/Lato-Light.ttf +0 -0
- data/html/fonts/Lato-LightItalic.ttf +0 -0
- data/html/fonts/Lato-Regular.ttf +0 -0
- data/html/fonts/Lato-RegularItalic.ttf +0 -0
- data/html/fonts/SourceCodePro-Bold.ttf +0 -0
- data/html/fonts/SourceCodePro-Regular.ttf +0 -0
- data/html/images/add.png +0 -0
- data/html/images/arrow_up.png +0 -0
- data/html/images/delete.png +0 -0
- data/html/images/tag_blue.png +0 -0
- data/html/index.html +187 -169
- data/html/js/darkfish.js +41 -33
- data/html/js/jquery.js +4 -18
- data/html/js/navigation.js.gz +0 -0
- data/html/js/search.js +20 -5
- data/html/js/search_index.js +1 -1
- data/html/js/search_index.js.gz +0 -0
- data/html/js/searcher.js.gz +0 -0
- data/html/table_of_contents.html +1111 -498
- data/install.rb +43 -32
- data/lib/midilib/consts.rb +407 -407
- data/lib/midilib/event.rb +295 -294
- data/lib/midilib/info.rb +5 -5
- data/lib/midilib/io/midifile.rb +266 -267
- data/lib/midilib/io/seqreader.rb +106 -106
- data/lib/midilib/io/seqwriter.rb +59 -60
- data/lib/midilib/measure.rb +69 -69
- data/lib/midilib/sequence.rb +68 -70
- data/lib/midilib/track.rb +96 -102
- data/lib/midilib/utils.rb +15 -15
- data/test/event_equality.rb +50 -50
- data/test/test_event.rb +120 -122
- data/test/test_io.rb +35 -48
- data/test/test_sequence.rb +60 -60
- data/test/test_track.rb +154 -154
- data/test/test_varlen.rb +23 -25
- metadata +65 -57
@@ -6,40 +6,62 @@
|
|
6
6
|
*
|
7
7
|
*/
|
8
8
|
|
9
|
+
/* vim: ft=css et sw=2 ts=2 sts=2 */
|
9
10
|
/* Base Green is: #6C8C22 */
|
10
11
|
|
11
12
|
* { padding: 0; margin: 0; }
|
12
13
|
|
13
14
|
body {
|
14
|
-
background: #
|
15
|
-
font:
|
16
|
-
|
15
|
+
background: #fafafa;
|
16
|
+
font-family: Lato, sans-serif;
|
17
|
+
font-weight: 300;
|
17
18
|
}
|
18
|
-
|
19
|
-
|
20
|
-
|
19
|
+
|
20
|
+
h1 span,
|
21
|
+
h2 span,
|
22
|
+
h3 span,
|
23
|
+
h4 span,
|
24
|
+
h5 span,
|
25
|
+
h6 span {
|
26
|
+
position: relative;
|
27
|
+
|
28
|
+
display: none;
|
29
|
+
padding-left: 1em;
|
30
|
+
line-height: 0;
|
31
|
+
vertical-align: baseline;
|
32
|
+
font-size: 10px;
|
21
33
|
}
|
22
34
|
|
23
|
-
h1 {
|
24
|
-
|
25
|
-
|
26
|
-
|
35
|
+
h1 span { top: -1.3em; }
|
36
|
+
h2 span { top: -1.2em; }
|
37
|
+
h3 span { top: -1.0em; }
|
38
|
+
h4 span { top: -0.8em; }
|
39
|
+
h5 span { top: -0.5em; }
|
40
|
+
h6 span { top: -0.5em; }
|
41
|
+
|
42
|
+
h1:hover span,
|
43
|
+
h2:hover span,
|
44
|
+
h3:hover span,
|
45
|
+
h4:hover span,
|
46
|
+
h5:hover span,
|
47
|
+
h6:hover span {
|
48
|
+
display: inline;
|
27
49
|
}
|
28
|
-
h2,h3,h4 { margin-top: 1.5em; }
|
29
50
|
|
30
51
|
:link,
|
31
52
|
:visited {
|
32
53
|
color: #6C8C22;
|
33
54
|
text-decoration: none;
|
34
55
|
}
|
56
|
+
|
35
57
|
:link:hover,
|
36
58
|
:visited:hover {
|
37
59
|
border-bottom: 1px dotted #6C8C22;
|
38
60
|
}
|
39
61
|
|
62
|
+
code,
|
40
63
|
pre {
|
41
|
-
|
42
|
-
padding: 0.5em 0;
|
64
|
+
font-family: "Source Code Pro", Monaco, monospace;
|
43
65
|
}
|
44
66
|
|
45
67
|
/* @group Generic Classes */
|
@@ -50,10 +72,13 @@ pre {
|
|
50
72
|
|
51
73
|
#search-field {
|
52
74
|
width: 98%;
|
53
|
-
background:
|
75
|
+
background: white;
|
54
76
|
border: none;
|
55
77
|
height: 1.5em;
|
56
78
|
-webkit-border-radius: 4px;
|
79
|
+
-moz-border-radius: 4px;
|
80
|
+
border-radius: 4px;
|
81
|
+
text-align: left;
|
57
82
|
}
|
58
83
|
#search-field:focus {
|
59
84
|
background: #f1edba;
|
@@ -89,44 +114,31 @@ pre {
|
|
89
114
|
/* @end */
|
90
115
|
|
91
116
|
/* @group Index Page, Standalone file pages */
|
92
|
-
.
|
93
|
-
|
117
|
+
.table-of-contents ul {
|
118
|
+
margin: 1em;
|
94
119
|
list-style: none;
|
95
120
|
}
|
96
|
-
.indexpage ul :link,
|
97
|
-
.indexpage ul :visited {
|
98
|
-
font-size: 16px;
|
99
|
-
}
|
100
121
|
|
101
|
-
.
|
102
|
-
|
122
|
+
.table-of-contents ul ul {
|
123
|
+
margin-top: 0.25em;
|
103
124
|
}
|
104
125
|
|
105
|
-
.
|
106
|
-
|
107
|
-
|
108
|
-
.indexpage li.method {
|
109
|
-
background: url(images/plugin.png) no-repeat left 4px;
|
110
|
-
}
|
111
|
-
.indexpage li.module {
|
112
|
-
background: url(images/package.png) no-repeat left 4px;
|
113
|
-
}
|
114
|
-
.indexpage li.class {
|
115
|
-
background: url(images/ruby.png) no-repeat left 4px;
|
116
|
-
}
|
117
|
-
.indexpage li.file {
|
118
|
-
background: url(images/page_white_text.png) no-repeat left 4px;
|
126
|
+
.table-of-contents ul :link,
|
127
|
+
.table-of-contents ul :visited {
|
128
|
+
font-size: 16px;
|
119
129
|
}
|
120
|
-
|
121
|
-
|
130
|
+
|
131
|
+
.table-of-contents li {
|
132
|
+
margin-bottom: 0.25em;
|
122
133
|
}
|
123
|
-
|
134
|
+
|
135
|
+
.table-of-contents li .toc-toggle {
|
124
136
|
width: 16px;
|
125
137
|
height: 16px;
|
126
138
|
background: url(images/add.png) no-repeat;
|
127
139
|
}
|
128
140
|
|
129
|
-
.
|
141
|
+
.table-of-contents li .toc-toggle.open {
|
130
142
|
background: url(images/delete.png) no-repeat;
|
131
143
|
}
|
132
144
|
|
@@ -134,14 +146,32 @@ pre {
|
|
134
146
|
|
135
147
|
/* @group Top-Level Structure */
|
136
148
|
|
137
|
-
|
149
|
+
nav {
|
138
150
|
float: left;
|
139
151
|
width: 260px;
|
152
|
+
font-family: Helvetica, sans-serif;
|
153
|
+
font-size: 14px;
|
140
154
|
}
|
141
155
|
|
142
|
-
|
143
|
-
|
156
|
+
main {
|
157
|
+
display: block;
|
158
|
+
margin: 0 2em 5em 260px;
|
159
|
+
padding-left: 20px;
|
144
160
|
min-width: 340px;
|
161
|
+
font-size: 16px;
|
162
|
+
}
|
163
|
+
|
164
|
+
main h1,
|
165
|
+
main h2,
|
166
|
+
main h3,
|
167
|
+
main h4,
|
168
|
+
main h5,
|
169
|
+
main h6 {
|
170
|
+
font-family: Helvetica, sans-serif;
|
171
|
+
}
|
172
|
+
|
173
|
+
.table-of-contents main {
|
174
|
+
margin-left: 2em;
|
145
175
|
}
|
146
176
|
|
147
177
|
#validator-badges {
|
@@ -152,58 +182,76 @@ pre {
|
|
152
182
|
|
153
183
|
/* @end */
|
154
184
|
|
155
|
-
/* @group
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
margin:
|
185
|
+
/* @group navigation */
|
186
|
+
nav {
|
187
|
+
margin-bottom: 1em;
|
188
|
+
}
|
189
|
+
|
190
|
+
nav .nav-section {
|
191
|
+
margin-top: 2em;
|
192
|
+
border-top: 2px solid #aaa;
|
162
193
|
font-size: 90%;
|
163
194
|
overflow: hidden;
|
164
195
|
}
|
165
|
-
|
196
|
+
|
197
|
+
nav h2 {
|
166
198
|
margin: 0;
|
167
|
-
padding: 2px 8px;
|
168
|
-
background: #
|
169
|
-
color: #
|
170
|
-
-
|
171
|
-
-
|
172
|
-
-webkit-border-top-left-radius: 4px;
|
173
|
-
-webkit-border-top-right-radius: 4px;
|
174
|
-
border-bottom: 1px solid #aaa;
|
199
|
+
padding: 2px 8px 2px 8px;
|
200
|
+
background-color: #e8e8e8;
|
201
|
+
color: #555;
|
202
|
+
font-size: 125%;
|
203
|
+
text-align: center;
|
175
204
|
}
|
176
|
-
|
177
|
-
|
205
|
+
|
206
|
+
nav h3,
|
207
|
+
#table-of-contents-navigation {
|
208
|
+
margin: 0;
|
209
|
+
padding: 2px 8px 2px 8px;
|
210
|
+
text-align: right;
|
211
|
+
background-color: #e8e8e8;
|
212
|
+
color: #555;
|
178
213
|
}
|
179
214
|
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
padding:
|
215
|
+
nav ul,
|
216
|
+
nav dl,
|
217
|
+
nav p {
|
218
|
+
padding: 4px 8px 0;
|
184
219
|
list-style: none;
|
185
220
|
}
|
186
221
|
|
187
|
-
#
|
188
|
-
margin
|
222
|
+
#project-navigation .nav-section {
|
223
|
+
margin: 0;
|
224
|
+
border-top: 0;
|
189
225
|
}
|
190
226
|
|
191
|
-
#
|
192
|
-
|
193
|
-
list-style-image: url(images/page_green.png);
|
227
|
+
#home-section h2 {
|
228
|
+
text-align: center;
|
194
229
|
}
|
195
230
|
|
196
|
-
|
197
|
-
|
198
|
-
margin: 0;
|
199
|
-
}
|
200
|
-
dl.svninfo dt {
|
231
|
+
#table-of-contents-navigation {
|
232
|
+
font-size: 1.2em;
|
201
233
|
font-weight: bold;
|
234
|
+
text-align: center;
|
235
|
+
}
|
236
|
+
|
237
|
+
#search-section {
|
238
|
+
margin-top: 0;
|
239
|
+
border-top: 0;
|
240
|
+
}
|
241
|
+
|
242
|
+
#search-field-wrapper {
|
243
|
+
border-top: 1px solid #aaa;
|
244
|
+
border-bottom: 1px solid #aaa;
|
245
|
+
padding: 3px 8px;
|
246
|
+
background-color: #e8e8e8;
|
247
|
+
color: #555;
|
202
248
|
}
|
203
249
|
|
204
250
|
ul.link-list li {
|
205
251
|
white-space: nowrap;
|
252
|
+
line-height: 1.4em;
|
206
253
|
}
|
254
|
+
|
207
255
|
ul.link-list .type {
|
208
256
|
font-size: 8px;
|
209
257
|
text-transform: uppercase;
|
@@ -213,102 +261,125 @@ ul.link-list .type {
|
|
213
261
|
-webkit-border-radius: 5px;
|
214
262
|
}
|
215
263
|
|
264
|
+
.calls-super {
|
265
|
+
background: url(images/arrow_up.png) no-repeat right center;
|
266
|
+
}
|
267
|
+
|
216
268
|
/* @end */
|
217
269
|
|
218
|
-
/* @group
|
219
|
-
|
220
|
-
|
270
|
+
/* @group Documentation Section */
|
271
|
+
main {
|
272
|
+
color: #333;
|
221
273
|
}
|
222
|
-
/* @end */
|
223
274
|
|
224
|
-
|
225
|
-
|
226
|
-
|
275
|
+
main > h1:first-child,
|
276
|
+
main > h2:first-child,
|
277
|
+
main > h3:first-child,
|
278
|
+
main > h4:first-child,
|
279
|
+
main > h5:first-child,
|
280
|
+
main > h6:first-child {
|
281
|
+
margin-top: 0px;
|
227
282
|
}
|
228
283
|
|
229
|
-
|
230
|
-
|
284
|
+
main sup {
|
285
|
+
vertical-align: super;
|
286
|
+
font-size: 0.8em;
|
231
287
|
}
|
232
|
-
|
233
|
-
|
234
|
-
|
288
|
+
|
289
|
+
/* The heading with the class name */
|
290
|
+
main h1[class] {
|
291
|
+
margin-top: 0;
|
292
|
+
margin-bottom: 1em;
|
293
|
+
font-size: 2em;
|
294
|
+
color: #6C8C22;
|
235
295
|
}
|
236
296
|
|
237
|
-
|
238
|
-
|
239
|
-
|
297
|
+
main h1 {
|
298
|
+
margin: 2em 0 0.5em;
|
299
|
+
font-size: 1.7em;
|
240
300
|
}
|
241
301
|
|
242
|
-
|
302
|
+
main h2 {
|
303
|
+
margin: 2em 0 0.5em;
|
304
|
+
font-size: 1.5em;
|
305
|
+
}
|
243
306
|
|
244
|
-
|
245
|
-
.
|
246
|
-
font-size:
|
247
|
-
color: #333;
|
307
|
+
main h3 {
|
308
|
+
margin: 2em 0 0.5em;
|
309
|
+
font-size: 1.2em;
|
248
310
|
}
|
249
311
|
|
250
|
-
|
251
|
-
margin:
|
312
|
+
main h4 {
|
313
|
+
margin: 2em 0 0.5em;
|
314
|
+
font-size: 1.1em;
|
252
315
|
}
|
253
316
|
|
254
|
-
|
255
|
-
margin: 0;
|
317
|
+
main h5 {
|
318
|
+
margin: 2em 0 0.5em;
|
319
|
+
font-size: 1em;
|
256
320
|
}
|
257
321
|
|
258
|
-
|
259
|
-
|
260
|
-
|
322
|
+
main h6 {
|
323
|
+
margin: 2em 0 0.5em;
|
324
|
+
font-size: 1em;
|
261
325
|
}
|
262
|
-
|
263
|
-
|
326
|
+
|
327
|
+
main p {
|
328
|
+
margin: 0 0 0.5em;
|
264
329
|
line-height: 1.4em;
|
265
330
|
}
|
266
331
|
|
267
|
-
|
268
|
-
margin:
|
332
|
+
main pre {
|
333
|
+
margin: 1.2em 0.5em;
|
334
|
+
padding: 1em;
|
335
|
+
font-size: 0.8em;
|
269
336
|
}
|
270
337
|
|
271
|
-
|
272
|
-
margin:
|
273
|
-
border:
|
338
|
+
main hr {
|
339
|
+
margin: 1.5em 1em;
|
340
|
+
border: 2px solid #ddd;
|
274
341
|
}
|
275
|
-
|
276
|
-
|
342
|
+
|
343
|
+
main blockquote {
|
344
|
+
margin: 0 2em 1.2em 1.2em;
|
345
|
+
padding-left: 0.5em;
|
346
|
+
border-left: 2px solid #ddd;
|
277
347
|
}
|
278
348
|
|
279
|
-
|
280
|
-
|
349
|
+
main ol,
|
350
|
+
main ul {
|
351
|
+
margin: 1em 2em;
|
281
352
|
}
|
282
|
-
|
283
|
-
|
353
|
+
|
354
|
+
main li > p {
|
355
|
+
margin-bottom: 0.5em;
|
284
356
|
}
|
285
357
|
|
286
|
-
|
287
|
-
|
288
|
-
font-weight: bold;
|
289
|
-
background: #ddd;
|
358
|
+
main dl {
|
359
|
+
margin: 1em 0.5em;
|
290
360
|
}
|
291
|
-
|
292
|
-
|
361
|
+
|
362
|
+
main dt {
|
363
|
+
margin-bottom: 0.5em;
|
364
|
+
font-weight: bold;
|
293
365
|
}
|
294
|
-
|
295
|
-
|
296
|
-
margin
|
366
|
+
|
367
|
+
main dd {
|
368
|
+
margin: 0 1em 1em 0.5em;
|
297
369
|
}
|
298
370
|
|
299
|
-
|
300
|
-
|
371
|
+
main header h2 {
|
372
|
+
margin-top: 2em;
|
373
|
+
border-width: 0;
|
374
|
+
border-top: 4px solid #bbb;
|
375
|
+
font-size: 130%;
|
301
376
|
}
|
302
377
|
|
303
|
-
|
304
|
-
margin
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
font-size: 175%;
|
309
|
-
border: 1px solid #bbb;
|
310
|
-
-moz-border-radius: 3px;
|
311
|
-
-webkit-border-radius: 3px;
|
378
|
+
main header h3 {
|
379
|
+
margin: 2em 0 1.5em;
|
380
|
+
border-width: 0;
|
381
|
+
border-top: 3px solid #bbb;
|
382
|
+
font-size: 120%;
|
312
383
|
}
|
313
384
|
|
314
385
|
.documentation-section-title {
|
@@ -317,47 +388,35 @@ ul.link-list .type {
|
|
317
388
|
.documentation-section-title .section-click-top {
|
318
389
|
position: absolute;
|
319
390
|
top: 6px;
|
320
|
-
|
391
|
+
left: 12px;
|
321
392
|
font-size: 10px;
|
322
393
|
color: #9b9877;
|
323
394
|
visibility: hidden;
|
324
|
-
padding-
|
395
|
+
padding-left: 0.5px;
|
325
396
|
}
|
326
397
|
|
327
398
|
.documentation-section-title:hover .section-click-top {
|
328
399
|
visibility: visible;
|
329
400
|
}
|
330
401
|
|
331
|
-
|
332
|
-
margin-top: 1em;
|
333
|
-
padding: 0.25em 0.5em;
|
334
|
-
background-color: #dedede;
|
335
|
-
color: #333;
|
336
|
-
font-size: 150%;
|
337
|
-
border: 1px solid #bbb;
|
338
|
-
-moz-border-radius: 3px;
|
339
|
-
-webkit-border-radius: 3px;
|
340
|
-
}
|
341
|
-
|
342
|
-
#constants-list > dl,
|
343
|
-
#attributes-list > dl {
|
402
|
+
.constants-list > dl {
|
344
403
|
margin: 1em 0 2em;
|
345
404
|
border: 0;
|
346
405
|
}
|
347
|
-
|
348
|
-
|
406
|
+
|
407
|
+
.constants-list > dl dt {
|
408
|
+
margin-bottom: 0.75em;
|
349
409
|
padding-left: 0;
|
350
|
-
font-
|
351
|
-
font-
|
352
|
-
background: inherit;
|
410
|
+
font-family: "Source Code Pro", Monaco, monospace;
|
411
|
+
font-size: 110%;
|
353
412
|
}
|
354
|
-
|
355
|
-
|
413
|
+
|
414
|
+
.constants-list > dl dt a {
|
356
415
|
color: inherit;
|
357
416
|
}
|
358
|
-
|
359
|
-
|
360
|
-
margin: 0 0
|
417
|
+
|
418
|
+
.constants-list > dl dd {
|
419
|
+
margin: 0 0 2em 0;
|
361
420
|
padding: 0;
|
362
421
|
color: #666;
|
363
422
|
}
|
@@ -381,88 +440,77 @@ ul.link-list .type {
|
|
381
440
|
|
382
441
|
/* @group Method Details */
|
383
442
|
|
384
|
-
|
443
|
+
main .method-source-code {
|
385
444
|
display: none;
|
386
445
|
}
|
387
446
|
|
388
|
-
|
389
|
-
|
390
|
-
|
447
|
+
main .method-description .method-calls-super {
|
448
|
+
color: #333;
|
449
|
+
font-weight: bold;
|
450
|
+
}
|
451
|
+
|
452
|
+
main .method-detail {
|
453
|
+
margin-bottom: 2.5em;
|
391
454
|
cursor: pointer;
|
392
455
|
}
|
393
|
-
|
394
|
-
|
456
|
+
|
457
|
+
main .method-detail:target {
|
458
|
+
margin-left: -10px;
|
459
|
+
border-left: 10px solid #f1edba;
|
395
460
|
}
|
396
|
-
|
461
|
+
|
462
|
+
main .method-heading {
|
397
463
|
position: relative;
|
398
|
-
|
399
|
-
font-size:
|
464
|
+
font-family: "Source Code Pro", Monaco, monospace;
|
465
|
+
font-size: 110%;
|
400
466
|
font-weight: bold;
|
401
467
|
color: #333;
|
402
|
-
background: url(images/brick.png) no-repeat left bottom;
|
403
468
|
}
|
404
|
-
|
405
|
-
|
469
|
+
main .method-heading :link,
|
470
|
+
main .method-heading :visited {
|
406
471
|
color: inherit;
|
407
472
|
}
|
408
|
-
|
473
|
+
main .method-click-advice {
|
409
474
|
position: absolute;
|
410
475
|
top: 2px;
|
411
476
|
right: 5px;
|
412
|
-
font-size:
|
477
|
+
font-size: 12px;
|
413
478
|
color: #9b9877;
|
414
479
|
visibility: hidden;
|
415
480
|
padding-right: 20px;
|
416
481
|
line-height: 20px;
|
417
482
|
background: url(images/zoom.png) no-repeat right top;
|
418
483
|
}
|
419
|
-
|
484
|
+
main .method-heading:hover .method-click-advice {
|
420
485
|
visibility: visible;
|
421
486
|
}
|
422
487
|
|
423
|
-
|
424
|
-
color: #666;
|
425
|
-
background: url(images/brick_link.png) no-repeat left bottom;
|
426
|
-
}
|
427
|
-
|
428
|
-
#documentation .method-description,
|
429
|
-
#documentation .aliases {
|
430
|
-
margin: 0 20px;
|
488
|
+
main .method-alias .method-heading {
|
431
489
|
color: #666;
|
432
490
|
}
|
433
491
|
|
434
|
-
|
435
|
-
|
436
|
-
|
492
|
+
main .method-description,
|
493
|
+
main .aliases {
|
494
|
+
margin-top: 0.75em;
|
495
|
+
color: #333;
|
437
496
|
}
|
438
497
|
|
439
|
-
|
498
|
+
main .aliases {
|
440
499
|
padding-top: 4px;
|
441
500
|
font-style: italic;
|
442
501
|
cursor: default;
|
443
502
|
}
|
444
|
-
|
445
|
-
margin-bottom: 0.5em;
|
446
|
-
}
|
447
|
-
#documentation .method-description ul {
|
503
|
+
main .method-description ul {
|
448
504
|
margin-left: 1.5em;
|
449
505
|
}
|
450
|
-
pre {
|
451
|
-
margin: 0.5em 0;
|
452
|
-
}
|
453
506
|
|
454
|
-
#
|
455
|
-
background: url(images/tag_green.png) no-repeat left bottom;
|
456
|
-
}
|
457
|
-
#documentation #attribute-method-details .method-detail:hover {
|
507
|
+
main #attribute-method-details .method-detail:hover {
|
458
508
|
background-color: transparent;
|
459
509
|
cursor: default;
|
460
510
|
}
|
461
|
-
|
462
|
-
font-size: 60%;
|
511
|
+
main .attribute-access-type {
|
463
512
|
text-transform: uppercase;
|
464
|
-
|
465
|
-
padding: 0 2px;
|
513
|
+
padding: 0 1em;
|
466
514
|
}
|
467
515
|
/* @end */
|
468
516
|
|
@@ -471,15 +519,12 @@ pre {
|
|
471
519
|
/* @group Source Code */
|
472
520
|
|
473
521
|
pre {
|
474
|
-
|
475
|
-
background: #262626;
|
476
|
-
color: white;
|
522
|
+
margin: 0.5em 0;
|
477
523
|
border: 1px dashed #999;
|
478
524
|
padding: 0.5em;
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
margin: 0 0.4em;
|
525
|
+
background: #262626;
|
526
|
+
color: white;
|
527
|
+
overflow: auto;
|
483
528
|
}
|
484
529
|
|
485
530
|
.ruby-constant { color: #7fffd4; background: transparent; }
|
@@ -488,7 +533,7 @@ pre {
|
|
488
533
|
.ruby-operator { color: #00ffee; background: transparent; }
|
489
534
|
.ruby-identifier { color: #ffdead; background: transparent; }
|
490
535
|
.ruby-node { color: #ffa07a; background: transparent; }
|
491
|
-
.ruby-comment { color: #dc0000;
|
536
|
+
.ruby-comment { color: #dc0000; background: transparent; }
|
492
537
|
.ruby-regexp { color: #ffa07a; background: transparent; }
|
493
538
|
.ruby-value { color: #7fffd4; background: transparent; }
|
494
539
|
|
@@ -496,23 +541,24 @@ pre {
|
|
496
541
|
|
497
542
|
|
498
543
|
/* @group search results */
|
499
|
-
#search-results
|
500
|
-
font-
|
544
|
+
#search-results {
|
545
|
+
font-family: Lato, sans-serif;
|
546
|
+
font-weight: 300;
|
547
|
+
}
|
548
|
+
|
549
|
+
#search-results .search-match {
|
550
|
+
font-family: Helvetica, sans-serif;
|
501
551
|
font-weight: normal;
|
502
|
-
text-shadow: none;
|
503
552
|
}
|
504
553
|
|
505
|
-
#search-results .
|
506
|
-
background: #
|
554
|
+
#search-results .search-selected {
|
555
|
+
background: #e8e8e8;
|
507
556
|
border-bottom: 1px solid transparent;
|
508
557
|
}
|
509
558
|
|
510
559
|
#search-results li {
|
511
560
|
list-style: none;
|
512
561
|
border-bottom: 1px solid #aaa;
|
513
|
-
-moz-border-radius: 4px;
|
514
|
-
-webkit-border-radius: 4px;
|
515
|
-
border-radius: 4px;
|
516
562
|
margin-bottom: 0.5em;
|
517
563
|
}
|
518
564
|
|
@@ -537,6 +583,7 @@ pre {
|
|
537
583
|
|
538
584
|
#search-results pre {
|
539
585
|
margin: 0.5em;
|
586
|
+
font-family: "Source Code Pro", Monaco, monospace;
|
540
587
|
}
|
541
588
|
|
542
589
|
/* @end */
|