forked from WebKit/WebKit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcss-parser-yui.html
2629 lines (2139 loc) · 59.5 KB
/
css-parser-yui.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<body>
<script src="../resources/runner.js"></script>
<style id="styleElement" type="text/css">
/* Some yui Yahoo! library snippet */
/*Copyright (c) 2012, Yahoo! Inc. All rights reserved.
----------------------------------------------------
Redistribution and use of this software in source and binary forms, with or
without modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
* Neither the name of Yahoo! Inc. nor the names of YUI's contributors may be
used to endorse or promote products derived from this software without
specific prior written permission of Yahoo! Inc.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.*/
/* Vertical menus and submenus */
.yui3-skin-night .yui3-menu-content,
.yui3-skin-night .yui3-menu .yui3-menu .yui3-menu-content {
font-size: 100%;
line-height: 2.25; /* 18px 1.5*/
*line-height: 1.45; /* For IE */
border: solid 1px #303030;
background: #151515;
/*padding: 3px 0;*/
}
.yui3-skin-night .yui3-menu .yui3-menu .yui3-menu-content {
font-size: 100%;
}
/* Horizontal menus */
.yui3-skin-night .yui3-menu-horizontal .yui3-menu-content {
line-height: 2; /* ~24px */
*line-height: 1.9; /* For IE */
background-color:#3b3c3d;
background: -moz-linear-gradient(
0% 100% 90deg,
#242526 0%,
#3b3c3d 96%,
#2C2D2F 100%
);
background: -webkit-gradient(
linear,
left bottom,
left top,
from(#242526),
color-stop(0.96, #3b3c3d),
to(#2C2D2F)
);
padding: 0;
}
.yui3-skin-night .yui3-menu ul,
.yui3-skin-night .yui3-menu ul ul {
margin-top: 3px;
padding-top: 3px;
border-top: solid 1px #303030;
}
.yui3-skin-night .yui3-menu ul.first-of-type {
border: 0;
margin: 0;
padding: 0;
}
.yui3-skin-night .yui3-menu-horizontal ul {
padding: 0;
margin: 0;
border: 0;
}
.yui3-skin-night .yui3-menu li,
.yui3-skin-night .yui3-menu .yui3-menu li {
/*
For and IE 6 (Strict Mode and Quirks Mode) and IE 7 (Quirks Mode only):
Used to collapse superfluous white space between <li> elements that is
triggered by the "display" property of the <a> elements being set to
"block" by node-menunav-core.css file.
*/
_border-bottom: solid 1px #151515;
}
.yui3-skin-night .yui3-menu-horizontal li {
_border-bottom: 0;
}
.yui3-skin-night .yui3-menubuttonnav li {
border-right: solid 1px #ccc;
}
.yui3-skin-night .yui3-splitbuttonnav li {
border-right: solid 1px #303030;
}
.yui3-skin-night .yui3-menubuttonnav li li,
.yui3-skin-night .yui3-splitbuttonnav li li {
border-right: 0;
}
/* Menuitems and menu labels */
.yui3-skin-night .yui3-menu-label,
.yui3-skin-night .yui3-menu .yui3-menu .yui3-menu-label,
.yui3-skin-night .yui3-menuitem-content,
.yui3-skin-night .yui3-menu .yui3-menu .yui3-menuitem-content {
/*padding: 0 20px;*/
padding: 0 1em;
/*background-color: #2F3030;*/
color: #fff;
text-decoration: none;
cursor: default;
/*
Necessary specify values for border, position and margin to override
values specified in the selectors that follow.
*/
float: none;
border: 0;
margin: 0;
}
.yui3-skin-night .yui3-menu-horizontal .yui3-menu-label,
.yui3-skin-night .yui3-menu-horizontal .yui3-menuitem-content {
padding: 0 10px;
border-style: solid;
border-color: #303030;
border-width: 1px 0;
margin: -1px 0;
float: left; /* Ensures that menu labels clear floated descendents.
Also gets negative margins working in IE 7
(Strict Mode). */
width: auto;
}
.yui3-skin-night .yui3-menu-label,
.yui3-skin-night .yui3-menu .yui3-menu .yui3-menu-label {
background: url(https://github.com/vertical-menu-submenu-indicator.png) right center no-repeat;
}
.yui3-skin-night .yui3-menu-horizontal .yui3-menu-label {
background: none;
}
.yui3-skin-night .yui3-menubuttonnav .yui3-menu-label,
.yui3-skin-night .yui3-splitbuttonnav .yui3-menu-label {
background-image: none;
}
.yui3-skin-night .yui3-menubuttonnav .yui3-menu-label {
padding-right: 0;
}
.yui3-skin-night .yui3-menubuttonnav .yui3-menu-label em {
font-style: normal;
padding-right: 20px;
display: block;
background: url(https://github.com/horizontal-menu-submenu-indicator.png) right center no-repeat;
}
.yui3-skin-night .yui3-splitbuttonnav .yui3-menu-label {
padding: 0;
}
.yui3-skin-night .yui3-splitbuttonnav .yui3-menu-label a {
float: left;
width: auto;
color: #fff;
text-decoration: none;
cursor: default;
padding: 0 5px 0 10px;
}
.yui3-skin-night .yui3-splitbuttonnav .yui3-menu-label .yui3-menu-toggle {
padding: 0; /* Overide padding applied by the preceeding rule. */
border-left: solid 1px #303030;
width: 15px;
overflow: hidden;
text-indent: -1000px;
background: url(https://github.com/horizontal-menu-submenu-indicator.png) 3px center no-repeat;
}
/* Selected menuitem */
.yui3-skin-night .yui3-menu-label-active,
.yui3-skin-night .yui3-menu-label-menuvisible,
.yui3-skin-night .yui3-menu .yui3-menu .yui3-menu-label-active,
.yui3-skin-night .yui3-menu .yui3-menu .yui3-menu-label-menuvisible {
background-color: #292a2a;
}
.yui3-skin-night .yui3-menuitem-active .yui3-menuitem-content,
.yui3-skin-night .yui3-menu .yui3-menu .yui3-menuitem-active .yui3-menuitem-content {
background-image: none;
background-color: #292a2a;
background: -moz-linear-gradient(
0% 100% 90deg,
#252626 0%,
#333434 100%
);
background: -webkit-gradient(
linear,
left top,
left bottom,
from(#333434),
to(#252626)
);
/*
Undo values set for "border-left-width" and "margin-left" when the root
menu has a class of "yui-menubuttonnav" or "yui-splitbuttonnav" applied.
*/
border-left-width: 0;
margin-left: 0;
}
.yui3-skin-night .yui3-menu-horizontal .yui3-menu-label-active,
.yui3-skin-night .yui3-menu-horizontal .yui3-menuitem-active .yui3-menuitem-content,
.yui3-skin-night .yui3-menu-horizontal .yui3-menu-label-menuvisible {
border-color: #303030;
background-color:#555658;
background: -moz-linear-gradient(
0% 100% 90deg,
#343536 0%,
#555658 96%,
#3E3F41 100%
);
background: -webkit-gradient(
linear,
left bottom,
left top,
from(#343536),
color-stop(0.96, #555658),
to(#3E3F41)
);
}
.yui3-skin-night .yui3-menubuttonnav .yui3-menu-label-active,
.yui3-skin-night .yui3-menubuttonnav .yui3-menuitem-active .yui3-menuitem-content,
.yui3-skin-night .yui3-menubuttonnav .yui3-menu-label-menuvisible,
.yui3-skin-night .yui3-splitbuttonnav .yui3-menu-label-active,
.yui3-skin-night .yui3-splitbuttonnav .yui3-menuitem-active .yui3-menuitem-content,
.yui3-skin-night .yui3-splitbuttonnav .yui3-menu-label-menuvisible {
border-left-width: 1px;
margin-left: -1px;
}
.yui3-skin-night .yui3-splitbuttonnav .yui3-menu-label-menuvisible {
border-color: #303030;
background: transparent;
}
.yui3-skin-night .yui3-splitbuttonnav .yui3-menu-label-menuvisible .yui3-menu-toggle {
border-color: #303030;
background-color: #505050;
}
.yui3-skin-sam .yui3-console-separate {
position:absolute;
right:1em;
top:1em;
z-index:999;
}
.yui3-skin-sam .yui3-console-inline {
/* xbrowser inline-block styles */
display: -moz-inline-stack; /* FF2 */
display: inline-block;
*display: inline; /* IE 7- (with zoom) */
zoom: 1;
vertical-align: top;
}
.yui3-skin-sam .yui3-console-inline .yui3-console-content {
position: relative;
}
.yui3-skin-sam .yui3-console-content {
background: #777;
_background: #D8D8DA url(https://github.com/bg.png) repeat-x 0 0;
font: normal 13px/1.3 Arial, sans-serif;
text-align: left;
border: 1px solid #777;
border-radius: 10px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
}
.yui3-skin-sam .yui3-console-hd,
.yui3-skin-sam .yui3-console-bd,
.yui3-skin-sam .yui3-console-ft {
position: relative;
}
.yui3-skin-sam .yui3-console-hd,
.yui3-skin-sam .yui3-console-ft .yui3-console-controls {
text-align: right;
}
.yui3-skin-sam .yui3-console-hd {
background: #D8D8DA url(https://github.com/bg.png) repeat-x 0 0;
padding: 1ex;
border: 1px solid transparent;
_border: 0 none;
border-top-right-radius: 10px;
border-top-left-radius: 10px;
-moz-border-radius-topright: 10px;
-moz-border-radius-topleft: 10px;
-webkit-border-top-right-radius: 10px;
-webkit-border-top-left-radius: 10px;
}
.yui3-skin-sam .yui3-console-bd {
background: #fff;
border-top: 1px solid #777;
border-bottom: 1px solid #777;
color: #000;
font-size: 11px;
overflow: auto;
overflow-x: auto;
overflow-y: scroll;
_width: 100%;
}
.yui3-skin-sam .yui3-console-ft {
background: #D8D8DA url(https://github.com/bg.png) repeat-x 0 0;
border: 1px solid transparent;
_border: 0 none;
border-bottom-right-radius: 10px;
border-bottom-left-radius: 10px;
-moz-border-radius-bottomright: 10px;
-moz-border-radius-bottomleft: 10px;
-webkit-border-bottom-right-radius: 10px;
-webkit-border-bottom-left-radius: 10px;
}
.yui3-skin-sam .yui3-console-controls {
padding: 4px 1ex;
zoom: 1;
}
.yui3-skin-sam .yui3-console-title {
color: #000;
display: inline;
float: left;
font-weight: bold;
font-size: 13px;
height: 24px;
line-height: 24px;
margin: 0;
padding-left: 1ex;
}
.yui3-skin-sam .yui3-console-pause-label {
float: left;
}
.yui3-skin-sam .yui3-console-button {
line-height: 1.3;
}
.yui3-skin-sam .yui3-console-collapsed .yui3-console-bd,
.yui3-skin-sam .yui3-console-collapsed .yui3-console-ft {
display: none;
}
.yui3-skin-sam .yui3-console-content.yui3-console-collapsed {
-webkit-border-radius: 0;
}
.yui3-skin-sam .yui3-console-collapsed .yui3-console-hd {
border-radius: 10px;
-moz-border-radius: 10px;
-webkit-border-radius: 0;
}
/* Log entries */
.yui3-skin-sam .yui3-console-entry {
border-bottom: 1px solid #aaa;
min-height: 32px;
_height: 32px;
}
.yui3-skin-sam .yui3-console-entry-meta {
margin: 0;
overflow: hidden;
}
.yui3-skin-sam .yui3-console-entry-content {
margin: 0;
padding: 0 1ex;
white-space: pre-wrap;
word-wrap: break-word;
}
.yui3-skin-sam .yui3-console-entry-meta .yui3-console-entry-src {
color: #000;
font-style: italic;
font-weight: bold;
float: right;
margin: 2px 5px 0 0;
}
.yui3-skin-sam .yui3-console-entry-meta .yui3-console-entry-time {
color: #777;
padding-left: 1ex;
}
.yui3-skin-sam .yui3-console-entry-warn .yui3-console-entry-meta .yui3-console-entry-time {
color: #555;
}
.yui3-skin-sam .yui3-console-entry-info .yui3-console-entry-meta .yui3-console-entry-cat,
.yui3-skin-sam .yui3-console-entry-warn .yui3-console-entry-meta .yui3-console-entry-cat,
.yui3-skin-sam .yui3-console-entry-error .yui3-console-entry-meta .yui3-console-entry-cat {
display: none;
}
.yui3-skin-sam .yui3-console-entry-warn {
background: #aee url(https://github.com/warn_error.png) no-repeat -15px 15px;
}
.yui3-skin-sam .yui3-console-entry-error {
background: #ffa url(https://github.com/warn_error.png) no-repeat 5px -24px;
color: #900;
}
.yui3-skin-sam .yui3-console-entry-warn .yui3-console-entry-content,
.yui3-skin-sam .yui3-console-entry-error .yui3-console-entry-content {
padding-left: 24px;
}
.yui3-skin-sam .yui3-console-entry-cat {
text-transform: uppercase;
padding: 1px 4px;
background-color: #ccc;
}
.yui3-skin-sam .yui3-console-entry-info .yui3-console-entry-cat {
background-color: #ac2;
}
.yui3-skin-sam .yui3-console-entry-warn .yui3-console-entry-cat {
background-color: #e81;
}
.yui3-skin-sam .yui3-console-entry-error .yui3-console-entry-cat {
background-color: #b00;
color: #fff;
}
.yui3-skin-sam .yui3-console-hidden { display: none; }
/*
Font sizes for all selectors other than the body are given in percentages,
with 100% equal to 13px. To calculate a font size percentage, multiply the
desired size in pixels by 7.6923076923.
Here's a quick lookup table:
10px - 76.923%
11px - 84.615%
12px - 92.308%
13px - 100%
14px - 107.692%
15px - 115.385%
16px - 123.077%
17px - 130.769%
18px - 138.462%
19px - 146.154%
20px - 153.846%
*/
html {
background: #fff;
color: #333;
overflow-y: scroll;
}
body {
font: 13px/1.4 'Lucida Grande', 'Lucida Sans Unicode', 'DejaVu Sans', 'Bitstream Vera Sans', 'Helvetica', 'Arial', sans-serif;
margin: 0;
padding: 0;
}
/* -- Links ----------------------------------------------------------------- */
a {
color: #356de4;
text-decoration: none;
}
a:hover { text-decoration: underline; }
/* "Jump to Table of Contents" link is shown to assistive tools, but hidden from
sight until it's focused. */
.jump {
position: absolute;
padding: 3px 6px;
left: -99999px;
top: 0;
}
.jump:focus { left: 40%; }
/* -- Paragraphs ------------------------------------------------------------ */
p { margin: 1.3em 0; }
dd p, td p { margin-bottom: 0; }
dd p:first-child, td p:first-child { margin-top: 0; }
/* -- Headings -------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
font-weight: bold;
line-height: 1.1;
margin: 1.5em 0 1em;
}
h2, h3, h4, h5, h6 { color: #f80; }
h1 {
font-family: Verdana, 'DejaVu Sans', 'Bitstream Vera Sans', Helvetica, sans-serif;
font-size: 261.538%; /* 34px */
margin: 25px 0 18px 25px;
-moz-text-shadow: 1px 1px 2px #999;
-webkit-text-shadow: 1px 1px 2px #999;
text-shadow: 1px 1px 2px #999;
}
h2 {
font-size: 153.846%;
margin-top: 1.2em;
}
h3 { font-size: 138.462%; }
h4 {
border-bottom: 1px solid #d9d9d9;
color: #555;
font-size: 115.385%;
font-weight: normal;
text-transform: uppercase;
}
h5, h6 { font-size: 107.692%; }
/* -- Code and examples ----------------------------------------------------- */
code, kbd, pre, samp {
font-family: Menlo, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Consolas', 'Monaco', fixed;
font-size: 92.308%;
line-height: 1.35;
}
p code, p kbd, p samp {
background: #f6f6f6;
border: 1px solid #ededed;
padding: 0 3px;
}
a code, a kbd, a samp,
pre code, pre kbd, pre samp,
table code, table kbd, table samp,
.intro code, .intro kbd, .intro samp,
.toc code, .toc kbd, .toc samp {
background: none;
border: none;
padding: 0;
}
pre.code, pre.terminal {
overflow-x: auto;
*overflow-x: scroll;
padding: 0.3em 0.6em;
}
pre.code {
background: #f8f8f8;
border: 1px solid #ececec;
border-left: 5px solid #e2e2e2;
}
pre.terminal {
background: #F0EFFC;
border: 1px solid #D0CBFB;
border-left: 5px solid #D0CBFB;
}
/* Don't reduce the font size of <code>/<kbd>/<samp> elements inside <pre>
blocks. */
pre code, pre kbd, pre samp { font-size: 100%; }
/* Used to denote text that shouldn't be selectable, such as line numbers or
shell prompts. Guess which browser this doesn't work in. */
.noselect {
-moz-user-select: -moz-none;
-khtml-user-select: none;
-webkit-user-select: none;
-o-user-select: none;
user-select: none;
}
/* -- Tables ---------------------------------------------------------------- */
caption, th { text-align: left; }
table {
border-collapse: collapse;
width: 100%;
}
td, th {
border: 1px solid #fff;
padding: 5px 12px;
vertical-align: top;
}
td { background: #E5EDF1; }
td dl { margin: 0; }
td dl dl { margin: 1em 0; }
td pre:first-child { margin-top: 0; }
th {
background: #6C8EA1;
color: #fff;
font-weight: bold;
line-height: 1.3;
text-transform: uppercase;
white-space: nowrap;
}
/* -- Lists ----------------------------------------------------------------- */
.spaced li { margin: 0.8em 0; }
dd { margin: 0.2em 0 0.7em 1em; }
dl { margin: 1em 0; }
dt { font-weight: bold; }
/* -- Layout and Content ---------------------------------------------------- */
#doc {
margin: auto;
width: 1024px;
}
#main { width: 754px; }
#sidebar { width: 270px; }
.content { padding: 0 20px 0 25px; }
/* -- Sidebar --------------------------------------------------------------- */
.sidebox {
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
-moz-box-shadow: 0 0 3px #afafaf;
-webkit-box-shadow: 0 0 3px #afafaf;
box-shadow: 0 0 3px #afafaf;
font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'Lucida Sans', 'Helvetica', 'Arial', sans-serif;
margin: 0 20px 15px 5px;
padding: 2px;
}
.sidebox h2 {
background: #efefef;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
color: #333;
font-size: 107.692%;
margin: 0;
padding: 2px 6px 3px;
}
.sidebox .bd { font-size: 84.615%; }
.sidebox li { list-style-type: square; }
.sidebox ol, .sidebox ul {
margin-left: 0;
padding-left: 24px;
}
.sidebox ol ol, .sidebox ol ul,
.sidebox ul ol, .sidebox ul ul {
margin: 0;
padding-left: 16px;
}
/* -- Table of Contents ----------------------------------------------------- */
/* The #toc id refers to the single global table of contents, while the .toc
class refers to generic TOC lists that could be used throughout the page. */
.toc code, .toc kbd, .toc samp { font-size: 100%; }
.toc li { font-weight: bold; }
.toc li li { font-weight: normal; }
/* -- Intro and Example Boxes ----------------------------------------------- */
.intro, .example { margin-bottom: 2em; }
.example {
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
-moz-box-shadow: 0 0 5px #bfbfbf;
-webkit-box-shadow: 0 0 5px #bfbfbf;
box-shadow: 0 0 5px #bfbfbf;
padding: 1em;
}
.intro {
background: #E2EEFB;
border: 1px solid #BDD6F4;
padding: 0em 1em;
}
/* -- Other Styles ---------------------------------------------------------- */
/* These are probably YUI-specific, and should be moved out of Selleck's default
theme. */
.button {
border: 1px solid #dadada;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
color: #444;
display: inline-block;
font-family: Helvetica, Arial, sans-serif;
font-size: 92.308%;
font-weight: bold;
padding: 4px 13px 3px;
-moz-text-shadow: 1px 1px 0 #fff;
-webkit-text-shadow: 1px 1px 0 #fff;
text-shadow: 1px 1px 0 #fff;
white-space: nowrap;
background: #EFEFEF; /* old browsers */
background: -moz-linear-gradient(top, #f5f5f5 0%, #efefef 50%, #e5e5e5 51%, #dfdfdf 100%); /* firefox */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f5f5f5), color-stop(50%,#efefef), color-stop(51%,#e5e5e5), color-stop(100%,#dfdfdf)); /* webkit */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#dfdfdf',GradientType=0 ); /* ie */
}
.button:hover {
border-color: #466899;
color: #fff;
text-decoration: none;
-moz-text-shadow: 1px 1px 0 #222;
-webkit-text-shadow: 1px 1px 0 #222;
text-shadow: 1px 1px 0 #222;
background: #6396D8; /* old browsers */
background: -moz-linear-gradient(top, #6396D8 0%, #5A83BC 50%, #547AB7 51%, #466899 100%); /* firefox */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#6396D8), color-stop(50%,#5A83BC), color-stop(51%,#547AB7), color-stop(100%,#466899)); /* webkit */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6396D8', endColorstr='#466899',GradientType=0 ); /* ie */
}
.newwindow { text-align: center; }
/* Vertical menus and submenus */
.yui3-skin-sam .yui3-menu-content,
.yui3-skin-sam .yui3-menu .yui3-menu .yui3-menu-content {
font-size: 93%; /* 12px */
line-height: 1.5; /* 18px */
*line-height: 1.45; /* For IE */
border: solid 1px #808080;
background: #fff;
padding: 3px 0;
}
.yui3-skin-sam .yui3-menu .yui3-menu .yui3-menu-content {
font-size: 100%;
}
/* Horizontal menus */
.yui3-skin-sam .yui3-menu-horizontal .yui3-menu-content {
line-height: 2; /* ~24px */
*line-height: 1.9; /* For IE */
background: url(https://github.com/assets/skins/sam/sprite.png) repeat-x 0 0;
padding: 0;
}
.yui3-skin-sam .yui3-menu ul,
.yui3-skin-sam .yui3-menu ul ul {
margin-top: 3px;
padding-top: 3px;
border-top: solid 1px #ccc;
}
.yui3-skin-sam .yui3-menu ul.first-of-type {
border: 0;
margin: 0;
padding: 0;
}
.yui3-skin-sam .yui3-menu-horizontal ul {
padding: 0;
margin: 0;
border: 0;
}
.yui3-skin-sam .yui3-menu li,
.yui3-skin-sam .yui3-menu .yui3-menu li {
/*
For and IE 6 (Strict Mode and Quirks Mode) and IE 7 (Quirks Mode only):
Used to collapse superfluous white space between <li> elements that is
triggered by the "display" property of the <a> elements being set to
"block" by node-menunav-core.css file.
*/
_border-bottom: solid 1px #fff;
}
.yui3-skin-sam .yui3-menu-horizontal li {
_border-bottom: 0;
}
.yui3-skin-sam .yui3-menubuttonnav li {
border-right: solid 1px #ccc;
}
.yui3-skin-sam .yui3-splitbuttonnav li {
border-right: solid 1px #808080;
}
.yui3-skin-sam .yui3-menubuttonnav li li,
.yui3-skin-sam .yui3-splitbuttonnav li li {
border-right: 0;
}
/* Menuitems and menu labels */
.yui3-skin-sam .yui3-menu-label,
.yui3-skin-sam .yui3-menu .yui3-menu .yui3-menu-label,
.yui3-skin-sam .yui3-menuitem-content,
.yui3-skin-sam .yui3-menu .yui3-menu .yui3-menuitem-content {
/*padding: 0 20px;*/
padding: 0 1em;
color: #000;
text-decoration: none;
cursor: default;
/*
Necessary specify values for border, position and margin to override
values specified in the selectors that follow.
*/
float: none;
border: 0;
margin: 0;
}
.yui3-skin-sam .yui3-menu-horizontal .yui3-menu-label,
.yui3-skin-sam .yui3-menu-horizontal .yui3-menuitem-content {
padding: 0 10px;
border-style: solid;
border-color: #808080;
border-width: 1px 0;
margin: -1px 0;
float: left; /* Ensures that menu labels clear floated descendents.
Also gets negative margins working in IE 7
(Strict Mode). */
width: auto;
}
.yui3-skin-sam .yui3-menu-label,
.yui3-skin-sam .yui3-menu .yui3-menu .yui3-menu-label {
background: url(https://github.com/vertical-menu-submenu-indicator.png) right center no-repeat;
}
.yui3-skin-sam .yui3-menu-horizontal .yui3-menu-label {
background: url(https://github.com/assets/skins/sam/sprite.png) repeat-x 0 0;
}
.yui3-skin-sam .yui3-menubuttonnav .yui3-menu-label,
.yui3-skin-sam .yui3-splitbuttonnav .yui3-menu-label {
background-image: none;
}
.yui3-skin-sam .yui3-menubuttonnav .yui3-menu-label {
padding-right: 0;
}