@syncfusion/ej2-image-editor 31.2.16 → 32.1.19

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 (195) hide show
  1. package/README.md +2 -12
  2. package/aceconfig.js +17 -0
  3. package/dist/ej2-image-editor.umd.min.js +1 -10
  4. package/dist/ej2-image-editor.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-image-editor.es2015.js +28 -82
  6. package/dist/es6/ej2-image-editor.es2015.js.map +1 -1
  7. package/dist/es6/ej2-image-editor.es5.js +28 -82
  8. package/dist/es6/ej2-image-editor.es5.js.map +1 -1
  9. package/dist/global/ej2-image-editor.min.js +1 -10
  10. package/dist/global/ej2-image-editor.min.js.map +1 -1
  11. package/dist/global/index.d.ts +0 -9
  12. package/package.json +8 -8
  13. package/src/image-editor/action/draw.js +1 -1
  14. package/src/image-editor/action/export.js +1 -5
  15. package/src/image-editor/action/freehand-draw.js +0 -5
  16. package/src/image-editor/action/selection.js +6 -14
  17. package/src/image-editor/action/shape.d.ts +0 -1
  18. package/src/image-editor/action/shape.js +2 -20
  19. package/src/image-editor/base/image-editor.js +3 -11
  20. package/src/image-editor/renderer/toolbar.js +15 -26
  21. package/styles/bds-lite.css +58 -57
  22. package/styles/bds-lite.scss +12 -13
  23. package/styles/bds.css +82 -60
  24. package/styles/bds.scss +13 -14
  25. package/styles/bootstrap-dark-lite.css +58 -57
  26. package/styles/bootstrap-dark-lite.scss +12 -13
  27. package/styles/bootstrap-dark.css +82 -60
  28. package/styles/bootstrap-dark.scss +13 -14
  29. package/styles/bootstrap-lite.css +58 -57
  30. package/styles/bootstrap-lite.scss +12 -13
  31. package/styles/bootstrap.css +82 -60
  32. package/styles/bootstrap.scss +13 -14
  33. package/styles/bootstrap4-lite.css +58 -57
  34. package/styles/bootstrap4-lite.scss +12 -13
  35. package/styles/bootstrap4.css +82 -60
  36. package/styles/bootstrap4.scss +13 -14
  37. package/styles/bootstrap5-dark-lite.css +58 -57
  38. package/styles/bootstrap5-dark-lite.scss +12 -13
  39. package/styles/bootstrap5-dark.css +82 -60
  40. package/styles/bootstrap5-dark.scss +13 -14
  41. package/styles/bootstrap5-lite.css +58 -57
  42. package/styles/bootstrap5-lite.scss +13 -13
  43. package/styles/bootstrap5.3-lite.css +138 -57
  44. package/styles/bootstrap5.3-lite.scss +13 -13
  45. package/styles/bootstrap5.3.css +162 -60
  46. package/styles/bootstrap5.3.scss +14 -14
  47. package/styles/bootstrap5.css +82 -60
  48. package/styles/bootstrap5.scss +14 -14
  49. package/styles/fabric-dark-lite.css +58 -57
  50. package/styles/fabric-dark-lite.scss +13 -13
  51. package/styles/fabric-dark.css +82 -60
  52. package/styles/fabric-dark.scss +14 -14
  53. package/styles/fabric-lite.css +58 -57
  54. package/styles/fabric-lite.scss +13 -13
  55. package/styles/fabric.css +82 -60
  56. package/styles/fabric.scss +14 -14
  57. package/styles/fluent-dark-lite.css +58 -57
  58. package/styles/fluent-dark-lite.scss +13 -13
  59. package/styles/fluent-dark.css +82 -60
  60. package/styles/fluent-dark.scss +14 -14
  61. package/styles/fluent-lite.css +58 -57
  62. package/styles/fluent-lite.scss +13 -13
  63. package/styles/fluent.css +82 -60
  64. package/styles/fluent.scss +14 -14
  65. package/styles/fluent2-lite.css +139 -60
  66. package/styles/fluent2-lite.scss +13 -13
  67. package/styles/fluent2.css +163 -63
  68. package/styles/fluent2.scss +14 -14
  69. package/styles/highcontrast-light-lite.css +58 -57
  70. package/styles/highcontrast-light-lite.scss +13 -13
  71. package/styles/highcontrast-light.css +82 -60
  72. package/styles/highcontrast-light.scss +14 -14
  73. package/styles/highcontrast-lite.css +57 -57
  74. package/styles/highcontrast-lite.scss +13 -13
  75. package/styles/highcontrast.css +81 -60
  76. package/styles/highcontrast.scss +14 -14
  77. package/styles/image-editor/_all.scss +2 -2
  78. package/styles/image-editor/_bds-definition.scss +51 -0
  79. package/styles/image-editor/_bigger.scss +61 -9
  80. package/styles/image-editor/_bootstrap-dark-definition.scss +51 -0
  81. package/styles/image-editor/_bootstrap-definition.scss +51 -0
  82. package/styles/image-editor/_bootstrap4-definition.scss +55 -0
  83. package/styles/image-editor/_bootstrap5-dark-definition.scss +81 -1
  84. package/styles/image-editor/_bootstrap5-definition.scss +52 -0
  85. package/styles/image-editor/_bootstrap5.3-definition.scss +51 -0
  86. package/styles/image-editor/_fabric-dark-definition.scss +51 -0
  87. package/styles/image-editor/_fabric-definition.scss +51 -0
  88. package/styles/image-editor/_fluent-dark-definition.scss +81 -1
  89. package/styles/image-editor/_fluent-definition.scss +52 -0
  90. package/styles/image-editor/_fluent2-definition.scss +51 -0
  91. package/styles/image-editor/_fusionnew-definition.scss +51 -0
  92. package/styles/image-editor/_highcontrast-definition.scss +51 -0
  93. package/styles/image-editor/_highcontrast-light-definition.scss +51 -0
  94. package/styles/image-editor/_layout.scss +198 -115
  95. package/styles/image-editor/_material-dark-definition.scss +51 -0
  96. package/styles/image-editor/_material-definition.scss +51 -0
  97. package/styles/image-editor/_material3-dark-definition.scss +82 -1
  98. package/styles/image-editor/_material3-definition.scss +53 -0
  99. package/styles/image-editor/_tailwind-dark-definition.scss +81 -1
  100. package/styles/image-editor/_tailwind-definition.scss +52 -0
  101. package/styles/image-editor/_tailwind3-definition.scss +75 -1
  102. package/styles/image-editor/_theme-variables.scss +1 -0
  103. package/styles/image-editor/_theme.scss +59 -11
  104. package/styles/image-editor/bds.css +82 -60
  105. package/styles/image-editor/bds.scss +14 -14
  106. package/styles/image-editor/bootstrap-dark.css +82 -60
  107. package/styles/image-editor/bootstrap-dark.scss +14 -14
  108. package/styles/image-editor/bootstrap.css +82 -60
  109. package/styles/image-editor/bootstrap.scss +14 -14
  110. package/styles/image-editor/bootstrap4.css +82 -60
  111. package/styles/image-editor/bootstrap4.scss +14 -14
  112. package/styles/image-editor/bootstrap5-dark.css +82 -60
  113. package/styles/image-editor/bootstrap5-dark.scss +14 -14
  114. package/styles/image-editor/bootstrap5.3.css +162 -60
  115. package/styles/image-editor/bootstrap5.3.scss +14 -14
  116. package/styles/image-editor/bootstrap5.css +82 -60
  117. package/styles/image-editor/bootstrap5.scss +14 -14
  118. package/styles/image-editor/fabric-dark.css +82 -60
  119. package/styles/image-editor/fabric-dark.scss +14 -14
  120. package/styles/image-editor/fabric.css +82 -60
  121. package/styles/image-editor/fabric.scss +14 -14
  122. package/styles/image-editor/fluent-dark.css +82 -60
  123. package/styles/image-editor/fluent-dark.scss +14 -14
  124. package/styles/image-editor/fluent.css +82 -60
  125. package/styles/image-editor/fluent.scss +14 -14
  126. package/styles/image-editor/fluent2.css +163 -63
  127. package/styles/image-editor/fluent2.scss +14 -14
  128. package/styles/image-editor/highcontrast-light.css +82 -60
  129. package/styles/image-editor/highcontrast-light.scss +14 -14
  130. package/styles/image-editor/highcontrast.css +81 -60
  131. package/styles/image-editor/highcontrast.scss +14 -14
  132. package/styles/image-editor/icons/_bds.scss +1 -0
  133. package/styles/image-editor/icons/_bootstrap-dark.scss +1 -0
  134. package/styles/image-editor/icons/_bootstrap.scss +1 -0
  135. package/styles/image-editor/icons/_bootstrap4.scss +1 -0
  136. package/styles/image-editor/icons/_bootstrap5-dark.scss +1 -1
  137. package/styles/image-editor/icons/_bootstrap5.3.scss +1 -0
  138. package/styles/image-editor/icons/_bootstrap5.scss +1 -0
  139. package/styles/image-editor/icons/_fabric-dark.scss +1 -0
  140. package/styles/image-editor/icons/_fabric.scss +1 -0
  141. package/styles/image-editor/icons/_fluent-dark.scss +1 -1
  142. package/styles/image-editor/icons/_fluent.scss +1 -0
  143. package/styles/image-editor/icons/_fluent2.scss +1 -0
  144. package/styles/image-editor/icons/_fusionnew.scss +1 -0
  145. package/styles/image-editor/icons/_highcontrast-light.scss +1 -0
  146. package/styles/image-editor/icons/_highcontrast.scss +1 -0
  147. package/styles/image-editor/icons/_material-dark.scss +1 -0
  148. package/styles/image-editor/icons/_material.scss +1 -0
  149. package/styles/image-editor/icons/_material3-dark.scss +1 -1
  150. package/styles/image-editor/icons/_material3.scss +1 -0
  151. package/styles/image-editor/icons/_tailwind-dark.scss +1 -1
  152. package/styles/image-editor/icons/_tailwind.scss +1 -0
  153. package/styles/image-editor/icons/_tailwind3.scss +1 -0
  154. package/styles/image-editor/material-dark.css +82 -60
  155. package/styles/image-editor/material-dark.scss +14 -14
  156. package/styles/image-editor/material.css +82 -60
  157. package/styles/image-editor/material.scss +14 -14
  158. package/styles/image-editor/material3-dark.css +161 -60
  159. package/styles/image-editor/material3-dark.scss +14 -15
  160. package/styles/image-editor/material3.css +161 -60
  161. package/styles/image-editor/material3.scss +14 -15
  162. package/styles/image-editor/tailwind-dark.css +82 -60
  163. package/styles/image-editor/tailwind-dark.scss +14 -14
  164. package/styles/image-editor/tailwind.css +82 -60
  165. package/styles/image-editor/tailwind.scss +14 -14
  166. package/styles/image-editor/tailwind3.css +235 -84
  167. package/styles/image-editor/tailwind3.scss +14 -14
  168. package/styles/material-dark-lite.css +58 -57
  169. package/styles/material-dark-lite.scss +13 -13
  170. package/styles/material-dark.css +82 -60
  171. package/styles/material-dark.scss +14 -14
  172. package/styles/material-lite.css +58 -57
  173. package/styles/material-lite.scss +12 -13
  174. package/styles/material.css +82 -60
  175. package/styles/material.scss +13 -14
  176. package/styles/material3-dark-lite.css +137 -57
  177. package/styles/material3-dark-lite.scss +13 -13
  178. package/styles/material3-dark.css +161 -60
  179. package/styles/material3-dark.scss +14 -16
  180. package/styles/material3-lite.css +137 -57
  181. package/styles/material3-lite.scss +13 -13
  182. package/styles/material3.css +161 -60
  183. package/styles/material3.scss +14 -16
  184. package/styles/tailwind-dark-lite.css +58 -57
  185. package/styles/tailwind-dark-lite.scss +13 -13
  186. package/styles/tailwind-dark.css +82 -60
  187. package/styles/tailwind-dark.scss +14 -14
  188. package/styles/tailwind-lite.css +58 -57
  189. package/styles/tailwind-lite.scss +13 -13
  190. package/styles/tailwind.css +82 -60
  191. package/styles/tailwind.scss +14 -14
  192. package/styles/tailwind3-lite.css +195 -72
  193. package/styles/tailwind3-lite.scss +13 -13
  194. package/styles/tailwind3.css +235 -84
  195. package/styles/tailwind3.scss +14 -14
@@ -1,4 +1,6 @@
1
- @include export-module('image-editor-layout') {
1
+ @use 'ej2-base/styles/common/mixin' as *;
2
+ @use './theme-variables' as *;
3
+ @include export-module('image-editor-layout') {
2
4
  .e-ie-toolbar-upload-div.e-hide,
3
5
  .e-ie-toolbar-upload-btn.e-hide,
4
6
  .e-ie-img-quality-slider,
@@ -7,21 +9,8 @@
7
9
  }
8
10
 
9
11
  .e-device.e-image-editor {
10
- & .e-img-font-style.e-template{
11
- margin-left: 0 !important; /* stylelint-disable-line declaration-no-important */
12
- }
13
-
14
- & .e-slider-container {
15
- margin-left: calc(50% - 70px) !important; /* stylelint-disable-line declaration-no-important */
16
- height: 54px !important; /* stylelint-disable-line declaration-no-important */
17
- }
18
-
19
- & .e-straighten-slider {
20
- margin-left: calc(50% - 70px) !important; /* stylelint-disable-line declaration-no-important */
21
- }
22
-
23
- & .e-ie-straighten-value-span {
24
- margin-left: 15px !important; /* stylelint-disable-line declaration-no-important */
12
+ & .e-img-font-style.e-template {
13
+ margin-left: $ie-toolbar-img-font-style-margin-left !important; /* stylelint-disable-line declaration-no-important */
25
14
  }
26
15
 
27
16
  & .e-hscroll .e-scroll-nav.e-scroll-right-nav,
@@ -30,7 +19,7 @@
30
19
  }
31
20
 
32
21
  & .e-hscroll.e-scroll-device {
33
- padding-right: 0 !important; /* stylelint-disable-line declaration-no-important */
22
+ padding-right: $ie-scroll-device-padding-right !important; /* stylelint-disable-line declaration-no-important */
34
23
  }
35
24
 
36
25
  & .e-contextual-toolbar-wrapper {
@@ -38,6 +27,18 @@
38
27
  border-bottom: none !important; /* stylelint-disable-line declaration-no-important */
39
28
  }
40
29
 
30
+ & .e-toolbar-area .e-toolbar {
31
+ @if $skin-name == 'tailwind3' {
32
+ border-radius: $ie-toolbar-area-toolbar-border-radius;
33
+ }
34
+ }
35
+
36
+ & .e-bottom-toolbar .e-toolbar {
37
+ @if $skin-name == 'tailwind3' {
38
+ border-radius: $ie-toolbar-area-toolbar-border-radius;
39
+ }
40
+ }
41
+
41
42
  & .e-toolbar {
42
43
  border-bottom: $image-editor-border;
43
44
  }
@@ -60,7 +61,7 @@
60
61
  }
61
62
 
62
63
  & .e-ie-quality-option-container .e-slider-container {
63
- margin-left: 0 !important; /* stylelint-disable-line declaration-no-important */
64
+ margin-left: $ie-quality-option-slider-container-margin-left !important; /* stylelint-disable-line declaration-no-important */
64
65
  height: auto !important; /* stylelint-disable-line declaration-no-important */
65
66
  }
66
67
  }
@@ -74,7 +75,7 @@
74
75
  & .no-spin ::-webkit-inner-spin-button,
75
76
  & .no-spin ::-webkit-outer-spin-button {
76
77
  -webkit-appearance: none;
77
- margin: 0;
78
+ margin: $ie-spin-btn-margin;
78
79
  }
79
80
 
80
81
  & .e-quick-access-toolbar-area .e-toolbar {
@@ -85,10 +86,19 @@
85
86
 
86
87
  & .e-ie-drop-area {
87
88
  height: calc(100% - 18px);
88
- width: calc(100% - 20px);
89
- border: $image-editor-drop-border;
90
- border-radius: 10px;
91
- margin: 10px;
89
+ @if $skin-name == 'tailwind3' {
90
+ display: flex;
91
+ justify-content: center;
92
+ align-items: center;
93
+ flex-direction: column;
94
+ text-align: center;
95
+ }
96
+ @else {
97
+ width: calc(100% - 20px);
98
+ border: $image-editor-drop-border;
99
+ margin: $ie-drop-area-margin;
100
+ border-radius: $ie-drop-area-border-radius;
101
+ }
92
102
  @if $skin-name == 'highcontrast' {
93
103
  color: $hover-font;
94
104
  }
@@ -98,18 +108,30 @@
98
108
  }
99
109
 
100
110
  & .e-image::before {
101
- font-size: 50px;
111
+ font-size: $ie-drop-icon-font-size;
102
112
  }
103
113
 
104
114
  & .e-ie-drop-icon {
105
115
  top: calc(50% - 60px);
106
116
  left: calc(50% - 25px);
117
+ @if $skin-name != 'tailwind3' {
118
+ position: absolute;
119
+ }
107
120
  }
108
121
 
109
122
  & .e-ie-drop-content {
110
123
  top: 50%;
111
124
  left: calc(50% - 160px);
112
- font-size: 14px;
125
+ font-size: $ie-drop-content-font-size;
126
+ @if $skin-name == 'tailwind3' {
127
+ font-weight: $ie-drop-content-font-weight;
128
+ line-height: $ie-drop-content-line-height;
129
+ letter-spacing: $ie-drop-content-letter-spacing;
130
+ margin: $ie-drop-content-margin;
131
+ }
132
+ @else {
133
+ position: absolute;
134
+ }
113
135
  }
114
136
 
115
137
  & .e-ie-drop-content > a {
@@ -118,18 +140,48 @@
118
140
  }
119
141
  }
120
142
 
143
+ & .e-ie-drop-browse {
144
+ text-decoration: none;
145
+ @if $skin-name == 'tailwind3' {
146
+ font-weight: $ie-drop-browse-font-weight;
147
+ }
148
+ }
149
+
121
150
  & .e-ie-drop-info {
122
151
  top: calc(50% + 40px);
123
152
  left: 50%;
124
- transform: translate(-50%, -50%);
125
- position: absolute;
126
- font-size: 14px;
153
+ font-size: $ie-drop-info-font-size;
154
+ @if $skin-name == 'tailwind3' {
155
+ font-weight: $ie-drop-info-font-weight;
156
+ line-height: $ie-drop-info-line-height;
157
+ letter-spacing: $ie-drop-info-letter-spacing;
158
+ margin: $ie-drop-info-margin;
159
+ }
160
+ @else {
161
+ position: absolute;
162
+ transform: translate(-50%, -50%);
163
+ }
127
164
  }
128
165
 
129
166
  & .e-ie-min-drop-content {
130
167
  left: calc(50% - 120px);
131
168
  top: 50%;
132
- font-size: 14px;
169
+ font-size: $ie-min-drop-content-font-size;
170
+ @if $skin-name == 'tailwind3' {
171
+ font-weight: $ie-min-drop-content-font-weight;
172
+ line-height: $ie-min-drop-content-line-height;
173
+ letter-spacing: $ie-min-drop-content-letter-spacing;
174
+ margin: $ie-min-drop-content-margin;
175
+ }
176
+ @else {
177
+ position: absolute;
178
+ }
179
+ }
180
+ }
181
+
182
+ & .e-toolbar-area .e-toolbar {
183
+ @if $skin-name == 'tailwind3' {
184
+ border-radius: $ie-toolbar-area-toolbar-border-radius;
133
185
  }
134
186
  }
135
187
 
@@ -140,18 +192,36 @@
140
192
  height: $image-editor-tbar-height !important; /* stylelint-disable-line declaration-no-important */
141
193
  min-height: $image-editor-tbar-height !important; /* stylelint-disable-line declaration-no-important */
142
194
  }
195
+ @if $skin-name == 'tailwind3' {
196
+ height: auto !important; /* stylelint-disable-line declaration-no-important */
197
+ }
143
198
  @if $skin-name == 'FluentUI' or $skin-name == 'fluent2' {
144
199
  box-shadow: none !important; /* stylelint-disable-line declaration-no-important */
145
200
  }
201
+
202
+ & .e-toolbar-item.e-separator {
203
+ @if $skin-name == 'tailwind3' {
204
+ height: auto !important; /* stylelint-disable-line declaration-no-important */
205
+ }
206
+ }
207
+
146
208
  & .e-toolbar-items {
147
209
  & .e-toolbar-item {
148
210
  &.e-ie-resize-height {
149
- margin-left: 20px;
211
+ margin-left: $ie-toolbar-item-margin-left;
150
212
  min-width: 28px !important; /* stylelint-disable-line declaration-no-important */
213
+ font-size: $ie-default-toolbar-font-size;
151
214
  }
152
215
 
153
216
  &.e-ie-resize-width {
154
217
  min-width: 28px !important; /* stylelint-disable-line declaration-no-important */
218
+ font-size: $ie-default-toolbar-font-size;
219
+ }
220
+
221
+ &.e-stroke,
222
+ &.e-frame-stroke,
223
+ &.e-size {
224
+ font-size: $ie-default-toolbar-font-size;
155
225
  }
156
226
 
157
227
  & .e-tbar-btn.e-btn.e-tbtn-txt {
@@ -182,6 +252,9 @@
182
252
  padding: 8px 16px;
183
253
  }
184
254
  }
255
+ @if $skin-name == 'tailwind3' {
256
+ box-shadow: none;
257
+ }
185
258
  }
186
259
  }
187
260
 
@@ -190,7 +263,7 @@
190
263
  }
191
264
 
192
265
  & .e-file-select-wrap {
193
- padding: 0;
266
+ padding: $ie-file-select-padding;
194
267
  }
195
268
 
196
269
  & .e-image-upload {
@@ -207,6 +280,9 @@
207
280
  @if $skin-name == 'bootstrap5' or $skin-name == 'bootstrap5.3' or $skin-name == 'bootstrap5-dark' {
208
281
  padding-top: 6px;
209
282
  }
283
+ @if $skin-name == 'tailwind3' {
284
+ padding: $ie-upload-icon-padding !important; /* stylelint-disable-line declaration-no-important */
285
+ }
210
286
  }
211
287
  }
212
288
 
@@ -228,16 +304,20 @@
228
304
  & .e-text-font-color.e-template {
229
305
  & .e-dropdown-btn {
230
306
  & .e-icons.e-caret {
231
- margin-top: -4px;
307
+ @if $skin-name != 'tailwind3' {
308
+ margin-top: $ie-font-color-caret-margin-top;
309
+ }
232
310
  }
233
311
  }
234
312
  }
235
313
 
236
314
  & .e-btn-icon.e-dropdownbtn-preview {
237
- height: 18px;
238
- width: 18px;
239
- margin-top: $image-editor-dropdown-btn-preview-top !important; /* stylelint-disable-line declaration-no-important */
240
- margin-left: $image-editor-dropdown-btn-preview-left;
315
+ height: $ie-dropdownbtn-preview-size;
316
+ width: $ie-dropdownbtn-preview-size;
317
+ @if $skin-name != 'tailwind3' {
318
+ margin-top: $image-editor-dropdown-btn-preview-top !important; /* stylelint-disable-line declaration-no-important */
319
+ margin-left: $image-editor-dropdown-btn-preview-left;
320
+ }
241
321
  }
242
322
 
243
323
  & .e-dropdown-btn.e-image-popup {
@@ -247,7 +327,7 @@
247
327
  font-size: $image-editor-tbar-btn-fontsize;
248
328
 
249
329
  & .e-icons.e-caret {
250
- font-size: 10px !important; /* stylelint-disable-line declaration-no-important */
330
+ font-size: $ie-caret-font-size !important; /* stylelint-disable-line declaration-no-important */
251
331
  }
252
332
  }
253
333
  }
@@ -257,14 +337,14 @@
257
337
  font-size: $image-editor-tbar-btn-fontsize;
258
338
 
259
339
  & .e-icons.e-caret {
260
- font-size: 10px !important; /* stylelint-disable-line declaration-no-important */
340
+ font-size: $ie-caret-font-size !important; /* stylelint-disable-line declaration-no-important */
261
341
  }
262
342
  }
263
343
  }
264
344
 
265
345
  &.e-tbar-pos {
266
346
  .e-toolbar-left {
267
- line-height: 1;
347
+ line-height: $ie-toolbar-left-line-height;
268
348
  }
269
349
  }
270
350
  }
@@ -287,6 +367,13 @@
287
367
  width: 100%;
288
368
  z-index: 1;
289
369
 
370
+ & .e-ie-head-wrapper {
371
+ align-content: center;
372
+ text-align: center;
373
+ height: auto;
374
+ min-height: $ie-head-wrapper-height;
375
+ }
376
+
290
377
  & .e-toolbar {
291
378
  border-bottom: none !important; /* stylelint-disable-line declaration-no-important */
292
379
  @if $skin-name == 'Material3' {
@@ -295,6 +382,9 @@
295
382
  @else {
296
383
  height: 130px !important; /* stylelint-disable-line declaration-no-important */
297
384
  }
385
+ @if $skin-name == 'tailwind3' {
386
+ height: auto !important; /* stylelint-disable-line declaration-no-important */
387
+ }
298
388
  }
299
389
 
300
390
  & .e-frame-wrapper {
@@ -307,13 +397,13 @@
307
397
  }
308
398
 
309
399
  & .e-toolbar-item > span{
310
- font-weight: 500;
311
- margin: 4px;
400
+ font-weight: $ie-toolbar-item-span-font-weight;
401
+ margin: $ie-toolbar-item-span-margin;
312
402
  text-align: center;
313
403
  }
314
404
 
315
405
  & .e-dropdown-btn {
316
- margin: 0 auto;
406
+ margin: $ie-dropdown-btn-margin;
317
407
  width: max-content;
318
408
  }
319
409
  }
@@ -328,13 +418,13 @@
328
418
  }
329
419
 
330
420
  & .e-toolbar-item > span{
331
- font-weight: 500;
332
- margin: 4px;
421
+ font-weight: $ie-toolbar-item-span-font-weight;
422
+ margin: $ie-toolbar-item-span-margin;
333
423
  text-align: center;
334
424
  }
335
425
 
336
426
  & .e-dropdown-btn {
337
- margin: 0 auto;
427
+ margin: $ie-dropdown-btn-margin;
338
428
  width: max-content;
339
429
  }
340
430
  }
@@ -348,6 +438,7 @@
348
438
 
349
439
  & .filter-wrapper {
350
440
  box-sizing: content-box;
441
+ font-size: $ie-default-toolbar-font-size;
351
442
  & div {
352
443
  text-align: center;
353
444
  }
@@ -355,7 +446,7 @@
355
446
 
356
447
  & .filterwrapper canvas,
357
448
  & .filter-wrapper canvas {
358
- border: 2px solid transparent;
449
+ border: $ie-toolbar-item-canvas-border;
359
450
  height: 100px;
360
451
  }
361
452
  }
@@ -368,8 +459,8 @@
368
459
  // }
369
460
 
370
461
  & .e-slider-container {
371
- margin-left: calc(50% - 137px);
372
- height: 54px !important; /* stylelint-disable-line declaration-no-important */
462
+ margin: $ie-finetune-slider-container;
463
+ height: auto;
373
464
 
374
465
  & .e-slider {
375
466
  & .e-handle {
@@ -410,6 +501,19 @@
410
501
  font-weight: normal;
411
502
  }
412
503
  }
504
+
505
+ & .e-ie-finetune-slider-wrap {
506
+ height: auto !important; /* stylelint-disable-line declaration-no-important */
507
+ }
508
+
509
+ & .e-ie-finetune-slider-label,
510
+ & .e-ie-finetune-value-span,
511
+ & .e-ie-redact-value-span {
512
+ font-size: $ie-finetune-font-size;
513
+ line-height: $ie-finetune-line-height;
514
+ letter-spacing: $ie-finetune-letter-spacing;
515
+ font-weight: $ie-finetune-font-weight;
516
+ }
413
517
  }
414
518
 
415
519
  .e-ie-img-save-dlg .e-btn {
@@ -418,7 +522,7 @@
418
522
  box-shadow: none;
419
523
  border: none;
420
524
  border-bottom: 1px solid;
421
- border-radius: 0;
525
+ border-radius: $ie-img-save-dlg-btn-radius;
422
526
  border-color: rgba(var(--color-sf-outline));
423
527
  }
424
528
  }
@@ -426,15 +530,23 @@
426
530
  .e-ie-straighten-value-span,
427
531
  .e-ie-straighten-span,
428
532
  .e-ie-toolbar-straighten {
429
- font-size: 14px !important; /* stylelint-disable-line declaration-no-important */
430
- padding-left: 10px !important; /* stylelint-disable-line declaration-no-important */
431
- padding-right: 10px !important; /* stylelint-disable-line declaration-no-important */
533
+ font-size: $ie-straighten-font-size !important; /* stylelint-disable-line declaration-no-important */
534
+ padding-left: $ie-straighten-padding-x !important; /* stylelint-disable-line declaration-no-important */
535
+ padding-right: $ie-straighten-padding-x !important; /* stylelint-disable-line declaration-no-important */
536
+ }
537
+
538
+ .e-device.e-image-editor .e-ie-straighten-value-span,
539
+ .e-device.e-image-editor .e-ie-straighten-span,
540
+ .e-device.e-image-editor .e-ie-toolbar-straighten {
541
+ font-size: $ie-straighten-font-size !important; /* stylelint-disable-line declaration-no-important */
542
+ padding-left: 0 !important; /* stylelint-disable-line declaration-no-important */
543
+ padding-right: 0 !important; /* stylelint-disable-line declaration-no-important */
432
544
  }
433
545
 
434
546
  .e-straighten .e-control-wrapper.e-slider-container.e-horizontal {
435
547
  height: auto;
436
- margin-left: 8px;
437
- padding-right: 2px;
548
+ padding-right: $ie-straighten-slider-padding-right;
549
+ margin-left: $ie-straighten-slider-margin-left;
438
550
  }
439
551
 
440
552
  .e-straighten .e-control-wrapper.e-slider-container.e-horizontal .e-slider {
@@ -454,20 +566,12 @@
454
566
  }
455
567
  }
456
568
 
457
- .e-ie-finetune-value-span {
458
- top: $image-editor-finetune-value-span !important; /* stylelint-disable-line declaration-no-important */
459
- }
460
-
461
569
  .e-device.e-image-editor .e-ie-finetune-value-span {
462
570
  @if $skin-name == 'fluent2' {
463
571
  top: 29% !important; /* stylelint-disable-line declaration-no-important */
464
572
  }
465
573
  }
466
574
 
467
- .e-ie-finetune-slider-label {
468
- top: $image-editor-finetune-span !important; /* stylelint-disable-line declaration-no-important */
469
- }
470
-
471
575
  .e-ie-finetune-slider-wrap {
472
576
  @if $skin-name == 'Material3' {
473
577
  top: calc(50% - 11px) !important; /* stylelint-disable-line declaration-no-important */
@@ -491,12 +595,8 @@
491
595
  }
492
596
 
493
597
  .e-ie-slider-wrap {
494
- @if $skin-name == 'tailwind' or $skin-name == 'Material3' {
495
- top: calc(50% - 10px) !important; /* stylelint-disable-line declaration-no-important */
496
- }
497
- @else {
498
- top: calc(50% - 14px) !important; /* stylelint-disable-line declaration-no-important */
499
- }
598
+ height: auto !important; /* stylelint-disable-line declaration-no-important */
599
+ top: auto !important; /* stylelint-disable-line declaration-no-important */
500
600
  }
501
601
 
502
602
  .e-dropdown-popup.e-ie-crop-ddb-popup ul {
@@ -508,10 +608,6 @@
508
608
  background: none !important; /* stylelint-disable-line declaration-no-important */
509
609
  }
510
610
 
511
- .e-device.e-image-editor .e-ie-device-transparency-slider {
512
- margin-left: calc(50% - 80px) !important; /* stylelint-disable-line declaration-no-important */
513
- }
514
-
515
611
  .e-device.e-image-editor {
516
612
  .e-straighten .e-control-wrapper.e-slider-container .e-slider .e-handle {
517
613
  @if $skin-name == 'Material' {
@@ -531,11 +627,11 @@
531
627
 
532
628
  .e-ie-quality-slider.e-slider-container + .e-ie-img-icon-button,
533
629
  .e-ie-quality-option-container .e-slider-container.e-horizontal + .e-ie-img-icon-button {
534
- margin-left: 20px !important; /* stylelint-disable-line declaration-no-important */
630
+ margin-left: $ie-quality-slider-icon-margin-left !important; /* stylelint-disable-line declaration-no-important */
535
631
  }
536
632
 
537
633
  .e-ie-img-size {
538
- margin: 10px 10px 0;
634
+ margin: $ie-img-size-margin;
539
635
  }
540
636
 
541
637
  .e-ie-dlg-img-content {
@@ -558,10 +654,14 @@
558
654
  }
559
655
 
560
656
  .e-ie-img-size {
561
- font-size: 14px;
657
+ font-size: $ie-img-size-font-size;
658
+ @if $skin-name == 'tailwind3' {
659
+ line-height: $ie-img-size-line-height;
660
+ }
562
661
  display: flex;
563
662
  flex-direction: column;
564
663
  justify-content: flex-start;
664
+ text-align: center;
565
665
  }
566
666
 
567
667
  .e-ie-dlg-right-content {
@@ -570,9 +670,8 @@
570
670
 
571
671
  .e-ie-img-save-name {
572
672
  display: inline-block;
573
- margin-right: 10px;
574
673
  width: calc(69% - 13px);
575
-
674
+ margin-right: $ie-img-save-name-margin-right;
576
675
  @if $skin-name == 'FluentUI' {
577
676
  width: calc(69% - 15px) !important; /* stylelint-disable-line declaration-no-important */
578
677
  }
@@ -583,21 +682,22 @@
583
682
 
584
683
  .e-ie-img-save-dlg {
585
684
  display: inline-block;
586
- width: 92px;
685
+ width: auto;
686
+ min-width: 92px;
587
687
  }
588
688
 
589
689
  .e-ie-img-save-dlg .e-btn {
590
690
  width: 100%;
591
691
  @if $skin-name == 'tailwind3' {
592
- font-weight: $font-weight-normal;
692
+ font-weight: $ie-img-save-dlg-btn-font-weight;
593
693
  }
594
694
  }
595
695
 
596
696
  .e-ie-img-label-name {
597
- margin-bottom: 5px;
598
697
  display: block;
698
+ margin-bottom: $ie-img-label-name-margin-bottom;
599
699
  @if $skin-name == 'tailwind3' {
600
- font-weight: $font-weight-medium;
700
+ font-weight: $ie-img-label-name-font-weight;
601
701
  }
602
702
  }
603
703
 
@@ -607,12 +707,12 @@
607
707
  }
608
708
 
609
709
  .e-ie-quality-info {
610
- margin-bottom: 0;
611
- margin-top: 0;
710
+ margin-bottom: $ie-quality-info-margin;
711
+ margin-top: $ie-quality-info-margin;
612
712
  }
613
713
 
614
714
  .e-ie-quality-span {
615
- margin-left: 5px;
715
+ margin-left: $ie-quality-span-margin-left;
616
716
  display: inline-flex;
617
717
  }
618
718
 
@@ -621,7 +721,7 @@
621
721
  margin-top: 5%;
622
722
  display: inline-flex;
623
723
  @if $skin-name == 'tailwind3' {
624
- font-weight: $font-weight-medium;
724
+ font-weight: $ie-img-quality-label-font-weight;
625
725
  }
626
726
  }
627
727
 
@@ -634,7 +734,7 @@
634
734
  width: 8%;
635
735
  text-transform: capitalize;
636
736
  margin-left: calc(100% - 194px);
637
- margin-top: 4px;
737
+ margin-top: $ie-img-size-value-span-margin-top;
638
738
  @if $skin-name == 'highcontrast' {
639
739
  margin-left: calc(100% - 175px);
640
740
  }
@@ -689,13 +789,15 @@
689
789
  }
690
790
 
691
791
  .e-ie-img-icon-button {
692
- margin-left: 10px;
693
792
  width: max-content;
694
- margin-bottom: $image-editor-icon-button;
793
+ @if $skin-name != 'tailwind3' {
794
+ margin-bottom: $image-editor-icon-button;
795
+ }
695
796
  @if $skin-name == 'tailwind' {
696
797
  padding-top: 4px;
697
798
  padding-bottom: 4px;
698
799
  }
800
+ margin-left: $ie-img-icon-btn-margin-left;
699
801
  }
700
802
 
701
803
  .e-ie-quality-option-container .e-btn-group .e-btn {
@@ -756,12 +858,7 @@
756
858
  }
757
859
 
758
860
  & .e-ie-quality-option-container .e-ie-img-icon-button {
759
- margin-left: 0;
760
- }
761
-
762
- & .e-slider-container {
763
- margin-left: 0 !important; /* stylelint-disable-line declaration-no-important */
764
- height: 28px !important; /* stylelint-disable-line declaration-no-important */
861
+ margin-left: $ie-quality-option-icon-margin-left;
765
862
  }
766
863
 
767
864
  & .e-ie-img-size-value-span {
@@ -803,16 +900,6 @@
803
900
  border: none;
804
901
  }
805
902
  }
806
-
807
- .e-ie-straighten-value-span {
808
- margin-left: 7px !important; /* stylelint-disable-line declaration-no-important */
809
- }
810
-
811
- .e-device.e-image-editor {
812
- & .e-ie-straighten-value-span {
813
- margin-left: 15px !important; /* stylelint-disable-line declaration-no-important */
814
- }
815
- }
816
903
 
817
904
  @media only screen and (max-width: 390px) {
818
905
  .e-device.e-image-editor .e-ie-save-dialog .e-dialog .e-dlg-content .e-ie-dlg-right-content .e-ie-img-quality-name .e-btn-group .e-btn {
@@ -825,17 +912,13 @@
825
912
  }
826
913
  }
827
914
 
828
- .e-device.e-image-editor .e-contextual-toolbar-wrapper .e-ie-finetune-slider-label {
829
- left: calc(50% - 145px) !important; /* stylelint-disable-line declaration-no-important */
830
- }
831
-
832
- .e-device.e-image-editor .e-contextual-toolbar-wrapper .e-slider-container {
833
- width: 170px !important; /* stylelint-disable-line declaration-no-important */
834
- margin-left: calc(50% - 62px) !important; /* stylelint-disable-line declaration-no-important */
835
- }
836
-
837
- .e-device.e-image-editor .e-contextual-toolbar-wrapper .e-ie-finetune-value-span {
838
- margin-left: 10px !important; /* stylelint-disable-line declaration-no-important */
915
+ .e-device.e-image-editor .e-contextual-toolbar-wrapper .e-ie-finetune-slider-label,
916
+ .e-device.e-image-editor .e-contextual-toolbar-wrapper .e-ie-finetune-value-span,
917
+ .e-device.e-image-editor .e-contextual-toolbar-wrapper .e-ie-redact-value-span {
918
+ font-size: $ie-bigger-device-finetune-font-size;
919
+ line-height: $ie-bigger-device-finetune-line-height;
920
+ letter-spacing: $ie-finetune-letter-spacing;
921
+ font-weight: $ie-finetune-letter-spacing;
839
922
  }
840
923
 
841
924
  .e-device.e-image-editor .e-ie-drop-area .e-ie-drop-info {