@jupyterlab/nbconvert-css 3.1.12 → 3.2.0-beta.0

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.
Files changed (2) hide show
  1. package/package.json +8 -8
  2. package/style/index.css +79 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jupyterlab/nbconvert-css",
3
- "version": "3.1.12",
3
+ "version": "3.2.0-beta.0",
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": "^3.1.12",
35
- "@jupyterlab/apputils": "^3.1.12",
36
- "@jupyterlab/cells": "^3.1.12",
37
- "@jupyterlab/codemirror": "^3.1.12",
38
- "@jupyterlab/notebook": "^3.1.12",
39
- "@jupyterlab/outputarea": "^3.1.12",
40
- "@jupyterlab/rendermime": "^3.1.12"
34
+ "@jupyterlab/application": "^3.2.0-beta.0",
35
+ "@jupyterlab/apputils": "^3.2.0-beta.0",
36
+ "@jupyterlab/cells": "^3.2.0-beta.0",
37
+ "@jupyterlab/codemirror": "^3.2.0-beta.0",
38
+ "@jupyterlab/notebook": "^3.2.0-beta.0",
39
+ "@jupyterlab/outputarea": "^3.2.0-beta.0",
40
+ "@jupyterlab/rendermime": "^3.2.0-beta.0"
41
41
  },
42
42
  "devDependencies": {
43
43
  "css-loader": "^5.0.1",
package/style/index.css CHANGED
@@ -11983,6 +11983,12 @@ span.CodeMirror-selectedtext { background: none; }
11983
11983
  color: var(--jp-search-unselected-match-color) !important;
11984
11984
  }
11985
11985
 
11986
+ .cm-trailingspace {
11987
+ background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAYAAAB4ka1VAAAAsElEQVQIHQGlAFr/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA7+r3zKmT0/+pk9P/7+r3zAAAAAAAAAAABAAAAAAAAAAA6OPzM+/q9wAAAAAA6OPzMwAAAAAAAAAAAgAAAAAAAAAAGR8NiRQaCgAZIA0AGR8NiQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQyoYJ/SY80UAAAAASUVORK5CYII=);
11988
+ background-position: center left;
11989
+ background-repeat: repeat-x;
11990
+ }
11991
+
11986
11992
  .CodeMirror-focused .CodeMirror-selected {
11987
11993
  background-color: var(--jp-editor-selected-focused-background);
11988
11994
  }
@@ -13910,6 +13916,79 @@ body[data-format='mobile'] .jp-InputPrompt {
13910
13916
  flex: 0 0 110px;
13911
13917
  }
13912
13918
 
13919
+ /*-----------------------------------------------------------------------------
13920
+ | Side-by-side Mode (.jp-mod-sideBySide)
13921
+ |----------------------------------------------------------------------------*/
13922
+ :root {
13923
+ --jp-side-by-side-output-size: 1fr;
13924
+ --jp-side-by-side-resized-cell: var(--jp-side-by-side-output-size);
13925
+ }
13926
+
13927
+ .jp-mod-sideBySide.jp-Notebook .jp-CodeCell {
13928
+ display: grid;
13929
+ grid-template-columns: minmax(0, 1fr) min-content minmax(
13930
+ 0,
13931
+ var(--jp-side-by-side-output-size)
13932
+ );
13933
+ grid-template-rows: auto minmax(0, 1fr) auto;
13934
+ grid-template-areas:
13935
+ 'header header header'
13936
+ 'input handle output'
13937
+ 'footer footer footer';
13938
+ }
13939
+
13940
+ .jp-mod-sideBySide.jp-Notebook .jp-CodeCell.jp-mod-resizedCell {
13941
+ grid-template-columns: minmax(0, 1fr) min-content minmax(
13942
+ 0,
13943
+ var(--jp-side-by-side-resized-cell)
13944
+ );
13945
+ }
13946
+
13947
+ .jp-mod-sideBySide.jp-Notebook .jp-CodeCell .jp-CellHeader {
13948
+ grid-area: header;
13949
+ }
13950
+
13951
+ .jp-mod-sideBySide.jp-Notebook .jp-CodeCell .jp-Cell-inputWrapper {
13952
+ grid-area: input;
13953
+ }
13954
+
13955
+ .jp-mod-sideBySide.jp-Notebook .jp-CodeCell .jp-Cell-outputWrapper {
13956
+ /* overwrite the default margin (no vertical separation needed in side by side move */
13957
+ margin-top: 0;
13958
+ grid-area: output;
13959
+ }
13960
+
13961
+ .jp-mod-sideBySide.jp-Notebook .jp-CodeCell .jp-CellFooter {
13962
+ grid-area: footer;
13963
+ }
13964
+
13965
+ .jp-mod-sideBySide.jp-Notebook .jp-CodeCell .jp-CellResizeHandle {
13966
+ grid-area: handle;
13967
+ user-select: none;
13968
+ display: block;
13969
+ height: 100%;
13970
+ cursor: ew-resize;
13971
+ padding: 0 var(--jp-cell-padding);
13972
+ }
13973
+
13974
+ .jp-mod-sideBySide.jp-Notebook .jp-CodeCell .jp-CellResizeHandle::after {
13975
+ content: '';
13976
+ display: block;
13977
+ background: var(--jp-border-color2);
13978
+ height: 100%;
13979
+ width: 5px;
13980
+ }
13981
+
13982
+ .jp-mod-sideBySide.jp-Notebook
13983
+ .jp-CodeCell.jp-mod-resizedCell
13984
+ .jp-CellResizeHandle::after {
13985
+ background: var(--jp-border-color0);
13986
+ }
13987
+
13988
+ .jp-CellResizeHandle {
13989
+ display: none;
13990
+ }
13991
+
13913
13992
  /*-----------------------------------------------------------------------------
13914
13993
  | Placeholder
13915
13994
  |----------------------------------------------------------------------------*/