##// END OF EJS Templates
make CORS configurable...
make CORS configurable allows setting CORS headers. - cors_origin sets Access-Control-Allow-Origin directly - cors_origin_pat allows setting Access-Control-Allow-Origin via regular expression, since the header spec itself doesn’t support complex access[1] - cors_credentials sets Access-Control-Allow-Credentials: true To allow CORS from everywhere: ipython notebook —NotebookApp.cors_origin='*'

File last commit:

r16972:70452358
r17106:600762a6
Show More
variables.less
14 lines | 610 B | text/x-less | LessCssLexer
// Our own variables for this page
@cell_selected_background: darken(@body-bg, 2%);
@cell_background: darken(@body-bg, 3.2%);
@border_color: darken(@cell_selected_background, 31%);
@light_border_color: darken(@cell_selected_background, 17%);
@border_width: 1px;
@notebook_font_size: 14px;
@notebook_line_height: 20px;
@code_line_height: 1.21429em; // changed from 1.231 to get 17px even
@code_padding: 0.4em; // 5.6 px
@notebook-shadow: inset 1px 4px 9px -6px rgba(0,0,0,.25);