Show More
@@ -121,8 +121,7 b' define([' | |||||
121 | this.notebook_name_blacklist_re = /[\/\\:]/; |
|
121 | this.notebook_name_blacklist_re = /[\/\\:]/; | |
122 | this.nbformat = 3; // Increment this when changing the nbformat |
|
122 | this.nbformat = 3; // Increment this when changing the nbformat | |
123 | this.nbformat_minor = 0; // Increment this when changing the nbformat |
|
123 | this.nbformat_minor = 0; // Increment this when changing the nbformat | |
124 | this.codemirror_mode = 'ipython' |
|
124 | this.codemirror_mode = 'ipython'; | |
125 | this.style(); |
|
|||
126 | this.create_elements(); |
|
125 | this.create_elements(); | |
127 | this.bind_events(); |
|
126 | this.bind_events(); | |
128 | this.save_notebook = function() { // don't allow save until notebook_loaded |
|
127 | this.save_notebook = function() { // don't allow save until notebook_loaded | |
@@ -141,7 +140,7 b' define([' | |||||
141 | * @method style |
|
140 | * @method style | |
142 | */ |
|
141 | */ | |
143 | Notebook.prototype.style = function () { |
|
142 | Notebook.prototype.style = function () { | |
144 | $('div#notebook').addClass('border-box-sizing'); |
|
143 | console.log('Notebook.style() is now a empty function, please consider removing.'); | |
145 | }; |
|
144 | }; | |
146 |
|
145 | |||
147 | /** |
|
146 | /** |
@@ -316,8 +316,16 b' div.cell {' | |||||
316 | /* Modern browsers */ |
|
316 | /* Modern browsers */ | |
317 | flex: none; |
|
317 | flex: none; | |
318 | border-radius: 4px; |
|
318 | border-radius: 4px; | |
|
319 | box-sizing: border-box; | |||
|
320 | -moz-box-sizing: border-box; | |||
|
321 | -webkit-box-sizing: border-box; | |||
319 | border-width: thin; |
|
322 | border-width: thin; | |
320 | border-style: solid; |
|
323 | border-style: solid; | |
|
324 | width: 100%; | |||
|
325 | padding: 5px 5px 5px 0px; | |||
|
326 | /* This acts as a spacer between cells, that is outside the border */ | |||
|
327 | margin: 0px; | |||
|
328 | outline: none; | |||
321 | } |
|
329 | } | |
322 | div.cell.selected { |
|
330 | div.cell.selected { | |
323 | border-color: #ababab; |
|
331 | border-color: #ababab; | |
@@ -325,13 +333,6 b' div.cell.selected {' | |||||
325 | div.cell.edit_mode { |
|
333 | div.cell.edit_mode { | |
326 | border-color: green; |
|
334 | border-color: green; | |
327 | } |
|
335 | } | |
328 | div.cell { |
|
|||
329 | width: 100%; |
|
|||
330 | padding: 5px 5px 5px 0px; |
|
|||
331 | /* This acts as a spacer between cells, that is outside the border */ |
|
|||
332 | margin: 0px; |
|
|||
333 | outline: none; |
|
|||
334 | } |
|
|||
335 | div.prompt { |
|
336 | div.prompt { | |
336 | /* This needs to be wide enough for 3 digit prompt numbers: In[100]: */ |
|
337 | /* This needs to be wide enough for 3 digit prompt numbers: In[100]: */ | |
337 | min-width: 15ex; |
|
338 | min-width: 15ex; |
@@ -7940,8 +7940,16 b' div.cell {' | |||||
7940 | /* Modern browsers */ |
|
7940 | /* Modern browsers */ | |
7941 | flex: none; |
|
7941 | flex: none; | |
7942 | border-radius: 4px; |
|
7942 | border-radius: 4px; | |
|
7943 | box-sizing: border-box; | |||
|
7944 | -moz-box-sizing: border-box; | |||
|
7945 | -webkit-box-sizing: border-box; | |||
7943 | border-width: thin; |
|
7946 | border-width: thin; | |
7944 | border-style: solid; |
|
7947 | border-style: solid; | |
|
7948 | width: 100%; | |||
|
7949 | padding: 5px 5px 5px 0px; | |||
|
7950 | /* This acts as a spacer between cells, that is outside the border */ | |||
|
7951 | margin: 0px; | |||
|
7952 | outline: none; | |||
7945 | } |
|
7953 | } | |
7946 | div.cell.selected { |
|
7954 | div.cell.selected { | |
7947 | border-color: #ababab; |
|
7955 | border-color: #ababab; | |
@@ -7949,13 +7957,6 b' div.cell.selected {' | |||||
7949 | div.cell.edit_mode { |
|
7957 | div.cell.edit_mode { | |
7950 | border-color: green; |
|
7958 | border-color: green; | |
7951 | } |
|
7959 | } | |
7952 | div.cell { |
|
|||
7953 | width: 100%; |
|
|||
7954 | padding: 5px 5px 5px 0px; |
|
|||
7955 | /* This acts as a spacer between cells, that is outside the border */ |
|
|||
7956 | margin: 0px; |
|
|||
7957 | outline: none; |
|
|||
7958 | } |
|
|||
7959 | div.prompt { |
|
7960 | div.prompt { | |
7960 | /* This needs to be wide enough for 3 digit prompt numbers: In[100]: */ |
|
7961 | /* This needs to be wide enough for 3 digit prompt numbers: In[100]: */ | |
7961 | min-width: 15ex; |
|
7962 | min-width: 15ex; | |
@@ -9385,6 +9386,11 b' body.notebook_app {' | |||||
9385 | padding-right: 0px; |
|
9386 | padding-right: 0px; | |
9386 | } |
|
9387 | } | |
9387 | } |
|
9388 | } | |
|
9389 | #ipython-main-app { | |||
|
9390 | box-sizing: border-box; | |||
|
9391 | -moz-box-sizing: border-box; | |||
|
9392 | -webkit-box-sizing: border-box; | |||
|
9393 | } | |||
9388 | span#notebook_name { |
|
9394 | span#notebook_name { | |
9389 | height: 1em; |
|
9395 | height: 1em; | |
9390 | line-height: 1em; |
|
9396 | line-height: 1em; | |
@@ -9397,6 +9403,9 b' div#notebook_panel {' | |||||
9397 | padding: 0px; |
|
9403 | padding: 0px; | |
9398 | -webkit-box-shadow: inset 1px 4px 9px -6px rgba(0, 0, 0, 0.25); |
|
9404 | -webkit-box-shadow: inset 1px 4px 9px -6px rgba(0, 0, 0, 0.25); | |
9399 | box-shadow: inset 1px 4px 9px -6px rgba(0, 0, 0, 0.25); |
|
9405 | box-shadow: inset 1px 4px 9px -6px rgba(0, 0, 0, 0.25); | |
|
9406 | box-sizing: border-box; | |||
|
9407 | -moz-box-sizing: border-box; | |||
|
9408 | -webkit-box-sizing: border-box; | |||
9400 | } |
|
9409 | } | |
9401 | div#notebook { |
|
9410 | div#notebook { | |
9402 | font-size: 14px; |
|
9411 | font-size: 14px; | |
@@ -9592,24 +9601,6 b' fieldset[disabled] #kernel_selector_widget > button {' | |||||
9592 | -webkit-box-shadow: none; |
|
9601 | -webkit-box-shadow: none; | |
9593 | box-shadow: none; |
|
9602 | box-shadow: none; | |
9594 | } |
|
9603 | } | |
9595 | #kernel_selector_widget > button [class^="icon-"].icon-large, |
|
|||
9596 | #kernel_selector_widget > button [class*=" icon-"].icon-large { |
|
|||
9597 | line-height: .9em; |
|
|||
9598 | } |
|
|||
9599 | #kernel_selector_widget > button [class^="icon-"].icon-spin, |
|
|||
9600 | #kernel_selector_widget > button [class*=" icon-"].icon-spin { |
|
|||
9601 | display: inline-block; |
|
|||
9602 | } |
|
|||
9603 | #kernel_selector_widget > button [class^="icon-"].pull-left.icon-2x, |
|
|||
9604 | #kernel_selector_widget > button [class*=" icon-"].pull-left.icon-2x, |
|
|||
9605 | #kernel_selector_widget > button [class^="icon-"].pull-right.icon-2x, |
|
|||
9606 | #kernel_selector_widget > button [class*=" icon-"].pull-right.icon-2x { |
|
|||
9607 | margin-top: .18em; |
|
|||
9608 | } |
|
|||
9609 | #kernel_selector_widget > button [class^="icon-"].icon-spin.icon-large, |
|
|||
9610 | #kernel_selector_widget > button [class*=" icon-"].icon-spin.icon-large { |
|
|||
9611 | line-height: .8em; |
|
|||
9612 | } |
|
|||
9613 | #kernel_selector_widget > button:hover, |
|
9604 | #kernel_selector_widget > button:hover, | |
9614 | #kernel_selector_widget > button:focus, |
|
9605 | #kernel_selector_widget > button:focus, | |
9615 | #kernel_selector_widget > button:active, |
|
9606 | #kernel_selector_widget > button:active, |
General Comments 0
You need to be logged in to leave comments.
Login now