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