Show More
@@ -1,455 +1,455 | |||||
1 | /** |
|
1 | /** | |
2 | * Primary styles |
|
2 | * Primary styles | |
3 | * |
|
3 | * | |
4 | * Author: IPython Development Team |
|
4 | * Author: IPython Development Team | |
5 | */ |
|
5 | */ | |
6 |
|
6 | |||
7 | @import "variables.less"; |
|
7 | @import "variables.less"; | |
8 |
|
8 | |||
9 | body { |
|
9 | body { | |
10 | overflow: hidden; |
|
10 | overflow: hidden; | |
11 | background-color:@notebook_background; |
|
11 | background-color:@notebook_background; | |
12 | } |
|
12 | } | |
13 |
|
13 | |||
14 | blockquote { |
|
14 | blockquote { | |
15 | border-left: 4px solid #DDD; |
|
15 | border-left: 4px solid #DDD; | |
16 | padding: 0 15px; |
|
16 | padding: 0 15px; | |
17 | color: #777; |
|
17 | color: #777; | |
18 | } |
|
18 | } | |
19 |
|
19 | |||
20 | span#save_widget { |
|
20 | span#save_widget { | |
21 | padding: 5px; |
|
21 | padding: 5px; | |
22 | margin: 0px 0px 0px 300px; |
|
22 | margin: 0px 0px 0px 300px; | |
23 | display:inline-block; |
|
23 | display:inline-block; | |
24 | } |
|
24 | } | |
25 |
|
25 | |||
26 | span#notebook_name { |
|
26 | span#notebook_name { | |
27 | height: 1em; |
|
27 | height: 1em; | |
28 | line-height: 1em; |
|
28 | line-height: 1em; | |
29 | padding: 3px; |
|
29 | padding: 3px; | |
30 | border: none; |
|
30 | border: none; | |
31 | font-size: 146.5%; |
|
31 | font-size: 146.5%; | |
32 | } |
|
32 | } | |
33 |
|
33 | |||
34 |
|
34 | |||
35 | .ui-menubar-item .ui-button .ui-button-text { |
|
35 | .ui-menubar-item .ui-button .ui-button-text { | |
36 | padding: 0.4em 1.0em; |
|
36 | padding: 0.4em 1.0em; | |
37 | font-size: 100%; |
|
37 | font-size: 100%; | |
38 | } |
|
38 | } | |
39 |
|
39 | |||
40 | .ui-menu { |
|
40 | .ui-menu { | |
41 | -moz-box-shadow: 0px 6px 10px -1px #adadad; |
|
41 | -moz-box-shadow: 0px 6px 10px -1px #adadad; | |
42 | -webkit-box-shadow: 0px 6px 10px -1px #adadad; |
|
42 | -webkit-box-shadow: 0px 6px 10px -1px #adadad; | |
43 | box-shadow: 0px 6px 10px -1px #adadad; |
|
43 | box-shadow: 0px 6px 10px -1px #adadad; | |
44 | } |
|
44 | } | |
45 |
|
45 | |||
46 | .ui-menu .ui-menu-item a { |
|
46 | .ui-menu .ui-menu-item a { | |
47 | border: 1px solid transparent; |
|
47 | border: 1px solid transparent; | |
48 | padding: 2px 1.6em; |
|
48 | padding: 2px 1.6em; | |
49 | } |
|
49 | } | |
50 |
|
50 | |||
51 | .ui-menu .ui-menu-item a.ui-state-focus { |
|
51 | .ui-menu .ui-menu-item a.ui-state-focus { | |
52 | margin: 0; |
|
52 | margin: 0; | |
53 | } |
|
53 | } | |
54 |
|
54 | |||
55 | .ui-menu hr { |
|
55 | .ui-menu hr { | |
56 | margin: 0.3em 0; |
|
56 | margin: 0.3em 0; | |
57 | } |
|
57 | } | |
58 |
|
58 | |||
59 | #menubar_container { |
|
59 | #menubar_container { | |
60 | position: relative; |
|
60 | position: relative; | |
61 | } |
|
61 | } | |
62 |
|
62 | |||
63 | #notification_area { |
|
63 | #notification_area { | |
64 | position: absolute; |
|
64 | position: absolute; | |
65 | right: 0px; |
|
65 | right: 0px; | |
66 | top: 0px; |
|
66 | top: 0px; | |
67 | height: 25px; |
|
67 | height: 25px; | |
68 | padding: 3px 0px; |
|
68 | padding: 3px 0px; | |
69 | padding-right: 3px; |
|
69 | padding-right: 3px; | |
70 | z-index: 10; |
|
70 | z-index: 10; | |
71 | } |
|
71 | } | |
72 |
|
72 | |||
73 | .notification_widget{ |
|
73 | .notification_widget{ | |
74 | float : right; |
|
74 | float : right; | |
75 | right: 0px; |
|
75 | right: 0px; | |
76 | top: 1px; |
|
76 | top: 1px; | |
77 | height: 25px; |
|
77 | height: 25px; | |
78 | padding: 3px 6px; |
|
78 | padding: 3px 6px; | |
79 | z-index: 10; |
|
79 | z-index: 10; | |
80 | } |
|
80 | } | |
81 |
|
81 | |||
82 | .toolbar { |
|
82 | .toolbar { | |
83 | padding: 3px 15px; |
|
83 | padding: 3px 15px; | |
84 | border-bottom: @borderwidth @border_color solid; |
|
84 | border-bottom: @borderwidth @border_color solid; | |
85 | } |
|
85 | } | |
86 |
|
86 | |||
87 | #maintoolbar > select, #maintoolbar label { |
|
87 | #maintoolbar > select, #maintoolbar label { | |
88 | height : 23px; |
|
88 | height : 23px; | |
89 | vertical-align: top; |
|
89 | vertical-align: top; | |
90 | margin-right:2px; |
|
90 | margin-right:2px; | |
91 | margin-bottom:0; |
|
91 | margin-bottom:0; | |
92 | } |
|
92 | } | |
93 |
|
93 | |||
94 | #cell_type { |
|
94 | #cell_type { | |
95 | font-size: 85%; |
|
95 | font-size: 85%; | |
96 | margin-left:0.3em; |
|
96 | margin-left:0.3em; | |
97 | margin-right:0.3em; |
|
97 | margin-right:0.3em; | |
98 |
|
98 | |||
99 | } |
|
99 | } | |
100 |
|
100 | |||
101 |
|
101 | |||
102 | #ipython-main-app { |
|
102 | #ipython-main-app { | |
103 | width: 100%; |
|
103 | width: 100%; | |
104 | position: relative; |
|
104 | position: relative; | |
105 | } |
|
105 | } | |
106 |
|
106 | |||
107 | span#quick_help_area { |
|
107 | span#quick_help_area { | |
108 | position: static; |
|
108 | position: static; | |
109 | padding: 5px 0px; |
|
109 | padding: 5px 0px; | |
110 | margin: 0px 0px 0px 0px; |
|
110 | margin: 0px 0px 0px 0px; | |
111 | } |
|
111 | } | |
112 |
|
112 | |||
113 | .help_string { |
|
113 | .help_string { | |
114 | float: right; |
|
114 | float: right; | |
115 | width: 170px; |
|
115 | width: 170px; | |
116 | padding: 0px 5px; |
|
116 | padding: 0px 5px; | |
117 | text-align: left; |
|
117 | text-align: left; | |
118 | font-size: 85%; |
|
118 | font-size: 85%; | |
119 | } |
|
119 | } | |
120 |
|
120 | |||
121 | .help_string_label { |
|
121 | .help_string_label { | |
122 | float: right; |
|
122 | float: right; | |
123 | font-size: 85%; |
|
123 | font-size: 85%; | |
124 | } |
|
124 | } | |
125 |
|
125 | |||
126 | div#notebook_panel { |
|
126 | div#notebook_panel { | |
127 | margin: 0px 0px 0px 0px; |
|
127 | margin: 0px 0px 0px 0px; | |
128 | padding: 0px; |
|
128 | padding: 0px; | |
129 | } |
|
129 | } | |
130 |
|
130 | |||
131 | div#notebook { |
|
131 | div#notebook { | |
132 | overflow-y: scroll; |
|
132 | overflow-y: scroll; | |
133 | overflow-x: auto; |
|
133 | overflow-x: auto; | |
134 | width: 100%; |
|
134 | width: 100%; | |
135 | /* This spaces the cell away from the edge of the notebook area */ |
|
135 | /* This spaces the cell away from the edge of the notebook area */ | |
136 | padding: 5px 5px 15px 5px; |
|
136 | padding: 5px 5px 15px 5px; | |
137 | margin: 0px; |
|
137 | margin: 0px; | |
138 | } |
|
138 | } | |
139 |
|
139 | |||
140 | div#pager_splitter { |
|
140 | div#pager_splitter { | |
141 | height: 8px; |
|
141 | height: 8px; | |
142 | } |
|
142 | } | |
143 |
|
143 | |||
144 | #pager_container { |
|
144 | #pager_container { | |
145 | position : relative; |
|
145 | position : relative; | |
146 | } |
|
146 | } | |
147 |
|
147 | |||
148 | div#pager { |
|
148 | div#pager { | |
149 | padding: 15px; |
|
149 | padding: 15px; | |
150 | overflow: auto; |
|
150 | overflow: auto; | |
151 | display: none; |
|
151 | display: none; | |
152 | } |
|
152 | } | |
153 |
|
153 | |||
154 | div.ui-widget-content { |
|
154 | div.ui-widget-content { | |
155 | border: 1px solid @border_color; |
|
155 | border: 1px solid @border_color; | |
156 | outline: none; |
|
156 | outline: none; | |
157 | } |
|
157 | } | |
158 |
|
158 | |||
159 | .cell { |
|
159 | .cell { | |
160 | border: 1px solid transparent; |
|
160 | border: 1px solid transparent; | |
161 |
|
161 | |||
162 | &.selected { |
|
162 | &.selected { | |
163 | .corner-all; |
|
163 | .corner-all; | |
164 | background-color:@cell_selected_background; |
|
164 | background-color:@cell_selected_background; | |
165 | border : thin @border_color solid; |
|
165 | border : thin @border_color solid; | |
166 | } |
|
166 | } | |
167 | } |
|
167 | } | |
168 |
|
168 | |||
169 | div.cell { |
|
169 | div.cell { | |
170 | width: 100%; |
|
170 | width: 100%; | |
171 | padding: 5px 5px 5px 0px; |
|
171 | padding: 5px 5px 5px 0px; | |
172 | /* This acts as a spacer between cells, that is outside the border */ |
|
172 | /* This acts as a spacer between cells, that is outside the border */ | |
173 | margin: 2px 0px 2px 0px; |
|
173 | margin: 2px 0px 2px 0px; | |
174 | outline: none; |
|
174 | outline: none; | |
175 | } |
|
175 | } | |
176 |
|
176 | |||
177 | div.code_cell { |
|
177 | div.code_cell { | |
178 | } |
|
178 | } | |
179 |
|
179 | |||
180 | /* any special styling for code cells that are currently running goes here */ |
|
180 | /* any special styling for code cells that are currently running goes here */ | |
181 | div.code_cell.running { |
|
181 | div.code_cell.running { | |
182 | } |
|
182 | } | |
183 |
|
183 | |||
184 | div.prompt { |
|
184 | div.prompt { | |
185 | /* This needs to be wide enough for 3 digit prompt numbers: In[100]: */ |
|
185 | /* This needs to be wide enough for 3 digit prompt numbers: In[100]: */ | |
186 | width: 11ex; |
|
186 | width: 11ex; | |
187 | /* This 0.4em is tuned to match the padding on the CodeMirror editor. */ |
|
187 | /* This 0.4em is tuned to match the padding on the CodeMirror editor. */ | |
188 | padding: 0.4em; |
|
188 | padding: 0.4em; | |
189 | margin: 0px; |
|
189 | margin: 0px; | |
190 | font-family: monospace; |
|
190 | font-family: monospace; | |
191 | text-align: right; |
|
191 | text-align: right; | |
192 | /* This has to match that of the the CodeMirror class line-height below */ |
|
192 | /* This has to match that of the the CodeMirror class line-height below */ | |
193 | line-height: 1.231; |
|
193 | line-height: 1.231; | |
194 | } |
|
194 | } | |
195 |
|
195 | |||
196 | div.input { |
|
196 | div.input { | |
197 | page-break-inside: avoid; |
|
197 | page-break-inside: avoid; | |
198 | } |
|
198 | } | |
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: black; | |
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; | |
206 | } |
|
206 | } | |
207 |
|
207 | |||
208 | div.input_prompt { |
|
208 | div.input_prompt { | |
209 | color: navy; |
|
209 | color: navy; | |
210 | border-top: 1px solid transparent; |
|
210 | border-top: 1px solid transparent; | |
211 | } |
|
211 | } | |
212 |
|
212 | |||
213 | div.output_wrapper { |
|
213 | div.output_wrapper { | |
214 | /* This is a spacer between the input and output of each cell */ |
|
214 | /* This is a spacer between the input and output of each cell */ | |
215 | margin-top: 5px; |
|
215 | margin-top: 5px; | |
216 | margin-left: 5px; |
|
216 | margin-left: 5px; | |
217 | /* FF needs explicit width to stretch */ |
|
217 | /* FF needs explicit width to stretch */ | |
218 | width: 100%; |
|
218 | width: 100%; | |
219 | /* this position must be relative to enable descendents to be absolute within it */ |
|
219 | /* this position must be relative to enable descendents to be absolute within it */ | |
220 | position: relative; |
|
220 | position: relative; | |
221 | } |
|
221 | } | |
222 |
|
222 | |||
223 | /* class for the output area when it should be height-limited */ |
|
223 | /* class for the output area when it should be height-limited */ | |
224 | div.output_scroll { |
|
224 | div.output_scroll { | |
225 | /* ideally, this would be max-height, but FF barfs all over that */ |
|
225 | /* ideally, this would be max-height, but FF barfs all over that */ | |
226 | height: 24em; |
|
226 | height: 24em; | |
227 | /* FF needs this *and the wrapper* to specify full width, or it will shrinkwrap */ |
|
227 | /* FF needs this *and the wrapper* to specify full width, or it will shrinkwrap */ | |
228 | width: 100%; |
|
228 | width: 100%; | |
229 |
|
229 | |||
230 | overflow: auto; |
|
230 | overflow: auto; | |
231 | .corner-all; |
|
231 | .corner-all; | |
232 | box-shadow: inset 0 2px 8px rgba(0, 0, 0, .8); |
|
232 | box-shadow: inset 0 2px 8px rgba(0, 0, 0, .8); | |
233 | } |
|
233 | } | |
234 |
|
234 | |||
235 | /* output div while it is collapsed */ |
|
235 | /* output div while it is collapsed */ | |
236 | div.output_collapsed { |
|
236 | div.output_collapsed { | |
237 | margin-right: 5px; |
|
237 | margin-right: 5px; | |
238 | } |
|
238 | } | |
239 |
|
239 | |||
240 | div.out_prompt_overlay { |
|
240 | div.out_prompt_overlay { | |
241 | height: 100%; |
|
241 | height: 100%; | |
242 | padding: 0px; |
|
242 | padding: 0px; | |
243 | position: absolute; |
|
243 | position: absolute; | |
244 | .corner-all; |
|
244 | .corner-all; | |
245 | } |
|
245 | } | |
246 |
|
246 | |||
247 | div.out_prompt_overlay:hover { |
|
247 | div.out_prompt_overlay:hover { | |
248 | /* use inner shadow to get border that is computed the same on WebKit/FF */ |
|
248 | /* use inner shadow to get border that is computed the same on WebKit/FF */ | |
249 | box-shadow: inset 0 0 1px #000; |
|
249 | box-shadow: inset 0 0 1px #000; | |
250 | background: rgba(240, 240, 240, 0.5); |
|
250 | background: rgba(240, 240, 240, 0.5); | |
251 | } |
|
251 | } | |
252 |
|
252 | |||
253 | div.output_prompt { |
|
253 | div.output_prompt { | |
254 | color: darkred; |
|
254 | color: darkred; | |
255 | /* 5px right shift to account for margin in parent container */ |
|
255 | /* 5px right shift to account for margin in parent container */ | |
256 | margin: 0 5px 0 -5px; |
|
256 | margin: 0 5px 0 -5px; | |
257 | } |
|
257 | } | |
258 |
|
258 | |||
259 | /* This class is the outer container of all output sections. */ |
|
259 | /* This class is the outer container of all output sections. */ | |
260 | div.output_area { |
|
260 | div.output_area { | |
261 | padding: 0px; |
|
261 | padding: 0px; | |
262 | page-break-inside: avoid; |
|
262 | page-break-inside: avoid; | |
263 | } |
|
263 | } | |
264 |
|
264 | |||
265 |
|
265 | |||
266 | /* This is needed to protect the pre formating from global settings such |
|
266 | /* This is needed to protect the pre formating from global settings such | |
267 | as that of bootstrap */ |
|
267 | as that of bootstrap */ | |
268 | div.output_area pre { |
|
268 | div.output_area pre { | |
269 | font-family: monospace; |
|
269 | font-family: monospace; | |
270 | margin: 0; |
|
270 | margin: 0; | |
271 | padding: 0; |
|
271 | padding: 0; | |
272 | border: 0; |
|
272 | border: 0; | |
273 | font-size: 100%; |
|
273 | font-size: 100%; | |
274 | font: inherit; |
|
274 | font: inherit; | |
275 | vertical-align: baseline; |
|
275 | vertical-align: baseline; | |
276 | color: black; |
|
276 | color: black; | |
277 | background-color: white; |
|
277 | background-color: white; | |
278 | } |
|
278 | } | |
279 |
|
279 | |||
280 | /* This class is for the output subarea inside the output_area and after |
|
280 | /* This class is for the output subarea inside the output_area and after | |
281 | the prompt div. */ |
|
281 | the prompt div. */ | |
282 | div.output_subarea { |
|
282 | div.output_subarea { | |
283 | padding: 0.44em 0.4em 0.4em 1px; |
|
283 | padding: 0.44em 0.4em 0.4em 1px; | |
284 | } |
|
284 | } | |
285 |
|
285 | |||
286 | /* The rest of the output_* classes are for special styling of the different |
|
286 | /* The rest of the output_* classes are for special styling of the different | |
287 | output types */ |
|
287 | output types */ | |
288 |
|
288 | |||
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: black; | |
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; | |
296 | } |
|
296 | } | |
297 |
|
297 | |||
298 | /* stdout/stderr are 'text' as well as 'stream', but pyout/pyerr are *not* streams */ |
|
298 | /* stdout/stderr are 'text' as well as 'stream', but pyout/pyerr are *not* streams */ | |
299 | div.output_stream { |
|
299 | div.output_stream { | |
300 | padding-top: 0.0em; |
|
300 | padding-top: 0.0em; | |
301 | padding-bottom: 0.0em; |
|
301 | padding-bottom: 0.0em; | |
302 | } |
|
302 | } | |
303 | div.output_stdout { |
|
303 | div.output_stdout { | |
304 | } |
|
304 | } | |
305 | div.output_stderr { |
|
305 | div.output_stderr { | |
306 | background: #fdd; /* very light red background for stderr */ |
|
306 | background: #fdd; /* very light red background for stderr */ | |
307 | } |
|
307 | } | |
308 |
|
308 | |||
309 | div.output_latex { |
|
309 | div.output_latex { | |
310 | text-align: left; |
|
310 | text-align: left; | |
311 | color: black; |
|
311 | color: black; | |
312 | } |
|
312 | } | |
313 |
|
313 | |||
314 | div.output_html { |
|
314 | div.output_html { | |
315 | } |
|
315 | } | |
316 |
|
316 | |||
317 | div.output_png { |
|
317 | div.output_png { | |
318 | } |
|
318 | } | |
319 |
|
319 | |||
320 | div.output_jpeg { |
|
320 | div.output_jpeg { | |
321 | } |
|
321 | } | |
322 |
|
322 | |||
323 | div.text_cell { |
|
323 | div.text_cell { | |
324 | padding: 5px 5px 5px 5px; |
|
324 | padding: 5px 5px 5px 5px; | |
325 | } |
|
325 | } | |
326 |
|
326 | |||
327 | div.text_cell_input { |
|
327 | div.text_cell_input { | |
328 | color: black; |
|
328 | color: black; | |
329 | border: 1px solid @border_color; |
|
329 | border: 1px solid @border_color; | |
330 | .corner-all; |
|
330 | .corner-all; | |
331 | background: @cell_background; |
|
331 | background: @cell_background; | |
332 | } |
|
332 | } | |
333 |
|
333 | |||
334 | div.text_cell_render { |
|
334 | div.text_cell_render { | |
335 | font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif; |
|
335 | /*font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;*/ | |
336 | outline: none; |
|
336 | outline: none; | |
337 | resize: none; |
|
337 | resize: none; | |
338 | width: inherit; |
|
338 | width: inherit; | |
339 | border-style: none; |
|
339 | border-style: none; | |
340 | padding: 5px; |
|
340 | padding: 5px; | |
341 | color: black; |
|
341 | color: black; | |
342 | } |
|
342 | } | |
343 |
|
343 | |||
344 | /* The following gets added to the <head> if it is detected that the user has a |
|
344 | /* The following gets added to the <head> if it is detected that the user has a | |
345 | * monospace font with inconsistent normal/bold/italic height. See |
|
345 | * monospace font with inconsistent normal/bold/italic height. See | |
346 | * notebookmain.js. Such fonts will have keywords vertically offset with |
|
346 | * notebookmain.js. Such fonts will have keywords vertically offset with | |
347 | * respect to the rest of the text. The user should select a better font. |
|
347 | * respect to the rest of the text. The user should select a better font. | |
348 | * See: https://github.com/ipython/ipython/issues/1503 |
|
348 | * See: https://github.com/ipython/ipython/issues/1503 | |
349 | * |
|
349 | * | |
350 | * .CodeMirror span { |
|
350 | * .CodeMirror span { | |
351 | * vertical-align: bottom; |
|
351 | * vertical-align: bottom; | |
352 | * } |
|
352 | * } | |
353 | */ |
|
353 | */ | |
354 |
|
354 | |||
355 | .CodeMirror { |
|
355 | .CodeMirror { | |
356 | line-height: 1.231; /* Changed from 1em to our global default */ |
|
356 | line-height: 1.231; /* Changed from 1em to our global default */ | |
357 | } |
|
357 | } | |
358 |
|
358 | |||
359 | .CodeMirror-scroll { |
|
359 | .CodeMirror-scroll { | |
360 | height: auto; /* Changed to auto to autogrow */ |
|
360 | height: auto; /* Changed to auto to autogrow */ | |
361 | /* The CodeMirror docs are a bit fuzzy on if overflow-y should be hidden or visible.*/ |
|
361 | /* The CodeMirror docs are a bit fuzzy on if overflow-y should be hidden or visible.*/ | |
362 | /* We have found that if it is visible, vertical scrollbars appear with font size changes.*/ |
|
362 | /* We have found that if it is visible, vertical scrollbars appear with font size changes.*/ | |
363 | overflow-y: hidden; |
|
363 | overflow-y: hidden; | |
364 | overflow-x: auto; /* Changed from auto to remove scrollbar */ |
|
364 | overflow-x: auto; /* Changed from auto to remove scrollbar */ | |
365 | } |
|
365 | } | |
366 |
|
366 | |||
367 | /* CSS font colors for translated ANSI colors. */ |
|
367 | /* CSS font colors for translated ANSI colors. */ | |
368 |
|
368 | |||
369 |
|
369 | |||
370 | .ansiblack {color: black;} |
|
370 | .ansiblack {color: black;} | |
371 | .ansired {color: darkred;} |
|
371 | .ansired {color: darkred;} | |
372 | .ansigreen {color: darkgreen;} |
|
372 | .ansigreen {color: darkgreen;} | |
373 | .ansiyellow {color: brown;} |
|
373 | .ansiyellow {color: brown;} | |
374 | .ansiblue {color: darkblue;} |
|
374 | .ansiblue {color: darkblue;} | |
375 | .ansipurple {color: darkviolet;} |
|
375 | .ansipurple {color: darkviolet;} | |
376 | .ansicyan {color: steelblue;} |
|
376 | .ansicyan {color: steelblue;} | |
377 | .ansigrey {color: grey;} |
|
377 | .ansigrey {color: grey;} | |
378 | .ansibold {font-weight: bold;} |
|
378 | .ansibold {font-weight: bold;} | |
379 |
|
379 | |||
380 | .completions { |
|
380 | .completions { | |
381 | position: absolute; |
|
381 | position: absolute; | |
382 | z-index: 10; |
|
382 | z-index: 10; | |
383 | overflow: hidden; |
|
383 | overflow: hidden; | |
384 | border: 1px solid @border_color; |
|
384 | border: 1px solid @border_color; | |
385 | } |
|
385 | } | |
386 |
|
386 | |||
387 | .completions select { |
|
387 | .completions select { | |
388 | background: white; |
|
388 | background: white; | |
389 | outline: none; |
|
389 | outline: none; | |
390 | border: none; |
|
390 | border: none; | |
391 | padding: 0px; |
|
391 | padding: 0px; | |
392 | margin: 0px; |
|
392 | margin: 0px; | |
393 | overflow: auto; |
|
393 | overflow: auto; | |
394 | font-family: monospace; |
|
394 | font-family: monospace; | |
395 | } |
|
395 | } | |
396 |
|
396 | |||
397 | option.context { |
|
397 | option.context { | |
398 | background-color: #DEF7FF; |
|
398 | background-color: #DEF7FF; | |
399 | } |
|
399 | } | |
400 | option.introspection { |
|
400 | option.introspection { | |
401 | background-color: #EBF4EB; |
|
401 | background-color: #EBF4EB; | |
402 | } |
|
402 | } | |
403 |
|
403 | |||
404 | /*fixed part of the completion*/ |
|
404 | /*fixed part of the completion*/ | |
405 | .completions p b { |
|
405 | .completions p b { | |
406 | font-weight:bold; |
|
406 | font-weight:bold; | |
407 | } |
|
407 | } | |
408 |
|
408 | |||
409 | .completions p { |
|
409 | .completions p { | |
410 | background: #DDF; |
|
410 | background: #DDF; | |
411 | /*outline: none; |
|
411 | /*outline: none; | |
412 | padding: 0px;*/ |
|
412 | padding: 0px;*/ | |
413 | border-bottom: black solid 1px; |
|
413 | border-bottom: black solid 1px; | |
414 | padding: 1px; |
|
414 | padding: 1px; | |
415 | font-family: monospace; |
|
415 | font-family: monospace; | |
416 | } |
|
416 | } | |
417 |
|
417 | |||
418 | pre.dialog { |
|
418 | pre.dialog { | |
419 | background-color: @cell_background; |
|
419 | background-color: @cell_background; | |
420 | border: 1px solid #ddd; |
|
420 | border: 1px solid #ddd; | |
421 | .corner-all; |
|
421 | .corner-all; | |
422 | padding: 0.4em; |
|
422 | padding: 0.4em; | |
423 | padding-left: 2em; |
|
423 | padding-left: 2em; | |
424 | } |
|
424 | } | |
425 |
|
425 | |||
426 | p.dialog { |
|
426 | p.dialog { | |
427 | padding : 0.2em; |
|
427 | padding : 0.2em; | |
428 | } |
|
428 | } | |
429 |
|
429 | |||
430 | .shortcut_key { |
|
430 | .shortcut_key { | |
431 | display: inline-block; |
|
431 | display: inline-block; | |
432 | width: 15ex; |
|
432 | width: 15ex; | |
433 | text-align: right; |
|
433 | text-align: right; | |
434 | font-family: monospace; |
|
434 | font-family: monospace; | |
435 | } |
|
435 | } | |
436 |
|
436 | |||
437 | .shortcut_descr { |
|
437 | .shortcut_descr { | |
438 | } |
|
438 | } | |
439 |
|
439 | |||
440 | /* Word-wrap output correctly. This is the CSS3 spelling, though Firefox seems |
|
440 | /* Word-wrap output correctly. This is the CSS3 spelling, though Firefox seems | |
441 | to not honor it correctly. Webkit browsers (Chrome, rekonq, Safari) do. |
|
441 | to not honor it correctly. Webkit browsers (Chrome, rekonq, Safari) do. | |
442 | */ |
|
442 | */ | |
443 | pre, code, kbd, samp { white-space: pre-wrap; } |
|
443 | pre, code, kbd, samp { white-space: pre-wrap; } | |
444 |
|
444 | |||
445 | #fonttest { |
|
445 | #fonttest { | |
446 | font-family: monospace; |
|
446 | font-family: monospace; | |
447 | } |
|
447 | } | |
448 |
|
448 | |||
449 | .js-error { |
|
449 | .js-error { | |
450 | color: darkred; |
|
450 | color: darkred; | |
451 | } |
|
451 | } | |
452 |
|
452 | |||
453 |
|
453 | |||
454 |
|
454 | |||
455 |
|
455 |
@@ -1,64 +1,68 | |||||
1 | .rendered_html {color: black;} |
|
1 | .rendered_html {color: black;} | |
2 | .rendered_html em {font-style: italic;} |
|
2 | .rendered_html em {font-style: italic;} | |
3 | .rendered_html strong {font-weight: bold;} |
|
3 | .rendered_html strong {font-weight: bold;} | |
4 | .rendered_html u {text-decoration: underline;} |
|
4 | .rendered_html u {text-decoration: underline;} | |
5 | .rendered_html :link { text-decoration: underline } |
|
5 | .rendered_html :link { text-decoration: underline } | |
6 | .rendered_html :visited { text-decoration: underline } |
|
6 | .rendered_html :visited { text-decoration: underline } | |
7 | .rendered_html h1 {font-size: 197%; margin: .65em 0; font-weight: bold;} |
|
7 | .rendered_html h1 {font-size: 197%; margin: .65em 0; font-weight: bold;} | |
8 | .rendered_html h2 {font-size: 153.9%; margin: .75em 0; font-weight: bold;} |
|
8 | .rendered_html h2 {font-size: 153.9%; margin: .75em 0; font-weight: bold;} | |
9 | .rendered_html h3 {font-size: 123.1%; margin: .85em 0; font-weight: bold;} |
|
9 | .rendered_html h3 {font-size: 123.1%; margin: .85em 0; font-weight: bold;} | |
10 | .rendered_html h4 {font-size: 100% margin: 0.95em 0; font-weight: bold;} |
|
10 | .rendered_html h4 {font-size: 100% margin: 0.95em 0; font-weight: bold;} | |
11 | .rendered_html h5 {font-size: 85%; margin: 1.5em 0; font-weight: bold;} |
|
11 | .rendered_html h5 {font-size: 85%; margin: 1.5em 0; font-weight: bold;} | |
12 | .rendered_html h6 {font-size: 77%; margin: 1.65em 0; font-weight: bold;} |
|
12 | .rendered_html h6 {font-size: 77%; margin: 1.65em 0; font-weight: bold;} | |
13 | .rendered_html ul {list-style:disc; margin: 1em 2em;} |
|
13 | .rendered_html ul {list-style:disc; margin: 1em 2em;} | |
14 | .rendered_html ul ul {list-style:square; margin: 0em 2em;} |
|
14 | .rendered_html ul ul {list-style:square; margin: 0em 2em;} | |
15 | .rendered_html ul ul ul {list-style:circle; margin-left: 0em 2em;} |
|
15 | .rendered_html ul ul ul {list-style:circle; margin-left: 0em 2em;} | |
16 | .rendered_html ol {list-style:decimal; margin: 1em 2em;} |
|
16 | .rendered_html ol {list-style:decimal; margin: 1em 2em;} | |
17 | .rendered_html ol ol {list-style:upper-alpha; margin: 0em 2em;} |
|
17 | .rendered_html ol ol {list-style:upper-alpha; margin: 0em 2em;} | |
18 | .rendered_html ol ol ol {list-style:lower-alpha; margin: 0em 2em;} |
|
18 | .rendered_html ol ol ol {list-style:lower-alpha; margin: 0em 2em;} | |
19 | .rendered_html ol ol ol ol {list-style:lower-roman; margin: 0em 2em;} |
|
19 | .rendered_html ol ol ol ol {list-style:lower-roman; margin: 0em 2em;} | |
20 | /* any extras will just be numbers: */ |
|
20 | /* any extras will just be numbers: */ | |
21 | .rendered_html ol ol ol ol ol {list-style:decimal; margin: 0em 2em;} |
|
21 | .rendered_html ol ol ol ol ol {list-style:decimal; margin: 0em 2em;} | |
22 |
|
22 | |||
23 | .rendered_html hr { |
|
23 | .rendered_html hr { | |
24 | color: black; |
|
24 | color: black; | |
25 | background-color: black; |
|
25 | background-color: black; | |
26 | } |
|
26 | } | |
27 |
|
27 | |||
28 | .rendered_html pre { |
|
28 | .rendered_html pre { | |
29 | margin: 1em 2em; |
|
29 | margin: 1em 2em; | |
30 | } |
|
30 | } | |
31 |
|
31 | |||
32 | .rendered_html blockquote { |
|
32 | .rendered_html blockquote { | |
33 | margin: 1em 2em; |
|
33 | margin: 1em 2em; | |
34 | } |
|
34 | } | |
35 |
|
35 | |||
36 | .rendered_html table { |
|
36 | .rendered_html table { | |
37 | border: 1px solid black; |
|
37 | border: 1px solid black; | |
38 | border-collapse: collapse; |
|
38 | border-collapse: collapse; | |
39 | margin: 1em 2em; |
|
39 | margin: 1em 2em; | |
40 | } |
|
40 | } | |
41 |
|
41 | |||
42 | .rendered_html td { |
|
42 | .rendered_html td { | |
43 | border: 1px solid black; |
|
43 | border: 1px solid black; | |
44 | text-align: left; |
|
44 | text-align: left; | |
45 | vertical-align: middle; |
|
45 | vertical-align: middle; | |
46 | padding: 4px; |
|
46 | padding: 4px; | |
47 | } |
|
47 | } | |
48 |
|
48 | |||
49 | .rendered_html th { |
|
49 | .rendered_html th { | |
50 | border: 1px solid black; |
|
50 | border: 1px solid black; | |
51 | text-align: left; |
|
51 | text-align: left; | |
52 | vertical-align: middle; |
|
52 | vertical-align: middle; | |
53 | padding: 4px; |
|
53 | padding: 4px; | |
54 | font-weight: bold; |
|
54 | font-weight: bold; | |
55 | } |
|
55 | } | |
56 |
|
56 | |||
57 | .rendered_html tr { |
|
57 | .rendered_html tr { | |
58 | border: 1px solid black; |
|
58 | border: 1px solid black; | |
59 | } |
|
59 | } | |
60 |
|
60 | |||
|
61 | .rendered_html p { | |||
|
62 | text-align: justify; | |||
|
63 | } | |||
|
64 | ||||
61 | .rendered_html p + p { |
|
65 | .rendered_html p + p { | |
62 | margin-top: 1em; |
|
66 | margin-top: 1em; | |
63 | } |
|
67 | } | |
64 |
|
68 |
General Comments 0
You need to be logged in to leave comments.
Login now