UNPKG

6.81 kBCSSView Raw
1/*!
2 * Copyright (c) 2017 ~ present NAVER Corp.
3 * billboard.js project is licensed under the MIT license
4 *
5 * billboard.js, JavaScript chart library
6 * https://naver.github.io/billboard.js/
7 *
8 * @version 3.14.2
9 */
10@charset "UTF-8";
11/*-- Insight Theme --*/
12/*-- Default color pattern --*/
13.bb-color-pattern {
14 background-image: url("#7ea9fa;#ffcd1e;#d33043;#41c464;#c86b74;#006bc2;#2a7e41;#f27c00;#c159ff;#bed017;");
15}
16
17/*-- Chart --*/
18.bb svg {
19 font-size: 12px;
20 font-family: -apple-system, "system-ui", "Noto Sans", "Malgun Gothic", "맑은 고딕", helvetica, "Apple SD Gothic Neo", sans-serif;
21 line-height: 1;
22}
23.bb path, .bb line {
24 fill: none;
25 stroke: #cecece;
26}
27.bb text, .bb .bb-button {
28 -webkit-user-select: none;
29 -moz-user-select: none;
30 -ms-user-select: none;
31 user-select: none;
32 fill: #555;
33 font-size: 10.5px;
34}
35
36.bb-legend-item-title,
37.bb-xgrid-focus,
38.bb-ygrid-focus,
39.bb-ygrid {
40 shape-rendering: crispEdges;
41}
42
43.bb-chart-arcs .bb-needle {
44 fill: #000;
45}
46
47/*-- Funnel --*/
48.bb-chart-funnels path {
49 stroke-width: 0;
50}
51.bb-chart-funnels + .bb-chart-texts text {
52 fill: #fff;
53}
54
55/*-- Axis --*/
56.bb-axis {
57 shape-rendering: crispEdges;
58}
59.bb-axis .bb-axis-x-tooltip, .bb-axis .bb-axis-y-tooltip, .bb-axis .bb-axis-y2-tooltip {
60 font-size: 0.9em;
61 fill: #fff;
62 white-space: nowrap;
63}
64
65.bb-axis-y text, .bb-axis-y2 text {
66 fill: #737373;
67}
68
69.bb-event-rects {
70 fill-opacity: 1 !important;
71}
72.bb-event-rects .bb-event-rect {
73 fill: transparent;
74}
75.bb-event-rects .bb-event-rect._active_ {
76 fill: rgba(39, 201, 3, 0.05);
77}
78
79.tick._active_ text {
80 fill: #00c83c !important;
81}
82
83/*-- Grid --*/
84.bb-grid {
85 pointer-events: none;
86}
87.bb-grid line {
88 stroke: #f1f1f1;
89}
90
91.bb-xgrid-focus line, .bb-ygrid-focus line {
92 stroke: #d2bad8;
93}
94
95/*-- Text on Chart --*/
96.bb-text.bb-empty {
97 fill: #767676;
98}
99
100/*-- Line --*/
101.bb-line {
102 stroke-width: 1px;
103}
104
105/*-- Point --*/
106.bb-circle._expanded_ {
107 stroke-width: 2px;
108 stroke: red;
109}
110
111rect.bb-circle._expanded_, use.bb-circle._expanded_ {
112 stroke-width: 1px;
113}
114
115.bb-selected-circle {
116 fill: white;
117 stroke-width: 2px;
118}
119
120/*-- Bar --*/
121.bb-bar {
122 stroke-width: 0;
123}
124.bb-bar._expanded_ {
125 fill-opacity: 0.75;
126}
127
128/*-- Candlestick --*/
129.bb-candlestick {
130 stroke-width: 1px;
131}
132.bb-candlestick._expanded_ {
133 fill-opacity: 0.75;
134}
135
136/*-- Focus --*/
137.bb-target.bb-focused, .bb-circles.bb-focused {
138 opacity: 1;
139}
140.bb-target.bb-focused path.bb-line, .bb-target.bb-focused path.bb-step, .bb-circles.bb-focused path.bb-line, .bb-circles.bb-focused path.bb-step {
141 stroke-width: 2px;
142}
143.bb-target.bb-defocused, .bb-circles.bb-defocused {
144 opacity: 0.3 !important;
145}
146.bb-target.bb-defocused .text-overlapping, .bb-circles.bb-defocused .text-overlapping {
147 opacity: 0.05 !important;
148}
149
150/*-- Region --*/
151.bb-region {
152 fill: #71808d;
153}
154.bb-region rect {
155 fill-opacity: 0.1;
156}
157.bb-region.selected rect {
158 fill: rgb(39, 201, 3);
159}
160
161/*-- Zoom region --*/
162.bb-zoom-brush {
163 fill-opacity: 0.1;
164 fill: #838181;
165}
166
167/*-- Brush --*/
168.bb-brush .extent {
169 fill-opacity: 0.1;
170}
171.bb-brush .selection {
172 fill: #838181;
173 fill-opacity: 0.2;
174}
175.bb-brush path {
176 stroke: #838181;
177}
178
179/*-- Select - Drag --*/
180/*-- Legend --*/
181.bb-legend-item {
182 user-select: none;
183}
184.bb-legend-item line.bb-legend-item-tile {
185 stroke-linecap: round;
186 transform: translate(7px, 1px);
187 stroke-dasharray: 1 20;
188}
189
190.bb-legend-item-hidden {
191 opacity: 0.15;
192}
193
194.bb-legend-background {
195 opacity: 0.75;
196 fill: white;
197 stroke: lightgray;
198 stroke-width: 1;
199}
200
201/*-- Title --*/
202.bb-title {
203 font-size: 14px;
204}
205
206/*-- Treemap --*/
207.bb-chart-treemaps rect {
208 stroke: #000;
209 stroke-width: 0.5px;
210}
211
212/*-- Tooltip --*/
213.bb-tooltip-container {
214 z-index: 10;
215 font-family: -apple-system, "system-ui", "Noto Sans", "Malgun Gothic", "맑은 고딕", helvetica, "Apple SD Gothic Neo", sans-serif;
216 user-select: none;
217}
218
219.bb-tooltip {
220 border-collapse: separate;
221 border-spacing: 0;
222 empty-cells: show;
223 border: 1px solid #999;
224 color: #fff;
225 border-radius: 5px;
226 background-color: #404244;
227 text-align: left;
228 font-size: 11px;
229 white-space: nowrap;
230 opacity: 0.9;
231}
232.bb-tooltip th {
233 font-size: 11px;
234 padding: 3px 6px 0 6px;
235 text-align: left;
236}
237.bb-tooltip td {
238 padding: 3px;
239}
240.bb-tooltip td:first-child {
241 padding-left: 7px;
242}
243.bb-tooltip td:last-child {
244 padding-right: 8px;
245}
246.bb-tooltip td > span, .bb-tooltip td > svg {
247 display: inline-block;
248 width: 7px;
249 height: 7px;
250 margin-right: 6px;
251 border-radius: 5px;
252 vertical-align: middle;
253}
254.bb-tooltip td.value {
255 border-left: 1px solid transparent;
256 text-align: right;
257}
258.bb-tooltip .bb-tooltip-title {
259 display: inline-block;
260 color: #aaa;
261 line-height: 20px;
262}
263.bb-tooltip .bb-tooltip-detail table {
264 border-collapse: collapse;
265 border-spacing: 0;
266}
267.bb-tooltip .bb-tooltip-detail .bb-tooltip-name, .bb-tooltip .bb-tooltip-detail .bb-tooltip-value {
268 font-size: 11px;
269 line-height: 13px;
270 padding: 4px 0 3px;
271 color: #444;
272 text-align: left;
273 font-weight: normal;
274}
275.bb-tooltip .bb-tooltip-detail .bb-tooltip-value {
276 padding-left: 5px;
277 font-weight: 800;
278 font-size: 12px;
279}
280
281/*-- Area --*/
282.bb-area {
283 stroke-width: 0;
284 opacity: 0.2;
285}
286
287/*-- Arc --*/
288.bb-chart-arcs-title {
289 dominant-baseline: middle;
290 font-size: 1.3em;
291}
292
293text.bb-chart-arcs-gauge-title {
294 dominant-baseline: middle;
295 font-size: 2.7em;
296}
297
298.bb-chart-arcs {
299 /*-- Polar --*/
300}
301.bb-chart-arcs .bb-chart-arcs-background {
302 fill: #e0e0e0;
303 stroke: #ccc;
304}
305.bb-chart-arcs .bb-chart-arcs-gauge-unit {
306 fill: #000;
307 font-size: 16px;
308}
309.bb-chart-arcs .bb-chart-arcs-gauge-min, .bb-chart-arcs .bb-chart-arcs-gauge-max {
310 fill: #777;
311}
312.bb-chart-arcs .bb-chart-arcs-title {
313 font-size: 1.8em;
314 fill: #000;
315 font-weight: 600;
316}
317.bb-chart-arcs path.empty {
318 fill: #eaeaea;
319 stroke-width: 0;
320}
321.bb-chart-arcs .bb-levels circle {
322 fill: none;
323 stroke: #cecece;
324 stroke-width: 0.5px;
325}
326.bb-chart-arcs .bb-levels text {
327 fill: #848282;
328}
329
330.bb-chart-arc .bb-gauge-value {
331 fill: #000;
332}
333.bb-chart-arc path {
334 stroke: #fff;
335}
336.bb-chart-arc rect {
337 stroke: #fff;
338 stroke-width: 1;
339}
340.bb-chart-arc text {
341 fill: #fff;
342 font-size: 11px;
343}
344
345/*-- Radar --*/
346.bb-chart-radars .bb-levels polygon {
347 fill: none;
348 stroke: #cecece;
349 stroke-width: 0.5px;
350}
351.bb-chart-radars .bb-levels text {
352 fill: #848282;
353}
354.bb-chart-radars .bb-axis line {
355 stroke: #cecece;
356 stroke-width: 0.5px;
357}
358.bb-chart-radars .bb-axis text {
359 font-size: 1.15em;
360 cursor: default;
361}
362.bb-chart-radars .bb-shapes polygon {
363 fill-opacity: 0.2;
364 stroke-width: 1px;
365}
366
367/*-- Button --*/
368.bb-button {
369 position: absolute;
370 top: 10px;
371 right: 10px;
372}
373.bb-button .bb-zoom-reset {
374 border: 1px solid #999;
375 background-color: #404244;
376 color: #fff;
377 opacity: 0.9;
378 padding: 5px;
379 border-radius: 5px;
380 cursor: pointer;
381}