UNPKG

3.57 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--font-family: "Open Sans";
30 --interface-monospace--font-family: "Roboto Mono";
31 --inactive-column-selector--content: "\E835";
32 --active-column-selector--content: "\E834";
33 --column--background: none;
34 --column--height: 21px;
35 --active-column--height: 51px;
36 --inactive-column--height: 24px;
37 --active-columns--justify-content: space-evenly;
38 --inactive-column--opacity: 0.3;
39
40 --float--column-type--color: @blue800;
41 --string--column-type--color: rgb(255,136,136);
42
43 --settings-button--content: "more_vert";
44 --button--font-family: "Material Icons";
45 --overflow_hint--before: "error_outline";
46 --overflow_hint--font-family: "Material Icons";
47 --overflow_hint--color: rgba(0,0,0,0.2);
48 --overflow_hint--padding: 0 12px 0 6px;
49
50 --copy_button--before: "file_copy";
51 --download_button--before: "save_alt";
52 --reset_button--before: "refresh";
53 --row_draggable-border-last-child-width: 0;
54
55 --row_pivots--before: "Group By";
56 --column_pivots--before: "Split By";
57
58 --sort-order-asc--before: "arrow_upward";
59 --sort-order-desc--before: "arrow_downward";
60 --sort-order-none--before: "remove";
61 --close_button--before: "close";
62 --sort-order-col-asc--before: "arrow_back";
63 --sort-order-col-desc--before: "arrow_forward";
64
65 --select--background-color: none;
66 --select--padding: 0px;
67
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
75 --column-container--margin: 24px 0px 0px 0px;
76
77 // "New Column" icon
78 --column-add--font-family: "Material Icons";
79 --column-add--before: "add";
80
81 // close "New Column" icon
82 --column-close--font-family: "Material Icons";
83 --column-close--before: "close";
84
85 --column_type--padding: 0px 0px 0px 0px;
86 --column_type--width: 25px;
87
88 --column-selector--font-family: "Material Icons";
89 --active-column-selector--height: 45px;
90 --column_selector--width: 31px;
91 --column_selector--font-size: 16px;
92
93 --hypergrid-gridline--color: #ddd;
94 --hypergrid--padding: 24px;
95 --side_panel--padding: 24px 24px 24px 17px;
96 --button--padding: 24px 17px 0px 17px;
97 --button--font-size: 16px;
98
99 --top_panel--padding: 0px 0px 24px 0px;
100 --top-panel-row--display: inline-flex;
101 --hypergrid-scrollbar--width: 8px;
102 --hypergrid-scrollbar--border-radius: 5px;
103
104 --hypergrid--font-size: 12px;
105 --hypergrid-header--font-size: 12px;
106 --hypergrid--font-family: "Open Sans";
107 --hypergrid-header--font-family: "Open Sans";
108
109 --d3fc-treedata-axis--lines: none;
110}
\No newline at end of file