UNPKG

4.99 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-viewer,
22.perspective-viewer-material {
23 background-color: #F2F4F6;
24 font-family: "Open Sans";
25 --rt-pos-cell--color: #338DCD;
26 --rt-neg-cell--color: #ff471e;
27 --interface--font-family: "Open Sans";
28 --interface-monospace--font-family: "Roboto Mono";
29 --inactive-column-selector--content: "\E835";
30 --active-column-selector--content: "\E834";
31 --column--background: #F2F4F6;
32 --plugin--background: #FFFFFF;
33 --column--height: 21px;
34 --active-column--height: 51px;
35 --inactive-column--height: 24px;
36 --active-columns--justify-content: space-evenly;
37 --inactive-column--opacity: 0.3;
38 --null--background: rgba(0, 0, 0, 0.02);
39 --null--box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.1);
40 --float--column-type--color: #2670A9;
41 --string--column-type--color: #E32B16;
42 --settings-button--content: "more_vert";
43 --button--font-family: "Material Icons";
44 --overflow_hint--before: "error_outline";
45 --overflow_hint--font-family: "Material Icons";
46 --overflow_hint--color: rgba(0, 0, 0, 0.2);
47 --overflow_hint--padding: 0 12px 0 6px;
48 --row_draggable-last-child-border-color: transparent;
49 --row_pivots--before: "Group By";
50 --column_pivots--before: "Split By";
51 --sort-order-asc--before: "arrow_upward";
52 --sort-order-desc--before: "arrow_downward";
53 --sort-order-none--before: "remove";
54 --close_button--before: "close";
55 --sort-order-col-asc--before: "arrow_back";
56 --sort-order-col-desc--before: "arrow_forward";
57 --select--background-color: none;
58 --select--padding: 0px;
59 --column-drop-container--background: none;
60 --column-drop-container--padding: 0px;
61 --column-drop-container--margin: 24px 24px 0px 0px;
62 --column-drop-label--margin: -12px 0px 0px 0px;
63 --column-drop-label--font-size: 10px;
64 --column-drop-label--display: inline-block;
65 --column-container--margin: 18px 0px 0px 0px;
66 --column-add--font-family: "Material Icons";
67 --column-add--before: "add";
68 --column-close--font-family: "Material Icons";
69 --column-close--before: "close";
70 --column-hide--before: "expand_more";
71 --column_type--padding: 0px 0px 0px 0px;
72 --column_type--width: 25px;
73 --column-selector--font-family: "Material Icons";
74 --active-column-selector--height: 45px;
75 --column_selector--width: 31px;
76 --column_selector--font-size: 16px;
77 --side_panel--padding: 24px 16px 24px 17px;
78 --button--padding: 24px 17px 0px 17px;
79 --button--font-size: 16px;
80 --top_panel--padding: 0px 0px 24px 0px;
81 --top-panel-row--display: inline-flex;
82 --d3fc-treedata-axis--lines: none;
83 --d3fc-y1-label--font-family: "Material Icons";
84 --d3fc-y1-label--content: "arrow_upward";
85 --d3fc-y2-label--font-family: "Material Icons";
86 --d3fc-y2-label--content: "arrow_downward";
87 --d3fc-tooltip--background--color: rgba(155, 155, 155, 0.8);
88 --d3fc-tooltip--color: #161616;
89 --d3fc-tooltip--border-color: #fff;
90 --d3fc-tooltip--box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
91 --d3fc-gridline--color: #eaedef;
92 --d3fc-axis--ticks: #161616;
93 --d3fc-axis--lines: #C5C9D0;
94 --d3fc-legend--background: rgba(255, 255, 255, 0.8);
95 --active--color: #2670A9;
96}
97perspective-viewer regular-table::-webkit-scrollbar-thumb,
98.perspective-viewer-material regular-table::-webkit-scrollbar-thumb {
99 background-color: #E0E4E9;
100}
101perspective-viewer regular-table,
102.perspective-viewer-material regular-table {
103 -webkit-mask-image: linear-gradient(black, black), linear-gradient(to top, transparent 10%, black 90%), linear-gradient(to left, transparent 10%, black 90%);
104 -webkit-mask-position: -12px -12px, bottom right, bottom right;
105 -webkit-mask-size: 100% 100%, 12px 1000%, 1000% 12px;
106 -webkit-mask-repeat: no-repeat;
107 transition: -webkit-mask-position 0.3s;
108}
109perspective-viewer regular-table:hover,
110.perspective-viewer-material regular-table:hover {
111 -webkit-mask-position: -12px -12px, top right, bottom left;
112}
113perspective-column-style,
114perspective-expression-editor {
115 background-color: #FFFFFF;
116 color: #161616;
117 border: 1px solid #E0E4E9;
118 --input--border-color: #E0E4E9;
119 --active-color: #2670A9;
120}