perspective-viewer 4.4.0

A data visualization and analytics component, especially well-suited for large and/or streaming datasets.
Documentation
/* ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
 * ┃ ██████ ██████ ██████       █      █      █      █      █ █▄  ▀███ █       ┃
 * ┃ ▄▄▄▄▄█ █▄▄▄▄▄ ▄▄▄▄▄█  ▀▀▀▀▀█▀▀▀▀▀ █ ▀▀▀▀▀█ ████████▌▐███ ███▄  ▀█ █ ▀▀▀▀▀ ┃
 * ┃ █▀▀▀▀▀ █▀▀▀▀▀ █▀██▀▀ ▄▄▄▄▄ █ ▄▄▄▄▄█ ▄▄▄▄▄█ ████████▌▐███ █████▄   █ ▄▄▄▄▄ ┃
 * ┃ █      ██████ █  ▀█▄       █ ██████      █      ███▌▐███ ███████▄ █       ┃
 * ┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫
 * ┃ Copyright (c) 2017, the Perspective Authors.                              ┃
 * ┃ ╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ┃
 * ┃ This file is part of the Perspective library, distributed under the terms ┃
 * ┃ of the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ┃
 * ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ */

@import "./icons.css";
@import "./intl.css";

perspective-viewer,
perspective-workspace,
perspective-copy-menu,
perspective-export-menu,
perspective-dropdown,
perspective-date-column-style,
perspective-datetime-column-style,
perspective-number-column-style,
perspective-string-column-style {
    /* Colors */
    --psp-placeholder--background: #8b868045;

    /* Dimensions */
    --psp-button--font-size: 16px;
    --psp-config-button--padding: 15px 8px 6px 8px;
    --psp-column-selector--font-size: 16px;
    --psp-column-type--width: 25px;
    --psp-select--padding: 0px;
    --psp-top-panel-row--display: inline-flex;
    --psp-button--min-width: 33px;

    /* Fonts */
    font-family:
        "ui-monospace", "SFMono-Regular", "SF Mono", "Menlo", "Consolas",
        "Liberation Mono", monospace;
    --psp-interface-monospace--font-family:
        "ui-monospace", "SFMono-Regular", "SF Mono", "Menlo", "Consolas",
        "Liberation Mono", monospace;

    /* Colors (select arrow defaults) */
    --psp-icon--select-arrow--mask-image: var(
        --psp-icon--select-arrow-dark--mask-image
    );
    --psp-icon--select-arrow-hover--mask-image: var(
        --psp-icon--select-arrow-light--mask-image
    );

    /* D3FC */
    --psp-label--d3fc-y1--content: "arrow_upward";
    --psp-label--d3fc-y2--content: "arrow_downward";
    --psp-d3fc--treemap-axis--lines: none;
    --psp-d3fc--tooltip--background-color: rgba(155, 155, 155, 0.8);
    --psp-d3fc--tooltip--color: #161616;
    --psp-d3fc--tooltip--border-color: #fff;
    --psp-d3fc--tooltip--box-shadow: 0 2px 4px 0 rgb(0 0 0 / 10%);
    --psp-d3fc--gridline--color: #eaedef;
    --psp-d3fc--axis-ticks--color: #161616;
    --psp-d3fc--axis-lines--color: #c5c9d0;
    --psp-d3fc--legend--background: var(--psp--background-color);
    --psp-d3fc--series--color: rgba(31, 119, 180, 0.8);
    --psp-d3fc--series-1--color: #0366d6;
    --psp-d3fc--series-2--color: #ff7f0e;
    --psp-d3fc--series-3--color: #2ca02c;
    --psp-d3fc--series-4--color: #d62728;
    --psp-d3fc--series-5--color: #9467bd;
    --psp-d3fc--series-6--color: #8c564b;
    --psp-d3fc--series-7--color: #e377c2;
    --psp-d3fc--series-8--color: #7f7f7f;
    --psp-d3fc--series-9--color: #bcbd22;
    --psp-d3fc--series-10--color: #17becf;
    --psp-d3fc--full-gradient--background: linear-gradient(
        #4d342f 0%,
        #e4521b 22.5%,
        #feeb65 42.5%,
        #f0f0f0 50%,
        #dcedc8 57.5%,
        #42b3d5 67.5%,
        #1a237e 100%
    );
    --psp-d3fc--pos-gradient--background: linear-gradient(
        #f0f0f0 0%,
        #dcedc8 10%,
        #42b3d5 50%,
        #1a237e 100%
    );
    --psp-d3fc--neg-gradient--background: linear-gradient(
        #4d342f 0%,
        #e4521b 50%,
        #feeb65 90%,
        #f0f0f0 100%
    );

    /* Datagrid */
    --psp-datagrid--pos-cell--color: #338dcd;
    --psp-datagrid--neg-cell--color: #ff471e;

    /* OpenLayers */
    --psp-openlayers--tile-url: "http://{a-c}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}.png";
    --psp-openlayers--element--background: #fff;
    --psp-openlayers--category-1--color: #0366d6;
    --psp-openlayers--category-2--color: #ff7f0e;
    --psp-openlayers--category-3--color: #2ca02c;
    --psp-openlayers--category-4--color: #d62728;
    --psp-openlayers--category-5--color: #9467bd;
    --psp-openlayers--category-6--color: #8c564b;
    --psp-openlayers--category-7--color: #e377c2;
    --psp-openlayers--category-8--color: #7f7f7f;
    --psp-openlayers--category-9--color: #bcbd22;
    --psp-openlayers--category-10--color: #17becf;
    --psp-openlayers--gradient--background: linear-gradient(
        #4d342f 0%,
        #e4521b 22.5%,
        #feeb65 42.5%,
        #f0f0f0 50%,
        #dcedc8 57.5%,
        #42b3d5 67.5%,
        #1a237e 100%
    );
}

/* Modal defaults */
perspective-copy-menu,
perspective-export-menu,
perspective-dropdown,
perspective-date-column-style,
perspective-datetime-column-style,
perspective-number-column-style,
perspective-string-column-style {
    background-color: white;
    border: 1px solid var(--psp-inactive--color);
    border-radius: 0 0 2px 2px;
    --psp-label--column-style-pos-color--content: "+";
    --psp-label--column-style-neg-color--content: "-";
}