@jupyterlab/nbconvert-css 4.2.0-alpha.1 → 4.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 +47 -17
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jupyterlab/nbconvert-css",
3
- "version": "4.2.0-alpha.1",
3
+ "version": "4.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": "^4.2.0-alpha.1",
35
- "@jupyterlab/apputils": "^4.3.0-alpha.1",
36
- "@jupyterlab/cells": "^4.2.0-alpha.1",
37
- "@jupyterlab/codemirror": "^4.2.0-alpha.1",
38
- "@jupyterlab/notebook": "^4.2.0-alpha.1",
39
- "@jupyterlab/outputarea": "^4.2.0-alpha.1",
40
- "@jupyterlab/rendermime": "^4.2.0-alpha.1"
34
+ "@jupyterlab/application": "^4.2.0-beta.0",
35
+ "@jupyterlab/apputils": "^4.3.0-beta.0",
36
+ "@jupyterlab/cells": "^4.2.0-beta.0",
37
+ "@jupyterlab/codemirror": "^4.2.0-beta.0",
38
+ "@jupyterlab/notebook": "^4.2.0-beta.0",
39
+ "@jupyterlab/outputarea": "^4.2.0-beta.0",
40
+ "@jupyterlab/rendermime": "^4.2.0-beta.0"
41
41
  },
42
42
  "devDependencies": {
43
43
  "css-loader": "^6.7.1",
package/style/index.css CHANGED
@@ -1639,7 +1639,7 @@
1639
1639
  splash, the splash icon can loose theming. To prevent that, we set a
1640
1640
  default for its color variable */
1641
1641
  :root {
1642
- --jp-warn-color0: var(--md-orange-700);
1642
+ --jp-warn-color0: var(--md-orange-700, #f57c00);
1643
1643
  }
1644
1644
 
1645
1645
  /* not sure what to do with this one, used in filebrowser listing */
@@ -2034,9 +2034,9 @@ body.lm-mod-override-cursor .jp-IFrame::before {
2034
2034
  .jp-FormGroup-content fieldset input:focus,
2035
2035
  .jp-FormGroup-content fieldset select:focus {
2036
2036
  -moz-outline-radius: unset;
2037
- outline: var(--jp-border-width) solid var(--md-blue-500);
2037
+ outline: var(--jp-border-width) solid var(--md-blue-500, #2196f3);
2038
2038
  outline-offset: -1px;
2039
- box-shadow: inset 0 0 4px var(--md-blue-300);
2039
+ box-shadow: inset 0 0 4px var(--md-blue-300, #64b5f6);
2040
2040
  }
2041
2041
 
2042
2042
  .jp-FormGroup-content fieldset input:hover:not(:focus),
@@ -2448,8 +2448,8 @@ input[type='checkbox'].jp-mod-styled {
2448
2448
  }
2449
2449
 
2450
2450
  input.jp-mod-styled:focus {
2451
- border: var(--jp-border-width) solid var(--md-blue-500);
2452
- box-shadow: inset 0 0 4px var(--md-blue-300);
2451
+ border: var(--jp-border-width) solid var(--md-blue-500, #2196f3);
2452
+ box-shadow: inset 0 0 4px var(--md-blue-300, #64b5f6);
2453
2453
  }
2454
2454
 
2455
2455
  input[type='checkbox'].jp-mod-styled:focus-visible {
@@ -3497,6 +3497,10 @@ select {
3497
3497
  overflow: visible;
3498
3498
  }
3499
3499
 
3500
+ button.jp-Dialog-button:disabled {
3501
+ opacity: 0.6;
3502
+ }
3503
+
3500
3504
  button.jp-Dialog-button:focus {
3501
3505
  outline: 1px solid var(--jp-brand-color1);
3502
3506
  outline-offset: 4px;
@@ -3523,7 +3527,7 @@ button.jp-Dialog-button.jp-mod-styled.jp-mod-warn:focus {
3523
3527
  }
3524
3528
 
3525
3529
  button.jp-Dialog-button.jp-mod-styled.jp-mod-reject:focus {
3526
- outline: 1px solid var(--jp-reject-color-normal, var(--md-grey-600));
3530
+ outline: 1px solid var(--jp-reject-color-normal, var(--md-grey-600, #757575));
3527
3531
  }
3528
3532
 
3529
3533
  button.jp-Dialog-close-button {
@@ -3610,6 +3614,23 @@ button.jp-Dialog-close-button {
3610
3614
  flex: 1 1 auto;
3611
3615
  }
3612
3616
 
3617
+ .jp-InputDialog-inputWrapper {
3618
+ display: flex;
3619
+ align-items: baseline;
3620
+ }
3621
+
3622
+ .jp-InputDialog-inputWrapper > input.jp-mod-styled:invalid {
3623
+ border-color: var(--jp-error-color0);
3624
+ background: var(--jp-error-color3);
3625
+ }
3626
+
3627
+ .jp-InputDialog-inputWrapper
3628
+ > input[required].jp-mod-styled:invalid:placeholder-shown {
3629
+ /* Do not show invalid style when placeholder is shown */
3630
+ border-color: unset;
3631
+ background: unset;
3632
+ }
3633
+
3613
3634
  /*-----------------------------------------------------------------------------
3614
3635
  | Copyright (c) Jupyter Development Team.
3615
3636
  | Distributed under the terms of the Modified BSD License.
@@ -4509,7 +4530,7 @@ button.jp-Dialog-close-button {
4509
4530
  a.jp-InternalAnchorLink {
4510
4531
  visibility: hidden;
4511
4532
  margin-left: 8px;
4512
- color: var(--md-blue-800);
4533
+ color: var(--md-blue-800, #1565c0);
4513
4534
  }
4514
4535
 
4515
4536
  h1:hover .jp-InternalAnchorLink,
@@ -4654,8 +4675,8 @@ h6:hover .jp-InternalAnchorLink {
4654
4675
  }
4655
4676
 
4656
4677
  .jp-lineFormWrapperFocusWithin {
4657
- border: var(--jp-border-width) solid var(--md-blue-500);
4658
- box-shadow: inset 0 0 4px var(--md-blue-300);
4678
+ border: var(--jp-border-width) solid var(--md-blue-500, #2196f3);
4679
+ box-shadow: inset 0 0 4px var(--md-blue-300, #64b5f6);
4659
4680
  }
4660
4681
 
4661
4682
  .jp-lineFormInput {
@@ -5030,6 +5051,11 @@ button:not(:disabled) > .jp-DocumentSearch-up-down-button:active {
5030
5051
  /* Changed to auto to autogrow */
5031
5052
  }
5032
5053
 
5054
+ /* Suppress automatic focus indicator outline */
5055
+ .cm-editor.cm-focused {
5056
+ outline: unset;
5057
+ }
5058
+
5033
5059
  .cm-editor pre {
5034
5060
  padding: 0 var(--jp-code-padding);
5035
5061
  }
@@ -5100,8 +5126,9 @@ button:not(:disabled) > .jp-DocumentSearch-up-down-button:active {
5100
5126
  }
5101
5127
 
5102
5128
  .jp-current-match > .cm-searching::selection,
5129
+ .jp-current-match > .cm-searching span::selection,
5103
5130
  .cm-searching > .jp-current-match::selection,
5104
- .jp-current-match > .cm-searching span::selection {
5131
+ .cm-searching > .jp-current-match span::selection {
5105
5132
  background-color: var(--jp-search-selected-match-background-color);
5106
5133
  color: var(--jp-search-selected-match-color);
5107
5134
  }
@@ -5191,11 +5218,6 @@ button:not(:disabled) > .jp-DocumentSearch-up-down-button:active {
5191
5218
  --jp-private-filebrowser-button-width: 48px;
5192
5219
  }
5193
5220
 
5194
- /*-----------------------------------------------------------------------------
5195
- | Copyright (c) Jupyter Development Team.
5196
- | Distributed under the terms of the Modified BSD License.
5197
- |----------------------------------------------------------------------------*/
5198
-
5199
5221
  .jp-FileBrowser .jp-SidePanel-content {
5200
5222
  display: flex;
5201
5223
  flex-direction: column;
@@ -5283,6 +5305,14 @@ button:not(:disabled) > .jp-DocumentSearch-up-down-button:active {
5283
5305
  display: none;
5284
5306
  }
5285
5307
 
5308
+ .jp-Open-Dialog > .jp-FileBrowser {
5309
+ min-height: 200px;
5310
+ }
5311
+
5312
+ .jp-Open-Dialog-label {
5313
+ overflow: visible;
5314
+ }
5315
+
5286
5316
  /*-----------------------------------------------------------------------------
5287
5317
  | DirListing
5288
5318
  |----------------------------------------------------------------------------*/
@@ -6665,8 +6695,8 @@ cell outputs.
6665
6695
  --jp-side-by-side-resized-cell: var(--jp-side-by-side-output-size);
6666
6696
  --jp-private-notebook-dragImage-width: 304px;
6667
6697
  --jp-private-notebook-dragImage-height: 36px;
6668
- --jp-private-notebook-selected-color: var(--md-blue-400);
6669
- --jp-private-notebook-active-color: var(--md-green-400);
6698
+ --jp-private-notebook-selected-color: var(--md-blue-400, #42a5f5);
6699
+ --jp-private-notebook-active-color: var(--md-green-400, #66bb6a);
6670
6700
  }
6671
6701
 
6672
6702
  /*-----------------------------------------------------------------------------