mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-12 11:45:38 +08:00
remove trailing whitespace
This commit is contained in:
parent
29da710c27
commit
1991cc187e
@ -125,7 +125,7 @@ def random_ports(port, n):
|
||||
|
||||
class NotebookWebApplication(web.Application):
|
||||
|
||||
def __init__(self, ipython_app, kernel_manager, notebook_manager,
|
||||
def __init__(self, ipython_app, kernel_manager, notebook_manager,
|
||||
cluster_manager, log,
|
||||
base_project_url, settings_overrides):
|
||||
handlers = [
|
||||
@ -347,14 +347,14 @@ class NotebookApp(BaseIPythonApplication):
|
||||
help="Whether to prevent editing/execution of notebooks."
|
||||
)
|
||||
|
||||
use_less = Bool(False, config=True,
|
||||
use_less = Bool(False, config=True,
|
||||
help="""Wether to use Browser Side less-css parsing
|
||||
instead of compiled css version in templates that allows
|
||||
it. This is mainly convenient when working on the less
|
||||
instead of compiled css version in templates that allows
|
||||
it. This is mainly convenient when working on the less
|
||||
file to avoid a build step, or if user want to overwrite
|
||||
some of the less variables without having to recompile
|
||||
everything.""")
|
||||
|
||||
|
||||
webapp_settings = Dict(config=True,
|
||||
help="Supply overrides for the tornado.web.Application that the "
|
||||
"IPython notebook uses.")
|
||||
|
@ -1,95 +1,95 @@
|
||||
|
||||
/* Flexible box model classes */
|
||||
/* Taken from Alex Russell http://infrequently.org/2009/08/css-3-progress/ */
|
||||
|
||||
|
||||
.hbox {
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: horizontal;
|
||||
-webkit-box-align: stretch;
|
||||
|
||||
|
||||
display: -moz-box;
|
||||
-moz-box-orient: horizontal;
|
||||
-moz-box-align: stretch;
|
||||
|
||||
|
||||
display: box;
|
||||
box-orient: horizontal;
|
||||
box-align: stretch;
|
||||
}
|
||||
|
||||
|
||||
.hbox > * {
|
||||
-webkit-box-flex: 0;
|
||||
-moz-box-flex: 0;
|
||||
box-flex: 0;
|
||||
}
|
||||
|
||||
|
||||
.vbox {
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-box-align: stretch;
|
||||
|
||||
|
||||
display: -moz-box;
|
||||
-moz-box-orient: vertical;
|
||||
-moz-box-align: stretch;
|
||||
|
||||
|
||||
display: box;
|
||||
box-orient: vertical;
|
||||
box-align: stretch;
|
||||
}
|
||||
|
||||
|
||||
.vbox > * {
|
||||
-webkit-box-flex: 0;
|
||||
-moz-box-flex: 0;
|
||||
box-flex: 0;
|
||||
}
|
||||
|
||||
|
||||
.reverse {
|
||||
-webkit-box-direction: reverse;
|
||||
-moz-box-direction: reverse;
|
||||
box-direction: reverse;
|
||||
}
|
||||
|
||||
|
||||
.box-flex0 {
|
||||
-webkit-box-flex: 0;
|
||||
-moz-box-flex: 0;
|
||||
box-flex: 0;
|
||||
}
|
||||
|
||||
|
||||
.box-flex1, .box-flex {
|
||||
-webkit-box-flex: 1;
|
||||
-moz-box-flex: 1;
|
||||
box-flex: 1;
|
||||
}
|
||||
|
||||
|
||||
.box-flex2 {
|
||||
-webkit-box-flex: 2;
|
||||
-moz-box-flex: 2;
|
||||
box-flex: 2;
|
||||
}
|
||||
|
||||
|
||||
.box-group1 {
|
||||
-webkit-box-flex-group: 1;
|
||||
-moz-box-flex-group: 1;
|
||||
box-flex-group: 1;
|
||||
}
|
||||
|
||||
|
||||
.box-group2 {
|
||||
-webkit-box-flex-group: 2;
|
||||
-moz-box-flex-group: 2;
|
||||
box-flex-group: 2;
|
||||
}
|
||||
|
||||
|
||||
.start {
|
||||
-webkit-box-pack: start;
|
||||
-moz-box-pack: start;
|
||||
box-pack: start;
|
||||
}
|
||||
|
||||
|
||||
.end {
|
||||
-webkit-box-pack: end;
|
||||
-moz-box-pack: end;
|
||||
box-pack: end;
|
||||
}
|
||||
|
||||
|
||||
.center {
|
||||
-webkit-box-pack: center;
|
||||
-moz-box-pack: center;
|
||||
|
@ -227,7 +227,7 @@ div.output_scroll {
|
||||
height: 24em;
|
||||
/* FF needs this *and the wrapper* to specify full width, or it will shrinkwrap */
|
||||
width: 100%;
|
||||
|
||||
|
||||
overflow: auto;
|
||||
.corner-all;
|
||||
box-shadow: inset 0 2px 8px rgba(0, 0, 0, .8);
|
||||
@ -344,7 +344,7 @@ div.text_cell_render {
|
||||
/* The following gets added to the <head> if it is detected that the user has a
|
||||
* monospace font with inconsistent normal/bold/italic height. See
|
||||
* notebookmain.js. Such fonts will have keywords vertically offset with
|
||||
* respect to the rest of the text. The user should select a better font.
|
||||
* respect to the rest of the text. The user should select a better font.
|
||||
* See: https://github.com/ipython/ipython/issues/1503
|
||||
*
|
||||
* .CodeMirror span {
|
||||
|
@ -56,7 +56,7 @@
|
||||
|
||||
.rendered_html tr {
|
||||
border: 1px solid black;
|
||||
}
|
||||
}
|
||||
|
||||
.rendered_html p {
|
||||
text-align: justify;
|
||||
|
@ -93,7 +93,7 @@
|
||||
}
|
||||
|
||||
.tooltiptext
|
||||
{
|
||||
{
|
||||
/*avoid the button to overlap on some docstring*/
|
||||
padding-right:30px
|
||||
}
|
||||
@ -109,7 +109,7 @@
|
||||
animation: fadeIn 800ms;
|
||||
vertical-align: middle;
|
||||
background-color: @cell_background;
|
||||
|
||||
|
||||
overflow : visible;
|
||||
border: @border_color @borderwidth solid;
|
||||
outline: none;
|
||||
@ -143,7 +143,7 @@
|
||||
|
||||
.pretooltiparrow:before {
|
||||
background-color : @cell_background;
|
||||
border : @borderwidth @border_color solid;
|
||||
border : @borderwidth @border_color solid;
|
||||
z-index:11;
|
||||
content: "";
|
||||
position: absolute;
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
|
||||
|
||||
// utilities mixins
|
||||
// utilities mixins
|
||||
|
||||
.corner-all {
|
||||
border-radius:@corner_radius;
|
||||
|
Loading…
Reference in New Issue
Block a user