perspective 2.0.0

A data visualization and analytics component, especially well-suited for large and/or streaming datasets.
/******************************************************************************
 *
 * Copyright (c) 2017, the Perspective Authors.
 *
 * This file is part of the Perspective library, distributed under the terms of
 * the Apache License 2.0.  The full license can be found in the LICENSE file.
 *
 */

@import url("ref://solarized.less");

perspective-viewer,
perspective-viewer[theme="Solarized Dark"] {
    --theme-name: "Solarized Dark";
}

perspective-viewer[theme="Solarized Dark"] {
    @include perspective-viewer-pro-dark--colors;
    @include perspective-viewer-solarized;
    @include perspective-viewer-solarized-dark--colors;
    @include perspective-viewer-solarized-dark--datagrid;
    @include perspective-viewer-solarized-dark--d3fc;
}

perspective-copy-menu[theme="Solarized Dark"],
perspective-export-menu[theme="Solarized Dark"],
perspective-dropdown[theme="Solarized Dark"],
perspective-date-column-style[theme="Solarized Dark"],
perspective-datetime-column-style[theme="Solarized Dark"],
perspective-number-column-style[theme="Solarized Dark"],
perspective-string-column-style[theme="Solarized Dark"],
perspective-expression-editor[theme="Solarized Dark"] {
    @include perspective-modal-solarized;
    @include perspective-viewer-solarized-dark--colors;
    background-color: #073642;
}

@mixin perspective-viewer-solarized-dark--colors {
    color: #93a1a1;
    background: #002b36;

    --inactive--color: #586e75;
    --plugin--background: #073642;
}

@mixin perspective-viewer-solarized-dark--datagrid {
    regular-table {

        table,
        table tr:hover {
            color: #93a1a1;
        }
    }

    regular-table table tbody tr td,
    regular-table table tbody tr th {
        border-top-color: #586e75;
    }

    regular-table:hover::-webkit-scrollbar-thumb {
        background-color: var(--inactive--color, #586e75);
    }

    regular-table table tbody th:empty {
        background: linear-gradient(to right,
                transparent 9px,
                #586e75 10px,
                transparent 11px);
    }
}

@mixin perspective-viewer-solarized-dark--d3fc {
    --d3fc-treedata--labels: white;
    --d3fc-treedata--hover-highlight: white;
    --d3fc-axis-ticks--color: #93a1a1;
    --d3fc-axis--lines: #93a1a1;
    --d3fc-gridline--color: #002b36;
    --d3fc-legend--text: #93a1a1;
}