@syncfusion/ej2-image-editor 23.2.6 → 24.1.41

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 (99) hide show
  1. package/CHANGELOG.md +3 -51
  2. package/dist/ej2-image-editor.umd.min.js +2 -2
  3. package/dist/ej2-image-editor.umd.min.js.map +1 -1
  4. package/dist/es6/ej2-image-editor.es2015.js +7151 -4321
  5. package/dist/es6/ej2-image-editor.es2015.js.map +1 -1
  6. package/dist/es6/ej2-image-editor.es5.js +7269 -4426
  7. package/dist/es6/ej2-image-editor.es5.js.map +1 -1
  8. package/dist/global/ej2-image-editor.min.js +2 -2
  9. package/dist/global/ej2-image-editor.min.js.map +1 -1
  10. package/dist/global/index.d.ts +1 -1
  11. package/package.json +12 -12
  12. package/src/image-editor/action/crop.d.ts +6 -0
  13. package/src/image-editor/action/crop.js +347 -188
  14. package/src/image-editor/action/draw.d.ts +35 -2
  15. package/src/image-editor/action/draw.js +1682 -881
  16. package/src/image-editor/action/export.js +90 -29
  17. package/src/image-editor/action/filter.d.ts +3 -1
  18. package/src/image-editor/action/filter.js +74 -94
  19. package/src/image-editor/action/freehand-draw.d.ts +4 -0
  20. package/src/image-editor/action/freehand-draw.js +259 -149
  21. package/src/image-editor/action/selection.d.ts +6 -1
  22. package/src/image-editor/action/selection.js +1133 -1091
  23. package/src/image-editor/action/shape.d.ts +7 -0
  24. package/src/image-editor/action/shape.js +921 -550
  25. package/src/image-editor/action/transform.d.ts +2 -0
  26. package/src/image-editor/action/transform.js +514 -346
  27. package/src/image-editor/action/undo-redo.d.ts +2 -0
  28. package/src/image-editor/action/undo-redo.js +137 -36
  29. package/src/image-editor/base/enum.d.ts +2 -1
  30. package/src/image-editor/base/enum.js +1 -0
  31. package/src/image-editor/base/image-editor-model.d.ts +37 -2
  32. package/src/image-editor/base/image-editor.d.ts +124 -3
  33. package/src/image-editor/base/image-editor.js +672 -171
  34. package/src/image-editor/base/interface.d.ts +69 -15
  35. package/src/image-editor/renderer/toolbar.d.ts +10 -0
  36. package/src/image-editor/renderer/toolbar.js +1371 -822
  37. package/styles/bootstrap-dark.css +113 -8
  38. package/styles/bootstrap.css +112 -7
  39. package/styles/bootstrap4.css +113 -8
  40. package/styles/bootstrap5-dark.css +113 -8
  41. package/styles/bootstrap5.css +113 -8
  42. package/styles/fabric-dark.css +114 -9
  43. package/styles/fabric.css +113 -8
  44. package/styles/fluent-dark.css +118 -9
  45. package/styles/fluent.css +118 -9
  46. package/styles/highcontrast-light.css +112 -7
  47. package/styles/highcontrast.css +116 -7
  48. package/styles/image-editor/_bootstrap-dark-definition.scss +3 -0
  49. package/styles/image-editor/_bootstrap-definition.scss +3 -0
  50. package/styles/image-editor/_bootstrap4-definition.scss +3 -0
  51. package/styles/image-editor/_bootstrap5-definition.scss +3 -0
  52. package/styles/image-editor/_fabric-dark-definition.scss +3 -0
  53. package/styles/image-editor/_fabric-definition.scss +3 -0
  54. package/styles/image-editor/_fluent-definition.scss +3 -0
  55. package/styles/image-editor/_fusionnew-definition.scss +3 -0
  56. package/styles/image-editor/_highcontrast-definition.scss +3 -0
  57. package/styles/image-editor/_highcontrast-light-definition.scss +3 -0
  58. package/styles/image-editor/_layout.scss +138 -4
  59. package/styles/image-editor/_material-dark-definition.scss +3 -0
  60. package/styles/image-editor/_material-definition.scss +3 -0
  61. package/styles/image-editor/_material3-definition.scss +3 -0
  62. package/styles/image-editor/_tailwind-definition.scss +3 -0
  63. package/styles/image-editor/_theme.scss +2 -4
  64. package/styles/image-editor/bootstrap-dark.css +113 -8
  65. package/styles/image-editor/bootstrap.css +112 -7
  66. package/styles/image-editor/bootstrap4.css +113 -8
  67. package/styles/image-editor/bootstrap5-dark.css +113 -8
  68. package/styles/image-editor/bootstrap5.css +113 -8
  69. package/styles/image-editor/fabric-dark.css +114 -9
  70. package/styles/image-editor/fabric.css +113 -8
  71. package/styles/image-editor/fluent-dark.css +118 -9
  72. package/styles/image-editor/fluent.css +118 -9
  73. package/styles/image-editor/highcontrast-light.css +112 -7
  74. package/styles/image-editor/highcontrast.css +116 -7
  75. package/styles/image-editor/icons/_bootstrap-dark.scss +60 -0
  76. package/styles/image-editor/icons/_bootstrap.scss +60 -0
  77. package/styles/image-editor/icons/_bootstrap4.scss +60 -0
  78. package/styles/image-editor/icons/_bootstrap5.scss +60 -0
  79. package/styles/image-editor/icons/_fabric-dark.scss +60 -0
  80. package/styles/image-editor/icons/_fabric.scss +60 -0
  81. package/styles/image-editor/icons/_fluent.scss +66 -0
  82. package/styles/image-editor/icons/_highcontrast-light.scss +60 -0
  83. package/styles/image-editor/icons/_highcontrast.scss +60 -0
  84. package/styles/image-editor/icons/_material-dark.scss +60 -0
  85. package/styles/image-editor/icons/_material.scss +60 -0
  86. package/styles/image-editor/icons/_material3.scss +60 -0
  87. package/styles/image-editor/icons/_tailwind.scss +60 -0
  88. package/styles/image-editor/material-dark.css +113 -8
  89. package/styles/image-editor/material.css +113 -8
  90. package/styles/image-editor/material3-dark.css +126 -9
  91. package/styles/image-editor/material3.css +126 -9
  92. package/styles/image-editor/tailwind-dark.css +114 -9
  93. package/styles/image-editor/tailwind.css +114 -9
  94. package/styles/material-dark.css +113 -8
  95. package/styles/material.css +113 -8
  96. package/styles/material3-dark.css +126 -9
  97. package/styles/material3.css +126 -9
  98. package/styles/tailwind-dark.css +114 -9
  99. package/styles/tailwind.css +114 -9
@@ -11,13 +11,62 @@
11
11
  }
12
12
 
13
13
  & .e-slider-container {
14
- margin-left: calc(50% - 50px) !important; /* stylelint-disable-line declaration-no-important */
14
+ margin-left: calc(50% - 70px) !important; /* stylelint-disable-line declaration-no-important */
15
15
  height: 54px !important; /* stylelint-disable-line declaration-no-important */
16
16
  }
17
+
18
+ & .e-straighten-slider {
19
+ margin-left: calc(50% - 70px) !important; /* stylelint-disable-line declaration-no-important */
20
+ }
21
+
22
+ & .e-ie-straighten-value-span {
23
+ margin-left: 15px !important; /* stylelint-disable-line declaration-no-important */
24
+ }
25
+
26
+ & .e-hscroll .e-scroll-nav.e-scroll-right-nav {
27
+ display: none !important; /* stylelint-disable-line declaration-no-important */
28
+ }
29
+
30
+ & .e-hscroll.e-scroll-device {
31
+ padding-right: 0 !important; /* stylelint-disable-line declaration-no-important */
32
+ }
33
+
34
+ & .e-scroll-right-overlay {
35
+ display: none !important; /* stylelint-disable-line declaration-no-important */
36
+ }
37
+
38
+ & .e-contextual-toolbar-wrapper {
39
+ border-top: $image-editor-border;
40
+ border-bottom: none !important; /* stylelint-disable-line declaration-no-important */
41
+ }
42
+
43
+ & .e-toolbar {
44
+ border-bottom: $image-editor-border;
45
+ }
46
+
47
+ & .e-contextual-toolbar-wrapper .e-toolbar {
48
+ border-bottom: none !important; /* stylelint-disable-line declaration-no-important */
49
+ }
50
+
51
+ & .e-bottom-toolbar .e-toolbar,
52
+ & .e-bottom-toolbar-area .e-toolbar {
53
+ border-bottom: none;
54
+ }
17
55
  }
18
56
 
19
57
  .e-bigger .e-image-editor,
20
58
  .e-image-editor.e-bigger {
59
+
60
+ & .e-contextual-toolbar-wrapper {
61
+ & .e-slider-container {
62
+ & .e-slider {
63
+ & .e-handle {
64
+ top: $image-editor-device-slider-handler !important; /* stylelint-disable-line declaration-no-important */
65
+ }
66
+ }
67
+ }
68
+ }
69
+
21
70
  & .e-toolbar {
22
71
  height: $image-editor-bigger-tbar-height !important; /* stylelint-disable-line declaration-no-important */
23
72
  min-height: $image-editor-bigger-tbar-height !important; /* stylelint-disable-line declaration-no-important */
@@ -130,6 +179,13 @@
130
179
  position: relative;
131
180
  display: block;
132
181
 
182
+ /* stylelint-disable property-no-vendor-prefix */
183
+ & .no-spin ::-webkit-inner-spin-button,
184
+ & .no-spin ::-webkit-outer-spin-button {
185
+ -webkit-appearance: none;
186
+ margin: 0;
187
+ }
188
+
133
189
  & .e-quick-access-toolbar-area .e-toolbar {
134
190
  @if $skin-name == 'Material3' {
135
191
  border-radius: 4px;
@@ -142,6 +198,9 @@
142
198
  border: $image-editor-drop-border;
143
199
  border-radius: 10px;
144
200
  margin: 10px;
201
+ @if $skin-name == 'highcontrast' {
202
+ color: $hover-font;
203
+ }
145
204
 
146
205
  & .e-upload {
147
206
  display: none;
@@ -162,6 +221,12 @@
162
221
  font-size: 14px;
163
222
  }
164
223
 
224
+ & .e-ie-drop-content > a {
225
+ @if $skin-name == 'highcontrast' {
226
+ color: $hover-font;
227
+ }
228
+ }
229
+
165
230
  & .e-ie-drop-info {
166
231
  top: calc(50% + 40px);
167
232
  left: calc(50% - 100px);
@@ -178,10 +243,14 @@
178
243
 
179
244
  & .e-toolbar {
180
245
  border: none;
246
+ border-bottom: $image-editor-border;
181
247
  @if $skin-name != 'Material3' {
182
248
  height: $image-editor-tbar-height !important; /* stylelint-disable-line declaration-no-important */
183
249
  min-height: $image-editor-tbar-height !important; /* stylelint-disable-line declaration-no-important */
184
250
  }
251
+ @if $skin-name == 'FluentUI' {
252
+ box-shadow: none !important; /* stylelint-disable-line declaration-no-important */
253
+ }
185
254
  & .e-toolbar-items {
186
255
  & .e-toolbar-item {
187
256
  &.e-ie-resize-height {
@@ -295,24 +364,26 @@
295
364
  }
296
365
  }
297
366
  }
367
+
298
368
 
299
369
  & .e-toolbar-area + .e-canvas-wrapper {
300
- border-top: $image-editor-border;
301
-
302
370
  & .e-textarea {
303
371
  line-height: initial !important; /* stylelint-disable-line declaration-no-important */
304
372
  }
305
373
  }
306
374
 
307
- & .e-bottom-toolbar {
375
+ & .e-bottom-toolbar,
376
+ & .e-bottom-toolbar-area {
308
377
  border-top: $image-editor-border;
309
378
  }
310
379
 
311
380
  & .e-contextual-toolbar-wrapper {
381
+ border-bottom: $image-editor-border;
312
382
  width: 100%;
313
383
  z-index: 1;
314
384
 
315
385
  & .e-toolbar {
386
+ border-bottom: none !important; /* stylelint-disable-line declaration-no-important */
316
387
  @if $skin-name == 'Material3' {
317
388
  height: 140px !important; /* stylelint-disable-line declaration-no-important */
318
389
  }
@@ -356,6 +427,11 @@
356
427
  margin: 4px;
357
428
  text-align: center;
358
429
  }
430
+
431
+ & .e-dropdown-btn {
432
+ margin: 0 auto;
433
+ width: max-content;
434
+ }
359
435
  }
360
436
 
361
437
  &.e-hide {
@@ -382,7 +458,65 @@
382
458
  & .e-slider-container {
383
459
  margin-left: calc(50% - 137px);
384
460
  height: 54px !important; /* stylelint-disable-line declaration-no-important */
461
+
462
+ & .e-slider {
463
+ & .e-handle {
464
+ @if $skin-name == 'Material3' {
465
+ height: 16px !important; /* stylelint-disable-line declaration-no-important */
466
+ top: calc(50% - 10px) !important; /* stylelint-disable-line declaration-no-important */
467
+ width: 16px !important; /* stylelint-disable-line declaration-no-important */
468
+ }
469
+ }
470
+ }
385
471
  }
386
472
  }
387
473
  }
474
+ .e-ie-straighten-value-span,
475
+ .e-ie-straighten-span {
476
+ font-size: 14px;
477
+ padding-left: 10px !important; /* stylelint-disable-line declaration-no-important */
478
+ padding-right: 10px !important; /* stylelint-disable-line declaration-no-important */
479
+ }
480
+
481
+ .e-straighten .e-control-wrapper.e-slider-container.e-horizontal {
482
+ height: auto;
483
+ @if $skin-name == 'Material3' {
484
+ margin-left: 8px;
485
+ padding-right: 2px;
486
+ }
487
+ }
488
+
489
+ .e-straighten .e-control-wrapper.e-slider-container.e-horizontal .e-slider {
490
+ top: calc(50% - 20px) !important; /* stylelint-disable-line declaration-no-important */
491
+ }
492
+
493
+ .e-straighten .e-control-wrapper.e-slider-container.e-horizontal .e-slider-track,
494
+ .e-straighten .e-control-wrapper.e-slider-container.e-horizontal .e-range {
495
+ top: calc(50% - 2px) !important; /* stylelint-disable-line declaration-no-important */
496
+ }
497
+
498
+ .e-straighten .e-control-wrapper.e-slider-container .e-slider .e-handle {
499
+ top: $image-editor-slider-handler !important; /* stylelint-disable-line declaration-no-important */
500
+ @if $skin-name == 'Material3' {
501
+ height: 16px !important; /* stylelint-disable-line declaration-no-important */
502
+ width: 16px !important; /* stylelint-disable-line declaration-no-important */
503
+ }
504
+ }
505
+
506
+ .e-bigger .e-straighten .e-control-wrapper.e-slider-container .e-slider .e-handle {
507
+ @if $skin-name == 'Material3' {
508
+ height: 22px !important; /* stylelint-disable-line declaration-no-important */
509
+ width: 22px !important; /* stylelint-disable-line declaration-no-important */
510
+ }
511
+ top: $image-editor-bigger-slider-handler !important; /* stylelint-disable-line declaration-no-important */
512
+ }
513
+
514
+ .e-dropdown-popup.e-ie-crop-ddb-popup ul {
515
+ height: 250px;
516
+ overflow-y: scroll;
517
+ }
518
+
519
+ .e-dropdown-popup.e-ie-ddb-popup {
520
+ background: none !important; /* stylelint-disable-line declaration-no-important */
521
+ }
388
522
  }
@@ -14,3 +14,6 @@ $image-editor-dropdown-btn-preview-top: -4px !default;
14
14
  $image-editor-dropdown-btn-preview-left: -1px !default;
15
15
  $image-editor-bigger-dropdown-btn-preview-top: -3px !default;
16
16
  $image-editor-bigger-dropdown-btn-preview-left: -1px !default;
17
+ $image-editor-slider-handler: calc(50% - 6px) !default;
18
+ $image-editor-bigger-slider-handler: calc(50% - 7px) !default;
19
+ $image-editor-device-slider-handler: calc(50% - 5px) !default;
@@ -14,3 +14,6 @@ $image-editor-dropdown-btn-preview-top: -4px !default;
14
14
  $image-editor-dropdown-btn-preview-left: -1px !default;
15
15
  $image-editor-bigger-dropdown-btn-preview-top: -3px !default;
16
16
  $image-editor-bigger-dropdown-btn-preview-left: -1px !default;
17
+ $image-editor-slider-handler: calc(50% - 6px) !default;
18
+ $image-editor-bigger-slider-handler: calc(50% - 7px) !default;
19
+ $image-editor-device-slider-handler: calc(50% - 5px) !default;
@@ -14,3 +14,6 @@ $image-editor-dropdown-btn-preview-top: -2px !default;
14
14
  $image-editor-dropdown-btn-preview-left: -9px !default;
15
15
  $image-editor-bigger-dropdown-btn-preview-top: -1px !default;
16
16
  $image-editor-bigger-dropdown-btn-preview-left: -7px !default;
17
+ $image-editor-slider-handler: calc(50% - 8px) !default;
18
+ $image-editor-bigger-slider-handler: calc(50% - 10px) !default;
19
+ $image-editor-device-slider-handler: calc(50% - 8px) !default;
@@ -14,3 +14,6 @@ $image-editor-dropdown-btn-preview-top: -2px !default;
14
14
  $image-editor-dropdown-btn-preview-left: -6px !default;
15
15
  $image-editor-bigger-dropdown-btn-preview-top: -2px !default;
16
16
  $image-editor-bigger-dropdown-btn-preview-left: -6px !default;
17
+ $image-editor-slider-handler: calc(50% - 6px) !default;
18
+ $image-editor-bigger-slider-handler: calc(50% - 7px) !default;
19
+ $image-editor-device-slider-handler: calc(50% - 9px) !default;
@@ -4,8 +4,6 @@
4
4
 
5
5
  & .e-contextual-toolbar-wrapper {
6
6
  background: $image-editor-contextual-toolbar;
7
- border-top: $image-editor-border;
8
- border-bottom: $image-editor-border;
9
7
 
10
8
  & .e-toolbar-item:hover .filterwrapper,
11
9
  & .e-toolbar-item.e-selected .filterwrapper,
@@ -51,9 +49,9 @@
51
49
  }
52
50
 
53
51
  &:hover {
54
- background: $btn-hover-bgcolor;
52
+ background: $tbar-hover-bg;
55
53
  box-shadow: none;
56
- color: $btn-hover-color;
54
+ color: $tbar-hover-font;
57
55
  }
58
56
 
59
57
  &:focus {
@@ -91,6 +91,21 @@
91
91
  .e-image-editor .e-custom-e::before {
92
92
  content: "\e97b";
93
93
  }
94
+ .e-image-editor .e-custom-f::before {
95
+ content: "\e118";
96
+ }
97
+ .e-image-editor .e-custom-g::before {
98
+ content: "\e119";
99
+ }
100
+ .e-image-editor .e-custom-h::before {
101
+ content: "\e11a";
102
+ }
103
+ .e-image-editor .e-custom-i::before {
104
+ content: "\e11b";
105
+ }
106
+ .e-image-editor .e-custom-j::before {
107
+ content: "\e11c";
108
+ }
94
109
  .e-image-editor .e-horizontal-flip::before {
95
110
  content: "\e95b";
96
111
  }
@@ -152,6 +167,21 @@
152
167
  .e-dropdown-popup.e-image-popup .e-custom-e::before {
153
168
  content: "\e97b";
154
169
  }
170
+ .e-dropdown-popup.e-image-popup .e-custom-f::before {
171
+ content: "\e118";
172
+ }
173
+ .e-dropdown-popup.e-image-popup .e-custom-g::before {
174
+ content: "\e119";
175
+ }
176
+ .e-dropdown-popup.e-image-popup .e-custom-h::before {
177
+ content: "\e11a";
178
+ }
179
+ .e-dropdown-popup.e-image-popup .e-custom-i::before {
180
+ content: "\e11b";
181
+ }
182
+ .e-dropdown-popup.e-image-popup .e-custom-j::before {
183
+ content: "\e11c";
184
+ }
155
185
  .e-dropdown-popup.e-image-popup .e-rectangle::before {
156
186
  content: "\e670";
157
187
  }
@@ -198,10 +228,42 @@
198
228
  margin-left: 0 !important; /* stylelint-disable-line declaration-no-important */
199
229
  }
200
230
  .e-device.e-image-editor .e-slider-container {
201
- margin-left: calc(50% - 50px) !important; /* stylelint-disable-line declaration-no-important */
231
+ margin-left: calc(50% - 70px) !important; /* stylelint-disable-line declaration-no-important */
202
232
  height: 54px !important; /* stylelint-disable-line declaration-no-important */
203
233
  }
234
+ .e-device.e-image-editor .e-straighten-slider {
235
+ margin-left: calc(50% - 70px) !important; /* stylelint-disable-line declaration-no-important */
236
+ }
237
+ .e-device.e-image-editor .e-ie-straighten-value-span {
238
+ margin-left: 15px !important; /* stylelint-disable-line declaration-no-important */
239
+ }
240
+ .e-device.e-image-editor .e-hscroll .e-scroll-nav.e-scroll-right-nav {
241
+ display: none !important; /* stylelint-disable-line declaration-no-important */
242
+ }
243
+ .e-device.e-image-editor .e-hscroll.e-scroll-device {
244
+ padding-right: 0 !important; /* stylelint-disable-line declaration-no-important */
245
+ }
246
+ .e-device.e-image-editor .e-scroll-right-overlay {
247
+ display: none !important; /* stylelint-disable-line declaration-no-important */
248
+ }
249
+ .e-device.e-image-editor .e-contextual-toolbar-wrapper {
250
+ border-top: 1px solid #acacac;
251
+ border-bottom: none !important; /* stylelint-disable-line declaration-no-important */
252
+ }
253
+ .e-device.e-image-editor .e-toolbar {
254
+ border-bottom: 1px solid #acacac;
255
+ }
256
+ .e-device.e-image-editor .e-contextual-toolbar-wrapper .e-toolbar {
257
+ border-bottom: none !important; /* stylelint-disable-line declaration-no-important */
258
+ }
259
+ .e-device.e-image-editor .e-bottom-toolbar .e-toolbar, .e-device.e-image-editor .e-bottom-toolbar-area .e-toolbar {
260
+ border-bottom: none;
261
+ }
204
262
 
263
+ .e-bigger .e-image-editor .e-contextual-toolbar-wrapper .e-slider-container .e-slider .e-handle,
264
+ .e-image-editor.e-bigger .e-contextual-toolbar-wrapper .e-slider-container .e-slider .e-handle {
265
+ top: calc(50% - 7px) !important; /* stylelint-disable-line declaration-no-important */
266
+ }
205
267
  .e-bigger .e-image-editor .e-toolbar,
206
268
  .e-image-editor.e-bigger .e-toolbar {
207
269
  height: 52px !important; /* stylelint-disable-line declaration-no-important */
@@ -271,6 +333,11 @@
271
333
  border: 1px solid #acacac;
272
334
  position: relative;
273
335
  display: block;
336
+ /* stylelint-disable property-no-vendor-prefix */
337
+ }
338
+ .e-image-editor .no-spin ::-webkit-inner-spin-button, .e-image-editor .no-spin ::-webkit-outer-spin-button {
339
+ -webkit-appearance: none;
340
+ margin: 0;
274
341
  }
275
342
  .e-image-editor .e-ie-drop-area {
276
343
  height: calc(100% - 18px);
@@ -307,6 +374,7 @@
307
374
  }
308
375
  .e-image-editor .e-toolbar {
309
376
  border: none;
377
+ border-bottom: 1px solid #acacac;
310
378
  height: 42px !important; /* stylelint-disable-line declaration-no-important */
311
379
  min-height: 42px !important; /* stylelint-disable-line declaration-no-important */
312
380
  }
@@ -363,20 +431,19 @@
363
431
  .e-image-editor .e-toolbar .e-toolbar-items.e-tbar-pos .e-toolbar-left {
364
432
  line-height: 1;
365
433
  }
366
- .e-image-editor .e-toolbar-area + .e-canvas-wrapper {
367
- border-top: 1px solid #acacac;
368
- }
369
434
  .e-image-editor .e-toolbar-area + .e-canvas-wrapper .e-textarea {
370
435
  line-height: initial !important; /* stylelint-disable-line declaration-no-important */
371
436
  }
372
- .e-image-editor .e-bottom-toolbar {
437
+ .e-image-editor .e-bottom-toolbar, .e-image-editor .e-bottom-toolbar-area {
373
438
  border-top: 1px solid #acacac;
374
439
  }
375
440
  .e-image-editor .e-contextual-toolbar-wrapper {
441
+ border-bottom: 1px solid #acacac;
376
442
  width: 100%;
377
443
  z-index: 1;
378
444
  }
379
445
  .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar {
446
+ border-bottom: none !important; /* stylelint-disable-line declaration-no-important */
380
447
  height: 130px !important; /* stylelint-disable-line declaration-no-important */
381
448
  }
382
449
  .e-image-editor .e-contextual-toolbar-wrapper .e-frame-wrapper .e-toolbar {
@@ -407,6 +474,10 @@
407
474
  margin: 4px;
408
475
  text-align: center;
409
476
  }
477
+ .e-image-editor .e-contextual-toolbar-wrapper.e-frame-wrapper .e-dropdown-btn {
478
+ margin: 0 auto;
479
+ width: max-content;
480
+ }
410
481
  .e-image-editor .e-contextual-toolbar-wrapper.e-hide {
411
482
  display: none;
412
483
  }
@@ -424,14 +495,48 @@
424
495
  margin-left: calc(50% - 137px);
425
496
  height: 54px !important; /* stylelint-disable-line declaration-no-important */
426
497
  }
498
+ .e-ie-straighten-value-span,
499
+ .e-ie-straighten-span {
500
+ font-size: 14px;
501
+ padding-left: 10px !important; /* stylelint-disable-line declaration-no-important */
502
+ padding-right: 10px !important; /* stylelint-disable-line declaration-no-important */
503
+ }
504
+
505
+ .e-straighten .e-control-wrapper.e-slider-container.e-horizontal {
506
+ height: auto;
507
+ }
508
+
509
+ .e-straighten .e-control-wrapper.e-slider-container.e-horizontal .e-slider {
510
+ top: calc(50% - 20px) !important; /* stylelint-disable-line declaration-no-important */
511
+ }
512
+
513
+ .e-straighten .e-control-wrapper.e-slider-container.e-horizontal .e-slider-track,
514
+ .e-straighten .e-control-wrapper.e-slider-container.e-horizontal .e-range {
515
+ top: calc(50% - 2px) !important; /* stylelint-disable-line declaration-no-important */
516
+ }
517
+
518
+ .e-straighten .e-control-wrapper.e-slider-container .e-slider .e-handle {
519
+ top: calc(50% - 5px) !important; /* stylelint-disable-line declaration-no-important */
520
+ }
521
+
522
+ .e-bigger .e-straighten .e-control-wrapper.e-slider-container .e-slider .e-handle {
523
+ top: calc(50% - 7px) !important; /* stylelint-disable-line declaration-no-important */
524
+ }
525
+
526
+ .e-dropdown-popup.e-ie-crop-ddb-popup ul {
527
+ height: 250px;
528
+ overflow-y: scroll;
529
+ }
530
+
531
+ .e-dropdown-popup.e-ie-ddb-popup {
532
+ background: none !important; /* stylelint-disable-line declaration-no-important */
533
+ }
427
534
 
428
535
  .e-image-editor {
429
536
  background: #959595;
430
537
  }
431
538
  .e-image-editor .e-contextual-toolbar-wrapper {
432
539
  background: #131313;
433
- border-top: 1px solid #acacac;
434
- border-bottom: 1px solid #acacac;
435
540
  }
436
541
  .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item:hover .filterwrapper, .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item.e-selected .filterwrapper, .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item:hover .filter-wrapper, .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item.e-selected .filter-wrapper {
437
542
  border-color: #2a2a2a;
@@ -455,7 +560,7 @@
455
560
  .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn:hover {
456
561
  background: #313131;
457
562
  box-shadow: none;
458
- color: #f0f0f0;
563
+ color: #fff;
459
564
  }
460
565
  .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn:focus {
461
566
  background: #2a2a2a;
@@ -91,6 +91,21 @@
91
91
  .e-image-editor .e-custom-e::before {
92
92
  content: "\e97b";
93
93
  }
94
+ .e-image-editor .e-custom-f::before {
95
+ content: "\e118";
96
+ }
97
+ .e-image-editor .e-custom-g::before {
98
+ content: "\e119";
99
+ }
100
+ .e-image-editor .e-custom-h::before {
101
+ content: "\e11a";
102
+ }
103
+ .e-image-editor .e-custom-i::before {
104
+ content: "\e11b";
105
+ }
106
+ .e-image-editor .e-custom-j::before {
107
+ content: "\e11c";
108
+ }
94
109
  .e-image-editor .e-horizontal-flip::before {
95
110
  content: "\e95b";
96
111
  }
@@ -152,6 +167,21 @@
152
167
  .e-dropdown-popup.e-image-popup .e-custom-e::before {
153
168
  content: "\e97b";
154
169
  }
170
+ .e-dropdown-popup.e-image-popup .e-custom-f::before {
171
+ content: "\e118";
172
+ }
173
+ .e-dropdown-popup.e-image-popup .e-custom-g::before {
174
+ content: "\e119";
175
+ }
176
+ .e-dropdown-popup.e-image-popup .e-custom-h::before {
177
+ content: "\e11a";
178
+ }
179
+ .e-dropdown-popup.e-image-popup .e-custom-i::before {
180
+ content: "\e11b";
181
+ }
182
+ .e-dropdown-popup.e-image-popup .e-custom-j::before {
183
+ content: "\e11c";
184
+ }
155
185
  .e-dropdown-popup.e-image-popup .e-rectangle::before {
156
186
  content: "\e670";
157
187
  }
@@ -198,10 +228,42 @@
198
228
  margin-left: 0 !important; /* stylelint-disable-line declaration-no-important */
199
229
  }
200
230
  .e-device.e-image-editor .e-slider-container {
201
- margin-left: calc(50% - 50px) !important; /* stylelint-disable-line declaration-no-important */
231
+ margin-left: calc(50% - 70px) !important; /* stylelint-disable-line declaration-no-important */
202
232
  height: 54px !important; /* stylelint-disable-line declaration-no-important */
203
233
  }
234
+ .e-device.e-image-editor .e-straighten-slider {
235
+ margin-left: calc(50% - 70px) !important; /* stylelint-disable-line declaration-no-important */
236
+ }
237
+ .e-device.e-image-editor .e-ie-straighten-value-span {
238
+ margin-left: 15px !important; /* stylelint-disable-line declaration-no-important */
239
+ }
240
+ .e-device.e-image-editor .e-hscroll .e-scroll-nav.e-scroll-right-nav {
241
+ display: none !important; /* stylelint-disable-line declaration-no-important */
242
+ }
243
+ .e-device.e-image-editor .e-hscroll.e-scroll-device {
244
+ padding-right: 0 !important; /* stylelint-disable-line declaration-no-important */
245
+ }
246
+ .e-device.e-image-editor .e-scroll-right-overlay {
247
+ display: none !important; /* stylelint-disable-line declaration-no-important */
248
+ }
249
+ .e-device.e-image-editor .e-contextual-toolbar-wrapper {
250
+ border-top: 1px solid #ccc;
251
+ border-bottom: none !important; /* stylelint-disable-line declaration-no-important */
252
+ }
253
+ .e-device.e-image-editor .e-toolbar {
254
+ border-bottom: 1px solid #ccc;
255
+ }
256
+ .e-device.e-image-editor .e-contextual-toolbar-wrapper .e-toolbar {
257
+ border-bottom: none !important; /* stylelint-disable-line declaration-no-important */
258
+ }
259
+ .e-device.e-image-editor .e-bottom-toolbar .e-toolbar, .e-device.e-image-editor .e-bottom-toolbar-area .e-toolbar {
260
+ border-bottom: none;
261
+ }
204
262
 
263
+ .e-bigger .e-image-editor .e-contextual-toolbar-wrapper .e-slider-container .e-slider .e-handle,
264
+ .e-image-editor.e-bigger .e-contextual-toolbar-wrapper .e-slider-container .e-slider .e-handle {
265
+ top: calc(50% - 7px) !important; /* stylelint-disable-line declaration-no-important */
266
+ }
205
267
  .e-bigger .e-image-editor .e-toolbar,
206
268
  .e-image-editor.e-bigger .e-toolbar {
207
269
  height: 52px !important; /* stylelint-disable-line declaration-no-important */
@@ -271,6 +333,11 @@
271
333
  border: 1px solid #ccc;
272
334
  position: relative;
273
335
  display: block;
336
+ /* stylelint-disable property-no-vendor-prefix */
337
+ }
338
+ .e-image-editor .no-spin ::-webkit-inner-spin-button, .e-image-editor .no-spin ::-webkit-outer-spin-button {
339
+ -webkit-appearance: none;
340
+ margin: 0;
274
341
  }
275
342
  .e-image-editor .e-ie-drop-area {
276
343
  height: calc(100% - 18px);
@@ -307,6 +374,7 @@
307
374
  }
308
375
  .e-image-editor .e-toolbar {
309
376
  border: none;
377
+ border-bottom: 1px solid #ccc;
310
378
  height: 42px !important; /* stylelint-disable-line declaration-no-important */
311
379
  min-height: 42px !important; /* stylelint-disable-line declaration-no-important */
312
380
  }
@@ -363,20 +431,19 @@
363
431
  .e-image-editor .e-toolbar .e-toolbar-items.e-tbar-pos .e-toolbar-left {
364
432
  line-height: 1;
365
433
  }
366
- .e-image-editor .e-toolbar-area + .e-canvas-wrapper {
367
- border-top: 1px solid #ccc;
368
- }
369
434
  .e-image-editor .e-toolbar-area + .e-canvas-wrapper .e-textarea {
370
435
  line-height: initial !important; /* stylelint-disable-line declaration-no-important */
371
436
  }
372
- .e-image-editor .e-bottom-toolbar {
437
+ .e-image-editor .e-bottom-toolbar, .e-image-editor .e-bottom-toolbar-area {
373
438
  border-top: 1px solid #ccc;
374
439
  }
375
440
  .e-image-editor .e-contextual-toolbar-wrapper {
441
+ border-bottom: 1px solid #ccc;
376
442
  width: 100%;
377
443
  z-index: 1;
378
444
  }
379
445
  .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar {
446
+ border-bottom: none !important; /* stylelint-disable-line declaration-no-important */
380
447
  height: 130px !important; /* stylelint-disable-line declaration-no-important */
381
448
  }
382
449
  .e-image-editor .e-contextual-toolbar-wrapper .e-frame-wrapper .e-toolbar {
@@ -407,6 +474,10 @@
407
474
  margin: 4px;
408
475
  text-align: center;
409
476
  }
477
+ .e-image-editor .e-contextual-toolbar-wrapper.e-frame-wrapper .e-dropdown-btn {
478
+ margin: 0 auto;
479
+ width: max-content;
480
+ }
410
481
  .e-image-editor .e-contextual-toolbar-wrapper.e-hide {
411
482
  display: none;
412
483
  }
@@ -424,14 +495,48 @@
424
495
  margin-left: calc(50% - 137px);
425
496
  height: 54px !important; /* stylelint-disable-line declaration-no-important */
426
497
  }
498
+ .e-ie-straighten-value-span,
499
+ .e-ie-straighten-span {
500
+ font-size: 14px;
501
+ padding-left: 10px !important; /* stylelint-disable-line declaration-no-important */
502
+ padding-right: 10px !important; /* stylelint-disable-line declaration-no-important */
503
+ }
504
+
505
+ .e-straighten .e-control-wrapper.e-slider-container.e-horizontal {
506
+ height: auto;
507
+ }
508
+
509
+ .e-straighten .e-control-wrapper.e-slider-container.e-horizontal .e-slider {
510
+ top: calc(50% - 20px) !important; /* stylelint-disable-line declaration-no-important */
511
+ }
512
+
513
+ .e-straighten .e-control-wrapper.e-slider-container.e-horizontal .e-slider-track,
514
+ .e-straighten .e-control-wrapper.e-slider-container.e-horizontal .e-range {
515
+ top: calc(50% - 2px) !important; /* stylelint-disable-line declaration-no-important */
516
+ }
517
+
518
+ .e-straighten .e-control-wrapper.e-slider-container .e-slider .e-handle {
519
+ top: calc(50% - 5px) !important; /* stylelint-disable-line declaration-no-important */
520
+ }
521
+
522
+ .e-bigger .e-straighten .e-control-wrapper.e-slider-container .e-slider .e-handle {
523
+ top: calc(50% - 7px) !important; /* stylelint-disable-line declaration-no-important */
524
+ }
525
+
526
+ .e-dropdown-popup.e-ie-crop-ddb-popup ul {
527
+ height: 250px;
528
+ overflow-y: scroll;
529
+ }
530
+
531
+ .e-dropdown-popup.e-ie-ddb-popup {
532
+ background: none !important; /* stylelint-disable-line declaration-no-important */
533
+ }
427
534
 
428
535
  .e-image-editor {
429
536
  background: #e6e6e6;
430
537
  }
431
538
  .e-image-editor .e-contextual-toolbar-wrapper {
432
539
  background: #f8f8f8;
433
- border-top: 1px solid #ccc;
434
- border-bottom: 1px solid #ccc;
435
540
  }
436
541
  .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item:hover .filterwrapper, .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item.e-selected .filterwrapper, .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item:hover .filter-wrapper, .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item.e-selected .filter-wrapper {
437
542
  border-color: #e6e6e6;