##// END OF EJS Templates
Help links work on Firefox.
Brian E. Granger -
Show More
@@ -1,307 +1,311 b''
1 1
2 2 /**
3 3 * Primary styles
4 4 *
5 5 * Author: IPython Development Team
6 6 */
7 7
8 8
9 9 body {
10 10 background-color: white;
11 11 /* This makes sure that the body covers the entire window and needs to
12 12 be in a different element than the display: box in wrapper below */
13 13 position: absolute;
14 14 left: 0px;
15 15 right: 0px;
16 16 top: 0px;
17 17 bottom: 0px;
18 18 overflow: hidden;
19 19 }
20 20
21 21 span#save_widget {
22 22 position: absolute;
23 23 left: 0px;
24 24 padding: 5px 0px;
25 25 margin: 0px 0px 0px 0px;
26 26 }
27 27
28 28 input#notebook_name {
29 29 height: 1em;
30 30 line-height: 1em;
31 31 padding: 5px;
32 32 }
33 33
34 34 span#kernel_status {
35 35 position: absolute;
36 36 padding: 8px 5px 5px 5px;
37 37 right: 10px;
38 38 font-weight: bold;
39 39 }
40 40
41 41 .status_idle {
42 42 color: gray;
43 43 }
44 44
45 45 .status_busy {
46 46 color: red;
47 47 }
48 48
49 49 .status_restarting {
50 50 color: black;
51 51 }
52 52
53 53 div#left_panel {
54 54 overflow-y: auto;
55 55 top: 0px;
56 56 left: 0px;
57 57 margin: 0px;
58 58 padding: 0px;
59 59 position: absolute;
60 60 }
61 61
62 62 h3.section_header {
63 63 padding: 5px;
64 64 }
65 65
66 66 div.section_content {
67 67 padding: 5px;
68 68 }
69 69
70 span.section_row_buttons > button {
70 span.section_row_buttons button {
71 width: 70px;
72 }
73
74 span.section_row_buttons a {
71 75 width: 70px;
72 76 }
73 77
74 78 .section_row {
75 79 margin: 5px 0px;
76 80 }
77 81
78 82 .section_row_buttons {
79 83 float: right;
80 84 }
81 85
82 86 #kernel_persist {
83 87 float: right;
84 88 }
85 89
86 90 .help_string {
87 91 float: right;
88 92 width: 170px;
89 93 padding: 0px 5px;
90 94 text-align: center;
91 95 }
92 96
93 97 .help_string_label {
94 98 float: right;
95 99 }
96 100
97 101 #autoindent_span {
98 102 float: right;
99 103 }
100 104
101 105 .checkbox_label {
102 106 font-size: 85%;
103 107 float: right;
104 108 padding: 0.3em;
105 109 }
106 110
107 111 .section_row_header {
108 112 float: left;
109 113 font-size: 85%;
110 114 padding: 0.4em 0em;
111 115 font-weight: bold;
112 116 }
113 117
114 118 span.button_label {
115 119 padding: 0.2em 1em;
116 120 font-size: 77%;
117 121 float: right;
118 122 }
119 123
120 124 /* This is needed because FF was adding a 2px margin top and bottom. */
121 125 .section_row .ui-button {
122 126 margin-top: 0px;
123 127 margin-bottom: 0px;
124 128 }
125 129
126 130 #download_format {
127 131 float: right;
128 132 font-size: 85%;
129 133 width: 62px;
130 134 margin: 1px 5px;
131 135 }
132 136
133 137 div#left_panel_splitter {
134 138 width: 8px;
135 139 top: 0px;
136 140 left: 202px;
137 141 margin: 0px;
138 142 padding: 0px;
139 143 position: absolute;
140 144 }
141 145
142 146 div#notebook_panel {
143 147 /* The L margin will be set in the Javascript code*/
144 148 margin: 0px 0px 0px 0px;
145 149 padding: 0px;
146 150 }
147 151
148 152 div#notebook {
149 153 overflow-y: scroll;
150 154 overflow-x: auto;
151 155 width: 100%;
152 156 /* This spaces the cell away from the edge of the notebook area */
153 157 padding: 15px 15px 15px 15px;
154 158 margin: 0px
155 159 background-color: white;
156 160 }
157 161
158 162 div#pager_splitter {
159 163 height: 8px;
160 164 }
161 165
162 166 div#pager {
163 167 padding: 15px;
164 168 overflow: auto;
165 169 }
166 170
167 171 div.cell {
168 172 width: 100%;
169 173 padding: 5px;
170 174 /* This acts as a spacer between cells, that is outside the border */
171 175 margin: 5px 0px 5px 0px;
172 176 }
173 177
174 178 div.code_cell {
175 179 background-color: white;
176 180 }
177 181
178 182 div.prompt {
179 183 /* No width is used so the prompt area can expand as the prompt number
180 184 increases in width */
181 185 /* This 0.4em is tuned to match the padding on the CodeMirror editor. */
182 186 padding: 0.4em;
183 187 margin: 0px;
184 188 font-family: monospace;
185 189 }
186 190
187 191 div.input {
188 192 page-break-inside: avoid;
189 193 }
190 194
191 195 div.input_area {
192 196 color: black;
193 197 }
194 198
195 199 div.input_prompt {
196 200 color: navy;
197 201 }
198 202
199 203 div.output {
200 204 /* This is a spacer between the input and output of each cell */
201 205 margin-top: 5px;
202 206 }
203 207
204 208 div.output_prompt {
205 209 color: darkred;
206 210 }
207 211
208 212 /* This class is applied to all types of output (pyout, pyerr, stream, display_data) */
209 213 div.output_area {
210 214 padding: 0px 0.4em;
211 215 page-break-inside: avoid;
212 216 }
213 217
214 218 /* This is the output area after the Out[] prompt of type pyout */
215 219 div.pyout_area {
216 220 padding: 0.4em;
217 221 }
218 222
219 223 /* The rest of the output_* classes are for special styling of the different
220 224 output types */
221 225
222 226 div.output_pyout {
223 227 padding: 0px;
224 228 }
225 229
226 230 div.output_stream {
227 231 text-align: left;
228 232 color: black;
229 233 font-family: monospace;
230 234 }
231 235
232 236 div.output_latex {
233 237 text-align: left;
234 238 color: black;
235 239 }
236 240
237 241 div.output_html {
238 242 }
239 243
240 244 div.output_png {
241 245 }
242 246
243 247 div.output_jpeg {
244 248 }
245 249
246 250 div.text_cell {
247 251 background-color: white;
248 252 }
249 253
250 254 div.text_cell_input {
251 255 color: black;
252 256 }
253 257
254 258 div.text_cell_render {
255 259 font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
256 260 outline: none;
257 261 resize: none;
258 262 width: inherit;
259 263 border-style: none;
260 264 padding: 5px;
261 265 color: black;
262 266 }
263 267
264 268 .CodeMirror {
265 269 line-height: 1.231; /* Changed from 1em to our global default */
266 270 }
267 271
268 272 .CodeMirror-scroll {
269 273 height: auto; /* Changed to auto to autogrow */
270 274 overflow-y: visible; /* Changed from auto to remove scrollbar */
271 275 overflow-x: auto; /* Changed from auto to remove scrollbar */
272 276 }
273 277
274 278 /* CSS font colors for translated ANSI colors. */
275 279
276 280
277 281 .ansiblack {color: black;}
278 282 .ansired {color: darkred;}
279 283 .ansigreen {color: darkgreen;}
280 284 .ansiyellow {color: brown;}
281 285 .ansiblue {color: darkblue;}
282 286 .ansipurple {color: darkviolet;}
283 287 .ansicyan {color: steelblue;}
284 288 .ansigrey {color: grey;}
285 289 .ansibold {font-weight: bold;}
286 290
287 291 .completions {
288 292 position: absolute;
289 293 z-index: 10;
290 294 overflow: auto;
291 295 border: 1px solid black;
292 296 }
293 297
294 298 .completions select {
295 299 background: white;
296 300 outline: none;
297 301 border: none;
298 302 padding: 0px;
299 303 margin: 0px;
300 304 font-family: monospace;
301 305 }
302 306
303 307 @media print {
304 308 body { overflow: visible !important; }
305 309 .ui-widget-content { border: 0px; }
306 310 }
307 311
@@ -1,229 +1,229 b''
1 1 <!DOCTYPE HTML>
2 2 <html>
3 3
4 4 <head>
5 5 <meta charset="utf-8">
6 6
7 7 <title>IPython Notebook</title>
8 8
9 9 <link rel="stylesheet" href="static/jquery/css/themes/aristo/jquery-wijmo.css" type="text/css" />
10 10 <!-- <link rel="stylesheet" href="static/jquery/css/themes/rocket/jquery-wijmo.css" type="text/css" /> -->
11 11 <!-- <link rel="stylesheet" href="static/jquery/css/themes/smoothness/jquery-ui-1.8.14.custom.css" type="text/css" />-->
12 12
13 13 <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML" charset="utf-8"></script>
14 14 <!-- <script type='text/javascript' src='static/mathjax/MathJax.js?config=TeX-AMS_HTML' charset='utf-8'></script> -->
15 15 <script type="text/javascript">
16 16 if (typeof MathJax == 'undefined') {
17 17 console.log("Trying to load local copy of MathJax");
18 18 document.write(unescape("%3Cscript type='text/javascript' src='static/mathjax/MathJax.js%3Fconfig=TeX-AMS_HTML' charset='utf-8'%3E%3C/script%3E"));
19 19 }
20 20 </script>
21 21
22 22 <link rel="stylesheet" href="static/codemirror-2.12/lib/codemirror.css">
23 23 <link rel="stylesheet" href="static/codemirror-2.12/mode/rst/rst.css">
24 24 <link rel="stylesheet" href="static/codemirror-2.12/theme/ipython.css">
25 25 <link rel="stylesheet" href="static/codemirror-2.12/theme/default.css">
26 26
27 27 <link rel="stylesheet" href="static/css/boilerplate.css" type="text/css" />
28 28 <link rel="stylesheet" href="static/css/layout.css" type="text/css" />
29 29 <link rel="stylesheet" href="static/css/base.css" type="text/css" />
30 30 <link rel="stylesheet" href="static/css/notebook.css" type="text/css" />
31 31 <link rel="stylesheet" href="static/css/renderedhtml.css" type="text/css" />
32 32
33 33
34 34 </head>
35 35
36 36 <body>
37 37
38 38 <div id="header">
39 39 <span id="ipython_notebook"><h1>IPython Notebook</h1></span>
40 40 <span id="save_widget">
41 41 <input type="text" id="notebook_name" size="20"></textarea>
42 42 <span id="notebook_id" style="display:none">{{notebook_id}}</span>
43 43 <button id="save_notebook">Save</button>
44 44 </span>
45 45 <span id="kernel_status">Idle</span>
46 46 </div>
47 47
48 48 <div id="main_app">
49 49
50 50 <div id="left_panel">
51 51
52 52 <div id="notebook_section">
53 53 <h3 class="section_header">Notebook</h3>
54 54 <div class="section_content">
55 55 <div class="section_row">
56 56 <span id="new_open" class="section_row_buttons">
57 57 <button id="new_notebook">New</button>
58 58 <button id="open_notebook">Open</button>
59 59 </span>
60 60 <span class="section_row_header">Actions</span>
61 61 </div>
62 62 <div class="section_row">
63 63 <span>
64 64 <select id="download_format">
65 65 <option value="xml">xml</option>
66 66 <option value="json">json</option>
67 67 <option value="py">py</option>
68 68 </select>
69 69 </span>
70 70 <span class="section_row_buttons">
71 71 <span id="print_widget">
72 72 <button id="print_notebook">Print</button>
73 73 </span>
74 74
75 75 <button id="download_notebook">Export</button>
76 76 </span>
77 77 </div>
78 78 </div>
79 79 </div>
80 80
81 81 <div id="cell_section">
82 82 <h3 class="section_header">Cell</h3>
83 83 <div class="section_content">
84 84 <div class="section_row">
85 85 <span class="section_row_buttons">
86 86 <button id="delete_cell">Delete</button>
87 87 </span>
88 88 <span class="section_row_header">Actions</span>
89 89 </div>
90 90 <div class="section_row">
91 91 <span id="cell_type" class="section_row_buttons">
92 92 <button id="to_code">Code</button>
93 93 <!-- <button id="to_html">HTML</button>-->
94 94 <button id="to_markdown">Markdown</button>
95 95 </span>
96 96 <span class="button_label">Format</span>
97 97 </div>
98 98 <div class="section_row">
99 99 <span id="toggle_output" class="section_row_buttons">
100 100 <button id="collapse_cell">Collapse</button>
101 101 <button id="expand_cell">Expand</button>
102 102 <button id="clear_all_output">ClearAll</button>
103 103 </span>
104 104 <span class="button_label">Output</span>
105 105 </div>
106 106 <div class="section_row">
107 107 <span id="insert" class="section_row_buttons">
108 108 <button id="insert_cell_above">Above</button>
109 109 <button id="insert_cell_below">Below</button>
110 110 </span>
111 111 <span class="button_label">Insert</span>
112 112 </div>
113 113 <div class="section_row">
114 114 <span id="move" class="section_row_buttons">
115 115 <button id="move_cell_up">Up</button>
116 116 <button id="move_cell_down">Down</button>
117 117 </span>
118 118 <span class="button_label">Move</span>
119 119 </div>
120 120 <div class="section_row">
121 121 <span id="run_cells" class="section_row_buttons">
122 122 <button id="run_selected_cell">Selected</button>
123 123 <button id="run_all_cells">All</button>
124 124 </span>
125 125 <span class="button_label">Run</span>
126 126 </div>
127 127 <div class="section_row">
128 128 <span id="autoindent_span">
129 129 <input type="checkbox" id="autoindent" checked="true"></input>
130 130 </span>
131 131 <span class="checkbox_label">Autoindent:</span>
132 132 </div>
133 133 </div>
134 134 </div>
135 135
136 136 <div id="kernel_section">
137 137 <h3 class="section_header">Kernel</h3>
138 138 <div class="section_content">
139 139 <div class="section_row">
140 140 <span id="int_restart" class="section_row_buttons">
141 141 <button id="int_kernel">Interrupt</button>
142 142 <button id="restart_kernel">Restart</button>
143 143 </span>
144 144 <span class="section_row_header">Actions</span>
145 145 </div>
146 146 <div class="section_row">
147 147 <span id="kernel_persist">
148 148 <input type="checkbox" id="kill_kernel"></input>
149 149 </span>
150 150 <span class="checkbox_label">Kill kernel upon exit:</span>
151 151 </div>
152 152 </div>
153 153 </div>
154 154
155 155 <div id="help_section">
156 156 <h3 class="section_header">Help</h3>
157 157 <div class="section_content">
158 158 <div class="section_row">
159 159 <span id="help_buttons0" class="section_row_buttons">
160 <button id="python_help"><a href="http://docs.python.org" target="_blank">Python</a></button>
161 <button id="ipython_help"><a href="http://ipython.org/documentation.html" target="_blank">IPython</a></button>
162 <button id="numpy_help"><a href="http://docs.scipy.org/doc/numpy/reference/" target="_blank">NumPy</a></button>
160 <a id="python_help" href="http://docs.python.org" target="_blank">Python</a>
161 <a id="ipython_help" href="http://ipython.org/documentation.html" target="_blank">IPython</a>
162 <a id="numpy_help" href="http://docs.scipy.org/doc/numpy/reference/" target="_blank">NumPy</a>
163 163 </span>
164 164 <span class="section_row_header">Links</span>
165 165 </div>
166 166 <div class="section_row">
167 167 <span id="help_buttons1" class="section_row_buttons">
168 <button id="matplotlib_help"><a href="http://matplotlib.sourceforge.net/" target="_blank">MPL</a></button>
169 <button id="scipy_help"><a href="http://docs.scipy.org/doc/scipy/reference/" target="_blank">SciPy</a></button>
170 <button id="sympy_help"><a href="http://docs.sympy.org/dev/index.html" target="_blank">SymPy</a></button>
168 <a id="matplotlib_help" href="http://matplotlib.sourceforge.net/" target="_blank">MPL</a>
169 <a id="scipy_help" href="http://docs.scipy.org/doc/scipy/reference/" target="_blank">SciPy</a>
170 <a id="sympy_help" href="http://docs.sympy.org/dev/index.html" target="_blank">SymPy</a>
171 171 </span>
172 172 </div>
173 173 <div class="section_row">
174 174 <span class="help_string">run selected cell</span>
175 175 <span class="help_string_label">Shift-Enter |</span>
176 176 </div>
177 177 <div class="section_row">
178 178 <span class="help_string">run in terminal mode</span>
179 179 <span class="help_string_label">Ctrl-Enter |</span>
180 180 </div>
181 181 </div>
182 182 </div>
183 183
184 184 </div>
185 185 <div id="left_panel_splitter"></div>
186 186 <div id="notebook_panel">
187 187 <div id="notebook"></div>
188 188 <div id="pager_splitter"></div>
189 189 <div id="pager"></div>
190 190 </div>
191 191
192 192 </div>
193 193
194 194 <script src="static/jquery/js/jquery-1.6.2.min.js" type="text/javascript" charset="utf-8"></script>
195 195 <script src="static/jquery/js/jquery-ui-1.8.14.custom.min.js" type="text/javascript" charset="utf-8"></script>
196 196 <script src="static/jquery/js/jquery.autogrow.js" type="text/javascript" charset="utf-8"></script>
197 197
198 198 <script src="static/codemirror-2.12/lib/codemirror.js" charset="utf-8"></script>
199 199 <script src="static/codemirror-2.12/mode/python/python.js" charset="utf-8"></script>
200 200 <script src="static/codemirror-2.12/mode/htmlmixed/htmlmixed.js" charset="utf-8"></script>
201 201 <script src="static/codemirror-2.12/mode/xml/xml.js" charset="utf-8"></script>
202 202 <script src="static/codemirror-2.12/mode/javascript/javascript.js" charset="utf-8"></script>
203 203 <script src="static/codemirror-2.12/mode/css/css.js" charset="utf-8"></script>
204 204 <script src="static/codemirror-2.12/mode/rst/rst.js" charset="utf-8"></script>
205 205
206 206 <script src="static/pagedown/Markdown.Converter.js" charset="utf-8"></script>
207 207
208 208 <script src="static/js/namespace.js" type="text/javascript" charset="utf-8"></script>
209 209 <script src="static/js/utils.js" type="text/javascript" charset="utf-8"></script>
210 210 <script src="static/js/cell.js" type="text/javascript" charset="utf-8"></script>
211 211 <script src="static/js/codecell.js" type="text/javascript" charset="utf-8"></script>
212 212 <script src="static/js/textcell.js" type="text/javascript" charset="utf-8"></script>
213 213 <script src="static/js/kernel.js" type="text/javascript" charset="utf-8"></script>
214 214 <script src="static/js/kernelstatus.js" type="text/javascript" charset="utf-8"></script>
215 215 <script src="static/js/layout.js" type="text/javascript" charset="utf-8"></script>
216 216 <script src="static/js/savewidget.js" type="text/javascript" charset="utf-8"></script>
217 217 <script src="static/js/pager.js" type="text/javascript" charset="utf-8"></script>
218 218 <script src="static/js/panelsection.js" type="text/javascript" charset="utf-8"></script>
219 219 <script src="static/js/printwidget.js" type="text/javascript" charset="utf-8"></script>
220 220 <script src="static/js/leftpanel.js" type="text/javascript" charset="utf-8"></script>
221 221 <script src="static/js/notebook.js" type="text/javascript" charset="utf-8"></script>
222 222 <script src="static/js/notebook_main.js" type="text/javascript" charset="utf-8"></script>
223 223
224 224
225 225 </body>
226 226
227 227 </html>
228 228
229 229
General Comments 0
You need to be logged in to leave comments. Login now