x4js 1.4.6 → 1.4.9

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 (175) hide show
  1. package/README.md +4 -0
  2. package/build.sh +5 -0
  3. package/lib/application.d.ts +15 -11
  4. package/lib/application.js +16 -11
  5. package/lib/base64.d.ts +15 -11
  6. package/lib/base64.js +15 -11
  7. package/lib/base_component.d.ts +18 -1
  8. package/lib/base_component.js +18 -1
  9. package/lib/button.d.ts +15 -11
  10. package/lib/button.js +15 -11
  11. package/lib/calendar.d.ts +15 -11
  12. package/lib/calendar.js +15 -11
  13. package/lib/canvas.d.ts +15 -11
  14. package/lib/canvas.js +15 -11
  15. package/lib/cardview.d.ts +15 -11
  16. package/lib/cardview.js +15 -11
  17. package/lib/checkbox.d.ts +17 -12
  18. package/lib/checkbox.js +18 -11
  19. package/lib/color.d.ts +15 -11
  20. package/lib/color.js +15 -11
  21. package/lib/colorpicker.d.ts +18 -11
  22. package/lib/colorpicker.js +18 -11
  23. package/lib/combobox.d.ts +15 -11
  24. package/lib/combobox.js +16 -12
  25. package/lib/component.d.ts +18 -14
  26. package/lib/component.js +18 -14
  27. package/lib/datastore.d.ts +15 -11
  28. package/lib/datastore.js +15 -11
  29. package/lib/dialog.d.ts +15 -11
  30. package/lib/dialog.js +19 -14
  31. package/lib/dom_events.d.ts +17 -1
  32. package/lib/dom_events.js +17 -1
  33. package/lib/drag_manager.d.ts +28 -0
  34. package/lib/drawtext.d.ts +15 -11
  35. package/lib/drawtext.js +15 -11
  36. package/lib/fileupload.d.ts +15 -11
  37. package/lib/fileupload.js +15 -11
  38. package/lib/form.d.ts +15 -11
  39. package/lib/form.js +15 -11
  40. package/lib/formatters.d.ts +15 -11
  41. package/lib/formatters.js +15 -11
  42. package/lib/gridview.d.ts +15 -11
  43. package/lib/gridview.js +59 -29
  44. package/lib/i18n.d.ts +15 -11
  45. package/lib/i18n.js +15 -11
  46. package/lib/icon.d.ts +20 -12
  47. package/lib/icon.js +107 -25
  48. package/lib/image.d.ts +15 -11
  49. package/lib/image.js +15 -11
  50. package/lib/index.d.ts +28 -0
  51. package/lib/index.js +28 -0
  52. package/lib/input.d.ts +15 -11
  53. package/lib/input.js +15 -11
  54. package/lib/label.d.ts +15 -11
  55. package/lib/label.js +15 -11
  56. package/lib/layout.d.ts +21 -17
  57. package/lib/layout.js +21 -17
  58. package/lib/link.d.ts +15 -11
  59. package/lib/link.js +15 -11
  60. package/lib/listview.d.ts +15 -11
  61. package/lib/listview.js +15 -11
  62. package/lib/md5.d.ts +15 -10
  63. package/lib/md5.js +15 -10
  64. package/lib/menu.d.ts +15 -11
  65. package/lib/menu.js +19 -12
  66. package/lib/messagebox.d.ts +15 -11
  67. package/lib/messagebox.js +17 -13
  68. package/lib/panel.d.ts +15 -11
  69. package/lib/panel.js +15 -11
  70. package/lib/popup.d.ts +15 -11
  71. package/lib/popup.js +15 -11
  72. package/lib/property_editor.d.ts +15 -11
  73. package/lib/property_editor.js +15 -11
  74. package/lib/radiobtn.d.ts +15 -11
  75. package/lib/radiobtn.js +15 -11
  76. package/lib/rating.d.ts +15 -11
  77. package/lib/rating.js +15 -11
  78. package/lib/request.d.ts +15 -11
  79. package/lib/request.js +15 -11
  80. package/lib/router.d.ts +28 -0
  81. package/lib/router.js +28 -0
  82. package/lib/settings.d.ts +15 -11
  83. package/lib/settings.js +15 -11
  84. package/lib/sidebarview.d.ts +15 -11
  85. package/lib/sidebarview.js +15 -11
  86. package/lib/smartedit.d.ts +15 -11
  87. package/lib/smartedit.js +15 -11
  88. package/lib/spreadsheet.d.ts +15 -11
  89. package/lib/spreadsheet.js +15 -11
  90. package/lib/styles.d.ts +16 -12
  91. package/lib/styles.js +21 -14
  92. package/lib/svgcomponent.d.ts +15 -11
  93. package/lib/svgcomponent.js +15 -11
  94. package/lib/tabbar.d.ts +17 -2
  95. package/lib/tabbar.js +17 -2
  96. package/lib/tabview.d.ts +15 -11
  97. package/lib/tabview.js +15 -11
  98. package/lib/textarea.d.ts +15 -11
  99. package/lib/textarea.js +15 -11
  100. package/lib/textedit.d.ts +15 -11
  101. package/lib/textedit.js +15 -11
  102. package/lib/texthiliter.d.ts +15 -11
  103. package/lib/texthiliter.js +15 -11
  104. package/lib/toaster.d.ts +15 -11
  105. package/lib/toaster.js +15 -11
  106. package/lib/tools.d.ts +15 -11
  107. package/lib/tools.js +15 -11
  108. package/lib/tooltips.d.ts +15 -11
  109. package/lib/tooltips.js +15 -11
  110. package/lib/treeview.d.ts +15 -11
  111. package/lib/treeview.js +15 -11
  112. package/lib/x4.css +1572 -0
  113. package/lib/x4_events.d.ts +15 -11
  114. package/lib/x4_events.js +15 -11
  115. package/package.json +5 -1
  116. package/src/MIT-license.md +14 -0
  117. package/src/application.ts +16 -11
  118. package/src/base64.ts +15 -11
  119. package/src/base_component.ts +18 -1
  120. package/src/button.ts +15 -11
  121. package/src/calendar.ts +15 -11
  122. package/src/canvas.ts +15 -11
  123. package/src/cardview.ts +15 -11
  124. package/src/checkbox.ts +21 -12
  125. package/src/color.ts +15 -11
  126. package/src/colorpicker.ts +19 -11
  127. package/src/combobox.ts +16 -12
  128. package/src/component.ts +18 -14
  129. package/src/datastore.ts +15 -11
  130. package/src/dialog.ts +19 -14
  131. package/src/dom_events.ts +17 -1
  132. package/src/drag_manager.ts +28 -0
  133. package/src/drawtext.ts +15 -11
  134. package/src/fileupload.ts +15 -11
  135. package/src/form.ts +15 -11
  136. package/src/formatters.ts +15 -11
  137. package/src/gridview.ts +76 -30
  138. package/src/i18n.ts +15 -11
  139. package/src/icon.ts +125 -33
  140. package/src/image.ts +15 -11
  141. package/src/index.ts +29 -0
  142. package/src/input.ts +15 -11
  143. package/src/label.ts +15 -11
  144. package/src/layout.ts +21 -17
  145. package/src/link.ts +15 -11
  146. package/src/listview.ts +15 -11
  147. package/src/md5.ts +15 -10
  148. package/src/menu.ts +19 -12
  149. package/src/messagebox.ts +17 -13
  150. package/src/panel.ts +15 -11
  151. package/src/popup.ts +15 -11
  152. package/src/property_editor.ts +15 -11
  153. package/src/radiobtn.ts +15 -11
  154. package/src/rating.ts +15 -11
  155. package/src/request.ts +15 -11
  156. package/src/router.ts +28 -0
  157. package/src/settings.ts +15 -11
  158. package/src/sidebarview.ts +15 -11
  159. package/src/smartedit.ts +15 -11
  160. package/src/spreadsheet.ts +15 -11
  161. package/src/styles.ts +23 -14
  162. package/src/svgcomponent.ts +15 -11
  163. package/src/tabbar.ts +17 -2
  164. package/src/tabview.ts +15 -11
  165. package/src/textarea.ts +15 -11
  166. package/src/textedit.ts +15 -11
  167. package/src/texthiliter.ts +15 -11
  168. package/src/toaster.ts +15 -11
  169. package/src/tools.ts +15 -11
  170. package/src/tooltips.ts +15 -11
  171. package/src/treeview.ts +15 -11
  172. package/src/x4.less +232 -168
  173. package/src/x4_events.ts +15 -11
  174. package/x4.css +1572 -0
  175. package/src/README.md +0 -2
package/x4.css ADDED
@@ -0,0 +1,1572 @@
1
+ /**
2
+ * ___ ___ __
3
+ * \ \_/ / / _
4
+ * \ / /_| |_
5
+ * / _ \____ _|
6
+ * /__/ \__\ |_|
7
+ *
8
+ * @file x4.less
9
+ * @author Etienne Cochard
10
+ *
11
+ * Copyright (c) 2019-2022 R-libre ingenierie
12
+ *
13
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
14
+ * of this software and associated documentation files (the "Software"), to deal
15
+ * in the Software without restriction, including without limitation the rights
16
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
17
+ * of the Software, and to permit persons to whom the Software is furnished to do so,
18
+ * subject to the following conditions:
19
+ * The above copyright notice and this permission notice shall be included in all copies
20
+ * or substantial portions of the Software.
21
+ *
22
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
23
+ * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
24
+ * PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
25
+ * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
26
+ * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
27
+ * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
28
+ **/
29
+ :root {
30
+ --x4-font: "Inter";
31
+ --x4-font-size: 13px;
32
+ --x4-base-color: #266888;
33
+ --x4-selection-color: #2458B3;
34
+ --x4-hover-color: rgba(36, 88, 179, 0.9);
35
+ --x4-mask-color: rgba(36, 88, 179, 0.6);
36
+ --x4-focus-color: #2458B3;
37
+ --x4-error-color: #b92a09;
38
+ --x4-success-color: #0A6640;
39
+ --x4-form-color: white;
40
+ --x4-tip-background: rgba(0, 0, 0, 0.5);
41
+ --x4-button-color: white;
42
+ --x4-button-text-color: #363636;
43
+ --x4-scrollbar-width: 6px;
44
+ --x4-scrollbar-background: white;
45
+ --x4-scrollbar-thumb: grey;
46
+ --x4-sizer-size: 4px;
47
+ --x4-default-border-color: rgba(0, 0, 0, 0.1);
48
+ --x4-icon-font-family: "fonteawesome";
49
+ --x4-icon-circle-exclamation: 'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0zM232 152C232 138.8 242.8 128 256 128s24 10.75 24 24v128c0 13.25-10.75 24-24 24S232 293.3 232 280V152zM256 400c-17.36 0-31.44-14.08-31.44-31.44c0-17.36 14.07-31.44 31.44-31.44s31.44 14.08 31.44 31.44C287.4 385.9 273.4 400 256 400z"/></svg>';
50
+ --x4-icon-chevron-right: 'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path d="M96 480c-8.188 0-16.38-3.125-22.62-9.375c-12.5-12.5-12.5-32.75 0-45.25L242.8 256L73.38 86.63c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0l192 192c12.5 12.5 12.5 32.75 0 45.25l-192 192C112.4 476.9 104.2 480 96 480z"/></svg>';
51
+ --x4-icon-arrow-down: 'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512" fill="currentColor"><path d="M9.375 329.4c12.51-12.51 32.76-12.49 45.25 0L128 402.8V32c0-17.69 14.31-32 32-32s32 14.31 32 32v370.8l73.38-73.38c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-128 128c-12.5 12.5-32.75 12.5-45.25 0l-128-128C-3.125 362.1-3.125 341.9 9.375 329.4z"/></svg>';
52
+ --x4-icon-arrow-up: 'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512" fill="currentColor"><path d="M310.6 182.6c-12.51 12.51-32.76 12.49-45.25 0L192 109.3V480c0 17.69-14.31 32-32 32s-32-14.31-32-32V109.3L54.63 182.6c-12.5 12.5-32.75 12.5-45.25 0s-12.5-32.75 0-45.25l128-128c12.5-12.5 32.75-12.5 45.25 0l128 128C323.1 149.9 323.1 170.1 310.6 182.6z"/></svg>';
53
+ --x4-icon-exclamation: 'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 512" fill="currentColor"><path d="M64 352c17.69 0 32-14.32 32-31.1V64.01c0-17.67-14.31-32.01-32-32.01S32 46.34 32 64.01v255.1C32 337.7 46.31 352 64 352zM64 400c-22.09 0-40 17.91-40 40s17.91 39.1 40 39.1s40-17.9 40-39.1S86.09 400 64 400z"/></svg>';
54
+ --x4-icon-window-minimize: 'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="currentColor"><path d="M0 448C0 430.3 14.33 416 32 416H480C497.7 416 512 430.3 512 448C512 465.7 497.7 480 480 480H32C14.33 480 0 465.7 0 448z"/></svg>';
55
+ --x4-icon-window-maximize: 'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="currentColor"><path d="M448 32C483.3 32 512 60.65 512 96V416C512 451.3 483.3 480 448 480H64C28.65 480 0 451.3 0 416V96C0 60.65 28.65 32 64 32H448zM96 96C78.33 96 64 110.3 64 128C64 145.7 78.33 160 96 160H416C433.7 160 448 145.7 448 128C448 110.3 433.7 96 416 96H96z"/></svg>';
56
+ --x4-icon-window-restore: 'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="currentColor"><path d="M432 64H208C199.2 64 192 71.16 192 80V96H128V80C128 35.82 163.8 0 208 0H432C476.2 0 512 35.82 512 80V304C512 348.2 476.2 384 432 384H416V320H432C440.8 320 448 312.8 448 304V80C448 71.16 440.8 64 432 64zM0 192C0 156.7 28.65 128 64 128H320C355.3 128 384 156.7 384 192V448C384 483.3 355.3 512 320 512H64C28.65 512 0 483.3 0 448V192zM96 256H288C305.7 256 320 241.7 320 224C320 206.3 305.7 192 288 192H96C78.33 192 64 206.3 64 224C64 241.7 78.33 256 96 256z"/></svg>';
57
+ --x4-icon-rectangle-times: 'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="currentColor"><path d="M448 32C483.3 32 512 60.65 512 96V416C512 451.3 483.3 480 448 480H64C28.65 480 0 451.3 0 416V96C0 60.65 28.65 32 64 32H448zM175 208.1L222.1 255.1L175 303C165.7 312.4 165.7 327.6 175 336.1C184.4 346.3 199.6 346.3 208.1 336.1L255.1 289.9L303 336.1C312.4 346.3 327.6 346.3 336.1 336.1C346.3 327.6 346.3 312.4 336.1 303L289.9 255.1L336.1 208.1C346.3 199.6 346.3 184.4 336.1 175C327.6 165.7 312.4 165.7 303 175L255.1 222.1L208.1 175C199.6 165.7 184.4 165.7 175 175C165.7 184.4 165.7 199.6 175 208.1V208.1z"/></svg>';
58
+ --x4-icon-xmark: 'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512" fill="currentColor"><path d="M310.6 361.4c12.5 12.5 12.5 32.75 0 45.25C304.4 412.9 296.2 416 288 416s-16.38-3.125-22.62-9.375L160 301.3L54.63 406.6C48.38 412.9 40.19 416 32 416S15.63 412.9 9.375 406.6c-12.5-12.5-12.5-32.75 0-45.25l105.4-105.4L9.375 150.6c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L160 210.8l105.4-105.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-105.4 105.4L310.6 361.4z"/></svg>';
59
+ --x4-icon-angle-down: 'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512" fill="currentColor"><path d="M192 384c-8.188 0-16.38-3.125-22.62-9.375l-160-160c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L192 306.8l137.4-137.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-160 160C208.4 380.9 200.2 384 192 384z"/></svg>';
60
+ }
61
+ .x4-root-element {
62
+ padding: 0;
63
+ margin: 0;
64
+ left: 0;
65
+ top: 0;
66
+ right: 0;
67
+ bottom: 0;
68
+ -webkit-font-smoothing: subpixel-antialiased;
69
+ text-rendering: geometricprecision;
70
+ font-family: var(--x4-font);
71
+ font-size: var(--x4-font-size);
72
+ }
73
+ input,
74
+ textarea {
75
+ font-family: inherit;
76
+ font-size: inherit;
77
+ }
78
+ textarea {
79
+ resize: none;
80
+ outline: none;
81
+ border: 1px solid transparent;
82
+ }
83
+ textarea:focus {
84
+ border: 1px solid var(--x4-selection-color);
85
+ }
86
+ textarea::selection {
87
+ background-color: var(--x4-selection-color);
88
+ color: #fff;
89
+ }
90
+ .z-float-4 {
91
+ box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.4);
92
+ }
93
+ .z-float-6 {
94
+ box-shadow: 6px 6px 10px rgba(0, 0, 0, 0.5);
95
+ }
96
+ .z-float-8 {
97
+ box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.6);
98
+ }
99
+ .z-float-15 {
100
+ box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.6);
101
+ }
102
+ .x-comp {
103
+ user-select: none;
104
+ box-sizing: border-box;
105
+ position: relative;
106
+ }
107
+ .x-flex {
108
+ min-height: 0;
109
+ min-width: 0;
110
+ flex: 1;
111
+ flex-basis: 0;
112
+ }
113
+ .x-fit {
114
+ position: absolute;
115
+ left: 0;
116
+ top: 0;
117
+ right: 0;
118
+ bottom: 0;
119
+ }
120
+ .x-hfit {
121
+ position: relative;
122
+ left: 0;
123
+ right: 0;
124
+ }
125
+ .x-vfit {
126
+ position: relative;
127
+ top: 0;
128
+ bottom: 0;
129
+ }
130
+ .x-hlayout {
131
+ display: flex;
132
+ flex-direction: row;
133
+ overflow: hidden;
134
+ }
135
+ .x-hlayout.center {
136
+ align-items: center;
137
+ }
138
+ .x-grid-layout {
139
+ display: grid;
140
+ justify-content: space-evenly;
141
+ }
142
+ .x-vlayout {
143
+ display: flex;
144
+ flex-direction: column;
145
+ }
146
+ .x-label {
147
+ color: inherit;
148
+ }
149
+ .x-label.right {
150
+ text-align: right;
151
+ }
152
+ .x-label.center {
153
+ text-align: center;
154
+ }
155
+ .x-sizer-overlay {
156
+ position: absolute;
157
+ }
158
+ .x-sizer-overlay.top {
159
+ width: 100%;
160
+ height: var(--x4-sizer-size);
161
+ cursor: n-resize;
162
+ left: 0;
163
+ top: 0;
164
+ }
165
+ .x-sizer-overlay.bottom {
166
+ width: 100%;
167
+ height: var(--x4-sizer-size);
168
+ cursor: n-resize;
169
+ left: 0;
170
+ bottom: 0;
171
+ }
172
+ .x-sizer-overlay.right {
173
+ top: 0;
174
+ right: 0;
175
+ width: var(--x4-sizer-size);
176
+ height: 100%;
177
+ cursor: e-resize;
178
+ }
179
+ .x-sizer-overlay.left {
180
+ top: 0;
181
+ left: 0;
182
+ width: var(--x4-sizer-size);
183
+ height: 100%;
184
+ cursor: e-resize;
185
+ }
186
+ .x-sizer-bottom {
187
+ padding-bottom: var(--x4-sizer-size);
188
+ }
189
+ .x-icon {
190
+ display: inline-flex;
191
+ align-items: center;
192
+ text-align: center;
193
+ flex-direction: column;
194
+ }
195
+ .x-icon:before {
196
+ font-family: var(--x4-icon-font-family);
197
+ }
198
+ .x-icon.x-svg-icon,
199
+ .x-icon svg {
200
+ width: 1em;
201
+ height: 1em;
202
+ }
203
+ .x-base-button {
204
+ display: flex;
205
+ flex-direction: row;
206
+ align-items: center;
207
+ outline: none;
208
+ cursor: pointer;
209
+ height: 2rem;
210
+ padding: 8px;
211
+ overflow: hidden;
212
+ border: 1px solid var(--x4-default-border-color);
213
+ background-color: var(--x4-button-color);
214
+ color: var(--x4-button-text-color);
215
+ }
216
+ .x-base-button .x-icon {
217
+ margin: 0 4px;
218
+ color: inherit;
219
+ }
220
+ .x-base-button:focus {
221
+ border-color: var(--x4-focus-color);
222
+ background-color: var(--x4-focus-color);
223
+ color: white;
224
+ }
225
+ .x-base-button.x-disable {
226
+ color: gray;
227
+ }
228
+ .x-base-button.x-disable:after {
229
+ content: "";
230
+ background-color: rgba(255, 255, 255, 0.6);
231
+ left: 0;
232
+ right: 0;
233
+ display: block;
234
+ top: 0;
235
+ bottom: 0;
236
+ position: absolute;
237
+ cursor: default;
238
+ }
239
+ .x-image {
240
+ display: flex;
241
+ overflow: hidden;
242
+ }
243
+ .x-image img {
244
+ width: 100%;
245
+ height: 100%;
246
+ }
247
+ .x-video {
248
+ display: flex;
249
+ overflow: hidden;
250
+ }
251
+ .x-video video {
252
+ width: 100%;
253
+ height: 100%;
254
+ }
255
+ .x-image-upload {
256
+ width: 96px;
257
+ height: 96px;
258
+ margin: 24px;
259
+ }
260
+ .x-image-upload img {
261
+ width: 96px;
262
+ height: 96px;
263
+ background-color: rgba(255, 255, 255, 0.7);
264
+ border-radius: 50%;
265
+ }
266
+ .x-canvas {
267
+ overflow: hidden;
268
+ }
269
+ .x-canvas canvas {
270
+ position: absolute;
271
+ left: 0;
272
+ top: 0;
273
+ right: 0;
274
+ bottom: 0;
275
+ }
276
+ ::-webkit-scrollbar {
277
+ width: var(--x4-scrollbar-width);
278
+ height: var(--x4-scrollbar-width);
279
+ background-color: var(--x4-scrollbar-background);
280
+ box-sizing: border-box;
281
+ }
282
+ ::-webkit-scrollbar-thumb {
283
+ background-color: var(--x4-scrollbar-thumb);
284
+ }
285
+ .x-circular-chart {
286
+ background-color: white;
287
+ box-shadow: 6px 6px 10px rgba(0, 0, 0, 0.5);
288
+ }
289
+ .x-circular-chart .head {
290
+ border-bottom: 1px solid rgba(255, 255, 255, 0.1);
291
+ padding: 2px;
292
+ height: 37px;
293
+ white-space: nowrap;
294
+ }
295
+ .x-circular-chart .head .x-label {
296
+ color: white;
297
+ padding: 8px;
298
+ }
299
+ .x-circular-chart .head .x-button {
300
+ height: 32px;
301
+ border: 1px solid rgba(255, 255, 255, 0.1);
302
+ }
303
+ .x-circular-chart .head .close-box {
304
+ color: white;
305
+ background-color: transparent;
306
+ border: none;
307
+ font-size: 28px;
308
+ padding-right: 0;
309
+ }
310
+ .x-text-edit,
311
+ .x-combo-box {
312
+ display: flex;
313
+ align-items: center;
314
+ width: min-content;
315
+ min-height: 32px;
316
+ padding: 0;
317
+ margin: 0;
318
+ margin-bottom: 4px;
319
+ }
320
+ .x-text-edit .x-hlayout,
321
+ .x-combo-box .x-hlayout,
322
+ .x-text-edit .x-vlayout,
323
+ .x-combo-box .x-vlayout {
324
+ overflow: visible;
325
+ }
326
+ .x-text-edit > .x-label,
327
+ .x-combo-box > .x-label {
328
+ padding: 4px;
329
+ color: rgba(0, 0, 0, 0.8);
330
+ margin-top: 1px;
331
+ line-height: 1.3em;
332
+ min-height: 2em;
333
+ }
334
+ .x-text-edit > .x-label:after,
335
+ .x-combo-box > .x-label:after {
336
+ content: ':';
337
+ }
338
+ .x-text-edit input,
339
+ .x-combo-box input,
340
+ .x-text-edit .x-fake-input,
341
+ .x-combo-box .x-fake-input {
342
+ height: 2em;
343
+ font-size: inherit;
344
+ outline: none;
345
+ border: none;
346
+ padding: 4px;
347
+ color: rgba(0, 0, 0, 0.9);
348
+ background-color: rgba(255, 255, 255, 0.25);
349
+ border-bottom: 1px solid transparent;
350
+ margin-top: 1px;
351
+ line-height: 1.3em;
352
+ }
353
+ .x-text-edit input::placeholder,
354
+ .x-combo-box input::placeholder,
355
+ .x-text-edit .x-fake-input::placeholder,
356
+ .x-combo-box .x-fake-input::placeholder {
357
+ color: rgba(255, 255, 255, 0.5);
358
+ }
359
+ .x-text-edit input::selection,
360
+ .x-combo-box input::selection,
361
+ .x-text-edit .x-fake-input::selection,
362
+ .x-combo-box .x-fake-input::selection {
363
+ background-color: var(--x4-selection-color);
364
+ color: #fff;
365
+ }
366
+ .x-text-edit input:focus,
367
+ .x-combo-box input:focus,
368
+ .x-text-edit .x-fake-input:focus,
369
+ .x-combo-box .x-fake-input:focus {
370
+ border-bottom-color: var(--x4-focus-color);
371
+ }
372
+ .x-text-edit:focus-within > .x-label,
373
+ .x-combo-box:focus-within > .x-label {
374
+ color: var(--x4-focus-color);
375
+ }
376
+ .x-text-edit .x-button.gadget,
377
+ .x-combo-box .x-button.gadget {
378
+ background-color: transparent;
379
+ font-size: var(--x4-font-size);
380
+ color: black;
381
+ border: none;
382
+ margin: 0;
383
+ padding: 0;
384
+ height: 2em;
385
+ margin-top: 1px;
386
+ }
387
+ .x-text-edit .x-button.gadget:focus,
388
+ .x-combo-box .x-button.gadget:focus {
389
+ color: var(--x4-focus-color);
390
+ }
391
+ .x-text-edit:focus .x-button.gadget,
392
+ .x-combo-box:focus .x-button.gadget,
393
+ .x-text-edit:focus input,
394
+ .x-combo-box:focus input {
395
+ border-color: var(--x4-focus-color);
396
+ }
397
+ .x-text-edit:focus input,
398
+ .x-combo-box:focus input {
399
+ border-bottom: 1px solid var(--x4-focus-color);
400
+ }
401
+ .x-text-edit:focus .x-button.gadget,
402
+ .x-combo-box:focus .x-button.gadget {
403
+ color: var(--x4-focus-color);
404
+ }
405
+ .x-text-edit:focus .x-label,
406
+ .x-combo-box:focus .x-label {
407
+ color: var(--x4-focus-color);
408
+ }
409
+ .x-text-edit .error-info,
410
+ .x-combo-box .error-info {
411
+ font-size: 70%;
412
+ padding: 4px;
413
+ color: white;
414
+ padding-left: 19px;
415
+ padding-top: 6px;
416
+ pointer-events: none;
417
+ right: 0;
418
+ position: absolute;
419
+ top: -2px;
420
+ z-index: 1;
421
+ }
422
+ .x-text-edit.x-required .label1:before,
423
+ .x-combo-box.x-required .label1:before {
424
+ content: '*';
425
+ padding-right: 2px;
426
+ }
427
+ .x-text-edit.x-error input,
428
+ .x-combo-box.x-error input {
429
+ border-bottom: none;
430
+ border-left: 4px solid var(--x4-error-color);
431
+ }
432
+ .x-combo-box > .x-label {
433
+ border-top: 1px solid transparent;
434
+ }
435
+ .x-combo-box .x-button.gadget,
436
+ .x-combo-box input,
437
+ .x-combo-box .x-fake-input {
438
+ border: 1px solid rgba(0, 0, 0, 0.1);
439
+ }
440
+ .x-combo-box .x-fake-input {
441
+ min-width: 2em;
442
+ }
443
+ .x-combo-box input,
444
+ .x-combo-box .x-fake-input {
445
+ cursor: default;
446
+ border-right: none;
447
+ }
448
+ .x-combo-box:focus .x-button.gadget,
449
+ .x-combo-box:focus input,
450
+ .x-combo-box:focus .x-fake-input {
451
+ border-color: var(--x4-focus-color);
452
+ }
453
+ .x-combo-box:focus input,
454
+ .x-combo-box:focus .x-fake-input {
455
+ border-bottom: 1px solid var(--x4-focus-color);
456
+ }
457
+ .x-combo-box:focus .x-button.gadget {
458
+ color: var(--x4-focus-color);
459
+ }
460
+ .x-combo-box:focus .x-label {
461
+ color: var(--x4-focus-color);
462
+ }
463
+ .x-hlayout > .x-combo-box {
464
+ margin-bottom: 0;
465
+ margin-right: 4px;
466
+ }
467
+ .x-text-edit.vertical {
468
+ align-items: stretch;
469
+ }
470
+ .x-text-edit input:read-only {
471
+ background-color: transparent;
472
+ border-bottom: 1px solid rgba(0, 0, 0, 0.1);
473
+ }
474
+ .x-text-edit .x-button {
475
+ padding: 8px 4px;
476
+ height: auto;
477
+ border: none;
478
+ background-color: rgba(0, 0, 0, 0.1);
479
+ }
480
+ .x-text-edit .x-button:hover {
481
+ background-color: rgba(0, 0, 0, 0.3);
482
+ }
483
+ .x-text-edit:focus input {
484
+ border-bottom: 1px solid white;
485
+ }
486
+ .x-text-edit:focus .label1 {
487
+ color: black;
488
+ }
489
+ .x-check-box {
490
+ align-items: center;
491
+ color: rgba(0, 0, 0, 0.8);
492
+ outline: none;
493
+ padding: 4px 0;
494
+ }
495
+ .x-check-box input {
496
+ outline: none;
497
+ margin: 4px;
498
+ padding: 0;
499
+ }
500
+ .x-check-box .x-label {
501
+ padding: 4px;
502
+ }
503
+ .x-check-box:focus-within {
504
+ text-decoration: underline;
505
+ color: var(--x4-selection-color);
506
+ }
507
+ .x-check-box.slider input {
508
+ clip: rect(0 0 0 0);
509
+ position: absolute;
510
+ width: 1px;
511
+ height: 1px;
512
+ }
513
+ .x-check-box.slider .x-label:before {
514
+ box-sizing: border-box;
515
+ position: absolute;
516
+ left: 0px;
517
+ top: 3px;
518
+ content: "";
519
+ display: inline-block;
520
+ width: 2.4em;
521
+ height: 1.4em;
522
+ border-radius: 1.4rem;
523
+ padding: 2px;
524
+ background-color: rgba(0, 0, 0, 0.3);
525
+ transition: all 0.2s;
526
+ border: 1px solid rgba(255, 255, 255, 0.5);
527
+ }
528
+ .x-check-box.slider .x-label:after {
529
+ box-sizing: border-box;
530
+ content: "";
531
+ top: 5px;
532
+ height: calc(1.4em - 4px);
533
+ width: calc(1.4em - 4px);
534
+ border-radius: 50%;
535
+ background-color: #fff;
536
+ transition: all 0.2s;
537
+ position: absolute;
538
+ left: 2px;
539
+ }
540
+ .x-check-box.slider input:checked + .x-label:before {
541
+ background-color: var(--x4-selection-color);
542
+ }
543
+ .x-check-box.slider input:checked + .x-label:after {
544
+ left: calc(1em + 2px);
545
+ background-color: white;
546
+ }
547
+ .x-check-box.slider .x-label {
548
+ padding-left: calc(2.5em + 4px);
549
+ height: 2em;
550
+ }
551
+ .x-menu {
552
+ box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
553
+ background-color: #f7f7f7;
554
+ padding: 2px 0;
555
+ max-height: 80%;
556
+ overflow: auto;
557
+ }
558
+ .x-menu-title {
559
+ width: 100%;
560
+ background-color: #e22e6d;
561
+ color: white;
562
+ height: 2.3em;
563
+ display: block;
564
+ padding: 0 8px;
565
+ line-height: 2.5em;
566
+ }
567
+ .x-menu-item {
568
+ display: flex;
569
+ flex-direction: row;
570
+ align-items: center;
571
+ outline: none;
572
+ background-color: transparent;
573
+ color: rgba(0, 0, 0, 0.8);
574
+ padding: 0px 8px;
575
+ min-width: 120px;
576
+ border: none;
577
+ }
578
+ .x-menu-item .x-icon {
579
+ width: 1em;
580
+ margin-right: 8px;
581
+ color: rgba(0, 0, 0, 0.3);
582
+ }
583
+ .x-menu-item .x-label {
584
+ padding: 4px;
585
+ }
586
+ .x-menu-item:hover {
587
+ background-color: #c6d3d9;
588
+ color: black;
589
+ }
590
+ .x-menu-item:hover .x-icon {
591
+ color: black;
592
+ }
593
+ .x-menu-separator {
594
+ margin-top: 4px;
595
+ border-top: 1px solid rgba(0, 0, 0, 0.1);
596
+ margin-bottom: 3px;
597
+ }
598
+ .x-link {
599
+ padding: 4px;
600
+ color: var(--x4-selection-color);
601
+ cursor: pointer;
602
+ outline: none;
603
+ display: flex;
604
+ align-items: center;
605
+ color: inherit;
606
+ }
607
+ .x-link:focus {
608
+ color: var(--x4-selection-color);
609
+ text-decoration: underline;
610
+ }
611
+ .x-column-view {
612
+ border-bottom: 1px solid rgba(255, 255, 255, 0.5);
613
+ overflow: hidden;
614
+ }
615
+ .x-column-view .line {
616
+ height: 48px;
617
+ }
618
+ .x-column-view .head {
619
+ background: none;
620
+ background-color: inherit;
621
+ box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.4);
622
+ z-index: 2;
623
+ border: 1px solid transparent;
624
+ border-bottom: 1px solid rgba(255, 255, 255, 0.5);
625
+ height: 40px;
626
+ margin: 0 4px;
627
+ }
628
+ .x-column-view .head .x-label {
629
+ line-height: 32px;
630
+ }
631
+ .x-column-view .h-container {
632
+ margin-right: var(--x4-scrollbar-width);
633
+ }
634
+ .x-list-view {
635
+ border: 1px solid var(--x4-default-border-color);
636
+ }
637
+ .x-list-view .x-list-item {
638
+ padding: 4px;
639
+ line-height: 2em;
640
+ white-space: nowrap;
641
+ }
642
+ .x-list-view .x-list-item:hover {
643
+ background-color: var(--x4-hover-color);
644
+ color: white;
645
+ }
646
+ .x-list-view .x-list-item.x-selected {
647
+ background-color: var(--x4-selection-color);
648
+ color: white;
649
+ }
650
+ .x-list-view .x-list-item:focus {
651
+ outline: none;
652
+ }
653
+ .x-list-view:focus {
654
+ outline: none;
655
+ border-color: var(--x4-focus-color);
656
+ }
657
+ .x-list-view .gadgets {
658
+ border-top: 1px solid rgba(0, 0, 0, 0.5);
659
+ background-color: rgba(0, 0, 0, 0.1);
660
+ }
661
+ .x-list-view .gadgets .x-button {
662
+ background-color: transparent;
663
+ }
664
+ .x-list-view .gadgets .x-button:hover {
665
+ background-color: white;
666
+ }
667
+ .x-mask {
668
+ filter: grayscale(80%);
669
+ }
670
+ .x-mask:after {
671
+ content: '';
672
+ position: absolute;
673
+ left: -100vw;
674
+ top: -100vh;
675
+ width: 200vw;
676
+ height: 200vh;
677
+ background-color: var(--x4-mask-color);
678
+ z-index: 999;
679
+ }
680
+ .x-popup {
681
+ position: absolute;
682
+ z-index: 1000;
683
+ font-family: var(--x4-font);
684
+ font-size: var(--x4-font-size);
685
+ }
686
+ .x-popup:focus {
687
+ outline: none;
688
+ }
689
+ .x-panel > .title {
690
+ align-items: center;
691
+ line-height: 1.5em;
692
+ padding: 4px;
693
+ border-bottom: 1px solid var(--x4-default-border-color);
694
+ }
695
+ .x-panel > .title > .x-label {
696
+ flex: 1;
697
+ }
698
+ .x-panel > .title > .x-button {
699
+ background-color: transparent;
700
+ padding: 0;
701
+ border: none;
702
+ box-shadow: none;
703
+ }
704
+ .x-panel > .title > .x-button:focus {
705
+ color: black;
706
+ }
707
+ .x-panel > .body {
708
+ padding: 8px;
709
+ flex: 1;
710
+ }
711
+ .x-dialog {
712
+ border: 0.5px solid rgba(0, 0, 0, 0.2);
713
+ box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.6);
714
+ min-width: 250px;
715
+ min-height: 100px;
716
+ }
717
+ .x-dialog > .title {
718
+ height: 2rem;
719
+ color: white;
720
+ padding: 0 8px;
721
+ display: flex;
722
+ align-items: center;
723
+ background-color: var(--x4-selection-color);
724
+ }
725
+ .x-dialog > .title .x-icon {
726
+ width: 2em;
727
+ height: 1.9em;
728
+ padding: 4px;
729
+ text-align: center;
730
+ cursor: pointer;
731
+ }
732
+ .x-dialog > .title .x-icon:hover {
733
+ background-color: rgba(255, 255, 255, 0.1);
734
+ }
735
+ .x-dialog > .title .x-icon.close-btn:hover {
736
+ background-color: var(--x4-error-color);
737
+ color: white;
738
+ }
739
+ .x-dialog > .title .x-label {
740
+ border-bottom: none;
741
+ padding: 0;
742
+ }
743
+ .x-dialog > .title .res-btn {
744
+ display: none;
745
+ }
746
+ .x-dialog.maximized > .title .min-btn,
747
+ .x-dialog.maximized > .title .max-btn {
748
+ display: none;
749
+ }
750
+ .x-dialog.maximized > .title .res-btn {
751
+ display: block;
752
+ }
753
+ .x-dialog.x-resized {
754
+ display: flex;
755
+ flex-direction: column;
756
+ }
757
+ .x-dialog.x-resized > .x-form {
758
+ flex: 1;
759
+ }
760
+ .x-dialog.x-resized > .x-form > .container {
761
+ min-height: 0;
762
+ min-width: 0;
763
+ flex: 1;
764
+ flex-basis: 0;
765
+ }
766
+ .x-dialog.maximized {
767
+ left: 0;
768
+ top: 0;
769
+ width: 100%;
770
+ height: 100%;
771
+ margin: 0;
772
+ }
773
+ .x-dialog.maximized > .title {
774
+ height: 2em;
775
+ }
776
+ .x-size-all {
777
+ margin: 4px;
778
+ }
779
+ .x-size-all > .x-sizer-overlay {
780
+ background-color: transparent;
781
+ border: none;
782
+ }
783
+ .x-size-all > .x-sizer-overlay.topleft,
784
+ .x-size-all > .x-sizer-overlay.topright,
785
+ .x-size-all > .x-sizer-overlay.bottomleft,
786
+ .x-size-all > .x-sizer-overlay.bottomright {
787
+ cursor: se-resize;
788
+ width: 6px;
789
+ height: 6px;
790
+ z-index: 11;
791
+ }
792
+ .x-size-all > .x-sizer-overlay.topleft {
793
+ left: -4px;
794
+ top: -4px;
795
+ }
796
+ .x-size-all > .x-sizer-overlay.bottomright {
797
+ right: -4px;
798
+ bottom: -4px;
799
+ }
800
+ .x-size-all > .x-sizer-overlay.topright {
801
+ cursor: nesw-resize;
802
+ right: -4px;
803
+ top: -4px;
804
+ }
805
+ .x-size-all > .x-sizer-overlay.bottomleft {
806
+ cursor: nesw-resize;
807
+ left: -4px;
808
+ bottom: -4px;
809
+ }
810
+ .x-size-all > .x-sizer-overlay.top,
811
+ .x-size-all > .x-sizer-overlay.bottom {
812
+ width: 100%;
813
+ height: 4px;
814
+ left: 0;
815
+ z-index: 10;
816
+ cursor: n-resize;
817
+ }
818
+ .x-size-all > .x-sizer-overlay.top {
819
+ top: -4px;
820
+ }
821
+ .x-size-all > .x-sizer-overlay.bottom {
822
+ bottom: -4px;
823
+ }
824
+ .x-size-all > .x-sizer-overlay.left,
825
+ .x-size-all > .x-sizer-overlay.right {
826
+ height: 100%;
827
+ width: 4px;
828
+ top: 0;
829
+ z-index: 10;
830
+ cursor: w-resize;
831
+ border: none;
832
+ }
833
+ .x-size-all > .x-sizer-overlay.left {
834
+ left: -4px;
835
+ }
836
+ .x-size-all > .x-sizer-overlay.right {
837
+ right: -4px;
838
+ }
839
+ .x-form {
840
+ background-color: var(--x4-form-color);
841
+ margin-block-end: 0;
842
+ padding: 8px;
843
+ min-width: 250px;
844
+ min-height: 50px;
845
+ overflow: auto;
846
+ }
847
+ .x-form > .container {
848
+ padding: 0px;
849
+ }
850
+ .x-form > .footer {
851
+ position: relative;
852
+ left: 0;
853
+ bottom: 0;
854
+ width: 100%;
855
+ justify-content: flex-end;
856
+ padding: 0px;
857
+ margin-top: 8px;
858
+ align-items: center;
859
+ }
860
+ .x-form > .footer .x-button:not(.x-small) {
861
+ min-width: 110px;
862
+ }
863
+ .x-form > .footer .x-button:not(:first-child) {
864
+ margin-left: 8px;
865
+ }
866
+ .x-hidden {
867
+ display: none ! important;
868
+ }
869
+ .x-tab-view {
870
+ overflow: hidden;
871
+ padding: 24px;
872
+ padding-top: 0;
873
+ }
874
+ .x-tab-view .x-tab-switch {
875
+ border-bottom: 1px solid rgba(255, 255, 255, 0.1);
876
+ background-color: rgba(0, 0, 0, 0.1);
877
+ }
878
+ .x-tab-view .x-tab-switch .x-tab-btn {
879
+ border: none;
880
+ background-color: transparent;
881
+ }
882
+ .x-tab-view .x-tab-switch .x-tab-btn:hover .x-label {
883
+ text-decoration: underline;
884
+ }
885
+ .x-tab-view .x-tab-switch .x-tab-btn.x-active {
886
+ background-color: rgba(255, 255, 255, 0.2);
887
+ }
888
+ .x-tab-page {
889
+ min-width: 0;
890
+ }
891
+ .x-input-box > .title,
892
+ .x-message-box > .title,
893
+ .x-important > .title {
894
+ background: none;
895
+ background-color: var(--x4-error-color);
896
+ height: 2.5em;
897
+ }
898
+ .x-input-box > .title .x-label,
899
+ .x-message-box > .title .x-label,
900
+ .x-important > .title .x-label {
901
+ border-bottom: none;
902
+ padding-bottom: 0;
903
+ }
904
+ .x-input-box > .title .x-icon,
905
+ .x-message-box > .title .x-icon,
906
+ .x-important > .title .x-icon {
907
+ display: none;
908
+ }
909
+ .x-input-box .x-form,
910
+ .x-message-box .x-form,
911
+ .x-important .x-form {
912
+ min-height: 100px;
913
+ background-color: white;
914
+ }
915
+ .x-input-box .x-form .panel,
916
+ .x-message-box .x-form .panel,
917
+ .x-important .x-form .panel {
918
+ align-items: center;
919
+ }
920
+ .x-input-box .x-form .icon,
921
+ .x-message-box .x-form .icon,
922
+ .x-important .x-form .icon {
923
+ font-size: 48px;
924
+ color: var(--x4-error-color);
925
+ margin-right: 8px;
926
+ }
927
+ .x-input-box .x-form .text,
928
+ .x-message-box .x-form .text,
929
+ .x-important .x-form .text {
930
+ padding: 8px;
931
+ color: #666666;
932
+ line-height: 1.7em;
933
+ max-width: 50vw;
934
+ }
935
+ .x-input-box .x-form > .footer,
936
+ .x-message-box .x-form > .footer,
937
+ .x-important .x-form > .footer {
938
+ background-color: white;
939
+ border-top: 1px solid rgba(0, 0, 0, 0.05);
940
+ padding-top: 8px;
941
+ }
942
+ .x-input-box .x-form > .footer .x-button,
943
+ .x-message-box .x-form > .footer .x-button,
944
+ .x-important .x-form > .footer .x-button {
945
+ background-color: var(--x4-error-color);
946
+ color: white;
947
+ }
948
+ .x-input-box .x-form > .footer .x-button:focus,
949
+ .x-message-box .x-form > .footer .x-button:focus,
950
+ .x-important .x-form > .footer .x-button:focus {
951
+ border-color: black;
952
+ }
953
+ .x-spreadsheet,
954
+ .x-grid-view {
955
+ min-height: 0;
956
+ overflow: hidden;
957
+ background-color: white;
958
+ }
959
+ .x-spreadsheet .x-cell,
960
+ .x-grid-view .x-cell {
961
+ overflow: hidden;
962
+ padding: 4px;
963
+ white-space: nowrap;
964
+ color: black;
965
+ height: 2em;
966
+ }
967
+ .x-spreadsheet .x-footer,
968
+ .x-grid-view .x-footer,
969
+ .x-spreadsheet .x-header,
970
+ .x-grid-view .x-header {
971
+ height: 2em;
972
+ background-color: #f0f0f0;
973
+ align-items: center;
974
+ border-bottom: 1px solid rgba(0, 0, 0, 0.4);
975
+ }
976
+ .x-spreadsheet .x-footer .x-sizer-bar,
977
+ .x-grid-view .x-footer .x-sizer-bar,
978
+ .x-spreadsheet .x-header .x-sizer-bar,
979
+ .x-grid-view .x-header .x-sizer-bar {
980
+ background-color: transparent;
981
+ }
982
+ .x-spreadsheet .x-footer .x-cell,
983
+ .x-grid-view .x-footer .x-cell,
984
+ .x-spreadsheet .x-header .x-cell,
985
+ .x-grid-view .x-header .x-cell {
986
+ text-overflow: ellipsis;
987
+ border-right: 1px solid rgba(0, 0, 0, 0.1);
988
+ height: unset;
989
+ }
990
+ .x-spreadsheet .x-footer .x-cell.sort,
991
+ .x-grid-view .x-footer .x-cell.sort,
992
+ .x-spreadsheet .x-header .x-cell.sort,
993
+ .x-grid-view .x-header .x-cell.sort {
994
+ background-image: var(--x4-icon-arrow-down-long);
995
+ background-repeat: no-repeat;
996
+ background-size: 1rem 1rem;
997
+ background-position: right 0 top 6px;
998
+ padding-right: calc(1rem + 4px);
999
+ }
1000
+ .x-spreadsheet .x-footer .x-cell.sort.desc,
1001
+ .x-grid-view .x-footer .x-cell.sort.desc,
1002
+ .x-spreadsheet .x-header .x-cell.sort.desc,
1003
+ .x-grid-view .x-header .x-cell.sort.desc {
1004
+ background-image: var(--x4-icon-arrow-up-long);
1005
+ }
1006
+ .x-spreadsheet .x-header .x-cell,
1007
+ .x-grid-view .x-header .x-cell {
1008
+ display: flex;
1009
+ align-items: center;
1010
+ }
1011
+ .x-spreadsheet .x-row,
1012
+ .x-grid-view .x-row {
1013
+ position: absolute;
1014
+ width: 100%;
1015
+ border-bottom: 1px solid #f0f0f0;
1016
+ align-items: center;
1017
+ height: 2em;
1018
+ }
1019
+ .x-spreadsheet .x-row.odd,
1020
+ .x-grid-view .x-row.odd {
1021
+ background-color: #fafafa;
1022
+ }
1023
+ .x-spreadsheet .x-cell,
1024
+ .x-grid-view .x-cell {
1025
+ border-right: 1px solid #f0f0f0;
1026
+ }
1027
+ .x-spreadsheet .x-cell.center,
1028
+ .x-grid-view .x-cell.center {
1029
+ text-align: center;
1030
+ }
1031
+ .x-spreadsheet .x-cell.right,
1032
+ .x-grid-view .x-cell.right {
1033
+ text-align: right;
1034
+ }
1035
+ .x-spreadsheet:focus,
1036
+ .x-grid-view:focus {
1037
+ outline: none;
1038
+ }
1039
+ .x-grid-view .x-footer,
1040
+ .x-grid-view .x-header {
1041
+ border-left: 4px solid #f0f0f0;
1042
+ }
1043
+ .x-grid-view .x-row {
1044
+ border-left: 4px solid transparent;
1045
+ }
1046
+ .x-grid-view .x-row:hover {
1047
+ background-color: rgba(0, 0, 0, 0.1);
1048
+ border-left-color: rgba(0, 0, 0, 0.6);
1049
+ }
1050
+ .x-grid-view .x-row.x-selected {
1051
+ background-color: var(--x4-selection-color);
1052
+ }
1053
+ .x-grid-view .x-row.x-selected .x-cell {
1054
+ color: white;
1055
+ }
1056
+ .x-grid-view .empty-msg {
1057
+ position: absolute;
1058
+ left: 1em;
1059
+ top: 4em;
1060
+ }
1061
+ .x-spreadsheet .content .x-cell {
1062
+ position: absolute;
1063
+ border-right: 1px solid rgba(0, 0, 0, 0.1);
1064
+ border-bottom: 1px solid rgba(0, 0, 0, 0.1);
1065
+ height: 2em;
1066
+ }
1067
+ .x-spreadsheet .x-cell.x-selected {
1068
+ background-color: rgba(0, 0, 0, 0.1);
1069
+ }
1070
+ .x-spreadsheet:focus .x-cell.x-selected {
1071
+ background-color: var(--x4-selection-color);
1072
+ color: white;
1073
+ }
1074
+ .x-spreadsheet .x-editor {
1075
+ position: absolute;
1076
+ min-height: 0;
1077
+ }
1078
+ .x-spreadsheet .x-editor input {
1079
+ margin: 0;
1080
+ min-height: 0;
1081
+ }
1082
+ .x-side-bar {
1083
+ min-width: 44px;
1084
+ }
1085
+ .x-side-bar .x-button {
1086
+ background-color: transparent;
1087
+ color: var(--x4-base-color);
1088
+ border: none;
1089
+ min-height: 2em;
1090
+ }
1091
+ .x-side-bar .x-button:hover {
1092
+ background-color: var(--x4-hover-color);
1093
+ color: white;
1094
+ }
1095
+ .x-side-bar .x-button:hover .x-icon {
1096
+ color: rgba(255, 255, 255, 0.5);
1097
+ }
1098
+ .x-side-bar .x-button.x-active {
1099
+ background-color: var(--x4-base-color);
1100
+ color: white;
1101
+ }
1102
+ .x-side-bar .x-button.x-active .x-icon {
1103
+ color: white;
1104
+ }
1105
+ .x-side-bar .x-button.x-active:hover {
1106
+ color: white;
1107
+ }
1108
+ .x-side-bar .x-button.x-active:hover .x-icon {
1109
+ color: rgba(255, 255, 255, 0.5);
1110
+ }
1111
+ .x-side-bar .x-button.trans,
1112
+ .x-side-bar .x-button.trans .x-icon {
1113
+ transition: background-color 0.4s ease, color 0.4s ease;
1114
+ }
1115
+ .x-side-bar.collapsed .x-button .x-label {
1116
+ display: none;
1117
+ }
1118
+ .x-side-bar.collapsed .x-button.x-active .x-icon,
1119
+ .x-side-bar.collapsed .x-button:hover .x-icon {
1120
+ color: white;
1121
+ }
1122
+ .x-tooltip {
1123
+ box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.4);
1124
+ z-index: 50000;
1125
+ display: inline-block;
1126
+ max-width: 400px;
1127
+ pointer-events: none;
1128
+ background-color: white;
1129
+ color: white;
1130
+ padding-left: 24px;
1131
+ font-size: 0.8rem;
1132
+ font-weight: 300;
1133
+ }
1134
+ .x-tooltip .x-icon {
1135
+ position: absolute;
1136
+ left: 6px;
1137
+ top: 7px;
1138
+ color: var(--x4-tip-background);
1139
+ }
1140
+ .x-tooltip .x-label {
1141
+ background-color: var(--x4-selection-color);
1142
+ white-space: break-spaces;
1143
+ display: inline-block;
1144
+ padding: 6px;
1145
+ line-height: 1.3em;
1146
+ }
1147
+ .x-search-bar {
1148
+ background-color: var(--x4-base-color);
1149
+ height: 2em;
1150
+ }
1151
+ .x-popup-table {
1152
+ box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.6);
1153
+ border-collapse: collapse;
1154
+ background-color: white;
1155
+ padding: 2px 0;
1156
+ }
1157
+ .x-popup-table tr:hover,
1158
+ .x-popup-table tr.x-selected {
1159
+ background-color: #c8ffff;
1160
+ }
1161
+ .x-popup-table td {
1162
+ padding: 3px 8px;
1163
+ border-bottom: 1px solid rgba(0, 0, 0, 0.1);
1164
+ }
1165
+ .x-popup-table .hilite {
1166
+ font-weight: bold;
1167
+ }
1168
+ .x-scroll-view,
1169
+ .x-container.x-scroll-view {
1170
+ overflow-y: auto;
1171
+ }
1172
+ .x-popup-list-view {
1173
+ background-color: white;
1174
+ }
1175
+ .x-popup-list-view .x-combo-popup {
1176
+ min-height: 1em;
1177
+ max-height: 400px;
1178
+ border: 1px solid #00000073;
1179
+ overflow: auto;
1180
+ color: black;
1181
+ }
1182
+ .x-popup-list-view .x-combo-popup .x-list-item {
1183
+ height: 2em;
1184
+ line-height: calc(2em - 8px);
1185
+ }
1186
+ .x-calendar {
1187
+ border: 1px solid rgba(0, 0, 0, 0.1);
1188
+ padding: 4px;
1189
+ }
1190
+ .x-calendar .month-sel {
1191
+ height: 2em;
1192
+ align-items: center;
1193
+ padding-left: 2em;
1194
+ margin-bottom: 8px;
1195
+ }
1196
+ .x-calendar .month-sel .month {
1197
+ padding-right: 4px;
1198
+ }
1199
+ .x-calendar .month-sel .year {
1200
+ cursor: pointer;
1201
+ }
1202
+ .x-calendar .month-sel .month,
1203
+ .x-calendar .month-sel .year {
1204
+ cursor: pointer;
1205
+ }
1206
+ .x-calendar .month-sel .month:hover,
1207
+ .x-calendar .month-sel .year:hover {
1208
+ text-decoration: underline;
1209
+ }
1210
+ .x-calendar .month-sel .x-label {
1211
+ font-weight: bold;
1212
+ }
1213
+ .x-calendar .month-sel .x-button {
1214
+ height: auto;
1215
+ color: black;
1216
+ }
1217
+ .x-calendar .week {
1218
+ align-items: center;
1219
+ }
1220
+ .x-calendar .week:hover {
1221
+ background-color: var(--x4-hover-color);
1222
+ border-radius: 4px;
1223
+ }
1224
+ .x-calendar .week .cell {
1225
+ height: 100%;
1226
+ color: rgba(0, 0, 0, 0.7);
1227
+ text-align: center;
1228
+ }
1229
+ .x-calendar .week .cell span {
1230
+ margin: auto;
1231
+ }
1232
+ .x-calendar .week .today {
1233
+ font-weight: bold;
1234
+ background-color: var(--x4-error-color);
1235
+ }
1236
+ .x-calendar .week .today span {
1237
+ border-radius: 2px;
1238
+ color: white;
1239
+ }
1240
+ .x-calendar .week .weeknum {
1241
+ width: 2em;
1242
+ color: rgba(0, 0, 0, 0.3);
1243
+ font-size: 70%;
1244
+ }
1245
+ .x-calendar .week .day {
1246
+ cursor: pointer;
1247
+ }
1248
+ .x-calendar .week .out {
1249
+ color: rgba(0, 0, 0, 0.3);
1250
+ }
1251
+ .x-calendar .week .day:hover {
1252
+ background-color: var(--x4-hover-color);
1253
+ color: white;
1254
+ }
1255
+ .x-calendar .header .cell {
1256
+ color: rgba(0, 0, 0, 0.5);
1257
+ height: 1.5em;
1258
+ }
1259
+ .x-calendar .header:hover {
1260
+ background-color: inherit;
1261
+ }
1262
+ .x-popup-calendar {
1263
+ width: 250px;
1264
+ height: 200px;
1265
+ background-color: white;
1266
+ box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.6);
1267
+ }
1268
+ .x-separator {
1269
+ background-color: white;
1270
+ }
1271
+ .x-separator.horizontal {
1272
+ width: 4px;
1273
+ border-left: 1px solid #c7c7c7;
1274
+ border-right: 1px solid #c7c7c7;
1275
+ cursor: e-resize;
1276
+ }
1277
+ .x-separator.vertical {
1278
+ height: 4px;
1279
+ border-top: 1px solid #c7c7c7;
1280
+ border-bottom: 1px solid #c7c7c7;
1281
+ cursor: n-resize;
1282
+ }
1283
+ .x-separator:hover {
1284
+ background-color: #575757;
1285
+ border-color: #575757;
1286
+ }
1287
+ .x-toggle-button.checked {
1288
+ background-color: #a8a8a8;
1289
+ }
1290
+ .x-color-picker-box .customs {
1291
+ padding: 8px;
1292
+ }
1293
+ .x-color-picker-box .customs .cust-cc {
1294
+ height: 16px;
1295
+ border: 1px solid rgba(0, 0, 0, 0.4);
1296
+ }
1297
+ .x-color-picker .sel {
1298
+ position: absolute;
1299
+ left: 10px;
1300
+ top: 10px;
1301
+ right: 40px;
1302
+ bottom: 40px;
1303
+ }
1304
+ .x-color-picker .sel .marker {
1305
+ position: absolute;
1306
+ width: 6px;
1307
+ height: 6px;
1308
+ margin-top: -3px;
1309
+ margin-left: -3px;
1310
+ border: 1px solid white;
1311
+ }
1312
+ .x-color-picker .light {
1313
+ background: linear-gradient(to right, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
1314
+ }
1315
+ .x-color-picker .dark {
1316
+ background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, #000000 100%);
1317
+ }
1318
+ .x-color-picker .hue {
1319
+ position: absolute;
1320
+ top: 10px;
1321
+ bottom: 40px;
1322
+ right: 10px;
1323
+ width: 20px;
1324
+ background: linear-gradient(to bottom, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 66%, #ff00ff 83%, #ff0000 100%);
1325
+ }
1326
+ .x-color-picker .hue .marker {
1327
+ position: absolute;
1328
+ width: calc(100% + 6px);
1329
+ height: 4px;
1330
+ margin-top: -2px;
1331
+ margin-left: -3px;
1332
+ background-color: black;
1333
+ }
1334
+ .x-color-picker .sample {
1335
+ position: absolute;
1336
+ bottom: 10px;
1337
+ height: 20px;
1338
+ width: 20px;
1339
+ right: 10px;
1340
+ }
1341
+ .x-color-picker .sample .color {
1342
+ background: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, #ff0000 100%);
1343
+ }
1344
+ .x-color-picker .alpha,
1345
+ .x-color-picker .transp {
1346
+ position: absolute;
1347
+ left: 10px;
1348
+ bottom: 10px;
1349
+ right: 20px;
1350
+ height: 20px;
1351
+ }
1352
+ .x-color-picker .transp {
1353
+ bottom: 8px;
1354
+ width: 115px;
1355
+ left: 4px;
1356
+ height: 24px;
1357
+ }
1358
+ .x-color-picker .hexv {
1359
+ position: absolute;
1360
+ bottom: 8px;
1361
+ left: 120px;
1362
+ height: 24px;
1363
+ margin: 0;
1364
+ width: 90px;
1365
+ min-height: unset;
1366
+ }
1367
+ .x-color-picker .alpha {
1368
+ background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAIAAAACUFjqAAAEsmlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNS41LjAiPgogPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgeG1sbnM6ZXhpZj0iaHR0cDovL25zLmFkb2JlLmNvbS9leGlmLzEuMC8iCiAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyIKICAgIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIKICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIgogICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgZXhpZjpQaXhlbFhEaW1lbnNpb249IjEwIgogICBleGlmOlBpeGVsWURpbWVuc2lvbj0iMTAiCiAgIGV4aWY6Q29sb3JTcGFjZT0iMSIKICAgdGlmZjpJbWFnZVdpZHRoPSIxMCIKICAgdGlmZjpJbWFnZUxlbmd0aD0iMTAiCiAgIHRpZmY6UmVzb2x1dGlvblVuaXQ9IjIiCiAgIHRpZmY6WFJlc29sdXRpb249IjcyLjAiCiAgIHRpZmY6WVJlc29sdXRpb249IjcyLjAiCiAgIHBob3Rvc2hvcDpDb2xvck1vZGU9IjMiCiAgIHBob3Rvc2hvcDpJQ0NQcm9maWxlPSJzUkdCIElFQzYxOTY2LTIuMSIKICAgeG1wOk1vZGlmeURhdGU9IjIwMjEtMDMtMjJUMTU6NTE6NDkrMDE6MDAiCiAgIHhtcDpNZXRhZGF0YURhdGU9IjIwMjEtMDMtMjJUMTU6NTE6NDkrMDE6MDAiPgogICA8eG1wTU06SGlzdG9yeT4KICAgIDxyZGY6U2VxPgogICAgIDxyZGY6bGkKICAgICAgc3RFdnQ6YWN0aW9uPSJwcm9kdWNlZCIKICAgICAgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWZmaW5pdHkgRGVzaWduZXIgMS45LjAiCiAgICAgIHN0RXZ0OndoZW49IjIwMjEtMDMtMjJUMTU6NTE6NDkrMDE6MDAiLz4KICAgIDwvcmRmOlNlcT4KICAgPC94bXBNTTpIaXN0b3J5PgogIDwvcmRmOkRlc2NyaXB0aW9uPgogPC9yZGY6UkRGPgo8L3g6eG1wbWV0YT4KPD94cGFja2V0IGVuZD0iciI/Pn8+b7YAAAGCaUNDUHNSR0IgSUVDNjE5NjYtMi4xAAAokXWRy0tCQRSHv7Qwyh5gRIsWEtZKwwyiNi2UXlAt1CCrjV5fgdrlXiOibdBWKIja9FrUX1DboHUQFEUQ7YLWRW0qbueqoESe4cz55jdzDjNnwBLOKFm93gvZXF4LTvid85EFp+0FK5204sURVXR1JjQepqZ93lNnxluPWav2uX+tOZ7QFahrFB5VVC0vPCk8vZZXTd4R7lDS0bjwmbBbkwsK35l6rMSvJqdK/G2yFg4GwNIu7ExVcayKlbSWFZaX48pmVpXyfcyX2BO5uZDEHvFudIJM4MfJFGMEGGKAEZmH8OCjX1bUyPcW82dZkVxFZpV1NJZJkSaPW9RVqZ6QmBQ9ISPDutn/v33Vk4O+UnW7HxqeDeO9F2zb8FMwjK8jw/g5BusTXOYq+SuHMPwheqGiuQ6gbRPOrypabBcutqDrUY1q0aJkFbckk/B2Ci0RcNxA02KpZ+V9Th4gvCFfdQ17+9An59uWfgF7Hmfv4QYbGAAAAAlwSFlzAAALEwAACxMBAJqcGAAAACdJREFUGJVjbGhoYEAC9fX1yFwmBryAptKM////R+Y3NjbSzW4C0gAo9QeQBmhTIwAAAABJRU5ErkJggg==');
1369
+ }
1370
+ .x-color-picker .alpha .marker {
1371
+ position: absolute;
1372
+ height: calc(100% + 6px);
1373
+ width: 4px;
1374
+ margin-top: -3px;
1375
+ margin-left: -2px;
1376
+ background-color: black;
1377
+ }
1378
+ .x-color-picker.with-alpha .sel {
1379
+ left: 4px;
1380
+ top: 4px;
1381
+ bottom: 34px;
1382
+ right: 34px;
1383
+ }
1384
+ .x-color-picker.with-alpha .hue {
1385
+ top: 4px;
1386
+ right: 4px;
1387
+ bottom: 34px;
1388
+ }
1389
+ .x-color-picker.with-alpha .hexv {
1390
+ bottom: 4px;
1391
+ left: 4px;
1392
+ width: 120px;
1393
+ }
1394
+ .x-color-picker.with-alpha .alpha {
1395
+ left: 130px;
1396
+ right: 4px;
1397
+ height: 24px;
1398
+ bottom: 4px;
1399
+ }
1400
+ .x-color-picker.with-alpha .transp,
1401
+ .x-color-picker.with-alpha .sample {
1402
+ display: none;
1403
+ }
1404
+ .x-color-picker.pal-mode {
1405
+ display: flex;
1406
+ gap: 1px;
1407
+ }
1408
+ .x-color-picker.pal-mode > .x-container {
1409
+ width: 100%;
1410
+ }
1411
+ .x-color-picker.pal-mode .hcol,
1412
+ .x-color-picker.pal-mode .vcol {
1413
+ justify-content: space-between;
1414
+ }
1415
+ .x-color-picker.pal-mode .hcol {
1416
+ min-height: 90px;
1417
+ margin-top: 40px;
1418
+ }
1419
+ .x-color-picker.pal-mode .hexv {
1420
+ bottom: 10px;
1421
+ left: 120px;
1422
+ right: 10px;
1423
+ width: unset;
1424
+ }
1425
+ .x-color-picker.pal-mode .transp {
1426
+ display: flex;
1427
+ }
1428
+ .x-color-picker.pal-mode #hsel {
1429
+ gap: 4px;
1430
+ flex-wrap: wrap;
1431
+ justify-content: center;
1432
+ }
1433
+ .x-color-picker.pal-mode #vsel {
1434
+ gap: 1px;
1435
+ margin-top: 10px;
1436
+ }
1437
+ .x-color-picker.pal-mode .clr-box {
1438
+ width: 19px;
1439
+ height: 10px;
1440
+ }
1441
+ .x-color-picker.pal-mode .hclr-box {
1442
+ height: 16px;
1443
+ min-width: 19px;
1444
+ font-size: 9px;
1445
+ line-height: 16px;
1446
+ text-align: center;
1447
+ }
1448
+ .x-color-picker.pal-mode .hclr-box.selected {
1449
+ border: 1px solid black;
1450
+ }
1451
+ .x-tree-view .x-scroll-view {
1452
+ margin: 4px;
1453
+ }
1454
+ .x-tree-view .x-tree-item {
1455
+ line-height: 1.5em;
1456
+ white-space: nowrap;
1457
+ overflow: hidden;
1458
+ align-items: center;
1459
+ }
1460
+ .x-tree-view .x-tree-item span {
1461
+ padding: 0 4px;
1462
+ }
1463
+ .x-tree-view .x-tree-item .tree-icon {
1464
+ width: 2em;
1465
+ }
1466
+ .x-tree-view .x-tree-item.collapsed .tree-icon {
1467
+ transform: rotate(-90deg);
1468
+ }
1469
+ .x-tree-view .x-tree-item:hover {
1470
+ background-color: rgba(255, 255, 255, 0.1);
1471
+ }
1472
+ .x-tree-view .x-tree-item.selected {
1473
+ background-color: rgba(255, 255, 255, 0.3);
1474
+ }
1475
+ .x-tree-view .x-tree-item .indent {
1476
+ position: absolute;
1477
+ border-left: 1px solid rgba(0, 0, 0, 0.1);
1478
+ height: 100%;
1479
+ top: 0;
1480
+ }
1481
+ .x-tree-view .gadgets {
1482
+ border-top: 1px solid rgba(0, 0, 0, 0.5);
1483
+ background-color: rgba(0, 0, 0, 0.1);
1484
+ }
1485
+ .x-tree-view .gadgets .x-button {
1486
+ background-color: transparent;
1487
+ }
1488
+ .x-tree-view .gadgets .x-button:hover {
1489
+ background-color: white;
1490
+ }
1491
+ .x-tooltip.error {
1492
+ background-color: var(--x4-error-color);
1493
+ padding: 0 6px;
1494
+ margin-left: 3px;
1495
+ position: absolute;
1496
+ border: 1px solid rgba(0, 0, 0, 0.3);
1497
+ }
1498
+ .x-tooltip.error .x-label {
1499
+ background-color: transparent;
1500
+ color: white;
1501
+ font-size: inherit;
1502
+ padding: 0;
1503
+ }
1504
+ .x-tooltip.error .x-icon {
1505
+ display: none;
1506
+ }
1507
+ .x-text-edit.with-gadgets input {
1508
+ border-right: none;
1509
+ }
1510
+ .x-text-edit.with-gadgets > .x-icon {
1511
+ border: 1px solid rgba(0, 0, 0, 0.5);
1512
+ width: 1.5em;
1513
+ height: 100%;
1514
+ line-height: 1.8em;
1515
+ border-left: none;
1516
+ }
1517
+ .x-text-hiliter {
1518
+ overflow: hidden;
1519
+ }
1520
+ .x-text-hiliter textarea {
1521
+ font-family: monospace;
1522
+ font-size: var(--x4-font-size);
1523
+ padding: 2px;
1524
+ resize: none;
1525
+ outline: none;
1526
+ border: 1px solid transparent;
1527
+ width: 100%;
1528
+ color: transparent;
1529
+ background-color: transparent;
1530
+ caret-color: black;
1531
+ -moz-tab-size: 4;
1532
+ -o-tab-size: 4;
1533
+ tab-size: 4;
1534
+ }
1535
+ .x-text-hiliter textarea:focus {
1536
+ border: 1px solid var(--x4-selection-color);
1537
+ }
1538
+ .x-text-hiliter .x-syntax-hiliter {
1539
+ font-family: monospace;
1540
+ font-size: var(--x4-font-size);
1541
+ padding: 2px;
1542
+ border: 1px solid transparent;
1543
+ overflow: hidden;
1544
+ white-space: pre;
1545
+ color: #5c5c5c;
1546
+ background-color: white;
1547
+ -moz-tab-size: 4;
1548
+ -o-tab-size: 4;
1549
+ tab-size: 4;
1550
+ }
1551
+ .x-text-hiliter .x-syntax-hiliter .num {
1552
+ color: #008000;
1553
+ }
1554
+ .x-text-hiliter .x-syntax-hiliter .kword {
1555
+ color: #000080;
1556
+ }
1557
+ .x-text-hiliter .x-syntax-hiliter .str {
1558
+ color: #8b0000;
1559
+ }
1560
+ .x-text-hiliter .x-syntax-hiliter .cmt {
1561
+ color: #8b008b;
1562
+ background-color: rgba(139, 0, 139, 0.2);
1563
+ }
1564
+ .x-text-hiliter .x-syntax-hiliter .punc {
1565
+ font-weight: bold;
1566
+ color: black;
1567
+ }
1568
+ .x-list-view.virtual .x-list-item {
1569
+ position: absolute;
1570
+ left: 0;
1571
+ right: 0;
1572
+ }