3
* $Id: rdoc.css 54 2009-01-27 01:09:48Z deveiant $
5
* Author: Michael Granger <ged@FaerieMUD.org>
9
/* Base Green is: #6C8C22 */
11
*{ padding: 0; margin: 0; }
15
font: 14px "Helvetica Neue", Helvetica, Tahoma, sans-serif;
17
body.class, body.module, body.file {
27
text-shadow: rgba(135,145,135,0.65) 2px 2px 3px;
30
h2,h3,h4 { margin-top: 1.5em; }
35
text-decoration: none;
39
border-bottom: 1px dotted #6C8C22;
48
/* @group Generic Classes */
57
border: 1px solid #aaa;
59
-webkit-border-radius: 4px;
61
.quicksearch-field:focus {
67
background: white url(images/wrench_orange.png) no-repeat 4px center;
70
border: 1px solid #d00;
76
-webkit-border-radius: 5px;
77
-moz-border-radius: 5px;
81
border: 2px solid #dcce90;
82
border-left-width: 8px;
90
/* @group Index Page, Standalone file pages */
100
.indexpage .rdoc-list p, .file .rdoc-list p {
105
.file #documentation ol {
110
.file #documentation ul {
115
.indexpage ul :visited {
120
.file #documentation li {
125
.file #documentation ol {
130
.file #documentation ol > li {
135
.file #documentation ul > li {
136
background: url(images/bullet_black.png) no-repeat left 4px;
138
.indexpage li.module {
139
background: url(images/package.png) no-repeat left 4px;
141
.indexpage li.class {
142
background: url(images/ruby.png) no-repeat left 4px;
145
background: url(images/page_white_text.png) no-repeat left 4px;
154
/* @group Top-Level Structure */
163
.class #documentation,
164
.file #documentation,
165
.module #documentation {
166
margin: 2em 1em 5em 300px;
181
/* @group Metadata Section */
183
background-color: #dedede;
184
-moz-border-radius: 5px;
185
-webkit-border-radius: 5px;
186
border: 1px solid #aaa;
191
#metadata h3.section-header {
196
-moz-border-radius-topleft: 4px;
197
-moz-border-radius-topright: 4px;
198
-webkit-border-top-left-radius: 4px;
199
-webkit-border-top-right-radius: 4px;
200
border-bottom: 1px solid #aaa;
202
#metadata #home-section h3.section-header {
215
list-style-image: url(images/page_green.png);
231
text-transform: uppercase;
235
-webkit-border-radius: 5px;
241
/* @group Project Metadata Section */
246
.file #project-metadata {
250
#project-metadata .section {
251
border: 1px solid #aaa;
253
#project-metadata h3.section-header {
254
border-bottom: 1px solid #aaa;
257
#project-metadata h3.section-header .search-toggle {
263
#project-metadata form {
266
padding: 8px 8px 16px;
267
border-bottom: 1px solid #bbb;
269
#project-metadata fieldset {
273
#no-class-search-results {
284
/* @group Documentation Section */
308
border: 1px solid #ccc;
324
.description dd + dt,
325
#documentation dd + dt {
329
#documentation .section {
333
#documentation h2.section-header {
335
padding: 0.75em 0.5em;
339
border: 1px solid #bbb;
340
-moz-border-radius: 3px;
341
-webkit-border-radius: 3px;
344
#documentation h3.section-header {
346
padding: 0.25em 0.5em;
347
background-color: #dedede;
350
border: 1px solid #bbb;
351
-moz-border-radius: 3px;
352
-webkit-border-radius: 3px;
355
#constants-list > dl,
356
#attributes-list > dl {
360
#constants-list > dl dt,
361
#attributes-list > dl dt {
364
font-family: Monaco, "Andale Mono";
367
#constants-list > dl dt a,
368
#attributes-list > dl dt a {
371
#constants-list > dl dd,
372
#attributes-list > dl dd {
378
.documentation-section h2 {
382
.documentation-section h2 a {
391
.documentation-section h2:hover a {
395
/* @group Method Details */
397
#documentation .method-source-code {
401
#documentation .method-detail {
406
#documentation .method-detail:hover {
407
background-color: #f1edba;
409
#documentation .method-heading {
411
padding: 2px 4px 0 20px;
415
background: url(images/brick.png) no-repeat left bottom;
417
#documentation .method-heading :link,
418
#documentation .method-heading :visited {
421
#documentation .method-click-advice {
430
background: url(images/zoom.png) no-repeat right top;
432
#documentation .method-detail:hover .method-click-advice {
436
#documentation .method-alias .method-heading {
438
background: url(images/brick_link.png) no-repeat left bottom;
441
#documentation .method-description,
442
#documentation .aliases {
447
#documentation .method-description p,
448
#documentation .aliases p {
452
#documentation .aliases {
457
#documentation .method-description p {
460
#documentation .method-description p + p {
461
margin-bottom: 0.5em;
463
#documentation .method-description ul {
467
#documentation .attribute-method-heading {
468
background: url(images/tag_green.png) no-repeat left bottom;
470
#documentation #attribute-method-details .method-detail:hover {
471
background-color: transparent;
474
#documentation .attribute-access-type {
476
text-transform: uppercase;
477
vertical-align: super;
486
/* @group Source Code */
488
div.method-source-code {
493
border: 1px dashed #999;
497
div.method-source-code pre {
504
/* @group Ruby keyword styles */
506
.ruby-constant { color: #7fffd4; background: transparent; }
507
.ruby-keyword { color: #00ffff; background: transparent; }
508
.ruby-ivar { color: #eedd82; background: transparent; }
509
.ruby-operator { color: #00ffee; background: transparent; }
510
.ruby-identifier { color: #ffdead; background: transparent; }
511
.ruby-node { color: #ffa07a; background: transparent; }
512
.ruby-comment { color: #b22222; font-weight: bold; background: transparent; }
513
.ruby-regexp { color: #ffa07a; background: transparent; }
514
.ruby-value { color: #7fffd4; background: transparent; }
520
/* @group File Popup Contents */
523
.file-popup #metadata {
529
background-color: #dedede;
531
border: 1px solid #bbb;
532
-moz-border-radius: 3px;
533
-webkit-border-radius: 3px;
539
background: url(images/page_white_width.png) no-repeat left top;
541
.file dt.modified-date {
542
background: url(images/date.png) no-repeat left top;
545
background: url(images/plugin.png) no-repeat left top;
548
background: url(images/wrench.png) no-repeat left top;
554
.file #metadata dl dd ul {
559
.file #metadata dl dd ul li {
565
padding: 0.75em 0.5em;
566
background-color: #dedede;
569
border: 1px solid #bbb;
570
-moz-border-radius: 3px;
571
-webkit-border-radius: 3px;
579
/* @group ThickBox Styles */
581
font: 12px Arial, Helvetica, sans-serif;
586
font: 10px Arial, Helvetica, sans-serif;
591
#TB_window :visited { color: #666666; }
592
#TB_window :link:hover,
593
#TB_window :visited:hover { color: #000; }
594
#TB_window :link:active,
595
#TB_window :visited:active { color: #666666; }
596
#TB_window :link:focus,
597
#TB_window :visited:focus { color: #666666; }
608
.TB_overlayMacFFBGHack {background: url(images/macFFBgHack.png) repeat;}
610
background-color:#000;
611
filter:alpha(opacity=75);
616
* html #TB_overlay { /* ie6 hack */
618
height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
627
border: 4px solid #525252;
633
* html #TB_window { /* ie6 hack */
635
margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
638
#TB_window img#TB_Image {
640
margin: 15px 0 0 15px;
641
border-right: 1px solid #ccc;
642
border-bottom: 1px solid #ccc;
643
border-top: 1px solid #666;
644
border-left: 1px solid #666;
649
padding:7px 30px 10px 25px;
655
padding:11px 25px 10px 0;
660
padding:7px 10px 5px 0;
668
padding:7px 0 5px 10px;
674
background-color: #6C8C22;
680
color: white !important;
681
border-bottom: 1px dotted #dedede;
686
padding:2px 15px 15px 15px;
692
#TB_ajaxContent.TB_modal{
697
padding:5px 0px 5px 0px;
708
margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */
711
* html #TB_load { /* ie6 hack */
713
margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
721
background-color:#fff;
723
filter:alpha(opacity=0);
730
* html #TB_HideSelect { /* ie6 hack */
732
height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
745
/* @group Debugging Section */
750
#debugging-toggle img {
754
#rdoc-debugging-section-dump {
758
border: 1px solid #999;