@ebl-vue/editor-render 2.31.25 → 2.31.28
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/index.d.ts +1 -0
- package/dist/index.mjs +120 -101
- package/dist/index.mjs.map +1 -1
- package/dist/style.css +1 -1
- package/dist/styles/list.css +184 -164
- package/dist/styles/quote.css +1 -1
- package/package.json +1 -1
- package/src/EditorRender.vue +0 -43
- package/src/components/List.vue +0 -40
- package/src/components/alert.vue +0 -21
- package/src/components/code.vue +0 -114
- package/src/components/delimiter.vue +0 -19
- package/src/components/h1.vue +0 -19
- package/src/components/h2.vue +0 -19
- package/src/components/h3.vue +0 -19
- package/src/components/h4.vue +0 -19
- package/src/components/h5.vue +0 -19
- package/src/components/h6.vue +0 -19
- package/src/components/image.vue +0 -31
- package/src/components/index.ts +0 -54
- package/src/components/paragraph.vue +0 -19
- package/src/components/quote.vue +0 -21
- package/src/components/table.vue +0 -46
- package/src/constants/index.ts +0 -1
- package/src/i18n/zh-cn.ts +0 -158
- package/src/icons/index.ts +0 -93
- package/src/index.ts +0 -12
- package/src/installer.ts +0 -21
- package/src/styles/alert.css +0 -151
- package/src/styles/block-alignment.css +0 -9
- package/src/styles/code.css +0 -214
- package/src/styles/color.css +0 -27
- package/src/styles/delimiter.css +0 -14
- package/src/styles/header.css +0 -20
- package/src/styles/image.css +0 -156
- package/src/styles/indent.css +0 -86
- package/src/styles/index.css +0 -68
- package/src/styles/inline-code.css +0 -11
- package/src/styles/list.css +0 -202
- package/src/styles/marker.css +0 -4
- package/src/styles/outline.css +0 -52
- package/src/styles/paragraph.css +0 -23
- package/src/styles/quote.css +0 -26
- package/src/styles/table.css +0 -388
- package/src/styles/underline.css +0 -3
- package/src/types.ts +0 -5
- package/src/utils/index.ts +0 -15
- package/src/utils/install.ts +0 -19
- package/tsconfig.json +0 -37
- package/vite.config.ts +0 -80
package/src/styles/delimiter.css
DELETED
package/src/styles/header.css
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Plugin styles
|
|
3
|
-
*/
|
|
4
|
-
.ce-header {
|
|
5
|
-
padding: 15px 0 3px;
|
|
6
|
-
margin: 0;
|
|
7
|
-
line-height: 1.25;
|
|
8
|
-
outline: none;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.ce-header p,
|
|
12
|
-
.ce-header div{
|
|
13
|
-
padding: 0 !important;
|
|
14
|
-
margin: 0 !important;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Styles for Plugin icon in Toolbar
|
|
19
|
-
*/
|
|
20
|
-
.ce-header__icon {}
|
package/src/styles/image.css
DELETED
|
@@ -1,156 +0,0 @@
|
|
|
1
|
-
.image-tool {
|
|
2
|
-
--bg-color: #cdd1e0;
|
|
3
|
-
--front-color: #388ae5;
|
|
4
|
-
--border-color: #e8e8eb;
|
|
5
|
-
display: inline-block;
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
.image-tool__image {
|
|
11
|
-
border-radius: 3px;
|
|
12
|
-
overflow: hidden;
|
|
13
|
-
margin-bottom: 10px;
|
|
14
|
-
padding-bottom: 0;
|
|
15
|
-
user-select:none;
|
|
16
|
-
pointer-events:none;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.image-tool__image-picture {
|
|
20
|
-
max-width: 100%;
|
|
21
|
-
vertical-align: bottom;
|
|
22
|
-
display: inline-block;
|
|
23
|
-
user-select:none;
|
|
24
|
-
pointer-events:none;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.image-tool__image-preloader {
|
|
28
|
-
width: 150px;
|
|
29
|
-
height: 150px;
|
|
30
|
-
border-radius: 50%;
|
|
31
|
-
background-size: cover;
|
|
32
|
-
margin: auto;
|
|
33
|
-
position: relative;
|
|
34
|
-
background-color: var(--bg-color);
|
|
35
|
-
background-position: center center
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.image-tool__image-preloader:after {
|
|
39
|
-
content: "";
|
|
40
|
-
position: absolute;
|
|
41
|
-
z-index: 3;
|
|
42
|
-
width: 60px;
|
|
43
|
-
height: 60px;
|
|
44
|
-
border-radius: 50%;
|
|
45
|
-
border: 2px solid var(--bg-color);
|
|
46
|
-
border-top-color: var(--front-color);
|
|
47
|
-
left: 50%;
|
|
48
|
-
top: 50%;
|
|
49
|
-
margin-top: -30px;
|
|
50
|
-
margin-left: -30px;
|
|
51
|
-
animation: image-preloader-spin 2s infinite linear;
|
|
52
|
-
box-sizing: border-box
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.image-tool__caption {
|
|
56
|
-
visibility: hidden;
|
|
57
|
-
position: absolute;
|
|
58
|
-
bottom: 0;
|
|
59
|
-
left: 0;
|
|
60
|
-
margin-bottom: 10px
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.image-tool__caption[contentEditable=true][data-placeholder]:before {
|
|
64
|
-
position: absolute !important;
|
|
65
|
-
content: attr(data-placeholder);
|
|
66
|
-
color: #707684;
|
|
67
|
-
font-weight: 400;
|
|
68
|
-
display: none
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.image-tool__caption[contentEditable=true][data-placeholder]:empty:before {
|
|
72
|
-
display: block
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.image-tool__caption[contentEditable=true][data-placeholder]:empty:focus:before {
|
|
76
|
-
display: none
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.image-tool--empty .image-tool__image,
|
|
80
|
-
.image-tool--empty .image-tool__image-preloader {
|
|
81
|
-
display: none
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.image-tool--empty .image-tool__caption,
|
|
85
|
-
.image-tool--uploading .image-tool__caption {
|
|
86
|
-
visibility: hidden !important
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.image-tool .cdx-button {
|
|
90
|
-
display: none;
|
|
91
|
-
align-items: center;
|
|
92
|
-
justify-content: center
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.image-tool .cdx-button svg {
|
|
96
|
-
height: auto;
|
|
97
|
-
margin: 0 6px 0 0
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.image-tool--filled .cdx-button,
|
|
101
|
-
.image-tool--filled .image-tool__image-preloader {
|
|
102
|
-
display: none
|
|
103
|
-
}
|
|
104
|
-
.image-tool--uploading {
|
|
105
|
-
width: 100%;
|
|
106
|
-
}
|
|
107
|
-
.image-tool--uploading .resizable{
|
|
108
|
-
display: none!important;
|
|
109
|
-
}
|
|
110
|
-
.image-tool--uploading .image-tool__image {
|
|
111
|
-
min-height: 200px;
|
|
112
|
-
display: flex;
|
|
113
|
-
/* border: 1px solid var(--border-color); */
|
|
114
|
-
background-color: #fff
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
.image-tool--uploading .image-tool__image-picture,
|
|
118
|
-
.image-tool--uploading .cdx-button {
|
|
119
|
-
display: none
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
.image-tool--withBorder .image-tool__image {
|
|
123
|
-
border: 1px solid var(--border-color)
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
.image-tool--withBackground .image-tool__image {
|
|
127
|
-
padding: 15px;
|
|
128
|
-
background: var(--bg-color)
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
.image-tool--withBackground .image-tool__image-picture {
|
|
132
|
-
max-width: 60%;
|
|
133
|
-
margin: 0 auto
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
.image-tool--stretched .image-tool__image-picture {
|
|
137
|
-
width: 100%
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
.image-tool--caption .image-tool__caption {
|
|
141
|
-
visibility: visible
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
.image-tool--caption {
|
|
145
|
-
padding-bottom: 50px
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
@keyframes image-preloader-spin {
|
|
149
|
-
0% {
|
|
150
|
-
transform: rotate(0)
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
to {
|
|
154
|
-
transform: rotate(360deg)
|
|
155
|
-
}
|
|
156
|
-
}
|
package/src/styles/indent.css
DELETED
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
.ce-popover-indent-item {
|
|
2
|
-
cursor: default !important;
|
|
3
|
-
display: flex;
|
|
4
|
-
align-items: center;
|
|
5
|
-
padding: 3px;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.ce-popover-indent-item[version^="2.26"] {
|
|
9
|
-
gap: 10px;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.ce-popover-indent-item:hover {
|
|
13
|
-
background-color: transparent !important;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.ce-popover-indent-item .ce-popover-item__icon {
|
|
17
|
-
width: 26px;
|
|
18
|
-
height: 26px;
|
|
19
|
-
cursor: pointer;
|
|
20
|
-
will-change: background-color, color;
|
|
21
|
-
transition: 0.3s background-color, 0.3s color;
|
|
22
|
-
padding-block: 0px;
|
|
23
|
-
padding-inline: 0px;
|
|
24
|
-
border-width: 0px;
|
|
25
|
-
color: var(--color-text-primary, black);
|
|
26
|
-
background-color: #fff;
|
|
27
|
-
border-radius: 5px;
|
|
28
|
-
-webkit-border-radius: 5px;
|
|
29
|
-
-moz-border-radius: 5px;
|
|
30
|
-
-ms-border-radius: 5px;
|
|
31
|
-
-o-border-radius: 5px;
|
|
32
|
-
-webkit-transition: 0.3s background-color, 0.3s color;
|
|
33
|
-
-moz-transition: 0.3s background-color, 0.3s color;
|
|
34
|
-
-ms-transition: 0.3s background-color, 0.3s color;
|
|
35
|
-
-o-transition: 0.3s background-color, 0.3s color;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.ce-popover-indent-item .ce-popover-item--disabled {
|
|
39
|
-
color: var(--color-text-secondary, #707684);
|
|
40
|
-
opacity: 0.3;
|
|
41
|
-
cursor: default;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.ce-popover-indent-item .ce-popover-item__icon:focus {
|
|
45
|
-
outline: none;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.ce-popover-indent-item:is([version^="2.26"], [version^="2.27"], [version^="2.28"], [version^="2.29"]):hover .ce-popover-item__icon {
|
|
49
|
-
box-shadow: 0 0 0 1px var(--color-border-icon, rgba(201, 201, 204, 0.48)) !important;
|
|
50
|
-
-webkit-box-shadow: 0 0 0 1px var(--color-border-icon, rgba(201, 201, 204, 0.48)) !important;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.ce-popover-indent-item:is([version^="2.26"], [version^="2.27"], [version^="2.28"], [version^="2.29"]) .ce-popover-item__icon {
|
|
54
|
-
box-shadow: 0 0 0 1px var(--color-border-icon, rgba(201, 201, 204, 0.48)) !important;
|
|
55
|
-
-webkit-box-shadow: 0 0 0 1px var(--color-border-icon, rgba(201, 201, 204, 0.48)) !important;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.ce-popover-indent-item:is([version^="2.26"], [version^="2.27"], [version^="2.28"], [version^="2.29"]) .ce-popover-item__icon:hover {
|
|
59
|
-
background-color: var(--color-background-item-hover, #eff2f5);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
[data-block-indent-wrapper] {
|
|
63
|
-
/* will-change: padding-left, padding-right;
|
|
64
|
-
transition: padding-left .4s, padding-right .4s;
|
|
65
|
-
-webkit-transition: padding-left .4s, padding-right .4s;
|
|
66
|
-
-moz-transition: padding-left .4s, padding-right .4s;
|
|
67
|
-
-ms-transition: padding-left .4s, padding-right .4s;
|
|
68
|
-
-o-transition: padding-left .4s, padding-right .4s; */
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.ce-highlight-indent {
|
|
72
|
-
display: inline-block;
|
|
73
|
-
height: 1.6em;
|
|
74
|
-
top: 50%;
|
|
75
|
-
position: absolute;
|
|
76
|
-
transform: translate(0px, -50%);
|
|
77
|
-
-webkit-transform: translate(0px, -50%);
|
|
78
|
-
-moz-transform: translate(0px, -50%);
|
|
79
|
-
-ms-transform: translate(0px, -50%);
|
|
80
|
-
-o-transform: translate(0px, -50%);
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
.ce-popover-indent-item[version^="2.3"] .ce-popover-item__title {
|
|
85
|
-
margin-left: 4px;
|
|
86
|
-
}
|
package/src/styles/index.css
DELETED
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
@import './alert.css';
|
|
2
|
-
@import './block-alignment.css';
|
|
3
|
-
@import './code.css';
|
|
4
|
-
@import './delimiter.css';
|
|
5
|
-
@import './header.css';
|
|
6
|
-
@import './image.css';
|
|
7
|
-
@import './indent.css';
|
|
8
|
-
@import './inline-code.css';
|
|
9
|
-
@import './list.css';
|
|
10
|
-
@import './marker.css';
|
|
11
|
-
@import './outline.css';
|
|
12
|
-
@import './paragraph.css';
|
|
13
|
-
@import './quote.css';
|
|
14
|
-
@import './table.css';
|
|
15
|
-
@import './underline.css';
|
|
16
|
-
@import './color.css';
|
|
17
|
-
|
|
18
|
-
.ebl-editor-render{
|
|
19
|
-
cursor:text;
|
|
20
|
-
font-size: 16px;
|
|
21
|
-
font-weight: 400;
|
|
22
|
-
background-color: #fff;
|
|
23
|
-
|
|
24
|
-
height: 100%;
|
|
25
|
-
overflow: hidden;
|
|
26
|
-
position: relative;
|
|
27
|
-
padding-left: 100px;
|
|
28
|
-
padding-right: 100px;
|
|
29
|
-
max-width: 100%;
|
|
30
|
-
padding-right: 280px;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
@media(max-width:1240px){
|
|
34
|
-
.ebl-outline{
|
|
35
|
-
display: none;
|
|
36
|
-
|
|
37
|
-
}
|
|
38
|
-
.ebl-editor.outline{
|
|
39
|
-
padding-right: 0;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
/* 滚动条整体部分 */
|
|
47
|
-
.ebl-editor-render ::-webkit-scrollbar {
|
|
48
|
-
width: 6px; /* 滚动条的宽度 */
|
|
49
|
-
height: 6px; /* 滚动条的高度 */
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
/* 滚动条轨道 */
|
|
53
|
-
.ebl-editor-render ::-webkit-scrollbar-track {
|
|
54
|
-
background: #f1f1f1; /* 轨道颜色 */
|
|
55
|
-
border-radius: 1px; /* 轨道圆角 */
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
/* 滚动条滑块 */
|
|
59
|
-
.ebl-editor-render ::-webkit-scrollbar-thumb {
|
|
60
|
-
background: #C0C0C0; /* 滑块颜色 */
|
|
61
|
-
border-radius: 10px; /* 滑块圆角 */
|
|
62
|
-
border: 1px solid #fff; /* 滑块边框 */
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
/* 滑块悬停时 */
|
|
66
|
-
.ebl-editor-render ::-webkit-scrollbar-thumb:hover {
|
|
67
|
-
background: #555; /* 滑块悬停时的颜色 */
|
|
68
|
-
}
|
package/src/styles/list.css
DELETED
|
@@ -1,202 +0,0 @@
|
|
|
1
|
-
.cdx-list {
|
|
2
|
-
margin: 0;
|
|
3
|
-
padding: 0;
|
|
4
|
-
outline: none;
|
|
5
|
-
display: grid;
|
|
6
|
-
counter-reset: item;
|
|
7
|
-
gap: var(--spacing-s);
|
|
8
|
-
padding: var(--spacing-xs);
|
|
9
|
-
--spacing-s: 8px;
|
|
10
|
-
--spacing-xs: 6px;
|
|
11
|
-
--list-counter-type: numeric;
|
|
12
|
-
--radius-border: 5px;
|
|
13
|
-
--checkbox-background: #fff;
|
|
14
|
-
--color-border: #C9C9C9;
|
|
15
|
-
--color-bg-checked: #369FFF;
|
|
16
|
-
--line-height: 1.45em;
|
|
17
|
-
--color-bg-checked-hover: #0059AB;
|
|
18
|
-
--color-tick: #fff;
|
|
19
|
-
--size-checkbox: 1.2em;
|
|
20
|
-
}
|
|
21
|
-
.cdx-list ol{
|
|
22
|
-
padding-inline-start:0;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.cdx-list__item {
|
|
26
|
-
line-height: var(--line-height);
|
|
27
|
-
display: grid;
|
|
28
|
-
grid-template-columns: auto 1fr;
|
|
29
|
-
grid-template-rows: auto auto;
|
|
30
|
-
grid-template-areas:
|
|
31
|
-
"checkbox content"
|
|
32
|
-
". child";
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.cdx-list__item-children {
|
|
36
|
-
display: grid;
|
|
37
|
-
grid-area: child;
|
|
38
|
-
gap: var(--spacing-s);
|
|
39
|
-
padding-top: var(--spacing-s);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.cdx-list__item [contenteditable]{
|
|
43
|
-
outline: none;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.cdx-list__item-content {
|
|
47
|
-
word-break: break-word;
|
|
48
|
-
white-space: pre-wrap;
|
|
49
|
-
grid-area: content;
|
|
50
|
-
padding-left: var(--spacing-s);
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.cdx-list__item::before {
|
|
54
|
-
counter-increment: item;
|
|
55
|
-
|
|
56
|
-
white-space: nowrap;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.cdx-list-ordered .cdx-list__item::before {
|
|
60
|
-
content: counters(item, ".", var(--list-counter-type)) ".";
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.cdx-list-ordered {
|
|
64
|
-
counter-reset: item;
|
|
65
|
-
}
|
|
66
|
-
.cdx-list-unordered{
|
|
67
|
-
padding-inline-start:0;
|
|
68
|
-
}
|
|
69
|
-
.cdx-list-unordered .cdx-list__item::before {
|
|
70
|
-
content: "•";
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.cdx-list-checklist .cdx-list__item::before {
|
|
74
|
-
content: "";
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.cdx-list__settings .cdx-settings-button {
|
|
78
|
-
width: 50%;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.cdx-list__checkbox {
|
|
82
|
-
padding-top: calc((var(--line-height) - var(--size-checkbox)) / 2);
|
|
83
|
-
grid-area: checkbox;
|
|
84
|
-
width: var(--size-checkbox);
|
|
85
|
-
height: var(--size-checkbox);
|
|
86
|
-
display: flex;
|
|
87
|
-
cursor: pointer;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.cdx-list__checkbox svg {
|
|
91
|
-
opacity: 0;
|
|
92
|
-
height: var(--size-checkbox);
|
|
93
|
-
width: var(--size-checkbox);
|
|
94
|
-
left: -1px;
|
|
95
|
-
top: -1px;
|
|
96
|
-
position: absolute;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
@media (hover: hover) {
|
|
100
|
-
.cdx-list__checkbox:not(.cdx-list__checkbox--no-hover):hover .cdx-list__checkbox-check svg {
|
|
101
|
-
opacity: 1;
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.cdx-list__checkbox--checked {
|
|
106
|
-
line-height: var(--line-height);
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
@media (hover: hover) {
|
|
110
|
-
.cdx-list__checkbox--checked:not(.cdx-list__checkbox--checked--no-hover):hover .cdx-checklist__checkbox-check {
|
|
111
|
-
background: var(--color-bg-checked-hover);
|
|
112
|
-
border-color: var(--color-bg-checked-hover);
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
.cdx-list__checkbox--checked .cdx-list__checkbox-check {
|
|
117
|
-
background: var(--color-bg-checked);
|
|
118
|
-
border-color: var(--color-bg-checked);
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
.cdx-list__checkbox--checked .cdx-list__checkbox-check svg {
|
|
122
|
-
opacity: 1;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
.cdx-list__checkbox--checked .cdx-list__checkbox-check svg path {
|
|
126
|
-
stroke: var(--color-tick);
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.cdx-list__checkbox--checked .cdx-list__checkbox-check::before {
|
|
130
|
-
opacity: 0;
|
|
131
|
-
visibility: visible;
|
|
132
|
-
transform: scale(2.5);
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
.cdx-list__checkbox-check {
|
|
136
|
-
cursor: pointer;
|
|
137
|
-
display: inline-block;
|
|
138
|
-
position: relative;
|
|
139
|
-
margin: 0 auto;
|
|
140
|
-
width: var(--size-checkbox);
|
|
141
|
-
height: var(--size-checkbox);
|
|
142
|
-
box-sizing: border-box;
|
|
143
|
-
border-radius: var(--radius-border);
|
|
144
|
-
border: 1px solid var(--color-border);
|
|
145
|
-
background: var(--checkbox-background);
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
.cdx-list__checkbox-check::before {
|
|
149
|
-
content: '';
|
|
150
|
-
position: absolute;
|
|
151
|
-
top: 0;
|
|
152
|
-
right: 0;
|
|
153
|
-
bottom: 0;
|
|
154
|
-
left: 0;
|
|
155
|
-
border-radius: 100%;
|
|
156
|
-
background-color: var(--color-bg-checked);
|
|
157
|
-
visibility: hidden;
|
|
158
|
-
pointer-events: none;
|
|
159
|
-
transform: scale(1);
|
|
160
|
-
transition: transform 400ms ease-out, opacity 400ms;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
.cdx-list__checkbox-check--disabled {
|
|
164
|
-
pointer-events: none;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
.cdx-list-start-with-field {
|
|
168
|
-
background: #F8F8F8;
|
|
169
|
-
border: 1px solid rgba(226,226,229,0.20);
|
|
170
|
-
border-radius: 6px;
|
|
171
|
-
padding: 2px;
|
|
172
|
-
display: grid;
|
|
173
|
-
grid-template-columns: auto auto 1fr;
|
|
174
|
-
grid-template-rows: auto;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
.cdx-list-start-with-field--invalid {
|
|
178
|
-
background: #FFECED;
|
|
179
|
-
border: 1px solid #E13F3F;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
.cdx-list-start-with-field--invalid .cdx-list-start-with-field__input {
|
|
183
|
-
color: #E13F3F;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
.cdx-list-start-with-field__input {
|
|
187
|
-
font-size: 14px;
|
|
188
|
-
outline: none;
|
|
189
|
-
font-weight: 500;
|
|
190
|
-
font-family: inherit;
|
|
191
|
-
border: 0;
|
|
192
|
-
background: transparent;
|
|
193
|
-
margin: 0;
|
|
194
|
-
padding: 0;
|
|
195
|
-
line-height: 22px;
|
|
196
|
-
min-width: calc(100% - var(--toolbox-buttons-size) - var(--icon-margin-right));
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
.cdx-list-start-with-field__input::placeholder {
|
|
200
|
-
color: var(--grayText);
|
|
201
|
-
font-weight: 500;
|
|
202
|
-
}
|
package/src/styles/marker.css
DELETED
package/src/styles/outline.css
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
.ebl-outline{
|
|
2
|
-
background-color: #fff;
|
|
3
|
-
box-sizing: border-box;
|
|
4
|
-
position:fixed;
|
|
5
|
-
top:var(--header-height,84px);
|
|
6
|
-
|
|
7
|
-
right:0;
|
|
8
|
-
padding: 15px 12px;
|
|
9
|
-
width:280px;
|
|
10
|
-
|
|
11
|
-
overflow: hidden;
|
|
12
|
-
font-family: "Qihei Lenovo", "Microsoft YaHei", "微软雅黑", "宋体", sans-serif;
|
|
13
|
-
color: #606266;
|
|
14
|
-
font-size: 14px;
|
|
15
|
-
padding-bottom: 50px;
|
|
16
|
-
max-height: calc(100vh - var(--header-height,84px));
|
|
17
|
-
}
|
|
18
|
-
.ebl-outline:hover{
|
|
19
|
-
overflow: auto;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
.ebl-outline__item{
|
|
25
|
-
cursor: pointer;
|
|
26
|
-
height:36px;
|
|
27
|
-
line-height: 36px;
|
|
28
|
-
padding: 0 24px;
|
|
29
|
-
word-break: break-word;
|
|
30
|
-
overflow: hidden;
|
|
31
|
-
text-overflow: ellipsis;
|
|
32
|
-
white-space: nowrap;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.ebl-outline .level_1{
|
|
36
|
-
padding-left: 24px;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.ebl-outline .level_2{
|
|
40
|
-
padding-left: 42px;
|
|
41
|
-
}
|
|
42
|
-
.ebl-outline .level_3{
|
|
43
|
-
padding-left: 60px;
|
|
44
|
-
}
|
|
45
|
-
.ebl-outline__item.active{
|
|
46
|
-
color:#222222;
|
|
47
|
-
font-weight: bold;
|
|
48
|
-
background-color: #EBEBEB;
|
|
49
|
-
}
|
|
50
|
-
.ebl-outline__item:hover{
|
|
51
|
-
background-color: #EBEBEB;
|
|
52
|
-
}
|
package/src/styles/paragraph.css
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
.ce-paragraph {
|
|
2
|
-
line-height: 2!important;
|
|
3
|
-
outline: none;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Normally paragraph placeholder is shown only for the focused block (thanks to "data-placeholder-active").
|
|
8
|
-
*
|
|
9
|
-
* But there is a special case when the paragraph is the only block in the empty editor.
|
|
10
|
-
* When editor autofocus=false, there will be no focus. We need to show the placeholder anyway.
|
|
11
|
-
*/
|
|
12
|
-
.ce-block:only-of-type .ce-paragraph[data-placeholder-active]:empty::before,
|
|
13
|
-
.ce-block:only-of-type .ce-paragraph[data-placeholder-active][data-empty="true"]::before {
|
|
14
|
-
content: attr(data-placeholder-active);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.ce-paragraph p:first-of-type{
|
|
18
|
-
margin-top: 0;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.ce-paragraph p:last-of-type{
|
|
22
|
-
margin-bottom: 0;
|
|
23
|
-
}
|
package/src/styles/quote.css
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
.cdx-quote {
|
|
3
|
-
overflow: hidden;
|
|
4
|
-
overflow-wrap: break-word;
|
|
5
|
-
margin: 0;
|
|
6
|
-
box-sizing: border-box;
|
|
7
|
-
word-wrap: break-word;
|
|
8
|
-
word-break: break-all;
|
|
9
|
-
}
|
|
10
|
-
.cdx-quote blockquote{
|
|
11
|
-
margin: 15px 0;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
.cdx-block-quote{
|
|
18
|
-
border: solid #acacac;
|
|
19
|
-
border-width: 0 0 0 3px;
|
|
20
|
-
box-shadow: none;
|
|
21
|
-
color: #666;
|
|
22
|
-
line-height: 1.6em;
|
|
23
|
-
padding: 1px 0 0 12px;
|
|
24
|
-
text-align: left;
|
|
25
|
-
}
|
|
26
|
-
|