##// END OF EJS Templates
Merge pull request #7147 from jdfreder/print...
Jonathan Frederic -
r19431:f275f8e1 merge
parent child Browse files
Show More
@@ -37,11 +37,19 b' div#header {'
37 37 height: 0px;
38 38 border-bottom: 1px solid @navbar-default-border;
39 39 }
40
41 @media print {
42 display: none !important;
43 }
40 44 }
41 45
42 46 #header-spacer {
43 47 width: 100%;
44 48 visibility: hidden;
49
50 @media print {
51 display: none;
52 }
45 53 }
46 54
47 55 #ipython_notebook {
@@ -8,10 +8,18 b' div.cell {'
8 8
9 9 &.selected {
10 10 border-color: @border_color;
11 /* Don't border the cells when printing */
12 @media print {
13 border-color: transparent;
14 }
11 15 }
12 16
13 17 &.edit_mode {
14 18 border-color: green;
19 /* Don't border the cells when printing */
20 @media print {
21 border-color: transparent;
22 }
15 23 }
16 24
17 25 width: 100%;
@@ -1,4 +1,8 b''
1 1 div.code_cell {
2 /* avoid page breaking on code cells when printing */
3 @media print {
4 page-break-inside: avoid;
5 }
2 6 }
3 7
4 8 /* any special styling for code cells that are currently running goes here */
@@ -363,9 +363,21 b' div.cell {'
363 363 }
364 364 div.cell.selected {
365 365 border-color: #ababab;
366 /* Don't border the cells when printing */
367 }
368 @media print {
369 div.cell.selected {
370 border-color: transparent;
371 }
366 372 }
367 373 div.cell.edit_mode {
368 374 border-color: green;
375 /* Don't border the cells when printing */
376 }
377 @media print {
378 div.cell.edit_mode {
379 border-color: transparent;
380 }
369 381 }
370 382 div.prompt {
371 383 /* This needs to be wide enough for 3 digit prompt numbers: In[100]: */
@@ -457,6 +469,14 b' div.unrecognized_cell .inner_cell a:hover {'
457 469 display: none;
458 470 }
459 471 }
472 div.code_cell {
473 /* avoid page breaking on code cells when printing */
474 }
475 @media print {
476 div.code_cell {
477 page-break-inside: avoid;
478 }
479 }
460 480 /* any special styling for code cells that are currently running goes here */
461 481 div.input {
462 482 page-break-inside: avoid;
@@ -7768,10 +7768,20 b' div#header .header-bar {'
7768 7768 height: 0px;
7769 7769 border-bottom: 1px solid #e7e7e7;
7770 7770 }
7771 @media print {
7772 div#header {
7773 display: none !important;
7774 }
7775 }
7771 7776 #header-spacer {
7772 7777 width: 100%;
7773 7778 visibility: hidden;
7774 7779 }
7780 @media print {
7781 #header-spacer {
7782 display: none;
7783 }
7784 }
7775 7785 #ipython_notebook {
7776 7786 padding-left: 0px;
7777 7787 padding-top: 3px;
@@ -8226,9 +8236,21 b' div.cell {'
8226 8236 }
8227 8237 div.cell.selected {
8228 8238 border-color: #ababab;
8239 /* Don't border the cells when printing */
8240 }
8241 @media print {
8242 div.cell.selected {
8243 border-color: transparent;
8244 }
8229 8245 }
8230 8246 div.cell.edit_mode {
8231 8247 border-color: green;
8248 /* Don't border the cells when printing */
8249 }
8250 @media print {
8251 div.cell.edit_mode {
8252 border-color: transparent;
8253 }
8232 8254 }
8233 8255 div.prompt {
8234 8256 /* This needs to be wide enough for 3 digit prompt numbers: In[100]: */
@@ -8320,6 +8342,14 b' div.unrecognized_cell .inner_cell a:hover {'
8320 8342 display: none;
8321 8343 }
8322 8344 }
8345 div.code_cell {
8346 /* avoid page breaking on code cells when printing */
8347 }
8348 @media print {
8349 div.code_cell {
8350 page-break-inside: avoid;
8351 }
8352 }
8323 8353 /* any special styling for code cells that are currently running goes here */
8324 8354 div.input {
8325 8355 page-break-inside: avoid;
General Comments 0
You need to be logged in to leave comments. Login now