@richscripts2/richtexteditor 1.0.15 → 1.0.16
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/package.json +1 -1
- package/richtexteditor/plugins/all_plugins.js +962 -164
- package/richtexteditor/plugins/insertgallery.js +356 -82
- package/richtexteditor/plugins/inserttemplate.js +257 -82
- package/richtexteditor/plugins/zz_richtextbox_dialog_style.js +335 -0
- package/richtexteditor/rte.js +137 -31
- package/richtexteditor/rte_theme_default.css +755 -128
|
@@ -9,23 +9,11 @@
|
|
|
9
9
|
user-select: none;
|
|
10
10
|
min-height: 200px;
|
|
11
11
|
min-width: 200px;
|
|
12
|
-
font-family: -apple-system,
|
|
12
|
+
font-family: -apple-system, Helvetica, Arial, sans-serif;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
/*.richtexteditor{
|
|
16
|
-
border-radius:7px;
|
|
17
|
-
}
|
|
18
|
-
rte-toolbar {
|
|
19
|
-
border-top-left-radius: 7px;
|
|
20
|
-
border-top-right-radius: 7px;
|
|
21
|
-
}
|
|
22
|
-
rte-bottom {
|
|
23
|
-
border-bottom-left-radius: 7px;
|
|
24
|
-
border-bottom-right-radius: 7px;
|
|
25
|
-
}*/
|
|
26
|
-
|
|
27
15
|
.richtexteditor, .rte-absolute, .rte-fixed, rte-dropdown-panel {
|
|
28
|
-
font-family: -apple-system,
|
|
16
|
+
font-family: -apple-system, Helvetica, Arial, sans-serif;
|
|
29
17
|
font-size: 14px;
|
|
30
18
|
}
|
|
31
19
|
|
|
@@ -72,6 +60,10 @@ rte-content {
|
|
|
72
60
|
background-color: #fff;
|
|
73
61
|
}
|
|
74
62
|
|
|
63
|
+
.rte-editable {
|
|
64
|
+
background-color: #fff;
|
|
65
|
+
}
|
|
66
|
+
|
|
75
67
|
rte-toolbar {
|
|
76
68
|
border-bottom: solid 1px #ebedf2;
|
|
77
69
|
}
|
|
@@ -136,17 +128,6 @@ rte-codebox {
|
|
|
136
128
|
-moz-border-radius: 8px;
|
|
137
129
|
}
|
|
138
130
|
|
|
139
|
-
.richtexteditor.rte-modern rte-toolbar {
|
|
140
|
-
/*border-top-left-radius: .5rem;
|
|
141
|
-
border-top-right-radius: .5rem;*/
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
.richtexteditor.rte-modern rte-bottom {
|
|
145
|
-
/*border-bottom-left-radius: .5rem;
|
|
146
|
-
border-bottom-right-radius: .5rem;*/
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
|
|
150
131
|
.rte-modern.rte-desktop.rte-toolbar-default {
|
|
151
132
|
min-width: 820px;
|
|
152
133
|
}
|
|
@@ -161,6 +142,7 @@ rte-bottom {
|
|
|
161
142
|
padding: 3px 8px;
|
|
162
143
|
user-select: none;
|
|
163
144
|
min-height: 35px;
|
|
145
|
+
background-color: #fff;
|
|
164
146
|
}
|
|
165
147
|
|
|
166
148
|
.rte-modern rte-plusbtn rte-toolbar-button {
|
|
@@ -173,19 +155,34 @@ rte-taglist {
|
|
|
173
155
|
}
|
|
174
156
|
|
|
175
157
|
rte-tagitem {
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
158
|
+
display: inline-flex;
|
|
159
|
+
align-items: center;
|
|
160
|
+
margin: 2px;
|
|
161
|
+
padding: 1px 6px;
|
|
162
|
+
border: 1px solid #e2e8f0;
|
|
163
|
+
border-radius: 3px;
|
|
164
|
+
background: #f8fafc;
|
|
165
|
+
color: #475569;
|
|
179
166
|
cursor: pointer;
|
|
180
|
-
font-size:
|
|
181
|
-
|
|
167
|
+
font-size: 11px;
|
|
168
|
+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
|
169
|
+
line-height: 16px;
|
|
182
170
|
user-select: none;
|
|
183
|
-
|
|
171
|
+
transition: background .1s, border-color .1s, color .1s;
|
|
184
172
|
}
|
|
185
173
|
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
174
|
+
rte-tagitem:hover {
|
|
175
|
+
background: #e2e8f0;
|
|
176
|
+
border-color: #cbd5e1;
|
|
177
|
+
color: #1e293b;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
rte-tagitem.rte-ui-active {
|
|
181
|
+
background: #e0f2fe;
|
|
182
|
+
border-color: #93c5fd;
|
|
183
|
+
color: #0369a1;
|
|
184
|
+
font-weight: 500;
|
|
185
|
+
}
|
|
189
186
|
|
|
190
187
|
rte-textcounter {
|
|
191
188
|
padding: 5px 8px 3px;
|
|
@@ -231,12 +228,13 @@ rte-resizecorner {
|
|
|
231
228
|
|
|
232
229
|
|
|
233
230
|
rte-control-toolbar {
|
|
234
|
-
border-radius:
|
|
235
|
-
background
|
|
236
|
-
padding:
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
231
|
+
border-radius: 16px;
|
|
232
|
+
background: rgba(255,255,255,.96);
|
|
233
|
+
padding: 8px 10px;
|
|
234
|
+
border: 1px solid #dbe4ee;
|
|
235
|
+
box-shadow: 0 18px 44px rgba(15,23,42,.16), 0 3px 10px rgba(15,23,42,.08);
|
|
236
|
+
backdrop-filter: blur(10px);
|
|
237
|
+
opacity: 0.98;
|
|
240
238
|
}
|
|
241
239
|
|
|
242
240
|
rte-control-toolbar:hover {
|
|
@@ -244,11 +242,13 @@ rte-control-toolbar {
|
|
|
244
242
|
}
|
|
245
243
|
|
|
246
244
|
.rte-modern rte-control-toolbar rte-toolbar-button, .rte-modern rte-control-toolbar rte-toolbar-splitbutton, .rte-modern rte-control-toolbar rte-toolbar-dropdown {
|
|
247
|
-
margin:
|
|
245
|
+
margin: 4px;
|
|
246
|
+
border-radius: 10px;
|
|
248
247
|
}
|
|
249
248
|
|
|
250
249
|
.rte-modern rte-control-toolbar rte-toolbar-arrowbutton {
|
|
251
|
-
margin:
|
|
250
|
+
margin: 4px 0 4px 4px;
|
|
251
|
+
border-radius: 10px;
|
|
252
252
|
}
|
|
253
253
|
|
|
254
254
|
rte-ribbon-group-left {
|
|
@@ -367,7 +367,7 @@ rte-dropdown-panel {
|
|
|
367
367
|
|
|
368
368
|
rte-subtoolbar {
|
|
369
369
|
padding: 2px 7px;
|
|
370
|
-
background-color: #
|
|
370
|
+
background-color: #fff;
|
|
371
371
|
border-bottom: solid 1px #eee;
|
|
372
372
|
}
|
|
373
373
|
|
|
@@ -471,8 +471,6 @@ rte-color-button-mask {
|
|
|
471
471
|
}
|
|
472
472
|
|
|
473
473
|
.rte-office rte-toolbar-group rte-toolbar-dropdown:first-child {
|
|
474
|
-
/*border-left-width: 0px;
|
|
475
|
-
border-right: solid 1px #abc1de;*/
|
|
476
474
|
border-top-left-radius: 3px;
|
|
477
475
|
border-bottom-left-radius: 3px;
|
|
478
476
|
}
|
|
@@ -526,11 +524,9 @@ rte-color-button-mask {
|
|
|
526
524
|
|
|
527
525
|
.rte-modern rte-toolbar-arrowbutton.rte-command-active {
|
|
528
526
|
background-color: #eee;
|
|
529
|
-
/*border: solid 1px #ccc;*/
|
|
530
527
|
border-bottom-width: 0px;
|
|
531
528
|
padding: 1px 11px 10px 1px;
|
|
532
529
|
background-position: 22px center;
|
|
533
|
-
/*transform: translateY(6px);*/
|
|
534
530
|
height: 36px;
|
|
535
531
|
margin-bottom: -4px;
|
|
536
532
|
background-position: 23px 8px;
|
|
@@ -553,7 +549,6 @@ rte-color-button-mask {
|
|
|
553
549
|
border: solid 1px #eee;
|
|
554
550
|
border-bottom-width: 0px;
|
|
555
551
|
padding: 1px 1px 1px 1px;
|
|
556
|
-
/*transform: translateY(6px);*/
|
|
557
552
|
}
|
|
558
553
|
|
|
559
554
|
rte-dropdown-panel rte-toolbar-button {
|
|
@@ -575,12 +570,31 @@ rte-dropdown-panel rte-toolbar-button {
|
|
|
575
570
|
rte-toolbar-dropdown {
|
|
576
571
|
margin-left: 0px;
|
|
577
572
|
margin-right: 0px;
|
|
578
|
-
/*background-color:#fff;*/
|
|
579
573
|
}
|
|
580
574
|
|
|
581
575
|
rte-control-toolbar.rte-modern rte-toolbar-dropdown {
|
|
582
|
-
border: solid 1px #
|
|
583
|
-
margin:
|
|
576
|
+
border: solid 1px #e2e8f0;
|
|
577
|
+
margin: 4px;
|
|
578
|
+
border-radius: 10px;
|
|
579
|
+
background: #fff;
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
.rte-modern rte-control-toolbar rte-toolbar-button:hover,
|
|
583
|
+
.rte-modern rte-control-toolbar rte-toolbar-splitbutton:hover,
|
|
584
|
+
.rte-modern rte-control-toolbar rte-toolbar-dropdown:hover,
|
|
585
|
+
.rte-modern rte-control-toolbar rte-toolbar-arrowbutton:hover {
|
|
586
|
+
background: #f3f6fb;
|
|
587
|
+
fill: #0f172a;
|
|
588
|
+
color: #0f172a;
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
.rte-modern rte-control-toolbar rte-toolbar-button.rte-command-active,
|
|
592
|
+
.rte-modern rte-control-toolbar rte-toolbar-splitbutton.rte-command-active,
|
|
593
|
+
.rte-modern rte-control-toolbar rte-toolbar-dropdown.rte-command-active,
|
|
594
|
+
.rte-modern rte-control-toolbar rte-toolbar-arrowbutton.rte-command-active {
|
|
595
|
+
background: #eef2f7;
|
|
596
|
+
fill: #0f172a;
|
|
597
|
+
color: #0f172a;
|
|
584
598
|
}
|
|
585
599
|
|
|
586
600
|
.rte-office rte-toolbar-dropdown {
|
|
@@ -834,7 +848,6 @@ rte-dialog-footer, rte-dialog-line-action {
|
|
|
834
848
|
display: -ms-flexbox;
|
|
835
849
|
display: flex;
|
|
836
850
|
-ms-flex-wrap: wrap;
|
|
837
|
-
/* flex-wrap: wrap; */
|
|
838
851
|
-ms-flex-align: center;
|
|
839
852
|
align-items: center;
|
|
840
853
|
-ms-flex-pack: end;
|
|
@@ -853,20 +866,24 @@ rte-dialog-footer, rte-dialog-line-action {
|
|
|
853
866
|
}
|
|
854
867
|
|
|
855
868
|
.rte-dialog-line-input input[type=text] {
|
|
856
|
-
|
|
857
|
-
height: 36px;
|
|
858
|
-
margin:
|
|
859
|
-
|
|
860
|
-
|
|
869
|
+
width: 100%;
|
|
870
|
+
min-height: 36px;
|
|
871
|
+
margin: 0;
|
|
872
|
+
padding: 8px 10px;
|
|
873
|
+
color: #333333;
|
|
874
|
+
background: #ffffff;
|
|
875
|
+
border: 1px solid #cccccc;
|
|
861
876
|
border-radius: 4px;
|
|
862
|
-
|
|
877
|
+
box-sizing: border-box;
|
|
878
|
+
font-size: 13px;
|
|
879
|
+
line-height: 1.4;
|
|
863
880
|
}
|
|
864
881
|
|
|
865
882
|
.rte-dialog-line-input input:hover, .rte-dialog-line-input input:focus {
|
|
866
883
|
color: #1e2022;
|
|
867
884
|
outline: 0;
|
|
868
|
-
border:
|
|
869
|
-
|
|
885
|
+
border-color: #0f8b8d;
|
|
886
|
+
box-shadow: 0 0 0 2px rgba(15, 139, 141, 0.12);
|
|
870
887
|
}
|
|
871
888
|
|
|
872
889
|
.rte-html-div {
|
|
@@ -887,23 +904,26 @@ rte-dialog-footer, rte-dialog-line-action {
|
|
|
887
904
|
|
|
888
905
|
|
|
889
906
|
.rte-dialog-line-input textarea {
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
907
|
+
width: 100%;
|
|
908
|
+
min-height: 80px;
|
|
909
|
+
margin: 0;
|
|
910
|
+
padding: 8px 10px;
|
|
911
|
+
color: #333333;
|
|
912
|
+
background: #ffffff;
|
|
913
|
+
border: 1px solid #cccccc;
|
|
896
914
|
border-radius: 4px;
|
|
897
|
-
|
|
898
|
-
font-size:
|
|
915
|
+
box-sizing: border-box;
|
|
916
|
+
font-size: 13px;
|
|
917
|
+
line-height: 1.5;
|
|
918
|
+
resize: vertical;
|
|
899
919
|
}
|
|
900
920
|
|
|
901
921
|
|
|
902
922
|
.rte-dialog-line-input textarea:hover, .rte-dialog-line-input textarea:focus {
|
|
903
923
|
color: #1e2022;
|
|
904
924
|
outline: 0;
|
|
905
|
-
border:
|
|
906
|
-
|
|
925
|
+
border-color: #0f8b8d;
|
|
926
|
+
box-shadow: 0 0 0 2px rgba(15, 139, 141, 0.12);
|
|
907
927
|
}
|
|
908
928
|
|
|
909
929
|
|
|
@@ -947,35 +967,35 @@ rte-dialog-line-action {
|
|
|
947
967
|
|
|
948
968
|
rte-dialog-button {
|
|
949
969
|
cursor: pointer;
|
|
970
|
+
display: inline-flex;
|
|
971
|
+
align-items: center;
|
|
972
|
+
justify-content: center;
|
|
973
|
+
min-height: 34px;
|
|
974
|
+
margin: 4px 3px;
|
|
975
|
+
padding: 6px 18px;
|
|
976
|
+
border: 1px solid #0f8b8d;
|
|
977
|
+
border-radius: 4px;
|
|
950
978
|
color: #fff;
|
|
951
|
-
background
|
|
952
|
-
border-color: #007bff;
|
|
953
|
-
display: inline-block;
|
|
979
|
+
background: #0f8b8d;
|
|
954
980
|
text-align: center;
|
|
955
981
|
white-space: nowrap;
|
|
956
982
|
vertical-align: middle;
|
|
957
983
|
user-select: none;
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
font-size: 14px;
|
|
964
|
-
height: 36px;
|
|
965
|
-
letter-spacing: 0.25px;
|
|
966
|
-
line-height: 16px;
|
|
967
|
-
border-radius: .25rem;
|
|
968
|
-
transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
|
|
984
|
+
box-shadow: none;
|
|
985
|
+
font-size: 13px;
|
|
986
|
+
font-weight: 500;
|
|
987
|
+
line-height: 1.4;
|
|
988
|
+
transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
|
|
969
989
|
}
|
|
970
990
|
|
|
971
991
|
rte-dialog-button:active {
|
|
972
|
-
background
|
|
973
|
-
border-color: #
|
|
992
|
+
background: #0c6f70;
|
|
993
|
+
border-color: #0c6f70;
|
|
974
994
|
}
|
|
975
995
|
|
|
976
996
|
rte-dialog-button:hover {
|
|
977
|
-
background
|
|
978
|
-
border-color: #
|
|
997
|
+
background: #0c7b7d;
|
|
998
|
+
border-color: #0c7b7d;
|
|
979
999
|
}
|
|
980
1000
|
|
|
981
1001
|
rte-dialog-button.rte-button-type-next {
|
|
@@ -987,14 +1007,14 @@ rte-dialog-button {
|
|
|
987
1007
|
|
|
988
1008
|
.rte-button-type-cancel, rte-dialog-button.rte-button-type-replace, rte-dialog-button.rte-button-type-replaceall {
|
|
989
1009
|
background-color: #fff;
|
|
990
|
-
color: #
|
|
991
|
-
border-color: #
|
|
1010
|
+
color: #0f8b8d;
|
|
1011
|
+
border-color: #0f8b8d;
|
|
992
1012
|
}
|
|
993
1013
|
|
|
994
1014
|
.rte-button-type-cancel:hover, rte-dialog-button.rte-button-type-replace:hover, rte-dialog-button.rte-button-type-replaceall:hover {
|
|
995
1015
|
color: #fff;
|
|
996
|
-
background
|
|
997
|
-
border-color: #
|
|
1016
|
+
background: #0c7b7d;
|
|
1017
|
+
border-color: #0c7b7d;
|
|
998
1018
|
}
|
|
999
1019
|
|
|
1000
1020
|
.rte-button-type-commit {
|
|
@@ -1054,7 +1074,6 @@ rte-dropdown-panel.rte-panel-insertimage rte-tabui-toolbar, rte-dropdown-panel.r
|
|
|
1054
1074
|
}
|
|
1055
1075
|
|
|
1056
1076
|
.rte-panel-general {
|
|
1057
|
-
/*padding: 10px 15px;*/
|
|
1058
1077
|
}
|
|
1059
1078
|
|
|
1060
1079
|
.rte-panel-general rte-dialog-header {
|
|
@@ -1106,11 +1125,17 @@ rte-tabui-toolbar-button {
|
|
|
1106
1125
|
padding: 1rem;
|
|
1107
1126
|
font-size: 16px;
|
|
1108
1127
|
cursor: pointer;
|
|
1128
|
+
transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
|
|
1109
1129
|
}
|
|
1110
1130
|
|
|
1111
1131
|
rte-tabui-toolbar-button.rte-ui-active {
|
|
1112
|
-
border-bottom: 2px solid #
|
|
1113
|
-
color: #
|
|
1132
|
+
border-bottom: 2px solid #4b5563;
|
|
1133
|
+
color: #374151;
|
|
1134
|
+
}
|
|
1135
|
+
|
|
1136
|
+
rte-tabui-toolbar-button:hover {
|
|
1137
|
+
color: #1f2937;
|
|
1138
|
+
background: rgba(148, 163, 184, 0.08);
|
|
1114
1139
|
}
|
|
1115
1140
|
|
|
1116
1141
|
.rte-panel-forecolor, .rte-panel-backcolor {
|
|
@@ -1154,10 +1179,83 @@ rte-dialog-item-color {
|
|
|
1154
1179
|
cursor: pointer;
|
|
1155
1180
|
}
|
|
1156
1181
|
|
|
1157
|
-
|
|
1182
|
+
rte-dialog-item-color:hover {
|
|
1158
1183
|
border-color: #1a73e8;
|
|
1159
1184
|
}
|
|
1160
1185
|
|
|
1186
|
+
/* RichTextBox-style toolbar color popup */
|
|
1187
|
+
rte-dropdown-panel.rte-panel-forecolor, rte-dropdown-panel.rte-panel-backcolor {
|
|
1188
|
+
border-radius: 8px !important;
|
|
1189
|
+
box-shadow: 0 8px 30px rgba(0,0,0,.12) !important;
|
|
1190
|
+
padding: 12px 14px !important;
|
|
1191
|
+
border: 1px solid #e2e8f0 !important;
|
|
1192
|
+
}
|
|
1193
|
+
|
|
1194
|
+
rte-dropdown-panel.rte-panel-forecolor rte-dialog-item-color[rte-tooltip],
|
|
1195
|
+
rte-dropdown-panel.rte-panel-backcolor rte-dialog-item-color[rte-tooltip] {
|
|
1196
|
+
width: 20px !important;
|
|
1197
|
+
height: 20px !important;
|
|
1198
|
+
border-radius: 3px !important;
|
|
1199
|
+
margin: 2px !important;
|
|
1200
|
+
border: 1px solid rgba(0,0,0,.08) !important;
|
|
1201
|
+
transition: transform .1s, box-shadow .1s !important;
|
|
1202
|
+
}
|
|
1203
|
+
|
|
1204
|
+
rte-dropdown-panel.rte-panel-forecolor rte-dialog-item-color[rte-tooltip]:hover,
|
|
1205
|
+
rte-dropdown-panel.rte-panel-backcolor rte-dialog-item-color[rte-tooltip]:hover {
|
|
1206
|
+
transform: scale(1.25) !important;
|
|
1207
|
+
box-shadow: 0 2px 8px rgba(0,0,0,.18) !important;
|
|
1208
|
+
z-index: 1 !important;
|
|
1209
|
+
position: relative !important;
|
|
1210
|
+
border-color: rgba(0,0,0,.08) !important;
|
|
1211
|
+
}
|
|
1212
|
+
|
|
1213
|
+
rte-dropdown-panel.rte-panel-forecolor rte-dialog-line-auto,
|
|
1214
|
+
rte-dropdown-panel.rte-panel-backcolor rte-dialog-line-auto,
|
|
1215
|
+
rte-dropdown-panel.rte-panel-forecolor rte-dialog-line-more,
|
|
1216
|
+
rte-dropdown-panel.rte-panel-backcolor rte-dialog-line-more {
|
|
1217
|
+
padding: 5px 4px !important;
|
|
1218
|
+
margin-top: 4px !important;
|
|
1219
|
+
border-radius: 4px !important;
|
|
1220
|
+
cursor: pointer !important;
|
|
1221
|
+
display: flex !important;
|
|
1222
|
+
align-items: center !important;
|
|
1223
|
+
gap: 6px !important;
|
|
1224
|
+
}
|
|
1225
|
+
|
|
1226
|
+
rte-dropdown-panel.rte-panel-forecolor rte-dialog-line-auto:hover,
|
|
1227
|
+
rte-dropdown-panel.rte-panel-backcolor rte-dialog-line-auto:hover,
|
|
1228
|
+
rte-dropdown-panel.rte-panel-forecolor rte-dialog-line-more:hover,
|
|
1229
|
+
rte-dropdown-panel.rte-panel-backcolor rte-dialog-line-more:hover {
|
|
1230
|
+
background: #f1f5f9 !important;
|
|
1231
|
+
border: 0 !important;
|
|
1232
|
+
}
|
|
1233
|
+
|
|
1234
|
+
rte-dropdown-panel.rte-panel-forecolor rte-dialog-line-auto rte-dialog-item-label,
|
|
1235
|
+
rte-dropdown-panel.rte-panel-backcolor rte-dialog-line-auto rte-dialog-item-label,
|
|
1236
|
+
rte-dropdown-panel.rte-panel-forecolor rte-dialog-line-more rte-dialog-item-label,
|
|
1237
|
+
rte-dropdown-panel.rte-panel-backcolor rte-dialog-line-more rte-dialog-item-label {
|
|
1238
|
+
font-size: 13px !important;
|
|
1239
|
+
color: #334155 !important;
|
|
1240
|
+
}
|
|
1241
|
+
|
|
1242
|
+
rte-dropdown-panel.rte-panel-forecolor rte-dialog-line-auto rte-dialog-item-color,
|
|
1243
|
+
rte-dropdown-panel.rte-panel-backcolor rte-dialog-line-auto rte-dialog-item-color {
|
|
1244
|
+
width: 20px !important;
|
|
1245
|
+
height: 20px !important;
|
|
1246
|
+
border-radius: 3px !important;
|
|
1247
|
+
border: 1px solid #cbd5e1 !important;
|
|
1248
|
+
}
|
|
1249
|
+
|
|
1250
|
+
rte-dropdown-panel.rte-panel-forecolor rte-dialog-line-more rte-dialog-item-color,
|
|
1251
|
+
rte-dropdown-panel.rte-panel-backcolor rte-dialog-line-more rte-dialog-item-color {
|
|
1252
|
+
width: 20px !important;
|
|
1253
|
+
height: 20px !important;
|
|
1254
|
+
border-radius: 3px !important;
|
|
1255
|
+
border: 1px solid #cbd5e1 !important;
|
|
1256
|
+
background: linear-gradient(135deg, #ff0000 0%, #ff8800 17%, #ffff00 33%, #00ff00 50%, #00ffff 67%, #0000ff 83%, #ff00ff 100%) !important;
|
|
1257
|
+
}
|
|
1258
|
+
|
|
1161
1259
|
.rte-dialog-colorpicker {
|
|
1162
1260
|
min-height: 350px;
|
|
1163
1261
|
}
|
|
@@ -1435,7 +1533,7 @@ rte-submenu {
|
|
|
1435
1533
|
padding: 10px 0;
|
|
1436
1534
|
border-top: solid 1px transparent;
|
|
1437
1535
|
border-left: solid 1px transparent;
|
|
1438
|
-
/*
|
|
1536
|
+
/* Match the dropdown panel popup styling. */
|
|
1439
1537
|
background-color: #fff;
|
|
1440
1538
|
user-select: none;
|
|
1441
1539
|
display: flex;
|
|
@@ -1535,14 +1633,16 @@ rte-menuspliter {
|
|
|
1535
1633
|
|
|
1536
1634
|
rte-floatpanel {
|
|
1537
1635
|
z-index: 101;
|
|
1538
|
-
background
|
|
1539
|
-
border: solid 1px
|
|
1540
|
-
border-radius:
|
|
1541
|
-
width:
|
|
1636
|
+
background: rgba(255,255,255,.96);
|
|
1637
|
+
border: solid 1px #dbe4ee;
|
|
1638
|
+
border-radius: 14px;
|
|
1639
|
+
width: 36px;
|
|
1542
1640
|
height: auto;
|
|
1543
|
-
opacity: 0.
|
|
1641
|
+
opacity: 0.98;
|
|
1544
1642
|
user-select: none;
|
|
1545
|
-
padding:
|
|
1643
|
+
padding: 6px 4px;
|
|
1644
|
+
box-shadow: 0 18px 44px rgba(15,23,42,.16), 0 3px 10px rgba(15,23,42,.08);
|
|
1645
|
+
backdrop-filter: blur(10px);
|
|
1546
1646
|
}
|
|
1547
1647
|
|
|
1548
1648
|
rte-floatpanel:hover {
|
|
@@ -1550,36 +1650,24 @@ rte-floatpanel {
|
|
|
1550
1650
|
}
|
|
1551
1651
|
|
|
1552
1652
|
rte-floatpanel rte-toolbar-button {
|
|
1553
|
-
width:
|
|
1554
|
-
height:
|
|
1653
|
+
width: 28px;
|
|
1654
|
+
height: 28px;
|
|
1655
|
+
margin: 2px 0;
|
|
1656
|
+
border-radius: 10px;
|
|
1555
1657
|
}
|
|
1556
1658
|
|
|
1557
1659
|
rte-floatpanel rte-toolbar-button:hover {
|
|
1558
|
-
background
|
|
1559
|
-
fill: #
|
|
1560
|
-
color: #
|
|
1660
|
+
background: #f3f6fb;
|
|
1661
|
+
fill: #0f172a;
|
|
1662
|
+
color: #0f172a;
|
|
1561
1663
|
}
|
|
1562
1664
|
|
|
1563
1665
|
|
|
1564
1666
|
.rte-current-item {
|
|
1565
|
-
background-color:
|
|
1566
|
-
}
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
/* toggle UI */
|
|
1572
|
-
rte-taglist * {
|
|
1573
|
-
/*display: none !important;*/
|
|
1574
|
-
}
|
|
1575
|
-
|
|
1576
|
-
rte-plusbtn {
|
|
1577
|
-
/*display: none !important;*/
|
|
1667
|
+
background-color: #eef2f7;
|
|
1578
1668
|
}
|
|
1579
1669
|
|
|
1580
|
-
.
|
|
1581
|
-
/*display: none!important;*/
|
|
1582
|
-
}
|
|
1670
|
+
/* Optional development toggles for hiding editor chrome can live here. */
|
|
1583
1671
|
|
|
1584
1672
|
|
|
1585
1673
|
.rte-list-item {
|
|
@@ -1735,12 +1823,12 @@ rte-content::-webkit-scrollbar {
|
|
|
1735
1823
|
height: 5px;
|
|
1736
1824
|
width: 5px;
|
|
1737
1825
|
overflow: visible;
|
|
1738
|
-
background-color:
|
|
1739
|
-
box-shadow:
|
|
1826
|
+
background-color: transparent;
|
|
1827
|
+
box-shadow: none;
|
|
1740
1828
|
}
|
|
1741
1829
|
|
|
1742
1830
|
rte-content::-webkit-scrollbar-track {
|
|
1743
|
-
background:
|
|
1831
|
+
background: transparent;
|
|
1744
1832
|
}
|
|
1745
1833
|
|
|
1746
1834
|
rte-content::-webkit-scrollbar-thumb {
|
|
@@ -1749,7 +1837,546 @@ rte-content::-webkit-scrollbar-thumb {
|
|
|
1749
1837
|
background-clip: padding-box;
|
|
1750
1838
|
}
|
|
1751
1839
|
|
|
1752
|
-
|
|
1840
|
+
rte-content::-webkit-scrollbar-corner {
|
|
1841
|
+
background: transparent;
|
|
1842
|
+
}
|
|
1843
|
+
|
|
1844
|
+
rte-content::-webkit-scrollbar-thumb:hover {
|
|
1753
1845
|
background-color: rgba(0,0,0,.4);
|
|
1754
1846
|
box-shadow: inset 1px 1px 1px rgba(0,0,0,.25)
|
|
1755
1847
|
}
|
|
1848
|
+
|
|
1849
|
+
.rte-dialog-insertgallery rte-dialog-inner,
|
|
1850
|
+
.rte-dialog-inserttemplate rte-dialog-inner {
|
|
1851
|
+
width: 1080px;
|
|
1852
|
+
max-width: 94vw;
|
|
1853
|
+
height: 78vh;
|
|
1854
|
+
max-height: 90vh;
|
|
1855
|
+
padding: 0;
|
|
1856
|
+
overflow: hidden;
|
|
1857
|
+
border-radius: 24px;
|
|
1858
|
+
}
|
|
1859
|
+
|
|
1860
|
+
.rte-dialog-browser,
|
|
1861
|
+
.rte-gallery-browser {
|
|
1862
|
+
display: flex;
|
|
1863
|
+
flex-direction: column;
|
|
1864
|
+
height: 100%;
|
|
1865
|
+
background: linear-gradient(180deg, #ffffff 0%, #f7f8fa 100%);
|
|
1866
|
+
}
|
|
1867
|
+
|
|
1868
|
+
.rte-dialog-browser-header {
|
|
1869
|
+
padding: 18px 20px 0;
|
|
1870
|
+
}
|
|
1871
|
+
|
|
1872
|
+
.rte-dialog-browser-kicker {
|
|
1873
|
+
font-size: 11px;
|
|
1874
|
+
font-weight: 700;
|
|
1875
|
+
letter-spacing: 0.16em;
|
|
1876
|
+
text-transform: uppercase;
|
|
1877
|
+
color: #0f8b8d;
|
|
1878
|
+
}
|
|
1879
|
+
|
|
1880
|
+
.rte-dialog-browser-title {
|
|
1881
|
+
margin-top: 6px;
|
|
1882
|
+
font-size: 24px;
|
|
1883
|
+
font-weight: 700;
|
|
1884
|
+
color: #182235;
|
|
1885
|
+
}
|
|
1886
|
+
|
|
1887
|
+
.rte-dialog-browser-copy {
|
|
1888
|
+
margin-top: 8px;
|
|
1889
|
+
line-height: 1.6;
|
|
1890
|
+
color: #475569;
|
|
1891
|
+
}
|
|
1892
|
+
|
|
1893
|
+
.rte-dialog-browser-toolbar {
|
|
1894
|
+
display: flex;
|
|
1895
|
+
align-items: center;
|
|
1896
|
+
gap: 12px;
|
|
1897
|
+
padding: 12px 20px;
|
|
1898
|
+
}
|
|
1899
|
+
|
|
1900
|
+
.rte-dialog-browser-search,
|
|
1901
|
+
.rte-gallery-browser-search {
|
|
1902
|
+
min-height: 42px;
|
|
1903
|
+
border: 1px solid #cfd6e1;
|
|
1904
|
+
border-radius: 12px;
|
|
1905
|
+
padding: 0 14px;
|
|
1906
|
+
font-size: 14px;
|
|
1907
|
+
color: #111827;
|
|
1908
|
+
background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
|
|
1909
|
+
box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
|
|
1910
|
+
transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
|
|
1911
|
+
}
|
|
1912
|
+
|
|
1913
|
+
.rte-dialog-browser-search {
|
|
1914
|
+
flex: 1 1 auto;
|
|
1915
|
+
min-width: 0;
|
|
1916
|
+
}
|
|
1917
|
+
|
|
1918
|
+
.rte-gallery-browser-search {
|
|
1919
|
+
width: 240px;
|
|
1920
|
+
max-width: 100%;
|
|
1921
|
+
}
|
|
1922
|
+
|
|
1923
|
+
.rte-dialog-browser-search:focus,
|
|
1924
|
+
.rte-gallery-browser-search:focus {
|
|
1925
|
+
outline: none;
|
|
1926
|
+
border-color: #6b7280;
|
|
1927
|
+
background: #fff;
|
|
1928
|
+
box-shadow: 0 0 0 4px rgba(107, 114, 128, 0.12), inset 0 1px 2px rgba(15, 23, 42, 0.03);
|
|
1929
|
+
}
|
|
1930
|
+
|
|
1931
|
+
.rte-dialog-browser-count {
|
|
1932
|
+
flex: none;
|
|
1933
|
+
border-radius: 999px;
|
|
1934
|
+
background: #f1f5f9;
|
|
1935
|
+
padding: 8px 12px;
|
|
1936
|
+
font-size: 12px;
|
|
1937
|
+
font-weight: 700;
|
|
1938
|
+
color: #334155;
|
|
1939
|
+
}
|
|
1940
|
+
|
|
1941
|
+
.rte-dialog-browser-scrollpanel {
|
|
1942
|
+
flex: 1 1 auto;
|
|
1943
|
+
min-height: 0;
|
|
1944
|
+
padding: 0 20px 20px;
|
|
1945
|
+
overflow-y: auto;
|
|
1946
|
+
}
|
|
1947
|
+
|
|
1948
|
+
.rte-dialog-browser-grid {
|
|
1949
|
+
display: grid;
|
|
1950
|
+
grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
|
|
1951
|
+
gap: 14px;
|
|
1952
|
+
}
|
|
1953
|
+
|
|
1954
|
+
.rte-template-grid {
|
|
1955
|
+
grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
|
|
1956
|
+
}
|
|
1957
|
+
|
|
1958
|
+
.rte-dialog-browser-card {
|
|
1959
|
+
width: 100%;
|
|
1960
|
+
border: 1px solid #d7dce4;
|
|
1961
|
+
border-radius: 20px;
|
|
1962
|
+
background: linear-gradient(180deg, #ffffff 0%, #f7f8fa 100%);
|
|
1963
|
+
padding: 0;
|
|
1964
|
+
text-align: left;
|
|
1965
|
+
cursor: pointer;
|
|
1966
|
+
box-shadow: 0 12px 32px rgba(24, 34, 53, 0.08);
|
|
1967
|
+
transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
|
|
1968
|
+
overflow: hidden;
|
|
1969
|
+
}
|
|
1970
|
+
|
|
1971
|
+
.rte-dialog-browser-card:hover,
|
|
1972
|
+
.rte-dialog-browser-card:focus,
|
|
1973
|
+
.rte-dialog-browser-card.is-selected {
|
|
1974
|
+
outline: none;
|
|
1975
|
+
transform: translateY(-2px);
|
|
1976
|
+
border-color: #6b7280;
|
|
1977
|
+
box-shadow: 0 18px 38px rgba(24, 34, 53, 0.14);
|
|
1978
|
+
}
|
|
1979
|
+
|
|
1980
|
+
.rte-template-card-preview {
|
|
1981
|
+
padding: 14px;
|
|
1982
|
+
}
|
|
1983
|
+
|
|
1984
|
+
.rte-template-card-preview-body {
|
|
1985
|
+
position: relative;
|
|
1986
|
+
height: 190px;
|
|
1987
|
+
overflow: hidden;
|
|
1988
|
+
border: 1px solid #e2e8f0;
|
|
1989
|
+
border-radius: 16px;
|
|
1990
|
+
background: #fff;
|
|
1991
|
+
padding: 10px;
|
|
1992
|
+
}
|
|
1993
|
+
|
|
1994
|
+
.rte-template-card-preview-canvas {
|
|
1995
|
+
color: #182235;
|
|
1996
|
+
}
|
|
1997
|
+
|
|
1998
|
+
.rte-template-card-footer {
|
|
1999
|
+
border-top: 1px solid #e2e8f0;
|
|
2000
|
+
padding: 12px 14px 14px;
|
|
2001
|
+
}
|
|
2002
|
+
|
|
2003
|
+
.rte-template-card-title {
|
|
2004
|
+
font-size: 15px;
|
|
2005
|
+
font-weight: 700;
|
|
2006
|
+
color: #182235;
|
|
2007
|
+
}
|
|
2008
|
+
|
|
2009
|
+
.rte-template-card-meta {
|
|
2010
|
+
margin-top: 5px;
|
|
2011
|
+
font-size: 12px;
|
|
2012
|
+
color: #64748b;
|
|
2013
|
+
line-height: 1.5;
|
|
2014
|
+
}
|
|
2015
|
+
|
|
2016
|
+
.rte-dialog-browser-empty,
|
|
2017
|
+
.rte-gallery-browser-empty {
|
|
2018
|
+
border: 1px dashed #cbd5e1;
|
|
2019
|
+
border-radius: 20px;
|
|
2020
|
+
padding: 28px 22px;
|
|
2021
|
+
text-align: center;
|
|
2022
|
+
line-height: 1.7;
|
|
2023
|
+
color: #64748b;
|
|
2024
|
+
background: rgba(248, 250, 252, 0.9);
|
|
2025
|
+
}
|
|
2026
|
+
|
|
2027
|
+
.rte-gallery-browser {
|
|
2028
|
+
display: flex;
|
|
2029
|
+
flex-direction: column;
|
|
2030
|
+
}
|
|
2031
|
+
|
|
2032
|
+
.rte-gallery-browser-toolbar {
|
|
2033
|
+
display: flex;
|
|
2034
|
+
align-items: center;
|
|
2035
|
+
gap: 10px;
|
|
2036
|
+
padding: 12px 16px;
|
|
2037
|
+
border-top: 1px solid #edf2f7;
|
|
2038
|
+
border-bottom: 1px solid #d7dde7;
|
|
2039
|
+
background: linear-gradient(180deg, #fbfcfe 0%, #edf1f7 100%);
|
|
2040
|
+
flex-wrap: wrap;
|
|
2041
|
+
}
|
|
2042
|
+
|
|
2043
|
+
.rte-gallery-browser-button {
|
|
2044
|
+
border: 1px solid #c7d0db;
|
|
2045
|
+
border-radius: 10px;
|
|
2046
|
+
padding: 9px 14px;
|
|
2047
|
+
background: linear-gradient(180deg, #ffffff 0%, #eef2f7 100%);
|
|
2048
|
+
color: #243142;
|
|
2049
|
+
font-size: 13px;
|
|
2050
|
+
line-height: 1.2;
|
|
2051
|
+
cursor: pointer;
|
|
2052
|
+
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
|
|
2053
|
+
transition: border-color 0.16s ease, background-color 0.16s ease, transform 0.16s ease;
|
|
2054
|
+
}
|
|
2055
|
+
|
|
2056
|
+
.rte-gallery-browser-button:hover {
|
|
2057
|
+
border-color: #8a94a4;
|
|
2058
|
+
background: linear-gradient(180deg, #ffffff 0%, #e9edf3 100%);
|
|
2059
|
+
}
|
|
2060
|
+
|
|
2061
|
+
.rte-gallery-browser-button[disabled],
|
|
2062
|
+
.rte-gallery-browser-button[aria-disabled="true"] {
|
|
2063
|
+
opacity: 0.55;
|
|
2064
|
+
cursor: not-allowed;
|
|
2065
|
+
}
|
|
2066
|
+
|
|
2067
|
+
.rte-gallery-browser-button-primary {
|
|
2068
|
+
border-color: #374151;
|
|
2069
|
+
background: linear-gradient(180deg, #4b5563 0%, #374151 100%);
|
|
2070
|
+
color: #fff;
|
|
2071
|
+
font-weight: 600;
|
|
2072
|
+
}
|
|
2073
|
+
|
|
2074
|
+
.rte-gallery-browser-button-primary:hover {
|
|
2075
|
+
border-color: #1f2937;
|
|
2076
|
+
background: linear-gradient(180deg, #435061 0%, #2f3947 100%);
|
|
2077
|
+
}
|
|
2078
|
+
|
|
2079
|
+
.rte-gallery-browser-path,
|
|
2080
|
+
.rte-gallery-browser-type {
|
|
2081
|
+
min-height: 38px;
|
|
2082
|
+
padding: 9px 12px;
|
|
2083
|
+
border: 1px solid #c6cfdd;
|
|
2084
|
+
border-radius: 8px;
|
|
2085
|
+
background-color: #fff;
|
|
2086
|
+
font-size: 13px;
|
|
2087
|
+
line-height: 18px;
|
|
2088
|
+
}
|
|
2089
|
+
|
|
2090
|
+
.rte-gallery-browser-path {
|
|
2091
|
+
min-width: 64px;
|
|
2092
|
+
max-width: 280px;
|
|
2093
|
+
overflow: hidden;
|
|
2094
|
+
text-overflow: ellipsis;
|
|
2095
|
+
white-space: nowrap;
|
|
2096
|
+
}
|
|
2097
|
+
|
|
2098
|
+
.rte-gallery-browser-type {
|
|
2099
|
+
color: #475569;
|
|
2100
|
+
}
|
|
2101
|
+
|
|
2102
|
+
.rte-gallery-browser-status {
|
|
2103
|
+
padding: 9px 16px;
|
|
2104
|
+
border-bottom: 1px solid #d7dde7;
|
|
2105
|
+
background-color: #f7f9fc;
|
|
2106
|
+
color: #415065;
|
|
2107
|
+
font-size: 13px;
|
|
2108
|
+
}
|
|
2109
|
+
|
|
2110
|
+
.rte-gallery-browser-surface {
|
|
2111
|
+
position: relative;
|
|
2112
|
+
flex: 1 1 auto;
|
|
2113
|
+
min-height: 0;
|
|
2114
|
+
overflow: auto;
|
|
2115
|
+
padding: 18px 16px 20px;
|
|
2116
|
+
}
|
|
2117
|
+
|
|
2118
|
+
.rte-gallery-browser-grid {
|
|
2119
|
+
display: grid;
|
|
2120
|
+
grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
|
|
2121
|
+
gap: 16px;
|
|
2122
|
+
}
|
|
2123
|
+
|
|
2124
|
+
.rte-gallery-browser-card {
|
|
2125
|
+
display: flex;
|
|
2126
|
+
flex-direction: column;
|
|
2127
|
+
gap: 10px;
|
|
2128
|
+
min-width: 0;
|
|
2129
|
+
padding: 10px;
|
|
2130
|
+
border: 1px solid #d7dce4;
|
|
2131
|
+
border-radius: 12px;
|
|
2132
|
+
background: linear-gradient(180deg, #ffffff 0%, #f7f8fa 100%);
|
|
2133
|
+
text-align: left;
|
|
2134
|
+
cursor: pointer;
|
|
2135
|
+
transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
|
|
2136
|
+
}
|
|
2137
|
+
|
|
2138
|
+
.rte-gallery-browser-card:hover,
|
|
2139
|
+
.rte-gallery-browser-card.is-selected {
|
|
2140
|
+
border-color: #8a94a4;
|
|
2141
|
+
box-shadow: 0 10px 20px rgba(51, 65, 85, 0.08);
|
|
2142
|
+
transform: translateY(-1px);
|
|
2143
|
+
outline: none;
|
|
2144
|
+
}
|
|
2145
|
+
|
|
2146
|
+
.rte-gallery-browser-card.is-selected {
|
|
2147
|
+
border-color: #4b5563;
|
|
2148
|
+
box-shadow: 0 0 0 3px rgba(75, 85, 99, 0.18);
|
|
2149
|
+
}
|
|
2150
|
+
|
|
2151
|
+
.rte-gallery-browser-selection {
|
|
2152
|
+
height: 18px;
|
|
2153
|
+
color: #475569;
|
|
2154
|
+
font-size: 12px;
|
|
2155
|
+
line-height: 18px;
|
|
2156
|
+
font-weight: 600;
|
|
2157
|
+
}
|
|
2158
|
+
|
|
2159
|
+
.rte-gallery-browser-thumbnail {
|
|
2160
|
+
display: flex;
|
|
2161
|
+
align-items: center;
|
|
2162
|
+
justify-content: center;
|
|
2163
|
+
height: 112px;
|
|
2164
|
+
border: 1px solid #d6dde9;
|
|
2165
|
+
border-radius: 10px;
|
|
2166
|
+
background: linear-gradient(180deg, #ffffff 0%, #f1f5fb 100%);
|
|
2167
|
+
overflow: hidden;
|
|
2168
|
+
}
|
|
2169
|
+
|
|
2170
|
+
.rte-gallery-browser-thumbnail-image {
|
|
2171
|
+
max-width: 100%;
|
|
2172
|
+
max-height: 100%;
|
|
2173
|
+
display: block;
|
|
2174
|
+
object-fit: contain;
|
|
2175
|
+
}
|
|
2176
|
+
|
|
2177
|
+
.rte-gallery-browser-name {
|
|
2178
|
+
overflow: hidden;
|
|
2179
|
+
text-overflow: ellipsis;
|
|
2180
|
+
white-space: nowrap;
|
|
2181
|
+
font-size: 13px;
|
|
2182
|
+
font-weight: 600;
|
|
2183
|
+
color: #223046;
|
|
2184
|
+
}
|
|
2185
|
+
|
|
2186
|
+
.rte-gallery-browser-meta {
|
|
2187
|
+
overflow: hidden;
|
|
2188
|
+
text-overflow: ellipsis;
|
|
2189
|
+
white-space: nowrap;
|
|
2190
|
+
color: #66768b;
|
|
2191
|
+
font-size: 12px;
|
|
2192
|
+
}
|
|
2193
|
+
|
|
2194
|
+
.rte-gallery-browser-footer {
|
|
2195
|
+
display: flex;
|
|
2196
|
+
align-items: center;
|
|
2197
|
+
justify-content: flex-end;
|
|
2198
|
+
gap: 10px;
|
|
2199
|
+
padding: 12px 16px;
|
|
2200
|
+
border-top: 1px solid #d7dde7;
|
|
2201
|
+
background: linear-gradient(180deg, #fbfcfe 0%, #edf1f7 100%);
|
|
2202
|
+
}
|
|
2203
|
+
|
|
2204
|
+
.rte-gallery-browser-footer-text {
|
|
2205
|
+
margin-right: auto;
|
|
2206
|
+
color: #4f5f74;
|
|
2207
|
+
font-size: 13px;
|
|
2208
|
+
}
|
|
2209
|
+
|
|
2210
|
+
rte-dropdown-panel.rte-panel-insertimage rte-dialog-inner,
|
|
2211
|
+
rte-dropdown-panel.rte-panel-insertdocument rte-dialog-inner {
|
|
2212
|
+
width: 560px;
|
|
2213
|
+
max-width: 94vw;
|
|
2214
|
+
padding: 0 0 16px;
|
|
2215
|
+
overflow: hidden;
|
|
2216
|
+
border-radius: 22px;
|
|
2217
|
+
background: linear-gradient(180deg, #ffffff 0%, #f7f8fa 100%);
|
|
2218
|
+
}
|
|
2219
|
+
|
|
2220
|
+
rte-dropdown-panel.rte-panel-insertimage rte-dialog-header,
|
|
2221
|
+
rte-dropdown-panel.rte-panel-insertdocument rte-dialog-header {
|
|
2222
|
+
display: flex;
|
|
2223
|
+
align-items: center;
|
|
2224
|
+
padding: 18px 20px 12px;
|
|
2225
|
+
border-bottom: 1px solid #e2e8f0;
|
|
2226
|
+
background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
|
|
2227
|
+
}
|
|
2228
|
+
|
|
2229
|
+
rte-dropdown-panel.rte-panel-insertimage rte-dialog-header-text,
|
|
2230
|
+
rte-dropdown-panel.rte-panel-insertdocument rte-dialog-header-text {
|
|
2231
|
+
font-size: 20px;
|
|
2232
|
+
font-weight: 700;
|
|
2233
|
+
color: #182235;
|
|
2234
|
+
}
|
|
2235
|
+
|
|
2236
|
+
rte-dropdown-panel.rte-panel-insertimage .rte-dialog-line-input,
|
|
2237
|
+
rte-dropdown-panel.rte-panel-insertdocument .rte-dialog-line-input {
|
|
2238
|
+
margin: 12px 16px 0;
|
|
2239
|
+
}
|
|
2240
|
+
|
|
2241
|
+
rte-dropdown-panel.rte-panel-insertimage .rte-dialog-line-input input[type=text],
|
|
2242
|
+
rte-dropdown-panel.rte-panel-insertdocument .rte-dialog-line-input input[type=text] {
|
|
2243
|
+
width: 100%;
|
|
2244
|
+
min-height: 36px;
|
|
2245
|
+
margin: 0;
|
|
2246
|
+
padding: 8px 10px;
|
|
2247
|
+
color: #333333;
|
|
2248
|
+
background: #ffffff;
|
|
2249
|
+
border: 1px solid #cccccc;
|
|
2250
|
+
border-radius: 4px;
|
|
2251
|
+
box-shadow: none;
|
|
2252
|
+
font-size: 13px;
|
|
2253
|
+
line-height: 1.4;
|
|
2254
|
+
}
|
|
2255
|
+
|
|
2256
|
+
rte-dropdown-panel.rte-panel-insertimage .rte-dialog-line-input input[type=text]:focus,
|
|
2257
|
+
rte-dropdown-panel.rte-panel-insertdocument .rte-dialog-line-input input[type=text]:focus {
|
|
2258
|
+
outline: none;
|
|
2259
|
+
border-color: #0f8b8d;
|
|
2260
|
+
box-shadow: 0 0 0 2px rgba(15, 139, 141, 0.12);
|
|
2261
|
+
}
|
|
2262
|
+
|
|
2263
|
+
.rte-insertimage-intro,
|
|
2264
|
+
.rte-insertdocument-intro {
|
|
2265
|
+
margin: 12px 16px 0;
|
|
2266
|
+
font-size: 13px;
|
|
2267
|
+
line-height: 1.6;
|
|
2268
|
+
color: #475569;
|
|
2269
|
+
}
|
|
2270
|
+
|
|
2271
|
+
.rte-insertimage-preview,
|
|
2272
|
+
.rte-insertdocument-preview {
|
|
2273
|
+
margin: 12px 16px 0;
|
|
2274
|
+
border: 1px solid #d7dce4;
|
|
2275
|
+
border-radius: 18px;
|
|
2276
|
+
background: linear-gradient(180deg, #ffffff 0%, #f7f8fa 100%);
|
|
2277
|
+
padding: 14px;
|
|
2278
|
+
}
|
|
2279
|
+
|
|
2280
|
+
.rte-insertimage-preview-image {
|
|
2281
|
+
display: block;
|
|
2282
|
+
max-width: 100%;
|
|
2283
|
+
max-height: 220px;
|
|
2284
|
+
margin: 0 auto;
|
|
2285
|
+
object-fit: contain;
|
|
2286
|
+
}
|
|
2287
|
+
|
|
2288
|
+
.rte-insertimage-preview.is-empty .rte-insertimage-preview-image {
|
|
2289
|
+
display: none;
|
|
2290
|
+
}
|
|
2291
|
+
|
|
2292
|
+
.rte-insertimage-preview-caption {
|
|
2293
|
+
margin-top: 10px;
|
|
2294
|
+
text-align: center;
|
|
2295
|
+
font-size: 13px;
|
|
2296
|
+
line-height: 1.6;
|
|
2297
|
+
color: #475569;
|
|
2298
|
+
}
|
|
2299
|
+
|
|
2300
|
+
.rte-insertimage-preview.is-error .rte-insertimage-preview-caption {
|
|
2301
|
+
color: #b91c1c;
|
|
2302
|
+
}
|
|
2303
|
+
|
|
2304
|
+
.rte-insertdocument-preview {
|
|
2305
|
+
display: flex;
|
|
2306
|
+
align-items: center;
|
|
2307
|
+
gap: 14px;
|
|
2308
|
+
}
|
|
2309
|
+
|
|
2310
|
+
.rte-insertdocument-preview-icon {
|
|
2311
|
+
width: 56px;
|
|
2312
|
+
height: 56px;
|
|
2313
|
+
flex: none;
|
|
2314
|
+
display: flex;
|
|
2315
|
+
align-items: center;
|
|
2316
|
+
justify-content: center;
|
|
2317
|
+
border-radius: 16px;
|
|
2318
|
+
background: linear-gradient(180deg, #eef2f7 0%, #dbe3ee 100%);
|
|
2319
|
+
border: 1px solid #c8d2df;
|
|
2320
|
+
}
|
|
2321
|
+
|
|
2322
|
+
.rte-insertdocument-preview-ext {
|
|
2323
|
+
font-size: 12px;
|
|
2324
|
+
font-weight: 800;
|
|
2325
|
+
letter-spacing: 0.08em;
|
|
2326
|
+
color: #374151;
|
|
2327
|
+
}
|
|
2328
|
+
|
|
2329
|
+
.rte-insertdocument-preview-title {
|
|
2330
|
+
font-size: 15px;
|
|
2331
|
+
font-weight: 700;
|
|
2332
|
+
color: #182235;
|
|
2333
|
+
word-break: break-word;
|
|
2334
|
+
}
|
|
2335
|
+
|
|
2336
|
+
.rte-insertdocument-preview-meta {
|
|
2337
|
+
margin-top: 4px;
|
|
2338
|
+
font-size: 12px;
|
|
2339
|
+
line-height: 1.6;
|
|
2340
|
+
color: #64748b;
|
|
2341
|
+
word-break: break-word;
|
|
2342
|
+
}
|
|
2343
|
+
|
|
2344
|
+
.rte-insertdocument-preview.is-empty .rte-insertdocument-preview-title {
|
|
2345
|
+
color: #475569;
|
|
2346
|
+
}
|
|
2347
|
+
|
|
2348
|
+
rte-dropdown-panel.rte-panel-insertimage .rte-dialog-line-action,
|
|
2349
|
+
rte-dropdown-panel.rte-panel-insertdocument .rte-dialog-line-action {
|
|
2350
|
+
margin: 14px 16px 0;
|
|
2351
|
+
padding: 0;
|
|
2352
|
+
}
|
|
2353
|
+
|
|
2354
|
+
rte-dropdown-panel.rte-panel-insertimage .rte-dialog-button,
|
|
2355
|
+
rte-dropdown-panel.rte-panel-insertdocument .rte-dialog-button {
|
|
2356
|
+
min-height: 34px;
|
|
2357
|
+
padding: 6px 18px;
|
|
2358
|
+
border-radius: 4px;
|
|
2359
|
+
font-size: 13px;
|
|
2360
|
+
font-weight: 500;
|
|
2361
|
+
box-shadow: none;
|
|
2362
|
+
}
|
|
2363
|
+
|
|
2364
|
+
rte-dropdown-panel.rte-panel-insertimage .rte-dialog-button:hover,
|
|
2365
|
+
rte-dropdown-panel.rte-panel-insertdocument .rte-dialog-button:hover {
|
|
2366
|
+
background: #0c7b7d;
|
|
2367
|
+
border-color: #0c7b7d;
|
|
2368
|
+
}
|
|
2369
|
+
|
|
2370
|
+
rte-dropdown-panel.rte-panel-insertimage .rte-dialog-button.rte-button-type-cancel,
|
|
2371
|
+
rte-dropdown-panel.rte-panel-insertdocument .rte-dialog-button.rte-button-type-cancel {
|
|
2372
|
+
background: #ffffff;
|
|
2373
|
+
color: #0f8b8d;
|
|
2374
|
+
border-color: #0f8b8d;
|
|
2375
|
+
}
|
|
2376
|
+
|
|
2377
|
+
rte-dropdown-panel.rte-panel-insertimage .rte-dialog-button.rte-button-type-cancel:hover,
|
|
2378
|
+
rte-dropdown-panel.rte-panel-insertdocument .rte-dialog-button.rte-button-type-cancel:hover {
|
|
2379
|
+
background: #0c7b7d;
|
|
2380
|
+
color: #ffffff;
|
|
2381
|
+
border-color: #0c7b7d;
|
|
2382
|
+
}
|