Show More
@@ -1,166 +1,167 b'' | |||
|
1 | 1 | div.output_wrapper { |
|
2 | 2 | /* this position must be relative to enable descendents to be absolute within it */ |
|
3 | 3 | position: relative; |
|
4 | 4 | .vbox() |
|
5 | 5 | } |
|
6 | 6 | |
|
7 | 7 | /* class for the output area when it should be height-limited */ |
|
8 | 8 | div.output_scroll { |
|
9 | 9 | /* ideally, this would be max-height, but FF barfs all over that */ |
|
10 | 10 | height: 24em; |
|
11 | 11 | /* FF needs this *and the wrapper* to specify full width, or it will shrinkwrap */ |
|
12 | 12 | width: 100%; |
|
13 | 13 | |
|
14 | 14 | overflow: auto; |
|
15 | 15 | .corner-all; |
|
16 | 16 | .box-shadow(inset 0 2px 8px rgba(0, 0, 0, .8)); |
|
17 | display: block; | |
|
17 | 18 | } |
|
18 | 19 | |
|
19 | 20 | /* output div while it is collapsed */ |
|
20 | 21 | div.output_collapsed { |
|
21 | 22 | margin: 0px; |
|
22 | 23 | padding: 0px; |
|
23 | 24 | .vbox(); |
|
24 | 25 | } |
|
25 | 26 | |
|
26 | 27 | div.out_prompt_overlay { |
|
27 | 28 | height: 100%; |
|
28 | 29 | padding: 0px @code_padding; |
|
29 | 30 | position: absolute; |
|
30 | 31 | .corner-all; |
|
31 | 32 | } |
|
32 | 33 | |
|
33 | 34 | div.out_prompt_overlay:hover { |
|
34 | 35 | /* use inner shadow to get border that is computed the same on WebKit/FF */ |
|
35 | 36 | .box-shadow(inset 0 0 1px #000); |
|
36 | 37 | background: rgba(240, 240, 240, 0.5); |
|
37 | 38 | } |
|
38 | 39 | |
|
39 | 40 | div.output_prompt { |
|
40 | 41 | color: darkred; |
|
41 | 42 | } |
|
42 | 43 | |
|
43 | 44 | /* This class is the outer container of all output sections. */ |
|
44 | 45 | div.output_area { |
|
45 | 46 | padding: 0px; |
|
46 | 47 | page-break-inside: avoid; |
|
47 | 48 | .hbox(); |
|
48 | 49 | |
|
49 | 50 | .MathJax_Display { |
|
50 | 51 | // Inside a CodeCell, elements are left justified |
|
51 | 52 | text-align: left !important; |
|
52 | 53 | } |
|
53 | 54 | |
|
54 | 55 | .rendered_html { |
|
55 | 56 | // Inside a CodeCell, elements are left justified |
|
56 | 57 | table { |
|
57 | 58 | margin-left: 0; |
|
58 | 59 | margin-right: 0; |
|
59 | 60 | } |
|
60 | 61 | |
|
61 | 62 | img { |
|
62 | 63 | margin-left: 0; |
|
63 | 64 | margin-right: 0; |
|
64 | 65 | } |
|
65 | 66 | } |
|
66 | 67 | } |
|
67 | 68 | |
|
68 | 69 | /* This is needed to protect the pre formating from global settings such |
|
69 | 70 | as that of bootstrap */ |
|
70 | 71 | .output { |
|
71 | 72 | .vbox(); |
|
72 | 73 | } |
|
73 | 74 | |
|
74 | 75 | div.output_area pre { |
|
75 | 76 | font-family: @monoFontFamily; |
|
76 | 77 | margin: 0; |
|
77 | 78 | padding: 0; |
|
78 | 79 | border: 0; |
|
79 | 80 | font-size: 100%; |
|
80 | 81 | vertical-align: baseline; |
|
81 | 82 | color: black; |
|
82 | 83 | background-color: transparent; |
|
83 | 84 | .border-radius(0); |
|
84 | 85 | line-height: inherit; |
|
85 | 86 | } |
|
86 | 87 | |
|
87 | 88 | /* This class is for the output subarea inside the output_area and after |
|
88 | 89 | the prompt div. */ |
|
89 | 90 | div.output_subarea { |
|
90 | 91 | padding: @code_padding @code_padding 0.0em @code_padding; |
|
91 | 92 | .box-flex1(); |
|
92 | 93 | } |
|
93 | 94 | |
|
94 | 95 | /* The rest of the output_* classes are for special styling of the different |
|
95 | 96 | output types */ |
|
96 | 97 | |
|
97 | 98 | /* all text output has this class: */ |
|
98 | 99 | div.output_text { |
|
99 | 100 | text-align: left; |
|
100 | 101 | color: @textColor; |
|
101 | 102 | font-family: @monoFontFamily; |
|
102 | 103 | /* This has to match that of the the CodeMirror class line-height below */ |
|
103 | 104 | line-height: @code_line_height; |
|
104 | 105 | } |
|
105 | 106 | |
|
106 | 107 | /* stdout/stderr are 'text' as well as 'stream', but pyout/pyerr are *not* streams */ |
|
107 | 108 | div.output_stream { |
|
108 | 109 | } |
|
109 | 110 | |
|
110 | 111 | div.output_stdout { |
|
111 | 112 | } |
|
112 | 113 | |
|
113 | 114 | div.output_stderr { |
|
114 | 115 | background: #fdd; /* very light red background for stderr */ |
|
115 | 116 | } |
|
116 | 117 | |
|
117 | 118 | div.output_latex { |
|
118 | 119 | text-align: left; |
|
119 | 120 | } |
|
120 | 121 | |
|
121 | 122 | div.output_html { |
|
122 | 123 | } |
|
123 | 124 | |
|
124 | 125 | div.output_png { |
|
125 | 126 | } |
|
126 | 127 | |
|
127 | 128 | div.output_jpeg { |
|
128 | 129 | } |
|
129 | 130 | |
|
130 | 131 | /* Empty output_javascript divs should have no height */ |
|
131 | 132 | div.output_javascript:empty { |
|
132 | 133 | padding: 0; |
|
133 | 134 | } |
|
134 | 135 | |
|
135 | 136 | .js-error { |
|
136 | 137 | color: darkred; |
|
137 | 138 | } |
|
138 | 139 | |
|
139 | 140 | /* raw_input styles */ |
|
140 | 141 | |
|
141 | 142 | div.raw_input { |
|
142 | 143 | padding-top: 0px; |
|
143 | 144 | padding-bottom: 0px; |
|
144 | 145 | height: 1em; |
|
145 | 146 | line-height: 1em; |
|
146 | 147 | font-family: @monoFontFamily; |
|
147 | 148 | } |
|
148 | 149 | |
|
149 | 150 | span.input_prompt { |
|
150 | 151 | font-family: inherit; |
|
151 | 152 | } |
|
152 | 153 | |
|
153 | 154 | input.raw_input { |
|
154 | 155 | font-family: inherit; |
|
155 | 156 | font-size: inherit; |
|
156 | 157 | color: inherit; |
|
157 | 158 | width: auto; |
|
158 | 159 | margin: -2px 0px 0px 1px; |
|
159 | 160 | padding-left: 1px; |
|
160 | 161 | padding-top: 2px; |
|
161 | 162 | height: 1em; |
|
162 | 163 | } |
|
163 | 164 | |
|
164 | 165 | p.p-space { |
|
165 | 166 | margin-bottom: 10px; |
|
166 | 167 | } |
General Comments 0
You need to be logged in to leave comments.
Login now