@uploadcare/file-uploader 1.28.0-alpha.0 → 1.28.0-alpha.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 (466) hide show
  1. package/dist/ActivityHeader-R6Mlx-dA.js +9 -0
  2. package/dist/ActivityHeader.css +23 -0
  3. package/dist/ActivityHeader.layered.css +24 -0
  4. package/dist/{CameraSource-DbyO6GoK.js → CameraSource-DDwj1jCV.js} +106 -76
  5. package/dist/CameraSource-n1tun2Df.js +10 -0
  6. package/dist/CameraSource.css +180 -0
  7. package/dist/CameraSource.layered.css +209 -0
  8. package/dist/{CloudImageEditor-BIxf1V4M.js → CloudImageEditor-DcVoIRb3.js} +66 -65
  9. package/dist/{CloudImageEditorActivity-d4DpK6fQ.js → CloudImageEditorActivity-Csij4nlC.js} +4 -4
  10. package/dist/{CloudImageEditorActivity-CJxP5N0S.js → CloudImageEditorActivity-DD4NdU0P.js} +4 -4
  11. package/dist/CloudImageEditorActivity.css +14 -0
  12. package/dist/CloudImageEditorActivity.layered.css +15 -0
  13. package/dist/{Config-DuWre5p3.js → Config-DKOromHY.js} +27 -27
  14. package/dist/Config.css +4 -0
  15. package/dist/Config.layered.css +5 -0
  16. package/dist/ExternalSource-6MSUgxqy.js +10 -0
  17. package/dist/{ExternalSource-BKTFp95O.js → ExternalSource-DVEjSkPB.js} +56 -51
  18. package/dist/ExternalSource.css +98 -0
  19. package/dist/ExternalSource.layered.css +116 -0
  20. package/dist/{Icon-CqTVC82Q.js → Icon-tXRTvEF2.js} +7 -8
  21. package/dist/Icon.css +14 -0
  22. package/dist/Icon.layered.css +15 -0
  23. package/dist/{LitUploaderBlock-BA34rzeU.js → LitUploaderBlock-LxeOZ0ya.js} +65 -65
  24. package/dist/{UrlSource-DZK5EBwT.js → UrlSource-BkyX00I2.js} +5 -5
  25. package/dist/UrlSource-RI8TSD48.js +10 -0
  26. package/dist/UrlSource.css +17 -0
  27. package/dist/UrlSource.layered.css +18 -0
  28. package/dist/abstract/loadFileUploaderFrom.js +3 -3
  29. package/dist/cameraPlugin-weRKO7eG.js +8 -0
  30. package/dist/{cloud-image-editor-fNswWrI4.js → cloud-image-editor-hhbyNWLG.js} +6 -6
  31. package/dist/cloud-image-editor.css +1380 -0
  32. package/dist/cloud-image-editor.layered.css +1549 -0
  33. package/dist/cloudImageEditorPlugin-FjUgbMK3.js +8 -0
  34. package/dist/{en-DNCwRJsB.js → en-8OWEmZim.js} +2 -2
  35. package/dist/env-mM-ksNPq.js +8 -0
  36. package/dist/env.js +3 -3
  37. package/dist/externalSourcesPlugin-CMBmLT8S.js +8 -0
  38. package/dist/imageShrinkPlugin-BN6loiP2.js +8 -0
  39. package/dist/index-base.css +2497 -0
  40. package/dist/index-base.layered.css +2837 -0
  41. package/dist/index.css +9 -3964
  42. package/dist/index.d.ts +13 -0
  43. package/dist/index.js +827 -42
  44. package/dist/index.layered.css +9 -4478
  45. package/dist/instagramPlugin-CXRm8MGL.js +8 -0
  46. package/dist/{loadFileUploaderFrom-BWJM43Yq.js → loadFileUploaderFrom-Bfz8L3VB.js} +3 -3
  47. package/dist/locales/file-uploader/ar.js +2 -2
  48. package/dist/locales/file-uploader/az.js +2 -2
  49. package/dist/locales/file-uploader/ca.js +2 -2
  50. package/dist/locales/file-uploader/cs.js +2 -2
  51. package/dist/locales/file-uploader/da.js +2 -2
  52. package/dist/locales/file-uploader/de.js +2 -2
  53. package/dist/locales/file-uploader/el.js +2 -2
  54. package/dist/locales/file-uploader/en.js +3 -3
  55. package/dist/locales/file-uploader/es.js +2 -2
  56. package/dist/locales/file-uploader/et.js +2 -2
  57. package/dist/locales/file-uploader/fi.js +2 -2
  58. package/dist/locales/file-uploader/fr.js +2 -2
  59. package/dist/locales/file-uploader/he.js +2 -2
  60. package/dist/locales/file-uploader/hy.js +2 -2
  61. package/dist/locales/file-uploader/is.js +2 -2
  62. package/dist/locales/file-uploader/it.js +2 -2
  63. package/dist/locales/file-uploader/ja.js +2 -2
  64. package/dist/locales/file-uploader/ka.js +2 -2
  65. package/dist/locales/file-uploader/kk.js +2 -2
  66. package/dist/locales/file-uploader/ko.js +2 -2
  67. package/dist/locales/file-uploader/lv.js +2 -2
  68. package/dist/locales/file-uploader/nb.js +2 -2
  69. package/dist/locales/file-uploader/nl.js +2 -2
  70. package/dist/locales/file-uploader/pl.js +2 -2
  71. package/dist/locales/file-uploader/pt.js +2 -2
  72. package/dist/locales/file-uploader/ro.js +2 -2
  73. package/dist/locales/file-uploader/ru.js +2 -2
  74. package/dist/locales/file-uploader/sk.js +2 -2
  75. package/dist/locales/file-uploader/sr.js +2 -2
  76. package/dist/locales/file-uploader/sv.js +2 -2
  77. package/dist/locales/file-uploader/tr.js +2 -2
  78. package/dist/locales/file-uploader/uk.js +2 -2
  79. package/dist/locales/file-uploader/vi.js +2 -2
  80. package/dist/locales/file-uploader/zh-TW.js +2 -2
  81. package/dist/locales/file-uploader/zh.js +2 -2
  82. package/dist/{plugins-DxjsQUa8.js → plugins-CGUls7EV.js} +6 -6
  83. package/dist/urlSourcePlugin-_WdbEhq2.js +8 -0
  84. package/package.json +1 -1
  85. package/web/ActivityHeader-BFdTdVfD.js +9 -0
  86. package/web/ActivityHeader-DQy6rII1.js +9 -0
  87. package/web/ActivityHeader-DvzMl0uj.js +9 -0
  88. package/web/ActivityHeader-i4x6_Fne.js +9 -0
  89. package/web/CameraSource-BAWIA4Wm.js +508 -0
  90. package/web/CameraSource-BqZCQcij.js +11 -0
  91. package/web/CameraSource-Brxr4tz4.js +508 -0
  92. package/web/CameraSource-BvBJ5Uzy.js +508 -0
  93. package/web/CameraSource-CkHzIE-h.js +11 -0
  94. package/web/CameraSource-D964yPLu.js +508 -0
  95. package/web/CameraSource-DE48Az-f.js +11 -0
  96. package/web/CameraSource-DyPebtRF.js +478 -0
  97. package/web/CameraSource-pj7Xo81m.js +11 -0
  98. package/web/CloudImageEditor-CTgUWB07.js +2192 -0
  99. package/web/CloudImageEditor-CxqV9Lwm.js +2192 -0
  100. package/web/CloudImageEditor-DoLWHpqV.js +2192 -0
  101. package/web/CloudImageEditor-Drywn265.js +2192 -0
  102. package/web/CloudImageEditor-MXcaDtMx.js +2187 -0
  103. package/web/CloudImageEditorActivity-BPzmfaJV.js +85 -0
  104. package/web/CloudImageEditorActivity-Br8pU5gd.js +11 -0
  105. package/web/CloudImageEditorActivity-Cw8b2CEz.js +11 -0
  106. package/web/CloudImageEditorActivity-Df1ySGq0.js +86 -0
  107. package/web/CloudImageEditorActivity-DinG5r0y.js +11 -0
  108. package/web/CloudImageEditorActivity-DmnLLINR.js +85 -0
  109. package/web/CloudImageEditorActivity-U90BGCek.js +85 -0
  110. package/web/CloudImageEditorActivity-dNLQZRZI.js +11 -0
  111. package/web/CloudImageEditorActivity-ur-hQ-6p.js +85 -0
  112. package/web/Config-8hlBNhvs.js +455 -0
  113. package/web/Config-BDZhPIyz.js +455 -0
  114. package/web/Config-CJVNrrjj.js +455 -0
  115. package/web/Config-DvkVtlQ7.js +455 -0
  116. package/web/ExternalSource-B9ycBFiD.js +10 -0
  117. package/web/ExternalSource-BE7HX47E.js +250 -0
  118. package/web/ExternalSource-BL5GSlol.js +250 -0
  119. package/web/ExternalSource-BXQY6Dlc.js +10 -0
  120. package/web/ExternalSource-BXxH3JCD.js +250 -0
  121. package/web/ExternalSource-BYSS-PPV.js +245 -0
  122. package/web/ExternalSource-C57a61QN.js +10 -0
  123. package/web/ExternalSource-CKfMtOgU.js +250 -0
  124. package/web/ExternalSource-DP6q8ylB.js +10 -0
  125. package/web/LitUploaderBlock-AX6jOdAS.js +996 -0
  126. package/web/LitUploaderBlock-BjAaoLl2.js +996 -0
  127. package/web/LitUploaderBlock-D8E5HuwH.js +996 -0
  128. package/web/LitUploaderBlock-Dl3ce0Tc.js +996 -0
  129. package/web/LitUploaderBlock-Oi33U0uf.js +996 -0
  130. package/web/UrlSource-B9SX3K0L.js +10 -0
  131. package/web/UrlSource-C3zB1rCb.js +70 -0
  132. package/web/UrlSource-C7bEU6Xv.js +10 -0
  133. package/web/UrlSource-CE389CBz.js +70 -0
  134. package/web/UrlSource-CnvAJ58Y.js +10 -0
  135. package/web/UrlSource-CqF0h6B-.js +10 -0
  136. package/web/UrlSource-D-971Nut.js +70 -0
  137. package/web/UrlSource-DhI3YCt5.js +70 -0
  138. package/web/UrlSource-hWV7jtB2.js +70 -0
  139. package/web/abstract/CTX.d.ts +40 -0
  140. package/web/abstract/TypedCollection.d.ts +47 -0
  141. package/web/abstract/TypedCollection.test.d.ts +1 -0
  142. package/web/abstract/TypedData.d.ts +12 -0
  143. package/web/abstract/TypedData.test.d.ts +1 -0
  144. package/web/abstract/UploaderPublicApi.d.ts +41 -0
  145. package/web/abstract/buildOutputCollectionState.d.ts +3 -0
  146. package/web/abstract/customConfigOptions.d.ts +65 -0
  147. package/web/abstract/defineComponents.d.ts +1 -0
  148. package/web/abstract/features/ClipboardLayer.d.ts +12 -0
  149. package/web/abstract/loadFileUploaderFrom.d.ts +13 -0
  150. package/web/abstract/localeRegistry.d.ts +5 -0
  151. package/web/abstract/managers/LocaleManager.d.ts +10 -0
  152. package/web/abstract/managers/ModalManager.d.ts +53 -0
  153. package/web/abstract/managers/SecureUploadsManager.d.ts +7 -0
  154. package/web/abstract/managers/TelemetryManager.d.ts +41 -0
  155. package/web/abstract/managers/ValidationManager.d.ts +34 -0
  156. package/web/abstract/managers/__tests__/ModalManager.test.d.ts +13 -0
  157. package/web/abstract/managers/__tests__/SecureUploadsManager.test.d.ts +1 -0
  158. package/web/abstract/managers/a11y.d.ts +9 -0
  159. package/web/abstract/managers/plugin/PluginManager.d.ts +25 -0
  160. package/web/abstract/managers/plugin/PluginTypes.d.ts +146 -0
  161. package/web/abstract/managers/plugin/index.d.ts +2 -0
  162. package/web/abstract/sharedConfigKey.d.ts +2 -0
  163. package/web/abstract/uploadEntrySchema.d.ts +34 -0
  164. package/web/blocks/ActivityHeader/ActivityHeader.d.ts +8 -0
  165. package/web/blocks/CameraSource/CameraSource.d.ts +121 -0
  166. package/web/blocks/CameraSource/__tests__/calcCameraModes.test.d.ts +1 -0
  167. package/web/blocks/CameraSource/calcCameraModes.d.ts +5 -0
  168. package/web/blocks/CameraSource/constants.d.ts +15 -0
  169. package/web/blocks/CloudImageEditor/index.d.ts +1 -0
  170. package/web/blocks/CloudImageEditor/src/CloudImageEditorBlock.d.ts +60 -0
  171. package/web/blocks/CloudImageEditor/src/CropFrame.d.ts +56 -0
  172. package/web/blocks/CloudImageEditor/src/EditorAspectRatioButtonControl.d.ts +24 -0
  173. package/web/blocks/CloudImageEditor/src/EditorButtonControl.d.ts +14 -0
  174. package/web/blocks/CloudImageEditor/src/EditorCropButtonControl.d.ts +13 -0
  175. package/web/blocks/CloudImageEditor/src/EditorFilterControl.d.ts +35 -0
  176. package/web/blocks/CloudImageEditor/src/EditorImageCropper.d.ts +56 -0
  177. package/web/blocks/CloudImageEditor/src/EditorImageFader.d.ts +63 -0
  178. package/web/blocks/CloudImageEditor/src/EditorOperationControl.d.ts +15 -0
  179. package/web/blocks/CloudImageEditor/src/EditorScroller.d.ts +15 -0
  180. package/web/blocks/CloudImageEditor/src/EditorSlider.d.ts +33 -0
  181. package/web/blocks/CloudImageEditor/src/EditorToolbar.d.ts +68 -0
  182. package/web/blocks/CloudImageEditor/src/crop-utils.d.ts +36 -0
  183. package/web/blocks/CloudImageEditor/src/crop-utils.test.d.ts +1 -0
  184. package/web/blocks/CloudImageEditor/src/cropper-constants.d.ts +10 -0
  185. package/web/blocks/CloudImageEditor/src/elements/button/BtnUi.d.ts +31 -0
  186. package/web/blocks/CloudImageEditor/src/elements/line-loader/LineLoaderUi.d.ts +19 -0
  187. package/web/blocks/CloudImageEditor/src/elements/presence-toggle/PresenceToggle.d.ts +27 -0
  188. package/web/blocks/CloudImageEditor/src/elements/slider/SliderUi.d.ts +38 -0
  189. package/web/blocks/CloudImageEditor/src/index.d.ts +15 -0
  190. package/web/blocks/CloudImageEditor/src/lib/classNames.d.ts +5 -0
  191. package/web/blocks/CloudImageEditor/src/lib/classNames.test.d.ts +1 -0
  192. package/web/blocks/CloudImageEditor/src/lib/linspace.d.ts +1 -0
  193. package/web/blocks/CloudImageEditor/src/lib/linspace.test.d.ts +1 -0
  194. package/web/blocks/CloudImageEditor/src/lib/parseCropPreset.d.ts +4 -0
  195. package/web/blocks/CloudImageEditor/src/lib/parseCropPreset.test.d.ts +1 -0
  196. package/web/blocks/CloudImageEditor/src/lib/parseTabs.d.ts +2 -0
  197. package/web/blocks/CloudImageEditor/src/lib/pick.d.ts +1 -0
  198. package/web/blocks/CloudImageEditor/src/lib/pick.test.d.ts +1 -0
  199. package/web/blocks/CloudImageEditor/src/lib/transformationUtils.d.ts +7 -0
  200. package/web/blocks/CloudImageEditor/src/state.d.ts +20 -0
  201. package/web/blocks/CloudImageEditor/src/svg-sprite.d.ts +2 -0
  202. package/web/blocks/CloudImageEditor/src/toolbar-constants.d.ts +61 -0
  203. package/web/blocks/CloudImageEditor/src/types.d.ts +60 -0
  204. package/web/blocks/CloudImageEditor/src/util.d.ts +2 -0
  205. package/web/blocks/CloudImageEditor/src/utils/parseFilterValue.d.ts +7 -0
  206. package/web/blocks/CloudImageEditor/src/utils/parseFilterValue.test.d.ts +1 -0
  207. package/web/blocks/CloudImageEditorActivity/CloudImageEditorActivity.d.ts +25 -0
  208. package/web/blocks/Config/Config.d.ts +60 -0
  209. package/web/blocks/Config/assertions.d.ts +5 -0
  210. package/web/blocks/Config/computed-properties.d.ts +24 -0
  211. package/web/blocks/Config/computed-properties.test.d.ts +1 -0
  212. package/web/blocks/Config/initialConfig.d.ts +6 -0
  213. package/web/blocks/Config/normalizeConfigValue.d.ts +2 -0
  214. package/web/blocks/Config/validatorsType.d.ts +18 -0
  215. package/web/blocks/Copyright/Copyright.d.ts +10 -0
  216. package/web/blocks/DropArea/DropArea.d.ts +47 -0
  217. package/web/blocks/DropArea/addDropzone.d.ts +17 -0
  218. package/web/blocks/DropArea/getDropItems.d.ts +12 -0
  219. package/web/blocks/ExternalSource/ExternalSource.d.ts +45 -0
  220. package/web/blocks/ExternalSource/MessageBridge.d.ts +11 -0
  221. package/web/blocks/ExternalSource/buildThemeDefinition.d.ts +4 -0
  222. package/web/blocks/ExternalSource/query-string.d.ts +1 -0
  223. package/web/blocks/ExternalSource/types.d.ts +105 -0
  224. package/web/blocks/FileItem/FileItem.d.ts +50 -0
  225. package/web/blocks/FileItem/FileItemConfig.d.ts +10 -0
  226. package/web/blocks/FormInput/FormInput.d.ts +18 -0
  227. package/web/blocks/Icon/Icon.d.ts +19 -0
  228. package/web/blocks/Img/Img.d.ts +14 -0
  229. package/web/blocks/Img/ImgBase.d.ts +29 -0
  230. package/web/blocks/Img/ImgConfig.d.ts +28 -0
  231. package/web/blocks/Img/configurations.d.ts +11 -0
  232. package/web/blocks/Img/props-map.d.ts +28 -0
  233. package/web/blocks/Img/utils/parseObjectToString.d.ts +2 -0
  234. package/web/blocks/Modal/Modal.d.ts +34 -0
  235. package/web/blocks/PluginActivityRenderer/PluginActivityRenderer.d.ts +32 -0
  236. package/web/blocks/PluginActivityRenderer/index.d.ts +1 -0
  237. package/web/blocks/ProgressBar/ProgressBar.d.ts +21 -0
  238. package/web/blocks/ProgressBarCommon/ProgressBarCommon.d.ts +17 -0
  239. package/web/blocks/Select/Select.d.ts +18 -0
  240. package/web/blocks/SimpleBtn/SimpleBtn.d.ts +15 -0
  241. package/web/blocks/SourceBtn/SourceBtn.d.ts +23 -0
  242. package/web/blocks/SourceList/SourceList.d.ts +24 -0
  243. package/web/blocks/Spinner/Spinner.d.ts +9 -0
  244. package/web/blocks/StartFrom/StartFrom.d.ts +12 -0
  245. package/web/blocks/Thumb/Thumb.d.ts +35 -0
  246. package/web/blocks/UploadCtxProvider/EventEmitter.d.ts +70 -0
  247. package/web/blocks/UploadCtxProvider/UploadCtxProvider.d.ts +44 -0
  248. package/web/blocks/UploadList/UploadList.d.ts +39 -0
  249. package/web/blocks/UrlSource/UrlSource.d.ts +14 -0
  250. package/web/blocks/svg-backgrounds/svg-backgrounds.d.ts +3 -0
  251. package/web/blocks/themes/uc-basic/svg-sprite.d.ts +2 -0
  252. package/web/cameraPlugin-DeedXMWV.js +8 -0
  253. package/web/cameraPlugin-Duy1QwjB.js +8 -0
  254. package/web/cameraPlugin-QS9SUOtO.js +8 -0
  255. package/web/cameraPlugin-bq8ggY04.js +8 -0
  256. package/web/cameraPlugin-cel9YgP_.js +8 -0
  257. package/web/cloud-image-editor-8DrVRZ7E.js +12 -0
  258. package/web/cloud-image-editor-BX50EK1U.js +12 -0
  259. package/web/cloud-image-editor-DSW3oWq-.js +12 -0
  260. package/web/cloud-image-editor-DuI2Lx4M.js +12 -0
  261. package/web/cloudImageEditorPlugin-5my6aD36.js +8 -0
  262. package/web/cloudImageEditorPlugin-Bk19DmJv.js +8 -0
  263. package/web/cloudImageEditorPlugin-CcdnmtBW.js +8 -0
  264. package/web/cloudImageEditorPlugin-DQJmDl03.js +8 -0
  265. package/web/cloudImageEditorPlugin-kojghfqw.js +8 -0
  266. package/web/constants-BCfCF0cJ.js +4025 -0
  267. package/web/core.d.ts +42 -0
  268. package/web/env.d.ts +2 -0
  269. package/web/externalSourcesPlugin-BTeRm5C0.js +8 -0
  270. package/web/externalSourcesPlugin-BXgVeojg.js +8 -0
  271. package/web/externalSourcesPlugin-BgLpuIK9.js +8 -0
  272. package/web/externalSourcesPlugin-DMc9zs4T.js +8 -0
  273. package/web/externalSourcesPlugin-Dm9vnTBv.js +8 -0
  274. package/web/file-uploader.iife.min.js +697 -0
  275. package/web/file-uploader.min.js +1859 -0
  276. package/web/imageShrinkPlugin-BdHgEGZH.js +8 -0
  277. package/web/imageShrinkPlugin-BjkMGfvT.js +8 -0
  278. package/web/imageShrinkPlugin-CCkGHL2w.js +8 -0
  279. package/web/imageShrinkPlugin-D4WjaRGo.js +8 -0
  280. package/web/imageShrinkPlugin-DqYGutVx.js +8 -0
  281. package/web/index.d.ts +42 -0
  282. package/web/instagramPlugin-BTMz0K2a.js +8 -0
  283. package/web/instagramPlugin-BbIKgTH7.js +8 -0
  284. package/web/instagramPlugin-CQQhsEJa.js +8 -0
  285. package/web/instagramPlugin-Cm7lWKae.js +8 -0
  286. package/web/instagramPlugin-DcclxM_d.js +8 -0
  287. package/web/lit/BaseComponent.d.ts +12 -0
  288. package/web/lit/Constructor.d.ts +1 -0
  289. package/web/lit/CssDataMixin.d.ts +7 -0
  290. package/web/lit/LightDomMixin.d.ts +8 -0
  291. package/web/lit/LitActivityBlock.d.ts +53 -0
  292. package/web/lit/LitBlock.d.ts +83 -0
  293. package/web/lit/LitSolutionBlock.d.ts +21 -0
  294. package/web/lit/LitUploaderBlock.d.ts +53 -0
  295. package/web/lit/PubSubCompat.d.ts +18 -0
  296. package/web/lit/RegisterableElementMixin.d.ts +7 -0
  297. package/web/lit/SharedState.d.ts +119 -0
  298. package/web/lit/SymbioteCompatMixin.d.ts +40 -0
  299. package/web/lit/TestModeController.d.ts +16 -0
  300. package/web/lit/Uid.d.ts +3 -0
  301. package/web/lit/activity-constants.d.ts +11 -0
  302. package/web/lit/createDebugPrinter.d.ts +3 -0
  303. package/web/lit/findBlockInCtx.d.ts +3 -0
  304. package/web/lit/getOutputData.d.ts +2 -0
  305. package/web/lit/hasBlockInCtx.d.ts +3 -0
  306. package/web/lit/l10n.d.ts +5 -0
  307. package/web/lit/parseCssPropertyValue.d.ts +1 -0
  308. package/web/lit/shared-instances.d.ts +65 -0
  309. package/web/locales/file-uploader/ar.d.ts +137 -0
  310. package/web/locales/file-uploader/az.d.ts +129 -0
  311. package/web/locales/file-uploader/ca.d.ts +131 -0
  312. package/web/locales/file-uploader/cs.d.ts +133 -0
  313. package/web/locales/file-uploader/da.d.ts +129 -0
  314. package/web/locales/file-uploader/de.d.ts +129 -0
  315. package/web/locales/file-uploader/el.d.ts +129 -0
  316. package/web/locales/file-uploader/en.d.ts +129 -0
  317. package/web/locales/file-uploader/es.d.ts +131 -0
  318. package/web/locales/file-uploader/et.d.ts +129 -0
  319. package/web/locales/file-uploader/fi.d.ts +129 -0
  320. package/web/locales/file-uploader/fr.d.ts +131 -0
  321. package/web/locales/file-uploader/he.d.ts +131 -0
  322. package/web/locales/file-uploader/hy.d.ts +129 -0
  323. package/web/locales/file-uploader/is.d.ts +129 -0
  324. package/web/locales/file-uploader/it.d.ts +131 -0
  325. package/web/locales/file-uploader/ja.d.ts +129 -0
  326. package/web/locales/file-uploader/ka.d.ts +129 -0
  327. package/web/locales/file-uploader/kk.d.ts +129 -0
  328. package/web/locales/file-uploader/ko.d.ts +129 -0
  329. package/web/locales/file-uploader/lv.d.ts +131 -0
  330. package/web/locales/file-uploader/nb.d.ts +129 -0
  331. package/web/locales/file-uploader/nl.d.ts +129 -0
  332. package/web/locales/file-uploader/pl.d.ts +133 -0
  333. package/web/locales/file-uploader/pt.d.ts +131 -0
  334. package/web/locales/file-uploader/ro.d.ts +131 -0
  335. package/web/locales/file-uploader/ru.d.ts +133 -0
  336. package/web/locales/file-uploader/sk.d.ts +133 -0
  337. package/web/locales/file-uploader/sr.d.ts +131 -0
  338. package/web/locales/file-uploader/sv.d.ts +129 -0
  339. package/web/locales/file-uploader/tr.d.ts +129 -0
  340. package/web/locales/file-uploader/uk.d.ts +133 -0
  341. package/web/locales/file-uploader/vi.d.ts +129 -0
  342. package/web/locales/file-uploader/zh-TW.d.ts +129 -0
  343. package/web/locales/file-uploader/zh.d.ts +129 -0
  344. package/web/plugins/cameraPlugin.d.ts +2 -0
  345. package/web/plugins/cloudImageEditorPlugin.d.ts +2 -0
  346. package/web/plugins/externalSourcesPlugin.d.ts +2 -0
  347. package/web/plugins/imageShrinkPlugin.d.ts +2 -0
  348. package/web/plugins/instagramPlugin.d.ts +2 -0
  349. package/web/plugins/unsplashPlugin.d.ts +16 -0
  350. package/web/plugins/urlSourcePlugin.d.ts +2 -0
  351. package/web/plugins-Bt7FXHKx.js +562 -0
  352. package/web/plugins-CaaolyMk.js +562 -0
  353. package/web/plugins-Cjgw5oWg.js +562 -0
  354. package/web/plugins-CzNtrVQB.js +562 -0
  355. package/web/plugins-DS0hIs2V.js +563 -0
  356. package/web/ref-BOnG19ns.js +4040 -0
  357. package/web/ref-BejJFG7m.js +4040 -0
  358. package/web/ref-DcRg7zo9.js +4040 -0
  359. package/web/ref-ZWPcLQB9.js +4040 -0
  360. package/web/solutions/adaptive-image/index.d.ts +2 -0
  361. package/web/solutions/cloud-image-editor/CloudImageEditor.d.ts +11 -0
  362. package/web/solutions/cloud-image-editor/index.d.ts +5 -0
  363. package/web/solutions/file-uploader/inline/FileUploaderInline.d.ts +20 -0
  364. package/web/solutions/file-uploader/inline/index.d.ts +1 -0
  365. package/web/solutions/file-uploader/minimal/FileUploaderMinimal.d.ts +23 -0
  366. package/web/solutions/file-uploader/minimal/index.d.ts +1 -0
  367. package/web/solutions/file-uploader/regular/FileUploaderRegular.d.ts +17 -0
  368. package/web/solutions/file-uploader/regular/index.d.ts +1 -0
  369. package/web/style-map-BmZdux7T.js +37 -0
  370. package/web/style-map-CZ6fSV6e.js +37 -0
  371. package/web/style-map-Dk7mLCrB.js +37 -0
  372. package/web/style-map-HkHnu9oA.js +37 -0
  373. package/web/style-map-tw1yUEaj.js +37 -0
  374. package/web/types/dom.d.ts +1 -0
  375. package/web/types/events.d.ts +4 -0
  376. package/web/types/exported.d.ts +492 -0
  377. package/web/types/index.d.ts +5 -0
  378. package/web/uc-basic.layered.min.css +6046 -0
  379. package/web/uc-basic.min.css +5487 -0
  380. package/web/uc-cloud-image-editor.layered.min.css +1884 -0
  381. package/web/uc-cloud-image-editor.min.css +1675 -0
  382. package/web/uc-cloud-image-editor.min.js +457 -0
  383. package/web/uc-file-uploader-inline.layered.min.css +4352 -0
  384. package/web/uc-file-uploader-inline.min.css +3836 -0
  385. package/web/uc-file-uploader-inline.min.js +1859 -0
  386. package/web/uc-file-uploader-minimal.layered.min.css +4352 -0
  387. package/web/uc-file-uploader-minimal.min.css +3836 -0
  388. package/web/uc-file-uploader-minimal.min.js +1859 -0
  389. package/web/uc-file-uploader-regular.layered.min.css +4352 -0
  390. package/web/uc-file-uploader-regular.min.css +3836 -0
  391. package/web/uc-file-uploader-regular.min.js +1859 -0
  392. package/web/uc-img.min.js +895 -0
  393. package/web/urlSourcePlugin-9lhcr02f.js +8 -0
  394. package/web/urlSourcePlugin-C-sLGhGb.js +8 -0
  395. package/web/urlSourcePlugin-DNXDpnRD.js +8 -0
  396. package/web/urlSourcePlugin-JnD0cnxb.js +8 -0
  397. package/web/urlSourcePlugin-hcMU2K6T.js +8 -0
  398. package/web/utils/UID.d.ts +5 -0
  399. package/web/utils/UID.test.d.ts +1 -0
  400. package/web/utils/UploadSource.d.ts +37 -0
  401. package/web/utils/WindowHeightTracker.d.ts +9 -0
  402. package/web/utils/abilities.d.ts +1 -0
  403. package/web/utils/applyStyles.d.ts +1 -0
  404. package/web/utils/browser-info.d.ts +12 -0
  405. package/web/utils/browser-info.test.d.ts +1 -0
  406. package/web/utils/cdn-utils.d.ts +53 -0
  407. package/web/utils/cdn-utils.test.d.ts +1 -0
  408. package/web/utils/comma-separated.d.ts +2 -0
  409. package/web/utils/debounce.d.ts +3 -0
  410. package/web/utils/delay.d.ts +1 -0
  411. package/web/utils/fileTypes.d.ts +11 -0
  412. package/web/utils/fileTypes.test.d.ts +1 -0
  413. package/web/utils/get-top-level-origin.d.ts +1 -0
  414. package/web/utils/get-top-level-origin.test.d.ts +1 -0
  415. package/web/utils/getLocaleDirection.d.ts +1 -0
  416. package/web/utils/getPluralForm.d.ts +1 -0
  417. package/web/utils/getPluralForm.test.d.ts +1 -0
  418. package/web/utils/isPromiseLike.d.ts +1 -0
  419. package/web/utils/isPromiseLike.test.d.ts +1 -0
  420. package/web/utils/isSecureTokenExpired.d.ts +8 -0
  421. package/web/utils/isSecureTokenExpired.test.d.ts +1 -0
  422. package/web/utils/memoize.d.ts +1 -0
  423. package/web/utils/memoize.test.d.ts +1 -0
  424. package/web/utils/mixinClass.d.ts +8 -0
  425. package/web/utils/parseCdnUrl.d.ts +11 -0
  426. package/web/utils/parseCdnUrl.test.d.ts +1 -0
  427. package/web/utils/parseShrink.d.ts +7 -0
  428. package/web/utils/parseShrink.test.d.ts +1 -0
  429. package/web/utils/preloadImage.d.ts +10 -0
  430. package/web/utils/prettyBytes.d.ts +11 -0
  431. package/web/utils/prettyBytes.test.d.ts +1 -0
  432. package/web/utils/resizeImage.d.ts +1 -0
  433. package/web/utils/stringToArray.d.ts +1 -0
  434. package/web/utils/stringToArray.test.d.ts +1 -0
  435. package/web/utils/template-utils.d.ts +16 -0
  436. package/web/utils/template-utils.test.d.ts +1 -0
  437. package/web/utils/throttle.d.ts +3 -0
  438. package/web/utils/toKebabCase.d.ts +2 -0
  439. package/web/utils/toKebabCase.test.d.ts +1 -0
  440. package/web/utils/transparentPixelSrc.d.ts +1 -0
  441. package/web/utils/uniqueArray.d.ts +1 -0
  442. package/web/utils/uniqueArray.test.d.ts +1 -0
  443. package/web/utils/userAgent.d.ts +2 -0
  444. package/web/utils/validators/collection/index.d.ts +2 -0
  445. package/web/utils/validators/collection/validateCollectionUploadError.d.ts +2 -0
  446. package/web/utils/validators/collection/validateMultiple.d.ts +2 -0
  447. package/web/utils/validators/file/index.d.ts +4 -0
  448. package/web/utils/validators/file/validateFileType.d.ts +2 -0
  449. package/web/utils/validators/file/validateIsImage.d.ts +2 -0
  450. package/web/utils/validators/file/validateMaxSizeLimit.d.ts +2 -0
  451. package/web/utils/validators/file/validateUploadError.d.ts +2 -0
  452. package/web/utils/warnOnce.d.ts +1 -0
  453. package/web/utils/wildcardRegexp.d.ts +1 -0
  454. package/web/utils/wildcardRegexp.test.d.ts +1 -0
  455. package/web/utils/withResolvers.d.ts +5 -0
  456. package/web/utils/withResolvers.test.d.ts +1 -0
  457. package/dist/CameraSource-px4BzEMI.js +0 -9
  458. package/dist/ExternalSource-CR5DG0Jv.js +0 -9
  459. package/dist/UrlSource-BxVL9Pve.js +0 -9
  460. package/dist/cameraPlugin-dGash48Q.js +0 -8
  461. package/dist/cloudImageEditorPlugin-2EU0Pm_j.js +0 -8
  462. package/dist/env-B1nfXy9i.js +0 -8
  463. package/dist/externalSourcesPlugin-DKQqk3AC.js +0 -8
  464. package/dist/imageShrinkPlugin-DAx8eRen.js +0 -8
  465. package/dist/instagramPlugin-k67tMAo3.js +0 -8
  466. package/dist/urlSourcePlugin-9xdB7Pvw.js +0 -8
@@ -0,0 +1,3836 @@
1
+
2
+ @keyframes uc-spinner-keyframes {
3
+ from {
4
+ transform: rotate(0deg);
5
+ }
6
+ to {
7
+ transform: rotate(360deg);
8
+ }
9
+ }
10
+ @keyframes fake-progress-animation {
11
+ from {
12
+ transform: translateX(-100%);
13
+ }
14
+
15
+ to {
16
+ transform: translateX(calc(100 / var(--l-fake-progress-width) * 100 * 1%));
17
+ }
18
+ }
19
+ /* GRID */
20
+ /* File item in the grid */
21
+ /* TODO: if we're using disabled <a> somewhere, we should stop */
22
+ /* TODO: check if there's any necessity of disabled input */
23
+ /* TODO: if we're using disabled <a> somewhere, we should stop */
24
+ /* TODO: check if there's any necessity of disabled input */
25
+ /* TODO: if we're using disabled <a> somewhere, we should stop */
26
+ /* TODO: check if there's any necessity of disabled input */
27
+ /* ICONS: */
28
+ /* hack to make transparent :hover colors work in any conditions */
29
+ /* TODO: we should use basic theme there */uc-icon {
30
+ display: inline-flex;
31
+ align-items: center;
32
+ justify-content: center;
33
+ width: var(--uc-button-size);
34
+ height: var(--uc-button-size);
35
+ }uc-icon svg {
36
+ width: calc(var(--uc-button-size) / 2);
37
+ height: calc(var(--uc-button-size) / 2);
38
+ overflow: visible;
39
+ }
40
+ uc-config {
41
+ display: none;
42
+ }
43
+ uc-activity-header {
44
+ display: flex;
45
+ justify-content: space-between;
46
+ gap: var(--uc-padding);
47
+ padding: var(--uc-padding);
48
+ color: var(--uc-foreground);
49
+ font-weight: 500;
50
+ font-size: 1em;
51
+ }
52
+ uc-activity-header > * {
53
+ display: flex;
54
+ align-items: center;
55
+ }
56
+ uc-activity-header > div > uc-icon {
57
+ width: auto;
58
+ }
59
+ uc-activity-header > div {
60
+ gap: var(--uc-padding);
61
+ }
62
+ uc-select {
63
+ display: inline-flex;
64
+ }
65
+ uc-select select {
66
+ position: relative;
67
+ display: inline-flex;
68
+ align-items: center;
69
+ justify-content: center;
70
+ height: var(--uc-button-size);
71
+ padding: 0 14px;
72
+ font-size: 1em;
73
+ font-family: inherit;
74
+ white-space: nowrap;
75
+ border: none;
76
+ border-radius: var(--uc-radius);
77
+ cursor: pointer;
78
+ user-select: none;
79
+ transition: background-color var(--uc-transition);
80
+ color: var(--uc-secondary-foreground);
81
+ background-color: var(--uc-secondary);
82
+ }
83
+ uc-camera-source {
84
+ position: relative;
85
+ display: flex;
86
+ flex-direction: column;
87
+ width: 100%;
88
+ height: 100%;
89
+ max-height: 100%;
90
+ overflow: hidden;
91
+ background-color: var(--uc-background);
92
+ border-radius: var(--uc-radius);
93
+ }
94
+ [uc-modal] > dialog:has([activity="camera"][active]) {
95
+ width: 100%;
96
+ height: 100%;
97
+ }
98
+ uc-camera-source video {
99
+ display: block;
100
+ width: 100%;
101
+ max-height: 100%;
102
+ object-fit: contain;
103
+ object-position: center center;
104
+ background-color: var(--uc-muted);
105
+ border-radius: var(--uc-radius);
106
+ }
107
+ uc-camera-source .uc-toolbar {
108
+ position: absolute;
109
+ bottom: 0;
110
+ display: flex;
111
+ justify-content: space-between;
112
+ width: 100%;
113
+ padding: var(--uc-padding);
114
+ background-color: var(--uc-background);
115
+ }
116
+ uc-camera-source .uc-content {
117
+ display: flex;
118
+ flex: 1;
119
+ justify-content: center;
120
+ width: 100%;
121
+ height: 100%;
122
+ padding: var(--uc-padding);
123
+ padding-top: 0;
124
+ overflow: hidden;
125
+ }
126
+ uc-camera-source .uc-message-box {
127
+ display: flex;
128
+ flex-direction: column;
129
+ gap: 40px;
130
+ align-items: center;
131
+ justify-content: center;
132
+ padding: 40px 40px 0;
133
+ color: var(--uc-foreground);
134
+ }
135
+ uc-camera-source .uc-message-box button {
136
+ color: var(--uc-primary-foreground);
137
+ background-color: var(--uc-primary);
138
+ }
139
+ uc-camera-source .uc-shot-btn {
140
+ width: 58px;
141
+ height: 58px;
142
+ color: var(--uc-background);
143
+ background-color: var(--uc-primary-light);
144
+ border-radius: 50%;
145
+ opacity: 0.85;
146
+ transition:
147
+ bottom var(--uc-transition),
148
+ opacity var(--uc-transition),
149
+ transform var(--uc-transition);
150
+ }
151
+ uc-camera-source .uc-shot-btn:hover {
152
+ transform: scale(1.05);
153
+ opacity: 1;
154
+ }
155
+ uc-camera-source .uc-shot-btn:active {
156
+ transform: scale(1);
157
+ opacity: 1;
158
+ }
159
+ uc-camera-source .uc-shot-btn[disabled] {
160
+ bottom: -80px;
161
+ }
162
+ uc-camera-source .uc-shot-btn uc-icon svg {
163
+ width: 20px;
164
+ height: 20px;
165
+ }
166
+ uc-camera-source .uc-controls {
167
+ position: relative;
168
+ display: flex;
169
+ align-items: center;
170
+ flex-wrap: wrap;
171
+ justify-content: space-between;
172
+ padding: 0 var(--uc-padding) var(--uc-padding);
173
+ min-height: 74px;
174
+ }
175
+ uc-camera-source:not(.uc-initialized) .uc-controls {
176
+ display: none;
177
+ }
178
+ uc-camera-source .uc-switcher {
179
+ display: flex;
180
+ gap: calc(var(--uc-padding) / 2);
181
+ }
182
+ uc-camera-source .uc-switch.uc-active {
183
+ background-color: var(--uc-secondary);
184
+ }
185
+ uc-camera-source .uc-camera-actions {
186
+ display: flex;
187
+ justify-content: center;
188
+ align-items: center;
189
+ gap: 5px;
190
+ }
191
+ uc-camera-source .uc-stop-record {
192
+ background-color: var(--uc-destructive-foreground-light);
193
+ opacity: 1;
194
+ }
195
+ :where(uc-camera-source:is(.uc-recording)) .uc-recording-timer uc-icon {
196
+ display: none;
197
+ }
198
+ :where(uc-camera-source:is(.uc-recording)) .uc-recording-timer {
199
+ pointer-events: none;
200
+ }
201
+ uc-camera-source .uc-recording-timer {
202
+ z-index: 1;
203
+ position: relative;
204
+ overflow: hidden;
205
+ }
206
+ :where(uc-camera-source) .uc-recording-timer uc-icon {
207
+ width: 10px;
208
+ height: 10px;
209
+ margin-right: 10px;
210
+ }
211
+ uc-camera-source .uc-recording-timer .uc-line {
212
+ position: absolute;
213
+ content: "";
214
+ bottom: 0;
215
+ left: 0;
216
+ right: 0;
217
+ height: 2px;
218
+ background-color: var(--uc-foreground-light);
219
+ transform: scaleX(0);
220
+ transform-origin: left;
221
+ transition: transform var(--uc-transition);
222
+ }
223
+ uc-camera-source .uc-btn-microphone {
224
+ z-index: 1;
225
+ }
226
+ uc-camera-source .uc-select {
227
+ display: flex;
228
+ }
229
+ uc-camera-source .uc-audio-select {
230
+ width: 98px;
231
+ }
232
+ uc-camera-source .uc-audio-select select {
233
+ width: 100%;
234
+ }
235
+ uc-camera-source .uc-camera-action {
236
+ position: absolute;
237
+ inset: 0 var(--uc-padding) var(--uc-padding);
238
+ margin: 0 auto;
239
+ }
240
+ uc-cloud-image-editor-activity {
241
+ position: relative;
242
+ display: flex;
243
+ width: 100%;
244
+ height: 100%;
245
+ overflow: hidden;
246
+ background-color: var(--uc-background);
247
+ }
248
+ [uc-modal] > dialog:has([activity="cloud-image-edit"][active]) {
249
+ width: 100%;
250
+ height: 100%;
251
+ }
252
+ .uc-spinner {
253
+ width: 1em;
254
+ height: 1em;
255
+ border: solid 2px transparent;
256
+ border-top-color: currentColor;
257
+ border-left-color: currentColor;
258
+ border-radius: 50%;
259
+ animation: uc-spinner-keyframes 400ms linear infinite;
260
+ }
261
+ uc-external-source {
262
+ display: flex;
263
+ flex-direction: column;
264
+ width: 100%;
265
+ height: 100%;
266
+ background-color: var(--uc-background);
267
+ overflow: hidden;
268
+ position: relative;
269
+ }
270
+ [uc-modal] > dialog:has([activity="external"][active]) {
271
+ width: 100%;
272
+ height: 100%;
273
+ }
274
+ uc-external-source > .uc-content {
275
+ position: relative;
276
+ display: grid;
277
+ flex: 1;
278
+ grid-template-rows: 1fr min-content;
279
+ }
280
+ uc-external-source iframe {
281
+ display: block;
282
+ width: 100%;
283
+ height: 100%;
284
+ border: none;
285
+ }
286
+ uc-external-source .uc-iframe-wrapper {
287
+ overflow: hidden;
288
+ }
289
+ uc-external-source .uc-toolbar {
290
+ display: flex;
291
+ width: 100%;
292
+ gap: var(--uc-padding);
293
+ align-items: center;
294
+ justify-content: space-between;
295
+ padding: var(--uc-padding);
296
+ border-top: 1px solid var(--uc-border);
297
+ }
298
+ uc-external-source .uc-back-btn {
299
+ padding-left: 0;
300
+ }
301
+ uc-external-source .uc-selection-status-box {
302
+ color: var(--uc-foreground);
303
+ display: flex;
304
+ flex-direction: column;
305
+ align-items: center;
306
+ justify-content: center;
307
+ }
308
+ uc-external-source .uc-selection-status-box button {
309
+ color: var(--uc-primary);
310
+ height: auto;
311
+ padding: 0;
312
+ background: none;
313
+ }
314
+ uc-external-source .uc-selection-status-box button:hover {
315
+ text-decoration: underline;
316
+ }
317
+ uc-external-source uc-activity-header {
318
+ position: absolute;
319
+ width: 100%;
320
+ justify-content: flex-end;
321
+ z-index: 1;
322
+ left: 0;
323
+ top: 0;
324
+ right: 0;
325
+ pointer-events: none;
326
+ }
327
+ uc-external-source uc-activity-header .uc-close-btn {
328
+ pointer-events: auto;
329
+ }
330
+ uc-external-source .uc-done-btn > span.uc-hidden {
331
+ visibility: hidden;
332
+ pointer-events: none;
333
+ }
334
+ uc-external-source .uc-done-btn > uc-spinner {
335
+ position: absolute;
336
+ width: 100%;
337
+ height: 100%;
338
+ display: flex;
339
+ align-items: center;
340
+ justify-content: center;
341
+ }
342
+ uc-url-source {
343
+ display: block;
344
+ background-color: var(--uc-background);
345
+ }
346
+ uc-url-source > .uc-content {
347
+ display: grid;
348
+ gap: 4px;
349
+ grid-template-columns: 1fr min-content;
350
+ padding: var(--uc-padding);
351
+ padding-top: 0;
352
+ }
353
+ uc-url-source .uc-url-input {
354
+ display: flex;
355
+ }
356
+ @supports selector(dialog::backdrop) {
357
+ :where([uc-modal]) > dialog::backdrop {
358
+ /* backdrop don't inherit theme properties */
359
+ background-color: oklch(0% 0 0 / 0.1);
360
+ }
361
+ :where([uc-modal])[strokes] > dialog::backdrop {
362
+ /* TODO: it's not working, fix it */
363
+ background-image: var(--modal-backdrop-background-image);
364
+ }
365
+ }
366
+ :where([uc-modal]) > dialog[open] {
367
+ transform: translateY(0px);
368
+ visibility: visible;
369
+ opacity: 1;
370
+ }
371
+ :where([uc-modal]) > dialog:not([open]) {
372
+ transform: translateY(20px);
373
+ visibility: hidden;
374
+ opacity: 0;
375
+ }
376
+ :where([uc-modal]) > dialog {
377
+ display: flex;
378
+ flex-direction: column;
379
+ width: min(var(--uc-dialog-width), 100%);
380
+ max-width: min(calc(100% - var(--uc-padding) * 2), var(--uc-dialog-max-width));
381
+ min-height: var(--uc-button-size);
382
+ max-height: min(calc(100% - var(--uc-padding) * 2), var(--uc-dialog-max-height));
383
+ margin: auto;
384
+ padding: 0;
385
+ overflow: hidden;
386
+ background-color: var(--uc-background);
387
+ border: 0;
388
+ border-radius: calc(var(--uc-radius) * 1.75);
389
+ box-shadow: var(--uc-dialog-shadow);
390
+ transition:
391
+ transform 0.4s ease,
392
+ opacity 0.4s ease;
393
+ }
394
+ :where(.uc-contrast) :where([uc-modal]) > dialog {
395
+ outline: 1px solid var(--uc-border);
396
+ }
397
+ uc-copyright {
398
+ display: flex;
399
+ width: 100%;
400
+ justify-content: center;
401
+ }
402
+ uc-copyright .uc-credits {
403
+ all: unset;
404
+ position: absolute;
405
+ bottom: 12px;
406
+ background-color: var(--uc-background);
407
+ padding: 2px 5px;
408
+ border-radius: 6px;
409
+ color: var(--uc-muted-foreground);
410
+ font-weight: normal;
411
+ font-size: 12px;
412
+ opacity: 0.9;
413
+ cursor: pointer;
414
+ transition:
415
+ opacity var(--uc-transition),
416
+ background-color var(--uc-transition);
417
+ }
418
+ uc-copyright .uc-credits:focus-visible {
419
+ outline: 1px auto Highlight;
420
+ outline: 1px auto -webkit-focus-ring-color;
421
+ }
422
+ uc-copyright .uc-credits:hover {
423
+ opacity: 1;
424
+ background-color: var(--uc-muted);
425
+ }
426
+ uc-progress-bar {
427
+ --visible-opacity: 1;
428
+ --l-progress-value: 0;
429
+
430
+ position: absolute;
431
+ top: 0;
432
+ bottom: 0;
433
+ left: 0;
434
+ width: 100%;
435
+ height: 100%;
436
+ overflow: hidden;
437
+ pointer-events: none;
438
+ transition: opacity 0.3s;
439
+ opacity: 1;
440
+ }
441
+ uc-progress-bar.uc-progress-bar--hidden {
442
+ opacity: 0;
443
+ }
444
+ uc-progress-bar .uc-progress {
445
+ position: absolute;
446
+ width: calc(var(--l-progress-value) * 1%);
447
+ height: 100%;
448
+ background-color: var(--uc-primary);
449
+ transform: translateX(0);
450
+ opacity: var(--visible-opacity);
451
+ transition:
452
+ width 0.6s,
453
+ opacity 0.3s;
454
+ }
455
+ uc-progress-bar .uc-progress--hidden {
456
+ opacity: 0;
457
+ transition: opacity 0.3s;
458
+ }
459
+ uc-progress-bar .uc-fake-progress {
460
+ --l-fake-progress-width: 30;
461
+
462
+ position: absolute;
463
+ width: calc(var(--l-fake-progress-width) * 1%);
464
+ height: 100%;
465
+ background-color: var(--uc-primary);
466
+ animation: fake-progress-animation 1s ease-in-out infinite;
467
+ opacity: var(--visible-opacity);
468
+ transition: opacity 0.3s;
469
+ z-index: 1;
470
+ }
471
+ uc-progress-bar .uc-fake-progress--hidden {
472
+ opacity: 0;
473
+ animation: none;
474
+ }
475
+ uc-progress-bar-common {
476
+ position: fixed;
477
+ right: 0;
478
+ bottom: 0;
479
+ left: 0;
480
+ z-index: 10000;
481
+ display: block;
482
+ height: 10px;
483
+ background-color: var(--uc-background);
484
+ transition: opacity 0.3s;
485
+ }
486
+ uc-progress-bar-common:not([active]) {
487
+ opacity: 0;
488
+ pointer-events: none;
489
+ }
490
+ uc-source-btn > button {
491
+ display: flex;
492
+ align-items: center;
493
+ margin-bottom: 2px;
494
+ padding: 2px var(--uc-padding);
495
+ color: var(--uc-foreground);
496
+ border-radius: var(--uc-radius);
497
+ cursor: pointer;
498
+ transition:
499
+ background-color var(--uc-transition),
500
+ color var(--uc-transition);
501
+ user-select: none;
502
+ width: 100%;
503
+ background-color: unset;
504
+ height: unset;
505
+ }
506
+ uc-source-btn:last-child > button {
507
+ margin-bottom: 0;
508
+ }
509
+ uc-source-btn > button:hover {
510
+ background-color: var(--uc-primary-transparent);
511
+ }
512
+ :where(.uc-contrast) uc-source-btn > button:hover {
513
+ background-color: var(--uc-secondary);
514
+ color: var(--uc-foreground);
515
+ }
516
+ uc-source-btn uc-icon {
517
+ display: inline-flex;
518
+ flex-grow: 1;
519
+ justify-content: center;
520
+ min-width: var(--uc-button-size);
521
+ margin-right: var(--uc-padding);
522
+ opacity: 0.8;
523
+ }
524
+ :where(.uc-contrast) uc-source-btn uc-icon {
525
+ opacity: 1;
526
+ }
527
+ uc-source-btn .uc-txt {
528
+ display: flex;
529
+ align-items: center;
530
+ box-sizing: border-box;
531
+ width: 100%;
532
+ height: var(--uc-button-size);
533
+ padding: 0;
534
+ white-space: nowrap;
535
+ border: none;
536
+ }
537
+ uc-thumb {
538
+ width: 100%;
539
+ height: 100%;
540
+ }
541
+ .uc-thumb {
542
+ position: relative;
543
+ overflow: hidden;
544
+ width: 100%;
545
+ height: 100%;
546
+ }
547
+ .uc-thumb__img {
548
+ position: absolute;
549
+ inset: 0;
550
+ width: 100%;
551
+ height: 100%;
552
+ object-fit: cover;
553
+ display: block;
554
+ pointer-events: none;
555
+ }
556
+ uc-start-from {
557
+ display: block;
558
+ overflow-y: auto;
559
+ }
560
+ uc-start-from .uc-content {
561
+ display: grid;
562
+ grid-auto-flow: row;
563
+ gap: calc(var(--uc-padding) * 2);
564
+ width: 100%;
565
+ height: 100%;
566
+ padding: calc(var(--uc-padding) * 2);
567
+ background-color: var(--uc-background);
568
+ }
569
+ [uc-modal] > dialog:has(uc-start-from[active]) {
570
+ width: var(--uc-dialog-width);
571
+ }
572
+ [uc-modal] uc-start-from uc-drop-area {
573
+ border-radius: var(--uc-radius);
574
+ }
575
+ @media only screen and (max-width: 430px) {
576
+ [uc-modal] uc-start-from uc-drop-area {
577
+ display: none;
578
+ }
579
+ }
580
+ uc-upload-list {
581
+ position: relative;
582
+ display: flex;
583
+ flex-direction: column;
584
+ width: 100%;
585
+ height: max-content;
586
+ overflow: hidden;
587
+ background-color: var(--uc-background);
588
+ transition: opacity var(--uc-transition);
589
+ }
590
+ uc-upload-list .uc-no-files {
591
+ height: 32px;
592
+ padding: 20px;
593
+ }
594
+ uc-upload-list .uc-files {
595
+ display: block;
596
+ flex: 1;
597
+ min-height: 32px;
598
+ padding: 0 var(--uc-padding);
599
+ overflow: auto;
600
+ }
601
+ uc-upload-list .uc-files-wrapper {
602
+ display: contents;
603
+ }
604
+ uc-upload-list .uc-toolbar {
605
+ display: flex;
606
+ gap: 4px;
607
+ justify-content: space-between;
608
+ padding: var(--uc-padding);
609
+ background-color: var(--uc-background);
610
+ }
611
+ uc-upload-list .uc-toolbar-spacer {
612
+ flex: 1;
613
+ }
614
+ uc-upload-list uc-drop-area {
615
+ position: absolute;
616
+ top: 0;
617
+ left: 0;
618
+ width: calc(100% - var(--uc-padding) * 2);
619
+ height: calc(100% - var(--uc-padding) * 2);
620
+ margin: var(--uc-padding);
621
+ border-radius: var(--uc-radius);
622
+ }
623
+ uc-upload-list uc-activity-header > .uc-header-text {
624
+ padding: 0 var(--uc-padding);
625
+ }
626
+ uc-upload-list .uc-common-error {
627
+ border-radius: var(--uc-radius);
628
+ color: var(--uc-destructive-foreground);
629
+ background-color: var(--uc-destructive);
630
+ display: flex;
631
+ align-items: center;
632
+ justify-content: center;
633
+ padding: var(--uc-padding);
634
+ margin: 4px var(--uc-padding) 0 var(--uc-padding);
635
+ font-size: 0.925em;
636
+ }
637
+ uc-upload-list .uc-add-more-btn uc-icon {
638
+ display: none;
639
+ }
640
+ /* GRID */
641
+ uc-upload-list[mode="grid"] .uc-files {
642
+ display: flex;
643
+ flex-wrap: wrap;
644
+ gap: var(--uc-grid-gap);
645
+ }
646
+ uc-upload-list .uc-files .uc-add-more-btn,
647
+ uc-upload-list[mode="grid"] uc-file-item {
648
+ flex: 0 0 calc((100% - (var(--uc-grid-gap) * (var(--uc-grid-col) - 1))) / var(--uc-grid-col));
649
+ max-width: calc((100% - (var(--uc-grid-gap) * (var(--uc-grid-col) - 1))) / var(--uc-grid-col));
650
+ height: var(--uc-grid-preview-image-height);
651
+ aspect-ratio: var(--uc-grid-aspect-ratio);
652
+ }
653
+ uc-upload-list .uc-files .uc-add-more-btn {
654
+ display: none;
655
+ }
656
+ uc-file-item {
657
+ --uc-file-item-gap: 4px;
658
+ --uc-file-item-height: calc(var(--uc-preview-size) + var(--uc-padding) * 2 + var(--uc-file-item-gap));
659
+
660
+ display: block;
661
+ overflow: hidden;
662
+ min-height: var(--uc-file-item-height);
663
+ }
664
+ uc-file-item:last-of-type {
665
+ --uc-file-item-gap: 0;
666
+ }
667
+ uc-file-item > .uc-inner {
668
+ position: relative;
669
+ display: grid;
670
+ grid-template-columns: var(--uc-preview-size) 1fr max-content;
671
+ gap: 2px;
672
+ align-items: center;
673
+ margin-bottom: var(--uc-file-item-gap);
674
+ padding: var(--uc-padding);
675
+ overflow: hidden;
676
+ font-size: 0.925em;
677
+ background-color: var(--uc-muted);
678
+ border-radius: var(--uc-radius);
679
+ transition: background-color var(--uc-transition);
680
+ }
681
+ uc-file-item > .uc-inner[data-focused] {
682
+ background-color: transparent;
683
+ }
684
+ uc-file-item > .uc-inner[data-uploading] .uc-edit-btn {
685
+ display: none;
686
+ }
687
+ uc-file-item > :where(.uc-inner[data-failed], .uc-inner[data-limit-overflow]) {
688
+ background-color: var(--uc-destructive);
689
+ }
690
+ uc-file-item .uc-thumb {
691
+ position: relative;
692
+ display: inline-flex;
693
+ width: var(--uc-preview-size);
694
+ height: var(--uc-preview-size);
695
+ background-color: var(--uc-secondary);
696
+ background-position: center center;
697
+ background-repeat: no-repeat;
698
+ background-size: cover;
699
+ border-radius: var(--uc-radius);
700
+ }
701
+ uc-file-item .uc-file-name-wrapper {
702
+ text-align: left;
703
+ display: flex;
704
+ flex-direction: column;
705
+ align-items: flex-start;
706
+ justify-content: center;
707
+ max-width: 100%;
708
+ padding-right: var(--uc-padding);
709
+ padding-left: var(--uc-padding);
710
+ overflow: hidden;
711
+ color: var(--uc-muted-foreground);
712
+ }
713
+ uc-file-item .uc-file-name {
714
+ max-width: 100%;
715
+ overflow: hidden;
716
+ white-space: nowrap;
717
+ text-overflow: ellipsis;
718
+ }
719
+ uc-file-item .uc-file-error {
720
+ display: none;
721
+ color: var(--uc-destructive-foreground);
722
+ font-size: 0.85em;
723
+ z-index: 2;
724
+ }
725
+ uc-file-item button.uc-remove-btn,
726
+ uc-file-item button.uc-edit-btn {
727
+ color: var(--uc-muted-foreground);
728
+ }
729
+ uc-file-item button svg {
730
+ pointer-events: none;
731
+ }
732
+ uc-file-item button.uc-upload-btn {
733
+ display: none;
734
+ }
735
+ uc-file-item .uc-badge {
736
+ position: absolute;
737
+ bottom: 2px;
738
+ right: 2px;
739
+ width: 14px;
740
+ height: 14px;
741
+ color: var(--uc-background);
742
+ background-color: var(--uc-foreground);
743
+ border-radius: 50%;
744
+ transform: scale(0.3);
745
+ opacity: 0;
746
+ transition:
747
+ opacity var(--uc-transition),
748
+ transform var(--uc-transition);
749
+ display: flex;
750
+ justify-content: center;
751
+ align-items: center;
752
+ }
753
+ uc-file-item > .uc-inner:where([data-failed], [data-limit-overflow], [data-finished]) .uc-badge {
754
+ transform: scale(1);
755
+ opacity: 1;
756
+ }
757
+ uc-file-item > .uc-inner:where([data-failed], [data-limit-overflow]) .uc-badge {
758
+ background-color: var(--uc-destructive-foreground);
759
+ }
760
+ uc-file-item > .uc-inner:where([data-failed], [data-limit-overflow]) .uc-file-error {
761
+ display: block;
762
+ }
763
+ uc-file-item .uc-badge uc-icon,
764
+ uc-file-item .uc-badge uc-icon svg {
765
+ width: 100%;
766
+ height: 100%;
767
+ }
768
+ uc-file-item .uc-progress-bar {
769
+ --visible-opacity: 0.7;
770
+
771
+ top: calc(100% - 2px);
772
+ height: 2px;
773
+ }
774
+ :where(.uc-contrast) uc-file-item .uc-progress-bar {
775
+ --visible-opacity: 1;
776
+ }
777
+ uc-file-item .uc-file-actions {
778
+ display: flex;
779
+ gap: 2px;
780
+ align-items: center;
781
+ justify-content: center;
782
+ }
783
+ /* File item in the grid */
784
+ uc-file-item[mode="grid"] {
785
+ overflow: visible;
786
+ min-height: initial;
787
+ }
788
+ uc-file-item[mode="grid"] .uc-inner {
789
+ height: 100%;
790
+ grid-template-columns: 1fr;
791
+ grid-template-rows: 1fr max-content;
792
+ padding: 0;
793
+ background-color: transparent;
794
+ margin-bottom: 0;
795
+ border-radius: 0;
796
+ }
797
+ uc-file-item[mode="grid"] .uc-inner[data-failed] .uc-badge {
798
+ display: none;
799
+ }
800
+ uc-file-item[mode="grid"] .uc-thumb {
801
+ width: 100%;
802
+ height: 100%;
803
+ }
804
+ uc-file-item[mode="grid"] .uc-badge {
805
+ right: var(--uc-padding);
806
+ bottom: var(--uc-padding);
807
+ }
808
+ uc-file-item[mode="grid"] .uc-file-name-wrapper {
809
+ padding: 0;
810
+ }
811
+ uc-file-item[mode="grid"] .uc-file-name:not([hidden]) + .uc-file-error {
812
+ bottom: calc(var(--uc-padding) + var(--uc-font-size));
813
+ }
814
+ uc-file-item[mode="grid"] .uc-file-error {
815
+ position: absolute;
816
+ background-color: var(--uc-destructive-foreground);
817
+ border-radius: var(--uc-radius);
818
+ color: var(--uc-background);
819
+ bottom: var(--uc-padding);
820
+ left: var(--uc-padding);
821
+ right: var(--uc-padding);
822
+ padding: calc(var(--uc-padding) / 2) var(--uc-padding);
823
+ }
824
+ uc-file-item[mode="grid"] .uc-file-hint {
825
+ position: absolute;
826
+ background-color: var(--uc-background);
827
+ border-radius: var(--uc-radius);
828
+ color: var(--uc-foreground);
829
+ bottom: calc(var(--uc-padding) * 2);
830
+ left: var(--uc-padding);
831
+ right: var(--uc-padding);
832
+ padding: calc(var(--uc-padding) / 2) var(--uc-padding);
833
+ }
834
+ uc-file-item[mode="grid"] .uc-file-actions {
835
+ position: absolute;
836
+ top: var(--uc-padding);
837
+ right: var(--uc-padding);
838
+ }
839
+ uc-file-item[mode="grid"] button {
840
+ background-color: var(--uc-background);
841
+ }
842
+ uc-file-item[mode="grid"] button:hover {
843
+ background-color: var(--uc-muted);
844
+ }
845
+ uc-file-item[mode="grid"] .uc-progress-bar {
846
+ width: initial;
847
+ height: 4px;
848
+ top: initial;
849
+ bottom: var(--uc-padding);
850
+ left: var(--uc-padding);
851
+ right: var(--uc-padding);
852
+ border-radius: var(--uc-radius);
853
+ z-index: 1;
854
+ transition:
855
+ background-color 0.3s,
856
+ opacity 0.3s;
857
+ background-color: var(--uc-background);
858
+ }
859
+ uc-file-item[mode="grid"] .uc-progress-bar :is(.uc-fake-progress, .uc-progress) {
860
+ background-color: var(--uc-primary);
861
+ }
862
+ uc-file-item[mode="grid"] .uc-progress-bar[hasfilename] {
863
+ bottom: calc(var(--uc-padding) + var(--uc-font-size));
864
+ }
865
+ :where([uc-drop-area]) {
866
+ padding: 2px;
867
+ overflow: hidden;
868
+ border: 1px dashed var(--uc-border);
869
+ border-radius: calc(var(--uc-radius) * 1.75);
870
+ transition:
871
+ border var(--uc-transition),
872
+ border-radius var(--uc-transition);
873
+ }
874
+ :where([uc-drop-area]),
875
+ :where([uc-drop-area]) .uc-content-wrapper {
876
+ display: flex;
877
+ align-items: center;
878
+ justify-content: center;
879
+ width: 100%;
880
+ height: 100%;
881
+ }
882
+ :where([uc-drop-area]) .uc-text {
883
+ position: relative;
884
+ margin: var(--uc-padding);
885
+ color: var(--uc-muted-foreground);
886
+ transition: color var(--uc-transition);
887
+ }
888
+ :where([uc-drop-area])[ghost][drag-state="inactive"] {
889
+ display: none;
890
+ }
891
+ :where([uc-drop-area])[ghost]:not([fullscreen]):is([drag-state="active"], [drag-state="near"], [drag-state="over"]) {
892
+ background: var(--uc-background);
893
+ }
894
+ :where([uc-drop-area]):is([drag-state="active"], [drag-state="near"], [drag-state="over"], :hover) {
895
+ background: var(--uc-primary-transparent);
896
+ border-color: var(--uc-primary-transparent);
897
+ }
898
+ :where(.uc-contrast)
899
+ :where([uc-drop-area]):is([drag-state="active"], [drag-state="near"], [drag-state="over"], :hover) {
900
+ color: var(--uc-foreground);
901
+ background: transparent;
902
+ border-color: var(--uc-foreground);
903
+ border-width: 2px;
904
+ border-style: solid;
905
+ }
906
+ :where([uc-drop-area]):is([drag-state="active"], [drag-state="near"]) {
907
+ opacity: 1;
908
+ }
909
+ :where([uc-drop-area])[drag-state="over"] {
910
+ border-color: var(--uc-primary);
911
+ opacity: 1;
912
+ }
913
+ :where([uc-drop-area])[with-icon] {
914
+ min-height: 180px;
915
+ }
916
+ :where([uc-drop-area])[with-icon] .uc-content-wrapper {
917
+ display: flex;
918
+ flex-direction: column;
919
+ }
920
+ :where([uc-drop-area])[with-icon] .uc-text {
921
+ color: var(--uc-foreground);
922
+ font-weight: 500;
923
+ font-size: 1.1em;
924
+ }
925
+ :where([uc-drop-area])[with-icon] .uc-icon-container {
926
+ position: relative;
927
+ width: 64px;
928
+ height: 64px;
929
+ margin: var(--uc-padding);
930
+ overflow: hidden;
931
+ color: var(--uc-foreground);
932
+ background-color: var(--uc-muted);
933
+ border-radius: 50%;
934
+ transition:
935
+ color var(--uc-transition),
936
+ background-color var(--uc-transition);
937
+ }
938
+ :where([uc-drop-area])[with-icon] uc-icon {
939
+ position: absolute;
940
+ width: 32px;
941
+ height: 32px;
942
+ top: calc(50% - 16px);
943
+ left: calc(50% - 16px);
944
+ transition: transform var(--uc-transition);
945
+ }
946
+ :where([uc-drop-area])[with-icon] uc-icon:last-child {
947
+ transform: translateY(48px);
948
+ }
949
+ :where(.uc-contrast) :where([uc-drop-area])[with-icon]:hover .uc-icon-container,
950
+ :where(.uc-contrast) :where([uc-drop-area])[with-icon]:hover .uc-text {
951
+ color: var(--uc-foreground);
952
+ }
953
+ :where([uc-drop-area])[with-icon]:hover .uc-icon-container {
954
+ background-color: var(--uc-primary-transparent);
955
+ }
956
+ :where(.uc-contrast) :where([uc-drop-area])[with-icon]:hover .uc-icon-container {
957
+ background-color: var(--uc-muted);
958
+ }
959
+ :where([uc-drop-area])[with-icon]
960
+ > .uc-content-wrapper:is([drag-state="active"], [drag-state="near"], [drag-state="over"])
961
+ .uc-icon-container {
962
+ color: var(--uc-primary-foreground);
963
+ background-color: var(--uc-primary);
964
+ }
965
+ :where([uc-drop-area])[with-icon]
966
+ > .uc-content-wrapper:is([drag-state="active"], [drag-state="near"], [drag-state="over"])
967
+ .uc-text {
968
+ color: var(--uc-foreground);
969
+ }
970
+ :where(.uc-contrast)
971
+ :where([uc-drop-area])[with-icon]
972
+ > .uc-content-wrapper:is([drag-state="active"], [drag-state="near"], [drag-state="over"])
973
+ .uc-text {
974
+ color: var(--uc-foreground);
975
+ }
976
+ :where([uc-drop-area])[with-icon]
977
+ > .uc-content-wrapper:is([drag-state="active"], [drag-state="near"], [drag-state="over"])
978
+ uc-icon:first-child {
979
+ transform: translateY(-48px);
980
+ }
981
+ :where([uc-drop-area])[with-icon]
982
+ > .uc-content-wrapper:is([drag-state="active"], [drag-state="near"], [drag-state="over"])
983
+ uc-icon:last-child {
984
+ transform: translateY(0);
985
+ }
986
+ :where([uc-drop-area])[with-icon] > .uc-content-wrapper[drag-state="near"] uc-icon:last-child {
987
+ transform: scale(1.3);
988
+ }
989
+ :where([uc-drop-area])[with-icon] > .uc-content-wrapper[drag-state="over"] uc-icon:last-child {
990
+ transform: scale(1.5);
991
+ }
992
+ :where([uc-drop-area])[fullscreen] {
993
+ position: fixed;
994
+ top: 0;
995
+ right: 0;
996
+ bottom: 0;
997
+ left: 0;
998
+ z-index: 2147483647;
999
+ display: flex;
1000
+ align-items: center;
1001
+ justify-content: center;
1002
+ width: calc(100vw - var(--uc-padding) * 2);
1003
+ height: calc(100vh - var(--uc-padding) * 2);
1004
+ margin: var(--uc-padding);
1005
+ }
1006
+ :where([uc-drop-area])[fullscreen] .uc-content-wrapper {
1007
+ width: 100%;
1008
+ max-width: calc(var(--uc-dialog-width) * 0.8);
1009
+ height: 180px;
1010
+ color: var(--uc-foreground);
1011
+ background-color: var(--uc-background);
1012
+ border-radius: calc(var(--uc-radius) * 1.75);
1013
+ box-shadow: var(--uc-dialog-shadow);
1014
+ transition:
1015
+ color var(--uc-transition),
1016
+ background-color var(--uc-transition),
1017
+ box-shadow var(--uc-transition),
1018
+ border-radius var(--uc-transition),
1019
+ transform var(--uc-transition);
1020
+ }
1021
+ :where([uc-drop-area])[with-icon][fullscreen][drag-state="active"] > .uc-content-wrapper,
1022
+ :where([uc-drop-area])[with-icon][fullscreen][drag-state="near"] > .uc-content-wrapper {
1023
+ transform: translateY(10px);
1024
+ opacity: 0;
1025
+ }
1026
+ :where([uc-drop-area])[with-icon][fullscreen][drag-state="over"] > .uc-content-wrapper {
1027
+ transform: translateY(0px);
1028
+ opacity: 1;
1029
+ }
1030
+ :is(:where([uc-drop-area])[with-icon][fullscreen]) > .uc-content-wrapper uc-icon:first-child {
1031
+ transform: translateY(-48px);
1032
+ }
1033
+ :where([uc-drop-area])[clickable] {
1034
+ cursor: pointer;
1035
+ }
1036
+ :where([uc-simple-btn]) {
1037
+ position: relative;
1038
+ display: inline-flex;
1039
+ }
1040
+ :where([uc-simple-btn]) button {
1041
+ height: auto;
1042
+ gap: 0.5em;
1043
+ padding: var(--uc-simple-btn-padding);
1044
+ background-color: var(--uc-simple-btn);
1045
+ color: var(--uc-simple-btn-foreground);
1046
+ font-size: var(--uc-simple-btn-font-size);
1047
+ font-family: var(--uc-simple-btn-font-family);
1048
+ }
1049
+ :where([uc-simple-btn]) button uc-icon {
1050
+ width: auto;
1051
+ height: auto;
1052
+ }
1053
+ :where([uc-simple-btn]) button uc-icon svg {
1054
+ width: 0.9em;
1055
+ height: 0.9em;
1056
+ }
1057
+ :where([uc-simple-btn]) button:hover {
1058
+ background-color: var(--uc-simple-btn-hover);
1059
+ }
1060
+ :where([uc-simple-btn]) > uc-drop-area {
1061
+ display: contents;
1062
+ }
1063
+ :where([uc-simple-btn]) .uc-visual-drop-area {
1064
+ position: absolute;
1065
+ top: 0px;
1066
+ left: 0px;
1067
+ display: flex;
1068
+ align-items: center;
1069
+ justify-content: center;
1070
+ width: 100%;
1071
+ height: 100%;
1072
+ padding: var(--uc-simple-btn-padding);
1073
+ background-color: transparent;
1074
+ color: transparent;
1075
+ font-size: var(--uc-simple-btn-font-size);
1076
+ border: 1px dashed var(--uc-simple-btn-foreground);
1077
+ border-radius: inherit;
1078
+ opacity: 0;
1079
+ transition: opacity var(--uc-transition);
1080
+ }
1081
+ :where([uc-simple-btn]) > uc-drop-area[drag-state="active"] .uc-visual-drop-area {
1082
+ opacity: 1;
1083
+ }
1084
+ :where([uc-simple-btn]) > uc-drop-area[drag-state="inactive"] .uc-visual-drop-area {
1085
+ opacity: 0;
1086
+ }
1087
+ :where([uc-simple-btn]) > uc-drop-area[drag-state="near"] .uc-visual-drop-area {
1088
+ opacity: 1;
1089
+ }
1090
+ :where([uc-simple-btn]) > uc-drop-area[drag-state="over"] .uc-visual-drop-area {
1091
+ opacity: 1;
1092
+ }
1093
+ uc-plugin-activity-host {
1094
+ position: relative;
1095
+ display: flex;
1096
+ width: 100%;
1097
+ height: 100%;
1098
+ overflow: hidden;
1099
+ }
1100
+ :where([uc-wgt-common]):not(#\#) {
1101
+ --cfg-init-activity: "start-from";
1102
+ --cfg-done-activity: "";
1103
+ }
1104
+ :where([uc-wgt-common]):not(#\#) {
1105
+ /* Font */
1106
+ --uc-font-family: system-ui;
1107
+ --uc-font-size: 14px;
1108
+ --uc-line-height: normal;
1109
+ --uc-simple-btn-font-family: system-ui;
1110
+ --uc-simple-btn-font-size: 14px;
1111
+
1112
+ /* Sizes */
1113
+ --uc-button-size: 32px;
1114
+ --uc-preview-size: 32px;
1115
+ --uc-padding: 10px;
1116
+ --uc-radius: 8px;
1117
+ --uc-transition: 0.2s ease;
1118
+ --uc-dialog-width: 430px;
1119
+ --uc-dialog-max-width: 920px;
1120
+ --uc-dialog-max-height: 675px;
1121
+ --uc-simple-btn-padding: 7px 14px;
1122
+
1123
+ --uc-grid-col: 3;
1124
+ --uc-grid-preview-image-height: auto;
1125
+ --uc-grid-gap: calc(var(--uc-padding) / 2);
1126
+ --uc-grid-aspect-ratio: 1 / 1;
1127
+
1128
+ /* Default colors, in case of media query failure */
1129
+ --uc-background: var(--uc-background-light);
1130
+ --uc-foreground: var(--uc-foreground-light);
1131
+ --uc-primary: var(--uc-primary-light);
1132
+ --uc-primary-hover: var(--uc-primary-hover-light);
1133
+ --uc-primary-transparent: var(--uc-primary-transparent-light);
1134
+ --uc-primary-foreground: var(--uc-primary-foreground-light);
1135
+ --uc-secondary: var(--uc-secondary-light);
1136
+ --uc-secondary-hover: var(--uc-secondary-hover-light);
1137
+ --uc-secondary-foreground: var(--uc-secondary-foreground-light);
1138
+ --uc-muted: var(--uc-muted-light);
1139
+ --uc-muted-foreground: var(--uc-muted-foreground-light);
1140
+ --uc-destructive: var(--uc-destructive-light);
1141
+ --uc-destructive-foreground: var(--uc-destructive-foreground-light);
1142
+ --uc-border: var(--uc-border-light);
1143
+ --uc-dialog-shadow: var(--uc-dialog-shadow-light);
1144
+ --uc-simple-btn: var(--uc-simple-btn-light);
1145
+ --uc-simple-btn-hover: var(--uc-simple-btn-hover-light);
1146
+ --uc-simple-btn-foreground: var(--uc-simple-btn-foreground-light);
1147
+ }
1148
+ @supports not (color: oklch(0% 0 0)) {
1149
+ :where([uc-wgt-common]):not(#\#) {
1150
+ /* Light colors RGB fallback */
1151
+ --uc-primary-rgb-light: 23 75 215;
1152
+ --uc-primary-light: rgb(var(--uc-primary-rgb-light));
1153
+ --uc-primary-hover-light: rgb(var(--uc-primary-rgb-light) / 90%);
1154
+ --uc-primary-transparent-light: rgb(var(--uc-primary-rgb-light) / 10%);
1155
+ --uc-background-light: rgb(255 255 255);
1156
+ --uc-foreground-light: rgb(24 24 24);
1157
+ --uc-primary-foreground-light: #fff;
1158
+ --uc-secondary-light: rgb(24 24 24 / 5%);
1159
+ --uc-secondary-hover-light: rgb(24 24 24 / 8%);
1160
+ --uc-secondary-foreground-light: rgb(24 24 24);
1161
+ --uc-muted-light: rgb(245 245 245);
1162
+ --uc-muted-foreground-light: rgb(113 113 113);
1163
+ --uc-destructive-light: rgb(232 19 20 / 5%);
1164
+ --uc-destructive-foreground-light: rgb(232 19 20);
1165
+ --uc-border-light: rgb(228 228 232);
1166
+ --uc-dialog-shadow-light: 0px 6px 20px rgb(0 0 0 / 10%);
1167
+ --uc-simple-btn-light: rgb(235 235 235);
1168
+ --uc-simple-btn-hover-light: rgb(228 228 228);
1169
+ --uc-simple-btn-foreground-light: rgb(24 24 24);
1170
+
1171
+ /* Dark colors RGB fallback */
1172
+ --uc-primary-rgb-dark: 87 154 255;
1173
+ --uc-primary-dark: rgb(var(--uc-primary-rgb-dark));
1174
+ --uc-primary-hover-dark: rgb(var(--uc-primary-rgb-dark) / 90%);
1175
+ --uc-primary-transparent-dark: rgb(var(--uc-primary-rgb-dark) / 7%);
1176
+ --uc-background-dark: rgb(27 27 27);
1177
+ --uc-foreground-dark: rgb(225 225 225);
1178
+ --uc-primary-foreground-dark: rgb(0 0 0);
1179
+ --uc-secondary-dark: rgb(225 225 225 / 7%);
1180
+ --uc-secondary-hover-dark: rgb(225 225 225 / 10%);
1181
+ --uc-secondary-foreground-dark: rgb(225 225 225);
1182
+ --uc-muted-dark: rgb(36 36 36);
1183
+ --uc-muted-foreground-dark: rgb(152 152 152);
1184
+ --uc-destructive-dark: rgb(244 90 79 / 10%);
1185
+ --uc-destructive-foreground-dark: rgb(244 90 79);
1186
+ --uc-border-dark: rgb(61 61 61);
1187
+ --uc-dialog-shadow-dark: 0px 6px 20px rgb(0 0 0 / 25%);
1188
+ --uc-simple-btn-dark: rgb(36 36 36);
1189
+ --uc-simple-btn-hover-dark: rgb(43 43 43);
1190
+ --uc-simple-btn-foreground-dark: rgb(255 255 255);
1191
+ }
1192
+ }
1193
+ @supports (color: oklch(0% 0 0)) {
1194
+ :where([uc-wgt-common]):not(#\#) {
1195
+ /* Light colors OKLCH */
1196
+ --uc-primary-oklch-light: 47% 0.22 264; /* Quick customization: change this value to your brand color */
1197
+ --uc-primary-light: oklch(var(--uc-primary-oklch-light));
1198
+ --uc-primary-hover-light: oklch(var(--uc-primary-oklch-light) / 90%);
1199
+ --uc-primary-transparent-light: oklch(var(--uc-primary-oklch-light) / 7%);
1200
+ --uc-background-light: oklch(100% 0 0);
1201
+ --uc-foreground-light: oklch(21% 0 0);
1202
+ --uc-primary-foreground-light: oklch(100% 0 0);
1203
+ --uc-secondary-light: oklch(21% 0 0 / 0.05);
1204
+ --uc-secondary-hover-light: oklch(21% 0 0 / 0.08);
1205
+ --uc-secondary-foreground-light: oklch(21% 0 0);
1206
+ --uc-muted-light: oklch(97% 0 0);
1207
+ --uc-muted-foreground-light: oklch(40% 0 0);
1208
+ --uc-destructive-light: oklch(59% 0.235 28.5 / 0.05);
1209
+ --uc-destructive-foreground-light: oklch(59% 0.235 28.5);
1210
+ --uc-border-light: oklch(92% 0 0);
1211
+ --uc-dialog-shadow-light: 0px 6px 20px oklch(0% 0 0 / 0.1);
1212
+ --uc-simple-btn-light: oklch(94% 0 0);
1213
+ --uc-simple-btn-hover-light: oklch(92% 0 0);
1214
+ --uc-simple-btn-foreground-light: oklch(20% 0 0);
1215
+
1216
+ /* Dark colors OKLCH */
1217
+ --uc-primary-oklch-dark: 69% 0.1768 258.4; /* Quick customization: change this value to your brand color */
1218
+ --uc-primary-dark: oklch(var(--uc-primary-oklch-dark));
1219
+ --uc-primary-hover-dark: oklch(var(--uc-primary-oklch-dark) / 90%);
1220
+ --uc-primary-transparent-dark: oklch(var(--uc-primary-oklch-dark) / 7%);
1221
+ --uc-background-dark: oklch(22% 0 0);
1222
+ --uc-foreground-dark: oklch(91% 0 0);
1223
+ --uc-primary-foreground-dark: oklch(0% 0 0);
1224
+ --uc-secondary-dark: oklch(91% 0 0 / 0.07);
1225
+ --uc-secondary-hover-dark: oklch(91% 0 0 / 0.1);
1226
+ --uc-secondary-foreground-dark: oklch(91% 0 0);
1227
+ --uc-muted-dark: oklch(26% 0 0);
1228
+ --uc-muted-foreground-dark: oklch(68% 0 0);
1229
+ --uc-destructive-dark: oklch(67% 0.191 27.5 / 0.1);
1230
+ --uc-destructive-foreground-dark: oklch(67% 0.191 27.5);
1231
+ --uc-border-dark: oklch(36% 0 0);
1232
+ --uc-dialog-shadow-dark: 0px 6px 20px oklch(0% 0 0 / 0.25);
1233
+ --uc-simple-btn-dark: oklch(26% 0 0);
1234
+ --uc-simple-btn-hover-dark: oklch(29% 0 0);
1235
+ --uc-simple-btn-foreground-dark: oklch(100% 0 0);
1236
+ }
1237
+ }
1238
+ @media only screen and (max-height: 600px) {
1239
+ :where([uc-wgt-common]):not(#\#) {
1240
+ --uc-dialog-max-height: 100%;
1241
+ }
1242
+ }
1243
+ @media only screen and (max-width: 680px) {
1244
+ :where([uc-wgt-common]):not(#\#) {
1245
+ --uc-grid-col: 2;
1246
+ }
1247
+ }
1248
+ @media only screen and (max-width: 430px) {
1249
+ :where([uc-wgt-common]):not(#\#) {
1250
+ --uc-dialog-max-width: 100vw;
1251
+ --uc-dialog-max-height: var(--uploadcare-blocks-window-height);
1252
+ --uc-grid-col: 1;
1253
+ }
1254
+ }
1255
+ @media (prefers-color-scheme: light) {
1256
+ :where([uc-wgt-common]):not(#\#) {
1257
+ --uc-background: var(--uc-background-light);
1258
+ --uc-foreground: var(--uc-foreground-light);
1259
+ --uc-primary: var(--uc-primary-light);
1260
+ --uc-primary-hover: var(--uc-primary-hover-light);
1261
+ --uc-primary-transparent: var(--uc-primary-transparent-light);
1262
+ --uc-primary-foreground: var(--uc-primary-foreground-light);
1263
+ --uc-secondary: var(--uc-secondary-light);
1264
+ --uc-secondary-hover: var(--uc-secondary-hover-light);
1265
+ --uc-secondary-foreground: var(--uc-secondary-foreground-light);
1266
+ --uc-muted: var(--uc-muted-light);
1267
+ --uc-muted-foreground: var(--uc-muted-foreground-light);
1268
+ --uc-destructive: var(--uc-destructive-light);
1269
+ --uc-destructive-foreground: var(--uc-destructive-foreground-light);
1270
+ --uc-border: var(--uc-border-light);
1271
+ --uc-dialog-shadow: var(--uc-dialog-shadow-light);
1272
+ --uc-simple-btn: var(--uc-simple-btn-light);
1273
+ --uc-simple-btn-hover: var(--uc-simple-btn-hover-light);
1274
+ --uc-simple-btn-foreground: var(--uc-simple-btn-foreground-light);
1275
+ }
1276
+ }
1277
+ @media (prefers-color-scheme: dark) {
1278
+ :where([uc-wgt-common]):not(#\#) {
1279
+ --uc-background: var(--uc-background-dark);
1280
+ --uc-foreground: var(--uc-foreground-dark);
1281
+ --uc-primary: var(--uc-primary-dark);
1282
+ --uc-primary-hover: var(--uc-primary-hover-dark);
1283
+ --uc-primary-transparent: var(--uc-primary-transparent-dark);
1284
+ --uc-primary-foreground: var(--uc-primary-foreground-dark);
1285
+ --uc-secondary: var(--uc-secondary-dark);
1286
+ --uc-secondary-hover: var(--uc-secondary-hover-dark);
1287
+ --uc-secondary-foreground: var(--uc-secondary-foreground-dark);
1288
+ --uc-muted: var(--uc-muted-dark);
1289
+ --uc-muted-foreground: var(--uc-muted-foreground-dark);
1290
+ --uc-destructive: var(--uc-destructive-dark);
1291
+ --uc-destructive-foreground: var(--uc-destructive-foreground-dark);
1292
+ --uc-border: var(--uc-border-dark);
1293
+ --uc-dialog-shadow: var(--uc-dialog-shadow-dark);
1294
+ --uc-simple-btn: var(--uc-simple-btn-dark);
1295
+ --uc-simple-btn-hover: var(--uc-simple-btn-hover-dark);
1296
+ --uc-simple-btn-foreground: var(--uc-simple-btn-foreground-dark);
1297
+ }
1298
+ }
1299
+ :where(.uc-light):not(#\#) {
1300
+ --uc-background: var(--uc-background-light);
1301
+ --uc-foreground: var(--uc-foreground-light);
1302
+ --uc-primary: var(--uc-primary-light);
1303
+ --uc-primary-hover: var(--uc-primary-hover-light);
1304
+ --uc-primary-transparent: var(--uc-primary-transparent-light);
1305
+ --uc-primary-foreground: var(--uc-primary-foreground-light);
1306
+ --uc-secondary: var(--uc-secondary-light);
1307
+ --uc-secondary-hover: var(--uc-secondary-hover-light);
1308
+ --uc-secondary-foreground: var(--uc-secondary-foreground-light);
1309
+ --uc-muted: var(--uc-muted-light);
1310
+ --uc-muted-foreground: var(--uc-muted-foreground-light);
1311
+ --uc-destructive: var(--uc-destructive-light);
1312
+ --uc-destructive-foreground: var(--uc-destructive-foreground-light);
1313
+ --uc-border: var(--uc-border-light);
1314
+ --uc-dialog-shadow: var(--uc-dialog-shadow-light);
1315
+ --uc-simple-btn: var(--uc-simple-btn-light);
1316
+ --uc-simple-btn-hover: var(--uc-simple-btn-hover-light);
1317
+ --uc-simple-btn-foreground: var(--uc-simple-btn-foreground-light);
1318
+ }
1319
+ :where(.uc-dark):not(#\#) {
1320
+ --uc-background: var(--uc-background-dark);
1321
+ --uc-foreground: var(--uc-foreground-dark);
1322
+ --uc-primary: var(--uc-primary-dark);
1323
+ --uc-primary-hover: var(--uc-primary-hover-dark);
1324
+ --uc-primary-transparent: var(--uc-primary-transparent-dark);
1325
+ --uc-primary-foreground: var(--uc-primary-foreground-dark);
1326
+ --uc-secondary: var(--uc-secondary-dark);
1327
+ --uc-secondary-hover: var(--uc-secondary-hover-dark);
1328
+ --uc-secondary-foreground: var(--uc-secondary-foreground-dark);
1329
+ --uc-muted: var(--uc-muted-dark);
1330
+ --uc-muted-foreground: var(--uc-muted-foreground-dark);
1331
+ --uc-destructive: var(--uc-destructive-dark);
1332
+ --uc-destructive-foreground: var(--uc-destructive-foreground-dark);
1333
+ --uc-border: var(--uc-border-dark);
1334
+ --uc-dialog-shadow: var(--uc-dialog-shadow-dark);
1335
+ --uc-simple-btn: var(--uc-simple-btn-dark);
1336
+ --uc-simple-btn-hover: var(--uc-simple-btn-hover-dark);
1337
+ --uc-simple-btn-foreground: var(--uc-simple-btn-foreground-dark);
1338
+ }
1339
+ :where(.uc-purple):not(#\#) {
1340
+ --uc-primary-oklch-light: 47% 0.22 300;
1341
+ --uc-primary-oklch-dark: 69% 0.1768 300;
1342
+ }
1343
+ :where(.uc-red):not(#\#) {
1344
+ --uc-primary-oklch-light: 47% 0.21 21;
1345
+ --uc-primary-oklch-dark: 71% 0.1768 21;
1346
+ }
1347
+ :where(.uc-orange):not(#\#) {
1348
+ --uc-primary-oklch-light: 47% 0.1376 51.88;
1349
+ --uc-primary-oklch-dark: 69% 0.1768 51.88;
1350
+ }
1351
+ :where(.uc-green):not(#\#) {
1352
+ --uc-primary-oklch-light: 45% 0.14 130;
1353
+ --uc-primary-oklch-dark: 69% 0.1768 130;
1354
+ }
1355
+ :where(.uc-turquoise):not(#\#) {
1356
+ --uc-primary-oklch-light: 45% 0.0854 174;
1357
+ --uc-primary-oklch-dark: 69% 0.1768 174;
1358
+ }
1359
+ :where(.uc-gray):not(#\#) {
1360
+ --uc-primary-oklch-light: 10% 0 0;
1361
+ --uc-primary-oklch-dark: 97% 0 0;
1362
+ }
1363
+ :where(.uc-contrast):not(#\#) {
1364
+ --uc-border-light: oklch(50% 0 0);
1365
+ --uc-border-dark: oklch(50% 0 0);
1366
+
1367
+ --uc-muted-light: oklch(98% 0 0);
1368
+ --uc-muted-dark: oklch(16% 0 0);
1369
+
1370
+ --uc-muted-foreground-light: oklch(20% 0 0);
1371
+ --uc-muted-foreground-dark: oklch(80% 0 0);
1372
+
1373
+ --uc-background-light: oklch(100% 0 0);
1374
+ --uc-foreground-light: oklch(0% 0 0);
1375
+
1376
+ --uc-background-dark: oklch(10% 0 0);
1377
+ --uc-foreground-dark: oklch(100% 0 0);
1378
+ }
1379
+ :where([uc-wgt-common]):not(#\#) {
1380
+ color: var(--uc-foreground);
1381
+ font-size: var(--uc-font-size);
1382
+ line-height: var(--uc-line-height);
1383
+ font-family: var(--uc-font-family);
1384
+ }
1385
+ :where([uc-wgt-common]):not(#\#) * {
1386
+ box-sizing: border-box;
1387
+ }
1388
+ :where([uc-wgt-common]):not(#\#) button {
1389
+ display: flex;
1390
+ align-items: center;
1391
+ justify-content: center;
1392
+ height: var(--uc-button-size);
1393
+ padding-right: 14px;
1394
+ padding-left: 14px;
1395
+ font-size: 1em;
1396
+ font-family: inherit;
1397
+ white-space: nowrap;
1398
+ border: none;
1399
+ border-radius: var(--uc-radius);
1400
+ cursor: pointer;
1401
+ user-select: none;
1402
+ transition: background-color var(--uc-transition);
1403
+ }
1404
+ :where([uc-wgt-common]):not(#\#) button:focus-visible {
1405
+ outline-offset: 2px;
1406
+ }
1407
+ :where([uc-wgt-common]):not(#\#) button.uc-primary-btn {
1408
+ color: var(--uc-primary-foreground);
1409
+ background-color: var(--uc-primary);
1410
+ }
1411
+ :where([uc-wgt-common]):not(#\#) button.uc-primary-btn:hover {
1412
+ background-color: var(--uc-primary-hover);
1413
+ }
1414
+ :where([uc-wgt-common]):not(#\#) button.uc-secondary-btn {
1415
+ color: var(--uc-secondary-foreground);
1416
+ background-color: var(--uc-secondary);
1417
+ }
1418
+ :where([uc-wgt-common]):not(#\#) button.uc-secondary-btn:hover {
1419
+ background-color: var(--uc-secondary-hover);
1420
+ }
1421
+ :where([uc-wgt-common].uc-contrast):not(#\#) button.uc-secondary-btn {
1422
+ border: 1px solid var(--uc-border);
1423
+ }
1424
+ :where([uc-wgt-common]):not(#\#) button.uc-mini-btn {
1425
+ height: var(--uc-button-size);
1426
+ padding: 0;
1427
+ background-color: transparent;
1428
+ color: var(--uc-secondary-foreground);
1429
+ }
1430
+ :where([uc-wgt-common]):not(#\#) button.uc-mini-btn:hover {
1431
+ background-color: var(--uc-secondary);
1432
+ }
1433
+ :where([uc-wgt-common]):not(#\#) :is(button[disabled], button.uc-primary-btn[disabled], button.uc-secondary-btn[disabled]) {
1434
+ opacity: 0.5;
1435
+ pointer-events: none;
1436
+ }
1437
+ :where([uc-wgt-common]):not(#\#) a {
1438
+ color: var(--uc-primary);
1439
+ text-decoration: none;
1440
+ }
1441
+ /* TODO: if we're using disabled <a> somewhere, we should stop */
1442
+ :where([uc-wgt-common]):not(#\#) a[disabled] {
1443
+ pointer-events: none;
1444
+ }
1445
+ :where([uc-wgt-common]):not(#\#) input[type="text"] {
1446
+ display: flex;
1447
+ width: 100%;
1448
+ height: var(--uc-button-size);
1449
+ padding-right: 10px;
1450
+ padding-left: 10px;
1451
+ color: var(--uc-foreground);
1452
+ font-size: 1em;
1453
+ font-family: inherit;
1454
+ background-color: var(--uc-background);
1455
+ border: 1px solid var(--uc-border);
1456
+ outline: 1px solid transparent;
1457
+ border-radius: var(--uc-radius);
1458
+ transition:
1459
+ border-color var(--uc-transition),
1460
+ outline-color var(--uc-transition);
1461
+ }
1462
+ :where([uc-wgt-common]):not(#\#) input[type="text"]::placeholder {
1463
+ color: var(--uc-muted-foreground);
1464
+ }
1465
+ :where([uc-wgt-common]):not(#\#) input[type="text"]:focus {
1466
+ outline-color: var(--uc-primary-hover);
1467
+ border-color: var(--uc-primary-hover);
1468
+ }
1469
+ /* TODO: check if there's any necessity of disabled input */
1470
+ :where([uc-wgt-common]):not(#\#) input[disabled] {
1471
+ opacity: 0.6;
1472
+ pointer-events: none;
1473
+ }
1474
+ :where([uc-wgt-common]):not(#\#) uc-select[disabled],
1475
+ :where([uc-wgt-common]):not(#\#) select[disabled] {
1476
+ opacity: 0.6;
1477
+ pointer-events: none;
1478
+ }
1479
+ :where([uc-wgt-common]):not(#\#):not(#\#) [hidden] {
1480
+ display: none;
1481
+ }
1482
+ :where([uc-wgt-common]):not(#\#):not(#\#) [activity]:not([active], .active) {
1483
+ display: none;
1484
+ }
1485
+ :where([uc-wgt-common]):not(#\#):not(#\#) dialog:not([open]) [activity] {
1486
+ display: none;
1487
+ }
1488
+ :where([uc-wgt-common]):not(#\#):not(#\#):not(#\#):not(#\#) uc-source-btn[type] {
1489
+ all: unset;
1490
+ }
1491
+ :where([uc-wgt-common]):not(#\#) {
1492
+ --cfg-init-activity: "start-from";
1493
+ --cfg-done-activity: "";
1494
+ }
1495
+ :where([uc-wgt-common]):not(#\#) {
1496
+ /* Font */
1497
+ --uc-font-family: system-ui;
1498
+ --uc-font-size: 14px;
1499
+ --uc-line-height: normal;
1500
+ --uc-simple-btn-font-family: system-ui;
1501
+ --uc-simple-btn-font-size: 14px;
1502
+
1503
+ /* Sizes */
1504
+ --uc-button-size: 32px;
1505
+ --uc-preview-size: 32px;
1506
+ --uc-padding: 10px;
1507
+ --uc-radius: 8px;
1508
+ --uc-transition: 0.2s ease;
1509
+ --uc-dialog-width: 430px;
1510
+ --uc-dialog-max-width: 920px;
1511
+ --uc-dialog-max-height: 675px;
1512
+ --uc-simple-btn-padding: 7px 14px;
1513
+
1514
+ --uc-grid-col: 3;
1515
+ --uc-grid-preview-image-height: auto;
1516
+ --uc-grid-gap: calc(var(--uc-padding) / 2);
1517
+ --uc-grid-aspect-ratio: 1 / 1;
1518
+
1519
+ /* Default colors, in case of media query failure */
1520
+ --uc-background: var(--uc-background-light);
1521
+ --uc-foreground: var(--uc-foreground-light);
1522
+ --uc-primary: var(--uc-primary-light);
1523
+ --uc-primary-hover: var(--uc-primary-hover-light);
1524
+ --uc-primary-transparent: var(--uc-primary-transparent-light);
1525
+ --uc-primary-foreground: var(--uc-primary-foreground-light);
1526
+ --uc-secondary: var(--uc-secondary-light);
1527
+ --uc-secondary-hover: var(--uc-secondary-hover-light);
1528
+ --uc-secondary-foreground: var(--uc-secondary-foreground-light);
1529
+ --uc-muted: var(--uc-muted-light);
1530
+ --uc-muted-foreground: var(--uc-muted-foreground-light);
1531
+ --uc-destructive: var(--uc-destructive-light);
1532
+ --uc-destructive-foreground: var(--uc-destructive-foreground-light);
1533
+ --uc-border: var(--uc-border-light);
1534
+ --uc-dialog-shadow: var(--uc-dialog-shadow-light);
1535
+ --uc-simple-btn: var(--uc-simple-btn-light);
1536
+ --uc-simple-btn-hover: var(--uc-simple-btn-hover-light);
1537
+ --uc-simple-btn-foreground: var(--uc-simple-btn-foreground-light);
1538
+ }
1539
+ @supports not (color: oklch(0% 0 0)) {
1540
+ :where([uc-wgt-common]):not(#\#) {
1541
+ /* Light colors RGB fallback */
1542
+ --uc-primary-rgb-light: 23 75 215;
1543
+ --uc-primary-light: rgb(var(--uc-primary-rgb-light));
1544
+ --uc-primary-hover-light: rgb(var(--uc-primary-rgb-light) / 90%);
1545
+ --uc-primary-transparent-light: rgb(var(--uc-primary-rgb-light) / 10%);
1546
+ --uc-background-light: rgb(255 255 255);
1547
+ --uc-foreground-light: rgb(24 24 24);
1548
+ --uc-primary-foreground-light: #fff;
1549
+ --uc-secondary-light: rgb(24 24 24 / 5%);
1550
+ --uc-secondary-hover-light: rgb(24 24 24 / 8%);
1551
+ --uc-secondary-foreground-light: rgb(24 24 24);
1552
+ --uc-muted-light: rgb(245 245 245);
1553
+ --uc-muted-foreground-light: rgb(113 113 113);
1554
+ --uc-destructive-light: rgb(232 19 20 / 5%);
1555
+ --uc-destructive-foreground-light: rgb(232 19 20);
1556
+ --uc-border-light: rgb(228 228 232);
1557
+ --uc-dialog-shadow-light: 0px 6px 20px rgb(0 0 0 / 10%);
1558
+ --uc-simple-btn-light: rgb(235 235 235);
1559
+ --uc-simple-btn-hover-light: rgb(228 228 228);
1560
+ --uc-simple-btn-foreground-light: rgb(24 24 24);
1561
+
1562
+ /* Dark colors RGB fallback */
1563
+ --uc-primary-rgb-dark: 87 154 255;
1564
+ --uc-primary-dark: rgb(var(--uc-primary-rgb-dark));
1565
+ --uc-primary-hover-dark: rgb(var(--uc-primary-rgb-dark) / 90%);
1566
+ --uc-primary-transparent-dark: rgb(var(--uc-primary-rgb-dark) / 7%);
1567
+ --uc-background-dark: rgb(27 27 27);
1568
+ --uc-foreground-dark: rgb(225 225 225);
1569
+ --uc-primary-foreground-dark: rgb(0 0 0);
1570
+ --uc-secondary-dark: rgb(225 225 225 / 7%);
1571
+ --uc-secondary-hover-dark: rgb(225 225 225 / 10%);
1572
+ --uc-secondary-foreground-dark: rgb(225 225 225);
1573
+ --uc-muted-dark: rgb(36 36 36);
1574
+ --uc-muted-foreground-dark: rgb(152 152 152);
1575
+ --uc-destructive-dark: rgb(244 90 79 / 10%);
1576
+ --uc-destructive-foreground-dark: rgb(244 90 79);
1577
+ --uc-border-dark: rgb(61 61 61);
1578
+ --uc-dialog-shadow-dark: 0px 6px 20px rgb(0 0 0 / 25%);
1579
+ --uc-simple-btn-dark: rgb(36 36 36);
1580
+ --uc-simple-btn-hover-dark: rgb(43 43 43);
1581
+ --uc-simple-btn-foreground-dark: rgb(255 255 255);
1582
+ }
1583
+ }
1584
+ @supports (color: oklch(0% 0 0)) {
1585
+ :where([uc-wgt-common]):not(#\#) {
1586
+ /* Light colors OKLCH */
1587
+ --uc-primary-oklch-light: 47% 0.22 264; /* Quick customization: change this value to your brand color */
1588
+ --uc-primary-light: oklch(var(--uc-primary-oklch-light));
1589
+ --uc-primary-hover-light: oklch(var(--uc-primary-oklch-light) / 90%);
1590
+ --uc-primary-transparent-light: oklch(var(--uc-primary-oklch-light) / 7%);
1591
+ --uc-background-light: oklch(100% 0 0);
1592
+ --uc-foreground-light: oklch(21% 0 0);
1593
+ --uc-primary-foreground-light: oklch(100% 0 0);
1594
+ --uc-secondary-light: oklch(21% 0 0 / 0.05);
1595
+ --uc-secondary-hover-light: oklch(21% 0 0 / 0.08);
1596
+ --uc-secondary-foreground-light: oklch(21% 0 0);
1597
+ --uc-muted-light: oklch(97% 0 0);
1598
+ --uc-muted-foreground-light: oklch(40% 0 0);
1599
+ --uc-destructive-light: oklch(59% 0.235 28.5 / 0.05);
1600
+ --uc-destructive-foreground-light: oklch(59% 0.235 28.5);
1601
+ --uc-border-light: oklch(92% 0 0);
1602
+ --uc-dialog-shadow-light: 0px 6px 20px oklch(0% 0 0 / 0.1);
1603
+ --uc-simple-btn-light: oklch(94% 0 0);
1604
+ --uc-simple-btn-hover-light: oklch(92% 0 0);
1605
+ --uc-simple-btn-foreground-light: oklch(20% 0 0);
1606
+
1607
+ /* Dark colors OKLCH */
1608
+ --uc-primary-oklch-dark: 69% 0.1768 258.4; /* Quick customization: change this value to your brand color */
1609
+ --uc-primary-dark: oklch(var(--uc-primary-oklch-dark));
1610
+ --uc-primary-hover-dark: oklch(var(--uc-primary-oklch-dark) / 90%);
1611
+ --uc-primary-transparent-dark: oklch(var(--uc-primary-oklch-dark) / 7%);
1612
+ --uc-background-dark: oklch(22% 0 0);
1613
+ --uc-foreground-dark: oklch(91% 0 0);
1614
+ --uc-primary-foreground-dark: oklch(0% 0 0);
1615
+ --uc-secondary-dark: oklch(91% 0 0 / 0.07);
1616
+ --uc-secondary-hover-dark: oklch(91% 0 0 / 0.1);
1617
+ --uc-secondary-foreground-dark: oklch(91% 0 0);
1618
+ --uc-muted-dark: oklch(26% 0 0);
1619
+ --uc-muted-foreground-dark: oklch(68% 0 0);
1620
+ --uc-destructive-dark: oklch(67% 0.191 27.5 / 0.1);
1621
+ --uc-destructive-foreground-dark: oklch(67% 0.191 27.5);
1622
+ --uc-border-dark: oklch(36% 0 0);
1623
+ --uc-dialog-shadow-dark: 0px 6px 20px oklch(0% 0 0 / 0.25);
1624
+ --uc-simple-btn-dark: oklch(26% 0 0);
1625
+ --uc-simple-btn-hover-dark: oklch(29% 0 0);
1626
+ --uc-simple-btn-foreground-dark: oklch(100% 0 0);
1627
+ }
1628
+ }
1629
+ @media only screen and (max-height: 600px) {
1630
+ :where([uc-wgt-common]):not(#\#) {
1631
+ --uc-dialog-max-height: 100%;
1632
+ }
1633
+ }
1634
+ @media only screen and (max-width: 680px) {
1635
+ :where([uc-wgt-common]):not(#\#) {
1636
+ --uc-grid-col: 2;
1637
+ }
1638
+ }
1639
+ @media only screen and (max-width: 430px) {
1640
+ :where([uc-wgt-common]):not(#\#) {
1641
+ --uc-dialog-max-width: 100vw;
1642
+ --uc-dialog-max-height: var(--uploadcare-blocks-window-height);
1643
+ --uc-grid-col: 1;
1644
+ }
1645
+ }
1646
+ @media (prefers-color-scheme: light) {
1647
+ :where([uc-wgt-common]):not(#\#) {
1648
+ --uc-background: var(--uc-background-light);
1649
+ --uc-foreground: var(--uc-foreground-light);
1650
+ --uc-primary: var(--uc-primary-light);
1651
+ --uc-primary-hover: var(--uc-primary-hover-light);
1652
+ --uc-primary-transparent: var(--uc-primary-transparent-light);
1653
+ --uc-primary-foreground: var(--uc-primary-foreground-light);
1654
+ --uc-secondary: var(--uc-secondary-light);
1655
+ --uc-secondary-hover: var(--uc-secondary-hover-light);
1656
+ --uc-secondary-foreground: var(--uc-secondary-foreground-light);
1657
+ --uc-muted: var(--uc-muted-light);
1658
+ --uc-muted-foreground: var(--uc-muted-foreground-light);
1659
+ --uc-destructive: var(--uc-destructive-light);
1660
+ --uc-destructive-foreground: var(--uc-destructive-foreground-light);
1661
+ --uc-border: var(--uc-border-light);
1662
+ --uc-dialog-shadow: var(--uc-dialog-shadow-light);
1663
+ --uc-simple-btn: var(--uc-simple-btn-light);
1664
+ --uc-simple-btn-hover: var(--uc-simple-btn-hover-light);
1665
+ --uc-simple-btn-foreground: var(--uc-simple-btn-foreground-light);
1666
+ }
1667
+ }
1668
+ @media (prefers-color-scheme: dark) {
1669
+ :where([uc-wgt-common]):not(#\#) {
1670
+ --uc-background: var(--uc-background-dark);
1671
+ --uc-foreground: var(--uc-foreground-dark);
1672
+ --uc-primary: var(--uc-primary-dark);
1673
+ --uc-primary-hover: var(--uc-primary-hover-dark);
1674
+ --uc-primary-transparent: var(--uc-primary-transparent-dark);
1675
+ --uc-primary-foreground: var(--uc-primary-foreground-dark);
1676
+ --uc-secondary: var(--uc-secondary-dark);
1677
+ --uc-secondary-hover: var(--uc-secondary-hover-dark);
1678
+ --uc-secondary-foreground: var(--uc-secondary-foreground-dark);
1679
+ --uc-muted: var(--uc-muted-dark);
1680
+ --uc-muted-foreground: var(--uc-muted-foreground-dark);
1681
+ --uc-destructive: var(--uc-destructive-dark);
1682
+ --uc-destructive-foreground: var(--uc-destructive-foreground-dark);
1683
+ --uc-border: var(--uc-border-dark);
1684
+ --uc-dialog-shadow: var(--uc-dialog-shadow-dark);
1685
+ --uc-simple-btn: var(--uc-simple-btn-dark);
1686
+ --uc-simple-btn-hover: var(--uc-simple-btn-hover-dark);
1687
+ --uc-simple-btn-foreground: var(--uc-simple-btn-foreground-dark);
1688
+ }
1689
+ }
1690
+ :where(.uc-light):not(#\#) {
1691
+ --uc-background: var(--uc-background-light);
1692
+ --uc-foreground: var(--uc-foreground-light);
1693
+ --uc-primary: var(--uc-primary-light);
1694
+ --uc-primary-hover: var(--uc-primary-hover-light);
1695
+ --uc-primary-transparent: var(--uc-primary-transparent-light);
1696
+ --uc-primary-foreground: var(--uc-primary-foreground-light);
1697
+ --uc-secondary: var(--uc-secondary-light);
1698
+ --uc-secondary-hover: var(--uc-secondary-hover-light);
1699
+ --uc-secondary-foreground: var(--uc-secondary-foreground-light);
1700
+ --uc-muted: var(--uc-muted-light);
1701
+ --uc-muted-foreground: var(--uc-muted-foreground-light);
1702
+ --uc-destructive: var(--uc-destructive-light);
1703
+ --uc-destructive-foreground: var(--uc-destructive-foreground-light);
1704
+ --uc-border: var(--uc-border-light);
1705
+ --uc-dialog-shadow: var(--uc-dialog-shadow-light);
1706
+ --uc-simple-btn: var(--uc-simple-btn-light);
1707
+ --uc-simple-btn-hover: var(--uc-simple-btn-hover-light);
1708
+ --uc-simple-btn-foreground: var(--uc-simple-btn-foreground-light);
1709
+ }
1710
+ :where(.uc-dark):not(#\#) {
1711
+ --uc-background: var(--uc-background-dark);
1712
+ --uc-foreground: var(--uc-foreground-dark);
1713
+ --uc-primary: var(--uc-primary-dark);
1714
+ --uc-primary-hover: var(--uc-primary-hover-dark);
1715
+ --uc-primary-transparent: var(--uc-primary-transparent-dark);
1716
+ --uc-primary-foreground: var(--uc-primary-foreground-dark);
1717
+ --uc-secondary: var(--uc-secondary-dark);
1718
+ --uc-secondary-hover: var(--uc-secondary-hover-dark);
1719
+ --uc-secondary-foreground: var(--uc-secondary-foreground-dark);
1720
+ --uc-muted: var(--uc-muted-dark);
1721
+ --uc-muted-foreground: var(--uc-muted-foreground-dark);
1722
+ --uc-destructive: var(--uc-destructive-dark);
1723
+ --uc-destructive-foreground: var(--uc-destructive-foreground-dark);
1724
+ --uc-border: var(--uc-border-dark);
1725
+ --uc-dialog-shadow: var(--uc-dialog-shadow-dark);
1726
+ --uc-simple-btn: var(--uc-simple-btn-dark);
1727
+ --uc-simple-btn-hover: var(--uc-simple-btn-hover-dark);
1728
+ --uc-simple-btn-foreground: var(--uc-simple-btn-foreground-dark);
1729
+ }
1730
+ :where(.uc-purple):not(#\#) {
1731
+ --uc-primary-oklch-light: 47% 0.22 300;
1732
+ --uc-primary-oklch-dark: 69% 0.1768 300;
1733
+ }
1734
+ :where(.uc-red):not(#\#) {
1735
+ --uc-primary-oklch-light: 47% 0.21 21;
1736
+ --uc-primary-oklch-dark: 71% 0.1768 21;
1737
+ }
1738
+ :where(.uc-orange):not(#\#) {
1739
+ --uc-primary-oklch-light: 47% 0.1376 51.88;
1740
+ --uc-primary-oklch-dark: 69% 0.1768 51.88;
1741
+ }
1742
+ :where(.uc-green):not(#\#) {
1743
+ --uc-primary-oklch-light: 45% 0.14 130;
1744
+ --uc-primary-oklch-dark: 69% 0.1768 130;
1745
+ }
1746
+ :where(.uc-turquoise):not(#\#) {
1747
+ --uc-primary-oklch-light: 45% 0.0854 174;
1748
+ --uc-primary-oklch-dark: 69% 0.1768 174;
1749
+ }
1750
+ :where(.uc-gray):not(#\#) {
1751
+ --uc-primary-oklch-light: 10% 0 0;
1752
+ --uc-primary-oklch-dark: 97% 0 0;
1753
+ }
1754
+ :where(.uc-contrast):not(#\#) {
1755
+ --uc-border-light: oklch(50% 0 0);
1756
+ --uc-border-dark: oklch(50% 0 0);
1757
+
1758
+ --uc-muted-light: oklch(98% 0 0);
1759
+ --uc-muted-dark: oklch(16% 0 0);
1760
+
1761
+ --uc-muted-foreground-light: oklch(20% 0 0);
1762
+ --uc-muted-foreground-dark: oklch(80% 0 0);
1763
+
1764
+ --uc-background-light: oklch(100% 0 0);
1765
+ --uc-foreground-light: oklch(0% 0 0);
1766
+
1767
+ --uc-background-dark: oklch(10% 0 0);
1768
+ --uc-foreground-dark: oklch(100% 0 0);
1769
+ }
1770
+ :where([uc-wgt-common]):not(#\#) {
1771
+ color: var(--uc-foreground);
1772
+ font-size: var(--uc-font-size);
1773
+ line-height: var(--uc-line-height);
1774
+ font-family: var(--uc-font-family);
1775
+ }
1776
+ :where([uc-wgt-common]):not(#\#) * {
1777
+ box-sizing: border-box;
1778
+ }
1779
+ :where([uc-wgt-common]):not(#\#) button {
1780
+ display: flex;
1781
+ align-items: center;
1782
+ justify-content: center;
1783
+ height: var(--uc-button-size);
1784
+ padding-right: 14px;
1785
+ padding-left: 14px;
1786
+ font-size: 1em;
1787
+ font-family: inherit;
1788
+ white-space: nowrap;
1789
+ border: none;
1790
+ border-radius: var(--uc-radius);
1791
+ cursor: pointer;
1792
+ user-select: none;
1793
+ transition: background-color var(--uc-transition);
1794
+ }
1795
+ :where([uc-wgt-common]):not(#\#) button:focus-visible {
1796
+ outline-offset: 2px;
1797
+ }
1798
+ :where([uc-wgt-common]):not(#\#) button.uc-primary-btn {
1799
+ color: var(--uc-primary-foreground);
1800
+ background-color: var(--uc-primary);
1801
+ }
1802
+ :where([uc-wgt-common]):not(#\#) button.uc-primary-btn:hover {
1803
+ background-color: var(--uc-primary-hover);
1804
+ }
1805
+ :where([uc-wgt-common]):not(#\#) button.uc-secondary-btn {
1806
+ color: var(--uc-secondary-foreground);
1807
+ background-color: var(--uc-secondary);
1808
+ }
1809
+ :where([uc-wgt-common]):not(#\#) button.uc-secondary-btn:hover {
1810
+ background-color: var(--uc-secondary-hover);
1811
+ }
1812
+ :where([uc-wgt-common].uc-contrast):not(#\#) button.uc-secondary-btn {
1813
+ border: 1px solid var(--uc-border);
1814
+ }
1815
+ :where([uc-wgt-common]):not(#\#) button.uc-mini-btn {
1816
+ height: var(--uc-button-size);
1817
+ padding: 0;
1818
+ background-color: transparent;
1819
+ color: var(--uc-secondary-foreground);
1820
+ }
1821
+ :where([uc-wgt-common]):not(#\#) button.uc-mini-btn:hover {
1822
+ background-color: var(--uc-secondary);
1823
+ }
1824
+ :where([uc-wgt-common]):not(#\#) :is(button[disabled], button.uc-primary-btn[disabled], button.uc-secondary-btn[disabled]) {
1825
+ opacity: 0.5;
1826
+ pointer-events: none;
1827
+ }
1828
+ :where([uc-wgt-common]):not(#\#) a {
1829
+ color: var(--uc-primary);
1830
+ text-decoration: none;
1831
+ }
1832
+ /* TODO: if we're using disabled <a> somewhere, we should stop */
1833
+ :where([uc-wgt-common]):not(#\#) a[disabled] {
1834
+ pointer-events: none;
1835
+ }
1836
+ :where([uc-wgt-common]):not(#\#) input[type="text"] {
1837
+ display: flex;
1838
+ width: 100%;
1839
+ height: var(--uc-button-size);
1840
+ padding-right: 10px;
1841
+ padding-left: 10px;
1842
+ color: var(--uc-foreground);
1843
+ font-size: 1em;
1844
+ font-family: inherit;
1845
+ background-color: var(--uc-background);
1846
+ border: 1px solid var(--uc-border);
1847
+ outline: 1px solid transparent;
1848
+ border-radius: var(--uc-radius);
1849
+ transition:
1850
+ border-color var(--uc-transition),
1851
+ outline-color var(--uc-transition);
1852
+ }
1853
+ :where([uc-wgt-common]):not(#\#) input[type="text"]::placeholder {
1854
+ color: var(--uc-muted-foreground);
1855
+ }
1856
+ :where([uc-wgt-common]):not(#\#) input[type="text"]:focus {
1857
+ outline-color: var(--uc-primary-hover);
1858
+ border-color: var(--uc-primary-hover);
1859
+ }
1860
+ /* TODO: check if there's any necessity of disabled input */
1861
+ :where([uc-wgt-common]):not(#\#) input[disabled] {
1862
+ opacity: 0.6;
1863
+ pointer-events: none;
1864
+ }
1865
+ :where([uc-wgt-common]):not(#\#) uc-select[disabled],
1866
+ :where([uc-wgt-common]):not(#\#) select[disabled] {
1867
+ opacity: 0.6;
1868
+ pointer-events: none;
1869
+ }
1870
+ :where([uc-wgt-common]):not(#\#):not(#\#) [hidden] {
1871
+ display: none;
1872
+ }
1873
+ :where([uc-wgt-common]):not(#\#):not(#\#) [activity]:not([active], .active) {
1874
+ display: none;
1875
+ }
1876
+ :where([uc-wgt-common]):not(#\#):not(#\#) dialog:not([open]) [activity] {
1877
+ display: none;
1878
+ }
1879
+ :where([uc-wgt-common]):not(#\#):not(#\#):not(#\#):not(#\#) uc-source-btn[type] {
1880
+ all: unset;
1881
+ }
1882
+ [uc-file-uploader-inline]:not(#\#):not(#\#):not(#\#) uc-start-from {
1883
+ height: 100%;
1884
+ container-type: inline-size;
1885
+ }
1886
+ [uc-file-uploader-inline]:not(#\#):not(#\#):not(#\#) {
1887
+ --cfg-done-activity: "start-from";
1888
+ --cfg-init-activity: "start-from";
1889
+
1890
+ flex: 1;
1891
+ }
1892
+ [uc-file-uploader-inline]:not(#\#):not(#\#):not(#\#) uc-activity-header::after {
1893
+ width: var(--uc-button-size);
1894
+ height: var(--uc-button-size);
1895
+ content: "";
1896
+ }
1897
+ [uc-file-uploader-inline]:not(#\#):not(#\#):not(#\#) uc-activity-header .uc-close-btn {
1898
+ display: none;
1899
+ }
1900
+ [uc-file-uploader-inline]:not(#\#):not(#\#):not(#\#) uc-copyright .uc-credits {
1901
+ position: static;
1902
+ }
1903
+ @container (min-width: 500px) {
1904
+ [uc-file-uploader-inline]:not(#\#):not(#\#):not(#\#) uc-start-from .uc-content {
1905
+ grid-template-columns: 1fr max-content;
1906
+ grid-template-rows: 1fr max-content;
1907
+ height: 100%;
1908
+ }
1909
+
1910
+ [uc-file-uploader-inline]:not(#\#):not(#\#):not(#\#) uc-start-from uc-copyright {
1911
+ grid-column: 2;
1912
+ }
1913
+
1914
+ [uc-file-uploader-inline]:not(#\#):not(#\#):not(#\#) uc-start-from uc-drop-area {
1915
+ grid-row: span 3;
1916
+ }
1917
+
1918
+ [uc-file-uploader-inline]:not(#\#):not(#\#):not(#\#) uc-start-from:has(uc-copyright[hidden]) uc-drop-area {
1919
+ grid-row: span 2;
1920
+ }
1921
+
1922
+ [uc-file-uploader-inline]:not(#\#):not(#\#):not(#\#) uc-start-from:has(.uc-cancel-btn[hidden]) uc-drop-area {
1923
+ grid-row: span 2;
1924
+ }
1925
+
1926
+ [uc-file-uploader-inline]:not(#\#):not(#\#):not(#\#) uc-start-from:has(uc-copyright[hidden]):has(.uc-cancel-btn[hidden]) uc-drop-area {
1927
+ grid-row: span 1;
1928
+ }
1929
+ }
1930
+ :where([uc-wgt-common]):not(#\#) {
1931
+ --cfg-init-activity: "start-from";
1932
+ --cfg-done-activity: "";
1933
+ }
1934
+ :where([uc-wgt-common]):not(#\#) {
1935
+ /* Font */
1936
+ --uc-font-family: system-ui;
1937
+ --uc-font-size: 14px;
1938
+ --uc-line-height: normal;
1939
+ --uc-simple-btn-font-family: system-ui;
1940
+ --uc-simple-btn-font-size: 14px;
1941
+
1942
+ /* Sizes */
1943
+ --uc-button-size: 32px;
1944
+ --uc-preview-size: 32px;
1945
+ --uc-padding: 10px;
1946
+ --uc-radius: 8px;
1947
+ --uc-transition: 0.2s ease;
1948
+ --uc-dialog-width: 430px;
1949
+ --uc-dialog-max-width: 920px;
1950
+ --uc-dialog-max-height: 675px;
1951
+ --uc-simple-btn-padding: 7px 14px;
1952
+
1953
+ --uc-grid-col: 3;
1954
+ --uc-grid-preview-image-height: auto;
1955
+ --uc-grid-gap: calc(var(--uc-padding) / 2);
1956
+ --uc-grid-aspect-ratio: 1 / 1;
1957
+
1958
+ /* Default colors, in case of media query failure */
1959
+ --uc-background: var(--uc-background-light);
1960
+ --uc-foreground: var(--uc-foreground-light);
1961
+ --uc-primary: var(--uc-primary-light);
1962
+ --uc-primary-hover: var(--uc-primary-hover-light);
1963
+ --uc-primary-transparent: var(--uc-primary-transparent-light);
1964
+ --uc-primary-foreground: var(--uc-primary-foreground-light);
1965
+ --uc-secondary: var(--uc-secondary-light);
1966
+ --uc-secondary-hover: var(--uc-secondary-hover-light);
1967
+ --uc-secondary-foreground: var(--uc-secondary-foreground-light);
1968
+ --uc-muted: var(--uc-muted-light);
1969
+ --uc-muted-foreground: var(--uc-muted-foreground-light);
1970
+ --uc-destructive: var(--uc-destructive-light);
1971
+ --uc-destructive-foreground: var(--uc-destructive-foreground-light);
1972
+ --uc-border: var(--uc-border-light);
1973
+ --uc-dialog-shadow: var(--uc-dialog-shadow-light);
1974
+ --uc-simple-btn: var(--uc-simple-btn-light);
1975
+ --uc-simple-btn-hover: var(--uc-simple-btn-hover-light);
1976
+ --uc-simple-btn-foreground: var(--uc-simple-btn-foreground-light);
1977
+ }
1978
+ @supports not (color: oklch(0% 0 0)) {
1979
+ :where([uc-wgt-common]):not(#\#) {
1980
+ /* Light colors RGB fallback */
1981
+ --uc-primary-rgb-light: 23 75 215;
1982
+ --uc-primary-light: rgb(var(--uc-primary-rgb-light));
1983
+ --uc-primary-hover-light: rgb(var(--uc-primary-rgb-light) / 90%);
1984
+ --uc-primary-transparent-light: rgb(var(--uc-primary-rgb-light) / 10%);
1985
+ --uc-background-light: rgb(255 255 255);
1986
+ --uc-foreground-light: rgb(24 24 24);
1987
+ --uc-primary-foreground-light: #fff;
1988
+ --uc-secondary-light: rgb(24 24 24 / 5%);
1989
+ --uc-secondary-hover-light: rgb(24 24 24 / 8%);
1990
+ --uc-secondary-foreground-light: rgb(24 24 24);
1991
+ --uc-muted-light: rgb(245 245 245);
1992
+ --uc-muted-foreground-light: rgb(113 113 113);
1993
+ --uc-destructive-light: rgb(232 19 20 / 5%);
1994
+ --uc-destructive-foreground-light: rgb(232 19 20);
1995
+ --uc-border-light: rgb(228 228 232);
1996
+ --uc-dialog-shadow-light: 0px 6px 20px rgb(0 0 0 / 10%);
1997
+ --uc-simple-btn-light: rgb(235 235 235);
1998
+ --uc-simple-btn-hover-light: rgb(228 228 228);
1999
+ --uc-simple-btn-foreground-light: rgb(24 24 24);
2000
+
2001
+ /* Dark colors RGB fallback */
2002
+ --uc-primary-rgb-dark: 87 154 255;
2003
+ --uc-primary-dark: rgb(var(--uc-primary-rgb-dark));
2004
+ --uc-primary-hover-dark: rgb(var(--uc-primary-rgb-dark) / 90%);
2005
+ --uc-primary-transparent-dark: rgb(var(--uc-primary-rgb-dark) / 7%);
2006
+ --uc-background-dark: rgb(27 27 27);
2007
+ --uc-foreground-dark: rgb(225 225 225);
2008
+ --uc-primary-foreground-dark: rgb(0 0 0);
2009
+ --uc-secondary-dark: rgb(225 225 225 / 7%);
2010
+ --uc-secondary-hover-dark: rgb(225 225 225 / 10%);
2011
+ --uc-secondary-foreground-dark: rgb(225 225 225);
2012
+ --uc-muted-dark: rgb(36 36 36);
2013
+ --uc-muted-foreground-dark: rgb(152 152 152);
2014
+ --uc-destructive-dark: rgb(244 90 79 / 10%);
2015
+ --uc-destructive-foreground-dark: rgb(244 90 79);
2016
+ --uc-border-dark: rgb(61 61 61);
2017
+ --uc-dialog-shadow-dark: 0px 6px 20px rgb(0 0 0 / 25%);
2018
+ --uc-simple-btn-dark: rgb(36 36 36);
2019
+ --uc-simple-btn-hover-dark: rgb(43 43 43);
2020
+ --uc-simple-btn-foreground-dark: rgb(255 255 255);
2021
+ }
2022
+ }
2023
+ @supports (color: oklch(0% 0 0)) {
2024
+ :where([uc-wgt-common]):not(#\#) {
2025
+ /* Light colors OKLCH */
2026
+ --uc-primary-oklch-light: 47% 0.22 264; /* Quick customization: change this value to your brand color */
2027
+ --uc-primary-light: oklch(var(--uc-primary-oklch-light));
2028
+ --uc-primary-hover-light: oklch(var(--uc-primary-oklch-light) / 90%);
2029
+ --uc-primary-transparent-light: oklch(var(--uc-primary-oklch-light) / 7%);
2030
+ --uc-background-light: oklch(100% 0 0);
2031
+ --uc-foreground-light: oklch(21% 0 0);
2032
+ --uc-primary-foreground-light: oklch(100% 0 0);
2033
+ --uc-secondary-light: oklch(21% 0 0 / 0.05);
2034
+ --uc-secondary-hover-light: oklch(21% 0 0 / 0.08);
2035
+ --uc-secondary-foreground-light: oklch(21% 0 0);
2036
+ --uc-muted-light: oklch(97% 0 0);
2037
+ --uc-muted-foreground-light: oklch(40% 0 0);
2038
+ --uc-destructive-light: oklch(59% 0.235 28.5 / 0.05);
2039
+ --uc-destructive-foreground-light: oklch(59% 0.235 28.5);
2040
+ --uc-border-light: oklch(92% 0 0);
2041
+ --uc-dialog-shadow-light: 0px 6px 20px oklch(0% 0 0 / 0.1);
2042
+ --uc-simple-btn-light: oklch(94% 0 0);
2043
+ --uc-simple-btn-hover-light: oklch(92% 0 0);
2044
+ --uc-simple-btn-foreground-light: oklch(20% 0 0);
2045
+
2046
+ /* Dark colors OKLCH */
2047
+ --uc-primary-oklch-dark: 69% 0.1768 258.4; /* Quick customization: change this value to your brand color */
2048
+ --uc-primary-dark: oklch(var(--uc-primary-oklch-dark));
2049
+ --uc-primary-hover-dark: oklch(var(--uc-primary-oklch-dark) / 90%);
2050
+ --uc-primary-transparent-dark: oklch(var(--uc-primary-oklch-dark) / 7%);
2051
+ --uc-background-dark: oklch(22% 0 0);
2052
+ --uc-foreground-dark: oklch(91% 0 0);
2053
+ --uc-primary-foreground-dark: oklch(0% 0 0);
2054
+ --uc-secondary-dark: oklch(91% 0 0 / 0.07);
2055
+ --uc-secondary-hover-dark: oklch(91% 0 0 / 0.1);
2056
+ --uc-secondary-foreground-dark: oklch(91% 0 0);
2057
+ --uc-muted-dark: oklch(26% 0 0);
2058
+ --uc-muted-foreground-dark: oklch(68% 0 0);
2059
+ --uc-destructive-dark: oklch(67% 0.191 27.5 / 0.1);
2060
+ --uc-destructive-foreground-dark: oklch(67% 0.191 27.5);
2061
+ --uc-border-dark: oklch(36% 0 0);
2062
+ --uc-dialog-shadow-dark: 0px 6px 20px oklch(0% 0 0 / 0.25);
2063
+ --uc-simple-btn-dark: oklch(26% 0 0);
2064
+ --uc-simple-btn-hover-dark: oklch(29% 0 0);
2065
+ --uc-simple-btn-foreground-dark: oklch(100% 0 0);
2066
+ }
2067
+ }
2068
+ @media only screen and (max-height: 600px) {
2069
+ :where([uc-wgt-common]):not(#\#) {
2070
+ --uc-dialog-max-height: 100%;
2071
+ }
2072
+ }
2073
+ @media only screen and (max-width: 680px) {
2074
+ :where([uc-wgt-common]):not(#\#) {
2075
+ --uc-grid-col: 2;
2076
+ }
2077
+ }
2078
+ @media only screen and (max-width: 430px) {
2079
+ :where([uc-wgt-common]):not(#\#) {
2080
+ --uc-dialog-max-width: 100vw;
2081
+ --uc-dialog-max-height: var(--uploadcare-blocks-window-height);
2082
+ --uc-grid-col: 1;
2083
+ }
2084
+ }
2085
+ @media (prefers-color-scheme: light) {
2086
+ :where([uc-wgt-common]):not(#\#) {
2087
+ --uc-background: var(--uc-background-light);
2088
+ --uc-foreground: var(--uc-foreground-light);
2089
+ --uc-primary: var(--uc-primary-light);
2090
+ --uc-primary-hover: var(--uc-primary-hover-light);
2091
+ --uc-primary-transparent: var(--uc-primary-transparent-light);
2092
+ --uc-primary-foreground: var(--uc-primary-foreground-light);
2093
+ --uc-secondary: var(--uc-secondary-light);
2094
+ --uc-secondary-hover: var(--uc-secondary-hover-light);
2095
+ --uc-secondary-foreground: var(--uc-secondary-foreground-light);
2096
+ --uc-muted: var(--uc-muted-light);
2097
+ --uc-muted-foreground: var(--uc-muted-foreground-light);
2098
+ --uc-destructive: var(--uc-destructive-light);
2099
+ --uc-destructive-foreground: var(--uc-destructive-foreground-light);
2100
+ --uc-border: var(--uc-border-light);
2101
+ --uc-dialog-shadow: var(--uc-dialog-shadow-light);
2102
+ --uc-simple-btn: var(--uc-simple-btn-light);
2103
+ --uc-simple-btn-hover: var(--uc-simple-btn-hover-light);
2104
+ --uc-simple-btn-foreground: var(--uc-simple-btn-foreground-light);
2105
+ }
2106
+ }
2107
+ @media (prefers-color-scheme: dark) {
2108
+ :where([uc-wgt-common]):not(#\#) {
2109
+ --uc-background: var(--uc-background-dark);
2110
+ --uc-foreground: var(--uc-foreground-dark);
2111
+ --uc-primary: var(--uc-primary-dark);
2112
+ --uc-primary-hover: var(--uc-primary-hover-dark);
2113
+ --uc-primary-transparent: var(--uc-primary-transparent-dark);
2114
+ --uc-primary-foreground: var(--uc-primary-foreground-dark);
2115
+ --uc-secondary: var(--uc-secondary-dark);
2116
+ --uc-secondary-hover: var(--uc-secondary-hover-dark);
2117
+ --uc-secondary-foreground: var(--uc-secondary-foreground-dark);
2118
+ --uc-muted: var(--uc-muted-dark);
2119
+ --uc-muted-foreground: var(--uc-muted-foreground-dark);
2120
+ --uc-destructive: var(--uc-destructive-dark);
2121
+ --uc-destructive-foreground: var(--uc-destructive-foreground-dark);
2122
+ --uc-border: var(--uc-border-dark);
2123
+ --uc-dialog-shadow: var(--uc-dialog-shadow-dark);
2124
+ --uc-simple-btn: var(--uc-simple-btn-dark);
2125
+ --uc-simple-btn-hover: var(--uc-simple-btn-hover-dark);
2126
+ --uc-simple-btn-foreground: var(--uc-simple-btn-foreground-dark);
2127
+ }
2128
+ }
2129
+ :where(.uc-light):not(#\#) {
2130
+ --uc-background: var(--uc-background-light);
2131
+ --uc-foreground: var(--uc-foreground-light);
2132
+ --uc-primary: var(--uc-primary-light);
2133
+ --uc-primary-hover: var(--uc-primary-hover-light);
2134
+ --uc-primary-transparent: var(--uc-primary-transparent-light);
2135
+ --uc-primary-foreground: var(--uc-primary-foreground-light);
2136
+ --uc-secondary: var(--uc-secondary-light);
2137
+ --uc-secondary-hover: var(--uc-secondary-hover-light);
2138
+ --uc-secondary-foreground: var(--uc-secondary-foreground-light);
2139
+ --uc-muted: var(--uc-muted-light);
2140
+ --uc-muted-foreground: var(--uc-muted-foreground-light);
2141
+ --uc-destructive: var(--uc-destructive-light);
2142
+ --uc-destructive-foreground: var(--uc-destructive-foreground-light);
2143
+ --uc-border: var(--uc-border-light);
2144
+ --uc-dialog-shadow: var(--uc-dialog-shadow-light);
2145
+ --uc-simple-btn: var(--uc-simple-btn-light);
2146
+ --uc-simple-btn-hover: var(--uc-simple-btn-hover-light);
2147
+ --uc-simple-btn-foreground: var(--uc-simple-btn-foreground-light);
2148
+ }
2149
+ :where(.uc-dark):not(#\#) {
2150
+ --uc-background: var(--uc-background-dark);
2151
+ --uc-foreground: var(--uc-foreground-dark);
2152
+ --uc-primary: var(--uc-primary-dark);
2153
+ --uc-primary-hover: var(--uc-primary-hover-dark);
2154
+ --uc-primary-transparent: var(--uc-primary-transparent-dark);
2155
+ --uc-primary-foreground: var(--uc-primary-foreground-dark);
2156
+ --uc-secondary: var(--uc-secondary-dark);
2157
+ --uc-secondary-hover: var(--uc-secondary-hover-dark);
2158
+ --uc-secondary-foreground: var(--uc-secondary-foreground-dark);
2159
+ --uc-muted: var(--uc-muted-dark);
2160
+ --uc-muted-foreground: var(--uc-muted-foreground-dark);
2161
+ --uc-destructive: var(--uc-destructive-dark);
2162
+ --uc-destructive-foreground: var(--uc-destructive-foreground-dark);
2163
+ --uc-border: var(--uc-border-dark);
2164
+ --uc-dialog-shadow: var(--uc-dialog-shadow-dark);
2165
+ --uc-simple-btn: var(--uc-simple-btn-dark);
2166
+ --uc-simple-btn-hover: var(--uc-simple-btn-hover-dark);
2167
+ --uc-simple-btn-foreground: var(--uc-simple-btn-foreground-dark);
2168
+ }
2169
+ :where(.uc-purple):not(#\#) {
2170
+ --uc-primary-oklch-light: 47% 0.22 300;
2171
+ --uc-primary-oklch-dark: 69% 0.1768 300;
2172
+ }
2173
+ :where(.uc-red):not(#\#) {
2174
+ --uc-primary-oklch-light: 47% 0.21 21;
2175
+ --uc-primary-oklch-dark: 71% 0.1768 21;
2176
+ }
2177
+ :where(.uc-orange):not(#\#) {
2178
+ --uc-primary-oklch-light: 47% 0.1376 51.88;
2179
+ --uc-primary-oklch-dark: 69% 0.1768 51.88;
2180
+ }
2181
+ :where(.uc-green):not(#\#) {
2182
+ --uc-primary-oklch-light: 45% 0.14 130;
2183
+ --uc-primary-oklch-dark: 69% 0.1768 130;
2184
+ }
2185
+ :where(.uc-turquoise):not(#\#) {
2186
+ --uc-primary-oklch-light: 45% 0.0854 174;
2187
+ --uc-primary-oklch-dark: 69% 0.1768 174;
2188
+ }
2189
+ :where(.uc-gray):not(#\#) {
2190
+ --uc-primary-oklch-light: 10% 0 0;
2191
+ --uc-primary-oklch-dark: 97% 0 0;
2192
+ }
2193
+ :where(.uc-contrast):not(#\#) {
2194
+ --uc-border-light: oklch(50% 0 0);
2195
+ --uc-border-dark: oklch(50% 0 0);
2196
+
2197
+ --uc-muted-light: oklch(98% 0 0);
2198
+ --uc-muted-dark: oklch(16% 0 0);
2199
+
2200
+ --uc-muted-foreground-light: oklch(20% 0 0);
2201
+ --uc-muted-foreground-dark: oklch(80% 0 0);
2202
+
2203
+ --uc-background-light: oklch(100% 0 0);
2204
+ --uc-foreground-light: oklch(0% 0 0);
2205
+
2206
+ --uc-background-dark: oklch(10% 0 0);
2207
+ --uc-foreground-dark: oklch(100% 0 0);
2208
+ }
2209
+ :where([uc-wgt-common]):not(#\#) {
2210
+ color: var(--uc-foreground);
2211
+ font-size: var(--uc-font-size);
2212
+ line-height: var(--uc-line-height);
2213
+ font-family: var(--uc-font-family);
2214
+ }
2215
+ :where([uc-wgt-common]):not(#\#) * {
2216
+ box-sizing: border-box;
2217
+ }
2218
+ :where([uc-wgt-common]):not(#\#) button {
2219
+ display: flex;
2220
+ align-items: center;
2221
+ justify-content: center;
2222
+ height: var(--uc-button-size);
2223
+ padding-right: 14px;
2224
+ padding-left: 14px;
2225
+ font-size: 1em;
2226
+ font-family: inherit;
2227
+ white-space: nowrap;
2228
+ border: none;
2229
+ border-radius: var(--uc-radius);
2230
+ cursor: pointer;
2231
+ user-select: none;
2232
+ transition: background-color var(--uc-transition);
2233
+ }
2234
+ :where([uc-wgt-common]):not(#\#) button:focus-visible {
2235
+ outline-offset: 2px;
2236
+ }
2237
+ :where([uc-wgt-common]):not(#\#) button.uc-primary-btn {
2238
+ color: var(--uc-primary-foreground);
2239
+ background-color: var(--uc-primary);
2240
+ }
2241
+ :where([uc-wgt-common]):not(#\#) button.uc-primary-btn:hover {
2242
+ background-color: var(--uc-primary-hover);
2243
+ }
2244
+ :where([uc-wgt-common]):not(#\#) button.uc-secondary-btn {
2245
+ color: var(--uc-secondary-foreground);
2246
+ background-color: var(--uc-secondary);
2247
+ }
2248
+ :where([uc-wgt-common]):not(#\#) button.uc-secondary-btn:hover {
2249
+ background-color: var(--uc-secondary-hover);
2250
+ }
2251
+ :where([uc-wgt-common].uc-contrast):not(#\#) button.uc-secondary-btn {
2252
+ border: 1px solid var(--uc-border);
2253
+ }
2254
+ :where([uc-wgt-common]):not(#\#) button.uc-mini-btn {
2255
+ height: var(--uc-button-size);
2256
+ padding: 0;
2257
+ background-color: transparent;
2258
+ color: var(--uc-secondary-foreground);
2259
+ }
2260
+ :where([uc-wgt-common]):not(#\#) button.uc-mini-btn:hover {
2261
+ background-color: var(--uc-secondary);
2262
+ }
2263
+ :where([uc-wgt-common]):not(#\#) :is(button[disabled], button.uc-primary-btn[disabled], button.uc-secondary-btn[disabled]) {
2264
+ opacity: 0.5;
2265
+ pointer-events: none;
2266
+ }
2267
+ :where([uc-wgt-common]):not(#\#) a {
2268
+ color: var(--uc-primary);
2269
+ text-decoration: none;
2270
+ }
2271
+ /* TODO: if we're using disabled <a> somewhere, we should stop */
2272
+ :where([uc-wgt-common]):not(#\#) a[disabled] {
2273
+ pointer-events: none;
2274
+ }
2275
+ :where([uc-wgt-common]):not(#\#) input[type="text"] {
2276
+ display: flex;
2277
+ width: 100%;
2278
+ height: var(--uc-button-size);
2279
+ padding-right: 10px;
2280
+ padding-left: 10px;
2281
+ color: var(--uc-foreground);
2282
+ font-size: 1em;
2283
+ font-family: inherit;
2284
+ background-color: var(--uc-background);
2285
+ border: 1px solid var(--uc-border);
2286
+ outline: 1px solid transparent;
2287
+ border-radius: var(--uc-radius);
2288
+ transition:
2289
+ border-color var(--uc-transition),
2290
+ outline-color var(--uc-transition);
2291
+ }
2292
+ :where([uc-wgt-common]):not(#\#) input[type="text"]::placeholder {
2293
+ color: var(--uc-muted-foreground);
2294
+ }
2295
+ :where([uc-wgt-common]):not(#\#) input[type="text"]:focus {
2296
+ outline-color: var(--uc-primary-hover);
2297
+ border-color: var(--uc-primary-hover);
2298
+ }
2299
+ /* TODO: check if there's any necessity of disabled input */
2300
+ :where([uc-wgt-common]):not(#\#) input[disabled] {
2301
+ opacity: 0.6;
2302
+ pointer-events: none;
2303
+ }
2304
+ :where([uc-wgt-common]):not(#\#) uc-select[disabled],
2305
+ :where([uc-wgt-common]):not(#\#) select[disabled] {
2306
+ opacity: 0.6;
2307
+ pointer-events: none;
2308
+ }
2309
+ :where([uc-wgt-common]):not(#\#):not(#\#) [hidden] {
2310
+ display: none;
2311
+ }
2312
+ :where([uc-wgt-common]):not(#\#):not(#\#) [activity]:not([active], .active) {
2313
+ display: none;
2314
+ }
2315
+ :where([uc-wgt-common]):not(#\#):not(#\#) dialog:not([open]) [activity] {
2316
+ display: none;
2317
+ }
2318
+ :where([uc-wgt-common]):not(#\#):not(#\#):not(#\#):not(#\#) uc-source-btn[type] {
2319
+ all: unset;
2320
+ }
2321
+ /* ICONS: */
2322
+ :where([uc-file-uploader-minimal]):not(#\#):not(#\#):not(#\#) {
2323
+ --cfg-init-activity: "start-from";
2324
+ --cfg-done-activity: "upload-list";
2325
+
2326
+ position: relative;
2327
+ display: block;
2328
+ }
2329
+ [uc-file-uploader-minimal]:not(#\#):not(#\#):not(#\#) > uc-start-from .uc-content {
2330
+ display: flex;
2331
+ flex-direction: column;
2332
+ gap: 4px;
2333
+ padding: 0;
2334
+ overflow: hidden;
2335
+ align-items: center;
2336
+ background-color: transparent;
2337
+ }
2338
+ :where([uc-file-uploader-minimal] > uc-start-from uc-drop-area):not(#\#):not(#\#):not(#\#) {
2339
+ display: flex;
2340
+ position: relative;
2341
+ align-items: center;
2342
+ justify-content: center;
2343
+ width: 100%;
2344
+ min-height: calc(var(--uc-preview-size) + var(--uc-padding) * 2 + 8px);
2345
+ padding: 0;
2346
+ text-align: center;
2347
+ background-color: var(--uc-muted);
2348
+ border-radius: calc(var(--uc-radius) * 1.75);
2349
+ }
2350
+ :where(.uc-contrast):not(#\#):not(#\#):not(#\#) :where([uc-file-uploader-minimal] > uc-start-from uc-drop-area) {
2351
+ background-color: transparent;
2352
+ }
2353
+ /* hack to make transparent :hover colors work in any conditions */
2354
+ :where([uc-file-uploader-minimal] > uc-start-from uc-drop-area):not(#\#):not(#\#):not(#\#)::before {
2355
+ content: "";
2356
+ z-index: -1;
2357
+ width: 100%;
2358
+ height: 100%;
2359
+ position: absolute;
2360
+ background-color: var(--uc-background);
2361
+ }
2362
+ :where([uc-file-uploader-minimal]:has([single]) > uc-start-from uc-drop-area):not(#\#):not(#\#):not(#\#) {
2363
+ aspect-ratio: var(--uc-grid-aspect-ratio);
2364
+ }
2365
+ [uc-file-uploader-minimal]:not(#\#):not(#\#):not(#\#) uc-upload-list uc-activity-header {
2366
+ display: none;
2367
+ }
2368
+ [uc-file-uploader-minimal]:not(#\#):not(#\#):not(#\#) uc-upload-list > .uc-toolbar {
2369
+ background-color: transparent;
2370
+ }
2371
+ [uc-file-uploader-minimal]:not(#\#):not(#\#):not(#\#) uc-upload-list {
2372
+ width: 100%;
2373
+ height: unset;
2374
+ padding: 4px;
2375
+ background-color: var(--uc-background);
2376
+ border: 1px dashed var(--uc-border);
2377
+ border-radius: calc(var(--uc-radius) * 1.75);
2378
+ }
2379
+ [uc-file-uploader-minimal]:not(#\#):not(#\#):not(#\#) uc-upload-list .uc-files {
2380
+ padding: 0;
2381
+ }
2382
+ [uc-file-uploader-minimal]:not(#\#):not(#\#):not(#\#) uc-upload-list .uc-toolbar {
2383
+ display: block;
2384
+ padding: 0;
2385
+ }
2386
+ [uc-file-uploader-minimal]:not(#\#):not(#\#):not(#\#) uc-upload-list .uc-toolbar .uc-cancel-btn,
2387
+ [uc-file-uploader-minimal]:not(#\#):not(#\#):not(#\#) uc-upload-list .uc-toolbar .uc-upload-btn,
2388
+ [uc-file-uploader-minimal]:not(#\#):not(#\#):not(#\#) uc-upload-list .uc-toolbar .uc-done-btn {
2389
+ display: none;
2390
+ }
2391
+ [uc-file-uploader-minimal]:not(#\#):not(#\#):not(#\#) uc-upload-list .uc-toolbar .uc-add-more-btn {
2392
+ width: 100%;
2393
+ height: calc(var(--uc-preview-size) + var(--uc-padding) * 2);
2394
+ margin-top: 4px;
2395
+ }
2396
+ [uc-file-uploader-minimal]:not(#\#):not(#\#):not(#\#) uc-upload-list .uc-toolbar .uc-add-more-btn[disabled] {
2397
+ display: none;
2398
+ }
2399
+ [uc-file-uploader-minimal]:not(#\#):not(#\#):not(#\#) uc-upload-list .uc-toolbar .uc-add-more-btn > span {
2400
+ display: none;
2401
+ }
2402
+ [uc-file-uploader-minimal]:not(#\#):not(#\#):not(#\#) uc-upload-list .uc-toolbar .uc-add-more-btn > uc-icon {
2403
+ display: flex;
2404
+ }
2405
+ [uc-file-uploader-minimal][mode="list"]:not(#\#):not(#\#):not(#\#) uc-file-item uc-progress-bar {
2406
+ top: 0;
2407
+ height: 100%;
2408
+ }
2409
+ [uc-file-uploader-minimal][mode="list"]:not(#\#):not(#\#):not(#\#) uc-file-item uc-progress-bar .uc-progress {
2410
+ background-color: var(--uc-primary-transparent);
2411
+ border-radius: var(--uc-radius);
2412
+ }
2413
+ [uc-file-uploader-minimal][mode="list"]:not(#\#):not(#\#):not(#\#) uc-file-item uc-progress-bar .uc-fake-progress {
2414
+ background-color: var(--uc-primary-transparent);
2415
+ border-radius: var(--uc-radius);
2416
+ }
2417
+ [uc-file-uploader-minimal]:not(#\#):not(#\#):not(#\#) uc-upload-list uc-drop-area {
2418
+ width: 100%;
2419
+ height: 100%;
2420
+ margin: 0;
2421
+ border-radius: calc(var(--uc-radius) * 1.75);
2422
+ }
2423
+ [uc-file-uploader-minimal]:not(#\#):not(#\#):not(#\#) uc-upload-list .uc-common-error {
2424
+ margin: 4px 0 0;
2425
+ }
2426
+ [uc-file-uploader-minimal]:not(#\#):not(#\#):not(#\#) uc-copyright .uc-credits {
2427
+ position: static;
2428
+ }
2429
+ [uc-file-uploader-minimal][mode="grid"]:not(#\#):not(#\#):not(#\#) uc-upload-list .uc-toolbar .uc-add-more-btn {
2430
+ display: none;
2431
+ }
2432
+ [uc-file-uploader-minimal][mode="grid"]:not(#\#):not(#\#):not(#\#) uc-upload-list .uc-files .uc-add-more-btn {
2433
+ display: flex;
2434
+ }
2435
+ [uc-file-uploader-minimal][mode="grid"]:not(#\#):not(#\#):not(#\#) uc-upload-list .uc-files .uc-add-more-btn > span {
2436
+ display: none;
2437
+ }
2438
+ [uc-file-uploader-minimal][mode="grid"]:not(#\#):not(#\#):not(#\#) uc-upload-list .uc-files .uc-add-more-btn > uc-icon {
2439
+ display: flex;
2440
+ }
2441
+ :where([uc-wgt-common]):not(#\#) {
2442
+ /* Font */
2443
+ --uc-font-family: system-ui;
2444
+ --uc-font-size: 14px;
2445
+ --uc-line-height: normal;
2446
+ --uc-simple-btn-font-family: system-ui;
2447
+ --uc-simple-btn-font-size: 14px;
2448
+
2449
+ /* Sizes */
2450
+ --uc-button-size: 32px;
2451
+ --uc-preview-size: 32px;
2452
+ --uc-padding: 10px;
2453
+ --uc-radius: 8px;
2454
+ --uc-transition: 0.2s ease;
2455
+ --uc-dialog-width: 430px;
2456
+ --uc-dialog-max-width: 920px;
2457
+ --uc-dialog-max-height: 675px;
2458
+ --uc-simple-btn-padding: 7px 14px;
2459
+
2460
+ --uc-grid-col: 3;
2461
+ --uc-grid-preview-image-height: auto;
2462
+ --uc-grid-gap: calc(var(--uc-padding) / 2);
2463
+ --uc-grid-aspect-ratio: 1 / 1;
2464
+
2465
+ /* Default colors, in case of media query failure */
2466
+ --uc-background: var(--uc-background-light);
2467
+ --uc-foreground: var(--uc-foreground-light);
2468
+ --uc-primary: var(--uc-primary-light);
2469
+ --uc-primary-hover: var(--uc-primary-hover-light);
2470
+ --uc-primary-transparent: var(--uc-primary-transparent-light);
2471
+ --uc-primary-foreground: var(--uc-primary-foreground-light);
2472
+ --uc-secondary: var(--uc-secondary-light);
2473
+ --uc-secondary-hover: var(--uc-secondary-hover-light);
2474
+ --uc-secondary-foreground: var(--uc-secondary-foreground-light);
2475
+ --uc-muted: var(--uc-muted-light);
2476
+ --uc-muted-foreground: var(--uc-muted-foreground-light);
2477
+ --uc-destructive: var(--uc-destructive-light);
2478
+ --uc-destructive-foreground: var(--uc-destructive-foreground-light);
2479
+ --uc-border: var(--uc-border-light);
2480
+ --uc-dialog-shadow: var(--uc-dialog-shadow-light);
2481
+ --uc-simple-btn: var(--uc-simple-btn-light);
2482
+ --uc-simple-btn-hover: var(--uc-simple-btn-hover-light);
2483
+ --uc-simple-btn-foreground: var(--uc-simple-btn-foreground-light);
2484
+ }
2485
+ @supports not (color: oklch(0% 0 0)) {
2486
+ :where([uc-wgt-common]):not(#\#) {
2487
+ /* Light colors RGB fallback */
2488
+ --uc-primary-rgb-light: 23 75 215;
2489
+ --uc-primary-light: rgb(var(--uc-primary-rgb-light));
2490
+ --uc-primary-hover-light: rgb(var(--uc-primary-rgb-light) / 90%);
2491
+ --uc-primary-transparent-light: rgb(var(--uc-primary-rgb-light) / 10%);
2492
+ --uc-background-light: rgb(255 255 255);
2493
+ --uc-foreground-light: rgb(24 24 24);
2494
+ --uc-primary-foreground-light: #fff;
2495
+ --uc-secondary-light: rgb(24 24 24 / 5%);
2496
+ --uc-secondary-hover-light: rgb(24 24 24 / 8%);
2497
+ --uc-secondary-foreground-light: rgb(24 24 24);
2498
+ --uc-muted-light: rgb(245 245 245);
2499
+ --uc-muted-foreground-light: rgb(113 113 113);
2500
+ --uc-destructive-light: rgb(232 19 20 / 5%);
2501
+ --uc-destructive-foreground-light: rgb(232 19 20);
2502
+ --uc-border-light: rgb(228 228 232);
2503
+ --uc-dialog-shadow-light: 0px 6px 20px rgb(0 0 0 / 10%);
2504
+ --uc-simple-btn-light: rgb(235 235 235);
2505
+ --uc-simple-btn-hover-light: rgb(228 228 228);
2506
+ --uc-simple-btn-foreground-light: rgb(24 24 24);
2507
+
2508
+ /* Dark colors RGB fallback */
2509
+ --uc-primary-rgb-dark: 87 154 255;
2510
+ --uc-primary-dark: rgb(var(--uc-primary-rgb-dark));
2511
+ --uc-primary-hover-dark: rgb(var(--uc-primary-rgb-dark) / 90%);
2512
+ --uc-primary-transparent-dark: rgb(var(--uc-primary-rgb-dark) / 7%);
2513
+ --uc-background-dark: rgb(27 27 27);
2514
+ --uc-foreground-dark: rgb(225 225 225);
2515
+ --uc-primary-foreground-dark: rgb(0 0 0);
2516
+ --uc-secondary-dark: rgb(225 225 225 / 7%);
2517
+ --uc-secondary-hover-dark: rgb(225 225 225 / 10%);
2518
+ --uc-secondary-foreground-dark: rgb(225 225 225);
2519
+ --uc-muted-dark: rgb(36 36 36);
2520
+ --uc-muted-foreground-dark: rgb(152 152 152);
2521
+ --uc-destructive-dark: rgb(244 90 79 / 10%);
2522
+ --uc-destructive-foreground-dark: rgb(244 90 79);
2523
+ --uc-border-dark: rgb(61 61 61);
2524
+ --uc-dialog-shadow-dark: 0px 6px 20px rgb(0 0 0 / 25%);
2525
+ --uc-simple-btn-dark: rgb(36 36 36);
2526
+ --uc-simple-btn-hover-dark: rgb(43 43 43);
2527
+ --uc-simple-btn-foreground-dark: rgb(255 255 255);
2528
+ }
2529
+ }
2530
+ @supports (color: oklch(0% 0 0)) {
2531
+ :where([uc-wgt-common]):not(#\#) {
2532
+ /* Light colors OKLCH */
2533
+ --uc-primary-oklch-light: 47% 0.22 264; /* Quick customization: change this value to your brand color */
2534
+ --uc-primary-light: oklch(var(--uc-primary-oklch-light));
2535
+ --uc-primary-hover-light: oklch(var(--uc-primary-oklch-light) / 90%);
2536
+ --uc-primary-transparent-light: oklch(var(--uc-primary-oklch-light) / 7%);
2537
+ --uc-background-light: oklch(100% 0 0);
2538
+ --uc-foreground-light: oklch(21% 0 0);
2539
+ --uc-primary-foreground-light: oklch(100% 0 0);
2540
+ --uc-secondary-light: oklch(21% 0 0 / 0.05);
2541
+ --uc-secondary-hover-light: oklch(21% 0 0 / 0.08);
2542
+ --uc-secondary-foreground-light: oklch(21% 0 0);
2543
+ --uc-muted-light: oklch(97% 0 0);
2544
+ --uc-muted-foreground-light: oklch(40% 0 0);
2545
+ --uc-destructive-light: oklch(59% 0.235 28.5 / 0.05);
2546
+ --uc-destructive-foreground-light: oklch(59% 0.235 28.5);
2547
+ --uc-border-light: oklch(92% 0 0);
2548
+ --uc-dialog-shadow-light: 0px 6px 20px oklch(0% 0 0 / 0.1);
2549
+ --uc-simple-btn-light: oklch(94% 0 0);
2550
+ --uc-simple-btn-hover-light: oklch(92% 0 0);
2551
+ --uc-simple-btn-foreground-light: oklch(20% 0 0);
2552
+
2553
+ /* Dark colors OKLCH */
2554
+ --uc-primary-oklch-dark: 69% 0.1768 258.4; /* Quick customization: change this value to your brand color */
2555
+ --uc-primary-dark: oklch(var(--uc-primary-oklch-dark));
2556
+ --uc-primary-hover-dark: oklch(var(--uc-primary-oklch-dark) / 90%);
2557
+ --uc-primary-transparent-dark: oklch(var(--uc-primary-oklch-dark) / 7%);
2558
+ --uc-background-dark: oklch(22% 0 0);
2559
+ --uc-foreground-dark: oklch(91% 0 0);
2560
+ --uc-primary-foreground-dark: oklch(0% 0 0);
2561
+ --uc-secondary-dark: oklch(91% 0 0 / 0.07);
2562
+ --uc-secondary-hover-dark: oklch(91% 0 0 / 0.1);
2563
+ --uc-secondary-foreground-dark: oklch(91% 0 0);
2564
+ --uc-muted-dark: oklch(26% 0 0);
2565
+ --uc-muted-foreground-dark: oklch(68% 0 0);
2566
+ --uc-destructive-dark: oklch(67% 0.191 27.5 / 0.1);
2567
+ --uc-destructive-foreground-dark: oklch(67% 0.191 27.5);
2568
+ --uc-border-dark: oklch(36% 0 0);
2569
+ --uc-dialog-shadow-dark: 0px 6px 20px oklch(0% 0 0 / 0.25);
2570
+ --uc-simple-btn-dark: oklch(26% 0 0);
2571
+ --uc-simple-btn-hover-dark: oklch(29% 0 0);
2572
+ --uc-simple-btn-foreground-dark: oklch(100% 0 0);
2573
+ }
2574
+ }
2575
+ @media only screen and (max-height: 600px) {
2576
+ :where([uc-wgt-common]):not(#\#) {
2577
+ --uc-dialog-max-height: 100%;
2578
+ }
2579
+ }
2580
+ @media only screen and (max-width: 680px) {
2581
+ :where([uc-wgt-common]):not(#\#) {
2582
+ --uc-grid-col: 2;
2583
+ }
2584
+ }
2585
+ @media only screen and (max-width: 430px) {
2586
+ :where([uc-wgt-common]):not(#\#) {
2587
+ --uc-dialog-max-width: 100vw;
2588
+ --uc-dialog-max-height: var(--uploadcare-blocks-window-height);
2589
+ --uc-grid-col: 1;
2590
+ }
2591
+ }
2592
+ @media (prefers-color-scheme: light) {
2593
+ :where([uc-wgt-common]):not(#\#) {
2594
+ --uc-background: var(--uc-background-light);
2595
+ --uc-foreground: var(--uc-foreground-light);
2596
+ --uc-primary: var(--uc-primary-light);
2597
+ --uc-primary-hover: var(--uc-primary-hover-light);
2598
+ --uc-primary-transparent: var(--uc-primary-transparent-light);
2599
+ --uc-primary-foreground: var(--uc-primary-foreground-light);
2600
+ --uc-secondary: var(--uc-secondary-light);
2601
+ --uc-secondary-hover: var(--uc-secondary-hover-light);
2602
+ --uc-secondary-foreground: var(--uc-secondary-foreground-light);
2603
+ --uc-muted: var(--uc-muted-light);
2604
+ --uc-muted-foreground: var(--uc-muted-foreground-light);
2605
+ --uc-destructive: var(--uc-destructive-light);
2606
+ --uc-destructive-foreground: var(--uc-destructive-foreground-light);
2607
+ --uc-border: var(--uc-border-light);
2608
+ --uc-dialog-shadow: var(--uc-dialog-shadow-light);
2609
+ --uc-simple-btn: var(--uc-simple-btn-light);
2610
+ --uc-simple-btn-hover: var(--uc-simple-btn-hover-light);
2611
+ --uc-simple-btn-foreground: var(--uc-simple-btn-foreground-light);
2612
+ }
2613
+ }
2614
+ @media (prefers-color-scheme: dark) {
2615
+ :where([uc-wgt-common]):not(#\#) {
2616
+ --uc-background: var(--uc-background-dark);
2617
+ --uc-foreground: var(--uc-foreground-dark);
2618
+ --uc-primary: var(--uc-primary-dark);
2619
+ --uc-primary-hover: var(--uc-primary-hover-dark);
2620
+ --uc-primary-transparent: var(--uc-primary-transparent-dark);
2621
+ --uc-primary-foreground: var(--uc-primary-foreground-dark);
2622
+ --uc-secondary: var(--uc-secondary-dark);
2623
+ --uc-secondary-hover: var(--uc-secondary-hover-dark);
2624
+ --uc-secondary-foreground: var(--uc-secondary-foreground-dark);
2625
+ --uc-muted: var(--uc-muted-dark);
2626
+ --uc-muted-foreground: var(--uc-muted-foreground-dark);
2627
+ --uc-destructive: var(--uc-destructive-dark);
2628
+ --uc-destructive-foreground: var(--uc-destructive-foreground-dark);
2629
+ --uc-border: var(--uc-border-dark);
2630
+ --uc-dialog-shadow: var(--uc-dialog-shadow-dark);
2631
+ --uc-simple-btn: var(--uc-simple-btn-dark);
2632
+ --uc-simple-btn-hover: var(--uc-simple-btn-hover-dark);
2633
+ --uc-simple-btn-foreground: var(--uc-simple-btn-foreground-dark);
2634
+ }
2635
+ }
2636
+ :where(.uc-light):not(#\#) {
2637
+ --uc-background: var(--uc-background-light);
2638
+ --uc-foreground: var(--uc-foreground-light);
2639
+ --uc-primary: var(--uc-primary-light);
2640
+ --uc-primary-hover: var(--uc-primary-hover-light);
2641
+ --uc-primary-transparent: var(--uc-primary-transparent-light);
2642
+ --uc-primary-foreground: var(--uc-primary-foreground-light);
2643
+ --uc-secondary: var(--uc-secondary-light);
2644
+ --uc-secondary-hover: var(--uc-secondary-hover-light);
2645
+ --uc-secondary-foreground: var(--uc-secondary-foreground-light);
2646
+ --uc-muted: var(--uc-muted-light);
2647
+ --uc-muted-foreground: var(--uc-muted-foreground-light);
2648
+ --uc-destructive: var(--uc-destructive-light);
2649
+ --uc-destructive-foreground: var(--uc-destructive-foreground-light);
2650
+ --uc-border: var(--uc-border-light);
2651
+ --uc-dialog-shadow: var(--uc-dialog-shadow-light);
2652
+ --uc-simple-btn: var(--uc-simple-btn-light);
2653
+ --uc-simple-btn-hover: var(--uc-simple-btn-hover-light);
2654
+ --uc-simple-btn-foreground: var(--uc-simple-btn-foreground-light);
2655
+ }
2656
+ :where(.uc-dark):not(#\#) {
2657
+ --uc-background: var(--uc-background-dark);
2658
+ --uc-foreground: var(--uc-foreground-dark);
2659
+ --uc-primary: var(--uc-primary-dark);
2660
+ --uc-primary-hover: var(--uc-primary-hover-dark);
2661
+ --uc-primary-transparent: var(--uc-primary-transparent-dark);
2662
+ --uc-primary-foreground: var(--uc-primary-foreground-dark);
2663
+ --uc-secondary: var(--uc-secondary-dark);
2664
+ --uc-secondary-hover: var(--uc-secondary-hover-dark);
2665
+ --uc-secondary-foreground: var(--uc-secondary-foreground-dark);
2666
+ --uc-muted: var(--uc-muted-dark);
2667
+ --uc-muted-foreground: var(--uc-muted-foreground-dark);
2668
+ --uc-destructive: var(--uc-destructive-dark);
2669
+ --uc-destructive-foreground: var(--uc-destructive-foreground-dark);
2670
+ --uc-border: var(--uc-border-dark);
2671
+ --uc-dialog-shadow: var(--uc-dialog-shadow-dark);
2672
+ --uc-simple-btn: var(--uc-simple-btn-dark);
2673
+ --uc-simple-btn-hover: var(--uc-simple-btn-hover-dark);
2674
+ --uc-simple-btn-foreground: var(--uc-simple-btn-foreground-dark);
2675
+ }
2676
+ :where(.uc-purple):not(#\#) {
2677
+ --uc-primary-oklch-light: 47% 0.22 300;
2678
+ --uc-primary-oklch-dark: 69% 0.1768 300;
2679
+ }
2680
+ :where(.uc-red):not(#\#) {
2681
+ --uc-primary-oklch-light: 47% 0.21 21;
2682
+ --uc-primary-oklch-dark: 71% 0.1768 21;
2683
+ }
2684
+ :where(.uc-orange):not(#\#) {
2685
+ --uc-primary-oklch-light: 47% 0.1376 51.88;
2686
+ --uc-primary-oklch-dark: 69% 0.1768 51.88;
2687
+ }
2688
+ :where(.uc-green):not(#\#) {
2689
+ --uc-primary-oklch-light: 45% 0.14 130;
2690
+ --uc-primary-oklch-dark: 69% 0.1768 130;
2691
+ }
2692
+ :where(.uc-turquoise):not(#\#) {
2693
+ --uc-primary-oklch-light: 45% 0.0854 174;
2694
+ --uc-primary-oklch-dark: 69% 0.1768 174;
2695
+ }
2696
+ :where(.uc-gray):not(#\#) {
2697
+ --uc-primary-oklch-light: 10% 0 0;
2698
+ --uc-primary-oklch-dark: 97% 0 0;
2699
+ }
2700
+ :where(.uc-contrast):not(#\#) {
2701
+ --uc-border-light: oklch(50% 0 0);
2702
+ --uc-border-dark: oklch(50% 0 0);
2703
+
2704
+ --uc-muted-light: oklch(98% 0 0);
2705
+ --uc-muted-dark: oklch(16% 0 0);
2706
+
2707
+ --uc-muted-foreground-light: oklch(20% 0 0);
2708
+ --uc-muted-foreground-dark: oklch(80% 0 0);
2709
+
2710
+ --uc-background-light: oklch(100% 0 0);
2711
+ --uc-foreground-light: oklch(0% 0 0);
2712
+
2713
+ --uc-background-dark: oklch(10% 0 0);
2714
+ --uc-foreground-dark: oklch(100% 0 0);
2715
+ }
2716
+ /** biome-ignore-all lint/complexity/noImportantStyles: TODO: Refactor styles to get rid of !important rules */
2717
+ /* TODO: we should use basic theme there */
2718
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) {
2719
+ --color-primary-accent: var(--uc-primary);
2720
+ --color-text-base: var(--uc-foreground);
2721
+ --color-text-accent-contrast: var(--uc-background);
2722
+ --color-fill-contrast: var(--uc-background);
2723
+ --color-modal-backdrop: oklch(0% 0 0 / 0.1);
2724
+ --color-image-background: var(--uc-muted);
2725
+ --color-focus-ring: var(--color-primary-accent);
2726
+ --color-crop-guides: var(--uc-foreground);
2727
+
2728
+ --font-size-ui: var(--uc-font-size);
2729
+
2730
+ --size-touch-area: var(--uc-button-size);
2731
+ --size-panel-heading: calc(var(--uc-button-size) + var(--uc-padding) * 2);
2732
+ --size-ui-min-width: 130px;
2733
+ --size-line-width: 1px;
2734
+ --size-modal-width: 650px;
2735
+ --size-icon: calc(var(--uc-button-size) / 2);
2736
+
2737
+ /* TODO: remove icon size overrides */
2738
+
2739
+ --border-radius-editor: var(--uc-radius);
2740
+ --border-radius-thumb: var(--uc-radius);
2741
+ --border-radius-ui: var(--uc-radius);
2742
+ --border-radius-base: var(--uc-radius);
2743
+
2744
+ --cldtr-gap-min: 5px;
2745
+ --cldtr-gap-mid-1: 10px;
2746
+ --cldtr-gap-mid-2: 15px;
2747
+ --cldtr-gap-max: 20px;
2748
+
2749
+ --transition-duration-2: var(--transition-duration-all, 0.2s);
2750
+ --transition-duration-3: var(--transition-duration-all, 0.3s);
2751
+ --transition-duration-4: var(--transition-duration-all, 0.4s);
2752
+ --transition-duration-5: var(--transition-duration-all, 0.5s);
2753
+
2754
+ --modal-header-opacity: 1;
2755
+ --modal-header-height: var(--size-panel-heading);
2756
+ --modal-toolbar-height: var(--size-panel-heading);
2757
+
2758
+ --transparent-pixel: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=");
2759
+
2760
+ display: block;
2761
+ width: 100%;
2762
+ height: 100%;
2763
+ max-height: 100%;
2764
+ }
2765
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) :is([can-handle-paste]:hover, [can-handle-paste]:focus) {
2766
+ --can-handle-paste: "true";
2767
+ }
2768
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#)
2769
+ :is([tabindex]:focus-visible, [tabindex]:hover, [with-effects]:focus-visible, [with-effects]:hover) {
2770
+ --filter-effect: var(--hover-filter) !important;
2771
+ --opacity-effect: var(--hover-opacity) !important;
2772
+ --color-effect: var(--hover-color-rgb) !important;
2773
+ --background-effect: var(--hover-background) !important;
2774
+ }
2775
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) :is([tabindex]:active, [with-effects]:active) {
2776
+ --filter-effect: var(--down-filter) !important;
2777
+ --opacity-effect: var(--down-opacity) !important;
2778
+ --color-effect: var(--down-color-rgb) !important;
2779
+ --background-effect: var(--down-background) !important;
2780
+ }
2781
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) :is([tabindex][active], [with-effects][active]) {
2782
+ --filter-effect: var(--active-filter) !important;
2783
+ --opacity-effect: var(--active-opacity) !important;
2784
+ --color-effect: var(--active-color-rgb) !important;
2785
+ --background-effect: var(--active-background) !important;
2786
+ }
2787
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) [hidden-scrollbar]::-webkit-scrollbar {
2788
+ display: none;
2789
+ }
2790
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) [hidden-scrollbar] {
2791
+ -ms-overflow-style: none;
2792
+ scrollbar-width: none;
2793
+ }
2794
+ [uc-cloud-image-editor].uc-editor_ON:not(#\#):not(#\#):not(#\#) {
2795
+ --modal-header-opacity: 0;
2796
+ --modal-header-height: 0px;
2797
+ --modal-toolbar-height: calc(var(--size-panel-heading) * 2);
2798
+ }
2799
+ [uc-cloud-image-editor].uc-editor_OFF:not(#\#):not(#\#):not(#\#) {
2800
+ --modal-header-opacity: 1;
2801
+ --modal-header-height: var(--size-panel-heading);
2802
+ --modal-toolbar-height: var(--size-panel-heading);
2803
+ }
2804
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) > .uc-wrapper {
2805
+ --l-min-img-height: var(--modal-toolbar-height);
2806
+ --l-max-img-height: 100%;
2807
+ --l-edit-button-width: 120px;
2808
+ --l-toolbar-horizontal-padding: var(--cldtr-gap-mid-1);
2809
+
2810
+ position: relative;
2811
+ display: grid;
2812
+ grid-template-rows: minmax(var(--l-min-img-height), var(--l-max-img-height)) minmax(
2813
+ var(--modal-toolbar-height),
2814
+ auto
2815
+ );
2816
+ height: 100%;
2817
+ overflow: hidden;
2818
+ overflow-y: auto;
2819
+ }
2820
+ @media only screen and (max-width: 800px) {
2821
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) > .uc-wrapper {
2822
+ --l-edit-button-width: 70px;
2823
+ --l-toolbar-horizontal-padding: var(--cldtr-gap-min);
2824
+ }
2825
+ }
2826
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) > .uc-wrapper > .uc-viewport {
2827
+ display: flex;
2828
+ align-items: center;
2829
+ justify-content: center;
2830
+ overflow: hidden;
2831
+ }
2832
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) > .uc-wrapper > .uc-viewport > .uc-image_container > .uc-image {
2833
+ --viewer-image-opacity: 1;
2834
+
2835
+ position: absolute;
2836
+ top: 0px;
2837
+ left: 0px;
2838
+ z-index: 10;
2839
+ display: block;
2840
+ box-sizing: border-box;
2841
+ width: 100%;
2842
+ height: 100%;
2843
+ object-fit: scale-down;
2844
+ background-color: var(--color-image-background);
2845
+ transform: scale(1);
2846
+ opacity: var(--viewer-image-opacity);
2847
+ user-select: none;
2848
+ pointer-events: auto;
2849
+ }
2850
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) > .uc-wrapper > .uc-viewport > .uc-image_container > .uc-image.uc-image_visible_viewer {
2851
+ transition:
2852
+ opacity var(--transition-duration-3) ease-in-out,
2853
+ transform var(--transition-duration-4);
2854
+ }
2855
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) > .uc-wrapper > .uc-viewport > .uc-image_container > .uc-image.uc-image_hidden_to_cropper {
2856
+ --viewer-image-opacity: 0;
2857
+
2858
+ background-image: var(--transparent-pixel);
2859
+ transform: scale(1);
2860
+ transition:
2861
+ transform var(--transition-duration-4),
2862
+ opacity var(--transition-duration-3) steps(1, jump-end);
2863
+ pointer-events: none;
2864
+ }
2865
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) > .uc-wrapper > .uc-viewport > .uc-image_container > .uc-image.uc-image_hidden_effects {
2866
+ --viewer-image-opacity: 0;
2867
+
2868
+ transform: scale(1);
2869
+ transition:
2870
+ opacity var(--transition-duration-3) cubic-bezier(0.5, 0, 1, 1),
2871
+ transform var(--transition-duration-4);
2872
+ pointer-events: none;
2873
+ }
2874
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) > .uc-wrapper > .uc-viewport > .uc-image_container {
2875
+ position: relative;
2876
+ display: block;
2877
+ width: 100%;
2878
+ height: 100%;
2879
+ background-color: var(--color-image-background);
2880
+ transition: var(--transition-duration-3);
2881
+ }
2882
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) > .uc-wrapper > .uc-toolbar {
2883
+ position: relative;
2884
+ transition: 0.3s;
2885
+ }
2886
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) > .uc-wrapper > .uc-toolbar > .uc-toolbar_content {
2887
+ position: absolute;
2888
+ bottom: 0px;
2889
+ left: 0px;
2890
+ box-sizing: border-box;
2891
+ width: 100%;
2892
+ height: var(--modal-toolbar-height);
2893
+ min-height: var(--size-panel-heading);
2894
+ background-color: var(--color-fill-contrast);
2895
+ }
2896
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) > .uc-wrapper > .uc-toolbar > .uc-toolbar_content.uc-toolbar_content__viewer {
2897
+ display: flex;
2898
+ align-items: center;
2899
+ justify-content: space-between;
2900
+ height: var(--size-panel-heading);
2901
+ padding-right: var(--l-toolbar-horizontal-padding);
2902
+ padding-left: var(--l-toolbar-horizontal-padding);
2903
+ }
2904
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) > .uc-wrapper > .uc-toolbar > .uc-toolbar_content.uc-toolbar_content__editor {
2905
+ display: flex;
2906
+ }
2907
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) > .uc-wrapper > .uc-viewport > .uc-info_pan {
2908
+ position: absolute;
2909
+ user-select: none;
2910
+ }
2911
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) > .uc-wrapper > .uc-viewport > .uc-file_type_outer {
2912
+ position: absolute;
2913
+ z-index: 2;
2914
+ display: flex;
2915
+ max-width: 120px;
2916
+ transform: translateX(-40px);
2917
+ user-select: none;
2918
+ }
2919
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) > .uc-wrapper > .uc-viewport > .uc-file_type_outer > .uc-file_type {
2920
+ padding: 4px 0.8em;
2921
+ }
2922
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) > .uc-wrapper > .uc-network_problems_splash {
2923
+ position: absolute;
2924
+ z-index: 999;
2925
+ display: flex;
2926
+ flex-direction: column;
2927
+ width: 100%;
2928
+ height: 100%;
2929
+ background-color: var(--color-fill-contrast);
2930
+ }
2931
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) > .uc-wrapper > .uc-network_problems_splash > .uc-network_problems_content {
2932
+ display: flex;
2933
+ flex: 1;
2934
+ flex-direction: column;
2935
+ align-items: center;
2936
+ justify-content: center;
2937
+ }
2938
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#)
2939
+ > .uc-wrapper
2940
+ > .uc-network_problems_splash
2941
+ > .uc-network_problems_content
2942
+ > .uc-network_problems_icon {
2943
+ display: flex;
2944
+ align-items: center;
2945
+ justify-content: center;
2946
+ width: 40px;
2947
+ height: 40px;
2948
+ color: var(--uc-foreground);
2949
+ background-color: var(--uc-muted);
2950
+ border-radius: 50%;
2951
+ }
2952
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#)
2953
+ > .uc-wrapper
2954
+ > .uc-network_problems_splash
2955
+ > .uc-network_problems_content
2956
+ > .uc-network_problems_text {
2957
+ margin-top: var(--cldtr-gap-max);
2958
+ font-size: var(--font-size-ui);
2959
+ color: var(--uc-foreground);
2960
+ }
2961
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) > .uc-wrapper > .uc-network_problems_splash > .uc-network_problems_footer {
2962
+ display: flex;
2963
+ align-items: center;
2964
+ justify-content: center;
2965
+ height: var(--size-panel-heading);
2966
+ }
2967
+ uc-crop-frame:not(#\#):not(#\#):not(#\#) > .uc-svg {
2968
+ position: absolute;
2969
+ top: 0px;
2970
+ left: 0px;
2971
+ z-index: 2;
2972
+ width: 100%;
2973
+ height: 100%;
2974
+ border-top-left-radius: var(--border-radius-base);
2975
+ border-top-right-radius: var(--border-radius-base);
2976
+ opacity: inherit;
2977
+ transition: var(--transition-duration-3);
2978
+ }
2979
+ uc-crop-frame:not(#\#):not(#\#):not(#\#) > .uc-thumb {
2980
+ --idle-color-rgb: var(--color-text-base);
2981
+ --hover-color-rgb: var(--color-primary-accent);
2982
+ --focus-color-rgb: var(--color-primary-accent);
2983
+ --down-color-rgb: var(--color-primary-accent);
2984
+ --color-effect: var(--idle-color-rgb);
2985
+
2986
+ color: var(--color-effect);
2987
+ transition:
2988
+ color var(--transition-duration-3),
2989
+ opacity var(--transition-duration-3);
2990
+ }
2991
+ uc-crop-frame:not(#\#):not(#\#):not(#\#) .uc-thumb--visible {
2992
+ opacity: 1;
2993
+ pointer-events: auto;
2994
+ }
2995
+ uc-crop-frame:not(#\#):not(#\#):not(#\#) .uc-thumb--hidden {
2996
+ opacity: 0;
2997
+ pointer-events: none;
2998
+ }
2999
+ uc-crop-frame:not(#\#):not(#\#):not(#\#) .uc-guides {
3000
+ transition: var(--transition-duration-3);
3001
+ }
3002
+ uc-crop-frame:not(#\#):not(#\#):not(#\#) .uc-guides--hidden {
3003
+ opacity: 0;
3004
+ }
3005
+ uc-crop-frame:not(#\#):not(#\#):not(#\#) .uc-guides--semi-hidden {
3006
+ opacity: 0.2;
3007
+ }
3008
+ uc-crop-frame:not(#\#):not(#\#):not(#\#) .uc-guides--visible {
3009
+ opacity: 1;
3010
+ }
3011
+ uc-editor-button-control:not(#\#):not(#\#):not(#\#),
3012
+ uc-editor-crop-button-control:not(#\#):not(#\#):not(#\#),
3013
+ uc-editor-aspect-ratio-button-control:not(#\#):not(#\#):not(#\#),
3014
+ uc-editor-freeform-button-control:not(#\#):not(#\#):not(#\#),
3015
+ uc-editor-filter-control:not(#\#):not(#\#):not(#\#),
3016
+ uc-editor-operation-control:not(#\#):not(#\#):not(#\#) {
3017
+ --l-base-min-width: var(--uc-button-size);
3018
+ --l-base-height: var(--uc-button-size);
3019
+ --opacity-effect: var(--idle-opacity);
3020
+ --color-effect: var(--idle-color-rgb);
3021
+ --background-effect: var(--idle-background);
3022
+ --filter-effect: var(--idle-filter);
3023
+
3024
+ --idle-color-rgb: var(--uc-secondary-foreground);
3025
+ --idle-opacity: 1;
3026
+ --idle-filter: 1;
3027
+ --idle-background: var(--uc-secondary);
3028
+ --hover-color-rgb: var(--uc-secondary-foreground);
3029
+ --hover-opacity: 1;
3030
+ --hover-filter: 0.8;
3031
+ --hover-background: var(--uc-secondary-hover);
3032
+ --down-color-rgb: var(--hover-color-rgb);
3033
+ --down-opacity: 1;
3034
+ --down-filter: 0.6;
3035
+ --down-background: var(--uc-secondary);
3036
+
3037
+ border-radius: var(--uc-radius);
3038
+ }
3039
+ uc-editor-button-control:not(#\#):not(#\#):not(#\#) > button,
3040
+ uc-editor-crop-button-control:not(#\#):not(#\#):not(#\#) > button,
3041
+ uc-editor-aspect-ratio-button-control:not(#\#):not(#\#):not(#\#) > button,
3042
+ uc-editor-freeform-button-control:not(#\#):not(#\#):not(#\#) > button,
3043
+ uc-editor-filter-control:not(#\#):not(#\#):not(#\#) > button,
3044
+ uc-editor-operation-control:not(#\#):not(#\#):not(#\#) > button {
3045
+ all: unset;
3046
+ position: relative;
3047
+ display: grid;
3048
+ grid-template-columns: var(--l-base-min-width) auto;
3049
+ grid-template-rows: 100%;
3050
+ align-items: center;
3051
+ height: var(--l-base-height);
3052
+ color: var(--color-effect);
3053
+ opacity: var(--opacity-effect);
3054
+ cursor: pointer;
3055
+ transition: var(--l-width-transition);
3056
+ }
3057
+ uc-editor-freeform-button-control:not(#\#):not(#\#):not(#\#) > button {
3058
+ grid-template-columns: auto var(--l-base-min-width);
3059
+ }
3060
+ uc-editor-freeform-button-control:not(#\#):not(#\#):not(#\#) > button > uc-icon {
3061
+ margin-left: var(--cldtr-gap-mid-1);
3062
+ width: 10px;
3063
+ }
3064
+ :where(
3065
+ uc-editor-button-control,
3066
+ uc-editor-crop-button-control,
3067
+ uc-editor-aspect-ratio-button-control,
3068
+ uc-editor-freeform-button-control,
3069
+ uc-editor-filter-control,
3070
+ uc-editor-operation-control
3071
+ ):not(#\#):not(#\#):not(#\#)
3072
+ > uc-icon
3073
+ > svg {
3074
+ width: var(--size-icon);
3075
+ height: var(--size-icon);
3076
+ }
3077
+ uc-editor-filter-control:not(#\#):not(#\#):not(#\#) > uc-icon.uc-original-icon > svg {
3078
+ width: 100%;
3079
+ height: 100%;
3080
+ }
3081
+ uc-editor-button-control.uc-active:not(#\#):not(#\#):not(#\#),
3082
+ uc-editor-operation-control.uc-active:not(#\#):not(#\#):not(#\#),
3083
+ uc-editor-crop-button-control.uc-active:not(#\#):not(#\#):not(#\#),
3084
+ uc-editor-aspect-ratio-button-control.uc-active:not(#\#):not(#\#):not(#\#),
3085
+ uc-editor-freeform-button-control.uc-active:not(#\#):not(#\#):not(#\#),
3086
+ uc-editor-filter-control.uc-active:not(#\#):not(#\#):not(#\#) {
3087
+ --idle-color-rgb: var(--uc-primary-foreground);
3088
+ --idle-background: var(--uc-primary);
3089
+ --idle-opacity: 1;
3090
+ --hover-color-rgb: var(--uc-primary-foreground);
3091
+ --hover-background: var(--uc-primary);
3092
+ --hover-opacity: 1;
3093
+ }
3094
+ uc-editor-button-control.uc-not_active:not(#\#):not(#\#):not(#\#),
3095
+ uc-editor-operation-control.uc-not_active:not(#\#):not(#\#):not(#\#),
3096
+ uc-editor-crop-button-control.uc-not_active:not(#\#):not(#\#):not(#\#),
3097
+ uc-editor-aspect-ratio-button-control.uc-not_active:not(#\#):not(#\#):not(#\#),
3098
+ uc-editor-freeform-button-control.uc-not_active:not(#\#):not(#\#):not(#\#),
3099
+ uc-editor-filter-control.uc-not_active:not(#\#):not(#\#):not(#\#) {
3100
+ --idle-color-rgb: var(--uc-secondary-foreground);
3101
+ }
3102
+ :where(.uc-contrast):not(#\#):not(#\#):not(#\#) uc-editor-button-control.uc-not_active,
3103
+ :where(.uc-contrast):not(#\#):not(#\#):not(#\#) uc-editor-operation-control.uc-not_active,
3104
+ :where(.uc-contrast):not(#\#):not(#\#):not(#\#) uc-editor-crop-button-control.uc-not_active,
3105
+ :where(.uc-contrast):not(#\#):not(#\#):not(#\#) uc-editor-freeform-button-control.uc-not_active,
3106
+ :where(.uc-contrast):not(#\#):not(#\#):not(#\#) uc-editor-aspect-ratio-button-control.uc-not_active,
3107
+ :where(.uc-contrast):not(#\#):not(#\#):not(#\#) uc-editor-filter-control.uc-not_active {
3108
+ --idle-background: transparent;
3109
+ --hover-background: var(--uc-secondary);
3110
+
3111
+ outline: 1px solid var(--uc-border);
3112
+ outline-offset: -1px;
3113
+ }
3114
+ uc-editor-button-control:not(#\#):not(#\#):not(#\#) > button::before,
3115
+ uc-editor-operation-control:not(#\#):not(#\#):not(#\#) > button::before,
3116
+ uc-editor-crop-button-control:not(#\#):not(#\#):not(#\#) > button::before,
3117
+ uc-editor-freeform-button-control:not(#\#):not(#\#):not(#\#) > button::before,
3118
+ uc-editor-aspect-ratio-button-control:not(#\#):not(#\#):not(#\#) > button::before,
3119
+ uc-editor-filter-control:not(#\#):not(#\#):not(#\#) > button::before {
3120
+ position: absolute;
3121
+ content: "";
3122
+ right: 0;
3123
+ left: 0;
3124
+ z-index: -1;
3125
+ width: 100%;
3126
+ height: 100%;
3127
+ background-color: var(--background-effect);
3128
+ border-radius: var(--border-radius-editor);
3129
+ transition: var(--transition-duration-3);
3130
+ }
3131
+ uc-editor-button-control:not(#\#):not(#\#):not(#\#) > button .uc-title,
3132
+ uc-editor-operation-control:not(#\#):not(#\#):not(#\#) > button .uc-title,
3133
+ uc-editor-crop-button-control:not(#\#):not(#\#):not(#\#) > button .uc-title,
3134
+ uc-editor-aspect-ratio-button-control:not(#\#):not(#\#):not(#\#) > button .uc-title,
3135
+ uc-editor-freeform-button-control:not(#\#):not(#\#):not(#\#) > button .uc-title,
3136
+ uc-editor-filter-control:not(#\#):not(#\#):not(#\#) > button .uc-title {
3137
+ padding-right: var(--cldtr-gap-mid-1);
3138
+ font-size: 0.7em;
3139
+ letter-spacing: 1.004px;
3140
+ text-transform: uppercase;
3141
+ }
3142
+ uc-editor-freeform-button-control:not(#\#):not(#\#):not(#\#) > button .uc-title {
3143
+ padding-left: var(--cldtr-gap-mid-1);
3144
+ padding-right: 0;
3145
+ }
3146
+ uc-editor-button-control:not(#\#):not(#\#):not(#\#) > button uc-icon,
3147
+ uc-editor-operation-control:not(#\#):not(#\#):not(#\#) > button uc-icon,
3148
+ uc-editor-crop-button-control:not(#\#):not(#\#):not(#\#) > button uc-icon,
3149
+ uc-editor-aspect-ratio-button-control:not(#\#):not(#\#):not(#\#) > button uc-icon,
3150
+ uc-editor-freeform-button-control:not(#\#):not(#\#):not(#\#) > button uc-icon,
3151
+ uc-editor-filter-control:not(#\#):not(#\#):not(#\#) > button uc-icon {
3152
+ pointer-events: none;
3153
+ }
3154
+ uc-editor-filter-control:not(#\#):not(#\#):not(#\#) > button .uc-preview {
3155
+ position: absolute;
3156
+ right: 0;
3157
+ left: 0;
3158
+ z-index: -1;
3159
+ width: 100%;
3160
+ height: var(--l-base-height);
3161
+ background-repeat: no-repeat;
3162
+ background-size: contain;
3163
+ border-radius: var(--border-radius-editor);
3164
+ opacity: 0;
3165
+ filter: brightness(var(--filter-effect));
3166
+ transition: var(--transition-duration-3);
3167
+ }
3168
+ uc-editor-filter-control.uc-not_active:not(#\#):not(#\#):not(#\#) .uc-preview[data-loaded] {
3169
+ opacity: 1;
3170
+ }
3171
+ uc-editor-filter-control.uc-active:not(#\#):not(#\#):not(#\#) .uc-preview {
3172
+ opacity: 0;
3173
+ }
3174
+ uc-editor-filter-control:not(#\#):not(#\#):not(#\#) > .uc-original-icon {
3175
+ color: var(--color-effect);
3176
+ opacity: 0.3;
3177
+ }
3178
+ uc-editor-image-cropper:not(#\#):not(#\#):not(#\#) {
3179
+ position: absolute;
3180
+ top: 0px;
3181
+ left: 0px;
3182
+ z-index: 10;
3183
+ display: block;
3184
+ width: 100%;
3185
+ height: 100%;
3186
+ opacity: 0;
3187
+ pointer-events: none;
3188
+ touch-action: none;
3189
+ color: var(--color-crop-guides);
3190
+ }
3191
+ uc-editor-image-cropper.uc-active_from_editor:not(#\#):not(#\#):not(#\#) {
3192
+ transform: scale(1) translate(0px, 0px);
3193
+ opacity: 1;
3194
+ transition:
3195
+ transform var(--transition-duration-4) cubic-bezier(0.37, 0, 0.63, 1) 0.4s,
3196
+ opacity var(--transition-duration-3);
3197
+ pointer-events: auto;
3198
+ }
3199
+ uc-editor-image-cropper.uc-active_from_viewer:not(#\#):not(#\#):not(#\#) {
3200
+ transform: scale(1) translate(0px, 0px);
3201
+ opacity: 1;
3202
+ transition:
3203
+ transform var(--transition-duration-4) cubic-bezier(0.37, 0, 0.63, 1) 0.4s,
3204
+ opacity var(--transition-duration-3);
3205
+ pointer-events: auto;
3206
+ }
3207
+ uc-editor-image-cropper.uc-inactive_to_editor:not(#\#):not(#\#):not(#\#) {
3208
+ opacity: 0;
3209
+ transition:
3210
+ transform var(--transition-duration-4) cubic-bezier(0.37, 0, 0.63, 1),
3211
+ opacity var(--transition-duration-3) calc(var(--transition-duration-3) + 0.05s);
3212
+ pointer-events: none;
3213
+ }
3214
+ uc-editor-image-cropper:not(#\#):not(#\#):not(#\#) > .uc-canvas {
3215
+ position: absolute;
3216
+ top: 0px;
3217
+ left: 0px;
3218
+ z-index: 1;
3219
+ display: block;
3220
+ width: 100%;
3221
+ height: 100%;
3222
+ }
3223
+ uc-editor-image-fader:not(#\#):not(#\#):not(#\#) {
3224
+ position: absolute;
3225
+ top: 0px;
3226
+ left: 0px;
3227
+ display: block;
3228
+ width: 100%;
3229
+ height: 100%;
3230
+ }
3231
+ uc-editor-image-fader.uc-active_from_viewer:not(#\#):not(#\#):not(#\#) {
3232
+ z-index: 3;
3233
+ transform: scale(1);
3234
+ opacity: 1;
3235
+ transition:
3236
+ transform var(--transition-duration-4),
3237
+ opacity var(--transition-duration-3) steps(1, jump-start);
3238
+ pointer-events: auto;
3239
+ }
3240
+ uc-editor-image-fader.uc-active_from_cropper:not(#\#):not(#\#):not(#\#) {
3241
+ z-index: 3;
3242
+ transform: scale(1);
3243
+ opacity: 1;
3244
+ transition:
3245
+ transform var(--transition-duration-4),
3246
+ opacity var(--transition-duration-3) steps(1, jump-end);
3247
+ pointer-events: auto;
3248
+ }
3249
+ uc-editor-image-fader.uc-inactive_to_cropper:not(#\#):not(#\#):not(#\#) {
3250
+ z-index: 3;
3251
+ transform: scale(1);
3252
+ opacity: 0;
3253
+ transition:
3254
+ transform var(--transition-duration-4),
3255
+ opacity var(--transition-duration-3) steps(1, jump-end);
3256
+ pointer-events: none;
3257
+ }
3258
+ uc-editor-image-fader:not(#\#):not(#\#):not(#\#) .uc-fader-image {
3259
+ position: absolute;
3260
+ top: 0px;
3261
+ left: 0px;
3262
+ display: block;
3263
+ width: 100%;
3264
+ height: 100%;
3265
+ object-fit: scale-down;
3266
+ transform: scale(1);
3267
+ user-select: none;
3268
+ content-visibility: auto;
3269
+ }
3270
+ uc-editor-image-fader:not(#\#):not(#\#):not(#\#) .uc-fader-image--preview {
3271
+ background-color: var(--color-image-background);
3272
+ border-top-left-radius: var(--border-radius-base);
3273
+ border-top-right-radius: var(--border-radius-base);
3274
+ transform: scale(1);
3275
+ opacity: 0;
3276
+ transition: var(--transition-duration-3);
3277
+ }
3278
+ uc-editor-scroller:not(#\#):not(#\#):not(#\#) {
3279
+ display: flex;
3280
+ align-items: center;
3281
+ width: 100%;
3282
+ height: 100%;
3283
+ overflow-x: scroll;
3284
+ }
3285
+ uc-editor-slider:not(#\#):not(#\#):not(#\#) {
3286
+ display: flex;
3287
+ align-items: center;
3288
+ justify-content: center;
3289
+ width: 100%;
3290
+ height: var(--size-panel-heading);
3291
+ }
3292
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#) {
3293
+ position: relative;
3294
+ width: 100%;
3295
+ height: 100%;
3296
+ }
3297
+ @media only screen and (max-width: 600px) {
3298
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#) {
3299
+ --l-tab-gap: var(--cldtr-gap-mid-1);
3300
+ --l-slider-padding: var(--uc-padding);
3301
+ --l-controls-padding: var(--uc-padding);
3302
+ }
3303
+ }
3304
+ @media only screen and (min-width: 601px) {
3305
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#) {
3306
+ --l-tab-gap: var(--cldtr-gap-max);
3307
+ --l-slider-padding: var(--uc-padding);
3308
+ --l-controls-padding: var(--uc-padding);
3309
+ }
3310
+ }
3311
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#) > .uc-toolbar-container {
3312
+ position: relative;
3313
+ width: 100%;
3314
+ height: 100%;
3315
+ overflow: hidden;
3316
+ }
3317
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#) > .uc-toolbar-container > .uc-sub-toolbar {
3318
+ position: absolute;
3319
+ display: grid;
3320
+ grid-template-rows: 1fr 1fr;
3321
+ width: 100%;
3322
+ height: 100%;
3323
+ background-color: var(--color-fill-contrast);
3324
+ transition:
3325
+ opacity var(--transition-duration-3) ease-in-out,
3326
+ transform var(--transition-duration-3) ease-in-out,
3327
+ visibility var(--transition-duration-3) ease-in-out;
3328
+ }
3329
+ .uc-sub-toolbar:not(#\#):not(#\#):not(#\#) > .uc-list-aspect-ratio-container > .uc-list-aspect-ratio {
3330
+ display: grid;
3331
+ grid-auto-flow: column;
3332
+ justify-content: center;
3333
+ align-items: center;
3334
+ gap: 6px;
3335
+ height: var(--size-panel-heading);
3336
+ }
3337
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#) > .uc-toolbar-container > .uc-sub-toolbar.uc-sub-toolbar--visible {
3338
+ transform: translateY(0px);
3339
+ opacity: 1;
3340
+ pointer-events: auto;
3341
+ }
3342
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#) > .uc-toolbar-container > .uc-sub-toolbar.uc-sub-toolbar--top-hidden {
3343
+ transform: translateY(100%);
3344
+ opacity: 0;
3345
+ pointer-events: none;
3346
+ }
3347
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#) > .uc-toolbar-container > .uc-sub-toolbar.uc-sub-toolbar--bottom-hidden {
3348
+ transform: translateY(-100%);
3349
+ opacity: 0;
3350
+ pointer-events: none;
3351
+ }
3352
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#) > .uc-toolbar-container > .uc-sub-toolbar > .uc-controls-row {
3353
+ display: flex;
3354
+ align-items: center;
3355
+ justify-content: space-between;
3356
+ padding-right: var(--l-controls-padding);
3357
+ padding-left: var(--l-controls-padding);
3358
+ }
3359
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#) > .uc-toolbar-container > .uc-sub-toolbar > .uc-controls-row > .uc-tab-toggles {
3360
+ position: relative;
3361
+ display: grid;
3362
+ grid-auto-flow: column;
3363
+ gap: 0px var(--l-tab-gap);
3364
+ align-items: center;
3365
+ height: 100%;
3366
+ }
3367
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#)
3368
+ > .uc-toolbar-container
3369
+ > .uc-sub-toolbar
3370
+ > .uc-controls-row
3371
+ > .uc-tab-toggles
3372
+ > .uc-tab-toggles_indicator {
3373
+ position: absolute;
3374
+ bottom: 0px;
3375
+ left: 0px;
3376
+ width: var(--size-touch-area);
3377
+ height: 2px;
3378
+ background-color: var(--uc-secondary-foreground);
3379
+ transform: translateX(0px);
3380
+ transition: transform var(--transition-duration-3);
3381
+ }
3382
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#) > .uc-toolbar-container > .uc-sub-toolbar > .uc-tab-content-row {
3383
+ position: relative;
3384
+ }
3385
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#) > .uc-toolbar-container > .uc-sub-toolbar > .uc-tab-content-row > .uc-tab-content {
3386
+ position: absolute;
3387
+ top: 0px;
3388
+ left: 0px;
3389
+ display: flex;
3390
+ width: 100%;
3391
+ height: 100%;
3392
+ overflow: hidden;
3393
+ content-visibility: auto;
3394
+ }
3395
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#)
3396
+ > .uc-toolbar-container
3397
+ > .uc-sub-toolbar
3398
+ > .uc-controls-row
3399
+ > .uc-tab-toggles
3400
+ > .uc-tab-toggle.uc-tab-toggle--visible {
3401
+ display: contents;
3402
+ }
3403
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#)
3404
+ > .uc-toolbar-container
3405
+ > .uc-sub-toolbar
3406
+ > .uc-controls-row
3407
+ > .uc-tab-toggles
3408
+ > .uc-tab-toggle.uc-tab-toggle--hidden {
3409
+ display: none;
3410
+ }
3411
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#)
3412
+ > .uc-toolbar-container
3413
+ > .uc-sub-toolbar
3414
+ > .uc-controls-row
3415
+ > .uc-tab-toggles.uc-tab-toggles--hidden {
3416
+ display: none;
3417
+ }
3418
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#)
3419
+ > .uc-toolbar-container
3420
+ > .uc-sub-toolbar
3421
+ > .uc-controls-row
3422
+ > .uc-tab-toggles
3423
+ > .uc-tab-toggle
3424
+ > uc-btn-ui {
3425
+ width: var(--uc-button-size);
3426
+ }
3427
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#)
3428
+ > .uc-toolbar-container
3429
+ > .uc-sub-toolbar
3430
+ > .uc-controls-row
3431
+ > .uc-tab-toggles
3432
+ > .uc-tab-toggle
3433
+ > uc-btn-ui
3434
+ > uc-icon
3435
+ > svg {
3436
+ width: var(--size-icon);
3437
+ height: var(--size-icon);
3438
+ }
3439
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#)
3440
+ > .uc-toolbar-container
3441
+ > .uc-sub-toolbar
3442
+ > .uc-tab-content-row
3443
+ > .uc-tab-content
3444
+ .uc-controls-list_align {
3445
+ display: grid;
3446
+ grid-template-areas: ". inner .";
3447
+ grid-template-columns: 1fr auto 1fr;
3448
+ box-sizing: border-box;
3449
+ min-width: 100%;
3450
+ padding-left: var(--uc-padding);
3451
+ }
3452
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#)
3453
+ > .uc-toolbar-container
3454
+ > .uc-sub-toolbar
3455
+ > .uc-tab-content-row
3456
+ > .uc-tab-content
3457
+ .uc-controls-list_inner {
3458
+ display: grid;
3459
+ grid-area: inner;
3460
+ grid-auto-flow: column;
3461
+ gap: 6px;
3462
+ }
3463
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#)
3464
+ > .uc-toolbar-container
3465
+ > .uc-sub-toolbar
3466
+ > .uc-tab-content-row
3467
+ > .uc-tab-content
3468
+ .uc-controls-list_inner:last-child {
3469
+ padding-right: var(--uc-padding);
3470
+ }
3471
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#) .uc-info-tooltip_container {
3472
+ position: absolute;
3473
+ display: flex;
3474
+ align-items: flex-start;
3475
+ justify-content: center;
3476
+ width: 100%;
3477
+ height: 100%;
3478
+ }
3479
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#) .uc-info-tooltip_wrapper {
3480
+ position: absolute;
3481
+ top: calc(-100% - var(--cldtr-gap-mid-2));
3482
+ display: flex;
3483
+ flex-direction: column;
3484
+ justify-content: flex-end;
3485
+ height: 100%;
3486
+ pointer-events: none;
3487
+ }
3488
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#) .uc-info-tooltip {
3489
+ z-index: 10;
3490
+ padding: 3px 6px;
3491
+ color: var(--color-text-base);
3492
+ font-size: 0.7em;
3493
+ letter-spacing: 1px;
3494
+ text-transform: uppercase;
3495
+ background-color: var(--color-text-accent-contrast);
3496
+ border-radius: var(--border-radius-editor);
3497
+ transform: translateY(100%);
3498
+ opacity: 0;
3499
+ transition: var(--transition-duration-3);
3500
+ }
3501
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#) .uc-info-tooltip_visible {
3502
+ transform: translateY(0px);
3503
+ opacity: 1;
3504
+ }
3505
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#) .uc-slider {
3506
+ padding-right: var(--l-slider-padding);
3507
+ padding-left: var(--l-slider-padding);
3508
+ }
3509
+ uc-btn-ui:not(#\#):not(#\#):not(#\#) > button {
3510
+ --filter-effect: var(--idle-brightness);
3511
+ --opacity-effect: var(--idle-opacity);
3512
+ --color-effect: var(--idle-color-rgb);
3513
+ --background-effect: var(--idle-background);
3514
+ --l-transition-effect: var(
3515
+ --css-transition,
3516
+ color var(--transition-duration-2),
3517
+ background-color var(--transition-duration-2),
3518
+ filter var(--transition-duration-2)
3519
+ );
3520
+
3521
+ all: unset;
3522
+ display: inline-flex;
3523
+ align-items: center;
3524
+ box-sizing: var(--css-box-sizing, border-box);
3525
+ height: var(--css-height, var(--uc-button-size));
3526
+ padding-right: var(--css-padding-right, 14px);
3527
+ padding-left: var(--css-padding-left, 14px);
3528
+ font-size: 1em;
3529
+ color: var(--color-effect);
3530
+ background-color: var(--background-effect);
3531
+ border-radius: var(--uc-radius);
3532
+ opacity: var(--opacity-effect);
3533
+ cursor: pointer;
3534
+ filter: brightness(var(--filter-effect));
3535
+ transition: var(--l-transition-effect);
3536
+ user-select: none;
3537
+ }
3538
+ uc-btn-ui:not(#\#):not(#\#):not(#\#) > button > uc-icon {
3539
+ pointer-events: none;
3540
+ }
3541
+ uc-btn-ui:not(#\#):not(#\#):not(#\#) .uc-text {
3542
+ white-space: nowrap;
3543
+ }
3544
+ uc-btn-ui:not(#\#):not(#\#):not(#\#) .uc-icon {
3545
+ display: flex;
3546
+ align-items: center;
3547
+ justify-content: center;
3548
+ color: var(--color-effect);
3549
+ filter: brightness(var(--filter-effect));
3550
+ transition: var(--l-transition-effect);
3551
+ }
3552
+ uc-btn-ui:not(#\#):not(#\#):not(#\#) .uc-icon_left {
3553
+ margin-right: var(--cldtr-gap-mid-1);
3554
+ margin-left: 0px;
3555
+ }
3556
+ uc-btn-ui:not(#\#):not(#\#):not(#\#) .uc-icon_right {
3557
+ margin-right: 0px;
3558
+ margin-left: var(--cldtr-gap-mid-1);
3559
+ }
3560
+ uc-btn-ui:not(#\#):not(#\#):not(#\#) .uc-icon_single {
3561
+ margin-right: 0px;
3562
+ margin-left: 0px;
3563
+ }
3564
+ uc-btn-ui:not(#\#):not(#\#):not(#\#) .uc-icon_hidden {
3565
+ display: none;
3566
+ margin: 0;
3567
+ }
3568
+ uc-btn-ui.uc-primary:not(#\#):not(#\#):not(#\#) > button {
3569
+ --idle-color-rgb: var(--uc-primary-foreground);
3570
+ --idle-brightness: 1;
3571
+ --idle-opacity: 1;
3572
+ --idle-background: var(--uc-primary);
3573
+ --hover-color-rgb: var(--uc-primary-foreground);
3574
+ --hover-brightness: 1;
3575
+ --hover-opacity: 1;
3576
+ --hover-background: var(--uc-primary-hover);
3577
+ --down-color-rgb: var(--uc-primary-foreground);
3578
+ --down-brightness: 0.75;
3579
+ --down-opacity: 1;
3580
+ --down-background: var(--uc-primary);
3581
+ --active-color-rgb: var(--uc-primary-foreground);
3582
+ --active-brightness: 1;
3583
+ --active-opacity: 1;
3584
+ --active-background: var(--uc-primary);
3585
+ }
3586
+ uc-btn-ui.uc-primary-icon:not(#\#):not(#\#):not(#\#) > button {
3587
+ --idle-color-rgb: var(--uc-primary);
3588
+ --idle-brightness: 1;
3589
+ --idle-opacity: 1;
3590
+ --idle-background: transparent;
3591
+ --hover-color-rgb: var(--uc-primary);
3592
+ --hover-brightness: 1;
3593
+ --hover-opacity: 1;
3594
+ --hover-background: var(--uc-primary-transparent);
3595
+ --down-color-rgb: var(--uc-primary);
3596
+ --down-brightness: 0.75;
3597
+ --down-opacity: 1;
3598
+ --down-background: var(--uc-primary-transparent);
3599
+ --active-color-rgb: var(--uc-primary-foreground);
3600
+ --active-brightness: 1;
3601
+ --active-opacity: 1;
3602
+ --active-background: var(--uc-primary);
3603
+
3604
+ padding: 0;
3605
+ width: var(--uc-button-size);
3606
+ }
3607
+ uc-btn-ui.uc-secondary:not(#\#):not(#\#):not(#\#) > button {
3608
+ --idle-color-rgb: var(--uc-secondary-foreground);
3609
+ --idle-brightness: 1;
3610
+ --idle-opacity: 1;
3611
+ --idle-background: var(--uc-secondary);
3612
+ --hover-color-rgb: var(--uc-secondary-foreground);
3613
+ --hover-brightness: 1;
3614
+ --hover-opacity: 1;
3615
+ --hover-background: var(--uc-secondary-hover);
3616
+ --down-color-rgb: var(--uc-secondary-foreground);
3617
+ --down-brightness: 1;
3618
+ --down-opacity: 1;
3619
+ --down-background: var(--uc-secondary-hover);
3620
+ --active-color-rgb: var(--uc-secondary-foreground);
3621
+ --active-brightness: 1;
3622
+ --active-opacity: 1;
3623
+ --active-background: transparent;
3624
+ }
3625
+ :where(.uc-contrast):not(#\#):not(#\#):not(#\#) uc-btn-ui.uc-secondary > button {
3626
+ border: 1px solid var(--uc-border);
3627
+ }
3628
+ uc-btn-ui.uc-secondary-icon:not(#\#):not(#\#):not(#\#) > button {
3629
+ --idle-color-rgb: var(--uc-secondary-foreground);
3630
+ --idle-brightness: 1;
3631
+ --idle-opacity: 1;
3632
+ --idle-background: transparent;
3633
+ --hover-color-rgb: var(--uc-secondary-foreground);
3634
+ --hover-brightness: 1;
3635
+ --hover-opacity: 1;
3636
+ --hover-background: var(--uc-secondary);
3637
+ --down-color-rgb: var(--uc-secondary-foreground);
3638
+ --down-brightness: 1;
3639
+ --down-opacity: 1;
3640
+ --down-background: var(--uc-secondary);
3641
+ --active-color-rgb: var(--uc-secondary-foreground);
3642
+ --active-brightness: 1;
3643
+ --active-opacity: 1;
3644
+ --active-background: transparent;
3645
+
3646
+ padding: 0;
3647
+ width: var(--uc-button-size);
3648
+ }
3649
+ uc-btn-ui.uc-tab:not(#\#):not(#\#):not(#\#) > button {
3650
+ --idle-color-rgb: var(--uc-secondary-foreground);
3651
+ --idle-brightness: 1;
3652
+ --idle-opacity: 1;
3653
+ --idle-background: transparent;
3654
+ --hover-color-rgb: var(--uc-secondary-foreground);
3655
+ --hover-brightness: 1;
3656
+ --hover-opacity: 1;
3657
+ --hover-background: var(--uc-secondary);
3658
+ --down-color-rgb: var(--uc-secondary-foreground);
3659
+ --down-brightness: 1;
3660
+ --down-opacity: 1;
3661
+ --down-background: var(--uc-secondary);
3662
+ --active-color-rgb: var(--uc-secondary-foreground);
3663
+ --active-brightness: 1;
3664
+ --active-opacity: 1;
3665
+ --active-background: transparent;
3666
+
3667
+ padding: 0;
3668
+ width: var(--uc-button-size);
3669
+ }
3670
+ uc-btn-ui.uc-default:not(#\#):not(#\#):not(#\#) > button {
3671
+ --idle-color-rgb: var(--uc-secondary-foreground);
3672
+ --idle-brightness: 1;
3673
+ --idle-opacity: 1;
3674
+ --idle-background: var(--uc-secondary);
3675
+ --hover-color-rgb: var(--uc-secondary-foreground);
3676
+ --hover-brightness: 1;
3677
+ --hover-opacity: 1;
3678
+ --hover-background: var(--uc-secondary-hover);
3679
+ --down-color-rgb: var(--uc-secondary-foreground);
3680
+ --down-brightness: 0.75;
3681
+ --down-opacity: 1;
3682
+ --down-background: var(--uc-secondary);
3683
+ --active-color-rgb: var(--uc-primary);
3684
+ --active-brightness: 1;
3685
+ --active-opacity: 1;
3686
+ --active-background: var(--uc-primary-transparent);
3687
+ }
3688
+ :where(.uc-contrast):not(#\#):not(#\#):not(#\#) uc-btn-ui.uc-default > button {
3689
+ --idle-background: transparent;
3690
+ --hover-background: var(--uc-secondary);
3691
+ --active-background: var(--uc-foreground);
3692
+ --active-color-rgb: var(--uc-background);
3693
+ }
3694
+ uc-line-loader-ui:not(#\#):not(#\#):not(#\#) {
3695
+ position: absolute;
3696
+ top: 0px;
3697
+ left: 0px;
3698
+ z-index: 9999;
3699
+ width: 100%;
3700
+ height: 2px;
3701
+ opacity: 0.5;
3702
+ }
3703
+ uc-line-loader-ui:not(#\#):not(#\#):not(#\#) .uc-inner {
3704
+ width: 25%;
3705
+ max-width: 200px;
3706
+ height: 100%;
3707
+ }
3708
+ uc-line-loader-ui:not(#\#):not(#\#):not(#\#) .uc-line {
3709
+ width: 100%;
3710
+ height: 100%;
3711
+ background-color: var(--uc-primary);
3712
+ transform: translateX(-101%);
3713
+ transition: transform 1s;
3714
+ }
3715
+ uc-slider-ui:not(#\#):not(#\#):not(#\#) {
3716
+ --l-thumb-size: 24px;
3717
+ --l-zero-dot-size: 5px;
3718
+ --l-zero-dot-offset: 2px;
3719
+ --idle-color-rgb: var(--uc-foreground);
3720
+ --hover-color-rgb: var(--uc-primary);
3721
+ --down-color-rgb: var(--uc-primary);
3722
+ --color-effect: var(--idle-color-rgb);
3723
+ --l-color: var(--color-effect);
3724
+
3725
+ position: relative;
3726
+ display: flex;
3727
+ align-items: center;
3728
+ justify-content: center;
3729
+ width: 100%;
3730
+ height: calc(var(--l-thumb-size) + (var(--l-zero-dot-size) + var(--l-zero-dot-offset)) * 2);
3731
+ }
3732
+ uc-slider-ui:not(#\#):not(#\#):not(#\#) .uc-thumb {
3733
+ position: absolute;
3734
+ left: 0px;
3735
+ width: var(--l-thumb-size);
3736
+ height: var(--l-thumb-size);
3737
+ background-color: var(--l-color);
3738
+ border-radius: 50%;
3739
+ transform: translateX(0px);
3740
+ opacity: 1;
3741
+ transition:
3742
+ opacity var(--transition-duration-2),
3743
+ background-color var(--transition-duration-2);
3744
+ }
3745
+ uc-slider-ui:not(#\#):not(#\#):not(#\#) .uc-steps {
3746
+ position: absolute;
3747
+ display: flex;
3748
+ align-items: center;
3749
+ justify-content: space-between;
3750
+ box-sizing: border-box;
3751
+ width: 100%;
3752
+ height: 100%;
3753
+ padding-right: calc(var(--l-thumb-size) / 2);
3754
+ padding-left: calc(var(--l-thumb-size) / 2);
3755
+ }
3756
+ uc-slider-ui:not(#\#):not(#\#):not(#\#) .uc-border-step {
3757
+ width: 0px;
3758
+ height: 10px;
3759
+ border-right: 1px solid var(--uc-foreground);
3760
+ opacity: 1;
3761
+ transition: border-color var(--transition-duration-2);
3762
+ }
3763
+ uc-slider-ui:not(#\#):not(#\#):not(#\#) .uc-minor-step {
3764
+ width: 0px;
3765
+ height: 4px;
3766
+ border-right: 1px solid var(--uc-foreground);
3767
+ opacity: 0.6;
3768
+ transition: border-color var(--transition-duration-2);
3769
+ }
3770
+ uc-slider-ui:not(#\#):not(#\#):not(#\#) .uc-zero-dot {
3771
+ position: absolute;
3772
+ top: calc(100% - var(--l-zero-dot-offset) * 2);
3773
+ left: calc(var(--l-thumb-size) / 2 - var(--l-zero-dot-size) / 2);
3774
+ width: var(--l-zero-dot-size);
3775
+ height: var(--l-zero-dot-size);
3776
+ background-color: var(--color-primary-accent);
3777
+ border-radius: 50%;
3778
+ opacity: 0;
3779
+ transition: var(--transition-duration-3);
3780
+ }
3781
+ uc-slider-ui:not(#\#):not(#\#):not(#\#) .uc-input {
3782
+ position: absolute;
3783
+ width: calc(100% - 10px);
3784
+ height: 100%;
3785
+ margin: 0;
3786
+ cursor: pointer;
3787
+ opacity: 0;
3788
+ }
3789
+ uc-presence-toggle.uc-transition:not(#\#):not(#\#):not(#\#) {
3790
+ transition:
3791
+ opacity var(--transition-duration-3),
3792
+ visibility var(--transition-duration-3);
3793
+ }
3794
+ uc-presence-toggle.uc-visible:not(#\#):not(#\#):not(#\#) {
3795
+ opacity: 1;
3796
+ pointer-events: inherit;
3797
+ }
3798
+ uc-presence-toggle.uc-hidden:not(#\#):not(#\#):not(#\#) {
3799
+ opacity: 0;
3800
+ pointer-events: none;
3801
+ }
3802
+ uc-presence-toggle.uc-initial:not(#\#):not(#\#):not(#\#) {
3803
+ display: none !important;
3804
+ transition: none !important;
3805
+ }
3806
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) [role="button"]:focus-visible,
3807
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) button:focus-visible {
3808
+ outline: 1px auto Highlight;
3809
+ outline: 1px auto -webkit-focus-ring-color;
3810
+ }
3811
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) .uc-cloud-mask {
3812
+ pointer-events: none;
3813
+ }
3814
+ [uc-aspect-ratio-freeform]:not(#\#):not(#\#):not(#\#) button {
3815
+ display: flex;
3816
+ }
3817
+ [uc-aspect-ratio-freeform]:not(#\#):not(#\#):not(#\#) uc-icon {
3818
+ display: none;
3819
+ }
3820
+ [uc-aspect-ratio-freeform]:not(#\#):not(#\#):not(#\#) .uc-title {
3821
+ padding-left: var(--cldtr-gap-mid-1);
3822
+ }
3823
+ :where(uc-editor-freeform-button-control, uc-editor-aspect-ratio-button-control:last-of-type):not(#\#):not(#\#):not(#\#) {
3824
+ margin-right: calc(3 * var(--cldtr-gap-mid-1));
3825
+ }
3826
+ :where([uc-cloud-image-editor]):not(#\#):not(#\#):not(#\#) uc-icon {
3827
+ display: flex;
3828
+ justify-content: center;
3829
+ width: 100%;
3830
+ height: 100%;
3831
+ }
3832
+ :where([uc-cloud-image-editor]):not(#\#):not(#\#):not(#\#) uc-icon svg {
3833
+ width: calc(var(--uc-button-size) / 2);
3834
+ height: calc(var(--uc-button-size) / 2);
3835
+ }
3836
+ /*$vite$:1*/