UNPKG

6.8 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/variables";
11@import (reference) "material";
12
13@import (css) url("https://fonts.googleapis.com/css?family=Material+Icons");
14@import (css) url("https://fonts.googleapis.com/css?family=Roboto+Mono");
15@import (css) url("https://fonts.googleapis.com/css?family=Orbitron");
16@import (css) url("https://fonts.googleapis.com/css?family=Open+Sans");
17
18@background: #150442;
19@plugin_background: #1C0658;
20@plugin_background_highlight: rgb(58, 12, 184);
21
22perspective-viewer[settings] {
23 --settings-button--content: "check_box_outline_blank";
24}
25
26perspective-viewer, .perspective-viewer-vaporwave{
27 .perspective-viewer-material-base();
28 padding: 24px;
29 background-color: @background;
30 color: #cfd8dc;
31 font-family: "Orbitron";
32
33 --active--color: #F4D676;
34 --active--border: 1px solid #F4D676;
35 --active--background: rgba(244, 214, 118,0.7);
36 --inactive--color: #5C2686;
37
38 --settings-button--content: "check_box_outline_blank";
39
40 ////////////////////////////////////////////////////////////////////////////
41 ////
42 //// Type-specific
43 ////
44
45 --float--column-type--content: "DBL";
46 --float--column-type--color: #36CDC4;
47
48 --float--hypergrid--font-family: "Roboto Mono";
49 --float--hypergrid--font-size: 12px;
50 --float--hypergrid--background: hsl(256, 87%, 14%);
51 --float--hypergrid--color: rgb(60,51,94);
52 --float--hypergrid-positive--color: white;
53 --float--hypergrid-positive--background: rgb(54, 205, 196);
54 --float--hypergrid-negative--color: white;
55 --float--hypergrid-negative--background: rgb(255, 22, 144);
56 --float--hypergrid-positive--border-bottom-color: rgb(36, 146, 139);
57 --float--hypergrid-positive--border-right-color: rgb(36, 146, 139);
58 --float--hypergrid-negative--border-bottom-color: rgb(219, 18, 122);
59 --float--hypergrid-negative--border-right-color: rgb(219, 18, 122);
60
61 --integer--column-type--content: "INT";
62 --integer--column-type--color: #36CDC4;
63
64 --integer--hypergrid--font-family: "Roboto Mono";
65 --integer--hypergrid--font-size: 12px;
66 --integer--hypergrid--background: hsl(256, 87%, 14%);
67 --integer--hypergrid--color: rgb(60,51,94);
68 --integer--hypergrid-positive--color: #8bde8b;
69 --integer--hypergrid-negative--color: #ff6a8b;
70
71 --string--column-type--content: "STR";
72 --string--column-type--color: #FF1690;
73
74 --date--column-type--content: "MDY";
75 --datetime--column-type--content: "MDY";
76
77 --plugin--background: @plugin_background;
78 --plugin--border: 1px solid hsla(256, 87%, 28%, 1);
79 --plugin--box-shadow: 0px 10px 10px rgba(0,0,0,0.4);
80
81 --hypergrid-row-hover--background: rgba(0,0,0,0.1);
82 --hypergrid-cell-hover--background: rgba(0,0,0,0.2);
83 --hypergrid--color: #eee;
84 --hypergrid--font-family: "Open Sans";
85
86 --d3fc-full--gradient: linear-gradient(
87 #f9897b 0%,
88 #d7509f 10%,
89 #f9247e 20%,
90 #ae1357 30%,
91 #661246 40%,
92 #222222 50%,
93 #392682 60%, #7a3a9a 70%, #3f86bc 80%, #28ada8 90%, #83dde0 100%
94 );
95
96 --d3fc-positive--gradient: linear-gradient(
97 #392682 0%, #7a3a9a 25%, #3f86bc 50%, #28ada8 75%, #83dde0 100%
98 );
99
100 --d3fc-negative--gradient: linear-gradient(
101 #f9897b 0%,
102 #d7509f 25%,
103 #f9247e 50%,
104 #ae1357 75%,
105 #661246 100%
106 );
107
108 --highcharts-full--gradient: linear-gradient(
109 #f9897b 0%,
110 #d7509f 10%,
111 #f9247e 20%,
112 #ae1357 30%,
113 #661246 40%,
114 #222222 50%,
115 #392682 60%, #7a3a9a 70%, #3f86bc 80%, #28ada8 90%, #83dde0 100%
116 );
117
118 --highcharts-positive--gradient: linear-gradient(
119 #392682 0%, #7a3a9a 25%, #3f86bc 50%, #28ada8 75%, #83dde0 100%
120 );
121
122 --highcharts-negative--gradient: linear-gradient(
123 #f9897b 0%,
124 #d7509f 25%,
125 #f9247e 50%,
126 #ae1357 75%,
127 #661246 100%
128 );
129
130 ////////////////////////////////////////////////////////////////////////////
131 ////
132 //// Not Stable
133 ////
134
135 --hypergrid-gridline--color: #cfd8dc;
136
137 --active-column-selector--content: "check";
138 --hypergrid-header--font-family: "Open Sans";
139 --hypergrid--padding: 24px;
140
141 --hypergrid--background: @plugin_background;
142 --hypergrid-tree-header--background: @plugin_background;
143 --hypergrid-tree-header--color: #eee;
144 --hypergrid-header--background:@plugin_background;
145 --hypergrid-separator--color: #8BC4EE;
146 --hypergrid-header--color: #eee;
147
148 --hypergrid--font-size: 12px;
149 --hypergrid-header--font-size: 12px;
150
151 --highcharts-label--fill: @coolgrey200;
152 --highcharts-rect--opacity: 0.85;
153
154 --highcharts-tooltip--background: @coolgrey800;
155
156 --d3fc-gridline--color: #5C2686;
157 --d3fc-legend--text: rgb(187, 187, 187);
158 --d3fc-treedata--labels: rgb(187, 187, 187);
159 --d3fc-treedata--hover-highlight: rgb(255, 255, 255);
160 --d3fc-axis--ticks: rgb(187, 187, 187);
161 --d3fc-axis--lines: #5C2686;
162 --d3fc-tooltip--background: #333333;
163 --d3fc-tooltip--color: rgb(207, 216, 220);
164
165 --d3fc-series: #36CDC4;
166 --d3fc-series-1: #FF1690;
167 --d3fc-series-2: #36CDC4;
168 --d3fc-series-3: #F4D676;
169 --d3fc-series-4: #966bff;
170 --d3fc-series-5: #C774E8;
171 --d3fc-series-6: #FF6AD5;
172 --d3fc-series-7: #ff8b8b;
173 --d3fc-series-8: #ffde8b;
174 --d3fc-series-9: #8bde8b;
175 --d3fc-series-10: #20de8b;
176
177 --d3fc-full--gradient: linear-gradient(
178 #f9897b 0%,
179 #d7509f 10%,
180 #f9247e 20%,
181 #ae1357 30%,
182 #661246 40%,
183 #222222 50%,
184 #392682 60%, #7a3a9a 70%, #3f86bc 80%, #28ada8 90%, #83dde0 100%
185 );
186
187 --d3fc-positive--gradient: linear-gradient(
188 #392682 0%, #7a3a9a 25%, #3f86bc 50%, #28ada8 75%, #83dde0 100%
189 );
190
191 --d3fc-negative--gradient: linear-gradient(
192 #f9897b 0%,
193 #d7509f 25%,
194 #f9247e 50%,
195 #ae1357 75%,
196 #661246 100%
197 );
198
199 --highcharts-full--gradient: linear-gradient(
200 #f9897b 0%,
201 #d7509f 10%,
202 #f9247e 20%,
203 #ae1357 30%,
204 #661246 40%,
205 #222222 50%,
206 #392682 60%, #7a3a9a 70%, #3f86bc 80%, #28ada8 90%, #83dde0 100%
207 );
208
209 --highcharts-positive--gradient: linear-gradient(
210 #392682 0%, #7a3a9a 25%, #3f86bc 50%, #28ada8 75%, #83dde0 100%
211 );
212
213 --highcharts-negative--gradient: linear-gradient(
214 #f9897b 0%,
215 #d7509f 25%,
216 #f9247e 50%,
217 #ae1357 75%,
218 #661246 100%
219 );
220 --warning--color: #333;
221}