@flexiui/svelte-rich-text 0.0.44 → 0.0.46
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.
|
@@ -508,11 +508,12 @@
|
|
|
508
508
|
align-items: center;
|
|
509
509
|
justify-content: center;
|
|
510
510
|
padding: 0;
|
|
511
|
-
color:
|
|
511
|
+
color: currentColor;
|
|
512
512
|
background: #8989891f;
|
|
513
513
|
border: none;
|
|
514
514
|
outline: 1px solid #6e6e6e;
|
|
515
515
|
z-index: 5;
|
|
516
|
+
cursor: pointer;
|
|
516
517
|
|
|
517
518
|
&:after {
|
|
518
519
|
content: "";
|
|
@@ -537,11 +538,12 @@
|
|
|
537
538
|
font-size: 9px;
|
|
538
539
|
letter-spacing: 2px;
|
|
539
540
|
padding: 0;
|
|
540
|
-
color:
|
|
541
|
+
color: currentColor;
|
|
541
542
|
background: #8989891f;
|
|
542
543
|
border: none;
|
|
543
544
|
outline: 1px solid #6e6e6e;
|
|
544
545
|
z-index: 5;
|
|
546
|
+
cursor: pointer;
|
|
545
547
|
|
|
546
548
|
&:after {
|
|
547
549
|
content: "";
|
package/dist/styles.css
CHANGED
|
@@ -23,115 +23,7 @@
|
|
|
23
23
|
--fl-doc-radius: 0;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
|
|
27
|
-
position: relative;
|
|
28
|
-
padding: 0 12px;
|
|
29
|
-
display: inline-flex;
|
|
30
|
-
|
|
31
|
-
&::before {
|
|
32
|
-
content: "";
|
|
33
|
-
position: absolute;
|
|
34
|
-
height: calc(100% + 20px);
|
|
35
|
-
width: 100%;
|
|
36
|
-
border-inline: 1px dashed;
|
|
37
|
-
left: 0;
|
|
38
|
-
top: -10px;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
&::after {
|
|
42
|
-
content: "";
|
|
43
|
-
position: absolute;
|
|
44
|
-
height: 100%;
|
|
45
|
-
top: 0;
|
|
46
|
-
left: -10px;
|
|
47
|
-
width: calc(100% + 20px);
|
|
48
|
-
border-block: 1px dashed;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
&::before, &::after {
|
|
52
|
-
border-color: #ffffff33;
|
|
53
|
-
pointer-events: none;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/* Table-specific styling */
|
|
58
|
-
.tableWrapper table {
|
|
59
|
-
border-collapse: collapse;
|
|
60
|
-
margin: 0;
|
|
61
|
-
overflow: hidden;
|
|
62
|
-
table-layout: fixed;
|
|
63
|
-
width: calc(100% - 12px);
|
|
64
|
-
margin-left: 12px;
|
|
65
|
-
margin-top: 12px;
|
|
66
|
-
min-width: 100px;
|
|
67
|
-
overflow-y: hidden;
|
|
68
|
-
overflow-x: auto;
|
|
69
|
-
|
|
70
|
-
td,
|
|
71
|
-
th {
|
|
72
|
-
border: 1px solid #6e6e6e;
|
|
73
|
-
box-sizing: border-box;
|
|
74
|
-
min-width: 1em;
|
|
75
|
-
padding: 6px 8px;
|
|
76
|
-
position: relative;
|
|
77
|
-
vertical-align: top;
|
|
78
|
-
|
|
79
|
-
> * {
|
|
80
|
-
margin-bottom: 0;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
th {
|
|
85
|
-
background-color: #f0f0f030;
|
|
86
|
-
font-weight: bold;
|
|
87
|
-
text-align: left;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.selectedCell:after {
|
|
91
|
-
background: #e0e0e024;
|
|
92
|
-
content: '';
|
|
93
|
-
left: 0;
|
|
94
|
-
right: 0;
|
|
95
|
-
top: 0;
|
|
96
|
-
bottom: 0;
|
|
97
|
-
pointer-events: none;
|
|
98
|
-
position: absolute;
|
|
99
|
-
z-index: 2;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.column-resize-handle {
|
|
103
|
-
background-color: var(--purple);
|
|
104
|
-
bottom: -2px;
|
|
105
|
-
pointer-events: none;
|
|
106
|
-
position: absolute;
|
|
107
|
-
right: -2px;
|
|
108
|
-
top: 0;
|
|
109
|
-
width: 4px;
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
.fl-table-cell-content > div > * {
|
|
114
|
-
margin-bottom: 0;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
.tableWrapper {
|
|
118
|
-
overflow-x: auto;
|
|
119
|
-
padding: 0 14px 14px;
|
|
120
|
-
margin: 24px -14px 0px;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
&.resize-cursor {
|
|
124
|
-
cursor: ew-resize;
|
|
125
|
-
cursor: col-resize;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
.is-empty::before {
|
|
129
|
-
color: #8a8a8aa8;
|
|
130
|
-
content: attr(data-placeholder);
|
|
131
|
-
float: left;
|
|
132
|
-
height: 0;
|
|
133
|
-
pointer-events: none;
|
|
134
|
-
}
|
|
26
|
+
/* Basic editor styles */
|
|
135
27
|
|
|
136
28
|
.fl-rich-text-content {
|
|
137
29
|
outline: none;
|