Show More
@@ -59,8 +59,7 b' var IPython = (function (IPython) {' | |||
|
59 | 59 | this.wrapper.addClass('output_wrapper'); |
|
60 | 60 | this.element.addClass('output vbox'); |
|
61 | 61 | |
|
62 |
this.collapse_button. |
|
|
63 | this.collapse_button.addClass('output_collapsed vbox'); | |
|
62 | this.collapse_button.addClass("btn output_collapsed"); | |
|
64 | 63 | this.collapse_button.attr('title', 'click to expand output'); |
|
65 | 64 | this.collapse_button.html('. . .'); |
|
66 | 65 | |
@@ -112,11 +111,6 b' var IPython = (function (IPython) {' | |||
|
112 | 111 | this.collapse_button.click(function () { |
|
113 | 112 | that.expand(); |
|
114 | 113 | }); |
|
115 | this.collapse_button.hover(function () { | |
|
116 | $(this).addClass("ui-state-hover"); | |
|
117 | }, function () { | |
|
118 | $(this).removeClass("ui-state-hover"); | |
|
119 | }); | |
|
120 | 114 | }; |
|
121 | 115 | |
|
122 | 116 |
@@ -25,11 +25,9 b' div.input_prompt {' | |||
|
25 | 25 | div.output_wrapper { |
|
26 | 26 | /* This is a spacer between the input and output of each cell */ |
|
27 | 27 | margin-top: 5px; |
|
28 | margin-left: 5px; | |
|
29 | /* FF needs explicit width to stretch */ | |
|
30 | width: 100%; | |
|
31 | 28 | /* this position must be relative to enable descendents to be absolute within it */ |
|
32 | 29 | position: relative; |
|
30 | .vbox() | |
|
33 | 31 | } |
|
34 | 32 | |
|
35 | 33 | /* class for the output area when it should be height-limited */ |
@@ -46,12 +44,14 b' div.output_scroll {' | |||
|
46 | 44 | |
|
47 | 45 | /* output div while it is collapsed */ |
|
48 | 46 | div.output_collapsed { |
|
49 |
margin |
|
|
47 | margin: 0px; | |
|
48 | padding: 0px; | |
|
49 | .vbox(); | |
|
50 | 50 | } |
|
51 | 51 | |
|
52 | 52 | div.out_prompt_overlay { |
|
53 | 53 | height: 100%; |
|
54 | padding: 0px; | |
|
54 | padding: 0px 0.4em; | |
|
55 | 55 | position: absolute; |
|
56 | 56 | .corner-all; |
|
57 | 57 | } |
@@ -64,6 +64,4 b' div.out_prompt_overlay:hover {' | |||
|
64 | 64 | |
|
65 | 65 | div.output_prompt { |
|
66 | 66 | color: darkred; |
|
67 | /* 5px right shift to account for margin in parent container */ | |
|
68 | margin: 0 5px 0 -5px; | |
|
69 | 67 | } |
@@ -25,6 +25,7 b' div.output_area pre {' | |||
|
25 | 25 | the prompt div. */ |
|
26 | 26 | div.output_subarea { |
|
27 | 27 | padding: 0.44em 0.4em 0.4em 1px; |
|
28 | margin-left: 6px; | |
|
28 | 29 | .box-flex1(); |
|
29 | 30 | } |
|
30 | 31 |
@@ -1272,12 +1272,12 b' div.prompt{width:11ex;padding:0.4em;margin:0px;font-family:monospace;text-align:' | |||
|
1272 | 1272 | div.input{page-break-inside:avoid;display:-webkit-box;-webkit-box-orient:horizontal;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:horizontal;-moz-box-align:stretch;display:box;box-orient:horizontal;box-align:stretch;} |
|
1273 | 1273 | div.input_area{border:1px solid #cfcfcf;border-radius:4px;background:#f7f7f7;} |
|
1274 | 1274 | div.input_prompt{color:navy;border-top:1px solid transparent;} |
|
1275 | div.output_wrapper{margin-top:5px;margin-left:5px;width:100%;position:relative;} | |
|
1275 | div.output_wrapper{margin-top:5px;position:relative;display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;width:100%;} | |
|
1276 | 1276 | div.output_scroll{height:24em;width:100%;overflow:auto;border-radius:4px;-webkit-box-shadow:inset 0 2px 8px rgba(0, 0, 0, 0.8);-moz-box-shadow:inset 0 2px 8px rgba(0, 0, 0, 0.8);box-shadow:inset 0 2px 8px rgba(0, 0, 0, 0.8);} |
|
1277 | div.output_collapsed{margin-right:5px;} | |
|
1278 | div.out_prompt_overlay{height:100%;padding:0px;position:absolute;border-radius:4px;} | |
|
1277 | div.output_collapsed{margin:0px;padding:0px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;width:100%;} | |
|
1278 | div.out_prompt_overlay{height:100%;padding:0px 0.4em;position:absolute;border-radius:4px;} | |
|
1279 | 1279 | div.out_prompt_overlay:hover{-webkit-box-shadow:inset 0 0 1px #000000;-moz-box-shadow:inset 0 0 1px #000000;box-shadow:inset 0 0 1px #000000;background:rgba(240, 240, 240, 0.5);} |
|
1280 |
div.output_prompt{color:darkred; |
|
|
1280 | div.output_prompt{color:darkred;} | |
|
1281 | 1281 | .CodeMirror{line-height:1.231em;height:auto;background:none;} |
|
1282 | 1282 | .CodeMirror-scroll{overflow-y:hidden;overflow-x:auto;} |
|
1283 | 1283 | .CodeMirror-lines{padding:0.4em;} |
@@ -1331,7 +1331,7 b' p{margin-bottom:0;}' | |||
|
1331 | 1331 | .notification_widget{float:right;right:0px;top:1px;height:25px;padding:3px 6px;z-index:10;} |
|
1332 | 1332 | div.output_area{padding:0px;page-break-inside:avoid;display:-webkit-box;-webkit-box-orient:horizontal;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:horizontal;-moz-box-align:stretch;display:box;box-orient:horizontal;box-align:stretch;} |
|
1333 | 1333 | div.output_area pre{font-family:monospace;margin:0;padding:0;border:0;font-size:100%;vertical-align:baseline;color:black;background-color:transparent;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;line-height:inherit;} |
|
1334 | div.output_subarea{padding:0.44em 0.4em 0.4em 1px;-webkit-box-flex:1;-moz-box-flex:1;box-flex:1;} | |
|
1334 | div.output_subarea{padding:0.44em 0.4em 0.4em 1px;margin-left:6px;-webkit-box-flex:1;-moz-box-flex:1;box-flex:1;} | |
|
1335 | 1335 | div.output_text{text-align:left;color:#000000;font-family:monospace;line-height:1.231em;} |
|
1336 | 1336 | div.output_stream{padding-top:0.0em;padding-bottom:0.0em;} |
|
1337 | 1337 | div.output_stderr{background:#fdd;} |
General Comments 0
You need to be logged in to leave comments.
Login now