style/variables.css
/*-----------------------------------------------------------------------------
| Copyright (c) Jupyter Development Team.
| Distributed under the terms of the Modified BSD License.
|----------------------------------------------------------------------------*/

/*
The following CSS variables define the main, public API for styling JupyterLab.
These variables should be used by all plugins wherever possible. In other
words, plugins should not define custom colors, sizes, etc unless absolutely
necessary. This enables users to change the visual theme of JupyterLab
by changing these variables.

Many variables appear in an ordered sequence (0,1,2,3). These sequences
are designed to work well together, so for example, `--jp-border-color1` should
be used with `--jp-layout-color1`. The numbers have the following meanings:

* 0: super-primary, reserved for special emphasis
* 1: primary, most important under normal situations
* 2: secondary, next most important under normal situations
* 3: tertiary, next most important under normal situations

Throughout JupyterLab, we are mostly following principles from Google's
Material Design when selecting colors. We are not, however, following
all of MD as it is not optimized for dense, information rich UIs.
*/

:root {
  /* Elevation
   *
   * We style box-shadows using Material Design's idea of elevation. These particular numbers are taken from here:
   *
   * https://github.com/material-components/material-components-web
   * https://material-components-web.appspot.com/elevation.html
   */

  --jp-shadow-base-lightness: 0;
  --jp-shadow-umbra-color: rgba(
    var(--jp-shadow-base-lightness),
    var(--jp-shadow-base-lightness),
    var(--jp-shadow-base-lightness),
    0.2
  );
  --jp-shadow-penumbra-color: rgba(
    var(--jp-shadow-base-lightness),
    var(--jp-shadow-base-lightness),
    var(--jp-shadow-base-lightness),
    0.14
  );
  --jp-shadow-ambient-color: rgba(
    var(--jp-shadow-base-lightness),
    var(--jp-shadow-base-lightness),
    var(--jp-shadow-base-lightness),
    0.12
  );
  --jp-elevation-z0: none;
  --jp-elevation-z1: 0px 2px 1px -1px var(--jp-shadow-umbra-color),
    0px 1px 1px 0px var(--jp-shadow-penumbra-color),
    0px 1px 3px 0px var(--jp-shadow-ambient-color);
  --jp-elevation-z2: 0px 3px 1px -2px var(--jp-shadow-umbra-color),
    0px 2px 2px 0px var(--jp-shadow-penumbra-color),
    0px 1px 5px 0px var(--jp-shadow-ambient-color);
  --jp-elevation-z4: 0px 2px 4px -1px var(--jp-shadow-umbra-color),
    0px 4px 5px 0px var(--jp-shadow-penumbra-color),
    0px 1px 10px 0px var(--jp-shadow-ambient-color);
  --jp-elevation-z6: 0px 3px 5px -1px var(--jp-shadow-umbra-color),
    0px 6px 10px 0px var(--jp-shadow-penumbra-color),
    0px 1px 18px 0px var(--jp-shadow-ambient-color);
  --jp-elevation-z8: 0px 5px 5px -3px var(--jp-shadow-umbra-color),
    0px 8px 10px 1px var(--jp-shadow-penumbra-color),
    0px 3px 14px 2px var(--jp-shadow-ambient-color);
  --jp-elevation-z12: 0px 7px 8px -4px var(--jp-shadow-umbra-color),
    0px 12px 17px 2px var(--jp-shadow-penumbra-color),
    0px 5px 22px 4px var(--jp-shadow-ambient-color);
  --jp-elevation-z16: 0px 8px 10px -5px var(--jp-shadow-umbra-color),
    0px 16px 24px 2px var(--jp-shadow-penumbra-color),
    0px 6px 30px 5px var(--jp-shadow-ambient-color);
  --jp-elevation-z20: 0px 10px 13px -6px var(--jp-shadow-umbra-color),
    0px 20px 31px 3px var(--jp-shadow-penumbra-color),
    0px 8px 38px 7px var(--jp-shadow-ambient-color);
  --jp-elevation-z24: 0px 11px 15px -7px var(--jp-shadow-umbra-color),
    0px 24px 38px 3px var(--jp-shadow-penumbra-color),
    0px 9px 46px 8px var(--jp-shadow-ambient-color);

  /* Borders
   *
   * The following variables, specify the visual styling of borders in JupyterLab.
   */

  --jp-border-width: 0px;
  --jp-border-color0: #3d466a;
  --jp-border-color1: #3d466a;
  --jp-border-color2: #3d466a;
  --jp-border-color3: #3d466a;
  --jp-border-radius: 2px;

  /* UI Fonts
   *
   * The UI font CSS variables are used for the typography all of the JupyterLab
   * user interface elements that are not directly user generated content.
   *
   * The font sizing here is done assuming that the body font size of --jp-ui-font-size1
   * is applied to a parent element. When children elements, such as headings, are sized
   * in em all things will be computed relative to that body size.
   */

  --jp-ui-font-scale-factor: 1.1;
  --jp-ui-font-size0: 0.83333em;
  --jp-ui-font-size1: 13px; /* Base font size */
  --jp-ui-font-size2: 1.2em;
  --jp-ui-font-size3: 1.44em;

  --jp-ui-font-family: 'Exo 2', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';

  /*
   * Use these font colors against the corresponding main layout colors.
   * In a light theme, these go from dark to light.
   */

  /* Defaults use Material Design specification */
  --jp-ui-font-color0: rgb(245, 249, 255);
  --jp-ui-font-color1: rgba(220, 230, 255, 0.95);
  --jp-ui-font-color2: rgba(220, 230, 255, 0.80);
  --jp-ui-font-color3: rgba(220, 230, 255, 0.70);

  /*
   * Use these against the brand/accent/warn/error colors.
   * These will typically go from light to darker, in both a dark and light theme.
   */

  --jp-ui-inverse-font-color0: rgba(0, 0, 0, 1);
  --jp-ui-inverse-font-color1: rgba(0, 0, 0, 1);
  --jp-ui-inverse-font-color2: rgba(0, 0, 0, 0.7);
  --jp-ui-inverse-font-color3: rgba(0, 0, 0, 0.5);

  /* Content Fonts
   *
   * Content font variables are used for typography of user generated content.
   *
   * The font sizing here is done assuming that the body font size of --jp-content-font-size1
   * is applied to a parent element. When children elements, such as headings, are sized
   * in em all things will be computed relative to that body size.
   */

  --jp-content-line-height: 1.6;
  --jp-content-font-scale-factor: 1.2;
  --jp-content-font-size0: 0.83333em;
  --jp-content-font-size1: 14px; /* Base font size */
  --jp-content-font-size2: 1.2em;
  --jp-content-font-size3: 1.44em;
  --jp-content-font-size4: 1.728em;
  --jp-content-font-size5: 2.0736em;

  /* This gives a magnification of about 125% in presentation mode over normal. */
  --jp-content-presentation-font-size1: 15px;

  --jp-content-heading-line-height: 1;
  --jp-content-heading-margin-top: 1.2em;
  --jp-content-heading-margin-bottom: 0.8em;
  --jp-content-heading-font-weight: 500;

  /* Defaults use Material Design specification */
  --jp-content-font-color0: rgb(225, 233, 255);
  --jp-content-font-color1: rgba(220, 230, 255, 0.90);
  --jp-content-font-color2: rgba(220, 230, 255, 0.74);
  --jp-content-font-color3: rgba(220, 230, 255, 0.58);

  --jp-content-link-color: var(--md-blue-700);

  /* --jp-content-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI',
    Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
    'Segoe UI Symbol'; */
  --jp-content-font-family: var(--jp-ui-font-family);
  /*
   * Code Fonts
   *
   * Code font variables are used for typography of code and other monospaces content.
   */

  --jp-code-font-size: 12px;
  --jp-code-line-height: 1.3077; /* 17px for 13px base */
  --jp-code-padding: 0.385em; /* 5px for 13px base */
  --jp-code-font-family-default: 'Source Code Pro', 'JetBrains Mono', 'Menlo', 'Consolas', 'DejaVu Sans Mono', monospace;
  --jp-cell-prompt-font-family: var(--jp-code-font-family-default);
  --jp-code-font-family: var(--jp-code-font-family-default);

  /* This gives a magnification of about 125% in presentation mode over normal. */
  --jp-code-presentation-font-size: 16px;

  /* may need to tweak cursor width if you change font size */
  --jp-code-cursor-width0: 1.4px;
  --jp-code-cursor-width1: 2px;
  --jp-code-cursor-width2: 4px;

  /* Layout
   *
   * The following are the main layout colors use in JupyterLab. In a light
   * theme these would go from light to dark.
   */

  --jp-layout-color0: #2f3a50;
  --jp-layout-color1: #2B2E41;
  --jp-layout-color2: #232636;
  --jp-layout-color3: #181c2c;
  --jp-layout-color4: #181c2c;

  /* Inverse Layout
   *
   * The following are the inverse layout colors use in JupyterLab. In a light
   * theme these would go from dark to light.
   */

  --jp-inverse-layout-color0:rgb(54, 61, 92);
  --jp-inverse-layout-color1: rgb(80, 88, 124);
  --jp-inverse-layout-color2: rgb(88, 97, 136);
  --jp-inverse-layout-color3: rgb(101, 110, 151);
  --jp-inverse-layout-color4: rgb(124, 135, 185);

  /* Brand/accent */

  --jp-brand-color1: rgba(53, 114, 238, .85);
  --jp-brand-color1: var(--md-blue-500);
  --jp-brand-color2: var(--md-blue-300);
  --jp-brand-color3: var(--md-blue-100);

  --jp-accent-color0: var(--md-green-700);
  --jp-accent-color1: var(--md-green-500);
  --jp-accent-color2: var(--md-green-300);
  --jp-accent-color3: var(--md-green-100);

  /* State colors (warn, error, success, info) */

  --jp-warn-color0: var(--md-orange-700);
  --jp-warn-color1: var(--md-orange-500);
  --jp-warn-color2: var(--md-orange-300);
  --jp-warn-color3: var(--md-orange-100);

  --jp-error-color0: var(--md-red-700);
  --jp-error-color1: var(--md-red-500);
  --jp-error-color2: var(--md-red-300);
  --jp-error-color3: var(--md-red-100);

  --jp-success-color0: var(--md-green-700);
  --jp-success-color1: var(--md-green-500);
  --jp-success-color2: var(--md-green-300);
  --jp-success-color3: var(--md-green-100);

  --jp-info-color0: var(--md-cyan-700);
  --jp-info-color1: var(--md-cyan-500);
  --jp-info-color2: var(--md-cyan-300);
  --jp-info-color3: var(--md-cyan-100);

  /* Cell specific styles */

  --jp-cell-padding: 5px;

  --jp-cell-collapser-width: 9px;
  --jp-cell-collapser-min-height: 20px;
  --jp-cell-collapser-not-active-hover-opacity: 0.75;

  --jp-cell-editor-background:  #22263b;
  --jp-cell-editor-border-color: var(--jp-cell-editor-background);
  --jp-cell-editor-box-shadow: inset 0 0 0px transparrent; /*var(--jp-layout-color3);*/
  --jp-cell-editor-active-background: var(--jp-cell-editor-background);
  --jp-cell-editor-active-border-color: var(--jp-brand-color1);

  --jp-cell-prompt-width: 60px;
  --jp-cell-prompt-font-family: 'Source Code Pro', monospace;
  --jp-cell-prompt-letter-spacing: 0px;
  --jp-cell-prompt-opacity: 1;
  --jp-cell-prompt-not-active-opacity: 0.5;
  --jp-cell-prompt-not-active-font-color: #666e97;
  /* A custom blend of MD grey and blue 600
   * See https://meyerweb.com/eric/tools/color-blend/#546E7A:1E88E5:5:hex */
  --jp-cell-inprompt-font-color: #307fc1;
  /* A custom blend of MD grey and orange 600
   * https://meyerweb.com/eric/tools/color-blend/#546E7A:F4511E:5:hex */
  --jp-cell-outprompt-font-color: #bf5b3d;

  /* Notebook specific styles */

  --jp-notebook-padding: 1ex 4ex 1ex 4ex;
  --jp-notebook-select-background: var(--jp-layout-color1);
  --jp-notebook-multiselected-color: rgba(80, 92, 133,.45);

  /* The scroll padding is calculated to fill enough space at the bottom of the
  notebook to show one single-line cell (with appropriate padding) at the top
  when the notebook is scrolled all the way to the bottom. We also subtract one
  pixel so that no scrollbar appears if we have just one single-line cell in the
  notebook. This padding is to enable a 'scroll past end' feature in a notebook.
  */
  --jp-notebook-scroll-padding: calc(
    100% - var(--jp-code-font-size) * var(--jp-code-line-height) -
      var(--jp-code-padding) - var(--jp-cell-padding) - 1px
  );

  /* Rendermime styles */

  --jp-rendermime-error-background: var(--jp-layout-color0);
  --jp-rendermime-table-row-background: var(--jp-border-color2);
  --jp-rendermime-table-row-hover-background: #018af34b;
  --jp-table-odd-rows: #2d3c5a;
  --jp-table-even-rows: #16233e;
  --jp-table-header-background: #181d33;

  /* Dialog specific styles */

  --jp-dialog-background: var(--jp-layout-color2);

  /* Console specific styles */

  --jp-console-padding: 10px;

  /* Toolbar specific styles */

  --jp-toolbar-border-color: var(--jp-border-color3);
  --jp-toolbar-micro-height: 8px;
  --jp-toolbar-background: var(--jp-layout-color3);
  --jp-toolbar-box-shadow: 0px 0px 2px 0px rgba(16, 28, 53, 0.24);
  --jp-toolbar-header-margin: 4px 4px 0px 4px;
  --jp-toolbar-active-background: var(--jp-layout-color2);

  /* Statusbar specific styles */

  --jp-statusbar-height: 26px;

  /* Input field styles */

  --jp-input-box-shadow: inset 0 0 2px var(--md-blue-300);
  --jp-input-active-background: var(--jp-cell-editor-background);
  --jp-input-hover-background: var(---jp-cell-editor-background);
  --jp-input-background: var(--jp-layout-color2);
  --jp-input-border-color: var(--jp-border-color2);
  --jp-input-active-border-color: var(--jp-brand-color1);

  /* General editor styles */

  --jp-editor-selected-background: rgba(50, 55, 83, 0.65);
  --jp-editor-selected-focused-background: rgba(62, 68, 102, 0.85);
  --jp-editor-cursor-color: #f65d22;

  /* Code mirror specific styles */

  --jp-mirror-editor-keyword-color: #db92fe;
  --jp-mirror-editor-keyword-weight: normal;
  --jp-mirror-editor-atom-color: #db92fe;
  --jp-mirror-editor-number-color: #ff956a;
  --jp-mirror-editor-def-color: #389fdf;
  --jp-mirror-editor-def-weight: bold;
  --jp-mirror-editor-variable-color: #CDD2E9;
  --jp-mirror-editor-variable-2-color: #CDD2E9;
  --jp-mirror-editor-variable-3-color: #db92fe;
  --jp-mirror-editor-punctuation-color: #54b7f4;
  --jp-mirror-editor-property-color: #ef6b8c; /*#ff7979;*/
  --jp-mirror-editor-operator-color: #54b7f4;
  --jp-mirror-editor-comment-color: #5579c1;
  --jp-mirror-editor-string-color: #98cc64;
  --jp-mirror-editor-string-2-color: #98cc64;
  --jp-mirror-editor-meta-color: #54b7f4;
  --jp-mirror-editor-qualifier-color: #db92fe;
  --jp-mirror-editor-builtin-color: #ef6b8c;
  --jp-mirror-editor-bracket-color: #CDD2E9;
  --jp-mirror-editor-tag-color: #28beaa;
  --jp-mirror-editor-attribute-color: #ef6b8c;
  --jp-mirror-editor-header-color: #54b7f4;
  --jp-mirror-editor-quote-color: #28beaa;
  --jp-mirror-editor-link-color: #54b7f4;
  --jp-mirror-editor-error-color: #ef6b8c;
  --jp-mirror-editor-hr-color: #5579c1;
  /* Vega extension styles */

  --jp-vega-background: #24283c;
  --jp-dialog-background: rgba(25, 55, 93, 0.4);

  /* Sidebar-related styles */

  --jp-sidebar-min-width: 180px;

  /* NON-STANDARD THEME VARS */
  --jp-editor-cursor: medium solid #ec4d0b;
  --jp-cell-inprompt-background: var(--jp-cell-editor-background);
  --jp-md-cell-inprompt-background: #2f3a50;
  --jp-md-cell-background: var(--jp-md-cell-inprompt-background);
  --jp-cell-inprompt-font-color: #4171d1;
  --jp-cell-editor-active-background: var(--jp-cell-editor-background);
  --jp-cell-editor-border-color:  #22263b;
  --jp-cell-editor-border-color-inactive: #22263b;
  --jp-input-collapser-color: var(--jp-cell-editor-background);
  --jp-output-collapser-color: var(--jp-layout-color0);
  --jp-md-collapser-color: var(--jp-md-cell-inprompt-background);
  --jp-cell-active-input-collapser: #297bee;
  --jp-cell-active-input-collapser-edit: #2d60a8;
  --jp-cell-active-input-collapser-active-hover: #49a7ff;
  --jp-cell-collapser-hover: #2061c9;
  --jp-cell-active-output-collapser: #f1428b;
  --jp-cell-inactive-output-collapser: #af5384;
  --jp-cell-active-output-collapser-hover: #ff5db5;
  --jp-cell-active-output-collapser-edit: #af5384;
  --jp-md-cell-active-input-collapser:#7fa723;
  --jp-md-cell-active-input-collapser-edit: #6a9736;
  --jp-md-cell-active-input-collapser-edit-hover: #7ac921;
  --jp-md-cell-active-input-collapser-hover: #7ac921;
  --jp-matching-bracket-bg: #3b79e1;
  --jp-nonmatching-bracket-bg: #bb306a;
  --jp-matching-bracket-color: #ffffff;

  /* Search-related styles */
  --jp-search-toggle-off-opacity: 0.6;
  --jp-search-toggle-hover-opacity: 0.8;
  --jp-search-toggle-on-opacity: 1;
  --jp-search-selected-match-background-color: rgb(255, 225, 0);
  --jp-search-selected-match-color: black;
  --jp-search-unselected-match-background-color:  #98cc64;
  --jp-search-unselected-match-color: black;
  /* --jp-search-selected-match-background-color: rgb(255, 225, 0); */
  /* --jp-search-unselected-match-background-color: rgb(255, 123, 0); */
  /* --jp-search-unselected-match-color: var(--jp-ui-inverse-font-color0); */
}



/* ########################################################*/
/*                     JUPYTER LAB MAIN                    */
/* ########################################################*/

#jp-top-panel {
    border-bottom: var(--jp-border-width) solid var(--jp-border-color0);
    background: var(--jp-layout-color3);
    display: flex;
    min-height: var(--jp-private-menubar-height);
}
.p-MenuBar {
    padding-left: 5px;
    background: var(--jp-layout-color3);
    color: var(--jp-ui-font-color1);
    font-size: var(--jp-ui-font-size1);
}
.p-MenuBar-item:hover {
    padding: 0px 8px;
    border-left: var(--jp-border-width) solid transparent;
    border-right: var(--jp-border-width) solid transparent;
    line-height: var(--jp-private-menubar-height);
	background: var(--jp-layout-color0);
    color: var(--jp-ui-font-color0) !important;
}
.jp-Toolbar {
    color: var(--jp-ui-font-color1);
    flex: 0 0 auto;
    display: flex;
    flex-direction: row;
    border-bottom: var(--jp-border-width) solid var(--jp-toolbar-border-color);
    box-shadow: none;
    background: transparent !important;
    z-index: 1;
}
.p-TabBar-tab.p-mod-current,
.p-TabBar-tab.p-mod-current:hover {
    color: var(--jp-ui-font-color0) !important;
    background: var(--jp-layout-color0) !important;
}
.p-DockPanel-tabBar .p-TabBar-tab {
    flex: 0 1 var(--jp-private-horizontal-tab-width);
    min-height: calc( var(--jp-private-horizontal-tab-height) + var(--jp-border-width) );
    min-width: 36px;
    line-height: var(--jp-private-horizontal-tab-height);
    padding: 2px 8px;
    background: var(--jp-layout-color1);
    border: var(--jp-border-width) solid var(--jp-layout-color1);
    border-bottom: none;
    position: relative;
    overflow: visible;
}
.p-DockPanel-tabBar .p-TabBar-tab:hover:not(.p-mod-current) {
    background: var(--jp-layout-color3) !important;
}
.p-DockPanel-tabBar .p-TabBar-tab:hover,
.p-DockPanel-tabBar .p-TabBar-tab:hover:not(.p-mod-current) {
    background: var(--jp-layout-color0);
}
button.jp-mod-styled {
    font-size: var(--jp-ui-font-size1);
    color: var(--jp-ui-font-color1);
    border: none;
    box-sizing: border-box;
    text-align: center;
    line-height: 32px;
    height: 32px;
    padding: 0px 0px;
    letter-spacing: 0.8px;
    outline: none;
    appearance: none;
    display: grid;
    width: unset;
    background-color: transparent;
    -webkit-appearance: none;
    -moz-appearance: none;
    overflow: clip;
}


button.jp-Button.bp3-button.bp3-minimal:hover {
    background: var(--jp-layout-color2);
    background-color: var(--jp-layout-color2);
    color: var(--jp-ui-font-color0);
}


.jp-icon3[fill] {
    fill: var(--jp-inverse-layout-color3);
}

/* ########################################################*/
/*                   COMMAND PALETTE                       */
/* ########################################################*/

.p-CommandPalette {
    color: var(--jp-ui-font-color1);
    font-size: var(--jp-ui-font-size1);
    background: var(--jp-layout-color2);
}
.p-CommandPalette-item:hover:not(.p-mod-active):not(.p-mod-disabled) {
    background: var(--jp-layout-color1);
}



/* ########################################################*/
/*                         SIDEBAR                         */
/* ########################################################*/

.jp-SideBar.p-TabBar {
    color: var(--jp-ui-font-color1);
    background: var(--jp-layout-color3);
    font-size: var(--jp-ui-font-size1);
    min-width: calc(var(--jp-private-sidebar-tab-width) + var(--jp-border-width));
    max-width: calc(var(--jp-private-sidebar-tab-width) + var(--jp-border-width));
    overflow: visible;
    display: block;
}
.jp-SideBar .p-TabBar-tab.p-mod-current {
    color: var(--jp-ui-font-color0) !important;
	background: var(--jp-layout-color0) !important;
}
.jp-SideBar.p-TabBar.jp-mod-left {
    border-right: var(--jp-border-width) solid var(--jp-layout-color2);
}
.jp-SideBar .p-TabBar-tab:hover:not(.p-mod-current) {
    color: var(--jp-ui-font-color0) !important;
    background: var(--jp-layout-color0) !important;
	background-color: var(--jp-layout-color0) !important;
}
.jp-SideBar .p-TabBar-tab:not(.p-mod-current) {
    background: var(--jp-layout-color3);
    color: var(--jp-ui-font-color1) !important;
}
.jp-FileBrowser {
    display: flex;
    flex-direction: column;
    color: var(--jp-ui-font-color1);
    background: var(--jp-layout-color0) !important;
    font-size: var(--jp-ui-font-size1);
}
.jp-DirListing-content {
    background: var(--jp-layout-color0);
}
.jp-RunningSessions {
    min-width: var(--jp-sidebar-min-width);
    color: var(--jp-ui-font-color1);
    background: var(--jp-layout-color0);
    font-size: var(--jp-ui-font-size1);
}
.jp-TableOfContents {
    display: flex;
    flex-direction: column;
    background: var(--jp-layout-color0);
    color: var(--jp-ui-font-color1);
    font-size: var(--jp-ui-font-size1);
    height: 100%;
}
.jp-TableOfContents-content {
    background-color: var(--jp-layout-color0);
}
.jp-extensionmanager-view {
    padding-bottom: 0px;
    color: var(--jp-ui-font-color1);
    background: var(--jp-layout-color0);
    display: flex;
    flex-direction: column;
    font-size: var(--jp-ui-font-size1);
}
.jp-NotebookTools {
    display: block;
    min-width: var(--jp-sidebar-min-width);
    color: var(--jp-ui-font-color1);
    background: var(--jp-layout-color0);
    font-size: var(--jp-ui-font-size1);
    overflow: auto;
}
.jp-NotebookTools-content {
    background: var(--jp-layout-color0);
}

/* ########################################################*/
/*                         LAUNCHER                        */
/* ########################################################*/

.jp-LauncherCard {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    width: 30ex !important;
    height: var(--jp-private-launcher-card-size);
    margin: 5px;
    padding: 0px;
    border: 1px solid var(--jp-layout-color2);
    background: var(--jp-layout-color2);
    box-shadow: none;
    transition: 0.2s;
    border-radius: var(--jp-border-radius);
}
.jp-LauncherCard:hover {
    box-shadow: none;
    color: var(--jp-ui-font-color0);
    background: var(--jp-layout-color1);
    border: 1px solid var(--jp-layout-color1);
    border-radius: var(--jp-border-radius);
}



/*######################################################*/
/*                   HIDE TOOLBAR                       */
/*######################################################*/

.jp-Toolbar > .jp-Toolbar-item {
    flex: 0 0 auto;
    display: flex;
    padding-left: 1px;
    padding-right: 1px;
    font-size: var(--jp-ui-font-size1);
    line-height: var(--jp-private-toolbar-height);
    color: var(--jp-ui-font-color0);
    height: 100%;
    visibility: visible;
}


.jp-OfflineNotebookToolbarIcon {
    color: var(--jp-ui-font-color1);
}





/*######################################################*/
/*     ADD EXCEPTION FOR KERNEL STATUS &  ICONS         */
/*######################################################*/

div.lm-Widget.p-Widget.jp-Toolbar.jp-scrollbar-tiny.jp-NotebookPanel-toolbar > div.lm-Widget.p-Widget.jp-KernelName.jp-Toolbar-item {
	visibility: visible !important;
}
.jp-Toolbar-item.jp-Toolbar-kernelStatus {
    display: inline-block;
    width: 32px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px;
    visibility: visible !important;
    padding-top: 4px;
}
.jp-Notebook {
    padding: var(--jp-notebook-padding);
    outline: none;
    background: transparent;
}



/* ########################################################*/
/*                       CODE MIRROR                       */
/* ########################################################*/

.jp-Notebook div.CodeMirror .CodeMirror pre {
    font-family: var(--jp-code-font-family-default);
    font-variant-ligatures: normal;
    line-height: 170% !important;
	font-weight: 500;
}
.jp-Notebook div.CodeMirror, div.CodeMirror pre {
 	font-family: var(--jp-code-font-family-default);
	line-height: 170%;
	font-weight: 500;
    color: var(--jp-mirror-editor-variable-color) !important;
}
.jp-Notebook .CodeMirror pre {
  font-family: var(--jp-code-font-family-default) !important;
  font-variant-ligatures: normal !important;
  line-height: 170% !important;
  font-weight: 500;
  color: var(--jp-mirror-editor-variable-color) !important;
}
.jp-Cell-inputArea {
    flex: 1 1 auto;
    background: var(--jp-cell-editor-background);
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}
.jp-Notebook .jp-InputArea-editor {
    border: 2px solid var(--jp-cell-editor-background);
    border-radius: 0px;
    background: var(--jp-cell-editor-background);
    background-color: var(--jp-cell-editor-background);
    border-color: var(--jp-cell-editor-background);
    opacity: 1;
}
.jp-Notebook .jp-InputArea-editor {
    border: 2px solid var(--jp-cell-editor-border-color-inactive);
    border-radius: 0px;
    background: var(--jp-cell-editor-background);
    opacity: 1;
}
.jp-Notebook .jp-Cell:not(.jp-mod-active) .jp-InputArea-editor {
    border: 2px solid var(--jp-cell-editor-border-color-inactive);
    border-radius: 0px;
    background: var(--jp-cell-editor-background);
    opacity: 1;
}
.jp-Notebook.jp-mod-editMode .jp-Cell.jp-mod-active .jp-InputArea-editor {
    border: 2px solid var(--jp-cell-editor-border-color);
    box-shadow: none;
    background-color: var(--jp-cell-editor-active-background);
}
.jp-Notebook.jp-mod-commandMode .jp-Cell.jp-mod-selected {
	background: transparent !important;
}
.jp-Notebook .jp-Cell:not(.jp-mod-active) .CodeMirror-matchingbracket {
	color: var(--jp-mirror-editor-variable-color);
    font-weight: 500;
    background-color: transparent !important;
}
.jp-Notebook .jp-Cell:not(.jp-mod-active) .CodeMirror-nonmatchingbracket {
	color: var(--jp-mirror-editor-variable-color);
    font-weight: 500;
    background-color: transparent !important;
}
.jp-Notebook .jp-Cell.jp-mod-active.jp-mod-selected  .CodeMirror-matchingbracket {
	color: var(--jp-matching-bracket-color) !important;
    font-weight: bold;
	background-color: var(--jp-matching-bracket-bg);
}
.jp-Notebook .jp-Cell.jp-mod-active.jp-mod-selected  .CodeMirror-nonmatchingbracket {
	color: var(--jp-matching-bracket-color) !important;
    font-weight: bold;
	background-color: var(--jp-nonmatching-bracket-bg);
}
.CodeMirror-cursor {
    border-left: 2px solid #0095ff !important;
}
.cm-s-jupyter span.cm-keyword {
    color: var(--jp-mirror-editor-keyword-color);
    font-weight: 500;
}
.cm-s-jupyter span.cm-def {
    color: var(--jp-mirror-editor-def-color);
    font-weight: bold;
    font-style: italic;
}
.jp-Cell-inputArea, .jp-Cell-outputArea {
    flex: 1 1 auto;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}
.jp-MarkdownOutput.jp-RenderedHTMLCommon {
    overflow: visible;
    background: var(--jp-md-cell-background);
}


/* ########################################################*/
/*                         TOOLTIP                         */
/* ########################################################*/

.jp-Tooltip {
    background: var(--jp-layout-color1);
    border: var(--jp-border-width) solid var(--jp-border-color1);
    font-size: var(--jp-ui-font-size0);
    box-shadow: var(--jp-elevation-z6);
    max-width: 950px;
    max-height: 350px;
    z-index: 10001;
    padding: 4px;
    display: flex;
}

/* ########################################################*/
/*                   DATAFRAMES/TABLES                     */
/* ########################################################*/

.jp-RenderedHTMLCommon tbody tr:nth-child(odd) {
    background: var(--jp-table-odd-rows);
}
.jp-RenderedHTMLCommon tbody tr:nth-child(even) {
    background: var(--jp-table-even-rows);
}
.jp-RenderedHTMLCommon tbody tr:hover {
    background: var(--jp-rendermime-table-row-hover-background) !important;
}
.jp-RenderedHTMLCommon thead {
    border-bottom: 3px solid var(--jp-table-header-background);
    vertical-align: bottom;
    background: var(--jp-table-header-background);
}

/*
[data-jp-theme-light='false'] .jp-RenderedImage img.jp-needs-light-background {
    background-color: var(--jp-inverse-layout-color1);
} */

/* ########################################################*/
/*                      INPUT PROMPT                       */
/* ########################################################*/

.jp-Notebook .jp-MarkdownCell .jp-InputPrompt {
    background: var(--jp-md-cell-inprompt-background) !important;
    color: var(--jp-cell-inprompt-font-color);
    font-family: var(--jp-cell-prompt-font-family);
    opacity: 1;
    cursor: move;
    font-weight: normal;
}
.jp-Notebook .jp-Cell:not(.jp-mod-active) .jp-InputPrompt {
    opacity: 1;
    background: var(--jp-cell-inprompt-background);
    font-weight: normal;
    color: var(--jp-cell-prompt-not-active-font-color) !important;
}
.jp-Notebook .jp-Cell .jp-InputPrompt {
    visibility: visible;
    width: 30px;
    min-width: 30px;
    flex: 0 0 55px;
    background: var(--jp-cell-inprompt-background);
    color: var(--jp-cell-inprompt-font-color);
    font-family: var(--jp-ui-font-family) !important;
	padding-top: 4px;
	padding-right: 0;
    border: var(--jp-border-width) solid transparent;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 1;
    cursor: move;
    line-height: 170% !important;
    font-weight: 500;
	font-size: 12px !important;
}



/* ########################################################*/
/*                 CODE CELL INPUT COLLAPSER               */
/* ########################################################*/

.jp-Notebook.jp-mod-commandMode .jp-Cell.jp-mod-selected .jp-Collapser {
  background: var(--jp-cell-active-input-collapser);
}
.jp-Notebook .jp-Cell .jp-Collapser {
    background: var(--jp-input-collapser-color);
    border-bottom-right-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-left-radius: 6px;
    border-top-left-radius: 6px;
}
.jp-Notebook .jp-Cell.jp-mod-active .jp-Collapser {
    background: var(--jp-cell-active-input-collapser);
}
.jp-Notebook.jp-mod-editMode .jp-Cell.jp-mod-active .jp-Collapser {
    background: var(--jp-cell-active-input-collapser-edit);
}
.jp-Notebook .jp-Cell.jp-mod-active .jp-Collapser:hover {
    background: var(--jp-cell-active-input-collapser-active-hover) !important;
}
.jp-Notebook .jp-Cell:not(.jp-mod-active) .jp-Collapser:hover{
    background: var(--jp-cell-active-input-collapser-edit);
}
.jp-Notebook.jp-mod-editMode .jp-Cell.jp-mod-active .jp-Collapser:hover {
    background: var(--jp-cell-collapser-hover);
}
.jp-Notebook.jp-mod-commandMode .jp-Cell.jp-mod-selected .jp-Collapser {
  background: var(--jp-cell-active-input-collapser);
}
.jp-Notebook .jp-Cell .jp-Collapser:hover {
    box-shadow: none;
    background: var(--jp-brand-color1);
    opacity: var(--jp-cell-collapser-not-active-hover-opacity);
}



/* ########################################################*/
/*                      OUTPUT PROMPT                       */
/* ########################################################*/
.jp-Notebook .jp-Cell:not(.jp-mod-active) .jp-OutputPrompt {
    opacity: var(--jp-cell-prompt-not-active-opacity);
    color: var(--jp-cell-prompt-not-active-font-color);
}
.jp-OutputPrompt {
    flex: 0 0 var(--jp-cell-prompt-width);
	color: var(--jp-cell-active-output-collapser);
    font-family: var(--jp-cell-prompt-font-family);
    padding: var(--jp-code-padding);
    letter-spacing: var(--jp-cell-prompt-letter-spacing);
    line-height: var(--jp-code-line-height);
    font-size: var(--jp-code-font-size);
    border: var(--jp-border-width) solid transparent;
    opacity: var(--jp-cell-prompt-opacity);
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    font-weight: 500;
    text-overflow: ellipsis;
}


/* ########################################################*/
/*                CODE CELL OUTPUT COLLAPSER               */
/* ########################################################*/

.jp-Notebook .jp-Cell .jp-outputCollapser {
    background: var(--jp-layout-color1) !important;
    opacity: var(--jp-cell-prompt-opacity);
}
.jp-Cell.jp-mod-active:not(.jp-mod-noOutputs) .jp-Cell-outputCollapser {
    min-height: var(--jp-cell-collapser-min-height);
    background: var(--jp-cell-active-output-collapser) !important;
}
.jp-Notebook.jp-mod-editMode .jp-Cell.jp-mod-active:not(.jp-mod-noOutputs) .jp-Cell-outputCollapser {
    min-height: var(--jp-cell-collapser-min-height);
    background: var(--jp-cell-active-output-collapser-edit) !important;
    opacity: 1.0;
}
.jp-Cell.jp-mod-active:not(.jp-mod-noOutputs) .jp-Cell-outputCollapser:hover {
    min-height: var(--jp-cell-collapser-min-height);
    background: var(--jp-cell-active-output-collapser-hover) !important;
}
.jp-Cell:not(.jp-mod-noOutputs) .jp-Cell-outputCollapser {
    min-height: var(--jp-cell-collapser-min-height);
    background: var(--jp-output-collapser-color);
}
.jp-Cell:not(.jp-mod-noOutputs) .jp-Cell-outputCollapser:hover {
    box-shadow: none;
    background: var(--jp-cell-inactive-output-collapser);
    opacity: var(--jp-cell-collapser-not-active-hover-opacity);
}
.jp-Notebook .jp-Cell:not(.jp-mod-active) .jp-OutputCollapser:hover {
    background: var(--jp-cell-inactive-output-collapser);
}
.jp-RenderedText[data-mime-type='application/vnd.jupyter.stderr'] {
    background: var(--jp-rendermime-error-background);
    padding-top: var(--jp-code-padding);
}
.jp-CodeCell.jp-mod-outputsScrolled .jp-Cell-outputArea {
    overflow-y: auto;
    max-height: 200px;
    box-shadow: none !important;
    margin-left: var(--jp-private-cell-scrolling-output-offset);
}



/* ########################################################*/
/*                MARKDOWN CELL COLLAPSER                  */
/* ########################################################*/
.jp-Notebook .jp-Cell.jp-MarkdownCell .jp-Collapser {
    background: var(--jp-md-collapser-color);
    border-bottom-right-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-left-radius: 6px;
    border-top-left-radius: 6px;
}
.jp-Notebook .jp-Cell.jp-MarkdownCell.jp-mod-active .jp-Collapser {
    background: var(--jp-md-cell-active-input-collapser);
}
.jp-Notebook.jp-mod-commandMode .jp-MarkdownCell.jp-mod-selected .jp-Collapser {
    background: var(--jp-md-cell-active-input-collapser) !important;
}
.jp-Notebook.jp-mod-editMode .jp-MarkdownCell.jp-mod-active .jp-Collapser {
    background: var(--jp-md-cell-active-input-collapser-edit) !important;
}
.jp-Notebook.jp-mod-editMode .jp-MarkdownCell.jp-mod-active .jp-Collapser:hover {
    background: var(--jp-md-cell-active-input-collapser-edit-hover) !important;
}
.jp-Notebook .jp-MarkdownCell:not(.jp-mod-active) .jp-Collapser:hover {
    background: var(--jp-md-cell-active-input-collapser-edit) !important;
}
.jp-Notebook.jp-mod-editMode .jp-MarkdownCell.jp-mod-active .jp-Collapser {
    background: var(--jp-md-cell-active-input-collapser-edit);
}
.jp-Notebook .jp-MarkdownCell.jp-mod-active .jp-Collapser:hover {
    background: var(--jp-md-cell-active-input-collapser-hover) !important;
}


/* ########################################################*/
/*                    BACKGROUND IMGS                      */
/* ########################################################*/
/* Notebook */
/* body[data-jp-theme-name="Legos Light"] .jp-Notebook {
  background-image: url('./img/bg_white_faded.tiff');
  background-repeat: no-repeat;
  background-attachment: fixed;
  /* background-position: center;
}*/

/* DirListing */
/* body[data-jp-theme-name="Legos Light"] .jp-DirListing-item.jp-mod-running .jp-DirListing-itemIcon:before {
  background-image: url('./img/bg_img.png');
} */



/* ########################################################*/
/*                  FONT ALIASING/SMOOTHING                */
/* ########################################################*/

HTML, body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, form, fieldset, legend, button, blockquote, th, td {
    text-rendering: auto !important;
    -webkit-font-smoothing: subpixel-antialiased !important;
	font-family: var(--jp-ui-font-family) !important;
	font-weight: 400;
}
pre, code {
    text-rendering: auto !important;
    -webkit-font-smoothing: subpixel-antialiased !important;
	font-family: var(--jp-code-font-family) !important;
}