qiflib 0.2.0 → 0.3.0

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.
data/html/rdoc.css CHANGED
@@ -6,15 +6,14 @@
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
- *{ padding: 0; margin: 0; }
12
+ * { padding: 0; margin: 0; }
12
13
 
13
14
  body {
14
15
  background: #efefef;
15
16
  font: 14px "Helvetica Neue", Helvetica, Tahoma, sans-serif;
16
- }
17
- body.class, body.module, body.file {
18
17
  margin-left: 40px;
19
18
  }
20
19
  body.file-popup {
@@ -29,6 +28,27 @@ h1 {
29
28
  }
30
29
  h2,h3,h4 { margin-top: 1.5em; }
31
30
 
31
+ h1 span,
32
+ h2 span,
33
+ h3 span,
34
+ h4 span,
35
+ h5 span,
36
+ h6 span {
37
+ display: none;
38
+ padding-left: 1em;
39
+ font-size: 50%;
40
+ vertical-align: super;
41
+ }
42
+
43
+ h1:hover span,
44
+ h2:hover span,
45
+ h3:hover span,
46
+ h4:hover span,
47
+ h5:hover span,
48
+ h6:hover span {
49
+ display: inline;
50
+ }
51
+
32
52
  :link,
33
53
  :visited {
34
54
  color: #6C8C22;
@@ -44,6 +64,15 @@ pre {
44
64
  padding: 0.5em 0;
45
65
  }
46
66
 
67
+ blockquote {
68
+ background: #ddd;
69
+ margin: 1em;
70
+ padding: 0.25em;
71
+ }
72
+
73
+ blockquote > :first-child {
74
+ margin-top: 0 !important;
75
+ }
47
76
 
48
77
  /* @group Generic Classes */
49
78
 
@@ -51,16 +80,21 @@ pre {
51
80
  display: none;
52
81
  }
53
82
 
54
- .quicksearch-field {
83
+ #search-field {
55
84
  width: 98%;
56
- background: #ddd;
57
- border: 1px solid #aaa;
85
+ background: #eee;
86
+ border: none;
58
87
  height: 1.5em;
59
88
  -webkit-border-radius: 4px;
60
89
  }
61
- .quicksearch-field:focus {
90
+ #search-field:focus {
62
91
  background: #f1edba;
63
92
  }
93
+ #search-field:-moz-placeholder,
94
+ #search-field::-webkit-input-placeholder {
95
+ font-weight: bold;
96
+ color: #666;
97
+ }
64
98
 
65
99
  .missing-docs {
66
100
  font-size: 120%;
@@ -86,28 +120,8 @@ pre {
86
120
 
87
121
  /* @end */
88
122
 
89
-
90
123
  /* @group Index Page, Standalone file pages */
91
- body.indexpage {
92
- margin: 1em 3em;
93
- }
94
- body.indexpage p,
95
- body.indexpage div,
96
- body.file p {
97
- margin: 1em 0;
98
- }
99
-
100
- .indexpage .rdoc-list p, .file .rdoc-list p {
101
- margin: 0em 0;
102
- }
103
-
104
- .indexpage ol,
105
- .file #documentation ol {
106
- line-height: 160%;
107
- }
108
-
109
- .indexpage ul,
110
- .file #documentation ul {
124
+ .indexpage ul {
111
125
  line-height: 160%;
112
126
  list-style: none;
113
127
  }
@@ -116,25 +130,16 @@ body.file p {
116
130
  font-size: 16px;
117
131
  }
118
132
 
119
- .indexpage li,
120
- .file #documentation li {
133
+ .indexpage li {
121
134
  padding-left: 20px;
122
135
  }
123
136
 
124
- .indexpage ol,
125
- .file #documentation ol {
126
- margin-left: 20px;
127
- }
128
-
129
- .indexpage ol > li,
130
- .file #documentation ol > li {
131
- padding-left: 0;
132
- }
133
-
134
- .indexpage ul > li,
135
- .file #documentation ul > li {
137
+ .indexpage ul > li {
136
138
  background: url(images/bullet_black.png) no-repeat left 4px;
137
139
  }
140
+ .indexpage li.method {
141
+ background: url(images/plugin.png) no-repeat left 4px;
142
+ }
138
143
  .indexpage li.module {
139
144
  background: url(images/package.png) no-repeat left 4px;
140
145
  }
@@ -144,36 +149,37 @@ body.file p {
144
149
  .indexpage li.file {
145
150
  background: url(images/page_white_text.png) no-repeat left 4px;
146
151
  }
147
- .file li p,
148
- .indexpage li p {
149
- margin: 0 0;
152
+ .indexpage li li {
153
+ background: url(images/tag_blue.png) no-repeat left 4px;
154
+ }
155
+ .indexpage li .toc-toggle {
156
+ width: 16px;
157
+ height: 16px;
158
+ background: url(images/add.png) no-repeat;
159
+ }
160
+
161
+ .indexpage li .toc-toggle.open {
162
+ background: url(images/delete.png) no-repeat;
150
163
  }
151
164
 
152
165
  /* @end */
153
166
 
154
167
  /* @group Top-Level Structure */
155
168
 
156
- .class #metadata,
157
- .file #metadata,
158
- .module #metadata {
169
+ #metadata {
159
170
  float: left;
160
171
  width: 260px;
161
172
  }
162
173
 
163
- .class #documentation,
164
- .file #documentation,
165
- .module #documentation {
174
+ #documentation {
166
175
  margin: 2em 1em 5em 300px;
167
176
  min-width: 340px;
168
177
  }
169
178
 
170
- .file #metadata {
171
- margin: 0.8em;
172
- }
173
-
174
179
  #validator-badges {
175
180
  clear: both;
176
181
  margin: 1em 1em 2em;
182
+ font-size: smaller;
177
183
  }
178
184
 
179
185
  /* @end */
@@ -184,7 +190,7 @@ body.file p {
184
190
  -moz-border-radius: 5px;
185
191
  -webkit-border-radius: 5px;
186
192
  border: 1px solid #aaa;
187
- margin: 0 8px 16px;
193
+ margin: 0 8px 8px;
188
194
  font-size: 90%;
189
195
  overflow: hidden;
190
196
  }
@@ -210,11 +216,24 @@ body.file p {
210
216
  list-style: none;
211
217
  }
212
218
 
219
+ #file-metadata {
220
+ margin-top: 2em;
221
+ }
222
+
213
223
  #file-metadata ul {
214
224
  padding-left: 28px;
215
225
  list-style-image: url(images/page_green.png);
216
226
  }
217
227
 
228
+ #table-of-contents {
229
+ margin-top: 2em;
230
+ }
231
+
232
+ #table-of-contents ul {
233
+ padding-left: 28px;
234
+ list-style-image: url(images/tag_blue.png);
235
+ }
236
+
218
237
  dl.svninfo {
219
238
  color: #666;
220
239
  margin: 0;
@@ -225,7 +244,9 @@ dl.svninfo dt {
225
244
 
226
245
  ul.link-list li {
227
246
  white-space: nowrap;
247
+ line-height: 20px;
228
248
  }
249
+
229
250
  ul.link-list .type {
230
251
  font-size: 8px;
231
252
  text-transform: uppercase;
@@ -235,16 +256,21 @@ ul.link-list .type {
235
256
  -webkit-border-radius: 5px;
236
257
  }
237
258
 
259
+ .calls-super {
260
+ background: url(images/arrow_up.png) no-repeat right center;
261
+ }
262
+
238
263
  /* @end */
239
264
 
265
+ /* @group Class Metadata Section */
266
+ #class-metadata {
267
+ margin-top: 2em;
268
+ }
269
+ /* @end */
240
270
 
241
271
  /* @group Project Metadata Section */
242
272
  #project-metadata {
243
- margin-top: 3em;
244
- }
245
-
246
- .file #project-metadata {
247
- margin-top: 0em;
273
+ margin-top: 2em;
248
274
  }
249
275
 
250
276
  #project-metadata .section {
@@ -254,33 +280,14 @@ ul.link-list .type {
254
280
  border-bottom: 1px solid #aaa;
255
281
  position: relative;
256
282
  }
257
- #project-metadata h3.section-header .search-toggle {
258
- position: absolute;
259
- right: 5px;
260
- }
261
-
262
283
 
263
284
  #project-metadata form {
264
285
  color: #777;
265
286
  background: #ccc;
266
- padding: 8px 8px 16px;
267
- border-bottom: 1px solid #bbb;
268
- }
269
- #project-metadata fieldset {
270
- border: 0;
271
- }
272
-
273
- #no-class-search-results {
274
- margin: 0 auto 1em;
275
- text-align: center;
276
- font-size: 14px;
277
- font-weight: bold;
278
- color: #aaa;
279
287
  }
280
288
 
281
289
  /* @end */
282
290
 
283
-
284
291
  /* @group Documentation Section */
285
292
  .description {
286
293
  font-size: 100%;
@@ -295,34 +302,44 @@ ul.link-list .type {
295
302
  margin: 0;
296
303
  }
297
304
 
305
+ .description ol,
298
306
  .description ul {
299
307
  margin-left: 1.5em;
300
308
  }
309
+ .description ol li,
301
310
  .description ul li {
302
311
  line-height: 1.4em;
303
312
  }
304
313
 
305
- .description dl,
306
- #documentation dl {
314
+ .note-list {
315
+ margin: 8px 0;
316
+ }
317
+
318
+ .label-list {
307
319
  margin: 8px 1.5em;
308
320
  border: 1px solid #ccc;
309
321
  }
310
- .description dl {
322
+ .description .label-list {
311
323
  font-size: 14px;
312
324
  }
313
325
 
314
- .description dt,
315
- #documentation dt {
326
+ .note-list dt {
327
+ font-weight: bold;
328
+ }
329
+ .note-list dd {
330
+ padding: 0 12px;
331
+ }
332
+
333
+ .label-list dt {
316
334
  padding: 2px 4px;
317
335
  font-weight: bold;
318
336
  background: #ddd;
319
337
  }
320
- .description dd,
321
- #documentation dd {
338
+ .label-list dd {
322
339
  padding: 2px 12px;
323
340
  }
324
- .description dd + dt,
325
- #documentation dd + dt {
341
+ .label-list dd + dt,
342
+ .note-list dd + dt {
326
343
  margin-top: 0.7em;
327
344
  }
328
345
 
@@ -331,8 +348,8 @@ ul.link-list .type {
331
348
  }
332
349
 
333
350
  #documentation h2.section-header {
334
- margin-top: 2em;
335
- padding: 0.75em 0.5em;
351
+ margin-top: 1em;
352
+ padding: 0.25em 0.5em;
336
353
  background: #ccc;
337
354
  color: #333;
338
355
  font-size: 175%;
@@ -341,8 +358,25 @@ ul.link-list .type {
341
358
  -webkit-border-radius: 3px;
342
359
  }
343
360
 
361
+ .documentation-section-title {
362
+ position: relative;
363
+ }
364
+ .documentation-section-title .section-click-top {
365
+ position: absolute;
366
+ top: 6px;
367
+ right: 12px;
368
+ font-size: 10px;
369
+ color: #9b9877;
370
+ visibility: hidden;
371
+ padding-right: 0.5px;
372
+ }
373
+
374
+ .documentation-section-title:hover .section-click-top {
375
+ visibility: visible;
376
+ }
377
+
344
378
  #documentation h3.section-header {
345
- margin-top: 2em;
379
+ margin-top: 1em;
346
380
  padding: 0.25em 0.5em;
347
381
  background-color: #dedede;
348
382
  color: #333;
@@ -398,6 +432,11 @@ ul.link-list .type {
398
432
  display: none;
399
433
  }
400
434
 
435
+ #documentation .method-description .method-calls-super {
436
+ color: #333;
437
+ font-weight: bolder;
438
+ }
439
+
401
440
  #documentation .method-detail {
402
441
  margin: 0.5em 0;
403
442
  padding: 0.5em 0;
@@ -429,7 +468,7 @@ ul.link-list .type {
429
468
  line-height: 20px;
430
469
  background: url(images/zoom.png) no-repeat right top;
431
470
  }
432
- #documentation .method-detail:hover .method-click-advice {
471
+ #documentation .method-heading:hover .method-click-advice {
433
472
  visibility: visible;
434
473
  }
435
474
 
@@ -455,14 +494,14 @@ ul.link-list .type {
455
494
  cursor: default;
456
495
  }
457
496
  #documentation .method-description p {
458
- padding: 0;
459
- }
460
- #documentation .method-description p + p {
461
497
  margin-bottom: 0.5em;
462
498
  }
463
499
  #documentation .method-description ul {
464
500
  margin-left: 1.5em;
465
501
  }
502
+ pre {
503
+ margin: 0.5em 0;
504
+ }
466
505
 
467
506
  #documentation .attribute-method-heading {
468
507
  background: url(images/tag_green.png) no-repeat left bottom;
@@ -481,283 +520,76 @@ ul.link-list .type {
481
520
 
482
521
  /* @end */
483
522
 
484
-
485
-
486
523
  /* @group Source Code */
487
524
 
488
- div.method-source-code {
525
+ pre {
526
+ overflow: auto;
489
527
  background: #262626;
490
- color: #efefef;
491
- margin: 1em;
492
- padding: 0.5em;
528
+ color: white;
493
529
  border: 1px dashed #999;
494
- overflow: hidden;
530
+ padding: 0.5em;
495
531
  }
496
532
 
497
- div.method-source-code pre {
498
- background: inherit;
499
- padding: 0;
500
- color: white;
501
- overflow: auto;
533
+ .description pre {
534
+ margin: 0 0.4em;
502
535
  }
503
536
 
504
- /* @group Ruby keyword styles */
505
-
506
537
  .ruby-constant { color: #7fffd4; background: transparent; }
507
538
  .ruby-keyword { color: #00ffff; background: transparent; }
508
539
  .ruby-ivar { color: #eedd82; background: transparent; }
509
540
  .ruby-operator { color: #00ffee; background: transparent; }
510
541
  .ruby-identifier { color: #ffdead; background: transparent; }
511
542
  .ruby-node { color: #ffa07a; background: transparent; }
512
- .ruby-comment { color: #b22222; font-weight: bold; background: transparent; }
543
+ .ruby-comment { color: #dc0000; font-weight: bold; background: transparent; }
513
544
  .ruby-regexp { color: #ffa07a; background: transparent; }
514
545
  .ruby-value { color: #7fffd4; background: transparent; }
515
546
 
516
547
  /* @end */
517
- /* @end */
518
-
519
-
520
- /* @group File Popup Contents */
521
-
522
- .file #metadata,
523
- .file-popup #metadata {
524
- }
525
-
526
- .file-popup dl {
527
- font-size: 80%;
528
- padding: 0.75em;
529
- background-color: #dedede;
530
- color: #333;
531
- border: 1px solid #bbb;
532
- -moz-border-radius: 3px;
533
- -webkit-border-radius: 3px;
534
- }
535
- .file dt {
536
- font-weight: bold;
537
- padding-left: 22px;
538
- line-height: 20px;
539
- background: url(images/page_white_width.png) no-repeat left top;
540
- }
541
- .file dt.modified-date {
542
- background: url(images/date.png) no-repeat left top;
543
- }
544
- .file dt.requires {
545
- background: url(images/plugin.png) no-repeat left top;
546
- }
547
- .file dt.scs-url {
548
- background: url(images/wrench.png) no-repeat left top;
549
- }
550
-
551
- .file dl dd {
552
- margin: 0 0 1em 0;
553
- }
554
- .file #metadata dl dd ul {
555
- list-style: circle;
556
- margin-left: 20px;
557
- padding-top: 0;
558
- }
559
- .file #metadata dl dd ul li {
560
- }
561
-
562
-
563
- .file h2 {
564
- margin-top: 2em;
565
- padding: 0.75em 0.5em;
566
- background-color: #dedede;
567
- color: #333;
568
- font-size: 120%;
569
- border: 1px solid #bbb;
570
- -moz-border-radius: 3px;
571
- -webkit-border-radius: 3px;
572
- }
573
-
574
- /* @end */
575
-
576
-
577
-
578
-
579
- /* @group ThickBox Styles */
580
- #TB_window {
581
- font: 12px Arial, Helvetica, sans-serif;
582
- color: #333333;
583
- }
584
-
585
- #TB_secondLine {
586
- font: 10px Arial, Helvetica, sans-serif;
587
- color:#666666;
588
- }
589
-
590
- #TB_window :link,
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; }
598
548
 
599
- #TB_overlay {
600
- position: fixed;
601
- z-index:100;
602
- top: 0px;
603
- left: 0px;
604
- height:100%;
605
- width:100%;
606
- }
607
-
608
- .TB_overlayMacFFBGHack {background: url(images/macFFBgHack.png) repeat;}
609
- .TB_overlayBG {
610
- background-color:#000;
611
- filter:alpha(opacity=75);
612
- -moz-opacity: 0.75;
613
- opacity: 0.75;
614
- }
615
549
 
616
- * html #TB_overlay { /* ie6 hack */
617
- position: absolute;
618
- height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
619
- }
620
-
621
- #TB_window {
622
- position: fixed;
623
- background: #ffffff;
624
- z-index: 102;
625
- color:#000000;
626
- display:none;
627
- border: 4px solid #525252;
628
- text-align:left;
629
- top:50%;
630
- left:50%;
631
- }
632
-
633
- * html #TB_window { /* ie6 hack */
634
- position: absolute;
635
- margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
550
+ /* @group search results */
551
+ #search-results h1 {
552
+ font-size: 1em;
553
+ font-weight: normal;
554
+ text-shadow: none;
636
555
  }
637
556
 
638
- #TB_window img#TB_Image {
639
- display:block;
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;
645
- }
646
-
647
- #TB_caption{
648
- height:25px;
649
- padding:7px 30px 10px 25px;
650
- float:left;
651
- }
652
-
653
- #TB_closeWindow{
654
- height:25px;
655
- padding:11px 25px 10px 0;
656
- float:right;
657
- }
658
-
659
- #TB_closeAjaxWindow{
660
- padding:7px 10px 5px 0;
661
- margin-bottom:1px;
662
- text-align:right;
663
- float:right;
664
- }
665
-
666
- #TB_ajaxWindowTitle{
667
- float:left;
668
- padding:7px 0 5px 10px;
669
- margin-bottom:1px;
670
- font-size: 22px;
671
- }
672
-
673
- #TB_title{
674
- background-color: #6C8C22;
675
- color: #dedede;
676
- height:40px;
677
- }
678
- #TB_title :link,
679
- #TB_title :visited {
680
- color: white !important;
681
- border-bottom: 1px dotted #dedede;
682
- }
683
-
684
- #TB_ajaxContent{
685
- clear:both;
686
- padding:2px 15px 15px 15px;
687
- overflow:auto;
688
- text-align:left;
689
- line-height:1.4em;
690
- }
691
-
692
- #TB_ajaxContent.TB_modal{
693
- padding:15px;
557
+ #search-results .current {
558
+ background: #ccc;
559
+ border-bottom: 1px solid transparent;
694
560
  }
695
561
 
696
- #TB_ajaxContent p{
697
- padding:5px 0px 5px 0px;
562
+ #search-results li {
563
+ list-style: none;
564
+ border-bottom: 1px solid #aaa;
565
+ -moz-border-radius: 4px;
566
+ -webkit-border-radius: 4px;
567
+ border-radius: 4px;
568
+ margin-bottom: 0.5em;
698
569
  }
699
570
 
700
- #TB_load{
701
- position: fixed;
702
- display:none;
703
- height:13px;
704
- width:208px;
705
- z-index:103;
706
- top: 50%;
707
- left: 50%;
708
- margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */
571
+ #search-results li:last-child {
572
+ border-bottom: none;
573
+ margin-bottom: 0;
709
574
  }
710
575
 
711
- * html #TB_load { /* ie6 hack */
712
- position: absolute;
713
- margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
576
+ #search-results li p {
577
+ padding: 0;
578
+ margin: 0.5em;
714
579
  }
715
580
 
716
- #TB_HideSelect{
717
- z-index:99;
718
- position:fixed;
719
- top: 0;
720
- left: 0;
721
- background-color:#fff;
722
- border:none;
723
- filter:alpha(opacity=0);
724
- -moz-opacity: 0;
725
- opacity: 0;
726
- height:100%;
727
- width:100%;
581
+ #search-results .search-namespace {
582
+ font-weight: bold;
728
583
  }
729
584
 
730
- * html #TB_HideSelect { /* ie6 hack */
731
- position: absolute;
732
- height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
585
+ #search-results li em {
586
+ background: yellow;
587
+ font-style: normal;
733
588
  }
734
589
 
735
- #TB_iframeContent{
736
- clear:both;
737
- border:none;
738
- margin-bottom:-1px;
739
- margin-top:1px;
740
- _margin-bottom:1px;
590
+ #search-results pre {
591
+ margin: 0.5em;
741
592
  }
742
593
 
743
594
  /* @end */
744
595
 
745
- /* @group Debugging Section */
746
-
747
- #debugging-toggle {
748
- text-align: center;
749
- }
750
- #debugging-toggle img {
751
- cursor: pointer;
752
- }
753
-
754
- #rdoc-debugging-section-dump {
755
- display: none;
756
- margin: 0 2em 2em;
757
- background: #ccc;
758
- border: 1px solid #999;
759
- }
760
-
761
-
762
-
763
- /* @end */