@perspective-dev/workspace 4.3.0 → 4.4.0
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.
- package/dist/cdn/perspective-workspace.js +5 -5
- package/dist/cdn/perspective-workspace.js.map +3 -3
- package/dist/css/injected.css +1 -0
- package/dist/css/pro-dark.css +1 -1
- package/dist/css/pro.css +1 -1
- package/dist/css/workspace.css +1 -0
- package/dist/esm/perspective-workspace.js +3 -3
- package/dist/esm/perspective-workspace.js.map +3 -3
- package/package.json +2 -2
- package/src/css/dockpanel.css +110 -0
- package/src/{less/injected.less → css/injected.css} +14 -13
- package/src/css/menu.css +130 -0
- package/src/css/tabbar.css +378 -0
- package/src/{less/viewer.less → css/viewer.css} +31 -30
- package/src/{less/widget.less → css/widget.css} +22 -20
- package/src/{less/workspace.less → css/workspace.css} +34 -20
- package/src/svg/bookmark-icon.svg +1 -1
- package/src/themes/pro-dark.css +124 -0
- package/src/themes/{pro.less → pro.css} +75 -56
- package/src/ts/perspective-workspace.ts +1 -1
- package/src/ts/workspace/dockpanel.ts +1 -1
- package/src/ts/workspace/workspace.ts +1 -1
- package/src/less/dockpanel.less +0 -105
- package/src/less/menu.less +0 -128
- package/src/less/tabbar.less +0 -389
- package/src/themes/pro-dark.less +0 -140
package/src/themes/pro-dark.less
DELETED
|
@@ -1,140 +0,0 @@
|
|
|
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
|
-
@grey60: #c5c9d0;
|
|
14
|
-
@grey500: #3b3f46;
|
|
15
|
-
@grey600: #2f3136;
|
|
16
|
-
@grey700: #2a2c2f;
|
|
17
|
-
@grey800: #242526;
|
|
18
|
-
|
|
19
|
-
perspective-workspace,
|
|
20
|
-
perspective-workspace[theme="Pro Dark"],
|
|
21
|
-
perspective-indicator[theme="Pro Dark"] {
|
|
22
|
-
--theme-name: "Pro Dark";
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
perspective-workspace perspective-viewer {
|
|
26
|
-
--status-bar--height: 39px;
|
|
27
|
-
--plugin-selector--height: 47px;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
perspective-workspace perspective-viewer.widget-maximize {
|
|
31
|
-
--modal-panel--margin: -4px 0 -4px 0;
|
|
32
|
-
--status-bar--border-radius: 6px 0 0 0;
|
|
33
|
-
--main-column--margin: 3px 0 3px 3px;
|
|
34
|
-
--main-column--border: 1px solid var(--inactive--color);
|
|
35
|
-
--main-column--border-width: 1px 0px 1px 1px;
|
|
36
|
-
--main-column--border-radius: 6px 0 0 6px;
|
|
37
|
-
--settings-button--margin: 10px 0 0 0;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
perspective-workspace {
|
|
41
|
-
@include perspective-workspace-pro-base;
|
|
42
|
-
@include perspective-viewer-pro-dark--colors;
|
|
43
|
-
|
|
44
|
-
background-color: #000202;
|
|
45
|
-
color: white;
|
|
46
|
-
// --workspace-master--background-color: @grey800;
|
|
47
|
-
--workspace-tabbar--background-color: @grey800;
|
|
48
|
-
// --workspace-tabbar--border: 1px solid @grey500;
|
|
49
|
-
// --workspace-tabbar--border-color: @grey500;
|
|
50
|
-
--workspace-secondary--color: @grey60;
|
|
51
|
-
--workspace-tabbar--border: 1px solid var(--inactive--color);
|
|
52
|
-
--workspace-tabbar--border-width: 1px 1px 1px 1px;
|
|
53
|
-
--workspace-tabbar--border-radius: 6px;
|
|
54
|
-
--workspace-tabbar--border-color: var(--inactive--color);
|
|
55
|
-
--workspace-tabbar-tab--border-width: 1px 1px 0 1px;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
perspective-viewer[theme="Pro Dark"].workspace-master-widget {
|
|
59
|
-
--plugin--background: @grey800;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
perspective-workspace-menu {
|
|
63
|
-
font-family:
|
|
64
|
-
"ui-monospace", "SFMono-Regular", "SF Mono", "Menlo", "Consolas",
|
|
65
|
-
"Liberation Mono", monospace;
|
|
66
|
-
font-weight: 300;
|
|
67
|
-
background: @grey700 !important;
|
|
68
|
-
color: white !important;
|
|
69
|
-
border: 1px solid @grey500 !important;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
@mixin perspective-workspace-pro-base {
|
|
73
|
-
font-family:
|
|
74
|
-
"ui-monospace", "SFMono-Regular", "SF Mono", "Menlo", "Consolas",
|
|
75
|
-
"Liberation Mono", monospace;
|
|
76
|
-
--open-settings-button--content: "expand_more";
|
|
77
|
-
--close-settings-button--content: "expand_less";
|
|
78
|
-
--close-button--content: "\2715";
|
|
79
|
-
--master-divider--background-color: #243136;
|
|
80
|
-
--menu-maximize--content: "fullscreen";
|
|
81
|
-
--menu-minimize--content: "fullscreen_exit";
|
|
82
|
-
--menu-duplicate--content: "call_split";
|
|
83
|
-
--menu-master--content: "cast";
|
|
84
|
-
--menu-detail--content: "notes";
|
|
85
|
-
--menu-export--content: "file_download";
|
|
86
|
-
--menu-copy--content: "file_copy";
|
|
87
|
-
--menu-reset--content: "autorenew";
|
|
88
|
-
--menu-link--content: "link";
|
|
89
|
-
--menu-unlink--content: "link_off";
|
|
90
|
-
--menu-newmenu--content: "add";
|
|
91
|
-
--menu-close--content: "close";
|
|
92
|
-
--menu-new--content: "description";
|
|
93
|
-
--menu-newview--content: "file_copy";
|
|
94
|
-
|
|
95
|
-
--workspace-tabbar--border: 1px solid var(--inactive--color);
|
|
96
|
-
--workspace-tabbar--border-width: 0px 1px 1px 1px;
|
|
97
|
-
--workspace-tabbar--border-radius: 6px;
|
|
98
|
-
--workspace-tabbar--border-color: var(--inactive--color);
|
|
99
|
-
--workspace-tabbar-tab--border-width: 1px 1px 0px 1px;
|
|
100
|
-
|
|
101
|
-
// Workspace
|
|
102
|
-
--column-drag-handle--mask-image: url("../svg/drag-handle.svg");
|
|
103
|
-
--bookmarks--mask-image: url("../svg/bookmark-icon.svg");
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
@mixin perspective-viewer-pro-dark--colors {
|
|
107
|
-
background-color: #242526;
|
|
108
|
-
--workspace-split-panel-handle--background-color: @grey800;
|
|
109
|
-
color: white;
|
|
110
|
-
--icon--color: white;
|
|
111
|
-
--active--color: #2770a9;
|
|
112
|
-
--error--color: #ff9485;
|
|
113
|
-
--inactive--color: #61656e;
|
|
114
|
-
--inactive--border-color: #4c505b;
|
|
115
|
-
--plugin--background: #242526;
|
|
116
|
-
--modal-target--background: rgba(255, 255, 255, 0.05);
|
|
117
|
-
--active--background: rgba(39, 113, 170, 0.5);
|
|
118
|
-
--expression--operator-color: #c5c9d0;
|
|
119
|
-
--expression--function-color: #22a0ce;
|
|
120
|
-
--expression--error-color: rgb(255, 136, 136);
|
|
121
|
-
--calendar--filter: invert(1);
|
|
122
|
-
--warning--color: #242526;
|
|
123
|
-
--warning--background: var(--icon--color);
|
|
124
|
-
|
|
125
|
-
--select-arrow--background-image: var(
|
|
126
|
-
--select-arrow-light--background-image
|
|
127
|
-
);
|
|
128
|
-
|
|
129
|
-
--select-arrow--hover--background-image: var(
|
|
130
|
-
--select-arrow-dark--background-image
|
|
131
|
-
);
|
|
132
|
-
|
|
133
|
-
// Syntax
|
|
134
|
-
--code-editor-symbol--color: white;
|
|
135
|
-
--code-editor-literal--color: #7dc3f0;
|
|
136
|
-
--code-editor-operator--color: rgb(23, 166, 123);
|
|
137
|
-
--code-editor-comment--color: rgb(204, 120, 48);
|
|
138
|
-
--code-editor-column--color: #e18ee1;
|
|
139
|
-
// --code-editor-unknown--color: rgb(204, 120, 48);
|
|
140
|
-
}
|