Show More
@@ -1,40 +1,40 b'' | |||
|
1 | 1 | |
|
2 | 2 | |
|
3 | 3 | .cm-s-ipython span.cm-keyword {color: #008000; font-weight: bold;} |
|
4 |
.cm-s-ipython span.cm-number {color: # |
|
|
4 | .cm-s-ipython span.cm-number {color: #0A32C8;} | |
|
5 | 5 | .cm-s-ipython span.cm-operator {color: #AA22FF; font-weight: bold;} |
|
6 | 6 | .cm-s-ipython span.cm-meta {color: #AA22FF;} |
|
7 | 7 | .cm-s-ipython span.cm-comment {color: #408080; font-style: italic;} |
|
8 | 8 | .cm-s-ipython span.cm-string {color: #BA2121;} |
|
9 | 9 | .cm-s-ipython span.cm-error {color: #f00;} |
|
10 | 10 | .cm-s-ipython span.cm-builtin {color: #008000;} |
|
11 | 11 | .cm-s-ipython span.cm-variable {color: #000000;} |
|
12 | 12 | |
|
13 | 13 | /* These classes are not currently used in the python.js mode */ |
|
14 | 14 | |
|
15 | 15 | /*.cm-s-ipython span.cm-atom {color: #219;}*/ |
|
16 | 16 | /*.cm-s-ipython span.cm-def {color: #00f;}*/ |
|
17 | 17 | /*.cm-s-ipython span.cm-variable-2 {color: #05a;}*/ |
|
18 | 18 | /*.cm-s-ipython span.cm-variable-3 {color: #0a5;}*/ |
|
19 | 19 | /*.cm-s-ipython span.cm-property {color: black;}*/ |
|
20 | 20 | /*.cm-s-ipython span.cm-qualifier {color: #555;}*/ |
|
21 | 21 | /*.cm-s-ipython span.cm-bracket {color: #cc7;}*/ |
|
22 | 22 | /*.cm-s-ipython span.cm-tag {color: #170;}*/ |
|
23 | 23 | /*.cm-s-ipython span.cm-attribute {color: #00c;}*/ |
|
24 | 24 | |
|
25 | 25 | /* These are the old styles for our pre-themed version */ |
|
26 | 26 | |
|
27 | 27 | /*span.py-delimiter {color: #666666;}*/ |
|
28 | 28 | /*span.py-special {color: #666666;}*/ |
|
29 | 29 | /*span.py-operator {color: #AA22FF; font-weight: bold;}*/ |
|
30 | 30 | /*span.py-keyword {color: #008000; font-weight: bold;}*/ |
|
31 | 31 | /*span.py-number {color: #666666;}*/ |
|
32 | 32 | /*span.py-identifier {color: #000000;}*/ |
|
33 | 33 | /*span.py-func {color: #000000;}*/ |
|
34 | 34 | /*span.py-type {color: #008000;}*/ |
|
35 | 35 | /*span.py-decorator {color: #AA22FF;}*/ |
|
36 | 36 | /*span.py-comment {color: #408080; font-style: italic;}*/ |
|
37 | 37 | /*span.py-string {color: #BA2121;}*/ |
|
38 | 38 | /*span.py-bytes {color: #BA2121;}*/ |
|
39 | 39 | /*span.py-raw {color: #BA2121;}*/ |
|
40 | 40 | /*span.py-unicode {color: #BA2121;}*/ |
@@ -1,345 +1,345 b'' | |||
|
1 | 1 | /** |
|
2 | 2 | * Primary styles |
|
3 | 3 | * |
|
4 | 4 | * Author: IPython Development Team |
|
5 | 5 | */ |
|
6 | 6 | |
|
7 | 7 | |
|
8 | 8 | body { |
|
9 | 9 | background-color: white; |
|
10 | 10 | /* This makes sure that the body covers the entire window and needs to |
|
11 | 11 | be in a different element than the display: box in wrapper below */ |
|
12 | 12 | position: absolute; |
|
13 | 13 | left: 0px; |
|
14 | 14 | right: 0px; |
|
15 | 15 | top: 0px; |
|
16 | 16 | bottom: 0px; |
|
17 | 17 | overflow: hidden; |
|
18 | 18 | } |
|
19 | 19 | |
|
20 | 20 | span#save_widget { |
|
21 | 21 | position: static; |
|
22 | 22 | left: 0px; |
|
23 | 23 | padding: 5px 0px; |
|
24 | 24 | margin: 0px 0px 0px 0px; |
|
25 | 25 | } |
|
26 | 26 | |
|
27 | 27 | span#quick_help_area { |
|
28 | 28 | position: static; |
|
29 | 29 | padding: 5px 0px; |
|
30 | 30 | margin: 0px 0px 0px 0px; |
|
31 | 31 | } |
|
32 | 32 | |
|
33 | 33 | input#notebook_name { |
|
34 | 34 | height: 1em; |
|
35 | 35 | line-height: 1em; |
|
36 | 36 | padding: 5px; |
|
37 | 37 | } |
|
38 | 38 | |
|
39 | 39 | span#kernel_status { |
|
40 | 40 | position: absolute; |
|
41 | 41 | padding: 8px 5px 5px 5px; |
|
42 | 42 | right: 10px; |
|
43 | 43 | font-weight: bold; |
|
44 | 44 | } |
|
45 | 45 | |
|
46 | 46 | |
|
47 | 47 | .status_idle { |
|
48 | 48 | color: gray; |
|
49 | 49 | } |
|
50 | 50 | |
|
51 | 51 | .status_busy { |
|
52 | 52 | color: red; |
|
53 | 53 | } |
|
54 | 54 | |
|
55 | 55 | .status_restarting { |
|
56 | 56 | color: black; |
|
57 | 57 | } |
|
58 | 58 | |
|
59 | 59 | div#left_panel { |
|
60 | 60 | overflow-y: auto; |
|
61 | 61 | top: 0px; |
|
62 | 62 | left: 0px; |
|
63 | 63 | margin: 0px; |
|
64 | 64 | padding: 0px; |
|
65 | 65 | position: absolute; |
|
66 | 66 | } |
|
67 | 67 | |
|
68 | 68 | h3.section_header { |
|
69 | 69 | padding: 5px; |
|
70 | 70 | } |
|
71 | 71 | |
|
72 | 72 | div.section_content { |
|
73 | 73 | padding: 5px; |
|
74 | 74 | } |
|
75 | 75 | |
|
76 | 76 | span.section_row_buttons button { |
|
77 | 77 | width: 70px; |
|
78 | 78 | } |
|
79 | 79 | |
|
80 | 80 | span.section_row_buttons a { |
|
81 | 81 | width: 70px; |
|
82 | 82 | } |
|
83 | 83 | |
|
84 | 84 | .section_row { |
|
85 | 85 | margin: 5px 0px; |
|
86 | 86 | } |
|
87 | 87 | |
|
88 | 88 | .section_row_buttons { |
|
89 | 89 | float: right; |
|
90 | 90 | } |
|
91 | 91 | |
|
92 | 92 | #kernel_persist { |
|
93 | 93 | float: right; |
|
94 | 94 | } |
|
95 | 95 | |
|
96 | 96 | .help_string { |
|
97 | 97 | float: right; |
|
98 | 98 | width: 170px; |
|
99 | 99 | padding: 0px 5px; |
|
100 | 100 | text-align: left; |
|
101 | 101 | font-size: 85%; |
|
102 | 102 | } |
|
103 | 103 | |
|
104 | 104 | .help_string_label { |
|
105 | 105 | float: right; |
|
106 | 106 | font-size: 85%; |
|
107 | 107 | } |
|
108 | 108 | |
|
109 | 109 | #autoindent_span { |
|
110 | 110 | float: right; |
|
111 | 111 | } |
|
112 | 112 | |
|
113 | 113 | .checkbox_label { |
|
114 | 114 | font-size: 85%; |
|
115 | 115 | float: right; |
|
116 | 116 | padding: 0.3em; |
|
117 | 117 | } |
|
118 | 118 | |
|
119 | 119 | .section_row_header { |
|
120 | 120 | float: left; |
|
121 | 121 | font-size: 85%; |
|
122 | 122 | padding: 0.4em 0em; |
|
123 | 123 | font-weight: bold; |
|
124 | 124 | } |
|
125 | 125 | |
|
126 | 126 | span.button_label { |
|
127 | 127 | padding: 0.2em 1em; |
|
128 | 128 | font-size: 77%; |
|
129 | 129 | float: right; |
|
130 | 130 | } |
|
131 | 131 | |
|
132 | 132 | /* This is needed because FF was adding a 2px margin top and bottom. */ |
|
133 | 133 | .section_row .ui-button { |
|
134 | 134 | margin-top: 0px; |
|
135 | 135 | margin-bottom: 0px; |
|
136 | 136 | } |
|
137 | 137 | |
|
138 | 138 | #download_format { |
|
139 | 139 | float: right; |
|
140 | 140 | font-size: 85%; |
|
141 | 141 | width: 62px; |
|
142 | 142 | margin: 1px 5px; |
|
143 | 143 | } |
|
144 | 144 | |
|
145 | 145 | div#left_panel_splitter { |
|
146 | 146 | width: 8px; |
|
147 | 147 | top: 0px; |
|
148 | 148 | left: 202px; |
|
149 | 149 | margin: 0px; |
|
150 | 150 | padding: 0px; |
|
151 | 151 | position: absolute; |
|
152 | 152 | } |
|
153 | 153 | |
|
154 | 154 | div#notebook_panel { |
|
155 | 155 | /* The L margin will be set in the Javascript code*/ |
|
156 | 156 | margin: 0px 0px 0px 0px; |
|
157 | 157 | padding: 0px; |
|
158 | 158 | } |
|
159 | 159 | |
|
160 | 160 | div#notebook { |
|
161 | 161 | overflow-y: scroll; |
|
162 | 162 | overflow-x: auto; |
|
163 | 163 | width: 100%; |
|
164 | 164 | /* This spaces the cell away from the edge of the notebook area */ |
|
165 | 165 | padding: 5px 5px 15px 5px; |
|
166 | 166 | margin: 0px |
|
167 | 167 | background-color: white; |
|
168 | 168 | } |
|
169 | 169 | |
|
170 | 170 | div#pager_splitter { |
|
171 | 171 | height: 8px; |
|
172 | 172 | } |
|
173 | 173 | |
|
174 | 174 | div#pager { |
|
175 | 175 | padding: 15px; |
|
176 | 176 | overflow: auto; |
|
177 | 177 | } |
|
178 | 178 | |
|
179 | 179 | div.cell { |
|
180 | 180 | width: 100%; |
|
181 | 181 | padding: 5px 5px 5px 0px; |
|
182 | 182 | /* This acts as a spacer between cells, that is outside the border */ |
|
183 | 183 | margin: 2px 0px 2px 0px; |
|
184 | 184 | } |
|
185 | 185 | |
|
186 | 186 | div.code_cell { |
|
187 | 187 | background-color: white; |
|
188 | 188 | } |
|
189 | 189 | |
|
190 | 190 | div.prompt { |
|
191 | 191 | /* This needs to be wide enough for 3 digit prompt numbers: In[100]: */ |
|
192 | 192 | width: 11ex; |
|
193 | 193 | /* This 0.4em is tuned to match the padding on the CodeMirror editor. */ |
|
194 | 194 | padding: 0.4em; |
|
195 | 195 | margin: 0px; |
|
196 | 196 | font-family: monospace; |
|
197 | 197 | text-align:right; |
|
198 | 198 | } |
|
199 | 199 | |
|
200 | 200 | div.input { |
|
201 | 201 | page-break-inside: avoid; |
|
202 | 202 | } |
|
203 | 203 | |
|
204 | 204 | /* input_area and input_prompt must match in top border and margin for alignment */ |
|
205 | 205 | div.input_area { |
|
206 | 206 | color: black; |
|
207 | 207 | border: 1px solid #ddd; |
|
208 | 208 | border-radius: 3px; |
|
209 |
background: #f |
|
|
209 | background: #f7f7f7; | |
|
210 | 210 | } |
|
211 | 211 | |
|
212 | 212 | div.input_prompt { |
|
213 | 213 | color: navy; |
|
214 | 214 | border-top: 1px solid transparent; |
|
215 | 215 | } |
|
216 | 216 | |
|
217 | 217 | div.output { |
|
218 | 218 | /* This is a spacer between the input and output of each cell */ |
|
219 | 219 | margin-top: 5px; |
|
220 | 220 | } |
|
221 | 221 | |
|
222 | 222 | div.output_prompt { |
|
223 | 223 | color: darkred; |
|
224 | 224 | } |
|
225 | 225 | |
|
226 | 226 | /* This class is the outer container of all output sections. */ |
|
227 | 227 | div.output_area { |
|
228 | 228 | padding: 0px; |
|
229 | 229 | page-break-inside: avoid; |
|
230 | 230 | } |
|
231 | 231 | |
|
232 | 232 | /* This class is for the output subarea inside the output_area and after |
|
233 | 233 | the prompt div. */ |
|
234 | 234 | div.output_subarea { |
|
235 | 235 | padding: 0.4em; |
|
236 | 236 | } |
|
237 | 237 | |
|
238 | 238 | /* The rest of the output_* classes are for special styling of the different |
|
239 | 239 | output types */ |
|
240 | 240 | |
|
241 | 241 | /* all text output has this class: */ |
|
242 | 242 | div.output_text { |
|
243 | 243 | text-align: left; |
|
244 | 244 | color: black; |
|
245 | 245 | font-family: monospace; |
|
246 | 246 | } |
|
247 | 247 | |
|
248 | 248 | /* stdout/stderr are 'text' as well as 'stream', but pyout/pyerr are *not* streams */ |
|
249 | 249 | div.output_stream { |
|
250 | 250 | padding-top: 0.0em; |
|
251 | 251 | padding-bottom: 0.0em; |
|
252 | 252 | } |
|
253 | 253 | div.output_stdout { |
|
254 | 254 | } |
|
255 | 255 | div.output_stderr { |
|
256 | 256 | background: #fdd; /* very light red background for stderr */ |
|
257 | 257 | } |
|
258 | 258 | |
|
259 | 259 | div.output_latex { |
|
260 | 260 | text-align: left; |
|
261 | 261 | color: black; |
|
262 | 262 | } |
|
263 | 263 | |
|
264 | 264 | div.output_html { |
|
265 | 265 | } |
|
266 | 266 | |
|
267 | 267 | div.output_png { |
|
268 | 268 | } |
|
269 | 269 | |
|
270 | 270 | div.output_jpeg { |
|
271 | 271 | } |
|
272 | 272 | |
|
273 | 273 | div.text_cell { |
|
274 | 274 | background-color: white; |
|
275 | 275 | } |
|
276 | 276 | |
|
277 | 277 | div.text_cell_input { |
|
278 | 278 | color: black; |
|
279 | 279 | } |
|
280 | 280 | |
|
281 | 281 | div.text_cell_render { |
|
282 | 282 | font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif; |
|
283 | 283 | outline: none; |
|
284 | 284 | resize: none; |
|
285 | 285 | width: inherit; |
|
286 | 286 | border-style: none; |
|
287 | 287 | padding: 5px; |
|
288 | 288 | color: black; |
|
289 | 289 | } |
|
290 | 290 | |
|
291 | 291 | .CodeMirror { |
|
292 | 292 | line-height: 1.231; /* Changed from 1em to our global default */ |
|
293 | 293 | } |
|
294 | 294 | |
|
295 | 295 | .CodeMirror-scroll { |
|
296 | 296 | height: auto; /* Changed to auto to autogrow */ |
|
297 | 297 | /* The CodeMirror docs are a bit fuzzy on if overflow-y should be hidden or visible.*/ |
|
298 | 298 | /* We have found that if it is visible, vertical scrollbars appear with font size changes.*/ |
|
299 | 299 | overflow-y: hidden; |
|
300 | 300 | overflow-x: auto; /* Changed from auto to remove scrollbar */ |
|
301 | 301 | } |
|
302 | 302 | |
|
303 | 303 | /* CSS font colors for translated ANSI colors. */ |
|
304 | 304 | |
|
305 | 305 | |
|
306 | 306 | .ansiblack {color: black;} |
|
307 | 307 | .ansired {color: darkred;} |
|
308 | 308 | .ansigreen {color: darkgreen;} |
|
309 | 309 | .ansiyellow {color: brown;} |
|
310 | 310 | .ansiblue {color: darkblue;} |
|
311 | 311 | .ansipurple {color: darkviolet;} |
|
312 | 312 | .ansicyan {color: steelblue;} |
|
313 | 313 | .ansigrey {color: grey;} |
|
314 | 314 | .ansibold {font-weight: bold;} |
|
315 | 315 | |
|
316 | 316 | .completions { |
|
317 | 317 | position: absolute; |
|
318 | 318 | z-index: 10; |
|
319 | 319 | overflow: auto; |
|
320 | 320 | border: 1px solid black; |
|
321 | 321 | } |
|
322 | 322 | |
|
323 | 323 | .completions select { |
|
324 | 324 | background: white; |
|
325 | 325 | outline: none; |
|
326 | 326 | border: none; |
|
327 | 327 | padding: 0px; |
|
328 | 328 | margin: 0px; |
|
329 | 329 | font-family: monospace; |
|
330 | 330 | } |
|
331 | 331 | |
|
332 | 332 | @media print { |
|
333 | 333 | body { overflow: visible !important; } |
|
334 | 334 | .ui-widget-content { border: 0px; } |
|
335 | 335 | } |
|
336 | 336 | |
|
337 | 337 | .shortcut_key { |
|
338 | 338 | display: inline-block; |
|
339 | 339 | width: 13ex; |
|
340 | 340 | text-align: right; |
|
341 | 341 | font-family: monospace; |
|
342 | 342 | } |
|
343 | 343 | |
|
344 | 344 | .shortcut_descr { |
|
345 | 345 | } |
General Comments 0
You need to be logged in to leave comments.
Login now