@jupyterlab/nbconvert-css 4.0.5 → 4.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +8 -8
- package/style/index.css +85 -25
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jupyterlab/nbconvert-css",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.7",
|
|
4
4
|
"description": "CSS bundle for the JupyterLab nbconvert template",
|
|
5
5
|
"homepage": "https://github.com/jupyterlab/jupyterlab",
|
|
6
6
|
"bugs": {
|
|
@@ -31,13 +31,13 @@
|
|
|
31
31
|
"watch": "webpack --watch"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@jupyterlab/application": "^4.0.
|
|
35
|
-
"@jupyterlab/apputils": "^4.1.
|
|
36
|
-
"@jupyterlab/cells": "^4.0.
|
|
37
|
-
"@jupyterlab/codemirror": "^4.0.
|
|
38
|
-
"@jupyterlab/notebook": "^4.0.
|
|
39
|
-
"@jupyterlab/outputarea": "^4.0.
|
|
40
|
-
"@jupyterlab/rendermime": "^4.0.
|
|
34
|
+
"@jupyterlab/application": "^4.0.7",
|
|
35
|
+
"@jupyterlab/apputils": "^4.1.7",
|
|
36
|
+
"@jupyterlab/cells": "^4.0.7",
|
|
37
|
+
"@jupyterlab/codemirror": "^4.0.7",
|
|
38
|
+
"@jupyterlab/notebook": "^4.0.7",
|
|
39
|
+
"@jupyterlab/outputarea": "^4.0.7",
|
|
40
|
+
"@jupyterlab/rendermime": "^4.0.7"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"css-loader": "^6.7.1",
|
package/style/index.css
CHANGED
|
@@ -1965,9 +1965,9 @@ body.lm-mod-override-cursor .jp-IFrame::before {
|
|
|
1965
1965
|
|
|
1966
1966
|
/* stylelint-disable selector-max-type */
|
|
1967
1967
|
|
|
1968
|
-
.jp-FormGroup-content fieldset .jp-inputFieldWrapper input,
|
|
1969
|
-
.jp-FormGroup-content fieldset .jp-inputFieldWrapper select,
|
|
1970
|
-
.jp-FormGroup-content fieldset .jp-inputFieldWrapper textarea {
|
|
1968
|
+
.jp-FormGroup-content fieldset .jp-inputFieldWrapper > input,
|
|
1969
|
+
.jp-FormGroup-content fieldset .jp-inputFieldWrapper > select,
|
|
1970
|
+
.jp-FormGroup-content fieldset .jp-inputFieldWrapper > textarea {
|
|
1971
1971
|
font-size: var(--jp-content-font-size2);
|
|
1972
1972
|
border-color: var(--jp-input-border-color);
|
|
1973
1973
|
border-style: solid;
|
|
@@ -1979,6 +1979,10 @@ body.lm-mod-override-cursor .jp-IFrame::before {
|
|
|
1979
1979
|
height: inherit;
|
|
1980
1980
|
}
|
|
1981
1981
|
|
|
1982
|
+
.jp-FormGroup-content .jp-inputFieldWrapper > select > option {
|
|
1983
|
+
background-color: var(--jp-layout-color1);
|
|
1984
|
+
}
|
|
1985
|
+
|
|
1982
1986
|
.jp-FormGroup-content fieldset input[type='checkbox'] {
|
|
1983
1987
|
position: relative;
|
|
1984
1988
|
top: 2px;
|
|
@@ -4505,6 +4509,7 @@ h6:hover .jp-InternalAnchorLink {
|
|
|
4505
4509
|
font-family: var(--jp-ui-font-family);
|
|
4506
4510
|
padding: 2px 1px;
|
|
4507
4511
|
resize: none;
|
|
4512
|
+
white-space: pre;
|
|
4508
4513
|
}
|
|
4509
4514
|
|
|
4510
4515
|
.jp-DocumentSearch-overlay {
|
|
@@ -5253,14 +5258,15 @@ h6:hover .jp-InternalAnchorLink {
|
|
|
5253
5258
|
}
|
|
5254
5259
|
|
|
5255
5260
|
.jp-OutputArea-child {
|
|
5256
|
-
display:
|
|
5257
|
-
|
|
5261
|
+
display: flex;
|
|
5262
|
+
flex-direction: row;
|
|
5258
5263
|
width: 100%;
|
|
5259
5264
|
overflow: hidden;
|
|
5260
5265
|
}
|
|
5261
5266
|
|
|
5262
5267
|
.jp-OutputPrompt {
|
|
5263
5268
|
width: var(--jp-cell-prompt-width);
|
|
5269
|
+
flex: 0 0 var(--jp-cell-prompt-width);
|
|
5264
5270
|
color: var(--jp-cell-outprompt-font-color);
|
|
5265
5271
|
font-family: var(--jp-cell-prompt-font-family);
|
|
5266
5272
|
padding: var(--jp-code-padding);
|
|
@@ -5283,13 +5289,7 @@ h6:hover .jp-InternalAnchorLink {
|
|
|
5283
5289
|
user-select: none;
|
|
5284
5290
|
}
|
|
5285
5291
|
|
|
5286
|
-
.jp-OutputArea-prompt {
|
|
5287
|
-
display: table-cell;
|
|
5288
|
-
vertical-align: top;
|
|
5289
|
-
}
|
|
5290
|
-
|
|
5291
5292
|
.jp-OutputArea-output {
|
|
5292
|
-
display: table-cell;
|
|
5293
5293
|
width: 100%;
|
|
5294
5294
|
height: auto;
|
|
5295
5295
|
overflow: auto;
|
|
@@ -5325,6 +5325,11 @@ h6:hover .jp-InternalAnchorLink {
|
|
|
5325
5325
|
cursor: zoom-in;
|
|
5326
5326
|
}
|
|
5327
5327
|
|
|
5328
|
+
.jp-OutputArea-child .jp-OutputArea-output {
|
|
5329
|
+
flex-grow: 1;
|
|
5330
|
+
flex-shrink: 1;
|
|
5331
|
+
}
|
|
5332
|
+
|
|
5328
5333
|
/**
|
|
5329
5334
|
* Isolated output.
|
|
5330
5335
|
*/
|
|
@@ -5432,6 +5437,7 @@ body.lm-mod-override-cursor .jp-OutputArea-output.jp-mod-isolated::before {
|
|
|
5432
5437
|
.jp-OutputArea-output.jp-OutputArea-executeResult {
|
|
5433
5438
|
margin-left: 0;
|
|
5434
5439
|
width: 100%;
|
|
5440
|
+
flex: 1 1 auto;
|
|
5435
5441
|
}
|
|
5436
5442
|
|
|
5437
5443
|
/* Text output with the Out[] prompt needs a top padding to match the
|
|
@@ -5501,22 +5507,36 @@ body.lm-mod-override-cursor .jp-OutputArea-output.jp-mod-isolated::before {
|
|
|
5501
5507
|
|
|
5502
5508
|
@media print {
|
|
5503
5509
|
.jp-OutputArea-child {
|
|
5510
|
+
display: table;
|
|
5511
|
+
table-layout: fixed;
|
|
5504
5512
|
break-inside: avoid-page;
|
|
5505
5513
|
}
|
|
5514
|
+
|
|
5515
|
+
.jp-OutputArea-prompt {
|
|
5516
|
+
display: table-cell;
|
|
5517
|
+
vertical-align: top;
|
|
5518
|
+
}
|
|
5519
|
+
|
|
5520
|
+
.jp-OutputArea-output {
|
|
5521
|
+
display: table-cell;
|
|
5522
|
+
}
|
|
5506
5523
|
}
|
|
5507
5524
|
|
|
5508
5525
|
/*-----------------------------------------------------------------------------
|
|
5509
5526
|
| Mobile
|
|
5510
5527
|
|----------------------------------------------------------------------------*/
|
|
5511
5528
|
@media only screen and (width <= 760px) {
|
|
5529
|
+
.jp-OutputArea-child {
|
|
5530
|
+
flex-direction: column;
|
|
5531
|
+
}
|
|
5532
|
+
|
|
5512
5533
|
.jp-OutputPrompt {
|
|
5513
|
-
|
|
5534
|
+
flex: 0 0 auto;
|
|
5514
5535
|
text-align: left;
|
|
5515
5536
|
}
|
|
5516
5537
|
|
|
5517
|
-
.jp-OutputArea-
|
|
5518
|
-
display:
|
|
5519
|
-
margin-left: var(--jp-notebook-padding);
|
|
5538
|
+
.jp-OutputArea-promptOverlay {
|
|
5539
|
+
display: none;
|
|
5520
5540
|
}
|
|
5521
5541
|
}
|
|
5522
5542
|
|
|
@@ -5724,16 +5744,15 @@ Note: input and output wrappers have "display: block" propery in print mode.
|
|
|
5724
5744
|
|
|
5725
5745
|
/* All input areas */
|
|
5726
5746
|
.jp-InputArea {
|
|
5727
|
-
display:
|
|
5728
|
-
|
|
5747
|
+
display: flex;
|
|
5748
|
+
flex-direction: row;
|
|
5729
5749
|
width: 100%;
|
|
5730
5750
|
overflow: hidden;
|
|
5731
5751
|
}
|
|
5732
5752
|
|
|
5733
5753
|
.jp-InputArea-editor {
|
|
5734
|
-
|
|
5754
|
+
flex: 1 1 auto;
|
|
5735
5755
|
overflow: hidden;
|
|
5736
|
-
vertical-align: top;
|
|
5737
5756
|
|
|
5738
5757
|
/* This is the non-active, default styling */
|
|
5739
5758
|
border: var(--jp-border-width) solid var(--jp-cell-editor-border-color);
|
|
@@ -5742,8 +5761,7 @@ Note: input and output wrappers have "display: block" propery in print mode.
|
|
|
5742
5761
|
}
|
|
5743
5762
|
|
|
5744
5763
|
.jp-InputPrompt {
|
|
5745
|
-
|
|
5746
|
-
vertical-align: top;
|
|
5764
|
+
flex: 0 0 var(--jp-cell-prompt-width);
|
|
5747
5765
|
width: var(--jp-cell-prompt-width);
|
|
5748
5766
|
color: var(--jp-cell-inprompt-font-color);
|
|
5749
5767
|
font-family: var(--jp-cell-prompt-font-family);
|
|
@@ -5767,17 +5785,40 @@ Note: input and output wrappers have "display: block" propery in print mode.
|
|
|
5767
5785
|
user-select: none;
|
|
5768
5786
|
}
|
|
5769
5787
|
|
|
5788
|
+
/*-----------------------------------------------------------------------------
|
|
5789
|
+
| Print
|
|
5790
|
+
|----------------------------------------------------------------------------*/
|
|
5791
|
+
@media print {
|
|
5792
|
+
.jp-InputArea {
|
|
5793
|
+
display: table;
|
|
5794
|
+
table-layout: fixed;
|
|
5795
|
+
}
|
|
5796
|
+
|
|
5797
|
+
.jp-InputArea-editor {
|
|
5798
|
+
display: table-cell;
|
|
5799
|
+
vertical-align: top;
|
|
5800
|
+
}
|
|
5801
|
+
|
|
5802
|
+
.jp-InputPrompt {
|
|
5803
|
+
display: table-cell;
|
|
5804
|
+
vertical-align: top;
|
|
5805
|
+
}
|
|
5806
|
+
}
|
|
5807
|
+
|
|
5770
5808
|
/*-----------------------------------------------------------------------------
|
|
5771
5809
|
| Mobile
|
|
5772
5810
|
|----------------------------------------------------------------------------*/
|
|
5773
5811
|
@media only screen and (width <= 760px) {
|
|
5812
|
+
.jp-InputArea {
|
|
5813
|
+
flex-direction: column;
|
|
5814
|
+
}
|
|
5815
|
+
|
|
5774
5816
|
.jp-InputArea-editor {
|
|
5775
|
-
|
|
5776
|
-
margin-left: var(--jp-notebook-padding);
|
|
5817
|
+
margin-left: var(--jp-code-padding);
|
|
5777
5818
|
}
|
|
5778
5819
|
|
|
5779
5820
|
.jp-InputPrompt {
|
|
5780
|
-
|
|
5821
|
+
flex: 0 0 auto;
|
|
5781
5822
|
text-align: left;
|
|
5782
5823
|
}
|
|
5783
5824
|
}
|
|
@@ -5950,6 +5991,11 @@ Note: input and output wrappers have "display: block" propery in print mode.
|
|
|
5950
5991
|
width: calc(
|
|
5951
5992
|
var(--jp-cell-prompt-width) - var(--jp-private-cell-scrolling-output-offset)
|
|
5952
5993
|
);
|
|
5994
|
+
flex: 0 0
|
|
5995
|
+
calc(
|
|
5996
|
+
var(--jp-cell-prompt-width) -
|
|
5997
|
+
var(--jp-private-cell-scrolling-output-offset)
|
|
5998
|
+
);
|
|
5953
5999
|
}
|
|
5954
6000
|
|
|
5955
6001
|
.jp-CodeCell.jp-mod-outputsScrolled .jp-OutputArea-promptOverlay {
|
|
@@ -5965,7 +6011,7 @@ Note: input and output wrappers have "display: block" propery in print mode.
|
|
|
5965
6011
|
|----------------------------------------------------------------------------*/
|
|
5966
6012
|
|
|
5967
6013
|
.jp-MarkdownOutput {
|
|
5968
|
-
|
|
6014
|
+
flex: 1 1 auto;
|
|
5969
6015
|
width: 100%;
|
|
5970
6016
|
margin-top: 0;
|
|
5971
6017
|
margin-bottom: 0;
|
|
@@ -6083,6 +6129,10 @@ cell outputs.
|
|
|
6083
6129
|
.jp-Cell-outputWrapper {
|
|
6084
6130
|
display: block;
|
|
6085
6131
|
}
|
|
6132
|
+
|
|
6133
|
+
.jp-MarkdownOutput {
|
|
6134
|
+
display: table-cell;
|
|
6135
|
+
}
|
|
6086
6136
|
}
|
|
6087
6137
|
|
|
6088
6138
|
/*-----------------------------------------------------------------------------
|
|
@@ -6359,6 +6409,7 @@ cell outputs.
|
|
|
6359
6409
|
|
|
6360
6410
|
.jp-Notebook .jp-Cell .jp-InputPrompt {
|
|
6361
6411
|
cursor: move;
|
|
6412
|
+
float: left;
|
|
6362
6413
|
}
|
|
6363
6414
|
|
|
6364
6415
|
/*-----------------------------------------------------------------------------
|
|
@@ -6754,3 +6805,12 @@ div.jp-Cell-Placeholder-content-3 {
|
|
|
6754
6805
|
top: 140px;
|
|
6755
6806
|
}
|
|
6756
6807
|
|
|
6808
|
+
/*-----------------------------------------------------------------------------
|
|
6809
|
+
| Printing
|
|
6810
|
+
|----------------------------------------------------------------------------*/
|
|
6811
|
+
@media print {
|
|
6812
|
+
.jp-Notebook .jp-Cell .jp-InputPrompt {
|
|
6813
|
+
float: none;
|
|
6814
|
+
}
|
|
6815
|
+
}
|
|
6816
|
+
|