##// END OF EJS Templates
Shut down kernels in parallel...
Shut down kernels in parallel When stopping the notebook server, it currently sends a shutdown request to each kernel and then waits for the process to finish. This can be slow if you have several kernels running. This makes it issues all the shutdown requests before waiting on the processes, so shutdown happens in parallel. KernelManager (and MultiKernelManager) gain three new public API methods to allow this: * request_shutdown (promoted from a private method) * wait_shutdown (refactored out of shutdown_kernel) * cleanup (refactored out of shutdown_kernel)

File last commit:

r16205:2fd8ab24
r16510:633371e5
Show More
codecell.less
44 lines | 1.0 KiB | text/x-less | LessCssLexer
Brian E. Granger
Splitting notebook.less into separate files.
r10730 div.code_cell {
}
/* any special styling for code cells that are currently running goes here */
div.code_cell.running {
}
div.input {
page-break-inside: avoid;
.hbox();
}
MinRK
move prompts from margin to main column on small screens...
r15966 @media (max-width: 480px) {
// move prompts above code on small screens
div.input {
.vbox();
}
}
Brian E. Granger
Splitting notebook.less into separate files.
r10730 /* input_area and input_prompt must match in top border and margin for alignment */
div.input_prompt {
color: navy;
border-top: 1px solid transparent;
}
Brian E. Granger
Lots of CSS tweaks to get nbconvert output looking right.
r15733 // The styles related to div.highlight are for nbconvert HTML output only. This works
// because the .highlight div isn't present in the live notebook. We could put this into
// nbconvert, but it easily falls out of sync, can't use our less variables and doesn't
// help the basic template when paired with our CSS.
div.input_area > div.highlight {
margin: @code_padding;
border: none;
padding: 0px;
background-color: transparent;
}
div.input_area > div.highlight > pre {
margin: 0px;
MinRK
cleanup some `pre` css inheritance...
r16205 border: none;
Brian E. Granger
Lots of CSS tweaks to get nbconvert output looking right.
r15733 padding: 0px;
background-color: transparent;
}