@seafile/seafile-editor 0.3.99 → 0.3.102
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/README.md +42 -110
- package/dist/assets/css/comment-dialog.css +50 -0
- package/dist/{css → assets/css}/diff-viewer.css +0 -0
- package/dist/{css/richeditor → assets/css}/formula.css +0 -0
- package/dist/{css → assets/css}/history-viewer.css +0 -0
- package/dist/{css/richeditor → assets/css}/image.css +0 -0
- package/dist/assets/css/issue-card.css +43 -0
- package/dist/{css → assets/css}/keyboard-shortcuts.css +0 -0
- package/dist/{css/richeditor → assets/css}/link.css +0 -0
- package/dist/{css/plaineditor → assets/css}/markdown-editor.css +0 -0
- package/dist/{css → assets/css}/markdown-viewer.css +0 -0
- package/dist/{css/richeditor → assets/css}/navbar-imgbutton.css +0 -0
- package/dist/assets/css/outline.css +29 -0
- package/dist/{css/richeditor → assets/css}/table.css +0 -0
- package/dist/{css/richeditor → assets/css}/textlink-hovermenu.css +0 -0
- package/dist/{css → assets/css}/topbar.css +38 -146
- package/dist/{css/richeditor → assets/css}/tree-view.css +0 -0
- package/dist/{css/richeditor/right-panel.css → assets/css/user-help.css} +9 -9
- package/dist/assets/editor/plain-editor.css +30 -0
- package/dist/assets/editor/simple-editor.css +77 -0
- package/dist/components/add-formula-dialog.js +6 -4
- package/dist/components/add-image-dialog.js +3 -1
- package/dist/components/add-link-dialog.js +4 -3
- package/dist/components/comment-dialog.js +12 -6
- package/dist/components/markdown-lint.js +1 -0
- package/dist/components/outline/index.js +104 -0
- package/dist/components/outline/outline-item.js +70 -0
- package/dist/components/shortcut-dialog.js +1 -1
- package/dist/components/{topbar-component → toolbar}/header-list.js +0 -0
- package/dist/components/toolbar/help-group.js +40 -0
- package/dist/components/toolbar/index.js +4 -0
- package/dist/components/{topbar-component/upload-img.js → toolbar/insert-image.js} +18 -15
- package/dist/components/toolbar/insert-table.js +155 -0
- package/dist/components/toolbar/table-group.js +82 -0
- package/dist/components/{toolbar.js → toolbar/toolbar.js} +102 -64
- package/dist/components/{topbar-component → toolbar/widgets}/button-group.js +0 -0
- package/dist/components/toolbar/widgets/button-item.js +144 -0
- package/dist/components/toolbar/widgets/drop-list.js +101 -0
- package/dist/components/user-help.js +16 -10
- package/dist/editor/controller/block-element-controller.js +6 -2
- package/dist/editor/controller/inline-element-controller.js +6 -2
- package/dist/editor/editor-builder.js +107 -0
- package/dist/editor/editor-component/formula.js +4 -2
- package/dist/editor/editor-component/image.js +10 -6
- package/dist/editor/editor-component/table.js +1 -1
- package/dist/editor/editor-plugin.js +3 -1
- package/dist/editor/editor.js +1 -32
- package/dist/editor/index.js +97 -0
- package/dist/editor/markdown-editor.js +323 -0
- package/dist/editor/plain-markdown-editor.js +5 -4
- package/dist/editor/simple-editor.js +44 -78
- package/dist/index.js +9 -0
- package/dist/utils/slate2markdown/serialize.js +12 -1
- package/dist/viewer/diff-viewer.js +1 -1
- package/dist/viewer/markdown-viewer.js +16 -15
- package/dist/viewer/slate-viewer.js +40 -28
- package/dist/viewer/viewer-formula.js +1 -1
- package/package.json +18 -17
- package/dist/components/comment-panel.js +0 -431
- package/dist/components/detail-list-view.js +0 -104
- package/dist/components/generate-share-link.js +0 -412
- package/dist/components/internal-link-dialog.js +0 -96
- package/dist/components/outline.js +0 -130
- package/dist/components/participants-list.js +0 -126
- package/dist/components/side-panel.js +0 -174
- package/dist/components/topbar-component/icon-button.js +0 -99
- package/dist/components/topbar-component/insert-file.js +0 -67
- package/dist/components/topbar-component/table-toolbar.js +0 -175
- package/dist/css/layout.css +0 -111
- package/dist/css/markdown-viewer-slate/file-tags-list.css +0 -76
- package/dist/css/react-mentions-default-style.js +0 -76
- package/dist/css/richeditor/comments-list.css +0 -184
- package/dist/css/richeditor/detail-list-view.css +0 -105
- package/dist/css/richeditor/document-info.css +0 -57
- package/dist/css/richeditor/participants-list.css +0 -22
- package/dist/css/richeditor/rich-editor-main.css +0 -32
- package/dist/css/richeditor/side-panel.css +0 -183
- package/dist/editor/rich-markdown-editor.js +0 -521
- package/dist/editor/seafile-editor.js +0 -325
- package/dist/editor-api.js +0 -256
- package/dist/index.css +0 -97
- package/dist/seafile-editor-chooser.js +0 -45
- package/dist/seafile-markdown-editor.js +0 -289
- package/dist/seafile-markdown-viewer.js +0 -78
- package/dist/seafile-simple-editor.js +0 -56
package/dist/css/layout.css
DELETED
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
/*set scroll bar*/
|
|
2
|
-
.seafile-editor-module ::-webkit-scrollbar{
|
|
3
|
-
width: 8px;
|
|
4
|
-
height: 8px;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.iconfont {
|
|
8
|
-
font-size: 13px;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.icon-drop-down {
|
|
12
|
-
display: inline-block;
|
|
13
|
-
transform: scale(0.8);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.icon-caret-up {
|
|
17
|
-
display: inline-block;
|
|
18
|
-
transform: scale(0.8);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.seafile-editor-module ::-webkit-scrollbar-button {
|
|
22
|
-
display: none;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.seafile-editor-module ::-webkit-scrollbar-thumb {
|
|
26
|
-
background-color: rgb(206, 206, 212);
|
|
27
|
-
border-radius: 10px;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.seafile-editor {
|
|
31
|
-
position: fixed;
|
|
32
|
-
width: 100%;
|
|
33
|
-
height: 100%;
|
|
34
|
-
min-width: 960px;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.seafile-editor-main {
|
|
38
|
-
height: calc(100% - 96px);
|
|
39
|
-
width: 100%;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
/* fix plain editor main height */
|
|
43
|
-
.plain-editor-main {
|
|
44
|
-
height: calc(100% - 68px);
|
|
45
|
-
}
|
|
46
|
-
.seafile-editor-topbar {
|
|
47
|
-
width: 100%;
|
|
48
|
-
height: 68px;
|
|
49
|
-
background-color: #fff;
|
|
50
|
-
padding: 0px 10px;
|
|
51
|
-
border-bottom: 1px solid #e5e5e5;
|
|
52
|
-
box-shadow: 0 3px 2px -2px rgba(200,200,200,.15);
|
|
53
|
-
user-select: none;
|
|
54
|
-
display: flex;
|
|
55
|
-
justify-content: space-between;
|
|
56
|
-
align-items: center;
|
|
57
|
-
position: relative;
|
|
58
|
-
z-index: 3;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
.seafile-rich-editor-topbar {
|
|
63
|
-
width: 100%;
|
|
64
|
-
background-color: #fff;
|
|
65
|
-
border-bottom: 1px solid #e5e5e5;
|
|
66
|
-
box-shadow: 0 3px 2px -2px rgba(200,200,200,.15);
|
|
67
|
-
user-select: none;
|
|
68
|
-
position: relative;
|
|
69
|
-
z-index: 3;
|
|
70
|
-
display: flex;
|
|
71
|
-
justify-content: space-between;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.seafile-rich-editor-topbar .use-help-icon {
|
|
75
|
-
background-color: #fff;
|
|
76
|
-
box-sizing: border-box;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.seafile-editor-side-panel {
|
|
80
|
-
width: 300px;
|
|
81
|
-
height: 100%;
|
|
82
|
-
background-color: #fff;
|
|
83
|
-
border-left: 1px solid rgb(230,230,221);
|
|
84
|
-
position: relative;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.seafile-editor-main-panel {
|
|
88
|
-
height: 100%;
|
|
89
|
-
background-color: rgb(250,250,249);
|
|
90
|
-
overflow-x: hidden;
|
|
91
|
-
display: flex;
|
|
92
|
-
flex: 0 0 1;
|
|
93
|
-
position: relative;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.plain-editor-left-panel {
|
|
97
|
-
height: 100%;
|
|
98
|
-
width: 50%;
|
|
99
|
-
background-color: #fff;
|
|
100
|
-
border-right: 1px solid rgb(230,230,221);
|
|
101
|
-
overflow-y: scroll;
|
|
102
|
-
overflow-x: hidden;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.plain-editor-right-panel {
|
|
106
|
-
height: 100%;
|
|
107
|
-
width: 50%;
|
|
108
|
-
background-color: rgb(250,250,249);
|
|
109
|
-
overflow-y: scroll;
|
|
110
|
-
overflow-x: hidden;
|
|
111
|
-
}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
.sf-md-viewer-topbar-second {
|
|
2
|
-
border-bottom: 1px solid #e5e5e5;
|
|
3
|
-
box-shadow: 0 3px 2px -2px rgba(200,200,200,.15);
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
.sf-related-files-bar {
|
|
7
|
-
display: flex;
|
|
8
|
-
padding: 4px 8px;
|
|
9
|
-
border-right: 1px solid #e6e6dd;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.sf-related-files-bar a {
|
|
13
|
-
color: #212529;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.sf-related-files-bar a:hover {
|
|
17
|
-
color: #212529;
|
|
18
|
-
text-decoration: none;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.edit-related-file {
|
|
22
|
-
color: #666;
|
|
23
|
-
font-size: 14px;
|
|
24
|
-
margin-left: 10px;
|
|
25
|
-
cursor: pointer;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.edit-related-file:hover {
|
|
29
|
-
text-decoration: underline;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.sf-files-tags, .no-file-tag {
|
|
33
|
-
display: flex;
|
|
34
|
-
flex-wrap: wrap;
|
|
35
|
-
border-left: 1px solid #e6e6dd;
|
|
36
|
-
border-right: 1px solid #e6e6dd;
|
|
37
|
-
margin-bottom: 0;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.no-file-tag {
|
|
41
|
-
padding: 4px 10px;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.no-related-file {
|
|
45
|
-
margin: 0 2px;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.sf-files-tag {
|
|
49
|
-
margin: 4px 8px;
|
|
50
|
-
width: max-content;
|
|
51
|
-
display: flex;
|
|
52
|
-
align-items: center;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.sf-files-tag:last-child {
|
|
56
|
-
background: none;
|
|
57
|
-
font-size: 14px;
|
|
58
|
-
color: #666;
|
|
59
|
-
cursor: pointer;
|
|
60
|
-
margin-left: 0;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.sf-files-tag:last-child:hover {
|
|
64
|
-
text-decoration: underline;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.sf-files-tag .file-tag-icon {
|
|
68
|
-
width: 12px;
|
|
69
|
-
height: 12px;
|
|
70
|
-
border-radius: 50%;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.sf-files-tag .file-tag-name {
|
|
74
|
-
margin-left: 5px;
|
|
75
|
-
white-space: nowrap;
|
|
76
|
-
}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
var defaultStyle = {
|
|
2
|
-
control: {
|
|
3
|
-
backgroundColor: '#fff',
|
|
4
|
-
fontSize: 14,
|
|
5
|
-
fontWeight: 'normal'
|
|
6
|
-
},
|
|
7
|
-
highlighter: {
|
|
8
|
-
overflow: 'hidden'
|
|
9
|
-
},
|
|
10
|
-
input: {
|
|
11
|
-
margin: 0
|
|
12
|
-
},
|
|
13
|
-
'&singleLine': {
|
|
14
|
-
control: {
|
|
15
|
-
display: 'inline-block',
|
|
16
|
-
width: 130
|
|
17
|
-
},
|
|
18
|
-
highlighter: {
|
|
19
|
-
padding: 1,
|
|
20
|
-
border: '2px inset transparent'
|
|
21
|
-
},
|
|
22
|
-
input: {
|
|
23
|
-
padding: 1,
|
|
24
|
-
border: '2px inset'
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
'&multiLine': {
|
|
28
|
-
control: {},
|
|
29
|
-
highlighter: {
|
|
30
|
-
padding: 9
|
|
31
|
-
},
|
|
32
|
-
input: {
|
|
33
|
-
padding: '8px 6px',
|
|
34
|
-
minHeight: 90,
|
|
35
|
-
height: 90,
|
|
36
|
-
border: '1px solid #e6e6dd',
|
|
37
|
-
borderBottom: 'none',
|
|
38
|
-
borderRadius: '5px 5px 0 0',
|
|
39
|
-
overfflowY: 'auto',
|
|
40
|
-
outline: 'none',
|
|
41
|
-
'&focused': {
|
|
42
|
-
/*
|
|
43
|
-
backgroundColor: '#cee4e5',
|
|
44
|
-
outlineOffset: '-2px',
|
|
45
|
-
outlineColor: '-webkit-focus-ring-color',
|
|
46
|
-
outlineStyle: 'auto',
|
|
47
|
-
outlineWidth: '0px',
|
|
48
|
-
*/
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
suggestions: {
|
|
53
|
-
list: {
|
|
54
|
-
backgroundColor: 'white',
|
|
55
|
-
border: '1px solid rgba(0,0,0,0.15)',
|
|
56
|
-
fontSize: 14,
|
|
57
|
-
maxHeight: 200,
|
|
58
|
-
overflow: 'auto',
|
|
59
|
-
position: 'absolute',
|
|
60
|
-
bottom: 14,
|
|
61
|
-
width: '150px'
|
|
62
|
-
},
|
|
63
|
-
item: {
|
|
64
|
-
width: 'auto',
|
|
65
|
-
padding: '5px 15px',
|
|
66
|
-
overflowX: 'auto',
|
|
67
|
-
borderBottom: '1px solid rgba(0,0,0,0.15)',
|
|
68
|
-
'&focused': {
|
|
69
|
-
backgroundColor: '#f19654',
|
|
70
|
-
color: '#fff',
|
|
71
|
-
fontWeight: '400'
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
};
|
|
76
|
-
export { defaultStyle };
|
|
@@ -1,184 +0,0 @@
|
|
|
1
|
-
.seafile-comment {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
height: 100%;
|
|
5
|
-
}
|
|
6
|
-
.seafile-comment-list {
|
|
7
|
-
overflow-y: auto;
|
|
8
|
-
}
|
|
9
|
-
.seafile-comment-list .comment-vacant {
|
|
10
|
-
padding: 1em;
|
|
11
|
-
text-align: center;
|
|
12
|
-
}
|
|
13
|
-
.seafile-comment-item {
|
|
14
|
-
padding: 15px 10px;
|
|
15
|
-
margin-bottom: 0;
|
|
16
|
-
}
|
|
17
|
-
.seafile-comment-item .seafile-comment-info {
|
|
18
|
-
padding-bottom: 0.5em;
|
|
19
|
-
height: 3em;
|
|
20
|
-
display: flex;
|
|
21
|
-
justify-content: flex-start;
|
|
22
|
-
}
|
|
23
|
-
.seafile-comment-item .seafile-comment-info .reviewer-info {
|
|
24
|
-
padding-left: 10px;
|
|
25
|
-
max-width: 75%;
|
|
26
|
-
}
|
|
27
|
-
.seafile-comment-item .seafile-comment-info .review-time {
|
|
28
|
-
font-size: 10px;
|
|
29
|
-
color: #777;
|
|
30
|
-
}
|
|
31
|
-
.seafile-comment-item .seafile-comment-info .seafile-comment-dropdown {
|
|
32
|
-
margin-left: auto;
|
|
33
|
-
}
|
|
34
|
-
.seafile-comment-item .seafile-comment-info .seafile-comment-dropdown button {
|
|
35
|
-
border: none;
|
|
36
|
-
box-shadow: none;
|
|
37
|
-
background-color: #fff;
|
|
38
|
-
}
|
|
39
|
-
.seafile-comment-item .seafile-comment-info .seafile-comment-dropdown .seafile-comment-dropdown-btn {
|
|
40
|
-
color: #999;
|
|
41
|
-
background-color: transparent;
|
|
42
|
-
}
|
|
43
|
-
.seafile-comment-item .seafile-comment-info .seafile-comment-dropdown:hover .seafile-comment-dropdown-btn {
|
|
44
|
-
color: #555;
|
|
45
|
-
}
|
|
46
|
-
.seafile-comment-item .seafile-comment-info .seafile-comment-dropdown button:hover,
|
|
47
|
-
.seafile-comment-item .seafile-comment-info .seafile-comment-dropdown button:focus {
|
|
48
|
-
border: none;
|
|
49
|
-
box-shadow: none;
|
|
50
|
-
background-color: #eee;
|
|
51
|
-
}
|
|
52
|
-
.seafile-comment-item .seafile-comment-content {
|
|
53
|
-
margin-left: 42px;
|
|
54
|
-
padding: 5px 10px;
|
|
55
|
-
border-radius: 4px;
|
|
56
|
-
background: #fff;
|
|
57
|
-
}
|
|
58
|
-
.seafile-comment-item .seafile-comment-content p {
|
|
59
|
-
word-break: break-all;
|
|
60
|
-
}
|
|
61
|
-
.seafile-comment-item blockquote {
|
|
62
|
-
cursor: pointer;
|
|
63
|
-
}
|
|
64
|
-
.seafile-comment-item .seafile-comment-content ol,
|
|
65
|
-
.seafile-comment-item .seafile-comment-content ul,
|
|
66
|
-
.seafile-comment-item .seafile-comment-content li {
|
|
67
|
-
margin-left: 10px;
|
|
68
|
-
}
|
|
69
|
-
.seafile-comment-item .seafile-comment-content table,
|
|
70
|
-
.seafile-comment-item .seafile-comment-content th,
|
|
71
|
-
.seafile-comment-item .seafile-comment-content td {
|
|
72
|
-
border: 1px solid #333;
|
|
73
|
-
}
|
|
74
|
-
.seafile-comment-item-resolved {
|
|
75
|
-
background-color: #e6ffed;
|
|
76
|
-
}
|
|
77
|
-
.seafile-comment-footer {
|
|
78
|
-
padding: 10px 10px;
|
|
79
|
-
border-top: 1px solid #e5e5e5;
|
|
80
|
-
display: flex;
|
|
81
|
-
flex-direction: column;
|
|
82
|
-
min-height: 150px;
|
|
83
|
-
max-height: 300px;
|
|
84
|
-
}
|
|
85
|
-
.seafile-comment-footer .add-comment-input,
|
|
86
|
-
.seafile-edit-comment .edit-comment-input {
|
|
87
|
-
border: 1px solid #e6e6dd;
|
|
88
|
-
padding: 5px;
|
|
89
|
-
min-height: 90px;
|
|
90
|
-
border-radius: 5px;
|
|
91
|
-
background-color: #fff;
|
|
92
|
-
width: 100%;
|
|
93
|
-
}
|
|
94
|
-
.seafile-comment-footer .add-comment-input {
|
|
95
|
-
border-bottom: none;
|
|
96
|
-
border-radius: 5px 5px 0 0;
|
|
97
|
-
}
|
|
98
|
-
.seafile-comment-footer .add-comment-input:focus {
|
|
99
|
-
outline: none;
|
|
100
|
-
}
|
|
101
|
-
.seafile-comment-footer .comment-submit-container {
|
|
102
|
-
border: 1px solid #e6e6dd;
|
|
103
|
-
border-top: none;
|
|
104
|
-
border-radius: 0 0 5px 5px;
|
|
105
|
-
padding: 5px;
|
|
106
|
-
background: #fff;
|
|
107
|
-
text-align: right;
|
|
108
|
-
position: relative;
|
|
109
|
-
}
|
|
110
|
-
.seafile-comment-footer .comment-submit-container::before {
|
|
111
|
-
border-top: 1px solid #e6e6dd;
|
|
112
|
-
content: '';
|
|
113
|
-
position: absolute;
|
|
114
|
-
left: 5px;
|
|
115
|
-
right: 5px;
|
|
116
|
-
top: 0;
|
|
117
|
-
}
|
|
118
|
-
.seafile-comment-footer .submit-comment {
|
|
119
|
-
height: 28px;
|
|
120
|
-
}
|
|
121
|
-
.seafile-edit-comment .comment-btn {
|
|
122
|
-
height: 28px;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
.seafile-viewer-comment-btn {
|
|
126
|
-
position: absolute;
|
|
127
|
-
top: 0;
|
|
128
|
-
right: 5000px;
|
|
129
|
-
border: 1px solid rgba(0, 40, 100, 0.12);
|
|
130
|
-
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
|
|
131
|
-
border-radius: 3px;
|
|
132
|
-
background-color: #fff;
|
|
133
|
-
padding: 5px;
|
|
134
|
-
}
|
|
135
|
-
.seafile-viewer-comment-btn:hover {
|
|
136
|
-
cursor: pointer;
|
|
137
|
-
background-color: #eee;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
.comment-dialog {
|
|
141
|
-
width: 500px;
|
|
142
|
-
position: absolute;
|
|
143
|
-
top: 30%;
|
|
144
|
-
right: 0;
|
|
145
|
-
padding: 15px;
|
|
146
|
-
background-color: #fafafa;
|
|
147
|
-
border: 1px solid rgba(0,0,0,.2);
|
|
148
|
-
border-radius: .3rem;
|
|
149
|
-
box-shadow: 0 0 3px #ccc;
|
|
150
|
-
z-index: 1000;
|
|
151
|
-
}
|
|
152
|
-
.comment-dialog-triangle {
|
|
153
|
-
position: absolute;
|
|
154
|
-
left: -5px;
|
|
155
|
-
top: 50%;
|
|
156
|
-
transform: rotate(45deg);
|
|
157
|
-
border: 1px solid rgba(0,0,0,.2);
|
|
158
|
-
border-top: none;
|
|
159
|
-
border-right: none;
|
|
160
|
-
width: 10px;
|
|
161
|
-
height: 10px;
|
|
162
|
-
background-color: #fafafa;
|
|
163
|
-
box-shadow: -1px 1px #ccc;
|
|
164
|
-
}
|
|
165
|
-
.comment-dialog textarea {
|
|
166
|
-
width: 100%;
|
|
167
|
-
min-height: 100px;
|
|
168
|
-
max-height: 300px;
|
|
169
|
-
padding: 5px;
|
|
170
|
-
background-color: #fff;
|
|
171
|
-
}
|
|
172
|
-
.comment-dialog .button-group .btn {
|
|
173
|
-
margin-right: 10px;
|
|
174
|
-
}
|
|
175
|
-
.comment-dialog .comment-dialog-quote {
|
|
176
|
-
margin-top: 10px;
|
|
177
|
-
max-height: 6rem;
|
|
178
|
-
overflow: auto;
|
|
179
|
-
padding-left: 1rem;
|
|
180
|
-
}
|
|
181
|
-
.comment-dialog .comment-dialog-quote ul,
|
|
182
|
-
.comment-dialog .comment-dialog-quote ol {
|
|
183
|
-
padding-left: 1rem;
|
|
184
|
-
}
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
.dirent-table-container tr {
|
|
2
|
-
border: none;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.dirent-table-container th,
|
|
6
|
-
.dirent-table-container td {
|
|
7
|
-
padding: 5px 3px;
|
|
8
|
-
border: none;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.dirent-table-container th {
|
|
12
|
-
font-size: 13px;
|
|
13
|
-
text-align: left;
|
|
14
|
-
font-weight: normal;
|
|
15
|
-
color: #9c9c9c;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.dirent-table-container td {
|
|
19
|
-
font-size: 14px;
|
|
20
|
-
color: #333;
|
|
21
|
-
word-break: break-all;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.dirent-table-container .file-tag-container th {
|
|
25
|
-
vertical-align: top;
|
|
26
|
-
list-style: none;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.dirent-table-container .file-tag-container .tag-list {
|
|
30
|
-
list-style: none;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.file-tag-list li {
|
|
34
|
-
display: flex;
|
|
35
|
-
align-items: center;
|
|
36
|
-
max-width: 180px;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.file-tag-list .file-tag-item {
|
|
40
|
-
margin: .25rem 0;
|
|
41
|
-
padding: 0 .5rem;
|
|
42
|
-
width: max-content;
|
|
43
|
-
cursor: pointer;
|
|
44
|
-
background-color: #eee;
|
|
45
|
-
border-radius: 1rem;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.file-tag-list .file-tag-item .file-tag {
|
|
49
|
-
width: 12px;
|
|
50
|
-
height: 12px;
|
|
51
|
-
position: relative;
|
|
52
|
-
display: inline-block;
|
|
53
|
-
width: 1rem;
|
|
54
|
-
height: 1rem;
|
|
55
|
-
border-radius: 50%;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.file-tag-list .tag-name {
|
|
59
|
-
display: inline-block;
|
|
60
|
-
margin-left: 5px;
|
|
61
|
-
width: 80px;
|
|
62
|
-
text-overflow: ellipsis;
|
|
63
|
-
overflow: hidden;
|
|
64
|
-
white-space: nowrap;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.file-related-files th {
|
|
68
|
-
vertical-align: top;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.file-related-files td i {
|
|
72
|
-
padding: 0;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.file-related-files td ul {
|
|
76
|
-
list-style: none;
|
|
77
|
-
max-height: 100px;
|
|
78
|
-
overflow-y: scroll;
|
|
79
|
-
white-space: nowrap;
|
|
80
|
-
overflow-x: hidden;
|
|
81
|
-
text-overflow: ellipsis;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.file-related-files td ul li {
|
|
85
|
-
margin-bottom: 5px;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.file-related-files ul li a,
|
|
89
|
-
.list-related-file-table tr td a {
|
|
90
|
-
color: #333;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.list-related-file-body {
|
|
94
|
-
min-height: 200px;
|
|
95
|
-
max-height: 500px;
|
|
96
|
-
overflow-y: scroll;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.detail-container .tab-content {
|
|
100
|
-
height: calc(100% - 73px);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.detail-container .nav-item .nav-link, .detail-container .nav-item .nav-link i {
|
|
104
|
-
margin: 0 auto;
|
|
105
|
-
}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
.seafile-editor-module .info-item {
|
|
3
|
-
display: flex;
|
|
4
|
-
flex-direction: row;
|
|
5
|
-
font-size: 16px;
|
|
6
|
-
padding: 5px;
|
|
7
|
-
box-sizing: border-box;
|
|
8
|
-
justify-content: space-between;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.seafile-editor-module .info-item-title {
|
|
12
|
-
flex: 0 0 160px;
|
|
13
|
-
height: 100%;
|
|
14
|
-
color: #a5a4a2;
|
|
15
|
-
height: 35px;
|
|
16
|
-
line-height: 35px;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.seafile-editor-module .info-item-title i {
|
|
20
|
-
margin-right: 4px;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.seafile-editor-module .info-item-content {
|
|
24
|
-
flex: 1 1 auto;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.seafile-editor-module .info-item-content:hover {
|
|
28
|
-
background: #f7f7f7;
|
|
29
|
-
border-radius: 5px;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.seafile-editor-module .info-item-content input{
|
|
33
|
-
height: 35px;
|
|
34
|
-
background-color: transparent;
|
|
35
|
-
border: none;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.seafile-editor-module .participants-item {
|
|
39
|
-
display: inline-block;
|
|
40
|
-
margin-right: 5px;
|
|
41
|
-
line-height: 35px;
|
|
42
|
-
height: 35px;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.seafile-editor-module .participants-item .avatar {
|
|
46
|
-
width: 24px;
|
|
47
|
-
height: 24px;
|
|
48
|
-
vertical-align: middle;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.seafile-editor-module .select-module.select-module-name {
|
|
52
|
-
margin-left: 5px;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.seafile-editor-module .rc-calendar-table tr {
|
|
56
|
-
height: 1.75rem;
|
|
57
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
.participants {
|
|
2
|
-
min-height: 30px;
|
|
3
|
-
}
|
|
4
|
-
.participants .avatar {
|
|
5
|
-
width: 28px;
|
|
6
|
-
height: 28px;
|
|
7
|
-
border: 2px solid #fff;
|
|
8
|
-
}
|
|
9
|
-
.participants .add-participants {
|
|
10
|
-
position: absolute;
|
|
11
|
-
cursor: pointer;
|
|
12
|
-
bottom: -3px;
|
|
13
|
-
}
|
|
14
|
-
.participants .add-participants i {
|
|
15
|
-
font-size: 16px;
|
|
16
|
-
color: rgb(229, 162, 82);
|
|
17
|
-
border: 2px solid #fff;
|
|
18
|
-
border-radius: 50%;
|
|
19
|
-
}
|
|
20
|
-
.participants .participant-avatar, .participants .add-participants {
|
|
21
|
-
margin-right: -0.5rem;
|
|
22
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
.editor-main-panel {
|
|
2
|
-
background-color: rgb(250, 250, 249);
|
|
3
|
-
height: 100%;
|
|
4
|
-
width: 100%;
|
|
5
|
-
display: flex;
|
|
6
|
-
overflow-y: auto;
|
|
7
|
-
overflow-x: hidden;
|
|
8
|
-
position: relative;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.editor-container {
|
|
12
|
-
/* this container is needed to show the scroll bar */
|
|
13
|
-
height: 100%;
|
|
14
|
-
overflow-y: auto;
|
|
15
|
-
flex: 1 1 auto;
|
|
16
|
-
position: relative;
|
|
17
|
-
}
|
|
18
|
-
.editor {
|
|
19
|
-
min-height: calc(100% - 40px);
|
|
20
|
-
background: #fff;
|
|
21
|
-
padding: 40px 60px;
|
|
22
|
-
margin: 20px 40px;
|
|
23
|
-
border: 1px solid rgb(230,230,221);
|
|
24
|
-
overflow-x: hidden;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.rich-editor-container {
|
|
28
|
-
width: 80%;
|
|
29
|
-
flex: 1, 1, auto;
|
|
30
|
-
height: 100%;
|
|
31
|
-
margin: 0 auto;
|
|
32
|
-
}
|