Show More
@@ -27,7 +27,10 | |||
|
27 | 27 | display: none; |
|
28 | 28 | } |
|
29 | 29 | |
|
30 | .ctb_show.ctb_hideshow { | |
|
30 | /*ctb_show is added to either body or the ctb_hideshow div to show | |
|
31 | all or one cell's toolbars. | |
|
32 | */ | |
|
33 | .ctb_show.ctb_hideshow, .ctb_show .ctb_hideshow { | |
|
31 | 34 | display: block; |
|
32 | 35 | } |
|
33 | 36 |
@@ -62,6 +62,11 var IPython = (function (IPython) { | |||
|
62 | 62 | } |
|
63 | 63 | }) |
|
64 | 64 | |
|
65 | // The default css style for the outer celltoolbar div | |
|
66 | // (ctb_hideshow) is display: none. We add the ctb_show | |
|
67 | // class to either 1) the body to show all cell's toolbars | |
|
68 | // or 2) to the individual celltoolbar divs to show just one | |
|
69 | // cell's toolbar. | |
|
65 | 70 | |
|
66 | 71 | CellToolbar.global_hide = function () { |
|
67 | 72 | $('body').removeClass('ctb_show'); |
@@ -71,7 +76,8 var IPython = (function (IPython) { | |||
|
71 | 76 | CellToolbar.global_show = function () { |
|
72 | 77 | $('body').addClass('ctb_show'); |
|
73 | 78 | } |
|
74 | ||
|
79 | ||
|
80 | ||
|
75 | 81 | CellToolbar.prototype.hide = function () { |
|
76 | 82 | this.element.removeClass('ctb_show'); |
|
77 | 83 | } |
General Comments 0
You need to be logged in to leave comments.
Login now