jodit 3.9.4 → 3.9.6
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/.idea/workspace.xml +84 -82
- package/CHANGELOG.MD +109 -5
- package/build/jodit.css +450 -427
- package/build/jodit.es2018.css +298 -283
- package/build/jodit.es2018.en.css +298 -283
- package/build/jodit.es2018.en.js +539 -336
- package/build/jodit.es2018.en.min.css +1 -1
- package/build/jodit.es2018.en.min.js +1 -1
- package/build/jodit.es2018.js +575 -372
- package/build/jodit.es2018.min.css +1 -1
- package/build/jodit.es2018.min.js +1 -1
- package/build/jodit.js +1142 -876
- package/build/jodit.min.css +2 -2
- package/build/jodit.min.js +1 -1
- package/package.json +1 -1
- package/src/config.ts +18 -19
- package/src/core/component/component.ts +16 -15
- package/src/core/storage/engines/local-storage-provider.ts +9 -3
- package/src/core/storage/engines/memory-storage-provider.ts +6 -3
- package/src/core/storage/storage.ts +7 -4
- package/src/core/ui/icon.ts +1 -0
- package/src/core/ui/index.ts +1 -3
- package/src/core/ui/list/group.less +8 -2
- package/src/{modules/file-browser/consts.ts → core/ui/list/index.ts} +4 -4
- package/src/core/ui/list/list.less +9 -1
- package/src/core/ui/list/list.ts +20 -3
- package/src/core/ui/{separator.ts → list/separator.ts} +2 -2
- package/src/core/ui/list/spacer.ts +15 -0
- package/src/core/view/view-with-toolbar.ts +2 -1
- package/src/modules/dialog/dialog.less +1 -15
- package/src/modules/dialog/dialog.ts +8 -1
- package/src/modules/file-browser/builders/context-menu.ts +29 -22
- package/src/modules/file-browser/config.ts +10 -2
- package/src/modules/file-browser/file-browser.ts +50 -29
- package/src/modules/file-browser/listeners/native-listeners.ts +37 -19
- package/src/modules/file-browser/listeners/state-listeners.ts +48 -22
- package/src/modules/file-browser/styles/file-browser.less +4 -291
- package/src/modules/file-browser/styles/preview.less +11 -8
- package/src/modules/file-browser/ui/files/files.less +174 -0
- package/src/modules/file-browser/ui/files/files.ts +14 -0
- package/{types/modules/file-browser/consts.d.ts → src/modules/file-browser/ui/index.ts} +3 -3
- package/src/modules/file-browser/ui/tree/tree.less +118 -0
- package/src/modules/file-browser/ui/tree/tree.ts +14 -0
- package/src/modules/toolbar/collection/collection.ts +17 -3
- package/src/modules/toolbar/collection/editor-collection.ts +22 -1
- package/src/plugins/clipboard/drag-and-drop.ts +4 -1
- package/src/plugins/inline-popup/config/config.ts +1 -0
- package/src/plugins/inline-popup/config/items/toolbar.ts +33 -0
- package/src/plugins/inline-popup/inline-popup.ts +17 -0
- package/src/plugins/size/resize-handler.ts +5 -2
- package/src/plugins/size/size.less +2 -17
- package/src/plugins/size/size.ts +6 -1
- package/src/plugins/sticky/sticky.ts +2 -0
- package/src/styles/icons/index.ts +2 -0
- package/src/{plugins/size/assests → styles/icons}/resize-handler.svg +0 -0
- package/src/styles/mixins.less +20 -0
- package/src/types/ajax.d.ts +0 -1
- package/src/types/file-browser.d.ts +13 -1
- package/src/types/jodit.d.ts +7 -1
- package/src/types/select.d.ts +2 -0
- package/src/types/storage.ts +3 -3
- package/src/types/style.d.ts +7 -1
- package/src/types/toolbar.d.ts +7 -1
- package/src/types/types.d.ts +1 -1
- package/src/types/view.d.ts +1 -1
- package/types/core/component/component.d.ts +4 -3
- package/types/core/storage/engines/local-storage-provider.d.ts +3 -3
- package/types/core/storage/engines/memory-storage-provider.d.ts +3 -3
- package/types/core/storage/storage.d.ts +3 -3
- package/types/core/ui/index.d.ts +1 -3
- package/types/core/ui/list/index.d.ts +9 -0
- package/types/core/ui/{separator.d.ts → list/separator.d.ts} +1 -1
- package/types/core/ui/list/spacer.d.ts +9 -0
- package/types/core/view/view-with-toolbar.d.ts +2 -1
- package/types/modules/file-browser/file-browser.d.ts +3 -2
- package/types/modules/file-browser/listeners/native-listeners.d.ts +5 -1
- package/types/modules/file-browser/ui/files/files.d.ts +10 -0
- package/types/modules/file-browser/ui/index.d.ts +7 -0
- package/types/modules/file-browser/ui/tree/tree.d.ts +10 -0
- package/types/modules/toolbar/collection/collection.d.ts +5 -2
- package/types/modules/toolbar/collection/editor-collection.d.ts +9 -1
- package/types/plugins/inline-popup/inline-popup.d.ts +4 -0
- package/types/styles/icons/index.d.ts +2 -1
- package/types/types/ajax.d.ts +0 -1
- package/types/types/file-browser.d.ts +13 -1
- package/types/types/jodit.d.ts +7 -1
- package/types/types/select.d.ts +2 -0
- package/types/types/storage.d.ts +3 -3
- package/types/types/storage.ts +3 -3
- package/types/types/style.d.ts +7 -1
- package/types/types/toolbar.d.ts +7 -1
- package/types/types/types.d.ts +1 -1
- package/types/types/view.d.ts +1 -1
package/build/jodit.es2018.css
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser
|
|
3
3
|
* Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/)
|
|
4
|
-
* Version: v3.9.
|
|
4
|
+
* Version: v3.9.6
|
|
5
5
|
* Url: https://xdsoft.net/jodit/
|
|
6
6
|
* License(s): MIT
|
|
7
7
|
*/
|
|
@@ -1484,6 +1484,9 @@ svg.jodit-icon {
|
|
|
1484
1484
|
flex-basis: 100%;
|
|
1485
1485
|
border-top: 1px solid var(--jd-color-border);
|
|
1486
1486
|
}
|
|
1487
|
+
.jodit-ui-spacer {
|
|
1488
|
+
flex: 1;
|
|
1489
|
+
}
|
|
1487
1490
|
|
|
1488
1491
|
/*!
|
|
1489
1492
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
@@ -1497,7 +1500,11 @@ svg.jodit-icon {
|
|
|
1497
1500
|
flex-shrink: 0;
|
|
1498
1501
|
flex-wrap: wrap;
|
|
1499
1502
|
}
|
|
1500
|
-
.jodit-ui-
|
|
1503
|
+
.jodit-ui-group_line_true {
|
|
1504
|
+
display: flex;
|
|
1505
|
+
justify-content: stretch;
|
|
1506
|
+
}
|
|
1507
|
+
.jodit-ui-group_separated_true:not(:last-child):not(.jodit-ui-group_before-spacer_true):after {
|
|
1501
1508
|
content: '';
|
|
1502
1509
|
padding: 0;
|
|
1503
1510
|
border-right: 1px solid var(--jd-color-border);
|
|
@@ -2307,20 +2314,18 @@ svg.jodit-icon {
|
|
|
2307
2314
|
display: flex;
|
|
2308
2315
|
}
|
|
2309
2316
|
.jodit-dialog__resizer {
|
|
2317
|
+
position: relative;
|
|
2318
|
+
}
|
|
2319
|
+
.jodit-dialog__resizer svg {
|
|
2310
2320
|
position: absolute;
|
|
2311
2321
|
right: 0;
|
|
2312
2322
|
bottom: 0;
|
|
2313
|
-
|
|
2314
|
-
width:
|
|
2315
|
-
height:
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
cursor: se-resize;
|
|
2320
|
-
opacity: 1;
|
|
2321
|
-
}
|
|
2322
|
-
.jodit-dialog__resizer:hover {
|
|
2323
|
-
border-bottom-color: rgba(0, 0, 0, 0.6);
|
|
2323
|
+
overflow: hidden;
|
|
2324
|
+
width: 12px;
|
|
2325
|
+
height: 12px;
|
|
2326
|
+
cursor: nwse-resize;
|
|
2327
|
+
fill: var(--jd-color-gray-dark);
|
|
2328
|
+
user-select: none;
|
|
2324
2329
|
}
|
|
2325
2330
|
@media (max-width: 480px) {
|
|
2326
2331
|
.jodit-dialog__resizer {
|
|
@@ -3058,7 +3063,7 @@ svg.jodit-icon {
|
|
|
3058
3063
|
height: 100%;
|
|
3059
3064
|
font-family: var(--jd-font-default);
|
|
3060
3065
|
}
|
|
3061
|
-
.jodit-
|
|
3066
|
+
.jodit-filebrowser_no-files_true {
|
|
3062
3067
|
padding: var(--jd-padding-default);
|
|
3063
3068
|
}
|
|
3064
3069
|
@media (max-width: 480px) {
|
|
@@ -3073,7 +3078,7 @@ svg.jodit-icon {
|
|
|
3073
3078
|
width: 100%;
|
|
3074
3079
|
height: 100%;
|
|
3075
3080
|
}
|
|
3076
|
-
.jodit-filebrowser__loader
|
|
3081
|
+
.jodit-filebrowser__loader div {
|
|
3077
3082
|
position: absolute;
|
|
3078
3083
|
top: 50%;
|
|
3079
3084
|
left: 50%;
|
|
@@ -3098,267 +3103,13 @@ svg.jodit-icon {
|
|
|
3098
3103
|
visibility: hidden;
|
|
3099
3104
|
word-break: break-all;
|
|
3100
3105
|
}
|
|
3101
|
-
.jodit-
|
|
3106
|
+
.jodit-filebrowser__status_success_true {
|
|
3102
3107
|
color: #c5c5c5;
|
|
3103
3108
|
}
|
|
3104
|
-
.jodit-
|
|
3109
|
+
.jodit-filebrowser__status_active_true {
|
|
3105
3110
|
opacity: 1;
|
|
3106
3111
|
visibility: visible;
|
|
3107
3112
|
}
|
|
3108
|
-
.jodit-filebrowser__tree,
|
|
3109
|
-
.jodit-filebrowser__files {
|
|
3110
|
-
position: relative;
|
|
3111
|
-
display: none;
|
|
3112
|
-
height: 100%;
|
|
3113
|
-
vertical-align: top;
|
|
3114
|
-
overflow-anchor: auto;
|
|
3115
|
-
}
|
|
3116
|
-
.jodit-filebrowser__tree .jodit-button,
|
|
3117
|
-
.jodit-filebrowser__files .jodit-button {
|
|
3118
|
-
border-radius: 0;
|
|
3119
|
-
}
|
|
3120
|
-
.jodit-filebrowser__tree.jodit-filebrowser_active,
|
|
3121
|
-
.jodit-filebrowser__files.jodit-filebrowser_active {
|
|
3122
|
-
display: flex;
|
|
3123
|
-
}
|
|
3124
|
-
.jodit-filebrowser__tree::-webkit-scrollbar,
|
|
3125
|
-
.jodit-filebrowser__files::-webkit-scrollbar {
|
|
3126
|
-
width: calc(var(--jd-padding-default) / 2);
|
|
3127
|
-
}
|
|
3128
|
-
.jodit-filebrowser__tree::-webkit-scrollbar-track,
|
|
3129
|
-
.jodit-filebrowser__files::-webkit-scrollbar-track {
|
|
3130
|
-
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
|
|
3131
|
-
}
|
|
3132
|
-
.jodit-filebrowser__tree::-webkit-scrollbar-thumb,
|
|
3133
|
-
.jodit-filebrowser__files::-webkit-scrollbar-thumb {
|
|
3134
|
-
background-color: darkgrey;
|
|
3135
|
-
outline: 1px solid slategrey;
|
|
3136
|
-
}
|
|
3137
|
-
.jodit-filebrowser__tree.jodit-filebrowser_active {
|
|
3138
|
-
z-index: 2;
|
|
3139
|
-
width: var(--jd-first_column);
|
|
3140
|
-
min-width: 200px;
|
|
3141
|
-
max-width: 290px;
|
|
3142
|
-
flex-direction: column;
|
|
3143
|
-
background-color: var(--jd-color-background-filebrowser-folders);
|
|
3144
|
-
overflow-y: auto;
|
|
3145
|
-
--jd-text-color: #b1b1b1;
|
|
3146
|
-
}
|
|
3147
|
-
@media (max-width: 480px) {
|
|
3148
|
-
.jodit-filebrowser__tree.jodit-filebrowser_active {
|
|
3149
|
-
width: auto;
|
|
3150
|
-
max-width: 100%;
|
|
3151
|
-
height: 100px;
|
|
3152
|
-
}
|
|
3153
|
-
}
|
|
3154
|
-
.jodit-filebrowser__tree.jodit-filebrowser_active::-webkit-scrollbar {
|
|
3155
|
-
width: calc(var(--jd-padding-default) / 2);
|
|
3156
|
-
}
|
|
3157
|
-
.jodit-filebrowser__tree.jodit-filebrowser_active::-webkit-scrollbar-track {
|
|
3158
|
-
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
|
|
3159
|
-
}
|
|
3160
|
-
.jodit-filebrowser__tree.jodit-filebrowser_active::-webkit-scrollbar-thumb {
|
|
3161
|
-
background-color: rgba(127, 127, 127, 0.5);
|
|
3162
|
-
outline: 1px solid slategrey;
|
|
3163
|
-
}
|
|
3164
|
-
.jodit-filebrowser__tree.jodit-filebrowser_active .jodit-filebrowser__source-title {
|
|
3165
|
-
position: relative;
|
|
3166
|
-
display: block;
|
|
3167
|
-
padding: 2px 4px;
|
|
3168
|
-
border-bottom: 1px solid #484848;
|
|
3169
|
-
background: #5a5a5a;
|
|
3170
|
-
color: #969696;
|
|
3171
|
-
font-size: 12px;
|
|
3172
|
-
user-select: none;
|
|
3173
|
-
word-break: break-all;
|
|
3174
|
-
}
|
|
3175
|
-
.jodit-filebrowser__tree.jodit-filebrowser_active .jodit-filebrowser__tree-item {
|
|
3176
|
-
position: relative;
|
|
3177
|
-
display: flex;
|
|
3178
|
-
min-height: 38px;
|
|
3179
|
-
align-items: center;
|
|
3180
|
-
justify-content: space-between;
|
|
3181
|
-
padding: calc(var(--jd-padding-default) / 2) var(--jd-padding-default);
|
|
3182
|
-
border-bottom: 1px solid #474747;
|
|
3183
|
-
color: var(--jd-text-color);
|
|
3184
|
-
text-decoration: none;
|
|
3185
|
-
transition: background-color 0.2s ease 0s;
|
|
3186
|
-
word-break: break-all;
|
|
3187
|
-
}
|
|
3188
|
-
.jodit-filebrowser__tree.jodit-filebrowser_active .jodit-filebrowser__tree-item-title {
|
|
3189
|
-
flex: 1;
|
|
3190
|
-
}
|
|
3191
|
-
.jodit-filebrowser__tree.jodit-filebrowser_active .jodit-filebrowser__tree-item .jodit-icon_folder {
|
|
3192
|
-
display: flex;
|
|
3193
|
-
width: calc(var(--jd-icon-size) + 4px);
|
|
3194
|
-
height: calc(var(--jd-icon-size) + 4px);
|
|
3195
|
-
align-items: center;
|
|
3196
|
-
justify-content: center;
|
|
3197
|
-
margin-left: calc(var(--jd-padding-default) / 2);
|
|
3198
|
-
opacity: 0.3;
|
|
3199
|
-
}
|
|
3200
|
-
.jodit-filebrowser__tree.jodit-filebrowser_active .jodit-filebrowser__tree-item .jodit-icon_folder svg {
|
|
3201
|
-
width: var(--jd-icon-size);
|
|
3202
|
-
height: var(--jd-icon-size);
|
|
3203
|
-
fill: var(--jd-text-color) !important;
|
|
3204
|
-
stroke: var(--jd-text-color) !important;
|
|
3205
|
-
}
|
|
3206
|
-
.jodit-filebrowser__tree.jodit-filebrowser_active .jodit-filebrowser__tree-item .jodit-icon_folder:hover {
|
|
3207
|
-
background: #696969;
|
|
3208
|
-
}
|
|
3209
|
-
.jodit-filebrowser__tree.jodit-filebrowser_active .jodit-filebrowser__tree-item:hover {
|
|
3210
|
-
background-color: var(--jd-color-background-button-hover);
|
|
3211
|
-
color: #222;
|
|
3212
|
-
}
|
|
3213
|
-
.jodit-filebrowser__tree.jodit-filebrowser_active .jodit-filebrowser__tree-item:hover i.jodit-icon_folder {
|
|
3214
|
-
opacity: 0.6;
|
|
3215
|
-
}
|
|
3216
|
-
.jodit-filebrowser__files.jodit-filebrowser_active {
|
|
3217
|
-
width: 100%;
|
|
3218
|
-
flex-wrap: wrap;
|
|
3219
|
-
align-content: flex-start;
|
|
3220
|
-
padding: calc(var(--jd-padding-default) / 2);
|
|
3221
|
-
overflow-y: auto;
|
|
3222
|
-
}
|
|
3223
|
-
.jodit-filebrowser__files.jodit-filebrowser_active .jodit-filebrowser__source-title {
|
|
3224
|
-
position: relative;
|
|
3225
|
-
display: block;
|
|
3226
|
-
padding: var(--jd-padding-default);
|
|
3227
|
-
margin: calc(var(--jd-padding-default) * -1);
|
|
3228
|
-
margin-bottom: 0;
|
|
3229
|
-
background: #5a5a5a;
|
|
3230
|
-
color: #969696;
|
|
3231
|
-
font-size: 16px;
|
|
3232
|
-
user-select: none;
|
|
3233
|
-
word-break: break-all;
|
|
3234
|
-
}
|
|
3235
|
-
.jodit-filebrowser__files.jodit-filebrowser_active a + .jodit-filebrowser__source-title {
|
|
3236
|
-
margin-top: var(--jd-padding-default);
|
|
3237
|
-
}
|
|
3238
|
-
.jodit-filebrowser__files.jodit-filebrowser_active .jodit-filebrowser__files-item {
|
|
3239
|
-
position: relative;
|
|
3240
|
-
display: flex;
|
|
3241
|
-
overflow: hidden;
|
|
3242
|
-
width: var(--jd-col_size);
|
|
3243
|
-
height: var(--jd-col_size);
|
|
3244
|
-
align-items: center;
|
|
3245
|
-
justify-content: center;
|
|
3246
|
-
border: 1px solid var(--jd-color-border);
|
|
3247
|
-
margin: calc(var(--jd-padding-default) / 2);
|
|
3248
|
-
font-size: 0;
|
|
3249
|
-
text-align: center;
|
|
3250
|
-
transition: border 0.1s linear, bottom 0.1s linear;
|
|
3251
|
-
}
|
|
3252
|
-
@media (max-width: 480px) {
|
|
3253
|
-
.jodit-filebrowser__files.jodit-filebrowser_active .jodit-filebrowser__files-item {
|
|
3254
|
-
width: calc(50% - var(--jd-padding-default));
|
|
3255
|
-
}
|
|
3256
|
-
}
|
|
3257
|
-
.jodit-filebrowser__files.jodit-filebrowser_active .jodit-filebrowser__files-item img {
|
|
3258
|
-
max-width: 100%;
|
|
3259
|
-
}
|
|
3260
|
-
.jodit-filebrowser__files.jodit-filebrowser_active .jodit-filebrowser__files-item:hover {
|
|
3261
|
-
border-color: #433b5c;
|
|
3262
|
-
}
|
|
3263
|
-
.jodit-filebrowser__files.jodit-filebrowser_active .jodit-filebrowser__files-item_active_true {
|
|
3264
|
-
border-color: var(--jd-color-border-selected);
|
|
3265
|
-
background-color: var(--jd-color-border-active);
|
|
3266
|
-
}
|
|
3267
|
-
.jodit-filebrowser__files.jodit-filebrowser_active .jodit-filebrowser__files-item_active_true .jodit-filebrowser__files-item-info {
|
|
3268
|
-
background-color: var(--jd-color-border-active);
|
|
3269
|
-
color: white;
|
|
3270
|
-
text-shadow: none;
|
|
3271
|
-
}
|
|
3272
|
-
.jodit-filebrowser__files.jodit-filebrowser_active .jodit-filebrowser__files-item-info {
|
|
3273
|
-
position: absolute;
|
|
3274
|
-
right: 0;
|
|
3275
|
-
bottom: 0;
|
|
3276
|
-
left: 0;
|
|
3277
|
-
overflow: visible;
|
|
3278
|
-
padding: 0.3em 0.6em;
|
|
3279
|
-
background-color: var(--jd-info-background);
|
|
3280
|
-
color: #333333;
|
|
3281
|
-
font-size: 14px;
|
|
3282
|
-
line-height: 16px;
|
|
3283
|
-
opacity: 0.85;
|
|
3284
|
-
text-align: left;
|
|
3285
|
-
text-shadow: #eeeeee 0 1px 0;
|
|
3286
|
-
transition: opacity 400ms ease;
|
|
3287
|
-
white-space: normal;
|
|
3288
|
-
}
|
|
3289
|
-
.jodit-filebrowser__files.jodit-filebrowser_active .jodit-filebrowser__files-item-info > span {
|
|
3290
|
-
display: block;
|
|
3291
|
-
overflow: hidden;
|
|
3292
|
-
font-size: 0.75em;
|
|
3293
|
-
text-overflow: ellipsis;
|
|
3294
|
-
white-space: nowrap;
|
|
3295
|
-
}
|
|
3296
|
-
.jodit-filebrowser__files.jodit-filebrowser_active .jodit-filebrowser__files-item-info > span.jodit-filebrowser__files-item-info-filename {
|
|
3297
|
-
font-size: 0.9em;
|
|
3298
|
-
font-weight: bold;
|
|
3299
|
-
}
|
|
3300
|
-
.jodit-filebrowser__files.jodit-filebrowser_active .jodit-filebrowser__files-item:hover:not(.jodit-filebrowser__files-item_active_true) .jodit-filebrowser__files-item-info {
|
|
3301
|
-
bottom: -100px;
|
|
3302
|
-
}
|
|
3303
|
-
.jodit-filebrowser__files.jodit-filebrowser_active.jodit-filebrowser__files_view_list {
|
|
3304
|
-
scroll-behavior: smooth;
|
|
3305
|
-
}
|
|
3306
|
-
.jodit-filebrowser__files.jodit-filebrowser_active.jodit-filebrowser__files_view_list a {
|
|
3307
|
-
display: block;
|
|
3308
|
-
width: 100%;
|
|
3309
|
-
height: 26px;
|
|
3310
|
-
border-width: 0 0 1px 0;
|
|
3311
|
-
margin: 0;
|
|
3312
|
-
line-height: 26px;
|
|
3313
|
-
text-align: left;
|
|
3314
|
-
white-space: nowrap;
|
|
3315
|
-
}
|
|
3316
|
-
.jodit-filebrowser__files.jodit-filebrowser_active.jodit-filebrowser__files_view_list a img {
|
|
3317
|
-
display: inline-block;
|
|
3318
|
-
min-width: 16px;
|
|
3319
|
-
max-width: 16px;
|
|
3320
|
-
margin-left: 4px;
|
|
3321
|
-
vertical-align: middle;
|
|
3322
|
-
}
|
|
3323
|
-
.jodit-filebrowser__files.jodit-filebrowser_active.jodit-filebrowser__files_view_list a .jodit-filebrowser__files-item-info {
|
|
3324
|
-
position: static;
|
|
3325
|
-
display: inline-block;
|
|
3326
|
-
width: calc(100% - 20px);
|
|
3327
|
-
height: 100%;
|
|
3328
|
-
padding: 0;
|
|
3329
|
-
margin-left: 4px;
|
|
3330
|
-
background-color: transparent;
|
|
3331
|
-
font-size: 0;
|
|
3332
|
-
line-height: inherit;
|
|
3333
|
-
vertical-align: middle;
|
|
3334
|
-
}
|
|
3335
|
-
.jodit-filebrowser__files.jodit-filebrowser_active.jodit-filebrowser__files_view_list a .jodit-filebrowser__files-item-info > span {
|
|
3336
|
-
display: inline-block;
|
|
3337
|
-
height: 100%;
|
|
3338
|
-
font-size: 12px;
|
|
3339
|
-
}
|
|
3340
|
-
.jodit-filebrowser__files.jodit-filebrowser_active.jodit-filebrowser__files_view_list a .jodit-filebrowser__files-item-info > span.jodit-filebrowser__files-item-info-filename {
|
|
3341
|
-
width: 50%;
|
|
3342
|
-
}
|
|
3343
|
-
.jodit-filebrowser__files.jodit-filebrowser_active.jodit-filebrowser__files_view_list a .jodit-filebrowser__files-item-info > span.jodit-filebrowser__files-item-info-filesize {
|
|
3344
|
-
width: 25%;
|
|
3345
|
-
}
|
|
3346
|
-
.jodit-filebrowser__files.jodit-filebrowser_active.jodit-filebrowser__files_view_list a .jodit-filebrowser__files-item-info > span.jodit-filebrowser__files-item-info-filechanged {
|
|
3347
|
-
width: 25%;
|
|
3348
|
-
}
|
|
3349
|
-
.jodit-filebrowser__files.jodit-filebrowser_active.jodit-filebrowser__files_view_list a:hover {
|
|
3350
|
-
background-color: #433b5c;
|
|
3351
|
-
}
|
|
3352
|
-
.jodit-filebrowser__files.jodit-filebrowser_active.jodit-filebrowser__files_view_list a:hover .jodit-filebrowser__files-item-info {
|
|
3353
|
-
color: #fff;
|
|
3354
|
-
text-shadow: none;
|
|
3355
|
-
}
|
|
3356
|
-
.jodit-filebrowser__files.jodit-filebrowser_active.jodit-filebrowser__files_view_list a::before {
|
|
3357
|
-
display: inline-block;
|
|
3358
|
-
height: 100%;
|
|
3359
|
-
content: '';
|
|
3360
|
-
vertical-align: middle;
|
|
3361
|
-
}
|
|
3362
3113
|
.jodit_draghover {
|
|
3363
3114
|
background-color: var(--jd-color-background-button-hover);
|
|
3364
3115
|
}
|
|
@@ -3372,19 +3123,21 @@ svg.jodit-icon {
|
|
|
3372
3123
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
3373
3124
|
* Copyright (c) 2013-2021 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
3374
3125
|
*/
|
|
3375
|
-
.jodit-
|
|
3126
|
+
.jodit-filebrowser-preview {
|
|
3376
3127
|
position: relative;
|
|
3377
3128
|
display: flex;
|
|
3378
|
-
min-width:
|
|
3379
|
-
max-width: 1000px;
|
|
3380
|
-
|
|
3129
|
+
min-width: 400px;
|
|
3130
|
+
max-width: min(100%, 1000px);
|
|
3131
|
+
height: 100%;
|
|
3132
|
+
min-height: min(100%, 500px);
|
|
3381
3133
|
max-height: 100%;
|
|
3382
3134
|
align-items: center;
|
|
3383
3135
|
justify-content: center;
|
|
3136
|
+
margin: auto;
|
|
3384
3137
|
text-align: center;
|
|
3385
3138
|
}
|
|
3386
3139
|
@media (max-width: 768px) {
|
|
3387
|
-
.jodit-
|
|
3140
|
+
.jodit-filebrowser-preview {
|
|
3388
3141
|
min-width: auto;
|
|
3389
3142
|
max-width: 100%;
|
|
3390
3143
|
height: 100%;
|
|
@@ -3392,35 +3145,36 @@ svg.jodit-icon {
|
|
|
3392
3145
|
max-height: 100%;
|
|
3393
3146
|
}
|
|
3394
3147
|
}
|
|
3395
|
-
.jodit-
|
|
3148
|
+
.jodit-filebrowser-preview__box {
|
|
3396
3149
|
display: flex;
|
|
3397
3150
|
flex-grow: 1;
|
|
3398
3151
|
align-items: center;
|
|
3399
3152
|
justify-content: center;
|
|
3400
3153
|
}
|
|
3401
|
-
.jodit-
|
|
3154
|
+
.jodit-filebrowser-preview__navigation {
|
|
3402
3155
|
position: absolute;
|
|
3403
3156
|
top: 0;
|
|
3404
3157
|
left: 0;
|
|
3405
3158
|
height: 100%;
|
|
3159
|
+
cursor: pointer;
|
|
3406
3160
|
}
|
|
3407
|
-
.jodit-
|
|
3161
|
+
.jodit-filebrowser-preview__navigation_arrow_next {
|
|
3408
3162
|
right: 0;
|
|
3409
3163
|
left: auto;
|
|
3410
3164
|
}
|
|
3411
|
-
.jodit-
|
|
3165
|
+
.jodit-filebrowser-preview__navigation svg {
|
|
3412
3166
|
position: relative;
|
|
3413
3167
|
top: 50%;
|
|
3414
3168
|
width: 45px;
|
|
3415
3169
|
height: 45px;
|
|
3416
|
-
margin-top: -22px;
|
|
3417
3170
|
fill: #9e9ba7;
|
|
3171
|
+
transform: translateY(-50%);
|
|
3418
3172
|
transition: fill 0.3s linear;
|
|
3419
3173
|
}
|
|
3420
|
-
.jodit-
|
|
3174
|
+
.jodit-filebrowser-preview__navigation:hover svg {
|
|
3421
3175
|
fill: #000;
|
|
3422
3176
|
}
|
|
3423
|
-
.jodit-
|
|
3177
|
+
.jodit-filebrowser-preview img {
|
|
3424
3178
|
max-width: 100%;
|
|
3425
3179
|
max-height: 100%;
|
|
3426
3180
|
}
|
|
@@ -3609,6 +3363,267 @@ svg.jodit-icon {
|
|
|
3609
3363
|
justify-content: center;
|
|
3610
3364
|
}
|
|
3611
3365
|
|
|
3366
|
+
.jodit-filebrowser-files {
|
|
3367
|
+
position: relative;
|
|
3368
|
+
display: none;
|
|
3369
|
+
height: 100%;
|
|
3370
|
+
vertical-align: top;
|
|
3371
|
+
overflow-anchor: auto;
|
|
3372
|
+
}
|
|
3373
|
+
.jodit-filebrowser-files .jodit-button {
|
|
3374
|
+
border-radius: 0;
|
|
3375
|
+
}
|
|
3376
|
+
.jodit-filebrowser-files_active_true {
|
|
3377
|
+
display: flex;
|
|
3378
|
+
}
|
|
3379
|
+
.jodit-filebrowser-files::-webkit-scrollbar {
|
|
3380
|
+
width: calc(var(--jd-padding-default) / 2);
|
|
3381
|
+
}
|
|
3382
|
+
.jodit-filebrowser-files::-webkit-scrollbar-track {
|
|
3383
|
+
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
|
|
3384
|
+
}
|
|
3385
|
+
.jodit-filebrowser-files::-webkit-scrollbar-thumb {
|
|
3386
|
+
background-color: darkgrey;
|
|
3387
|
+
outline: 1px solid slategrey;
|
|
3388
|
+
}
|
|
3389
|
+
.jodit-filebrowser-files_active_true {
|
|
3390
|
+
width: 100%;
|
|
3391
|
+
flex-wrap: wrap;
|
|
3392
|
+
align-content: flex-start;
|
|
3393
|
+
padding: calc(var(--jd-padding-default) / 2);
|
|
3394
|
+
overflow-y: auto;
|
|
3395
|
+
}
|
|
3396
|
+
.jodit-filebrowser-files__item {
|
|
3397
|
+
position: relative;
|
|
3398
|
+
display: flex;
|
|
3399
|
+
overflow: hidden;
|
|
3400
|
+
width: var(--jd-col_size);
|
|
3401
|
+
height: var(--jd-col_size);
|
|
3402
|
+
align-items: center;
|
|
3403
|
+
justify-content: center;
|
|
3404
|
+
border: 1px solid var(--jd-color-border);
|
|
3405
|
+
margin: calc(var(--jd-padding-default) / 2);
|
|
3406
|
+
font-size: 0;
|
|
3407
|
+
text-align: center;
|
|
3408
|
+
transition: border 0.1s linear, bottom 0.1s linear;
|
|
3409
|
+
}
|
|
3410
|
+
@media (max-width: 480px) {
|
|
3411
|
+
.jodit-filebrowser-files__item {
|
|
3412
|
+
width: calc(50% - var(--jd-padding-default));
|
|
3413
|
+
}
|
|
3414
|
+
}
|
|
3415
|
+
.jodit-filebrowser-files__item img {
|
|
3416
|
+
max-width: 100%;
|
|
3417
|
+
}
|
|
3418
|
+
.jodit-filebrowser-files__item:hover {
|
|
3419
|
+
border-color: #433b5c;
|
|
3420
|
+
}
|
|
3421
|
+
.jodit-filebrowser-files__item_active_true {
|
|
3422
|
+
border-color: var(--jd-color-border-selected);
|
|
3423
|
+
background-color: var(--jd-color-border-active);
|
|
3424
|
+
}
|
|
3425
|
+
.jodit-filebrowser-files__item_active_true .jodit-filebrowser-files__item-info {
|
|
3426
|
+
background-color: var(--jd-color-border-active);
|
|
3427
|
+
color: white;
|
|
3428
|
+
text-shadow: none;
|
|
3429
|
+
}
|
|
3430
|
+
.jodit-filebrowser-files__item-info {
|
|
3431
|
+
position: absolute;
|
|
3432
|
+
right: 0;
|
|
3433
|
+
bottom: 0;
|
|
3434
|
+
left: 0;
|
|
3435
|
+
overflow: visible;
|
|
3436
|
+
padding: 0.3em 0.6em;
|
|
3437
|
+
background-color: var(--jd-info-background);
|
|
3438
|
+
color: #333333;
|
|
3439
|
+
font-size: 14px;
|
|
3440
|
+
line-height: 16px;
|
|
3441
|
+
opacity: 0.85;
|
|
3442
|
+
text-align: left;
|
|
3443
|
+
text-shadow: #eeeeee 0 1px 0;
|
|
3444
|
+
transition: opacity 400ms ease;
|
|
3445
|
+
white-space: normal;
|
|
3446
|
+
}
|
|
3447
|
+
.jodit-filebrowser-files__item-info > span {
|
|
3448
|
+
display: block;
|
|
3449
|
+
overflow: hidden;
|
|
3450
|
+
font-size: 0.75em;
|
|
3451
|
+
text-overflow: ellipsis;
|
|
3452
|
+
white-space: nowrap;
|
|
3453
|
+
}
|
|
3454
|
+
.jodit-filebrowser-files__item-info > span.jodit-filebrowser-files__item-info-filename {
|
|
3455
|
+
font-size: 0.9em;
|
|
3456
|
+
font-weight: bold;
|
|
3457
|
+
}
|
|
3458
|
+
.jodit-filebrowser-files__item:hover:not(.jodit-filebrowser-files__item_active_true) .jodit-filebrowser-files__item-info {
|
|
3459
|
+
bottom: -100px;
|
|
3460
|
+
}
|
|
3461
|
+
.jodit-filebrowser-files_view_list {
|
|
3462
|
+
scroll-behavior: smooth;
|
|
3463
|
+
}
|
|
3464
|
+
.jodit-filebrowser-files_view_list a {
|
|
3465
|
+
display: block;
|
|
3466
|
+
width: 100%;
|
|
3467
|
+
height: 26px;
|
|
3468
|
+
border-width: 0 0 1px 0;
|
|
3469
|
+
margin: 0;
|
|
3470
|
+
line-height: 26px;
|
|
3471
|
+
text-align: left;
|
|
3472
|
+
white-space: nowrap;
|
|
3473
|
+
}
|
|
3474
|
+
.jodit-filebrowser-files_view_list a img {
|
|
3475
|
+
display: inline-block;
|
|
3476
|
+
min-width: 16px;
|
|
3477
|
+
max-width: 16px;
|
|
3478
|
+
margin-left: 4px;
|
|
3479
|
+
vertical-align: middle;
|
|
3480
|
+
}
|
|
3481
|
+
.jodit-filebrowser-files_view_list a .jodit-filebrowser-files__item-info {
|
|
3482
|
+
position: static;
|
|
3483
|
+
display: inline-block;
|
|
3484
|
+
width: calc(100% - 20px);
|
|
3485
|
+
height: 100%;
|
|
3486
|
+
padding: 0;
|
|
3487
|
+
margin-left: 4px;
|
|
3488
|
+
background-color: transparent;
|
|
3489
|
+
font-size: 0;
|
|
3490
|
+
line-height: inherit;
|
|
3491
|
+
vertical-align: middle;
|
|
3492
|
+
}
|
|
3493
|
+
.jodit-filebrowser-files_view_list a .jodit-filebrowser-files__item-info > span {
|
|
3494
|
+
display: inline-block;
|
|
3495
|
+
height: 100%;
|
|
3496
|
+
font-size: 12px;
|
|
3497
|
+
}
|
|
3498
|
+
.jodit-filebrowser-files_view_list a .jodit-filebrowser-files__item-info-filename {
|
|
3499
|
+
width: 50%;
|
|
3500
|
+
}
|
|
3501
|
+
.jodit-filebrowser-files_view_list a .jodit-filebrowser-files__item-info-filesize {
|
|
3502
|
+
width: 25%;
|
|
3503
|
+
}
|
|
3504
|
+
.jodit-filebrowser-files_view_list a .jodit-filebrowser-files__item-info-filechanged {
|
|
3505
|
+
width: 25%;
|
|
3506
|
+
}
|
|
3507
|
+
.jodit-filebrowser-files_view_list a:hover {
|
|
3508
|
+
background-color: #433b5c;
|
|
3509
|
+
}
|
|
3510
|
+
.jodit-filebrowser-files_view_list a:hover .jodit-filebrowser-files__item-info {
|
|
3511
|
+
color: #fff;
|
|
3512
|
+
text-shadow: none;
|
|
3513
|
+
}
|
|
3514
|
+
.jodit-filebrowser-files_view_list a::before {
|
|
3515
|
+
display: inline-block;
|
|
3516
|
+
height: 100%;
|
|
3517
|
+
content: '';
|
|
3518
|
+
vertical-align: middle;
|
|
3519
|
+
}
|
|
3520
|
+
|
|
3521
|
+
.jodit-filebrowser-tree {
|
|
3522
|
+
position: relative;
|
|
3523
|
+
display: none;
|
|
3524
|
+
height: 100%;
|
|
3525
|
+
vertical-align: top;
|
|
3526
|
+
overflow-anchor: auto;
|
|
3527
|
+
}
|
|
3528
|
+
.jodit-filebrowser-tree .jodit-button {
|
|
3529
|
+
border-radius: 0;
|
|
3530
|
+
}
|
|
3531
|
+
.jodit-filebrowser-tree_active_true {
|
|
3532
|
+
display: flex;
|
|
3533
|
+
}
|
|
3534
|
+
.jodit-filebrowser-tree::-webkit-scrollbar {
|
|
3535
|
+
width: calc(var(--jd-padding-default) / 2);
|
|
3536
|
+
}
|
|
3537
|
+
.jodit-filebrowser-tree::-webkit-scrollbar-track {
|
|
3538
|
+
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
|
|
3539
|
+
}
|
|
3540
|
+
.jodit-filebrowser-tree::-webkit-scrollbar-thumb {
|
|
3541
|
+
background-color: darkgrey;
|
|
3542
|
+
outline: 1px solid slategrey;
|
|
3543
|
+
}
|
|
3544
|
+
.jodit-filebrowser-tree_active_true {
|
|
3545
|
+
z-index: 2;
|
|
3546
|
+
width: var(--jd-first_column);
|
|
3547
|
+
min-width: 200px;
|
|
3548
|
+
max-width: 290px;
|
|
3549
|
+
flex-direction: column;
|
|
3550
|
+
background-color: var(--jd-color-background-filebrowser-folders);
|
|
3551
|
+
overflow-y: auto;
|
|
3552
|
+
--jd-text-color: #b1b1b1;
|
|
3553
|
+
}
|
|
3554
|
+
@media (max-width: 480px) {
|
|
3555
|
+
.jodit-filebrowser-tree_active_true {
|
|
3556
|
+
width: auto;
|
|
3557
|
+
max-width: 100%;
|
|
3558
|
+
height: 100px;
|
|
3559
|
+
}
|
|
3560
|
+
}
|
|
3561
|
+
.jodit-filebrowser-tree_active_true::-webkit-scrollbar {
|
|
3562
|
+
width: calc(var(--jd-padding-default) / 2);
|
|
3563
|
+
}
|
|
3564
|
+
.jodit-filebrowser-tree_active_true::-webkit-scrollbar-track {
|
|
3565
|
+
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
|
|
3566
|
+
}
|
|
3567
|
+
.jodit-filebrowser-tree_active_true::-webkit-scrollbar-thumb {
|
|
3568
|
+
background-color: rgba(127, 127, 127, 0.5);
|
|
3569
|
+
outline: 1px solid slategrey;
|
|
3570
|
+
}
|
|
3571
|
+
.jodit-filebrowser-tree__item {
|
|
3572
|
+
position: relative;
|
|
3573
|
+
display: flex;
|
|
3574
|
+
min-height: 38px;
|
|
3575
|
+
align-items: center;
|
|
3576
|
+
justify-content: space-between;
|
|
3577
|
+
padding: calc(var(--jd-padding-default) / 2) var(--jd-padding-default);
|
|
3578
|
+
border-bottom: 1px solid #474747;
|
|
3579
|
+
color: var(--jd-text-color);
|
|
3580
|
+
text-decoration: none;
|
|
3581
|
+
transition: background-color 0.2s ease 0s;
|
|
3582
|
+
word-break: break-all;
|
|
3583
|
+
}
|
|
3584
|
+
.jodit-filebrowser-tree__item-title {
|
|
3585
|
+
flex: 1;
|
|
3586
|
+
}
|
|
3587
|
+
.jodit-filebrowser-tree__item .jodit-icon_folder {
|
|
3588
|
+
display: flex;
|
|
3589
|
+
width: calc(var(--jd-icon-size) + 4px);
|
|
3590
|
+
height: calc(var(--jd-icon-size) + 4px);
|
|
3591
|
+
align-items: center;
|
|
3592
|
+
justify-content: center;
|
|
3593
|
+
margin-left: calc(var(--jd-padding-default) / 2);
|
|
3594
|
+
opacity: 0.3;
|
|
3595
|
+
}
|
|
3596
|
+
.jodit-filebrowser-tree__item .jodit-icon_folder svg {
|
|
3597
|
+
width: var(--jd-icon-size);
|
|
3598
|
+
height: var(--jd-icon-size);
|
|
3599
|
+
fill: var(--jd-text-color) !important;
|
|
3600
|
+
stroke: var(--jd-text-color) !important;
|
|
3601
|
+
}
|
|
3602
|
+
.jodit-filebrowser-tree__item .jodit-icon_folder:hover {
|
|
3603
|
+
background: #696969;
|
|
3604
|
+
}
|
|
3605
|
+
.jodit-filebrowser-tree__item:hover {
|
|
3606
|
+
background-color: var(--jd-color-background-button-hover);
|
|
3607
|
+
color: #222;
|
|
3608
|
+
}
|
|
3609
|
+
.jodit-filebrowser-tree__item:hover i.jodit-icon_folder {
|
|
3610
|
+
opacity: 0.6;
|
|
3611
|
+
}
|
|
3612
|
+
.jodit-filebrowser-tree__source-title {
|
|
3613
|
+
position: relative;
|
|
3614
|
+
display: block;
|
|
3615
|
+
padding: 2px 4px;
|
|
3616
|
+
border-bottom: 1px solid #484848;
|
|
3617
|
+
background: #5a5a5a;
|
|
3618
|
+
color: #969696;
|
|
3619
|
+
font-size: 12px;
|
|
3620
|
+
user-select: none;
|
|
3621
|
+
word-break: break-all;
|
|
3622
|
+
}
|
|
3623
|
+
a + .jodit-filebrowser-tree__source-title {
|
|
3624
|
+
margin-top: var(--jd-padding-default);
|
|
3625
|
+
}
|
|
3626
|
+
|
|
3612
3627
|
/*!
|
|
3613
3628
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
3614
3629
|
* Released under MIT see LICENSE.txt in the project root for license information.
|