@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.
- package/dist/cdn/perspective-workspace.js +16 -16
- package/dist/cdn/perspective-workspace.js.map +4 -4
- 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 +4 -4
- package/dist/esm/workspace/widget.d.ts +1 -1
- package/dist/esm/workspace/workspace.d.ts +5 -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/commands.ts +2 -1
- package/src/ts/workspace/dockpanel.ts +1 -1
- package/src/ts/workspace/widget.ts +2 -5
- package/src/ts/workspace/workspace.ts +61 -31
- 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/less/menu.less
DELETED
|
@@ -1,128 +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
|
-
@import "@lumino/widgets/style/menu.css";
|
|
14
|
-
|
|
15
|
-
.lm-Menu {
|
|
16
|
-
font-size: 12px;
|
|
17
|
-
padding: 8px;
|
|
18
|
-
background-color: var(--plugin--background);
|
|
19
|
-
color: var(--icon--color);
|
|
20
|
-
border: 1px solid var(--inactive--color);
|
|
21
|
-
border-radius: 3px;
|
|
22
|
-
max-width: 350px;
|
|
23
|
-
top: 0;
|
|
24
|
-
left: 0;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.lm-Menu.perspective-workspace-menu {
|
|
28
|
-
.lm-Menu-item {
|
|
29
|
-
padding-left: 37px !important;
|
|
30
|
-
min-width: var(--min-width);
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.lm-Menu-item.lm-mod-active {
|
|
35
|
-
background-color: var(--icon--color);
|
|
36
|
-
color: var(--plugin--background);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.lm-Menu-item.lm-mod-disabled {
|
|
40
|
-
opacity: 0.5;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.lm-Menu-itemIcon {
|
|
44
|
-
width: 24px;
|
|
45
|
-
height: 12px;
|
|
46
|
-
margin-right: 4px;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.lm-Menu-itemLabel {
|
|
50
|
-
flex: 1 1;
|
|
51
|
-
padding: 4px 2px 4px 2px;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.lm-Menu-itemMnemonic {
|
|
55
|
-
text-decoration: underline;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.lm-Menu-itemShortcut {
|
|
59
|
-
padding: 4px 0px;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.lm-Menu-itemSubmenuIcon {
|
|
63
|
-
width: 24px;
|
|
64
|
-
height: 18px;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.lm-Menu-item {
|
|
68
|
-
display: flex;
|
|
69
|
-
align-items: center;
|
|
70
|
-
outline: none;
|
|
71
|
-
|
|
72
|
-
margin: 0 -8px;
|
|
73
|
-
padding: 0 8px;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.lm-Menu-item[data-type="separator"] > div {
|
|
77
|
-
padding: 0;
|
|
78
|
-
height: 9px;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.lm-Menu-item[data-type="separator"] > div::after {
|
|
82
|
-
content: "";
|
|
83
|
-
display: block;
|
|
84
|
-
position: relative;
|
|
85
|
-
top: 4px;
|
|
86
|
-
border-top: 1px solid;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.lm-MenuBar-menu {
|
|
90
|
-
transform: translateY(-1px);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.lm-MenuBar-item {
|
|
94
|
-
padding: 10px 32px;
|
|
95
|
-
border-left: 1px solid transparent;
|
|
96
|
-
border-right: 1px solid transparent;
|
|
97
|
-
color: #737373 !important;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.lm-MenuBar-item.lm-mod-active {
|
|
101
|
-
background: rgba(0, 0, 0, 0.2);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.lm-MenuBar.lm-mod-active .lm-MenuBar-item.lm-mod-active {
|
|
105
|
-
z-index: 10001;
|
|
106
|
-
background: rgba(0, 0, 0, 0.2);
|
|
107
|
-
// border-left: 1px solid #c0c0c0;
|
|
108
|
-
// border-right: 1px solid #c0c0c0;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
.lm-Menu-itemIcon:before {
|
|
112
|
-
content: attr(content);
|
|
113
|
-
font-family:
|
|
114
|
-
"ui-monospace", "SFMono-Regular", "SF Mono", "Menlo", "Consolas",
|
|
115
|
-
"Liberation Mono", monospace;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
[data-type="submenu"] .lm-Menu-itemSubmenuIcon:before {
|
|
119
|
-
content: ">";
|
|
120
|
-
font-family:
|
|
121
|
-
"ui-monospace", "SFMono-Regular", "SF Mono", "Menlo", "Consolas",
|
|
122
|
-
"Liberation Mono", monospace;
|
|
123
|
-
height: 18px;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
.lm-mod-drag-image.lm-TabBar-tab {
|
|
127
|
-
display: none;
|
|
128
|
-
}
|
package/src/less/tabbar.less
DELETED
|
@@ -1,389 +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
|
-
.lm-TabBar-tabLabel {
|
|
14
|
-
background-color: transparent;
|
|
15
|
-
border: none;
|
|
16
|
-
color: var(--icon--color, #666);
|
|
17
|
-
cursor: pointer;
|
|
18
|
-
padding: 0px 6px;
|
|
19
|
-
margin: 0;
|
|
20
|
-
margin-left: 15.5px;
|
|
21
|
-
margin-right: auto;
|
|
22
|
-
flex: 0 1 auto;
|
|
23
|
-
border-radius: 3px;
|
|
24
|
-
&:hover {
|
|
25
|
-
background-color: var(--icon--color);
|
|
26
|
-
color: var(--plugin--background);
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
// .p-TabBar-tabLabel[value="[untitled]"] {
|
|
31
|
-
// color: #ddd !important;
|
|
32
|
-
// }
|
|
33
|
-
|
|
34
|
-
.lm-TabBar-tabLabel:focus {
|
|
35
|
-
outline: none;
|
|
36
|
-
color: var(--workspace-secondary--color, #666) !important;
|
|
37
|
-
cursor: text;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.lm-TabBar-tab.lm-mod-closable > .lm-TabBar-tabCloseIcon:before {
|
|
41
|
-
content: var(--close-button--content, "\2715");
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.lm-TabBar-tab > .lm-TabBar-tabConfigIcon:before {
|
|
45
|
-
content: var(--open-settings-button--content, "\1F527");
|
|
46
|
-
font-family: var(--settings--font-family, "Arial");
|
|
47
|
-
transition: color 0.5s ease;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.lm-TabBar-tab.lm-mod-current.settings_open > .lm-TabBar-tabConfigIcon:before {
|
|
51
|
-
content: var(--close-settings-button--content, "\1F527");
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.lm-TabBar-tab.lm-mod-current.linked > .lm-TabBar-tabConfigIcon:before {
|
|
55
|
-
color: #22a0ce;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.lm-TabBar-tab > .lm-TabBar-tabConfigIcon {
|
|
59
|
-
opacity: 0;
|
|
60
|
-
pointer-events: none;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.lm-TabBar-tab.lm-mod-current > .lm-TabBar-tabConfigIcon {
|
|
64
|
-
opacity: 1;
|
|
65
|
-
pointer-events: all;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.lm-mod-current {
|
|
69
|
-
.lm-TabBar-tabConfigIcon,
|
|
70
|
-
.lm-TabBar-tabCloseIcon {
|
|
71
|
-
color: inherit;
|
|
72
|
-
transition: color 0.2s ease-out;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.lm-TabBar-tabConfigIcon:hover,
|
|
76
|
-
.lm-TabBar-tabCloseIcon:hover {
|
|
77
|
-
color: #1a7da1;
|
|
78
|
-
transition: color 0.2s ease-out;
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.lm-BoxPanel {
|
|
83
|
-
overflow: scroll !important;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.lm-TabBar,
|
|
87
|
-
.lm-TabBar-tab {
|
|
88
|
-
position: relative;
|
|
89
|
-
|
|
90
|
-
overflow: visible !important;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.lm-TabBar-tabLabel:empty::after {
|
|
94
|
-
content: "untitled";
|
|
95
|
-
color: #aaa;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.lm-mod-current .lm-TabBar-tabLabel:empty::after {
|
|
99
|
-
color: #ddd;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.lm-TabBar-tabLabel:empty::after {
|
|
103
|
-
content: "untitled";
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.divider {
|
|
107
|
-
left: 32px;
|
|
108
|
-
bottom: 0;
|
|
109
|
-
position: absolute;
|
|
110
|
-
right: 32px;
|
|
111
|
-
|
|
112
|
-
height: 1px;
|
|
113
|
-
background-color: var(--workspace-tabbar--border-color);
|
|
114
|
-
margin-bottom: 0px;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
.lm-TabBar-tab .drag-handle {
|
|
118
|
-
pointer-events: all;
|
|
119
|
-
height: 12px;
|
|
120
|
-
width: 14px;
|
|
121
|
-
-webkit-mask-image: var(--column-drag-handle--mask-image);
|
|
122
|
-
mask-image: var(--column-drag-handle--mask-image);
|
|
123
|
-
padding: 12px 0 12px 12px;
|
|
124
|
-
background-repeat: no-repeat;
|
|
125
|
-
background-color: var(--icon--color, red);
|
|
126
|
-
content: "";
|
|
127
|
-
display: inline-block;
|
|
128
|
-
-webkit-mask-size: cover;
|
|
129
|
-
mask-size: auto;
|
|
130
|
-
mask-position: center;
|
|
131
|
-
mask-repeat: no-repeat;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
.lm-TabBar {
|
|
135
|
-
// z-index: -1;
|
|
136
|
-
pointer-events: none;
|
|
137
|
-
.lm-TabBar-tabCloseIcon {
|
|
138
|
-
pointer-events: all;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.bookmarks-button {
|
|
142
|
-
pointer-events: all;
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
.lm-TabBar-tab.lm-mod-hidden {
|
|
147
|
-
display: flex !important;
|
|
148
|
-
opacity: 0.5;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
.lm-TabBar-tab.lm-mod-current .divider {
|
|
152
|
-
display: block;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
// .lm-TabBar-tabLabel input {
|
|
156
|
-
// height: 18px;
|
|
157
|
-
// }
|
|
158
|
-
|
|
159
|
-
// .lm-TabBar {
|
|
160
|
-
// // min-height: 0px !important;
|
|
161
|
-
// }
|
|
162
|
-
|
|
163
|
-
@border-color: 1px solid #eaeaea;
|
|
164
|
-
@night-border-color: 1px solid #ddd;
|
|
165
|
-
|
|
166
|
-
.pfm-button-base {
|
|
167
|
-
background: white !important;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
.pfm-button-base:active {
|
|
171
|
-
background: #016bc6 !important;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
.lm-TabBar-content {
|
|
175
|
-
padding: 0px;
|
|
176
|
-
border-bottom: 0px solid #fff !important;
|
|
177
|
-
border-left: #eaeaea;
|
|
178
|
-
border-right: #eaeaea;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
.lm-TabBar-tab.lm-mod-current {
|
|
182
|
-
.shadow {
|
|
183
|
-
margin: -1px;
|
|
184
|
-
position: absolute;
|
|
185
|
-
width: calc(100% + 2px);
|
|
186
|
-
height: 200%;
|
|
187
|
-
pointer-events: none;
|
|
188
|
-
left: 0px;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
&.settings_open .shadow {
|
|
192
|
-
box-shadow: none;
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
.lm-TabBar-tab {
|
|
197
|
-
// margin: 0px 4px;
|
|
198
|
-
border-color: #eaeaea;
|
|
199
|
-
align-items: center;
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
.lm-TabBar-content.inactive-blur > .lm-TabBar-tab {
|
|
203
|
-
background-color: var(
|
|
204
|
-
--workspace-inactive-blur--background-color,
|
|
205
|
-
transparent
|
|
206
|
-
);
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
.condensed .lm-TabBar-content {
|
|
210
|
-
& > .lm-TabBar-tab.lm-mod-current .lm-TabBar-tabConfigIcon {
|
|
211
|
-
display: block;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
& > .lm-TabBar-tab.lm-mod-current.settings_open {
|
|
215
|
-
.lm-TabBar-tabLabel {
|
|
216
|
-
margin-left: 0px;
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
.lm-TabBar-content > .lm-TabBar-tab.lm-mod-current.settings_open {
|
|
222
|
-
border-width: 1px 1px 0px 1px !important;
|
|
223
|
-
border-color: var(--workspace-tabbar--border-color, #ddd);
|
|
224
|
-
|
|
225
|
-
.lm-TabBar-tabToolbar {
|
|
226
|
-
display: flex;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
.divider {
|
|
230
|
-
height: 1px;
|
|
231
|
-
margin-bottom: 0px;
|
|
232
|
-
background-color: var(--workspace-tabbar--border-color, #ddd);
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
&:last-child:first-child .divider {
|
|
236
|
-
transition: none;
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
.lm-TabBar-content > .lm-TabBar-tab.lm-mod-current.perspective_updating {
|
|
241
|
-
.lm-TabBar-tabConfigIcon {
|
|
242
|
-
display: none;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
.lm-TabBar-tabLoadingIcon {
|
|
246
|
-
display: block;
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
.lm-TabBar-content > .lm-TabBar-tab {
|
|
251
|
-
max-width: 100000px !important;
|
|
252
|
-
flex: 0 1 100000px !important;
|
|
253
|
-
background: none;
|
|
254
|
-
color: #737373;
|
|
255
|
-
height: 40px !important;
|
|
256
|
-
max-height: 40px !important;
|
|
257
|
-
margin-bottom: -40px;
|
|
258
|
-
transform: none !important;
|
|
259
|
-
transition: color 0.2s ease-out;
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
.lm-TabBar-content > .lm-TabBar-tab {
|
|
263
|
-
color: #ccc;
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
.lm-TabBar-content > .lm-TabBar-tab {
|
|
267
|
-
color: #ccc;
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
.lm-TabBar-content > .lm-TabBar-tab:hover {
|
|
271
|
-
color: #ccc;
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
.lm-TabBar-content > .lm-TabBar-tab.lm-mod-current {
|
|
275
|
-
color: var(--workspace-secondary--color, #666);
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
.lm-TabBar-tab.lm-mod-current .lm-TabBar-tabLabel {
|
|
279
|
-
white-space: nowrap !important;
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
.lm-TabBar-tabLabel {
|
|
283
|
-
font-family: inherit;
|
|
284
|
-
font-size: 12px;
|
|
285
|
-
line-height: 22px;
|
|
286
|
-
text-align: start;
|
|
287
|
-
white-space: normal !important;
|
|
288
|
-
word-break: break-all;
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
.lm-TabBar-tabCloseIcon,
|
|
292
|
-
.lm-TabBar-tabConfigIcon {
|
|
293
|
-
cursor: pointer !important;
|
|
294
|
-
line-height: 22px !important;
|
|
295
|
-
padding-right: 16.5px !important;
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
.lm-TabBar-tabConfigIcon {
|
|
299
|
-
padding-left: 8px;
|
|
300
|
-
padding-right: 8px !important;
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
.lm-TabBar-tabLoadingIcon {
|
|
304
|
-
padding-left: 11px;
|
|
305
|
-
padding-right: 12px;
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
.bottom .lm-TabBar-tab {
|
|
309
|
-
flex-basis: 10000px !important;
|
|
310
|
-
max-width: 10000px !important;
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
.lm-TabBar-content > .lm-TabBar-tab.lm-mod-current {
|
|
314
|
-
color: var(--workspace-tabbar--color, #666) !important;
|
|
315
|
-
// border: var(--workspace-tabbar--border, 1px solid #ddd);
|
|
316
|
-
// border-width: var(--workspace-tabbar-tab--border-width);
|
|
317
|
-
// box-shadow: 0 13px 0 -12px var(--inactive--border-color);
|
|
318
|
-
// border-radius: var(--workspace-tabbar--border-radius, 6px)
|
|
319
|
-
// var(--workspace-tabbar--border-radius, 6px) 0 0;
|
|
320
|
-
// background-color: var(--workspace-tabbar--background-color, white);
|
|
321
|
-
background: none;
|
|
322
|
-
height: 40px !important;
|
|
323
|
-
max-height: 40px !important;
|
|
324
|
-
margin-bottom: -40px;
|
|
325
|
-
border: 0 solid transparent;
|
|
326
|
-
border-width: 1px 1px 0px 1px;
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
.bottom .lm-TabBar-tab.lm-mod-current {
|
|
330
|
-
border: none;
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
::-webkit-scrollbar-thumb {
|
|
334
|
-
background-color: #ccc;
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
.perspective-workspace.context-menu * .lm-TabBar.context-focus {
|
|
338
|
-
opacity: 1;
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
.perspective-workspace.context-menu * .lm-TabBar,
|
|
342
|
-
.perspective-workspace.context-menu
|
|
343
|
-
.lm-Widget.workspace-widget:not(.context-focus)
|
|
344
|
-
.viewer-container {
|
|
345
|
-
opacity: 0.2;
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
@mixin icon {
|
|
349
|
-
background-repeat: no-repeat;
|
|
350
|
-
background-color: var(--icon--color);
|
|
351
|
-
content: "";
|
|
352
|
-
display: inline-block;
|
|
353
|
-
-webkit-mask-size: cover;
|
|
354
|
-
mask-size: cover;
|
|
355
|
-
}
|
|
356
|
-
|
|
357
|
-
.bookmarks-button {
|
|
358
|
-
margin-left: 11px;
|
|
359
|
-
margin-right: -13px;
|
|
360
|
-
height: 20px;
|
|
361
|
-
border-radius: 3px;
|
|
362
|
-
border: 1px solid var(--inactive--color);
|
|
363
|
-
background-color: var(--plugin--background);
|
|
364
|
-
|
|
365
|
-
&:hover {
|
|
366
|
-
background-color: var(--icon--color);
|
|
367
|
-
border-color: var(--icon--color);
|
|
368
|
-
}
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
.bookmarks {
|
|
372
|
-
@include icon;
|
|
373
|
-
cursor: pointer;
|
|
374
|
-
width: 20px;
|
|
375
|
-
height: 12px;
|
|
376
|
-
-webkit-mask-image: var(--bookmarks--mask-image);
|
|
377
|
-
mask-image: var(--bookmarks--mask-image);
|
|
378
|
-
-webkit-mask-position: center;
|
|
379
|
-
mask-position: center;
|
|
380
|
-
-webkit-mask-size: auto;
|
|
381
|
-
mask-size: auto;
|
|
382
|
-
-webkit-mask-repeat: no-repeat;
|
|
383
|
-
mask-repeat: no-repeat;
|
|
384
|
-
padding: 4px 6px;
|
|
385
|
-
|
|
386
|
-
&:hover {
|
|
387
|
-
background-color: var(--plugin--background);
|
|
388
|
-
}
|
|
389
|
-
}
|
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
|
-
}
|