@antscorp/antsomi-ui 2.0.108 → 2.0.109
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.
- package/CHANGELOG.md +63 -0
- package/README.md +78 -78
- package/es/__mocks__/1000_city.json +802 -802
- package/es/__mocks__/sql-query.json +56 -56
- package/es/assets/css/main.scss +6 -6
- package/es/assets/images/feedback.svg +3 -3
- package/es/assets/svg/mobile-frame.svg +3 -3
- package/es/assets/svg/warning-icon.svg +5 -5
- package/es/components/atoms/Alert/Alert.js +28 -28
- package/es/components/atoms/ContentEditable/styled.js +16 -16
- package/es/components/atoms/DividerPure/styled.js +35 -35
- package/es/components/atoms/Icon/index.js +19 -19
- package/es/components/atoms/Iframe/Iframe.js +18 -18
- package/es/components/atoms/Input/styled.js +104 -104
- package/es/components/atoms/InputDynamic/styled.js +284 -284
- package/es/components/atoms/MobileBrandingBar/styled.js +21 -21
- package/es/components/atoms/MobileFrame/styled.js +30 -30
- package/es/components/atoms/MobileFrameV2/styled.js +42 -42
- package/es/components/atoms/MobileFrameV3/styled.js +31 -31
- package/es/components/atoms/NotificationStatus/styled.js +10 -10
- package/es/components/atoms/PreviewTabs/styled.js +69 -69
- package/es/components/atoms/Radio/index.js +16 -16
- package/es/components/atoms/ReactIframe/ReactIframe.js +5 -5
- package/es/components/atoms/ReactIframe/styled.js +9 -9
- package/es/components/atoms/RequiredLabel/styled.js +3 -3
- package/es/components/atoms/ScrollBox/index.js +5 -5
- package/es/components/atoms/Scrollbars/styled.js +21 -21
- package/es/components/atoms/SlideBar/styled.js +194 -194
- package/es/components/atoms/Slider/styled.js +31 -31
- package/es/components/atoms/Space/Space.js +4 -4
- package/es/components/atoms/Spin/styled.js +11 -11
- package/es/components/atoms/Steps/styled.js +244 -244
- package/es/components/atoms/Switch/styled.js +56 -56
- package/es/components/atoms/Tag/Tag.js +10 -10
- package/es/components/atoms/Text/styled.js +34 -34
- package/es/components/icons/DomainManagementIcon.js +1 -1
- package/es/components/icons/LoadingIcon.js +33 -33
- package/es/components/icons/document/styled.js +43 -43
- package/es/components/index.scss +1 -1
- package/es/components/molecules/AccessDenied/styled.js +28 -28
- package/es/components/molecules/AccountSelection/styled.js +110 -110
- package/es/components/molecules/AddDynamicContent/styled.js +23 -23
- package/es/components/molecules/AlignSetting/styled.js +4 -4
- package/es/components/molecules/ApplyPopupContent/styled.js +32 -32
- package/es/components/molecules/CalendarSelection/components/AutoUpdateTo/styled.js +8 -8
- package/es/components/molecules/CalendarSelection/components/CustomPicker/styled.js +79 -79
- package/es/components/molecules/CalendarSelection/components/Footer/styled.js +4 -4
- package/es/components/molecules/CalendarSelection/components/RangePicker/styled.js +21 -21
- package/es/components/molecules/CalendarSelection/components/RangeSelectOptions/components/Option/Option.js +26 -26
- package/es/components/molecules/CalendarSelection/components/RangeSelectOptions/styled.js +30 -30
- package/es/components/molecules/CalendarSelection/components/TimeRangeDisplay/styled.js +26 -26
- package/es/components/molecules/CalendarSelection/styled.js +8 -8
- package/es/components/molecules/CaptureScreen/components/CommentBox/styled.js +119 -119
- package/es/components/molecules/CaptureScreen/components/Cursor/styled.js +67 -67
- package/es/components/molecules/CaptureScreen/styled.js +240 -240
- package/es/components/molecules/ChartTab/components/styled.js +24 -24
- package/es/components/molecules/ChartTab/styled.js +20 -20
- package/es/components/molecules/ChatBox/AntsomiAI.js +8 -8
- package/es/components/molecules/ChatBox/ChatBoxInsight/QuestionItem.js +9 -9
- package/es/components/molecules/ChatBox/ChatBoxInsight/styled.js +365 -365
- package/es/components/molecules/ChatBox/styled.js +324 -324
- package/es/components/molecules/CodeStructure/styled.js +5 -5
- package/es/components/molecules/ColorPicker/ChromePicker/styled.js +10 -10
- package/es/components/molecules/ColorPicker/CustomPicker/styled.js +89 -89
- package/es/components/molecules/ColorPicker/SketchPicker/styled.js +5 -5
- package/es/components/molecules/ColorPicker/styled.js +7 -7
- package/es/components/molecules/ColorSetting/styled.js +39 -39
- package/es/components/molecules/DatePicker/components/AdvancedPicker/styled.js +110 -110
- package/es/components/molecules/DatePickerV2/styled.js +6 -6
- package/es/components/molecules/DisplayFormat/styled.js +12 -12
- package/es/components/molecules/DrawerDetail/components/ToggleDrawerSizeButton.js +24 -24
- package/es/components/molecules/DrawerDetail/styled.js +109 -109
- package/es/components/molecules/Dropdown/style.scss +11 -11
- package/es/components/molecules/Dropdown/styled.js +28 -28
- package/es/components/molecules/EdgeSetting/styled.js +10 -10
- package/es/components/molecules/EditableName/styled.js +70 -70
- package/es/components/molecules/EditingList/styled.js +29 -29
- package/es/components/molecules/EditingListV2/components/List/List.js +9 -9
- package/es/components/molecules/EditorTab/styled.js +156 -156
- package/es/components/molecules/EmojiCollections/styled.js +22 -22
- package/es/components/molecules/EmojiPopover/styled.js +4 -4
- package/es/components/molecules/EmptyData/styled.js +53 -53
- package/es/components/molecules/FontSizeInput/index.scss +15 -15
- package/es/components/molecules/GradientSetting/styled.js +57 -57
- package/es/components/molecules/HeaderV2/styled.js +70 -70
- package/es/components/molecules/IconSelection/styled.js +69 -69
- package/es/components/molecules/ImageEditor/components/ModalShortcut.js +21 -21
- package/es/components/molecules/ImageEditor/styled.js +5 -5
- package/es/components/molecules/ImagePreview/styled.js +3 -3
- package/es/components/molecules/InputNumberWithUnit/styled.js +14 -14
- package/es/components/molecules/InputSearch/styled.js +41 -41
- package/es/components/molecules/ItemNotFound/styled.js +26 -26
- package/es/components/molecules/MatchAnySelect/components/ExtendValuePopup.js +8 -8
- package/es/components/molecules/MatchAnySelect/styled.js +247 -247
- package/es/components/molecules/Modal/styled.js +63 -63
- package/es/components/molecules/ModalSelect/styled.js +152 -152
- package/es/components/molecules/ModalV2/styled.js +27 -27
- package/es/components/molecules/PopupDraggable/styled.js +57 -57
- package/es/components/molecules/PreviewModal/styled.js +26 -26
- package/es/components/molecules/ProcessLoading/styled.js +2 -2
- package/es/components/molecules/QuillEditor/CustomToolbar.js +3165 -3165
- package/es/components/molecules/QuillEditor/EditorToolbar.js +7 -7
- package/es/components/molecules/QuillEditor/styled.js +25 -25
- package/es/components/molecules/RadioGroup/styled.js +9 -9
- package/es/components/molecules/RequestAccess/styled.js +38 -38
- package/es/components/molecules/ResizeGrid/components/Cell/styled.js +77 -77
- package/es/components/molecules/ResizeGrid/styled.js +50 -50
- package/es/components/molecules/RichMenu/RichMenuBlock/RichMenuCell/styled.js +118 -118
- package/es/components/molecules/RichMenu/RichMenuBlock/styled.js +13 -13
- package/es/components/molecules/RichMenu/RichMenuChatBar/TypingChat/styled.js +40 -40
- package/es/components/molecules/RichMenu/RichMenuChatBar/styled.js +27 -27
- package/es/components/molecules/RichMenu/RichMenuMobileView/RichMenuMobileView.js +2 -2
- package/es/components/molecules/RichMenu/RichMenuMobileView/styled.js +38 -38
- package/es/components/molecules/SearchPopover/components/PopoverSelect/styled.js +36 -36
- package/es/components/molecules/SearchPopover/components/PopoverSelect/styles.scss +7 -7
- package/es/components/molecules/SearchPopover/styled.js +32 -32
- package/es/components/molecules/Select/styled.js +32 -32
- package/es/components/molecules/SelectAccount/styled.js +147 -147
- package/es/components/molecules/SelectEventAttribute/styled.js +8 -8
- package/es/components/molecules/SelectMulti/styled.js +62 -62
- package/es/components/molecules/SelectV2/styled.js +124 -124
- package/es/components/molecules/SettingWrapper/styled.js +12 -12
- package/es/components/molecules/ShareAccess/components/GeneralAccess/styled.js +56 -56
- package/es/components/molecules/ShareAccess/components/LayoutContent/styled.js +5 -5
- package/es/components/molecules/ShareAccess/components/ModalTransferOwnerShip/styled.js +15 -15
- package/es/components/molecules/ShareAccess/components/PeopleAccess/styled.js +63 -63
- package/es/components/molecules/ShareAccess/components/SearchUser/styled.js +31 -31
- package/es/components/molecules/SliderWithInputNumber/styled.js +2 -2
- package/es/components/molecules/Tabs/Tabs.js +11 -11
- package/es/components/molecules/TagifyInput/TagifyInput.js +50 -50
- package/es/components/molecules/TagifyInput/styled.js +37 -37
- package/es/components/molecules/TagifyInput/utils.js +13 -13
- package/es/components/molecules/TagifyInput/utils.style.js +218 -218
- package/es/components/molecules/TemplateSaveAs/components/Category/Category.js +5 -5
- package/es/components/molecules/TemplateSaveAs/components/ImageSlider/styled.js +276 -276
- package/es/components/molecules/TemplateSaveAs/styled.js +134 -134
- package/es/components/molecules/ThumbnailCard/styled.js +92 -92
- package/es/components/molecules/Tree/styled.js +38 -38
- package/es/components/molecules/UnsubscribePreferences/styled.js +7 -7
- package/es/components/molecules/UnsubscribePreview/components/styled.js +53 -53
- package/es/components/molecules/UnsubscribePreview/styled.js +48 -48
- package/es/components/molecules/UploadImage/styled.js +114 -114
- package/es/components/molecules/VirtualizedMenu/styled.js +82 -82
- package/es/components/organism/AccountProfile/components/AccountSetting/components/EditableInput/styles.js +98 -98
- package/es/components/organism/AccountProfile/components/AccountSetting/components/LanguageSelector/styles.js +18 -18
- package/es/components/organism/AccountProfile/components/AccountSetting/styled.js +543 -543
- package/es/components/organism/AccountProfile/components/AccountSetting/styles.scss +39 -39
- package/es/components/organism/AccountSharing/styled.js +336 -336
- package/es/components/organism/ActivityTimeline/__mocks__/event_tracking.json +1290 -1290
- package/es/components/organism/ActivityTimeline/__mocks__/timeline.json +3059 -3059
- package/es/components/organism/ActivityTimeline/components/ActionHistory/styled.js +28 -28
- package/es/components/organism/ActivityTimeline/components/CardMember/styled.js +60 -60
- package/es/components/organism/ActivityTimeline/components/ItemGroupEvent/styled.js +4 -4
- package/es/components/organism/ActivityTimeline/components/List/styled.js +77 -77
- package/es/components/organism/ActivityTimeline/components/ListItem/styled.js +37 -37
- package/es/components/organism/ActivityTimeline/components/ProductCard/styled.js +92 -92
- package/es/components/organism/ActivityTimeline/components/Redeem/styled.js +7 -7
- package/es/components/organism/ActivityTimeline/components/Slide/styled.js +20 -20
- package/es/components/organism/ActivityTimeline/components/TimeLineTitle/styled.js +7 -7
- package/es/components/organism/ActivityTimeline/components/TimelineSection/styled.js +69 -69
- package/es/components/organism/ActivityTimeline/styled.js +39 -39
- package/es/components/organism/AlgorithmsSetting/styled.js +35 -35
- package/es/components/organism/BasicLogin/components/ChooseMethod/styled.js +19 -19
- package/es/components/organism/BasicLogin/components/LoginWithEmail/styled.js +3 -3
- package/es/components/organism/BasicLogin/components/LoginWithGG/styled.js +3 -3
- package/es/components/organism/BasicLogin/components/SignIn/styled.js +8 -8
- package/es/components/organism/BasicLogin/components/WidgetLayout/styled.js +18 -18
- package/es/components/organism/BasicLogin/styled.js +107 -107
- package/es/components/organism/ContentSources/styled.js +50 -50
- package/es/components/organism/DataTable/components/AddButton/index.js +8 -8
- package/es/components/organism/DataTable/components/ModifyColumn/styled.js +18 -18
- package/es/components/organism/DataTable/components/Pagination/styled.js +26 -26
- package/es/components/organism/DataTable/components/Table/styled.js +135 -135
- package/es/components/organism/DataTable/components/Toolbar/SearchPopover.js +17 -17
- package/es/components/organism/DataTable/components/Toolbar/styled.js +70 -70
- package/es/components/organism/DataTable/styled/index.js +84 -84
- package/es/components/organism/Filter/components/FilterCondition/styled.js +34 -34
- package/es/components/organism/Filter/styled.js +109 -109
- package/es/components/organism/FilterSetting/components/common/InputArray/styled.js +5 -5
- package/es/components/organism/FilterSetting/components/common/InputOrSelect/index.js +63 -63
- package/es/components/organism/FilterSetting/components/common/InputSelectMulti/ColumnSuggestion/index.js +31 -31
- package/es/components/organism/FilterSetting/components/common/InputSelectMulti/Tree/index.js +22 -22
- package/es/components/organism/FilterSetting/components/common/InputSelectMulti/index.js +55 -55
- package/es/components/organism/FilterSetting/styled.js +19 -19
- package/es/components/organism/Help/styled.js +267 -267
- package/es/components/organism/LeftMenu/components/HomeMenu/styled.js +39 -39
- package/es/components/organism/LeftMenu/components/common/ChildMenu/components/MenuItemImage/styled.js +16 -16
- package/es/components/organism/LeftMenu/components/common/ChildMenu/styled.js +156 -156
- package/es/components/organism/LeftMenu/styled.js +214 -214
- package/es/components/organism/Login/components/ChooseMethod/styled.js +19 -19
- package/es/components/organism/Login/components/ForgotPassword/styled.js +8 -8
- package/es/components/organism/Login/components/LoginSelectPortal/Item/styled.js +31 -31
- package/es/components/organism/Login/components/LoginSelectPortal/styled.js +3 -3
- package/es/components/organism/Login/components/LoginWithEmail/styled.js +3 -3
- package/es/components/organism/Login/components/LoginWithGG/styled.js +3 -3
- package/es/components/organism/Login/components/SetupGGAuthenticator/styled.js +7 -7
- package/es/components/organism/Login/components/SignIn/styled.js +8 -8
- package/es/components/organism/Login/components/VerifyAccount/styled.js +13 -13
- package/es/components/organism/Login/components/WidgetLayout/styled.js +18 -18
- package/es/components/organism/Login/styled.js +115 -115
- package/es/components/organism/Menu/styled.js +6 -6
- package/es/components/organism/ModifyColumnModal/styled.js +132 -132
- package/es/components/organism/Notification/styled.js +155 -155
- package/es/components/organism/PreviewCollections/Messages/SkeletonMessage/styled.js +14 -14
- package/es/components/organism/PreviewCollections/WhatsappMessage/CarouselMessage/styled.js +63 -63
- package/es/components/organism/PreviewCollections/constants.js +50 -50
- package/es/components/organism/PreviewCollections/styled.js +16 -16
- package/es/components/organism/PreviewTemplateModal/components/Banner/styled.js +78 -78
- package/es/components/organism/PreviewTemplateModal/components/Information/styled.js +52 -52
- package/es/components/organism/PreviewTemplateModal/components/SimilarTemplate/styled.js +18 -18
- package/es/components/organism/PreviewTemplateModal/components/ThumbnailSlider/styled.js +77 -77
- package/es/components/organism/PreviewTemplateModal/styled.js +21 -21
- package/es/components/organism/SQLGeneration/components/styled.js +354 -354
- package/es/components/organism/SQLGeneration/index.scss +1 -1
- package/es/components/organism/SQLGeneration/integrations/AceEditor/index.scss +4 -4
- package/es/components/organism/Table/CrossTabTable/components/CustomCell/styled.js +11 -11
- package/es/components/organism/Table/CrossTabTable/styled.js +11 -11
- package/es/components/organism/Table/ExplorePivotTable/components/CustomCell/styled.js +17 -17
- package/es/components/organism/Table/ExplorePivotTable/styled.js +11 -11
- package/es/components/organism/TicketEditor/styled.js +850 -850
- package/es/components/organism/TicketEditorV2/styled.js +839 -839
- package/es/components/organism/index.scss +1 -1
- package/es/components/template/Layout/Layout.js +10 -10
- package/es/components/template/Layout/components/RecommendationWorkspace/components/MenuMapping/components/OldLeftMenu/styled.js +73 -73
- package/es/components/template/Layout/components/RecommendationWorkspace/components/MenuMapping/styled.js +39 -39
- package/es/components/template/Layout/components/RecommendationWorkspace/components/RecommendationImage/styled.js +61 -61
- package/es/components/template/Layout/components/RecommendationWorkspace/styled.js +16 -16
- package/es/components/template/Layout/styled.js +84 -84
- package/es/components/template/TemplateListing/components/BlankTemplate/styled.js +21 -21
- package/es/components/template/TemplateListing/components/CategoryListing/styled.js +123 -123
- package/es/components/template/TemplateListing/components/Empty/styled.js +20 -20
- package/es/components/template/TemplateListing/stories/demo/styled.js +4 -4
- package/es/components/template/TemplateListing/styled/index.js +40 -40
- package/es/providers/ConfigProvider/GlobalStyle.js +1249 -1249
- package/es/services/MediaTemplateDesign/UploadFile/index.js +4 -4
- package/es/styled/common.js +51 -51
- package/es/tests/styled.js +4 -4
- package/es/utils/variables.js +7 -7
- package/package.json +266 -266
|
@@ -4,382 +4,382 @@ import styled from 'styled-components';
|
|
|
4
4
|
// Constants
|
|
5
5
|
import { THEME } from '@antscorp/antsomi-ui/es/constants';
|
|
6
6
|
const { Text: AntText } = Typography;
|
|
7
|
-
export const ChatBoxWrapper = styled.div `
|
|
8
|
-
box-sizing: border-box;
|
|
9
|
-
width: 100%;
|
|
10
|
-
min-height: 100%;
|
|
11
|
-
max-height: unset;
|
|
12
|
-
position: static;
|
|
13
|
-
|
|
14
|
-
right: 5px;
|
|
15
|
-
bottom: 0px;
|
|
16
|
-
z-index: 9999;
|
|
17
|
-
|
|
18
|
-
display: flex;
|
|
19
|
-
flex-direction: column;
|
|
20
|
-
|
|
21
|
-
font-family: Roboto, san-serif;
|
|
22
|
-
/* border: 1px solid #e5e5e5; */
|
|
23
|
-
height: calc(100% - 50px);
|
|
7
|
+
export const ChatBoxWrapper = styled.div `
|
|
8
|
+
box-sizing: border-box;
|
|
9
|
+
width: 100%;
|
|
10
|
+
min-height: 100%;
|
|
11
|
+
max-height: unset;
|
|
12
|
+
position: static;
|
|
13
|
+
|
|
14
|
+
right: 5px;
|
|
15
|
+
bottom: 0px;
|
|
16
|
+
z-index: 9999;
|
|
17
|
+
|
|
18
|
+
display: flex;
|
|
19
|
+
flex-direction: column;
|
|
20
|
+
|
|
21
|
+
font-family: Roboto, san-serif;
|
|
22
|
+
/* border: 1px solid #e5e5e5; */
|
|
23
|
+
height: calc(100% - 50px);
|
|
24
24
|
`;
|
|
25
|
-
export const ChatBoxHeader = styled.div `
|
|
26
|
-
flex: 0 0 50px;
|
|
27
|
-
display: flex;
|
|
28
|
-
align-items: center;
|
|
29
|
-
justify-content: space-between;
|
|
30
|
-
|
|
31
|
-
padding: 0 10px 0 20px;
|
|
32
|
-
background: #fff;
|
|
33
|
-
|
|
34
|
-
.title {
|
|
35
|
-
font-size: 16px;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.close-btn {
|
|
39
|
-
border: none;
|
|
40
|
-
padding: 0;
|
|
41
|
-
}
|
|
25
|
+
export const ChatBoxHeader = styled.div `
|
|
26
|
+
flex: 0 0 50px;
|
|
27
|
+
display: flex;
|
|
28
|
+
align-items: center;
|
|
29
|
+
justify-content: space-between;
|
|
30
|
+
|
|
31
|
+
padding: 0 10px 0 20px;
|
|
32
|
+
background: #fff;
|
|
33
|
+
|
|
34
|
+
.title {
|
|
35
|
+
font-size: 16px;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.close-btn {
|
|
39
|
+
border: none;
|
|
40
|
+
padding: 0;
|
|
41
|
+
}
|
|
42
42
|
`;
|
|
43
|
-
export const ChatBoxBody = styled.div `
|
|
44
|
-
flex: 1;
|
|
45
|
-
background: #fff;
|
|
46
|
-
// max-height: calc(100vh - 150px);
|
|
47
|
-
overflow: auto;
|
|
48
|
-
|
|
49
|
-
display: flex;
|
|
50
|
-
flex-direction: column;
|
|
51
|
-
gap: 5px;
|
|
52
|
-
|
|
53
|
-
padding: 10px;
|
|
54
|
-
|
|
55
|
-
::-webkit-scrollbar {
|
|
56
|
-
height: 1rem;
|
|
57
|
-
width: 0.5rem;
|
|
58
|
-
}
|
|
59
|
-
::-webkit-scrollbar-thumb {
|
|
60
|
-
--tw-border-opacity: 1;
|
|
61
|
-
background-color: rgba(217, 217, 227, 0.8);
|
|
62
|
-
border-color: rgba(255, 255, 255, var(--tw-border-opacity));
|
|
63
|
-
border-radius: 9999px;
|
|
64
|
-
border-width: 1px;
|
|
65
|
-
}
|
|
66
|
-
::-webkit-scrollbar-track {
|
|
67
|
-
background-color: transparent;
|
|
68
|
-
border-radius: 9999px;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
// &::-webkit-scrollbar {
|
|
72
|
-
// -webkit-appearance: none;
|
|
73
|
-
// background-color: #eee;
|
|
74
|
-
// width: 8px;
|
|
75
|
-
// height: 8px;
|
|
76
|
-
// }
|
|
77
|
-
// &::-webkit-scrollbar-thumb {
|
|
78
|
-
// background-color: rgba(0, 0, 0, 0.2);
|
|
79
|
-
// -webkit-border-top-right-radius: 4px;
|
|
80
|
-
// -webkit-border-bottom-right-radius: 4px;
|
|
81
|
-
// -webkit-border-bottom-left-radius: 4px;
|
|
82
|
-
// -webkit-border-top-left-radius: 4px;
|
|
83
|
-
// border-top-right-radius: 4px;
|
|
84
|
-
// border-bottom-right-radius: 4px;
|
|
85
|
-
// border-bottom-left-radius: 4px;
|
|
86
|
-
// border-top-left-radius: 4px;
|
|
87
|
-
// }
|
|
43
|
+
export const ChatBoxBody = styled.div `
|
|
44
|
+
flex: 1;
|
|
45
|
+
background: #fff;
|
|
46
|
+
// max-height: calc(100vh - 150px);
|
|
47
|
+
overflow: auto;
|
|
48
|
+
|
|
49
|
+
display: flex;
|
|
50
|
+
flex-direction: column;
|
|
51
|
+
gap: 5px;
|
|
52
|
+
|
|
53
|
+
padding: 10px;
|
|
54
|
+
|
|
55
|
+
::-webkit-scrollbar {
|
|
56
|
+
height: 1rem;
|
|
57
|
+
width: 0.5rem;
|
|
58
|
+
}
|
|
59
|
+
::-webkit-scrollbar-thumb {
|
|
60
|
+
--tw-border-opacity: 1;
|
|
61
|
+
background-color: rgba(217, 217, 227, 0.8);
|
|
62
|
+
border-color: rgba(255, 255, 255, var(--tw-border-opacity));
|
|
63
|
+
border-radius: 9999px;
|
|
64
|
+
border-width: 1px;
|
|
65
|
+
}
|
|
66
|
+
::-webkit-scrollbar-track {
|
|
67
|
+
background-color: transparent;
|
|
68
|
+
border-radius: 9999px;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
// &::-webkit-scrollbar {
|
|
72
|
+
// -webkit-appearance: none;
|
|
73
|
+
// background-color: #eee;
|
|
74
|
+
// width: 8px;
|
|
75
|
+
// height: 8px;
|
|
76
|
+
// }
|
|
77
|
+
// &::-webkit-scrollbar-thumb {
|
|
78
|
+
// background-color: rgba(0, 0, 0, 0.2);
|
|
79
|
+
// -webkit-border-top-right-radius: 4px;
|
|
80
|
+
// -webkit-border-bottom-right-radius: 4px;
|
|
81
|
+
// -webkit-border-bottom-left-radius: 4px;
|
|
82
|
+
// -webkit-border-top-left-radius: 4px;
|
|
83
|
+
// border-top-right-radius: 4px;
|
|
84
|
+
// border-bottom-right-radius: 4px;
|
|
85
|
+
// border-bottom-left-radius: 4px;
|
|
86
|
+
// border-top-left-radius: 4px;
|
|
87
|
+
// }
|
|
88
88
|
`;
|
|
89
|
-
export const ChatBoxFooter = styled.div `
|
|
90
|
-
background: #fff;
|
|
89
|
+
export const ChatBoxFooter = styled.div `
|
|
90
|
+
background: #fff;
|
|
91
91
|
`;
|
|
92
|
-
export const MessageItemWrapper = styled.div `
|
|
93
|
-
/* margin: 0 11px;
|
|
94
|
-
padding: 10px; */
|
|
95
|
-
border-radius: 10px;
|
|
96
|
-
background: transparent;
|
|
97
|
-
|
|
98
|
-
display: flex;
|
|
99
|
-
align-items: flex-start;
|
|
100
|
-
gap: 10px;
|
|
101
|
-
// text-align: justify;
|
|
102
|
-
|
|
103
|
-
&.bot {
|
|
104
|
-
padding: 10px;
|
|
105
|
-
.answer {
|
|
106
|
-
background: ${THEME.token?.accent};
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
&.sender {
|
|
110
|
-
padding: 0 10px;
|
|
111
|
-
justify-content: flex-end;
|
|
112
|
-
.answer {
|
|
113
|
-
background: ${THEME.token?.blue};
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
.answer {
|
|
118
|
-
padding: 10px;
|
|
119
|
-
border-radius: 10px;
|
|
120
|
-
word-break: break-word;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.icon {
|
|
124
|
-
min-width: 30px;
|
|
125
|
-
min-height: 30px;
|
|
126
|
-
}
|
|
127
|
-
.gpt {
|
|
128
|
-
background-image: url(/assets/images/gpt.png);
|
|
129
|
-
}
|
|
130
|
-
.user {
|
|
131
|
-
min-width: 24px;
|
|
132
|
-
min-height: 24px;
|
|
133
|
-
}
|
|
134
|
-
.avatar {
|
|
135
|
-
width: 30px;
|
|
136
|
-
height: 30px;
|
|
137
|
-
object-fit: contain;
|
|
138
|
-
}
|
|
139
|
-
.reactMarkDown {
|
|
140
|
-
white-space: pre-wrap;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
.reactMarkDown * {
|
|
144
|
-
font-size: 12px;
|
|
145
|
-
line-height: 14px;
|
|
146
|
-
}
|
|
147
|
-
.reactMarkDown > *:first-child {
|
|
148
|
-
margin-top: 0 !important;
|
|
149
|
-
}
|
|
150
|
-
.reactMarkDown ol {
|
|
151
|
-
padding-inline-start: 12px !important;
|
|
152
|
-
}
|
|
153
|
-
.reactMarkDown p,
|
|
154
|
-
.reactMarkDown ol,
|
|
155
|
-
.reactMarkDown ul {
|
|
156
|
-
margin: 0 !important;
|
|
157
|
-
margin-block: 0 !important;
|
|
158
|
-
}
|
|
159
|
-
.reactMarkDown ol,
|
|
160
|
-
.reactMarkDown ul {
|
|
161
|
-
line-height: 0 !important;
|
|
162
|
-
}
|
|
163
|
-
.reactMarkDown ol :not(ol):not(ul),
|
|
164
|
-
.reactMarkDown ul :not(ol):not(ul) {
|
|
165
|
-
line-height: 1.5 !important;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
.typing {
|
|
169
|
-
overflow: hidden; /* Ensures the content is not revealed until the animation */
|
|
170
|
-
border-right: 0.15em solid orange; /* The typwriter cursor */
|
|
171
|
-
white-space: nowrap; /* Keeps the content on a single line */
|
|
172
|
-
margin: 0 auto; /* Gives that scrolling effect as the typing happens */
|
|
173
|
-
letter-spacing: 0.15em; /* Adjust as needed */
|
|
174
|
-
animation:
|
|
175
|
-
typing 3.5s steps(40, end),
|
|
176
|
-
blink-caret 0.75s step-end infinite;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
@keyframes cursor-blink {
|
|
180
|
-
to {
|
|
181
|
-
visibility: hidden;
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
.ants-text-streaming > div {
|
|
186
|
-
white-space: pre-wrap;
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
.ants-text-streaming > div > :not(ol):not(ul):not(pre):last-child,
|
|
190
|
-
.ants-text-streaming > div > ol:last-child li:last-child,
|
|
191
|
-
.ants-text-streaming > div > ul:last-child li:last-child {
|
|
192
|
-
white-space: pre-wrap !important;
|
|
193
|
-
}
|
|
194
|
-
// .ants-text-streaming > div > pre:last-child code:last-child span:last-child {
|
|
195
|
-
// white-space: nowrap !important;
|
|
196
|
-
// }
|
|
197
|
-
|
|
198
|
-
.ants-text-streaming > div > :not(ol):not(ul):not(pre):last-child:after,
|
|
199
|
-
.ants-text-streaming > div > ol:last-child > li:last-child > *:last-child:after,
|
|
200
|
-
.ants-text-streaming > div > pre:last-child > code:last-child > span:last-child:after,
|
|
201
|
-
.ants-text-streaming > div > ul:last-child > li:last-child:after {
|
|
202
|
-
-webkit-animation: cursor-blink 1s steps(5, start) infinite;
|
|
203
|
-
animation: cursor-blink 1s steps(5, start) infinite;
|
|
204
|
-
content: '▋';
|
|
205
|
-
margin-left: 0.25rem;
|
|
206
|
-
vertical-align: baseline;
|
|
207
|
-
line-height: 1.5;
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
// .mes-content,
|
|
211
|
-
// .mes-content * {
|
|
212
|
-
// max-width: 100%;
|
|
213
|
-
// overflow: auto;
|
|
214
|
-
// font-size: 14px;
|
|
215
|
-
// }
|
|
216
|
-
// .mes-content > p:first-child {
|
|
217
|
-
// margin-top: 0 !important;
|
|
218
|
-
// }
|
|
219
|
-
.mes-content pre {
|
|
220
|
-
::-webkit-scrollbar {
|
|
221
|
-
height: 0.5rem;
|
|
222
|
-
}
|
|
223
|
-
::-webkit-scrollbar-thumb {
|
|
224
|
-
--tw-border-opacity: 1;
|
|
225
|
-
background-color: rgba(217, 217, 227, 0.8);
|
|
226
|
-
border-color: rgba(255, 255, 255, var(--tw-border-opacity));
|
|
227
|
-
border-radius: 9999px;
|
|
228
|
-
border-width: 1px;
|
|
229
|
-
}
|
|
230
|
-
::-webkit-scrollbar-track {
|
|
231
|
-
background-color: transparent;
|
|
232
|
-
border-radius: 9999px;
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
code {
|
|
236
|
-
white-space: pre-wrap;
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
&.greyBg {
|
|
240
|
-
background: ${THEME.token?.bw2};
|
|
241
|
-
}
|
|
242
|
-
.reactMarkDown.user {
|
|
243
|
-
padding: 5px;
|
|
244
|
-
background-color: #f3f9ff;
|
|
245
|
-
}
|
|
92
|
+
export const MessageItemWrapper = styled.div `
|
|
93
|
+
/* margin: 0 11px;
|
|
94
|
+
padding: 10px; */
|
|
95
|
+
border-radius: 10px;
|
|
96
|
+
background: transparent;
|
|
97
|
+
|
|
98
|
+
display: flex;
|
|
99
|
+
align-items: flex-start;
|
|
100
|
+
gap: 10px;
|
|
101
|
+
// text-align: justify;
|
|
102
|
+
|
|
103
|
+
&.bot {
|
|
104
|
+
padding: 10px;
|
|
105
|
+
.answer {
|
|
106
|
+
background: ${THEME.token?.accent};
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
&.sender {
|
|
110
|
+
padding: 0 10px;
|
|
111
|
+
justify-content: flex-end;
|
|
112
|
+
.answer {
|
|
113
|
+
background: ${THEME.token?.blue};
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.answer {
|
|
118
|
+
padding: 10px;
|
|
119
|
+
border-radius: 10px;
|
|
120
|
+
word-break: break-word;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.icon {
|
|
124
|
+
min-width: 30px;
|
|
125
|
+
min-height: 30px;
|
|
126
|
+
}
|
|
127
|
+
.gpt {
|
|
128
|
+
background-image: url(/assets/images/gpt.png);
|
|
129
|
+
}
|
|
130
|
+
.user {
|
|
131
|
+
min-width: 24px;
|
|
132
|
+
min-height: 24px;
|
|
133
|
+
}
|
|
134
|
+
.avatar {
|
|
135
|
+
width: 30px;
|
|
136
|
+
height: 30px;
|
|
137
|
+
object-fit: contain;
|
|
138
|
+
}
|
|
139
|
+
.reactMarkDown {
|
|
140
|
+
white-space: pre-wrap;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.reactMarkDown * {
|
|
144
|
+
font-size: 12px;
|
|
145
|
+
line-height: 14px;
|
|
146
|
+
}
|
|
147
|
+
.reactMarkDown > *:first-child {
|
|
148
|
+
margin-top: 0 !important;
|
|
149
|
+
}
|
|
150
|
+
.reactMarkDown ol {
|
|
151
|
+
padding-inline-start: 12px !important;
|
|
152
|
+
}
|
|
153
|
+
.reactMarkDown p,
|
|
154
|
+
.reactMarkDown ol,
|
|
155
|
+
.reactMarkDown ul {
|
|
156
|
+
margin: 0 !important;
|
|
157
|
+
margin-block: 0 !important;
|
|
158
|
+
}
|
|
159
|
+
.reactMarkDown ol,
|
|
160
|
+
.reactMarkDown ul {
|
|
161
|
+
line-height: 0 !important;
|
|
162
|
+
}
|
|
163
|
+
.reactMarkDown ol :not(ol):not(ul),
|
|
164
|
+
.reactMarkDown ul :not(ol):not(ul) {
|
|
165
|
+
line-height: 1.5 !important;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.typing {
|
|
169
|
+
overflow: hidden; /* Ensures the content is not revealed until the animation */
|
|
170
|
+
border-right: 0.15em solid orange; /* The typwriter cursor */
|
|
171
|
+
white-space: nowrap; /* Keeps the content on a single line */
|
|
172
|
+
margin: 0 auto; /* Gives that scrolling effect as the typing happens */
|
|
173
|
+
letter-spacing: 0.15em; /* Adjust as needed */
|
|
174
|
+
animation:
|
|
175
|
+
typing 3.5s steps(40, end),
|
|
176
|
+
blink-caret 0.75s step-end infinite;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
@keyframes cursor-blink {
|
|
180
|
+
to {
|
|
181
|
+
visibility: hidden;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.ants-text-streaming > div {
|
|
186
|
+
white-space: pre-wrap;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.ants-text-streaming > div > :not(ol):not(ul):not(pre):last-child,
|
|
190
|
+
.ants-text-streaming > div > ol:last-child li:last-child,
|
|
191
|
+
.ants-text-streaming > div > ul:last-child li:last-child {
|
|
192
|
+
white-space: pre-wrap !important;
|
|
193
|
+
}
|
|
194
|
+
// .ants-text-streaming > div > pre:last-child code:last-child span:last-child {
|
|
195
|
+
// white-space: nowrap !important;
|
|
196
|
+
// }
|
|
197
|
+
|
|
198
|
+
.ants-text-streaming > div > :not(ol):not(ul):not(pre):last-child:after,
|
|
199
|
+
.ants-text-streaming > div > ol:last-child > li:last-child > *:last-child:after,
|
|
200
|
+
.ants-text-streaming > div > pre:last-child > code:last-child > span:last-child:after,
|
|
201
|
+
.ants-text-streaming > div > ul:last-child > li:last-child:after {
|
|
202
|
+
-webkit-animation: cursor-blink 1s steps(5, start) infinite;
|
|
203
|
+
animation: cursor-blink 1s steps(5, start) infinite;
|
|
204
|
+
content: '▋';
|
|
205
|
+
margin-left: 0.25rem;
|
|
206
|
+
vertical-align: baseline;
|
|
207
|
+
line-height: 1.5;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
// .mes-content,
|
|
211
|
+
// .mes-content * {
|
|
212
|
+
// max-width: 100%;
|
|
213
|
+
// overflow: auto;
|
|
214
|
+
// font-size: 14px;
|
|
215
|
+
// }
|
|
216
|
+
// .mes-content > p:first-child {
|
|
217
|
+
// margin-top: 0 !important;
|
|
218
|
+
// }
|
|
219
|
+
.mes-content pre {
|
|
220
|
+
::-webkit-scrollbar {
|
|
221
|
+
height: 0.5rem;
|
|
222
|
+
}
|
|
223
|
+
::-webkit-scrollbar-thumb {
|
|
224
|
+
--tw-border-opacity: 1;
|
|
225
|
+
background-color: rgba(217, 217, 227, 0.8);
|
|
226
|
+
border-color: rgba(255, 255, 255, var(--tw-border-opacity));
|
|
227
|
+
border-radius: 9999px;
|
|
228
|
+
border-width: 1px;
|
|
229
|
+
}
|
|
230
|
+
::-webkit-scrollbar-track {
|
|
231
|
+
background-color: transparent;
|
|
232
|
+
border-radius: 9999px;
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
code {
|
|
236
|
+
white-space: pre-wrap;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
&.greyBg {
|
|
240
|
+
background: ${THEME.token?.bw2};
|
|
241
|
+
}
|
|
242
|
+
.reactMarkDown.user {
|
|
243
|
+
padding: 5px;
|
|
244
|
+
background-color: #f3f9ff;
|
|
245
|
+
}
|
|
246
246
|
`;
|
|
247
|
-
export const WarningWrapper = styled.div `
|
|
248
|
-
display: flex;
|
|
249
|
-
align-items: center;
|
|
250
|
-
gap: 10px;
|
|
251
|
-
|
|
252
|
-
padding: 10px;
|
|
253
|
-
margin: 10px 20px;
|
|
254
|
-
|
|
255
|
-
border-radius: 10px;
|
|
256
|
-
background: #ffd8db;
|
|
257
|
-
|
|
258
|
-
.icon {
|
|
259
|
-
min-width: 18px;
|
|
260
|
-
}
|
|
247
|
+
export const WarningWrapper = styled.div `
|
|
248
|
+
display: flex;
|
|
249
|
+
align-items: center;
|
|
250
|
+
gap: 10px;
|
|
251
|
+
|
|
252
|
+
padding: 10px;
|
|
253
|
+
margin: 10px 20px;
|
|
254
|
+
|
|
255
|
+
border-radius: 10px;
|
|
256
|
+
background: #ffd8db;
|
|
257
|
+
|
|
258
|
+
.icon {
|
|
259
|
+
min-width: 18px;
|
|
260
|
+
}
|
|
261
261
|
`;
|
|
262
|
-
export const InputWrapper = styled.div `
|
|
263
|
-
display: flex;
|
|
264
|
-
align-items: center;
|
|
265
|
-
gap: 10px;
|
|
266
|
-
|
|
267
|
-
min-height: 50px;
|
|
268
|
-
max-height: 250px;
|
|
269
|
-
padding: 0px 15px;
|
|
270
|
-
margin: 10px 20px;
|
|
271
|
-
|
|
272
|
-
/* border: 1px solid #e5e5e5; */
|
|
273
|
-
background: #eef5fc;
|
|
274
|
-
border-radius: 25px;
|
|
275
|
-
|
|
276
|
-
.input {
|
|
277
|
-
border: none;
|
|
278
|
-
font-size: 12px;
|
|
279
|
-
line-height: 1.5 !important;
|
|
280
|
-
|
|
281
|
-
/* padding: 10px 0px; */
|
|
282
|
-
min-height: auto !important;
|
|
283
|
-
max-height: 230px !important;
|
|
284
|
-
background: #eef5fc;
|
|
285
|
-
margin: 10px 0;
|
|
286
|
-
padding: 0;
|
|
287
|
-
|
|
288
|
-
&:focus {
|
|
289
|
-
outline: none !important;
|
|
290
|
-
box-shadow: none !important;
|
|
291
|
-
background: #eef5fc;
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
&::placeholder {
|
|
295
|
-
font-size: 12px;
|
|
296
|
-
font-style: normal !important;
|
|
297
|
-
line-height: 1.5 !important;
|
|
298
|
-
color: #a2a2a2;
|
|
299
|
-
font-weight: 400;
|
|
300
|
-
}
|
|
301
|
-
}
|
|
302
|
-
.submit-btn {
|
|
303
|
-
border: none;
|
|
304
|
-
padding: 0;
|
|
305
|
-
border-radius: 50%;
|
|
306
|
-
aspect-ratio: 1;
|
|
307
|
-
// border: 1px solid;
|
|
308
|
-
position: relative;
|
|
309
|
-
left: -3px;
|
|
310
|
-
background: #eef5fc;
|
|
311
|
-
color: #666666;
|
|
312
|
-
|
|
313
|
-
&:focus {
|
|
314
|
-
outline: none !important;
|
|
315
|
-
}
|
|
316
|
-
&.disabled {
|
|
317
|
-
opacity: 0.65;
|
|
318
|
-
background-color: #f0f0f0;
|
|
319
|
-
color: #bebebe;
|
|
320
|
-
}
|
|
321
|
-
}
|
|
322
|
-
.icon {
|
|
323
|
-
flex: 0 0 24px;
|
|
324
|
-
position: relative;
|
|
325
|
-
left: 3px;
|
|
326
|
-
}
|
|
262
|
+
export const InputWrapper = styled.div `
|
|
263
|
+
display: flex;
|
|
264
|
+
align-items: center;
|
|
265
|
+
gap: 10px;
|
|
266
|
+
|
|
267
|
+
min-height: 50px;
|
|
268
|
+
max-height: 250px;
|
|
269
|
+
padding: 0px 15px;
|
|
270
|
+
margin: 10px 20px;
|
|
271
|
+
|
|
272
|
+
/* border: 1px solid #e5e5e5; */
|
|
273
|
+
background: #eef5fc;
|
|
274
|
+
border-radius: 25px;
|
|
275
|
+
|
|
276
|
+
.input {
|
|
277
|
+
border: none;
|
|
278
|
+
font-size: 12px;
|
|
279
|
+
line-height: 1.5 !important;
|
|
280
|
+
|
|
281
|
+
/* padding: 10px 0px; */
|
|
282
|
+
min-height: auto !important;
|
|
283
|
+
max-height: 230px !important;
|
|
284
|
+
background: #eef5fc;
|
|
285
|
+
margin: 10px 0;
|
|
286
|
+
padding: 0;
|
|
287
|
+
|
|
288
|
+
&:focus {
|
|
289
|
+
outline: none !important;
|
|
290
|
+
box-shadow: none !important;
|
|
291
|
+
background: #eef5fc;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
&::placeholder {
|
|
295
|
+
font-size: 12px;
|
|
296
|
+
font-style: normal !important;
|
|
297
|
+
line-height: 1.5 !important;
|
|
298
|
+
color: #a2a2a2;
|
|
299
|
+
font-weight: 400;
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
.submit-btn {
|
|
303
|
+
border: none;
|
|
304
|
+
padding: 0;
|
|
305
|
+
border-radius: 50%;
|
|
306
|
+
aspect-ratio: 1;
|
|
307
|
+
// border: 1px solid;
|
|
308
|
+
position: relative;
|
|
309
|
+
left: -3px;
|
|
310
|
+
background: #eef5fc;
|
|
311
|
+
color: #666666;
|
|
312
|
+
|
|
313
|
+
&:focus {
|
|
314
|
+
outline: none !important;
|
|
315
|
+
}
|
|
316
|
+
&.disabled {
|
|
317
|
+
opacity: 0.65;
|
|
318
|
+
background-color: #f0f0f0;
|
|
319
|
+
color: #bebebe;
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
.icon {
|
|
323
|
+
flex: 0 0 24px;
|
|
324
|
+
position: relative;
|
|
325
|
+
left: 3px;
|
|
326
|
+
}
|
|
327
327
|
`;
|
|
328
|
-
export const TypingCursor = styled.div `
|
|
329
|
-
width: 3px;
|
|
330
|
-
height: 10px;
|
|
331
|
-
background: #000;
|
|
332
|
-
animation: cursor-blink 1.5s steps(2) infinite;
|
|
333
|
-
// animation:
|
|
334
|
-
// typing 3.5s steps(40, end),
|
|
335
|
-
// blink-caret .75s step-end infinite;
|
|
328
|
+
export const TypingCursor = styled.div `
|
|
329
|
+
width: 3px;
|
|
330
|
+
height: 10px;
|
|
331
|
+
background: #000;
|
|
332
|
+
animation: cursor-blink 1.5s steps(2) infinite;
|
|
333
|
+
// animation:
|
|
334
|
+
// typing 3.5s steps(40, end),
|
|
335
|
+
// blink-caret .75s step-end infinite;
|
|
336
336
|
`;
|
|
337
|
-
export const WrapperIsHelpful = styled.div `
|
|
338
|
-
font-size: 11px;
|
|
339
|
-
color: #949494;
|
|
340
|
-
padding: 0 60px;
|
|
341
|
-
|
|
342
|
-
.icon-vote {
|
|
343
|
-
font-size: 18px;
|
|
344
|
-
margin-left: 10px;
|
|
345
|
-
cursor: pointer;
|
|
346
|
-
&:hover {
|
|
347
|
-
background-color: #e8e8e8;
|
|
348
|
-
}
|
|
349
|
-
}
|
|
337
|
+
export const WrapperIsHelpful = styled.div `
|
|
338
|
+
font-size: 11px;
|
|
339
|
+
color: #949494;
|
|
340
|
+
padding: 0 60px;
|
|
341
|
+
|
|
342
|
+
.icon-vote {
|
|
343
|
+
font-size: 18px;
|
|
344
|
+
margin-left: 10px;
|
|
345
|
+
cursor: pointer;
|
|
346
|
+
&:hover {
|
|
347
|
+
background-color: #e8e8e8;
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
350
|
`;
|
|
351
|
-
export const TitleSuggest = styled.div `
|
|
352
|
-
font-size: 16px;
|
|
353
|
-
font-weight: 500;
|
|
354
|
-
line-height: 18.75px;
|
|
355
|
-
padding: 0 10px;
|
|
356
|
-
margin-bottom: 10px;
|
|
351
|
+
export const TitleSuggest = styled.div `
|
|
352
|
+
font-size: 16px;
|
|
353
|
+
font-weight: 500;
|
|
354
|
+
line-height: 18.75px;
|
|
355
|
+
padding: 0 10px;
|
|
356
|
+
margin-bottom: 10px;
|
|
357
357
|
`;
|
|
358
|
-
export const WrapperContentSuggest = styled.div `
|
|
359
|
-
display: flex;
|
|
360
|
-
flex-direction: column;
|
|
361
|
-
gap: 6px;
|
|
358
|
+
export const WrapperContentSuggest = styled.div `
|
|
359
|
+
display: flex;
|
|
360
|
+
flex-direction: column;
|
|
361
|
+
gap: 6px;
|
|
362
362
|
`;
|
|
363
|
-
export const WrapperHeader = styled.strong `
|
|
364
|
-
display: block;
|
|
365
|
-
height: 50px;
|
|
366
|
-
border-bottom: 1px solid ${THEME.token?.bw3};
|
|
367
|
-
line-height: 50px;
|
|
368
|
-
padding-left: 15px;
|
|
369
|
-
box-sizing: border-box;
|
|
370
|
-
|
|
371
|
-
&.cursor {
|
|
372
|
-
cursor: move;
|
|
373
|
-
}
|
|
363
|
+
export const WrapperHeader = styled.strong `
|
|
364
|
+
display: block;
|
|
365
|
+
height: 50px;
|
|
366
|
+
border-bottom: 1px solid ${THEME.token?.bw3};
|
|
367
|
+
line-height: 50px;
|
|
368
|
+
padding-left: 15px;
|
|
369
|
+
box-sizing: border-box;
|
|
370
|
+
|
|
371
|
+
&.cursor {
|
|
372
|
+
cursor: move;
|
|
373
|
+
}
|
|
374
374
|
`;
|
|
375
|
-
export const Header = styled(AntText) `
|
|
376
|
-
font-size: 16px !important;
|
|
377
|
-
color: ${THEME.token?.colorText} !important;
|
|
378
|
-
font-weight: normal !important;
|
|
375
|
+
export const Header = styled(AntText) `
|
|
376
|
+
font-size: 16px !important;
|
|
377
|
+
color: ${THEME.token?.colorText} !important;
|
|
378
|
+
font-weight: normal !important;
|
|
379
379
|
`;
|
|
380
|
-
export const WrapperBody = styled.div `
|
|
381
|
-
padding: ${props => props.types === 'help' || props.types === 'help_v1' ? 'none;' : '13px 15px;'};
|
|
382
|
-
box-sizing: border-box;
|
|
383
|
-
flex: 1;
|
|
384
|
-
overflow-y: auto;
|
|
380
|
+
export const WrapperBody = styled.div `
|
|
381
|
+
padding: ${props => props.types === 'help' || props.types === 'help_v1' ? 'none;' : '13px 15px;'};
|
|
382
|
+
box-sizing: border-box;
|
|
383
|
+
flex: 1;
|
|
384
|
+
overflow-y: auto;
|
|
385
385
|
`;
|