##// END OF EJS Templates
abstract hard-coded style values to be variables for different theming
Jason Grout -
Show More
@@ -19,7 +19,7 b' div.input {'
19
19
20 /* input_area and input_prompt must match in top border and margin for alignment */
20 /* input_area and input_prompt must match in top border and margin for alignment */
21 div.input_prompt {
21 div.input_prompt {
22 color: navy;
22 color: @input_prompt_color;
23 border-top: 1px solid transparent;
23 border-top: 1px solid transparent;
24 }
24 }
25
25
@@ -5,7 +5,7 b''
5 z-index: 10;
5 z-index: 10;
6 border: 1px solid #ccc;
6 border: 1px solid #ccc;
7 border-radius: @border-radius-base;
7 border-radius: @border-radius-base;
8 background: rgba(240, 240, 240, 0.5);
8 background: @notification_widget_bg;
9
9
10 &.span {
10 &.span {
11 padding-right:2px;
11 padding-right:2px;
@@ -38,7 +38,7 b' div.out_prompt_overlay:hover {'
38 }
38 }
39
39
40 div.output_prompt {
40 div.output_prompt {
41 color: darkred;
41 color: @output_prompt_color;
42 }
42 }
43
43
44 /* This class is the outer container of all output sections. */
44 /* This class is the outer container of all output sections. */
@@ -84,7 +84,7 b' div.output_area pre {'
84 padding: 0;
84 padding: 0;
85 border: 0;
85 border: 0;
86 vertical-align: baseline;
86 vertical-align: baseline;
87 color: black;
87 color: @output_pre_color;
88 background-color: transparent;
88 background-color: transparent;
89 .border-radius(0);
89 .border-radius(0);
90 }
90 }
@@ -38,8 +38,8 b''
38 * + ol {margin-top: 1em;}
38 * + ol {margin-top: 1em;}
39
39
40 hr {
40 hr {
41 color: black;
41 color: @rendered_html_border_color;
42 background-color: black;
42 background-color: @rendered_html_border_color;
43 }
43 }
44
44
45 pre {margin: 1em 2em;}
45 pre {margin: 1em 2em;}
@@ -57,11 +57,11 b''
57 table {
57 table {
58 margin-left: auto;
58 margin-left: auto;
59 margin-right: auto;
59 margin-right: auto;
60 border: 1px solid black;
60 border: 1px solid @rendered_html_border_color;
61 border-collapse: collapse;
61 border-collapse: collapse;
62 }
62 }
63 tr, th, td {
63 tr, th, td {
64 border: 1px solid black;
64 border: 1px solid @rendered_html_border_color;
65 border-collapse: collapse;
65 border-collapse: collapse;
66 margin: 1em 2em;
66 margin: 1em 2em;
67 }
67 }
@@ -11,4 +11,8 b''
11 @code_line_height: 1.21429em; // changed from 1.231 to get 17px even
11 @code_line_height: 1.21429em; // changed from 1.231 to get 17px even
12 @code_padding: 0.4em; // 5.6 px
12 @code_padding: 0.4em; // 5.6 px
13 @notebook-shadow: inset 1px 4px 9px -6px rgba(0,0,0,.25);
13 @notebook-shadow: inset 1px 4px 9px -6px rgba(0,0,0,.25);
14
14 @rendered_html_border_color: black;
15 @input_prompt_color: navy;
16 @output_prompt_color: darkred;
17 @output_pre_color: black;
18 @notification_widget_bg: rgba(240, 240, 240, 0.5);
General Comments 0
You need to be logged in to leave comments. Login now