@jupyterlab/nbconvert-css 4.5.0-beta.1 → 4.5.0-rc.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 +52 -16
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jupyterlab/nbconvert-css",
3
- "version": "4.5.0-beta.1",
3
+ "version": "4.5.0-rc.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": "^4.5.0-beta.1",
35
- "@jupyterlab/apputils": "^4.6.0-beta.1",
36
- "@jupyterlab/cells": "^4.5.0-beta.1",
37
- "@jupyterlab/codemirror": "^4.5.0-beta.1",
38
- "@jupyterlab/notebook": "^4.5.0-beta.1",
39
- "@jupyterlab/outputarea": "^4.5.0-beta.1",
40
- "@jupyterlab/rendermime": "^4.5.0-beta.1"
34
+ "@jupyterlab/application": "^4.5.0-rc.0",
35
+ "@jupyterlab/apputils": "^4.6.0-rc.0",
36
+ "@jupyterlab/cells": "^4.5.0-rc.0",
37
+ "@jupyterlab/codemirror": "^4.5.0-rc.0",
38
+ "@jupyterlab/notebook": "^4.5.0-rc.0",
39
+ "@jupyterlab/outputarea": "^4.5.0-rc.0",
40
+ "@jupyterlab/rendermime": "^4.5.0-rc.0"
41
41
  },
42
42
  "devDependencies": {
43
43
  "css-loader": "^6.7.1",
package/style/index.css CHANGED
@@ -6223,11 +6223,35 @@ body.lm-mod-override-cursor .jp-OutputArea-output.jp-mod-isolated::before {
6223
6223
  margin: 0;
6224
6224
  }
6225
6225
 
6226
- .jp-ThemedContainer .jp-TrimmedOutputs pre {
6227
- background: var(--jp-layout-color3);
6228
- font-size: calc(var(--jp-code-font-size) * 1.4);
6229
- text-align: center;
6230
- text-transform: uppercase;
6226
+ .jp-TrimmedOutputs-button {
6227
+ display: inline-flex;
6228
+ align-items: center;
6229
+ justify-content: center;
6230
+ width: 100%;
6231
+ padding: var(--jp-flat-button-padding);
6232
+ margin: 8px 0;
6233
+ min-height: var(--jp-flat-button-height);
6234
+ font-size: var(--jp-ui-font-size1);
6235
+ font-family: var(--jp-ui-font-family);
6236
+ background-color: var(--jp-layout-color1);
6237
+ border: 1px solid var(--jp-border-color2);
6238
+ color: var(--jp-ui-font-color1);
6239
+ cursor: pointer;
6240
+ }
6241
+
6242
+ .jp-TrimmedOutputs-button:hover {
6243
+ background-color: var(--jp-layout-color2);
6244
+ border-color: var(--jp-border-color1);
6245
+ }
6246
+
6247
+ .jp-TrimmedOutputs-button:active {
6248
+ background-color: var(--jp-layout-color3);
6249
+ border-color: var(--jp-border-color1);
6250
+ }
6251
+
6252
+ .jp-TrimmedOutputs-button:focus-visible {
6253
+ outline: 1px solid var(--jp-brand-color1);
6254
+ outline-offset: -1px;
6231
6255
  }
6232
6256
 
6233
6257
  /* Hide the gutter in case of
@@ -6365,15 +6389,10 @@ body.lm-mod-override-cursor .jp-OutputArea-output.jp-mod-isolated::before {
6365
6389
  }
6366
6390
  }
6367
6391
 
6368
- /* Trimmed outputs warning */
6369
- .jp-TrimmedOutputs > a {
6370
- margin: 10px;
6371
- text-decoration: none;
6372
- cursor: pointer;
6373
- }
6374
-
6375
- .jp-TrimmedOutputs > a:hover {
6376
- text-decoration: none;
6392
+ /* Trimmed outputs container */
6393
+ .jp-TrimmedOutputs {
6394
+ /* Left-align the button within the output area */
6395
+ text-align: left;
6377
6396
  }
6378
6397
 
6379
6398
  /*-----------------------------------------------------------------------------
@@ -6994,6 +7013,7 @@ cell outputs.
6994
7013
  padding: 0 5px;
6995
7014
  position: fixed;
6996
7015
  display: table;
7016
+ transition: visibility 0s linear 0.1s;
6997
7017
  }
6998
7018
 
6999
7019
  .jp-Notebook-ExecutionIndicator-tooltip.up {
@@ -7008,8 +7028,10 @@ cell outputs.
7008
7028
  display: none;
7009
7029
  }
7010
7030
 
7011
- .jp-Notebook-ExecutionIndicator:hover .jp-Notebook-ExecutionIndicator-tooltip {
7031
+ .jp-Notebook-ExecutionIndicator:hover .jp-Notebook-ExecutionIndicator-tooltip,
7032
+ .jp-Notebook-ExecutionIndicator-tooltip:hover {
7012
7033
  visibility: visible;
7034
+ transition-delay: 0s;
7013
7035
  }
7014
7036
 
7015
7037
  .jp-Notebook-ExecutionIndicator span {
@@ -7026,6 +7048,20 @@ cell outputs.
7026
7048
  height: 100%;
7027
7049
  }
7028
7050
 
7051
+ .jp-Notebook-ExecutionIndicator-jumpButton {
7052
+ margin-top: 4px;
7053
+ margin-bottom: 3px;
7054
+ width: 100%;
7055
+ font-size: var(--jp-ui-font-size1);
7056
+ border: 1px solid var(--jp-border-color2);
7057
+ color: var(--jp-ui-font-color0);
7058
+ transition: all 0.1s ease;
7059
+ }
7060
+
7061
+ .jp-Notebook-ExecutionIndicator-jumpButton:hover {
7062
+ background-color: var(--jp-layout-color3) !important;
7063
+ }
7064
+
7029
7065
  /*
7030
7066
  * Copyright (c) Jupyter Development Team.
7031
7067
  * Distributed under the terms of the Modified BSD License.
@@ -7653,7 +7689,7 @@ div.jp-Cell-Placeholder-content-3 {
7653
7689
  }
7654
7690
 
7655
7691
  /* Lazy rendering to notebook cells: content outside viewport won't be rendered until scrolled into view */
7656
- .jp-Notebook-cell.jp-content-visibility {
7692
+ .jp-content-visibility-mode > .jp-Notebook-cell {
7657
7693
  content-visibility: auto;
7658
7694
  contain: layout style paint; /* Isolates layout, style, and paint for this element */
7659
7695
  }