@loftyshaky/shared-app 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (293) hide show
  1. package/_locales/de/messages.json +128 -0
  2. package/_locales/en/messages.json +131 -0
  3. package/_locales/ru/messages.json +128 -0
  4. package/announcement.d.ts +2 -0
  5. package/announcement.js +1 -0
  6. package/app.d.ts +5 -0
  7. package/app.js +1 -0
  8. package/chunk-app-198a1b93.js +1 -0
  9. package/chunk-main-1095d121.js +9 -0
  10. package/chunk-main-651fde68.js +1 -0
  11. package/chunk-main-b3455ac8.js +1 -0
  12. package/chunk-pickr.min-a2459eac.js +1 -0
  13. package/ext.d.ts +5 -0
  14. package/ext.js +1 -0
  15. package/fonts/noto_sans.woff2 +0 -0
  16. package/html/announcement.html +15 -0
  17. package/index.d.ts +3 -0
  18. package/index.js +1 -0
  19. package/inputs.d.ts +2 -0
  20. package/inputs.js +1 -0
  21. package/js/env.js +16 -0
  22. package/js/ext/manifest.js +58 -0
  23. package/js/locales.js +48 -0
  24. package/js/package/plugins/rollup-plugin-copy.js +169 -0
  25. package/js/package/plugins/watcher.js +56 -0
  26. package/js/package/terser.js +18 -0
  27. package/js/project_name.js +5 -0
  28. package/js/projects_path.js +5 -0
  29. package/js/task_scheduler.js +39 -0
  30. package/js/webpack.config.js +156 -0
  31. package/package.json +14 -0
  32. package/scss/announcement/body.scss +10 -0
  33. package/scss/announcement/index.scss +3 -0
  34. package/scss/announcement/main.scss +8 -0
  35. package/scss/settings/ext_version.scss +7 -0
  36. package/scss/settings/index.scss +6 -0
  37. package/scss/settings/main.scss +17 -0
  38. package/scss/settings/section_btns.scss +52 -0
  39. package/scss/settings/sections.scss +22 -0
  40. package/scss/settings/transitions.scss +21 -0
  41. package/scss/shared/all.scss +3 -0
  42. package/scss/shared/btns.scss +39 -0
  43. package/scss/shared/checkboxes.scss +38 -0
  44. package/scss/shared/color_pickers.scss +93 -0
  45. package/scss/shared/colors.scss +84 -0
  46. package/scss/shared/crash_handler.scss +36 -0
  47. package/scss/shared/css_vars.scss +4 -0
  48. package/scss/shared/embed/error.scss +96 -0
  49. package/scss/shared/embed/font_face.scss +5 -0
  50. package/scss/shared/embed/loading_screen.scss +36 -0
  51. package/scss/shared/embed/no_tr.scss +3 -0
  52. package/scss/shared/focus.scss +80 -0
  53. package/scss/shared/group.scss +18 -0
  54. package/scss/shared/help.scss +66 -0
  55. package/scss/shared/hr.scss +6 -0
  56. package/scss/shared/index.scss +29 -0
  57. package/scss/shared/input_btns.scss +11 -0
  58. package/scss/shared/inputs.scss +70 -0
  59. package/scss/shared/inset_border.scss +20 -0
  60. package/scss/shared/link_btns.scss +12 -0
  61. package/scss/shared/links.scss +11 -0
  62. package/scss/shared/mixins.scss +130 -0
  63. package/scss/shared/mods.scss +39 -0
  64. package/scss/shared/range.scss +43 -0
  65. package/scss/shared/scrollbar.scss +35 -0
  66. package/scss/shared/selects.scss +14 -0
  67. package/scss/shared/text.scss +20 -0
  68. package/scss/shared/textareas.scss +7 -0
  69. package/scss/shared/themes/colors/dark.scss +13 -0
  70. package/scss/shared/themes/colors/light.scss +13 -0
  71. package/scss/shared/themes/colors/very_dark.scss +13 -0
  72. package/scss/shared/themes/general/dark_theme.scss +7 -0
  73. package/scss/shared/themes/general/light_theme.scss +7 -0
  74. package/scss/shared/themes/general/template.scss +259 -0
  75. package/scss/shared/themes/general/template_focus.scss +52 -0
  76. package/scss/shared/themes/general/very_dark_theme.scss +7 -0
  77. package/scss/shared/transitions.scss +36 -0
  78. package/scss/shared/upload_box.scss +67 -0
  79. package/scss/shared/vars.scss +19 -0
  80. package/settings.d.ts +2 -0
  81. package/settings.js +1 -0
  82. package/ts/announcement/components/body.d.ts +3 -0
  83. package/ts/announcement/components/index.d.ts +1 -0
  84. package/ts/announcement/components/prop_types/body.d.ts +4 -0
  85. package/ts/announcement/components/prop_types/index.d.ts +1 -0
  86. package/ts/announcement/internal.d.ts +3 -0
  87. package/ts/announcement/scripts/display.d.ts +6 -0
  88. package/ts/announcement/scripts/header.d.ts +6 -0
  89. package/ts/announcement/scripts/index.d.ts +2 -0
  90. package/ts/error_modules/crash_handler/components/body.d.ts +52 -0
  91. package/ts/error_modules/crash_handler/components/index.d.ts +1 -0
  92. package/ts/error_modules/crash_handler/components/prop_types/body.d.ts +4 -0
  93. package/ts/error_modules/crash_handler/components/prop_types/index.d.ts +1 -0
  94. package/ts/error_modules/crash_handler/data/fatal_error.d.ts +7 -0
  95. package/ts/error_modules/crash_handler/data/index.d.ts +2 -0
  96. package/ts/error_modules/crash_handler/data/visibility.d.ts +7 -0
  97. package/ts/error_modules/crash_handler/scripts/index.d.ts +1 -0
  98. package/ts/error_modules/crash_handler/scripts/page.d.ts +6 -0
  99. package/ts/error_modules/css/scripts/index.d.ts +1 -0
  100. package/ts/error_modules/css/scripts/main.d.ts +8 -0
  101. package/ts/error_modules/error/components/body.d.ts +3 -0
  102. package/ts/error_modules/error/components/close_btn.d.ts +2 -0
  103. package/ts/error_modules/error/components/ext_name.d.ts +2 -0
  104. package/ts/error_modules/error/components/index.d.ts +4 -0
  105. package/ts/error_modules/error/components/msg.d.ts +2 -0
  106. package/ts/error_modules/error/components/prop_types/body.d.ts +5 -0
  107. package/ts/error_modules/error/components/prop_types/index.d.ts +1 -0
  108. package/ts/error_modules/error/data/index.d.ts +3 -0
  109. package/ts/error_modules/error/data/main.d.ts +10 -0
  110. package/ts/error_modules/error/data/msg.d.ts +15 -0
  111. package/ts/error_modules/error/data/state.d.ts +24 -0
  112. package/ts/error_modules/error/interfaces/error.d.ts +6 -0
  113. package/ts/error_modules/error/interfaces/error_obj.d.ts +6 -0
  114. package/ts/error_modules/error/interfaces/index.d.ts +5 -0
  115. package/ts/error_modules/error/interfaces/observable_keys.d.ts +1 -0
  116. package/ts/error_modules/error/interfaces/show_error.d.ts +6 -0
  117. package/ts/error_modules/error/interfaces/timeout_observable_keys.d.ts +1 -0
  118. package/ts/error_modules/error/scripts/globals.d.ts +9 -0
  119. package/ts/error_modules/error/scripts/index.d.ts +1 -0
  120. package/ts/error_modules/internal.d.ts +10 -0
  121. package/ts/inputs/color/components/body.d.ts +3 -0
  122. package/ts/inputs/color/components/color_picker.d.ts +3 -0
  123. package/ts/inputs/color/components/fill_shadow.d.ts +3 -0
  124. package/ts/inputs/color/components/index.d.ts +4 -0
  125. package/ts/inputs/color/components/prop_types/body.d.ts +4 -0
  126. package/ts/inputs/color/components/prop_types/color_picker.d.ts +7 -0
  127. package/ts/inputs/color/components/prop_types/fill_shadow.d.ts +5 -0
  128. package/ts/inputs/color/components/prop_types/index.d.ts +4 -0
  129. package/ts/inputs/color/components/prop_types/visualization.d.ts +6 -0
  130. package/ts/inputs/color/components/visualization.d.ts +3 -0
  131. package/ts/inputs/color/data/color.d.ts +54 -0
  132. package/ts/inputs/color/data/index.d.ts +2 -0
  133. package/ts/inputs/color/data/visibility.d.ts +38 -0
  134. package/ts/inputs/color/interfaces/color.d.ts +1 -0
  135. package/ts/inputs/color/interfaces/color_picker_state.d.ts +6 -0
  136. package/ts/inputs/color/interfaces/color_picker_state_one.d.ts +5 -0
  137. package/ts/inputs/color/interfaces/i.d.ts +1 -0
  138. package/ts/inputs/color/interfaces/index.d.ts +4 -0
  139. package/ts/inputs/color/obj/color.d.ts +54 -0
  140. package/ts/inputs/color/obj/index.d.ts +1 -0
  141. package/ts/inputs/color/scripts/color_picker.d.ts +20 -0
  142. package/ts/inputs/color/scripts/index.d.ts +2 -0
  143. package/ts/inputs/color/scripts/position.d.ts +7 -0
  144. package/ts/inputs/components/btn.d.ts +3 -0
  145. package/ts/inputs/components/checkbox.d.ts +3 -0
  146. package/ts/inputs/components/file.d.ts +3 -0
  147. package/ts/inputs/components/group.d.ts +3 -0
  148. package/ts/inputs/components/help.d.ts +3 -0
  149. package/ts/inputs/components/help_btn.d.ts +3 -0
  150. package/ts/inputs/components/hr.d.ts +3 -0
  151. package/ts/inputs/components/icon_btn.d.ts +3 -0
  152. package/ts/inputs/components/index.d.ts +21 -0
  153. package/ts/inputs/components/input_item.d.ts +3 -0
  154. package/ts/inputs/components/label.d.ts +3 -0
  155. package/ts/inputs/components/link.d.ts +3 -0
  156. package/ts/inputs/components/link_btn.d.ts +3 -0
  157. package/ts/inputs/components/prop_types/btn.d.ts +4 -0
  158. package/ts/inputs/components/prop_types/checkbox.d.ts +4 -0
  159. package/ts/inputs/components/prop_types/file.d.ts +4 -0
  160. package/ts/inputs/components/prop_types/group.d.ts +5 -0
  161. package/ts/inputs/components/prop_types/help.d.ts +4 -0
  162. package/ts/inputs/components/prop_types/help_btn.d.ts +4 -0
  163. package/ts/inputs/components/prop_types/hr.d.ts +4 -0
  164. package/ts/inputs/components/prop_types/icon_btn.d.ts +4 -0
  165. package/ts/inputs/components/prop_types/index.d.ts +21 -0
  166. package/ts/inputs/components/prop_types/input_item.d.ts +7 -0
  167. package/ts/inputs/components/prop_types/label.d.ts +4 -0
  168. package/ts/inputs/components/prop_types/link.d.ts +4 -0
  169. package/ts/inputs/components/prop_types/link_btn.d.ts +4 -0
  170. package/ts/inputs/components/prop_types/range.d.ts +4 -0
  171. package/ts/inputs/components/prop_types/section.d.ts +4 -0
  172. package/ts/inputs/components/prop_types/section_btn.d.ts +6 -0
  173. package/ts/inputs/components/prop_types/section_content.d.ts +4 -0
  174. package/ts/inputs/components/prop_types/select.d.ts +4 -0
  175. package/ts/inputs/components/prop_types/text.d.ts +4 -0
  176. package/ts/inputs/components/prop_types/text_btn.d.ts +8 -0
  177. package/ts/inputs/components/prop_types/textarea.d.ts +4 -0
  178. package/ts/inputs/components/prop_types/upload_box.d.ts +4 -0
  179. package/ts/inputs/components/range.d.ts +3 -0
  180. package/ts/inputs/components/section.d.ts +3 -0
  181. package/ts/inputs/components/section_btn.d.ts +3 -0
  182. package/ts/inputs/components/section_content.d.ts +3 -0
  183. package/ts/inputs/components/select.d.ts +3 -0
  184. package/ts/inputs/components/text.d.ts +3 -0
  185. package/ts/inputs/components/text_btn.d.ts +3 -0
  186. package/ts/inputs/components/textarea.d.ts +3 -0
  187. package/ts/inputs/components/upload_box.d.ts +3 -0
  188. package/ts/inputs/data/help.d.ts +15 -0
  189. package/ts/inputs/data/index.d.ts +7 -0
  190. package/ts/inputs/data/input_width.d.ts +22 -0
  191. package/ts/inputs/data/label.d.ts +9 -0
  192. package/ts/inputs/data/nested_input.d.ts +18 -0
  193. package/ts/inputs/data/text.d.ts +21 -0
  194. package/ts/inputs/data/upload_box.d.ts +20 -0
  195. package/ts/inputs/data/val.d.ts +36 -0
  196. package/ts/inputs/interfaces/icon_btns.d.ts +2 -0
  197. package/ts/inputs/interfaces/index.d.ts +8 -0
  198. package/ts/inputs/interfaces/input.d.ts +2 -0
  199. package/ts/inputs/interfaces/inputs.d.ts +2 -0
  200. package/ts/inputs/interfaces/links.d.ts +2 -0
  201. package/ts/inputs/interfaces/options.d.ts +2 -0
  202. package/ts/inputs/interfaces/sections.d.ts +2 -0
  203. package/ts/inputs/interfaces/state_cond.d.ts +4 -0
  204. package/ts/inputs/interfaces/text_btn.d.ts +7 -0
  205. package/ts/inputs/internal.d.ts +12 -0
  206. package/ts/inputs/obj/btn.d.ts +5 -0
  207. package/ts/inputs/obj/checkbox.d.ts +5 -0
  208. package/ts/inputs/obj/file.d.ts +8 -0
  209. package/ts/inputs/obj/group.d.ts +6 -0
  210. package/ts/inputs/obj/hr.d.ts +5 -0
  211. package/ts/inputs/obj/icon_btn.d.ts +6 -0
  212. package/ts/inputs/obj/index.d.ts +16 -0
  213. package/ts/inputs/obj/input_base.d.ts +37 -0
  214. package/ts/inputs/obj/link.d.ts +12 -0
  215. package/ts/inputs/obj/link_btn.d.ts +5 -0
  216. package/ts/inputs/obj/option.d.ts +6 -0
  217. package/ts/inputs/obj/range.d.ts +20 -0
  218. package/ts/inputs/obj/section.d.ts +17 -0
  219. package/ts/inputs/obj/select.d.ts +9 -0
  220. package/ts/inputs/obj/text.d.ts +17 -0
  221. package/ts/inputs/obj/textarea.d.ts +5 -0
  222. package/ts/inputs/obj/upload_box.d.ts +14 -0
  223. package/ts/inputs/scripts/index.d.ts +2 -0
  224. package/ts/inputs/scripts/resolve.d.ts +5 -0
  225. package/ts/inputs/scripts/upload_box.d.ts +8 -0
  226. package/ts/settings/components/body.d.ts +3 -0
  227. package/ts/settings/components/index.d.ts +1 -0
  228. package/ts/settings/components/prop_types/body.d.ts +7 -0
  229. package/ts/settings/components/prop_types/index.d.ts +1 -0
  230. package/ts/settings/data/back_up.d.ts +16 -0
  231. package/ts/settings/data/index.d.ts +2 -0
  232. package/ts/settings/data/sections.d.ts +37 -0
  233. package/ts/settings/init.d.ts +1 -0
  234. package/ts/settings/internal.d.ts +9 -0
  235. package/ts/settings/optional_permissions/data/index.d.ts +1 -0
  236. package/ts/settings/optional_permissions/data/main.d.ts +11 -0
  237. package/ts/settings/optional_permissions/interfaces/index.d.ts +1 -0
  238. package/ts/settings/optional_permissions/interfaces/optional_permission_checkbox_dict.d.ts +3 -0
  239. package/ts/settings/schema/data/index.d.ts +1 -0
  240. package/ts/settings/schema/data/main.d.ts +10 -0
  241. package/ts/settings/schema/obj/index.d.ts +1 -0
  242. package/ts/settings/schema/obj/transform_item.d.ts +7 -0
  243. package/ts/settings/scripts/index.d.ts +1 -0
  244. package/ts/settings/scripts/theme.d.ts +12 -0
  245. package/ts/shared/app.d.ts +10 -0
  246. package/ts/shared/app_ext_globals.d.ts +6 -0
  247. package/ts/shared/css_vars/scripts/index.d.ts +1 -0
  248. package/ts/shared/css_vars/scripts/main.d.ts +18 -0
  249. package/ts/shared/data/data/index.d.ts +1 -0
  250. package/ts/shared/data/data/main.d.ts +4 -0
  251. package/ts/shared/data/interfaces/index.d.ts +1 -0
  252. package/ts/shared/data/interfaces/val.d.ts +2 -0
  253. package/ts/shared/ext.d.ts +27 -0
  254. package/ts/shared/ext_version/components/body.d.ts +2 -0
  255. package/ts/shared/ext_version/components/index.d.ts +1 -0
  256. package/ts/shared/functions.d.ts +3 -0
  257. package/ts/shared/globals.d.ts +4 -0
  258. package/ts/shared/init.d.ts +1 -0
  259. package/ts/shared/internal.d.ts +28 -0
  260. package/ts/shared/loading_screen/components/body.d.ts +3 -0
  261. package/ts/shared/loading_screen/components/index.d.ts +1 -0
  262. package/ts/shared/loading_screen/components/prop_types/body.d.ts +4 -0
  263. package/ts/shared/loading_screen/components/prop_types/index.d.ts +1 -0
  264. package/ts/shared/loading_screen/data/index.d.ts +1 -0
  265. package/ts/shared/loading_screen/data/main.d.ts +10 -0
  266. package/ts/shared/no_tr/scripts/index.d.ts +1 -0
  267. package/ts/shared/no_tr/scripts/main.d.ts +12 -0
  268. package/ts/shared/svg.d.ts +7 -0
  269. package/ts/shared/t.d.ts +34 -0
  270. package/ts/shared/tab_index/interfaces/index.d.ts +1 -0
  271. package/ts/shared/tab_index/interfaces/set_Input_type_event.d.ts +2 -0
  272. package/ts/shared/tab_index/scripts/index.d.ts +1 -0
  273. package/ts/shared/tab_index/scripts/main.d.ts +18 -0
  274. package/ts/shared/theme/scripts/index.d.ts +1 -0
  275. package/ts/shared/theme/scripts/main.d.ts +11 -0
  276. package/ts/shared/title/scripts/index.d.ts +1 -0
  277. package/ts/shared/title/scripts/main.d.ts +6 -0
  278. package/ts/shared/tr/components/base_tr.d.ts +9 -0
  279. package/ts/shared/tr/components/index.d.ts +1 -0
  280. package/ts/shared/tr/components/prop_types/base_tr.d.ts +13 -0
  281. package/ts/shared/tr/components/prop_types/index.d.ts +1 -0
  282. package/ts/shared/tr/data/index.d.ts +1 -0
  283. package/ts/shared/tr/data/transition.d.ts +23 -0
  284. package/ts/shared/tr/interfaces/index.d.ts +1 -0
  285. package/ts/shared/tr/interfaces/transitions.d.ts +2 -0
  286. package/ts/shared/tr/obj/index.d.ts +1 -0
  287. package/ts/shared/tr/obj/transition.d.ts +8 -0
  288. package/ts/shared/utils/scripts/index.d.ts +1 -0
  289. package/ts/shared/utils/scripts/main.d.ts +11 -0
  290. package/ts/shared/vars.d.ts +1 -0
  291. package/ts/shared/viewport/scripts/index.d.ts +1 -0
  292. package/ts/shared/viewport/scripts/main.d.ts +8 -0
  293. package/ts/shared/x.d.ts +60 -0
@@ -0,0 +1,96 @@
1
+ @import 'normalize.css';
2
+ @import '../all';
3
+ @import '../vars';
4
+ @import '../mixins';
5
+ @import '../mods';
6
+ @import '../text';
7
+ @import '../crash_handler';
8
+
9
+ $ext_name_offset: 7px;
10
+
11
+ body,
12
+ button {
13
+ color: white;
14
+ }
15
+
16
+ .main {
17
+ @include max_z_index;
18
+
19
+ position: fixed;
20
+ bottom: 0;
21
+ left: 0;
22
+ width: 100%;
23
+ margin: 0;
24
+ border: 0;
25
+ overflow: hidden;
26
+ background-color: #da4747;
27
+ color: white;
28
+ }
29
+
30
+ .error {
31
+ .msg {
32
+ white-space: pre-wrap;
33
+ text-align: center;
34
+ padding: 10px;
35
+ padding-top: 40px;
36
+ }
37
+
38
+ .ext_name {
39
+ position: absolute;
40
+ top: $ext_name_offset;
41
+ left: $ext_name_offset;
42
+ }
43
+
44
+ .close_btn {
45
+ @include btn();
46
+
47
+ position: absolute;
48
+ top: $ext_name_offset;
49
+ right: $ext_name_offset;
50
+
51
+ &:focus {
52
+ outline-offset: $outline_offset;
53
+ }
54
+
55
+ svg {
56
+ display: block;
57
+ fill: white;
58
+ height: 20px;
59
+ width: 20px;
60
+ }
61
+ }
62
+
63
+ .more_info_btn {
64
+ @include btn();
65
+ @include outline_solid();
66
+
67
+ outline-color: white;
68
+ background-color: transparent;
69
+ display: table;
70
+ margin: auto;
71
+ margin-top: 6px;
72
+ padding: 3px 6px;
73
+ cursor: pointer;
74
+ white-space: nowrap;
75
+ }
76
+
77
+ .more_info_btn:hover {
78
+ color: $black;
79
+ background-color: white;
80
+ }
81
+
82
+ .more_info_btn:focus,
83
+ .close_btn:focus {
84
+ @include outline_solid_thick;
85
+
86
+ outline-color: $black;
87
+ }
88
+
89
+ &.is_notification {
90
+ background-color: #4d94ea;
91
+ }
92
+
93
+ &.is_highlighted {
94
+ background-color: #e28036;
95
+ }
96
+ }
@@ -0,0 +1,5 @@
1
+ @font-face {
2
+ font-family: 'u6Pgzb39sNF';
3
+ src: url('../../../fonts/noto_sans.woff2')
4
+ format('woff2');
5
+ }
@@ -0,0 +1,36 @@
1
+ @import 'normalize.css';
2
+ @import '../all';
3
+ @import '../vars';
4
+ @import '../mixins';
5
+ @import '../transitions';
6
+ @import '../mods';
7
+ @import '../crash_handler';
8
+
9
+ $svg_size: 110px;
10
+ $window_mode_svg_size: 64px;
11
+
12
+ .main {
13
+ @include full_spread;
14
+ @include max_z_index;
15
+
16
+ position: fixed;
17
+ top: 0;
18
+ margin: 0;
19
+ background-color: white;
20
+ border-style: solid;
21
+ border-width: 0;
22
+ cursor: wait;
23
+ }
24
+
25
+ svg {
26
+ @include center_translate;
27
+
28
+ position: absolute;
29
+ height: $svg_size;
30
+ width: $svg_size;
31
+ }
32
+
33
+ .small_svg svg {
34
+ height: $window_mode_svg_size;
35
+ width: $window_mode_svg_size;
36
+ }
@@ -0,0 +1,3 @@
1
+ * {
2
+ transition: none !important;
3
+ }
@@ -0,0 +1,80 @@
1
+ /* stylelint-disable no-descending-specificity, selector-class-pattern */
2
+
3
+ $text_input_outline_size: 20px;
4
+
5
+ .input_item .pcr-interaction input:focus {
6
+ box-shadow: none !important;
7
+ }
8
+
9
+ .keyboard .input_item .pcr-palette:focus,
10
+ .keyboard .input_item .pcr-slider:focus,
11
+ .keyboard .input_item .pcr-picker:focus,
12
+ .input_item .pcr-result:focus,
13
+ .keyboard .input_item .color_picker_w input:not(.pcr-result):focus {
14
+ box-shadow: none;
15
+ }
16
+
17
+ .keyboard .input_item .pcr-palette:focus,
18
+ .keyboard .input_item .pcr-slider:focus,
19
+ .keyboard .input_item .pcr-picker:focus,
20
+ .input_item .pcr-result:focus,
21
+ .keyboard .input_item .color_picker_w input:not(.pcr-result):focus,
22
+ .keyboard .btn.text_input:focus::before,
23
+ body.keyboard .btn.text:focus,
24
+ .keyboard .btn.icon:focus,
25
+ .keyboard .input_item .checkbox .box:focus,
26
+ .keyboard .link:focus,
27
+ .keyboard .link_btn:focus,
28
+ .keyboard .help_btn:focus,
29
+ .keyboard .input_item .input_w:not(.text):not(.textarea).is_in_focus_state::before,
30
+ .keyboard .input_item.range .input.is_in_focus_state {
31
+ @include outline_solid_thick;
32
+ }
33
+
34
+ .keyboard .input_item .pcr-palette:focus,
35
+ .keyboard .input_item .pcr-slider:focus,
36
+ .keyboard .link:focus,
37
+ .keyboard .link_btn:focus,
38
+ .keyboard .help_btn:focus,
39
+ .keyboard .btn.icon:focus,
40
+ .keyboard .input_item.range .input.is_in_focus_state {
41
+ outline-offset: $outline_offset;
42
+ }
43
+
44
+ .input_item .palette_visualization_w.selected:not(.opened) .palette_visualization {
45
+ @include outline_solid_thick;
46
+
47
+ outline-offset: $outline_offset;
48
+ }
49
+
50
+ .input_item .visualization_w.opened .visualization,
51
+ .input_item .palette_visualization_w.opened .palette_visualization {
52
+ @include outline_dashed_thick;
53
+
54
+ outline-offset: $outline_offset;
55
+ }
56
+
57
+ .keyboard .input_item .visualization_w .visualization:focus,
58
+ .keyboard .input_item .palette_visualization_w .palette_visualization:focus {
59
+ @include outline_solid_thick;
60
+
61
+ outline-offset: $outline_offset;
62
+ }
63
+
64
+ .keyboard .input_item .visualization_w.opened .visualization:focus,
65
+ .keyboard .input_item .palette_visualization_w.opened .palette_visualization:focus {
66
+ @include outline_dashed_thick;
67
+ }
68
+
69
+ .keyboard .btn.text_input:focus::before {
70
+ content: '';
71
+ position: absolute;
72
+ width: $text_input_outline_size;
73
+ height: $text_input_outline_size;
74
+ top: 4px;
75
+ left: -2px;
76
+ }
77
+
78
+ .reload_ui_btn_w .keyboard .btn:focus {
79
+ @include blue_border;
80
+ }
@@ -0,0 +1,18 @@
1
+ .input_item.group {
2
+ .input_item {
3
+ margin-top: 0;
4
+
5
+ &.range {
6
+ width: 100%;
7
+ }
8
+ }
9
+
10
+ .input_w.group {
11
+ display: flex;
12
+ align-items: center;
13
+
14
+ .input_w.range {
15
+ width: 100%;
16
+ }
17
+ }
18
+ }
@@ -0,0 +1,66 @@
1
+ .help,
2
+ .color_help {
3
+ max-width: 700px;
4
+ font-size: $font_small;
5
+ margin: 0;
6
+ margin-top: $gap_small;
7
+ white-space: pre-wrap;
8
+ }
9
+
10
+ .help_btn {
11
+ @include btn;
12
+
13
+ margin-left: var(--help_btn_margin);
14
+ display: flex;
15
+ order: 1;
16
+
17
+ svg {
18
+ display: block;
19
+ width: var(--help_btn_size);
20
+ height: var(--help_btn_size);
21
+ }
22
+ }
23
+
24
+ .section_help {
25
+ display: flex;
26
+
27
+ + .subsection {
28
+ margin-top: $gap;
29
+ }
30
+
31
+ .help {
32
+ max-width: unset;
33
+ margin-top: 0;
34
+ margin-right: 15px;
35
+ }
36
+
37
+ .help_btn {
38
+ margin-left: auto;
39
+ align-self: flex-start;
40
+ }
41
+ }
42
+
43
+ .input_item {
44
+ .color_help_w {
45
+ margin-bottom: $gap;
46
+ }
47
+
48
+ .color_help {
49
+ margin: 0;
50
+ line-height: initial;
51
+ }
52
+
53
+ &:not(.textarea) .help_btn {
54
+ align-self: center;
55
+ }
56
+
57
+ &.textarea {
58
+ .input_w_and_help_btn {
59
+ align-items: normal;
60
+ }
61
+
62
+ .help_btn {
63
+ margin-top: 5px;
64
+ }
65
+ }
66
+ }
@@ -0,0 +1,6 @@
1
+ hr {
2
+ margin: 0;
3
+ margin-top: $gap;
4
+ border: 0;
5
+ height: 1px;
6
+ }
@@ -0,0 +1,29 @@
1
+ @import 'normalize.css';
2
+ @import '~@simonwep/pickr/dist/themes/monolith.min.css';
3
+ @import 'vars';
4
+ @import 'mixins';
5
+ @import 'themes/general/light_theme';
6
+ @import 'all';
7
+ @import 'btns';
8
+ @import 'checkboxes';
9
+ @import 'color_pickers';
10
+ @import 'colors';
11
+ @import 'crash_handler';
12
+ @import 'css_vars';
13
+ @import 'focus';
14
+ @import 'hr';
15
+ @import 'group';
16
+ @import 'help';
17
+ @import 'input_btns';
18
+ @import 'inputs';
19
+ @import 'inset_border';
20
+ @import 'link_btns';
21
+ @import 'links';
22
+ @import 'mods';
23
+ @import 'range';
24
+ @import 'scrollbar';
25
+ @import 'selects';
26
+ @import 'text';
27
+ @import 'textareas';
28
+ @import 'transitions';
29
+ @import 'upload_box';
@@ -0,0 +1,11 @@
1
+ .btn {
2
+ &.text_input {
3
+ @include btn;
4
+
5
+ padding: $input_content_gap_2 $input_content_gap_2 $input_content_gap_2 0;
6
+
7
+ svg {
8
+ @include text_btn_svg;
9
+ }
10
+ }
11
+ }
@@ -0,0 +1,70 @@
1
+ input[type='file'] {
2
+ display: none;
3
+ }
4
+
5
+ .input_item {
6
+ padding-right: $main_margin;
7
+ margin-left: unset;
8
+ justify-content: unset;
9
+ align-items: center;
10
+ flex-direction: column;
11
+ display: table;
12
+ width: auto;
13
+
14
+ &.child {
15
+ margin-left: 28px;
16
+ }
17
+
18
+ &:not(:first-child) {
19
+ margin-top: $gap;
20
+ }
21
+
22
+ .label {
23
+ display: flex;
24
+ align-items: center;
25
+ height: unset;
26
+ margin-right: 0;
27
+ white-space: normal;
28
+ }
29
+
30
+ &.text .label,
31
+ &.textarea .label,
32
+ &.select .label,
33
+ &.range .label {
34
+ margin-bottom: $gap_small;
35
+ }
36
+
37
+ .input {
38
+ @include input_basic;
39
+
40
+ opacity: 1; // needed to keep default color when element is is_enabled
41
+ height: $input_height;
42
+ padding: 0 $input_inner_padding 0 $input_inner_padding;
43
+ flex-grow: 1;
44
+ border-radius: 0;
45
+ box-sizing: border-box;
46
+ }
47
+
48
+ .input_w_and_help_btn {
49
+ display: flex;
50
+ align-items: center;
51
+ }
52
+
53
+ .input_w {
54
+ position: relative;
55
+ display: flex;
56
+ flex-shrink: 0;
57
+ box-sizing: border-box;
58
+
59
+ &.text,
60
+ &.textarea,
61
+ &.select {
62
+ @include border_transparent;
63
+ }
64
+
65
+ &.is_in_focus_state:not(.select)::before,
66
+ &.is_in_warn_state:not(.select)::before {
67
+ @include outline_solid_thick;
68
+ }
69
+ }
70
+ }
@@ -0,0 +1,20 @@
1
+ .inset_border {
2
+ position: relative;
3
+
4
+ &::before {
5
+ @include outline_solid;
6
+
7
+ content: '';
8
+ position: absolute;
9
+ pointer-events: none;
10
+ top: 0;
11
+ left: 0;
12
+ right: 0;
13
+ bottom: 0;
14
+ z-index: 1;
15
+ }
16
+ }
17
+
18
+ .input_item.color .inset_border::before {
19
+ outline: none;
20
+ }
@@ -0,0 +1,12 @@
1
+ .link_btn {
2
+ display: block;
3
+ font-size: $font_small;
4
+
5
+ &.hide {
6
+ margin-top: 4px;
7
+ }
8
+ }
9
+
10
+ .palette_link_btns .link_btn {
11
+ margin-bottom: $gap;
12
+ }
@@ -0,0 +1,11 @@
1
+ .link {
2
+ display: table;
3
+ text-decoration: none;
4
+ border: 0;
5
+ padding: 0;
6
+ cursor: pointer;
7
+ }
8
+
9
+ .link:not(:first-child) {
10
+ margin-top: $gap;
11
+ }
@@ -0,0 +1,130 @@
1
+ $border_width_thick: 2px;
2
+
3
+ @mixin full_dims {
4
+ width: 100%;
5
+ height: 100%;
6
+ }
7
+
8
+ @mixin top_left {
9
+ top: 0;
10
+ left: 0;
11
+ }
12
+
13
+ @mixin full_spread {
14
+ @include full_dims;
15
+ @include top_left;
16
+ }
17
+
18
+ @mixin max_z_index {
19
+ z-index: 2147483647;
20
+ }
21
+
22
+ @mixin center_flex {
23
+ display: flex;
24
+ justify-content: center;
25
+ align-items: center;
26
+ }
27
+
28
+ @mixin center_translate {
29
+ margin: auto;
30
+ left: 50%;
31
+ top: 50%;
32
+ transform: translate(-50%, -50%);
33
+ }
34
+
35
+ @mixin btn {
36
+ background-color: transparent;
37
+ outline: none;
38
+ cursor: pointer;
39
+ border: 0;
40
+ padding: 0;
41
+ }
42
+
43
+ @mixin text_btn_svg {
44
+ height: 16px;
45
+ width: 16px;
46
+ display: block;
47
+ }
48
+
49
+ @mixin input_basic {
50
+ border: 0;
51
+ outline: none;
52
+ }
53
+
54
+ $box_shadow_for_mixin: rgb(0 0 0 / 30%) 0 0 2px, rgb(0 0 0 / 30%) 0 4px 8px;
55
+
56
+ @mixin box_shadow {
57
+ box-shadow: $box_shadow_for_mixin;
58
+ }
59
+
60
+ @mixin box_shadow_important {
61
+ box-shadow: $box_shadow_for_mixin !important;
62
+ }
63
+
64
+ @mixin border {
65
+ border-width: $border_width;
66
+ border-style: solid;
67
+ }
68
+
69
+ @mixin border_transparent {
70
+ @include border;
71
+
72
+ border-color: transparent;
73
+ }
74
+
75
+ @mixin border_top {
76
+ border-top-width: $border_width;
77
+ border-top-style: solid;
78
+ }
79
+
80
+ @mixin border_bottom {
81
+ border-bottom-width: $border_width;
82
+ border-bottom-style: solid;
83
+ }
84
+
85
+ @mixin border_left {
86
+ border-left-width: $border_width;
87
+ border-left-style: solid;
88
+ }
89
+
90
+ @mixin border_right {
91
+ border-right-width: $border_width;
92
+ border-right-style: solid;
93
+ }
94
+
95
+ @mixin white_border {
96
+ border: $border_width solid white;
97
+ }
98
+
99
+ @mixin black_border {
100
+ border: $border_width solid $black;
101
+ }
102
+
103
+ @mixin blue_border {
104
+ border: $border_width solid $blue;
105
+ }
106
+
107
+ @mixin border_bottom {
108
+ border-bottom-width: $border_width;
109
+ border-bottom-style: solid;
110
+ }
111
+
112
+ @mixin outline_solid {
113
+ outline-width: $border_width;
114
+ outline-style: solid;
115
+ }
116
+
117
+ @mixin outline_dashed {
118
+ outline-width: $border_width;
119
+ outline-style: dashed;
120
+ }
121
+
122
+ @mixin outline_solid_thick {
123
+ outline-width: $border_width_thick;
124
+ outline-style: solid;
125
+ }
126
+
127
+ @mixin outline_dashed_thick {
128
+ outline-width: $border_width_thick;
129
+ outline-style: dashed;
130
+ }
@@ -0,0 +1,39 @@
1
+ .opacity_1 {
2
+ opacity: 1 !important;
3
+ }
4
+
5
+ .opacity_0 {
6
+ opacity: 0 !important;
7
+ }
8
+
9
+ .none {
10
+ display: none !important;
11
+ }
12
+
13
+ .hidden {
14
+ position: fixed !important;
15
+ visibility: hidden !important;
16
+ top: -99999px !important;
17
+ }
18
+
19
+ .overflow_auto {
20
+ overflow: auto;
21
+ }
22
+
23
+ .border {
24
+ border-width: 1px !important;
25
+ border-style: solid !important;
26
+ }
27
+
28
+ .is_disabled {
29
+ opacity: 0.3 !important;
30
+ pointer-events: none !important;
31
+ }
32
+
33
+ .pointer_events_none {
34
+ pointer-events: none !important;
35
+ }
36
+
37
+ .cursor_default {
38
+ cursor: default !important;
39
+ }
@@ -0,0 +1,43 @@
1
+ $range_track_height: 12px;
2
+ $lower_fill_offset_top: 8px;
3
+
4
+ .input_item {
5
+ .range {
6
+ .input {
7
+ min-width: inherit;
8
+ appearance: none;
9
+ padding: 0;
10
+ background-color: transparent;
11
+ cursor: pointer;
12
+
13
+ &::-webkit-slider-thumb {
14
+ appearance: none;
15
+ width: $range_track_height;
16
+ height: $input_height;
17
+ margin-top: -$lower_fill_offset_top;
18
+ }
19
+
20
+ &::-webkit-slider-runnable-track {
21
+ height: $range_track_height;
22
+ }
23
+ }
24
+
25
+ .lower_fill {
26
+ position: absolute;
27
+ height: $range_track_height;
28
+ top: $lower_fill_offset_top;
29
+ pointer-events: none;
30
+ }
31
+ }
32
+
33
+ .displayed_val {
34
+ font-size: $font_small;
35
+ width: max-content;
36
+ margin-left: auto;
37
+ margin-top: $gap_small;
38
+
39
+ &.help_is_present {
40
+ margin-right: $input_height;
41
+ }
42
+ }
43
+ }