Show More
@@ -1,174 +1,174 b'' | |||
|
1 | 1 | .CodeMirror { |
|
2 | 2 | line-height: 1em; |
|
3 | 3 | font-family: monospace; |
|
4 | 4 | |
|
5 | 5 | /* Necessary so the scrollbar can be absolutely positioned within the wrapper on Lion. */ |
|
6 | 6 | position: relative; |
|
7 | 7 | /* This prevents unwanted scrollbars from showing up on the body and wrapper in IE. */ |
|
8 | 8 | overflow: hidden; |
|
9 | 9 | } |
|
10 | 10 | |
|
11 | 11 | .CodeMirror-scroll { |
|
12 | 12 | overflow: auto; |
|
13 | 13 | height: 300px; |
|
14 | 14 | /* This is needed to prevent an IE[67] bug where the scrolled content |
|
15 | 15 | is visible outside of the scrolling box. */ |
|
16 | 16 | position: relative; |
|
17 | 17 | outline: none; |
|
18 | 18 | } |
|
19 | 19 | |
|
20 | 20 | /* Vertical scrollbar */ |
|
21 | 21 | .CodeMirror-scrollbar { |
|
22 | 22 | position: absolute; |
|
23 | 23 | right: 0; top: 0; |
|
24 | 24 | overflow-x: hidden; |
|
25 | 25 | overflow-y: scroll; |
|
26 | 26 | z-index: 5; |
|
27 | 27 | } |
|
28 | 28 | .CodeMirror-scrollbar-inner { |
|
29 | 29 | /* This needs to have a nonzero width in order for the scrollbar to appear |
|
30 | 30 | in Firefox and IE9. */ |
|
31 | 31 | width: 1px; |
|
32 | 32 | } |
|
33 | 33 | .CodeMirror-scrollbar.cm-sb-overlap { |
|
34 | 34 | /* Ensure that the scrollbar appears in Lion, and that it overlaps the content |
|
35 | 35 | rather than sitting to the right of it. */ |
|
36 | 36 | position: absolute; |
|
37 | 37 | z-index: 1; |
|
38 | 38 | float: none; |
|
39 | 39 | right: 0; |
|
40 | 40 | min-width: 12px; |
|
41 | 41 | } |
|
42 | 42 | .CodeMirror-scrollbar.cm-sb-nonoverlap { |
|
43 | 43 | min-width: 12px; |
|
44 | 44 | } |
|
45 | 45 | .CodeMirror-scrollbar.cm-sb-ie7 { |
|
46 | 46 | min-width: 18px; |
|
47 | 47 | } |
|
48 | 48 | |
|
49 | 49 | .CodeMirror-gutter { |
|
50 | 50 | position: absolute; left: 0; top: 0; |
|
51 | 51 | z-index: 10; |
|
52 | 52 | background-color: #f7f7f7; |
|
53 | 53 | border-right: 1px solid #eee; |
|
54 | 54 | min-width: 2em; |
|
55 | 55 | height: 100%; |
|
56 | 56 | } |
|
57 | 57 | .CodeMirror-gutter-text { |
|
58 | 58 | color: #aaa; |
|
59 | 59 | text-align: right; |
|
60 | 60 | padding: .4em .2em .4em .4em; |
|
61 | 61 | white-space: pre !important; |
|
62 | 62 | cursor: default; |
|
63 | 63 | } |
|
64 | 64 | .CodeMirror-lines { |
|
65 | 65 | padding: .4em; |
|
66 | 66 | white-space: pre; |
|
67 | 67 | cursor: text; |
|
68 | 68 | } |
|
69 | 69 | |
|
70 | 70 | .CodeMirror pre { |
|
71 | 71 | -moz-border-radius: 0; |
|
72 | 72 | -webkit-border-radius: 0; |
|
73 | 73 | -o-border-radius: 0; |
|
74 | 74 | border-radius: 0; |
|
75 | 75 | border-width: 0; margin: 0; padding: 0; background: transparent; |
|
76 | 76 | font-family: inherit; |
|
77 | 77 | font-size: inherit; |
|
78 | 78 | padding: 0; margin: 0; |
|
79 | 79 | white-space: pre; |
|
80 | 80 | word-wrap: normal; |
|
81 | 81 | line-height: inherit; |
|
82 | 82 | color: inherit; |
|
83 | 83 | overflow: visible; |
|
84 | 84 | } |
|
85 | 85 | |
|
86 | 86 | .CodeMirror-wrap pre { |
|
87 | 87 | word-wrap: break-word; |
|
88 | 88 | white-space: pre-wrap; |
|
89 | 89 | word-break: normal; |
|
90 | 90 | } |
|
91 | 91 | .CodeMirror-wrap .CodeMirror-scroll { |
|
92 | 92 | overflow-x: hidden; |
|
93 | 93 | } |
|
94 | 94 | |
|
95 | 95 | .CodeMirror textarea { |
|
96 | 96 | outline: none !important; |
|
97 | 97 | } |
|
98 | 98 | |
|
99 | 99 | .CodeMirror pre.CodeMirror-cursor { |
|
100 | 100 | z-index: 10; |
|
101 | 101 | position: absolute; |
|
102 | 102 | visibility: hidden; |
|
103 | 103 | border-left: 1px solid black; |
|
104 | 104 | border-right: none; |
|
105 | 105 | width: 0; |
|
106 | 106 | } |
|
107 | 107 | .cm-keymap-fat-cursor pre.CodeMirror-cursor { |
|
108 | 108 | width: auto; |
|
109 | 109 | border: 0; |
|
110 | 110 | background: transparent; |
|
111 | 111 | background: rgba(0, 200, 0, .4); |
|
112 | 112 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#6600c800, endColorstr=#4c00c800); |
|
113 | 113 | } |
|
114 | 114 | /* Kludge to turn off filter in ie9+, which also accepts rgba */ |
|
115 | 115 | .cm-keymap-fat-cursor pre.CodeMirror-cursor:not(#nonsense_id) { |
|
116 | 116 | filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); |
|
117 | 117 | } |
|
118 | 118 | .CodeMirror pre.CodeMirror-cursor.CodeMirror-overwrite {} |
|
119 | 119 | .CodeMirror-focused pre.CodeMirror-cursor { |
|
120 | 120 | visibility: visible; |
|
121 | 121 | } |
|
122 | 122 | |
|
123 | 123 | div.CodeMirror-selected { background: #d9d9d9; } |
|
124 | 124 | .CodeMirror-focused div.CodeMirror-selected { background: #d7d4f0; } |
|
125 | 125 | |
|
126 | 126 | .CodeMirror-searching { |
|
127 | 127 | background: #ffa; |
|
128 | 128 | background: rgba(255, 255, 0, .4); |
|
129 | 129 | } |
|
130 | 130 | |
|
131 | 131 | /* Default theme */ |
|
132 | 132 | |
|
133 | 133 | .cm-s-default span.cm-keyword {color: #708;} |
|
134 | 134 | .cm-s-default span.cm-atom {color: #219;} |
|
135 | 135 | .cm-s-default span.cm-number {color: #164;} |
|
136 | 136 | .cm-s-default span.cm-def {color: #00f;} |
|
137 | 137 | .cm-s-default span.cm-variable {color: black;} |
|
138 | 138 | .cm-s-default span.cm-variable-2 {color: #05a;} |
|
139 | 139 | .cm-s-default span.cm-variable-3 {color: #085;} |
|
140 | 140 | .cm-s-default span.cm-property {color: black;} |
|
141 | 141 | .cm-s-default span.cm-operator {color: black;} |
|
142 | 142 | .cm-s-default span.cm-comment {color: #a50;} |
|
143 | 143 | .cm-s-default span.cm-string {color: #a11;} |
|
144 | 144 | .cm-s-default span.cm-string-2 {color: #f50;} |
|
145 | 145 | .cm-s-default span.cm-meta {color: #555;} |
|
146 | 146 | .cm-s-default span.cm-error {color: #f00;} |
|
147 | 147 | .cm-s-default span.cm-qualifier {color: #555;} |
|
148 | 148 | .cm-s-default span.cm-builtin {color: #30a;} |
|
149 | 149 | .cm-s-default span.cm-bracket {color: #997;} |
|
150 | 150 | .cm-s-default span.cm-tag {color: #170;} |
|
151 | 151 | .cm-s-default span.cm-attribute {color: #00c;} |
|
152 | 152 | .cm-s-default span.cm-header {color: blue;} |
|
153 | 153 | .cm-s-default span.cm-quote {color: #090;} |
|
154 | 154 | .cm-s-default span.cm-hr {color: #999;} |
|
155 | 155 | .cm-s-default span.cm-link {color: #00c;} |
|
156 | 156 | |
|
157 | 157 | span.cm-header, span.cm-strong {font-weight: bold;} |
|
158 | 158 | span.cm-em {font-style: italic;} |
|
159 | 159 | span.cm-emstrong {font-style: italic; font-weight: bold;} |
|
160 | 160 | span.cm-link {text-decoration: underline;} |
|
161 | 161 | |
|
162 | 162 | span.cm-invalidchar {color: #f00;} |
|
163 | 163 | |
|
164 | 164 | div.CodeMirror span.CodeMirror-matchingbracket {color: #0f0;} |
|
165 | 165 | div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;} |
|
166 | 166 | |
|
167 | 167 | @media print { |
|
168 | 168 | |
|
169 | 169 | /* Hide the cursor when printing */ |
|
170 | 170 | .CodeMirror pre.CodeMirror-cursor { |
|
171 | 171 | visibility: hidden; |
|
172 | 172 | } |
|
173 | 173 | |
|
174 |
} |
|
|
174 | } No newline at end of file |
@@ -1,173 +1,173 b'' | |||
|
1 | 1 | div.codeblock { |
|
2 | 2 | overflow: auto; |
|
3 | 3 | padding: 0px; |
|
4 | 4 | border: 1px solid #ccc; |
|
5 | 5 | background: #f8f8f8; |
|
6 | 6 | font-size: 100%; |
|
7 | 7 | line-height: 100%; |
|
8 | 8 | /* new */ |
|
9 | 9 | line-height: 125%; |
|
10 | 10 | -webkit-border-radius: 4px; |
|
11 | 11 | -moz-border-radius: 4px; |
|
12 | 12 | border-radius: 4px; |
|
13 | 13 | } |
|
14 | 14 | div.codeblock .code-header { |
|
15 | 15 | border-bottom: 1px solid #CCCCCC; |
|
16 | 16 | background: #EEEEEE; |
|
17 | padding:10px 0 10px 0; | |
|
17 | padding: 10px 0 10px 0; | |
|
18 | 18 | } |
|
19 | 19 | |
|
20 | 20 | div.codeblock .code-header .stats { |
|
21 | 21 | clear: both; |
|
22 | 22 | padding: 6px 8px 6px 10px; |
|
23 | 23 | border-bottom: 1px solid rgb(204, 204, 204); |
|
24 | 24 | height: 23px; |
|
25 | 25 | margin-bottom: 6px; |
|
26 | 26 | } |
|
27 | 27 | |
|
28 | 28 | div.codeblock .code-header .stats .left { |
|
29 | float:left; | |
|
29 | float: left; | |
|
30 | 30 | } |
|
31 | 31 | div.codeblock .code-header .stats .left.img { |
|
32 | margin-top:-2px; | |
|
32 | margin-top: -2px; | |
|
33 | 33 | } |
|
34 | 34 | div.codeblock .code-header .stats .left.item { |
|
35 | float:left; | |
|
35 | float: left; | |
|
36 | 36 | padding: 0 9px 0 9px; |
|
37 | border-right:1px solid #ccc; | |
|
37 | border-right: 1px solid #ccc; | |
|
38 | 38 | } |
|
39 | 39 | div.codeblock .code-header .stats .left.item pre { |
|
40 | 40 | } |
|
41 | 41 | div.codeblock .code-header .stats .left.item.last { |
|
42 | border-right:none; | |
|
42 | border-right: none; | |
|
43 | 43 | } |
|
44 | 44 | div.codeblock .code-header .stats .buttons { |
|
45 | float:right; | |
|
46 | padding-right:4px; | |
|
45 | float: right; | |
|
46 | padding-right: 4px; | |
|
47 | 47 | } |
|
48 | 48 | |
|
49 | 49 | div.codeblock .code-header .author { |
|
50 | margin-left:25px; | |
|
50 | margin-left: 25px; | |
|
51 | 51 | font-weight: bold; |
|
52 | 52 | height: 25px; |
|
53 | 53 | } |
|
54 | 54 | div.codeblock .code-header .author .user { |
|
55 | padding-top:3px; | |
|
55 | padding-top: 3px; | |
|
56 | 56 | } |
|
57 | 57 | div.codeblock .code-header .commit { |
|
58 | margin-left:25px; | |
|
58 | margin-left: 25px; | |
|
59 | 59 | font-weight: normal; |
|
60 | white-space:pre; | |
|
60 | white-space: pre; | |
|
61 | 61 | } |
|
62 | 62 | |
|
63 | 63 | div.codeblock .code-body table { |
|
64 | 64 | width: 0 !important; |
|
65 | 65 | border: 0px !important; |
|
66 | 66 | } |
|
67 | 67 | div.codeblock .code-body table td { |
|
68 | 68 | border: 0px !important; |
|
69 | 69 | } |
|
70 | 70 | div.code-body { |
|
71 | 71 | background-color: #FFFFFF; |
|
72 | 72 | } |
|
73 | 73 | |
|
74 | 74 | div.codeblock .code-header .search-path { |
|
75 | 75 | padding: 0px 0px 0px 10px; |
|
76 | 76 | } |
|
77 | 77 | |
|
78 | 78 | div.search-code-body { |
|
79 | 79 | background-color: #FFFFFF; |
|
80 | 80 | padding: 5px 0px 5px 10px; |
|
81 | 81 | } |
|
82 | 82 | |
|
83 | 83 | div.search-code-body pre .match { |
|
84 | 84 | background-color: #FAFFA6; |
|
85 | 85 | } |
|
86 | 86 | div.search-code-body pre .break { |
|
87 | 87 | background-color: #DDE7EF; |
|
88 | 88 | width: 100%; |
|
89 | 89 | color: #747474; |
|
90 | 90 | display: block; |
|
91 | 91 | } |
|
92 | 92 | div.annotatediv { |
|
93 | margin-left:2px; | |
|
94 | margin-right:4px; | |
|
93 | margin-left: 2px; | |
|
94 | margin-right: 4px; | |
|
95 | 95 | } |
|
96 | 96 | .code-highlight { |
|
97 | 97 | padding: 0px; |
|
98 | 98 | margin-top: 5px; |
|
99 | 99 | margin-bottom: 5px; |
|
100 | 100 | border-left: 2px solid #ccc; |
|
101 | 101 | } |
|
102 | 102 | .code-highlight pre, .linenodiv pre { |
|
103 | 103 | padding: 5px; |
|
104 | 104 | margin: 0; |
|
105 | 105 | } |
|
106 | 106 | .code-highlight pre div:target { |
|
107 | 107 | background-color: #FFFFBE !important; |
|
108 | 108 | } |
|
109 | 109 | |
|
110 | 110 | .linenos a { text-decoration: none; } |
|
111 | 111 | |
|
112 | 112 | .code { display: block; } |
|
113 | 113 | .code-highlight .hll, .codehilite .hll { background-color: #ffffcc } |
|
114 | 114 | .code-highlight .c, .codehilite .c { color: #408080; font-style: italic } /* Comment */ |
|
115 | 115 | .code-highlight .err, .codehilite .err { border: 1px solid #FF0000 } /* Error */ |
|
116 | 116 | .code-highlight .k, .codehilite .k { color: #008000; font-weight: bold } /* Keyword */ |
|
117 | 117 | .code-highlight .o, .codehilite .o { color: #666666 } /* Operator */ |
|
118 | 118 | .code-highlight .cm, .codehilite .cm { color: #408080; font-style: italic } /* Comment.Multiline */ |
|
119 | 119 | .code-highlight .cp, .codehilite .cp { color: #BC7A00 } /* Comment.Preproc */ |
|
120 | 120 | .code-highlight .c1, .codehilite .c1 { color: #408080; font-style: italic } /* Comment.Single */ |
|
121 | 121 | .code-highlight .cs, .codehilite .cs { color: #408080; font-style: italic } /* Comment.Special */ |
|
122 | 122 | .code-highlight .gd, .codehilite .gd { color: #A00000 } /* Generic.Deleted */ |
|
123 | 123 | .code-highlight .ge, .codehilite .ge { font-style: italic } /* Generic.Emph */ |
|
124 | 124 | .code-highlight .gr, .codehilite .gr { color: #FF0000 } /* Generic.Error */ |
|
125 | 125 | .code-highlight .gh, .codehilite .gh { color: #000080; font-weight: bold } /* Generic.Heading */ |
|
126 | 126 | .code-highlight .gi, .codehilite .gi { color: #00A000 } /* Generic.Inserted */ |
|
127 | 127 | .code-highlight .go, .codehilite .go { color: #808080 } /* Generic.Output */ |
|
128 | 128 | .code-highlight .gp, .codehilite .gp { color: #000080; font-weight: bold } /* Generic.Prompt */ |
|
129 | 129 | .code-highlight .gs, .codehilite .gs { font-weight: bold } /* Generic.Strong */ |
|
130 | 130 | .code-highlight .gu, .codehilite .gu { color: #800080; font-weight: bold } /* Generic.Subheading */ |
|
131 | 131 | .code-highlight .gt, .codehilite .gt { color: #0040D0 } /* Generic.Traceback */ |
|
132 | 132 | .code-highlight .kc, .codehilite .kc { color: #008000; font-weight: bold } /* Keyword.Constant */ |
|
133 | 133 | .code-highlight .kd, .codehilite .kd { color: #008000; font-weight: bold } /* Keyword.Declaration */ |
|
134 | 134 | .code-highlight .kn, .codehilite .kn { color: #008000; font-weight: bold } /* Keyword.Namespace */ |
|
135 | 135 | .code-highlight .kp, .codehilite .kp { color: #008000 } /* Keyword.Pseudo */ |
|
136 | 136 | .code-highlight .kr, .codehilite .kr { color: #008000; font-weight: bold } /* Keyword.Reserved */ |
|
137 | 137 | .code-highlight .kt, .codehilite .kt { color: #B00040 } /* Keyword.Type */ |
|
138 | 138 | .code-highlight .m, .codehilite .m { color: #666666 } /* Literal.Number */ |
|
139 | 139 | .code-highlight .s, .codehilite .s { color: #BA2121 } /* Literal.String */ |
|
140 | 140 | .code-highlight .na, .codehilite .na { color: #7D9029 } /* Name.Attribute */ |
|
141 | 141 | .code-highlight .nb, .codehilite .nb { color: #008000 } /* Name.Builtin */ |
|
142 | 142 | .code-highlight .nc, .codehilite .nc { color: #0000FF; font-weight: bold } /* Name.Class */ |
|
143 | 143 | .code-highlight .no, .codehilite .no { color: #880000 } /* Name.Constant */ |
|
144 | 144 | .code-highlight .nd, .codehilite .nd { color: #AA22FF } /* Name.Decorator */ |
|
145 | 145 | .code-highlight .ni, .codehilite .ni { color: #999999; font-weight: bold } /* Name.Entity */ |
|
146 | 146 | .code-highlight .ne, .codehilite .ne { color: #D2413A; font-weight: bold } /* Name.Exception */ |
|
147 | 147 | .code-highlight .nf, .codehilite .nf { color: #0000FF } /* Name.Function */ |
|
148 | 148 | .code-highlight .nl, .codehilite .nl { color: #A0A000 } /* Name.Label */ |
|
149 | 149 | .code-highlight .nn, .codehilite .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */ |
|
150 | 150 | .code-highlight .nt, .codehilite .nt { color: #008000; font-weight: bold } /* Name.Tag */ |
|
151 | 151 | .code-highlight .nv, .codehilite .nv { color: #19177C } /* Name.Variable */ |
|
152 | 152 | .code-highlight .ow, .codehilite .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */ |
|
153 | 153 | .code-highlight .w, .codehilite .w { color: #bbbbbb } /* Text.Whitespace */ |
|
154 | 154 | .code-highlight .mf, .codehilite .mf { color: #666666 } /* Literal.Number.Float */ |
|
155 | 155 | .code-highlight .mh, .codehilite .mh { color: #666666 } /* Literal.Number.Hex */ |
|
156 | 156 | .code-highlight .mi, .codehilite .mi { color: #666666 } /* Literal.Number.Integer */ |
|
157 | 157 | .code-highlight .mo, .codehilite .mo { color: #666666 } /* Literal.Number.Oct */ |
|
158 | 158 | .code-highlight .sb, .codehilite .sb { color: #BA2121 } /* Literal.String.Backtick */ |
|
159 | 159 | .code-highlight .sc, .codehilite .sc { color: #BA2121 } /* Literal.String.Char */ |
|
160 | 160 | .code-highlight .sd, .codehilite .sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */ |
|
161 | 161 | .code-highlight .s2, .codehilite .s2 { color: #BA2121 } /* Literal.String.Double */ |
|
162 | 162 | .code-highlight .se, .codehilite .se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */ |
|
163 | 163 | .code-highlight .sh, .codehilite .sh { color: #BA2121 } /* Literal.String.Heredoc */ |
|
164 | 164 | .code-highlight .si, .codehilite .si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */ |
|
165 | 165 | .code-highlight .sx, .codehilite .sx { color: #008000 } /* Literal.String.Other */ |
|
166 | 166 | .code-highlight .sr, .codehilite .sr { color: #BB6688 } /* Literal.String.Regex */ |
|
167 | 167 | .code-highlight .s1, .codehilite .s1 { color: #BA2121 } /* Literal.String.Single */ |
|
168 | 168 | .code-highlight .ss, .codehilite .ss { color: #19177C } /* Literal.String.Symbol */ |
|
169 | 169 | .code-highlight .bp, .codehilite .bp { color: #008000 } /* Name.Builtin.Pseudo */ |
|
170 | 170 | .code-highlight .vc, .codehilite .vc { color: #19177C } /* Name.Variable.Class */ |
|
171 | 171 | .code-highlight .vg, .codehilite .vg { color: #19177C } /* Name.Variable.Global */ |
|
172 | 172 | .code-highlight .vi, .codehilite .vi { color: #19177C } /* Name.Variable.Instance */ |
|
173 |
.code-highlight .il, .codehilite .il { color: #666666 } /* Literal.Number.Integer.Long */ |
|
|
173 | .code-highlight .il, .codehilite .il { color: #666666 } /* Literal.Number.Integer.Long */ No newline at end of file |
General Comments 0
You need to be logged in to leave comments.
Login now