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 */
101
.file #documentation ul {
106
.indexpage ul :visited {
111
.file #documentation li {
113
background: url(images/bullet_black.png) no-repeat left 4px;
115
.indexpage li.module {
116
background: url(images/package.png) no-repeat left 4px;
118
.indexpage li.class {
119
background: url(images/ruby.png) no-repeat left 4px;
122
background: url(images/page_white_text.png) no-repeat left 4px;
131
/* @group Top-Level Structure */
140
.class #documentation,
141
.file #documentation,
142
.module #documentation {
143
margin: 2em 1em 5em 300px;
158
/* @group Metadata Section */
160
background-color: #dedede;
161
-moz-border-radius: 5px;
162
-webkit-border-radius: 5px;
163
border: 1px solid #aaa;
168
#metadata h3.section-header {
173
-moz-border-radius-topleft: 4px;
174
-moz-border-radius-topright: 4px;
175
-webkit-border-top-left-radius: 4px;
176
-webkit-border-top-right-radius: 4px;
177
border-bottom: 1px solid #aaa;
179
#metadata #home-section h3.section-header {
192
list-style-image: url(images/page_green.png);
208
text-transform: uppercase;
212
-webkit-border-radius: 5px;
218
/* @group Project Metadata Section */
223
.file #project-metadata {
227
#project-metadata .section {
228
border: 1px solid #aaa;
230
#project-metadata h3.section-header {
231
border-bottom: 1px solid #aaa;
234
#project-metadata h3.section-header .search-toggle {
240
#project-metadata form {
243
padding: 8px 8px 16px;
244
border-bottom: 1px solid #bbb;
246
#project-metadata fieldset {
250
#no-class-search-results {
261
/* @group Documentation Section */
285
border: 1px solid #ccc;
301
#description dd + dt,
302
#documentation dd + dt {
306
#documentation .section {
309
#documentation h3.section-header {
311
padding: 0.75em 0.5em;
312
background-color: #dedede;
315
border: 1px solid #bbb;
316
-moz-border-radius: 3px;
317
-webkit-border-radius: 3px;
320
#constants-list > dl,
321
#attributes-list > dl {
325
#constants-list > dl dt,
326
#attributes-list > dl dt {
329
font-family: Monaco, "Andale Mono";
332
#constants-list > dl dt a,
333
#attributes-list > dl dt a {
336
#constants-list > dl dd,
337
#attributes-list > dl dd {
343
/* @group Method Details */
345
#documentation .method-source-code {
349
#documentation .method-detail {
354
#documentation .method-detail:hover {
355
background-color: #f1edba;
357
#documentation .method-heading {
359
padding: 2px 4px 0 20px;
363
background: url(images/brick.png) no-repeat left bottom;
365
#documentation .method-heading :link,
366
#documentation .method-heading :visited {
369
#documentation .method-click-advice {
378
background: url(images/zoom.png) no-repeat right top;
380
#documentation .method-detail:hover .method-click-advice {
384
#documentation .method-alias .method-heading {
386
background: url(images/brick_link.png) no-repeat left bottom;
389
#documentation .method-description,
390
#documentation .aliases {
395
#documentation .aliases {
400
#documentation .method-description p {
403
#documentation .method-description p + p {
404
margin-bottom: 0.5em;
406
#documentation .method-description ul {
410
#documentation .attribute-method-heading {
411
background: url(images/tag_green.png) no-repeat left bottom;
413
#documentation #attribute-method-details .method-detail:hover {
414
background-color: transparent;
417
#documentation .attribute-access-type {
419
text-transform: uppercase;
420
vertical-align: super;
429
/* @group Source Code */
431
div.method-source-code {
436
border: 1px dashed #999;
440
div.method-source-code pre {
447
/* @group Ruby keyword styles */
449
.ruby-constant { color: #7fffd4; background: transparent; }
450
.ruby-keyword { color: #00ffff; background: transparent; }
451
.ruby-ivar { color: #eedd82; background: transparent; }
452
.ruby-operator { color: #00ffee; background: transparent; }
453
.ruby-identifier { color: #ffdead; background: transparent; }
454
.ruby-node { color: #ffa07a; background: transparent; }
455
.ruby-comment { color: #b22222; font-weight: bold; background: transparent; }
456
.ruby-regexp { color: #ffa07a; background: transparent; }
457
.ruby-value { color: #7fffd4; background: transparent; }
463
/* @group File Popup Contents */
466
.file-popup #metadata {
472
background-color: #dedede;
474
border: 1px solid #bbb;
475
-moz-border-radius: 3px;
476
-webkit-border-radius: 3px;
482
background: url(images/page_white_width.png) no-repeat left top;
484
.file dt.modified-date {
485
background: url(images/date.png) no-repeat left top;
488
background: url(images/plugin.png) no-repeat left top;
491
background: url(images/wrench.png) no-repeat left top;
497
.file #metadata dl dd ul {
502
.file #metadata dl dd ul li {
508
padding: 0.75em 0.5em;
509
background-color: #dedede;
512
border: 1px solid #bbb;
513
-moz-border-radius: 3px;
514
-webkit-border-radius: 3px;
522
/* @group ThickBox Styles */
524
font: 12px Arial, Helvetica, sans-serif;
529
font: 10px Arial, Helvetica, sans-serif;
534
#TB_window :visited { color: #666666; }
535
#TB_window :link:hover,
536
#TB_window :visited:hover { color: #000; }
537
#TB_window :link:active,
538
#TB_window :visited:active { color: #666666; }
539
#TB_window :link:focus,
540
#TB_window :visited:focus { color: #666666; }
551
.TB_overlayMacFFBGHack {background: url(images/macFFBgHack.png) repeat;}
553
background-color:#000;
554
filter:alpha(opacity=75);
559
* html #TB_overlay { /* ie6 hack */
561
height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
570
border: 4px solid #525252;
576
* html #TB_window { /* ie6 hack */
578
margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
581
#TB_window img#TB_Image {
583
margin: 15px 0 0 15px;
584
border-right: 1px solid #ccc;
585
border-bottom: 1px solid #ccc;
586
border-top: 1px solid #666;
587
border-left: 1px solid #666;
592
padding:7px 30px 10px 25px;
598
padding:11px 25px 10px 0;
603
padding:7px 10px 5px 0;
611
padding:7px 0 5px 10px;
617
background-color: #6C8C22;
623
color: white !important;
624
border-bottom: 1px dotted #dedede;
629
padding:2px 15px 15px 15px;
635
#TB_ajaxContent.TB_modal{
640
padding:5px 0px 5px 0px;
651
margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */
654
* html #TB_load { /* ie6 hack */
656
margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
664
background-color:#fff;
666
filter:alpha(opacity=0);
673
* html #TB_HideSelect { /* ie6 hack */
675
height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
688
/* @group Debugging Section */
693
#debugging-toggle img {
697
#rdoc-debugging-section-dump {
701
border: 1px solid #999;