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; }
34 text-decoration: none;
37 border-bottom: 1px dotted #6C8C22;
46 /* @group Generic Classes */
55 border: 1px solid #aaa;
57 -webkit-border-radius: 4px;
59 .quicksearch-field:focus {
65 background: white url(images/wrench_orange.png) no-repeat 4px center;
68 border: 1px solid #d00;
74 -webkit-border-radius: 5px;
75 -moz-border-radius: 5px;
79 border: 2px solid #dcce90;
80 border-left-width: 8px;
88 /* @group Index Page, Standalone file pages */
99 .file #documentation ul {
104 .file #documentation ul a {
109 .file #documentation li {
111 background: url(images/bullet_black.png) no-repeat left 4px;
113 .indexpage li.module {
114 background: url(images/package.png) no-repeat left 4px;
116 .indexpage li.class {
117 background: url(images/ruby.png) no-repeat left 4px;
120 background: url(images/page_white_text.png) no-repeat left 4px;
125 /* @group Top-Level Structure */
134 .class #documentation,
135 .file #documentation,
136 .module #documentation {
137 margin: 2em 1em 5em 300px;
152 /* @group Metadata Section */
154 background-color: #dedede;
155 -moz-border-radius: 5px;
156 -webkit-border-radius: 5px;
157 border: 1px solid #aaa;
162 #metadata h3.section-header {
167 -moz-border-radius-topleft: 4px;
168 -moz-border-radius-topright: 4px;
169 -webkit-border-top-left-radius: 4px;
170 -webkit-border-top-right-radius: 4px;
171 border-bottom: 1px solid #aaa;
182 list-style-image: url(images/page_green.png);
198 text-transform: uppercase;
202 -webkit-border-radius: 5px;
208 /* @group Project Metadata Section */
213 .file #project-metadata {
217 #project-metadata .section {
218 border: 1px solid #aaa;
220 #project-metadata h3.section-header {
221 border-bottom: 1px solid #aaa;
224 #project-metadata h3.section-header .search-toggle {
230 #project-metadata form {
233 padding: 8px 8px 16px;
234 border-bottom: 1px solid #bbb;
236 #project-metadata fieldset {
240 #no-class-search-results {
251 /* @group Documentation Section */
271 border: 1px solid #ccc;
287 #description dd + dt,
288 #documentation dd + dt {
292 #documentation .section {
295 #documentation h3.section-header {
297 padding: 0.75em 0.5em;
298 background-color: #dedede;
301 border: 1px solid #bbb;
302 -moz-border-radius: 3px;
303 -webkit-border-radius: 3px;
306 #constants-list > dl,
307 #attributes-list > dl {
311 #constants-list > dl dt,
312 #attributes-list > dl dt {
315 font-family: Monaco, "Andale Mono";
318 #constants-list > dl dt a,
319 #attributes-list > dl dt a {
322 #constants-list > dl dd,
323 #attributes-list > dl dd {
329 /* @group Method Details */
331 #documentation .method-source-code {
335 #documentation .method-detail {
340 #documentation .method-detail:hover {
341 background-color: #f1edba;
343 #documentation .method-alias {
346 #documentation .method-heading {
348 padding: 2px 4px 0 20px;
352 background: url(images/brick.png) no-repeat left bottom;
354 #documentation .method-heading a {
357 #documentation .method-click-advice {
366 background: url(images/zoom.png) no-repeat right top;
368 #documentation .method-detail:hover .method-click-advice {
372 #documentation .method-alias .method-heading {
374 background: url(images/brick_link.png) no-repeat left bottom;
377 #documentation .method-description,
378 #documentation .aliases {
383 #documentation .aliases {
388 #documentation .method-description p {
391 #documentation .method-description p + p {
392 margin-bottom: 0.5em;
395 #documentation .attribute-method-heading {
396 background: url(images/tag_green.png) no-repeat left bottom;
398 #documentation #attribute-method-details .method-detail:hover {
399 background-color: transparent;
402 #documentation .attribute-access-type {
404 text-transform: uppercase;
405 vertical-align: super;
414 /* @group Source Code */
419 a.source-toggle img {
423 div.method-source-code {
428 border: 1px dashed #999;
432 div.method-source-code pre {
439 /* @group Ruby keyword styles */
441 .standalone-code { background: #221111; color: #ffdead; overflow: hidden; }
443 .ruby-constant { color: #7fffd4; background: transparent; }
444 .ruby-keyword { color: #00ffff; background: transparent; }
445 .ruby-ivar { color: #eedd82; background: transparent; }
446 .ruby-operator { color: #00ffee; background: transparent; }
447 .ruby-identifier { color: #ffdead; background: transparent; }
448 .ruby-node { color: #ffa07a; background: transparent; }
449 .ruby-comment { color: #b22222; font-weight: bold; background: transparent; }
450 .ruby-regexp { color: #ffa07a; background: transparent; }
451 .ruby-value { color: #7fffd4; background: transparent; }
457 /* @group File Popup Contents */
460 .file-popup #metadata {
466 background-color: #dedede;
468 border: 1px solid #bbb;
469 -moz-border-radius: 3px;
470 -webkit-border-radius: 3px;
476 background: url(images/page_white_width.png) no-repeat left top;
478 .file dt.modified-date {
479 background: url(images/date.png) no-repeat left top;
482 background: url(images/plugin.png) no-repeat left top;
485 background: url(images/wrench.png) no-repeat left top;
491 .file #metadata dl dd ul {
496 .file #metadata dl dd ul li {
502 padding: 0.75em 0.5em;
503 background-color: #dedede;
506 border: 1px solid #bbb;
507 -moz-border-radius: 3px;
508 -webkit-border-radius: 3px;
516 /* @group ThickBox Styles */
518 font: 12px Arial, Helvetica, sans-serif;
523 font: 10px Arial, Helvetica, sans-serif;
527 #TB_window a:link {color: #666666;}
528 #TB_window a:visited {color: #666666;}
529 #TB_window a:hover {color: #000;}
530 #TB_window a:active {color: #666666;}
531 #TB_window a:focus{color: #666666;}
542 .TB_overlayMacFFBGHack {background: url(images/macFFBgHack.png) repeat;}
544 background-color:#000;
545 filter:alpha(opacity=75);
550 * html #TB_overlay { /* ie6 hack */
552 height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
561 border: 4px solid #525252;
567 * html #TB_window { /* ie6 hack */
569 margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
572 #TB_window img#TB_Image {
574 margin: 15px 0 0 15px;
575 border-right: 1px solid #ccc;
576 border-bottom: 1px solid #ccc;
577 border-top: 1px solid #666;
578 border-left: 1px solid #666;
583 padding:7px 30px 10px 25px;
589 padding:11px 25px 10px 0;
594 padding:7px 10px 5px 0;
602 padding:7px 0 5px 10px;
608 background-color: #6C8C22;
613 color: white !important;
614 border-bottom: 1px dotted #dedede;
619 padding:2px 15px 15px 15px;
625 #TB_ajaxContent.TB_modal{
630 padding:5px 0px 5px 0px;
641 margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */
644 * html #TB_load { /* ie6 hack */
646 margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
654 background-color:#fff;
656 filter:alpha(opacity=0);
663 * html #TB_HideSelect { /* ie6 hack */
665 height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
678 /* @group Debugging Section */
683 #debugging-toggle img {
687 #rdoc-debugging-section-dump {
691 border: 1px solid #999;