rcmd 1.5.7 → 1.5.8

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.
@@ -12,21 +12,10 @@
12
12
  * { padding: 0; margin: 0; }
13
13
 
14
14
  body {
15
- background: #efefef;
16
- font: 14px "Helvetica Neue", Helvetica, Tahoma, sans-serif;
17
- margin-left: 40px;
15
+ background: #fafafa;
16
+ font-family: Lato, sans-serif;
17
+ font-weight: 300;
18
18
  }
19
- body.file-popup {
20
- font-size: 90%;
21
- margin-left: 0;
22
- }
23
-
24
- h1 {
25
- font-size: 300%;
26
- text-shadow: rgba(135,145,135,0.65) 2px 2px 3px;
27
- color: #6C8C22;
28
- }
29
- h2,h3,h4 { margin-top: 1.5em; }
30
19
 
31
20
  h1 span,
32
21
  h2 span,
@@ -34,12 +23,22 @@ h3 span,
34
23
  h4 span,
35
24
  h5 span,
36
25
  h6 span {
26
+ position: relative;
27
+
37
28
  display: none;
38
29
  padding-left: 1em;
39
- font-size: 50%;
40
- vertical-align: super;
30
+ line-height: 0;
31
+ vertical-align: baseline;
32
+ font-size: 10px;
41
33
  }
42
34
 
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
+
43
42
  h1:hover span,
44
43
  h2:hover span,
45
44
  h3:hover span,
@@ -54,24 +53,15 @@ h6:hover span {
54
53
  color: #6C8C22;
55
54
  text-decoration: none;
56
55
  }
56
+
57
57
  :link:hover,
58
58
  :visited:hover {
59
59
  border-bottom: 1px dotted #6C8C22;
60
60
  }
61
61
 
62
+ code,
62
63
  pre {
63
- background: #ddd;
64
- padding: 0.5em 0;
65
- }
66
-
67
- blockquote {
68
- background: #ddd;
69
- margin: 1em;
70
- padding: 0.25em;
71
- }
72
-
73
- blockquote > :first-child {
74
- margin-top: 0 !important;
64
+ font-family: "Source Code Pro", Monaco, monospace;
75
65
  }
76
66
 
77
67
  /* @group Generic Classes */
@@ -82,10 +72,13 @@ blockquote > :first-child {
82
72
 
83
73
  #search-field {
84
74
  width: 98%;
85
- background: #eee;
75
+ background: white;
86
76
  border: none;
87
77
  height: 1.5em;
88
78
  -webkit-border-radius: 4px;
79
+ -moz-border-radius: 4px;
80
+ border-radius: 4px;
81
+ text-align: left;
89
82
  }
90
83
  #search-field:focus {
91
84
  background: #f1edba;
@@ -121,44 +114,31 @@ blockquote > :first-child {
121
114
  /* @end */
122
115
 
123
116
  /* @group Index Page, Standalone file pages */
124
- .indexpage ul {
125
- line-height: 160%;
117
+ .table-of-contents ul {
118
+ margin: 1em;
126
119
  list-style: none;
127
120
  }
128
- .indexpage ul :link,
129
- .indexpage ul :visited {
130
- font-size: 16px;
131
- }
132
121
 
133
- .indexpage li {
134
- padding-left: 20px;
122
+ .table-of-contents ul ul {
123
+ margin-top: 0.25em;
135
124
  }
136
125
 
137
- .indexpage ul > li {
138
- background: url(images/bullet_black.png) no-repeat left 4px;
139
- }
140
- .indexpage li.method {
141
- background: url(images/plugin.png) no-repeat left 4px;
142
- }
143
- .indexpage li.module {
144
- background: url(images/package.png) no-repeat left 4px;
145
- }
146
- .indexpage li.class {
147
- background: url(images/ruby.png) no-repeat left 4px;
148
- }
149
- .indexpage li.file {
150
- 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;
151
129
  }
152
- .indexpage li li {
153
- background: url(images/tag_blue.png) no-repeat left 4px;
130
+
131
+ .table-of-contents li {
132
+ margin-bottom: 0.25em;
154
133
  }
155
- .indexpage li .toc-toggle {
134
+
135
+ .table-of-contents li .toc-toggle {
156
136
  width: 16px;
157
137
  height: 16px;
158
138
  background: url(images/add.png) no-repeat;
159
139
  }
160
140
 
161
- .indexpage li .toc-toggle.open {
141
+ .table-of-contents li .toc-toggle.open {
162
142
  background: url(images/delete.png) no-repeat;
163
143
  }
164
144
 
@@ -166,14 +146,32 @@ blockquote > :first-child {
166
146
 
167
147
  /* @group Top-Level Structure */
168
148
 
169
- #metadata {
149
+ nav {
170
150
  float: left;
171
151
  width: 260px;
152
+ font-family: Helvetica, sans-serif;
153
+ font-size: 14px;
172
154
  }
173
155
 
174
- #documentation {
175
- margin: 2em 1em 5em 300px;
156
+ main {
157
+ display: block;
158
+ margin: 0 2em 5em 260px;
159
+ padding-left: 20px;
176
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;
177
175
  }
178
176
 
179
177
  #validator-badges {
@@ -184,67 +182,74 @@ blockquote > :first-child {
184
182
 
185
183
  /* @end */
186
184
 
187
- /* @group Metadata Section */
188
- #metadata .section {
189
- background-color: #dedede;
190
- -moz-border-radius: 5px;
191
- -webkit-border-radius: 5px;
192
- border: 1px solid #aaa;
193
- margin: 0 8px 8px;
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;
194
193
  font-size: 90%;
195
194
  overflow: hidden;
196
195
  }
197
- #metadata h3.section-header {
196
+
197
+ nav h2 {
198
198
  margin: 0;
199
- padding: 2px 8px;
200
- background: #ccc;
201
- color: #666;
202
- -moz-border-radius-topleft: 4px;
203
- -moz-border-radius-topright: 4px;
204
- -webkit-border-top-left-radius: 4px;
205
- -webkit-border-top-right-radius: 4px;
206
- 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;
207
204
  }
208
- #metadata #home-section h3.section-header {
209
- border-bottom: 0;
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;
210
213
  }
211
214
 
212
- #metadata ul,
213
- #metadata dl,
214
- #metadata p {
215
- padding: 8px;
215
+ nav ul,
216
+ nav dl,
217
+ nav p {
218
+ padding: 4px 8px 0;
216
219
  list-style: none;
217
220
  }
218
221
 
219
- #file-metadata {
220
- margin-top: 2em;
222
+ #project-navigation .nav-section {
223
+ margin: 0;
224
+ border-top: 0;
221
225
  }
222
226
 
223
- #file-metadata ul {
224
- padding-left: 28px;
225
- list-style-image: url(images/page_green.png);
227
+ #home-section h2 {
228
+ text-align: center;
226
229
  }
227
230
 
228
- #table-of-contents {
229
- margin-top: 2em;
231
+ #table-of-contents-navigation {
232
+ font-size: 1.2em;
233
+ font-weight: bold;
234
+ text-align: center;
230
235
  }
231
236
 
232
- #table-of-contents ul {
233
- padding-left: 28px;
234
- list-style-image: url(images/tag_blue.png);
237
+ #search-section {
238
+ margin-top: 0;
239
+ border-top: 0;
235
240
  }
236
241
 
237
- dl.svninfo {
238
- color: #666;
239
- margin: 0;
240
- }
241
- dl.svninfo dt {
242
- font-weight: bold;
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;
243
248
  }
244
249
 
245
250
  ul.link-list li {
246
251
  white-space: nowrap;
247
- line-height: 20px;
252
+ line-height: 1.4em;
248
253
  }
249
254
 
250
255
  ul.link-list .type {
@@ -262,100 +267,119 @@ ul.link-list .type {
262
267
 
263
268
  /* @end */
264
269
 
265
- /* @group Class Metadata Section */
266
- #class-metadata {
267
- margin-top: 2em;
270
+ /* @group Documentation Section */
271
+ main {
272
+ color: #333;
268
273
  }
269
- /* @end */
270
274
 
271
- /* @group Project Metadata Section */
272
- #project-metadata {
273
- margin-top: 2em;
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;
274
282
  }
275
283
 
276
- #project-metadata .section {
277
- border: 1px solid #aaa;
284
+ main sup {
285
+ vertical-align: super;
286
+ font-size: 0.8em;
278
287
  }
279
- #project-metadata h3.section-header {
280
- border-bottom: 1px solid #aaa;
281
- position: relative;
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;
282
295
  }
283
296
 
284
- #project-metadata form {
285
- color: #777;
286
- background: #ccc;
297
+ main h1 {
298
+ margin: 2em 0 0.5em;
299
+ font-size: 1.7em;
287
300
  }
288
301
 
289
- /* @end */
302
+ main h2 {
303
+ margin: 2em 0 0.5em;
304
+ font-size: 1.5em;
305
+ }
290
306
 
291
- /* @group Documentation Section */
292
- .description {
293
- font-size: 100%;
294
- color: #333;
307
+ main h3 {
308
+ margin: 2em 0 0.5em;
309
+ font-size: 1.2em;
295
310
  }
296
311
 
297
- .description p {
298
- margin: 1em 0.4em;
312
+ main h4 {
313
+ margin: 2em 0 0.5em;
314
+ font-size: 1.1em;
299
315
  }
300
316
 
301
- .description li p {
302
- margin: 0;
317
+ main h5 {
318
+ margin: 2em 0 0.5em;
319
+ font-size: 1em;
303
320
  }
304
321
 
305
- .description ol,
306
- .description ul {
307
- margin-left: 1.5em;
322
+ main h6 {
323
+ margin: 2em 0 0.5em;
324
+ font-size: 1em;
308
325
  }
309
- .description ol li,
310
- .description ul li {
326
+
327
+ main p {
328
+ margin: 0 0 0.5em;
311
329
  line-height: 1.4em;
312
330
  }
313
331
 
314
- .note-list {
315
- margin: 8px 0;
332
+ main pre {
333
+ margin: 1.2em 0.5em;
334
+ padding: 1em;
335
+ font-size: 0.8em;
316
336
  }
317
337
 
318
- .label-list {
319
- margin: 8px 1.5em;
320
- border: 1px solid #ccc;
338
+ main hr {
339
+ margin: 1.5em 1em;
340
+ border: 2px solid #ddd;
321
341
  }
322
- .description .label-list {
323
- font-size: 14px;
342
+
343
+ main blockquote {
344
+ margin: 0 2em 1.2em 1.2em;
345
+ padding-left: 0.5em;
346
+ border-left: 2px solid #ddd;
324
347
  }
325
348
 
326
- .note-list dt {
327
- font-weight: bold;
349
+ main ol,
350
+ main ul {
351
+ margin: 1em 2em;
328
352
  }
329
- .note-list dd {
330
- padding: 0 12px;
353
+
354
+ main li > p {
355
+ margin-bottom: 0.5em;
331
356
  }
332
357
 
333
- .label-list dt {
334
- padding: 2px 4px;
335
- font-weight: bold;
336
- background: #ddd;
358
+ main dl {
359
+ margin: 1em 0.5em;
337
360
  }
338
- .label-list dd {
339
- padding: 2px 12px;
361
+
362
+ main dt {
363
+ margin-bottom: 0.5em;
364
+ font-weight: bold;
340
365
  }
341
- .label-list dd + dt,
342
- .note-list dd + dt {
343
- margin-top: 0.7em;
366
+
367
+ main dd {
368
+ margin: 0 1em 1em 0.5em;
344
369
  }
345
370
 
346
- #documentation .section {
347
- font-size: 90%;
371
+ main header h2 {
372
+ margin-top: 2em;
373
+ border-width: 0;
374
+ border-top: 4px solid #bbb;
375
+ font-size: 130%;
348
376
  }
349
377
 
350
- #documentation h2.section-header {
351
- margin-top: 1em;
352
- padding: 0.25em 0.5em;
353
- background: #ccc;
354
- color: #333;
355
- font-size: 175%;
356
- border: 1px solid #bbb;
357
- -moz-border-radius: 3px;
358
- -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%;
359
383
  }
360
384
 
361
385
  .documentation-section-title {
@@ -364,47 +388,35 @@ ul.link-list .type {
364
388
  .documentation-section-title .section-click-top {
365
389
  position: absolute;
366
390
  top: 6px;
367
- right: 12px;
391
+ left: 12px;
368
392
  font-size: 10px;
369
393
  color: #9b9877;
370
394
  visibility: hidden;
371
- padding-right: 0.5px;
395
+ padding-left: 0.5px;
372
396
  }
373
397
 
374
398
  .documentation-section-title:hover .section-click-top {
375
399
  visibility: visible;
376
400
  }
377
401
 
378
- #documentation h3.section-header {
379
- margin-top: 1em;
380
- padding: 0.25em 0.5em;
381
- background-color: #dedede;
382
- color: #333;
383
- font-size: 150%;
384
- border: 1px solid #bbb;
385
- -moz-border-radius: 3px;
386
- -webkit-border-radius: 3px;
387
- }
388
-
389
- #constants-list > dl,
390
- #attributes-list > dl {
402
+ .constants-list > dl {
391
403
  margin: 1em 0 2em;
392
404
  border: 0;
393
405
  }
394
- #constants-list > dl dt,
395
- #attributes-list > dl dt {
406
+
407
+ .constants-list > dl dt {
408
+ margin-bottom: 0.75em;
396
409
  padding-left: 0;
397
- font-weight: bold;
398
- font-family: Monaco, "Andale Mono";
399
- background: inherit;
410
+ font-family: "Source Code Pro", Monaco, monospace;
411
+ font-size: 110%;
400
412
  }
401
- #constants-list > dl dt a,
402
- #attributes-list > dl dt a {
413
+
414
+ .constants-list > dl dt a {
403
415
  color: inherit;
404
416
  }
405
- #constants-list > dl dd,
406
- #attributes-list > dl dd {
407
- margin: 0 0 1em 0;
417
+
418
+ .constants-list > dl dd {
419
+ margin: 0 0 2em 0;
408
420
  padding: 0;
409
421
  color: #666;
410
422
  }
@@ -428,93 +440,77 @@ ul.link-list .type {
428
440
 
429
441
  /* @group Method Details */
430
442
 
431
- #documentation .method-source-code {
443
+ main .method-source-code {
432
444
  display: none;
433
445
  }
434
446
 
435
- #documentation .method-description .method-calls-super {
447
+ main .method-description .method-calls-super {
436
448
  color: #333;
437
- font-weight: bolder;
449
+ font-weight: bold;
438
450
  }
439
451
 
440
- #documentation .method-detail {
441
- margin: 0.5em 0;
442
- padding: 0.5em 0;
452
+ main .method-detail {
453
+ margin-bottom: 2.5em;
443
454
  cursor: pointer;
444
455
  }
445
- #documentation .method-detail:hover {
446
- background-color: #f1edba;
456
+
457
+ main .method-detail:target {
458
+ margin-left: -10px;
459
+ border-left: 10px solid #f1edba;
447
460
  }
448
- #documentation .method-heading {
461
+
462
+ main .method-heading {
449
463
  position: relative;
450
- padding: 2px 4px 0 20px;
451
- font-size: 125%;
464
+ font-family: "Source Code Pro", Monaco, monospace;
465
+ font-size: 110%;
452
466
  font-weight: bold;
453
467
  color: #333;
454
- background: url(images/brick.png) no-repeat left bottom;
455
468
  }
456
- #documentation .method-heading :link,
457
- #documentation .method-heading :visited {
469
+ main .method-heading :link,
470
+ main .method-heading :visited {
458
471
  color: inherit;
459
472
  }
460
- #documentation .method-click-advice {
473
+ main .method-click-advice {
461
474
  position: absolute;
462
475
  top: 2px;
463
476
  right: 5px;
464
- font-size: 10px;
477
+ font-size: 12px;
465
478
  color: #9b9877;
466
479
  visibility: hidden;
467
480
  padding-right: 20px;
468
481
  line-height: 20px;
469
482
  background: url(images/zoom.png) no-repeat right top;
470
483
  }
471
- #documentation .method-heading:hover .method-click-advice {
484
+ main .method-heading:hover .method-click-advice {
472
485
  visibility: visible;
473
486
  }
474
487
 
475
- #documentation .method-alias .method-heading {
476
- color: #666;
477
- background: url(images/brick_link.png) no-repeat left bottom;
478
- }
479
-
480
- #documentation .method-description,
481
- #documentation .aliases {
482
- margin: 0 20px;
488
+ main .method-alias .method-heading {
483
489
  color: #666;
484
490
  }
485
491
 
486
- #documentation .method-description p,
487
- #documentation .aliases p {
488
- line-height: 1.2em;
492
+ main .method-description,
493
+ main .aliases {
494
+ margin-top: 0.75em;
495
+ color: #333;
489
496
  }
490
497
 
491
- #documentation .aliases {
498
+ main .aliases {
492
499
  padding-top: 4px;
493
500
  font-style: italic;
494
501
  cursor: default;
495
502
  }
496
- #documentation .method-description p {
497
- margin-bottom: 0.5em;
498
- }
499
- #documentation .method-description ul {
503
+ main .method-description ul {
500
504
  margin-left: 1.5em;
501
505
  }
502
- pre {
503
- margin: 0.5em 0;
504
- }
505
506
 
506
- #documentation .attribute-method-heading {
507
- background: url(images/tag_green.png) no-repeat left bottom;
508
- }
509
- #documentation #attribute-method-details .method-detail:hover {
507
+ main #attribute-method-details .method-detail:hover {
510
508
  background-color: transparent;
511
509
  cursor: default;
512
510
  }
513
- #documentation .attribute-access-type {
514
- font-size: 60%;
511
+ main .attribute-access-type {
515
512
  text-transform: uppercase;
516
- vertical-align: super;
517
- padding: 0 2px;
513
+ padding: 0 1em;
518
514
  }
519
515
  /* @end */
520
516
 
@@ -523,15 +519,12 @@ pre {
523
519
  /* @group Source Code */
524
520
 
525
521
  pre {
526
- overflow: auto;
527
- background: #262626;
528
- color: white;
522
+ margin: 0.5em 0;
529
523
  border: 1px dashed #999;
530
524
  padding: 0.5em;
531
- }
532
-
533
- .description pre {
534
- margin: 0 0.4em;
525
+ background: #262626;
526
+ color: white;
527
+ overflow: auto;
535
528
  }
536
529
 
537
530
  .ruby-constant { color: #7fffd4; background: transparent; }
@@ -540,7 +533,7 @@ pre {
540
533
  .ruby-operator { color: #00ffee; background: transparent; }
541
534
  .ruby-identifier { color: #ffdead; background: transparent; }
542
535
  .ruby-node { color: #ffa07a; background: transparent; }
543
- .ruby-comment { color: #dc0000; font-weight: bold; background: transparent; }
536
+ .ruby-comment { color: #dc0000; background: transparent; }
544
537
  .ruby-regexp { color: #ffa07a; background: transparent; }
545
538
  .ruby-value { color: #7fffd4; background: transparent; }
546
539
 
@@ -548,23 +541,24 @@ pre {
548
541
 
549
542
 
550
543
  /* @group search results */
551
- #search-results h1 {
552
- font-size: 1em;
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;
553
551
  font-weight: normal;
554
- text-shadow: none;
555
552
  }
556
553
 
557
- #search-results .current {
558
- background: #ccc;
554
+ #search-results .search-selected {
555
+ background: #e8e8e8;
559
556
  border-bottom: 1px solid transparent;
560
557
  }
561
558
 
562
559
  #search-results li {
563
560
  list-style: none;
564
561
  border-bottom: 1px solid #aaa;
565
- -moz-border-radius: 4px;
566
- -webkit-border-radius: 4px;
567
- border-radius: 4px;
568
562
  margin-bottom: 0.5em;
569
563
  }
570
564
 
@@ -589,6 +583,7 @@ pre {
589
583
 
590
584
  #search-results pre {
591
585
  margin: 0.5em;
586
+ font-family: "Source Code Pro", Monaco, monospace;
592
587
  }
593
588
 
594
589
  /* @end */