@perspective-dev/workspace 4.3.0 → 4.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,378 @@
1
+ /* ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
2
+ * ┃ ██████ ██████ ██████ █ █ █ █ █ █▄ ▀███ █ ┃
3
+ * ┃ ▄▄▄▄▄█ █▄▄▄▄▄ ▄▄▄▄▄█ ▀▀▀▀▀█▀▀▀▀▀ █ ▀▀▀▀▀█ ████████▌▐███ ███▄ ▀█ █ ▀▀▀▀▀ ┃
4
+ * ┃ █▀▀▀▀▀ █▀▀▀▀▀ █▀██▀▀ ▄▄▄▄▄ █ ▄▄▄▄▄█ ▄▄▄▄▄█ ████████▌▐███ █████▄ █ ▄▄▄▄▄ ┃
5
+ * ┃ █ ██████ █ ▀█▄ █ ██████ █ ███▌▐███ ███████▄ █ ┃
6
+ * ┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫
7
+ * ┃ Copyright (c) 2017, the Perspective Authors. ┃
8
+ * ┃ ╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ┃
9
+ * ┃ This file is part of the Perspective library, distributed under the terms ┃
10
+ * ┃ of the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ┃
11
+ * ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
12
+ */
13
+
14
+ :host {
15
+ .lm-TabBar-tabLabel {
16
+ background-color: transparent;
17
+ border: none;
18
+ color: var(--psp--color, #666);
19
+ cursor: pointer;
20
+ padding: 0px 6px;
21
+ margin: 0;
22
+ margin-left: 15.5px;
23
+ margin-right: auto;
24
+ flex: 0 1 auto;
25
+ border-radius: 3px;
26
+ &:hover {
27
+ background-color: var(--psp--color);
28
+ color: var(--psp--background-color);
29
+ }
30
+ }
31
+
32
+ /* .p-TabBar-tabLabel[value="[untitled]"] { */
33
+ /* color: #ddd !important; */
34
+ /* } */
35
+
36
+ .lm-TabBar-tabLabel:focus {
37
+ outline: none;
38
+ color: var(--workspace-secondary--color, #666) !important;
39
+ cursor: text;
40
+ }
41
+
42
+ .lm-TabBar-tab.lm-mod-closable > .lm-TabBar-tabCloseIcon:before {
43
+ content: var(--close-button--content, "\2715");
44
+ }
45
+
46
+ .lm-TabBar-tab > .lm-TabBar-tabConfigIcon:before {
47
+ content: var(--open-settings-button--content, "\1F527");
48
+ font-family: var(--settings--font-family, "Arial");
49
+ transition: color 0.5s ease;
50
+ }
51
+
52
+ .lm-TabBar-tab.lm-mod-current.settings_open
53
+ > .lm-TabBar-tabConfigIcon:before {
54
+ content: var(--close-settings-button--content, "\1F527");
55
+ }
56
+
57
+ .lm-TabBar-tab.lm-mod-current.linked > .lm-TabBar-tabConfigIcon:before {
58
+ color: #22a0ce;
59
+ }
60
+
61
+ .lm-TabBar-tab > .lm-TabBar-tabConfigIcon {
62
+ opacity: 0;
63
+ pointer-events: none;
64
+ }
65
+
66
+ .lm-TabBar-tab.lm-mod-current > .lm-TabBar-tabConfigIcon {
67
+ opacity: 1;
68
+ pointer-events: all;
69
+ }
70
+
71
+ .lm-mod-current {
72
+ .lm-TabBar-tabConfigIcon,
73
+ .lm-TabBar-tabCloseIcon {
74
+ color: inherit;
75
+ transition: color 0.2s ease-out;
76
+ }
77
+
78
+ .lm-TabBar-tabConfigIcon:hover,
79
+ .lm-TabBar-tabCloseIcon:hover {
80
+ color: #1a7da1;
81
+ transition: color 0.2s ease-out;
82
+ }
83
+ }
84
+
85
+ .lm-BoxPanel {
86
+ overflow: scroll !important;
87
+ }
88
+
89
+ .lm-TabBar,
90
+ .lm-TabBar-tab {
91
+ position: relative;
92
+
93
+ overflow: visible !important;
94
+ }
95
+
96
+ .lm-TabBar-tabLabel:empty::after {
97
+ content: "untitled";
98
+ color: #aaa;
99
+ }
100
+
101
+ .lm-mod-current .lm-TabBar-tabLabel:empty::after {
102
+ color: #ddd;
103
+ }
104
+
105
+ .lm-TabBar-tabLabel:empty::after {
106
+ content: "untitled";
107
+ }
108
+
109
+ .divider {
110
+ left: 32px;
111
+ bottom: 0;
112
+ position: absolute;
113
+ right: 32px;
114
+
115
+ height: 1px;
116
+ background-color: var(--psp-workspace--tabbar--border-color);
117
+ margin-bottom: 0px;
118
+ }
119
+
120
+ .lm-TabBar-tab .drag-handle {
121
+ pointer-events: all;
122
+ height: 12px;
123
+ width: 14px;
124
+ -webkit-mask-image: var(--psp-icon--column-drag-handle--mask-image);
125
+ mask-image: var(--psp-icon--column-drag-handle--mask-image);
126
+ padding: 12px 0 12px 12px;
127
+ background-repeat: no-repeat;
128
+ background-color: var(--psp--color, red);
129
+ content: "";
130
+ display: inline-block;
131
+ -webkit-mask-size: cover;
132
+ mask-size: auto;
133
+ mask-position: center;
134
+ mask-repeat: no-repeat;
135
+ }
136
+
137
+ .lm-TabBar {
138
+ /* z-index: -1; */
139
+ pointer-events: none;
140
+ .lm-TabBar-tabCloseIcon {
141
+ pointer-events: all;
142
+ }
143
+
144
+ .bookmarks-button {
145
+ pointer-events: all;
146
+ }
147
+ }
148
+
149
+ .lm-TabBar-tab.lm-mod-hidden {
150
+ display: flex !important;
151
+ opacity: 0.5;
152
+ }
153
+
154
+ .lm-TabBar-tab.lm-mod-current .divider {
155
+ display: block;
156
+ }
157
+
158
+ .pfm-button-base {
159
+ background: white !important;
160
+ }
161
+
162
+ .pfm-button-base:active {
163
+ background: #016bc6 !important;
164
+ }
165
+
166
+ .lm-TabBar-content {
167
+ padding: 0px;
168
+ border-bottom: 0px solid #fff !important;
169
+ border-left: #eaeaea;
170
+ border-right: #eaeaea;
171
+ }
172
+
173
+ .lm-TabBar-tab.lm-mod-current {
174
+ .shadow {
175
+ margin: -1px;
176
+ position: absolute;
177
+ width: calc(100% + 2px);
178
+ height: 200%;
179
+ pointer-events: none;
180
+ left: 0px;
181
+ }
182
+
183
+ &.settings_open .shadow {
184
+ box-shadow: none;
185
+ }
186
+ }
187
+
188
+ .lm-TabBar-tab {
189
+ /* margin: 0px 4px; */
190
+ border-color: #eaeaea;
191
+ align-items: center;
192
+ }
193
+
194
+ .lm-TabBar-content.inactive-blur > .lm-TabBar-tab {
195
+ background-color: var(
196
+ --workspace-inactive-blur--background-color,
197
+ transparent
198
+ );
199
+ }
200
+
201
+ .condensed .lm-TabBar-content {
202
+ & > .lm-TabBar-tab.lm-mod-current .lm-TabBar-tabConfigIcon {
203
+ display: block;
204
+ }
205
+
206
+ & > .lm-TabBar-tab.lm-mod-current.settings_open {
207
+ .lm-TabBar-tabLabel {
208
+ margin-left: 0px;
209
+ }
210
+ }
211
+ }
212
+
213
+ .lm-TabBar-content > .lm-TabBar-tab.lm-mod-current.settings_open {
214
+ border-width: 1px 1px 0px 1px !important;
215
+ border-color: var(--psp-workspace--tabbar--border-color, #ddd);
216
+
217
+ .lm-TabBar-tabToolbar {
218
+ display: flex;
219
+ }
220
+
221
+ .divider {
222
+ height: 1px;
223
+ margin-bottom: 0px;
224
+ background-color: var(--psp-workspace--tabbar--border-color, #ddd);
225
+ }
226
+
227
+ &:last-child:first-child .divider {
228
+ transition: none;
229
+ }
230
+ }
231
+
232
+ .lm-TabBar-content > .lm-TabBar-tab.lm-mod-current.perspective_updating {
233
+ .lm-TabBar-tabConfigIcon {
234
+ display: none;
235
+ }
236
+
237
+ .lm-TabBar-tabLoadingIcon {
238
+ display: block;
239
+ }
240
+ }
241
+
242
+ .lm-TabBar-content > .lm-TabBar-tab {
243
+ max-width: 100000px !important;
244
+ flex: 0 1 100000px !important;
245
+ background: none;
246
+ color: #737373;
247
+ height: 40px !important;
248
+ max-height: 40px !important;
249
+ margin-bottom: -40px;
250
+ transform: none !important;
251
+ transition: color 0.2s ease-out;
252
+ }
253
+
254
+ .lm-TabBar-content > .lm-TabBar-tab {
255
+ color: #ccc;
256
+ }
257
+
258
+ .lm-TabBar-content > .lm-TabBar-tab {
259
+ color: #ccc;
260
+ }
261
+
262
+ .lm-TabBar-content > .lm-TabBar-tab:hover {
263
+ color: #ccc;
264
+ }
265
+
266
+ .lm-TabBar-content > .lm-TabBar-tab.lm-mod-current {
267
+ color: var(--workspace-secondary--color, #666);
268
+ }
269
+
270
+ .lm-TabBar-tab.lm-mod-current .lm-TabBar-tabLabel {
271
+ white-space: nowrap !important;
272
+ }
273
+
274
+ .lm-TabBar-tabLabel {
275
+ font-family: inherit;
276
+ font-size: 12px;
277
+ line-height: 22px;
278
+ text-align: start;
279
+ white-space: normal !important;
280
+ word-break: break-all;
281
+ }
282
+
283
+ .lm-TabBar-tabCloseIcon,
284
+ .lm-TabBar-tabConfigIcon {
285
+ cursor: pointer !important;
286
+ line-height: 22px !important;
287
+ padding-right: 16.5px !important;
288
+ }
289
+
290
+ .lm-TabBar-tabConfigIcon {
291
+ padding-left: 8px;
292
+ padding-right: 8px !important;
293
+ }
294
+
295
+ .lm-TabBar-tabLoadingIcon {
296
+ padding-left: 11px;
297
+ padding-right: 12px;
298
+ }
299
+
300
+ .bottom .lm-TabBar-tab {
301
+ flex-basis: 10000px !important;
302
+ max-width: 10000px !important;
303
+ }
304
+
305
+ .lm-TabBar-content > .lm-TabBar-tab.lm-mod-current {
306
+ color: var(--workspace-tabbar--color, #666) !important;
307
+ /* border: var(--psp-workspace--tabbar--border, 1px solid #ddd); */
308
+ /* border-width: var(--psp-workspace--tabbar-tab--border-width); */
309
+ /* box-shadow: 0 13px 0 -12px var(--psp-inactive--border-color); */
310
+ /* border-radius: var(--psp-workspace--tabbar--border-radius, 6px) */
311
+ /* var(--psp-workspace--tabbar--border-radius, 6px) 0 0; */
312
+ /* background-color: var(--workspace-tabbar--background-color, white); */
313
+ background: none;
314
+ height: 40px !important;
315
+ max-height: 40px !important;
316
+ margin-bottom: -40px;
317
+ border: 0 solid transparent;
318
+ border-width: 1px 1px 0px 1px;
319
+ }
320
+
321
+ .bottom .lm-TabBar-tab.lm-mod-current {
322
+ border: none;
323
+ }
324
+
325
+ ::-webkit-scrollbar-thumb {
326
+ background-color: #ccc;
327
+ }
328
+
329
+ .perspective-workspace.context-menu * .lm-TabBar.context-focus {
330
+ opacity: 1;
331
+ }
332
+
333
+ .perspective-workspace.context-menu * .lm-TabBar,
334
+ .perspective-workspace.context-menu
335
+ .lm-Widget.workspace-widget:not(.context-focus)
336
+ .viewer-container {
337
+ opacity: 0.2;
338
+ }
339
+
340
+ .bookmarks-button {
341
+ margin-left: 11px;
342
+ margin-right: -13px;
343
+ height: 20px;
344
+ border-radius: 3px;
345
+ border: 1px solid var(--psp-inactive--color);
346
+ background-color: var(--psp--background-color);
347
+
348
+ &:hover {
349
+ background-color: var(--psp--color);
350
+ border-color: var(--psp--color);
351
+ }
352
+ }
353
+
354
+ .bookmarks {
355
+ background-repeat: no-repeat;
356
+ background-color: var(--psp--color);
357
+ content: "";
358
+ display: inline-block;
359
+ -webkit-mask-size: cover;
360
+ mask-size: cover;
361
+ cursor: pointer;
362
+ width: 20px;
363
+ height: 12px;
364
+ -webkit-mask-image: var(--psp-icon--bookmarks--mask-image);
365
+ mask-image: var(--psp-icon--bookmarks--mask-image);
366
+ -webkit-mask-position: center;
367
+ mask-position: center;
368
+ -webkit-mask-size: auto;
369
+ mask-size: auto;
370
+ -webkit-mask-repeat: no-repeat;
371
+ mask-repeat: no-repeat;
372
+ padding: 4px 6px;
373
+
374
+ &:hover {
375
+ background-color: var(--psp--background-color);
376
+ }
377
+ }
378
+ }
@@ -1,55 +1,54 @@
1
- // ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
2
- // ┃ ██████ ██████ ██████ █ █ █ █ █ █▄ ▀███ █ ┃
3
- // ┃ ▄▄▄▄▄█ █▄▄▄▄▄ ▄▄▄▄▄█ ▀▀▀▀▀█▀▀▀▀▀ █ ▀▀▀▀▀█ ████████▌▐███ ███▄ ▀█ █ ▀▀▀▀▀ ┃
4
- // ┃ █▀▀▀▀▀ █▀▀▀▀▀ █▀██▀▀ ▄▄▄▄▄ █ ▄▄▄▄▄█ ▄▄▄▄▄█ ████████▌▐███ █████▄ █ ▄▄▄▄▄ ┃
5
- // ┃ █ ██████ █ ▀█▄ █ ██████ █ ███▌▐███ ███████▄ █ ┃
6
- // ┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫
7
- // ┃ Copyright (c) 2017, the Perspective Authors. ┃
8
- // ┃ ╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ┃
9
- // ┃ This file is part of the Perspective library, distributed under the terms ┃
10
- // ┃ of the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ┃
11
- // ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
12
-
13
- @border-color: 1px solid #eaeaea;
1
+ /* ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
2
+ * ┃ ██████ ██████ ██████ █ █ █ █ █ █▄ ▀███ █ ┃
3
+ * ┃ ▄▄▄▄▄█ █▄▄▄▄▄ ▄▄▄▄▄█ ▀▀▀▀▀█▀▀▀▀▀ █ ▀▀▀▀▀█ ████████▌▐███ ███▄ ▀█ █ ▀▀▀▀▀ ┃
4
+ * ┃ █▀▀▀▀▀ █▀▀▀▀▀ █▀██▀▀ ▄▄▄▄▄ █ ▄▄▄▄▄█ ▄▄▄▄▄█ ████████▌▐███ █████▄ █ ▄▄▄▄▄ ┃
5
+ * ┃ █ ██████ █ ▀█▄ █ ██████ █ ███▌▐███ ███████▄ █ ┃
6
+ * ┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫
7
+ * ┃ Copyright (c) 2017, the Perspective Authors. ┃
8
+ * ┃ ╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ┃
9
+ * ┃ This file is part of the Perspective library, distributed under the terms ┃
10
+ * ┃ of the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ┃
11
+ * ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
12
+ */
14
13
 
15
14
  ::slotted(.workspace-master-widget) {
16
- --status-bar--display: none;
17
- --config-button-icon--content: var(
15
+ --psp-status-bar--display: none;
16
+ --psp-label--config-button--content: var(
18
17
  --open-settings-button--content,
19
18
  "\1F527"
20
19
  ) !important;
21
20
  }
22
21
 
23
22
  .workspace-master-widget[settings] {
24
- --config-button-icon--content: var(
23
+ --psp-label--config-button--content: var(
25
24
  --close-settings-button--content,
26
25
  "\1F527"
27
26
  ) !important;
28
27
  }
29
28
 
30
29
  :not(.workspace-master-widget).widget-maximize {
31
- --config-button-icon--content: var(
30
+ --psp-label--config-button--content: var(
32
31
  --open-settings-button--content,
33
32
  "\1F527"
34
33
  ) !important;
35
34
  }
36
35
 
37
36
  :not(.workspace-master-widget).widget-maximize[settings] {
38
- --config-button-icon--content: var(
37
+ --psp-label--config-button--content: var(
39
38
  --close-settings-button--content,
40
39
  "\1F527"
41
40
  ) !important;
42
41
  }
43
42
 
44
43
  .lm-DockPanel-widget {
45
- border: @border-color;
44
+ border: 1px solid #eaeaea;
46
45
  border-width: 0px !important;
47
46
  min-width: 300px;
48
47
  min-height: 200px;
49
48
  }
50
49
 
51
50
  :not.workspace-master-widget {
52
- --config-button-icon--content: "" !important;
51
+ --psp-label--config-button--content: "" !important;
53
52
  }
54
53
 
55
54
  .context-menu > perspective-viewer.context-focus {
@@ -66,7 +65,7 @@
66
65
  }
67
66
 
68
67
  :host {
69
- --bookmarks--mask-image: url("../svg/bookmark-icon.svg");
68
+ --psp-icon--bookmarks--mask-image: url("../svg/bookmark-icon.svg");
70
69
  }
71
70
 
72
71
  ::slotted(perspective-viewer) {
@@ -79,17 +78,19 @@
79
78
  width: 100%;
80
79
  height: 100%;
81
80
  overflow: visible !important;
82
- --close-button--display: flex;
81
+ --psp-close-button--display: flex;
83
82
  }
84
83
 
85
84
  ::slotted(perspective-viewer.bookmarks-container:not([settings])) {
86
- --status-ok-icon--mask-image: var(--bookmarks--mask-image) !important;
87
- --status-ok-icon--border-color: var(--inactive--color);
88
- --status-ok-icon--hover--border-color: var(--icon--color);
89
- --status-ok-icon--hover--background-color: var(--icon--color);
90
- --status-ok-icon--hover--color: var(--plugin--background);
91
- --status-ok-icon--cursor: pointer;
92
- --status-indicator--pointer-events: all;
85
+ --psp-icon--status-ok--mask-image: var(
86
+ --psp-icon--bookmarks--mask-image
87
+ ) !important;
88
+ --psp-status-icon--ok--border-color: var(--psp-inactive--color);
89
+ --psp-status-icon--ok-hover--border-color: var(--psp--color);
90
+ --psp-status-icon--ok-hover--background-color: var(--psp--color);
91
+ --psp-status-icon--ok-hover--color: var(--psp--background-color);
92
+ --psp-status-icon--ok--cursor: pointer;
93
+ --psp-status-icon--pointer-events: all;
93
94
  }
94
95
 
95
96
  ::slotted(perspective-viewer::part(status-indicator)) {
@@ -98,7 +99,7 @@
98
99
  }
99
100
 
100
101
  ::slotted(perspective-viewer:not(.widget-maximize)) {
101
- --status-bar--padding: 0 36px 0 8px;
102
+ --psp-status-bar--padding: 0 36px 0 8px;
102
103
  }
103
104
 
104
105
  :host-context(.lm-mod-override-cursor) {
@@ -1,24 +1,26 @@
1
- // ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
2
- // ┃ ██████ ██████ ██████ █ █ █ █ █ █▄ ▀███ █ ┃
3
- // ┃ ▄▄▄▄▄█ █▄▄▄▄▄ ▄▄▄▄▄█ ▀▀▀▀▀█▀▀▀▀▀ █ ▀▀▀▀▀█ ████████▌▐███ ███▄ ▀█ █ ▀▀▀▀▀ ┃
4
- // ┃ █▀▀▀▀▀ █▀▀▀▀▀ █▀██▀▀ ▄▄▄▄▄ █ ▄▄▄▄▄█ ▄▄▄▄▄█ ████████▌▐███ █████▄ █ ▄▄▄▄▄ ┃
5
- // ┃ █ ██████ █ ▀█▄ █ ██████ █ ███▌▐███ ███████▄ █ ┃
6
- // ┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫
7
- // ┃ Copyright (c) 2017, the Perspective Authors. ┃
8
- // ┃ ╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ┃
9
- // ┃ This file is part of the Perspective library, distributed under the terms ┃
10
- // ┃ of the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ┃
11
- // ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
12
-
13
- @border-color: 1px solid #eaedef;
1
+ /* ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
2
+ * ┃ ██████ ██████ ██████ █ █ █ █ █ █▄ ▀███ █ ┃
3
+ * ┃ ▄▄▄▄▄█ █▄▄▄▄▄ ▄▄▄▄▄█ ▀▀▀▀▀█▀▀▀▀▀ █ ▀▀▀▀▀█ ████████▌▐███ ███▄ ▀█ █ ▀▀▀▀▀ ┃
4
+ * ┃ █▀▀▀▀▀ █▀▀▀▀▀ █▀██▀▀ ▄▄▄▄▄ █ ▄▄▄▄▄█ ▄▄▄▄▄█ ████████▌▐███ █████▄ █ ▄▄▄▄▄ ┃
5
+ * ┃ █ ██████ █ ▀█▄ █ ██████ █ ███▌▐███ ███████▄ █ ┃
6
+ * ┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫
7
+ * ┃ Copyright (c) 2017, the Perspective Authors. ┃
8
+ * ┃ ╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ┃
9
+ * ┃ This file is part of the Perspective library, distributed under the terms ┃
10
+ * ┃ of the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ┃
11
+ * ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
12
+ */
14
13
 
15
14
  .lm-DockPanel:not([data-mode="single-document"]) .viewer-container {
16
- border: var(--workspace-tabbar--border, 1px solid var(--inactive--color));
17
- border-width: var(--workspace-tabbar--border-width);
18
- border-radius: var(--workspace-tabbar--border-radius, 6px)
19
- var(--workspace-tabbar--border-radius, 6px)
20
- var(--workspace-tabbar--border-radius, 6px)
21
- var(--workspace-tabbar--border-radius, 6px);
15
+ border: var(
16
+ --psp-workspace--tabbar--border,
17
+ 1px solid var(--psp-inactive--color)
18
+ );
19
+ border-width: var(--psp-workspace--tabbar--border-width);
20
+ border-radius: var(--psp-workspace--tabbar--border-radius, 6px)
21
+ var(--psp-workspace--tabbar--border-radius, 6px)
22
+ var(--psp-workspace--tabbar--border-radius, 6px)
23
+ var(--psp-workspace--tabbar--border-radius, 6px);
22
24
  }
23
25
 
24
26
  .viewer-container {
@@ -37,6 +39,6 @@
37
39
  .workspace-widget {
38
40
  display: flex;
39
41
  flex-direction: column;
40
- border: @border-color;
42
+ border: 1px solid #eaedef;
41
43
  border-width: 0px !important;
42
44
  }
@@ -1,14 +1,15 @@
1
- // ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
2
- // ┃ ██████ ██████ ██████ █ █ █ █ █ █▄ ▀███ █ ┃
3
- // ┃ ▄▄▄▄▄█ █▄▄▄▄▄ ▄▄▄▄▄█ ▀▀▀▀▀█▀▀▀▀▀ █ ▀▀▀▀▀█ ████████▌▐███ ███▄ ▀█ █ ▀▀▀▀▀ ┃
4
- // ┃ █▀▀▀▀▀ █▀▀▀▀▀ █▀██▀▀ ▄▄▄▄▄ █ ▄▄▄▄▄█ ▄▄▄▄▄█ ████████▌▐███ █████▄ █ ▄▄▄▄▄ ┃
5
- // ┃ █ ██████ █ ▀█▄ █ ██████ █ ███▌▐███ ███████▄ █ ┃
6
- // ┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫
7
- // ┃ Copyright (c) 2017, the Perspective Authors. ┃
8
- // ┃ ╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ┃
9
- // ┃ This file is part of the Perspective library, distributed under the terms ┃
10
- // ┃ of the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ┃
11
- // ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
1
+ /* ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
2
+ * ┃ ██████ ██████ ██████ █ █ █ █ █ █▄ ▀███ █ ┃
3
+ * ┃ ▄▄▄▄▄█ █▄▄▄▄▄ ▄▄▄▄▄█ ▀▀▀▀▀█▀▀▀▀▀ █ ▀▀▀▀▀█ ████████▌▐███ ███▄ ▀█ █ ▀▀▀▀▀ ┃
4
+ * ┃ █▀▀▀▀▀ █▀▀▀▀▀ █▀██▀▀ ▄▄▄▄▄ █ ▄▄▄▄▄█ ▄▄▄▄▄█ ████████▌▐███ █████▄ █ ▄▄▄▄▄ ┃
5
+ * ┃ █ ██████ █ ▀█▄ █ ██████ █ ███▌▐███ ███████▄ █ ┃
6
+ * ┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫
7
+ * ┃ Copyright (c) 2017, the Perspective Authors. ┃
8
+ * ┃ ╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ┃
9
+ * ┃ This file is part of the Perspective library, distributed under the terms ┃
10
+ * ┃ of the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ┃
11
+ * ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
12
+ */
12
13
 
13
14
  @import "@lumino/widgets/style/widget.css";
14
15
  @import "@lumino/widgets/style/accordionpanel.css";
@@ -21,17 +22,28 @@
21
22
  @import "@lumino/widgets/style/tabbar.css";
22
23
  @import "@lumino/widgets/style/tabpanel.css";
23
24
 
24
- @import "./injected.less";
25
+ /* @import "@lumino/widgets/style/widget.css";
26
+ @import "@lumino/widgets/style/accordionpanel.css";
27
+ @import "@lumino/widgets/style/commandpalette.css";
28
+ @import "@lumino/widgets/style/dockpanel.css";
29
+ @import "@lumino/widgets/style/menu.css";
30
+ @import "@lumino/widgets/style/menubar.css";
31
+ @import "@lumino/widgets/style/scrollbar.css";
32
+ @import "@lumino/widgets/style/splitpanel.css";
33
+ @import "@lumino/widgets/style/tabbar.css";
34
+ @import "@lumino/widgets/style/tabpanel.css"; */
35
+ @import "@lumino/widgets/style/index.css";
25
36
 
26
- :host {
27
- @import "./tabbar.less";
28
- @import "./dockpanel.less";
29
- @import "./widget.less";
37
+ @import "./injected.css";
38
+ @import "./tabbar.css";
39
+ @import "./dockpanel.css";
40
+ @import "./widget.css";
30
41
 
31
- --workspace-spacing: 3px;
42
+ :host {
43
+ --psp-workspace--spacing: 3px;
32
44
 
33
- // width: 100%;
34
- // height: 100%;
45
+ /* width: 100%; */
46
+ /* height: 100%; */
35
47
 
36
48
  .workspace {
37
49
  width: 100%;
@@ -44,7 +56,9 @@
44
56
  }
45
57
 
46
58
  div.lm-SplitPanel-handle {
47
- background-color: var(--workspace-split-panel-handle--background-color);
59
+ background-color: var(
60
+ --psp-workspace--split-panel-handle--background-color
61
+ );
48
62
  }
49
63
 
50
64
  .master-panel {
@@ -1,4 +1,4 @@
1
- <svg width="20" height="11" viewBox="0 0 20 11" fill="none" xmlns="http://www.w3.org/2000/svg">
1
+ <svg width="20" height="20" viewBox="0 0 20 11" fill="none" xmlns="http://www.w3.org/2000/svg">
2
2
  <path d="M3.66214 6.96476L0.5 9.86338V0.5H7.5V9.86338L4.33786 6.96476L4 6.65505L3.66214 6.96476Z" stroke="#042121"/>
3
3
  <path d="M15 4L17 6L19 4" stroke="#042121" stroke-linecap="round"/>
4
4
  </svg>