1 | /*
|
---|
2 | This file is part of the DITA Open Toolkit project hosted on
|
---|
3 | Sourceforge.net. See the accompanying license.txt file for
|
---|
4 | applicable licenses.
|
---|
5 |
|
---|
6 |
|
---|
7 | Copyright (c) 2006, Yahoo! Inc. All rights reserved.
|
---|
8 | Code licensed under the BSD License:
|
---|
9 | http://developer.yahoo.net/yui/license.txt
|
---|
10 | version: 0.10.0
|
---|
11 | */
|
---|
12 |
|
---|
13 | /* Main style for the table */
|
---|
14 |
|
---|
15 | .dp-highlighter {
|
---|
16 | width: 95%;
|
---|
17 | overflow: auto;
|
---|
18 | line-height: 100% !important;
|
---|
19 | margin: 0px 0px 10px 0px;
|
---|
20 | }
|
---|
21 |
|
---|
22 | .dp-highlighter table {
|
---|
23 | width: 100%;
|
---|
24 | margin: 0px 0px 2px 0px;
|
---|
25 | border-collapse: collapse;
|
---|
26 | border-bottom: 2px solid #eee;
|
---|
27 | background-color:#fff;
|
---|
28 | }
|
---|
29 |
|
---|
30 | .dp-highlighter tbody.hide { display: none; }
|
---|
31 | .dp-highlighter tbody.show { display: table-row-group; _display: block; }
|
---|
32 |
|
---|
33 | .dp-highlighter td
|
---|
34 | {
|
---|
35 | font-family: Arial;
|
---|
36 | font-size: 12px;
|
---|
37 | }
|
---|
38 |
|
---|
39 | /* Styles for the tools */
|
---|
40 |
|
---|
41 | .dp-highlighter .tools-corner {
|
---|
42 | background-color: #eee;
|
---|
43 | font-size: 9px;
|
---|
44 | }
|
---|
45 |
|
---|
46 | .dp-highlighter .tools {
|
---|
47 | background-color: #eee;
|
---|
48 | padding: 3px 8px 3px 10px;
|
---|
49 | border-bottom: 1px solid gray;
|
---|
50 | font: 11px Verdana, Geneva, Arial, Helvetica, sans-serif;
|
---|
51 | color: silver;
|
---|
52 | }
|
---|
53 |
|
---|
54 | .dp-highlighter .tools-corner {
|
---|
55 | background-color: #eee;
|
---|
56 | }
|
---|
57 |
|
---|
58 | .dp-highlighter .tools a {
|
---|
59 | font-size: 9px;
|
---|
60 | color: #aaaaaa;
|
---|
61 | text-decoration: none;
|
---|
62 | }
|
---|
63 |
|
---|
64 | .dp-highlighter .tools a:hover {
|
---|
65 | color: red;
|
---|
66 | text-decoration: underline;
|
---|
67 | }
|
---|
68 |
|
---|
69 | /* Gutter with line number */
|
---|
70 |
|
---|
71 | .dp-highlighter .gutter {
|
---|
72 | padding-right: 5px;
|
---|
73 | padding-left: 10px;
|
---|
74 | width: 5px;
|
---|
75 | background-color: #eee;
|
---|
76 | border-right: 1px solid #cccccc;
|
---|
77 | color: gray;
|
---|
78 | text-align: right;
|
---|
79 | vertical-align: top;
|
---|
80 | }
|
---|
81 |
|
---|
82 | /* Single line style */
|
---|
83 |
|
---|
84 | .dp-highlighter .line1, .line2 {
|
---|
85 | padding-left: 10px;
|
---|
86 | /*
|
---|
87 | border-bottom: 1px solid #F7F7F7;
|
---|
88 | */
|
---|
89 | white-space:nowrap;
|
---|
90 | }
|
---|
91 |
|
---|
92 | .dp-highlighter .line2 {
|
---|
93 | /*
|
---|
94 | background-color: #F7F7F7;
|
---|
95 | */
|
---|
96 | }
|
---|
97 |
|
---|
98 | .dp-xml {}
|
---|
99 | .dp-xml .cdata { color: #ff1493; }
|
---|
100 | .dp-xml .comments { color: green; }
|
---|
101 | .dp-xml .tag { color: blue; }
|
---|
102 | .dp-xml .tag-name { color: black; font-weight: bold; }
|
---|
103 | .dp-xml .attribute { color: red; }
|
---|
104 | .dp-xml .attribute-value { color: blue; }
|
---|
105 |
|
---|
106 | .dp-c {}
|
---|
107 | .dp-c .comment { color: green; }
|
---|
108 | .dp-c .string { color: blue; }
|
---|
109 | .dp-c .preprocessor { color: gray; }
|
---|
110 | .dp-c .keyword { color: blue; }
|
---|
111 | .dp-c .vars { color: #d00; }
|
---|
112 |
|
---|