UNPKG

@finos/perspective-viewer

Version:

The `<perspective-viewer>` Custom Element, frontend for Perspective.js

83 lines (71 loc) 2.33 kB
/****************************************************************************** * * 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 "../less/fonts"; @import (reference) "./material-dark.less"; @import (reference) "./solarized.less"; perspective-viewer, perspective-viewer[theme="Solarized Dark"] { --theme-name: "Solarized Dark"; } perspective-viewer[theme="Solarized Dark"], .perspective-viewer-solarized-dark { .perspective-viewer-material-dark--colors(); .perspective-viewer-solarized(); .perspective-viewer-solarized-dark--colors(); .perspective-viewer-solarized-dark--datagrid(); .perspective-viewer-solarized-dark--d3fc(); } perspective-copy-dropdown[theme="Solarized Dark"], perspective-export-dropdown[theme="Solarized Dark"], perspective-filter-dropdown[theme="Solarized Dark"], perspective-number-column-style[theme="Solarized Dark"], perspective-string-column-style[theme="Solarized Dark"], perspective-expression-editor[theme="Solarized Dark"], .perspective-modal-solarized-dark { .perspective-modal-solarized(); .perspective-viewer-solarized-dark--colors(); background-color: #073642; } .perspective-viewer-solarized-dark--colors { color: #93a1a1; background: #002b36; --inactive--color: #586e75; --plugin--background: #073642; } .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::-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 ); } } .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; }