##// END OF EJS Templates
use varaible for background color
Bussonnier Matthias -
Show More
@@ -41,7 +41,7 b' div.ui-widget-content{border:1px solid #e0e0e0;outline:none;}'
41 div.cell{width:100%;padding:5px 5px 5px 0px;margin:2px 0px 2px 0px;}
41 div.cell{width:100%;padding:5px 5px 5px 0px;margin:2px 0px 2px 0px;}
42 div.prompt{width:11ex;padding:0.4em;margin:0px;font-family:monospace;text-align:right;}
42 div.prompt{width:11ex;padding:0.4em;margin:0px;font-family:monospace;text-align:right;}
43 div.input{page-break-inside:avoid;}
43 div.input{page-break-inside:avoid;}
44 div.input_area{color:black;border:1px solid #e0e0e0;border-radius:3px;background:#f7f7f7;}
44 div.input_area{border:1px solid #e0e0e0;border-radius:3px;background:#f7f7f7;}
45 div.input_prompt{color:navy;border-top:1px solid transparent;}
45 div.input_prompt{color:navy;border-top:1px solid transparent;}
46 div.output_wrapper{margin-top:5px;margin-left:5px;width:100%;position:relative;}
46 div.output_wrapper{margin-top:5px;margin-left:5px;width:100%;position:relative;}
47 div.output_scroll{height:24em;width:100%;overflow:auto;border-radius:3px;box-shadow:inset 0 2px 8px rgba(0, 0, 0, 0.8);}
47 div.output_scroll{height:24em;width:100%;overflow:auto;border-radius:3px;box-shadow:inset 0 2px 8px rgba(0, 0, 0, 0.8);}
@@ -51,16 +51,16 b' div.out_prompt_overlay:hover{box-shadow:inset 0 0 1px #000;background:rgba(240, '
51 div.output_prompt{color:darkred;margin:0 5px 0 -5px;}
51 div.output_prompt{color:darkred;margin:0 5px 0 -5px;}
52 div.output_area{padding:0px;page-break-inside:avoid;}
52 div.output_area{padding:0px;page-break-inside:avoid;}
53 div.output_subarea{padding:0.44em 0.4em 0.4em 1px;}
53 div.output_subarea{padding:0.44em 0.4em 0.4em 1px;}
54 div.output_text{text-align:left;color:black;font-family:monospace;}
54 div.output_text{text-align:left;color:#000000;font-family:monospace;}
55 div.output_stream{padding-top:0.0em;padding-bottom:0.0em;}
55 div.output_stream{padding-top:0.0em;padding-bottom:0.0em;}
56 div.output_stderr{background:#fdd;}
56 div.output_stderr{background:#fdd;}
57 div.output_latex{text-align:left;color:black;}
57 div.output_latex{text-align:left;}
58 div.text_cell{padding:5px 5px 5px 5px;}
58 div.text_cell{padding:5px 5px 5px 5px;}
59 div.text_cell_input{color:black;border:1px solid #e0e0e0;border-radius:3px;background:#f7f7f7;}
59 div.text_cell_input{color:#000000;border:1px solid #e0e0e0;border-radius:3px;background:#f7f7f7;}
60 div.text_cell_render{outline:none;resize:none;width:inherit;border-style:none;padding:5px;color:black;}
60 div.text_cell_render{outline:none;resize:none;width:inherit;border-style:none;padding:5px;color:#000000;}
61 .CodeMirror{line-height:1.231;}
61 .CodeMirror{line-height:1.231;}
62 .CodeMirror-scroll{height:auto;overflow-y:hidden;overflow-x:auto;}
62 .CodeMirror-scroll{height:auto;overflow-y:hidden;overflow-x:auto;}
63 .ansiblack{color:black;}
63 .ansiblack{color:#000000;}
64 .ansired{color:darkred;}
64 .ansired{color:darkred;}
65 .ansigreen{color:darkgreen;}
65 .ansigreen{color:darkgreen;}
66 .ansiyellow{color:brown;}
66 .ansiyellow{color:brown;}
@@ -199,7 +199,7 b' div.input {'
199
199
200 /* input_area and input_prompt must match in top border and margin for alignment */
200 /* input_area and input_prompt must match in top border and margin for alignment */
201 div.input_area {
201 div.input_area {
202 color: black;
202 /*color: @fontBaseColor;*/
203 border: 1px solid @border_color;
203 border: 1px solid @border_color;
204 .corner-all;
204 .corner-all;
205 background: @cell_background;
205 background: @cell_background;
@@ -289,7 +289,7 b' div.output_subarea {'
289 /* all text output has this class: */
289 /* all text output has this class: */
290 div.output_text {
290 div.output_text {
291 text-align: left;
291 text-align: left;
292 color: black;
292 color: @fontBaseColor;
293 font-family: monospace;
293 font-family: monospace;
294 /* This has to match that of the the CodeMirror class line-height below */
294 /* This has to match that of the the CodeMirror class line-height below */
295 line-height: 1.231;
295 line-height: 1.231;
@@ -308,7 +308,6 b' div.output_stderr {'
308
308
309 div.output_latex {
309 div.output_latex {
310 text-align: left;
310 text-align: left;
311 color: black;
312 }
311 }
313
312
314 div.output_html {
313 div.output_html {
@@ -325,7 +324,7 b' div.text_cell {'
325 }
324 }
326
325
327 div.text_cell_input {
326 div.text_cell_input {
328 color: black;
327 color: @fontBaseColor;
329 border: 1px solid @border_color;
328 border: 1px solid @border_color;
330 .corner-all;
329 .corner-all;
331 background: @cell_background;
330 background: @cell_background;
@@ -338,7 +337,7 b' div.text_cell_render {'
338 width: inherit;
337 width: inherit;
339 border-style: none;
338 border-style: none;
340 padding: 5px;
339 padding: 5px;
341 color: black;
340 color: @fontBaseColor;
342 }
341 }
343
342
344 /* The following gets added to the <head> if it is detected that the user has a
343 /* The following gets added to the <head> if it is detected that the user has a
@@ -367,7 +366,7 b' div.text_cell_render {'
367 /* CSS font colors for translated ANSI colors. */
366 /* CSS font colors for translated ANSI colors. */
368
367
369
368
370 .ansiblack {color: black;}
369 .ansiblack {color: @fontBaseColor;}
371 .ansired {color: darkred;}
370 .ansired {color: darkred;}
372 .ansigreen {color: darkgreen;}
371 .ansigreen {color: darkgreen;}
373 .ansiyellow {color: brown;}
372 .ansiyellow {color: brown;}
@@ -4,6 +4,7 b''
4 @cell_background: darken(@notebook_background, 3.2%);
4 @cell_background: darken(@notebook_background, 3.2%);
5 @border_color: darken(@cell_selected_background, 10%);
5 @border_color: darken(@cell_selected_background, 10%);
6 @borderwidth : 1px;
6 @borderwidth : 1px;
7 @fontBaseColor : black;
7
8
8
9
9
10
General Comments 0
You need to be logged in to leave comments. Login now