@jupyterlab/filebrowser 1.0.0-alpha.8 → 1.0.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/lib/browser.d.ts +12 -1
- package/lib/browser.js +23 -7
- package/lib/browser.js.map +1 -0
- package/lib/crumbs.js +17 -12
- package/lib/crumbs.js.map +1 -0
- package/lib/index.d.ts +0 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -0
- package/lib/listing.d.ts +5 -1
- package/lib/listing.js +29 -22
- package/lib/listing.js.map +1 -0
- package/lib/model.js +18 -8
- package/lib/model.js.map +1 -0
- package/lib/tokens.d.ts +3 -3
- package/lib/tokens.js +1 -0
- package/lib/tokens.js.map +1 -0
- package/lib/upload.js +1 -0
- package/lib/upload.js.map +1 -0
- package/lib/uploadstatus.d.ts +2 -2
- package/lib/uploadstatus.js +1 -0
- package/lib/uploadstatus.js.map +1 -0
- package/package.json +21 -17
- package/style/base.css +313 -0
- package/style/index.css +8 -304
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jupyterlab/filebrowser",
|
|
3
|
-
"version": "1.0.0
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "JupyterLab - FileBrowser Widget",
|
|
5
5
|
"homepage": "https://github.com/jupyterlab/jupyterlab",
|
|
6
6
|
"bugs": {
|
|
@@ -18,8 +18,12 @@
|
|
|
18
18
|
"lib/*.js",
|
|
19
19
|
"style/*.css"
|
|
20
20
|
],
|
|
21
|
+
"sideEffects": [
|
|
22
|
+
"style/*.css"
|
|
23
|
+
],
|
|
21
24
|
"main": "lib/index.js",
|
|
22
25
|
"types": "lib/index.d.ts",
|
|
26
|
+
"style": "style/index.css",
|
|
23
27
|
"directories": {
|
|
24
28
|
"lib": "lib/"
|
|
25
29
|
},
|
|
@@ -31,29 +35,29 @@
|
|
|
31
35
|
"watch": "tsc -b --watch"
|
|
32
36
|
},
|
|
33
37
|
"dependencies": {
|
|
34
|
-
"@jupyterlab/apputils": "^1.0.0
|
|
35
|
-
"@jupyterlab/coreutils": "^3.0.0
|
|
36
|
-
"@jupyterlab/docmanager": "^1.0.0
|
|
37
|
-
"@jupyterlab/docregistry": "^1.0.0
|
|
38
|
-
"@jupyterlab/services": "^4.0.0
|
|
39
|
-
"@jupyterlab/statusbar": "^1.0.0
|
|
40
|
-
"@phosphor/algorithm": "^1.1.
|
|
41
|
-
"@phosphor/coreutils": "^1.3.
|
|
42
|
-
"@phosphor/disposable": "^1.
|
|
43
|
-
"@phosphor/domutils": "^1.1.
|
|
44
|
-
"@phosphor/dragdrop": "^1.3.
|
|
45
|
-
"@phosphor/messaging": "^1.2.
|
|
46
|
-
"@phosphor/signaling": "^1.2.
|
|
47
|
-
"@phosphor/widgets": "^1.
|
|
38
|
+
"@jupyterlab/apputils": "^1.0.0",
|
|
39
|
+
"@jupyterlab/coreutils": "^3.0.0",
|
|
40
|
+
"@jupyterlab/docmanager": "^1.0.0",
|
|
41
|
+
"@jupyterlab/docregistry": "^1.0.0",
|
|
42
|
+
"@jupyterlab/services": "^4.0.0",
|
|
43
|
+
"@jupyterlab/statusbar": "^1.0.0",
|
|
44
|
+
"@phosphor/algorithm": "^1.1.3",
|
|
45
|
+
"@phosphor/coreutils": "^1.3.1",
|
|
46
|
+
"@phosphor/disposable": "^1.2.0",
|
|
47
|
+
"@phosphor/domutils": "^1.1.3",
|
|
48
|
+
"@phosphor/dragdrop": "^1.3.3",
|
|
49
|
+
"@phosphor/messaging": "^1.2.3",
|
|
50
|
+
"@phosphor/signaling": "^1.2.3",
|
|
51
|
+
"@phosphor/widgets": "^1.8.0",
|
|
48
52
|
"react": "~16.8.4"
|
|
49
53
|
},
|
|
50
54
|
"devDependencies": {
|
|
51
55
|
"rimraf": "~2.6.2",
|
|
52
56
|
"typedoc": "^0.14.2",
|
|
53
|
-
"typescript": "~3.
|
|
57
|
+
"typescript": "~3.5.1"
|
|
54
58
|
},
|
|
55
59
|
"publishConfig": {
|
|
56
60
|
"access": "public"
|
|
57
61
|
},
|
|
58
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "382da7c3efb2696a0ae26a4fea27aeeead99fbd9"
|
|
59
63
|
}
|
package/style/base.css
ADDED
|
@@ -0,0 +1,313 @@
|
|
|
1
|
+
/*-----------------------------------------------------------------------------
|
|
2
|
+
| Copyright (c) Jupyter Development Team.
|
|
3
|
+
| Distributed under the terms of the Modified BSD License.
|
|
4
|
+
|----------------------------------------------------------------------------*/
|
|
5
|
+
|
|
6
|
+
/*-----------------------------------------------------------------------------
|
|
7
|
+
| Variables
|
|
8
|
+
|----------------------------------------------------------------------------*/
|
|
9
|
+
|
|
10
|
+
:root {
|
|
11
|
+
--jp-private-filebrowser-button-height: 28px;
|
|
12
|
+
--jp-private-filebrowser-button-width: 48px;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/*-----------------------------------------------------------------------------
|
|
16
|
+
| Copyright (c) Jupyter Development Team.
|
|
17
|
+
| Distributed under the terms of the Modified BSD License.
|
|
18
|
+
|----------------------------------------------------------------------------*/
|
|
19
|
+
|
|
20
|
+
.jp-FileBrowser {
|
|
21
|
+
display: flex;
|
|
22
|
+
flex-direction: column;
|
|
23
|
+
color: var(--jp-ui-font-color1);
|
|
24
|
+
background: var(--jp-layout-color1);
|
|
25
|
+
/* This is needed so that all font sizing of children done in ems is
|
|
26
|
+
* relative to this base size */
|
|
27
|
+
font-size: var(--jp-ui-font-size1);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.jp-FileBrowser-toolbar.jp-Toolbar {
|
|
31
|
+
border-bottom: none;
|
|
32
|
+
height: auto;
|
|
33
|
+
margin: var(--jp-toolbar-header-margin);
|
|
34
|
+
box-shadow: none;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.jp-BreadCrumbs {
|
|
38
|
+
flex: 0 0 auto;
|
|
39
|
+
margin: 4px 12px;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.jp-BreadCrumbs-item {
|
|
43
|
+
margin: 0px 2px;
|
|
44
|
+
padding: 0px 2px;
|
|
45
|
+
border-radius: var(--jp-border-radius);
|
|
46
|
+
cursor: pointer;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.jp-BreadCrumbs-item:hover {
|
|
50
|
+
background-color: var(--jp-layout-color2);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.jp-BreadCrumbs-item:first-child {
|
|
54
|
+
margin-left: 0px;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.jp-BreadCrumbs-item.jp-mod-dropTarget {
|
|
58
|
+
background-color: var(--jp-brand-color2);
|
|
59
|
+
opacity: 0.7;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/*-----------------------------------------------------------------------------
|
|
63
|
+
| Buttons
|
|
64
|
+
|----------------------------------------------------------------------------*/
|
|
65
|
+
|
|
66
|
+
.jp-FileBrowser-toolbar.jp-Toolbar {
|
|
67
|
+
padding: 0px;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.jp-FileBrowser-toolbar.jp-Toolbar {
|
|
71
|
+
justify-content: space-evenly;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.jp-FileBrowser-toolbar.jp-Toolbar .jp-Toolbar-item {
|
|
75
|
+
flex: 1;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.jp-FileBrowser-toolbar.jp-Toolbar .jp-ToolbarButtonComponent {
|
|
79
|
+
width: 100%;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/*-----------------------------------------------------------------------------
|
|
83
|
+
| DirListing
|
|
84
|
+
|----------------------------------------------------------------------------*/
|
|
85
|
+
|
|
86
|
+
.jp-DirListing {
|
|
87
|
+
flex: 1 1 auto;
|
|
88
|
+
display: flex;
|
|
89
|
+
flex-direction: column;
|
|
90
|
+
outline: 0;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.jp-DirListing-header {
|
|
94
|
+
flex: 0 0 auto;
|
|
95
|
+
display: flex;
|
|
96
|
+
flex-direction: row;
|
|
97
|
+
overflow: hidden;
|
|
98
|
+
border-top: var(--jp-border-width) solid var(--jp-border-color2);
|
|
99
|
+
border-bottom: var(--jp-border-width) solid var(--jp-border-color1);
|
|
100
|
+
box-shadow: var(--jp-toolbar-box-shadow);
|
|
101
|
+
z-index: 2;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.jp-DirListing-headerItem {
|
|
105
|
+
padding: 4px 12px;
|
|
106
|
+
font-weight: 500;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.jp-DirListing-headerItem:hover {
|
|
110
|
+
background: var(--jp-layout-color2);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.jp-DirListing-headerItem.jp-id-name {
|
|
114
|
+
flex: 1 0 84px;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.jp-DirListing-headerItem.jp-id-modified {
|
|
118
|
+
flex: 0 0 112px;
|
|
119
|
+
border-left: var(--jp-border-width) solid var(--jp-border-color2);
|
|
120
|
+
text-align: right;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.jp-DirListing-narrow .jp-id-modified,
|
|
124
|
+
.jp-DirListing-narrow .jp-DirListing-itemModified {
|
|
125
|
+
display: none;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.jp-DirListing-headerItem.jp-mod-selected {
|
|
129
|
+
font-weight: 600;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.jp-DirListing-headerItemIcon {
|
|
133
|
+
height: 16px;
|
|
134
|
+
width: 16px;
|
|
135
|
+
background-size: 18px;
|
|
136
|
+
background-image: 18px;
|
|
137
|
+
background-repeat: no-repeat;
|
|
138
|
+
background-position: center;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.jp-DirListing-headerItem.jp-mod-selected .jp-DirListing-headerItemIcon {
|
|
142
|
+
background-image: var(--jp-icon-caretup);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.jp-DirListing-headerItem.jp-mod-selected.jp-mod-descending
|
|
146
|
+
.jp-DirListing-headerItemIcon {
|
|
147
|
+
background-image: var(--jp-icon-caretdown);
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.jp-DirListing-headerItem.jp-mod-selected.jp-id-name
|
|
151
|
+
.jp-DirListing-headerItemIcon {
|
|
152
|
+
float: right;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.jp-DirListing-headerItem.jp-mod-selected.jp-id-modified
|
|
156
|
+
.jp-DirListing-headerItemIcon {
|
|
157
|
+
float: left;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
/* increase specificity to override bundled default */
|
|
161
|
+
.jp-DirListing-content {
|
|
162
|
+
flex: 1 1 auto;
|
|
163
|
+
margin: 0;
|
|
164
|
+
padding: 0;
|
|
165
|
+
list-style-type: none;
|
|
166
|
+
overflow: auto;
|
|
167
|
+
background-color: var(--jp-layout-color1);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
/* Style the directory listing content when a user drops a file to upload */
|
|
171
|
+
.jp-DirListing.jp-mod-native-drop .jp-DirListing-content {
|
|
172
|
+
outline: 5px dashed rgba(128, 128, 128, 0.5);
|
|
173
|
+
outline-offset: -10px;
|
|
174
|
+
cursor: copy;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.jp-DirListing-item {
|
|
178
|
+
display: flex;
|
|
179
|
+
flex-direction: row;
|
|
180
|
+
padding: 4px 12px;
|
|
181
|
+
-webkit-user-select: none;
|
|
182
|
+
-moz-user-select: none;
|
|
183
|
+
-ms-user-select: none;
|
|
184
|
+
user-select: none;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.jp-DirListing-item.jp-mod-selected {
|
|
188
|
+
color: white;
|
|
189
|
+
background: var(--jp-brand-color1);
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.jp-DirListing-item.jp-mod-dropTarget {
|
|
193
|
+
background: var(--jp-brand-color3);
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.jp-DirListing-item:hover:not(.jp-mod-selected) {
|
|
197
|
+
background: var(--jp-layout-color2);
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.jp-DirListing-itemIcon {
|
|
201
|
+
flex: 0 0 20px;
|
|
202
|
+
margin-right: 4px;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.jp-DirListing-itemText {
|
|
206
|
+
flex: 1 0 64px;
|
|
207
|
+
white-space: nowrap;
|
|
208
|
+
overflow: hidden;
|
|
209
|
+
text-overflow: ellipsis;
|
|
210
|
+
user-select: none;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.jp-DirListing-itemModified {
|
|
214
|
+
flex: 0 0 125px;
|
|
215
|
+
text-align: right;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.jp-DirListing-editor {
|
|
219
|
+
flex: 1 0 64px;
|
|
220
|
+
outline: none;
|
|
221
|
+
border: none;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.jp-DirListing-item.jp-mod-running .jp-DirListing-itemIcon:before {
|
|
225
|
+
color: limegreen;
|
|
226
|
+
content: '\25CF';
|
|
227
|
+
font-size: 8px;
|
|
228
|
+
position: relative;
|
|
229
|
+
width: 100%;
|
|
230
|
+
height: 100%;
|
|
231
|
+
top: -2px;
|
|
232
|
+
left: -8px;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.jp-DirListing-item.jp-mod-selected .jp-DirListing-itemIcon.jp-FileIcon {
|
|
236
|
+
background-image: var(--jp-icon-file-selected);
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.jp-DirListing-item.jp-mod-selected .jp-DirListing-itemIcon.jp-TextEditorIcon {
|
|
240
|
+
background-image: var(--jp-icon-text-editor-selected);
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
.jp-DirListing-item.jp-mod-selected .jp-DirListing-itemIcon.jp-NotebookIcon {
|
|
244
|
+
background-image: var(--jp-icon-notebook-selected);
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.jp-DirListing-item.jp-mod-selected .jp-DirListing-itemIcon.jp-FolderIcon {
|
|
248
|
+
background-image: var(--jp-icon-folder-selected);
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
.jp-DirListing-item.jp-mod-selected .jp-DirListing-itemIcon.jp-MarkdownIcon {
|
|
252
|
+
background-image: var(--jp-icon-markdown-selected);
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.jp-DirListing-item.jp-mod-selected .jp-DirListing-itemIcon.jp-PythonIcon {
|
|
256
|
+
background-image: var(--jp-icon-python-selected);
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
.jp-DirListing-item.jp-mod-selected .jp-DirListing-itemIcon.jp-JSONIcon {
|
|
260
|
+
background-image: var(--jp-icon-json-selected);
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
.jp-DirListing-item.jp-mod-selected .jp-DirListing-itemIcon.jp-SpreadsheetIcon {
|
|
264
|
+
background-image: var(--jp-icon-spreadsheet-selected);
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
.jp-DirListing-item.jp-mod-selected .jp-DirListing-itemIcon.jp-RKernelIcon {
|
|
268
|
+
background-image: var(--jp-icon-r-selected);
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.jp-DirListing-item.jp-mod-selected .jp-DirListing-itemIcon.jp-YAMLIcon {
|
|
272
|
+
background-image: var(--jp-icon-yaml-selected);
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
.jp-DirListing-item.jp-mod-selected .jp-DirListing-itemIcon.jp-ImageIcon {
|
|
276
|
+
background-image: var(--jp-icon-image-selected);
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
.jp-DirListing-item.p-mod-drag-image,
|
|
280
|
+
.jp-DirListing-item.jp-mod-selected.p-mod-drag-image {
|
|
281
|
+
font-size: var(--jp-ui-font-size1);
|
|
282
|
+
padding-left: 4px;
|
|
283
|
+
margin-left: 4px;
|
|
284
|
+
width: 160px;
|
|
285
|
+
background-color: var(--jp-ui-inverse-font-color2);
|
|
286
|
+
box-shadow: var(--jp-elevation-z2);
|
|
287
|
+
border-radius: 0px;
|
|
288
|
+
color: var(--jp-ui-font-color1);
|
|
289
|
+
transform: translateX(-40%) translateY(-58%);
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
.jp-DirListing-deadSpace {
|
|
293
|
+
flex: 1 1 auto;
|
|
294
|
+
margin: 0;
|
|
295
|
+
padding: 0;
|
|
296
|
+
list-style-type: none;
|
|
297
|
+
overflow: auto;
|
|
298
|
+
background-color: var(--jp-layout-color1);
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
.jp-Document {
|
|
302
|
+
min-width: 120px;
|
|
303
|
+
min-height: 120px;
|
|
304
|
+
outline: none;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
.jp-FileDialog.jp-mod-conflict input {
|
|
308
|
+
color: red;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
.jp-FileDialog .jp-new-name-title {
|
|
312
|
+
margin-top: 12px;
|
|
313
|
+
}
|
package/style/index.css
CHANGED
|
@@ -3,307 +3,11 @@
|
|
|
3
3
|
| Distributed under the terms of the Modified BSD License.
|
|
4
4
|
|----------------------------------------------------------------------------*/
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
/*-----------------------------------------------------------------------------
|
|
16
|
-
| Copyright (c) Jupyter Development Team.
|
|
17
|
-
| Distributed under the terms of the Modified BSD License.
|
|
18
|
-
|----------------------------------------------------------------------------*/
|
|
19
|
-
|
|
20
|
-
.jp-FileBrowser {
|
|
21
|
-
display: flex;
|
|
22
|
-
flex-direction: column;
|
|
23
|
-
color: var(--jp-ui-font-color1);
|
|
24
|
-
background: var(--jp-layout-color1);
|
|
25
|
-
/* This is needed so that all font sizing of children done in ems is
|
|
26
|
-
* relative to this base size */
|
|
27
|
-
font-size: var(--jp-ui-font-size1);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.jp-FileBrowser-toolbar.jp-Toolbar {
|
|
31
|
-
border-bottom: none;
|
|
32
|
-
height: auto;
|
|
33
|
-
margin: var(--jp-toolbar-header-margin);
|
|
34
|
-
box-shadow: none;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.jp-BreadCrumbs {
|
|
38
|
-
flex: 0 0 auto;
|
|
39
|
-
margin: 4px 12px;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.jp-BreadCrumbs-item {
|
|
43
|
-
margin: 0px 2px;
|
|
44
|
-
padding: 0px 2px;
|
|
45
|
-
border-radius: var(--jp-border-radius);
|
|
46
|
-
cursor: pointer;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.jp-BreadCrumbs-item:hover {
|
|
50
|
-
background-color: var(--jp-layout-color2);
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.jp-BreadCrumbs-item:first-child {
|
|
54
|
-
margin-left: 0px;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.jp-BreadCrumbs-item.jp-mod-dropTarget {
|
|
58
|
-
background-color: var(--jp-brand-color2);
|
|
59
|
-
opacity: 0.7;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/*-----------------------------------------------------------------------------
|
|
63
|
-
| Buttons
|
|
64
|
-
|----------------------------------------------------------------------------*/
|
|
65
|
-
|
|
66
|
-
.jp-FileBrowser-toolbar.jp-Toolbar {
|
|
67
|
-
padding: 0px;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.jp-FileBrowser-toolbar.jp-Toolbar {
|
|
71
|
-
justify-content: space-evenly;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.jp-FileBrowser-toolbar.jp-Toolbar .jp-Toolbar-item {
|
|
75
|
-
flex: 1;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.jp-FileBrowser-toolbar.jp-Toolbar .jp-ToolbarButtonComponent {
|
|
79
|
-
width: 100%;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
/*-----------------------------------------------------------------------------
|
|
83
|
-
| DirListing
|
|
84
|
-
|----------------------------------------------------------------------------*/
|
|
85
|
-
|
|
86
|
-
.jp-DirListing {
|
|
87
|
-
flex: 1 1 auto;
|
|
88
|
-
display: flex;
|
|
89
|
-
flex-direction: column;
|
|
90
|
-
outline: 0;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.jp-DirListing-header {
|
|
94
|
-
flex: 0 0 auto;
|
|
95
|
-
display: flex;
|
|
96
|
-
flex-direction: row;
|
|
97
|
-
overflow: hidden;
|
|
98
|
-
border-top: var(--jp-border-width) solid var(--jp-border-color2);
|
|
99
|
-
border-bottom: var(--jp-border-width) solid var(--jp-border-color1);
|
|
100
|
-
box-shadow: var(--jp-toolbar-box-shadow);
|
|
101
|
-
z-index: 2;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.jp-DirListing-headerItem {
|
|
105
|
-
padding: 4px 12px;
|
|
106
|
-
font-weight: 500;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
.jp-DirListing-headerItem:hover {
|
|
110
|
-
background: var(--jp-layout-color2);
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
.jp-DirListing-headerItem.jp-id-name {
|
|
114
|
-
flex: 1 0 84px;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
.jp-DirListing-headerItem.jp-id-modified {
|
|
118
|
-
flex: 0 0 112px;
|
|
119
|
-
border-left: var(--jp-border-width) solid var(--jp-border-color2);
|
|
120
|
-
text-align: right;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.jp-DirListing-narrow .jp-id-modified,
|
|
124
|
-
.jp-DirListing-narrow .jp-DirListing-itemModified {
|
|
125
|
-
display: none;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
.jp-DirListing-headerItem.jp-mod-selected {
|
|
129
|
-
font-weight: 600;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
.jp-DirListing-headerItemIcon {
|
|
133
|
-
height: 16px;
|
|
134
|
-
width: 16px;
|
|
135
|
-
background-size: 18px;
|
|
136
|
-
background-image: 18px;
|
|
137
|
-
background-repeat: no-repeat;
|
|
138
|
-
background-position: center;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.jp-DirListing-headerItem.jp-mod-selected .jp-DirListing-headerItemIcon {
|
|
142
|
-
background-image: var(--jp-icon-caretup);
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
.jp-DirListing-headerItem.jp-mod-selected.jp-mod-descending
|
|
146
|
-
.jp-DirListing-headerItemIcon {
|
|
147
|
-
background-image: var(--jp-icon-caretdown);
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
.jp-DirListing-headerItem.jp-mod-selected.jp-id-name
|
|
151
|
-
.jp-DirListing-headerItemIcon {
|
|
152
|
-
float: right;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
.jp-DirListing-headerItem.jp-mod-selected.jp-id-modified
|
|
156
|
-
.jp-DirListing-headerItemIcon {
|
|
157
|
-
float: left;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
/* increase specificity to override bundled default */
|
|
161
|
-
.jp-DirListing-content {
|
|
162
|
-
flex: 1 1 auto;
|
|
163
|
-
margin: 0;
|
|
164
|
-
padding: 0;
|
|
165
|
-
list-style-type: none;
|
|
166
|
-
overflow: auto;
|
|
167
|
-
background-color: var(--jp-layout-color1);
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
/* Style the directory listing content when a user drops a file to upload */
|
|
171
|
-
.jp-DirListing.jp-mod-native-drop .jp-DirListing-content {
|
|
172
|
-
outline: 5px dashed rgba(128, 128, 128, 0.5);
|
|
173
|
-
outline-offset: -10px;
|
|
174
|
-
cursor: copy;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
.jp-DirListing-item {
|
|
178
|
-
display: flex;
|
|
179
|
-
flex-direction: row;
|
|
180
|
-
padding: 4px 12px;
|
|
181
|
-
-webkit-user-select: none;
|
|
182
|
-
-moz-user-select: none;
|
|
183
|
-
-ms-user-select: none;
|
|
184
|
-
user-select: none;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
.jp-DirListing-item.jp-mod-selected {
|
|
188
|
-
color: white;
|
|
189
|
-
background: var(--jp-brand-color1);
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
.jp-DirListing-item.jp-mod-dropTarget {
|
|
193
|
-
background: var(--jp-brand-color3);
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
.jp-DirListing-item:hover:not(.jp-mod-selected) {
|
|
197
|
-
background: var(--jp-layout-color2);
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
.jp-DirListing-itemIcon {
|
|
201
|
-
flex: 0 0 20px;
|
|
202
|
-
margin-right: 4px;
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
.jp-DirListing-itemText {
|
|
206
|
-
flex: 1 0 64px;
|
|
207
|
-
white-space: nowrap;
|
|
208
|
-
overflow: hidden;
|
|
209
|
-
text-overflow: ellipsis;
|
|
210
|
-
user-select: none;
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
.jp-DirListing-itemModified {
|
|
214
|
-
flex: 0 0 125px;
|
|
215
|
-
text-align: right;
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
.jp-DirListing-editor {
|
|
219
|
-
flex: 1 0 64px;
|
|
220
|
-
outline: none;
|
|
221
|
-
border: none;
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
.jp-DirListing-item.jp-mod-running .jp-DirListing-itemIcon:before {
|
|
225
|
-
color: limegreen;
|
|
226
|
-
content: '\25CF';
|
|
227
|
-
font-size: 8px;
|
|
228
|
-
position: relative;
|
|
229
|
-
width: 100%;
|
|
230
|
-
height: 100%;
|
|
231
|
-
top: -2px;
|
|
232
|
-
left: -8px;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
.jp-DirListing-item.jp-mod-selected .jp-DirListing-itemIcon.jp-NotebookIcon {
|
|
236
|
-
background-image: var(--jp-icon-book-selected);
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
.jp-DirListing-item.jp-mod-selected .jp-DirListing-itemIcon.jp-OpenFolderIcon {
|
|
240
|
-
background-image: var(--jp-icon-directory-selected);
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
.jp-DirListing-item.jp-mod-selected .jp-DirListing-itemIcon.jp-FileIcon {
|
|
244
|
-
background-image: var(--jp-icon-file-selected);
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
.jp-DirListing-item.jp-mod-selected .jp-DirListing-itemIcon.jp-YamlIcon {
|
|
248
|
-
background-image: var(--jp-icon-yaml-selected);
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
.jp-DirListing-item.jp-mod-selected .jp-DirListing-itemIcon.jp-MarkdownIcon {
|
|
252
|
-
background-image: var(--jp-icon-markdown-selected);
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
.jp-DirListing-item.jp-mod-selected .jp-DirListing-itemIcon.jp-ImageIcon {
|
|
256
|
-
background-image: var(--jp-icon-image-selected);
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
.jp-DirListing-item.jp-mod-selected .jp-DirListing-itemIcon.jp-SpreadsheetIcon {
|
|
260
|
-
background-image: var(--jp-icon-spreadsheet-selected);
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
.jp-DirListing-item.jp-mod-selected .jp-DirListing-itemIcon.jp-JSONIcon {
|
|
264
|
-
background-image: var(--jp-icon-json-selected);
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
.jp-DirListing-item.jp-mod-selected .jp-DirListing-itemIcon.jp-PythonIcon {
|
|
268
|
-
background-image: var(--jp-icon-python-selected);
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
.jp-DirListing-item.jp-mod-selected .jp-DirListing-itemIcon.jp-RKernelIcon {
|
|
272
|
-
background-image: var(--jp-icon-r-selected);
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
.jp-DirListing-item.p-mod-drag-image,
|
|
276
|
-
.jp-DirListing-item.jp-mod-selected.p-mod-drag-image {
|
|
277
|
-
font-size: var(--jp-ui-font-size1);
|
|
278
|
-
padding-left: 4px;
|
|
279
|
-
margin-left: 4px;
|
|
280
|
-
width: 160px;
|
|
281
|
-
background-color: var(--jp-ui-inverse-font-color2);
|
|
282
|
-
box-shadow: var(--jp-elevation-z2);
|
|
283
|
-
border-radius: 0px;
|
|
284
|
-
color: var(--jp-ui-font-color1);
|
|
285
|
-
transform: translateX(-40%) translateY(-58%);
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
.jp-DirListing-deadSpace {
|
|
289
|
-
flex: 1 1 auto;
|
|
290
|
-
margin: 0;
|
|
291
|
-
padding: 0;
|
|
292
|
-
list-style-type: none;
|
|
293
|
-
overflow: auto;
|
|
294
|
-
background-color: var(--jp-layout-color1);
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
.jp-Document {
|
|
298
|
-
min-width: 120px;
|
|
299
|
-
min-height: 120px;
|
|
300
|
-
outline: none;
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
.jp-FileDialog.jp-mod-conflict input {
|
|
304
|
-
color: red;
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
.jp-FileDialog .jp-new-name-title {
|
|
308
|
-
margin-top: 12px;
|
|
309
|
-
}
|
|
6
|
+
/* This file was auto-generated by ensurePackage() in @jupyterlab/buildutils */
|
|
7
|
+
@import url('~@phosphor/widgets/style/index.css');
|
|
8
|
+
@import url('~@jupyterlab/apputils/style/index.css');
|
|
9
|
+
@import url('~@phosphor/dragdrop/style/index.css');
|
|
10
|
+
@import url('~@jupyterlab/docregistry/style/index.css');
|
|
11
|
+
@import url('~@jupyterlab/docmanager/style/index.css');
|
|
12
|
+
|
|
13
|
+
@import url('./base.css');
|