@jupyterlab/nbconvert-css 4.1.0-alpha.4 → 4.1.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 +98 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jupyterlab/nbconvert-css",
3
- "version": "4.1.0-alpha.4",
3
+ "version": "4.1.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.1.0-alpha.4",
35
- "@jupyterlab/apputils": "^4.2.0-alpha.4",
36
- "@jupyterlab/cells": "^4.1.0-alpha.4",
37
- "@jupyterlab/codemirror": "^4.1.0-alpha.4",
38
- "@jupyterlab/notebook": "^4.1.0-alpha.4",
39
- "@jupyterlab/outputarea": "^4.1.0-alpha.4",
40
- "@jupyterlab/rendermime": "^4.1.0-alpha.4"
34
+ "@jupyterlab/application": "^4.1.0-beta.0",
35
+ "@jupyterlab/apputils": "^4.2.0-beta.0",
36
+ "@jupyterlab/cells": "^4.1.0-beta.0",
37
+ "@jupyterlab/codemirror": "^4.1.0-beta.0",
38
+ "@jupyterlab/notebook": "^4.1.0-beta.0",
39
+ "@jupyterlab/outputarea": "^4.1.0-beta.0",
40
+ "@jupyterlab/rendermime": "^4.1.0-beta.0"
41
41
  },
42
42
  "devDependencies": {
43
43
  "css-loader": "^6.7.1",
package/style/index.css CHANGED
@@ -2781,27 +2781,96 @@ button.jp-ToolbarButtonComponent .jp-ToolbarButtonComponent-label {
2781
2781
  box-shadow: none;
2782
2782
  }
2783
2783
 
2784
+ /* @deprecated dead code to be removed in JupyterLab 5
2785
+ Button in toolbar should use the ui-toolkit
2786
+ https://github.com/jupyterlab-contrib/jupyter-ui-toolkit.
2787
+ */
2788
+ button.jp-ToolbarButtonComponent {
2789
+ background: var(--jp-layout-color1);
2790
+ border: none;
2791
+ box-sizing: border-box;
2792
+ outline: none;
2793
+ appearance: none;
2794
+ -webkit-appearance: none;
2795
+ -moz-appearance: none;
2796
+ padding: 0 6px;
2797
+ margin: 0;
2798
+ height: 24px;
2799
+ border-radius: var(--jp-border-radius);
2800
+ display: flex;
2801
+ align-items: center;
2802
+ text-align: center;
2803
+ font-size: var(--jp-ui-font-size0);
2804
+ min-width: unset;
2805
+ min-height: unset;
2806
+ }
2807
+
2808
+ button.jp-ToolbarButtonComponent:disabled {
2809
+ opacity: 0.4;
2810
+ }
2811
+
2812
+ button.jp-ToolbarButtonComponent > span {
2813
+ padding: 0;
2814
+ flex: 0 0 auto;
2815
+ }
2816
+
2784
2817
  /*
2785
2818
  * Copyright (c) Jupyter Development Team.
2786
2819
  * Distributed under the terms of the Modified BSD License.
2787
2820
  */
2788
2821
 
2789
2822
  .jp-WindowedPanel-outer {
2823
+ height: 100%;
2790
2824
  position: relative;
2791
- overflow-y: auto;
2825
+ overflow: auto;
2792
2826
  }
2793
2827
 
2794
2828
  .jp-WindowedPanel-inner {
2795
2829
  position: relative;
2796
2830
  }
2797
2831
 
2798
- .jp-WindowedPanel-window {
2832
+ .jp-WindowedPanel-viewport {
2799
2833
  position: absolute;
2800
2834
  left: 0;
2801
2835
  right: 0;
2802
2836
  overflow: visible;
2803
2837
  }
2804
2838
 
2839
+ .jp-WindowedPanel-scrollbar {
2840
+ display: none;
2841
+ }
2842
+
2843
+ .jp-WindowedPanel.jp-mod-virtual-scrollbar > .jp-WindowedPanel-scrollbar {
2844
+ background-color: inherit;
2845
+ border-left: 1px solid var(--jp-layout-color3);
2846
+ display: block;
2847
+ position: fixed;
2848
+ overflow-y: auto;
2849
+ top: 0;
2850
+ bottom: 0;
2851
+ right: 0;
2852
+ min-width: 35px;
2853
+ z-index: 1;
2854
+ }
2855
+
2856
+ .jp-WindowedPanel-scrollbar-content {
2857
+ background-color: var(--jp-layout-color1);
2858
+ list-style-type: none;
2859
+ margin: 0;
2860
+ padding: 0;
2861
+ }
2862
+
2863
+ .jp-WindowedPanel-scrollbar-content > .jp-WindowedPanel-scrollbar-item {
2864
+ border-bottom: 1px solid var(--jp-layout-color3);
2865
+ padding: 2px;
2866
+ text-align: left;
2867
+ }
2868
+
2869
+ .jp-WindowedPanel-scrollbar-content > .jp-WindowedPanel-scrollbar-item:hover {
2870
+ cursor: pointer;
2871
+ background-color: var(--jp-layout-color2);
2872
+ }
2873
+
2805
2874
  /*-----------------------------------------------------------------------------
2806
2875
  | Copyright (c) Jupyter Development Team.
2807
2876
  | Distributed under the terms of the Modified BSD License.
@@ -5682,6 +5751,12 @@ body.lm-mod-override-cursor .jp-OutputArea-output.jp-mod-isolated::before {
5682
5751
  opacity: 1;
5683
5752
  }
5684
5753
 
5754
+ .jp-OutputArea-stdin-hiding {
5755
+ /* soft-hide the output, preserving focus */
5756
+ opacity: 0;
5757
+ height: 0;
5758
+ }
5759
+
5685
5760
  /*-----------------------------------------------------------------------------
5686
5761
  | Output Area View
5687
5762
  |----------------------------------------------------------------------------*/
@@ -6589,13 +6664,15 @@ cell outputs.
6589
6664
  }
6590
6665
 
6591
6666
  .jp-Notebook {
6592
- padding: var(--jp-notebook-padding);
6593
6667
  outline: none;
6594
- overflow: auto;
6595
6668
  background: var(--jp-layout-color0);
6596
6669
  }
6597
6670
 
6598
- .jp-Notebook.jp-mod-scrollPastEnd::after {
6671
+ .jp-Notebook .jp-WindowedPanel-viewport {
6672
+ padding: var(--jp-notebook-padding);
6673
+ }
6674
+
6675
+ .jp-Notebook.jp-mod-scrollPastEnd > .jp-WindowedPanel-outer::after {
6599
6676
  display: block;
6600
6677
  content: '';
6601
6678
  min-height: var(--jp-notebook-scroll-padding);
@@ -7015,6 +7092,22 @@ div.jp-Cell-Placeholder-content-3 {
7015
7092
  top: 140px;
7016
7093
  }
7017
7094
 
7095
+ /*-----------------------------------------------------------------------------
7096
+ | Virtual scrollbar
7097
+ |----------------------------------------------------------------------------*/
7098
+
7099
+ .jp-Notebook
7100
+ .jp-WindowedPanel-scrollbar-content
7101
+ .jp-mod-active.jp-mod-selected {
7102
+ background: var(--jp-brand-color1);
7103
+ color: var(--jp-ui-inverse-font-color1);
7104
+ }
7105
+
7106
+ .jp-Notebook .jp-WindowedPanel-scrollbar-content .jp-mod-selected {
7107
+ background: var(--jp-brand-color2);
7108
+ color: var(--jp-ui-inverse-font-color2);
7109
+ }
7110
+
7018
7111
  /*-----------------------------------------------------------------------------
7019
7112
  | Printing
7020
7113
  |----------------------------------------------------------------------------*/