@tencentcloud/chat-uikit-react 2.2.5 → 2.2.6
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/.eslintrc.js +16 -12
- package/.lintstagedrc.json +1 -1
- package/CHANGELOG.md +8 -0
- package/dist/cjs/components/Avatar/Avatar.d.ts +4 -4
- package/dist/cjs/components/Checkbox/index.d.ts +2 -2
- package/dist/cjs/components/ConversationCreate/ConversationCreatGroupDetail.js +1 -1
- package/dist/cjs/components/ConversationCreate/ConversationCreate.js +1 -1
- package/dist/cjs/components/ConversationCreate/ConversationCreateUserSelectList.js +1 -1
- package/dist/cjs/components/ConversationCreate/hooks/useConversationCreate.js +1 -1
- package/dist/cjs/components/ConversationPreview/ConversationListContainer.d.ts +2 -2
- package/dist/cjs/components/ConversationPreview/ConversationPreview.d.ts +8 -8
- package/dist/cjs/components/ConversationPreview/ConversationPreview.js +1 -1
- package/dist/cjs/components/ConversationPreview/ConversationPreviewContent.d.ts +2 -2
- package/dist/cjs/components/ConversationPreview/ConversationPreviewContent.js +1 -1
- package/dist/cjs/components/ConversationSearch/ConversationSearchResult.d.ts +3 -3
- package/dist/cjs/components/ConversationSearch/ConversationSearchResult.js +1 -1
- package/dist/cjs/components/Icon/Icon.d.ts +3 -3
- package/dist/cjs/components/InfiniteScrollPaginator/InfiniteScroll.d.ts +4 -4
- package/dist/cjs/components/Input/Input.d.ts +4 -4
- package/dist/cjs/components/Model/index.d.ts +2 -2
- package/dist/cjs/components/Plugins/index.d.ts +4 -4
- package/dist/cjs/components/Popup/index.d.ts +2 -2
- package/dist/cjs/components/Switch/Switch.d.ts +2 -2
- package/dist/cjs/components/TUIChat/TUIChat.d.ts +12 -12
- package/dist/cjs/components/TUIChat/TUIChat.js +1 -1
- package/dist/cjs/components/TUIChatHeader/TUIChatHeader.d.ts +5 -5
- package/dist/cjs/components/TUIChatHeader/TUIChatHeader.js +1 -1
- package/dist/cjs/components/TUIChatHeader/TUIChatHeaderDefault.d.ts +5 -5
- package/dist/cjs/components/TUIChatHeader/TUIChatHeaderDefault.js +1 -1
- package/dist/cjs/components/TUIContact/TUIContact.d.ts +3 -3
- package/dist/cjs/components/TUIContact/TUIContact.js +1 -1
- package/dist/cjs/components/TUIContact/TUIContactInfo/TUIContactInfo.d.ts +3 -3
- package/dist/cjs/components/TUIContact/TUIContactInfo/TUIContactInfo.js +1 -1
- package/dist/cjs/components/TUIContact/TUIContactInfo/basicInfo.js +1 -1
- package/dist/cjs/components/TUIContact/TUIContactInfo/blockInfo.js +1 -1
- package/dist/cjs/components/TUIContact/TUIContactInfo/friendApplication.js +1 -1
- package/dist/cjs/components/TUIContact/TUIContactInfo/friendInfo.js +1 -1
- package/dist/cjs/components/TUIContact/TUIContactInfo/groupInfo.js +1 -1
- package/dist/cjs/components/TUIContact/TUIContactInfo/hooks/useContactInfo.js +1 -1
- package/dist/cjs/components/TUIContact/TUIContactList/TUIContactList.d.ts +3 -3
- package/dist/cjs/components/TUIContact/TUIContactList/TUIContactList.js +1 -1
- package/dist/cjs/components/TUIContact/hooks/useTUIContact.js +1 -1
- package/dist/cjs/components/TUIContactSearch/TUIContactSearch.js +1 -1
- package/dist/cjs/components/TUIContactSearch/hooks/useContactSearch.js +1 -1
- package/dist/cjs/components/TUIConversation/TUIConversation.d.ts +2 -2
- package/dist/cjs/components/TUIConversationList/TUIConversationList.d.ts +6 -6
- package/dist/cjs/components/TUIConversationList/TUIConversationList.js +1 -1
- package/dist/cjs/components/TUIConversationList/hooks/useConversationUpdate.js +1 -1
- package/dist/cjs/components/TUIManage/TUIManage.d.ts +2 -2
- package/dist/cjs/components/TUIManage/TUIManage.js +1 -1
- package/dist/cjs/components/TUIMessage/MessageAudio.js +1 -1
- package/dist/cjs/components/TUIMessage/MessageAvatar.js +1 -1
- package/dist/cjs/components/TUIMessage/MessageBubble.js +1 -1
- package/dist/cjs/components/TUIMessage/MessageContext.d.ts +2 -2
- package/dist/cjs/components/TUIMessage/MessageContext.js +1 -1
- package/dist/cjs/components/TUIMessage/MessageCustom.js +1 -1
- package/dist/cjs/components/TUIMessage/MessageName.js +1 -1
- package/dist/cjs/components/TUIMessage/MessagePlugins.d.ts +4 -4
- package/dist/cjs/components/TUIMessage/MessagePlugins.js +1 -1
- package/dist/cjs/components/TUIMessage/MessageProgress.js +1 -1
- package/dist/cjs/components/TUIMessage/MessageRevoke.js +1 -1
- package/dist/cjs/components/TUIMessage/MessageStatus.js +1 -1
- package/dist/cjs/components/TUIMessage/MessageSystem.js +1 -1
- package/dist/cjs/components/TUIMessage/MessageText.js +1 -1
- package/dist/cjs/components/TUIMessage/MessageTip.js +1 -1
- package/dist/cjs/components/TUIMessage/TUIMessage.d.ts +19 -19
- package/dist/cjs/components/TUIMessage/TUIMessage.js +1 -1
- package/dist/cjs/components/TUIMessage/TUIMessageDefault.js +1 -1
- package/dist/cjs/components/TUIMessage/hooks/useMessageHandler.js +1 -1
- package/dist/cjs/components/TUIMessage/hooks/useMessageReply.js +1 -1
- package/dist/cjs/components/TUIMessageInput/InputPluginsDefalut.d.ts +2 -2
- package/dist/cjs/components/TUIMessageInput/InputPluginsDefalut.js +1 -1
- package/dist/cjs/components/TUIMessageInput/InputQuoteDefalut.js +1 -1
- package/dist/cjs/components/TUIMessageInput/TUIForward.js +1 -1
- package/dist/cjs/components/TUIMessageInput/TUIMessageInput.d.ts +7 -7
- package/dist/cjs/components/TUIMessageInput/TUIMessageInput.js +1 -1
- package/dist/cjs/components/TUIMessageInput/TUIMessageInputDefault.d.ts +2 -2
- package/dist/cjs/components/TUIMessageInput/TUIMessageInputDefault.js +1 -1
- package/dist/cjs/components/TUIMessageInput/hooks/useHandleForwardMessage.js +1 -1
- package/dist/cjs/components/TUIMessageInput/hooks/useHandleQuoteMessage.js +1 -1
- package/dist/cjs/components/TUIMessageInput/hooks/useMessageInputText.js +1 -1
- package/dist/cjs/components/TUIMessageInput/hooks/useUploadPicker.js +1 -1
- package/dist/cjs/components/TUIMessageList/TUIMessageList.d.ts +2 -2
- package/dist/cjs/components/TUIMessageList/TUIMessageList.js +1 -1
- package/dist/cjs/components/TUIMessageList/hooks/useMessageListElement.js +1 -1
- package/dist/cjs/components/TUIProfile/TUIProfile.d.ts +3 -3
- package/dist/cjs/components/TUIProfile/TUIProfile.js +1 -1
- package/dist/cjs/components/TUIProfile/TUIProfileDefault.d.ts +2 -2
- package/dist/cjs/components/TUIProfile/TUIProfileDefault.js +1 -1
- package/dist/cjs/components/Toast/index.d.ts +2 -2
- package/dist/cjs/context/ComponentContext.d.ts +12 -12
- package/dist/cjs/context/LanguageContext.js +1 -0
- package/dist/cjs/context/TUIChatActionContext.d.ts +3 -3
- package/dist/cjs/context/TUIChatStateContext.d.ts +5 -5
- package/dist/cjs/context/TUIContactContext.d.ts +4 -4
- package/dist/cjs/context/TUIConversationContext.js +1 -1
- package/dist/cjs/context/TUIMessageContext.d.ts +17 -17
- package/dist/cjs/context/TUIMessageInputContext.d.ts +4 -4
- package/dist/cjs/context/ThemeContext.js +1 -0
- package/dist/cjs/context/UIKitContext.d.ts +25 -0
- package/dist/cjs/context/UIKitContext.js +1 -0
- package/dist/cjs/context/UIManagerContext.d.ts +46 -0
- package/dist/cjs/context/UIManagerContext.js +1 -0
- package/dist/cjs/hooks/useConversation.d.ts +2 -2
- package/dist/cjs/index.css +1 -2
- package/dist/cjs/index.d.css +908 -1440
- package/dist/cjs/index.d.ts +2 -4
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/locales/en-US/TUIGlobal.js +1 -0
- package/dist/cjs/locales/en-US/index.js +1 -1
- package/dist/cjs/locales/ja-JP/TUIGlobal.js +1 -0
- package/dist/cjs/locales/ja-JP/index.js +1 -1
- package/dist/cjs/locales/ko-KR/TUIGlobal.js +1 -0
- package/dist/cjs/locales/ko-KR/index.js +1 -1
- package/dist/cjs/locales/zh-CN/TUIGlobal.js +1 -0
- package/dist/cjs/locales/zh-CN/index.js +1 -1
- package/dist/esm/components/Avatar/Avatar.d.ts +4 -4
- package/dist/esm/components/Checkbox/index.d.ts +2 -2
- package/dist/esm/components/ConversationCreate/ConversationCreatGroupDetail.js +1 -1
- package/dist/esm/components/ConversationCreate/ConversationCreate.js +1 -1
- package/dist/esm/components/ConversationCreate/ConversationCreateUserSelectList.js +1 -1
- package/dist/esm/components/ConversationCreate/hooks/useConversationCreate.js +1 -1
- package/dist/esm/components/ConversationPreview/ConversationListContainer.d.ts +2 -2
- package/dist/esm/components/ConversationPreview/ConversationPreview.d.ts +8 -8
- package/dist/esm/components/ConversationPreview/ConversationPreview.js +1 -1
- package/dist/esm/components/ConversationPreview/ConversationPreviewContent.d.ts +2 -2
- package/dist/esm/components/ConversationPreview/ConversationPreviewContent.js +1 -1
- package/dist/esm/components/ConversationSearch/ConversationSearchResult.d.ts +3 -3
- package/dist/esm/components/ConversationSearch/ConversationSearchResult.js +1 -1
- package/dist/esm/components/Icon/Icon.d.ts +3 -3
- package/dist/esm/components/InfiniteScrollPaginator/InfiniteScroll.d.ts +4 -4
- package/dist/esm/components/Input/Input.d.ts +4 -4
- package/dist/esm/components/Model/index.d.ts +2 -2
- package/dist/esm/components/Plugins/index.d.ts +4 -4
- package/dist/esm/components/Popup/index.d.ts +2 -2
- package/dist/esm/components/Switch/Switch.d.ts +2 -2
- package/dist/esm/components/TUIChat/TUIChat.d.ts +12 -12
- package/dist/esm/components/TUIChat/TUIChat.js +1 -1
- package/dist/esm/components/TUIChatHeader/TUIChatHeader.d.ts +5 -5
- package/dist/esm/components/TUIChatHeader/TUIChatHeader.js +1 -1
- package/dist/esm/components/TUIChatHeader/TUIChatHeaderDefault.d.ts +5 -5
- package/dist/esm/components/TUIChatHeader/TUIChatHeaderDefault.js +1 -1
- package/dist/esm/components/TUIContact/TUIContact.d.ts +3 -3
- package/dist/esm/components/TUIContact/TUIContact.js +1 -1
- package/dist/esm/components/TUIContact/TUIContactInfo/TUIContactInfo.d.ts +3 -3
- package/dist/esm/components/TUIContact/TUIContactInfo/TUIContactInfo.js +1 -1
- package/dist/esm/components/TUIContact/TUIContactInfo/basicInfo.js +1 -1
- package/dist/esm/components/TUIContact/TUIContactInfo/blockInfo.js +1 -1
- package/dist/esm/components/TUIContact/TUIContactInfo/friendApplication.js +1 -1
- package/dist/esm/components/TUIContact/TUIContactInfo/friendInfo.js +1 -1
- package/dist/esm/components/TUIContact/TUIContactInfo/groupInfo.js +1 -1
- package/dist/esm/components/TUIContact/TUIContactInfo/hooks/useContactInfo.js +1 -1
- package/dist/esm/components/TUIContact/TUIContactList/TUIContactList.d.ts +3 -3
- package/dist/esm/components/TUIContact/TUIContactList/TUIContactList.js +1 -1
- package/dist/esm/components/TUIContact/hooks/useTUIContact.js +1 -1
- package/dist/esm/components/TUIContactSearch/TUIContactSearch.js +1 -1
- package/dist/esm/components/TUIContactSearch/hooks/useContactSearch.js +1 -1
- package/dist/esm/components/TUIConversation/TUIConversation.d.ts +2 -2
- package/dist/esm/components/TUIConversationList/TUIConversationList.d.ts +6 -6
- package/dist/esm/components/TUIConversationList/TUIConversationList.js +1 -1
- package/dist/esm/components/TUIConversationList/hooks/useConversationUpdate.js +1 -1
- package/dist/esm/components/TUIManage/TUIManage.d.ts +2 -2
- package/dist/esm/components/TUIManage/TUIManage.js +1 -1
- package/dist/esm/components/TUIMessage/MessageAudio.js +1 -1
- package/dist/esm/components/TUIMessage/MessageAvatar.js +1 -1
- package/dist/esm/components/TUIMessage/MessageBubble.js +1 -1
- package/dist/esm/components/TUIMessage/MessageContext.d.ts +2 -2
- package/dist/esm/components/TUIMessage/MessageContext.js +1 -1
- package/dist/esm/components/TUIMessage/MessageCustom.js +1 -1
- package/dist/esm/components/TUIMessage/MessageName.js +1 -1
- package/dist/esm/components/TUIMessage/MessagePlugins.d.ts +4 -4
- package/dist/esm/components/TUIMessage/MessagePlugins.js +1 -1
- package/dist/esm/components/TUIMessage/MessageProgress.js +1 -1
- package/dist/esm/components/TUIMessage/MessageRevoke.js +1 -1
- package/dist/esm/components/TUIMessage/MessageStatus.js +1 -1
- package/dist/esm/components/TUIMessage/MessageSystem.js +1 -1
- package/dist/esm/components/TUIMessage/MessageText.js +1 -1
- package/dist/esm/components/TUIMessage/MessageTip.js +1 -1
- package/dist/esm/components/TUIMessage/TUIMessage.d.ts +19 -19
- package/dist/esm/components/TUIMessage/TUIMessage.js +1 -1
- package/dist/esm/components/TUIMessage/TUIMessageDefault.js +1 -1
- package/dist/esm/components/TUIMessage/hooks/useMessageHandler.js +1 -1
- package/dist/esm/components/TUIMessage/hooks/useMessageReply.js +1 -1
- package/dist/esm/components/TUIMessageInput/InputPluginsDefalut.d.ts +2 -2
- package/dist/esm/components/TUIMessageInput/InputPluginsDefalut.js +1 -1
- package/dist/esm/components/TUIMessageInput/InputQuoteDefalut.js +1 -1
- package/dist/esm/components/TUIMessageInput/TUIForward.js +1 -1
- package/dist/esm/components/TUIMessageInput/TUIMessageInput.d.ts +7 -7
- package/dist/esm/components/TUIMessageInput/TUIMessageInput.js +1 -1
- package/dist/esm/components/TUIMessageInput/TUIMessageInputDefault.d.ts +2 -2
- package/dist/esm/components/TUIMessageInput/TUIMessageInputDefault.js +1 -1
- package/dist/esm/components/TUIMessageInput/hooks/useHandleForwardMessage.js +1 -1
- package/dist/esm/components/TUIMessageInput/hooks/useHandleQuoteMessage.js +1 -1
- package/dist/esm/components/TUIMessageInput/hooks/useMessageInputText.js +1 -1
- package/dist/esm/components/TUIMessageInput/hooks/useUploadPicker.js +1 -1
- package/dist/esm/components/TUIMessageList/TUIMessageList.d.ts +2 -2
- package/dist/esm/components/TUIMessageList/TUIMessageList.js +1 -1
- package/dist/esm/components/TUIMessageList/hooks/useMessageListElement.js +1 -1
- package/dist/esm/components/TUIProfile/TUIProfile.d.ts +3 -3
- package/dist/esm/components/TUIProfile/TUIProfile.js +1 -1
- package/dist/esm/components/TUIProfile/TUIProfileDefault.d.ts +2 -2
- package/dist/esm/components/TUIProfile/TUIProfileDefault.js +1 -1
- package/dist/esm/components/Toast/index.d.ts +2 -2
- package/dist/esm/context/ComponentContext.d.ts +12 -12
- package/dist/esm/context/LanguageContext.js +1 -0
- package/dist/esm/context/TUIChatActionContext.d.ts +3 -3
- package/dist/esm/context/TUIChatStateContext.d.ts +5 -5
- package/dist/esm/context/TUIContactContext.d.ts +4 -4
- package/dist/esm/context/TUIConversationContext.js +1 -1
- package/dist/esm/context/TUIMessageContext.d.ts +17 -17
- package/dist/esm/context/TUIMessageInputContext.d.ts +4 -4
- package/dist/esm/context/ThemeContext.js +1 -0
- package/dist/esm/context/UIKitContext.d.ts +25 -0
- package/dist/esm/context/UIKitContext.js +1 -0
- package/dist/esm/context/UIManagerContext.d.ts +46 -0
- package/dist/esm/context/UIManagerContext.js +1 -0
- package/dist/esm/hooks/useConversation.d.ts +2 -2
- package/dist/esm/index.css +1 -2
- package/dist/esm/index.d.css +908 -1440
- package/dist/esm/index.d.ts +2 -4
- package/dist/esm/index.js +1 -1
- package/dist/esm/locales/en-US/TUIGlobal.js +1 -0
- package/dist/esm/locales/en-US/index.js +1 -1
- package/dist/esm/locales/ja-JP/TUIGlobal.js +1 -0
- package/dist/esm/locales/ja-JP/index.js +1 -1
- package/dist/esm/locales/ko-KR/TUIGlobal.js +1 -0
- package/dist/esm/locales/ko-KR/index.js +1 -1
- package/dist/esm/locales/zh-CN/TUIGlobal.js +1 -0
- package/dist/esm/locales/zh-CN/index.js +1 -1
- package/package.json +4 -3
- package/src/components/ConversationCreate/ConversationCreatGroupDetail.tsx +4 -4
- package/src/components/ConversationCreate/ConversationCreate.tsx +2 -2
- package/src/components/ConversationCreate/ConversationCreateUserSelectList.tsx +3 -2
- package/src/components/ConversationPreview/ConversationPreview.tsx +21 -21
- package/src/components/ConversationPreview/ConversationPreviewContent.tsx +3 -2
- package/src/components/Plugins/styles/color.scss +2 -2
- package/src/components/TUIChat/TUIChat.tsx +4 -3
- package/src/components/TUIChatHeader/TUIChatHeaderDefault.tsx +3 -3
- package/src/components/TUIContact/TUIContact.tsx +2 -2
- package/src/components/TUIContact/TUIContactInfo/TUIContactInfo.tsx +2 -2
- package/src/components/TUIContact/TUIContactInfo/basicInfo.tsx +2 -2
- package/src/components/TUIContact/TUIContactInfo/blockInfo.tsx +2 -2
- package/src/components/TUIContact/TUIContactInfo/friendApplication.tsx +2 -2
- package/src/components/TUIContact/TUIContactInfo/friendInfo.tsx +4 -3
- package/src/components/TUIContact/TUIContactInfo/groupInfo.tsx +3 -3
- package/src/components/TUIContact/TUIContactInfo/hooks/useContactInfo.tsx +2 -2
- package/src/components/TUIContact/TUIContactList/TUIContactList.tsx +5 -5
- package/src/components/TUIContact/hooks/useTUIContact.tsx +2 -2
- package/src/components/TUIContactSearch/TUIContactSearch.tsx +2 -2
- package/src/components/TUIContactSearch/hooks/useContactSearch.tsx +2 -2
- package/src/components/TUIConversationList/TUIConversationList.tsx +3 -4
- package/src/components/TUIConversationList/hooks/useConversationUpdate.tsx +2 -2
- package/src/components/TUIManage/TUIManage.tsx +3 -3
- package/src/components/TUIMessage/MessageStatus.tsx +2 -2
- package/src/components/TUIMessage/MessageText.tsx +16 -15
- package/src/components/TUIMessage/hooks/useMessageHandler.ts +2 -2
- package/src/components/TUIMessage/hooks/useMessageReply.ts +2 -2
- package/src/components/TUIMessageInput/TUIMessageInput.tsx +1 -1
- package/src/components/TUIMessageInput/hooks/useHandleForwardMessage.tsx +2 -2
- package/src/components/TUIMessageInput/hooks/useMessageInputText.tsx +2 -2
- package/src/components/TUIMessageInput/styles/color.scss +2 -2
- package/src/components/TUIMessageList/hooks/useMessageListElement.tsx +2 -2
- package/src/components/TUIProfile/TUIProfile.tsx +3 -3
- package/src/components/TUIProfile/TUIProfileDefault.tsx +2 -2
- package/src/components/index.ts +0 -1
- package/src/context/LanguageContext.tsx +59 -0
- package/src/context/ThemeContext.tsx +61 -0
- package/src/context/UIKitContext.tsx +67 -0
- package/src/context/UIManagerContext.tsx +163 -0
- package/src/context/index.ts +3 -2
- package/src/locales/en-US/index.ts +1 -1
- package/src/locales/ja-JP/index.ts +2 -0
- package/src/locales/ko-KR/TUIGlobal.ts +2 -2
- package/src/locales/ko-KR/index.ts +2 -0
- package/src/locales/zh-CN/index.ts +2 -2
- package/src/styles/colors/_color-theme.scss +1 -1
- package/dist/cjs/components/Icon/images/chats-selected.svg.js +0 -1
- package/dist/cjs/components/Icon/images/chats.svg.js +0 -1
- package/dist/cjs/components/Icon/images/contacts-selected.svg.js +0 -1
- package/dist/cjs/components/Icon/images/contacts.svg.js +0 -1
- package/dist/cjs/components/TUIKit/TUIKit.d.ts +0 -12
- package/dist/cjs/components/TUIKit/TUIKit.js +0 -1
- package/dist/cjs/components/TUIKit/hooks/useCreateTUIKitContext.d.ts +0 -21
- package/dist/cjs/components/TUIKit/hooks/useCreateTUIKitContext.js +0 -1
- package/dist/cjs/components/TUIKit/hooks/useTUIKit.d.ts +0 -43
- package/dist/cjs/components/TUIKit/hooks/useTUIKit.js +0 -1
- package/dist/cjs/context/TUIKitContext.d.ts +0 -25
- package/dist/cjs/context/TUIKitContext.js +0 -1
- package/dist/esm/components/Icon/images/chats-selected.svg.js +0 -1
- package/dist/esm/components/Icon/images/chats.svg.js +0 -1
- package/dist/esm/components/Icon/images/contacts-selected.svg.js +0 -1
- package/dist/esm/components/Icon/images/contacts.svg.js +0 -1
- package/dist/esm/components/TUIKit/TUIKit.d.ts +0 -12
- package/dist/esm/components/TUIKit/TUIKit.js +0 -1
- package/dist/esm/components/TUIKit/hooks/useCreateTUIKitContext.d.ts +0 -21
- package/dist/esm/components/TUIKit/hooks/useCreateTUIKitContext.js +0 -1
- package/dist/esm/components/TUIKit/hooks/useTUIKit.d.ts +0 -43
- package/dist/esm/components/TUIKit/hooks/useTUIKit.js +0 -1
- package/dist/esm/context/TUIKitContext.d.ts +0 -25
- package/dist/esm/context/TUIKitContext.js +0 -1
- package/src/components/TUIKit/TUIKit.tsx +0 -229
- package/src/components/TUIKit/hooks/useCreateTUIKitContext.tsx +0 -48
- package/src/components/TUIKit/hooks/useTUIKit.tsx +0 -99
- package/src/components/TUIKit/index.ts +0 -3
- package/src/components/TUIKit/styles/h5.scss +0 -34
- package/src/components/TUIKit/styles/index.scss +0 -132
- package/src/context/TUIKitContext.tsx +0 -44
package/dist/esm/index.d.css
CHANGED
|
@@ -1,1762 +1,1230 @@
|
|
|
1
|
-
.tui-
|
|
2
|
-
|
|
1
|
+
.tui-conversation {
|
|
2
|
+
flex: 1;
|
|
3
|
+
box-sizing: border-box;
|
|
4
|
+
overflow: hidden;
|
|
5
|
+
min-width: 0;
|
|
3
6
|
display: flex;
|
|
4
|
-
|
|
5
|
-
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
position: relative;
|
|
6
9
|
text-align: initial;
|
|
7
10
|
}
|
|
8
|
-
[data-
|
|
11
|
+
[data-uikit-theme=light] .tui-conversation {
|
|
9
12
|
background-color: var(--chat-theme-light-bg-primary);
|
|
10
13
|
}
|
|
11
|
-
[data-
|
|
14
|
+
[data-uikit-theme=dark] .tui-conversation {
|
|
12
15
|
background-color: var(--chat-theme-dark-bg-primary);
|
|
13
16
|
}
|
|
14
|
-
|
|
15
|
-
.sample-chat {
|
|
16
|
-
position: relative;
|
|
17
|
-
margin: 0 auto;
|
|
18
|
-
width: calc(100% - 20rem);
|
|
19
|
-
min-width: 850px;
|
|
20
|
-
height: 86%;
|
|
21
|
-
box-sizing: border-box;
|
|
22
|
-
border-radius: 12px;
|
|
23
|
-
overflow: hidden;
|
|
24
|
-
}
|
|
25
|
-
.sample-chat-profile {
|
|
26
|
-
position: absolute;
|
|
27
|
-
top: 0;
|
|
28
|
-
z-index: 1;
|
|
29
|
-
width: 100%;
|
|
30
|
-
height: 100%;
|
|
31
|
-
}
|
|
32
|
-
.sample-chat-left-container {
|
|
33
|
-
max-width: 360px;
|
|
34
|
-
min-width: 360px;
|
|
17
|
+
.tui-conversation .tui-conversation-header {
|
|
35
18
|
display: flex;
|
|
36
|
-
|
|
37
|
-
position: relative;
|
|
19
|
+
padding: 10px 20px;
|
|
38
20
|
}
|
|
39
|
-
.
|
|
21
|
+
.tui-conversation .tui-conversation-header .tui-conversation-create-icon {
|
|
40
22
|
display: flex;
|
|
41
23
|
align-items: center;
|
|
42
|
-
justify-content:
|
|
43
|
-
margin:
|
|
24
|
+
justify-content: center;
|
|
25
|
+
margin-left: 10px;
|
|
44
26
|
}
|
|
45
|
-
.
|
|
27
|
+
.tui-conversation .no-result {
|
|
28
|
+
padding: 0 20px;
|
|
46
29
|
display: flex;
|
|
47
30
|
flex-direction: column;
|
|
48
31
|
align-items: center;
|
|
49
|
-
justify-content: center;
|
|
50
|
-
cursor: pointer;
|
|
51
32
|
}
|
|
52
|
-
.
|
|
53
|
-
|
|
54
|
-
line-height: 25px;
|
|
55
|
-
text-align: center;
|
|
33
|
+
.tui-conversation .no-result-icon {
|
|
34
|
+
margin: 100px auto 50px;
|
|
56
35
|
}
|
|
57
|
-
.
|
|
58
|
-
color: #
|
|
36
|
+
.tui-conversation .no-result-message {
|
|
37
|
+
color: #999;
|
|
38
|
+
font-weight: 400;
|
|
39
|
+
font-size: 16px;
|
|
40
|
+
font-family: PingFangSC-Medium;
|
|
41
|
+
line-height: 22px;
|
|
59
42
|
}
|
|
60
43
|
|
|
61
|
-
.
|
|
62
|
-
|
|
63
|
-
height: 100%;
|
|
64
|
-
position: relative;
|
|
65
|
-
text-align: initial;
|
|
66
|
-
box-shadow: 0 11px 20px 0 rgba(0, 0, 0, 0.3);
|
|
44
|
+
.tui-conversation-h5 .tui-conversation-header {
|
|
45
|
+
padding: 10px;
|
|
67
46
|
}
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
width: 100%;
|
|
71
|
-
height: 100%;
|
|
72
|
-
background-size: cover;
|
|
73
|
-
background-position-x: -17px;
|
|
74
|
-
background-position-y: 173px;
|
|
75
|
-
padding: 100px 40px 0;
|
|
47
|
+
.tui-conversation-h5 .conversation-list-container .conversation-preview-container {
|
|
48
|
+
padding: 0 10px;
|
|
76
49
|
}
|
|
77
|
-
.tui-
|
|
50
|
+
.tui-kit-avatar {
|
|
78
51
|
display: flex;
|
|
79
52
|
align-items: center;
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
color: #000;
|
|
84
|
-
letter-spacing: 0;
|
|
85
|
-
}
|
|
86
|
-
.tui-chat-default header img {
|
|
87
|
-
width: 32px;
|
|
88
|
-
margin: 0 10px;
|
|
89
|
-
}
|
|
90
|
-
.tui-chat-default .content {
|
|
91
|
-
max-width: 393px;
|
|
92
|
-
font-size: 16px;
|
|
93
|
-
line-height: 24px;
|
|
94
|
-
font-family: PingFangSC-Regular;
|
|
95
|
-
font-weight: 400;
|
|
96
|
-
color: #666;
|
|
97
|
-
letter-spacing: 0;
|
|
98
|
-
padding: 36px 0 20px;
|
|
99
|
-
}
|
|
100
|
-
.tui-chat-default .link {
|
|
101
|
-
font-size: 14px;
|
|
102
|
-
line-height: 20px;
|
|
103
|
-
font-family: PingFangSC-Regular;
|
|
104
|
-
font-weight: 400;
|
|
105
|
-
color: #666;
|
|
106
|
-
letter-spacing: 0;
|
|
107
|
-
}
|
|
108
|
-
.tui-chat-default .link a {
|
|
109
|
-
font-family: PingFangSC-Regular;
|
|
110
|
-
font-weight: 400;
|
|
111
|
-
color: #006eff;
|
|
112
|
-
letter-spacing: 0;
|
|
113
|
-
text-decoration: none;
|
|
114
|
-
padding: 0 5px;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
body #webpack-dev-server-client-overlay {
|
|
118
|
-
display: none !important;
|
|
53
|
+
position: relative;
|
|
54
|
+
cursor: pointer;
|
|
55
|
+
flex-shrink: 0;
|
|
119
56
|
}
|
|
120
|
-
.
|
|
121
|
-
|
|
57
|
+
.tui-kit-avatar.circle .avatar-image {
|
|
58
|
+
border-radius: 50%;
|
|
122
59
|
}
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
width: 100%;
|
|
126
|
-
height: 100%;
|
|
127
|
-
margin: 0;
|
|
60
|
+
.tui-kit-avatar.square .avatar-image {
|
|
61
|
+
border-radius: 4px;
|
|
128
62
|
}
|
|
129
|
-
|
|
130
|
-
.sample-chat-h5 {
|
|
131
|
-
position: relative;
|
|
63
|
+
.tui-kit-avatar img {
|
|
132
64
|
width: 100%;
|
|
133
65
|
height: 100%;
|
|
134
|
-
overflow: hidden;
|
|
135
66
|
}
|
|
136
|
-
.
|
|
67
|
+
.tui-kit-avatar:hover .tui-kit-avatar-edit {
|
|
137
68
|
display: flex;
|
|
138
|
-
|
|
69
|
+
}
|
|
70
|
+
.tui-kit-avatar-edit {
|
|
71
|
+
position: absolute;
|
|
72
|
+
top: 0;
|
|
73
|
+
left: 0;
|
|
74
|
+
background: rgba(0, 0, 0, 0.33);
|
|
139
75
|
width: 100%;
|
|
140
76
|
height: 100%;
|
|
77
|
+
border-radius: 100%;
|
|
78
|
+
display: none;
|
|
79
|
+
justify-content: center;
|
|
80
|
+
align-items: center;
|
|
141
81
|
}
|
|
142
|
-
.
|
|
82
|
+
.tui-kit-avatar-list {
|
|
143
83
|
position: absolute;
|
|
144
|
-
|
|
145
|
-
|
|
84
|
+
z-index: 2;
|
|
85
|
+
top: 100%;
|
|
86
|
+
background: #FFFFFF;
|
|
87
|
+
border-radius: 5px;
|
|
88
|
+
box-shadow: 0 11px 20px 0 rgb(0, 0, 0);
|
|
89
|
+
display: flex;
|
|
90
|
+
flex-wrap: wrap;
|
|
91
|
+
justify-content: center;
|
|
146
92
|
width: 100%;
|
|
147
|
-
|
|
148
|
-
|
|
93
|
+
min-width: 200px;
|
|
94
|
+
max-width: 400px;
|
|
95
|
+
padding: 10px;
|
|
149
96
|
}
|
|
150
|
-
.
|
|
151
|
-
|
|
97
|
+
.tui-kit-avatar-list-item {
|
|
98
|
+
padding: 10px;
|
|
152
99
|
}
|
|
153
|
-
.
|
|
154
|
-
|
|
100
|
+
.tui-kit-avatar-list-item img {
|
|
101
|
+
width: 40px;
|
|
155
102
|
}
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
/**
|
|
160
|
-
* 1. Correct the line height in all browsers.
|
|
161
|
-
* 2. Prevent adjustments of font size after orientation changes in iOS.
|
|
162
|
-
*/
|
|
163
|
-
html {
|
|
164
|
-
line-height: 1.15; /* 1 */
|
|
165
|
-
-webkit-text-size-adjust: 100%; /* 2 */
|
|
103
|
+
.conversation-list-container {
|
|
104
|
+
overflow-x: hidden;
|
|
105
|
+
height: 100%;
|
|
166
106
|
}
|
|
167
107
|
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
108
|
+
.conversation-preview-container {
|
|
109
|
+
display: flex;
|
|
110
|
+
align-items: center;
|
|
111
|
+
border: none;
|
|
112
|
+
width: 100%;
|
|
113
|
+
height: 64px;
|
|
114
|
+
cursor: pointer;
|
|
115
|
+
line-height: 17px;
|
|
116
|
+
padding: 0 20px;
|
|
175
117
|
}
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
* Render the `main` element consistently in IE.
|
|
179
|
-
*/
|
|
180
|
-
main {
|
|
181
|
-
display: block;
|
|
118
|
+
[data-uikit-theme=light] .conversation-preview-container {
|
|
119
|
+
background-color: var(--chat-theme-light-bg-primary);
|
|
182
120
|
}
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
* Correct the font size and margin on `h1` elements within `section` and
|
|
186
|
-
* `article` contexts in Chrome, Firefox, and Safari.
|
|
187
|
-
*/
|
|
188
|
-
h1 {
|
|
189
|
-
font-size: 2em;
|
|
190
|
-
margin: 0.67em 0;
|
|
121
|
+
[data-uikit-theme=dark] .conversation-preview-container {
|
|
122
|
+
background-color: var(--chat-theme-dark-bg-primary);
|
|
191
123
|
}
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
* 2. Show the overflow in Edge and IE.
|
|
198
|
-
*/
|
|
199
|
-
hr {
|
|
200
|
-
box-sizing: content-box; /* 1 */
|
|
201
|
-
height: 0; /* 1 */
|
|
202
|
-
overflow: visible; /* 2 */
|
|
124
|
+
.conversation-preview-container .content {
|
|
125
|
+
flex: 1 1 auto;
|
|
126
|
+
text-align: left;
|
|
127
|
+
margin-left: 10px;
|
|
128
|
+
min-width: 0;
|
|
203
129
|
}
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
font-size: 1em; /* 2 */
|
|
130
|
+
.conversation-preview-container .content .title {
|
|
131
|
+
font-style: normal;
|
|
132
|
+
font-weight: 700;
|
|
133
|
+
font-size: 14px;
|
|
134
|
+
line-height: 17px;
|
|
135
|
+
font-family: PingFangSC-Medium;
|
|
136
|
+
padding: 1px 0;
|
|
137
|
+
width: 100%;
|
|
213
138
|
}
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
========================================================================== */
|
|
217
|
-
/**
|
|
218
|
-
* Remove the gray background on active links in IE 10.
|
|
219
|
-
*/
|
|
220
|
-
a {
|
|
221
|
-
background-color: transparent;
|
|
139
|
+
[data-uikit-theme=light] .conversation-preview-container .content .title {
|
|
140
|
+
color: var(--chat-theme-light-text-primary);
|
|
222
141
|
}
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
* 1. Remove the bottom border in Chrome 57-
|
|
226
|
-
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
|
|
227
|
-
*/
|
|
228
|
-
abbr[title] {
|
|
229
|
-
border-bottom: none; /* 1 */
|
|
230
|
-
text-decoration: underline; /* 2 */
|
|
231
|
-
text-decoration: underline dotted; /* 2 */
|
|
142
|
+
[data-uikit-theme=dark] .conversation-preview-container .content .title {
|
|
143
|
+
color: var(--chat-theme-dark-text-primary);
|
|
232
144
|
}
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
font-weight:
|
|
145
|
+
.conversation-preview-container .content .message {
|
|
146
|
+
overflow: hidden;
|
|
147
|
+
text-overflow: ellipsis;
|
|
148
|
+
white-space: nowrap;
|
|
149
|
+
font-family: PingFangSC-Medium;
|
|
150
|
+
font-style: normal;
|
|
151
|
+
font-weight: 400;
|
|
152
|
+
font-size: 12px;
|
|
153
|
+
line-height: 14px;
|
|
154
|
+
padding: 1px 0;
|
|
240
155
|
}
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
* 1. Correct the inheritance and scaling of font size in all browsers.
|
|
244
|
-
* 2. Correct the odd `em` font sizing in all browsers.
|
|
245
|
-
*/
|
|
246
|
-
code,
|
|
247
|
-
kbd,
|
|
248
|
-
samp {
|
|
249
|
-
font-family: monospace, monospace; /* 1 */
|
|
250
|
-
font-size: 1em; /* 2 */
|
|
156
|
+
[data-uikit-theme=light] .conversation-preview-container .content .message {
|
|
157
|
+
color: var(--chat-theme-light-text-secondary);
|
|
251
158
|
}
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
* Add the correct font size in all browsers.
|
|
255
|
-
*/
|
|
256
|
-
small {
|
|
257
|
-
font-size: 80%;
|
|
159
|
+
[data-uikit-theme=dark] .conversation-preview-container .content .message {
|
|
160
|
+
color: var(--chat-theme-dark-text-secondary);
|
|
258
161
|
}
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
sub,
|
|
265
|
-
sup {
|
|
266
|
-
font-size: 75%;
|
|
267
|
-
line-height: 0;
|
|
268
|
-
position: relative;
|
|
269
|
-
vertical-align: baseline;
|
|
162
|
+
.conversation-preview-container .external {
|
|
163
|
+
text-align: right;
|
|
164
|
+
flex: 0 1 auto;
|
|
165
|
+
display: flex;
|
|
166
|
+
flex-direction: column;
|
|
270
167
|
}
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
168
|
+
.conversation-preview-container .external .unread {
|
|
169
|
+
height: 19px;
|
|
170
|
+
padding: 1px 0;
|
|
274
171
|
}
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
172
|
+
.conversation-preview-container .external .time {
|
|
173
|
+
font-family: PingFangSC-Medium;
|
|
174
|
+
font-style: normal;
|
|
175
|
+
font-weight: 400;
|
|
176
|
+
font-size: 12px;
|
|
177
|
+
line-height: 14px;
|
|
178
|
+
padding: 1px 0;
|
|
278
179
|
}
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
========================================================================== */
|
|
282
|
-
/**
|
|
283
|
-
* Remove the border on images inside links in IE 10.
|
|
284
|
-
*/
|
|
285
|
-
img {
|
|
286
|
-
border-style: none;
|
|
180
|
+
[data-uikit-theme=light] .conversation-preview-container .external .time {
|
|
181
|
+
color: var(--chat-theme-light-text-secondary);
|
|
287
182
|
}
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
========================================================================== */
|
|
291
|
-
/**
|
|
292
|
-
* 1. Change the font styles in all browsers.
|
|
293
|
-
* 2. Remove the margin in Firefox and Safari.
|
|
294
|
-
*/
|
|
295
|
-
button,
|
|
296
|
-
input,
|
|
297
|
-
optgroup,
|
|
298
|
-
select,
|
|
299
|
-
textarea {
|
|
300
|
-
font-family: inherit; /* 1 */
|
|
301
|
-
font-size: 100%; /* 1 */
|
|
302
|
-
line-height: 1.15; /* 1 */
|
|
303
|
-
margin: 0; /* 2 */
|
|
183
|
+
[data-uikit-theme=dark] .conversation-preview-container .external .time {
|
|
184
|
+
color: var(--chat-theme-dark-text-secondary);
|
|
304
185
|
}
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
*/
|
|
310
|
-
button,
|
|
311
|
-
input { /* 1 */
|
|
312
|
-
overflow: visible;
|
|
186
|
+
.conversation-preview-container .external .more--hover {
|
|
187
|
+
display: flex;
|
|
188
|
+
justify-content: flex-end;
|
|
189
|
+
flex: 1 1;
|
|
313
190
|
}
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
* Remove the inheritance of text transform in Edge, Firefox, and IE.
|
|
317
|
-
* 1. Remove the inheritance of text transform in Firefox.
|
|
318
|
-
*/
|
|
319
|
-
button,
|
|
320
|
-
select { /* 1 */
|
|
321
|
-
text-transform: none;
|
|
191
|
+
.conversation-preview-container .external .more--hover .icon-more {
|
|
192
|
+
transform: scale(1.5);
|
|
322
193
|
}
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
-
|
|
194
|
+
.conversation-preview-container .external .more--hover .more-handle-box {
|
|
195
|
+
top: 0;
|
|
196
|
+
right: 0;
|
|
197
|
+
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
|
198
|
+
bottom: initial;
|
|
199
|
+
padding: 14px 0;
|
|
200
|
+
box-sizing: border-box;
|
|
201
|
+
text-align: start;
|
|
202
|
+
white-space: nowrap;
|
|
332
203
|
}
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
border-style: none;
|
|
342
|
-
padding: 0;
|
|
204
|
+
.conversation-preview-container .external .more--hover .more-handle-box .more-handle-item {
|
|
205
|
+
font-size: 16px;
|
|
206
|
+
font-family: PingFangSC-Medium;
|
|
207
|
+
line-height: 19px;
|
|
208
|
+
padding: 6px 16px;
|
|
209
|
+
cursor: pointer;
|
|
210
|
+
font-weight: 500;
|
|
211
|
+
box-sizing: border-box;
|
|
343
212
|
}
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
* Restore the focus styles unset by the previous rule.
|
|
347
|
-
*/
|
|
348
|
-
button:-moz-focusring,
|
|
349
|
-
[type=button]:-moz-focusring,
|
|
350
|
-
[type=reset]:-moz-focusring,
|
|
351
|
-
[type=submit]:-moz-focusring {
|
|
352
|
-
outline: 1px dotted ButtonText;
|
|
213
|
+
[data-uikit-theme=light] .conversation-preview-container .external .more--hover .more-handle-box .more-handle-item.delete {
|
|
214
|
+
color: var(--chat-theme-light-status-danger);
|
|
353
215
|
}
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
* Correct the padding in Firefox.
|
|
357
|
-
*/
|
|
358
|
-
fieldset {
|
|
359
|
-
padding: 0.35em 0.75em 0.625em;
|
|
216
|
+
[data-uikit-theme=dark] .conversation-preview-container .external .more--hover .more-handle-box .more-handle-item.delete {
|
|
217
|
+
color: var(--chat-theme-dark-status-danger);
|
|
360
218
|
}
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
* 1. Correct the text wrapping in Edge and IE.
|
|
364
|
-
* 2. Correct the color inheritance from `fieldset` elements in IE.
|
|
365
|
-
* 3. Remove the padding so developers are not caught out when they zero out
|
|
366
|
-
* `fieldset` elements in all browsers.
|
|
367
|
-
*/
|
|
368
|
-
legend {
|
|
369
|
-
box-sizing: border-box; /* 1 */
|
|
370
|
-
color: inherit; /* 2 */
|
|
371
|
-
display: table; /* 1 */
|
|
372
|
-
max-width: 100%; /* 1 */
|
|
373
|
-
padding: 0; /* 3 */
|
|
374
|
-
white-space: normal; /* 1 */
|
|
219
|
+
[data-uikit-theme=light] .conversation-preview-container .external .more--hover .more-handle-box .more-handle-item:hover {
|
|
220
|
+
background-color: var(--chat-theme-light-bg-active);
|
|
375
221
|
}
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
* Add the correct vertical alignment in Chrome, Firefox, and Opera.
|
|
379
|
-
*/
|
|
380
|
-
progress {
|
|
381
|
-
vertical-align: baseline;
|
|
222
|
+
[data-uikit-theme=dark] .conversation-preview-container .external .more--hover .more-handle-box .more-handle-item:hover {
|
|
223
|
+
background-color: var(--chat-theme-dark-bg-active);
|
|
382
224
|
}
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
* Remove the default vertical scrollbar in IE 10+.
|
|
386
|
-
*/
|
|
387
|
-
textarea {
|
|
388
|
-
overflow: auto;
|
|
225
|
+
[data-uikit-theme=light] .conversation-preview-container:hover {
|
|
226
|
+
background-color: var(--chat-theme-light-bg-active);
|
|
389
227
|
}
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
* 1. Add the correct box sizing in IE 10.
|
|
393
|
-
* 2. Remove the padding in IE 10.
|
|
394
|
-
*/
|
|
395
|
-
[type=checkbox],
|
|
396
|
-
[type=radio] {
|
|
397
|
-
box-sizing: border-box; /* 1 */
|
|
398
|
-
padding: 0; /* 2 */
|
|
228
|
+
[data-uikit-theme=dark] .conversation-preview-container:hover {
|
|
229
|
+
background-color: var(--chat-theme-dark-bg-active);
|
|
399
230
|
}
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
* Correct the cursor style of increment and decrement buttons in Chrome.
|
|
403
|
-
*/
|
|
404
|
-
[type=number]::-webkit-inner-spin-button,
|
|
405
|
-
[type=number]::-webkit-outer-spin-button {
|
|
406
|
-
height: auto;
|
|
231
|
+
[data-uikit-theme=light] .conversation-preview-container.conversation-preview-content--pin {
|
|
232
|
+
background-color: var(--chat-theme-light-bg-secondary);
|
|
407
233
|
}
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
* 1. Correct the odd appearance in Chrome and Safari.
|
|
411
|
-
* 2. Correct the outline style in Safari.
|
|
412
|
-
*/
|
|
413
|
-
[type=search] {
|
|
414
|
-
-webkit-appearance: textfield; /* 1 */
|
|
415
|
-
outline-offset: -2px; /* 2 */
|
|
234
|
+
[data-uikit-theme=dark] .conversation-preview-container.conversation-preview-content--pin {
|
|
235
|
+
background-color: var(--chat-theme-dark-bg-secondary);
|
|
416
236
|
}
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
* Remove the inner padding in Chrome and Safari on macOS.
|
|
420
|
-
*/
|
|
421
|
-
[type=search]::-webkit-search-decoration {
|
|
422
|
-
-webkit-appearance: none;
|
|
237
|
+
[data-uikit-theme=light] .conversation-preview-container.conversation-preview-content--active {
|
|
238
|
+
background-color: var(--chat-theme-light-bg-active);
|
|
423
239
|
}
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
* 1. Correct the inability to style clickable types in iOS and Safari.
|
|
427
|
-
* 2. Change font properties to `inherit` in Safari.
|
|
428
|
-
*/
|
|
429
|
-
::-webkit-file-upload-button {
|
|
430
|
-
-webkit-appearance: button; /* 1 */
|
|
431
|
-
font: inherit; /* 2 */
|
|
432
|
-
}
|
|
433
|
-
|
|
434
|
-
/* Interactive
|
|
435
|
-
========================================================================== */
|
|
436
|
-
/*
|
|
437
|
-
* Add the correct display in Edge, IE 10+, and Firefox.
|
|
438
|
-
*/
|
|
439
|
-
details {
|
|
440
|
-
display: block;
|
|
441
|
-
}
|
|
442
|
-
|
|
443
|
-
/*
|
|
444
|
-
* Add the correct display in all browsers.
|
|
445
|
-
*/
|
|
446
|
-
summary {
|
|
447
|
-
display: list-item;
|
|
448
|
-
}
|
|
449
|
-
|
|
450
|
-
/* Misc
|
|
451
|
-
========================================================================== */
|
|
452
|
-
/**
|
|
453
|
-
* Add the correct display in IE 10+.
|
|
454
|
-
*/
|
|
455
|
-
template {
|
|
456
|
-
display: none;
|
|
457
|
-
}
|
|
458
|
-
|
|
459
|
-
/**
|
|
460
|
-
* Add the correct display in IE 10.
|
|
461
|
-
*/
|
|
462
|
-
[hidden] {
|
|
463
|
-
display: none;
|
|
464
|
-
}
|
|
465
|
-
|
|
466
|
-
:root {
|
|
467
|
-
-webkit-font-smoothing: antialiased;
|
|
468
|
-
-moz-osx-font-smoothing: grayscale;
|
|
469
|
-
}
|
|
470
|
-
|
|
471
|
-
@font-face {
|
|
472
|
-
font-family: iconfont;
|
|
473
|
-
src: url("./assets/fonts/iconfont.woff2?t=1722856322648") format("woff2"), url("./assets/fonts/iconfont.woff?t=1722856322648") format("woff"), url("./assets/fonts/iconfont.ttf?t=1722856322648") format("truetype");
|
|
474
|
-
}
|
|
475
|
-
.iconfont {
|
|
476
|
-
font-family: iconfont, Arial, sans-serif !important;
|
|
477
|
-
font-size: 20px;
|
|
478
|
-
font-style: normal;
|
|
479
|
-
line-height: 1;
|
|
480
|
-
vertical-align: bottom;
|
|
481
|
-
-webkit-font-smoothing: antialiased;
|
|
482
|
-
-webkit-text-stroke-width: 0.2px;
|
|
483
|
-
-moz-osx-font-smoothing: grayscale;
|
|
240
|
+
[data-uikit-theme=dark] .conversation-preview-container.conversation-preview-content--active {
|
|
241
|
+
background-color: var(--chat-theme-dark-bg-active);
|
|
484
242
|
}
|
|
485
|
-
|
|
486
|
-
:
|
|
487
|
-
--chat-theme-light-bg-5: #999;
|
|
488
|
-
--chat-theme-light-bg-4: #b3b3b3;
|
|
489
|
-
--chat-theme-light-bg-3: #e5e7eb;
|
|
490
|
-
--chat-theme-light-bg-2: #f0f0f0;
|
|
491
|
-
--chat-theme-light-bg-1: #fff;
|
|
492
|
-
--chat-theme-light-bg-primary: #fff;
|
|
493
|
-
--chat-theme-light-bg-secondary: #f0f0f0;
|
|
494
|
-
--chat-theme-light-bg-active: #e6f1ff;
|
|
495
|
-
--chat-theme-light-text-5: #000;
|
|
496
|
-
--chat-theme-light-text-4: #666;
|
|
497
|
-
--chat-theme-light-text-3: #7a7a7a;
|
|
498
|
-
--chat-theme-light-text-2: #7a7a7a;
|
|
499
|
-
--chat-theme-light-text-1: #7a7a7a;
|
|
500
|
-
--chat-theme-light-text-primary: #000;
|
|
501
|
-
--chat-theme-light-text-secondary: #7a7a7a;
|
|
502
|
-
--chat-theme-light-status-info: #147aff;
|
|
503
|
-
--chat-theme-light-status-success: #34c759;
|
|
504
|
-
--chat-theme-light-status-danger: #ff3742;
|
|
505
|
-
--chat-theme-light-border-5: #e0e0e0;
|
|
506
|
-
--chat-theme-light-box-shadow-1: rgba(0, 0, 0, 0.24) 0 3px 8px;
|
|
507
|
-
color-scheme: light dark;
|
|
243
|
+
[data-uikit-theme=light] .conversation-preview-container.conversation-preview-content--active .title {
|
|
244
|
+
color: var(--chat-theme-light-status-info);
|
|
508
245
|
}
|
|
509
|
-
|
|
510
|
-
:
|
|
511
|
-
--chat-theme-dark-bg-5: #76777e;
|
|
512
|
-
--chat-theme-dark-bg-4: #5d5e67;
|
|
513
|
-
--chat-theme-dark-bg-3: #454650;
|
|
514
|
-
--chat-theme-dark-bg-2: #2e303a;
|
|
515
|
-
--chat-theme-dark-bg-1: #191b26;
|
|
516
|
-
--chat-theme-dark-bg-primary: #191b26;
|
|
517
|
-
--chat-theme-dark-bg-secondary: #2e303a;
|
|
518
|
-
--chat-theme-dark-bg-active: #4e4e4e;
|
|
519
|
-
--chat-theme-dark-text-5: #000;
|
|
520
|
-
--chat-theme-dark-text-4: #666;
|
|
521
|
-
--chat-theme-dark-text-3: #7a7a7a;
|
|
522
|
-
--chat-theme-dark-text-2: #7a7a7a;
|
|
523
|
-
--chat-theme-dark-text-1: #7a7a7a;
|
|
524
|
-
--chat-theme-dark-text-primary: #fff;
|
|
525
|
-
--chat-theme-dark-text-secondary: #8b8b8b;
|
|
526
|
-
--chat-theme-dark-status-info: #147aff;
|
|
527
|
-
--chat-theme-dark-status-success: #34c759;
|
|
528
|
-
--chat-theme-dark-status-danger: #ff3742;
|
|
529
|
-
--chat-theme-dark-border-5: #4e4e4e;
|
|
530
|
-
--chat-theme-dark-box-shadow-1: rgba(203, 203, 203, 0.755) 0 3px 8px;
|
|
531
|
-
color-scheme: light dark;
|
|
246
|
+
[data-uikit-theme=dark] .conversation-preview-container.conversation-preview-content--active .title {
|
|
247
|
+
color: var(--chat-theme-dark-status-info);
|
|
532
248
|
}
|
|
533
|
-
.
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
min-width: 0;
|
|
249
|
+
.conversation-preview-container.conversation-preview-content--unread .unread {
|
|
250
|
+
width: 16px;
|
|
251
|
+
height: 13px;
|
|
252
|
+
border-radius: 16px;
|
|
538
253
|
display: flex;
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
254
|
+
justify-content: center;
|
|
255
|
+
align-items: center;
|
|
256
|
+
padding: 2px 5px 1px;
|
|
257
|
+
font-size: 11px;
|
|
258
|
+
font-weight: 700;
|
|
259
|
+
margin: 2px 0 2px auto;
|
|
260
|
+
color: #fff;
|
|
542
261
|
}
|
|
543
|
-
[data-
|
|
544
|
-
background-color: var(--chat-theme-light-
|
|
262
|
+
[data-uikit-theme=light] .conversation-preview-container.conversation-preview-content--unread .unread {
|
|
263
|
+
background-color: var(--chat-theme-light-status-danger);
|
|
545
264
|
}
|
|
546
|
-
[data-
|
|
547
|
-
background-color: var(--chat-theme-dark-
|
|
265
|
+
[data-uikit-theme=dark] .conversation-preview-container.conversation-preview-content--unread .unread {
|
|
266
|
+
background-color: var(--chat-theme-dark-status-danger);
|
|
548
267
|
}
|
|
549
|
-
.tui-
|
|
268
|
+
.tui-message-input {
|
|
550
269
|
display: flex;
|
|
551
|
-
|
|
270
|
+
flex-direction: column;
|
|
552
271
|
}
|
|
553
|
-
.tui-
|
|
272
|
+
.tui-message-input-main {
|
|
273
|
+
flex: 1;
|
|
554
274
|
display: flex;
|
|
555
275
|
align-items: center;
|
|
556
|
-
|
|
557
|
-
|
|
276
|
+
padding: 14px 12px;
|
|
277
|
+
gap: 12px;
|
|
558
278
|
}
|
|
559
|
-
.tui-
|
|
560
|
-
|
|
279
|
+
.tui-message-input-main .input-box {
|
|
280
|
+
flex: 1;
|
|
561
281
|
display: flex;
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
}
|
|
568
|
-
.tui-conversation .no-result-message {
|
|
569
|
-
color: #999;
|
|
570
|
-
font-weight: 400;
|
|
571
|
-
font-size: 16px;
|
|
572
|
-
font-family: PingFangSC-Medium;
|
|
573
|
-
line-height: 22px;
|
|
574
|
-
}
|
|
575
|
-
|
|
576
|
-
.tui-conversation-h5 .tui-conversation-header {
|
|
282
|
+
position: relative;
|
|
283
|
+
min-height: 20px;
|
|
284
|
+
max-height: 200px;
|
|
285
|
+
border-radius: 15px;
|
|
286
|
+
overflow: hidden;
|
|
577
287
|
padding: 10px;
|
|
578
288
|
}
|
|
579
|
-
.tui-
|
|
580
|
-
|
|
289
|
+
.tui-message-input-main .input-box .input-visibility-content {
|
|
290
|
+
min-height: 20px;
|
|
291
|
+
word-break: break-all;
|
|
292
|
+
visibility: hidden;
|
|
293
|
+
max-width: -webkit-fill-available;
|
|
294
|
+
font-family: PingFangSC-Medium;
|
|
295
|
+
font-style: normal;
|
|
296
|
+
font-weight: 500;
|
|
297
|
+
font-size: 14px;
|
|
298
|
+
line-height: 17px;
|
|
299
|
+
padding: 1px 2px;
|
|
581
300
|
}
|
|
582
|
-
.message-
|
|
583
|
-
|
|
301
|
+
.tui-message-input-main .input-box textarea {
|
|
302
|
+
position: absolute;
|
|
303
|
+
top: 0;
|
|
304
|
+
left: 0;
|
|
305
|
+
width: -webkit-fill-available;
|
|
306
|
+
height: -webkit-fill-available;
|
|
584
307
|
flex: 1;
|
|
585
|
-
display: flex;
|
|
586
|
-
align-items: center;
|
|
587
|
-
cursor: pointer;
|
|
588
|
-
font-family: SF Pro Text;
|
|
589
|
-
font-size: 14px;
|
|
590
308
|
font-family: PingFangSC-Medium;
|
|
591
309
|
font-style: normal;
|
|
592
310
|
font-weight: 500;
|
|
311
|
+
font-size: 14px;
|
|
593
312
|
line-height: 17px;
|
|
313
|
+
margin: 9px;
|
|
314
|
+
resize: none;
|
|
315
|
+
border: none;
|
|
316
|
+
background: none;
|
|
594
317
|
}
|
|
595
|
-
.message-
|
|
596
|
-
width: 45px;
|
|
597
|
-
}
|
|
598
|
-
.message-default .avatar img {
|
|
599
|
-
width: 45px;
|
|
600
|
-
}
|
|
601
|
-
.message-default .content {
|
|
602
|
-
display: flex;
|
|
603
|
-
flex-direction: column;
|
|
604
|
-
align-items: flex-start;
|
|
605
|
-
}
|
|
606
|
-
.message-default .content .name {
|
|
607
|
-
display: inline-block;
|
|
608
|
-
padding-bottom: 3px;
|
|
609
|
-
max-width: 60%;
|
|
610
|
-
}
|
|
611
|
-
[data-chat-theme=light] .message-default .content .name {
|
|
318
|
+
[data-uikit-theme=light] .tui-message-input-main .input-box textarea {
|
|
612
319
|
color: var(--chat-theme-light-text-primary);
|
|
613
320
|
}
|
|
614
|
-
[data-
|
|
321
|
+
[data-uikit-theme=dark] .tui-message-input-main .input-box textarea {
|
|
615
322
|
color: var(--chat-theme-dark-text-primary);
|
|
616
323
|
}
|
|
617
|
-
|
|
618
|
-
|
|
324
|
+
.tui-message-input-main .input-box textarea:focus, .tui-message-input-main .input-box textarea:active {
|
|
325
|
+
border: none;
|
|
326
|
+
outline: none;
|
|
327
|
+
}
|
|
328
|
+
.tui-message-input-main .disabled {
|
|
329
|
+
display: none;
|
|
330
|
+
}
|
|
331
|
+
.tui-message-input-box {
|
|
619
332
|
flex: 1;
|
|
620
333
|
display: flex;
|
|
621
|
-
|
|
622
|
-
justify-self: flex-start;
|
|
623
|
-
gap: 10px;
|
|
334
|
+
align-items: center;
|
|
624
335
|
}
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
336
|
+
|
|
337
|
+
ul li {
|
|
338
|
+
list-style: none;
|
|
628
339
|
}
|
|
629
340
|
|
|
630
|
-
.
|
|
631
|
-
|
|
632
|
-
display: flex;
|
|
633
|
-
gap: 10px;
|
|
634
|
-
flex-direction: row-reverse;
|
|
635
|
-
justify-self: flex-end;
|
|
341
|
+
.input-plugin-popup {
|
|
342
|
+
position: relative;
|
|
636
343
|
}
|
|
637
|
-
.
|
|
638
|
-
|
|
639
|
-
|
|
344
|
+
.input-plugin-popup-box {
|
|
345
|
+
position: absolute;
|
|
346
|
+
z-index: 2;
|
|
347
|
+
bottom: 30px;
|
|
640
348
|
}
|
|
641
349
|
|
|
642
|
-
.
|
|
643
|
-
|
|
644
|
-
|
|
350
|
+
.input-plugin-item {
|
|
351
|
+
font-style: normal;
|
|
352
|
+
font-weight: 500;
|
|
353
|
+
font-size: 16px;
|
|
354
|
+
font-family: PingFangSC-Medium;
|
|
355
|
+
line-height: 19px;
|
|
356
|
+
display: flex;
|
|
357
|
+
}
|
|
358
|
+
.input-plugin-item span {
|
|
359
|
+
padding: 0 17px;
|
|
645
360
|
}
|
|
646
361
|
|
|
647
|
-
.
|
|
648
|
-
|
|
362
|
+
.emoji-picker .face-list {
|
|
363
|
+
height: 120px;
|
|
364
|
+
width: 242px;
|
|
365
|
+
padding: 10px 5px;
|
|
366
|
+
display: flex;
|
|
367
|
+
flex-wrap: wrap;
|
|
368
|
+
overflow-y: auto;
|
|
649
369
|
}
|
|
650
|
-
.
|
|
651
|
-
|
|
370
|
+
.emoji-picker .face-list-item {
|
|
371
|
+
padding: 5px;
|
|
372
|
+
cursor: pointer;
|
|
373
|
+
user-select: none;
|
|
652
374
|
}
|
|
653
|
-
.
|
|
654
|
-
|
|
375
|
+
.emoji-picker .face-list-item img {
|
|
376
|
+
width: 20px;
|
|
655
377
|
}
|
|
656
|
-
.
|
|
657
|
-
|
|
378
|
+
.emoji-picker .face-list-item .face-img {
|
|
379
|
+
width: 38px;
|
|
658
380
|
}
|
|
659
|
-
|
|
660
|
-
.message-status {
|
|
381
|
+
.emoji-picker .face-tab {
|
|
661
382
|
display: flex;
|
|
662
|
-
align-items:
|
|
663
|
-
|
|
383
|
+
align-items: center;
|
|
384
|
+
min-width: 265px;
|
|
664
385
|
}
|
|
665
|
-
.
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
padding:
|
|
669
|
-
font-size: 12px;
|
|
670
|
-
font-family: PingFangSC-Medium;
|
|
671
|
-
line-height: 14px;
|
|
672
|
-
text-align: right;
|
|
386
|
+
.emoji-picker .face-tab-item {
|
|
387
|
+
cursor: pointer;
|
|
388
|
+
width: 24px;
|
|
389
|
+
padding: 10px;
|
|
673
390
|
}
|
|
674
|
-
|
|
675
|
-
|
|
391
|
+
.emoji-picker .face-tab-item img {
|
|
392
|
+
width: 100%;
|
|
676
393
|
}
|
|
677
|
-
|
|
678
|
-
|
|
394
|
+
.emoji-picker .emoji-plugin-right {
|
|
395
|
+
right: 0;
|
|
679
396
|
}
|
|
680
397
|
|
|
681
|
-
.
|
|
398
|
+
.upload-picker {
|
|
682
399
|
position: relative;
|
|
400
|
+
padding: 10px 16px;
|
|
401
|
+
min-width: 180px;
|
|
683
402
|
}
|
|
684
|
-
.
|
|
685
|
-
|
|
686
|
-
bottom: 10px;
|
|
687
|
-
right: 10px;
|
|
688
|
-
}
|
|
689
|
-
[data-chat-theme=light] .message-image .message-status .time, [data-chat-theme=light] .message-video .message-status .time {
|
|
690
|
-
color: var(--chat-theme-light-text-primary);
|
|
403
|
+
.upload-picker:hover {
|
|
404
|
+
color: #147aff;
|
|
691
405
|
}
|
|
692
|
-
|
|
693
|
-
|
|
406
|
+
.upload-picker input {
|
|
407
|
+
position: absolute;
|
|
408
|
+
cursor: pointer;
|
|
409
|
+
left: 0;
|
|
410
|
+
top: 0;
|
|
411
|
+
opacity: 0;
|
|
412
|
+
width: 100%;
|
|
413
|
+
height: 100%;
|
|
694
414
|
}
|
|
695
415
|
|
|
696
|
-
.
|
|
416
|
+
.input-quote {
|
|
417
|
+
padding: 7px 16px;
|
|
418
|
+
background: #f9f9f9;
|
|
697
419
|
display: flex;
|
|
420
|
+
align-items: center;
|
|
698
421
|
}
|
|
699
|
-
.
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
font-style: normal;
|
|
704
|
-
font-weight: 500;
|
|
705
|
-
font-size: 14px;
|
|
706
|
-
line-height: 24px;
|
|
707
|
-
}
|
|
708
|
-
.message-text-content-p {
|
|
709
|
-
white-space: pre-wrap;
|
|
710
|
-
display: inline;
|
|
711
|
-
vertical-align: middle;
|
|
712
|
-
}
|
|
713
|
-
[data-chat-theme=light] .message-text-content-p {
|
|
714
|
-
color: var(--chat-theme-light-text-primary);
|
|
715
|
-
}
|
|
716
|
-
[data-chat-theme=dark] .message-text-content-p {
|
|
717
|
-
color: var(--chat-theme-dark-text-primary);
|
|
718
|
-
}
|
|
719
|
-
.message-text-content .message-status {
|
|
720
|
-
display: inline-flex;
|
|
721
|
-
float: right;
|
|
722
|
-
clear: right;
|
|
723
|
-
}
|
|
724
|
-
|
|
725
|
-
.message-text,
|
|
726
|
-
.message-tip {
|
|
727
|
-
font-family: PingFangSC-Regular;
|
|
728
|
-
font-style: normal;
|
|
729
|
-
font-weight: 500;
|
|
730
|
-
font-size: 14px;
|
|
731
|
-
line-height: 17px;
|
|
732
|
-
}
|
|
733
|
-
.message-text .text-img,
|
|
734
|
-
.message-tip .text-img {
|
|
735
|
-
width: 20px;
|
|
736
|
-
height: 20px;
|
|
737
|
-
vertical-align: middle;
|
|
738
|
-
}
|
|
739
|
-
|
|
740
|
-
.message-image {
|
|
741
|
-
background: #FFFFFF;
|
|
742
|
-
}
|
|
743
|
-
.message-image img {
|
|
744
|
-
max-width: 300px;
|
|
745
|
-
}
|
|
746
|
-
.message-image .img-h5 {
|
|
747
|
-
max-width: 200px;
|
|
748
|
-
max-height: 200px;
|
|
749
|
-
}
|
|
750
|
-
.message-image .big-image {
|
|
751
|
-
max-width: 90%;
|
|
752
|
-
max-height: 90%;
|
|
753
|
-
}
|
|
754
|
-
|
|
755
|
-
.message-video {
|
|
756
|
-
max-width: 300px;
|
|
757
|
-
}
|
|
758
|
-
.message-video .snap-video {
|
|
422
|
+
.input-quote-content {
|
|
423
|
+
flex: 1;
|
|
424
|
+
background: #fff;
|
|
425
|
+
padding: 2px 14px;
|
|
759
426
|
position: relative;
|
|
760
|
-
height: 100%;
|
|
761
|
-
border-radius: 10px;
|
|
762
|
-
}
|
|
763
|
-
.message-video .snap-video::before {
|
|
764
|
-
position: absolute;
|
|
765
|
-
z-index: 1;
|
|
766
|
-
content: "";
|
|
767
|
-
width: 0px;
|
|
768
|
-
height: 0px;
|
|
769
|
-
border: 15px solid transparent;
|
|
770
|
-
border-left: 20px solid #ffffff;
|
|
771
|
-
top: 0;
|
|
772
|
-
left: 0;
|
|
773
|
-
bottom: 0;
|
|
774
|
-
right: 0;
|
|
775
|
-
margin: auto;
|
|
776
|
-
}
|
|
777
|
-
.message-video video {
|
|
778
|
-
width: 100%;
|
|
779
|
-
height: 100%;
|
|
780
|
-
border-radius: 10px;
|
|
781
|
-
}
|
|
782
|
-
.message-video .play-video {
|
|
783
|
-
max-width: 95%;
|
|
784
|
-
max-height: 65%;
|
|
785
|
-
}
|
|
786
|
-
|
|
787
|
-
.message-video.message-video-h5 {
|
|
788
|
-
max-width: 200px;
|
|
789
|
-
max-height: 200px;
|
|
790
|
-
}
|
|
791
|
-
|
|
792
|
-
.message-file {
|
|
793
427
|
display: flex;
|
|
794
428
|
flex-direction: column;
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
.message-file-main {
|
|
798
|
-
display: flex;
|
|
799
|
-
align-items: center;
|
|
800
|
-
padding: 12px;
|
|
801
|
-
background: #FFFFFF;
|
|
802
|
-
border-radius: 4px;
|
|
803
|
-
}
|
|
804
|
-
.message-file-main .icon {
|
|
805
|
-
margin-right: 7px;
|
|
806
|
-
}
|
|
807
|
-
.message-file-footer {
|
|
808
|
-
display: flex;
|
|
809
|
-
justify-content: space-between;
|
|
810
|
-
align-items: flex-end;
|
|
811
|
-
}
|
|
812
|
-
.message-file-footer .time {
|
|
813
|
-
padding-top: 10px;
|
|
814
|
-
}
|
|
815
|
-
.message-file-size {
|
|
816
|
-
padding-top: 10px;
|
|
817
|
-
font-weight: 400;
|
|
818
|
-
font-size: 12px;
|
|
429
|
+
font-weight: 500;
|
|
430
|
+
font-size: 14px;
|
|
819
431
|
font-family: PingFangSC-Medium;
|
|
820
|
-
line-height:
|
|
821
|
-
color: #
|
|
822
|
-
}
|
|
823
|
-
|
|
824
|
-
.message-merger {
|
|
825
|
-
display: flex;
|
|
826
|
-
flex-direction: column;
|
|
827
|
-
background: #ECEBEB;
|
|
828
|
-
}
|
|
829
|
-
.message-merger h3 {
|
|
830
|
-
padding-bottom: 4px;
|
|
831
|
-
border-bottom: 1px solid #a1a1a1;
|
|
832
|
-
}
|
|
833
|
-
.message-merger-list {
|
|
834
|
-
opacity: 0.6;
|
|
835
|
-
}
|
|
836
|
-
.message-merger-item {
|
|
837
|
-
padding-top: 4px;
|
|
838
|
-
}
|
|
839
|
-
|
|
840
|
-
.meesage-bubble-reply {
|
|
841
|
-
padding: 8px 16px;
|
|
842
|
-
}
|
|
843
|
-
[data-chat-theme=light] .meesage-bubble-reply {
|
|
844
|
-
background-color: var(--chat-theme-light-bg-secondary);
|
|
845
|
-
}
|
|
846
|
-
[data-chat-theme=dark] .meesage-bubble-reply {
|
|
847
|
-
background-color: var(--chat-theme-dark-bg-secondary);
|
|
848
|
-
}
|
|
849
|
-
.meesage-bubble-reply-in {
|
|
850
|
-
border-radius: 16px 16px 16px 0;
|
|
851
|
-
}
|
|
852
|
-
.meesage-bubble-reply-out {
|
|
853
|
-
border-radius: 16px 16px 0px 16px;
|
|
854
|
-
}
|
|
855
|
-
.meesage-bubble-reply .message-text {
|
|
856
|
-
border: none !important;
|
|
857
|
-
}
|
|
858
|
-
.meesage-bubble-reply .bubble {
|
|
859
|
-
padding: 0;
|
|
860
|
-
}
|
|
861
|
-
.meesage-bubble-reply .bubble-in {
|
|
862
|
-
border-radius: 0;
|
|
863
|
-
}
|
|
864
|
-
.meesage-bubble-reply-main {
|
|
865
|
-
position: relative;
|
|
866
|
-
padding: 10px 14px;
|
|
867
|
-
margin-bottom: 10px;
|
|
868
|
-
}
|
|
869
|
-
[data-chat-theme=light] .meesage-bubble-reply-main {
|
|
870
|
-
background-color: var(--chat-theme-light-bg-primary);
|
|
871
|
-
}
|
|
872
|
-
[data-chat-theme=dark] .meesage-bubble-reply-main {
|
|
873
|
-
background-color: var(--chat-theme-dark-bg-primary);
|
|
432
|
+
line-height: 17px;
|
|
433
|
+
color: #000;
|
|
874
434
|
}
|
|
875
|
-
.
|
|
435
|
+
.input-quote-content::before {
|
|
876
436
|
content: "";
|
|
877
437
|
position: absolute;
|
|
878
438
|
width: 6px;
|
|
879
439
|
height: 100%;
|
|
440
|
+
background: #999;
|
|
880
441
|
top: 0;
|
|
881
442
|
left: 0;
|
|
882
443
|
}
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
}
|
|
886
|
-
[data-chat-theme=dark] .meesage-bubble-reply-main::before {
|
|
887
|
-
background-color: var(--chat-theme-dark-bg-5);
|
|
888
|
-
}
|
|
889
|
-
.meesage-bubble-reply-main .title {
|
|
890
|
-
font-weight: 500;
|
|
891
|
-
font-size: 14px;
|
|
892
|
-
padding-bottom: 10px;
|
|
893
|
-
}
|
|
894
|
-
[data-chat-theme=light] .meesage-bubble-reply-main .title {
|
|
895
|
-
color: var(--chat-theme-light-text-primary);
|
|
896
|
-
}
|
|
897
|
-
[data-chat-theme=dark] .meesage-bubble-reply-main .title {
|
|
898
|
-
color: var(--chat-theme-dark-text-primary);
|
|
899
|
-
}
|
|
900
|
-
.meesage-bubble-reply-main .message-context {
|
|
444
|
+
.input-quote-content span {
|
|
445
|
+
padding-top: 8px;
|
|
901
446
|
opacity: 0.6;
|
|
902
447
|
}
|
|
448
|
+
.input-quote .icon {
|
|
449
|
+
margin: 0 5px 0 16px;
|
|
450
|
+
}
|
|
903
451
|
|
|
904
|
-
.
|
|
452
|
+
.tui-forward {
|
|
453
|
+
background: #fff;
|
|
454
|
+
border-radius: 16px;
|
|
905
455
|
display: flex;
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
456
|
+
flex-direction: column;
|
|
457
|
+
overflow: hidden;
|
|
458
|
+
width: 300px;
|
|
459
|
+
max-height: 90%;
|
|
910
460
|
}
|
|
911
|
-
.
|
|
461
|
+
.tui-forward-header {
|
|
912
462
|
display: flex;
|
|
913
463
|
align-items: center;
|
|
914
|
-
|
|
915
|
-
}
|
|
916
|
-
.meesage-bubble-context .message-context {
|
|
917
|
-
flex: 1;
|
|
918
|
-
}
|
|
919
|
-
|
|
920
|
-
.icon-fail {
|
|
921
|
-
width: 14px;
|
|
922
|
-
height: 14px;
|
|
923
|
-
border-radius: 14px;
|
|
924
|
-
position: relative;
|
|
925
|
-
background: #FA5151;
|
|
926
|
-
display: inline-flex;
|
|
927
|
-
justify-content: center;
|
|
928
|
-
align-items: center;
|
|
464
|
+
padding: 24px 20px;
|
|
929
465
|
}
|
|
930
|
-
.
|
|
931
|
-
|
|
932
|
-
content: "!";
|
|
933
|
-
color: #FFFFFF;
|
|
934
|
-
font-size: 12px;
|
|
466
|
+
.tui-forward-title {
|
|
467
|
+
padding: 0 16px;
|
|
935
468
|
font-family: PingFangSC-Medium;
|
|
469
|
+
font-style: normal;
|
|
470
|
+
font-weight: 700;
|
|
471
|
+
font-size: 14px;
|
|
472
|
+
line-height: 17px;
|
|
936
473
|
}
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
}
|
|
942
|
-
.message-face .img {
|
|
943
|
-
max-width: 88px;
|
|
944
|
-
}
|
|
945
|
-
|
|
946
|
-
.loading {
|
|
947
|
-
display: inline-block;
|
|
948
|
-
position: relative;
|
|
949
|
-
}
|
|
950
|
-
.loading .img, .loading video {
|
|
951
|
-
min-width: 60px;
|
|
952
|
-
min-height: 60px;
|
|
953
|
-
max-width: 300px;
|
|
954
|
-
border-radius: 10px;
|
|
955
|
-
}
|
|
956
|
-
.loading .img-h5, .loading .video-h5 {
|
|
957
|
-
min-width: 60px;
|
|
958
|
-
min-height: 60px;
|
|
959
|
-
max-width: 200px;
|
|
960
|
-
max-height: 200px;
|
|
961
|
-
border-radius: 10px;
|
|
962
|
-
}
|
|
963
|
-
.loading::before {
|
|
964
|
-
position: absolute;
|
|
965
|
-
content: "";
|
|
966
|
-
background: rgba(0, 0, 0, 0.5);
|
|
967
|
-
border-radius: 10px;
|
|
968
|
-
width: 100%;
|
|
969
|
-
height: 100%;
|
|
970
|
-
top: 0;
|
|
971
|
-
left: 0;
|
|
972
|
-
}
|
|
973
|
-
.loading::after {
|
|
974
|
-
position: absolute;
|
|
975
|
-
content: "";
|
|
976
|
-
border: 5px solid #f3f3f3;
|
|
977
|
-
border-top: 5px solid #555;
|
|
978
|
-
border-radius: 50%;
|
|
979
|
-
width: 30px;
|
|
980
|
-
height: 30px;
|
|
981
|
-
display: inline-block;
|
|
982
|
-
animation: spin 2s linear infinite;
|
|
983
|
-
top: 0;
|
|
984
|
-
left: 0;
|
|
985
|
-
right: 0;
|
|
986
|
-
bottom: 0;
|
|
987
|
-
margin: auto;
|
|
988
|
-
}
|
|
989
|
-
@keyframes spin {
|
|
990
|
-
0% {
|
|
991
|
-
transform: rotate(0deg);
|
|
992
|
-
}
|
|
993
|
-
100% {
|
|
994
|
-
transform: rotate(360deg);
|
|
995
|
-
}
|
|
474
|
+
.tui-forward-main {
|
|
475
|
+
padding: 0 20px;
|
|
476
|
+
max-height: calc(100vh - 200px);
|
|
477
|
+
overflow-y: auto;
|
|
996
478
|
}
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
479
|
+
.tui-forward-main .no-result {
|
|
480
|
+
font-family: PingFangSC-Medium;
|
|
481
|
+
font-size: 14px;
|
|
482
|
+
font-style: normal;
|
|
483
|
+
line-height: 20px;
|
|
484
|
+
padding: 10px;
|
|
485
|
+
text-align: center;
|
|
486
|
+
color: #999;
|
|
1001
487
|
}
|
|
1002
|
-
.
|
|
1003
|
-
|
|
488
|
+
.tui-forward-search {
|
|
489
|
+
padding: 10px 15px;
|
|
1004
490
|
}
|
|
1005
|
-
.
|
|
1006
|
-
|
|
1007
|
-
top: 100%;
|
|
1008
|
-
overflow: hidden;
|
|
491
|
+
.tui-forward-list {
|
|
492
|
+
padding: 13px 0;
|
|
1009
493
|
}
|
|
1010
|
-
.
|
|
1011
|
-
|
|
494
|
+
.tui-forward-list-title {
|
|
495
|
+
font-family: PingFangSC-Medium;
|
|
496
|
+
font-style: normal;
|
|
497
|
+
font-weight: 600;
|
|
498
|
+
font-size: 14px;
|
|
499
|
+
line-height: 20px;
|
|
1012
500
|
}
|
|
1013
|
-
.
|
|
1014
|
-
|
|
1015
|
-
|
|
501
|
+
.tui-forward-list-item {
|
|
502
|
+
padding: 6px 0;
|
|
503
|
+
font-family: PingFangSC-Medium;
|
|
504
|
+
font-style: normal;
|
|
505
|
+
font-weight: 400;
|
|
506
|
+
font-size: 14px;
|
|
507
|
+
line-height: 20px;
|
|
1016
508
|
display: flex;
|
|
1017
509
|
justify-content: space-between;
|
|
1018
510
|
align-items: center;
|
|
1019
|
-
|
|
1020
|
-
font-size: 12.8px;
|
|
1021
|
-
font-family: PingFangSC-Medium;
|
|
1022
|
-
line-height: 15px;
|
|
511
|
+
width: 100%;
|
|
1023
512
|
}
|
|
1024
|
-
.
|
|
1025
|
-
|
|
1026
|
-
|
|
513
|
+
.tui-forward-list-item .info {
|
|
514
|
+
display: flex;
|
|
515
|
+
align-items: center;
|
|
516
|
+
flex-shrink: 0;
|
|
517
|
+
width: 100%;
|
|
1027
518
|
}
|
|
1028
|
-
.
|
|
1029
|
-
|
|
519
|
+
.tui-forward-list-item .info-nick {
|
|
520
|
+
padding: 0 13px;
|
|
521
|
+
font-family: PingFangSC-Medium;
|
|
522
|
+
font-style: normal;
|
|
523
|
+
font-weight: 400;
|
|
524
|
+
font-size: 14px;
|
|
525
|
+
line-height: 20px;
|
|
526
|
+
min-width: 180px;
|
|
527
|
+
max-width: 300px;
|
|
528
|
+
overflow: hidden;
|
|
529
|
+
white-space: nowrap;
|
|
530
|
+
text-overflow: ellipsis;
|
|
531
|
+
width: 80%;
|
|
1030
532
|
}
|
|
1031
|
-
|
|
1032
|
-
.
|
|
533
|
+
.tui-forward-footer {
|
|
534
|
+
background: rgba(249, 249, 249, 0.94);
|
|
535
|
+
padding: 13px 10px;
|
|
1033
536
|
display: flex;
|
|
1034
|
-
|
|
537
|
+
justify-content: space-between;
|
|
538
|
+
align-items: center;
|
|
1035
539
|
}
|
|
1036
|
-
.
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
540
|
+
.tui-forward-footer .button {
|
|
541
|
+
cursor: pointer;
|
|
542
|
+
background: #0365f9;
|
|
543
|
+
border-radius: 31px;
|
|
544
|
+
padding: 10px 21px;
|
|
545
|
+
font-family: PingFangSC-Medium;
|
|
1040
546
|
font-style: normal;
|
|
1041
|
-
font-weight:
|
|
547
|
+
font-weight: 400;
|
|
1042
548
|
font-size: 14px;
|
|
1043
|
-
line-height:
|
|
549
|
+
line-height: 20px;
|
|
550
|
+
color: #fff;
|
|
551
|
+
border: none;
|
|
1044
552
|
}
|
|
1045
|
-
.
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
553
|
+
.tui-forward-footer-name {
|
|
554
|
+
flex: 1;
|
|
555
|
+
overflow: hidden;
|
|
556
|
+
word-break: break-all;
|
|
557
|
+
text-overflow: ellipsis;
|
|
558
|
+
display: -webkit-box;
|
|
559
|
+
-webkit-line-clamp: 3;
|
|
560
|
+
-webkit-box-orient: vertical;
|
|
1051
561
|
}
|
|
1052
562
|
|
|
1053
|
-
.
|
|
1054
|
-
|
|
563
|
+
.transmitter {
|
|
564
|
+
padding: 0 10px;
|
|
1055
565
|
}
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
display: flex;
|
|
1059
|
-
align-items: center;
|
|
566
|
+
.transmitter .icon-send {
|
|
567
|
+
transform: rotate(90deg);
|
|
1060
568
|
}
|
|
1061
|
-
|
|
1062
|
-
|
|
569
|
+
|
|
570
|
+
[data-uikit-theme=light] .tui-message-input {
|
|
571
|
+
background-color: var(--chat-theme-light-bg-primary);
|
|
1063
572
|
}
|
|
1064
|
-
.message-
|
|
1065
|
-
|
|
573
|
+
[data-uikit-theme=dark] .tui-message-input {
|
|
574
|
+
background-color: var(--chat-theme-dark-bg-primary);
|
|
1066
575
|
}
|
|
1067
|
-
.message-
|
|
1068
|
-
|
|
1069
|
-
align-items: center;
|
|
1070
|
-
gap: 10px;
|
|
576
|
+
[data-uikit-theme=light] .tui-message-input .tui-kit-input-box--focus {
|
|
577
|
+
outline: 1px solid var(--chat-theme-light-status-info);
|
|
1071
578
|
}
|
|
1072
|
-
.message-
|
|
1073
|
-
|
|
579
|
+
[data-uikit-theme=dark] .tui-message-input .tui-kit-input-box--focus {
|
|
580
|
+
outline: 1px solid var(--chat-theme-dark-status-info);
|
|
1074
581
|
}
|
|
1075
|
-
.message-
|
|
1076
|
-
|
|
582
|
+
[data-uikit-theme=light] .tui-message-input .input-box {
|
|
583
|
+
background-color: var(--chat-theme-light-bg-primary);
|
|
584
|
+
border: 1px solid var(--chat-theme-light-border-5);
|
|
1077
585
|
}
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
}
|
|
1082
|
-
50% {
|
|
1083
|
-
opacity: 0.3;
|
|
1084
|
-
}
|
|
1085
|
-
100% {
|
|
1086
|
-
opacity: 1;
|
|
1087
|
-
}
|
|
586
|
+
[data-uikit-theme=dark] .tui-message-input .input-box {
|
|
587
|
+
background-color: var(--chat-theme-dark-bg-primary);
|
|
588
|
+
border: 1px solid var(--chat-theme-dark-border-5);
|
|
1088
589
|
}
|
|
1089
590
|
|
|
1090
|
-
.
|
|
1091
|
-
|
|
591
|
+
.input-plugin-popup-box {
|
|
592
|
+
border-radius: 16px;
|
|
1092
593
|
}
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
opacity: 1;
|
|
1097
|
-
color: #ff9c19;
|
|
1098
|
-
}
|
|
1099
|
-
25% {
|
|
1100
|
-
opacity: 0.3;
|
|
1101
|
-
}
|
|
1102
|
-
50% {
|
|
1103
|
-
color: #ff9c19;
|
|
1104
|
-
opacity: 1;
|
|
1105
|
-
}
|
|
1106
|
-
75% {
|
|
1107
|
-
opacity: 0.3;
|
|
1108
|
-
}
|
|
1109
|
-
100% {
|
|
1110
|
-
color: #ff9c19;
|
|
1111
|
-
opacity: 1;
|
|
1112
|
-
}
|
|
594
|
+
[data-uikit-theme=light] .input-plugin-popup-box {
|
|
595
|
+
background-color: var(--chat-theme-light-bg-primary);
|
|
596
|
+
box-shadow: var(--chat-theme-light-box-shadow-1);
|
|
1113
597
|
}
|
|
1114
|
-
.
|
|
598
|
+
[data-uikit-theme=dark] .input-plugin-popup-box {
|
|
599
|
+
background-color: var(--chat-theme-dark-bg-3);
|
|
600
|
+
box-shadow: var(--chat-theme-dark-box-shadow-1);
|
|
601
|
+
}
|
|
602
|
+
.message-default {
|
|
1115
603
|
width: 100%;
|
|
1116
|
-
|
|
604
|
+
flex: 1;
|
|
1117
605
|
display: flex;
|
|
1118
|
-
|
|
606
|
+
align-items: center;
|
|
607
|
+
cursor: pointer;
|
|
608
|
+
font-family: SF Pro Text;
|
|
609
|
+
font-size: 14px;
|
|
610
|
+
font-family: PingFangSC-Medium;
|
|
611
|
+
font-style: normal;
|
|
612
|
+
font-weight: 500;
|
|
613
|
+
line-height: 17px;
|
|
1119
614
|
}
|
|
1120
|
-
.
|
|
615
|
+
.message-default .avatar {
|
|
616
|
+
width: 45px;
|
|
617
|
+
}
|
|
618
|
+
.message-default .avatar img {
|
|
619
|
+
width: 45px;
|
|
620
|
+
}
|
|
621
|
+
.message-default .content {
|
|
622
|
+
display: flex;
|
|
623
|
+
flex-direction: column;
|
|
624
|
+
align-items: flex-start;
|
|
625
|
+
}
|
|
626
|
+
.message-default .content .name {
|
|
1121
627
|
display: inline-block;
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
628
|
+
padding-bottom: 3px;
|
|
629
|
+
max-width: 60%;
|
|
630
|
+
}
|
|
631
|
+
[data-uikit-theme=light] .message-default .content .name {
|
|
632
|
+
color: var(--chat-theme-light-text-primary);
|
|
633
|
+
}
|
|
634
|
+
[data-uikit-theme=dark] .message-default .content .name {
|
|
635
|
+
color: var(--chat-theme-dark-text-primary);
|
|
1127
636
|
}
|
|
1128
637
|
|
|
1129
|
-
.
|
|
1130
|
-
|
|
638
|
+
.in {
|
|
639
|
+
flex: 1;
|
|
640
|
+
display: flex;
|
|
641
|
+
flex-direction: row;
|
|
642
|
+
justify-self: flex-start;
|
|
643
|
+
gap: 10px;
|
|
644
|
+
}
|
|
645
|
+
.in .content {
|
|
646
|
+
align-items: flex-start;
|
|
647
|
+
flex: 1;
|
|
1131
648
|
}
|
|
1132
649
|
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
650
|
+
.out {
|
|
651
|
+
flex: 1;
|
|
652
|
+
display: flex;
|
|
653
|
+
gap: 10px;
|
|
654
|
+
flex-direction: row-reverse;
|
|
655
|
+
justify-self: flex-end;
|
|
1136
656
|
}
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
657
|
+
.out .content {
|
|
658
|
+
align-items: flex-end;
|
|
659
|
+
flex: 1;
|
|
1140
660
|
}
|
|
1141
661
|
|
|
1142
|
-
|
|
1143
|
-
|
|
662
|
+
.tip {
|
|
663
|
+
justify-self: center !important;
|
|
664
|
+
width: auto;
|
|
1144
665
|
}
|
|
1145
|
-
|
|
1146
|
-
|
|
666
|
+
|
|
667
|
+
.bubble {
|
|
668
|
+
padding: 8px 16px;
|
|
1147
669
|
}
|
|
1148
|
-
|
|
1149
|
-
border:
|
|
1150
|
-
background-color: var(--chat-theme-light-bg-secondary);
|
|
670
|
+
.bubble-in {
|
|
671
|
+
border-radius: 0px 16px 16px 16px;
|
|
1151
672
|
}
|
|
1152
|
-
|
|
1153
|
-
border:
|
|
1154
|
-
background-color: var(--chat-theme-dark-bg-secondary);
|
|
673
|
+
.bubble-in.group {
|
|
674
|
+
border-radius: 0px 16px 16px 16px;
|
|
1155
675
|
}
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
background: none;
|
|
676
|
+
.bubble-out {
|
|
677
|
+
border-radius: 16px 16px 0 16px;
|
|
1159
678
|
}
|
|
1160
679
|
|
|
1161
|
-
|
|
680
|
+
.message-status {
|
|
681
|
+
display: flex;
|
|
682
|
+
align-items: flex-end;
|
|
683
|
+
align-self: flex-end;
|
|
684
|
+
}
|
|
685
|
+
.message-status .time {
|
|
686
|
+
width: max-content;
|
|
687
|
+
font-weight: 400;
|
|
688
|
+
padding: 5px 0 0 10px;
|
|
689
|
+
font-size: 12px;
|
|
690
|
+
font-family: PingFangSC-Medium;
|
|
691
|
+
line-height: 14px;
|
|
692
|
+
text-align: right;
|
|
693
|
+
}
|
|
694
|
+
[data-uikit-theme=light] .message-status .time {
|
|
1162
695
|
color: var(--chat-theme-light-text-secondary);
|
|
1163
696
|
}
|
|
1164
|
-
[data-
|
|
697
|
+
[data-uikit-theme=dark] .message-status .time {
|
|
1165
698
|
color: var(--chat-theme-dark-text-secondary);
|
|
1166
699
|
}
|
|
1167
700
|
|
|
1168
|
-
.
|
|
1169
|
-
|
|
1170
|
-
padding: 3px;
|
|
701
|
+
.message-image, .message-video {
|
|
702
|
+
position: relative;
|
|
1171
703
|
}
|
|
1172
|
-
.
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
704
|
+
.message-image .message-status, .message-video .message-status {
|
|
705
|
+
position: absolute;
|
|
706
|
+
bottom: 10px;
|
|
707
|
+
right: 10px;
|
|
708
|
+
}
|
|
709
|
+
[data-uikit-theme=light] .message-image .message-status .time, [data-uikit-theme=light] .message-video .message-status .time {
|
|
710
|
+
color: var(--chat-theme-light-text-primary);
|
|
711
|
+
}
|
|
712
|
+
[data-uikit-theme=dark] .message-image .message-status .time, [data-uikit-theme=dark] .message-video .message-status .time {
|
|
713
|
+
color: var(--chat-theme-dark-text-primary);
|
|
1178
714
|
}
|
|
1179
715
|
|
|
1180
|
-
.
|
|
1181
|
-
height: 100%;
|
|
716
|
+
.message-text {
|
|
1182
717
|
display: flex;
|
|
1183
|
-
align-items: center;
|
|
1184
|
-
position: relative;
|
|
1185
718
|
}
|
|
1186
|
-
.
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
719
|
+
.message-text-content {
|
|
720
|
+
display: inline;
|
|
721
|
+
word-break: break-word;
|
|
722
|
+
font-family: PingFangSC-Regular;
|
|
723
|
+
font-style: normal;
|
|
724
|
+
font-weight: 500;
|
|
725
|
+
font-size: 14px;
|
|
726
|
+
line-height: 24px;
|
|
1190
727
|
}
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
728
|
+
.message-text-content-p {
|
|
729
|
+
white-space: pre-wrap;
|
|
730
|
+
display: inline;
|
|
731
|
+
vertical-align: middle;
|
|
1194
732
|
}
|
|
1195
|
-
[data-
|
|
733
|
+
[data-uikit-theme=light] .message-text-content-p {
|
|
1196
734
|
color: var(--chat-theme-light-text-primary);
|
|
1197
735
|
}
|
|
1198
|
-
[data-
|
|
736
|
+
[data-uikit-theme=dark] .message-text-content-p {
|
|
1199
737
|
color: var(--chat-theme-dark-text-primary);
|
|
1200
738
|
}
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
739
|
+
.message-text-content .message-status {
|
|
740
|
+
display: inline-flex;
|
|
741
|
+
float: right;
|
|
742
|
+
clear: right;
|
|
1204
743
|
}
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
744
|
+
|
|
745
|
+
.message-text,
|
|
746
|
+
.message-tip {
|
|
747
|
+
font-family: PingFangSC-Regular;
|
|
748
|
+
font-style: normal;
|
|
749
|
+
font-weight: 500;
|
|
750
|
+
font-size: 14px;
|
|
751
|
+
line-height: 17px;
|
|
1208
752
|
}
|
|
1209
|
-
.
|
|
1210
|
-
|
|
1211
|
-
|
|
753
|
+
.message-text .text-img,
|
|
754
|
+
.message-tip .text-img {
|
|
755
|
+
width: 20px;
|
|
756
|
+
height: 20px;
|
|
757
|
+
vertical-align: middle;
|
|
1212
758
|
}
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
align-items: center;
|
|
1217
|
-
padding: 14px 12px;
|
|
1218
|
-
gap: 12px;
|
|
759
|
+
|
|
760
|
+
.message-image {
|
|
761
|
+
background: #FFFFFF;
|
|
1219
762
|
}
|
|
1220
|
-
.
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
763
|
+
.message-image img {
|
|
764
|
+
max-width: 300px;
|
|
765
|
+
}
|
|
766
|
+
.message-image .img-h5 {
|
|
767
|
+
max-width: 200px;
|
|
1225
768
|
max-height: 200px;
|
|
1226
|
-
border-radius: 15px;
|
|
1227
|
-
overflow: hidden;
|
|
1228
|
-
padding: 10px;
|
|
1229
769
|
}
|
|
1230
|
-
.
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
visibility: hidden;
|
|
1234
|
-
max-width: -webkit-fill-available;
|
|
1235
|
-
font-family: PingFangSC-Medium;
|
|
1236
|
-
font-style: normal;
|
|
1237
|
-
font-weight: 500;
|
|
1238
|
-
font-size: 14px;
|
|
1239
|
-
line-height: 17px;
|
|
1240
|
-
padding: 1px 2px;
|
|
770
|
+
.message-image .big-image {
|
|
771
|
+
max-width: 90%;
|
|
772
|
+
max-height: 90%;
|
|
1241
773
|
}
|
|
1242
|
-
|
|
774
|
+
|
|
775
|
+
.message-video {
|
|
776
|
+
max-width: 300px;
|
|
777
|
+
}
|
|
778
|
+
.message-video .snap-video {
|
|
779
|
+
position: relative;
|
|
780
|
+
height: 100%;
|
|
781
|
+
border-radius: 10px;
|
|
782
|
+
}
|
|
783
|
+
.message-video .snap-video::before {
|
|
1243
784
|
position: absolute;
|
|
785
|
+
z-index: 1;
|
|
786
|
+
content: "";
|
|
787
|
+
width: 0px;
|
|
788
|
+
height: 0px;
|
|
789
|
+
border: 15px solid transparent;
|
|
790
|
+
border-left: 20px solid #ffffff;
|
|
1244
791
|
top: 0;
|
|
1245
792
|
left: 0;
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
font-family: PingFangSC-Medium;
|
|
1250
|
-
font-style: normal;
|
|
1251
|
-
font-weight: 500;
|
|
1252
|
-
font-size: 14px;
|
|
1253
|
-
line-height: 17px;
|
|
1254
|
-
margin: 9px;
|
|
1255
|
-
resize: none;
|
|
1256
|
-
border: none;
|
|
1257
|
-
background: none;
|
|
793
|
+
bottom: 0;
|
|
794
|
+
right: 0;
|
|
795
|
+
margin: auto;
|
|
1258
796
|
}
|
|
1259
|
-
|
|
1260
|
-
|
|
797
|
+
.message-video video {
|
|
798
|
+
width: 100%;
|
|
799
|
+
height: 100%;
|
|
800
|
+
border-radius: 10px;
|
|
1261
801
|
}
|
|
1262
|
-
|
|
1263
|
-
|
|
802
|
+
.message-video .play-video {
|
|
803
|
+
max-width: 95%;
|
|
804
|
+
max-height: 65%;
|
|
1264
805
|
}
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
806
|
+
|
|
807
|
+
.message-video.message-video-h5 {
|
|
808
|
+
max-width: 200px;
|
|
809
|
+
max-height: 200px;
|
|
1268
810
|
}
|
|
1269
|
-
|
|
1270
|
-
|
|
811
|
+
|
|
812
|
+
.message-file {
|
|
813
|
+
display: flex;
|
|
814
|
+
flex-direction: column;
|
|
815
|
+
border: 1px solid #ddd;
|
|
1271
816
|
}
|
|
1272
|
-
.
|
|
1273
|
-
flex: 1;
|
|
817
|
+
.message-file-main {
|
|
1274
818
|
display: flex;
|
|
1275
819
|
align-items: center;
|
|
820
|
+
padding: 12px;
|
|
821
|
+
background: #FFFFFF;
|
|
822
|
+
border-radius: 4px;
|
|
1276
823
|
}
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
list-style: none;
|
|
824
|
+
.message-file-main .icon {
|
|
825
|
+
margin-right: 7px;
|
|
1280
826
|
}
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
827
|
+
.message-file-footer {
|
|
828
|
+
display: flex;
|
|
829
|
+
justify-content: space-between;
|
|
830
|
+
align-items: flex-end;
|
|
1284
831
|
}
|
|
1285
|
-
.
|
|
1286
|
-
|
|
1287
|
-
z-index: 2;
|
|
1288
|
-
bottom: 30px;
|
|
832
|
+
.message-file-footer .time {
|
|
833
|
+
padding-top: 10px;
|
|
1289
834
|
}
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
font-
|
|
1293
|
-
font-
|
|
1294
|
-
font-size: 16px;
|
|
835
|
+
.message-file-size {
|
|
836
|
+
padding-top: 10px;
|
|
837
|
+
font-weight: 400;
|
|
838
|
+
font-size: 12px;
|
|
1295
839
|
font-family: PingFangSC-Medium;
|
|
1296
|
-
line-height:
|
|
1297
|
-
|
|
1298
|
-
}
|
|
1299
|
-
.input-plugin-item span {
|
|
1300
|
-
padding: 0 17px;
|
|
840
|
+
line-height: 14px;
|
|
841
|
+
color: #7A7A7A;
|
|
1301
842
|
}
|
|
1302
843
|
|
|
1303
|
-
.
|
|
1304
|
-
height: 120px;
|
|
1305
|
-
width: 242px;
|
|
1306
|
-
padding: 10px 5px;
|
|
844
|
+
.message-merger {
|
|
1307
845
|
display: flex;
|
|
1308
|
-
flex-
|
|
1309
|
-
|
|
846
|
+
flex-direction: column;
|
|
847
|
+
background: #ECEBEB;
|
|
1310
848
|
}
|
|
1311
|
-
.
|
|
1312
|
-
padding:
|
|
1313
|
-
|
|
1314
|
-
user-select: none;
|
|
849
|
+
.message-merger h3 {
|
|
850
|
+
padding-bottom: 4px;
|
|
851
|
+
border-bottom: 1px solid #a1a1a1;
|
|
1315
852
|
}
|
|
1316
|
-
.
|
|
1317
|
-
|
|
853
|
+
.message-merger-list {
|
|
854
|
+
opacity: 0.6;
|
|
1318
855
|
}
|
|
1319
|
-
.
|
|
1320
|
-
|
|
856
|
+
.message-merger-item {
|
|
857
|
+
padding-top: 4px;
|
|
1321
858
|
}
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
min-width: 265px;
|
|
859
|
+
|
|
860
|
+
.meesage-bubble-reply {
|
|
861
|
+
padding: 8px 16px;
|
|
1326
862
|
}
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
width: 24px;
|
|
1330
|
-
padding: 10px;
|
|
863
|
+
[data-uikit-theme=light] .meesage-bubble-reply {
|
|
864
|
+
background-color: var(--chat-theme-light-bg-secondary);
|
|
1331
865
|
}
|
|
1332
|
-
|
|
1333
|
-
|
|
866
|
+
[data-uikit-theme=dark] .meesage-bubble-reply {
|
|
867
|
+
background-color: var(--chat-theme-dark-bg-secondary);
|
|
1334
868
|
}
|
|
1335
|
-
.
|
|
1336
|
-
|
|
869
|
+
.meesage-bubble-reply-in {
|
|
870
|
+
border-radius: 16px 16px 16px 0;
|
|
1337
871
|
}
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
position: relative;
|
|
1341
|
-
padding: 10px 16px;
|
|
1342
|
-
min-width: 180px;
|
|
872
|
+
.meesage-bubble-reply-out {
|
|
873
|
+
border-radius: 16px 16px 0px 16px;
|
|
1343
874
|
}
|
|
1344
|
-
.
|
|
1345
|
-
|
|
875
|
+
.meesage-bubble-reply .message-text {
|
|
876
|
+
border: none !important;
|
|
1346
877
|
}
|
|
1347
|
-
.
|
|
1348
|
-
|
|
1349
|
-
cursor: pointer;
|
|
1350
|
-
left: 0;
|
|
1351
|
-
top: 0;
|
|
1352
|
-
opacity: 0;
|
|
1353
|
-
width: 100%;
|
|
1354
|
-
height: 100%;
|
|
878
|
+
.meesage-bubble-reply .bubble {
|
|
879
|
+
padding: 0;
|
|
1355
880
|
}
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
padding: 7px 16px;
|
|
1359
|
-
background: #f9f9f9;
|
|
1360
|
-
display: flex;
|
|
1361
|
-
align-items: center;
|
|
881
|
+
.meesage-bubble-reply .bubble-in {
|
|
882
|
+
border-radius: 0;
|
|
1362
883
|
}
|
|
1363
|
-
.
|
|
1364
|
-
flex: 1;
|
|
1365
|
-
background: #fff;
|
|
1366
|
-
padding: 2px 14px;
|
|
884
|
+
.meesage-bubble-reply-main {
|
|
1367
885
|
position: relative;
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
font-weight: 500;
|
|
1371
|
-
font-size: 14px;
|
|
1372
|
-
font-family: PingFangSC-Medium;
|
|
1373
|
-
line-height: 17px;
|
|
1374
|
-
color: #000;
|
|
886
|
+
padding: 10px 14px;
|
|
887
|
+
margin-bottom: 10px;
|
|
1375
888
|
}
|
|
1376
|
-
.
|
|
889
|
+
[data-uikit-theme=light] .meesage-bubble-reply-main {
|
|
890
|
+
background-color: var(--chat-theme-light-bg-primary);
|
|
891
|
+
}
|
|
892
|
+
[data-uikit-theme=dark] .meesage-bubble-reply-main {
|
|
893
|
+
background-color: var(--chat-theme-dark-bg-primary);
|
|
894
|
+
}
|
|
895
|
+
.meesage-bubble-reply-main::before {
|
|
1377
896
|
content: "";
|
|
1378
897
|
position: absolute;
|
|
1379
898
|
width: 6px;
|
|
1380
899
|
height: 100%;
|
|
1381
|
-
background: #999;
|
|
1382
900
|
top: 0;
|
|
1383
901
|
left: 0;
|
|
1384
902
|
}
|
|
1385
|
-
.
|
|
1386
|
-
|
|
1387
|
-
opacity: 0.6;
|
|
1388
|
-
}
|
|
1389
|
-
.input-quote .icon {
|
|
1390
|
-
margin: 0 5px 0 16px;
|
|
1391
|
-
}
|
|
1392
|
-
|
|
1393
|
-
.tui-forward {
|
|
1394
|
-
background: #fff;
|
|
1395
|
-
border-radius: 16px;
|
|
1396
|
-
display: flex;
|
|
1397
|
-
flex-direction: column;
|
|
1398
|
-
overflow: hidden;
|
|
1399
|
-
width: 300px;
|
|
1400
|
-
max-height: 90%;
|
|
1401
|
-
}
|
|
1402
|
-
.tui-forward-header {
|
|
1403
|
-
display: flex;
|
|
1404
|
-
align-items: center;
|
|
1405
|
-
padding: 24px 20px;
|
|
1406
|
-
}
|
|
1407
|
-
.tui-forward-title {
|
|
1408
|
-
padding: 0 16px;
|
|
1409
|
-
font-family: PingFangSC-Medium;
|
|
1410
|
-
font-style: normal;
|
|
1411
|
-
font-weight: 700;
|
|
1412
|
-
font-size: 14px;
|
|
1413
|
-
line-height: 17px;
|
|
903
|
+
[data-uikit-theme=light] .meesage-bubble-reply-main::before {
|
|
904
|
+
background-color: var(--chat-theme-light-bg-5);
|
|
1414
905
|
}
|
|
1415
|
-
.
|
|
1416
|
-
|
|
1417
|
-
max-height: calc(100vh - 200px);
|
|
1418
|
-
overflow-y: auto;
|
|
906
|
+
[data-uikit-theme=dark] .meesage-bubble-reply-main::before {
|
|
907
|
+
background-color: var(--chat-theme-dark-bg-5);
|
|
1419
908
|
}
|
|
1420
|
-
.
|
|
1421
|
-
font-
|
|
909
|
+
.meesage-bubble-reply-main .title {
|
|
910
|
+
font-weight: 500;
|
|
1422
911
|
font-size: 14px;
|
|
1423
|
-
|
|
1424
|
-
line-height: 20px;
|
|
1425
|
-
padding: 10px;
|
|
1426
|
-
text-align: center;
|
|
1427
|
-
color: #999;
|
|
1428
|
-
}
|
|
1429
|
-
.tui-forward-search {
|
|
1430
|
-
padding: 10px 15px;
|
|
912
|
+
padding-bottom: 10px;
|
|
1431
913
|
}
|
|
1432
|
-
.
|
|
1433
|
-
|
|
914
|
+
[data-uikit-theme=light] .meesage-bubble-reply-main .title {
|
|
915
|
+
color: var(--chat-theme-light-text-primary);
|
|
1434
916
|
}
|
|
1435
|
-
.
|
|
1436
|
-
|
|
1437
|
-
font-style: normal;
|
|
1438
|
-
font-weight: 600;
|
|
1439
|
-
font-size: 14px;
|
|
1440
|
-
line-height: 20px;
|
|
917
|
+
[data-uikit-theme=dark] .meesage-bubble-reply-main .title {
|
|
918
|
+
color: var(--chat-theme-dark-text-primary);
|
|
1441
919
|
}
|
|
1442
|
-
.
|
|
1443
|
-
|
|
1444
|
-
font-family: PingFangSC-Medium;
|
|
1445
|
-
font-style: normal;
|
|
1446
|
-
font-weight: 400;
|
|
1447
|
-
font-size: 14px;
|
|
1448
|
-
line-height: 20px;
|
|
1449
|
-
display: flex;
|
|
1450
|
-
justify-content: space-between;
|
|
1451
|
-
align-items: center;
|
|
1452
|
-
width: 100%;
|
|
920
|
+
.meesage-bubble-reply-main .message-context {
|
|
921
|
+
opacity: 0.6;
|
|
1453
922
|
}
|
|
1454
|
-
|
|
923
|
+
|
|
924
|
+
.meesage-bubble {
|
|
1455
925
|
display: flex;
|
|
1456
|
-
align-items:
|
|
1457
|
-
flex-shrink: 0;
|
|
1458
|
-
width: 100%;
|
|
926
|
+
align-items: flex-end;
|
|
1459
927
|
}
|
|
1460
|
-
.
|
|
1461
|
-
|
|
1462
|
-
font-family: PingFangSC-Medium;
|
|
1463
|
-
font-style: normal;
|
|
1464
|
-
font-weight: 400;
|
|
1465
|
-
font-size: 14px;
|
|
1466
|
-
line-height: 20px;
|
|
1467
|
-
min-width: 180px;
|
|
1468
|
-
max-width: 300px;
|
|
1469
|
-
overflow: hidden;
|
|
1470
|
-
white-space: nowrap;
|
|
1471
|
-
text-overflow: ellipsis;
|
|
1472
|
-
width: 80%;
|
|
928
|
+
.meesage-bubble-status {
|
|
929
|
+
margin: 3px;
|
|
1473
930
|
}
|
|
1474
|
-
.
|
|
1475
|
-
background: rgba(249, 249, 249, 0.94);
|
|
1476
|
-
padding: 13px 10px;
|
|
931
|
+
.meesage-bubble-context {
|
|
1477
932
|
display: flex;
|
|
1478
|
-
justify-content: space-between;
|
|
1479
933
|
align-items: center;
|
|
934
|
+
gap: 10px;
|
|
1480
935
|
}
|
|
1481
|
-
.
|
|
1482
|
-
cursor: pointer;
|
|
1483
|
-
background: #0365f9;
|
|
1484
|
-
border-radius: 31px;
|
|
1485
|
-
padding: 10px 21px;
|
|
1486
|
-
font-family: PingFangSC-Medium;
|
|
1487
|
-
font-style: normal;
|
|
1488
|
-
font-weight: 400;
|
|
1489
|
-
font-size: 14px;
|
|
1490
|
-
line-height: 20px;
|
|
1491
|
-
color: #fff;
|
|
1492
|
-
border: none;
|
|
1493
|
-
}
|
|
1494
|
-
.tui-forward-footer-name {
|
|
936
|
+
.meesage-bubble-context .message-context {
|
|
1495
937
|
flex: 1;
|
|
1496
|
-
overflow: hidden;
|
|
1497
|
-
word-break: break-all;
|
|
1498
|
-
text-overflow: ellipsis;
|
|
1499
|
-
display: -webkit-box;
|
|
1500
|
-
-webkit-line-clamp: 3;
|
|
1501
|
-
-webkit-box-orient: vertical;
|
|
1502
938
|
}
|
|
1503
939
|
|
|
1504
|
-
.
|
|
1505
|
-
|
|
940
|
+
.icon-fail {
|
|
941
|
+
width: 14px;
|
|
942
|
+
height: 14px;
|
|
943
|
+
border-radius: 14px;
|
|
944
|
+
position: relative;
|
|
945
|
+
background: #FA5151;
|
|
946
|
+
display: inline-flex;
|
|
947
|
+
justify-content: center;
|
|
948
|
+
align-items: center;
|
|
1506
949
|
}
|
|
1507
|
-
.
|
|
1508
|
-
|
|
950
|
+
.icon-fail::before {
|
|
951
|
+
position: absolute;
|
|
952
|
+
content: "!";
|
|
953
|
+
color: #FFFFFF;
|
|
954
|
+
font-size: 12px;
|
|
955
|
+
font-family: PingFangSC-Medium;
|
|
1509
956
|
}
|
|
1510
957
|
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
[data-chat-theme=dark] .tui-message-input {
|
|
1515
|
-
background-color: var(--chat-theme-dark-bg-primary);
|
|
1516
|
-
}
|
|
1517
|
-
[data-chat-theme=light] .tui-message-input .tui-kit-input-box--focus {
|
|
1518
|
-
outline: 1px solid var(--chat-theme-light-status-info);
|
|
1519
|
-
}
|
|
1520
|
-
[data-chat-theme=dark] .tui-message-input .tui-kit-input-box--focus {
|
|
1521
|
-
outline: 1px solid var(--chat-theme-dark-status-info);
|
|
1522
|
-
}
|
|
1523
|
-
[data-chat-theme=light] .tui-message-input .input-box {
|
|
1524
|
-
background-color: var(--chat-theme-light-bg-primary);
|
|
1525
|
-
border: 1px solid var(--chat-theme-light-border-5);
|
|
958
|
+
.message-face {
|
|
959
|
+
display: flex;
|
|
960
|
+
flex-direction: column;
|
|
1526
961
|
}
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
border: 1px solid var(--chat-theme-dark-border-5);
|
|
962
|
+
.message-face .img {
|
|
963
|
+
max-width: 88px;
|
|
1530
964
|
}
|
|
1531
965
|
|
|
1532
|
-
.
|
|
1533
|
-
|
|
1534
|
-
}
|
|
1535
|
-
[data-chat-theme=light] .input-plugin-popup-box {
|
|
1536
|
-
background-color: var(--chat-theme-light-bg-primary);
|
|
1537
|
-
box-shadow: var(--chat-theme-light-box-shadow-1);
|
|
1538
|
-
}
|
|
1539
|
-
[data-chat-theme=dark] .input-plugin-popup-box {
|
|
1540
|
-
background-color: var(--chat-theme-dark-bg-3);
|
|
1541
|
-
box-shadow: var(--chat-theme-dark-box-shadow-1);
|
|
1542
|
-
}
|
|
1543
|
-
.tui-kit-avatar {
|
|
1544
|
-
display: flex;
|
|
1545
|
-
align-items: center;
|
|
966
|
+
.loading {
|
|
967
|
+
display: inline-block;
|
|
1546
968
|
position: relative;
|
|
1547
|
-
cursor: pointer;
|
|
1548
|
-
flex-shrink: 0;
|
|
1549
969
|
}
|
|
1550
|
-
.
|
|
1551
|
-
|
|
970
|
+
.loading .img, .loading video {
|
|
971
|
+
min-width: 60px;
|
|
972
|
+
min-height: 60px;
|
|
973
|
+
max-width: 300px;
|
|
974
|
+
border-radius: 10px;
|
|
1552
975
|
}
|
|
1553
|
-
.
|
|
1554
|
-
|
|
976
|
+
.loading .img-h5, .loading .video-h5 {
|
|
977
|
+
min-width: 60px;
|
|
978
|
+
min-height: 60px;
|
|
979
|
+
max-width: 200px;
|
|
980
|
+
max-height: 200px;
|
|
981
|
+
border-radius: 10px;
|
|
1555
982
|
}
|
|
1556
|
-
.
|
|
983
|
+
.loading::before {
|
|
984
|
+
position: absolute;
|
|
985
|
+
content: "";
|
|
986
|
+
background: rgba(0, 0, 0, 0.5);
|
|
987
|
+
border-radius: 10px;
|
|
1557
988
|
width: 100%;
|
|
1558
989
|
height: 100%;
|
|
990
|
+
top: 0;
|
|
991
|
+
left: 0;
|
|
1559
992
|
}
|
|
1560
|
-
.
|
|
1561
|
-
display: flex;
|
|
1562
|
-
}
|
|
1563
|
-
.tui-kit-avatar-edit {
|
|
993
|
+
.loading::after {
|
|
1564
994
|
position: absolute;
|
|
995
|
+
content: "";
|
|
996
|
+
border: 5px solid #f3f3f3;
|
|
997
|
+
border-top: 5px solid #555;
|
|
998
|
+
border-radius: 50%;
|
|
999
|
+
width: 30px;
|
|
1000
|
+
height: 30px;
|
|
1001
|
+
display: inline-block;
|
|
1002
|
+
animation: spin 2s linear infinite;
|
|
1565
1003
|
top: 0;
|
|
1566
1004
|
left: 0;
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
border-radius: 100%;
|
|
1571
|
-
display: none;
|
|
1572
|
-
justify-content: center;
|
|
1573
|
-
align-items: center;
|
|
1005
|
+
right: 0;
|
|
1006
|
+
bottom: 0;
|
|
1007
|
+
margin: auto;
|
|
1574
1008
|
}
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
width:
|
|
1586
|
-
|
|
1587
|
-
max-width: 400px;
|
|
1588
|
-
padding: 10px;
|
|
1009
|
+
@keyframes spin {
|
|
1010
|
+
0% {
|
|
1011
|
+
transform: rotate(0deg);
|
|
1012
|
+
}
|
|
1013
|
+
100% {
|
|
1014
|
+
transform: rotate(360deg);
|
|
1015
|
+
}
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1018
|
+
.message-plugin {
|
|
1019
|
+
width: 32px;
|
|
1020
|
+
margin: 0 5px;
|
|
1589
1021
|
}
|
|
1590
|
-
.
|
|
1591
|
-
|
|
1022
|
+
.message-plugin .icon-more {
|
|
1023
|
+
transform: scale(1.5);
|
|
1592
1024
|
}
|
|
1593
|
-
.
|
|
1594
|
-
|
|
1025
|
+
.message-plugin .plugin-popup-box {
|
|
1026
|
+
bottom: auto;
|
|
1027
|
+
top: 100%;
|
|
1028
|
+
overflow: hidden;
|
|
1595
1029
|
}
|
|
1596
|
-
.
|
|
1597
|
-
|
|
1598
|
-
height: 100%;
|
|
1030
|
+
.message-plugin-box {
|
|
1031
|
+
padding: 6px 0;
|
|
1599
1032
|
}
|
|
1600
|
-
|
|
1601
|
-
|
|
1033
|
+
.message-plugin-item {
|
|
1034
|
+
min-width: 144px;
|
|
1035
|
+
padding: 6px 13px;
|
|
1602
1036
|
display: flex;
|
|
1037
|
+
justify-content: space-between;
|
|
1603
1038
|
align-items: center;
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
line-height: 17px;
|
|
1609
|
-
padding: 0 20px;
|
|
1039
|
+
font-weight: 500;
|
|
1040
|
+
font-size: 12.8px;
|
|
1041
|
+
font-family: PingFangSC-Medium;
|
|
1042
|
+
line-height: 15px;
|
|
1610
1043
|
}
|
|
1611
|
-
|
|
1612
|
-
background
|
|
1044
|
+
.message-plugin-item:hover {
|
|
1045
|
+
background: rgba(0, 110, 255, 0.1);
|
|
1046
|
+
color: #147aff;
|
|
1613
1047
|
}
|
|
1614
|
-
|
|
1615
|
-
|
|
1048
|
+
.message-plugin-item .del {
|
|
1049
|
+
color: #FF584C;
|
|
1616
1050
|
}
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
min-width: 0;
|
|
1051
|
+
|
|
1052
|
+
.message-custom {
|
|
1053
|
+
display: flex;
|
|
1054
|
+
word-break: break-all;
|
|
1622
1055
|
}
|
|
1623
|
-
.
|
|
1056
|
+
.message-custom a {
|
|
1057
|
+
color: #679ce1;
|
|
1058
|
+
text-decoration: none;
|
|
1059
|
+
font-family: PingFangSC-Regular;
|
|
1624
1060
|
font-style: normal;
|
|
1625
|
-
font-weight:
|
|
1061
|
+
font-weight: 500;
|
|
1626
1062
|
font-size: 14px;
|
|
1627
1063
|
line-height: 17px;
|
|
1628
|
-
font-family: PingFangSC-Medium;
|
|
1629
|
-
padding: 1px 0;
|
|
1630
|
-
width: 100%;
|
|
1631
|
-
}
|
|
1632
|
-
[data-chat-theme=light] .conversation-preview-container .content .title {
|
|
1633
|
-
color: var(--chat-theme-light-text-primary);
|
|
1634
|
-
}
|
|
1635
|
-
[data-chat-theme=dark] .conversation-preview-container .content .title {
|
|
1636
|
-
color: var(--chat-theme-dark-text-primary);
|
|
1637
1064
|
}
|
|
1638
|
-
.
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
white-space: nowrap;
|
|
1642
|
-
font-family: PingFangSC-Medium;
|
|
1065
|
+
.message-custom p {
|
|
1066
|
+
font-family: PingFangSC-Regular;
|
|
1067
|
+
font-size: 14px;
|
|
1643
1068
|
font-style: normal;
|
|
1644
|
-
font-weight:
|
|
1645
|
-
|
|
1646
|
-
line-height: 14px;
|
|
1647
|
-
padding: 1px 0;
|
|
1648
|
-
}
|
|
1649
|
-
[data-chat-theme=light] .conversation-preview-container .content .message {
|
|
1650
|
-
color: var(--chat-theme-light-text-secondary);
|
|
1069
|
+
font-weight: 500;
|
|
1070
|
+
line-height: 17px;
|
|
1651
1071
|
}
|
|
1652
|
-
|
|
1653
|
-
|
|
1072
|
+
|
|
1073
|
+
.message-revoke {
|
|
1074
|
+
color: #999999;
|
|
1654
1075
|
}
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
flex: 0 1 auto;
|
|
1076
|
+
|
|
1077
|
+
.message-audio {
|
|
1658
1078
|
display: flex;
|
|
1659
|
-
|
|
1079
|
+
align-items: center;
|
|
1660
1080
|
}
|
|
1661
|
-
.
|
|
1662
|
-
|
|
1663
|
-
padding: 1px 0;
|
|
1081
|
+
.message-audio .out {
|
|
1082
|
+
transform: rotate(180deg);
|
|
1664
1083
|
}
|
|
1665
|
-
.
|
|
1666
|
-
|
|
1667
|
-
font-style: normal;
|
|
1668
|
-
font-weight: 400;
|
|
1669
|
-
font-size: 12px;
|
|
1670
|
-
line-height: 14px;
|
|
1671
|
-
padding: 1px 0;
|
|
1084
|
+
.message-audio-none {
|
|
1085
|
+
display: none;
|
|
1672
1086
|
}
|
|
1673
|
-
|
|
1674
|
-
|
|
1087
|
+
.message-audio-content {
|
|
1088
|
+
display: flex;
|
|
1089
|
+
align-items: center;
|
|
1090
|
+
gap: 10px;
|
|
1675
1091
|
}
|
|
1676
|
-
|
|
1677
|
-
|
|
1092
|
+
.message-audio-out {
|
|
1093
|
+
flex-direction: row-reverse;
|
|
1678
1094
|
}
|
|
1679
|
-
.
|
|
1680
|
-
|
|
1681
|
-
justify-content: flex-end;
|
|
1682
|
-
flex: 1 1;
|
|
1095
|
+
.message-audio .playing {
|
|
1096
|
+
animation: playingAnimation 1s ease-in-out infinite;
|
|
1683
1097
|
}
|
|
1684
|
-
|
|
1685
|
-
|
|
1098
|
+
@keyframes playingAnimation {
|
|
1099
|
+
0% {
|
|
1100
|
+
opacity: 1;
|
|
1101
|
+
}
|
|
1102
|
+
50% {
|
|
1103
|
+
opacity: 0.3;
|
|
1104
|
+
}
|
|
1105
|
+
100% {
|
|
1106
|
+
opacity: 1;
|
|
1107
|
+
}
|
|
1686
1108
|
}
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
|
1691
|
-
bottom: initial;
|
|
1692
|
-
padding: 14px 0;
|
|
1693
|
-
box-sizing: border-box;
|
|
1694
|
-
text-align: start;
|
|
1695
|
-
white-space: nowrap;
|
|
1109
|
+
|
|
1110
|
+
.high-lighted {
|
|
1111
|
+
animation: highLightedAnimation 1s ease-in-out forwards;
|
|
1696
1112
|
}
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1113
|
+
|
|
1114
|
+
@keyframes highLightedAnimation {
|
|
1115
|
+
0% {
|
|
1116
|
+
opacity: 1;
|
|
1117
|
+
color: #ff9c19;
|
|
1118
|
+
}
|
|
1119
|
+
25% {
|
|
1120
|
+
opacity: 0.3;
|
|
1121
|
+
}
|
|
1122
|
+
50% {
|
|
1123
|
+
color: #ff9c19;
|
|
1124
|
+
opacity: 1;
|
|
1125
|
+
}
|
|
1126
|
+
75% {
|
|
1127
|
+
opacity: 0.3;
|
|
1128
|
+
}
|
|
1129
|
+
100% {
|
|
1130
|
+
color: #ff9c19;
|
|
1131
|
+
opacity: 1;
|
|
1132
|
+
}
|
|
1705
1133
|
}
|
|
1706
|
-
|
|
1707
|
-
|
|
1134
|
+
.progress-box {
|
|
1135
|
+
width: 100%;
|
|
1136
|
+
height: 5px;
|
|
1137
|
+
display: flex;
|
|
1138
|
+
justify-content: flex-start;
|
|
1708
1139
|
}
|
|
1709
|
-
|
|
1710
|
-
|
|
1140
|
+
.progress-box .progress {
|
|
1141
|
+
display: inline-block;
|
|
1142
|
+
width: 0;
|
|
1143
|
+
background: #147aff;
|
|
1144
|
+
height: 5px;
|
|
1145
|
+
border-radius: 2px;
|
|
1146
|
+
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.25);
|
|
1711
1147
|
}
|
|
1712
|
-
|
|
1713
|
-
|
|
1148
|
+
|
|
1149
|
+
.website {
|
|
1150
|
+
color: #147aff !important;
|
|
1714
1151
|
}
|
|
1715
|
-
|
|
1716
|
-
|
|
1152
|
+
|
|
1153
|
+
[data-uikit-theme=light] .message-text,
|
|
1154
|
+
[data-uikit-theme=light] .message-custom {
|
|
1155
|
+
border: 1px solid var(--chat-theme-light-border-5);
|
|
1717
1156
|
}
|
|
1718
|
-
[data-
|
|
1719
|
-
|
|
1157
|
+
[data-uikit-theme=dark] .message-text,
|
|
1158
|
+
[data-uikit-theme=dark] .message-custom {
|
|
1159
|
+
border: 1px solid var(--chat-theme-dark-border-5);
|
|
1720
1160
|
}
|
|
1721
|
-
|
|
1722
|
-
|
|
1161
|
+
|
|
1162
|
+
[data-uikit-theme=light] .bubble {
|
|
1163
|
+
background-color: var(--chat-theme-light-bg-primary);
|
|
1164
|
+
}
|
|
1165
|
+
[data-uikit-theme=dark] .bubble {
|
|
1166
|
+
background-color: var(--chat-theme-dark-bg-primary);
|
|
1723
1167
|
}
|
|
1724
|
-
[data-
|
|
1168
|
+
[data-uikit-theme=light] .bubble-out {
|
|
1169
|
+
border: none;
|
|
1725
1170
|
background-color: var(--chat-theme-light-bg-secondary);
|
|
1726
1171
|
}
|
|
1727
|
-
[data-
|
|
1172
|
+
[data-uikit-theme=dark] .bubble-out {
|
|
1173
|
+
border: none;
|
|
1728
1174
|
background-color: var(--chat-theme-dark-bg-secondary);
|
|
1729
1175
|
}
|
|
1730
|
-
|
|
1731
|
-
|
|
1176
|
+
|
|
1177
|
+
.meesage-bubble-reply-out .meesage-bubble-reply-main .message-text {
|
|
1178
|
+
background: none;
|
|
1732
1179
|
}
|
|
1733
|
-
|
|
1734
|
-
|
|
1180
|
+
|
|
1181
|
+
[data-uikit-theme=light] .message-tip {
|
|
1182
|
+
color: var(--chat-theme-light-text-secondary);
|
|
1735
1183
|
}
|
|
1736
|
-
[data-
|
|
1737
|
-
color: var(--chat-theme-
|
|
1184
|
+
[data-uikit-theme=dark] .message-tip {
|
|
1185
|
+
color: var(--chat-theme-dark-text-secondary);
|
|
1738
1186
|
}
|
|
1739
|
-
|
|
1740
|
-
|
|
1187
|
+
|
|
1188
|
+
.tip .bubble .edit {
|
|
1189
|
+
color: #147aff;
|
|
1190
|
+
padding: 3px;
|
|
1741
1191
|
}
|
|
1742
|
-
.
|
|
1743
|
-
width: 16px;
|
|
1744
|
-
height: 13px;
|
|
1745
|
-
border-radius: 16px;
|
|
1192
|
+
.plugin {
|
|
1746
1193
|
display: flex;
|
|
1747
|
-
justify-content: center;
|
|
1748
1194
|
align-items: center;
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
margin: 2px 0 2px auto;
|
|
1753
|
-
color: #fff;
|
|
1195
|
+
height: 100%;
|
|
1196
|
+
padding: 0 8px;
|
|
1197
|
+
gap: 8px;
|
|
1754
1198
|
}
|
|
1755
|
-
|
|
1756
|
-
|
|
1199
|
+
|
|
1200
|
+
.plugin-popup {
|
|
1201
|
+
height: 100%;
|
|
1202
|
+
display: flex;
|
|
1203
|
+
align-items: center;
|
|
1204
|
+
position: relative;
|
|
1757
1205
|
}
|
|
1758
|
-
|
|
1759
|
-
|
|
1206
|
+
.plugin-popup-box {
|
|
1207
|
+
position: absolute;
|
|
1208
|
+
z-index: 2;
|
|
1209
|
+
bottom: 100%;
|
|
1210
|
+
}
|
|
1211
|
+
|
|
1212
|
+
.plugin-popup-box {
|
|
1213
|
+
border-radius: 16px;
|
|
1214
|
+
}
|
|
1215
|
+
[data-uikit-theme=light] .plugin-popup-box {
|
|
1216
|
+
color: var(--chat-theme-light-text-primary);
|
|
1217
|
+
}
|
|
1218
|
+
[data-uikit-theme=dark] .plugin-popup-box {
|
|
1219
|
+
color: var(--chat-theme-dark-text-primary);
|
|
1220
|
+
}
|
|
1221
|
+
[data-uikit-theme=light] .plugin-popup-box {
|
|
1222
|
+
background-color: var(--chat-theme-light-bg-primary);
|
|
1223
|
+
box-shadow: var(--chat-theme-light-box-shadow-1);
|
|
1224
|
+
}
|
|
1225
|
+
[data-uikit-theme=dark] .plugin-popup-box {
|
|
1226
|
+
background-color: var(--chat-theme-dark-bg-3);
|
|
1227
|
+
box-shadow: var(--chat-theme-dark-box-shadow-1);
|
|
1760
1228
|
}
|
|
1761
1229
|
.tui-chat-header {
|
|
1762
1230
|
padding: 16px 20px;
|
|
@@ -1765,10 +1233,10 @@ ul li {
|
|
|
1765
1233
|
justify-content: space-between;
|
|
1766
1234
|
align-items: center;
|
|
1767
1235
|
}
|
|
1768
|
-
[data-
|
|
1236
|
+
[data-uikit-theme=light] .tui-chat-header {
|
|
1769
1237
|
background-color: var(--chat-theme-light-bg-primary);
|
|
1770
1238
|
}
|
|
1771
|
-
[data-
|
|
1239
|
+
[data-uikit-theme=dark] .tui-chat-header {
|
|
1772
1240
|
background-color: var(--chat-theme-dark-bg-primary);
|
|
1773
1241
|
}
|
|
1774
1242
|
.tui-chat-header-left {
|
|
@@ -1788,10 +1256,10 @@ ul li {
|
|
|
1788
1256
|
font-weight: 700;
|
|
1789
1257
|
font-size: 14px;
|
|
1790
1258
|
}
|
|
1791
|
-
[data-
|
|
1259
|
+
[data-uikit-theme=light] .tui-chat-header .title {
|
|
1792
1260
|
color: var(--chat-theme-light-text-primary);
|
|
1793
1261
|
}
|
|
1794
|
-
[data-
|
|
1262
|
+
[data-uikit-theme=dark] .tui-chat-header .title {
|
|
1795
1263
|
color: var(--chat-theme-dark-text-primary);
|
|
1796
1264
|
}
|
|
1797
1265
|
.tui-chat-header .system {
|
|
@@ -1824,10 +1292,10 @@ ul li {
|
|
|
1824
1292
|
position: relative;
|
|
1825
1293
|
padding: 0 20px;
|
|
1826
1294
|
}
|
|
1827
|
-
[data-
|
|
1295
|
+
[data-uikit-theme=light] .message-list {
|
|
1828
1296
|
background-color: var(--chat-theme-light-bg-primary);
|
|
1829
1297
|
}
|
|
1830
|
-
[data-
|
|
1298
|
+
[data-uikit-theme=dark] .message-list {
|
|
1831
1299
|
background-color: var(--chat-theme-dark-bg-primary);
|
|
1832
1300
|
}
|
|
1833
1301
|
.message-list.hide {
|
|
@@ -1845,10 +1313,10 @@ ul li {
|
|
|
1845
1313
|
font-weight: 500;
|
|
1846
1314
|
line-height: 17px;
|
|
1847
1315
|
}
|
|
1848
|
-
[data-
|
|
1316
|
+
[data-uikit-theme=light] .message-list .no-more {
|
|
1849
1317
|
color: var(--chat-theme-light-text-secondary);
|
|
1850
1318
|
}
|
|
1851
|
-
[data-
|
|
1319
|
+
[data-uikit-theme=dark] .message-list .no-more {
|
|
1852
1320
|
color: var(--chat-theme-dark-text-secondary);
|
|
1853
1321
|
}
|
|
1854
1322
|
.message-list-time {
|
|
@@ -1859,10 +1327,10 @@ ul li {
|
|
|
1859
1327
|
padding: 10px;
|
|
1860
1328
|
text-align: center;
|
|
1861
1329
|
}
|
|
1862
|
-
[data-
|
|
1330
|
+
[data-uikit-theme=light] .message-list-time {
|
|
1863
1331
|
color: var(--chat-theme-light-text-secondary);
|
|
1864
1332
|
}
|
|
1865
|
-
[data-
|
|
1333
|
+
[data-uikit-theme=dark] .message-list-time {
|
|
1866
1334
|
color: var(--chat-theme-dark-text-secondary);
|
|
1867
1335
|
}
|
|
1868
1336
|
.tui-profile {
|