UNPKG

3.38 kBtext/lessView 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
10@import "../less/fonts";
11@import "../less/variables";
12
13perspective-viewer, .perspective-viewer-material {
14 .perspective-viewer-material-base();
15 --active--color: @blue800;
16
17 --hypergrid--color: #666;
18 --hypergrid--background: #fff;
19
20 --hypergrid-positive--color: #1078d1;
21 --hypergrid-negative--color: #de3838;
22
23 --hypergrid-selection--background: rgba(0, 0, 0, 0.1);
24}
25
26.perspective-viewer-material-base() {
27 font-family: "Open Sans";
28
29 --interface-monospace--font-family: "Roboto Mono";
30 --inactive-column-selector--content: "\E835";
31 --active-column-selector--content: "\E834";
32 --column--background: none;
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
39 --float--column-type--color: @blue800;
40 --string--column-type--color: rgb(255,136,136);
41
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
49 --copy_button--before: "file_copy";
50 --download_button--before: "save_alt";
51 --reset_button--before: "refresh";
52 --row_draggable-border-last-child-width: 0;
53
54 --row_pivots--before: "Group By";
55 --column_pivots--before: "Split By";
56
57 --sort-order-asc--before: "arrow_upward";
58 --sort-order-desc--before: "arrow_downward";
59 --sort-order-none--before: "remove";
60 --close_button--before: "close";
61 --sort-order-col-asc--before: "arrow_back";
62 --sort-order-col-desc--before: "arrow_forward";
63
64 --select--background-color: none;
65 --select--padding: 0px;
66
67 --column-drop-container--background: none;
68 --column-drop-container--padding: 0px;
69 --column-drop-container--margin: 24px 24px 0px 0px;
70 --column-drop-label--margin: -12px 0px 0px 0px;
71 --column-drop-label--font-size: 10px;
72 --column-drop-label--display: inline-block;
73
74 --column-container--margin: 24px 0px 0px 0px;
75 --column-add--font-family: "Material Icons";
76 --column-add--before: "add";
77
78 --column_type--padding: 0px 0px 0px 0px;
79 --column_type--width: 25px;
80
81 --column-selector--font-family: "Material Icons";
82 --active-column-selector--height: 45px;
83 --column_selector--width: 31px;
84 --column_selector--font-size: 16px;
85
86 --hypergrid-gridline--color: #ddd;
87 --hypergrid--padding: 24px;
88 --side_panel--padding: 24px 24px 24px 17px;
89 --button--padding: 24px 17px 0px 17px;
90 --button--font-size: 16px;
91
92 --top_panel--padding: 0px 0px 24px 0px;
93 --top-panel-row--display: inline-flex;
94 --hypergrid-scrollbar--width: 8px;
95 --hypergrid-scrollbar--border-radius: 5px;
96
97 --hypergrid--font-size: 12px;
98 --hypergrid-header--font-size: 12px;
99 --hypergrid--font-family: "Open Sans";
100 --hypergrid-header--font-family: "Open Sans";
101
102 --d3fc-treedata-axis--lines: none;
103}
\No newline at end of file