jodit 3.9.2 → 3.10.1

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.
Files changed (216) hide show
  1. package/.idea/workspace.xml +317 -283
  2. package/CHANGELOG.MD +320 -118
  3. package/README.md +0 -1
  4. package/build/jodit.css +703 -617
  5. package/build/jodit.es2018.css +493 -437
  6. package/build/jodit.es2018.en.css +493 -437
  7. package/build/jodit.es2018.en.js +1549 -773
  8. package/build/jodit.es2018.en.min.css +1 -1
  9. package/build/jodit.es2018.en.min.js +1 -1
  10. package/build/jodit.es2018.js +1549 -773
  11. package/build/jodit.es2018.min.css +1 -1
  12. package/build/jodit.es2018.min.js +1 -1
  13. package/build/jodit.js +2616 -1713
  14. package/build/jodit.min.css +2 -2
  15. package/build/jodit.min.js +1 -1
  16. package/index.d.ts +10 -0
  17. package/package.json +10 -10
  18. package/src/config.ts +19 -20
  19. package/src/core/component/component.ts +16 -15
  20. package/src/core/component/statuses.ts +6 -6
  21. package/src/core/dom.ts +16 -4
  22. package/src/core/events/event-emitter.ts +4 -2
  23. package/src/core/global.ts +13 -2
  24. package/src/core/helpers/append-script.ts +14 -0
  25. package/src/core/helpers/selector.ts +8 -3
  26. package/src/core/helpers/size/index.ts +1 -0
  27. package/src/core/helpers/size/object-size.ts +22 -0
  28. package/src/core/selection/select.ts +1 -0
  29. package/src/core/selection/style/api/{get-closest-wrapper.ts → extract.ts} +26 -43
  30. package/src/core/selection/style/api/finite-state-machine.ts +66 -0
  31. package/src/core/selection/style/api/index.ts +12 -5
  32. package/src/core/selection/style/api/{check-special-elements.ts → is-inside-invisible-element.ts} +1 -1
  33. package/src/core/selection/style/api/is-suit-element.ts +12 -1
  34. package/src/core/selection/style/api/toggle/toggle-css.ts +134 -0
  35. package/src/core/selection/style/api/toggle/toggle-ordered-list.ts +49 -0
  36. package/src/core/selection/style/api/toggle-commit-styles.ts +27 -0
  37. package/src/core/selection/style/api/wrap-and-commit-style.ts +68 -0
  38. package/src/core/selection/style/api/wrap-ordered-list.ts +37 -0
  39. package/src/core/selection/style/api/wrap-unwrapped-text.ts +1 -4
  40. package/src/core/selection/style/apply-style.ts +161 -97
  41. package/src/core/selection/style/commit-style.ts +13 -0
  42. package/src/core/storage/engines/local-storage-provider.ts +9 -3
  43. package/src/core/storage/engines/memory-storage-provider.ts +6 -3
  44. package/src/core/storage/storage.ts +7 -4
  45. package/src/core/ui/button/button/button.less +10 -8
  46. package/src/core/ui/button/button/button.ts +9 -9
  47. package/src/core/ui/button/group/group.ts +2 -2
  48. package/src/core/ui/element.ts +4 -3
  49. package/src/core/ui/form/block/block.ts +1 -1
  50. package/src/core/ui/form/form.ts +8 -0
  51. package/src/core/ui/form/inputs/area/area.less +5 -0
  52. package/src/core/ui/form/inputs/area/area.ts +22 -1
  53. package/src/core/ui/form/inputs/checkbox/checkbox.ts +28 -4
  54. package/src/core/ui/form/inputs/input/input.less +1 -1
  55. package/src/core/ui/form/inputs/input/input.ts +14 -4
  56. package/src/core/ui/helpers/buttons.ts +14 -6
  57. package/src/core/ui/icon.ts +3 -1
  58. package/src/core/ui/index.ts +1 -3
  59. package/src/core/ui/list/group.less +8 -2
  60. package/src/core/ui/list/group.ts +2 -2
  61. package/src/{modules/file-browser/consts.ts → core/ui/list/index.ts} +4 -4
  62. package/src/core/ui/list/list.less +10 -1
  63. package/src/core/ui/list/list.ts +20 -3
  64. package/src/core/ui/{separator.ts → list/separator.ts} +2 -2
  65. package/src/core/ui/list/spacer.ts +15 -0
  66. package/src/core/ui/popup/popup.less +5 -3
  67. package/src/core/ui/popup/popup.ts +53 -1
  68. package/src/core/view/view-with-toolbar.ts +6 -1
  69. package/src/jodit.ts +17 -14
  70. package/src/modules/dialog/dialog.less +1 -16
  71. package/src/modules/dialog/dialog.ts +10 -3
  72. package/src/modules/file-browser/builders/context-menu.ts +29 -22
  73. package/src/modules/file-browser/config.ts +10 -2
  74. package/src/modules/file-browser/file-browser.ts +50 -29
  75. package/src/modules/file-browser/listeners/native-listeners.ts +37 -19
  76. package/src/modules/file-browser/listeners/state-listeners.ts +48 -22
  77. package/src/modules/file-browser/styles/file-browser.less +4 -291
  78. package/src/modules/file-browser/styles/preview.less +11 -8
  79. package/src/modules/file-browser/ui/files/files.less +174 -0
  80. package/src/modules/file-browser/ui/files/files.ts +14 -0
  81. package/src/modules/file-browser/ui/index.ts +8 -0
  82. package/src/modules/file-browser/ui/tree/tree.less +118 -0
  83. package/src/modules/file-browser/ui/tree/tree.ts +14 -0
  84. package/src/modules/status-bar/status-bar.less +27 -1
  85. package/src/modules/status-bar/status-bar.ts +15 -1
  86. package/src/modules/table.ts +122 -98
  87. package/src/modules/toolbar/collection/collection.ts +17 -8
  88. package/src/modules/toolbar/collection/editor-collection.ts +27 -2
  89. package/src/modules/widget/file-selector/file-selector.ts +1 -1
  90. package/src/modules/widget/tabs/tabs.less +2 -1
  91. package/src/modules/widget/tabs/tabs.ts +5 -3
  92. package/src/plugins/add-new-line/add-new-line.ts +1 -0
  93. package/src/plugins/bold.ts +2 -2
  94. package/src/plugins/clipboard/drag-and-drop.ts +4 -1
  95. package/src/plugins/clipboard/paste/paste.ts +1 -1
  96. package/src/plugins/font.ts +11 -1
  97. package/src/plugins/image/image-properties/image-properties.ts +7 -0
  98. package/src/plugins/index.ts +1 -0
  99. package/src/plugins/inline-popup/config/config.ts +1 -0
  100. package/src/plugins/inline-popup/config/items/toolbar.ts +33 -0
  101. package/src/plugins/inline-popup/inline-popup.ts +17 -0
  102. package/src/plugins/link/template.ts +2 -2
  103. package/src/plugins/mobile.ts +10 -14
  104. package/src/plugins/ordered-list.ts +40 -1
  105. package/src/plugins/powered-by-jodit.ts +39 -0
  106. package/src/plugins/print/preview.ts +103 -48
  107. package/src/plugins/resizer/resizer.less +10 -7
  108. package/src/plugins/resizer/resizer.ts +12 -14
  109. package/src/plugins/size/resize-handler.ts +4 -1
  110. package/src/plugins/size/size.less +2 -19
  111. package/src/plugins/size/size.ts +6 -1
  112. package/src/plugins/source/const.ts +7 -0
  113. package/src/plugins/source/editor/engines/ace.ts +5 -0
  114. package/src/plugins/source/source.ts +33 -7
  115. package/src/plugins/sticky/sticky.ts +2 -0
  116. package/src/plugins/table/config.ts +3 -1
  117. package/src/plugins/table/table.less +0 -1
  118. package/src/styles/icons/index.ts +2 -0
  119. package/src/styles/icons/resize-handler.svg +4 -0
  120. package/src/styles/jodit.less +6 -0
  121. package/src/styles/mixins.less +20 -0
  122. package/src/styles/themes/dark.less +11 -1
  123. package/src/types/ajax.d.ts +0 -1
  124. package/src/types/file-browser.d.ts +13 -1
  125. package/src/types/jodit.d.ts +4 -1
  126. package/src/types/popup.d.ts +1 -0
  127. package/src/types/select.d.ts +2 -0
  128. package/src/types/storage.ts +3 -3
  129. package/src/types/style.d.ts +8 -0
  130. package/src/types/toolbar.d.ts +9 -2
  131. package/src/types/types.d.ts +1 -1
  132. package/src/types/ui.d.ts +22 -4
  133. package/src/types/view.d.ts +1 -0
  134. package/types/core/component/component.d.ts +10 -5
  135. package/types/core/component/statuses.d.ts +6 -6
  136. package/types/core/dom.d.ts +3 -2
  137. package/types/core/helpers/append-script.d.ts +1 -0
  138. package/types/core/helpers/selector.d.ts +2 -3
  139. package/types/core/helpers/size/index.d.ts +1 -0
  140. package/types/core/helpers/size/object-size.d.ts +7 -0
  141. package/types/core/selection/style/api/{get-closest-wrapper.d.ts → extract.d.ts} +6 -5
  142. package/types/core/selection/style/api/finite-state-machine.d.ts +21 -0
  143. package/types/core/selection/style/api/index.d.ts +12 -5
  144. package/types/core/selection/style/api/{check-special-elements.d.ts → is-inside-invisible-element.d.ts} +1 -1
  145. package/types/core/selection/style/api/is-suit-element.d.ts +9 -0
  146. package/types/core/selection/style/api/toggle/toggle-css.d.ts +11 -0
  147. package/types/core/selection/style/api/toggle/toggle-ordered-list.d.ts +11 -0
  148. package/types/core/selection/style/api/{toggle-styles.d.ts → toggle-commit-styles.d.ts} +1 -3
  149. package/types/core/selection/style/api/{post-process-list-element.d.ts → wrap-and-commit-style.d.ts} +3 -3
  150. package/types/core/selection/style/api/wrap-ordered-list.d.ts +12 -0
  151. package/types/core/selection/style/apply-style.d.ts +1 -4
  152. package/types/core/selection/style/commit-style.d.ts +7 -0
  153. package/types/core/storage/engines/local-storage-provider.d.ts +3 -3
  154. package/types/core/storage/engines/memory-storage-provider.d.ts +3 -3
  155. package/types/core/storage/storage.d.ts +3 -3
  156. package/types/core/ui/button/button/button.d.ts +3 -3
  157. package/types/core/ui/form/form.d.ts +1 -0
  158. package/types/core/ui/form/inputs/area/area.d.ts +7 -1
  159. package/types/core/ui/form/inputs/checkbox/checkbox.d.ts +9 -3
  160. package/types/core/ui/helpers/buttons.d.ts +2 -2
  161. package/types/core/ui/icon.d.ts +1 -1
  162. package/types/core/ui/index.d.ts +1 -3
  163. package/types/core/ui/list/group.d.ts +2 -1
  164. package/types/core/ui/list/index.d.ts +9 -0
  165. package/types/core/ui/{separator.d.ts → list/separator.d.ts} +1 -1
  166. package/types/core/ui/list/spacer.d.ts +9 -0
  167. package/types/core/ui/popup/popup.d.ts +2 -1
  168. package/types/core/view/view-with-toolbar.d.ts +4 -2
  169. package/types/jodit.d.ts +6 -6
  170. package/types/modules/file-browser/file-browser.d.ts +3 -2
  171. package/types/modules/file-browser/listeners/native-listeners.d.ts +5 -1
  172. package/types/modules/file-browser/ui/files/files.d.ts +10 -0
  173. package/types/modules/file-browser/ui/index.d.ts +7 -0
  174. package/types/modules/file-browser/ui/tree/tree.d.ts +10 -0
  175. package/types/modules/status-bar/status-bar.d.ts +6 -1
  176. package/types/modules/table.d.ts +2 -2
  177. package/types/modules/toolbar/button/button.d.ts +1 -1
  178. package/types/modules/toolbar/collection/collection.d.ts +5 -2
  179. package/types/modules/toolbar/collection/editor-collection.d.ts +9 -1
  180. package/types/modules/widget/tabs/tabs.d.ts +2 -1
  181. package/types/plugins/index.d.ts +1 -0
  182. package/types/plugins/inline-popup/inline-popup.d.ts +4 -0
  183. package/types/plugins/ordered-list.d.ts +8 -1
  184. package/types/plugins/powered-by-jodit.d.ts +12 -0
  185. package/types/plugins/source/const.d.ts +6 -0
  186. package/types/plugins/source/editor/engines/ace.d.ts +1 -0
  187. package/types/plugins/source/source.d.ts +1 -0
  188. package/types/styles/icons/index.d.ts +2 -1
  189. package/types/types/storage.d.ts +3 -3
  190. package/types/types/{ajax.d.ts → types/ajax.d.ts} +0 -1
  191. package/types/types/{async.d.ts → types/async.d.ts} +0 -0
  192. package/types/types/{context.d.ts → types/context.d.ts} +0 -0
  193. package/types/types/{core.ts → types/core.ts} +0 -0
  194. package/types/types/{create.d.ts → types/create.d.ts} +0 -0
  195. package/types/types/{dialog.d.ts → types/dialog.d.ts} +0 -0
  196. package/types/types/{events.d.ts → types/events.d.ts} +0 -0
  197. package/types/types/{file-browser.d.ts → types/file-browser.d.ts} +13 -1
  198. package/types/types/{form.d.ts → types/form.d.ts} +0 -0
  199. package/types/types/{index.d.ts → types/index.d.ts} +0 -0
  200. package/types/types/{jodit.d.ts → types/jodit.d.ts} +4 -1
  201. package/types/types/{observe.d.ts → types/observe.d.ts} +0 -0
  202. package/types/types/{plugin.d.ts → types/plugin.d.ts} +0 -0
  203. package/types/types/{popup.d.ts → types/popup.d.ts} +1 -0
  204. package/types/types/{select.d.ts → types/select.d.ts} +2 -0
  205. package/types/types/{source.d.ts → types/source.d.ts} +0 -0
  206. package/types/types/{storage.ts → types/storage.ts} +3 -3
  207. package/types/types/{style.d.ts → types/style.d.ts} +8 -0
  208. package/types/types/{toolbar.d.ts → types/toolbar.d.ts} +9 -2
  209. package/types/types/{traits.d.ts → types/traits.d.ts} +0 -0
  210. package/types/types/{types.d.ts → types/types.d.ts} +1 -1
  211. package/types/types/{ui.d.ts → types/ui.d.ts} +22 -4
  212. package/types/types/{uploader.d.ts → types/uploader.d.ts} +0 -0
  213. package/types/types/{view.d.ts → types/view.d.ts} +1 -0
  214. package/src/core/selection/style/api/post-process-list-element.ts +0 -33
  215. package/src/core/selection/style/api/toggle-styles.ts +0 -74
  216. package/types/modules/file-browser/consts.d.ts +0 -8
@@ -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.2
4
+ * Version: v3.10.1
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
@@ -615,6 +615,9 @@ svg.jodit-icon {
615
615
  width: 100%;
616
616
  height: 100%;
617
617
  }
618
+ .jodit-wysiwyg *[contentEditable='false'] {
619
+ cursor: default;
620
+ }
618
621
  .jodit-container:not(.jodit_inline) {
619
622
  border: 1px solid var(--jd-color-border);
620
623
  border-radius: var(--jd-border-radius-default);
@@ -680,7 +683,7 @@ svg.jodit-icon {
680
683
  }
681
684
  .jodit-dialog_theme_dark .jodit-popup__content,
682
685
  .jodit_theme_dark .jodit-popup__content {
683
- background: var(--jd-dark_background_color);
686
+ background: var(--jd-dark_background_ligher);
684
687
  }
685
688
  .jodit-dialog_theme_dark .jodit-ui-button__text,
686
689
  .jodit_theme_dark .jodit-ui-button__text,
@@ -706,9 +709,20 @@ svg.jodit-icon {
706
709
  .jodit_theme_dark .jodit-status-bar {
707
710
  border-color: rgba(95, 92, 92, 0.8);
708
711
  background-color: rgba(95, 92, 92, 0.8);
712
+ color: var(--jd-dark_text_color);
713
+ }
714
+ .jodit-dialog_theme_dark .jodit-status-bar a.jodit-status-bar-link,
715
+ .jodit_theme_dark .jodit-status-bar a.jodit-status-bar-link,
716
+ .jodit-dialog_theme_dark .jodit-status-bar a.jodit-status-bar-link:hover,
717
+ .jodit_theme_dark .jodit-status-bar a.jodit-status-bar-link:hover,
718
+ .jodit-dialog_theme_dark .jodit-status-bar a.jodit-status-bar-link:visited,
719
+ .jodit_theme_dark .jodit-status-bar a.jodit-status-bar-link:visited {
720
+ color: var(--jd-dark_text_color);
709
721
  }
710
722
  .jodit-dialog_theme_dark .jodit-status-bar,
711
723
  .jodit_theme_dark .jodit-status-bar,
724
+ .jodit-dialog_theme_dark .jodit-status-bar .jodit-status-bar__item a,
725
+ .jodit_theme_dark .jodit-status-bar .jodit-status-bar__item a,
712
726
  .jodit-dialog_theme_dark .jodit-status-bar .jodit-status-bar__item span,
713
727
  .jodit_theme_dark .jodit-status-bar .jodit-status-bar__item span {
714
728
  color: var(--jd-dark_text_color);
@@ -964,155 +978,155 @@ svg.jodit-icon {
964
978
  .jodit-ui-button-sizes_size_large_text-icons_true button {
965
979
  padding: 0 var(--jd-padding-default);
966
980
  }
967
- .jodit-ui-button-statuses_status_default {
981
+ .jodit-ui-button-variants_variant_default {
968
982
  background-color: #e3e3e3;
969
983
  color: #212529;
970
984
  }
971
- .jodit-ui-button-statuses_status_default svg {
985
+ .jodit-ui-button-variants_variant_default svg {
972
986
  fill: #212529;
973
987
  stroke: #212529;
974
988
  }
975
- .jodit-ui-button-statuses_status_default [disabled] {
989
+ .jodit-ui-button-variants_variant_default [disabled] {
976
990
  opacity: 0.7;
977
991
  }
978
- .jodit-ui-button-statuses_status_default:hover:not([disabled]) {
992
+ .jodit-ui-button-variants_variant_default:hover:not([disabled]) {
979
993
  background-color: #c9cdd1;
980
994
  color: #212529;
981
995
  }
982
- .jodit-ui-button-statuses_status_default:hover:not([disabled]) svg {
996
+ .jodit-ui-button-variants_variant_default:hover:not([disabled]) svg {
983
997
  fill: #212529;
984
998
  stroke: #212529;
985
999
  }
986
- .jodit-ui-button-statuses_status_default:active:not([disabled]) {
1000
+ .jodit-ui-button-variants_variant_default:active:not([disabled]) {
987
1001
  background-color: #dae0e5;
988
1002
  color: #212529;
989
1003
  }
990
- .jodit-ui-button-statuses_status_default:active:not([disabled]) svg {
1004
+ .jodit-ui-button-variants_variant_default:active:not([disabled]) svg {
991
1005
  fill: #212529;
992
1006
  stroke: #212529;
993
1007
  }
994
- .jodit-ui-button-statuses_status_default:focus:not([disabled]) {
1008
+ .jodit-ui-button-variants_variant_default:focus:not([disabled]) {
995
1009
  outline: 1px dashed #dae0e5;
996
1010
  }
997
- .jodit-ui-button-statuses_status_primary {
1011
+ .jodit-ui-button-variants_variant_primary {
998
1012
  background-color: #007bff;
999
1013
  color: #fff;
1000
1014
  }
1001
- .jodit-ui-button-statuses_status_primary svg {
1015
+ .jodit-ui-button-variants_variant_primary svg {
1002
1016
  fill: #fff;
1003
1017
  stroke: #fff;
1004
1018
  }
1005
- .jodit-ui-button-statuses_status_primary [disabled] {
1019
+ .jodit-ui-button-variants_variant_primary [disabled] {
1006
1020
  opacity: 0.7;
1007
1021
  }
1008
- .jodit-ui-button-statuses_status_primary:hover:not([disabled]) {
1022
+ .jodit-ui-button-variants_variant_primary:hover:not([disabled]) {
1009
1023
  background-color: #0069d9;
1010
1024
  color: #fff;
1011
1025
  }
1012
- .jodit-ui-button-statuses_status_primary:hover:not([disabled]) svg {
1026
+ .jodit-ui-button-variants_variant_primary:hover:not([disabled]) svg {
1013
1027
  fill: #fff;
1014
1028
  stroke: #fff;
1015
1029
  }
1016
- .jodit-ui-button-statuses_status_primary:active:not([disabled]) {
1030
+ .jodit-ui-button-variants_variant_primary:active:not([disabled]) {
1017
1031
  background-color: #0062cc;
1018
1032
  color: #fff;
1019
1033
  }
1020
- .jodit-ui-button-statuses_status_primary:active:not([disabled]) svg {
1034
+ .jodit-ui-button-variants_variant_primary:active:not([disabled]) svg {
1021
1035
  fill: #fff;
1022
1036
  stroke: #fff;
1023
1037
  }
1024
- .jodit-ui-button-statuses_status_primary:focus:not([disabled]) {
1038
+ .jodit-ui-button-variants_variant_primary:focus:not([disabled]) {
1025
1039
  outline: 1px dashed #0062cc;
1026
1040
  }
1027
- .jodit-ui-button-statuses_status_secondary {
1041
+ .jodit-ui-button-variants_variant_secondary {
1028
1042
  background-color: #d8d8d8;
1029
1043
  color: #212529;
1030
1044
  border-radius: 0;
1031
1045
  }
1032
- .jodit-ui-button-statuses_status_secondary svg {
1046
+ .jodit-ui-button-variants_variant_secondary svg {
1033
1047
  fill: #212529;
1034
1048
  stroke: #212529;
1035
1049
  }
1036
- .jodit-ui-button-statuses_status_secondary [disabled] {
1050
+ .jodit-ui-button-variants_variant_secondary [disabled] {
1037
1051
  opacity: 0.7;
1038
1052
  }
1039
- .jodit-ui-button-statuses_status_secondary:hover:not([disabled]) {
1053
+ .jodit-ui-button-variants_variant_secondary:hover:not([disabled]) {
1040
1054
  background-color: #c9cdd1;
1041
1055
  color: #212529;
1042
1056
  }
1043
- .jodit-ui-button-statuses_status_secondary:hover:not([disabled]) svg {
1057
+ .jodit-ui-button-variants_variant_secondary:hover:not([disabled]) svg {
1044
1058
  fill: #212529;
1045
1059
  stroke: #212529;
1046
1060
  }
1047
- .jodit-ui-button-statuses_status_secondary:active:not([disabled]) {
1061
+ .jodit-ui-button-variants_variant_secondary:active:not([disabled]) {
1048
1062
  background-color: #dae0e5;
1049
1063
  color: #212529;
1050
1064
  }
1051
- .jodit-ui-button-statuses_status_secondary:active:not([disabled]) svg {
1065
+ .jodit-ui-button-variants_variant_secondary:active:not([disabled]) svg {
1052
1066
  fill: #212529;
1053
1067
  stroke: #212529;
1054
1068
  }
1055
- .jodit-ui-button-statuses_status_secondary:focus:not([disabled]) {
1069
+ .jodit-ui-button-variants_variant_secondary:focus:not([disabled]) {
1056
1070
  outline: 1px dashed #dae0e5;
1057
1071
  }
1058
- .jodit-ui-button-statuses_status_success {
1072
+ .jodit-ui-button-variants_variant_success {
1059
1073
  background-color: #28a745;
1060
1074
  color: #fff;
1061
1075
  }
1062
- .jodit-ui-button-statuses_status_success svg {
1076
+ .jodit-ui-button-variants_variant_success svg {
1063
1077
  fill: #fff;
1064
1078
  stroke: #fff;
1065
1079
  }
1066
- .jodit-ui-button-statuses_status_success [disabled] {
1080
+ .jodit-ui-button-variants_variant_success [disabled] {
1067
1081
  opacity: 0.7;
1068
1082
  }
1069
- .jodit-ui-button-statuses_status_success:hover:not([disabled]) {
1083
+ .jodit-ui-button-variants_variant_success:hover:not([disabled]) {
1070
1084
  background-color: #218838;
1071
1085
  color: #fff;
1072
1086
  }
1073
- .jodit-ui-button-statuses_status_success:hover:not([disabled]) svg {
1087
+ .jodit-ui-button-variants_variant_success:hover:not([disabled]) svg {
1074
1088
  fill: #fff;
1075
1089
  stroke: #fff;
1076
1090
  }
1077
- .jodit-ui-button-statuses_status_success:active:not([disabled]) {
1091
+ .jodit-ui-button-variants_variant_success:active:not([disabled]) {
1078
1092
  background-color: #1e7e34;
1079
1093
  color: #fff;
1080
1094
  }
1081
- .jodit-ui-button-statuses_status_success:active:not([disabled]) svg {
1095
+ .jodit-ui-button-variants_variant_success:active:not([disabled]) svg {
1082
1096
  fill: #fff;
1083
1097
  stroke: #fff;
1084
1098
  }
1085
- .jodit-ui-button-statuses_status_success:focus:not([disabled]) {
1099
+ .jodit-ui-button-variants_variant_success:focus:not([disabled]) {
1086
1100
  outline: 1px dashed #1e7e34;
1087
1101
  }
1088
- .jodit-ui-button-statuses_status_danger {
1102
+ .jodit-ui-button-variants_variant_danger {
1089
1103
  background-color: #dc3545;
1090
1104
  color: #fff;
1091
1105
  }
1092
- .jodit-ui-button-statuses_status_danger svg {
1106
+ .jodit-ui-button-variants_variant_danger svg {
1093
1107
  fill: #fff;
1094
1108
  stroke: #fff;
1095
1109
  }
1096
- .jodit-ui-button-statuses_status_danger [disabled] {
1110
+ .jodit-ui-button-variants_variant_danger [disabled] {
1097
1111
  opacity: 0.7;
1098
1112
  }
1099
- .jodit-ui-button-statuses_status_danger:hover:not([disabled]) {
1113
+ .jodit-ui-button-variants_variant_danger:hover:not([disabled]) {
1100
1114
  background-color: #c82333;
1101
1115
  color: #fff;
1102
1116
  }
1103
- .jodit-ui-button-statuses_status_danger:hover:not([disabled]) svg {
1117
+ .jodit-ui-button-variants_variant_danger:hover:not([disabled]) svg {
1104
1118
  fill: #fff;
1105
1119
  stroke: #fff;
1106
1120
  }
1107
- .jodit-ui-button-statuses_status_danger:active:not([disabled]) {
1121
+ .jodit-ui-button-variants_variant_danger:active:not([disabled]) {
1108
1122
  background-color: #bd2130;
1109
1123
  color: #fff;
1110
1124
  }
1111
- .jodit-ui-button-statuses_status_danger:active:not([disabled]) svg {
1125
+ .jodit-ui-button-variants_variant_danger:active:not([disabled]) svg {
1112
1126
  fill: #fff;
1113
1127
  stroke: #fff;
1114
1128
  }
1115
- .jodit-ui-button-statuses_status_danger:focus:not([disabled]) {
1129
+ .jodit-ui-button-variants_variant_danger:focus:not([disabled]) {
1116
1130
  outline: 1px dashed #bd2130;
1117
1131
  }
1118
1132
  .jodit-ui-button-style {
@@ -1141,6 +1155,7 @@ svg.jodit-icon {
1141
1155
  justify-content: center;
1142
1156
  padding: 0 var(--jd-padding-default);
1143
1157
  border-radius: var(--jd-border-radius-default);
1158
+ cursor: pointer;
1144
1159
  min-width: 34px;
1145
1160
  height: 34px;
1146
1161
  }
@@ -1280,155 +1295,155 @@ svg.jodit-icon {
1280
1295
  .jodit-ui-button:focus:not([disabled]) {
1281
1296
  outline: 1px dashed var(--jd-color-background-selection);
1282
1297
  }
1283
- .jodit-ui-button_status_default {
1298
+ .jodit-ui-button_variant_default {
1284
1299
  background-color: #e3e3e3;
1285
1300
  color: #212529;
1286
1301
  }
1287
- .jodit-ui-button_status_default svg {
1302
+ .jodit-ui-button_variant_default svg {
1288
1303
  fill: #212529;
1289
1304
  stroke: #212529;
1290
1305
  }
1291
- .jodit-ui-button_status_default [disabled] {
1306
+ .jodit-ui-button_variant_default [disabled] {
1292
1307
  opacity: 0.7;
1293
1308
  }
1294
- .jodit-ui-button_status_default:hover:not([disabled]) {
1309
+ .jodit-ui-button_variant_default:hover:not([disabled]) {
1295
1310
  background-color: #c9cdd1;
1296
1311
  color: #212529;
1297
1312
  }
1298
- .jodit-ui-button_status_default:hover:not([disabled]) svg {
1313
+ .jodit-ui-button_variant_default:hover:not([disabled]) svg {
1299
1314
  fill: #212529;
1300
1315
  stroke: #212529;
1301
1316
  }
1302
- .jodit-ui-button_status_default:active:not([disabled]) {
1317
+ .jodit-ui-button_variant_default:active:not([disabled]) {
1303
1318
  background-color: #dae0e5;
1304
1319
  color: #212529;
1305
1320
  }
1306
- .jodit-ui-button_status_default:active:not([disabled]) svg {
1321
+ .jodit-ui-button_variant_default:active:not([disabled]) svg {
1307
1322
  fill: #212529;
1308
1323
  stroke: #212529;
1309
1324
  }
1310
- .jodit-ui-button_status_default:focus:not([disabled]) {
1325
+ .jodit-ui-button_variant_default:focus:not([disabled]) {
1311
1326
  outline: 1px dashed #dae0e5;
1312
1327
  }
1313
- .jodit-ui-button_status_primary {
1328
+ .jodit-ui-button_variant_primary {
1314
1329
  background-color: #007bff;
1315
1330
  color: #fff;
1316
1331
  }
1317
- .jodit-ui-button_status_primary svg {
1332
+ .jodit-ui-button_variant_primary svg {
1318
1333
  fill: #fff;
1319
1334
  stroke: #fff;
1320
1335
  }
1321
- .jodit-ui-button_status_primary [disabled] {
1336
+ .jodit-ui-button_variant_primary [disabled] {
1322
1337
  opacity: 0.7;
1323
1338
  }
1324
- .jodit-ui-button_status_primary:hover:not([disabled]) {
1339
+ .jodit-ui-button_variant_primary:hover:not([disabled]) {
1325
1340
  background-color: #0069d9;
1326
1341
  color: #fff;
1327
1342
  }
1328
- .jodit-ui-button_status_primary:hover:not([disabled]) svg {
1343
+ .jodit-ui-button_variant_primary:hover:not([disabled]) svg {
1329
1344
  fill: #fff;
1330
1345
  stroke: #fff;
1331
1346
  }
1332
- .jodit-ui-button_status_primary:active:not([disabled]) {
1347
+ .jodit-ui-button_variant_primary:active:not([disabled]) {
1333
1348
  background-color: #0062cc;
1334
1349
  color: #fff;
1335
1350
  }
1336
- .jodit-ui-button_status_primary:active:not([disabled]) svg {
1351
+ .jodit-ui-button_variant_primary:active:not([disabled]) svg {
1337
1352
  fill: #fff;
1338
1353
  stroke: #fff;
1339
1354
  }
1340
- .jodit-ui-button_status_primary:focus:not([disabled]) {
1355
+ .jodit-ui-button_variant_primary:focus:not([disabled]) {
1341
1356
  outline: 1px dashed #0062cc;
1342
1357
  }
1343
- .jodit-ui-button_status_secondary {
1358
+ .jodit-ui-button_variant_secondary {
1344
1359
  background-color: #d8d8d8;
1345
1360
  color: #212529;
1346
1361
  border-radius: 0;
1347
1362
  }
1348
- .jodit-ui-button_status_secondary svg {
1363
+ .jodit-ui-button_variant_secondary svg {
1349
1364
  fill: #212529;
1350
1365
  stroke: #212529;
1351
1366
  }
1352
- .jodit-ui-button_status_secondary [disabled] {
1367
+ .jodit-ui-button_variant_secondary [disabled] {
1353
1368
  opacity: 0.7;
1354
1369
  }
1355
- .jodit-ui-button_status_secondary:hover:not([disabled]) {
1370
+ .jodit-ui-button_variant_secondary:hover:not([disabled]) {
1356
1371
  background-color: #c9cdd1;
1357
1372
  color: #212529;
1358
1373
  }
1359
- .jodit-ui-button_status_secondary:hover:not([disabled]) svg {
1374
+ .jodit-ui-button_variant_secondary:hover:not([disabled]) svg {
1360
1375
  fill: #212529;
1361
1376
  stroke: #212529;
1362
1377
  }
1363
- .jodit-ui-button_status_secondary:active:not([disabled]) {
1378
+ .jodit-ui-button_variant_secondary:active:not([disabled]) {
1364
1379
  background-color: #dae0e5;
1365
1380
  color: #212529;
1366
1381
  }
1367
- .jodit-ui-button_status_secondary:active:not([disabled]) svg {
1382
+ .jodit-ui-button_variant_secondary:active:not([disabled]) svg {
1368
1383
  fill: #212529;
1369
1384
  stroke: #212529;
1370
1385
  }
1371
- .jodit-ui-button_status_secondary:focus:not([disabled]) {
1386
+ .jodit-ui-button_variant_secondary:focus:not([disabled]) {
1372
1387
  outline: 1px dashed #dae0e5;
1373
1388
  }
1374
- .jodit-ui-button_status_success {
1389
+ .jodit-ui-button_variant_success {
1375
1390
  background-color: #28a745;
1376
1391
  color: #fff;
1377
1392
  }
1378
- .jodit-ui-button_status_success svg {
1393
+ .jodit-ui-button_variant_success svg {
1379
1394
  fill: #fff;
1380
1395
  stroke: #fff;
1381
1396
  }
1382
- .jodit-ui-button_status_success [disabled] {
1397
+ .jodit-ui-button_variant_success [disabled] {
1383
1398
  opacity: 0.7;
1384
1399
  }
1385
- .jodit-ui-button_status_success:hover:not([disabled]) {
1400
+ .jodit-ui-button_variant_success:hover:not([disabled]) {
1386
1401
  background-color: #218838;
1387
1402
  color: #fff;
1388
1403
  }
1389
- .jodit-ui-button_status_success:hover:not([disabled]) svg {
1404
+ .jodit-ui-button_variant_success:hover:not([disabled]) svg {
1390
1405
  fill: #fff;
1391
1406
  stroke: #fff;
1392
1407
  }
1393
- .jodit-ui-button_status_success:active:not([disabled]) {
1408
+ .jodit-ui-button_variant_success:active:not([disabled]) {
1394
1409
  background-color: #1e7e34;
1395
1410
  color: #fff;
1396
1411
  }
1397
- .jodit-ui-button_status_success:active:not([disabled]) svg {
1412
+ .jodit-ui-button_variant_success:active:not([disabled]) svg {
1398
1413
  fill: #fff;
1399
1414
  stroke: #fff;
1400
1415
  }
1401
- .jodit-ui-button_status_success:focus:not([disabled]) {
1416
+ .jodit-ui-button_variant_success:focus:not([disabled]) {
1402
1417
  outline: 1px dashed #1e7e34;
1403
1418
  }
1404
- .jodit-ui-button_status_danger {
1419
+ .jodit-ui-button_variant_danger {
1405
1420
  background-color: #dc3545;
1406
1421
  color: #fff;
1407
1422
  }
1408
- .jodit-ui-button_status_danger svg {
1423
+ .jodit-ui-button_variant_danger svg {
1409
1424
  fill: #fff;
1410
1425
  stroke: #fff;
1411
1426
  }
1412
- .jodit-ui-button_status_danger [disabled] {
1427
+ .jodit-ui-button_variant_danger [disabled] {
1413
1428
  opacity: 0.7;
1414
1429
  }
1415
- .jodit-ui-button_status_danger:hover:not([disabled]) {
1430
+ .jodit-ui-button_variant_danger:hover:not([disabled]) {
1416
1431
  background-color: #c82333;
1417
1432
  color: #fff;
1418
1433
  }
1419
- .jodit-ui-button_status_danger:hover:not([disabled]) svg {
1434
+ .jodit-ui-button_variant_danger:hover:not([disabled]) svg {
1420
1435
  fill: #fff;
1421
1436
  stroke: #fff;
1422
1437
  }
1423
- .jodit-ui-button_status_danger:active:not([disabled]) {
1438
+ .jodit-ui-button_variant_danger:active:not([disabled]) {
1424
1439
  background-color: #bd2130;
1425
1440
  color: #fff;
1426
1441
  }
1427
- .jodit-ui-button_status_danger:active:not([disabled]) svg {
1442
+ .jodit-ui-button_variant_danger:active:not([disabled]) svg {
1428
1443
  fill: #fff;
1429
1444
  stroke: #fff;
1430
1445
  }
1431
- .jodit-ui-button_status_danger:focus:not([disabled]) {
1446
+ .jodit-ui-button_variant_danger:focus:not([disabled]) {
1432
1447
  outline: 1px dashed #bd2130;
1433
1448
  }
1434
1449
 
@@ -1454,6 +1469,7 @@ svg.jodit-icon {
1454
1469
  width: 100%;
1455
1470
  height: auto;
1456
1471
  min-height: var(--jd-button-size);
1472
+ cursor: pointer;
1457
1473
  }
1458
1474
  .jodit-ui-list_mode_vertical .jodit-toolbar-button__text:not(:empty) {
1459
1475
  justify-content: left;
@@ -1471,6 +1487,9 @@ svg.jodit-icon {
1471
1487
  flex-basis: 100%;
1472
1488
  border-top: 1px solid var(--jd-color-border);
1473
1489
  }
1490
+ .jodit-ui-spacer {
1491
+ flex: 1;
1492
+ }
1474
1493
 
1475
1494
  /*!
1476
1495
  * Jodit Editor (https://xdsoft.net/jodit/)
@@ -1484,7 +1503,11 @@ svg.jodit-icon {
1484
1503
  flex-shrink: 0;
1485
1504
  flex-wrap: wrap;
1486
1505
  }
1487
- .jodit-ui-group_separated_true:not(:last-child):after {
1506
+ .jodit-ui-group_line_true {
1507
+ display: flex;
1508
+ justify-content: stretch;
1509
+ }
1510
+ .jodit-ui-group_separated_true:not(:last-child):not(.jodit-ui-group_before-spacer_true):after {
1488
1511
  content: '';
1489
1512
  padding: 0;
1490
1513
  border-right: 1px solid var(--jd-color-border);
@@ -1534,9 +1557,11 @@ svg.jodit-icon {
1534
1557
  * Released under MIT see LICENSE.txt in the project root for license information.
1535
1558
  * Copyright (c) 2013-2021 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
1536
1559
  */
1537
- .jodit-popup {
1538
- --jd-box-shadow: 0 4px 1px -2px rgba(76, 76, 76, 0.2),
1560
+ :root {
1561
+ --jd-popup-box-shadow: 0 4px 1px -2px rgba(76, 76, 76, 0.2),
1539
1562
  0 3px 3px 0 rgba(76, 76, 76, 0.15), 0 1px 4px 0 rgba(76, 76, 76, 0.13);
1563
+ }
1564
+ .jodit-popup {
1540
1565
  position: static;
1541
1566
  width: auto;
1542
1567
  max-width: none;
@@ -1550,7 +1575,7 @@ svg.jodit-icon {
1550
1575
  position: fixed;
1551
1576
  z-index: var(--jd-z-index-popup);
1552
1577
  display: inline-block;
1553
- box-shadow: var(--jd-box-shadow);
1578
+ box-shadow: var(--jd-popup-box-shadow);
1554
1579
  transform: translate3d(0, 0, 0);
1555
1580
  }
1556
1581
  .jodit-popup__content {
@@ -1642,7 +1667,7 @@ svg.jodit-icon {
1642
1667
  background-color: var(--jd-color-gray);
1643
1668
  }
1644
1669
  .jodit-ui-input_focused_true .jodit-ui-input__wrapper {
1645
- box-shadow: var(--jd-focus-input-box-shadow);
1670
+ border-color: var(--jd-color-border-selected);
1646
1671
  }
1647
1672
  .jodit-ui-input__icon:not(:empty) {
1648
1673
  display: flex;
@@ -1748,7 +1773,7 @@ svg.jodit-icon {
1748
1773
  background-color: var(--jd-color-gray);
1749
1774
  }
1750
1775
  .jodit-ui-text-area_focused_true .jodit-ui-text-area__wrapper {
1751
- box-shadow: var(--jd-focus-input-box-shadow);
1776
+ border-color: var(--jd-color-border-selected);
1752
1777
  }
1753
1778
  .jodit-ui-text-area__icon:not(:empty) {
1754
1779
  display: flex;
@@ -1782,7 +1807,11 @@ svg.jodit-icon {
1782
1807
  .jodit-ui-text-area_theme_dark .jodit-ui-text-area__clear svg {
1783
1808
  fill: var(--jd-color-dark);
1784
1809
  }
1810
+ .jodit-ui-text-area__wrapper {
1811
+ flex: 1;
1812
+ }
1785
1813
  .jodit-ui-text-area__input {
1814
+ height: 100%;
1786
1815
  min-height: 60px;
1787
1816
  }
1788
1817
 
@@ -1867,7 +1896,7 @@ svg.jodit-icon {
1867
1896
  background-color: var(--jd-color-gray);
1868
1897
  }
1869
1898
  .jodit-ui-select_focused_true .jodit-ui-select__wrapper {
1870
- box-shadow: var(--jd-focus-input-box-shadow);
1899
+ border-color: var(--jd-color-border-selected);
1871
1900
  }
1872
1901
  .jodit-ui-select__icon:not(:empty) {
1873
1902
  display: flex;
@@ -2024,8 +2053,6 @@ svg.jodit-icon {
2024
2053
  * Copyright (c) 2013-2021 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
2025
2054
  */
2026
2055
  .jodit-context-menu {
2027
- --jd-box-shadow: 0 4px 1px -2px rgba(76, 76, 76, 0.2),
2028
- 0 3px 3px 0 rgba(76, 76, 76, 0.15), 0 1px 4px 0 rgba(76, 76, 76, 0.13);
2029
2056
  position: static;
2030
2057
  width: auto;
2031
2058
  max-width: none;
@@ -2039,7 +2066,7 @@ svg.jodit-icon {
2039
2066
  position: fixed;
2040
2067
  z-index: var(--jd-z-index-popup);
2041
2068
  display: inline-block;
2042
- box-shadow: var(--jd-box-shadow);
2069
+ box-shadow: var(--jd-popup-box-shadow);
2043
2070
  transform: translate3d(0, 0, 0);
2044
2071
  z-index: var(--jd-z-index-context-menu);
2045
2072
  }
@@ -2167,7 +2194,6 @@ svg.jodit-icon {
2167
2194
  }
2168
2195
  .jodit-dialog__header {
2169
2196
  display: flex;
2170
- overflow: hidden;
2171
2197
  min-height: 50px;
2172
2198
  justify-content: space-between;
2173
2199
  border-bottom: 1px solid var(--jd-color-border);
@@ -2294,20 +2320,18 @@ svg.jodit-icon {
2294
2320
  display: flex;
2295
2321
  }
2296
2322
  .jodit-dialog__resizer {
2323
+ position: relative;
2324
+ }
2325
+ .jodit-dialog__resizer svg {
2297
2326
  position: absolute;
2298
2327
  right: 0;
2299
2328
  bottom: 0;
2300
- display: inline-block;
2301
- width: 0;
2302
- height: 0;
2303
- border-right: 0 solid transparent;
2304
- border-bottom: 10px solid var(--jd-color-border);
2305
- border-left: 10px solid transparent;
2306
- cursor: se-resize;
2307
- opacity: 1;
2308
- }
2309
- .jodit-dialog__resizer:hover {
2310
- border-bottom-color: rgba(0, 0, 0, 0.6);
2329
+ overflow: hidden;
2330
+ width: 12px;
2331
+ height: 12px;
2332
+ cursor: nwse-resize;
2333
+ fill: var(--jd-color-gray-dark);
2334
+ user-select: none;
2311
2335
  }
2312
2336
  @media (max-width: 480px) {
2313
2337
  .jodit-dialog__resizer {
@@ -2450,6 +2474,7 @@ svg.jodit-icon {
2450
2474
  width: 100%;
2451
2475
  height: auto;
2452
2476
  min-height: var(--jd-button-size);
2477
+ cursor: pointer;
2453
2478
  }
2454
2479
  .jodit-toolbar-collection_mode_vertical .jodit-toolbar-button__text:not(:empty),
2455
2480
  .jodit-toolbar-editor-collection_mode_vertical .jodit-toolbar-button__text:not(:empty) {
@@ -2602,6 +2627,7 @@ svg.jodit-icon {
2602
2627
  padding: 0 var(--jd-padding-default);
2603
2628
  }
2604
2629
  .jodit-toolbar-button__button {
2630
+ cursor: pointer;
2605
2631
  position: relative;
2606
2632
  box-sizing: border-box;
2607
2633
  padding: 0;
@@ -2645,6 +2671,7 @@ svg.jodit-icon {
2645
2671
  justify-content: center;
2646
2672
  border-radius: 0 var(--jd-border-radius-default) var(--jd-border-radius-default) 0;
2647
2673
  opacity: 0.4;
2674
+ cursor: pointer;
2648
2675
  width: 14px;
2649
2676
  }
2650
2677
  .jodit-toolbar-button__trigger:hover:not([disabled]) {
@@ -2721,6 +2748,7 @@ svg.jodit-icon {
2721
2748
  justify-content: center;
2722
2749
  padding: 0 var(--jd-padding-default);
2723
2750
  border-radius: var(--jd-border-radius-default);
2751
+ cursor: pointer;
2724
2752
  min-width: 34px;
2725
2753
  height: 34px;
2726
2754
  padding: 0;
@@ -2862,155 +2890,155 @@ svg.jodit-icon {
2862
2890
  .jodit-toolbar-content:focus:not([disabled]) {
2863
2891
  outline: 1px dashed var(--jd-color-background-selection);
2864
2892
  }
2865
- .jodit-toolbar-content_status_default {
2893
+ .jodit-toolbar-content_variant_default {
2866
2894
  background-color: #e3e3e3;
2867
2895
  color: #212529;
2868
2896
  }
2869
- .jodit-toolbar-content_status_default svg {
2897
+ .jodit-toolbar-content_variant_default svg {
2870
2898
  fill: #212529;
2871
2899
  stroke: #212529;
2872
2900
  }
2873
- .jodit-toolbar-content_status_default [disabled] {
2901
+ .jodit-toolbar-content_variant_default [disabled] {
2874
2902
  opacity: 0.7;
2875
2903
  }
2876
- .jodit-toolbar-content_status_default:hover:not([disabled]) {
2904
+ .jodit-toolbar-content_variant_default:hover:not([disabled]) {
2877
2905
  background-color: #c9cdd1;
2878
2906
  color: #212529;
2879
2907
  }
2880
- .jodit-toolbar-content_status_default:hover:not([disabled]) svg {
2908
+ .jodit-toolbar-content_variant_default:hover:not([disabled]) svg {
2881
2909
  fill: #212529;
2882
2910
  stroke: #212529;
2883
2911
  }
2884
- .jodit-toolbar-content_status_default:active:not([disabled]) {
2912
+ .jodit-toolbar-content_variant_default:active:not([disabled]) {
2885
2913
  background-color: #dae0e5;
2886
2914
  color: #212529;
2887
2915
  }
2888
- .jodit-toolbar-content_status_default:active:not([disabled]) svg {
2916
+ .jodit-toolbar-content_variant_default:active:not([disabled]) svg {
2889
2917
  fill: #212529;
2890
2918
  stroke: #212529;
2891
2919
  }
2892
- .jodit-toolbar-content_status_default:focus:not([disabled]) {
2920
+ .jodit-toolbar-content_variant_default:focus:not([disabled]) {
2893
2921
  outline: 1px dashed #dae0e5;
2894
2922
  }
2895
- .jodit-toolbar-content_status_primary {
2923
+ .jodit-toolbar-content_variant_primary {
2896
2924
  background-color: #007bff;
2897
2925
  color: #fff;
2898
2926
  }
2899
- .jodit-toolbar-content_status_primary svg {
2927
+ .jodit-toolbar-content_variant_primary svg {
2900
2928
  fill: #fff;
2901
2929
  stroke: #fff;
2902
2930
  }
2903
- .jodit-toolbar-content_status_primary [disabled] {
2931
+ .jodit-toolbar-content_variant_primary [disabled] {
2904
2932
  opacity: 0.7;
2905
2933
  }
2906
- .jodit-toolbar-content_status_primary:hover:not([disabled]) {
2934
+ .jodit-toolbar-content_variant_primary:hover:not([disabled]) {
2907
2935
  background-color: #0069d9;
2908
2936
  color: #fff;
2909
2937
  }
2910
- .jodit-toolbar-content_status_primary:hover:not([disabled]) svg {
2938
+ .jodit-toolbar-content_variant_primary:hover:not([disabled]) svg {
2911
2939
  fill: #fff;
2912
2940
  stroke: #fff;
2913
2941
  }
2914
- .jodit-toolbar-content_status_primary:active:not([disabled]) {
2942
+ .jodit-toolbar-content_variant_primary:active:not([disabled]) {
2915
2943
  background-color: #0062cc;
2916
2944
  color: #fff;
2917
2945
  }
2918
- .jodit-toolbar-content_status_primary:active:not([disabled]) svg {
2946
+ .jodit-toolbar-content_variant_primary:active:not([disabled]) svg {
2919
2947
  fill: #fff;
2920
2948
  stroke: #fff;
2921
2949
  }
2922
- .jodit-toolbar-content_status_primary:focus:not([disabled]) {
2950
+ .jodit-toolbar-content_variant_primary:focus:not([disabled]) {
2923
2951
  outline: 1px dashed #0062cc;
2924
2952
  }
2925
- .jodit-toolbar-content_status_secondary {
2953
+ .jodit-toolbar-content_variant_secondary {
2926
2954
  background-color: #d8d8d8;
2927
2955
  color: #212529;
2928
2956
  border-radius: 0;
2929
2957
  }
2930
- .jodit-toolbar-content_status_secondary svg {
2958
+ .jodit-toolbar-content_variant_secondary svg {
2931
2959
  fill: #212529;
2932
2960
  stroke: #212529;
2933
2961
  }
2934
- .jodit-toolbar-content_status_secondary [disabled] {
2962
+ .jodit-toolbar-content_variant_secondary [disabled] {
2935
2963
  opacity: 0.7;
2936
2964
  }
2937
- .jodit-toolbar-content_status_secondary:hover:not([disabled]) {
2965
+ .jodit-toolbar-content_variant_secondary:hover:not([disabled]) {
2938
2966
  background-color: #c9cdd1;
2939
2967
  color: #212529;
2940
2968
  }
2941
- .jodit-toolbar-content_status_secondary:hover:not([disabled]) svg {
2969
+ .jodit-toolbar-content_variant_secondary:hover:not([disabled]) svg {
2942
2970
  fill: #212529;
2943
2971
  stroke: #212529;
2944
2972
  }
2945
- .jodit-toolbar-content_status_secondary:active:not([disabled]) {
2973
+ .jodit-toolbar-content_variant_secondary:active:not([disabled]) {
2946
2974
  background-color: #dae0e5;
2947
2975
  color: #212529;
2948
2976
  }
2949
- .jodit-toolbar-content_status_secondary:active:not([disabled]) svg {
2977
+ .jodit-toolbar-content_variant_secondary:active:not([disabled]) svg {
2950
2978
  fill: #212529;
2951
2979
  stroke: #212529;
2952
2980
  }
2953
- .jodit-toolbar-content_status_secondary:focus:not([disabled]) {
2981
+ .jodit-toolbar-content_variant_secondary:focus:not([disabled]) {
2954
2982
  outline: 1px dashed #dae0e5;
2955
2983
  }
2956
- .jodit-toolbar-content_status_success {
2984
+ .jodit-toolbar-content_variant_success {
2957
2985
  background-color: #28a745;
2958
2986
  color: #fff;
2959
2987
  }
2960
- .jodit-toolbar-content_status_success svg {
2988
+ .jodit-toolbar-content_variant_success svg {
2961
2989
  fill: #fff;
2962
2990
  stroke: #fff;
2963
2991
  }
2964
- .jodit-toolbar-content_status_success [disabled] {
2992
+ .jodit-toolbar-content_variant_success [disabled] {
2965
2993
  opacity: 0.7;
2966
2994
  }
2967
- .jodit-toolbar-content_status_success:hover:not([disabled]) {
2995
+ .jodit-toolbar-content_variant_success:hover:not([disabled]) {
2968
2996
  background-color: #218838;
2969
2997
  color: #fff;
2970
2998
  }
2971
- .jodit-toolbar-content_status_success:hover:not([disabled]) svg {
2999
+ .jodit-toolbar-content_variant_success:hover:not([disabled]) svg {
2972
3000
  fill: #fff;
2973
3001
  stroke: #fff;
2974
3002
  }
2975
- .jodit-toolbar-content_status_success:active:not([disabled]) {
3003
+ .jodit-toolbar-content_variant_success:active:not([disabled]) {
2976
3004
  background-color: #1e7e34;
2977
3005
  color: #fff;
2978
3006
  }
2979
- .jodit-toolbar-content_status_success:active:not([disabled]) svg {
3007
+ .jodit-toolbar-content_variant_success:active:not([disabled]) svg {
2980
3008
  fill: #fff;
2981
3009
  stroke: #fff;
2982
3010
  }
2983
- .jodit-toolbar-content_status_success:focus:not([disabled]) {
3011
+ .jodit-toolbar-content_variant_success:focus:not([disabled]) {
2984
3012
  outline: 1px dashed #1e7e34;
2985
3013
  }
2986
- .jodit-toolbar-content_status_danger {
3014
+ .jodit-toolbar-content_variant_danger {
2987
3015
  background-color: #dc3545;
2988
3016
  color: #fff;
2989
3017
  }
2990
- .jodit-toolbar-content_status_danger svg {
3018
+ .jodit-toolbar-content_variant_danger svg {
2991
3019
  fill: #fff;
2992
3020
  stroke: #fff;
2993
3021
  }
2994
- .jodit-toolbar-content_status_danger [disabled] {
3022
+ .jodit-toolbar-content_variant_danger [disabled] {
2995
3023
  opacity: 0.7;
2996
3024
  }
2997
- .jodit-toolbar-content_status_danger:hover:not([disabled]) {
3025
+ .jodit-toolbar-content_variant_danger:hover:not([disabled]) {
2998
3026
  background-color: #c82333;
2999
3027
  color: #fff;
3000
3028
  }
3001
- .jodit-toolbar-content_status_danger:hover:not([disabled]) svg {
3029
+ .jodit-toolbar-content_variant_danger:hover:not([disabled]) svg {
3002
3030
  fill: #fff;
3003
3031
  stroke: #fff;
3004
3032
  }
3005
- .jodit-toolbar-content_status_danger:active:not([disabled]) {
3033
+ .jodit-toolbar-content_variant_danger:active:not([disabled]) {
3006
3034
  background-color: #bd2130;
3007
3035
  color: #fff;
3008
3036
  }
3009
- .jodit-toolbar-content_status_danger:active:not([disabled]) svg {
3037
+ .jodit-toolbar-content_variant_danger:active:not([disabled]) svg {
3010
3038
  fill: #fff;
3011
3039
  stroke: #fff;
3012
3040
  }
3013
- .jodit-toolbar-content_status_danger:focus:not([disabled]) {
3041
+ .jodit-toolbar-content_variant_danger:focus:not([disabled]) {
3014
3042
  outline: 1px dashed #bd2130;
3015
3043
  }
3016
3044
  .jodit-toolbar-content:hover:not([disabled]) {
@@ -3041,7 +3069,7 @@ svg.jodit-icon {
3041
3069
  height: 100%;
3042
3070
  font-family: var(--jd-font-default);
3043
3071
  }
3044
- .jodit-filebrowser_no_files {
3072
+ .jodit-filebrowser_no-files_true {
3045
3073
  padding: var(--jd-padding-default);
3046
3074
  }
3047
3075
  @media (max-width: 480px) {
@@ -3056,7 +3084,7 @@ svg.jodit-icon {
3056
3084
  width: 100%;
3057
3085
  height: 100%;
3058
3086
  }
3059
- .jodit-filebrowser__loader i {
3087
+ .jodit-filebrowser__loader div {
3060
3088
  position: absolute;
3061
3089
  top: 50%;
3062
3090
  left: 50%;
@@ -3081,267 +3109,13 @@ svg.jodit-icon {
3081
3109
  visibility: hidden;
3082
3110
  word-break: break-all;
3083
3111
  }
3084
- .jodit-filebrowser__status.jodit-filebrowser_success {
3112
+ .jodit-filebrowser__status_success_true {
3085
3113
  color: #c5c5c5;
3086
3114
  }
3087
- .jodit-filebrowser__status.jodit-filebrowser_active {
3115
+ .jodit-filebrowser__status_active_true {
3088
3116
  opacity: 1;
3089
3117
  visibility: visible;
3090
3118
  }
3091
- .jodit-filebrowser__tree,
3092
- .jodit-filebrowser__files {
3093
- position: relative;
3094
- display: none;
3095
- height: 100%;
3096
- vertical-align: top;
3097
- overflow-anchor: auto;
3098
- }
3099
- .jodit-filebrowser__tree .jodit-button,
3100
- .jodit-filebrowser__files .jodit-button {
3101
- border-radius: 0;
3102
- }
3103
- .jodit-filebrowser__tree.jodit-filebrowser_active,
3104
- .jodit-filebrowser__files.jodit-filebrowser_active {
3105
- display: flex;
3106
- }
3107
- .jodit-filebrowser__tree::-webkit-scrollbar,
3108
- .jodit-filebrowser__files::-webkit-scrollbar {
3109
- width: calc(var(--jd-padding-default) / 2);
3110
- }
3111
- .jodit-filebrowser__tree::-webkit-scrollbar-track,
3112
- .jodit-filebrowser__files::-webkit-scrollbar-track {
3113
- -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
3114
- }
3115
- .jodit-filebrowser__tree::-webkit-scrollbar-thumb,
3116
- .jodit-filebrowser__files::-webkit-scrollbar-thumb {
3117
- background-color: darkgrey;
3118
- outline: 1px solid slategrey;
3119
- }
3120
- .jodit-filebrowser__tree.jodit-filebrowser_active {
3121
- z-index: 2;
3122
- width: var(--jd-first_column);
3123
- min-width: 200px;
3124
- max-width: 290px;
3125
- flex-direction: column;
3126
- background-color: var(--jd-color-background-filebrowser-folders);
3127
- overflow-y: auto;
3128
- --jd-text-color: #b1b1b1;
3129
- }
3130
- @media (max-width: 480px) {
3131
- .jodit-filebrowser__tree.jodit-filebrowser_active {
3132
- width: auto;
3133
- max-width: 100%;
3134
- height: 100px;
3135
- }
3136
- }
3137
- .jodit-filebrowser__tree.jodit-filebrowser_active::-webkit-scrollbar {
3138
- width: calc(var(--jd-padding-default) / 2);
3139
- }
3140
- .jodit-filebrowser__tree.jodit-filebrowser_active::-webkit-scrollbar-track {
3141
- -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
3142
- }
3143
- .jodit-filebrowser__tree.jodit-filebrowser_active::-webkit-scrollbar-thumb {
3144
- background-color: rgba(127, 127, 127, 0.5);
3145
- outline: 1px solid slategrey;
3146
- }
3147
- .jodit-filebrowser__tree.jodit-filebrowser_active .jodit-filebrowser__source-title {
3148
- position: relative;
3149
- display: block;
3150
- padding: 2px 4px;
3151
- border-bottom: 1px solid #484848;
3152
- background: #5a5a5a;
3153
- color: #969696;
3154
- font-size: 12px;
3155
- user-select: none;
3156
- word-break: break-all;
3157
- }
3158
- .jodit-filebrowser__tree.jodit-filebrowser_active .jodit-filebrowser__tree-item {
3159
- position: relative;
3160
- display: flex;
3161
- min-height: 38px;
3162
- align-items: center;
3163
- justify-content: space-between;
3164
- padding: calc(var(--jd-padding-default) / 2) var(--jd-padding-default);
3165
- border-bottom: 1px solid #474747;
3166
- color: var(--jd-text-color);
3167
- text-decoration: none;
3168
- transition: background-color 0.2s ease 0s;
3169
- word-break: break-all;
3170
- }
3171
- .jodit-filebrowser__tree.jodit-filebrowser_active .jodit-filebrowser__tree-item-title {
3172
- flex: 1;
3173
- }
3174
- .jodit-filebrowser__tree.jodit-filebrowser_active .jodit-filebrowser__tree-item .jodit-icon_folder {
3175
- display: flex;
3176
- width: calc(var(--jd-icon-size) + 4px);
3177
- height: calc(var(--jd-icon-size) + 4px);
3178
- align-items: center;
3179
- justify-content: center;
3180
- margin-left: calc(var(--jd-padding-default) / 2);
3181
- opacity: 0.3;
3182
- }
3183
- .jodit-filebrowser__tree.jodit-filebrowser_active .jodit-filebrowser__tree-item .jodit-icon_folder svg {
3184
- width: var(--jd-icon-size);
3185
- height: var(--jd-icon-size);
3186
- fill: var(--jd-text-color) !important;
3187
- stroke: var(--jd-text-color) !important;
3188
- }
3189
- .jodit-filebrowser__tree.jodit-filebrowser_active .jodit-filebrowser__tree-item .jodit-icon_folder:hover {
3190
- background: #696969;
3191
- }
3192
- .jodit-filebrowser__tree.jodit-filebrowser_active .jodit-filebrowser__tree-item:hover {
3193
- background-color: var(--jd-color-background-button-hover);
3194
- color: #222;
3195
- }
3196
- .jodit-filebrowser__tree.jodit-filebrowser_active .jodit-filebrowser__tree-item:hover i.jodit-icon_folder {
3197
- opacity: 0.6;
3198
- }
3199
- .jodit-filebrowser__files.jodit-filebrowser_active {
3200
- width: 100%;
3201
- flex-wrap: wrap;
3202
- align-content: flex-start;
3203
- padding: calc(var(--jd-padding-default) / 2);
3204
- overflow-y: auto;
3205
- }
3206
- .jodit-filebrowser__files.jodit-filebrowser_active .jodit-filebrowser__source-title {
3207
- position: relative;
3208
- display: block;
3209
- padding: var(--jd-padding-default);
3210
- margin: calc(var(--jd-padding-default) * -1);
3211
- margin-bottom: 0;
3212
- background: #5a5a5a;
3213
- color: #969696;
3214
- font-size: 16px;
3215
- user-select: none;
3216
- word-break: break-all;
3217
- }
3218
- .jodit-filebrowser__files.jodit-filebrowser_active a + .jodit-filebrowser__source-title {
3219
- margin-top: var(--jd-padding-default);
3220
- }
3221
- .jodit-filebrowser__files.jodit-filebrowser_active .jodit-filebrowser__files-item {
3222
- position: relative;
3223
- display: flex;
3224
- overflow: hidden;
3225
- width: var(--jd-col_size);
3226
- height: var(--jd-col_size);
3227
- align-items: center;
3228
- justify-content: center;
3229
- border: 1px solid var(--jd-color-border);
3230
- margin: calc(var(--jd-padding-default) / 2);
3231
- font-size: 0;
3232
- text-align: center;
3233
- transition: border 0.1s linear, bottom 0.1s linear;
3234
- }
3235
- @media (max-width: 480px) {
3236
- .jodit-filebrowser__files.jodit-filebrowser_active .jodit-filebrowser__files-item {
3237
- width: calc(50% - var(--jd-padding-default));
3238
- }
3239
- }
3240
- .jodit-filebrowser__files.jodit-filebrowser_active .jodit-filebrowser__files-item img {
3241
- max-width: 100%;
3242
- }
3243
- .jodit-filebrowser__files.jodit-filebrowser_active .jodit-filebrowser__files-item:hover {
3244
- border-color: #433b5c;
3245
- }
3246
- .jodit-filebrowser__files.jodit-filebrowser_active .jodit-filebrowser__files-item_active_true {
3247
- border-color: var(--jd-color-border-selected);
3248
- background-color: var(--jd-color-border-active);
3249
- }
3250
- .jodit-filebrowser__files.jodit-filebrowser_active .jodit-filebrowser__files-item_active_true .jodit-filebrowser__files-item-info {
3251
- background-color: var(--jd-color-border-active);
3252
- color: white;
3253
- text-shadow: none;
3254
- }
3255
- .jodit-filebrowser__files.jodit-filebrowser_active .jodit-filebrowser__files-item-info {
3256
- position: absolute;
3257
- right: 0;
3258
- bottom: 0;
3259
- left: 0;
3260
- overflow: visible;
3261
- padding: 0.3em 0.6em;
3262
- background-color: var(--jd-info-background);
3263
- color: #333333;
3264
- font-size: 14px;
3265
- line-height: 16px;
3266
- opacity: 0.85;
3267
- text-align: left;
3268
- text-shadow: #eeeeee 0 1px 0;
3269
- transition: opacity 400ms ease;
3270
- white-space: normal;
3271
- }
3272
- .jodit-filebrowser__files.jodit-filebrowser_active .jodit-filebrowser__files-item-info > span {
3273
- display: block;
3274
- overflow: hidden;
3275
- font-size: 0.75em;
3276
- text-overflow: ellipsis;
3277
- white-space: nowrap;
3278
- }
3279
- .jodit-filebrowser__files.jodit-filebrowser_active .jodit-filebrowser__files-item-info > span.jodit-filebrowser__files-item-info-filename {
3280
- font-size: 0.9em;
3281
- font-weight: bold;
3282
- }
3283
- .jodit-filebrowser__files.jodit-filebrowser_active .jodit-filebrowser__files-item:hover:not(.jodit-filebrowser__files-item_active_true) .jodit-filebrowser__files-item-info {
3284
- bottom: -100px;
3285
- }
3286
- .jodit-filebrowser__files.jodit-filebrowser_active.jodit-filebrowser__files_view_list {
3287
- scroll-behavior: smooth;
3288
- }
3289
- .jodit-filebrowser__files.jodit-filebrowser_active.jodit-filebrowser__files_view_list a {
3290
- display: block;
3291
- width: 100%;
3292
- height: 26px;
3293
- border-width: 0 0 1px 0;
3294
- margin: 0;
3295
- line-height: 26px;
3296
- text-align: left;
3297
- white-space: nowrap;
3298
- }
3299
- .jodit-filebrowser__files.jodit-filebrowser_active.jodit-filebrowser__files_view_list a img {
3300
- display: inline-block;
3301
- min-width: 16px;
3302
- max-width: 16px;
3303
- margin-left: 4px;
3304
- vertical-align: middle;
3305
- }
3306
- .jodit-filebrowser__files.jodit-filebrowser_active.jodit-filebrowser__files_view_list a .jodit-filebrowser__files-item-info {
3307
- position: static;
3308
- display: inline-block;
3309
- width: calc(100% - 20px);
3310
- height: 100%;
3311
- padding: 0;
3312
- margin-left: 4px;
3313
- background-color: transparent;
3314
- font-size: 0;
3315
- line-height: inherit;
3316
- vertical-align: middle;
3317
- }
3318
- .jodit-filebrowser__files.jodit-filebrowser_active.jodit-filebrowser__files_view_list a .jodit-filebrowser__files-item-info > span {
3319
- display: inline-block;
3320
- height: 100%;
3321
- font-size: 12px;
3322
- }
3323
- .jodit-filebrowser__files.jodit-filebrowser_active.jodit-filebrowser__files_view_list a .jodit-filebrowser__files-item-info > span.jodit-filebrowser__files-item-info-filename {
3324
- width: 50%;
3325
- }
3326
- .jodit-filebrowser__files.jodit-filebrowser_active.jodit-filebrowser__files_view_list a .jodit-filebrowser__files-item-info > span.jodit-filebrowser__files-item-info-filesize {
3327
- width: 25%;
3328
- }
3329
- .jodit-filebrowser__files.jodit-filebrowser_active.jodit-filebrowser__files_view_list a .jodit-filebrowser__files-item-info > span.jodit-filebrowser__files-item-info-filechanged {
3330
- width: 25%;
3331
- }
3332
- .jodit-filebrowser__files.jodit-filebrowser_active.jodit-filebrowser__files_view_list a:hover {
3333
- background-color: #433b5c;
3334
- }
3335
- .jodit-filebrowser__files.jodit-filebrowser_active.jodit-filebrowser__files_view_list a:hover .jodit-filebrowser__files-item-info {
3336
- color: #fff;
3337
- text-shadow: none;
3338
- }
3339
- .jodit-filebrowser__files.jodit-filebrowser_active.jodit-filebrowser__files_view_list a::before {
3340
- display: inline-block;
3341
- height: 100%;
3342
- content: '';
3343
- vertical-align: middle;
3344
- }
3345
3119
  .jodit_draghover {
3346
3120
  background-color: var(--jd-color-background-button-hover);
3347
3121
  }
@@ -3355,19 +3129,21 @@ svg.jodit-icon {
3355
3129
  * Released under MIT see LICENSE.txt in the project root for license information.
3356
3130
  * Copyright (c) 2013-2021 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
3357
3131
  */
3358
- .jodit-filebrowser_preview {
3132
+ .jodit-filebrowser-preview {
3359
3133
  position: relative;
3360
3134
  display: flex;
3361
- min-width: 600px;
3362
- max-width: 1000px;
3363
- min-height: 700px;
3135
+ min-width: 400px;
3136
+ max-width: min(100%, 1000px);
3137
+ height: 100%;
3138
+ min-height: min(100%, 500px);
3364
3139
  max-height: 100%;
3365
3140
  align-items: center;
3366
3141
  justify-content: center;
3142
+ margin: auto;
3367
3143
  text-align: center;
3368
3144
  }
3369
3145
  @media (max-width: 768px) {
3370
- .jodit-filebrowser_preview {
3146
+ .jodit-filebrowser-preview {
3371
3147
  min-width: auto;
3372
3148
  max-width: 100%;
3373
3149
  height: 100%;
@@ -3375,35 +3151,36 @@ svg.jodit-icon {
3375
3151
  max-height: 100%;
3376
3152
  }
3377
3153
  }
3378
- .jodit-filebrowser_preview_box {
3154
+ .jodit-filebrowser-preview__box {
3379
3155
  display: flex;
3380
3156
  flex-grow: 1;
3381
3157
  align-items: center;
3382
3158
  justify-content: center;
3383
3159
  }
3384
- .jodit-filebrowser_preview_navigation {
3160
+ .jodit-filebrowser-preview__navigation {
3385
3161
  position: absolute;
3386
3162
  top: 0;
3387
3163
  left: 0;
3388
3164
  height: 100%;
3165
+ cursor: pointer;
3389
3166
  }
3390
- .jodit-filebrowser_preview_navigation-next {
3167
+ .jodit-filebrowser-preview__navigation_arrow_next {
3391
3168
  right: 0;
3392
3169
  left: auto;
3393
3170
  }
3394
- .jodit-filebrowser_preview_navigation svg {
3171
+ .jodit-filebrowser-preview__navigation svg {
3395
3172
  position: relative;
3396
3173
  top: 50%;
3397
3174
  width: 45px;
3398
3175
  height: 45px;
3399
- margin-top: -22px;
3400
3176
  fill: #9e9ba7;
3177
+ transform: translateY(-50%);
3401
3178
  transition: fill 0.3s linear;
3402
3179
  }
3403
- .jodit-filebrowser_preview_navigation:hover svg {
3180
+ .jodit-filebrowser-preview__navigation:hover svg {
3404
3181
  fill: #000;
3405
3182
  }
3406
- .jodit-filebrowser_preview img {
3183
+ .jodit-filebrowser-preview img {
3407
3184
  max-width: 100%;
3408
3185
  max-height: 100%;
3409
3186
  }
@@ -3592,6 +3369,267 @@ svg.jodit-icon {
3592
3369
  justify-content: center;
3593
3370
  }
3594
3371
 
3372
+ .jodit-filebrowser-files {
3373
+ position: relative;
3374
+ display: none;
3375
+ height: 100%;
3376
+ vertical-align: top;
3377
+ overflow-anchor: auto;
3378
+ }
3379
+ .jodit-filebrowser-files .jodit-button {
3380
+ border-radius: 0;
3381
+ }
3382
+ .jodit-filebrowser-files_active_true {
3383
+ display: flex;
3384
+ }
3385
+ .jodit-filebrowser-files::-webkit-scrollbar {
3386
+ width: calc(var(--jd-padding-default) / 2);
3387
+ }
3388
+ .jodit-filebrowser-files::-webkit-scrollbar-track {
3389
+ -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
3390
+ }
3391
+ .jodit-filebrowser-files::-webkit-scrollbar-thumb {
3392
+ background-color: darkgrey;
3393
+ outline: 1px solid slategrey;
3394
+ }
3395
+ .jodit-filebrowser-files_active_true {
3396
+ width: 100%;
3397
+ flex-wrap: wrap;
3398
+ align-content: flex-start;
3399
+ padding: calc(var(--jd-padding-default) / 2);
3400
+ overflow-y: auto;
3401
+ }
3402
+ .jodit-filebrowser-files__item {
3403
+ position: relative;
3404
+ display: flex;
3405
+ overflow: hidden;
3406
+ width: var(--jd-col_size);
3407
+ height: var(--jd-col_size);
3408
+ align-items: center;
3409
+ justify-content: center;
3410
+ border: 1px solid var(--jd-color-border);
3411
+ margin: calc(var(--jd-padding-default) / 2);
3412
+ font-size: 0;
3413
+ text-align: center;
3414
+ transition: border 0.1s linear, bottom 0.1s linear;
3415
+ }
3416
+ @media (max-width: 480px) {
3417
+ .jodit-filebrowser-files__item {
3418
+ width: calc(50% - var(--jd-padding-default));
3419
+ }
3420
+ }
3421
+ .jodit-filebrowser-files__item img {
3422
+ max-width: 100%;
3423
+ }
3424
+ .jodit-filebrowser-files__item:hover {
3425
+ border-color: #433b5c;
3426
+ }
3427
+ .jodit-filebrowser-files__item_active_true {
3428
+ border-color: var(--jd-color-border-selected);
3429
+ background-color: var(--jd-color-border-active);
3430
+ }
3431
+ .jodit-filebrowser-files__item_active_true .jodit-filebrowser-files__item-info {
3432
+ background-color: var(--jd-color-border-active);
3433
+ color: white;
3434
+ text-shadow: none;
3435
+ }
3436
+ .jodit-filebrowser-files__item-info {
3437
+ position: absolute;
3438
+ right: 0;
3439
+ bottom: 0;
3440
+ left: 0;
3441
+ overflow: visible;
3442
+ padding: 0.3em 0.6em;
3443
+ background-color: var(--jd-info-background);
3444
+ color: #333333;
3445
+ font-size: 14px;
3446
+ line-height: 16px;
3447
+ opacity: 0.85;
3448
+ text-align: left;
3449
+ text-shadow: #eeeeee 0 1px 0;
3450
+ transition: opacity 400ms ease;
3451
+ white-space: normal;
3452
+ }
3453
+ .jodit-filebrowser-files__item-info > span {
3454
+ display: block;
3455
+ overflow: hidden;
3456
+ font-size: 0.75em;
3457
+ text-overflow: ellipsis;
3458
+ white-space: nowrap;
3459
+ }
3460
+ .jodit-filebrowser-files__item-info > span.jodit-filebrowser-files__item-info-filename {
3461
+ font-size: 0.9em;
3462
+ font-weight: bold;
3463
+ }
3464
+ .jodit-filebrowser-files__item:hover:not(.jodit-filebrowser-files__item_active_true) .jodit-filebrowser-files__item-info {
3465
+ bottom: -100px;
3466
+ }
3467
+ .jodit-filebrowser-files_view_list {
3468
+ scroll-behavior: smooth;
3469
+ }
3470
+ .jodit-filebrowser-files_view_list a {
3471
+ display: block;
3472
+ width: 100%;
3473
+ height: 26px;
3474
+ border-width: 0 0 1px 0;
3475
+ margin: 0;
3476
+ line-height: 26px;
3477
+ text-align: left;
3478
+ white-space: nowrap;
3479
+ }
3480
+ .jodit-filebrowser-files_view_list a img {
3481
+ display: inline-block;
3482
+ min-width: 16px;
3483
+ max-width: 16px;
3484
+ margin-left: 4px;
3485
+ vertical-align: middle;
3486
+ }
3487
+ .jodit-filebrowser-files_view_list a .jodit-filebrowser-files__item-info {
3488
+ position: static;
3489
+ display: inline-block;
3490
+ width: calc(100% - 20px);
3491
+ height: 100%;
3492
+ padding: 0;
3493
+ margin-left: 4px;
3494
+ background-color: transparent;
3495
+ font-size: 0;
3496
+ line-height: inherit;
3497
+ vertical-align: middle;
3498
+ }
3499
+ .jodit-filebrowser-files_view_list a .jodit-filebrowser-files__item-info > span {
3500
+ display: inline-block;
3501
+ height: 100%;
3502
+ font-size: 12px;
3503
+ }
3504
+ .jodit-filebrowser-files_view_list a .jodit-filebrowser-files__item-info-filename {
3505
+ width: 50%;
3506
+ }
3507
+ .jodit-filebrowser-files_view_list a .jodit-filebrowser-files__item-info-filesize {
3508
+ width: 25%;
3509
+ }
3510
+ .jodit-filebrowser-files_view_list a .jodit-filebrowser-files__item-info-filechanged {
3511
+ width: 25%;
3512
+ }
3513
+ .jodit-filebrowser-files_view_list a:hover {
3514
+ background-color: #433b5c;
3515
+ }
3516
+ .jodit-filebrowser-files_view_list a:hover .jodit-filebrowser-files__item-info {
3517
+ color: #fff;
3518
+ text-shadow: none;
3519
+ }
3520
+ .jodit-filebrowser-files_view_list a::before {
3521
+ display: inline-block;
3522
+ height: 100%;
3523
+ content: '';
3524
+ vertical-align: middle;
3525
+ }
3526
+
3527
+ .jodit-filebrowser-tree {
3528
+ position: relative;
3529
+ display: none;
3530
+ height: 100%;
3531
+ vertical-align: top;
3532
+ overflow-anchor: auto;
3533
+ }
3534
+ .jodit-filebrowser-tree .jodit-button {
3535
+ border-radius: 0;
3536
+ }
3537
+ .jodit-filebrowser-tree_active_true {
3538
+ display: flex;
3539
+ }
3540
+ .jodit-filebrowser-tree::-webkit-scrollbar {
3541
+ width: calc(var(--jd-padding-default) / 2);
3542
+ }
3543
+ .jodit-filebrowser-tree::-webkit-scrollbar-track {
3544
+ -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
3545
+ }
3546
+ .jodit-filebrowser-tree::-webkit-scrollbar-thumb {
3547
+ background-color: darkgrey;
3548
+ outline: 1px solid slategrey;
3549
+ }
3550
+ .jodit-filebrowser-tree_active_true {
3551
+ z-index: 2;
3552
+ width: var(--jd-first_column);
3553
+ min-width: 200px;
3554
+ max-width: 290px;
3555
+ flex-direction: column;
3556
+ background-color: var(--jd-color-background-filebrowser-folders);
3557
+ overflow-y: auto;
3558
+ --jd-text-color: #b1b1b1;
3559
+ }
3560
+ @media (max-width: 480px) {
3561
+ .jodit-filebrowser-tree_active_true {
3562
+ width: auto;
3563
+ max-width: 100%;
3564
+ height: 100px;
3565
+ }
3566
+ }
3567
+ .jodit-filebrowser-tree_active_true::-webkit-scrollbar {
3568
+ width: calc(var(--jd-padding-default) / 2);
3569
+ }
3570
+ .jodit-filebrowser-tree_active_true::-webkit-scrollbar-track {
3571
+ -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
3572
+ }
3573
+ .jodit-filebrowser-tree_active_true::-webkit-scrollbar-thumb {
3574
+ background-color: rgba(127, 127, 127, 0.5);
3575
+ outline: 1px solid slategrey;
3576
+ }
3577
+ .jodit-filebrowser-tree__item {
3578
+ position: relative;
3579
+ display: flex;
3580
+ min-height: 38px;
3581
+ align-items: center;
3582
+ justify-content: space-between;
3583
+ padding: calc(var(--jd-padding-default) / 2) var(--jd-padding-default);
3584
+ border-bottom: 1px solid #474747;
3585
+ color: var(--jd-text-color);
3586
+ text-decoration: none;
3587
+ transition: background-color 0.2s ease 0s;
3588
+ word-break: break-all;
3589
+ }
3590
+ .jodit-filebrowser-tree__item-title {
3591
+ flex: 1;
3592
+ }
3593
+ .jodit-filebrowser-tree__item .jodit-icon_folder {
3594
+ display: flex;
3595
+ width: calc(var(--jd-icon-size) + 4px);
3596
+ height: calc(var(--jd-icon-size) + 4px);
3597
+ align-items: center;
3598
+ justify-content: center;
3599
+ margin-left: calc(var(--jd-padding-default) / 2);
3600
+ opacity: 0.3;
3601
+ }
3602
+ .jodit-filebrowser-tree__item .jodit-icon_folder svg {
3603
+ width: var(--jd-icon-size);
3604
+ height: var(--jd-icon-size);
3605
+ fill: var(--jd-text-color) !important;
3606
+ stroke: var(--jd-text-color) !important;
3607
+ }
3608
+ .jodit-filebrowser-tree__item .jodit-icon_folder:hover {
3609
+ background: #696969;
3610
+ }
3611
+ .jodit-filebrowser-tree__item:hover {
3612
+ background-color: var(--jd-color-background-button-hover);
3613
+ color: #222;
3614
+ }
3615
+ .jodit-filebrowser-tree__item:hover i.jodit-icon_folder {
3616
+ opacity: 0.6;
3617
+ }
3618
+ .jodit-filebrowser-tree__source-title {
3619
+ position: relative;
3620
+ display: block;
3621
+ padding: 2px 4px;
3622
+ border-bottom: 1px solid #484848;
3623
+ background: #5a5a5a;
3624
+ color: #969696;
3625
+ font-size: 12px;
3626
+ user-select: none;
3627
+ word-break: break-all;
3628
+ }
3629
+ a + .jodit-filebrowser-tree__source-title {
3630
+ margin-top: var(--jd-padding-default);
3631
+ }
3632
+
3595
3633
  /*!
3596
3634
  * Jodit Editor (https://xdsoft.net/jodit/)
3597
3635
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -3600,12 +3638,18 @@ svg.jodit-icon {
3600
3638
  .jodit-status-bar {
3601
3639
  display: flex;
3602
3640
  overflow: hidden;
3641
+ height: 20px;
3603
3642
  align-items: center;
3604
3643
  justify-content: flex-start;
3605
3644
  padding: 0 calc(var(--jd-padding-default) / 2);
3606
3645
  background-color: var(--jd-color-panel);
3607
3646
  border-radius: 0 0 var(--jd-border-radius-default) var(--jd-border-radius-default);
3647
+ color: var(--jd-color-text-icons);
3608
3648
  font-size: var(--jd-font-size-small);
3649
+ text-transform: uppercase;
3650
+ }
3651
+ .jodit-status-bar_resize-handle_true {
3652
+ padding-right: 14px;
3609
3653
  }
3610
3654
  .jodit-status-bar::before {
3611
3655
  flex: auto;
@@ -3635,9 +3679,20 @@ svg.jodit-icon {
3635
3679
  }
3636
3680
  .jodit-status-bar .jodit-status-bar__item a:hover {
3637
3681
  background-color: var(--jd-color-background-gray);
3638
- color: var(--jd-color-text);
3639
3682
  text-decoration: none;
3640
3683
  }
3684
+ .jodit-status-bar a.jodit-status-bar-link {
3685
+ cursor: pointer;
3686
+ }
3687
+ .jodit-status-bar a.jodit-status-bar-link,
3688
+ .jodit-status-bar a.jodit-status-bar-link:hover,
3689
+ .jodit-status-bar a.jodit-status-bar-link:visited {
3690
+ background-color: transparent;
3691
+ color: var(--jd-color-text-icons);
3692
+ }
3693
+ .jodit-status-bar a.jodit-status-bar-link:hover {
3694
+ text-decoration: underline;
3695
+ }
3641
3696
  .jodit-workplace + .jodit-status-bar:not(:empty) {
3642
3697
  border-top: 1px solid var(--jd-color-border);
3643
3698
  }
@@ -3888,6 +3943,7 @@ svg.jodit-icon {
3888
3943
  }
3889
3944
  .jodit-tabs .jodit-tabs__buttons > * {
3890
3945
  margin-left: calc(var(--jd-padding-default) / 2);
3946
+ cursor: pointer;
3891
3947
  }
3892
3948
  .jodit-tabs .jodit-tabs__buttons > *:only-of-type {
3893
3949
  width: 100%;
@@ -3908,7 +3964,7 @@ svg.jodit-icon {
3908
3964
  min-width: 80px;
3909
3965
  }
3910
3966
  .jodit-tabs__button_columns_3 {
3911
- width: 100% / 3;
3967
+ width: calc(100% / 3);
3912
3968
  }
3913
3969
  .jodit-tabs__button_columns_2 {
3914
3970
  width: 50%;
@@ -4087,7 +4143,10 @@ html.jodit_fullsize-box_true {
4087
4143
  :root {
4088
4144
  --jd-viewer_width: 70px;
4089
4145
  --jd-viewer_height: 24px;
4090
- --jd-resizer-handle-size: var(--jd-padding-default);
4146
+ --jd-resizer-handle-size: 10px;
4147
+ --jd-resizer-border-color: #98c1f1;
4148
+ --jd-resizer-handle-color: #5ba4f3;
4149
+ --jd-resizer-handle-hover-color: #537ebb;
4091
4150
  }
4092
4151
  [data-jodit_iframe_wrapper] {
4093
4152
  position: relative;
@@ -4112,8 +4171,9 @@ html.jodit_fullsize-box_true {
4112
4171
  left: 0;
4113
4172
  width: 100px;
4114
4173
  height: 100px;
4115
- border: 1px solid var(--jd-color-border-dark);
4174
+ box-sizing: border-box;
4116
4175
  font-size: 0;
4176
+ outline: 3px solid var(--jd-resizer-border-color);
4117
4177
  pointer-events: none;
4118
4178
  }
4119
4179
  .jodit-resizer * {
@@ -4137,42 +4197,41 @@ html.jodit_fullsize-box_true {
4137
4197
  text-align: center;
4138
4198
  transition: opacity 0.2s linear;
4139
4199
  }
4140
- .jodit-resizer > i {
4200
+ .jodit-resizer > div {
4141
4201
  position: absolute;
4142
4202
  z-index: 4;
4143
4203
  display: inline-block;
4144
4204
  width: var(--jd-resizer-handle-size);
4145
4205
  height: var(--jd-resizer-handle-size);
4146
- border: 1px solid var(--jd-color-border-dark);
4147
- background-color: var(--jd-color-background-gray);
4206
+ background-color: var(--jd-resizer-handle-color);
4148
4207
  pointer-events: all;
4149
4208
  }
4150
- .jodit-resizer > i:hover {
4151
- background-color: var(--jd-color-background-gray-hover);
4209
+ .jodit-resizer > div:hover {
4210
+ background-color: var(--jd-resizer-handle-hover-color);
4152
4211
  }
4153
- .jodit-resizer > i:nth-child(1) {
4212
+ .jodit-resizer > div:nth-child(1) {
4154
4213
  top: calc(var(--jd-resizer-handle-size) / -2);
4155
4214
  left: calc(var(--jd-resizer-handle-size) / -2);
4156
4215
  cursor: nw-resize;
4157
4216
  }
4158
- .jodit-resizer > i:nth-child(2) {
4217
+ .jodit-resizer > div:nth-child(2) {
4159
4218
  top: calc(var(--jd-resizer-handle-size) / -2);
4160
4219
  right: calc(var(--jd-resizer-handle-size) / -2);
4161
4220
  cursor: ne-resize;
4162
4221
  }
4163
- .jodit-resizer > i:nth-child(3) {
4222
+ .jodit-resizer > div:nth-child(3) {
4164
4223
  right: calc(var(--jd-resizer-handle-size) / -2);
4165
4224
  bottom: calc(var(--jd-resizer-handle-size) / -2);
4166
4225
  cursor: se-resize;
4167
4226
  }
4168
- .jodit-resizer > i:nth-child(4) {
4227
+ .jodit-resizer > div:nth-child(4) {
4169
4228
  bottom: calc(var(--jd-resizer-handle-size) / -2);
4170
4229
  left: calc(var(--jd-resizer-handle-size) / -2);
4171
4230
  cursor: sw-resize;
4172
4231
  }
4173
4232
  @media (max-width: 768px) {
4174
- .jodit-resizer > i :root {
4175
- --jd-resizer-handle-size: calc(var(--jd-padding-default) * 2);
4233
+ .jodit-resizer > div :root {
4234
+ --jd-resizer-handle-size: calc(var(--jd-resizer-handle-size) * 2);
4176
4235
  }
4177
4236
  }
4178
4237
 
@@ -4315,17 +4374,15 @@ html.jodit_fullsize-box_true {
4315
4374
  .jodit-container:not(.jodit_inline) .jodit-editor__resize {
4316
4375
  position: relative;
4317
4376
  }
4318
- .jodit-container:not(.jodit_inline) .jodit-editor__resize span {
4377
+ .jodit-container:not(.jodit_inline) .jodit-editor__resize svg {
4319
4378
  position: absolute;
4320
4379
  right: 0;
4321
4380
  bottom: 0;
4322
4381
  overflow: hidden;
4323
- width: 0;
4324
- height: 0;
4325
- border-width: 7px 7px 0 0;
4326
- border-style: dashed solid dashed dashed;
4327
- border-color: rgba(0, 0, 0, 0) var(--jd-color-border) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
4328
- cursor: se-resize;
4382
+ width: 12px;
4383
+ height: 12px;
4384
+ cursor: nwse-resize;
4385
+ fill: var(--jd-color-gray-dark);
4329
4386
  user-select: none;
4330
4387
  }
4331
4388
 
@@ -4497,7 +4554,6 @@ html.jodit_fullsize-box_true {
4497
4554
  margin-bottom: 1em;
4498
4555
  border-collapse: collapse;
4499
4556
  empty-cells: show;
4500
- table-layout: fixed;
4501
4557
  }
4502
4558
  .jodit-wysiwyg table tr {
4503
4559
  user-select: none;