Show More
@@ -125,7 +125,7 def random_ports(port, n): | |||
|
125 | 125 | |
|
126 | 126 | class NotebookWebApplication(web.Application): |
|
127 | 127 | |
|
128 |
def __init__(self, ipython_app, kernel_manager, notebook_manager, |
|
|
128 | def __init__(self, ipython_app, kernel_manager, notebook_manager, | |
|
129 | 129 | cluster_manager, log, |
|
130 | 130 | base_project_url, settings_overrides): |
|
131 | 131 | handlers = [ |
@@ -347,14 +347,14 class NotebookApp(BaseIPythonApplication): | |||
|
347 | 347 | help="Whether to prevent editing/execution of notebooks." |
|
348 | 348 | ) |
|
349 | 349 | |
|
350 |
use_less = Bool(False, config=True, |
|
|
350 | use_less = Bool(False, config=True, | |
|
351 | 351 | help="""Wether to use Browser Side less-css parsing |
|
352 |
instead of compiled css version in templates that allows |
|
|
353 |
it. This is mainly convenient when working on the less |
|
|
352 | instead of compiled css version in templates that allows | |
|
353 | it. This is mainly convenient when working on the less | |
|
354 | 354 | file to avoid a build step, or if user want to overwrite |
|
355 | 355 | some of the less variables without having to recompile |
|
356 | 356 | everything.""") |
|
357 | ||
|
357 | ||
|
358 | 358 | webapp_settings = Dict(config=True, |
|
359 | 359 | help="Supply overrides for the tornado.web.Application that the " |
|
360 | 360 | "IPython notebook uses.") |
@@ -1,5 +1,5 | |||
|
1 | 1 | Js files in this fomder from Tag 1.3.1 sha:68297d7e3850b5eedac825a202eb64f9c80ce183 |
|
2 |
from |
|
|
2 | from | |
|
3 | 3 | https://github.com/cloudhead/less.js |
|
4 | 4 | |
|
5 | 5 | /dists/less-1.3.1.js |
@@ -1,95 +1,95 | |||
|
1 | 1 | |
|
2 | 2 | /* Flexible box model classes */ |
|
3 | 3 | /* Taken from Alex Russell http://infrequently.org/2009/08/css-3-progress/ */ |
|
4 | ||
|
4 | ||
|
5 | 5 | .hbox { |
|
6 | 6 | display: -webkit-box; |
|
7 | 7 | -webkit-box-orient: horizontal; |
|
8 | 8 | -webkit-box-align: stretch; |
|
9 | ||
|
9 | ||
|
10 | 10 | display: -moz-box; |
|
11 | 11 | -moz-box-orient: horizontal; |
|
12 | 12 | -moz-box-align: stretch; |
|
13 | ||
|
13 | ||
|
14 | 14 | display: box; |
|
15 | 15 | box-orient: horizontal; |
|
16 | 16 | box-align: stretch; |
|
17 | 17 | } |
|
18 | ||
|
18 | ||
|
19 | 19 | .hbox > * { |
|
20 | 20 | -webkit-box-flex: 0; |
|
21 | 21 | -moz-box-flex: 0; |
|
22 | 22 | box-flex: 0; |
|
23 | 23 | } |
|
24 | ||
|
24 | ||
|
25 | 25 | .vbox { |
|
26 | 26 | display: -webkit-box; |
|
27 | 27 | -webkit-box-orient: vertical; |
|
28 | 28 | -webkit-box-align: stretch; |
|
29 | ||
|
29 | ||
|
30 | 30 | display: -moz-box; |
|
31 | 31 | -moz-box-orient: vertical; |
|
32 | 32 | -moz-box-align: stretch; |
|
33 | ||
|
33 | ||
|
34 | 34 | display: box; |
|
35 | 35 | box-orient: vertical; |
|
36 | 36 | box-align: stretch; |
|
37 | 37 | } |
|
38 | ||
|
38 | ||
|
39 | 39 | .vbox > * { |
|
40 | 40 | -webkit-box-flex: 0; |
|
41 | 41 | -moz-box-flex: 0; |
|
42 | 42 | box-flex: 0; |
|
43 | 43 | } |
|
44 | ||
|
44 | ||
|
45 | 45 | .reverse { |
|
46 | 46 | -webkit-box-direction: reverse; |
|
47 | 47 | -moz-box-direction: reverse; |
|
48 | 48 | box-direction: reverse; |
|
49 | 49 | } |
|
50 | ||
|
50 | ||
|
51 | 51 | .box-flex0 { |
|
52 | 52 | -webkit-box-flex: 0; |
|
53 | 53 | -moz-box-flex: 0; |
|
54 | 54 | box-flex: 0; |
|
55 | 55 | } |
|
56 | ||
|
56 | ||
|
57 | 57 | .box-flex1, .box-flex { |
|
58 | 58 | -webkit-box-flex: 1; |
|
59 | 59 | -moz-box-flex: 1; |
|
60 | 60 | box-flex: 1; |
|
61 | 61 | } |
|
62 | ||
|
62 | ||
|
63 | 63 | .box-flex2 { |
|
64 | 64 | -webkit-box-flex: 2; |
|
65 | 65 | -moz-box-flex: 2; |
|
66 | 66 | box-flex: 2; |
|
67 | 67 | } |
|
68 | ||
|
68 | ||
|
69 | 69 | .box-group1 { |
|
70 | 70 | -webkit-box-flex-group: 1; |
|
71 | 71 | -moz-box-flex-group: 1; |
|
72 | 72 | box-flex-group: 1; |
|
73 | 73 | } |
|
74 | ||
|
74 | ||
|
75 | 75 | .box-group2 { |
|
76 | 76 | -webkit-box-flex-group: 2; |
|
77 | 77 | -moz-box-flex-group: 2; |
|
78 | 78 | box-flex-group: 2; |
|
79 | 79 | } |
|
80 | ||
|
80 | ||
|
81 | 81 | .start { |
|
82 | 82 | -webkit-box-pack: start; |
|
83 | 83 | -moz-box-pack: start; |
|
84 | 84 | box-pack: start; |
|
85 | 85 | } |
|
86 | ||
|
86 | ||
|
87 | 87 | .end { |
|
88 | 88 | -webkit-box-pack: end; |
|
89 | 89 | -moz-box-pack: end; |
|
90 | 90 | box-pack: end; |
|
91 | 91 | } |
|
92 | ||
|
92 | ||
|
93 | 93 | .center { |
|
94 | 94 | -webkit-box-pack: center; |
|
95 | 95 | -moz-box-pack: center; |
@@ -227,7 +227,7 div.output_scroll { | |||
|
227 | 227 | height: 24em; |
|
228 | 228 | /* FF needs this *and the wrapper* to specify full width, or it will shrinkwrap */ |
|
229 | 229 | width: 100%; |
|
230 | ||
|
230 | ||
|
231 | 231 | overflow: auto; |
|
232 | 232 | .corner-all; |
|
233 | 233 | box-shadow: inset 0 2px 8px rgba(0, 0, 0, .8); |
@@ -344,7 +344,7 div.text_cell_render { | |||
|
344 | 344 | /* The following gets added to the <head> if it is detected that the user has a |
|
345 | 345 | * monospace font with inconsistent normal/bold/italic height. See |
|
346 | 346 | * notebookmain.js. Such fonts will have keywords vertically offset with |
|
347 |
* respect to the rest of the text. The user should select a better font. |
|
|
347 | * respect to the rest of the text. The user should select a better font. | |
|
348 | 348 | * See: https://github.com/ipython/ipython/issues/1503 |
|
349 | 349 | * |
|
350 | 350 | * .CodeMirror span { |
@@ -56,7 +56,7 | |||
|
56 | 56 | |
|
57 | 57 | .rendered_html tr { |
|
58 | 58 | border: 1px solid black; |
|
59 | } | |
|
59 | } | |
|
60 | 60 | |
|
61 | 61 | .rendered_html p { |
|
62 | 62 | text-align: justify; |
@@ -93,7 +93,7 | |||
|
93 | 93 | } |
|
94 | 94 | |
|
95 | 95 | .tooltiptext |
|
96 | { | |
|
96 | { | |
|
97 | 97 | /*avoid the button to overlap on some docstring*/ |
|
98 | 98 | padding-right:30px |
|
99 | 99 | } |
@@ -109,7 +109,7 | |||
|
109 | 109 | animation: fadeIn 800ms; |
|
110 | 110 | vertical-align: middle; |
|
111 | 111 | background-color: @cell_background; |
|
112 | ||
|
112 | ||
|
113 | 113 | overflow : visible; |
|
114 | 114 | border: @border_color @borderwidth solid; |
|
115 | 115 | outline: none; |
@@ -143,7 +143,7 | |||
|
143 | 143 | |
|
144 | 144 | .pretooltiparrow:before { |
|
145 | 145 | background-color : @cell_background; |
|
146 |
border : @borderwidth @border_color solid; |
|
|
146 | border : @borderwidth @border_color solid; | |
|
147 | 147 | z-index:11; |
|
148 | 148 | content: ""; |
|
149 | 149 | position: absolute; |
General Comments 0
You need to be logged in to leave comments.
Login now