smart-webcomponents-react 19.0.0 → 19.0.5

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 (334) hide show
  1. package/chart/ganttchart.d.ts +1 -1
  2. package/ganttchart/ganttchart.d.ts +1 -1
  3. package/ganttchart/ganttchart.esm.js +3 -3
  4. package/ganttchart/ganttchart.umd.js +3 -3
  5. package/index.d.ts +1 -2
  6. package/package.json +1 -1
  7. package/source/modules/smart.3dchart.js +1 -1
  8. package/source/modules/smart.accordion.js +1 -1
  9. package/source/modules/smart.array.js +1 -1
  10. package/source/modules/smart.barcode.js +1 -1
  11. package/source/modules/smart.breadcrumb.js +1 -1
  12. package/source/modules/smart.button.js +1 -1
  13. package/source/modules/smart.buttongroup.js +1 -1
  14. package/source/modules/smart.calendar.js +1 -1
  15. package/source/modules/smart.card.js +1 -1
  16. package/source/modules/smart.cardview.js +3 -3
  17. package/source/modules/smart.carousel.js +1 -1
  18. package/source/modules/smart.chart.js +2 -2
  19. package/source/modules/smart.checkbox.js +1 -1
  20. package/source/modules/smart.checkinput.js +1 -1
  21. package/source/modules/smart.chip.js +1 -1
  22. package/source/modules/smart.colorinput.js +1 -1
  23. package/source/modules/smart.colorpanel.js +1 -1
  24. package/source/modules/smart.colorpicker.js +1 -1
  25. package/source/modules/smart.combobox.js +1 -1
  26. package/source/modules/smart.common.js +2 -2
  27. package/source/modules/smart.countryinput.js +1 -1
  28. package/source/modules/smart.dateinput.js +1 -1
  29. package/source/modules/smart.daterangeinput.js +1 -1
  30. package/source/modules/smart.datetimepicker.js +1 -1
  31. package/source/modules/smart.dockinglayout.js +1 -1
  32. package/source/modules/smart.dropdownbutton.js +1 -1
  33. package/source/modules/smart.dropdownlist.js +1 -1
  34. package/source/modules/smart.editor.js +2 -2
  35. package/source/modules/smart.element.js +1 -1
  36. package/source/modules/smart.fileupload.js +1 -1
  37. package/source/modules/smart.form.js +1 -1
  38. package/source/modules/smart.formulaparser.js +1 -1
  39. package/source/modules/smart.ganttchart.js +4 -4
  40. package/source/modules/smart.gauge.js +1 -1
  41. package/source/modules/smart.grid.js +8 -8
  42. package/source/modules/smart.gridpanel.js +3 -3
  43. package/source/modules/smart.input.js +1 -1
  44. package/source/modules/smart.kanban.js +3 -3
  45. package/source/modules/smart.layout.js +1 -1
  46. package/source/modules/smart.led.js +1 -1
  47. package/source/modules/smart.listbox.js +1 -1
  48. package/source/modules/smart.listmenu.js +1 -1
  49. package/source/modules/smart.map.js +1 -1
  50. package/source/modules/smart.maskedtextbox.js +1 -1
  51. package/source/modules/smart.menu.js +1 -1
  52. package/source/modules/smart.multicomboinput.js +1 -1
  53. package/source/modules/smart.multiinput.js +1 -1
  54. package/source/modules/smart.multilinetextbox.js +1 -1
  55. package/source/modules/smart.multisplitbutton.js +1 -1
  56. package/source/modules/smart.numberinput.js +1 -1
  57. package/source/modules/smart.numerictextbox.js +1 -1
  58. package/source/modules/smart.pager.js +1 -1
  59. package/source/modules/smart.passwordinput.js +1 -1
  60. package/source/modules/smart.passwordtextbox.js +1 -1
  61. package/source/modules/smart.path.js +1 -1
  62. package/source/modules/smart.phoneinput.js +1 -1
  63. package/source/modules/smart.pivottable.js +3 -3
  64. package/source/modules/smart.progressbar.js +1 -1
  65. package/source/modules/smart.qrcode.js +1 -1
  66. package/source/modules/smart.querybuilder.js +1 -1
  67. package/source/modules/smart.radiobutton.js +1 -1
  68. package/source/modules/smart.rating.js +1 -1
  69. package/source/modules/smart.ribbon.js +1 -1
  70. package/source/modules/smart.router.js +2 -2
  71. package/source/modules/smart.scheduler.js +2 -2
  72. package/source/modules/smart.scrollbar.js +1 -1
  73. package/source/modules/smart.slider.js +1 -1
  74. package/source/modules/smart.sortable.js +1 -1
  75. package/source/modules/smart.splitter.js +1 -1
  76. package/source/modules/smart.switchbutton.js +1 -1
  77. package/source/modules/smart.table.js +3 -3
  78. package/source/modules/smart.tabs.js +1 -1
  79. package/source/modules/smart.tank.js +1 -1
  80. package/source/modules/smart.textarea.js +1 -1
  81. package/source/modules/smart.textbox.js +1 -1
  82. package/source/modules/smart.timeinput.js +1 -1
  83. package/source/modules/smart.timepicker.js +1 -1
  84. package/source/modules/smart.toast.js +1 -1
  85. package/source/modules/smart.tooltip.js +1 -1
  86. package/source/modules/smart.tree.js +1 -1
  87. package/source/modules/smart.validator.js +1 -1
  88. package/source/modules/smart.window.js +1 -1
  89. package/source/smart.3dchart.js +1 -1
  90. package/source/smart.accordion.js +1 -1
  91. package/source/smart.ajax.js +1 -1
  92. package/source/smart.array.js +1 -1
  93. package/source/smart.barcode.js +1 -1
  94. package/source/smart.bootstrap.js +1 -1
  95. package/source/smart.breadcrumb.js +1 -1
  96. package/source/smart.button.js +1 -1
  97. package/source/smart.buttongroup.js +1 -1
  98. package/source/smart.calendar.js +1 -1
  99. package/source/smart.card.js +1 -1
  100. package/source/smart.cardview.js +1 -1
  101. package/source/smart.carousel.js +1 -1
  102. package/source/smart.chart.annotations.js +1 -1
  103. package/source/smart.chart.api.js +1 -1
  104. package/source/smart.chart.core.js +1 -1
  105. package/source/smart.chart.js +1 -1
  106. package/source/smart.chart.rangeselector.js +1 -1
  107. package/source/smart.chart.waterfall.js +1 -1
  108. package/source/smart.checkbox.js +1 -1
  109. package/source/smart.checkinput.js +1 -1
  110. package/source/smart.chip.js +1 -1
  111. package/source/smart.colorinput.js +1 -1
  112. package/source/smart.colorpanel.js +1 -1
  113. package/source/smart.colorpicker.js +1 -1
  114. package/source/smart.combobox.js +1 -1
  115. package/source/smart.complex.js +1 -1
  116. package/source/smart.core.js +1 -1
  117. package/source/smart.countryinput.js +1 -1
  118. package/source/smart.data.js +2 -2
  119. package/source/smart.date.js +1 -1
  120. package/source/smart.dateformatpanel.js +1 -1
  121. package/source/smart.dateinput.js +1 -1
  122. package/source/smart.daterangeinput.js +1 -1
  123. package/source/smart.datetimepicker.js +1 -1
  124. package/source/smart.dockinglayout.js +1 -1
  125. package/source/smart.draw.js +1 -1
  126. package/source/smart.dropdownbutton.js +1 -1
  127. package/source/smart.dropdownlist.js +1 -1
  128. package/source/smart.editor.js +2 -2
  129. package/source/smart.element.js +1 -1
  130. package/source/smart.elements.js +10 -10
  131. package/source/smart.export.js +1 -1
  132. package/source/smart.fileupload.js +1 -1
  133. package/source/smart.filter.js +1 -1
  134. package/source/smart.filterbuilder.js +1 -1
  135. package/source/smart.filterpanel.js +1 -1
  136. package/source/smart.form.js +1 -1
  137. package/source/smart.format.js +1 -1
  138. package/source/smart.formulaparser.js +1 -1
  139. package/source/smart.ganttchart.js +2 -2
  140. package/source/smart.gauge.js +1 -1
  141. package/source/smart.grid.cell.js +1 -1
  142. package/source/smart.grid.chart.js +1 -1
  143. package/source/smart.grid.column.js +1 -1
  144. package/source/smart.grid.core.js +2 -2
  145. package/source/smart.grid.dialog.js +2 -2
  146. package/source/smart.grid.edit.js +2 -2
  147. package/source/smart.grid.export.js +1 -1
  148. package/source/smart.grid.filter.js +1 -1
  149. package/source/smart.grid.group.js +1 -1
  150. package/source/smart.grid.js +1 -1
  151. package/source/smart.grid.menu.js +1 -1
  152. package/source/smart.grid.pager.js +1 -1
  153. package/source/smart.grid.reorder.js +1 -1
  154. package/source/smart.grid.resize.js +1 -1
  155. package/source/smart.grid.row.js +2 -2
  156. package/source/smart.grid.select.js +1 -1
  157. package/source/smart.grid.sort.js +2 -2
  158. package/source/smart.grid.toolbar.js +1 -1
  159. package/source/smart.grid.tree.js +1 -1
  160. package/source/smart.grid.view.js +1 -1
  161. package/source/smart.gridpanel.js +2 -2
  162. package/source/smart.input.js +1 -1
  163. package/source/smart.kanban.js +1 -1
  164. package/source/smart.layout.js +1 -1
  165. package/source/smart.led.js +1 -1
  166. package/source/smart.listbox.js +1 -1
  167. package/source/smart.listmenu.js +1 -1
  168. package/source/smart.map.js +1 -1
  169. package/source/smart.maskedtextbox.js +1 -1
  170. package/source/smart.math.js +1 -1
  171. package/source/smart.menu.js +1 -1
  172. package/source/smart.multicomboinput.js +1 -1
  173. package/source/smart.multiinput.js +1 -1
  174. package/source/smart.multilinetextbox.js +1 -1
  175. package/source/smart.multisplitbutton.js +1 -1
  176. package/source/smart.numberformatpanel.js +1 -1
  177. package/source/smart.numberinput.js +1 -1
  178. package/source/smart.numeric.js +1 -1
  179. package/source/smart.numerictextbox.js +1 -1
  180. package/source/smart.pager.js +1 -1
  181. package/source/smart.passwordinput.js +1 -1
  182. package/source/smart.passwordtextbox.js +1 -1
  183. package/source/smart.path.js +1 -1
  184. package/source/smart.phoneinput.js +1 -1
  185. package/source/smart.pivottable.js +1 -1
  186. package/source/smart.powerbutton.js +1 -1
  187. package/source/smart.progressbar.js +1 -1
  188. package/source/smart.qrcode.js +1 -1
  189. package/source/smart.radiobutton.js +1 -1
  190. package/source/smart.rating.js +1 -1
  191. package/source/smart.ribbon.js +1 -1
  192. package/source/smart.router.js +1 -1
  193. package/source/smart.scheduler.js +1 -1
  194. package/source/smart.scrollbar.js +1 -1
  195. package/source/smart.slider.js +1 -1
  196. package/source/smart.sortable.js +1 -1
  197. package/source/smart.sparkline.js +1 -1
  198. package/source/smart.splitter.js +1 -1
  199. package/source/smart.switchbutton.js +1 -1
  200. package/source/smart.table.js +1 -1
  201. package/source/smart.tabs.js +1 -1
  202. package/source/smart.tank.js +1 -1
  203. package/source/smart.textarea.js +1 -1
  204. package/source/smart.textbox.js +1 -1
  205. package/source/smart.tickintervalhandler.js +1 -1
  206. package/source/smart.timeinput.js +1 -1
  207. package/source/smart.timepicker.js +1 -1
  208. package/source/smart.toast.js +1 -1
  209. package/source/smart.tooltip.js +1 -1
  210. package/source/smart.tree.js +1 -1
  211. package/source/smart.validationpanel.js +1 -1
  212. package/source/smart.validator.js +1 -1
  213. package/source/smart.window.js +1 -1
  214. package/source/styles/bootstrap/smart.bootstrap.blue.css +3369 -3372
  215. package/source/styles/bootstrap/smart.bootstrap.css +3369 -3372
  216. package/source/styles/bootstrap/smart.bootstrap.cyan.css +3369 -3372
  217. package/source/styles/bootstrap/smart.bootstrap.green.css +3369 -3372
  218. package/source/styles/bootstrap/smart.bootstrap.indigo.css +3369 -3372
  219. package/source/styles/bootstrap/smart.bootstrap.orange.css +3369 -3372
  220. package/source/styles/bootstrap/smart.bootstrap.pink.css +3369 -3372
  221. package/source/styles/bootstrap/smart.bootstrap.purple.css +3369 -3372
  222. package/source/styles/bootstrap/smart.bootstrap.red.css +3369 -3372
  223. package/source/styles/bootstrap/smart.bootstrap.teal.css +3369 -3372
  224. package/source/styles/bootstrap/smart.bootstrap.turquoise.css +3369 -3372
  225. package/source/styles/components/smart.array.css +1 -1
  226. package/source/styles/components/smart.calendar.css +2 -2
  227. package/source/styles/components/smart.cardview.css +2 -2
  228. package/source/styles/components/smart.checkinput.css +1 -1
  229. package/source/styles/components/smart.colorinput.css +1 -1
  230. package/source/styles/components/smart.columnpanel.css +1 -1
  231. package/source/styles/components/smart.countryinput.css +1 -1
  232. package/source/styles/components/smart.dateinput.css +2 -2
  233. package/source/styles/components/smart.daterangeinput.css +2 -2
  234. package/source/styles/components/smart.datetimeformatpanel.css +1 -1
  235. package/source/styles/components/smart.datetimepicker.css +1 -1
  236. package/source/styles/components/smart.editor.css +2 -2
  237. package/source/styles/components/smart.filterbuilder.css +2 -2
  238. package/source/styles/components/smart.filterpanel.css +1 -1
  239. package/source/styles/components/smart.ganttchart.css +2 -2
  240. package/source/styles/components/smart.grid.css +3 -3
  241. package/source/styles/components/smart.gridpanel.css +1 -1
  242. package/source/styles/components/smart.input.css +1 -1
  243. package/source/styles/components/smart.kanban.css +2 -2
  244. package/source/styles/components/smart.maskedtextbox.css +1 -1
  245. package/source/styles/components/smart.multicolumnfilterpanel.css +2 -2
  246. package/source/styles/components/smart.multicomboinput.css +1 -1
  247. package/source/styles/components/smart.multiinput.css +1 -1
  248. package/source/styles/components/smart.multilinetextbox.css +1 -1
  249. package/source/styles/components/smart.numberformatpanel.css +1 -1
  250. package/source/styles/components/smart.numberinput.css +1 -1
  251. package/source/styles/components/smart.pager.css +1 -1
  252. package/source/styles/components/smart.passwordinput.css +1 -1
  253. package/source/styles/components/smart.passwordtextbox.css +1 -1
  254. package/source/styles/components/smart.phoneinput.css +1 -1
  255. package/source/styles/components/smart.pivottable.css +1 -1
  256. package/source/styles/components/smart.querybuilder.css +3 -3
  257. package/source/styles/components/smart.ribbon.css +1 -1
  258. package/source/styles/components/smart.scheduler.css +2 -2
  259. package/source/styles/components/smart.sortpanel.css +1 -1
  260. package/source/styles/components/smart.table.css +1 -1
  261. package/source/styles/components/smart.textarea.css +1 -1
  262. package/source/styles/components/smart.textbox.css +1 -1
  263. package/source/styles/components/smart.timeinput.css +1 -1
  264. package/source/styles/components/smart.validationpanel.css +1 -1
  265. package/source/styles/components/smart.window.css +1 -1
  266. package/source/styles/default/scss/textbox/_multi-combo-input.scss +5 -0
  267. package/source/styles/default/smart.accordion.css +309 -309
  268. package/source/styles/default/smart.array.css +77 -77
  269. package/source/styles/default/smart.badge.css +50 -50
  270. package/source/styles/default/smart.barcode.css +3 -3
  271. package/source/styles/default/smart.breadcrumb.css +324 -324
  272. package/source/styles/default/smart.button.css +515 -515
  273. package/source/styles/default/smart.calendar.css +742 -742
  274. package/source/styles/default/smart.card.css +53 -53
  275. package/source/styles/default/smart.chart.css +119 -119
  276. package/source/styles/default/smart.checkbox.css +148 -148
  277. package/source/styles/default/smart.chip.css +101 -101
  278. package/source/styles/default/smart.colorpanel.css +617 -617
  279. package/source/styles/default/smart.colorpicker.css +132 -132
  280. package/source/styles/default/smart.currencyformatpanel.css +71 -71
  281. package/source/styles/default/smart.dateformatpanel.css +105 -105
  282. package/source/styles/default/smart.datetimepicker.css +611 -611
  283. package/source/styles/default/smart.dockinglayout.css +748 -748
  284. package/source/styles/default/smart.dropdownbutton.css +257 -257
  285. package/source/styles/default/smart.editor.css +1528 -1527
  286. package/source/styles/default/smart.editors.css +150 -150
  287. package/source/styles/default/smart.fileupload.css +498 -498
  288. package/source/styles/default/smart.ganttchart.css +1594 -1594
  289. package/source/styles/default/smart.gauge.css +145 -145
  290. package/source/styles/default/smart.inputgroup.css +483 -483
  291. package/source/styles/default/smart.layout.css +465 -465
  292. package/source/styles/default/smart.layouts.css +483 -483
  293. package/source/styles/default/smart.led.css +144 -144
  294. package/source/styles/default/smart.link-button.css +321 -321
  295. package/source/styles/default/smart.listbox.css +564 -564
  296. package/source/styles/default/smart.listmenu.css +661 -661
  297. package/source/styles/default/smart.loader.css +203 -203
  298. package/source/styles/default/smart.maskedtextbox.css +27 -27
  299. package/source/styles/default/smart.multilinetextbox.css +190 -190
  300. package/source/styles/default/smart.multisplitbutton.css +225 -225
  301. package/source/styles/default/smart.numberformatpanel.css +72 -72
  302. package/source/styles/default/smart.numerictextbox.css +522 -522
  303. package/source/styles/default/smart.pager.css +253 -253
  304. package/source/styles/default/smart.passwordtextbox.css +129 -129
  305. package/source/styles/default/smart.path.css +581 -581
  306. package/source/styles/default/smart.pivottable.css +800 -800
  307. package/source/styles/default/smart.powerbutton.css +100 -100
  308. package/source/styles/default/smart.progressbar.css +501 -501
  309. package/source/styles/default/smart.qrcode.css +3 -3
  310. package/source/styles/default/smart.querybuilder.css +624 -623
  311. package/source/styles/default/smart.radiobutton.css +137 -137
  312. package/source/styles/default/smart.rating.css +17 -17
  313. package/source/styles/default/smart.scheduler.css +2789 -2789
  314. package/source/styles/default/smart.scrollbar.css +118 -118
  315. package/source/styles/default/smart.scrollviewer.css +109 -109
  316. package/source/styles/default/smart.slider.css +464 -464
  317. package/source/styles/default/smart.sortable.css +114 -114
  318. package/source/styles/default/smart.splitter.css +395 -395
  319. package/source/styles/default/smart.switchbutton.css +293 -293
  320. package/source/styles/default/smart.table.css +2025 -2025
  321. package/source/styles/default/smart.tabs.css +923 -923
  322. package/source/styles/default/smart.tank.css +661 -661
  323. package/source/styles/default/smart.textbox.css +3431 -3427
  324. package/source/styles/default/smart.timepicker.css +150 -150
  325. package/source/styles/default/smart.toast.css +252 -252
  326. package/source/styles/default/smart.toggle.css +175 -175
  327. package/source/styles/default/smart.tooltip.css +124 -124
  328. package/source/styles/default/smart.tree.css +783 -783
  329. package/source/styles/default/smart.validationpanel.css +116 -116
  330. package/source/styles/default/smart.window.css +829 -829
  331. package/source/styles/smart.default.css +4 -4
  332. package/source/styles/smart.fluent.css +3313 -3313
  333. package/source/typescript/smart.elements.d.ts +1 -2
  334. package/source/typescript/smart.ganttchart.d.ts +1 -2
@@ -1,1528 +1,1529 @@
1
- /* .smart-editor */ /* --- Scheduler Style Color Input --- */
2
- .smart-editor .smart-editor-content-container .smart-editor-editable, .smart-editor .smart-editor-content-container textarea {
3
- width: 100%;
4
- height: 100%;
5
- outline: none;
6
- padding: var(--smart-editor-padding);
7
- background: transparent;
8
- }
9
-
10
- .smart-editor-toolbar-item[item-type=delimiter], .smart-editor-toolbar-item[item-type=drop-down], .smart-editor-toolbar-item[item-type=color-input], .smart-editor-toolbar-item[item-type=button], .smart-editor-toolbar-item[item-type=toggle] {
11
- position: relative;
12
- height: var(--smart-editor-toolbar-item-height);
13
- outline: none;
14
- }
15
-
16
- .smart-editor-toolbar-item[item-type=delimiter]::before, .smart-editor-toolbar-item[item-name=alignment]::before, .smart-editor-toolbar-item[item-name=clearformat]::after, .smart-editor-toolbar-item:not([item-type=drop-down])::before, .smart-editor-toolbar-item[item-type=color-input] .smart-editor-item-drop-down-button::before, .smart-editor-toolbar-item[item-type=drop-down]:after {
17
- font-size: var(--smart-font-size);
18
- font-family: var(--smart-font-family-icon);
19
- display: flex;
20
- align-items: center;
21
- justify-content: center;
22
- width: 100%;
23
- min-width: var(--smart-editor-addon-width);
24
- height: 100%;
25
- box-sizing: border-box;
26
- pointer-events: none;
27
- }
28
-
29
- .smart-editor-toolbar-item[item-type=color-input] .smart-editor-item-drop-down-button::before, .smart-editor-toolbar-item[item-type=drop-down]:after {
30
- content: var(--smart-icon-arrow-down);
31
- width: var(--smart-editor-addon-width);
32
- min-width: var(--smart-editor-addon-width);
33
- }
34
-
35
- .smart-editor-toolbar-item[item-type=drop-down]:before {
36
- font-size: var(--smart-font-size);
37
- font-family: var(--smart-font-family-icon);
38
- overflow: hidden;
39
- text-overflow: ellipsis;
40
- white-space: nowrap;
41
- content: attr(item-value);
42
- width: calc(100% - 30px);
43
- padding: var(--smart-editor-label-padding);
44
- padding-top: initial;
45
- padding-right: initial;
46
- padding-bottom: initial;
47
- text-align: center;
48
- }
49
-
50
- [disabled].smart-editor-toolbar-item {
51
- -moz-user-select: none;
52
- -ms-user-select: none;
53
- -webkit-user-select: none;
54
- user-select: none;
55
- opacity: 0.55;
56
- cursor: default;
57
- pointer-events: none;
58
- }
59
-
60
- .smart-editor {
61
- display: block;
62
- width: var(--smart-editor-default-width);
63
- height: var(--smart-editor-default-height);
64
- min-height: var(--smart-editor-input-min-height);
65
- border: var(--smart-border-width) solid var(--smart-border);
66
- border-radius: var(--smart-border-radius);
67
- contain: content;
68
- }
69
- .smart-editor.smart-editor-iframe-body {
70
- margin: initial;
71
- border: initial;
72
- min-height: initial;
73
- border-radius: initial;
74
- width: 100%;
75
- height: 100%;
76
- }
77
- .smart-editor.smart-editor-iframe-body table {
78
- font-size: var(--smart-font-size);
79
- font-weight: var(--smart-font-weight);
80
- }
81
- .smart-editor.smart-editor-iframe-body * {
82
- box-sizing: border-box;
83
- }
84
- .smart-editor > .smart-container {
85
- display: grid;
86
- grid-template-columns: 100%;
87
- grid-template-rows: auto minmax(0, 1fr);
88
- position: relative;
89
- min-height: inherit;
90
- }
91
- .smart-editor .smart-toast-container.smart-toast-container-custom {
92
- position: absolute;
93
- top: 0;
94
- right: 0;
95
- height: auto;
96
- max-height: 100%;
97
- }
98
- .smart-editor.full-screen-mode {
99
- min-width: 100%;
100
- max-width: 100%;
101
- min-height: 100%;
102
- max-height: 100%;
103
- position: fixed !important;
104
- left: 0 !important;
105
- right: 0 !important;
106
- top: 0 !important;
107
- z-index: calc(var(--smart-editor-drop-down-z-index) - 1);
108
- }
109
- .smart-editor[readonly] .smart-editor-toolbar-items-primary,
110
- .smart-editor[readonly] .smart-editor-toolbar-items-secondary {
111
- pointer-events: none;
112
- }
113
- .smart-editor[toolbar-mode=singleLineRibbon] .smart-editor-toolbar[toolbar-tab-selected]:not([expanded]) .smart-editor-toolbar-toggle-button::before {
114
- content: var(--smart-icon-window-pin);
115
- }
116
- .smart-editor[toolbar-mode=singleLineRibbon] .smart-editor-toolbar-tab-selection-bar {
117
- position: absolute;
118
- bottom: 0;
119
- height: calc(2 * var(--smart-border-width));
120
- background-color: var(--smart-primary);
121
- transform: scaleX(1);
122
- }
123
- .smart-editor[toolbar-mode=singleLineRibbon] .smart-editor-toolbar-tab-selection-bar.smart-visibility-hidden {
124
- transform: scaleX(0);
125
- }
126
- .smart-editor[toolbar-mode=singleLineRibbon] .smart-editor-toolbar-items-primary {
127
- position: relative;
128
- }
129
- .smart-editor[toolbar-mode=singleLineRibbon] .smart-editor-toolbar[expanded] .smart-editor-toolbar-items-primary,
130
- .smart-editor[toolbar-mode=singleLineRibbon] .smart-editor-toolbar[expanded] .smart-editor-toolbar-toggle-button {
131
- border-bottom: var(--smart-border-width) solid var(--smart-border);
132
- }
133
- .smart-editor[toolbar-mode=singleLineRibbon] .smart-editor-toolbar:not(.smart-tooltip) .smart-editor-toolbar-items-secondary .smart-editor-toolbar-item {
134
- margin-left: initial;
135
- }
136
- .smart-editor[toolbar-mode=singleLineRibbon] .smart-editor-toolbar-items-secondary {
137
- background-color: var(--smart-background);
138
- padding-bottom: initial;
139
- flex-wrap: initial;
140
- }
141
- .smart-editor[toolbar-mode=singleLineRibbon] .smart-editor-toolbar-items-secondary.smart-drop-down {
142
- border-bottom: var(--smart-border-width) solid var(--smart-border);
143
- box-shadow: var(--smart-elevation-4);
144
- overflow: hidden;
145
- }
146
- .smart-editor[toolbar-mode=singleLineRibbon] .smart-editor-toolbar-items-secondary .smart-editor-toolbar-item {
147
- margin-bottom: var(--smart-editor-toolbar-item-margin);
148
- }
149
- .smart-editor[toolbar-mode=singleLineRibbon] .smart-editor-toolbar-items-secondary .smart-editor-toolbar-item:not(:last-of-type) {
150
- margin-right: var(--smart-editor-toolbar-item-margin);
151
- }
152
- .smart-editor[toolbar-mode=singleLineRibbon] .smart-editor-toolbar-tab {
153
- -moz-user-select: none;
154
- -ms-user-select: none;
155
- -webkit-user-select: none;
156
- user-select: none;
157
- padding: var(--smart-tab-item-padding);
158
- }
159
- .smart-editor[toolbar-mode=singleLineRibbon] .smart-editor-toolbar-tab:not([disabled]) {
160
- cursor: pointer;
161
- }
162
- .smart-editor[toolbar-mode=singleLineRibbon] .smart-editor-toolbar .smart-editor-toolbar-tab-group {
163
- padding-top: initial;
164
- }
165
- .smart-editor[toolbar-mode=singleLineRibbon] .smart-editor-toolbar-tab-group {
166
- position: relative;
167
- display: flex;
168
- align-items: center;
169
- flex-wrap: wrap;
170
- height: 100%;
171
- padding: var(--smart-editor-toolbar-item-margin);
172
- padding-bottom: initial;
173
- }
174
- .smart-editor[toolbar-mode=singleLineRibbon] .smart-editor-toolbar-tab-group:not(:first-of-type) {
175
- border-left: var(--smart-border-width) solid var(--smart-border);
176
- }
177
- .smart-editor[toolbar-view-mode=multiRow] .smart-editor-toolbar, .smart-editor[toolbar-view-mode=scroll] .smart-editor-toolbar {
178
- grid-template-areas: "primary primary" "secondary secondary ";
179
- }
180
- .smart-editor[toolbar-view-mode=multiRow] .smart-editor-toolbar .smart-editor-toolbar-toggle-button, .smart-editor[toolbar-view-mode=scroll] .smart-editor-toolbar .smart-editor-toolbar-toggle-button {
181
- display: none;
182
- }
183
- .smart-editor[toolbar-view-mode=multiRow] .smart-editor-toolbar-items-primary, .smart-editor[toolbar-view-mode=scroll] .smart-editor-toolbar-items-primary {
184
- padding: 0 5px 5px 0;
185
- }
186
- .smart-editor[toolbar-view-mode=multiRow] .smart-editor-toolbar-items-primary .smart-editor-toolbar-item, .smart-editor[toolbar-view-mode=scroll] .smart-editor-toolbar-items-primary .smart-editor-toolbar-item {
187
- margin-bottom: initial;
188
- }
189
- .smart-editor[toolbar-view-mode=multiRow] > .smart-container {
190
- grid-template-rows: auto minmax(0, 1fr);
191
- }
192
- .smart-editor[toolbar-view-mode=multiRow] .smart-editor-toolbar .smart-editor-toolbar-items-primary {
193
- height: auto;
194
- }
195
- .smart-editor[toolbar-view-mode=scroll] > .smart-container {
196
- grid-template-rows: auto minmax(0, 1fr);
197
- }
198
- .smart-editor[toolbar-view-mode=scroll] .smart-editor-toolbar-items-primary {
199
- overflow-y: auto;
200
- }
201
- .smart-editor:not([animation=none]) .smart-editor-toolbar-tab-selection-bar {
202
- transition: width 0.2s cubic-bezier(0.35, 0, 0.25, 1), left 0.2s cubic-bezier(0.35, 0, 0.25, 1), visibility 0.2s cubic-bezier(0.35, 0, 0.25, 1), transform 0.2s cubic-bezier(0.35, 0, 0.25, 1);
203
- }
204
- .smart-editor:not([animation=none]) .smart-editor-search-bar, .smart-editor:not([animation=none])[toolbar-mode=singleLineRibbon] .smart-editor-toolbar-items-secondary {
205
- animation: smart-drop-down-list-smart-animate-opening 0.2s ease-out;
206
- transition: animation 0.2s ease-out, opacity 0.2s ease-out, visibility 0.2s ease-out;
207
- -webkit-transform-origin: top;
208
- transform-origin: top;
209
- }
210
- .smart-editor:not([animation=none]) .smart-editor-search-bar.smart-visibility-hidden, .smart-editor:not([animation=none])[toolbar-mode=singleLineRibbon] .smart-editor-toolbar-items-secondary.smart-visibility-hidden {
211
- animation: smart-drop-down-list-smart-animate-closing 0.2s ease-in;
212
- transition: animation 0.2s ease-in, opacity 0.2s ease-in, visibility 0.2s ease-in;
213
- }
214
- .smart-editor:not([animation=none]) .smart-editor-toolbar:not(.smart-tooltip),
215
- .smart-editor:not([animation=none]) .smart-editor-content-container {
216
- transition: height 0.2s ease-in-out;
217
- }
218
- .smart-editor:not([animation=none]) .smart-editor-toolbar-item,
219
- .smart-editor:not([animation=none]) .smart-editor-toolbar-toggle-button {
220
- transition: background-color 0.2ms linear, border-color 0.2ms ease-in-out, color 0.2ms linear, box-shadow 0.2s ease-in-out;
221
- }
222
- .smart-editor:not([animation=none]) .smart-editor-toolbar-toggle-button::before {
223
- transition: transform 0.2s ease-in-out;
224
- }
225
- .smart-editor[edit-mode=markdown] .smart-editor-toolbar-item[item-name=alignment], .smart-editor[edit-mode=markdown] .smart-editor-toolbar-item[item-name=indent], .smart-editor[edit-mode=markdown] .smart-editor-toolbar-item[item-name=outdent], .smart-editor[edit-mode=markdown] .smart-editor-toolbar-item[item-name=lowercase], .smart-editor[edit-mode=markdown] .smart-editor-toolbar-item[item-name=uppercase], .smart-editor[edit-mode=markdown] .smart-editor-toolbar-item[item-name=removelink] {
226
- -moz-user-select: none;
227
- -ms-user-select: none;
228
- -webkit-user-select: none;
229
- user-select: none;
230
- opacity: 0.55;
231
- cursor: default;
232
- pointer-events: none;
233
- }
234
- .smart-editor.preview-mode .smart-editor-toolbar-item:not([item-name=print]):not([item-name=sourcecode]):not([item-name=fullscreen]):not([item-name=splitmode]) {
235
- -moz-user-select: none;
236
- -ms-user-select: none;
237
- -webkit-user-select: none;
238
- user-select: none;
239
- opacity: 0.55;
240
- cursor: default;
241
- pointer-events: none;
242
- }
243
- .smart-editor[hide-toolbar] > .smart-container {
244
- grid-template-rows: minmax(auto, 1fr);
245
- }
246
- .smart-editor[hide-toolbar] .smart-editor-toolbar:not(.smart-tooltip) {
247
- display: none;
248
- }
249
- .smart-editor .smart-editor-toolbar:not(.smart-tooltip) {
250
- width: 100%;
251
- height: 100%;
252
- border-bottom: var(--smart-border-width) solid var(--smart-border);
253
- background: var(--smart-surface);
254
- display: grid;
255
- grid-template-areas: "primary toggleButton" "secondary secondary ";
256
- grid-template-columns: minmax(0, 1fr) auto;
257
- overflow: hidden;
258
- position: relative;
259
- }
260
- .smart-editor .smart-editor-toolbar:not(.smart-tooltip)[expanded] .smart-editor-toolbar-toggle-button::before {
261
- transform: rotate(180deg);
262
- }
263
- .smart-editor .smart-editor-toolbar:not(.smart-tooltip) .smart-editor-toolbar-item {
264
- margin-left: var(--smart-editor-toolbar-item-margin);
265
- margin-top: var(--smart-editor-toolbar-item-margin);
266
- }
267
- .smart-editor[toolbar-sticky] .smart-editor-toolbar {
268
- position: sticky;
269
- top: 0;
270
- z-index: calc(var(--smart-editor-drop-down-z-index) - 1);
271
- }
272
- .smart-editor[edit-mode=markdown] .smart-editor-toolbar-item[item-name=sourcecode]::before {
273
- content: var(--smart-icon-visibility);
274
- }
275
- .smart-editor .smart-editor-toolbar-toggle-button {
276
- grid-area: toggleButton;
277
- width: var(--smart-editor-toolbar-button-width);
278
- height: var(--smart-editor-toolbar-height);
279
- position: relative;
280
- cursor: pointer;
281
- }
282
- .smart-editor .smart-editor-toolbar-toggle-button::before {
283
- font-size: var(--smart-font-size);
284
- font-family: var(--smart-font-family-icon);
285
- display: flex;
286
- align-items: center;
287
- justify-content: center;
288
- height: 100%;
289
- box-sizing: border-box;
290
- pointer-events: none;
291
- content: var(--smart-icon-arrow-down);
292
- width: var(--smart-editor-addon-width);
293
- min-width: var(--smart-editor-addon-width);
294
- }
295
- .smart-editor .smart-editor-toolbar-items-primary {
296
- grid-area: primary;
297
- height: var(--smart-editor-toolbar-height);
298
- overflow: hidden;
299
- }
300
- .smart-editor .smart-editor-toolbar-items-primary .smart-editor-toolbar-item {
301
- margin-bottom: var(--smart-editor-toolbar-item-margin);
302
- }
303
- .smart-editor .smart-editor-toolbar-items-secondary {
304
- grid-area: secondary;
305
- padding-bottom: var(--smart-editor-toolbar-item-margin);
306
- }
307
- .smart-editor .smart-editor-toolbar-items-secondary:empty {
308
- display: none;
309
- }
310
- .smart-editor .smart-editor-toolbar-items-primary,
311
- .smart-editor .smart-editor-toolbar-items-secondary {
312
- width: 100%;
313
- display: flex;
314
- align-items: center;
315
- flex-wrap: wrap;
316
- }
317
- .smart-editor iframe {
318
- width: 100%;
319
- height: 100%;
320
- min-height: var(--smart-editor-input-min-height);
321
- border: initial;
322
- }
323
- .smart-editor .smart-editor-content-container {
324
- display: grid;
325
- width: 100%;
326
- height: 100%;
327
- position: relative;
328
- overflow: hidden;
329
- outline: none;
330
- background: transparent;
331
- }
332
- .smart-editor .smart-editor-content-container[split-mode] {
333
- display: grid;
334
- grid-template-columns: minmax(0, 1fr) var(--smart-border-width) minmax(0, 1fr);
335
- grid-template-rows: 100%;
336
- grid-column-gap: 2px;
337
- }
338
- .smart-editor .smart-editor-content-container[split-mode] .smart-editor-editable {
339
- order: 1;
340
- }
341
- .smart-editor .smart-editor-content-container[split-mode]::before {
342
- content: "";
343
- width: 100%;
344
- height: 100%;
345
- background-color: var(--smart-border);
346
- order: 2;
347
- }
348
- .smart-editor .smart-editor-content-container[split-mode] textarea {
349
- order: 3;
350
- }
351
- .smart-editor .smart-editor-content-container textarea {
352
- resize: none;
353
- outline: none;
354
- border: initial;
355
- min-height: var(--smart-editor-input-min-height);
356
- font-size: inherit;
357
- font-family: inherit;
358
- color: inherit;
359
- }
360
- .smart-editor .smart-editor-content-container .smart-editor-editable {
361
- min-height: var(--smart-editor-input-min-height);
362
- overflow: auto;
363
- }
364
- .smart-editor .smart-editor-content-container .smart-editor-editable[show-placeholder]::before {
365
- content: attr(placeholder);
366
- width: 100%;
367
- height: 100%;
368
- position: absolute;
369
- pointer-events: none;
370
- color: var(--smart-disabled-color);
371
- opacity: 0.9;
372
- font-family: inherit;
373
- font-size: inherit;
374
- }
375
- .smart-editor .smart-editor-content-container .smart-editor-editable p:first-child {
376
- margin-top: 0;
377
- }
378
- .smart-editor .smart-editor-content-container .smart-editor-editable p:last-child {
379
- margin-bottom: 0;
380
- }
381
- .smart-editor .smart-editor-content-container .smart-editor-editable ul[checklist] li {
382
- list-style: none;
383
- }
384
- .smart-editor .smart-editor-content-container .smart-editor-editable ul[checklist] li::before {
385
- border-radius: 3px;
386
- top: 3.5px;
387
- width: 12px;
388
- height: 12px;
389
- display: inline-block;
390
- content: "";
391
- margin-right: 5px;
392
- position: relative;
393
- border: 2px solid rgba(0, 0, 0, 0.25);
394
- }
395
- .smart-editor .smart-editor-content-container .smart-editor-editable ul[checklist] li[checked]::before {
396
- background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16' style='shape-rendering: geometricprecision;'%3E%3Cpath fill-rule='evenodd' fill='white' d='M5.944 12.305a1.031 1.031 0 0 0 1.433-.009l5.272-5.181A1.483 1.483 0 0 0 12.661 5a1.468 1.468 0 0 0-2.109.025L7.008 8.701a.465.465 0 0 1-.685-.01l-.587-.641A1.42 1.42 0 0 0 3.661 8a1.473 1.473 0 0 0 .017 2.106l2.266 2.199z'%3E%3C/path%3E%3C/svg%3E");
397
- background-color: var(--smart-primary);
398
- border: 2px solid transparent;
399
- }
400
- .smart-editor .smart-editor-content-container .smart-editor-editable a {
401
- display: inline-block;
402
- }
403
- .smart-editor .smart-editor-content-container .smart-editor-editable [alignment=left] {
404
- text-align: left;
405
- }
406
- .smart-editor .smart-editor-content-container .smart-editor-editable [alignment=center] {
407
- text-align: center;
408
- }
409
- .smart-editor .smart-editor-content-container .smart-editor-editable [alignment=right] {
410
- text-align: right;
411
- }
412
- .smart-editor .smart-editor-content-container .smart-editor-editable [alignment=justify] {
413
- text-align: justify;
414
- }
415
- .smart-editor .smart-editor-content-container .smart-editor-editable[table-cell-resize=horizontal] {
416
- cursor: col-resize;
417
- }
418
- .smart-editor .smart-editor-content-container .smart-editor-editable[table-cell-resize=horizontal] table {
419
- overflow: hidden;
420
- }
421
- .smart-editor .smart-editor-content-container .smart-editor-editable[table-cell-resize=horizontal] th[resizing],
422
- .smart-editor .smart-editor-content-container .smart-editor-editable[table-cell-resize=horizontal] td[resizing] {
423
- position: relative;
424
- }
425
- .smart-editor .smart-editor-content-container .smart-editor-editable[table-cell-resize=horizontal] th[resizing]::after,
426
- .smart-editor .smart-editor-content-container .smart-editor-editable[table-cell-resize=horizontal] td[resizing]::after {
427
- content: "";
428
- position: absolute;
429
- right: 0;
430
- display: flex;
431
- width: var(--smart-border-width);
432
- height: 100%;
433
- transform: scaleY(100);
434
- background-color: var(--smart-primary);
435
- }
436
- .smart-editor .smart-editor-content-container .smart-editor-editable[table-cell-resize=vertical] {
437
- cursor: row-resize;
438
- }
439
- .smart-editor .smart-editor-content-container .smart-editor-editable[table-cell-resize=vertical] tr[resizing] > th,
440
- .smart-editor .smart-editor-content-container .smart-editor-editable[table-cell-resize=vertical] tr[resizing] > td {
441
- border-bottom-color: var(--smart-primary);
442
- }
443
- .smart-editor .smart-editor-content-container .smart-editor-editable[contenteditable=true] img {
444
- cursor: pointer;
445
- }
446
- .smart-editor .smart-editor-content-container .smart-editor-editable font:empty {
447
- min-width: 1px;
448
- min-height: 1px;
449
- display: inline-block;
450
- }
451
- .smart-editor .smart-editor-content-container .smart-editor-editable font:empty::before {
452
- content: "a";
453
- opacity: 0;
454
- }
455
- .smart-editor .smart-editor-content-container .smart-editor-editable pre {
456
- padding: 10px;
457
- background: var(--smart-surface);
458
- }
459
- .smart-editor .smart-editor-content-container .smart-editor-editable blockquote {
460
- border-left: calc(2 * var(--smart-border-width)) solid var(--smart-border);
461
- padding: 20px 10px;
462
- }
463
- .smart-editor .smart-editor-content-container .smart-editor-editable .find-and-replace-match {
464
- background-color: var(--smart-editor-highlight);
465
- opacity: 0.75;
466
- color: var(--smart-editor-highlight-color);
467
- }
468
- .smart-editor .smart-editor-content-container .smart-editor-editable .find-and-replace-match.selected {
469
- background-color: var(--smart-editor-highlight);
470
- opacity: 1;
471
- }
472
- .smart-editor .smart-editor-content-container img,
473
- .smart-editor .smart-editor-content-container .smart-editor-video-container video,
474
- .smart-editor .smart-editor-content-container .smart-editor-video-container iframe {
475
- float: initial;
476
- vertical-align: initial;
477
- margin: auto;
478
- min-width: 10px;
479
- min-height: 10px;
480
- }
481
- .smart-editor .smart-editor-content-container img[display=block],
482
- .smart-editor .smart-editor-content-container .smart-editor-video-container video[display=block],
483
- .smart-editor .smart-editor-content-container .smart-editor-video-container iframe[display=block] {
484
- display: block;
485
- }
486
- .smart-editor .smart-editor-content-container img[display=block][alignment=left],
487
- .smart-editor .smart-editor-content-container .smart-editor-video-container video[display=block][alignment=left],
488
- .smart-editor .smart-editor-content-container .smart-editor-video-container iframe[display=block][alignment=left] {
489
- margin-left: 0;
490
- }
491
- .smart-editor .smart-editor-content-container img[display=block][alignment=right],
492
- .smart-editor .smart-editor-content-container .smart-editor-video-container video[display=block][alignment=right],
493
- .smart-editor .smart-editor-content-container .smart-editor-video-container iframe[display=block][alignment=right] {
494
- margin-right: 0;
495
- }
496
- .smart-editor .smart-editor-content-container img[show-resize-frame],
497
- .smart-editor .smart-editor-content-container .smart-editor-video-container video[show-resize-frame],
498
- .smart-editor .smart-editor-content-container .smart-editor-video-container iframe[show-resize-frame] {
499
- box-shadow: 0 0 0 var(--smart-border-width) var(--smart-primary);
500
- }
501
- .smart-editor .smart-editor-content-container img:not([display=block])[alignment=left],
502
- .smart-editor .smart-editor-content-container .smart-editor-video-container video:not([display=block])[alignment=left],
503
- .smart-editor .smart-editor-content-container .smart-editor-video-container iframe:not([display=block])[alignment=left] {
504
- float: left;
505
- }
506
- .smart-editor .smart-editor-content-container img:not([display=block])[alignment=right],
507
- .smart-editor .smart-editor-content-container .smart-editor-video-container video:not([display=block])[alignment=right],
508
- .smart-editor .smart-editor-content-container .smart-editor-video-container iframe:not([display=block])[alignment=right] {
509
- float: right;
510
- }
511
- .smart-editor .smart-editor-content-container .smart-editor-search-bar {
512
- position: absolute;
513
- top: var(--smart-editor-search-bar-offset);
514
- right: var(--smart-editor-search-bar-offset);
515
- padding: var(--smart-editor-search-bar-padding);
516
- display: grid;
517
- grid-template-columns: minmax(0, 1fr) repeat(3, auto);
518
- grid-column-gap: 5px;
519
- border: var(--smart-border-width) solid var(--smart-border);
520
- box-shadow: var(--smart-elevation-4);
521
- background: var(--smart-background);
522
- border-top-left-radius: var(--smart-border-top-left-radius);
523
- border-top-right-radius: var(--smart-border-top-right-radius);
524
- border-bottom-left-radius: var(--smart-border-bottom-left-radius);
525
- border-bottom-right-radius: var(--smart-border-bottom-right-radius);
526
- }
527
- .smart-editor .smart-editor-content-container .smart-editor-search-bar .smart-search-input-container {
528
- width: var(--smart-text-box-default-width);
529
- display: flex;
530
- align-items: center;
531
- }
532
- .smart-editor .smart-editor-content-container .smart-editor-search-bar .smart-search-input-container::after {
533
- content: attr(selected) "/" attr(matches);
534
- margin: 0 var(--smart-editor-search-bar-offset);
535
- }
536
- .smart-editor .smart-editor-content-container .smart-editor-search-bar .smart-search-input {
537
- height: 100%;
538
- outline: none;
539
- border: initial;
540
- padding: var(--smart-editor-label-padding);
541
- }
542
- .smart-editor .smart-editor-content-container .smart-editor-search-bar .smart-search-input:focus {
543
- border-color: var(--smart-outline);
544
- }
545
- .smart-editor .smart-editor-content-container .smart-editor-search-bar .smart-search-button {
546
- --smart-button-padding: 0;
547
- border: initial;
548
- height: var(--smart-editor-toolbar-button-width);
549
- width: var(--smart-editor-toolbar-button-width);
550
- }
551
- .smart-editor .smart-editor-content-container .smart-editor-search-bar .smart-search-button button::after {
552
- font-size: var(--smart-font-size);
553
- font-family: var(--smart-font-family-icon);
554
- display: flex;
555
- align-items: center;
556
- justify-content: center;
557
- box-sizing: border-box;
558
- pointer-events: none;
559
- }
560
- .smart-editor .smart-editor-content-container .smart-editor-search-bar .smart-search-button.prev button::after {
561
- content: var(--smart-icon-arrow-up);
562
- }
563
- .smart-editor .smart-editor-content-container .smart-editor-search-bar .smart-search-button.next button::after {
564
- content: var(--smart-icon-arrow-down);
565
- }
566
- .smart-editor .smart-editor-content-container .smart-editor-search-bar .smart-search-button.close button::after {
567
- content: var(--smart-icon-close);
568
- }
569
- .smart-editor[show-char-count] .smart-editor-content-container::after {
570
- content: attr(char-count);
571
- position: absolute;
572
- display: flex;
573
- justify-content: flex-end;
574
- bottom: var(--smart-editor-char-counter-offset);
575
- right: var(--smart-editor-char-counter-offset);
576
- box-sizing: border-box;
577
- background: var(--smart-background);
578
- border-radius: var(--smart-border-radius);
579
- background-clip: content-box;
580
- -webkit-background-clip: content-box;
581
- font-family: inherit;
582
- font-size: inherit;
583
- pointer-events: none;
584
- -moz-user-select: none;
585
- -ms-user-select: none;
586
- -webkit-user-select: none;
587
- user-select: none;
588
- }
589
- .smart-editor[show-char-count] .smart-editor-content-container.char-count-error::after {
590
- color: var(--smart-error);
591
- }
592
- .smart-editor[show-char-count] .smart-editor-content-container.char-count-warning::after {
593
- color: var(--smart-warning);
594
- }
595
- .smart-editor[edit-mode=markdown] .smart-editor-content-container[split-mode] .smart-editor-editable {
596
- order: 3;
597
- }
598
- .smart-editor[edit-mode=markdown] .smart-editor-content-container[split-mode] textarea {
599
- order: 1;
600
- }
601
- .smart-editor .smart-editor-resize-frame {
602
- -moz-user-select: none;
603
- -ms-user-select: none;
604
- -webkit-user-select: none;
605
- user-select: none;
606
- position: absolute;
607
- }
608
- .smart-editor .smart-editor-resize-frame span {
609
- cursor: pointer;
610
- position: absolute;
611
- width: 10px;
612
- height: 10px;
613
- background: var(--smart-primary);
614
- transform: translate(-50%, -50%);
615
- }
616
- .smart-editor .smart-editor-resize-frame span[position=top-left], .smart-editor .smart-editor-resize-frame span[position=bottom-right] {
617
- cursor: se-resize;
618
- }
619
- .smart-editor .smart-editor-resize-frame span[position=top-right], .smart-editor .smart-editor-resize-frame span[position=bottom-left] {
620
- cursor: sw-resize;
621
- }
622
- .smart-editor .smart-editor-resize-frame span[position=top-center], .smart-editor .smart-editor-resize-frame span[position=bottom-center] {
623
- cursor: ns-resize;
624
- }
625
- .smart-editor .smart-editor-resize-frame span[position=left-center], .smart-editor .smart-editor-resize-frame span[position=right-center] {
626
- cursor: ew-resize;
627
- }
628
- .smart-editor .smart-editor-image-container {
629
- display: inline-block;
630
- }
631
- .smart-editor .smart-editor-image-container.smart-editor-video-container {
632
- position: relative;
633
- }
634
- .smart-editor .smart-editor-image-container.smart-editor-video-container .smart-editor-video-white-space {
635
- position: absolute;
636
- opacity: 0;
637
- }
638
- .smart-editor .smart-editor-image-container.smart-editor-video-container[dragged]::before {
639
- content: "";
640
- position: absolute;
641
- width: 100%;
642
- height: 100%;
643
- top: 0;
644
- left: 0;
645
- }
646
- .smart-editor .smart-editor-image-container.smart-editor-video-container video,
647
- .smart-editor .smart-editor-image-container.smart-editor-video-container iframe {
648
- width: 100%;
649
- height: 100%;
650
- }
651
- .smart-editor .smart-editor-image-container.smart-editor-video-container > br[class] {
652
- display: none;
653
- }
654
- .smart-editor .smart-editor-image-container.smart-editor-video-container::after {
655
- content: var(--smart-icon-menu);
656
- position: absolute;
657
- font-family: var(--smart-font-family-icon);
658
- font-size: var(--smart-font-size);
659
- width: var(--smart-editor-toolbar-item-height);
660
- height: var(--smart-editor-toolbar-item-height);
661
- top: 0;
662
- left: calc(50% - var(--smart-editor-toolbar-item-height) / 2);
663
- background: var(--smart-background);
664
- border-radius: 50%;
665
- display: inline-flex;
666
- align-items: center;
667
- justify-content: center;
668
- visibility: hidden;
669
- transform-origin: top;
670
- transform: scale(0) translateY(-100%);
671
- transition: transform 0.2s ease-in-out, visibility 0.2s ease-in-out;
672
- }
673
- .smart-editor .smart-editor-image-container.smart-editor-video-container:hover::after {
674
- visibility: visible;
675
- transform: scale(1) translateY(25%);
676
- }
677
- .smart-editor .smart-editor-image-container[display=block] {
678
- display: block;
679
- }
680
- .smart-editor .smart-editor-image-container[display=block][alignment=left] img {
681
- margin-left: 0;
682
- }
683
- .smart-editor .smart-editor-image-container[display=block][alignment=left] .smart-editor-image-caption {
684
- text-align: left;
685
- }
686
- .smart-editor .smart-editor-image-container[display=block][alignment=right] img {
687
- margin-right: 0;
688
- }
689
- .smart-editor .smart-editor-image-container[display=block][alignment=right] .smart-editor-image-caption {
690
- text-align: right;
691
- }
692
- .smart-editor .smart-editor-image-container:not([display=block])[alignment=left] {
693
- float: left;
694
- }
695
- .smart-editor .smart-editor-image-container:not([display=block])[alignment=right] {
696
- float: right;
697
- }
698
- .smart-editor .smart-editor-image-container .smart-editor-image-caption {
699
- display: block;
700
- text-align: center;
701
- outline: none;
702
- }
703
- .smart-editor table {
704
- width: 100%;
705
- border-collapse: collapse;
706
- empty-cells: show;
707
- border-spacing: 0;
708
- table-layout: fixed;
709
- }
710
- .smart-editor table td,
711
- .smart-editor table th {
712
- border: var(--smart-border-width) solid var(--smart-border);
713
- width: var(--smart-editor-table-column-width);
714
- min-height: var(--smart-editor-table-cell-min-height);
715
- min-width: var(--smart-editor-table-cell-min-width);
716
- padding: 2px 5px;
717
- vertical-align: middle;
718
- }
719
- .smart-editor table img {
720
- max-width: 100%;
721
- }
722
- .smart-editor table table {
723
- width: 100%;
724
- }
725
- .smart-editor table th {
726
- background: var(--smart-surface);
727
- }
728
- .smart-editor table th:empty::before,
729
- .smart-editor table td:empty::before {
730
- content: "A";
731
- visibility: hidden;
732
- }
733
- .smart-editor table[dashed-borders] th, .smart-editor table[dashed-borders] td {
734
- border-style: dashed;
735
- }
736
- .smart-editor table[alternation] tr:nth-child(2n) {
737
- background-color: var(--smart-alternation-index0-background);
738
- }
739
- .smart-editor table [selected] {
740
- box-shadow: 0 0 0 var(--smart-border-width) var(--smart-primary) inset;
741
- }
742
- .smart-editor[focus] .smart-editor-toolbar-item[item-type=button][checked] {
743
- color: var(--smart-ui-state-color-active);
744
- border-color: var(--smart-ui-state-border-active);
745
- background-color: var(--smart-ui-state-active);
746
- }
747
-
748
- .smart-editor-toolbar-item {
749
- overflow: hidden;
750
- text-overflow: ellipsis;
751
- white-space: nowrap;
752
- position: relative;
753
- border-radius: var(--smart-editor-toolbar-item-border-radius);
754
- cursor: pointer;
755
- }
756
- .smart-editor-toolbar-item:not([item-type=custom]):hover {
757
- color: var(--smart-ui-state-color-hover);
758
- border-color: var(--smart-ui-state-border-hover);
759
- background-color: var(--smart-ui-state-hover);
760
- box-shadow: var(--smart-elevation-1);
761
- }
762
- .smart-editor-toolbar-item:not([item-type=custom]):not([item-type=color-input]):not([disabled]):active {
763
- color: var(--smart-ui-state-color-active);
764
- border-color: var(--smart-ui-state-border-active);
765
- background-color: var(--smart-ui-state-active);
766
- }
767
- .smart-editor-toolbar-item[item-name=bold]::before {
768
- content: var(--smart-icon-bold);
769
- }
770
- .smart-editor-toolbar-item[item-name=italic]::before {
771
- content: var(--smart-icon-italic);
772
- }
773
- .smart-editor-toolbar-item[item-name=underline]::before {
774
- content: var(--smart-icon-underline);
775
- }
776
- .smart-editor-toolbar-item[item-name=strikethrough]::before {
777
- content: var(--smart-icon-strike-through);
778
- }
779
- .smart-editor-toolbar-item[item-name=caption]::before {
780
- content: var(--smart-icon-format-clear);
781
- }
782
- .smart-editor-toolbar-item[item-name=orderedlist]::before {
783
- content: var(--smart-icon-list-ordered);
784
- }
785
- .smart-editor-toolbar-item[item-name=unorderedlist]::before {
786
- content: var(--smart-icon-list-unordered);
787
- }
788
- .smart-editor-toolbar-item[item-name=checklist]::before {
789
- content: var(--smart-icon-list-unordered);
790
- }
791
- .smart-editor-toolbar-item[item-name=subscript]::before {
792
- content: var(--smart-icon-subscript);
793
- }
794
- .smart-editor-toolbar-item[item-name=superscript]::before {
795
- content: var(--smart-icon-superscript);
796
- }
797
- .smart-editor-toolbar-item .smart-editor-item-action-button[item-name=backgroundcolor]::before {
798
- content: var(--smart-icon-color-background);
799
- }
800
- .smart-editor-toolbar-item .smart-editor-item-action-button[item-name=fontcolor]::before {
801
- content: var(--smart-icon-font);
802
- }
803
- .smart-editor-toolbar-item[item-name=delete]::before {
804
- content: var(--smart-icon-delete);
805
- }
806
- .smart-editor-toolbar-item[item-name=redo]::before {
807
- content: var(--smart-icon-reload);
808
- }
809
- .smart-editor-toolbar-item[item-name=undo]::before {
810
- content: var(--smart-icon-reload);
811
- }
812
- .smart-editor-toolbar-item[item-name=indent]::before {
813
- content: var(--smart-icon-indent-left);
814
- }
815
- .smart-editor-toolbar-item[item-name=outdent]::before {
816
- content: var(--smart-icon-indent-right);
817
- }
818
- .smart-editor-toolbar-item[item-name=createlink]::before {
819
- content: var(--smart-icon-link);
820
- }
821
- .smart-editor-toolbar-item[item-name=removelink]::before {
822
- content: var(--smart-icon-unlink);
823
- }
824
- .smart-editor-toolbar-item[item-name=hyperlink]::before {
825
- content: var(--smart-icon-link);
826
- }
827
- .smart-editor-toolbar-item[item-name=openlink]::before {
828
- content: var(--smart-icon-link-ext);
829
- }
830
- .smart-editor-toolbar-item[item-name=editlink]::before {
831
- content: var(--smart-icon-mode-edit);
832
- }
833
- .smart-editor-toolbar-item[item-name=image]::before {
834
- content: var(--smart-icon-image);
835
- }
836
- .smart-editor-toolbar-item[item-name=table]::before {
837
- content: var(--smart-icon-table);
838
- }
839
- .smart-editor-toolbar-item[item-name=lowercase]::before {
840
- content: var(--smart-icon-case-lower);
841
- }
842
- .smart-editor-toolbar-item[item-name=uppercase]::before {
843
- content: var(--smart-icon-case-upper);
844
- }
845
- .smart-editor-toolbar-item[item-name=print]::before {
846
- content: var(--smart-icon-print);
847
- }
848
- .smart-editor-toolbar-item[item-name=copy]::before {
849
- content: var(--smart-icon-copy-record);
850
- }
851
- .smart-editor-toolbar-item[item-name=paste]::before {
852
- content: var(--smart-icon-paste);
853
- }
854
- .smart-editor-toolbar-item[item-name=cut]::before {
855
- content: var(--smart-icon-cut);
856
- transform: rotate(-90deg);
857
- }
858
- .smart-editor-toolbar-item[item-name=clearformat]::before {
859
- content: var(--smart-icon-format-clear);
860
- }
861
- .smart-editor-toolbar-item[item-name=fullscreen]::before {
862
- content: var(--smart-icon-resize-full);
863
- }
864
- .smart-editor-toolbar-item[item-name=sourcecode]::before {
865
- content: var(--smart-icon-source-code);
866
- }
867
- .smart-editor-toolbar-item[item-name=preview]::before {
868
- content: var(--smart-icon-visibility);
869
- }
870
- .smart-editor-toolbar-item[item-name=splitmode]::before {
871
- content: var(--smart-icon-split-mode);
872
- }
873
- .smart-editor-toolbar-item[item-name=tableheader]::before {
874
- content: var(--smart-icon-header);
875
- }
876
- .smart-editor-toolbar-item[item-name=tablerows]::before {
877
- content: var(--smart-icon-row);
878
- }
879
- .smart-editor-toolbar-item[item-name=tablecolumns]::before {
880
- content: var(--smart-icon-column);
881
- }
882
- .smart-editor-toolbar-item[item-name=tablevalign]::before {
883
- content: var(--smart-icon-vertical-align);
884
- }
885
- .smart-editor-toolbar-item[item-name=tablestyle]::before {
886
- content: var(--smart-icon-styles);
887
- }
888
- .smart-editor-toolbar-item[item-name=findandreplace]::before {
889
- content: var(--smart-icon-search);
890
- }
891
- .smart-editor-toolbar-item[item-name=video]::before {
892
- content: var(--smart-icon-video);
893
- }
894
- .smart-editor-toolbar-item[item-name=redo]::before {
895
- transform: scaleX(-1);
896
- }
897
- .smart-editor-toolbar-item[item-name=caption]::before {
898
- font-weight: 600;
899
- }
900
- .smart-editor-toolbar-item[item-name=clearformat]::before {
901
- font-style: italic;
902
- font-weight: 600;
903
- }
904
- .smart-editor-toolbar-item[item-name=clearformat]::after {
905
- content: "-";
906
- position: absolute;
907
- top: 0;
908
- font-weight: 600;
909
- transform: scaleX(1.5);
910
- }
911
- .smart-editor-toolbar-item[item-name=alignment][item-value=left]::before {
912
- content: var(--smart-icon-align-left);
913
- }
914
- .smart-editor-toolbar-item[item-name=alignment][item-value=center]::before {
915
- content: var(--smart-icon-align-center);
916
- }
917
- .smart-editor-toolbar-item[item-name=alignment][item-value=right]::before {
918
- content: var(--smart-icon-align-right);
919
- }
920
- .smart-editor-toolbar-item[item-name=alignment][item-value=justify]::before {
921
- content: var(--smart-icon-align-justify);
922
- }
923
- .smart-editor-toolbar-item[item-type=toggle][checked] {
924
- color: var(--smart-ui-state-color-active);
925
- border-color: var(--smart-ui-state-border-active);
926
- background-color: var(--smart-ui-state-active);
927
- }
928
- .smart-editor-toolbar-item[item-type=button], .smart-editor-toolbar-item[item-type=toggle] {
929
- width: var(--smart-editor-toolbar-button-width);
930
- }
931
- .smart-editor-toolbar-item[item-type=drop-down], .smart-editor-toolbar-item[item-type=color-input] {
932
- display: flex;
933
- align-items: center;
934
- justify-content: space-between;
935
- width: var(--smart-editor-toolbar-drop-down-width-small);
936
- }
937
- .smart-editor-toolbar-item[item-type=drop-down][item-name=fontname], .smart-editor-toolbar-item[item-type=drop-down][item-name=formats] {
938
- width: var(--smart-editor-toolbar-drop-down-width-large);
939
- }
940
- .smart-editor-toolbar-item[item-type=drop-down][item-name=tablerows]:before {
941
- transform: rotate(90deg);
942
- padding: var(--smart-editor-label-padding);
943
- padding-left: initial;
944
- padding-right: initial;
945
- padding-top: initial;
946
- }
947
- .smart-editor-toolbar-item[item-type=color-input] .smart-editor-item-action-button {
948
- display: flex;
949
- align-items: center;
950
- justify-content: center;
951
- position: relative;
952
- width: calc(100% - var(--smart-editor-addon-width));
953
- height: 100%;
954
- min-width: var(--smart-editor-addon-width);
955
- padding: var(--smart-editor-label-padding);
956
- padding-top: initial;
957
- padding-bottom: initial;
958
- }
959
- .smart-editor-toolbar-item[item-type=color-input] .smart-editor-item-action-button::before {
960
- font-size: var(--smart-font-size);
961
- font-family: var(--smart-font-family-icon);
962
- border-bottom: calc(3 * var(--smart-border-width)) solid var(--item-value);
963
- }
964
- .smart-editor-toolbar-item[item-type=color-input] .smart-editor-item-drop-down-button {
965
- position: relative;
966
- height: 100%;
967
- }
968
- .smart-editor-toolbar-item[item-type=custom] > :first-child {
969
- width: 100%;
970
- height: var(--smart-editor-toolbar-item-height);
971
- }
972
- .smart-editor-toolbar-item .smart-editor-item-action-button:hover,
973
- .smart-editor-toolbar-item .smart-editor-item-drop-down-button:hover {
974
- color: var(--smart-ui-state-color-hover);
975
- border-color: var(--smart-ui-state-border-hover);
976
- background-color: var(--smart-ui-state-hover);
977
- border-color: var(--smart-ui-state-focus);
978
- background-color: var(--smart-ui-state-focus);
979
- }
980
- .smart-editor-toolbar-item .smart-editor-item-action-button:not([disabled]):active,
981
- .smart-editor-toolbar-item .smart-editor-item-drop-down-button:not([disabled]):active {
982
- color: var(--smart-ui-state-color-active);
983
- border-color: var(--smart-ui-state-border-active);
984
- background-color: var(--smart-ui-state-active);
985
- }
986
- .smart-editor-toolbar-item[item-type=delimiter] {
987
- width: var(--smart-editor-toolbar-delimiter-width);
988
- pointer-events: none;
989
- }
990
- .smart-editor-toolbar-item[item-type=delimiter]::before {
991
- content: attr(item-name);
992
- transform: scaleY(1.5);
993
- min-width: initial;
994
- }
995
- .smart-editor-toolbar-item .smart-ripple {
996
- background-color: var(--smart-background-color);
997
- }
998
- .smart-editor-toolbar-item .smart-editor-item-drop-down {
999
- position: absolute;
1000
- top: 0;
1001
- left: 0;
1002
- visibility: hidden;
1003
- }
1004
-
1005
- /* --- Editor Color Input --- */
1006
- .smart-color-input-drop-down-menu.smart-editor-color-input .grid-samples-container {
1007
- grid-template-columns: repeat(2, minmax(0, 1fr));
1008
- }
1009
- .smart-color-input-drop-down-menu.smart-editor-color-input:not([animation=none]) .default-samples-container div {
1010
- transition: transform 0.2s ease-in-out;
1011
- }
1012
- .smart-color-input-drop-down-menu.smart-editor-color-input .default-samples-container div {
1013
- position: relative;
1014
- border-radius: 50%;
1015
- border: initial;
1016
- transform: scale(0.95);
1017
- }
1018
- .smart-color-input-drop-down-menu.smart-editor-color-input .default-samples-container div.selected {
1019
- transform: scale(1);
1020
- }
1021
- .smart-color-input-drop-down-menu.smart-editor-color-input .default-samples-container div.selected:not(.no-color):after {
1022
- content: var(--smart-icon-check);
1023
- width: 100%;
1024
- height: 100%;
1025
- position: absolute;
1026
- top: 0;
1027
- left: 0;
1028
- display: flex;
1029
- justify-content: center;
1030
- align-items: center;
1031
- font-family: var(--smart-font-family-icon);
1032
- color: var(--smart-secondary-color);
1033
- border-radius: inherit;
1034
- }
1035
-
1036
- .smart-editor-color-input {
1037
- --smart-input-drop-down-menu-width: auto;
1038
- }
1039
-
1040
- .smart-editor-color-input.smart-color-input-drop-down-menu .default-samples-container div.selected[value="#FFFFFF"]::after {
1041
- border: var(--smart-border-width) solid var(--smart-border);
1042
- color: var(--smart-ui-state-color-hover);
1043
- box-sizing: border-box;
1044
- }
1045
-
1046
- /* --- Editor Input Drop Down --- */
1047
- .smart-editor-input li .editor-icon::before {
1048
- font-size: var(--smart-font-size);
1049
- font-family: var(--smart-font-family-icon);
1050
- display: flex;
1051
- align-items: center;
1052
- justify-content: center;
1053
- position: absolute;
1054
- left: 0;
1055
- width: var(--smart-column-icon-size);
1056
- line-height: 1rem;
1057
- }
1058
- .smart-editor-input li[value=left] .editor-icon::before {
1059
- content: var(--smart-icon-align-left);
1060
- }
1061
- .smart-editor-input li[value=center] .editor-icon::before {
1062
- content: var(--smart-icon-align-center);
1063
- }
1064
- .smart-editor-input li[value=right] .editor-icon::before {
1065
- content: var(--smart-icon-align-right);
1066
- }
1067
- .smart-editor-input li[value=justify] .editor-icon::before {
1068
- content: var(--smart-icon-align-justify);
1069
- }
1070
- .smart-editor-input li[value=insertRowBefore] .editor-icon::before {
1071
- content: var(--smart-icon-row-before);
1072
- }
1073
- .smart-editor-input li[value=insertRowAfter] .editor-icon::before {
1074
- content: var(--smart-icon-row-after);
1075
- transform: rotate(180deg);
1076
- }
1077
- .smart-editor-input li[value=deleteRow] .editor-icon::before {
1078
- content: var(--smart-icon-row-delete);
1079
- }
1080
- .smart-editor-input li[value=insertColumnLeft] .editor-icon::before {
1081
- content: var(--smart-icon-column-left);
1082
- transform: rotate(-90deg);
1083
- }
1084
- .smart-editor-input li[value=insertColumnRight] .editor-icon::before {
1085
- content: var(--smart-icon-column-right);
1086
- transform: rotate(90deg);
1087
- }
1088
- .smart-editor-input li[value=deleteColumn] .editor-icon::before {
1089
- content: var(--smart-icon-column-delete);
1090
- }
1091
- .smart-editor-input li[value=h1] a {
1092
- font-size: 1.5rem;
1093
- font-weight: bold;
1094
- }
1095
- .smart-editor-input li[value=h2] a {
1096
- font-size: 1.3rem;
1097
- font-weight: bold;
1098
- }
1099
- .smart-editor-input li[value=h3] a {
1100
- font-size: 1.1rem;
1101
- font-weight: bold;
1102
- }
1103
- .smart-editor-input li[value=h4] a {
1104
- font-size: 0.9rem;
1105
- font-weight: bold;
1106
- }
1107
- .smart-editor-input li[value=segueUi] a {
1108
- font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
1109
- }
1110
- .smart-editor-input li[value=arial] a {
1111
- font-family: Arial, Helvetica, sans-serif;
1112
- }
1113
- .smart-editor-input li[value=georgia] a {
1114
- font-family: Georgia, "Times New Roman", Times, serif;
1115
- }
1116
- .smart-editor-input li[value=impact] a {
1117
- font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
1118
- }
1119
- .smart-editor-input li[value=tahoma] a {
1120
- font-family: Tahoma, Geneva, Verdana, sans-serif;
1121
- }
1122
- .smart-editor-input li[value=timesnewRoman] a {
1123
- font-family: "Times New Roman", Times, serif;
1124
- }
1125
- .smart-editor-input li[value=verdana] a {
1126
- font-family: Verdana, Geneva, Tahoma, sans-serif;
1127
- }
1128
-
1129
- /* --- Editor Window --- */
1130
- .smart-editor-window {
1131
- --smart-window-default-width: auto;
1132
- --smart-window-default-height: auto;
1133
- --smart-window-header-height: var(--smart-editor-window-header-height);
1134
- --smart-window-footer-height: var(--smart-editor-window-footer-height);
1135
- --smart-window-header-footer-padding: 10px;
1136
- --smart-window-header-background: transparent;
1137
- --smart-window-footer-padding: 10px;
1138
- --smart-window-content-padding: 20px;
1139
- max-width: 95vw;
1140
- max-height: 95vh;
1141
- }
1142
- .smart-editor-window.smart-window .smart-content-container > .smart-content {
1143
- padding: initial;
1144
- align-items: flex-start;
1145
- }
1146
- .smart-editor-window .smart-editor-window-button {
1147
- width: 100%;
1148
- height: 100%;
1149
- --smart-button-padding: 0.2rem 16px;
1150
- }
1151
- .smart-editor-window .smart-editor-window-button:not(:last-of-type) {
1152
- margin-right: 2.5%;
1153
- }
1154
- .smart-editor-window .smart-editor-window-content-wrapper {
1155
- grid-template-rows: auto minmax(auto, 1fr);
1156
- padding: var(--smart-window-content-padding);
1157
- width: 100%;
1158
- }
1159
- .smart-editor-window .smart-editor-window-content-wrapper > div {
1160
- display: grid;
1161
- width: var(--smart-box-width);
1162
- grid-row-gap: 10px;
1163
- justify-content: center;
1164
- grid-template-columns: 100%;
1165
- }
1166
- .smart-editor-window .smart-editor-window-editor {
1167
- display: grid;
1168
- grid-row-gap: 5px;
1169
- grid-column-gap: 10px;
1170
- }
1171
- .smart-editor-window .smart-editor-window-editor > .smart-input,
1172
- .smart-editor-window .smart-editor-window-editor > .smart-list-box {
1173
- width: 100%;
1174
- }
1175
- .smart-editor-window .smart-editor-window-editor > .smart-check-box {
1176
- width: max-content;
1177
- }
1178
- .smart-editor-window .smart-editor-window-editor[multiple] .smart-editor-window-editor {
1179
- grid-template-columns: repeat(2, minmax(0, 1fr));
1180
- }
1181
- .smart-editor-window .smart-editor-window-editor[type=results] label {
1182
- display: flex;
1183
- justify-content: space-between;
1184
- }
1185
- .smart-editor-window .smart-editor-window-editor[type=results] label[matches]::after {
1186
- content: attr(selected) " of " attr(matches);
1187
- }
1188
- .smart-editor-window .smart-editor-window-editor[type=file] .smart-drop-zone {
1189
- width: 100%;
1190
- height: 100px;
1191
- border: calc(2 * var(--smart-border-width)) dashed var(--smart-border);
1192
- border-radius: var(--smart-border-radius);
1193
- }
1194
- .smart-editor-window .smart-editor-window-editor[type=file] .smart-file-upload {
1195
- --smart-file-upload-drop-zone-height: 100px;
1196
- width: 100%;
1197
- order: 1;
1198
- min-height: initial;
1199
- }
1200
- .smart-editor-window .smart-editor-window-editor[type=file] .smart-file-upload .smart-browse-button {
1201
- margin: initial;
1202
- }
1203
- .smart-editor-window .smart-editor-window-editor[type=file] .smart-file-upload .smart-item-upload-button {
1204
- display: none;
1205
- }
1206
- .smart-editor-window .smart-editor-window-editor[type=file] .smart-file-upload .smart-file-upload-header {
1207
- margin-bottom: 5px;
1208
- padding: initial;
1209
- }
1210
- .smart-editor-window .smart-editor-window-editor[type=file] .smart-file-upload .smart-file-upload-container {
1211
- padding: initial;
1212
- }
1213
- .smart-editor-window .smart-editor-window-editor[type=file] .smart-file-upload .smart-selected-files {
1214
- padding: initial;
1215
- }
1216
- .smart-editor-window .smart-editor-window-editor[type=file] .smart-file-upload .smart-selected-files .smart-file {
1217
- display: flex;
1218
- margin: initial;
1219
- border: var(--smart-border-width) solid var(--smart-border);
1220
- border-radius: var(--smart-border-radius);
1221
- }
1222
- .smart-editor-window .smart-editor-window-editor[type=file] .smart-file-upload .smart-selected-files .smart-item-upload-button:after,
1223
- .smart-editor-window .smart-editor-window-editor[type=file] .smart-file-upload .smart-selected-files .smart-item-pause-button:after,
1224
- .smart-editor-window .smart-editor-window-editor[type=file] .smart-file-upload .smart-selected-files .smart-item-cancel-button:after {
1225
- position: initial;
1226
- left: initial;
1227
- top: initial;
1228
- display: flex;
1229
- align-items: center;
1230
- justify-content: center;
1231
- }
1232
- .smart-editor-window .smart-editor-window-editor[type=file] .smart-file-upload .smart-selected-files .smart-item-name {
1233
- width: 100%;
1234
- }
1235
-
1236
- /* --- Editor Tooltip --- */
1237
- .smart-tooltip .smart-tooltip-content {
1238
- display: flex;
1239
- background-color: var(--smart-background);
1240
- color: var(--smart-background-color);
1241
- border-color: var(--smart-background);
1242
- opacity: initial;
1243
- }
1244
- .smart-tooltip.smart-editor-context-menu:not([animation=none]) {
1245
- transition: opacity 0.2s ease-in, visibility 0.2s ease-in, transform 0.2s ease-in;
1246
- }
1247
- .smart-tooltip.smart-editor-toolbar {
1248
- --smart-tooltip-padding: 5px;
1249
- --smart-tooltip-arrow-color: var(--smart-surface);
1250
- }
1251
- .smart-tooltip.smart-editor-toolbar .smart-tooltip-content {
1252
- background-color: var(--smart-surface);
1253
- color: var(--smart-surface-color);
1254
- border-color: var(--smart-surface);
1255
- }
1256
- .smart-tooltip.smart-editor-toolbar.smart-editor-inline-toolbar .smart-tooltip-content {
1257
- max-width: var(--smart-editor-inline-toolbar-max-width);
1258
- flex-wrap: wrap;
1259
- }
1260
- .smart-tooltip.smart-editor-toolbar:not([animation=none]) .smart-editor-toolbar-item {
1261
- transition: background-color 0.2ms linear, border-color 0.2ms ease-in-out, color 0.2ms linear, box-shadow 0.2s ease-in-out;
1262
- }
1263
- .smart-tooltip.smart-editor-toolbar:not(.smart-editor-drop-down-toolbar) .smart-editor-toolbar-item:not(:first-of-type) {
1264
- margin-left: var(--smart-editor-toolbar-item-margin);
1265
- }
1266
- .smart-tooltip.smart-editor-context-menu {
1267
- opacity: 0.2;
1268
- transform: scale(0);
1269
- -webkit-transform-origin: 0 0;
1270
- transform-origin: 0 0;
1271
- }
1272
- .smart-tooltip.smart-editor-context-menu[visible] {
1273
- opacity: 1;
1274
- transform: scale(1);
1275
- }
1276
- .smart-tooltip .smart-editor-context-menu-item-container {
1277
- width: 100%;
1278
- height: 100%;
1279
- display: grid;
1280
- align-items: center;
1281
- justify-content: flex-start;
1282
- }
1283
- .smart-tooltip .smart-editor-context-menu-item-container .smart-editor-context-menu-item {
1284
- -moz-user-select: none;
1285
- -ms-user-select: none;
1286
- -webkit-user-select: none;
1287
- user-select: none;
1288
- height: var(--smart-list-item-height);
1289
- padding: var(--smart-list-item-padding);
1290
- border-top-left-radius: var(--smart-item-border-top-left-radius);
1291
- border-top-right-radius: var(--smart-item-border-top-right-radius);
1292
- border-bottom-left-radius: var(--smart-item-border-bottom-left-radius);
1293
- border-bottom-right-radius: var(--smart-item-border-bottom-right-radius);
1294
- white-space: nowrap;
1295
- text-overflow: ellipsis;
1296
- background: var(--smart-background);
1297
- color: var(--smart-background-color);
1298
- display: flex;
1299
- align-items: center;
1300
- position: relative;
1301
- padding-left: var(--smart-column-icon-size);
1302
- }
1303
- .smart-tooltip .smart-editor-context-menu-item-container .smart-editor-context-menu-item::before {
1304
- font-size: var(--smart-font-size);
1305
- font-family: var(--smart-font-family-icon);
1306
- display: flex;
1307
- align-items: center;
1308
- justify-content: center;
1309
- position: absolute;
1310
- left: 0;
1311
- width: var(--smart-column-icon-size);
1312
- line-height: 1rem;
1313
- }
1314
- .smart-tooltip .smart-editor-context-menu-item-container .smart-editor-context-menu-item[value=insertRowBefore]::before {
1315
- content: var(--smart-icon-row-before);
1316
- }
1317
- .smart-tooltip .smart-editor-context-menu-item-container .smart-editor-context-menu-item[value=insertRowAfter]::before {
1318
- content: var(--smart-icon-row-after);
1319
- transform: rotate(180deg);
1320
- }
1321
- .smart-tooltip .smart-editor-context-menu-item-container .smart-editor-context-menu-item[value=deleteRow]::before {
1322
- content: var(--smart-icon-row-delete);
1323
- }
1324
- .smart-tooltip .smart-editor-context-menu-item-container .smart-editor-context-menu-item[value=insertColumnLeft]::before {
1325
- content: var(--smart-icon-column-left);
1326
- transform: rotate(-90deg);
1327
- }
1328
- .smart-tooltip .smart-editor-context-menu-item-container .smart-editor-context-menu-item[value=insertColumnRight]::before {
1329
- content: var(--smart-icon-column-right);
1330
- transform: rotate(90deg);
1331
- }
1332
- .smart-tooltip .smart-editor-context-menu-item-container .smart-editor-context-menu-item[value=deleteColumn]::before {
1333
- content: var(--smart-icon-column-delete);
1334
- }
1335
- .smart-tooltip .smart-editor-context-menu-item-container .smart-editor-context-menu-item[value=tableProperties]::before {
1336
- content: var(--smart-icon-table);
1337
- }
1338
- .smart-tooltip .smart-editor-context-menu-item-container .smart-editor-context-menu-item[value=imageProperties]::before {
1339
- content: var(--smart-icon-image);
1340
- }
1341
- .smart-tooltip .smart-editor-context-menu-item-container .smart-editor-context-menu-item[value=linkProperties]::before {
1342
- content: var(--smart-icon-link);
1343
- }
1344
- .smart-tooltip .smart-editor-context-menu-item-container .smart-editor-context-menu-item[value=videoProperties]::before {
1345
- content: var(--smart-icon-link);
1346
- }
1347
- .smart-tooltip .smart-editor-context-menu-item-container .smart-editor-context-menu-item[value=deleteTable]::before {
1348
- content: var(--smart-icon-delete);
1349
- }
1350
- .smart-tooltip .smart-editor-context-menu-item-container .smart-editor-context-menu-item[value=copyImage]::before {
1351
- content: var(--smart-icon-copy-record);
1352
- }
1353
- .smart-tooltip .smart-editor-context-menu-item-container .smart-editor-context-menu-item[value=copyVideo]::before {
1354
- content: var(--smart-icon-copy-record);
1355
- }
1356
- .smart-tooltip .smart-editor-context-menu-item-container .smart-editor-context-menu-item[value=cutImage]::before {
1357
- content: var(--smart-icon-cut);
1358
- transform: rotate(-90deg);
1359
- }
1360
- .smart-tooltip .smart-editor-context-menu-item-container .smart-editor-context-menu-item[value=cutVideo]::before {
1361
- content: var(--smart-icon-cut);
1362
- transform: rotate(-90deg);
1363
- }
1364
- .smart-tooltip .smart-editor-context-menu-item-container .smart-editor-context-menu-item[value=deleteImage]::before {
1365
- content: var(--smart-icon-delete);
1366
- }
1367
- .smart-tooltip .smart-editor-context-menu-item-container .smart-editor-context-menu-item[value=deleteVideo]::before {
1368
- content: var(--smart-icon-delete);
1369
- }
1370
- .smart-tooltip .smart-editor-context-menu-item-container .smart-editor-context-menu-item[value=deleteLink]::before {
1371
- content: var(--smart-icon-delete);
1372
- }
1373
- .smart-tooltip .smart-editor-context-menu-item-container .smart-editor-context-menu-item[value=createLink]::before {
1374
- content: var(--smart-icon-link);
1375
- }
1376
- .smart-tooltip .smart-editor-context-menu-item-container .smart-editor-context-menu-item[value=deleteLink]::before {
1377
- content: var(--smart-icon-unlink);
1378
- }
1379
- .smart-tooltip .smart-editor-context-menu-item-container .smart-editor-context-menu-item[value=caption]::before {
1380
- content: var(--smart-icon-format-clear);
1381
- }
1382
- .smart-tooltip .smart-editor-context-menu-item-container .smart-editor-context-menu-item[value=selectAll]::before {
1383
- content: var(--smart-icon-group);
1384
- }
1385
- .smart-tooltip .smart-editor-context-menu-item-container .smart-editor-context-menu-item[value=cut]::before {
1386
- content: var(--smart-icon-cut);
1387
- transform: rotate(-90deg);
1388
- }
1389
- .smart-tooltip .smart-editor-context-menu-item-container .smart-editor-context-menu-item[value=copy]::before {
1390
- content: var(--smart-icon-copy-record);
1391
- }
1392
- .smart-tooltip .smart-editor-context-menu-item-container .smart-editor-context-menu-item[value=paste]::before {
1393
- content: var(--smart-icon-paste);
1394
- }
1395
- .smart-tooltip .smart-editor-context-menu-item-container .smart-editor-context-menu-item:hover {
1396
- background: var(--smart-ui-state-hover);
1397
- color: var(--smart-ui-state-color-hover);
1398
- }
1399
- .smart-tooltip .smart-editor-context-menu-item-container .smart-editor-context-menu-item[selected] {
1400
- background-color: var(--smart-ui-state-selected);
1401
- border-color: var(--smart-ui-state-border-selected);
1402
- color: var(--smart-ui-state-color-selected);
1403
- }
1404
- .smart-tooltip .smart-editor-context-menu-item-container .smart-editor-context-menu-item[disabled] {
1405
- opacity: 0.55;
1406
- cursor: default;
1407
- pointer-events: none;
1408
- }
1409
-
1410
- .smart-editor-drop-down-toolbar:not([animation=none]) {
1411
- animation: smart-drop-down-list-smart-animate-closing 0.2s ease-in;
1412
- transition: animation 0.2s ease-in, opacity 0.2s ease-in, visibility 0.2s ease-in;
1413
- }
1414
- .smart-editor-drop-down-toolbar:not([animation=none])[visible] {
1415
- animation: smart-drop-down-list-smart-animate-opening 0.2s ease-out;
1416
- transition: animation 0.2s ease-out, opacity 0.2s ease-out, visibility 0.2s ease-out;
1417
- }
1418
- .smart-editor-drop-down-toolbar:not([arrow-direction]), .smart-editor-drop-down-toolbar[arrow-direction=bottom] {
1419
- -webkit-transform-origin: bottom;
1420
- transform-origin: bottom;
1421
- }
1422
- .smart-editor-drop-down-toolbar:not([arrow]), .smart-editor-drop-down-toolbar[arrow-direction=top] {
1423
- -webkit-transform-origin: top;
1424
- transform-origin: top;
1425
- }
1426
- .smart-editor-drop-down-toolbar .smart-table-picker {
1427
- overflow: hidden;
1428
- display: block;
1429
- background: transparent;
1430
- }
1431
- .smart-editor-drop-down-toolbar .smart-table-picker .smart-table-picker-grid {
1432
- width: 100%;
1433
- display: flex;
1434
- flex-direction: column;
1435
- align-items: center;
1436
- }
1437
- .smart-editor-drop-down-toolbar .smart-table-picker .smart-table-picker-grid::before {
1438
- content: attr(value);
1439
- display: flex;
1440
- width: 100%;
1441
- justify-content: center;
1442
- align-items: center;
1443
- padding: 0.2rem 16px;
1444
- box-sizing: border-box;
1445
- }
1446
- .smart-editor-drop-down-toolbar .smart-table-picker .smart-table-picker-grid > div {
1447
- display: flex;
1448
- }
1449
- .smart-editor-drop-down-toolbar .smart-table-picker .smart-table-picker-cell {
1450
- width: 15px;
1451
- height: 15px;
1452
- border: var(--smart-border-width) solid var(--smart-border);
1453
- margin: 2px;
1454
- cursor: pointer;
1455
- }
1456
- .smart-editor-drop-down-toolbar .smart-table-picker .smart-table-picker-cell[selected] {
1457
- border-color: var(--smart-primary);
1458
- background: var(--smart-primary);
1459
- }
1460
- .smart-editor-drop-down-toolbar .smart-table-picker .smart-table-picker-separator {
1461
- width: 100%;
1462
- height: var(--smart-border-width);
1463
- background: var(--smart-border);
1464
- margin: 10px 0;
1465
- }
1466
- .smart-editor-drop-down-toolbar .smart-table-picker .smart-table-picker-button {
1467
- width: 100%;
1468
- background: transparent;
1469
- border: initial;
1470
- }
1471
- .smart-editor-drop-down-toolbar .smart-table-picker .smart-table-picker-button button::before {
1472
- font-size: var(--smart-font-size);
1473
- font-family: var(--smart-font-family-icon);
1474
- content: var(--smart-icon-table);
1475
- margin-right: 10px;
1476
- box-sizing: border-box;
1477
- }
1478
-
1479
- /* .smart-editor */
1480
- .smart-editor[right-to-left] .smart-editor-toolbar:not(.smart-tooltip) {
1481
- grid-template-areas: "toggleButton primary" "secondary secondary";
1482
- grid-template-columns: auto minmax(0, 1fr);
1483
- }
1484
- .smart-editor[right-to-left] .smart-editor-toolbar:not(.smart-tooltip) .smart-editor-toolbar-item {
1485
- margin-left: initial;
1486
- margin-right: var(--smart-editor-toolbar-item-margin);
1487
- }
1488
- .smart-editor[right-to-left] .smart-editor-content-container,
1489
- .smart-editor[right-to-left] .smart-editor-toolbar-items-primary,
1490
- .smart-editor[right-to-left] .smart-editor-toolbar-items-secondary,
1491
- .smart-editor[right-to-left] .smart-editor-toolbar-item[item-type=drop-down],
1492
- .smart-editor[right-to-left] .smart-editor-toolbar-item[item-type=color-input] {
1493
- direction: rtl;
1494
- }
1495
- .smart-editor[right-to-left] .smart-editor-resize-frame span {
1496
- transform: translate(50%, -50%);
1497
- }
1498
- .smart-editor[right-to-left] .smart-editor-resize-frame span[position=top-left], .smart-editor[right-to-left] .smart-editor-resize-frame span[position=bottom-right] {
1499
- cursor: sw-resize;
1500
- }
1501
- .smart-editor[right-to-left] .smart-editor-resize-frame span[position=top-right], .smart-editor[right-to-left] .smart-editor-resize-frame span[position=bottom-left] {
1502
- cursor: se-resize;
1503
- }
1504
-
1505
- /* --- Editor Input Drop Down --- */
1506
- .smart-editor-input[right-to-left] li .editor-icon::before {
1507
- right: 0;
1508
- left: initial;
1509
- }
1510
-
1511
- /* --- Editor Tooltip --- */
1512
- .smart-tooltip.smart-editor-toolbar[right-to-left]:not(.smart-editor-drop-down-toolbar) .smart-editor-toolbar-item:not(:first-of-type) {
1513
- margin-left: initial;
1514
- margin-right: var(--smart-editor-toolbar-item-margin);
1515
- }
1516
-
1517
- .smart-editor-drop-down-toolbar .smart-table-picker[right-to-left] .smart-table-picker-grid {
1518
- direction: rtl;
1519
- }
1520
- .smart-editor-drop-down-toolbar .smart-table-picker[right-to-left] .smart-table-picker-button > button.smart-button {
1521
- display: flex;
1522
- align-items: center;
1523
- justify-content: center;
1524
- }
1525
- .smart-editor-drop-down-toolbar .smart-table-picker[right-to-left] .smart-table-picker-button > button.smart-button::before {
1526
- margin-right: initial;
1527
- margin-left: 10px;
1
+ /* .smart-editor */
2
+ /* --- Scheduler Style Color Input --- */
3
+ .smart-editor .smart-editor-content-container .smart-editor-editable, .smart-editor .smart-editor-content-container textarea {
4
+ width: 100%;
5
+ height: 100%;
6
+ outline: none;
7
+ padding: var(--smart-editor-padding);
8
+ background: transparent;
9
+ }
10
+
11
+ .smart-editor-toolbar-item[item-type=delimiter], .smart-editor-toolbar-item[item-type=drop-down], .smart-editor-toolbar-item[item-type=color-input], .smart-editor-toolbar-item[item-type=button], .smart-editor-toolbar-item[item-type=toggle] {
12
+ position: relative;
13
+ height: var(--smart-editor-toolbar-item-height);
14
+ outline: none;
15
+ }
16
+
17
+ .smart-editor-toolbar-item[item-type=delimiter]::before, .smart-editor-toolbar-item[item-name=alignment]::before, .smart-editor-toolbar-item[item-name=clearformat]::after, .smart-editor-toolbar-item:not([item-type=drop-down])::before, .smart-editor-toolbar-item[item-type=color-input] .smart-editor-item-drop-down-button::before, .smart-editor-toolbar-item[item-type=drop-down]:after {
18
+ font-size: var(--smart-font-size);
19
+ font-family: var(--smart-font-family-icon);
20
+ display: flex;
21
+ align-items: center;
22
+ justify-content: center;
23
+ width: 100%;
24
+ min-width: var(--smart-editor-addon-width);
25
+ height: 100%;
26
+ box-sizing: border-box;
27
+ pointer-events: none;
28
+ }
29
+
30
+ .smart-editor-toolbar-item[item-type=color-input] .smart-editor-item-drop-down-button::before, .smart-editor-toolbar-item[item-type=drop-down]:after {
31
+ content: var(--smart-icon-arrow-down);
32
+ width: var(--smart-editor-addon-width);
33
+ min-width: var(--smart-editor-addon-width);
34
+ }
35
+
36
+ .smart-editor-toolbar-item[item-type=drop-down]:before {
37
+ font-size: var(--smart-font-size);
38
+ font-family: var(--smart-font-family-icon);
39
+ overflow: hidden;
40
+ text-overflow: ellipsis;
41
+ white-space: nowrap;
42
+ content: attr(item-value);
43
+ width: calc(100% - 30px);
44
+ padding: var(--smart-editor-label-padding);
45
+ padding-top: initial;
46
+ padding-right: initial;
47
+ padding-bottom: initial;
48
+ text-align: center;
49
+ }
50
+
51
+ [disabled].smart-editor-toolbar-item {
52
+ -moz-user-select: none;
53
+ -ms-user-select: none;
54
+ -webkit-user-select: none;
55
+ user-select: none;
56
+ opacity: 0.55;
57
+ cursor: default;
58
+ pointer-events: none;
59
+ }
60
+
61
+ .smart-editor {
62
+ display: block;
63
+ width: var(--smart-editor-default-width);
64
+ height: var(--smart-editor-default-height);
65
+ min-height: var(--smart-editor-input-min-height);
66
+ border: var(--smart-border-width) solid var(--smart-border);
67
+ border-radius: var(--smart-border-radius);
68
+ contain: content;
69
+ }
70
+ .smart-editor.smart-editor-iframe-body {
71
+ margin: initial;
72
+ border: initial;
73
+ min-height: initial;
74
+ border-radius: initial;
75
+ width: 100%;
76
+ height: 100%;
77
+ }
78
+ .smart-editor.smart-editor-iframe-body table {
79
+ font-size: var(--smart-font-size);
80
+ font-weight: var(--smart-font-weight);
81
+ }
82
+ .smart-editor.smart-editor-iframe-body * {
83
+ box-sizing: border-box;
84
+ }
85
+ .smart-editor > .smart-container {
86
+ display: grid;
87
+ grid-template-columns: 100%;
88
+ grid-template-rows: auto minmax(0, 1fr);
89
+ position: relative;
90
+ min-height: inherit;
91
+ }
92
+ .smart-editor .smart-toast-container.smart-toast-container-custom {
93
+ position: absolute;
94
+ top: 0;
95
+ right: 0;
96
+ height: auto;
97
+ max-height: 100%;
98
+ }
99
+ .smart-editor.full-screen-mode {
100
+ min-width: 100%;
101
+ max-width: 100%;
102
+ min-height: 100%;
103
+ max-height: 100%;
104
+ position: fixed !important;
105
+ left: 0 !important;
106
+ right: 0 !important;
107
+ top: 0 !important;
108
+ z-index: calc(var(--smart-editor-drop-down-z-index) - 1);
109
+ }
110
+ .smart-editor[readonly] .smart-editor-toolbar-items-primary,
111
+ .smart-editor[readonly] .smart-editor-toolbar-items-secondary {
112
+ pointer-events: none;
113
+ }
114
+ .smart-editor[toolbar-mode=singleLineRibbon] .smart-editor-toolbar[toolbar-tab-selected]:not([expanded]) .smart-editor-toolbar-toggle-button::before {
115
+ content: var(--smart-icon-window-pin);
116
+ }
117
+ .smart-editor[toolbar-mode=singleLineRibbon] .smart-editor-toolbar-tab-selection-bar {
118
+ position: absolute;
119
+ bottom: 0;
120
+ height: calc(2 * var(--smart-border-width));
121
+ background-color: var(--smart-primary);
122
+ transform: scaleX(1);
123
+ }
124
+ .smart-editor[toolbar-mode=singleLineRibbon] .smart-editor-toolbar-tab-selection-bar.smart-visibility-hidden {
125
+ transform: scaleX(0);
126
+ }
127
+ .smart-editor[toolbar-mode=singleLineRibbon] .smart-editor-toolbar-items-primary {
128
+ position: relative;
129
+ }
130
+ .smart-editor[toolbar-mode=singleLineRibbon] .smart-editor-toolbar[expanded] .smart-editor-toolbar-items-primary,
131
+ .smart-editor[toolbar-mode=singleLineRibbon] .smart-editor-toolbar[expanded] .smart-editor-toolbar-toggle-button {
132
+ border-bottom: var(--smart-border-width) solid var(--smart-border);
133
+ }
134
+ .smart-editor[toolbar-mode=singleLineRibbon] .smart-editor-toolbar:not(.smart-tooltip) .smart-editor-toolbar-items-secondary .smart-editor-toolbar-item {
135
+ margin-left: initial;
136
+ }
137
+ .smart-editor[toolbar-mode=singleLineRibbon] .smart-editor-toolbar-items-secondary {
138
+ background-color: var(--smart-background);
139
+ padding-bottom: initial;
140
+ flex-wrap: initial;
141
+ }
142
+ .smart-editor[toolbar-mode=singleLineRibbon] .smart-editor-toolbar-items-secondary.smart-drop-down {
143
+ border-bottom: var(--smart-border-width) solid var(--smart-border);
144
+ box-shadow: var(--smart-elevation-4);
145
+ overflow: hidden;
146
+ }
147
+ .smart-editor[toolbar-mode=singleLineRibbon] .smart-editor-toolbar-items-secondary .smart-editor-toolbar-item {
148
+ margin-bottom: var(--smart-editor-toolbar-item-margin);
149
+ }
150
+ .smart-editor[toolbar-mode=singleLineRibbon] .smart-editor-toolbar-items-secondary .smart-editor-toolbar-item:not(:last-of-type) {
151
+ margin-right: var(--smart-editor-toolbar-item-margin);
152
+ }
153
+ .smart-editor[toolbar-mode=singleLineRibbon] .smart-editor-toolbar-tab {
154
+ -moz-user-select: none;
155
+ -ms-user-select: none;
156
+ -webkit-user-select: none;
157
+ user-select: none;
158
+ padding: var(--smart-tab-item-padding);
159
+ }
160
+ .smart-editor[toolbar-mode=singleLineRibbon] .smart-editor-toolbar-tab:not([disabled]) {
161
+ cursor: pointer;
162
+ }
163
+ .smart-editor[toolbar-mode=singleLineRibbon] .smart-editor-toolbar .smart-editor-toolbar-tab-group {
164
+ padding-top: initial;
165
+ }
166
+ .smart-editor[toolbar-mode=singleLineRibbon] .smart-editor-toolbar-tab-group {
167
+ position: relative;
168
+ display: flex;
169
+ align-items: center;
170
+ flex-wrap: wrap;
171
+ height: 100%;
172
+ padding: var(--smart-editor-toolbar-item-margin);
173
+ padding-bottom: initial;
174
+ }
175
+ .smart-editor[toolbar-mode=singleLineRibbon] .smart-editor-toolbar-tab-group:not(:first-of-type) {
176
+ border-left: var(--smart-border-width) solid var(--smart-border);
177
+ }
178
+ .smart-editor[toolbar-view-mode=multiRow] .smart-editor-toolbar, .smart-editor[toolbar-view-mode=scroll] .smart-editor-toolbar {
179
+ grid-template-areas: "primary primary" "secondary secondary ";
180
+ }
181
+ .smart-editor[toolbar-view-mode=multiRow] .smart-editor-toolbar .smart-editor-toolbar-toggle-button, .smart-editor[toolbar-view-mode=scroll] .smart-editor-toolbar .smart-editor-toolbar-toggle-button {
182
+ display: none;
183
+ }
184
+ .smart-editor[toolbar-view-mode=multiRow] .smart-editor-toolbar-items-primary, .smart-editor[toolbar-view-mode=scroll] .smart-editor-toolbar-items-primary {
185
+ padding: 0 5px 5px 0;
186
+ }
187
+ .smart-editor[toolbar-view-mode=multiRow] .smart-editor-toolbar-items-primary .smart-editor-toolbar-item, .smart-editor[toolbar-view-mode=scroll] .smart-editor-toolbar-items-primary .smart-editor-toolbar-item {
188
+ margin-bottom: initial;
189
+ }
190
+ .smart-editor[toolbar-view-mode=multiRow] > .smart-container {
191
+ grid-template-rows: auto minmax(0, 1fr);
192
+ }
193
+ .smart-editor[toolbar-view-mode=multiRow] .smart-editor-toolbar .smart-editor-toolbar-items-primary {
194
+ height: auto;
195
+ }
196
+ .smart-editor[toolbar-view-mode=scroll] > .smart-container {
197
+ grid-template-rows: auto minmax(0, 1fr);
198
+ }
199
+ .smart-editor[toolbar-view-mode=scroll] .smart-editor-toolbar-items-primary {
200
+ overflow-y: auto;
201
+ }
202
+ .smart-editor:not([animation=none]) .smart-editor-toolbar-tab-selection-bar {
203
+ transition: width 0.2s cubic-bezier(0.35, 0, 0.25, 1), left 0.2s cubic-bezier(0.35, 0, 0.25, 1), visibility 0.2s cubic-bezier(0.35, 0, 0.25, 1), transform 0.2s cubic-bezier(0.35, 0, 0.25, 1);
204
+ }
205
+ .smart-editor:not([animation=none]) .smart-editor-search-bar, .smart-editor:not([animation=none])[toolbar-mode=singleLineRibbon] .smart-editor-toolbar-items-secondary {
206
+ animation: smart-drop-down-list-smart-animate-opening 0.2s ease-out;
207
+ transition: animation 0.2s ease-out, opacity 0.2s ease-out, visibility 0.2s ease-out;
208
+ -webkit-transform-origin: top;
209
+ transform-origin: top;
210
+ }
211
+ .smart-editor:not([animation=none]) .smart-editor-search-bar.smart-visibility-hidden, .smart-editor:not([animation=none])[toolbar-mode=singleLineRibbon] .smart-editor-toolbar-items-secondary.smart-visibility-hidden {
212
+ animation: smart-drop-down-list-smart-animate-closing 0.2s ease-in;
213
+ transition: animation 0.2s ease-in, opacity 0.2s ease-in, visibility 0.2s ease-in;
214
+ }
215
+ .smart-editor:not([animation=none]) .smart-editor-toolbar:not(.smart-tooltip),
216
+ .smart-editor:not([animation=none]) .smart-editor-content-container {
217
+ transition: height 0.2s ease-in-out;
218
+ }
219
+ .smart-editor:not([animation=none]) .smart-editor-toolbar-item,
220
+ .smart-editor:not([animation=none]) .smart-editor-toolbar-toggle-button {
221
+ transition: background-color 0.2ms linear, border-color 0.2ms ease-in-out, color 0.2ms linear, box-shadow 0.2s ease-in-out;
222
+ }
223
+ .smart-editor:not([animation=none]) .smart-editor-toolbar-toggle-button::before {
224
+ transition: transform 0.2s ease-in-out;
225
+ }
226
+ .smart-editor[edit-mode=markdown] .smart-editor-toolbar-item[item-name=alignment], .smart-editor[edit-mode=markdown] .smart-editor-toolbar-item[item-name=indent], .smart-editor[edit-mode=markdown] .smart-editor-toolbar-item[item-name=outdent], .smart-editor[edit-mode=markdown] .smart-editor-toolbar-item[item-name=lowercase], .smart-editor[edit-mode=markdown] .smart-editor-toolbar-item[item-name=uppercase], .smart-editor[edit-mode=markdown] .smart-editor-toolbar-item[item-name=removelink] {
227
+ -moz-user-select: none;
228
+ -ms-user-select: none;
229
+ -webkit-user-select: none;
230
+ user-select: none;
231
+ opacity: 0.55;
232
+ cursor: default;
233
+ pointer-events: none;
234
+ }
235
+ .smart-editor.preview-mode .smart-editor-toolbar-item:not([item-name=print]):not([item-name=sourcecode]):not([item-name=fullscreen]):not([item-name=splitmode]) {
236
+ -moz-user-select: none;
237
+ -ms-user-select: none;
238
+ -webkit-user-select: none;
239
+ user-select: none;
240
+ opacity: 0.55;
241
+ cursor: default;
242
+ pointer-events: none;
243
+ }
244
+ .smart-editor[hide-toolbar] > .smart-container {
245
+ grid-template-rows: minmax(auto, 1fr);
246
+ }
247
+ .smart-editor[hide-toolbar] .smart-editor-toolbar:not(.smart-tooltip) {
248
+ display: none;
249
+ }
250
+ .smart-editor .smart-editor-toolbar:not(.smart-tooltip) {
251
+ width: 100%;
252
+ height: 100%;
253
+ border-bottom: var(--smart-border-width) solid var(--smart-border);
254
+ background: var(--smart-surface);
255
+ display: grid;
256
+ grid-template-areas: "primary toggleButton" "secondary secondary ";
257
+ grid-template-columns: minmax(0, 1fr) auto;
258
+ overflow: hidden;
259
+ position: relative;
260
+ }
261
+ .smart-editor .smart-editor-toolbar:not(.smart-tooltip)[expanded] .smart-editor-toolbar-toggle-button::before {
262
+ transform: rotate(180deg);
263
+ }
264
+ .smart-editor .smart-editor-toolbar:not(.smart-tooltip) .smart-editor-toolbar-item {
265
+ margin-left: var(--smart-editor-toolbar-item-margin);
266
+ margin-top: var(--smart-editor-toolbar-item-margin);
267
+ }
268
+ .smart-editor[toolbar-sticky] .smart-editor-toolbar {
269
+ position: sticky;
270
+ top: 0;
271
+ z-index: calc(var(--smart-editor-drop-down-z-index) - 1);
272
+ }
273
+ .smart-editor[edit-mode=markdown] .smart-editor-toolbar-item[item-name=sourcecode]::before {
274
+ content: var(--smart-icon-visibility);
275
+ }
276
+ .smart-editor .smart-editor-toolbar-toggle-button {
277
+ grid-area: toggleButton;
278
+ width: var(--smart-editor-toolbar-button-width);
279
+ height: var(--smart-editor-toolbar-height);
280
+ position: relative;
281
+ cursor: pointer;
282
+ }
283
+ .smart-editor .smart-editor-toolbar-toggle-button::before {
284
+ font-size: var(--smart-font-size);
285
+ font-family: var(--smart-font-family-icon);
286
+ display: flex;
287
+ align-items: center;
288
+ justify-content: center;
289
+ height: 100%;
290
+ box-sizing: border-box;
291
+ pointer-events: none;
292
+ content: var(--smart-icon-arrow-down);
293
+ width: var(--smart-editor-addon-width);
294
+ min-width: var(--smart-editor-addon-width);
295
+ }
296
+ .smart-editor .smart-editor-toolbar-items-primary {
297
+ grid-area: primary;
298
+ height: var(--smart-editor-toolbar-height);
299
+ overflow: hidden;
300
+ }
301
+ .smart-editor .smart-editor-toolbar-items-primary .smart-editor-toolbar-item {
302
+ margin-bottom: var(--smart-editor-toolbar-item-margin);
303
+ }
304
+ .smart-editor .smart-editor-toolbar-items-secondary {
305
+ grid-area: secondary;
306
+ padding-bottom: var(--smart-editor-toolbar-item-margin);
307
+ }
308
+ .smart-editor .smart-editor-toolbar-items-secondary:empty {
309
+ display: none;
310
+ }
311
+ .smart-editor .smart-editor-toolbar-items-primary,
312
+ .smart-editor .smart-editor-toolbar-items-secondary {
313
+ width: 100%;
314
+ display: flex;
315
+ align-items: center;
316
+ flex-wrap: wrap;
317
+ }
318
+ .smart-editor iframe {
319
+ width: 100%;
320
+ height: 100%;
321
+ min-height: var(--smart-editor-input-min-height);
322
+ border: initial;
323
+ }
324
+ .smart-editor .smart-editor-content-container {
325
+ display: grid;
326
+ width: 100%;
327
+ height: 100%;
328
+ position: relative;
329
+ overflow: hidden;
330
+ outline: none;
331
+ background: transparent;
332
+ }
333
+ .smart-editor .smart-editor-content-container[split-mode] {
334
+ display: grid;
335
+ grid-template-columns: minmax(0, 1fr) var(--smart-border-width) minmax(0, 1fr);
336
+ grid-template-rows: 100%;
337
+ grid-column-gap: 2px;
338
+ }
339
+ .smart-editor .smart-editor-content-container[split-mode] .smart-editor-editable {
340
+ order: 1;
341
+ }
342
+ .smart-editor .smart-editor-content-container[split-mode]::before {
343
+ content: "";
344
+ width: 100%;
345
+ height: 100%;
346
+ background-color: var(--smart-border);
347
+ order: 2;
348
+ }
349
+ .smart-editor .smart-editor-content-container[split-mode] textarea {
350
+ order: 3;
351
+ }
352
+ .smart-editor .smart-editor-content-container textarea {
353
+ resize: none;
354
+ outline: none;
355
+ border: initial;
356
+ min-height: var(--smart-editor-input-min-height);
357
+ font-size: inherit;
358
+ font-family: inherit;
359
+ color: inherit;
360
+ }
361
+ .smart-editor .smart-editor-content-container .smart-editor-editable {
362
+ min-height: var(--smart-editor-input-min-height);
363
+ overflow: auto;
364
+ }
365
+ .smart-editor .smart-editor-content-container .smart-editor-editable[show-placeholder]::before {
366
+ content: attr(placeholder);
367
+ width: 100%;
368
+ height: 100%;
369
+ position: absolute;
370
+ pointer-events: none;
371
+ color: var(--smart-disabled-color);
372
+ opacity: 0.9;
373
+ font-family: inherit;
374
+ font-size: inherit;
375
+ }
376
+ .smart-editor .smart-editor-content-container .smart-editor-editable p:first-child {
377
+ margin-top: 0;
378
+ }
379
+ .smart-editor .smart-editor-content-container .smart-editor-editable p:last-child {
380
+ margin-bottom: 0;
381
+ }
382
+ .smart-editor .smart-editor-content-container .smart-editor-editable ul[checklist] li {
383
+ list-style: none;
384
+ }
385
+ .smart-editor .smart-editor-content-container .smart-editor-editable ul[checklist] li::before {
386
+ border-radius: 3px;
387
+ top: 3.5px;
388
+ width: 12px;
389
+ height: 12px;
390
+ display: inline-block;
391
+ content: "";
392
+ margin-right: 5px;
393
+ position: relative;
394
+ border: 2px solid rgba(0, 0, 0, 0.25);
395
+ }
396
+ .smart-editor .smart-editor-content-container .smart-editor-editable ul[checklist] li[checked]::before {
397
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16' style='shape-rendering: geometricprecision;'%3E%3Cpath fill-rule='evenodd' fill='white' d='M5.944 12.305a1.031 1.031 0 0 0 1.433-.009l5.272-5.181A1.483 1.483 0 0 0 12.661 5a1.468 1.468 0 0 0-2.109.025L7.008 8.701a.465.465 0 0 1-.685-.01l-.587-.641A1.42 1.42 0 0 0 3.661 8a1.473 1.473 0 0 0 .017 2.106l2.266 2.199z'%3E%3C/path%3E%3C/svg%3E");
398
+ background-color: var(--smart-primary);
399
+ border: 2px solid transparent;
400
+ }
401
+ .smart-editor .smart-editor-content-container .smart-editor-editable a {
402
+ display: inline-block;
403
+ }
404
+ .smart-editor .smart-editor-content-container .smart-editor-editable [alignment=left] {
405
+ text-align: left;
406
+ }
407
+ .smart-editor .smart-editor-content-container .smart-editor-editable [alignment=center] {
408
+ text-align: center;
409
+ }
410
+ .smart-editor .smart-editor-content-container .smart-editor-editable [alignment=right] {
411
+ text-align: right;
412
+ }
413
+ .smart-editor .smart-editor-content-container .smart-editor-editable [alignment=justify] {
414
+ text-align: justify;
415
+ }
416
+ .smart-editor .smart-editor-content-container .smart-editor-editable[table-cell-resize=horizontal] {
417
+ cursor: col-resize;
418
+ }
419
+ .smart-editor .smart-editor-content-container .smart-editor-editable[table-cell-resize=horizontal] table {
420
+ overflow: hidden;
421
+ }
422
+ .smart-editor .smart-editor-content-container .smart-editor-editable[table-cell-resize=horizontal] th[resizing],
423
+ .smart-editor .smart-editor-content-container .smart-editor-editable[table-cell-resize=horizontal] td[resizing] {
424
+ position: relative;
425
+ }
426
+ .smart-editor .smart-editor-content-container .smart-editor-editable[table-cell-resize=horizontal] th[resizing]::after,
427
+ .smart-editor .smart-editor-content-container .smart-editor-editable[table-cell-resize=horizontal] td[resizing]::after {
428
+ content: "";
429
+ position: absolute;
430
+ right: 0;
431
+ display: flex;
432
+ width: var(--smart-border-width);
433
+ height: 100%;
434
+ transform: scaleY(100);
435
+ background-color: var(--smart-primary);
436
+ }
437
+ .smart-editor .smart-editor-content-container .smart-editor-editable[table-cell-resize=vertical] {
438
+ cursor: row-resize;
439
+ }
440
+ .smart-editor .smart-editor-content-container .smart-editor-editable[table-cell-resize=vertical] tr[resizing] > th,
441
+ .smart-editor .smart-editor-content-container .smart-editor-editable[table-cell-resize=vertical] tr[resizing] > td {
442
+ border-bottom-color: var(--smart-primary);
443
+ }
444
+ .smart-editor .smart-editor-content-container .smart-editor-editable[contenteditable=true] img {
445
+ cursor: pointer;
446
+ }
447
+ .smart-editor .smart-editor-content-container .smart-editor-editable font:empty {
448
+ min-width: 1px;
449
+ min-height: 1px;
450
+ display: inline-block;
451
+ }
452
+ .smart-editor .smart-editor-content-container .smart-editor-editable font:empty::before {
453
+ content: "a";
454
+ opacity: 0;
455
+ }
456
+ .smart-editor .smart-editor-content-container .smart-editor-editable pre {
457
+ padding: 10px;
458
+ background: var(--smart-surface);
459
+ }
460
+ .smart-editor .smart-editor-content-container .smart-editor-editable blockquote {
461
+ border-left: calc(2 * var(--smart-border-width)) solid var(--smart-border);
462
+ padding: 20px 10px;
463
+ }
464
+ .smart-editor .smart-editor-content-container .smart-editor-editable .find-and-replace-match {
465
+ background-color: var(--smart-editor-highlight);
466
+ opacity: 0.75;
467
+ color: var(--smart-editor-highlight-color);
468
+ }
469
+ .smart-editor .smart-editor-content-container .smart-editor-editable .find-and-replace-match.selected {
470
+ background-color: var(--smart-editor-highlight);
471
+ opacity: 1;
472
+ }
473
+ .smart-editor .smart-editor-content-container img,
474
+ .smart-editor .smart-editor-content-container .smart-editor-video-container video,
475
+ .smart-editor .smart-editor-content-container .smart-editor-video-container iframe {
476
+ float: initial;
477
+ vertical-align: initial;
478
+ margin: auto;
479
+ min-width: 10px;
480
+ min-height: 10px;
481
+ }
482
+ .smart-editor .smart-editor-content-container img[display=block],
483
+ .smart-editor .smart-editor-content-container .smart-editor-video-container video[display=block],
484
+ .smart-editor .smart-editor-content-container .smart-editor-video-container iframe[display=block] {
485
+ display: block;
486
+ }
487
+ .smart-editor .smart-editor-content-container img[display=block][alignment=left],
488
+ .smart-editor .smart-editor-content-container .smart-editor-video-container video[display=block][alignment=left],
489
+ .smart-editor .smart-editor-content-container .smart-editor-video-container iframe[display=block][alignment=left] {
490
+ margin-left: 0;
491
+ }
492
+ .smart-editor .smart-editor-content-container img[display=block][alignment=right],
493
+ .smart-editor .smart-editor-content-container .smart-editor-video-container video[display=block][alignment=right],
494
+ .smart-editor .smart-editor-content-container .smart-editor-video-container iframe[display=block][alignment=right] {
495
+ margin-right: 0;
496
+ }
497
+ .smart-editor .smart-editor-content-container img[show-resize-frame],
498
+ .smart-editor .smart-editor-content-container .smart-editor-video-container video[show-resize-frame],
499
+ .smart-editor .smart-editor-content-container .smart-editor-video-container iframe[show-resize-frame] {
500
+ box-shadow: 0 0 0 var(--smart-border-width) var(--smart-primary);
501
+ }
502
+ .smart-editor .smart-editor-content-container img:not([display=block])[alignment=left],
503
+ .smart-editor .smart-editor-content-container .smart-editor-video-container video:not([display=block])[alignment=left],
504
+ .smart-editor .smart-editor-content-container .smart-editor-video-container iframe:not([display=block])[alignment=left] {
505
+ float: left;
506
+ }
507
+ .smart-editor .smart-editor-content-container img:not([display=block])[alignment=right],
508
+ .smart-editor .smart-editor-content-container .smart-editor-video-container video:not([display=block])[alignment=right],
509
+ .smart-editor .smart-editor-content-container .smart-editor-video-container iframe:not([display=block])[alignment=right] {
510
+ float: right;
511
+ }
512
+ .smart-editor .smart-editor-content-container .smart-editor-search-bar {
513
+ position: absolute;
514
+ top: var(--smart-editor-search-bar-offset);
515
+ right: var(--smart-editor-search-bar-offset);
516
+ padding: var(--smart-editor-search-bar-padding);
517
+ display: grid;
518
+ grid-template-columns: minmax(0, 1fr) repeat(3, auto);
519
+ grid-column-gap: 5px;
520
+ border: var(--smart-border-width) solid var(--smart-border);
521
+ box-shadow: var(--smart-elevation-4);
522
+ background: var(--smart-background);
523
+ border-top-left-radius: var(--smart-border-top-left-radius);
524
+ border-top-right-radius: var(--smart-border-top-right-radius);
525
+ border-bottom-left-radius: var(--smart-border-bottom-left-radius);
526
+ border-bottom-right-radius: var(--smart-border-bottom-right-radius);
527
+ }
528
+ .smart-editor .smart-editor-content-container .smart-editor-search-bar .smart-search-input-container {
529
+ width: var(--smart-text-box-default-width);
530
+ display: flex;
531
+ align-items: center;
532
+ }
533
+ .smart-editor .smart-editor-content-container .smart-editor-search-bar .smart-search-input-container::after {
534
+ content: attr(selected) "/" attr(matches);
535
+ margin: 0 var(--smart-editor-search-bar-offset);
536
+ }
537
+ .smart-editor .smart-editor-content-container .smart-editor-search-bar .smart-search-input {
538
+ height: 100%;
539
+ outline: none;
540
+ border: initial;
541
+ padding: var(--smart-editor-label-padding);
542
+ }
543
+ .smart-editor .smart-editor-content-container .smart-editor-search-bar .smart-search-input:focus {
544
+ border-color: var(--smart-outline);
545
+ }
546
+ .smart-editor .smart-editor-content-container .smart-editor-search-bar .smart-search-button {
547
+ --smart-button-padding: 0;
548
+ border: initial;
549
+ height: var(--smart-editor-toolbar-button-width);
550
+ width: var(--smart-editor-toolbar-button-width);
551
+ }
552
+ .smart-editor .smart-editor-content-container .smart-editor-search-bar .smart-search-button button::after {
553
+ font-size: var(--smart-font-size);
554
+ font-family: var(--smart-font-family-icon);
555
+ display: flex;
556
+ align-items: center;
557
+ justify-content: center;
558
+ box-sizing: border-box;
559
+ pointer-events: none;
560
+ }
561
+ .smart-editor .smart-editor-content-container .smart-editor-search-bar .smart-search-button.prev button::after {
562
+ content: var(--smart-icon-arrow-up);
563
+ }
564
+ .smart-editor .smart-editor-content-container .smart-editor-search-bar .smart-search-button.next button::after {
565
+ content: var(--smart-icon-arrow-down);
566
+ }
567
+ .smart-editor .smart-editor-content-container .smart-editor-search-bar .smart-search-button.close button::after {
568
+ content: var(--smart-icon-close);
569
+ }
570
+ .smart-editor[show-char-count] .smart-editor-content-container::after {
571
+ content: attr(char-count);
572
+ position: absolute;
573
+ display: flex;
574
+ justify-content: flex-end;
575
+ bottom: var(--smart-editor-char-counter-offset);
576
+ right: var(--smart-editor-char-counter-offset);
577
+ box-sizing: border-box;
578
+ background: var(--smart-background);
579
+ border-radius: var(--smart-border-radius);
580
+ background-clip: content-box;
581
+ -webkit-background-clip: content-box;
582
+ font-family: inherit;
583
+ font-size: inherit;
584
+ pointer-events: none;
585
+ -moz-user-select: none;
586
+ -ms-user-select: none;
587
+ -webkit-user-select: none;
588
+ user-select: none;
589
+ }
590
+ .smart-editor[show-char-count] .smart-editor-content-container.char-count-error::after {
591
+ color: var(--smart-error);
592
+ }
593
+ .smart-editor[show-char-count] .smart-editor-content-container.char-count-warning::after {
594
+ color: var(--smart-warning);
595
+ }
596
+ .smart-editor[edit-mode=markdown] .smart-editor-content-container[split-mode] .smart-editor-editable {
597
+ order: 3;
598
+ }
599
+ .smart-editor[edit-mode=markdown] .smart-editor-content-container[split-mode] textarea {
600
+ order: 1;
601
+ }
602
+ .smart-editor .smart-editor-resize-frame {
603
+ -moz-user-select: none;
604
+ -ms-user-select: none;
605
+ -webkit-user-select: none;
606
+ user-select: none;
607
+ position: absolute;
608
+ }
609
+ .smart-editor .smart-editor-resize-frame span {
610
+ cursor: pointer;
611
+ position: absolute;
612
+ width: 10px;
613
+ height: 10px;
614
+ background: var(--smart-primary);
615
+ transform: translate(-50%, -50%);
616
+ }
617
+ .smart-editor .smart-editor-resize-frame span[position=top-left], .smart-editor .smart-editor-resize-frame span[position=bottom-right] {
618
+ cursor: se-resize;
619
+ }
620
+ .smart-editor .smart-editor-resize-frame span[position=top-right], .smart-editor .smart-editor-resize-frame span[position=bottom-left] {
621
+ cursor: sw-resize;
622
+ }
623
+ .smart-editor .smart-editor-resize-frame span[position=top-center], .smart-editor .smart-editor-resize-frame span[position=bottom-center] {
624
+ cursor: ns-resize;
625
+ }
626
+ .smart-editor .smart-editor-resize-frame span[position=left-center], .smart-editor .smart-editor-resize-frame span[position=right-center] {
627
+ cursor: ew-resize;
628
+ }
629
+ .smart-editor .smart-editor-image-container {
630
+ display: inline-block;
631
+ }
632
+ .smart-editor .smart-editor-image-container.smart-editor-video-container {
633
+ position: relative;
634
+ }
635
+ .smart-editor .smart-editor-image-container.smart-editor-video-container .smart-editor-video-white-space {
636
+ position: absolute;
637
+ opacity: 0;
638
+ }
639
+ .smart-editor .smart-editor-image-container.smart-editor-video-container[dragged]::before {
640
+ content: "";
641
+ position: absolute;
642
+ width: 100%;
643
+ height: 100%;
644
+ top: 0;
645
+ left: 0;
646
+ }
647
+ .smart-editor .smart-editor-image-container.smart-editor-video-container video,
648
+ .smart-editor .smart-editor-image-container.smart-editor-video-container iframe {
649
+ width: 100%;
650
+ height: 100%;
651
+ }
652
+ .smart-editor .smart-editor-image-container.smart-editor-video-container > br[class] {
653
+ display: none;
654
+ }
655
+ .smart-editor .smart-editor-image-container.smart-editor-video-container::after {
656
+ content: var(--smart-icon-menu);
657
+ position: absolute;
658
+ font-family: var(--smart-font-family-icon);
659
+ font-size: var(--smart-font-size);
660
+ width: var(--smart-editor-toolbar-item-height);
661
+ height: var(--smart-editor-toolbar-item-height);
662
+ top: 0;
663
+ left: calc(50% - var(--smart-editor-toolbar-item-height) / 2);
664
+ background: var(--smart-background);
665
+ border-radius: 50%;
666
+ display: inline-flex;
667
+ align-items: center;
668
+ justify-content: center;
669
+ visibility: hidden;
670
+ transform-origin: top;
671
+ transform: scale(0) translateY(-100%);
672
+ transition: transform 0.2s ease-in-out, visibility 0.2s ease-in-out;
673
+ }
674
+ .smart-editor .smart-editor-image-container.smart-editor-video-container:hover::after {
675
+ visibility: visible;
676
+ transform: scale(1) translateY(25%);
677
+ }
678
+ .smart-editor .smart-editor-image-container[display=block] {
679
+ display: block;
680
+ }
681
+ .smart-editor .smart-editor-image-container[display=block][alignment=left] img {
682
+ margin-left: 0;
683
+ }
684
+ .smart-editor .smart-editor-image-container[display=block][alignment=left] .smart-editor-image-caption {
685
+ text-align: left;
686
+ }
687
+ .smart-editor .smart-editor-image-container[display=block][alignment=right] img {
688
+ margin-right: 0;
689
+ }
690
+ .smart-editor .smart-editor-image-container[display=block][alignment=right] .smart-editor-image-caption {
691
+ text-align: right;
692
+ }
693
+ .smart-editor .smart-editor-image-container:not([display=block])[alignment=left] {
694
+ float: left;
695
+ }
696
+ .smart-editor .smart-editor-image-container:not([display=block])[alignment=right] {
697
+ float: right;
698
+ }
699
+ .smart-editor .smart-editor-image-container .smart-editor-image-caption {
700
+ display: block;
701
+ text-align: center;
702
+ outline: none;
703
+ }
704
+ .smart-editor table {
705
+ width: 100%;
706
+ border-collapse: collapse;
707
+ empty-cells: show;
708
+ border-spacing: 0;
709
+ table-layout: fixed;
710
+ }
711
+ .smart-editor table td,
712
+ .smart-editor table th {
713
+ border: var(--smart-border-width) solid var(--smart-border);
714
+ width: var(--smart-editor-table-column-width);
715
+ min-height: var(--smart-editor-table-cell-min-height);
716
+ min-width: var(--smart-editor-table-cell-min-width);
717
+ padding: 2px 5px;
718
+ vertical-align: middle;
719
+ }
720
+ .smart-editor table img {
721
+ max-width: 100%;
722
+ }
723
+ .smart-editor table table {
724
+ width: 100%;
725
+ }
726
+ .smart-editor table th {
727
+ background: var(--smart-surface);
728
+ }
729
+ .smart-editor table th:empty::before,
730
+ .smart-editor table td:empty::before {
731
+ content: "A";
732
+ visibility: hidden;
733
+ }
734
+ .smart-editor table[dashed-borders] th, .smart-editor table[dashed-borders] td {
735
+ border-style: dashed;
736
+ }
737
+ .smart-editor table[alternation] tr:nth-child(2n) {
738
+ background-color: var(--smart-alternation-index0-background);
739
+ }
740
+ .smart-editor table [selected] {
741
+ box-shadow: 0 0 0 var(--smart-border-width) var(--smart-primary) inset;
742
+ }
743
+ .smart-editor[focus] .smart-editor-toolbar-item[item-type=button][checked] {
744
+ color: var(--smart-ui-state-color-active);
745
+ border-color: var(--smart-ui-state-border-active);
746
+ background-color: var(--smart-ui-state-active);
747
+ }
748
+
749
+ .smart-editor-toolbar-item {
750
+ overflow: hidden;
751
+ text-overflow: ellipsis;
752
+ white-space: nowrap;
753
+ position: relative;
754
+ border-radius: var(--smart-editor-toolbar-item-border-radius);
755
+ cursor: pointer;
756
+ }
757
+ .smart-editor-toolbar-item:not([item-type=custom]):hover {
758
+ color: var(--smart-ui-state-color-hover);
759
+ border-color: var(--smart-ui-state-border-hover);
760
+ background-color: var(--smart-ui-state-hover);
761
+ box-shadow: var(--smart-elevation-1);
762
+ }
763
+ .smart-editor-toolbar-item:not([item-type=custom]):not([item-type=color-input]):not([disabled]):active {
764
+ color: var(--smart-ui-state-color-active);
765
+ border-color: var(--smart-ui-state-border-active);
766
+ background-color: var(--smart-ui-state-active);
767
+ }
768
+ .smart-editor-toolbar-item[item-name=bold]::before {
769
+ content: var(--smart-icon-bold);
770
+ }
771
+ .smart-editor-toolbar-item[item-name=italic]::before {
772
+ content: var(--smart-icon-italic);
773
+ }
774
+ .smart-editor-toolbar-item[item-name=underline]::before {
775
+ content: var(--smart-icon-underline);
776
+ }
777
+ .smart-editor-toolbar-item[item-name=strikethrough]::before {
778
+ content: var(--smart-icon-strike-through);
779
+ }
780
+ .smart-editor-toolbar-item[item-name=caption]::before {
781
+ content: var(--smart-icon-format-clear);
782
+ }
783
+ .smart-editor-toolbar-item[item-name=orderedlist]::before {
784
+ content: var(--smart-icon-list-ordered);
785
+ }
786
+ .smart-editor-toolbar-item[item-name=unorderedlist]::before {
787
+ content: var(--smart-icon-list-unordered);
788
+ }
789
+ .smart-editor-toolbar-item[item-name=checklist]::before {
790
+ content: var(--smart-icon-list-check);
791
+ }
792
+ .smart-editor-toolbar-item[item-name=subscript]::before {
793
+ content: var(--smart-icon-subscript);
794
+ }
795
+ .smart-editor-toolbar-item[item-name=superscript]::before {
796
+ content: var(--smart-icon-superscript);
797
+ }
798
+ .smart-editor-toolbar-item .smart-editor-item-action-button[item-name=backgroundcolor]::before {
799
+ content: var(--smart-icon-color-background);
800
+ }
801
+ .smart-editor-toolbar-item .smart-editor-item-action-button[item-name=fontcolor]::before {
802
+ content: var(--smart-icon-font);
803
+ }
804
+ .smart-editor-toolbar-item[item-name=delete]::before {
805
+ content: var(--smart-icon-delete);
806
+ }
807
+ .smart-editor-toolbar-item[item-name=redo]::before {
808
+ content: var(--smart-icon-reload);
809
+ }
810
+ .smart-editor-toolbar-item[item-name=undo]::before {
811
+ content: var(--smart-icon-reload);
812
+ }
813
+ .smart-editor-toolbar-item[item-name=indent]::before {
814
+ content: var(--smart-icon-indent-left);
815
+ }
816
+ .smart-editor-toolbar-item[item-name=outdent]::before {
817
+ content: var(--smart-icon-indent-right);
818
+ }
819
+ .smart-editor-toolbar-item[item-name=createlink]::before {
820
+ content: var(--smart-icon-link);
821
+ }
822
+ .smart-editor-toolbar-item[item-name=removelink]::before {
823
+ content: var(--smart-icon-unlink);
824
+ }
825
+ .smart-editor-toolbar-item[item-name=hyperlink]::before {
826
+ content: var(--smart-icon-link);
827
+ }
828
+ .smart-editor-toolbar-item[item-name=openlink]::before {
829
+ content: var(--smart-icon-link-ext);
830
+ }
831
+ .smart-editor-toolbar-item[item-name=editlink]::before {
832
+ content: var(--smart-icon-mode-edit);
833
+ }
834
+ .smart-editor-toolbar-item[item-name=image]::before {
835
+ content: var(--smart-icon-image);
836
+ }
837
+ .smart-editor-toolbar-item[item-name=table]::before {
838
+ content: var(--smart-icon-table);
839
+ }
840
+ .smart-editor-toolbar-item[item-name=lowercase]::before {
841
+ content: var(--smart-icon-case-lower);
842
+ }
843
+ .smart-editor-toolbar-item[item-name=uppercase]::before {
844
+ content: var(--smart-icon-case-upper);
845
+ }
846
+ .smart-editor-toolbar-item[item-name=print]::before {
847
+ content: var(--smart-icon-print);
848
+ }
849
+ .smart-editor-toolbar-item[item-name=copy]::before {
850
+ content: var(--smart-icon-copy-record);
851
+ }
852
+ .smart-editor-toolbar-item[item-name=paste]::before {
853
+ content: var(--smart-icon-paste);
854
+ }
855
+ .smart-editor-toolbar-item[item-name=cut]::before {
856
+ content: var(--smart-icon-cut);
857
+ transform: rotate(-90deg);
858
+ }
859
+ .smart-editor-toolbar-item[item-name=clearformat]::before {
860
+ content: var(--smart-icon-format-clear);
861
+ }
862
+ .smart-editor-toolbar-item[item-name=fullscreen]::before {
863
+ content: var(--smart-icon-resize-full);
864
+ }
865
+ .smart-editor-toolbar-item[item-name=sourcecode]::before {
866
+ content: var(--smart-icon-source-code);
867
+ }
868
+ .smart-editor-toolbar-item[item-name=preview]::before {
869
+ content: var(--smart-icon-visibility);
870
+ }
871
+ .smart-editor-toolbar-item[item-name=splitmode]::before {
872
+ content: var(--smart-icon-split-mode);
873
+ }
874
+ .smart-editor-toolbar-item[item-name=tableheader]::before {
875
+ content: var(--smart-icon-header);
876
+ }
877
+ .smart-editor-toolbar-item[item-name=tablerows]::before {
878
+ content: var(--smart-icon-row);
879
+ }
880
+ .smart-editor-toolbar-item[item-name=tablecolumns]::before {
881
+ content: var(--smart-icon-column);
882
+ }
883
+ .smart-editor-toolbar-item[item-name=tablevalign]::before {
884
+ content: var(--smart-icon-vertical-align);
885
+ }
886
+ .smart-editor-toolbar-item[item-name=tablestyle]::before {
887
+ content: var(--smart-icon-styles);
888
+ }
889
+ .smart-editor-toolbar-item[item-name=findandreplace]::before {
890
+ content: var(--smart-icon-search);
891
+ }
892
+ .smart-editor-toolbar-item[item-name=video]::before {
893
+ content: var(--smart-icon-video);
894
+ }
895
+ .smart-editor-toolbar-item[item-name=redo]::before {
896
+ transform: scaleX(-1);
897
+ }
898
+ .smart-editor-toolbar-item[item-name=caption]::before {
899
+ font-weight: 600;
900
+ }
901
+ .smart-editor-toolbar-item[item-name=clearformat]::before {
902
+ font-style: italic;
903
+ font-weight: 600;
904
+ }
905
+ .smart-editor-toolbar-item[item-name=clearformat]::after {
906
+ content: "-";
907
+ position: absolute;
908
+ top: 0;
909
+ font-weight: 600;
910
+ transform: scaleX(1.5);
911
+ }
912
+ .smart-editor-toolbar-item[item-name=alignment][item-value=left]::before {
913
+ content: var(--smart-icon-align-left);
914
+ }
915
+ .smart-editor-toolbar-item[item-name=alignment][item-value=center]::before {
916
+ content: var(--smart-icon-align-center);
917
+ }
918
+ .smart-editor-toolbar-item[item-name=alignment][item-value=right]::before {
919
+ content: var(--smart-icon-align-right);
920
+ }
921
+ .smart-editor-toolbar-item[item-name=alignment][item-value=justify]::before {
922
+ content: var(--smart-icon-align-justify);
923
+ }
924
+ .smart-editor-toolbar-item[item-type=toggle][checked] {
925
+ color: var(--smart-ui-state-color-active);
926
+ border-color: var(--smart-ui-state-border-active);
927
+ background-color: var(--smart-ui-state-active);
928
+ }
929
+ .smart-editor-toolbar-item[item-type=button], .smart-editor-toolbar-item[item-type=toggle] {
930
+ width: var(--smart-editor-toolbar-button-width);
931
+ }
932
+ .smart-editor-toolbar-item[item-type=drop-down], .smart-editor-toolbar-item[item-type=color-input] {
933
+ display: flex;
934
+ align-items: center;
935
+ justify-content: space-between;
936
+ width: var(--smart-editor-toolbar-drop-down-width-small);
937
+ }
938
+ .smart-editor-toolbar-item[item-type=drop-down][item-name=fontname], .smart-editor-toolbar-item[item-type=drop-down][item-name=formats] {
939
+ width: var(--smart-editor-toolbar-drop-down-width-large);
940
+ }
941
+ .smart-editor-toolbar-item[item-type=drop-down][item-name=tablerows]:before {
942
+ transform: rotate(90deg);
943
+ padding: var(--smart-editor-label-padding);
944
+ padding-left: initial;
945
+ padding-right: initial;
946
+ padding-top: initial;
947
+ }
948
+ .smart-editor-toolbar-item[item-type=color-input] .smart-editor-item-action-button {
949
+ display: flex;
950
+ align-items: center;
951
+ justify-content: center;
952
+ position: relative;
953
+ width: calc(100% - var(--smart-editor-addon-width));
954
+ height: 100%;
955
+ min-width: var(--smart-editor-addon-width);
956
+ padding: var(--smart-editor-label-padding);
957
+ padding-top: initial;
958
+ padding-bottom: initial;
959
+ }
960
+ .smart-editor-toolbar-item[item-type=color-input] .smart-editor-item-action-button::before {
961
+ font-size: var(--smart-font-size);
962
+ font-family: var(--smart-font-family-icon);
963
+ border-bottom: calc(3 * var(--smart-border-width)) solid var(--item-value);
964
+ }
965
+ .smart-editor-toolbar-item[item-type=color-input] .smart-editor-item-drop-down-button {
966
+ position: relative;
967
+ height: 100%;
968
+ }
969
+ .smart-editor-toolbar-item[item-type=custom] > :first-child {
970
+ width: 100%;
971
+ height: var(--smart-editor-toolbar-item-height);
972
+ }
973
+ .smart-editor-toolbar-item .smart-editor-item-action-button:hover,
974
+ .smart-editor-toolbar-item .smart-editor-item-drop-down-button:hover {
975
+ color: var(--smart-ui-state-color-hover);
976
+ border-color: var(--smart-ui-state-border-hover);
977
+ background-color: var(--smart-ui-state-hover);
978
+ border-color: var(--smart-ui-state-focus);
979
+ background-color: var(--smart-ui-state-focus);
980
+ }
981
+ .smart-editor-toolbar-item .smart-editor-item-action-button:not([disabled]):active,
982
+ .smart-editor-toolbar-item .smart-editor-item-drop-down-button:not([disabled]):active {
983
+ color: var(--smart-ui-state-color-active);
984
+ border-color: var(--smart-ui-state-border-active);
985
+ background-color: var(--smart-ui-state-active);
986
+ }
987
+ .smart-editor-toolbar-item[item-type=delimiter] {
988
+ width: var(--smart-editor-toolbar-delimiter-width);
989
+ pointer-events: none;
990
+ }
991
+ .smart-editor-toolbar-item[item-type=delimiter]::before {
992
+ content: attr(item-name);
993
+ transform: scaleY(1.5);
994
+ min-width: initial;
995
+ }
996
+ .smart-editor-toolbar-item .smart-ripple {
997
+ background-color: var(--smart-background-color);
998
+ }
999
+ .smart-editor-toolbar-item .smart-editor-item-drop-down {
1000
+ position: absolute;
1001
+ top: 0;
1002
+ left: 0;
1003
+ visibility: hidden;
1004
+ }
1005
+
1006
+ /* --- Editor Color Input --- */
1007
+ .smart-color-input-drop-down-menu.smart-editor-color-input .grid-samples-container {
1008
+ grid-template-columns: repeat(2, minmax(0, 1fr));
1009
+ }
1010
+ .smart-color-input-drop-down-menu.smart-editor-color-input:not([animation=none]) .default-samples-container div {
1011
+ transition: transform 0.2s ease-in-out;
1012
+ }
1013
+ .smart-color-input-drop-down-menu.smart-editor-color-input .default-samples-container div {
1014
+ position: relative;
1015
+ border-radius: 50%;
1016
+ border: initial;
1017
+ transform: scale(0.95);
1018
+ }
1019
+ .smart-color-input-drop-down-menu.smart-editor-color-input .default-samples-container div.selected {
1020
+ transform: scale(1);
1021
+ }
1022
+ .smart-color-input-drop-down-menu.smart-editor-color-input .default-samples-container div.selected:not(.no-color):after {
1023
+ content: var(--smart-icon-check);
1024
+ width: 100%;
1025
+ height: 100%;
1026
+ position: absolute;
1027
+ top: 0;
1028
+ left: 0;
1029
+ display: flex;
1030
+ justify-content: center;
1031
+ align-items: center;
1032
+ font-family: var(--smart-font-family-icon);
1033
+ color: var(--smart-secondary-color);
1034
+ border-radius: inherit;
1035
+ }
1036
+
1037
+ .smart-editor-color-input {
1038
+ --smart-input-drop-down-menu-width: auto;
1039
+ }
1040
+
1041
+ .smart-editor-color-input.smart-color-input-drop-down-menu .default-samples-container div.selected[value="#FFFFFF"]::after {
1042
+ border: var(--smart-border-width) solid var(--smart-border);
1043
+ color: var(--smart-ui-state-color-hover);
1044
+ box-sizing: border-box;
1045
+ }
1046
+
1047
+ /* --- Editor Input Drop Down --- */
1048
+ .smart-editor-input li .editor-icon::before {
1049
+ font-size: var(--smart-font-size);
1050
+ font-family: var(--smart-font-family-icon);
1051
+ display: flex;
1052
+ align-items: center;
1053
+ justify-content: center;
1054
+ position: absolute;
1055
+ left: 0;
1056
+ width: var(--smart-column-icon-size);
1057
+ line-height: 1rem;
1058
+ }
1059
+ .smart-editor-input li[value=left] .editor-icon::before {
1060
+ content: var(--smart-icon-align-left);
1061
+ }
1062
+ .smart-editor-input li[value=center] .editor-icon::before {
1063
+ content: var(--smart-icon-align-center);
1064
+ }
1065
+ .smart-editor-input li[value=right] .editor-icon::before {
1066
+ content: var(--smart-icon-align-right);
1067
+ }
1068
+ .smart-editor-input li[value=justify] .editor-icon::before {
1069
+ content: var(--smart-icon-align-justify);
1070
+ }
1071
+ .smart-editor-input li[value=insertRowBefore] .editor-icon::before {
1072
+ content: var(--smart-icon-row-before);
1073
+ }
1074
+ .smart-editor-input li[value=insertRowAfter] .editor-icon::before {
1075
+ content: var(--smart-icon-row-after);
1076
+ transform: rotate(180deg);
1077
+ }
1078
+ .smart-editor-input li[value=deleteRow] .editor-icon::before {
1079
+ content: var(--smart-icon-row-delete);
1080
+ }
1081
+ .smart-editor-input li[value=insertColumnLeft] .editor-icon::before {
1082
+ content: var(--smart-icon-column-left);
1083
+ transform: rotate(-90deg);
1084
+ }
1085
+ .smart-editor-input li[value=insertColumnRight] .editor-icon::before {
1086
+ content: var(--smart-icon-column-right);
1087
+ transform: rotate(90deg);
1088
+ }
1089
+ .smart-editor-input li[value=deleteColumn] .editor-icon::before {
1090
+ content: var(--smart-icon-column-delete);
1091
+ }
1092
+ .smart-editor-input li[value=h1] a {
1093
+ font-size: 1.5rem;
1094
+ font-weight: bold;
1095
+ }
1096
+ .smart-editor-input li[value=h2] a {
1097
+ font-size: 1.3rem;
1098
+ font-weight: bold;
1099
+ }
1100
+ .smart-editor-input li[value=h3] a {
1101
+ font-size: 1.1rem;
1102
+ font-weight: bold;
1103
+ }
1104
+ .smart-editor-input li[value=h4] a {
1105
+ font-size: 0.9rem;
1106
+ font-weight: bold;
1107
+ }
1108
+ .smart-editor-input li[value=segueUi] a {
1109
+ font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
1110
+ }
1111
+ .smart-editor-input li[value=arial] a {
1112
+ font-family: Arial, Helvetica, sans-serif;
1113
+ }
1114
+ .smart-editor-input li[value=georgia] a {
1115
+ font-family: Georgia, "Times New Roman", Times, serif;
1116
+ }
1117
+ .smart-editor-input li[value=impact] a {
1118
+ font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
1119
+ }
1120
+ .smart-editor-input li[value=tahoma] a {
1121
+ font-family: Tahoma, Geneva, Verdana, sans-serif;
1122
+ }
1123
+ .smart-editor-input li[value=timesnewRoman] a {
1124
+ font-family: "Times New Roman", Times, serif;
1125
+ }
1126
+ .smart-editor-input li[value=verdana] a {
1127
+ font-family: Verdana, Geneva, Tahoma, sans-serif;
1128
+ }
1129
+
1130
+ /* --- Editor Window --- */
1131
+ .smart-editor-window {
1132
+ --smart-window-default-width: auto;
1133
+ --smart-window-default-height: auto;
1134
+ --smart-window-header-height: var(--smart-editor-window-header-height);
1135
+ --smart-window-footer-height: var(--smart-editor-window-footer-height);
1136
+ --smart-window-header-footer-padding: 10px;
1137
+ --smart-window-header-background: transparent;
1138
+ --smart-window-footer-padding: 10px;
1139
+ --smart-window-content-padding: 20px;
1140
+ max-width: 95vw;
1141
+ max-height: 95vh;
1142
+ }
1143
+ .smart-editor-window.smart-window .smart-content-container > .smart-content {
1144
+ padding: initial;
1145
+ align-items: flex-start;
1146
+ }
1147
+ .smart-editor-window .smart-editor-window-button {
1148
+ width: 100%;
1149
+ height: 100%;
1150
+ --smart-button-padding: 0.2rem 16px;
1151
+ }
1152
+ .smart-editor-window .smart-editor-window-button:not(:last-of-type) {
1153
+ margin-right: 2.5%;
1154
+ }
1155
+ .smart-editor-window .smart-editor-window-content-wrapper {
1156
+ grid-template-rows: auto minmax(auto, 1fr);
1157
+ padding: var(--smart-window-content-padding);
1158
+ width: 100%;
1159
+ }
1160
+ .smart-editor-window .smart-editor-window-content-wrapper > div {
1161
+ display: grid;
1162
+ width: var(--smart-box-width);
1163
+ grid-row-gap: 10px;
1164
+ justify-content: center;
1165
+ grid-template-columns: 100%;
1166
+ }
1167
+ .smart-editor-window .smart-editor-window-editor {
1168
+ display: grid;
1169
+ grid-row-gap: 5px;
1170
+ grid-column-gap: 10px;
1171
+ }
1172
+ .smart-editor-window .smart-editor-window-editor > .smart-input,
1173
+ .smart-editor-window .smart-editor-window-editor > .smart-list-box {
1174
+ width: 100%;
1175
+ }
1176
+ .smart-editor-window .smart-editor-window-editor > .smart-check-box {
1177
+ width: max-content;
1178
+ }
1179
+ .smart-editor-window .smart-editor-window-editor[multiple] .smart-editor-window-editor {
1180
+ grid-template-columns: repeat(2, minmax(0, 1fr));
1181
+ }
1182
+ .smart-editor-window .smart-editor-window-editor[type=results] label {
1183
+ display: flex;
1184
+ justify-content: space-between;
1185
+ }
1186
+ .smart-editor-window .smart-editor-window-editor[type=results] label[matches]::after {
1187
+ content: attr(selected) " of " attr(matches);
1188
+ }
1189
+ .smart-editor-window .smart-editor-window-editor[type=file] .smart-drop-zone {
1190
+ width: 100%;
1191
+ height: 100px;
1192
+ border: calc(2 * var(--smart-border-width)) dashed var(--smart-border);
1193
+ border-radius: var(--smart-border-radius);
1194
+ }
1195
+ .smart-editor-window .smart-editor-window-editor[type=file] .smart-file-upload {
1196
+ --smart-file-upload-drop-zone-height: 100px;
1197
+ width: 100%;
1198
+ order: 1;
1199
+ min-height: initial;
1200
+ }
1201
+ .smart-editor-window .smart-editor-window-editor[type=file] .smart-file-upload .smart-browse-button {
1202
+ margin: initial;
1203
+ }
1204
+ .smart-editor-window .smart-editor-window-editor[type=file] .smart-file-upload .smart-item-upload-button {
1205
+ display: none;
1206
+ }
1207
+ .smart-editor-window .smart-editor-window-editor[type=file] .smart-file-upload .smart-file-upload-header {
1208
+ margin-bottom: 5px;
1209
+ padding: initial;
1210
+ }
1211
+ .smart-editor-window .smart-editor-window-editor[type=file] .smart-file-upload .smart-file-upload-container {
1212
+ padding: initial;
1213
+ }
1214
+ .smart-editor-window .smart-editor-window-editor[type=file] .smart-file-upload .smart-selected-files {
1215
+ padding: initial;
1216
+ }
1217
+ .smart-editor-window .smart-editor-window-editor[type=file] .smart-file-upload .smart-selected-files .smart-file {
1218
+ display: flex;
1219
+ margin: initial;
1220
+ border: var(--smart-border-width) solid var(--smart-border);
1221
+ border-radius: var(--smart-border-radius);
1222
+ }
1223
+ .smart-editor-window .smart-editor-window-editor[type=file] .smart-file-upload .smart-selected-files .smart-item-upload-button:after,
1224
+ .smart-editor-window .smart-editor-window-editor[type=file] .smart-file-upload .smart-selected-files .smart-item-pause-button:after,
1225
+ .smart-editor-window .smart-editor-window-editor[type=file] .smart-file-upload .smart-selected-files .smart-item-cancel-button:after {
1226
+ position: initial;
1227
+ left: initial;
1228
+ top: initial;
1229
+ display: flex;
1230
+ align-items: center;
1231
+ justify-content: center;
1232
+ }
1233
+ .smart-editor-window .smart-editor-window-editor[type=file] .smart-file-upload .smart-selected-files .smart-item-name {
1234
+ width: 100%;
1235
+ }
1236
+
1237
+ /* --- Editor Tooltip --- */
1238
+ .smart-tooltip .smart-tooltip-content {
1239
+ display: flex;
1240
+ background-color: var(--smart-background);
1241
+ color: var(--smart-background-color);
1242
+ border-color: var(--smart-background);
1243
+ opacity: initial;
1244
+ }
1245
+ .smart-tooltip.smart-editor-context-menu:not([animation=none]) {
1246
+ transition: opacity 0.2s ease-in, visibility 0.2s ease-in, transform 0.2s ease-in;
1247
+ }
1248
+ .smart-tooltip.smart-editor-toolbar {
1249
+ --smart-tooltip-padding: 5px;
1250
+ --smart-tooltip-arrow-color: var(--smart-surface);
1251
+ }
1252
+ .smart-tooltip.smart-editor-toolbar .smart-tooltip-content {
1253
+ background-color: var(--smart-surface);
1254
+ color: var(--smart-surface-color);
1255
+ border-color: var(--smart-surface);
1256
+ }
1257
+ .smart-tooltip.smart-editor-toolbar.smart-editor-inline-toolbar .smart-tooltip-content {
1258
+ max-width: var(--smart-editor-inline-toolbar-max-width);
1259
+ flex-wrap: wrap;
1260
+ }
1261
+ .smart-tooltip.smart-editor-toolbar:not([animation=none]) .smart-editor-toolbar-item {
1262
+ transition: background-color 0.2ms linear, border-color 0.2ms ease-in-out, color 0.2ms linear, box-shadow 0.2s ease-in-out;
1263
+ }
1264
+ .smart-tooltip.smart-editor-toolbar:not(.smart-editor-drop-down-toolbar) .smart-editor-toolbar-item:not(:first-of-type) {
1265
+ margin-left: var(--smart-editor-toolbar-item-margin);
1266
+ }
1267
+ .smart-tooltip.smart-editor-context-menu {
1268
+ opacity: 0.2;
1269
+ transform: scale(0);
1270
+ -webkit-transform-origin: 0 0;
1271
+ transform-origin: 0 0;
1272
+ }
1273
+ .smart-tooltip.smart-editor-context-menu[visible] {
1274
+ opacity: 1;
1275
+ transform: scale(1);
1276
+ }
1277
+ .smart-tooltip .smart-editor-context-menu-item-container {
1278
+ width: 100%;
1279
+ height: 100%;
1280
+ display: grid;
1281
+ align-items: center;
1282
+ justify-content: flex-start;
1283
+ }
1284
+ .smart-tooltip .smart-editor-context-menu-item-container .smart-editor-context-menu-item {
1285
+ -moz-user-select: none;
1286
+ -ms-user-select: none;
1287
+ -webkit-user-select: none;
1288
+ user-select: none;
1289
+ height: var(--smart-list-item-height);
1290
+ padding: var(--smart-list-item-padding);
1291
+ border-top-left-radius: var(--smart-item-border-top-left-radius);
1292
+ border-top-right-radius: var(--smart-item-border-top-right-radius);
1293
+ border-bottom-left-radius: var(--smart-item-border-bottom-left-radius);
1294
+ border-bottom-right-radius: var(--smart-item-border-bottom-right-radius);
1295
+ white-space: nowrap;
1296
+ text-overflow: ellipsis;
1297
+ background: var(--smart-background);
1298
+ color: var(--smart-background-color);
1299
+ display: flex;
1300
+ align-items: center;
1301
+ position: relative;
1302
+ padding-left: var(--smart-column-icon-size);
1303
+ }
1304
+ .smart-tooltip .smart-editor-context-menu-item-container .smart-editor-context-menu-item::before {
1305
+ font-size: var(--smart-font-size);
1306
+ font-family: var(--smart-font-family-icon);
1307
+ display: flex;
1308
+ align-items: center;
1309
+ justify-content: center;
1310
+ position: absolute;
1311
+ left: 0;
1312
+ width: var(--smart-column-icon-size);
1313
+ line-height: 1rem;
1314
+ }
1315
+ .smart-tooltip .smart-editor-context-menu-item-container .smart-editor-context-menu-item[value=insertRowBefore]::before {
1316
+ content: var(--smart-icon-row-before);
1317
+ }
1318
+ .smart-tooltip .smart-editor-context-menu-item-container .smart-editor-context-menu-item[value=insertRowAfter]::before {
1319
+ content: var(--smart-icon-row-after);
1320
+ transform: rotate(180deg);
1321
+ }
1322
+ .smart-tooltip .smart-editor-context-menu-item-container .smart-editor-context-menu-item[value=deleteRow]::before {
1323
+ content: var(--smart-icon-row-delete);
1324
+ }
1325
+ .smart-tooltip .smart-editor-context-menu-item-container .smart-editor-context-menu-item[value=insertColumnLeft]::before {
1326
+ content: var(--smart-icon-column-left);
1327
+ transform: rotate(-90deg);
1328
+ }
1329
+ .smart-tooltip .smart-editor-context-menu-item-container .smart-editor-context-menu-item[value=insertColumnRight]::before {
1330
+ content: var(--smart-icon-column-right);
1331
+ transform: rotate(90deg);
1332
+ }
1333
+ .smart-tooltip .smart-editor-context-menu-item-container .smart-editor-context-menu-item[value=deleteColumn]::before {
1334
+ content: var(--smart-icon-column-delete);
1335
+ }
1336
+ .smart-tooltip .smart-editor-context-menu-item-container .smart-editor-context-menu-item[value=tableProperties]::before {
1337
+ content: var(--smart-icon-table);
1338
+ }
1339
+ .smart-tooltip .smart-editor-context-menu-item-container .smart-editor-context-menu-item[value=imageProperties]::before {
1340
+ content: var(--smart-icon-image);
1341
+ }
1342
+ .smart-tooltip .smart-editor-context-menu-item-container .smart-editor-context-menu-item[value=linkProperties]::before {
1343
+ content: var(--smart-icon-link);
1344
+ }
1345
+ .smart-tooltip .smart-editor-context-menu-item-container .smart-editor-context-menu-item[value=videoProperties]::before {
1346
+ content: var(--smart-icon-link);
1347
+ }
1348
+ .smart-tooltip .smart-editor-context-menu-item-container .smart-editor-context-menu-item[value=deleteTable]::before {
1349
+ content: var(--smart-icon-delete);
1350
+ }
1351
+ .smart-tooltip .smart-editor-context-menu-item-container .smart-editor-context-menu-item[value=copyImage]::before {
1352
+ content: var(--smart-icon-copy-record);
1353
+ }
1354
+ .smart-tooltip .smart-editor-context-menu-item-container .smart-editor-context-menu-item[value=copyVideo]::before {
1355
+ content: var(--smart-icon-copy-record);
1356
+ }
1357
+ .smart-tooltip .smart-editor-context-menu-item-container .smart-editor-context-menu-item[value=cutImage]::before {
1358
+ content: var(--smart-icon-cut);
1359
+ transform: rotate(-90deg);
1360
+ }
1361
+ .smart-tooltip .smart-editor-context-menu-item-container .smart-editor-context-menu-item[value=cutVideo]::before {
1362
+ content: var(--smart-icon-cut);
1363
+ transform: rotate(-90deg);
1364
+ }
1365
+ .smart-tooltip .smart-editor-context-menu-item-container .smart-editor-context-menu-item[value=deleteImage]::before {
1366
+ content: var(--smart-icon-delete);
1367
+ }
1368
+ .smart-tooltip .smart-editor-context-menu-item-container .smart-editor-context-menu-item[value=deleteVideo]::before {
1369
+ content: var(--smart-icon-delete);
1370
+ }
1371
+ .smart-tooltip .smart-editor-context-menu-item-container .smart-editor-context-menu-item[value=deleteLink]::before {
1372
+ content: var(--smart-icon-delete);
1373
+ }
1374
+ .smart-tooltip .smart-editor-context-menu-item-container .smart-editor-context-menu-item[value=createLink]::before {
1375
+ content: var(--smart-icon-link);
1376
+ }
1377
+ .smart-tooltip .smart-editor-context-menu-item-container .smart-editor-context-menu-item[value=deleteLink]::before {
1378
+ content: var(--smart-icon-unlink);
1379
+ }
1380
+ .smart-tooltip .smart-editor-context-menu-item-container .smart-editor-context-menu-item[value=caption]::before {
1381
+ content: var(--smart-icon-format-clear);
1382
+ }
1383
+ .smart-tooltip .smart-editor-context-menu-item-container .smart-editor-context-menu-item[value=selectAll]::before {
1384
+ content: var(--smart-icon-group);
1385
+ }
1386
+ .smart-tooltip .smart-editor-context-menu-item-container .smart-editor-context-menu-item[value=cut]::before {
1387
+ content: var(--smart-icon-cut);
1388
+ transform: rotate(-90deg);
1389
+ }
1390
+ .smart-tooltip .smart-editor-context-menu-item-container .smart-editor-context-menu-item[value=copy]::before {
1391
+ content: var(--smart-icon-copy-record);
1392
+ }
1393
+ .smart-tooltip .smart-editor-context-menu-item-container .smart-editor-context-menu-item[value=paste]::before {
1394
+ content: var(--smart-icon-paste);
1395
+ }
1396
+ .smart-tooltip .smart-editor-context-menu-item-container .smart-editor-context-menu-item:hover {
1397
+ background: var(--smart-ui-state-hover);
1398
+ color: var(--smart-ui-state-color-hover);
1399
+ }
1400
+ .smart-tooltip .smart-editor-context-menu-item-container .smart-editor-context-menu-item[selected] {
1401
+ background-color: var(--smart-ui-state-selected);
1402
+ border-color: var(--smart-ui-state-border-selected);
1403
+ color: var(--smart-ui-state-color-selected);
1404
+ }
1405
+ .smart-tooltip .smart-editor-context-menu-item-container .smart-editor-context-menu-item[disabled] {
1406
+ opacity: 0.55;
1407
+ cursor: default;
1408
+ pointer-events: none;
1409
+ }
1410
+
1411
+ .smart-editor-drop-down-toolbar:not([animation=none]) {
1412
+ animation: smart-drop-down-list-smart-animate-closing 0.2s ease-in;
1413
+ transition: animation 0.2s ease-in, opacity 0.2s ease-in, visibility 0.2s ease-in;
1414
+ }
1415
+ .smart-editor-drop-down-toolbar:not([animation=none])[visible] {
1416
+ animation: smart-drop-down-list-smart-animate-opening 0.2s ease-out;
1417
+ transition: animation 0.2s ease-out, opacity 0.2s ease-out, visibility 0.2s ease-out;
1418
+ }
1419
+ .smart-editor-drop-down-toolbar:not([arrow-direction]), .smart-editor-drop-down-toolbar[arrow-direction=bottom] {
1420
+ -webkit-transform-origin: bottom;
1421
+ transform-origin: bottom;
1422
+ }
1423
+ .smart-editor-drop-down-toolbar:not([arrow]), .smart-editor-drop-down-toolbar[arrow-direction=top] {
1424
+ -webkit-transform-origin: top;
1425
+ transform-origin: top;
1426
+ }
1427
+ .smart-editor-drop-down-toolbar .smart-table-picker {
1428
+ overflow: hidden;
1429
+ display: block;
1430
+ background: transparent;
1431
+ }
1432
+ .smart-editor-drop-down-toolbar .smart-table-picker .smart-table-picker-grid {
1433
+ width: 100%;
1434
+ display: flex;
1435
+ flex-direction: column;
1436
+ align-items: center;
1437
+ }
1438
+ .smart-editor-drop-down-toolbar .smart-table-picker .smart-table-picker-grid::before {
1439
+ content: attr(value);
1440
+ display: flex;
1441
+ width: 100%;
1442
+ justify-content: center;
1443
+ align-items: center;
1444
+ padding: 0.2rem 16px;
1445
+ box-sizing: border-box;
1446
+ }
1447
+ .smart-editor-drop-down-toolbar .smart-table-picker .smart-table-picker-grid > div {
1448
+ display: flex;
1449
+ }
1450
+ .smart-editor-drop-down-toolbar .smart-table-picker .smart-table-picker-cell {
1451
+ width: 15px;
1452
+ height: 15px;
1453
+ border: var(--smart-border-width) solid var(--smart-border);
1454
+ margin: 2px;
1455
+ cursor: pointer;
1456
+ }
1457
+ .smart-editor-drop-down-toolbar .smart-table-picker .smart-table-picker-cell[selected] {
1458
+ border-color: var(--smart-primary);
1459
+ background: var(--smart-primary);
1460
+ }
1461
+ .smart-editor-drop-down-toolbar .smart-table-picker .smart-table-picker-separator {
1462
+ width: 100%;
1463
+ height: var(--smart-border-width);
1464
+ background: var(--smart-border);
1465
+ margin: 10px 0;
1466
+ }
1467
+ .smart-editor-drop-down-toolbar .smart-table-picker .smart-table-picker-button {
1468
+ width: 100%;
1469
+ background: transparent;
1470
+ border: initial;
1471
+ }
1472
+ .smart-editor-drop-down-toolbar .smart-table-picker .smart-table-picker-button button::before {
1473
+ font-size: var(--smart-font-size);
1474
+ font-family: var(--smart-font-family-icon);
1475
+ content: var(--smart-icon-table);
1476
+ margin-right: 10px;
1477
+ box-sizing: border-box;
1478
+ }
1479
+
1480
+ /* .smart-editor */
1481
+ .smart-editor[right-to-left] .smart-editor-toolbar:not(.smart-tooltip) {
1482
+ grid-template-areas: "toggleButton primary" "secondary secondary";
1483
+ grid-template-columns: auto minmax(0, 1fr);
1484
+ }
1485
+ .smart-editor[right-to-left] .smart-editor-toolbar:not(.smart-tooltip) .smart-editor-toolbar-item {
1486
+ margin-left: initial;
1487
+ margin-right: var(--smart-editor-toolbar-item-margin);
1488
+ }
1489
+ .smart-editor[right-to-left] .smart-editor-content-container,
1490
+ .smart-editor[right-to-left] .smart-editor-toolbar-items-primary,
1491
+ .smart-editor[right-to-left] .smart-editor-toolbar-items-secondary,
1492
+ .smart-editor[right-to-left] .smart-editor-toolbar-item[item-type=drop-down],
1493
+ .smart-editor[right-to-left] .smart-editor-toolbar-item[item-type=color-input] {
1494
+ direction: rtl;
1495
+ }
1496
+ .smart-editor[right-to-left] .smart-editor-resize-frame span {
1497
+ transform: translate(50%, -50%);
1498
+ }
1499
+ .smart-editor[right-to-left] .smart-editor-resize-frame span[position=top-left], .smart-editor[right-to-left] .smart-editor-resize-frame span[position=bottom-right] {
1500
+ cursor: sw-resize;
1501
+ }
1502
+ .smart-editor[right-to-left] .smart-editor-resize-frame span[position=top-right], .smart-editor[right-to-left] .smart-editor-resize-frame span[position=bottom-left] {
1503
+ cursor: se-resize;
1504
+ }
1505
+
1506
+ /* --- Editor Input Drop Down --- */
1507
+ .smart-editor-input[right-to-left] li .editor-icon::before {
1508
+ right: 0;
1509
+ left: initial;
1510
+ }
1511
+
1512
+ /* --- Editor Tooltip --- */
1513
+ .smart-tooltip.smart-editor-toolbar[right-to-left]:not(.smart-editor-drop-down-toolbar) .smart-editor-toolbar-item:not(:first-of-type) {
1514
+ margin-left: initial;
1515
+ margin-right: var(--smart-editor-toolbar-item-margin);
1516
+ }
1517
+
1518
+ .smart-editor-drop-down-toolbar .smart-table-picker[right-to-left] .smart-table-picker-grid {
1519
+ direction: rtl;
1520
+ }
1521
+ .smart-editor-drop-down-toolbar .smart-table-picker[right-to-left] .smart-table-picker-button > button.smart-button {
1522
+ display: flex;
1523
+ align-items: center;
1524
+ justify-content: center;
1525
+ }
1526
+ .smart-editor-drop-down-toolbar .smart-table-picker[right-to-left] .smart-table-picker-button > button.smart-button::before {
1527
+ margin-right: initial;
1528
+ margin-left: 10px;
1528
1529
  }