|
13 | 13 | <meta name="description" content="Data Preview"> |
14 | 14 | <base href="https://github.com/RandomFractals/vscode-data-preview" target="_blank" /> |
15 | 15 | <title>Data Preview</title> |
16 | | - <link rel="shortcut icon" type="image/x-icon" href="favicon.ico"> |
| 16 | + <link rel="stylesheet" href="{styles}/perspective-viewer/{theme}.css"> |
| 17 | + <link rel="stylesheet" href="{styles}/data.view.css"> |
17 | 18 | <script src="{scripts}/perspective.js"></script> |
18 | 19 | <script src=" https://unpkg.com/@finos/[email protected]/dist/umd/perspective-viewer.js" ></script> |
19 | 20 | <script src="{scripts}/perspective-viewer-hypergrid.js"></script> |
20 | 21 | <script src="{scripts}/perspective-viewer-{charts}.js"></script> |
21 | | - <link rel=" stylesheet" href=" https://unpkg.com/@finos/[email protected]/dist/umd/{theme}.css" > |
22 | | - <style> |
23 | | - body { |
24 | | - margin: 0px; |
25 | | - padding: 0px; |
26 | | - overflow: hidden; |
27 | | - } |
28 | | - #data-preview-icon { |
29 | | - color: orange; |
30 | | - font-weight: bold; |
31 | | - font-size: 11pt; |
32 | | - } |
33 | | - #toolbar { |
34 | | - margin: 0px; |
35 | | - margin-top: 5px; |
36 | | - padding: 0px; |
37 | | - padding-left: 7px; |
38 | | - font-size: 10pt; |
39 | | - font-weight: normal; |
40 | | - display: inline-block; |
41 | | - white-space: nowrap; |
42 | | - } |
43 | | - #toolbar-left { |
44 | | - width: calc(100% - 140); |
45 | | - } |
46 | | - #toolbar-right { |
47 | | - position: absolute; |
48 | | - top: 7px; |
49 | | - right: 0px; |
50 | | - width: 150px; |
51 | | - height: 32px; |
52 | | - padding-left: 5px; |
53 | | - background-color: var(--vscode-editor-background); |
54 | | - } |
55 | | - #toolbar a { |
56 | | - color: dodgerblue; |
57 | | - text-decoration: none; |
58 | | - padding: 2px 5px 2px 5px; |
59 | | - } |
60 | | - #title { |
61 | | - margin: 0px; |
62 | | - padding: 0px; |
63 | | - } |
64 | | - #data-url-input { |
65 | | - width: 200px; |
66 | | - color: var(--vscode-editor-foreground); |
67 | | - background-color: var(--vscode-editor-background); |
68 | | - border: 1px solid #999; |
69 | | - } |
70 | | - #data-viewer { |
71 | | - position: absolute; |
72 | | - top: 30px; |
73 | | - bottom: 0; |
74 | | - left: 0; |
75 | | - right: 0; |
76 | | - } |
77 | | - #data-view-console-text { |
78 | | - color: var(--vscode-editor-foreground); |
79 | | - background-color: var(--vscode-editor-background); |
80 | | - width: 100%; |
81 | | - height: calc(100% - 32px); |
82 | | - position: absolute; |
83 | | - top: 32px; |
84 | | - bottom: 0; |
85 | | - left: 0; |
86 | | - right: 0; |
87 | | - display: block; |
88 | | - z-index: 100; |
89 | | - } |
90 | | - .hidden { |
91 | | - display: none; |
92 | | - } |
93 | | - .label { |
94 | | - color: var(--vscode-editor-foreground); |
95 | | - } |
96 | | - select { |
97 | | - color: var(--vscode-editor-foreground); |
98 | | - background-color: var(--vscode-editor-background); |
99 | | - } |
100 | | - perspective-viewer { |
101 | | - /* --select--color: var(--vscode-editor-foreground); */ |
102 | | - /* --select--background-color: var(--vscode-editor-background); */ |
103 | | - --select--padding: 0px 5px 0px 5px; |
104 | | - --hypergrid--padding: 2px; |
105 | | - --hypergrid-scrollbar--width: 18px; |
106 | | - --hypergrid-scrollbar--border-radius: 0px; |
107 | | - } |
108 | | - </style> |
109 | 22 | </head> |
110 | 23 | <body> |
111 | 24 | <div id="toolbar"> |
|
0 commit comments