UNPKG

8.64 kBCSSView Raw
1/******************************************************************************
2 *
3 * Copyright (c) 2017, the Perspective Authors.
4 *
5 * This file is part of the Perspective library, distributed under the terms of
6 * the Apache License 2.0. The full license can be found in the LICENSE file.
7 *
8 */
9@import url("https://fonts.googleapis.com/css?family=Material+Icons");
10@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400&display=swap");
11@import url("https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@200;400&display=swap");
12@import url("https://unpkg.com/monaco-editor/esm/vs/base/browser/ui/codicons/codicon/codicon.css");
13/******************************************************************************
14 *
15 * Copyright (c) 2017, the Perspective Authors.
16 *
17 * This file is part of the Perspective library, distributed under the terms of
18 * the Apache License 2.0. The full license can be found in the LICENSE file.
19 *
20 */
21perspective-column-style,
22perspective-expression-editor {
23 background-color: #2A2C2F;
24 color: #FFFFFF;
25 border: 1px solid #3B3F46;
26 --input--border-color: #3B3F46;
27 --active-color: #2770a9;
28 --inactive-color: #3B3F46;
29}
30perspective-viewer,
31.perspective-viewer-material-dark {
32 background-color: #F2F4F6;
33 font-family: "Open Sans";
34 --rt-pos-cell--color: #338DCD;
35 --rt-neg-cell--color: #ff471e;
36 --interface--font-family: "Open Sans";
37 --interface-monospace--font-family: "Roboto Mono";
38 --inactive-column-selector--content: "\E835";
39 --active-column-selector--content: "\E834";
40 --column--background: #F2F4F6;
41 --plugin--background: #FFFFFF;
42 --column--height: 21px;
43 --active-column--height: 51px;
44 --inactive-column--height: 24px;
45 --active-columns--justify-content: space-evenly;
46 --inactive-column--opacity: 0.3;
47 --null--background: rgba(0, 0, 0, 0.02);
48 --null--box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.1);
49 --float--column-type--color: #2670A9;
50 --string--column-type--color: #E32B16;
51 --settings-button--content: "more_vert";
52 --button--font-family: "Material Icons";
53 --overflow_hint--before: "error_outline";
54 --overflow_hint--font-family: "Material Icons";
55 --overflow_hint--color: rgba(0, 0, 0, 0.2);
56 --overflow_hint--padding: 0 12px 0 6px;
57 --row_draggable-last-child-border-color: transparent;
58 --row_pivots--before: "Group By";
59 --column_pivots--before: "Split By";
60 --sort-order-asc--before: "arrow_upward";
61 --sort-order-desc--before: "arrow_downward";
62 --sort-order-none--before: "remove";
63 --close_button--before: "close";
64 --sort-order-col-asc--before: "arrow_back";
65 --sort-order-col-desc--before: "arrow_forward";
66 --select--background-color: none;
67 --select--padding: 0px;
68 --column-drop-container--background: none;
69 --column-drop-container--padding: 0px;
70 --column-drop-container--margin: 24px 24px 0px 0px;
71 --column-drop-label--margin: -12px 0px 0px 0px;
72 --column-drop-label--font-size: 10px;
73 --column-drop-label--display: inline-block;
74 --column-container--margin: 18px 0px 0px 0px;
75 --column-add--font-family: "Material Icons";
76 --column-add--before: "add";
77 --column-close--font-family: "Material Icons";
78 --column-close--before: "close";
79 --column-hide--before: "expand_more";
80 --column_type--padding: 0px 0px 0px 0px;
81 --column_type--width: 25px;
82 --column-selector--font-family: "Material Icons";
83 --active-column-selector--height: 45px;
84 --column_selector--width: 31px;
85 --column_selector--font-size: 16px;
86 --side_panel--padding: 24px 16px 24px 17px;
87 --button--padding: 24px 17px 0px 17px;
88 --button--font-size: 16px;
89 --top_panel--padding: 0px 0px 24px 0px;
90 --top-panel-row--display: inline-flex;
91 --d3fc-treedata-axis--lines: none;
92 --d3fc-y1-label--font-family: "Material Icons";
93 --d3fc-y1-label--content: "arrow_upward";
94 --d3fc-y2-label--font-family: "Material Icons";
95 --d3fc-y2-label--content: "arrow_downward";
96 --d3fc-tooltip--background--color: rgba(155, 155, 155, 0.8);
97 --d3fc-tooltip--color: #161616;
98 --d3fc-tooltip--border-color: #fff;
99 --d3fc-tooltip--box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
100 --d3fc-gridline--color: #eaedef;
101 --d3fc-axis--ticks: #161616;
102 --d3fc-axis--lines: #C5C9D0;
103 --d3fc-legend--background: rgba(255, 255, 255, 0.8);
104 background-color: #242526;
105 color: white;
106 --background-color: #242526;
107 --column--background: #242526;
108 --null--background: rgba(0, 0, 0, 0.08);
109 --color: white;
110 --plugin--background: #2A2C2F;
111 --select--background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIwLjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCA0LjkgMTAiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQuOSAxMDsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLnN0MHtmaWxsOiM0NDQ0NDQ7fQo8L3N0eWxlPgo8dGl0bGU+YXJyb3dzPC90aXRsZT4KPHBvbHlnb24gY2xhc3M9InN0MCIgcG9pbnRzPSIxLjQsNC43IDIuNSwzLjIgMy41LDQuNyAiLz4KPHBvbHlnb24gY2xhc3M9InN0MCIgcG9pbnRzPSIzLjUsNS4zIDIuNSw2LjggMS40LDUuMyAiLz4KPC9zdmc+Cg==) no-repeat 95% 50%;
112 --select--background-color: #242526;
113 --inactive--color: #3B3F46;
114 --pv-divider--color: #3B3F46;
115 --active--background: rgba(39, 113, 170, 0.5);
116 --active--color: #2770a9;
117 --float--column-type--color: #7DC3F0;
118 --string--column-type--color: #FF9485;
119 --expression--operator-color: #C5C9D0;
120 --expression--function-color: #22a0ce;
121 --expression--error-color: #ff8888;
122 --input-dragover--background: linear-gradient(to top, rgbs(38, 112, 169, 0.5), transparent 50%);
123 --monaco-theme: vs-dark;
124 --scrollbar--background-color: #3B3F46;
125 --d3fc-legend--text: #C5C9D0;
126 --d3fc-treedata--labels: white;
127 --d3fc-treedata--hover-highlight: white;
128 --d3fc-axis--ticks: #C5C9D0;
129 --d3fc-axis--lines: #61656E;
130 --d3fc-gridline--color: #3B3F46;
131 --d3fc-tooltip--background: #2a2c2f;
132 --d3fc-tooltip--color: white;
133 --d3fc-tooltip--border-color: #242526;
134 --d3fc-legend--background: rgba(42, 44, 47, 0.8);
135 --d3fc-series: #4778c2;
136 --d3fc-series-1: #4778c2;
137 --d3fc-series-2: #cc7830;
138 --d3fc-series-3: #9e54c0;
139 --d3fc-series-4: #339699;
140 --d3fc-series-5: #66728f;
141 --d3fc-series-6: #d367bd;
142 --d3fc-series-7: #6d7c4d;
143 --d3fc-series-8: #dd6367;
144 --d3fc-series-9: #7868ce;
145 --d3fc-series-10: #17a67b;
146 --d3fc-full--gradient: linear-gradient(#dd6367 0%, #242526 50%, #3289c8 100%);
147 --d3fc-positive--gradient: linear-gradient(#242526 0%, #3289c8 100%);
148 --d3fc-negative--gradient: linear-gradient(#dd6367 0%, #242526 100%);
149 --warning--color: #333;
150 --autocomplete-select-background: #555;
151 --autocomplete-hover-background: #444;
152}
153perspective-viewer regular-table::-webkit-scrollbar-thumb,
154.perspective-viewer-material-dark regular-table::-webkit-scrollbar-thumb {
155 background-color: #E0E4E9;
156}
157perspective-viewer regular-table,
158.perspective-viewer-material-dark regular-table {
159 -webkit-mask-image: linear-gradient(black, black), linear-gradient(to top, transparent 10%, black 90%), linear-gradient(to left, transparent 10%, black 90%);
160 -webkit-mask-position: -12px -12px, bottom right, bottom right;
161 -webkit-mask-size: 100% 100%, 12px 1000%, 1000% 12px;
162 -webkit-mask-repeat: no-repeat;
163 transition: -webkit-mask-position 0.3s;
164}
165perspective-viewer regular-table:hover,
166.perspective-viewer-material-dark regular-table:hover {
167 -webkit-mask-position: -12px -12px, top right, bottom left;
168}
169perspective-viewer table,
170.perspective-viewer-material-dark table {
171 color: white;
172}
173perspective-viewer table tr:hover,
174.perspective-viewer-material-dark table tr:hover {
175 color: white;
176}
177perspective-viewer regular-table,
178.perspective-viewer-material-dark regular-table {
179 --rt-pos-cell--color: #7DC3F0;
180 --rt-neg-cell--color: #FF9485;
181}
182perspective-viewer regular-table table tbody tr td,
183.perspective-viewer-material-dark regular-table table tbody tr td,
184perspective-viewer regular-table table tbody tr th,
185.perspective-viewer-material-dark regular-table table tbody tr th {
186 --rt-hover--border-color: #61656E;
187 border-top-color: #3B3F46;
188}
189perspective-viewer regular-table::-webkit-scrollbar-thumb,
190.perspective-viewer-material-dark regular-table::-webkit-scrollbar-thumb {
191 background-color: #3B3F46;
192}
193perspective-viewer tbody th:empty,
194.perspective-viewer-material-dark tbody th:empty {
195 background: linear-gradient(to right, transparent 9px, #3B3F46 10px, transparent 11px);
196 background-repeat: no-repeat;
197 background-position: 0px -10px;
198}