Show More
@@ -1,47 +1,50 b'' | |||
|
1 | 1 | div.cell { |
|
2 | 2 | border: 1px solid transparent; |
|
3 | 3 | .vbox(); |
|
4 | 4 | |
|
5 | 5 | &.selected { |
|
6 | 6 | .corner-all; |
|
7 | 7 | border : thin @border_color solid; |
|
8 | 8 | } |
|
9 | 9 | |
|
10 | 10 | &.edit_mode { |
|
11 | 11 | .corner-all; |
|
12 | 12 | border : thin green solid; |
|
13 | 13 | } |
|
14 | 14 | } |
|
15 | 15 | |
|
16 | 16 | div.cell { |
|
17 | 17 | width: 100%; |
|
18 | 18 | padding: 5px 5px 5px 0px; |
|
19 | 19 | /* This acts as a spacer between cells, that is outside the border */ |
|
20 | 20 | margin: 0px; |
|
21 | 21 | outline: none; |
|
22 | 22 | } |
|
23 | 23 | |
|
24 | 24 | div.prompt { |
|
25 | 25 | /* This needs to be wide enough for 3 digit prompt numbers: In[100]: */ |
|
26 | 26 | min-width: 11ex; |
|
27 | 27 | /* This padding is tuned to match the padding on the CodeMirror editor. */ |
|
28 | 28 | padding: @code_padding; |
|
29 | 29 | margin: 0px; |
|
30 | 30 | font-family: @monoFontFamily; |
|
31 | 31 | text-align: right; |
|
32 | 32 | /* This has to match that of the the CodeMirror class line-height below */ |
|
33 | 33 | line-height: @code_line_height; |
|
34 | 34 | } |
|
35 | 35 | |
|
36 | 36 | div.inner_cell { |
|
37 | 37 | .vbox(); |
|
38 | 38 | .box-flex1(); |
|
39 | ||
|
40 | /* This is required for FF to add scrollbars when code cells overflow. */ | |
|
41 | overflow: auto; | |
|
39 | 42 | } |
|
40 | 43 | |
|
41 | 44 | /* This is needed so that empty prompt areas can collapse to zero height when there |
|
42 | 45 | is no content in the output_subarea and the prompt. The main purpose of this is |
|
43 | 46 | to make sure that empty JavaScript output_subareas have no height. */ |
|
44 | 47 | div.prompt:empty { |
|
45 | 48 | padding-top: 0; |
|
46 | 49 | padding-bottom: 0; |
|
47 | 50 | } |
General Comments 0
You need to be logged in to leave comments.
Login now