ronds-metadata 1.2.41 → 1.2.43
Sign up to get free protection for your applications and to get access to all the features.
- package/es/comps/MdEditPro/index.less +149 -108
- package/es/config.js +2 -2
- package/package.json +1 -1
@@ -1,108 +1,149 @@
|
|
1
|
-
/* ---- Cross-editor content styles. --------------------------------------------------------------- */
|
2
|
-
.ck.ck-content:not(.ck-style-grid__button__preview) {
|
3
|
-
/* Make sure all content containers have some min height to make them easier to locate. */
|
4
|
-
min-height: 300px;
|
5
|
-
padding: 10px 20px;
|
6
|
-
color: var(--ronds-metadata-color-text-2) !important;
|
7
|
-
background-color: var(--ronds-metadata-color-bg-5) !important;
|
8
|
-
border: 1px solid var(--ronds-metadata-color-border-1) !important;
|
9
|
-
}
|
10
|
-
.ck .ck-editor {
|
11
|
-
background-color: var(--ronds-metadata-color-bg-5) !important;
|
12
|
-
}
|
13
|
-
|
14
|
-
.ck
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
.ck .ck-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
}
|
28
|
-
|
29
|
-
.ck.ck-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
.ck .ck-
|
37
|
-
color: var(--
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
.ck-content
|
51
|
-
font-size:
|
52
|
-
}
|
53
|
-
.ck-content
|
54
|
-
font-size:
|
55
|
-
}
|
56
|
-
.ck-content
|
57
|
-
font-size:
|
58
|
-
}
|
59
|
-
.ck-content
|
60
|
-
font-size: 15px;
|
61
|
-
}
|
62
|
-
.ck-content
|
63
|
-
font-size: 15px;
|
64
|
-
}
|
65
|
-
.ck-content
|
66
|
-
|
67
|
-
|
68
|
-
.ck-content
|
69
|
-
.ck-content
|
70
|
-
.ck-content
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
.ck-content
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
//
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
.ck-content .
|
107
|
-
margin: 0px !important;
|
108
|
-
}
|
1
|
+
/* ---- Cross-editor content styles. --------------------------------------------------------------- */
|
2
|
+
.ck.ck-content:not(.ck-style-grid__button__preview) {
|
3
|
+
/* Make sure all content containers have some min height to make them easier to locate. */
|
4
|
+
min-height: 300px;
|
5
|
+
padding: 10px 20px;
|
6
|
+
color: var(--ronds-metadata-color-text-2) !important;
|
7
|
+
background-color: var(--ronds-metadata-color-bg-5) !important;
|
8
|
+
border: 1px solid var(--ronds-metadata-color-border-1) !important;
|
9
|
+
}
|
10
|
+
.ck .ck-editor {
|
11
|
+
background-color: var(--ronds-metadata-color-bg-5) !important;
|
12
|
+
}
|
13
|
+
|
14
|
+
.ck-content pre {
|
15
|
+
background-color: var(--ronds-metadata-color-bg-2) !important;
|
16
|
+
border: 1px solid var(--ronds-metadata-color-border-1) !important;
|
17
|
+
}
|
18
|
+
|
19
|
+
.ck.ck-toolbar,
|
20
|
+
.ck .ck-editor__top {
|
21
|
+
color: var(--ronds-metadata-color-text-2) !important;
|
22
|
+
background-color: var(--ronds-metadata-color-bg-5) !important;
|
23
|
+
}
|
24
|
+
|
25
|
+
.ck .ck-toolbar {
|
26
|
+
border: 1px solid var(--ronds-metadata-color-border-1) !important;
|
27
|
+
}
|
28
|
+
|
29
|
+
.ck .ck-list {
|
30
|
+
color: var(--ronds-metadata-color-text-2) !important;
|
31
|
+
background-color: var(--ronds-metadata-color-bg-5) !important;
|
32
|
+
}
|
33
|
+
|
34
|
+
.ck.ck-button,
|
35
|
+
.ck .ck-button__label,
|
36
|
+
.ck .ck-toolbar__items {
|
37
|
+
color: var(--ronds-metadata-color-text-2) !important;
|
38
|
+
}
|
39
|
+
|
40
|
+
.ck .ck-toolbar__separator {
|
41
|
+
background-color: var(--ronds-metadata-color-border-1) !important;
|
42
|
+
}
|
43
|
+
|
44
|
+
/* Make sure all content containers are distinguishable on a web page even of not focused. */
|
45
|
+
.ck.ck-content:not(:focus) {
|
46
|
+
border: 1px solid var(--ck-color-base-border);
|
47
|
+
}
|
48
|
+
|
49
|
+
/* Font sizes and vertical rhythm for common elements (headings, lists, paragraphs, etc.) */
|
50
|
+
.ck-content h1 {
|
51
|
+
font-size: 28px;
|
52
|
+
}
|
53
|
+
.ck-content h2 {
|
54
|
+
font-size: 18px;
|
55
|
+
}
|
56
|
+
.ck-content h3 {
|
57
|
+
font-size: 16px;
|
58
|
+
}
|
59
|
+
.ck-content h4 {
|
60
|
+
font-size: 15px;
|
61
|
+
}
|
62
|
+
.ck-content h5 {
|
63
|
+
font-size: 15px;
|
64
|
+
}
|
65
|
+
.ck-content h6 {
|
66
|
+
font-size: 15px;
|
67
|
+
}
|
68
|
+
.ck-content h1,
|
69
|
+
.ck-content h2,
|
70
|
+
.ck-content h3,
|
71
|
+
.ck-content h4,
|
72
|
+
.ck-content h5,
|
73
|
+
.ck-content h6 {
|
74
|
+
color: var(--ronds-metadata-color-text-2) !important;
|
75
|
+
margin: 42px 0 18px;
|
76
|
+
font-weight: 600;
|
77
|
+
line-height: 1.40625;
|
78
|
+
}
|
79
|
+
.ck-content blockquote,
|
80
|
+
.ck-content ol,
|
81
|
+
.ck-content p,
|
82
|
+
.ck-content ul {
|
83
|
+
font-size: 15px;
|
84
|
+
line-height: 1.40625;
|
85
|
+
padding-top: 10px;
|
86
|
+
margin-bottom: var(--ck-spacing-large);
|
87
|
+
}
|
88
|
+
|
89
|
+
// .ck-content ol,
|
90
|
+
// .ck-content ul {
|
91
|
+
// margin-left: 10px !important;
|
92
|
+
// }
|
93
|
+
|
94
|
+
.ck-content ul li {
|
95
|
+
list-style: disc !important;
|
96
|
+
}
|
97
|
+
|
98
|
+
.ck-content ol li {
|
99
|
+
list-style: decimal !important;
|
100
|
+
}
|
101
|
+
|
102
|
+
.ck.ck-content.ck-editor__editable_inline > :first-child {
|
103
|
+
margin-top: 0;
|
104
|
+
}
|
105
|
+
|
106
|
+
.ck-content .table {
|
107
|
+
margin: 0px !important;
|
108
|
+
}
|
109
|
+
.ck-content .image {
|
110
|
+
margin: 0px !important;
|
111
|
+
}
|
112
|
+
|
113
|
+
.ronds-metadata-dark {
|
114
|
+
.ck {
|
115
|
+
th {
|
116
|
+
background-color: #0d1f40 !important;
|
117
|
+
}
|
118
|
+
table,
|
119
|
+
.ck-content .table table td,
|
120
|
+
.ck-content .table table th {
|
121
|
+
color: #9b9fa8 !important;
|
122
|
+
border: 1px solid var(--ronds-metadata-color-border-1) !important;
|
123
|
+
}
|
124
|
+
code {
|
125
|
+
color: #9b9fa8 !important;
|
126
|
+
}
|
127
|
+
code[class*='language-'],
|
128
|
+
pre[class*='language-'] {
|
129
|
+
text-shadow: none;
|
130
|
+
}
|
131
|
+
.ck.ck-button:hover,
|
132
|
+
a.ck.ck-button:hover {
|
133
|
+
background-color: #1d4085 !important;
|
134
|
+
}
|
135
|
+
.ck .ck-on {
|
136
|
+
color: var(--ck-color-button-on-color) !important;
|
137
|
+
background-color: #1d4085 !important;
|
138
|
+
}
|
139
|
+
.ck-dropdown__panel {
|
140
|
+
border: 1px solid var(--ronds-metadata-color-border-1) !important;
|
141
|
+
background-color: var(--ronds-metadata-color-bg-5) !important;
|
142
|
+
}
|
143
|
+
.ck .ck-form__header__label,
|
144
|
+
.ck-character-info__name,
|
145
|
+
.ck-special-characters-navigation {
|
146
|
+
color: var(--ck-color-button-on-color) !important;
|
147
|
+
}
|
148
|
+
}
|
149
|
+
}
|
package/es/config.js
CHANGED
@@ -2,7 +2,7 @@ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
2
2
|
/*
|
3
3
|
* @Author: wangxian
|
4
4
|
* @Date: 2021-09-18 14:15:04
|
5
|
-
* @LastEditTime: 2023-05-05
|
5
|
+
* @LastEditTime: 2023-05-05 11:25:35
|
6
6
|
*/
|
7
7
|
import { BehaviorSubject, map, distinctUntilChanged } from 'rxjs';
|
8
8
|
import { setLocale } from './comps/locales/index';
|
@@ -11,7 +11,7 @@ import { localeKey } from './framework/locale';
|
|
11
11
|
window.jQuery = window.jQuery || jq;
|
12
12
|
var defaultConfig = {
|
13
13
|
locale: window.localStorage.getItem(localeKey) || 'zh-CN',
|
14
|
-
theme: '
|
14
|
+
theme: 'normal',
|
15
15
|
msgpack: false,
|
16
16
|
openLoading: true,
|
17
17
|
baseUrl: '/phm'
|