@antscorp/antsomi-ui 2.0.119 → 2.0.121

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 (261) hide show
  1. package/CHANGELOG.md +92 -0
  2. package/README.md +78 -78
  3. package/es/__mocks__/1000_city.json +802 -802
  4. package/es/__mocks__/sql-query.json +56 -56
  5. package/es/assets/css/main.scss +8 -8
  6. package/es/assets/images/feedback.svg +3 -3
  7. package/es/assets/svg/mobile-frame.svg +3 -3
  8. package/es/assets/svg/warning-icon.svg +5 -5
  9. package/es/components/atoms/Alert/Alert.js +28 -28
  10. package/es/components/atoms/ContentEditable/styled.js +16 -16
  11. package/es/components/atoms/DividerPure/styled.js +35 -35
  12. package/es/components/atoms/Eyedropper/styled.js +39 -39
  13. package/es/components/atoms/Icon/index.js +19 -19
  14. package/es/components/atoms/Iframe/Iframe.js +18 -18
  15. package/es/components/atoms/Input/styled.js +104 -104
  16. package/es/components/atoms/InputDynamic/styled.js +284 -284
  17. package/es/components/atoms/MobileBrandingBar/styled.js +21 -21
  18. package/es/components/atoms/MobileFrame/styled.js +30 -30
  19. package/es/components/atoms/MobileFrameV2/styled.js +42 -42
  20. package/es/components/atoms/MobileFrameV3/styled.js +31 -31
  21. package/es/components/atoms/NotificationStatus/styled.js +10 -10
  22. package/es/components/atoms/PreviewTabs/styled.js +69 -69
  23. package/es/components/atoms/Radio/index.js +16 -16
  24. package/es/components/atoms/ReactIframe/ReactIframe.js +5 -5
  25. package/es/components/atoms/ReactIframe/styled.js +9 -9
  26. package/es/components/atoms/RequiredLabel/styled.js +3 -3
  27. package/es/components/atoms/ScrollBox/index.js +5 -5
  28. package/es/components/atoms/Scrollbars/styled.js +21 -21
  29. package/es/components/atoms/SelectAssociatedTag/styled.js +51 -51
  30. package/es/components/atoms/SlideBar/styled.js +194 -194
  31. package/es/components/atoms/Slider/styled.js +31 -31
  32. package/es/components/atoms/Space/Space.js +4 -4
  33. package/es/components/atoms/Spin/styled.js +11 -11
  34. package/es/components/atoms/Steps/styled.js +244 -244
  35. package/es/components/atoms/Switch/styled.js +56 -56
  36. package/es/components/atoms/Tag/Tag.js +10 -10
  37. package/es/components/atoms/Text/styled.js +34 -34
  38. package/es/components/icons/DomainManagementIcon.js +1 -1
  39. package/es/components/icons/LoadingIcon.js +33 -33
  40. package/es/components/icons/document/styled.js +43 -43
  41. package/es/components/index.scss +2 -2
  42. package/es/components/molecules/AccessDenied/styled.js +28 -28
  43. package/es/components/molecules/AccountSelection/styled.js +110 -110
  44. package/es/components/molecules/AddDynamicContent/styled.js +23 -23
  45. package/es/components/molecules/AlignSetting/styled.js +4 -4
  46. package/es/components/molecules/ApplyPopupContent/styled.js +32 -32
  47. package/es/components/molecules/CalendarSelection/components/AutoUpdateTo/styled.js +8 -8
  48. package/es/components/molecules/CalendarSelection/components/CustomPicker/styled.js +79 -79
  49. package/es/components/molecules/CalendarSelection/components/Footer/styled.js +4 -4
  50. package/es/components/molecules/CalendarSelection/components/RangePicker/styled.js +21 -21
  51. package/es/components/molecules/CalendarSelection/components/RangeSelectOptions/components/Option/Option.js +26 -26
  52. package/es/components/molecules/CalendarSelection/components/RangeSelectOptions/styled.js +30 -30
  53. package/es/components/molecules/CalendarSelection/components/TimeRangeDisplay/styled.js +26 -26
  54. package/es/components/molecules/CalendarSelection/styled.js +8 -8
  55. package/es/components/molecules/CaptureScreen/components/CommentBox/styled.js +119 -119
  56. package/es/components/molecules/CaptureScreen/components/Cursor/styled.js +67 -67
  57. package/es/components/molecules/CaptureScreen/styled.js +240 -240
  58. package/es/components/molecules/ChartTab/components/styled.js +24 -24
  59. package/es/components/molecules/ChartTab/styled.js +20 -20
  60. package/es/components/molecules/ChatBox/AntsomiAI.js +8 -8
  61. package/es/components/molecules/ChatBox/ChatBoxInsight/QuestionItem.js +9 -9
  62. package/es/components/molecules/ChatBox/ChatBoxInsight/styled.js +365 -365
  63. package/es/components/molecules/ChatBox/styled.js +324 -324
  64. package/es/components/molecules/CodeStructure/styled.js +5 -5
  65. package/es/components/molecules/ColorPicker/ChromePicker/styled.js +10 -10
  66. package/es/components/molecules/ColorPicker/CustomPicker/styled.js +89 -89
  67. package/es/components/molecules/ColorPicker/SketchPicker/styled.js +5 -5
  68. package/es/components/molecules/ColorPicker/styled.js +7 -7
  69. package/es/components/molecules/ColorSetting/styled.js +39 -39
  70. package/es/components/molecules/DatePicker/components/AdvancedPicker/styled.js +110 -110
  71. package/es/components/molecules/DatePickerV2/styled.js +6 -6
  72. package/es/components/molecules/DisplayFormat/styled.js +12 -12
  73. package/es/components/molecules/DrawerDetail/components/ToggleDrawerSizeButton.js +24 -24
  74. package/es/components/molecules/DrawerDetail/styled.js +109 -109
  75. package/es/components/molecules/Dropdown/style.scss +11 -11
  76. package/es/components/molecules/Dropdown/styled.js +28 -28
  77. package/es/components/molecules/EdgeSetting/styled.js +10 -10
  78. package/es/components/molecules/EditableName/styled.js +70 -70
  79. package/es/components/molecules/EditingList/styled.js +29 -29
  80. package/es/components/molecules/EditingListV2/components/List/List.js +9 -9
  81. package/es/components/molecules/EditorTab/styled.js +156 -156
  82. package/es/components/molecules/EmojiCollections/styled.js +22 -22
  83. package/es/components/molecules/EmojiPopover/styled.js +4 -4
  84. package/es/components/molecules/EmptyData/styled.js +53 -53
  85. package/es/components/molecules/EyedropperButton/styled.js +19 -19
  86. package/es/components/molecules/FontSizeInput/index.scss +15 -15
  87. package/es/components/molecules/FontSizeInput/styled.js +31 -31
  88. package/es/components/molecules/GradientSetting/styled.js +57 -57
  89. package/es/components/molecules/HeaderV2/styled.js +70 -70
  90. package/es/components/molecules/IconSelection/styled.js +69 -69
  91. package/es/components/molecules/ImageEditor/components/ModalShortcut.js +21 -21
  92. package/es/components/molecules/ImageEditor/styled.js +5 -5
  93. package/es/components/molecules/ImagePreview/styled.js +3 -3
  94. package/es/components/molecules/InputNumberWithUnit/styled.js +14 -14
  95. package/es/components/molecules/InputSearch/styled.js +41 -41
  96. package/es/components/molecules/InputSelectAttribute/styled.js +22 -22
  97. package/es/components/molecules/ItemNotFound/styled.js +26 -26
  98. package/es/components/molecules/MatchAnySelect/components/ExtendValuePopup.js +8 -8
  99. package/es/components/molecules/MatchAnySelect/styled.js +247 -247
  100. package/es/components/molecules/Modal/styled.js +63 -63
  101. package/es/components/molecules/ModalSelect/styled.js +152 -152
  102. package/es/components/molecules/ModalV2/styled.js +27 -27
  103. package/es/components/molecules/PopupDraggable/styled.js +57 -57
  104. package/es/components/molecules/PreviewModal/styled.js +26 -26
  105. package/es/components/molecules/ProcessLoading/styled.js +2 -2
  106. package/es/components/molecules/QuillEditor/CustomToolbar.js +3165 -3165
  107. package/es/components/molecules/QuillEditor/EditorToolbar.js +7 -7
  108. package/es/components/molecules/QuillEditor/styled.js +25 -25
  109. package/es/components/molecules/RadioGroup/styled.js +9 -9
  110. package/es/components/molecules/RequestAccess/styled.js +38 -38
  111. package/es/components/molecules/ResizeGrid/components/Cell/styled.js +77 -77
  112. package/es/components/molecules/ResizeGrid/styled.js +50 -50
  113. package/es/components/molecules/RichMenu/RichMenuBlock/RichMenuCell/styled.js +118 -118
  114. package/es/components/molecules/RichMenu/RichMenuBlock/styled.js +13 -13
  115. package/es/components/molecules/RichMenu/RichMenuChatBar/TypingChat/styled.js +40 -40
  116. package/es/components/molecules/RichMenu/RichMenuChatBar/styled.js +27 -27
  117. package/es/components/molecules/RichMenu/RichMenuMobileView/RichMenuMobileView.js +2 -2
  118. package/es/components/molecules/RichMenu/RichMenuMobileView/styled.js +38 -38
  119. package/es/components/molecules/SearchPopover/components/PopoverSelect/styled.js +36 -36
  120. package/es/components/molecules/SearchPopover/components/PopoverSelect/styles.scss +7 -7
  121. package/es/components/molecules/SearchPopover/styled.js +32 -32
  122. package/es/components/molecules/Select/Select.js +2 -2
  123. package/es/components/molecules/Select/styled.d.ts +3 -1
  124. package/es/components/molecules/Select/styled.js +76 -32
  125. package/es/components/molecules/SelectAccount/styled.js +147 -147
  126. package/es/components/molecules/SelectEventAttribute/styled.js +8 -8
  127. package/es/components/molecules/SelectMulti/styled.js +62 -62
  128. package/es/components/molecules/SelectV2/styled.js +124 -124
  129. package/es/components/molecules/SettingWrapper/styled.js +12 -12
  130. package/es/components/molecules/ShareAccess/components/GeneralAccess/styled.js +56 -56
  131. package/es/components/molecules/ShareAccess/components/LayoutContent/styled.js +5 -5
  132. package/es/components/molecules/ShareAccess/components/ModalTransferOwnerShip/styled.js +15 -15
  133. package/es/components/molecules/ShareAccess/components/PeopleAccess/styled.js +63 -63
  134. package/es/components/molecules/ShareAccess/components/SearchUser/styled.js +31 -31
  135. package/es/components/molecules/SliderWithInputNumber/styled.js +2 -2
  136. package/es/components/molecules/Tabs/Tabs.js +11 -11
  137. package/es/components/molecules/TagifyInput/TagifyInput.js +50 -50
  138. package/es/components/molecules/TagifyInput/styled.js +37 -37
  139. package/es/components/molecules/TagifyInput/utils.js +13 -13
  140. package/es/components/molecules/TagifyInput/utils.style.js +208 -208
  141. package/es/components/molecules/TemplateSaveAs/components/Category/Category.js +5 -5
  142. package/es/components/molecules/TemplateSaveAs/components/ImageSlider/styled.js +276 -276
  143. package/es/components/molecules/TemplateSaveAs/styled.js +134 -134
  144. package/es/components/molecules/ThumbnailCard/styled.js +92 -92
  145. package/es/components/molecules/Tree/styled.js +38 -38
  146. package/es/components/molecules/UnsubscribePreferences/styled.js +7 -7
  147. package/es/components/molecules/UnsubscribePreview/components/styled.js +53 -53
  148. package/es/components/molecules/UnsubscribePreview/styled.js +48 -48
  149. package/es/components/molecules/UploadImage/styled.js +114 -114
  150. package/es/components/molecules/VirtualizedMenu/styled.js +103 -103
  151. package/es/components/molecules/index.scss +1 -1
  152. package/es/components/organism/AccountProfile/components/AccountSetting/components/EditableInput/styles.js +98 -98
  153. package/es/components/organism/AccountProfile/components/AccountSetting/components/LanguageSelector/styles.js +18 -18
  154. package/es/components/organism/AccountProfile/components/AccountSetting/styled.js +543 -543
  155. package/es/components/organism/AccountProfile/components/AccountSetting/styles.scss +39 -39
  156. package/es/components/organism/AccountSharing/AccountSharing.js +1 -0
  157. package/es/components/organism/AccountSharing/styled.js +336 -336
  158. package/es/components/organism/ActivityTimeline/__mocks__/event_tracking.json +1290 -1290
  159. package/es/components/organism/ActivityTimeline/__mocks__/timeline.json +1896 -1896
  160. package/es/components/organism/ActivityTimeline/components/ActionHistory/styled.js +28 -28
  161. package/es/components/organism/ActivityTimeline/components/CardMember/styled.js +60 -60
  162. package/es/components/organism/ActivityTimeline/components/ItemGroupEvent/styled.js +4 -4
  163. package/es/components/organism/ActivityTimeline/components/List/styled.js +77 -77
  164. package/es/components/organism/ActivityTimeline/components/ListItem/styled.js +37 -37
  165. package/es/components/organism/ActivityTimeline/components/ProductCard/styled.js +92 -92
  166. package/es/components/organism/ActivityTimeline/components/Redeem/styled.js +7 -7
  167. package/es/components/organism/ActivityTimeline/components/Slide/styled.js +20 -20
  168. package/es/components/organism/ActivityTimeline/components/TimeLineTitle/styled.js +7 -7
  169. package/es/components/organism/ActivityTimeline/components/TimelineSection/styled.js +69 -69
  170. package/es/components/organism/ActivityTimeline/styled.js +43 -43
  171. package/es/components/organism/ActivityTimeline/utils.js +11 -7
  172. package/es/components/organism/AlgorithmsSetting/styled.js +35 -35
  173. package/es/components/organism/BasicLogin/components/ChooseMethod/styled.js +19 -19
  174. package/es/components/organism/BasicLogin/components/LoginWithEmail/styled.js +3 -3
  175. package/es/components/organism/BasicLogin/components/LoginWithGG/styled.js +3 -3
  176. package/es/components/organism/BasicLogin/components/SignIn/styled.js +8 -8
  177. package/es/components/organism/BasicLogin/components/WidgetLayout/styled.js +18 -18
  178. package/es/components/organism/BasicLogin/styled.js +107 -107
  179. package/es/components/organism/ContentSources/styled.js +50 -50
  180. package/es/components/organism/DataTable/components/AddButton/index.js +8 -8
  181. package/es/components/organism/DataTable/components/ModifyColumn/styled.js +18 -18
  182. package/es/components/organism/DataTable/components/Pagination/styled.js +26 -26
  183. package/es/components/organism/DataTable/components/Table/styled.js +135 -135
  184. package/es/components/organism/DataTable/components/Toolbar/SearchPopover.js +17 -17
  185. package/es/components/organism/DataTable/components/Toolbar/styled.js +70 -70
  186. package/es/components/organism/DataTable/styled/index.js +84 -84
  187. package/es/components/organism/Filter/components/FilterCondition/styled.js +34 -34
  188. package/es/components/organism/Filter/styled.js +109 -109
  189. package/es/components/organism/FilterSetting/components/common/InputArray/styled.js +5 -5
  190. package/es/components/organism/FilterSetting/components/common/InputOrSelect/index.js +63 -63
  191. package/es/components/organism/FilterSetting/components/common/InputSelectMulti/ColumnSuggestion/index.js +31 -31
  192. package/es/components/organism/FilterSetting/components/common/InputSelectMulti/Tree/index.js +22 -22
  193. package/es/components/organism/FilterSetting/components/common/InputSelectMulti/index.js +55 -55
  194. package/es/components/organism/FilterSetting/styled.js +19 -19
  195. package/es/components/organism/Help/styled.js +267 -267
  196. package/es/components/organism/LeftMenu/components/HomeMenu/styled.js +39 -39
  197. package/es/components/organism/LeftMenu/components/common/ChildMenu/components/MenuItemImage/styled.js +16 -16
  198. package/es/components/organism/LeftMenu/components/common/ChildMenu/styled.js +156 -156
  199. package/es/components/organism/LeftMenu/styled.js +214 -214
  200. package/es/components/organism/Login/components/ChooseMethod/styled.js +19 -19
  201. package/es/components/organism/Login/components/ForgotPassword/styled.js +8 -8
  202. package/es/components/organism/Login/components/LoginSelectPortal/Item/styled.js +31 -31
  203. package/es/components/organism/Login/components/LoginSelectPortal/styled.js +3 -3
  204. package/es/components/organism/Login/components/LoginWithEmail/styled.js +3 -3
  205. package/es/components/organism/Login/components/LoginWithGG/styled.js +3 -3
  206. package/es/components/organism/Login/components/SetupGGAuthenticator/styled.js +7 -7
  207. package/es/components/organism/Login/components/SignIn/styled.js +8 -8
  208. package/es/components/organism/Login/components/VerifyAccount/styled.js +13 -13
  209. package/es/components/organism/Login/components/WidgetLayout/styled.js +18 -18
  210. package/es/components/organism/Login/styled.js +115 -115
  211. package/es/components/organism/Menu/styled.js +6 -6
  212. package/es/components/organism/ModifyColumnModal/styled.js +132 -132
  213. package/es/components/organism/Notification/styled.js +155 -155
  214. package/es/components/organism/PreviewCollections/Messages/SkeletonMessage/styled.js +14 -14
  215. package/es/components/organism/PreviewCollections/WhatsappMessage/CarouselMessage/styled.js +63 -63
  216. package/es/components/organism/PreviewCollections/constants.js +50 -50
  217. package/es/components/organism/PreviewCollections/styled.js +16 -16
  218. package/es/components/organism/PreviewTemplateModal/components/Banner/styled.js +78 -78
  219. package/es/components/organism/PreviewTemplateModal/components/Information/styled.js +52 -52
  220. package/es/components/organism/PreviewTemplateModal/components/SimilarTemplate/styled.js +18 -18
  221. package/es/components/organism/PreviewTemplateModal/components/ThumbnailSlider/styled.js +77 -77
  222. package/es/components/organism/PreviewTemplateModal/styled.js +21 -21
  223. package/es/components/organism/SQLGeneration/components/styled.js +354 -354
  224. package/es/components/organism/SQLGeneration/index.scss +1 -1
  225. package/es/components/organism/SQLGeneration/integrations/AceEditor/index.scss +4 -4
  226. package/es/components/organism/Table/CrossTabTable/components/CustomCell/styled.js +11 -11
  227. package/es/components/organism/Table/CrossTabTable/styled.js +11 -11
  228. package/es/components/organism/Table/ExplorePivotTable/components/CustomCell/styled.js +17 -17
  229. package/es/components/organism/Table/ExplorePivotTable/styled.js +11 -11
  230. package/es/components/organism/TextEditor/__mocks__/text-contennt.js +44 -44
  231. package/es/components/organism/TextEditor/index.scss +65 -65
  232. package/es/components/organism/TextEditor/stories/WithOldDynAndLink/froala-legacy-format.settings.json +95 -95
  233. package/es/components/organism/TextEditor/styled.js +54 -54
  234. package/es/components/organism/TextEditor/ui/Button/Button.js +22 -22
  235. package/es/components/organism/TextEditor/ui/DropdownButton/DropdownButton.js +13 -13
  236. package/es/components/organism/TextEditor/ui/FontPopover/styled.js +32 -32
  237. package/es/components/organism/TextEditor/ui/SplitButtonDropdown/styled.js +54 -54
  238. package/es/components/organism/TextEditor/ui/TextAlignSelect/TextAlignSelect.js +9 -9
  239. package/es/components/organism/TextEditor/ui/Toolbar/actions/FontSizeAction.js +11 -11
  240. package/es/components/organism/TicketEditor/styled.js +850 -850
  241. package/es/components/organism/TicketEditorV2/styled.js +839 -839
  242. package/es/components/organism/index.scss +2 -2
  243. package/es/components/template/Layout/Layout.js +10 -10
  244. package/es/components/template/Layout/components/RecommendationWorkspace/components/MenuMapping/components/OldLeftMenu/styled.js +73 -73
  245. package/es/components/template/Layout/components/RecommendationWorkspace/components/MenuMapping/styled.js +39 -39
  246. package/es/components/template/Layout/components/RecommendationWorkspace/components/RecommendationImage/styled.js +61 -61
  247. package/es/components/template/Layout/components/RecommendationWorkspace/styled.js +16 -16
  248. package/es/components/template/Layout/styled.js +84 -84
  249. package/es/components/template/TemplateListing/components/BlankTemplate/styled.js +21 -21
  250. package/es/components/template/TemplateListing/components/CategoryListing/styled.js +123 -123
  251. package/es/components/template/TemplateListing/components/Empty/styled.js +20 -20
  252. package/es/components/template/TemplateListing/stories/demo/styled.js +4 -4
  253. package/es/components/template/TemplateListing/styled/index.js +40 -40
  254. package/es/providers/ConfigProvider/ConfigProvider.d.ts +4 -0
  255. package/es/providers/ConfigProvider/ConfigProvider.js +2 -3
  256. package/es/providers/ConfigProvider/GlobalStyle.d.ts +2 -2
  257. package/es/providers/ConfigProvider/GlobalStyle.js +1252 -1249
  258. package/es/styled/common.js +51 -51
  259. package/es/tests/styled.js +4 -4
  260. package/es/utils/variables.js +7 -7
  261. package/package.json +277 -276
@@ -9,1253 +9,1256 @@ import { far } from '@fortawesome/free-regular-svg-icons';
9
9
  import { fab } from '@fortawesome/free-brands-svg-icons';
10
10
  library.add(fas, far, fab);
11
11
  const { accent7, gray5, scrollBarSize, bw3, bw4, bw5 } = THEME.token || {};
12
- export const GlobalStyle = () => (_jsx(Global, { styles: css `
13
- @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap');
14
-
15
- :root {
16
- --divider-1: ${bw3};
17
- --divider-2: ${bw4};
18
- --divider-3: ${bw5};
19
- }
20
-
21
- *,
22
- *:before,
23
- *:after {
24
- -webkit-box-sizing: border-box;
25
- -moz-box-sizing: border-box;
26
- box-sizing: border-box;
27
- border-width: 0;
28
- border-style: solid;
29
- }
30
-
31
- blockquote,
32
- dl,
33
- dd,
34
- h1,
35
- h2,
36
- h3,
37
- h4,
38
- h5,
39
- h6,
40
- hr,
41
- figure,
42
- p,
43
- pre {
44
- margin: 0;
45
- }
46
-
47
- h1,
48
- h2,
49
- h3,
50
- h4,
51
- h5,
52
- h6 {
53
- font-size: inherit;
54
- font-weight: inherit;
55
- }
56
-
57
- ol,
58
- ul {
59
- list-style: none;
60
- margin: 0;
61
- padding: 0;
62
- }
63
-
64
- img,
65
- svg,
66
- video,
67
- canvas,
68
- audio,
69
- iframe,
70
- embed,
71
- object {
72
- vertical-align: middle;
73
- }
74
-
75
- img,
76
- video {
77
- max-width: 100%;
78
- height: auto;
79
- }
80
-
81
- hr {
82
- border-color: var(--divider-1);
83
- }
84
-
85
- .rc-virtual-list-scrollbar {
86
- width: 4px !important;
87
- height: 4px !important;
88
- }
89
-
90
- /* Custom */
91
- .antsomi-scrollbar-hidden {
92
- -ms-overflow-style: none; /* for Internet Explorer, Edge */
93
- scrollbar-width: none; /* for Firefox */
94
-
95
- &::-webkit-scrollbar {
96
- display: none;
97
- }
98
- }
99
-
100
- /* width */
101
- ::-webkit-scrollbar {
102
- background: transparent !important;
103
- width: ${scrollBarSize} !important;
104
- height: ${scrollBarSize} !important;
105
- }
106
-
107
- /* Track */
108
- ::-webkit-scrollbar-track {
109
- background: transparent !important;
110
- }
111
-
112
- /* Handle */
113
- ::-webkit-scrollbar-thumb {
114
- background-color: transparent;
115
- border-radius: 4px;
116
- }
117
-
118
- *:hover {
119
- &::-webkit-scrollbar-thumb {
120
- background-color: ${gray5} !important;
121
- }
122
- }
123
-
124
- .rc-virtual-list {
125
- .rc-virtual-list-scrollbar-vertical {
126
- width: ${scrollBarSize} !important;
127
- }
128
-
129
- .rc-virtual-list-scrollbar-thumb {
130
- background: ${accent7} !important;
131
- }
132
- }
133
-
134
- .custom-scrollbars {
135
- &:hover {
136
- .scrollbar-track {
137
- opacity: 1 !important;
138
- }
139
- }
140
- }
141
-
142
- .antsomi-scroll-box {
143
- overflow-y: auto;
144
- scrollbar-gutter: stable !important;
145
- margin-right: -${scrollBarSize} !important;
146
-
147
- &.on-scroll {
148
- ::-webkit-scrollbar-thumb {
149
- display: block !important;
150
- }
151
- }
152
-
153
- .scroll-content {
154
- margin-right: -${scrollBarSize} !important;
155
- }
156
-
157
- ::-webkit-scrollbar {
158
- width: ${scrollBarSize} !important;
159
- height: ${scrollBarSize} !important;
160
- background-color: transparent !important;
161
- }
162
-
163
- ::-webkit-scrollbar-track {
164
- background-color: transparent !important;
165
- }
166
-
167
- ::-webkit-scrollbar-thumb {
168
- background-color: ${gray5} !important;
169
- border-radius: 15px !important;
170
- display: none !important;
171
-
172
- &:hover {
173
- display: block !important;
174
- }
175
- }
176
- }
177
-
178
- /* Tooltip */
179
- .antsomi-tooltip {
180
- .antsomi-tooltip-content {
181
- .antsomi-tooltip-inner {
182
- a {
183
- color: inherit;
184
- font-weight: bold;
185
- }
186
- }
187
- }
188
- }
189
-
190
- /* Button */
191
- .antsomi-btn {
192
- font-weight: 700 !important;
193
- display: inline-flex !important;
194
- align-items: center !important;
195
- justify-content: center !important;
196
- gap: 8px;
197
-
198
- i {
199
- font-size: 20px;
200
- }
201
-
202
- &.antsomi-btn-default {
203
- &:not(:disabled):hover {
204
- border-color: ${THEME.token?.blue3};
205
- background-color: ${THEME.token?.blue};
206
- }
207
- &:not(:disabled).antsomi-btn-default-active {
208
- border-color: ${THEME.token?.colorPrimary};
209
- background-color: ${THEME.token?.blue1_1};
210
- }
211
-
212
- &.antsomi-btn-dangerous {
213
- border-color: ${THEME.token?.red2};
214
-
215
- &:not(:disabled):hover {
216
- border-color: ${THEME.token?.red3};
217
- background-color: ${THEME.token?.red};
218
- }
219
- }
220
-
221
- &.antsomi-btn-icon-only {
222
- width: 36px;
223
- height: 36px;
224
- }
225
-
226
- &.antsomi-btn-icon-only.antsomi-btn-sm {
227
- /* Important to override the above code before */
228
- width: 24px;
229
- height: 24px;
230
- }
231
- }
232
-
233
- &.antsomi-btn-text:disabled,
234
- &.antsomi-btn-link:disabled {
235
- color: ${THEME.token?.bw6};
236
- }
237
-
238
- /* .antsomi-btn-primary:disabled, */
239
- &.antsomi-btn-default:disabled,
240
- &.antsomi-btn-dashed:disabled,
241
- &.antsomi-btn-disabled,
242
- &.antsomi-btn-default.antsomi-btn-dangerous:disabled,
243
- &.antsomi-btn-primary.antsomi-btn-dangerous:disabled {
244
- border-color: ${THEME.token?.bw4};
245
- }
246
-
247
- &.antsomi-btn-default:disabled,
248
- &.antsomi-btn-dashed:disabled,
249
- &.antsomi-btn-disabled,
250
- &.antsomi-btn-default.antsomi-btn-dangerous:disabled {
251
- color: ${THEME.token?.bw6};
252
- background-color: ${THEME.token?.bw2};
253
- }
254
- }
255
-
256
- /* .antsomi-btn-default { */
257
- /* &:not(:disabled):hover { */
258
- /* border-color: ${THEME.token?.blue3} !important; */
259
- /* background-color: ${THEME.token?.blue} !important; */
260
- /* } */
261
- /* &:not(:disabled).antsomi-btn-default-active { */
262
- /* border-color: ${THEME.token?.colorPrimary} !important; */
263
- /* background-color: ${THEME.token?.blue1_1} !important; */
264
- /* } */
265
- /**/
266
- /* &.antsomi-btn-dangerous { */
267
- /* border-color: ${THEME.token?.red2} !important; */
268
- /**/
269
- /* &:not(:disabled):hover { */
270
- /* border-color: ${THEME.token?.red3} !important; */
271
- /* background-color: ${THEME.token?.red} !important; */
272
- /* } */
273
- /* } */
274
- /**/
275
- /* &.antsomi-btn-icon-only { */
276
- /* width: 36px !important; */
277
- /* height: 36px !important; */
278
- /* } */
279
- /**/
280
- /* &.antsomi-btn-icon-only.antsomi-btn-sm { */
281
- /* /* Important to override the above code before */
282
- */
283
- /* width: 24px !important; */
284
- /* height: 24px !important; */
285
- /* } */
286
- /* } */
287
-
288
- /* .antsomi-btn-text:disabled, */
289
- /* .antsomi-btn-link:disabled { */
290
- /* color: ${THEME.token?.bw6} !important; */
291
- /* } */
292
- /**/
293
- /* /* .antsomi-btn-primary:disabled, */ */
294
- /* .antsomi-btn-default:disabled, */
295
- /* .antsomi-btn-dashed:disabled, */
296
- /* .antsomi-btn-disabled, */
297
- /* .antsomi-btn-default.antsomi-btn-dangerous:disabled, */
298
- /* .antsomi-btn-primary.antsomi-btn-dangerous:disabled { */
299
- /* border-color: ${THEME.token?.bw4} !important; */
300
- /* } */
301
- /**/
302
- /* .antsomi-btn-default:disabled, */
303
- /* .antsomi-btn-dashed:disabled, */
304
- /* .antsomi-btn-disabled, */
305
- /* .antsomi-btn-default.antsomi-btn-dangerous:disabled { */
306
- /* color: ${THEME.token?.bw6} !important; */
307
- /* background-color: ${THEME.token?.bw2} !important; */
308
- /* } */
309
-
310
- // NOTE: Just hot fix for easy looking
311
- .antsomi-btn-primary.antsomi-btn-compact-item.antsomi-btn-compact-first-item {
312
- padding-right: 6px !important;
313
- }
314
-
315
- .antsomi-btn-compact-item.antsomi-btn-primary.antsomi-btn-compact-last-item {
316
- width: fit-content;
317
- //padding: 0px !important;
318
- padding: 0px 4px !important;
319
- &::before {
320
- content: '';
321
- position: absolute;
322
- left: 0px;
323
- background-color: ${globalToken?.blue5} !important;
324
- top: auto !important;
325
- height: 80% !important;
326
- width: 1px !important;
327
- }
328
-
329
- &:disabled {
330
- &::before {
331
- background-color: ${globalToken?.bw4} !important;
332
- }
333
- }
334
-
335
- &:not(:disabled) {
336
- &:hover {
337
- &::before {
338
- opacity: 0;
339
- }
340
- }
341
- }
342
- }
343
-
344
- /* Input */
345
- .antsomi-input,
346
- .antsomi-input-affix-wrapper {
347
- border-width: 0 0 1px 0 !important;
348
- box-shadow: none !important;
349
-
350
- &:hover {
351
- background-color: ${THEME.token?.blue};
352
- }
353
- }
354
-
355
- .antsomi-input-disabled {
356
- border-color: ${THEME.token?.bw3} !important;
357
- background-color: ${THEME.token?.bw0} !important;
358
- }
359
-
360
- .antsomi-input {
361
- &:focus {
362
- background-color: ${THEME.token?.bw0};
363
- }
364
- }
365
-
366
- .antsomi-input-affix-wrapper {
367
- &:hover {
368
- > input.antsomi-input {
369
- background-color: ${THEME.token?.blue};
370
- }
371
- }
372
-
373
- &.antsomi-input-affix-wrapper-focused {
374
- background-color: ${THEME.token?.bw0};
375
-
376
- > input.antsomi-input {
377
- background-color: ${THEME.token?.bw0};
378
- }
379
- }
380
- }
381
-
382
- .antsomi-input-affix-wrapper-disabled {
383
- background-color: ${THEME.token?.bw0} !important;
384
- color: ${THEME.token?.bw8} !important;
385
- border-color: ${THEME.token?.bw3} !important;
386
- }
387
-
388
- .antsomi-input-status-error:not(.antsomi-input-disabled):not(
389
- .antsomi-input-borderless
390
- ).antsomi-input {
391
- &:hover {
392
- background-color: ${THEME.token?.red};
393
- }
394
- }
395
-
396
- .antsomi-input-status-warning:not(.antsomi-input-disabled):not(
397
- .antsomi-input-borderless
398
- ).antsomi-input {
399
- &:hover {
400
- background-color: ${THEME.token?.gold1};
401
- }
402
- }
403
-
404
- .antsomi-input-affix-wrapper-status-error:not(.antsomi-input-affix-wrapper-disabled):not(
405
- .antsomi-input-affix-wrapper-borderless
406
- ).antsomi-input-affix-wrapper {
407
- &:hover,
408
- &:hover > input.antsomi-input {
409
- background-color: ${THEME.token?.red};
410
- }
411
- }
412
-
413
- .antsomi-input-affix-wrapper-status-warning:not(.antsomi-input-affix-wrapper-disabled):not(
414
- .antsomi-input-affix-wrapper-borderless
415
- ).antsomi-input-affix-wrapper {
416
- &:hover,
417
- &:hover > input.antsomi-input {
418
- background-color: ${THEME.token?.gold1};
419
- }
420
- }
421
-
422
- /* For custom search input */
423
- .antsomi-input-affix-wrapper.antsomi-search-input:hover > input.antsomi-input {
424
- background-color: transparent;
425
- }
426
-
427
- // Select
428
- .antsomi-select .antsomi-select-arrow {
429
- right: 5px !important;
430
- }
431
-
432
- .antsomi-select:not(.antsomi-select-disabled):not(.antsomi-select-customize-input):not(
433
- .antsomi-pagination-size-changer
434
- ):hover
435
- .antsomi-select-selector {
436
- border-color: ${THEME.token?.blue1} !important;
437
- background-color: ${THEME.token?.blue} !important;
438
- }
439
-
440
- .antsomi-select-disabled.antsomi-select:not(.antsomi-select-customize-input)
441
- .antsomi-select-selector {
442
- border-color: ${THEME.token?.bw4};
443
- }
444
-
445
- .antsomi-select-disabled.antsomi-select:not(.antsomi-select-customize-input) .antsomi-tag {
446
- background-color: ${THEME.token?.bw4} !important;
447
- }
448
-
449
- .antsomi-select-selector {
450
- border-width: 0 0 1px 0 !important;
451
- box-shadow: none !important;
452
- }
453
-
454
- .antsomi-select-auto-complete {
455
- .antsomi-select-selector {
456
- border: none !important;
457
- }
458
- }
459
-
460
- .antsomi-select-dropdown {
461
- padding: 8px 0 !important;
462
- z-index: 3002 !important;
463
- }
464
-
465
- .antsomi-select-selection-overflow {
466
- gap: 5px;
467
- }
468
-
469
- // Dropdown
470
- .antsomi-dropdown-menu {
471
- padding: 8px 0 !important;
472
- }
473
-
474
- // Input Number
475
- .antsomi-input-number,
476
- .antsomi-input-number-affix-wrapper {
477
- border-width: 0 0 1px 0 !important;
478
- box-shadow: none !important;
479
-
480
- &.--show-handler {
481
- .antsomi-input-number-handler-wrap {
482
- opacity: 1;
483
- }
484
- }
485
- }
486
-
487
- .antsomi-input-number-group-addon {
488
- border-width: 0 0 1px 0 !important;
489
- background-color: ${THEME.token?.bw0} !important;
490
- box-shadow: none !important;
491
- }
492
-
493
- .antsomi-input-number:hover {
494
- background-color: ${THEME.token?.blue};
495
-
496
- .antsomi-input-number-handler {
497
- background-color: ${THEME.token?.blue};
498
- }
499
- }
500
-
501
- .antsomi-input-number:focus,
502
- .antsomi-input-number-focused {
503
- border-color: ${THEME.token?.colorPrimary} !important;
504
- }
505
-
506
- .antsomi-input-number-handler {
507
- border: none !important;
508
-
509
- &:hover i {
510
- color: ${THEME.token?.colorPrimary};
511
- }
512
- }
513
-
514
- // DatePicker
515
- .antsomi-picker {
516
- border-width: 0 0 1px 0 !important;
517
- box-shadow: none !important;
518
- }
519
-
520
- .antsomi-picker:hover,
521
- .antsomi-picker-focused {
522
- background-color: ${THEME.token?.blue};
523
- }
524
-
525
- .antsomi-picker:not(.antsomi-picker-status-error) .antsomi-picker-suffix {
526
- color: ${THEME.token?.bw10};
527
- }
528
-
529
- .antsomi-picker:not(.antsomi-picker-disabled).antsomi-picker-status-error:not(
530
- [disabled]
531
- ):hover {
532
- background-color: ${THEME.token?.red} !important;
533
- }
534
-
535
- // Custom
536
- .date-time-picker__popup-content {
537
- width: 230px !important;
538
- }
539
-
540
- .antsomi-picker-dropdown__advanced {
541
- &.antsomi-picker-dropdown > .antsomi-picker-panel-container {
542
- border-radius: 10px;
543
- }
544
-
545
- > .antsomi-picker-panel-container > .antsomi-picker-panel-layout > .antsomi-picker-panel {
546
- flex-direction: column-reverse;
547
- padding-bottom: 60px;
548
-
549
- .antsomi-picker-date-panel,
550
- .antsomi-picker-quarter-panel {
551
- width: 280px !important;
552
-
553
- .antsomi-picker-cell {
554
- pointer-events: none !important;
555
- }
556
- }
557
-
558
- /* .antsomi-picker-date-panel {
559
- position: relative;
560
- } */
561
-
562
- /* .antsomi-picker-date-panel::before {
563
- content: 'Hours';
564
- position: absolute;
565
- top: 0;
566
- right: 0;
567
- transform: translateX(100%);
568
- width: 61px;
569
- font-weight: bold;
570
- border-right: 1px solid rgba(5, 5, 5, 0.06);
571
- height: 38px;
572
- display: flex;
573
- align-items: center;
574
- justify-content: center;
575
- } */
576
-
577
- .antsomi-picker-time-panel {
578
- .antsomi-picker-time-panel-column:after {
579
- height: 8px;
580
- }
581
-
582
- .antsomi-picker-time-panel-cell-selected {
583
- background-color: ${THEME.token?.colorPrimary};
584
- color: #fff;
585
- }
586
- .antsomi-picker-time-panel-cell-selected:hover {
587
- background-color: ${THEME.token?.colorPrimary};
588
- }
589
-
590
- .antsomi-picker-cell-inner {
591
- text-align: center;
592
- cursor: pointer;
593
- }
594
- .antsomi-picker-cell-inner:hover {
595
- background: rgba(34, 34, 34, 0.04);
596
- }
597
-
598
- .antsomi-picker-header {
599
- display: none;
600
- }
601
-
602
- .antsomi-picker-time-panel-column {
603
- width: 60px;
604
- margin-top: 38px;
605
- /* margin-top: 0; */
606
- scrollbar-width: unset;
607
- scrollbar-color: unset;
608
-
609
- &::-webkit-scrollbar {
610
- width: 6px;
611
- background: transparent;
612
- }
613
- &::-webkit-scrollbar-track {
614
- /* margin-top: 38px; */
615
- border-radius: 10px;
616
- }
617
- }
618
-
619
- /* ul.antsomi-picker-time-panel-column::before {
620
- content: '';
621
- position: absolute;
622
- background: red;
623
- top: 0;
624
- right: 0;
625
- width: 1px;
626
- bottom: 0;
627
- } */
628
-
629
- /* .antsomi-picker-time-panel-column::before {
630
- content: 'Hours';
631
- position: sticky;
632
- display: block;
633
- top: 0;
634
- height: 38px;
635
- line-height: 38px;
636
- text-align: center;
637
- font-weight: bold;
638
- background-color: #fff;
639
- }
640
-
641
- .antsomi-picker-time-panel-column:nth-child(1)::before {
642
- content: 'Hours';
643
- }
644
- .antsomi-picker-time-panel-column:nth-child(2)::before {
645
- content: 'Minutes';
646
- }
647
- .antsomi-picker-time-panel-column:nth-child(3)::before {
648
- content: 'Seconds';
649
- } */
650
-
651
- /* .antsomi-picker-content {
652
- position: relative;
653
-
654
- .antsomi-picker-time-panel-column {
655
- margin-top: 38px;
656
- width: 60px;
657
- }
658
- } */
659
-
660
- .antsomi-picker-content {
661
- position: relative;
662
- }
663
-
664
- /* .antsomi-picker-content::after,
665
- .antsomi-picker-content::before {
666
- content: 'Minutes';
667
- position: absolute;
668
- top: 0;
669
- left: 61px;
670
- width: 60px;
671
- height: 38px;
672
- display: flex;
673
- align-items: center;
674
- justify-content: center;
675
- font-weight: bold;
676
- } */
677
-
678
- /* .antsomi-picker-content::before {
679
- border-right: 1px solid rgba(5, 5, 5, 0.06);
680
- } */
681
- /* .antsomi-picker-content::after {
682
- content: 'Seconds';
683
- left: 120px;
684
- } */
685
- }
686
-
687
- /* Custom css scrollbar */
688
- ul {
689
- padding-left: 6px;
690
- scrollbar-gutter: stable;
691
- }
692
- }
693
-
694
- &.hide-picker-header {
695
- .antsomi-picker-month-panel,
696
- .antsomi-picker-quarter-panel {
697
- .antsomi-picker-header {
698
- display: none;
699
- }
700
- }
701
- }
702
-
703
- &.only-show-time-picker {
704
- .antsomi-picker-date-panel {
705
- display: none;
706
- }
707
- .antsomi-picker-time-panel {
708
- border: none;
709
- /* NOTE: production prod show unexpected border */
710
- border-inline-start: none !important;
711
- }
712
- > .antsomi-picker-panel-container > .antsomi-picker-panel-layout > .antsomi-picker-panel {
713
- width: 250px;
714
- .antsomi-picker-datetime-panel {
715
- justify-content: center;
716
- }
717
-
718
- ul {
719
- ::-webkit-scrollbar {
720
- width: 0;
721
- }
722
- padding: 0;
723
- }
724
-
725
- .antsomi-picker-content::after {
726
- display: none;
727
- }
728
- .antsomi-picker-content::before {
729
- content: 'Hours';
730
- border: none;
731
- left: 0;
732
-
733
- position: absolute;
734
- top: 0;
735
- /* left: 61px; */
736
- width: 60px;
737
- height: 38px;
738
- display: flex;
739
- align-items: center;
740
- justify-content: center;
741
- font-weight: bold;
742
- }
743
- }
744
- &.is-minutes-picker {
745
- > .antsomi-picker-panel-container
746
- > .antsomi-picker-panel-layout
747
- > .antsomi-picker-panel {
748
- .antsomi-picker-content::before {
749
- content: 'Minutes';
750
- }
751
- }
752
- }
753
- }
754
-
755
- &.--error
756
- > .antsomi-picker-panel-container
757
- > .antsomi-picker-panel-layout
758
- > .antsomi-picker-panel {
759
- padding-bottom: 80px;
760
- }
761
-
762
- &.antsomi-picker-dropdown {
763
- .antsomi-picker-footer-extra {
764
- padding: 0 !important;
765
- }
766
-
767
- /*
768
- * NOTE: UI broken when add showTime props to <DatePicker />
769
- * Unexpected header control (comment code below to see bug)
770
- * Temporary solution: hide the verbose element
771
- */
772
- .antsomi-picker-ranges {
773
- display: none;
774
- }
775
- }
776
- }
777
-
778
- .antsomi-advanced-picker-container .input__wrapper {
779
- display: inline-block;
780
- }
781
-
782
- // Slider
783
- .antsomi-slider {
784
- margin: 0 !important;
785
-
786
- &.antsomi-slider-horizontal {
787
- .antsomi-slider-rail,
788
- .antsomi-slider-step {
789
- height: 4px;
790
- width: 100%;
791
- }
792
-
793
- .antsomi-slider-rail {
794
- height: 4px;
795
- }
796
- }
797
-
798
- .antsomi-slider-rail,
799
- .antsomi-slider-step {
800
- position: absolute !important;
801
- }
802
-
803
- .antsomi-slider-rail {
804
- border-radius: 2px !important;
805
- transition: background-color 0.3s !important;
806
- background-color: ${THEME.token?.accent1} !important;
807
- }
808
-
809
- .antsomi-slider-track {
810
- position: absolute !important;
811
- border-radius: 2px !important;
812
- transition: background-color 0.3s !important;
813
- background-color: ${THEME.token?.colorPrimary} !important;
814
- }
815
-
816
- .antsomi-slider-step {
817
- background: 0 0 !important;
818
- pointer-events: none !important;
819
- }
820
-
821
- .antsomi-slider-handle {
822
- position: absolute !important;
823
- width: 14px !important;
824
- height: 14px !important;
825
- margin-top: -2px;
826
- background-color: #fff;
827
- border-radius: 50%;
828
- box-shadow: rgba(0, 0, 0, 0.3) 0px 2px 2px 0px;
829
- cursor: pointer;
830
- transition:
831
- border-color 0.3s,
832
- box-shadow 0.6s,
833
- transform 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28) !important;
834
- }
835
-
836
- .antsomi-slider-handle::before,
837
- .antsomi-slider-handle::after,
838
- .antsomi-slider-handle:hover::after,
839
- .antsomi-slider-handle:focus::before,
840
- .antsomi-slider-handle:focus::after {
841
- width: 14px !important;
842
- height: 14px !important;
843
- box-shadow: none !important;
844
- inset-block-start: 0 !important;
845
- inset-inline-start: 0 !important;
846
- }
847
-
848
- .antsomi-slider-handle::after {
849
- background-color: ${THEME.token?.colorPrimary} !important;
850
- }
851
-
852
- &:hover {
853
- .antsomi-slider-track {
854
- background-color: ${THEME.token?.colorPrimary} !important;
855
- }
856
-
857
- .antsomi-slider-rail {
858
- background-color: ${THEME.token?.accent1} !important;
859
- }
860
-
861
- .antsomi-slider-handle::after {
862
- box-shadow: none !important;
863
- }
864
-
865
- .antsomi-slider-handle {
866
- border-color: ${THEME.token?.colorPrimary} !important;
867
- }
868
- }
869
-
870
- &.antsomi-slider-with-marks {
871
- margin-bottom: 0 !important;
872
- }
873
-
874
- &.antsomi-slider-disabled {
875
- .antsomi-slider-handle {
876
- background-color: ${THEME.token?.accent2} !important;
877
- border-color: ${THEME.token?.accent2} !important;
878
- }
879
- }
880
- }
881
-
882
- /* Radio */
883
- .antsomi-radio-group-outline {
884
- .antsomi-radio-button-wrapper {
885
- display: inline-flex;
886
- align-items: center;
887
- height: 30px;
888
- padding-left: 20px;
889
- padding-right: 20px;
890
- font-family: 'Roboto';
891
- color: ${THEME.token?.colorTextBase};
892
- font-size: ${THEME.token?.fontSize}px;
893
-
894
- &:focus-within {
895
- --tw-shadow: 0 0 #0000;
896
- --tw-shadow-colored: 0 0 #0000;
897
- box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000),
898
- var(--tw-shadow);
899
- }
900
-
901
- &:first-child {
902
- border-top-left-radius: ${THEME.token?.borderRadius}px;
903
- border-bottom-left-radius: ${THEME.token?.borderRadius}px;
904
- }
905
-
906
- &:last-child {
907
- border-top-right-radius: ${THEME.token?.borderRadius}px;
908
- border-bottom-right-radius: ${THEME.token?.borderRadius}px;
909
- }
910
-
911
- &.antsomi-radio-button-wrapper-checked {
912
- border-color: ${THEME.token?.accent1};
913
- background-color: ${THEME.token?.colorTextActive};
914
- color: ${THEME.token?.colorPrimary};
915
- font-weight: 700;
916
-
917
- &::before {
918
- background-color: ${THEME.token?.accent1};
919
- }
920
- }
921
- }
922
-
923
- .antsomi-radio-wrapper {
924
- font-family: 'Roboto';
925
- font-size: ${THEME.token?.fontSize}px;
926
- margin-right: 0;
927
-
928
- .antsomi-radio-disabled {
929
- &:hover {
930
- ::after {
931
- border-color: ${THEME.token?.gray5} !important;
932
- }
933
- }
934
-
935
- .antsomi-radio-inner {
936
- border-color: ${THEME.token?.gray5} !important;
937
-
938
- &::after {
939
- background-color: ${THEME.token?.colorTextDisabled} !important;
940
- }
941
- }
942
- }
943
-
944
- .antsomi-radio-inner {
945
- display: flex;
946
- justify-content: center;
947
- align-items: center;
948
- }
949
-
950
- .antsomi-radio-checked .antsomi-radio-inner::after {
951
- transform: scale(0.6);
952
- }
953
-
954
- .antsomi-radio-inner::after {
955
- flex-shrink: 0;
956
- position: unset !important;
957
- transition: none !important;
958
- transform: scale(0.6);
959
- margin-block-start: 0px;
960
- margin-inline-start: 0px;
961
- }
962
-
963
- .antsomi-radio {
964
- .antsomi-radio-inner {
965
- width: 16px;
966
- height: 16px;
967
- border-color: ${THEME.token?.colorPrimary};
968
- border-width: 2px;
969
- background-color: ${THEME.token?.bw0};
970
-
971
- &::after {
972
- background-color: ${THEME.token?.colorPrimary};
973
- }
974
- }
975
- }
976
-
977
- &:not(:last-child) {
978
- margin-right: 30px;
979
- }
980
- }
981
- }
982
-
983
- /* Checkbox */
984
- .antsomi-checkbox-wrapper {
985
- .antsomi-checkbox-indeterminate {
986
- .antsomi-checkbox-inner::after {
987
- width: 10px !important;
988
- height: 2px !important;
989
- }
990
- }
991
-
992
- .antsomi-checkbox-indeterminate:not(.antsomi-checkbox-disabled) {
993
- .antsomi-checkbox-inner {
994
- background-color: ${THEME.token?.colorPrimary} !important;
995
- &::after {
996
- background-color: ${THEME.token?.bw0} !important;
997
- }
998
- }
999
- }
1000
- }
1001
-
1002
- /* Modal Close */
1003
- .antsomi-modal-root .antsomi-modal-wrap {
1004
- z-index: 3001;
1005
- }
1006
-
1007
- .antsomi-modal .antsomi-modal-close {
1008
- width: unset !important;
1009
- height: unset !important;
1010
- top: 0px !important;
1011
- right: 0 !important;
1012
-
1013
- .antsomi-modal-close-x {
1014
- padding: 20px;
1015
- }
1016
- }
1017
- .antsomi-modal-content {
1018
- .antsomi-modal-header {
1019
- .antsomi-modal-title {
1020
- font-weight: 500;
1021
- font-size: 16px;
1022
- line-height: 22px;
1023
- word-wrap: break-word;
1024
- }
1025
- }
1026
-
1027
- .antsomi-modal-body {
1028
- p {
1029
- margin: 0;
1030
- }
1031
- .antsomi-modal-confirm-body-wrapper {
1032
- padding: 20px;
1033
-
1034
- .antsomi-modal-confirm-body {
1035
- display: flex;
1036
-
1037
- /* Style for icon */
1038
- > i {
1039
- color: ${THEME.token?.colorPrimary};
1040
- margin-right: 13px;
1041
- }
1042
- }
1043
-
1044
- .antsomi-modal-confirm-body:has(i) ~ .antsomi-modal-confirm-btns {
1045
- padding-left: 30px;
1046
- }
1047
-
1048
- .antsomi-modal-confirm-btns {
1049
- display: flex;
1050
- flex-direction: row-reverse;
1051
- justify-content: start;
1052
- gap: 8px;
1053
-
1054
- .antsomi-btn {
1055
- margin: 0px;
1056
- }
1057
- }
1058
- }
1059
- }
1060
- .antsomi-modal-footer {
1061
- margin-top: 0px;
1062
- padding: 15px !important;
1063
- text-align: right;
1064
- background: transparent;
1065
- border-top: 1px solid #f0f0f0 !important;
1066
- border-radius: 0 0 2px 2px;
1067
- }
1068
- }
1069
- /* Override style for Modal confirm in Editor Tab */
1070
- .editor-tab__modal-confirm .antsomi-modal-content .antsomi-modal-body {
1071
- .antsomi-modal-confirm-body-wrapper {
1072
- padding: 0;
1073
-
1074
- .antsomi-modal-confirm-body {
1075
- padding: 20px 20px 0 20px;
1076
- }
1077
- .antsomi-modal-confirm-btns {
1078
- padding: 12px 20px 20px;
1079
- border-top: 1px solid ${THEME.token?.bw4};
1080
- }
1081
- }
1082
- }
1083
-
1084
- /* Message Notification */
1085
- .ant-message {
1086
- z-index: 999999 !important;
1087
- }
1088
-
1089
- /* Collapse */
1090
- .antsomi-collapse-header {
1091
- font-size: 14px;
1092
- }
1093
-
1094
- .antsomi-collapse {
1095
- &.antsomi-collapse-borderless {
1096
- border-bottom: 1px solid ${THEME.token?.gray5};
1097
- }
1098
-
1099
- > .antsomi-collapse-item > .antsomi-collapse-header .antsomi-collapse-arrow {
1100
- transition: all 200ms;
1101
- }
1102
- }
1103
-
1104
- /* Tabs */
1105
- .antsomi-tabs {
1106
- .antsomi-tabs-tab {
1107
- font-weight: bold;
1108
-
1109
- &:not(.antsomi-tabs-tab-active):hover {
1110
- background-color: ${THEME.token?.blue};
1111
- }
1112
- }
1113
- .antsomi-tabs-tab-active {
1114
- z-index: 2;
1115
- }
1116
- .antsomi-tabs-nav::before {
1117
- z-index: 1;
1118
- }
1119
- }
1120
-
1121
- /* Form */
1122
- .antsomi-form {
1123
- .antsomi-form-item {
1124
- .antsomi-form-item-label {
1125
- > label.antsomi-form-item-required:not(.antsomi-form-item-required-mark-optional) {
1126
- &::before {
1127
- position: absolute;
1128
- right: 0px;
1129
- font-family: Roboto;
1130
- }
1131
- }
1132
- }
1133
- }
1134
- }
1135
-
1136
- /* Popover */
1137
- .antsomi-popover {
1138
- &.no-padding-content {
1139
- .antsomi-popover-inner {
1140
- padding: 0 !important;
1141
- }
1142
- }
1143
- .antsomi-popover-inner {
1144
- overflow: hidden;
1145
- }
1146
-
1147
- &.antsomi-emoji-popover .antsomi-popover-inner {
1148
- padding: 15px;
1149
- width: 530px;
1150
- height: 275px;
1151
- }
1152
- }
1153
-
1154
- /* Menu */
1155
- .antsomi-menu {
1156
- .antsomi-menu-submenu.antsomi-menu-submenu-selected {
1157
- .antsomi-menu-item.antsomi-menu-item-selected {
1158
- background-color: ${THEME.token?.blue};
1159
- }
1160
- }
1161
- }
1162
-
1163
- .antsomi-typography {
1164
- &.antsomi-typography-danger,
1165
- &.antsomi-typography-warning {
1166
- font-size: 11px;
1167
- }
1168
- }
1169
-
1170
- /* Tree */
1171
- .antsomi-tree-list {
1172
- .antsomi-tree-treenode {
1173
- align-items: center !important;
1174
-
1175
- .antsomi-tree-checkbox {
1176
- margin: 3px 0px;
1177
- }
1178
- }
1179
-
1180
- > .antsomi-tree-list-scrollbar-vertical {
1181
- width: ${scrollBarSize} !important;
1182
-
1183
- > .antsomi-tree-list-scrollbar-thumb {
1184
- background: ${accent7} !important;
1185
- }
1186
- }
1187
- }
1188
-
1189
- /* Checkbox */
1190
- .antsomi-checkbox,
1191
- .antsomi-tree-checkbox {
1192
- &.antsomi-checkbox-disabled,
1193
- &.antsomi-tree-checkbox-disabled {
1194
- .antsomi-checkbox-inner,
1195
- .antsomi-tree-checkbox-inner {
1196
- background-color: ${globalToken?.bw0};
1197
- border-color: ${globalToken?.bw5} !important;
1198
- }
1199
-
1200
- &.antsomi-checkbox-checked,
1201
- &.antsomi-tree-checkbox-checked {
1202
- .antsomi-checkbox-inner,
1203
- .antsomi-tree-checkbox-inner {
1204
- background-color: ${globalToken?.bw5};
1205
-
1206
- &::after {
1207
- border-color: ${globalToken?.bw0};
1208
- }
1209
- }
1210
- }
1211
- }
1212
- }
1213
-
1214
- /* Tags */
1215
- .antsomi-tag {
1216
- padding-inline: 10px !important;
1217
- align-items: center;
1218
- display: flex !important;
1219
- line-height: 1;
1220
- min-height: 24px;
1221
- overflow: hidden;
1222
- text-overflow: ellipsis;
1223
-
1224
- .antsomi-tag-close-icon {
1225
- position: absolute;
1226
- top: 50%;
1227
- transform: translateY(-50%);
1228
- right: 4px;
1229
- opacity: 0;
1230
- }
1231
-
1232
- &:hover {
1233
- .antsomi-tag-close-icon {
1234
- opacity: 1;
1235
- }
1236
- }
1237
- }
1238
-
1239
- /* Notification */
1240
- .antsomi-notification-notice {
1241
- display: flex;
1242
- max-width: 340px !important;
1243
-
1244
- .antsomi-notification-notice-content {
1245
- display: flex;
1246
- flex: 1;
1247
- }
1248
-
1249
- .antsomi-notification-notice-with-icon {
1250
- display: flex;
1251
- flex-direction: column;
1252
- justify-content: center;
1253
- }
1254
-
1255
- .antsomi-notification-notice-close {
1256
- position: relative !important;
1257
- top: 0 !important;
1258
- inset-inline-end: 0 !important;
1259
- }
1260
- }
12
+ export const GlobalStyle = props => (_jsx(Global, { styles: css `
13
+ @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap');
14
+
15
+ :root {
16
+ --divider-1: ${bw3};
17
+ --divider-2: ${bw4};
18
+ --divider-3: ${bw5};
19
+ }
20
+
21
+ ${props.resetStyles !== false &&
22
+ `
23
+ *,
24
+ *:before,
25
+ *:after {
26
+ -webkit-box-sizing: border-box;
27
+ -moz-box-sizing: border-box;
28
+ box-sizing: border-box;
29
+ border-width: 0;
30
+ border-style: solid;
31
+ }
32
+
33
+ blockquote,
34
+ dl,
35
+ dd,
36
+ h1,
37
+ h2,
38
+ h3,
39
+ h4,
40
+ h5,
41
+ h6,
42
+ hr,
43
+ figure,
44
+ p,
45
+ pre {
46
+ margin: 0;
47
+ }
48
+
49
+ h1,
50
+ h2,
51
+ h3,
52
+ h4,
53
+ h5,
54
+ h6 {
55
+ font-size: inherit;
56
+ font-weight: inherit;
57
+ }
58
+
59
+ ol,
60
+ ul {
61
+ list-style: none;
62
+ margin: 0;
63
+ padding: 0;
64
+ }
65
+
66
+ img,
67
+ svg,
68
+ video,
69
+ canvas,
70
+ audio,
71
+ iframe,
72
+ embed,
73
+ object {
74
+ vertical-align: middle;
75
+ }
76
+
77
+ img,
78
+ video {
79
+ max-width: 100%;
80
+ height: auto;
81
+ }
82
+
83
+ hr {
84
+ border-color: var(--divider-1);
85
+ }
86
+ `}
87
+
88
+ .rc-virtual-list-scrollbar {
89
+ width: 4px !important;
90
+ height: 4px !important;
91
+ }
92
+
93
+ /* Custom */
94
+ .antsomi-scrollbar-hidden {
95
+ -ms-overflow-style: none; /* for Internet Explorer, Edge */
96
+ scrollbar-width: none; /* for Firefox */
97
+
98
+ &::-webkit-scrollbar {
99
+ display: none;
100
+ }
101
+ }
102
+
103
+ /* width */
104
+ ::-webkit-scrollbar {
105
+ background: transparent !important;
106
+ width: ${scrollBarSize} !important;
107
+ height: ${scrollBarSize} !important;
108
+ }
109
+
110
+ /* Track */
111
+ ::-webkit-scrollbar-track {
112
+ background: transparent !important;
113
+ }
114
+
115
+ /* Handle */
116
+ ::-webkit-scrollbar-thumb {
117
+ background-color: transparent;
118
+ border-radius: 4px;
119
+ }
120
+
121
+ *:hover {
122
+ &::-webkit-scrollbar-thumb {
123
+ background-color: ${gray5} !important;
124
+ }
125
+ }
126
+
127
+ .rc-virtual-list {
128
+ .rc-virtual-list-scrollbar-vertical {
129
+ width: ${scrollBarSize} !important;
130
+ }
131
+
132
+ .rc-virtual-list-scrollbar-thumb {
133
+ background: ${accent7} !important;
134
+ }
135
+ }
136
+
137
+ .custom-scrollbars {
138
+ &:hover {
139
+ .scrollbar-track {
140
+ opacity: 1 !important;
141
+ }
142
+ }
143
+ }
144
+
145
+ .antsomi-scroll-box {
146
+ overflow-y: auto;
147
+ scrollbar-gutter: stable !important;
148
+ margin-right: -${scrollBarSize} !important;
149
+
150
+ &.on-scroll {
151
+ ::-webkit-scrollbar-thumb {
152
+ display: block !important;
153
+ }
154
+ }
155
+
156
+ .scroll-content {
157
+ margin-right: -${scrollBarSize} !important;
158
+ }
159
+
160
+ ::-webkit-scrollbar {
161
+ width: ${scrollBarSize} !important;
162
+ height: ${scrollBarSize} !important;
163
+ background-color: transparent !important;
164
+ }
165
+
166
+ ::-webkit-scrollbar-track {
167
+ background-color: transparent !important;
168
+ }
169
+
170
+ ::-webkit-scrollbar-thumb {
171
+ background-color: ${gray5} !important;
172
+ border-radius: 15px !important;
173
+ display: none !important;
174
+
175
+ &:hover {
176
+ display: block !important;
177
+ }
178
+ }
179
+ }
180
+
181
+ /* Tooltip */
182
+ .antsomi-tooltip {
183
+ .antsomi-tooltip-content {
184
+ .antsomi-tooltip-inner {
185
+ a {
186
+ color: inherit;
187
+ font-weight: bold;
188
+ }
189
+ }
190
+ }
191
+ }
192
+
193
+ /* Button */
194
+ .antsomi-btn {
195
+ font-weight: 700 !important;
196
+ display: inline-flex !important;
197
+ align-items: center !important;
198
+ justify-content: center !important;
199
+ gap: 8px;
200
+
201
+ i {
202
+ font-size: 20px;
203
+ }
204
+
205
+ &.antsomi-btn-default {
206
+ &:not(:disabled):hover {
207
+ border-color: ${THEME.token?.blue3};
208
+ background-color: ${THEME.token?.blue};
209
+ }
210
+ &:not(:disabled).antsomi-btn-default-active {
211
+ border-color: ${THEME.token?.colorPrimary};
212
+ background-color: ${THEME.token?.blue1_1};
213
+ }
214
+
215
+ &.antsomi-btn-dangerous {
216
+ border-color: ${THEME.token?.red2};
217
+
218
+ &:not(:disabled):hover {
219
+ border-color: ${THEME.token?.red3};
220
+ background-color: ${THEME.token?.red};
221
+ }
222
+ }
223
+
224
+ &.antsomi-btn-icon-only {
225
+ width: 36px;
226
+ height: 36px;
227
+ }
228
+
229
+ &.antsomi-btn-icon-only.antsomi-btn-sm {
230
+ /* Important to override the above code before */
231
+ width: 24px;
232
+ height: 24px;
233
+ }
234
+ }
235
+
236
+ &.antsomi-btn-text:disabled,
237
+ &.antsomi-btn-link:disabled {
238
+ color: ${THEME.token?.bw6};
239
+ }
240
+
241
+ /* .antsomi-btn-primary:disabled, */
242
+ &.antsomi-btn-default:disabled,
243
+ &.antsomi-btn-dashed:disabled,
244
+ &.antsomi-btn-disabled,
245
+ &.antsomi-btn-default.antsomi-btn-dangerous:disabled,
246
+ &.antsomi-btn-primary.antsomi-btn-dangerous:disabled {
247
+ border-color: ${THEME.token?.bw4};
248
+ }
249
+
250
+ &.antsomi-btn-default:disabled,
251
+ &.antsomi-btn-dashed:disabled,
252
+ &.antsomi-btn-disabled,
253
+ &.antsomi-btn-default.antsomi-btn-dangerous:disabled {
254
+ color: ${THEME.token?.bw6};
255
+ background-color: ${THEME.token?.bw2};
256
+ }
257
+ }
258
+
259
+ /* .antsomi-btn-default { */
260
+ /* &:not(:disabled):hover { */
261
+ /* border-color: ${THEME.token?.blue3} !important; */
262
+ /* background-color: ${THEME.token?.blue} !important; */
263
+ /* } */
264
+ /* &:not(:disabled).antsomi-btn-default-active { */
265
+ /* border-color: ${THEME.token?.colorPrimary} !important; */
266
+ /* background-color: ${THEME.token?.blue1_1} !important; */
267
+ /* } */
268
+ /**/
269
+ /* &.antsomi-btn-dangerous { */
270
+ /* border-color: ${THEME.token?.red2} !important; */
271
+ /**/
272
+ /* &:not(:disabled):hover { */
273
+ /* border-color: ${THEME.token?.red3} !important; */
274
+ /* background-color: ${THEME.token?.red} !important; */
275
+ /* } */
276
+ /* } */
277
+ /**/
278
+ /* &.antsomi-btn-icon-only { */
279
+ /* width: 36px !important; */
280
+ /* height: 36px !important; */
281
+ /* } */
282
+ /**/
283
+ /* &.antsomi-btn-icon-only.antsomi-btn-sm { */
284
+ /* /* Important to override the above code before */
285
+ */
286
+ /* width: 24px !important; */
287
+ /* height: 24px !important; */
288
+ /* } */
289
+ /* } */
290
+
291
+ /* .antsomi-btn-text:disabled, */
292
+ /* .antsomi-btn-link:disabled { */
293
+ /* color: ${THEME.token?.bw6} !important; */
294
+ /* } */
295
+ /**/
296
+ /* /* .antsomi-btn-primary:disabled, */ */
297
+ /* .antsomi-btn-default:disabled, */
298
+ /* .antsomi-btn-dashed:disabled, */
299
+ /* .antsomi-btn-disabled, */
300
+ /* .antsomi-btn-default.antsomi-btn-dangerous:disabled, */
301
+ /* .antsomi-btn-primary.antsomi-btn-dangerous:disabled { */
302
+ /* border-color: ${THEME.token?.bw4} !important; */
303
+ /* } */
304
+ /**/
305
+ /* .antsomi-btn-default:disabled, */
306
+ /* .antsomi-btn-dashed:disabled, */
307
+ /* .antsomi-btn-disabled, */
308
+ /* .antsomi-btn-default.antsomi-btn-dangerous:disabled { */
309
+ /* color: ${THEME.token?.bw6} !important; */
310
+ /* background-color: ${THEME.token?.bw2} !important; */
311
+ /* } */
312
+
313
+ // NOTE: Just hot fix for easy looking
314
+ .antsomi-btn-primary.antsomi-btn-compact-item.antsomi-btn-compact-first-item {
315
+ padding-right: 6px !important;
316
+ }
317
+
318
+ .antsomi-btn-compact-item.antsomi-btn-primary.antsomi-btn-compact-last-item {
319
+ width: fit-content;
320
+ //padding: 0px !important;
321
+ padding: 0px 4px !important;
322
+ &::before {
323
+ content: '';
324
+ position: absolute;
325
+ left: 0px;
326
+ background-color: ${globalToken?.blue5} !important;
327
+ top: auto !important;
328
+ height: 80% !important;
329
+ width: 1px !important;
330
+ }
331
+
332
+ &:disabled {
333
+ &::before {
334
+ background-color: ${globalToken?.bw4} !important;
335
+ }
336
+ }
337
+
338
+ &:not(:disabled) {
339
+ &:hover {
340
+ &::before {
341
+ opacity: 0;
342
+ }
343
+ }
344
+ }
345
+ }
346
+
347
+ /* Input */
348
+ .antsomi-input,
349
+ .antsomi-input-affix-wrapper {
350
+ border-width: 0 0 1px 0 !important;
351
+ box-shadow: none !important;
352
+
353
+ &:hover {
354
+ background-color: ${THEME.token?.blue};
355
+ }
356
+ }
357
+
358
+ .antsomi-input-disabled {
359
+ border-color: ${THEME.token?.bw3} !important;
360
+ background-color: ${THEME.token?.bw0} !important;
361
+ }
362
+
363
+ .antsomi-input {
364
+ &:focus {
365
+ background-color: ${THEME.token?.bw0};
366
+ }
367
+ }
368
+
369
+ .antsomi-input-affix-wrapper {
370
+ &:hover {
371
+ > input.antsomi-input {
372
+ background-color: ${THEME.token?.blue};
373
+ }
374
+ }
375
+
376
+ &.antsomi-input-affix-wrapper-focused {
377
+ background-color: ${THEME.token?.bw0};
378
+
379
+ > input.antsomi-input {
380
+ background-color: ${THEME.token?.bw0};
381
+ }
382
+ }
383
+ }
384
+
385
+ .antsomi-input-affix-wrapper-disabled {
386
+ background-color: ${THEME.token?.bw0} !important;
387
+ color: ${THEME.token?.bw8} !important;
388
+ border-color: ${THEME.token?.bw3} !important;
389
+ }
390
+
391
+ .antsomi-input-status-error:not(.antsomi-input-disabled):not(
392
+ .antsomi-input-borderless
393
+ ).antsomi-input {
394
+ &:hover {
395
+ background-color: ${THEME.token?.red};
396
+ }
397
+ }
398
+
399
+ .antsomi-input-status-warning:not(.antsomi-input-disabled):not(
400
+ .antsomi-input-borderless
401
+ ).antsomi-input {
402
+ &:hover {
403
+ background-color: ${THEME.token?.gold1};
404
+ }
405
+ }
406
+
407
+ .antsomi-input-affix-wrapper-status-error:not(.antsomi-input-affix-wrapper-disabled):not(
408
+ .antsomi-input-affix-wrapper-borderless
409
+ ).antsomi-input-affix-wrapper {
410
+ &:hover,
411
+ &:hover > input.antsomi-input {
412
+ background-color: ${THEME.token?.red};
413
+ }
414
+ }
415
+
416
+ .antsomi-input-affix-wrapper-status-warning:not(.antsomi-input-affix-wrapper-disabled):not(
417
+ .antsomi-input-affix-wrapper-borderless
418
+ ).antsomi-input-affix-wrapper {
419
+ &:hover,
420
+ &:hover > input.antsomi-input {
421
+ background-color: ${THEME.token?.gold1};
422
+ }
423
+ }
424
+
425
+ /* For custom search input */
426
+ .antsomi-input-affix-wrapper.antsomi-search-input:hover > input.antsomi-input {
427
+ background-color: transparent;
428
+ }
429
+
430
+ // Select
431
+ .antsomi-select .antsomi-select-arrow {
432
+ right: 5px !important;
433
+ }
434
+
435
+ .antsomi-select:not(.antsomi-select-disabled):not(.antsomi-select-customize-input):not(
436
+ .antsomi-pagination-size-changer
437
+ ):hover
438
+ .antsomi-select-selector {
439
+ border-color: ${THEME.token?.blue1} !important;
440
+ background-color: ${THEME.token?.blue} !important;
441
+ }
442
+
443
+ .antsomi-select-disabled.antsomi-select:not(.antsomi-select-customize-input)
444
+ .antsomi-select-selector {
445
+ border-color: ${THEME.token?.bw4};
446
+ }
447
+
448
+ .antsomi-select-disabled.antsomi-select:not(.antsomi-select-customize-input) .antsomi-tag {
449
+ background-color: ${THEME.token?.bw4} !important;
450
+ }
451
+
452
+ .antsomi-select-selector {
453
+ border-width: 0 0 1px 0 !important;
454
+ box-shadow: none !important;
455
+ }
456
+
457
+ .antsomi-select-auto-complete {
458
+ .antsomi-select-selector {
459
+ border: none !important;
460
+ }
461
+ }
462
+
463
+ .antsomi-select-dropdown {
464
+ padding: 8px 0 !important;
465
+ z-index: 3002 !important;
466
+ }
467
+
468
+ .antsomi-select-selection-overflow {
469
+ gap: 5px;
470
+ }
471
+
472
+ // Dropdown
473
+ .antsomi-dropdown-menu {
474
+ padding: 8px 0 !important;
475
+ }
476
+
477
+ // Input Number
478
+ .antsomi-input-number,
479
+ .antsomi-input-number-affix-wrapper {
480
+ border-width: 0 0 1px 0 !important;
481
+ box-shadow: none !important;
482
+
483
+ &.--show-handler {
484
+ .antsomi-input-number-handler-wrap {
485
+ opacity: 1;
486
+ }
487
+ }
488
+ }
489
+
490
+ .antsomi-input-number-group-addon {
491
+ border-width: 0 0 1px 0 !important;
492
+ background-color: ${THEME.token?.bw0} !important;
493
+ box-shadow: none !important;
494
+ }
495
+
496
+ .antsomi-input-number:hover {
497
+ background-color: ${THEME.token?.blue};
498
+
499
+ .antsomi-input-number-handler {
500
+ background-color: ${THEME.token?.blue};
501
+ }
502
+ }
503
+
504
+ .antsomi-input-number:focus,
505
+ .antsomi-input-number-focused {
506
+ border-color: ${THEME.token?.colorPrimary} !important;
507
+ }
508
+
509
+ .antsomi-input-number-handler {
510
+ border: none !important;
511
+
512
+ &:hover i {
513
+ color: ${THEME.token?.colorPrimary};
514
+ }
515
+ }
516
+
517
+ // DatePicker
518
+ .antsomi-picker {
519
+ border-width: 0 0 1px 0 !important;
520
+ box-shadow: none !important;
521
+ }
522
+
523
+ .antsomi-picker:hover,
524
+ .antsomi-picker-focused {
525
+ background-color: ${THEME.token?.blue};
526
+ }
527
+
528
+ .antsomi-picker:not(.antsomi-picker-status-error) .antsomi-picker-suffix {
529
+ color: ${THEME.token?.bw10};
530
+ }
531
+
532
+ .antsomi-picker:not(.antsomi-picker-disabled).antsomi-picker-status-error:not(
533
+ [disabled]
534
+ ):hover {
535
+ background-color: ${THEME.token?.red} !important;
536
+ }
537
+
538
+ // Custom
539
+ .date-time-picker__popup-content {
540
+ width: 230px !important;
541
+ }
542
+
543
+ .antsomi-picker-dropdown__advanced {
544
+ &.antsomi-picker-dropdown > .antsomi-picker-panel-container {
545
+ border-radius: 10px;
546
+ }
547
+
548
+ > .antsomi-picker-panel-container > .antsomi-picker-panel-layout > .antsomi-picker-panel {
549
+ flex-direction: column-reverse;
550
+ padding-bottom: 60px;
551
+
552
+ .antsomi-picker-date-panel,
553
+ .antsomi-picker-quarter-panel {
554
+ width: 280px !important;
555
+
556
+ .antsomi-picker-cell {
557
+ pointer-events: none !important;
558
+ }
559
+ }
560
+
561
+ /* .antsomi-picker-date-panel {
562
+ position: relative;
563
+ } */
564
+
565
+ /* .antsomi-picker-date-panel::before {
566
+ content: 'Hours';
567
+ position: absolute;
568
+ top: 0;
569
+ right: 0;
570
+ transform: translateX(100%);
571
+ width: 61px;
572
+ font-weight: bold;
573
+ border-right: 1px solid rgba(5, 5, 5, 0.06);
574
+ height: 38px;
575
+ display: flex;
576
+ align-items: center;
577
+ justify-content: center;
578
+ } */
579
+
580
+ .antsomi-picker-time-panel {
581
+ .antsomi-picker-time-panel-column:after {
582
+ height: 8px;
583
+ }
584
+
585
+ .antsomi-picker-time-panel-cell-selected {
586
+ background-color: ${THEME.token?.colorPrimary};
587
+ color: #fff;
588
+ }
589
+ .antsomi-picker-time-panel-cell-selected:hover {
590
+ background-color: ${THEME.token?.colorPrimary};
591
+ }
592
+
593
+ .antsomi-picker-cell-inner {
594
+ text-align: center;
595
+ cursor: pointer;
596
+ }
597
+ .antsomi-picker-cell-inner:hover {
598
+ background: rgba(34, 34, 34, 0.04);
599
+ }
600
+
601
+ .antsomi-picker-header {
602
+ display: none;
603
+ }
604
+
605
+ .antsomi-picker-time-panel-column {
606
+ width: 60px;
607
+ margin-top: 38px;
608
+ /* margin-top: 0; */
609
+ scrollbar-width: unset;
610
+ scrollbar-color: unset;
611
+
612
+ &::-webkit-scrollbar {
613
+ width: 6px;
614
+ background: transparent;
615
+ }
616
+ &::-webkit-scrollbar-track {
617
+ /* margin-top: 38px; */
618
+ border-radius: 10px;
619
+ }
620
+ }
621
+
622
+ /* ul.antsomi-picker-time-panel-column::before {
623
+ content: '';
624
+ position: absolute;
625
+ background: red;
626
+ top: 0;
627
+ right: 0;
628
+ width: 1px;
629
+ bottom: 0;
630
+ } */
631
+
632
+ /* .antsomi-picker-time-panel-column::before {
633
+ content: 'Hours';
634
+ position: sticky;
635
+ display: block;
636
+ top: 0;
637
+ height: 38px;
638
+ line-height: 38px;
639
+ text-align: center;
640
+ font-weight: bold;
641
+ background-color: #fff;
642
+ }
643
+
644
+ .antsomi-picker-time-panel-column:nth-child(1)::before {
645
+ content: 'Hours';
646
+ }
647
+ .antsomi-picker-time-panel-column:nth-child(2)::before {
648
+ content: 'Minutes';
649
+ }
650
+ .antsomi-picker-time-panel-column:nth-child(3)::before {
651
+ content: 'Seconds';
652
+ } */
653
+
654
+ /* .antsomi-picker-content {
655
+ position: relative;
656
+
657
+ .antsomi-picker-time-panel-column {
658
+ margin-top: 38px;
659
+ width: 60px;
660
+ }
661
+ } */
662
+
663
+ .antsomi-picker-content {
664
+ position: relative;
665
+ }
666
+
667
+ /* .antsomi-picker-content::after,
668
+ .antsomi-picker-content::before {
669
+ content: 'Minutes';
670
+ position: absolute;
671
+ top: 0;
672
+ left: 61px;
673
+ width: 60px;
674
+ height: 38px;
675
+ display: flex;
676
+ align-items: center;
677
+ justify-content: center;
678
+ font-weight: bold;
679
+ } */
680
+
681
+ /* .antsomi-picker-content::before {
682
+ border-right: 1px solid rgba(5, 5, 5, 0.06);
683
+ } */
684
+ /* .antsomi-picker-content::after {
685
+ content: 'Seconds';
686
+ left: 120px;
687
+ } */
688
+ }
689
+
690
+ /* Custom css scrollbar */
691
+ ul {
692
+ padding-left: 6px;
693
+ scrollbar-gutter: stable;
694
+ }
695
+ }
696
+
697
+ &.hide-picker-header {
698
+ .antsomi-picker-month-panel,
699
+ .antsomi-picker-quarter-panel {
700
+ .antsomi-picker-header {
701
+ display: none;
702
+ }
703
+ }
704
+ }
705
+
706
+ &.only-show-time-picker {
707
+ .antsomi-picker-date-panel {
708
+ display: none;
709
+ }
710
+ .antsomi-picker-time-panel {
711
+ border: none;
712
+ /* NOTE: production prod show unexpected border */
713
+ border-inline-start: none !important;
714
+ }
715
+ > .antsomi-picker-panel-container > .antsomi-picker-panel-layout > .antsomi-picker-panel {
716
+ width: 250px;
717
+ .antsomi-picker-datetime-panel {
718
+ justify-content: center;
719
+ }
720
+
721
+ ul {
722
+ ::-webkit-scrollbar {
723
+ width: 0;
724
+ }
725
+ padding: 0;
726
+ }
727
+
728
+ .antsomi-picker-content::after {
729
+ display: none;
730
+ }
731
+ .antsomi-picker-content::before {
732
+ content: 'Hours';
733
+ border: none;
734
+ left: 0;
735
+
736
+ position: absolute;
737
+ top: 0;
738
+ /* left: 61px; */
739
+ width: 60px;
740
+ height: 38px;
741
+ display: flex;
742
+ align-items: center;
743
+ justify-content: center;
744
+ font-weight: bold;
745
+ }
746
+ }
747
+ &.is-minutes-picker {
748
+ > .antsomi-picker-panel-container
749
+ > .antsomi-picker-panel-layout
750
+ > .antsomi-picker-panel {
751
+ .antsomi-picker-content::before {
752
+ content: 'Minutes';
753
+ }
754
+ }
755
+ }
756
+ }
757
+
758
+ &.--error
759
+ > .antsomi-picker-panel-container
760
+ > .antsomi-picker-panel-layout
761
+ > .antsomi-picker-panel {
762
+ padding-bottom: 80px;
763
+ }
764
+
765
+ &.antsomi-picker-dropdown {
766
+ .antsomi-picker-footer-extra {
767
+ padding: 0 !important;
768
+ }
769
+
770
+ /*
771
+ * NOTE: UI broken when add showTime props to <DatePicker />
772
+ * Unexpected header control (comment code below to see bug)
773
+ * Temporary solution: hide the verbose element
774
+ */
775
+ .antsomi-picker-ranges {
776
+ display: none;
777
+ }
778
+ }
779
+ }
780
+
781
+ .antsomi-advanced-picker-container .input__wrapper {
782
+ display: inline-block;
783
+ }
784
+
785
+ // Slider
786
+ .antsomi-slider {
787
+ margin: 0 !important;
788
+
789
+ &.antsomi-slider-horizontal {
790
+ .antsomi-slider-rail,
791
+ .antsomi-slider-step {
792
+ height: 4px;
793
+ width: 100%;
794
+ }
795
+
796
+ .antsomi-slider-rail {
797
+ height: 4px;
798
+ }
799
+ }
800
+
801
+ .antsomi-slider-rail,
802
+ .antsomi-slider-step {
803
+ position: absolute !important;
804
+ }
805
+
806
+ .antsomi-slider-rail {
807
+ border-radius: 2px !important;
808
+ transition: background-color 0.3s !important;
809
+ background-color: ${THEME.token?.accent1} !important;
810
+ }
811
+
812
+ .antsomi-slider-track {
813
+ position: absolute !important;
814
+ border-radius: 2px !important;
815
+ transition: background-color 0.3s !important;
816
+ background-color: ${THEME.token?.colorPrimary} !important;
817
+ }
818
+
819
+ .antsomi-slider-step {
820
+ background: 0 0 !important;
821
+ pointer-events: none !important;
822
+ }
823
+
824
+ .antsomi-slider-handle {
825
+ position: absolute !important;
826
+ width: 14px !important;
827
+ height: 14px !important;
828
+ margin-top: -2px;
829
+ background-color: #fff;
830
+ border-radius: 50%;
831
+ box-shadow: rgba(0, 0, 0, 0.3) 0px 2px 2px 0px;
832
+ cursor: pointer;
833
+ transition:
834
+ border-color 0.3s,
835
+ box-shadow 0.6s,
836
+ transform 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28) !important;
837
+ }
838
+
839
+ .antsomi-slider-handle::before,
840
+ .antsomi-slider-handle::after,
841
+ .antsomi-slider-handle:hover::after,
842
+ .antsomi-slider-handle:focus::before,
843
+ .antsomi-slider-handle:focus::after {
844
+ width: 14px !important;
845
+ height: 14px !important;
846
+ box-shadow: none !important;
847
+ inset-block-start: 0 !important;
848
+ inset-inline-start: 0 !important;
849
+ }
850
+
851
+ .antsomi-slider-handle::after {
852
+ background-color: ${THEME.token?.colorPrimary} !important;
853
+ }
854
+
855
+ &:hover {
856
+ .antsomi-slider-track {
857
+ background-color: ${THEME.token?.colorPrimary} !important;
858
+ }
859
+
860
+ .antsomi-slider-rail {
861
+ background-color: ${THEME.token?.accent1} !important;
862
+ }
863
+
864
+ .antsomi-slider-handle::after {
865
+ box-shadow: none !important;
866
+ }
867
+
868
+ .antsomi-slider-handle {
869
+ border-color: ${THEME.token?.colorPrimary} !important;
870
+ }
871
+ }
872
+
873
+ &.antsomi-slider-with-marks {
874
+ margin-bottom: 0 !important;
875
+ }
876
+
877
+ &.antsomi-slider-disabled {
878
+ .antsomi-slider-handle {
879
+ background-color: ${THEME.token?.accent2} !important;
880
+ border-color: ${THEME.token?.accent2} !important;
881
+ }
882
+ }
883
+ }
884
+
885
+ /* Radio */
886
+ .antsomi-radio-group-outline {
887
+ .antsomi-radio-button-wrapper {
888
+ display: inline-flex;
889
+ align-items: center;
890
+ height: 30px;
891
+ padding-left: 20px;
892
+ padding-right: 20px;
893
+ font-family: 'Roboto';
894
+ color: ${THEME.token?.colorTextBase};
895
+ font-size: ${THEME.token?.fontSize}px;
896
+
897
+ &:focus-within {
898
+ --tw-shadow: 0 0 #0000;
899
+ --tw-shadow-colored: 0 0 #0000;
900
+ box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000),
901
+ var(--tw-shadow);
902
+ }
903
+
904
+ &:first-child {
905
+ border-top-left-radius: ${THEME.token?.borderRadius}px;
906
+ border-bottom-left-radius: ${THEME.token?.borderRadius}px;
907
+ }
908
+
909
+ &:last-child {
910
+ border-top-right-radius: ${THEME.token?.borderRadius}px;
911
+ border-bottom-right-radius: ${THEME.token?.borderRadius}px;
912
+ }
913
+
914
+ &.antsomi-radio-button-wrapper-checked {
915
+ border-color: ${THEME.token?.accent1};
916
+ background-color: ${THEME.token?.colorTextActive};
917
+ color: ${THEME.token?.colorPrimary};
918
+ font-weight: 700;
919
+
920
+ &::before {
921
+ background-color: ${THEME.token?.accent1};
922
+ }
923
+ }
924
+ }
925
+
926
+ .antsomi-radio-wrapper {
927
+ font-family: 'Roboto';
928
+ font-size: ${THEME.token?.fontSize}px;
929
+ margin-right: 0;
930
+
931
+ .antsomi-radio-disabled {
932
+ &:hover {
933
+ ::after {
934
+ border-color: ${THEME.token?.gray5} !important;
935
+ }
936
+ }
937
+
938
+ .antsomi-radio-inner {
939
+ border-color: ${THEME.token?.gray5} !important;
940
+
941
+ &::after {
942
+ background-color: ${THEME.token?.colorTextDisabled} !important;
943
+ }
944
+ }
945
+ }
946
+
947
+ .antsomi-radio-inner {
948
+ display: flex;
949
+ justify-content: center;
950
+ align-items: center;
951
+ }
952
+
953
+ .antsomi-radio-checked .antsomi-radio-inner::after {
954
+ transform: scale(0.6);
955
+ }
956
+
957
+ .antsomi-radio-inner::after {
958
+ flex-shrink: 0;
959
+ position: unset !important;
960
+ transition: none !important;
961
+ transform: scale(0.6);
962
+ margin-block-start: 0px;
963
+ margin-inline-start: 0px;
964
+ }
965
+
966
+ .antsomi-radio {
967
+ .antsomi-radio-inner {
968
+ width: 16px;
969
+ height: 16px;
970
+ border-color: ${THEME.token?.colorPrimary};
971
+ border-width: 2px;
972
+ background-color: ${THEME.token?.bw0};
973
+
974
+ &::after {
975
+ background-color: ${THEME.token?.colorPrimary};
976
+ }
977
+ }
978
+ }
979
+
980
+ &:not(:last-child) {
981
+ margin-right: 30px;
982
+ }
983
+ }
984
+ }
985
+
986
+ /* Checkbox */
987
+ .antsomi-checkbox-wrapper {
988
+ .antsomi-checkbox-indeterminate {
989
+ .antsomi-checkbox-inner::after {
990
+ width: 10px !important;
991
+ height: 2px !important;
992
+ }
993
+ }
994
+
995
+ .antsomi-checkbox-indeterminate:not(.antsomi-checkbox-disabled) {
996
+ .antsomi-checkbox-inner {
997
+ background-color: ${THEME.token?.colorPrimary} !important;
998
+ &::after {
999
+ background-color: ${THEME.token?.bw0} !important;
1000
+ }
1001
+ }
1002
+ }
1003
+ }
1004
+
1005
+ /* Modal Close */
1006
+ .antsomi-modal-root .antsomi-modal-wrap {
1007
+ z-index: 3001;
1008
+ }
1009
+
1010
+ .antsomi-modal .antsomi-modal-close {
1011
+ width: unset !important;
1012
+ height: unset !important;
1013
+ top: 0px !important;
1014
+ right: 0 !important;
1015
+
1016
+ .antsomi-modal-close-x {
1017
+ padding: 20px;
1018
+ }
1019
+ }
1020
+ .antsomi-modal-content {
1021
+ .antsomi-modal-header {
1022
+ .antsomi-modal-title {
1023
+ font-weight: 500;
1024
+ font-size: 16px;
1025
+ line-height: 22px;
1026
+ word-wrap: break-word;
1027
+ }
1028
+ }
1029
+
1030
+ .antsomi-modal-body {
1031
+ p {
1032
+ margin: 0;
1033
+ }
1034
+ .antsomi-modal-confirm-body-wrapper {
1035
+ padding: 20px;
1036
+
1037
+ .antsomi-modal-confirm-body {
1038
+ display: flex;
1039
+
1040
+ /* Style for icon */
1041
+ > i {
1042
+ color: ${THEME.token?.colorPrimary};
1043
+ margin-right: 13px;
1044
+ }
1045
+ }
1046
+
1047
+ .antsomi-modal-confirm-body:has(i) ~ .antsomi-modal-confirm-btns {
1048
+ padding-left: 30px;
1049
+ }
1050
+
1051
+ .antsomi-modal-confirm-btns {
1052
+ display: flex;
1053
+ flex-direction: row-reverse;
1054
+ justify-content: start;
1055
+ gap: 8px;
1056
+
1057
+ .antsomi-btn {
1058
+ margin: 0px;
1059
+ }
1060
+ }
1061
+ }
1062
+ }
1063
+ .antsomi-modal-footer {
1064
+ margin-top: 0px;
1065
+ padding: 15px !important;
1066
+ text-align: right;
1067
+ background: transparent;
1068
+ border-top: 1px solid #f0f0f0 !important;
1069
+ border-radius: 0 0 2px 2px;
1070
+ }
1071
+ }
1072
+ /* Override style for Modal confirm in Editor Tab */
1073
+ .editor-tab__modal-confirm .antsomi-modal-content .antsomi-modal-body {
1074
+ .antsomi-modal-confirm-body-wrapper {
1075
+ padding: 0;
1076
+
1077
+ .antsomi-modal-confirm-body {
1078
+ padding: 20px 20px 0 20px;
1079
+ }
1080
+ .antsomi-modal-confirm-btns {
1081
+ padding: 12px 20px 20px;
1082
+ border-top: 1px solid ${THEME.token?.bw4};
1083
+ }
1084
+ }
1085
+ }
1086
+
1087
+ /* Message Notification */
1088
+ .ant-message {
1089
+ z-index: 999999 !important;
1090
+ }
1091
+
1092
+ /* Collapse */
1093
+ .antsomi-collapse-header {
1094
+ font-size: 14px;
1095
+ }
1096
+
1097
+ .antsomi-collapse {
1098
+ &.antsomi-collapse-borderless {
1099
+ border-bottom: 1px solid ${THEME.token?.gray5};
1100
+ }
1101
+
1102
+ > .antsomi-collapse-item > .antsomi-collapse-header .antsomi-collapse-arrow {
1103
+ transition: all 200ms;
1104
+ }
1105
+ }
1106
+
1107
+ /* Tabs */
1108
+ .antsomi-tabs {
1109
+ .antsomi-tabs-tab {
1110
+ font-weight: bold;
1111
+
1112
+ &:not(.antsomi-tabs-tab-active):hover {
1113
+ background-color: ${THEME.token?.blue};
1114
+ }
1115
+ }
1116
+ .antsomi-tabs-tab-active {
1117
+ z-index: 2;
1118
+ }
1119
+ .antsomi-tabs-nav::before {
1120
+ z-index: 1;
1121
+ }
1122
+ }
1123
+
1124
+ /* Form */
1125
+ .antsomi-form {
1126
+ .antsomi-form-item {
1127
+ .antsomi-form-item-label {
1128
+ > label.antsomi-form-item-required:not(.antsomi-form-item-required-mark-optional) {
1129
+ &::before {
1130
+ position: absolute;
1131
+ right: 0px;
1132
+ font-family: Roboto;
1133
+ }
1134
+ }
1135
+ }
1136
+ }
1137
+ }
1138
+
1139
+ /* Popover */
1140
+ .antsomi-popover {
1141
+ &.no-padding-content {
1142
+ .antsomi-popover-inner {
1143
+ padding: 0 !important;
1144
+ }
1145
+ }
1146
+ .antsomi-popover-inner {
1147
+ overflow: hidden;
1148
+ }
1149
+
1150
+ &.antsomi-emoji-popover .antsomi-popover-inner {
1151
+ padding: 15px;
1152
+ width: 530px;
1153
+ height: 275px;
1154
+ }
1155
+ }
1156
+
1157
+ /* Menu */
1158
+ .antsomi-menu {
1159
+ .antsomi-menu-submenu.antsomi-menu-submenu-selected {
1160
+ .antsomi-menu-item.antsomi-menu-item-selected {
1161
+ background-color: ${THEME.token?.blue};
1162
+ }
1163
+ }
1164
+ }
1165
+
1166
+ .antsomi-typography {
1167
+ &.antsomi-typography-danger,
1168
+ &.antsomi-typography-warning {
1169
+ font-size: 11px;
1170
+ }
1171
+ }
1172
+
1173
+ /* Tree */
1174
+ .antsomi-tree-list {
1175
+ .antsomi-tree-treenode {
1176
+ align-items: center !important;
1177
+
1178
+ .antsomi-tree-checkbox {
1179
+ margin: 3px 0px;
1180
+ }
1181
+ }
1182
+
1183
+ > .antsomi-tree-list-scrollbar-vertical {
1184
+ width: ${scrollBarSize} !important;
1185
+
1186
+ > .antsomi-tree-list-scrollbar-thumb {
1187
+ background: ${accent7} !important;
1188
+ }
1189
+ }
1190
+ }
1191
+
1192
+ /* Checkbox */
1193
+ .antsomi-checkbox,
1194
+ .antsomi-tree-checkbox {
1195
+ &.antsomi-checkbox-disabled,
1196
+ &.antsomi-tree-checkbox-disabled {
1197
+ .antsomi-checkbox-inner,
1198
+ .antsomi-tree-checkbox-inner {
1199
+ background-color: ${globalToken?.bw0};
1200
+ border-color: ${globalToken?.bw5} !important;
1201
+ }
1202
+
1203
+ &.antsomi-checkbox-checked,
1204
+ &.antsomi-tree-checkbox-checked {
1205
+ .antsomi-checkbox-inner,
1206
+ .antsomi-tree-checkbox-inner {
1207
+ background-color: ${globalToken?.bw5};
1208
+
1209
+ &::after {
1210
+ border-color: ${globalToken?.bw0};
1211
+ }
1212
+ }
1213
+ }
1214
+ }
1215
+ }
1216
+
1217
+ /* Tags */
1218
+ .antsomi-tag {
1219
+ padding-inline: 10px !important;
1220
+ align-items: center;
1221
+ display: flex !important;
1222
+ line-height: 1;
1223
+ min-height: 24px;
1224
+ overflow: hidden;
1225
+ text-overflow: ellipsis;
1226
+
1227
+ .antsomi-tag-close-icon {
1228
+ position: absolute;
1229
+ top: 50%;
1230
+ transform: translateY(-50%);
1231
+ right: 4px;
1232
+ opacity: 0;
1233
+ }
1234
+
1235
+ &:hover {
1236
+ .antsomi-tag-close-icon {
1237
+ opacity: 1;
1238
+ }
1239
+ }
1240
+ }
1241
+
1242
+ /* Notification */
1243
+ .antsomi-notification-notice {
1244
+ display: flex;
1245
+ max-width: 340px !important;
1246
+
1247
+ .antsomi-notification-notice-content {
1248
+ display: flex;
1249
+ flex: 1;
1250
+ }
1251
+
1252
+ .antsomi-notification-notice-with-icon {
1253
+ display: flex;
1254
+ flex-direction: column;
1255
+ justify-content: center;
1256
+ }
1257
+
1258
+ .antsomi-notification-notice-close {
1259
+ position: relative !important;
1260
+ top: 0 !important;
1261
+ inset-inline-end: 0 !important;
1262
+ }
1263
+ }
1261
1264
  ` }));