@jupyterlab/nbconvert-css 3.2.0-alpha.1 → 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 +73 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jupyterlab/nbconvert-css",
3
- "version": "3.2.0-alpha.1",
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.2.0-alpha.1",
35
- "@jupyterlab/apputils": "^3.2.0-alpha.1",
36
- "@jupyterlab/cells": "^3.2.0-alpha.1",
37
- "@jupyterlab/codemirror": "^3.2.0-alpha.1",
38
- "@jupyterlab/notebook": "^3.2.0-alpha.1",
39
- "@jupyterlab/outputarea": "^3.2.0-alpha.1",
40
- "@jupyterlab/rendermime": "^3.2.0-alpha.1"
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
@@ -13916,6 +13916,79 @@ body[data-format='mobile'] .jp-InputPrompt {
13916
13916
  flex: 0 0 110px;
13917
13917
  }
13918
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
+
13919
13992
  /*-----------------------------------------------------------------------------
13920
13993
  | Placeholder
13921
13994
  |----------------------------------------------------------------------------*/