@jupyterlab/nbconvert-css 4.0.7 → 4.0.9
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 +81 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jupyterlab/nbconvert-css",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.9",
|
|
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.9",
|
|
35
|
+
"@jupyterlab/apputils": "^4.1.9",
|
|
36
|
+
"@jupyterlab/cells": "^4.0.9",
|
|
37
|
+
"@jupyterlab/codemirror": "^4.0.9",
|
|
38
|
+
"@jupyterlab/notebook": "^4.0.9",
|
|
39
|
+
"@jupyterlab/outputarea": "^4.0.9",
|
|
40
|
+
"@jupyterlab/rendermime": "^4.0.9"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"css-loader": "^6.7.1",
|
package/style/index.css
CHANGED
|
@@ -4348,6 +4348,8 @@ h6:hover .jp-InternalAnchorLink {
|
|
|
4348
4348
|
|----------------------------------------------------------------------------*/
|
|
4349
4349
|
|
|
4350
4350
|
.lm-cursor-backdrop {
|
|
4351
|
+
top: 0px;
|
|
4352
|
+
left: 0px;
|
|
4351
4353
|
position: fixed;
|
|
4352
4354
|
width: 200px;
|
|
4353
4355
|
height: 200px;
|
|
@@ -4355,9 +4357,25 @@ h6:hover .jp-InternalAnchorLink {
|
|
|
4355
4357
|
margin-left: -100px;
|
|
4356
4358
|
will-change: transform;
|
|
4357
4359
|
z-index: 100;
|
|
4360
|
+
scrollbar-width: none;
|
|
4361
|
+
-ms-overflow-style: none;
|
|
4362
|
+
overflow: scroll;
|
|
4363
|
+
}
|
|
4364
|
+
|
|
4365
|
+
.lm-cursor-backdrop::after {
|
|
4366
|
+
content: '';
|
|
4367
|
+
height: 1200px;
|
|
4368
|
+
width: 1200px;
|
|
4369
|
+
display: block;
|
|
4370
|
+
}
|
|
4371
|
+
|
|
4372
|
+
.lm-cursor-backdrop::-webkit-scrollbar {
|
|
4373
|
+
display: none;
|
|
4358
4374
|
}
|
|
4359
4375
|
|
|
4360
4376
|
.lm-mod-drag-image {
|
|
4377
|
+
top: 0px;
|
|
4378
|
+
left: 0px;
|
|
4361
4379
|
will-change: transform;
|
|
4362
4380
|
}
|
|
4363
4381
|
|
|
@@ -4580,11 +4598,13 @@ h6:hover .jp-InternalAnchorLink {
|
|
|
4580
4598
|
}
|
|
4581
4599
|
|
|
4582
4600
|
.jp-DocumentSearch-toggle-wrapper {
|
|
4601
|
+
flex-shrink: 0;
|
|
4583
4602
|
width: 14px;
|
|
4584
4603
|
height: 14px;
|
|
4585
4604
|
}
|
|
4586
4605
|
|
|
4587
4606
|
.jp-DocumentSearch-button-wrapper {
|
|
4607
|
+
flex-shrink: 0;
|
|
4588
4608
|
width: var(--jp-private-document-search-button-height);
|
|
4589
4609
|
height: var(--jp-private-document-search-button-height);
|
|
4590
4610
|
}
|
|
@@ -4708,6 +4728,7 @@ h6:hover .jp-InternalAnchorLink {
|
|
|
4708
4728
|
margin: auto 2px;
|
|
4709
4729
|
padding: 1px 4px;
|
|
4710
4730
|
height: calc(var(--jp-private-document-search-button-height) + 2px);
|
|
4731
|
+
flex-shrink: 0;
|
|
4711
4732
|
}
|
|
4712
4733
|
|
|
4713
4734
|
.jp-DocumentSearch-replace-button-wrapper:focus {
|
|
@@ -4746,6 +4767,40 @@ h6:hover .jp-InternalAnchorLink {
|
|
|
4746
4767
|
background-color: var(--jp-layout-color2);
|
|
4747
4768
|
}
|
|
4748
4769
|
|
|
4770
|
+
/*
|
|
4771
|
+
The following few rules allow the search box to expand horizontally,
|
|
4772
|
+
as the text within it grows. This is done by using putting
|
|
4773
|
+
the text within a wrapper element and using that wrapper for sizing,
|
|
4774
|
+
as <textarea> and <input> tags do not grow automatically.
|
|
4775
|
+
This is the underlying technique:
|
|
4776
|
+
https://til.simonwillison.net/css/resizing-textarea
|
|
4777
|
+
*/
|
|
4778
|
+
.jp-DocumentSearch-input-label::after {
|
|
4779
|
+
content: attr(data-value) ' ';
|
|
4780
|
+
visibility: hidden;
|
|
4781
|
+
white-space: pre;
|
|
4782
|
+
}
|
|
4783
|
+
|
|
4784
|
+
.jp-DocumentSearch-input-label {
|
|
4785
|
+
display: inline-grid;
|
|
4786
|
+
align-items: stretch;
|
|
4787
|
+
}
|
|
4788
|
+
|
|
4789
|
+
.jp-DocumentSearch-input-label::after,
|
|
4790
|
+
.jp-DocumentSearch-input-label > .jp-DocumentSearch-input {
|
|
4791
|
+
width: auto;
|
|
4792
|
+
min-width: 1em;
|
|
4793
|
+
grid-area: 1/2;
|
|
4794
|
+
font: inherit;
|
|
4795
|
+
padding: 2px 3px;
|
|
4796
|
+
margin: 0;
|
|
4797
|
+
resize: none;
|
|
4798
|
+
background: none;
|
|
4799
|
+
appearance: none;
|
|
4800
|
+
border: none;
|
|
4801
|
+
overflow: hidden;
|
|
4802
|
+
}
|
|
4803
|
+
|
|
4749
4804
|
/*-----------------------------------------------------------------------------
|
|
4750
4805
|
| Copyright (c) Jupyter Development Team.
|
|
4751
4806
|
| Distributed under the terms of the Modified BSD License.
|
|
@@ -5833,18 +5888,18 @@ Note: input and output wrappers have "display: block" propery in print mode.
|
|
|
5833
5888
|
|----------------------------------------------------------------------------*/
|
|
5834
5889
|
|
|
5835
5890
|
.jp-Placeholder {
|
|
5836
|
-
display:
|
|
5837
|
-
|
|
5891
|
+
display: flex;
|
|
5892
|
+
flex-direction: row;
|
|
5838
5893
|
width: 100%;
|
|
5839
5894
|
}
|
|
5840
5895
|
|
|
5841
5896
|
.jp-Placeholder-prompt {
|
|
5842
|
-
|
|
5897
|
+
flex: 0 0 var(--jp-cell-prompt-width);
|
|
5843
5898
|
box-sizing: border-box;
|
|
5844
5899
|
}
|
|
5845
5900
|
|
|
5846
5901
|
.jp-Placeholder-content {
|
|
5847
|
-
|
|
5902
|
+
flex: 1 1 auto;
|
|
5848
5903
|
padding: 4px 6px;
|
|
5849
5904
|
border: 1px solid transparent;
|
|
5850
5905
|
border-radius: 0;
|
|
@@ -5887,6 +5942,24 @@ Note: input and output wrappers have "display: block" propery in print mode.
|
|
|
5887
5942
|
background: var(--jp-cell-editor-background);
|
|
5888
5943
|
}
|
|
5889
5944
|
|
|
5945
|
+
/*-----------------------------------------------------------------------------
|
|
5946
|
+
| Print
|
|
5947
|
+
|----------------------------------------------------------------------------*/
|
|
5948
|
+
@media print {
|
|
5949
|
+
.jp-Placeholder {
|
|
5950
|
+
display: table;
|
|
5951
|
+
table-layout: fixed;
|
|
5952
|
+
}
|
|
5953
|
+
|
|
5954
|
+
.jp-Placeholder-content {
|
|
5955
|
+
display: table-cell;
|
|
5956
|
+
}
|
|
5957
|
+
|
|
5958
|
+
.jp-Placeholder-prompt {
|
|
5959
|
+
display: table-cell;
|
|
5960
|
+
}
|
|
5961
|
+
}
|
|
5962
|
+
|
|
5890
5963
|
/*-----------------------------------------------------------------------------
|
|
5891
5964
|
| Copyright (c) Jupyter Development Team.
|
|
5892
5965
|
| Distributed under the terms of the Modified BSD License.
|
|
@@ -6663,8 +6736,8 @@ cell outputs.
|
|
|
6663
6736
|
|
|
6664
6737
|
.jp-mod-sideBySide.jp-Notebook .jp-CodeCell {
|
|
6665
6738
|
display: grid;
|
|
6666
|
-
grid-template-columns: minmax(
|
|
6667
|
-
|
|
6739
|
+
grid-template-columns: minmax(70px, 1fr) min-content minmax(
|
|
6740
|
+
70px,
|
|
6668
6741
|
var(--jp-side-by-side-output-size)
|
|
6669
6742
|
);
|
|
6670
6743
|
grid-template-rows: auto minmax(0, 1fr) auto;
|
|
@@ -6675,8 +6748,8 @@ cell outputs.
|
|
|
6675
6748
|
}
|
|
6676
6749
|
|
|
6677
6750
|
.jp-mod-sideBySide.jp-Notebook .jp-CodeCell.jp-mod-resizedCell {
|
|
6678
|
-
grid-template-columns: minmax(
|
|
6679
|
-
|
|
6751
|
+
grid-template-columns: minmax(70px, 1fr) min-content minmax(
|
|
6752
|
+
70px,
|
|
6680
6753
|
var(--jp-side-by-side-resized-cell)
|
|
6681
6754
|
);
|
|
6682
6755
|
}
|