@tencentcloud/chat-uikit-react 2.2.4 → 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/.babelrc +2 -2
- package/.eslintrc.js +141 -31
- package/.lintstagedrc.json +1 -1
- package/.stylelintrc.js +17 -18
- package/CHANGELOG.md +19 -2
- package/README.md +8 -8
- package/dist/cjs/assets/fonts/iconfont.ttf +0 -0
- package/dist/cjs/assets/fonts/iconfont.woff +0 -0
- package/dist/cjs/assets/fonts/iconfont.woff2 +0 -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/ConversationPreview/utils.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 -1
- package/dist/cjs/index.d.css +984 -1039
- 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/assets/fonts/iconfont.ttf +0 -0
- package/dist/esm/assets/fonts/iconfont.woff +0 -0
- package/dist/esm/assets/fonts/iconfont.woff2 +0 -0
- 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/ConversationPreview/utils.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 -1
- package/dist/esm/index.d.css +984 -1039
- 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 +9 -7
- package/rollup.config.js +13 -2
- package/src/assets/fonts/iconfont.ttf +0 -0
- package/src/assets/fonts/iconfont.woff +0 -0
- package/src/assets/fonts/iconfont.woff2 +0 -0
- 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/ConversationCreate/styles/ConversationCreatGroupDetail.scss +16 -7
- package/src/components/ConversationCreate/styles/index.scss +23 -13
- package/src/components/ConversationPreview/ConversationPreview.tsx +21 -21
- package/src/components/ConversationPreview/ConversationPreviewContent.tsx +4 -4
- package/src/components/ConversationPreview/styles/index.scss +44 -14
- package/src/components/ConversationPreview/utils.tsx +36 -28
- package/src/components/Input/styles/index.scss +7 -5
- package/src/components/Model/styles/layout.scss +3 -3
- package/src/components/Plugins/styles/color.scss +17 -3
- package/src/components/Popup/styles/layout.scss +2 -1
- package/src/components/TUIChat/TUIChat.tsx +4 -3
- package/src/components/TUIChatHeader/TUIChatHeaderDefault.tsx +3 -3
- package/src/components/TUIChatHeader/styles/layout.scss +13 -2
- 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/TUIConversationList/index.scss +25 -7
- package/src/components/TUIManage/TUIManage.tsx +3 -3
- package/src/components/TUIManage/styles/index.scss +16 -6
- 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/TUIMessage/styles/color.scss +20 -9
- package/src/components/TUIMessage/styles/layout.scss +44 -11
- 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 +25 -6
- package/src/components/TUIMessageInput/styles/layout.scss +58 -16
- package/src/components/TUIMessageList/hooks/useMessageListElement.tsx +2 -2
- package/src/components/TUIMessageList/styles/layout.scss +16 -2
- package/src/components/TUIProfile/TUIProfile.tsx +3 -3
- package/src/components/TUIProfile/TUIProfileDefault.tsx +2 -2
- package/src/components/TUIProfile/styles/layout.scss +33 -16
- 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-dark.scss +35 -0
- package/src/styles/colors/_color-light.scss +35 -0
- package/src/styles/colors/_color-theme.scss +54 -0
- package/src/styles/fonts/icon-font.scss +18 -0
- package/src/styles/index.scss +4 -0
- package/src/styles/normalize.scss +355 -0
- 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 -228
- 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 -112
- package/src/components/TUIKit/styles/reset.scss +0 -67
- package/src/context/TUIKitContext.tsx +0 -39
package/dist/esm/index.d.css
CHANGED
|
@@ -1,1314 +1,1230 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
del, dfn, em, img, ins, kbd, q, s, samp,
|
|
5
|
-
small, strike, strong, sub, sup, tt, var,
|
|
6
|
-
b, u, i, center,
|
|
7
|
-
dl, dt, dd, ol, ul, li,
|
|
8
|
-
fieldset, form, label, legend,
|
|
9
|
-
table, caption, tbody, tfoot, thead, tr, th, td,
|
|
10
|
-
article, aside, canvas, details, embed,
|
|
11
|
-
figure, figcaption, footer, header, hgroup,
|
|
12
|
-
menu, nav, output, ruby, section, summary,
|
|
13
|
-
time, mark, audio, video {
|
|
14
|
-
margin: 0;
|
|
15
|
-
padding: 0;
|
|
16
|
-
border: 0;
|
|
17
|
-
font-size: 100%;
|
|
18
|
-
font: inherit;
|
|
19
|
-
vertical-align: baseline;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
a, a:link, a:visited, a:hover, a:active {
|
|
23
|
-
text-decoration: none;
|
|
24
|
-
color: inherit;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/* HTML5 display-role reset for older browsers */
|
|
28
|
-
article, aside, details, figcaption, figure,
|
|
29
|
-
footer, header, hgroup, menu, nav, section {
|
|
30
|
-
display: block;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
body {
|
|
34
|
-
line-height: 1;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
ol, ul {
|
|
38
|
-
list-style: none;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
blockquote, q {
|
|
42
|
-
quotes: none;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
blockquote:before, blockquote:after,
|
|
46
|
-
q:before, q:after {
|
|
47
|
-
content: "";
|
|
48
|
-
content: none;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
table {
|
|
52
|
-
border-collapse: collapse;
|
|
53
|
-
border-spacing: 0;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
html, body {
|
|
57
|
-
height: 100%;
|
|
58
|
-
width: 100%;
|
|
59
|
-
margin: 0;
|
|
60
|
-
-webkit-text-size-adjust: 100%;
|
|
61
|
-
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
* {
|
|
65
|
-
-webkit-touch-callout: none;
|
|
66
|
-
-webkit-user-select: none;
|
|
67
|
-
-khtml-user-select: none;
|
|
68
|
-
-moz-user-select: none;
|
|
69
|
-
-ms-user-select: none;
|
|
70
|
-
user-select: none;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.text-ellipsis {
|
|
74
|
-
text-overflow: ellipsis;
|
|
75
|
-
white-space: nowrap;
|
|
1
|
+
.tui-conversation {
|
|
2
|
+
flex: 1;
|
|
3
|
+
box-sizing: border-box;
|
|
76
4
|
overflow: hidden;
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
.tui-kit {
|
|
80
|
-
position: relative;
|
|
5
|
+
min-width: 0;
|
|
81
6
|
display: flex;
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
background-color: #FFFFFF;
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
position: relative;
|
|
85
9
|
text-align: initial;
|
|
86
10
|
}
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
position: relative;
|
|
90
|
-
margin: 0 auto;
|
|
91
|
-
width: calc(100% - 20rem);
|
|
92
|
-
min-width: 850px;
|
|
93
|
-
height: 86%;
|
|
94
|
-
box-sizing: border-box;
|
|
95
|
-
border-radius: 12px;
|
|
96
|
-
overflow: hidden;
|
|
11
|
+
[data-uikit-theme=light] .tui-conversation {
|
|
12
|
+
background-color: var(--chat-theme-light-bg-primary);
|
|
97
13
|
}
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
top: 0;
|
|
101
|
-
z-index: 1;
|
|
14
|
+
[data-uikit-theme=dark] .tui-conversation {
|
|
15
|
+
background-color: var(--chat-theme-dark-bg-primary);
|
|
102
16
|
}
|
|
103
|
-
.
|
|
104
|
-
max-width: 360px;
|
|
105
|
-
min-width: 360px;
|
|
17
|
+
.tui-conversation .tui-conversation-header {
|
|
106
18
|
display: flex;
|
|
107
|
-
|
|
19
|
+
padding: 10px 20px;
|
|
108
20
|
}
|
|
109
|
-
.
|
|
21
|
+
.tui-conversation .tui-conversation-header .tui-conversation-create-icon {
|
|
110
22
|
display: flex;
|
|
111
23
|
align-items: center;
|
|
112
|
-
justify-content:
|
|
113
|
-
margin:
|
|
24
|
+
justify-content: center;
|
|
25
|
+
margin-left: 10px;
|
|
114
26
|
}
|
|
115
|
-
.
|
|
27
|
+
.tui-conversation .no-result {
|
|
28
|
+
padding: 0 20px;
|
|
116
29
|
display: flex;
|
|
117
30
|
flex-direction: column;
|
|
118
31
|
align-items: center;
|
|
119
|
-
justify-content: center;
|
|
120
|
-
cursor: pointer;
|
|
121
32
|
}
|
|
122
|
-
.
|
|
123
|
-
|
|
124
|
-
line-height: 25px;
|
|
125
|
-
text-align: center;
|
|
33
|
+
.tui-conversation .no-result-icon {
|
|
34
|
+
margin: 100px auto 50px;
|
|
126
35
|
}
|
|
127
|
-
.
|
|
128
|
-
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;
|
|
129
42
|
}
|
|
130
43
|
|
|
131
|
-
.
|
|
132
|
-
|
|
133
|
-
height: 100%;
|
|
134
|
-
position: relative;
|
|
135
|
-
text-align: initial;
|
|
136
|
-
box-shadow: 0 11px 20px 0 rgba(0, 0, 0, 0.3);
|
|
44
|
+
.tui-conversation-h5 .tui-conversation-header {
|
|
45
|
+
padding: 10px;
|
|
137
46
|
}
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
width: 100%;
|
|
141
|
-
height: 100%;
|
|
142
|
-
background-size: cover;
|
|
143
|
-
background-position-x: -17px;
|
|
144
|
-
background-position-y: 173px;
|
|
145
|
-
padding: 100px 40px 0;
|
|
47
|
+
.tui-conversation-h5 .conversation-list-container .conversation-preview-container {
|
|
48
|
+
padding: 0 10px;
|
|
146
49
|
}
|
|
147
|
-
.tui-
|
|
50
|
+
.tui-kit-avatar {
|
|
148
51
|
display: flex;
|
|
149
52
|
align-items: center;
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
color: #000;
|
|
154
|
-
letter-spacing: 0;
|
|
155
|
-
}
|
|
156
|
-
.tui-chat-default header img {
|
|
157
|
-
width: 32px;
|
|
158
|
-
margin: 0 10px;
|
|
159
|
-
}
|
|
160
|
-
.tui-chat-default .content {
|
|
161
|
-
max-width: 393px;
|
|
162
|
-
font-size: 16px;
|
|
163
|
-
line-height: 24px;
|
|
164
|
-
font-family: PingFangSC-Regular;
|
|
165
|
-
font-weight: 400;
|
|
166
|
-
color: #666;
|
|
167
|
-
letter-spacing: 0;
|
|
168
|
-
padding: 36px 0 20px;
|
|
169
|
-
}
|
|
170
|
-
.tui-chat-default .link {
|
|
171
|
-
font-size: 14px;
|
|
172
|
-
line-height: 20px;
|
|
173
|
-
font-family: PingFangSC-Regular;
|
|
174
|
-
font-weight: 400;
|
|
175
|
-
color: #666;
|
|
176
|
-
letter-spacing: 0;
|
|
177
|
-
}
|
|
178
|
-
.tui-chat-default .link a {
|
|
179
|
-
font-family: PingFangSC-Regular;
|
|
180
|
-
font-weight: 400;
|
|
181
|
-
color: #006eff;
|
|
182
|
-
letter-spacing: 0;
|
|
183
|
-
text-decoration: none;
|
|
184
|
-
padding: 0 5px;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
body #webpack-dev-server-client-overlay {
|
|
188
|
-
display: none !important;
|
|
53
|
+
position: relative;
|
|
54
|
+
cursor: pointer;
|
|
55
|
+
flex-shrink: 0;
|
|
189
56
|
}
|
|
190
|
-
.
|
|
191
|
-
|
|
57
|
+
.tui-kit-avatar.circle .avatar-image {
|
|
58
|
+
border-radius: 50%;
|
|
192
59
|
}
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
width: 100%;
|
|
196
|
-
height: 100%;
|
|
197
|
-
margin: 0;
|
|
60
|
+
.tui-kit-avatar.square .avatar-image {
|
|
61
|
+
border-radius: 4px;
|
|
198
62
|
}
|
|
199
|
-
|
|
200
|
-
.sample-chat-h5 {
|
|
201
|
-
position: relative;
|
|
63
|
+
.tui-kit-avatar img {
|
|
202
64
|
width: 100%;
|
|
203
65
|
height: 100%;
|
|
204
|
-
overflow: hidden;
|
|
205
66
|
}
|
|
206
|
-
.
|
|
67
|
+
.tui-kit-avatar:hover .tui-kit-avatar-edit {
|
|
207
68
|
display: flex;
|
|
208
|
-
flex-direction: column;
|
|
209
|
-
width: 100%;
|
|
210
|
-
height: 100%;
|
|
211
69
|
}
|
|
212
|
-
.
|
|
70
|
+
.tui-kit-avatar-edit {
|
|
213
71
|
position: absolute;
|
|
214
72
|
top: 0;
|
|
215
|
-
|
|
73
|
+
left: 0;
|
|
74
|
+
background: rgba(0, 0, 0, 0.33);
|
|
216
75
|
width: 100%;
|
|
217
|
-
|
|
218
|
-
|
|
76
|
+
height: 100%;
|
|
77
|
+
border-radius: 100%;
|
|
78
|
+
display: none;
|
|
79
|
+
justify-content: center;
|
|
80
|
+
align-items: center;
|
|
219
81
|
}
|
|
220
|
-
.
|
|
221
|
-
|
|
82
|
+
.tui-kit-avatar-list {
|
|
83
|
+
position: absolute;
|
|
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;
|
|
92
|
+
width: 100%;
|
|
93
|
+
min-width: 200px;
|
|
94
|
+
max-width: 400px;
|
|
95
|
+
padding: 10px;
|
|
222
96
|
}
|
|
223
|
-
.
|
|
224
|
-
|
|
97
|
+
.tui-kit-avatar-list-item {
|
|
98
|
+
padding: 10px;
|
|
225
99
|
}
|
|
226
|
-
.tui-
|
|
227
|
-
|
|
228
|
-
min-width: 360px;
|
|
229
|
-
max-width: 400px;
|
|
230
|
-
display: flex;
|
|
231
|
-
flex-direction: column;
|
|
232
|
-
position: relative;
|
|
233
|
-
border-right: 1px solid #F9FAFB;
|
|
234
|
-
text-align: initial;
|
|
100
|
+
.tui-kit-avatar-list-item img {
|
|
101
|
+
width: 40px;
|
|
235
102
|
}
|
|
236
|
-
.
|
|
237
|
-
|
|
238
|
-
|
|
103
|
+
.conversation-list-container {
|
|
104
|
+
overflow-x: hidden;
|
|
105
|
+
height: 100%;
|
|
239
106
|
}
|
|
240
|
-
|
|
107
|
+
|
|
108
|
+
.conversation-preview-container {
|
|
241
109
|
display: flex;
|
|
242
110
|
align-items: center;
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
111
|
+
border: none;
|
|
112
|
+
width: 100%;
|
|
113
|
+
height: 64px;
|
|
114
|
+
cursor: pointer;
|
|
115
|
+
line-height: 17px;
|
|
247
116
|
padding: 0 20px;
|
|
248
|
-
display: flex;
|
|
249
|
-
flex-direction: column;
|
|
250
|
-
align-items: center;
|
|
251
117
|
}
|
|
252
|
-
|
|
253
|
-
|
|
118
|
+
[data-uikit-theme=light] .conversation-preview-container {
|
|
119
|
+
background-color: var(--chat-theme-light-bg-primary);
|
|
254
120
|
}
|
|
255
|
-
|
|
256
|
-
color:
|
|
257
|
-
font-weight: 400;
|
|
258
|
-
font-size: 16px;
|
|
259
|
-
font-family: PingFangSC-Medium;
|
|
260
|
-
line-height: 22px;
|
|
121
|
+
[data-uikit-theme=dark] .conversation-preview-container {
|
|
122
|
+
background-color: var(--chat-theme-dark-bg-primary);
|
|
261
123
|
}
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
124
|
+
.conversation-preview-container .content {
|
|
125
|
+
flex: 1 1 auto;
|
|
126
|
+
text-align: left;
|
|
127
|
+
margin-left: 10px;
|
|
128
|
+
min-width: 0;
|
|
267
129
|
}
|
|
268
|
-
.
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
display: flex;
|
|
272
|
-
align-items: center;
|
|
273
|
-
cursor: pointer;
|
|
274
|
-
font-family: SF Pro Text;
|
|
130
|
+
.conversation-preview-container .content .title {
|
|
131
|
+
font-style: normal;
|
|
132
|
+
font-weight: 700;
|
|
275
133
|
font-size: 14px;
|
|
134
|
+
line-height: 17px;
|
|
135
|
+
font-family: PingFangSC-Medium;
|
|
136
|
+
padding: 1px 0;
|
|
137
|
+
width: 100%;
|
|
138
|
+
}
|
|
139
|
+
[data-uikit-theme=light] .conversation-preview-container .content .title {
|
|
140
|
+
color: var(--chat-theme-light-text-primary);
|
|
141
|
+
}
|
|
142
|
+
[data-uikit-theme=dark] .conversation-preview-container .content .title {
|
|
143
|
+
color: var(--chat-theme-dark-text-primary);
|
|
144
|
+
}
|
|
145
|
+
.conversation-preview-container .content .message {
|
|
146
|
+
overflow: hidden;
|
|
147
|
+
text-overflow: ellipsis;
|
|
148
|
+
white-space: nowrap;
|
|
276
149
|
font-family: PingFangSC-Medium;
|
|
277
150
|
font-style: normal;
|
|
278
|
-
font-weight:
|
|
279
|
-
|
|
151
|
+
font-weight: 400;
|
|
152
|
+
font-size: 12px;
|
|
153
|
+
line-height: 14px;
|
|
154
|
+
padding: 1px 0;
|
|
280
155
|
}
|
|
281
|
-
.
|
|
282
|
-
|
|
156
|
+
[data-uikit-theme=light] .conversation-preview-container .content .message {
|
|
157
|
+
color: var(--chat-theme-light-text-secondary);
|
|
283
158
|
}
|
|
284
|
-
.
|
|
285
|
-
|
|
159
|
+
[data-uikit-theme=dark] .conversation-preview-container .content .message {
|
|
160
|
+
color: var(--chat-theme-dark-text-secondary);
|
|
286
161
|
}
|
|
287
|
-
.
|
|
162
|
+
.conversation-preview-container .external {
|
|
163
|
+
text-align: right;
|
|
164
|
+
flex: 0 1 auto;
|
|
288
165
|
display: flex;
|
|
289
166
|
flex-direction: column;
|
|
290
|
-
align-items: flex-start;
|
|
291
167
|
}
|
|
292
|
-
.
|
|
293
|
-
|
|
294
|
-
padding
|
|
295
|
-
max-width: 60%;
|
|
168
|
+
.conversation-preview-container .external .unread {
|
|
169
|
+
height: 19px;
|
|
170
|
+
padding: 1px 0;
|
|
296
171
|
}
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
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;
|
|
304
179
|
}
|
|
305
|
-
.
|
|
306
|
-
|
|
307
|
-
flex: 1;
|
|
180
|
+
[data-uikit-theme=light] .conversation-preview-container .external .time {
|
|
181
|
+
color: var(--chat-theme-light-text-secondary);
|
|
308
182
|
}
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
183
|
+
[data-uikit-theme=dark] .conversation-preview-container .external .time {
|
|
184
|
+
color: var(--chat-theme-dark-text-secondary);
|
|
185
|
+
}
|
|
186
|
+
.conversation-preview-container .external .more--hover {
|
|
312
187
|
display: flex;
|
|
313
|
-
|
|
314
|
-
flex
|
|
315
|
-
justify-self: flex-end;
|
|
188
|
+
justify-content: flex-end;
|
|
189
|
+
flex: 1 1;
|
|
316
190
|
}
|
|
317
|
-
.
|
|
318
|
-
|
|
319
|
-
flex: 1;
|
|
191
|
+
.conversation-preview-container .external .more--hover .icon-more {
|
|
192
|
+
transform: scale(1.5);
|
|
320
193
|
}
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
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;
|
|
325
203
|
}
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
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;
|
|
329
212
|
}
|
|
330
|
-
.
|
|
331
|
-
|
|
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);
|
|
332
215
|
}
|
|
333
|
-
.
|
|
334
|
-
|
|
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);
|
|
335
218
|
}
|
|
336
|
-
.
|
|
337
|
-
|
|
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);
|
|
338
221
|
}
|
|
339
|
-
|
|
340
|
-
|
|
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);
|
|
224
|
+
}
|
|
225
|
+
[data-uikit-theme=light] .conversation-preview-container:hover {
|
|
226
|
+
background-color: var(--chat-theme-light-bg-active);
|
|
227
|
+
}
|
|
228
|
+
[data-uikit-theme=dark] .conversation-preview-container:hover {
|
|
229
|
+
background-color: var(--chat-theme-dark-bg-active);
|
|
230
|
+
}
|
|
231
|
+
[data-uikit-theme=light] .conversation-preview-container.conversation-preview-content--pin {
|
|
232
|
+
background-color: var(--chat-theme-light-bg-secondary);
|
|
233
|
+
}
|
|
234
|
+
[data-uikit-theme=dark] .conversation-preview-container.conversation-preview-content--pin {
|
|
235
|
+
background-color: var(--chat-theme-dark-bg-secondary);
|
|
236
|
+
}
|
|
237
|
+
[data-uikit-theme=light] .conversation-preview-container.conversation-preview-content--active {
|
|
238
|
+
background-color: var(--chat-theme-light-bg-active);
|
|
239
|
+
}
|
|
240
|
+
[data-uikit-theme=dark] .conversation-preview-container.conversation-preview-content--active {
|
|
241
|
+
background-color: var(--chat-theme-dark-bg-active);
|
|
242
|
+
}
|
|
243
|
+
[data-uikit-theme=light] .conversation-preview-container.conversation-preview-content--active .title {
|
|
244
|
+
color: var(--chat-theme-light-status-info);
|
|
245
|
+
}
|
|
246
|
+
[data-uikit-theme=dark] .conversation-preview-container.conversation-preview-content--active .title {
|
|
247
|
+
color: var(--chat-theme-dark-status-info);
|
|
248
|
+
}
|
|
249
|
+
.conversation-preview-container.conversation-preview-content--unread .unread {
|
|
250
|
+
width: 16px;
|
|
251
|
+
height: 13px;
|
|
252
|
+
border-radius: 16px;
|
|
341
253
|
display: flex;
|
|
342
|
-
|
|
343
|
-
align-
|
|
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;
|
|
344
261
|
}
|
|
345
|
-
.
|
|
346
|
-
|
|
347
|
-
font-weight: 400;
|
|
348
|
-
padding: 5px 0 0 10px;
|
|
349
|
-
font-size: 12px;
|
|
350
|
-
font-family: PingFangSC-Medium;
|
|
351
|
-
line-height: 14px;
|
|
352
|
-
text-align: right;
|
|
353
|
-
color: #7A7A7A;
|
|
262
|
+
[data-uikit-theme=light] .conversation-preview-container.conversation-preview-content--unread .unread {
|
|
263
|
+
background-color: var(--chat-theme-light-status-danger);
|
|
354
264
|
}
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
position: relative;
|
|
265
|
+
[data-uikit-theme=dark] .conversation-preview-container.conversation-preview-content--unread .unread {
|
|
266
|
+
background-color: var(--chat-theme-dark-status-danger);
|
|
358
267
|
}
|
|
359
|
-
.
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
right: 10px;
|
|
268
|
+
.tui-message-input {
|
|
269
|
+
display: flex;
|
|
270
|
+
flex-direction: column;
|
|
363
271
|
}
|
|
364
|
-
.
|
|
365
|
-
|
|
272
|
+
.tui-message-input-main {
|
|
273
|
+
flex: 1;
|
|
274
|
+
display: flex;
|
|
275
|
+
align-items: center;
|
|
276
|
+
padding: 14px 12px;
|
|
277
|
+
gap: 12px;
|
|
366
278
|
}
|
|
367
|
-
|
|
368
|
-
|
|
279
|
+
.tui-message-input-main .input-box {
|
|
280
|
+
flex: 1;
|
|
369
281
|
display: flex;
|
|
282
|
+
position: relative;
|
|
283
|
+
min-height: 20px;
|
|
284
|
+
max-height: 200px;
|
|
285
|
+
border-radius: 15px;
|
|
286
|
+
overflow: hidden;
|
|
287
|
+
padding: 10px;
|
|
370
288
|
}
|
|
371
|
-
.message-
|
|
372
|
-
|
|
373
|
-
word-break: break-
|
|
374
|
-
|
|
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;
|
|
375
295
|
font-style: normal;
|
|
376
296
|
font-weight: 500;
|
|
377
297
|
font-size: 14px;
|
|
378
|
-
line-height:
|
|
379
|
-
|
|
380
|
-
.message-text-content-p {
|
|
381
|
-
white-space: pre-wrap;
|
|
382
|
-
display: inline;
|
|
383
|
-
vertical-align: middle;
|
|
384
|
-
}
|
|
385
|
-
.message-text-content .message-status {
|
|
386
|
-
display: inline-flex;
|
|
387
|
-
float: right;
|
|
388
|
-
clear: right;
|
|
298
|
+
line-height: 17px;
|
|
299
|
+
padding: 1px 2px;
|
|
389
300
|
}
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
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;
|
|
307
|
+
flex: 1;
|
|
308
|
+
font-family: PingFangSC-Medium;
|
|
394
309
|
font-style: normal;
|
|
395
310
|
font-weight: 500;
|
|
396
311
|
font-size: 14px;
|
|
397
312
|
line-height: 17px;
|
|
313
|
+
margin: 9px;
|
|
314
|
+
resize: none;
|
|
315
|
+
border: none;
|
|
316
|
+
background: none;
|
|
398
317
|
}
|
|
399
|
-
.message-
|
|
400
|
-
|
|
401
|
-
width: 20px;
|
|
402
|
-
height: 20px;
|
|
403
|
-
vertical-align: middle;
|
|
318
|
+
[data-uikit-theme=light] .tui-message-input-main .input-box textarea {
|
|
319
|
+
color: var(--chat-theme-light-text-primary);
|
|
404
320
|
}
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
background: #FFFFFF;
|
|
321
|
+
[data-uikit-theme=dark] .tui-message-input-main .input-box textarea {
|
|
322
|
+
color: var(--chat-theme-dark-text-primary);
|
|
408
323
|
}
|
|
409
|
-
.message-
|
|
410
|
-
|
|
324
|
+
.tui-message-input-main .input-box textarea:focus, .tui-message-input-main .input-box textarea:active {
|
|
325
|
+
border: none;
|
|
326
|
+
outline: none;
|
|
411
327
|
}
|
|
412
|
-
.message-
|
|
413
|
-
|
|
414
|
-
max-height: 200px;
|
|
328
|
+
.tui-message-input-main .disabled {
|
|
329
|
+
display: none;
|
|
415
330
|
}
|
|
416
|
-
.message-
|
|
417
|
-
|
|
418
|
-
|
|
331
|
+
.tui-message-input-box {
|
|
332
|
+
flex: 1;
|
|
333
|
+
display: flex;
|
|
334
|
+
align-items: center;
|
|
419
335
|
}
|
|
420
336
|
|
|
421
|
-
|
|
422
|
-
|
|
337
|
+
ul li {
|
|
338
|
+
list-style: none;
|
|
423
339
|
}
|
|
424
|
-
|
|
340
|
+
|
|
341
|
+
.input-plugin-popup {
|
|
425
342
|
position: relative;
|
|
426
|
-
height: 100%;
|
|
427
|
-
border-radius: 10px;
|
|
428
343
|
}
|
|
429
|
-
.
|
|
344
|
+
.input-plugin-popup-box {
|
|
430
345
|
position: absolute;
|
|
431
|
-
z-index:
|
|
432
|
-
|
|
433
|
-
width: 0px;
|
|
434
|
-
height: 0px;
|
|
435
|
-
border: 15px solid transparent;
|
|
436
|
-
border-left: 20px solid #ffffff;
|
|
437
|
-
top: 0;
|
|
438
|
-
left: 0;
|
|
439
|
-
bottom: 0;
|
|
440
|
-
right: 0;
|
|
441
|
-
margin: auto;
|
|
442
|
-
}
|
|
443
|
-
.message-video video {
|
|
444
|
-
width: 100%;
|
|
445
|
-
height: 100%;
|
|
446
|
-
border-radius: 10px;
|
|
447
|
-
}
|
|
448
|
-
.message-video .play-video {
|
|
449
|
-
max-width: 95%;
|
|
450
|
-
max-height: 65%;
|
|
346
|
+
z-index: 2;
|
|
347
|
+
bottom: 30px;
|
|
451
348
|
}
|
|
452
349
|
|
|
453
|
-
.
|
|
454
|
-
|
|
455
|
-
|
|
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;
|
|
456
360
|
}
|
|
457
361
|
|
|
458
|
-
.
|
|
362
|
+
.emoji-picker .face-list {
|
|
363
|
+
height: 120px;
|
|
364
|
+
width: 242px;
|
|
365
|
+
padding: 10px 5px;
|
|
459
366
|
display: flex;
|
|
460
|
-
flex-
|
|
461
|
-
|
|
367
|
+
flex-wrap: wrap;
|
|
368
|
+
overflow-y: auto;
|
|
462
369
|
}
|
|
463
|
-
.
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
background: #FFFFFF;
|
|
468
|
-
border-radius: 4px;
|
|
370
|
+
.emoji-picker .face-list-item {
|
|
371
|
+
padding: 5px;
|
|
372
|
+
cursor: pointer;
|
|
373
|
+
user-select: none;
|
|
469
374
|
}
|
|
470
|
-
.
|
|
471
|
-
|
|
375
|
+
.emoji-picker .face-list-item img {
|
|
376
|
+
width: 20px;
|
|
472
377
|
}
|
|
473
|
-
.
|
|
378
|
+
.emoji-picker .face-list-item .face-img {
|
|
379
|
+
width: 38px;
|
|
380
|
+
}
|
|
381
|
+
.emoji-picker .face-tab {
|
|
474
382
|
display: flex;
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
}
|
|
478
|
-
.message-file-footer .time {
|
|
479
|
-
padding-top: 10px;
|
|
480
|
-
}
|
|
481
|
-
.message-file-size {
|
|
482
|
-
padding-top: 10px;
|
|
483
|
-
font-weight: 400;
|
|
484
|
-
font-size: 12px;
|
|
485
|
-
font-family: PingFangSC-Medium;
|
|
486
|
-
line-height: 14px;
|
|
487
|
-
color: #7A7A7A;
|
|
488
|
-
}
|
|
489
|
-
|
|
490
|
-
.message-merger {
|
|
491
|
-
display: flex;
|
|
492
|
-
flex-direction: column;
|
|
493
|
-
background: #ECEBEB;
|
|
383
|
+
align-items: center;
|
|
384
|
+
min-width: 265px;
|
|
494
385
|
}
|
|
495
|
-
.
|
|
496
|
-
|
|
497
|
-
|
|
386
|
+
.emoji-picker .face-tab-item {
|
|
387
|
+
cursor: pointer;
|
|
388
|
+
width: 24px;
|
|
389
|
+
padding: 10px;
|
|
498
390
|
}
|
|
499
|
-
.
|
|
500
|
-
|
|
391
|
+
.emoji-picker .face-tab-item img {
|
|
392
|
+
width: 100%;
|
|
501
393
|
}
|
|
502
|
-
.
|
|
503
|
-
|
|
394
|
+
.emoji-picker .emoji-plugin-right {
|
|
395
|
+
right: 0;
|
|
504
396
|
}
|
|
505
397
|
|
|
506
|
-
.
|
|
507
|
-
|
|
508
|
-
padding:
|
|
509
|
-
|
|
510
|
-
.meesage-bubble-reply-in {
|
|
511
|
-
border-radius: 16px 16px 16px 0;
|
|
512
|
-
}
|
|
513
|
-
.meesage-bubble-reply-out {
|
|
514
|
-
border-radius: 16px 16px 0px 16px;
|
|
398
|
+
.upload-picker {
|
|
399
|
+
position: relative;
|
|
400
|
+
padding: 10px 16px;
|
|
401
|
+
min-width: 180px;
|
|
515
402
|
}
|
|
516
|
-
.
|
|
517
|
-
|
|
518
|
-
border: none;
|
|
403
|
+
.upload-picker:hover {
|
|
404
|
+
color: #147aff;
|
|
519
405
|
}
|
|
520
|
-
.
|
|
521
|
-
|
|
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%;
|
|
522
414
|
}
|
|
523
|
-
|
|
524
|
-
|
|
415
|
+
|
|
416
|
+
.input-quote {
|
|
417
|
+
padding: 7px 16px;
|
|
418
|
+
background: #f9f9f9;
|
|
419
|
+
display: flex;
|
|
420
|
+
align-items: center;
|
|
525
421
|
}
|
|
526
|
-
.
|
|
422
|
+
.input-quote-content {
|
|
423
|
+
flex: 1;
|
|
424
|
+
background: #fff;
|
|
425
|
+
padding: 2px 14px;
|
|
527
426
|
position: relative;
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
427
|
+
display: flex;
|
|
428
|
+
flex-direction: column;
|
|
429
|
+
font-weight: 500;
|
|
430
|
+
font-size: 14px;
|
|
431
|
+
font-family: PingFangSC-Medium;
|
|
432
|
+
line-height: 17px;
|
|
433
|
+
color: #000;
|
|
531
434
|
}
|
|
532
|
-
.
|
|
435
|
+
.input-quote-content::before {
|
|
533
436
|
content: "";
|
|
534
437
|
position: absolute;
|
|
535
438
|
width: 6px;
|
|
536
439
|
height: 100%;
|
|
537
|
-
background: #
|
|
440
|
+
background: #999;
|
|
538
441
|
top: 0;
|
|
539
442
|
left: 0;
|
|
540
443
|
}
|
|
541
|
-
.
|
|
444
|
+
.input-quote-content span {
|
|
445
|
+
padding-top: 8px;
|
|
446
|
+
opacity: 0.6;
|
|
447
|
+
}
|
|
448
|
+
.input-quote .icon {
|
|
449
|
+
margin: 0 5px 0 16px;
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
.tui-forward {
|
|
453
|
+
background: #fff;
|
|
454
|
+
border-radius: 16px;
|
|
455
|
+
display: flex;
|
|
456
|
+
flex-direction: column;
|
|
457
|
+
overflow: hidden;
|
|
458
|
+
width: 300px;
|
|
459
|
+
max-height: 90%;
|
|
460
|
+
}
|
|
461
|
+
.tui-forward-header {
|
|
462
|
+
display: flex;
|
|
463
|
+
align-items: center;
|
|
464
|
+
padding: 24px 20px;
|
|
465
|
+
}
|
|
466
|
+
.tui-forward-title {
|
|
467
|
+
padding: 0 16px;
|
|
542
468
|
font-family: PingFangSC-Medium;
|
|
543
469
|
font-style: normal;
|
|
544
|
-
font-weight:
|
|
470
|
+
font-weight: 700;
|
|
545
471
|
font-size: 14px;
|
|
546
472
|
line-height: 17px;
|
|
547
|
-
padding-bottom: 10px;
|
|
548
473
|
}
|
|
549
|
-
.
|
|
550
|
-
|
|
474
|
+
.tui-forward-main {
|
|
475
|
+
padding: 0 20px;
|
|
476
|
+
max-height: calc(100vh - 200px);
|
|
477
|
+
overflow-y: auto;
|
|
551
478
|
}
|
|
552
|
-
|
|
553
|
-
|
|
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;
|
|
487
|
+
}
|
|
488
|
+
.tui-forward-search {
|
|
489
|
+
padding: 10px 15px;
|
|
490
|
+
}
|
|
491
|
+
.tui-forward-list {
|
|
492
|
+
padding: 13px 0;
|
|
493
|
+
}
|
|
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;
|
|
500
|
+
}
|
|
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;
|
|
554
508
|
display: flex;
|
|
555
|
-
|
|
509
|
+
justify-content: space-between;
|
|
510
|
+
align-items: center;
|
|
511
|
+
width: 100%;
|
|
556
512
|
}
|
|
557
|
-
.
|
|
558
|
-
|
|
513
|
+
.tui-forward-list-item .info {
|
|
514
|
+
display: flex;
|
|
515
|
+
align-items: center;
|
|
516
|
+
flex-shrink: 0;
|
|
517
|
+
width: 100%;
|
|
559
518
|
}
|
|
560
|
-
.
|
|
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%;
|
|
532
|
+
}
|
|
533
|
+
.tui-forward-footer {
|
|
534
|
+
background: rgba(249, 249, 249, 0.94);
|
|
535
|
+
padding: 13px 10px;
|
|
561
536
|
display: flex;
|
|
537
|
+
justify-content: space-between;
|
|
562
538
|
align-items: center;
|
|
563
|
-
gap: 10px;
|
|
564
539
|
}
|
|
565
|
-
.
|
|
540
|
+
.tui-forward-footer .button {
|
|
541
|
+
cursor: pointer;
|
|
542
|
+
background: #0365f9;
|
|
543
|
+
border-radius: 31px;
|
|
544
|
+
padding: 10px 21px;
|
|
545
|
+
font-family: PingFangSC-Medium;
|
|
546
|
+
font-style: normal;
|
|
547
|
+
font-weight: 400;
|
|
548
|
+
font-size: 14px;
|
|
549
|
+
line-height: 20px;
|
|
550
|
+
color: #fff;
|
|
551
|
+
border: none;
|
|
552
|
+
}
|
|
553
|
+
.tui-forward-footer-name {
|
|
566
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;
|
|
567
561
|
}
|
|
568
562
|
|
|
569
|
-
.
|
|
570
|
-
|
|
571
|
-
height: 14px;
|
|
572
|
-
border-radius: 14px;
|
|
573
|
-
position: relative;
|
|
574
|
-
background: #FA5151;
|
|
575
|
-
display: inline-flex;
|
|
576
|
-
justify-content: center;
|
|
577
|
-
align-items: center;
|
|
563
|
+
.transmitter {
|
|
564
|
+
padding: 0 10px;
|
|
578
565
|
}
|
|
579
|
-
.icon-
|
|
580
|
-
|
|
581
|
-
content: "!";
|
|
582
|
-
color: #FFFFFF;
|
|
583
|
-
font-size: 12px;
|
|
584
|
-
font-family: PingFangSC-Medium;
|
|
566
|
+
.transmitter .icon-send {
|
|
567
|
+
transform: rotate(90deg);
|
|
585
568
|
}
|
|
586
569
|
|
|
587
|
-
.message-
|
|
588
|
-
|
|
589
|
-
flex-direction: column;
|
|
570
|
+
[data-uikit-theme=light] .tui-message-input {
|
|
571
|
+
background-color: var(--chat-theme-light-bg-primary);
|
|
590
572
|
}
|
|
591
|
-
.message-
|
|
592
|
-
|
|
573
|
+
[data-uikit-theme=dark] .tui-message-input {
|
|
574
|
+
background-color: var(--chat-theme-dark-bg-primary);
|
|
575
|
+
}
|
|
576
|
+
[data-uikit-theme=light] .tui-message-input .tui-kit-input-box--focus {
|
|
577
|
+
outline: 1px solid var(--chat-theme-light-status-info);
|
|
578
|
+
}
|
|
579
|
+
[data-uikit-theme=dark] .tui-message-input .tui-kit-input-box--focus {
|
|
580
|
+
outline: 1px solid var(--chat-theme-dark-status-info);
|
|
581
|
+
}
|
|
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);
|
|
585
|
+
}
|
|
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);
|
|
593
589
|
}
|
|
594
590
|
|
|
595
|
-
.
|
|
596
|
-
|
|
597
|
-
position: relative;
|
|
591
|
+
.input-plugin-popup-box {
|
|
592
|
+
border-radius: 16px;
|
|
598
593
|
}
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
max-width: 300px;
|
|
603
|
-
border-radius: 10px;
|
|
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);
|
|
604
597
|
}
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
max-width: 200px;
|
|
609
|
-
max-height: 200px;
|
|
610
|
-
border-radius: 10px;
|
|
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);
|
|
611
601
|
}
|
|
612
|
-
.
|
|
613
|
-
position: absolute;
|
|
614
|
-
content: "";
|
|
615
|
-
background: rgba(0, 0, 0, 0.5);
|
|
616
|
-
border-radius: 10px;
|
|
602
|
+
.message-default {
|
|
617
603
|
width: 100%;
|
|
618
|
-
|
|
619
|
-
top: 0;
|
|
620
|
-
left: 0;
|
|
621
|
-
}
|
|
622
|
-
.loading::after {
|
|
623
|
-
position: absolute;
|
|
624
|
-
content: "";
|
|
625
|
-
border: 5px solid #f3f3f3;
|
|
626
|
-
border-top: 5px solid #555;
|
|
627
|
-
border-radius: 50%;
|
|
628
|
-
width: 30px;
|
|
629
|
-
height: 30px;
|
|
630
|
-
display: inline-block;
|
|
631
|
-
animation: spin 2s linear infinite;
|
|
632
|
-
top: 0;
|
|
633
|
-
left: 0;
|
|
634
|
-
right: 0;
|
|
635
|
-
bottom: 0;
|
|
636
|
-
margin: auto;
|
|
637
|
-
}
|
|
638
|
-
@keyframes spin {
|
|
639
|
-
0% {
|
|
640
|
-
transform: rotate(0deg);
|
|
641
|
-
}
|
|
642
|
-
100% {
|
|
643
|
-
transform: rotate(360deg);
|
|
644
|
-
}
|
|
645
|
-
}
|
|
646
|
-
|
|
647
|
-
.message-plugin {
|
|
648
|
-
width: 32px;
|
|
649
|
-
margin: 0 5px;
|
|
650
|
-
}
|
|
651
|
-
.message-plugin .icon-more {
|
|
652
|
-
transform: scale(1.5);
|
|
653
|
-
}
|
|
654
|
-
.message-plugin .plugin-popup-box {
|
|
655
|
-
bottom: auto;
|
|
656
|
-
top: 100%;
|
|
657
|
-
overflow: hidden;
|
|
658
|
-
}
|
|
659
|
-
.message-plugin-box {
|
|
660
|
-
padding: 6px 0;
|
|
661
|
-
}
|
|
662
|
-
.message-plugin-item {
|
|
663
|
-
min-width: 144px;
|
|
664
|
-
padding: 6px 13px;
|
|
604
|
+
flex: 1;
|
|
665
605
|
display: flex;
|
|
666
|
-
justify-content: space-between;
|
|
667
606
|
align-items: center;
|
|
668
|
-
|
|
669
|
-
font-
|
|
607
|
+
cursor: pointer;
|
|
608
|
+
font-family: SF Pro Text;
|
|
609
|
+
font-size: 14px;
|
|
670
610
|
font-family: PingFangSC-Medium;
|
|
671
|
-
|
|
611
|
+
font-style: normal;
|
|
612
|
+
font-weight: 500;
|
|
613
|
+
line-height: 17px;
|
|
672
614
|
}
|
|
673
|
-
.message-
|
|
674
|
-
|
|
675
|
-
color: #147aff;
|
|
615
|
+
.message-default .avatar {
|
|
616
|
+
width: 45px;
|
|
676
617
|
}
|
|
677
|
-
.message-
|
|
678
|
-
|
|
618
|
+
.message-default .avatar img {
|
|
619
|
+
width: 45px;
|
|
679
620
|
}
|
|
680
|
-
|
|
681
|
-
.message-custom {
|
|
621
|
+
.message-default .content {
|
|
682
622
|
display: flex;
|
|
683
|
-
|
|
623
|
+
flex-direction: column;
|
|
624
|
+
align-items: flex-start;
|
|
684
625
|
}
|
|
685
|
-
.message-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
font-style: normal;
|
|
690
|
-
font-weight: 500;
|
|
691
|
-
font-size: 14px;
|
|
692
|
-
line-height: 17px;
|
|
626
|
+
.message-default .content .name {
|
|
627
|
+
display: inline-block;
|
|
628
|
+
padding-bottom: 3px;
|
|
629
|
+
max-width: 60%;
|
|
693
630
|
}
|
|
694
|
-
.message-
|
|
695
|
-
|
|
696
|
-
font-size: 14px;
|
|
697
|
-
font-style: normal;
|
|
698
|
-
font-weight: 500;
|
|
699
|
-
line-height: 17px;
|
|
631
|
+
[data-uikit-theme=light] .message-default .content .name {
|
|
632
|
+
color: var(--chat-theme-light-text-primary);
|
|
700
633
|
}
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
color: #999999;
|
|
634
|
+
[data-uikit-theme=dark] .message-default .content .name {
|
|
635
|
+
color: var(--chat-theme-dark-text-primary);
|
|
704
636
|
}
|
|
705
637
|
|
|
706
|
-
.
|
|
638
|
+
.in {
|
|
639
|
+
flex: 1;
|
|
707
640
|
display: flex;
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
transform: rotate(180deg);
|
|
641
|
+
flex-direction: row;
|
|
642
|
+
justify-self: flex-start;
|
|
643
|
+
gap: 10px;
|
|
712
644
|
}
|
|
713
|
-
.
|
|
714
|
-
|
|
645
|
+
.in .content {
|
|
646
|
+
align-items: flex-start;
|
|
647
|
+
flex: 1;
|
|
715
648
|
}
|
|
716
|
-
|
|
649
|
+
|
|
650
|
+
.out {
|
|
651
|
+
flex: 1;
|
|
717
652
|
display: flex;
|
|
718
|
-
align-items: center;
|
|
719
653
|
gap: 10px;
|
|
720
|
-
}
|
|
721
|
-
.message-audio-out {
|
|
722
654
|
flex-direction: row-reverse;
|
|
655
|
+
justify-self: flex-end;
|
|
723
656
|
}
|
|
724
|
-
.
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
@keyframes playingAnimation {
|
|
728
|
-
0% {
|
|
729
|
-
opacity: 1;
|
|
730
|
-
}
|
|
731
|
-
50% {
|
|
732
|
-
opacity: 0.3;
|
|
733
|
-
}
|
|
734
|
-
100% {
|
|
735
|
-
opacity: 1;
|
|
736
|
-
}
|
|
657
|
+
.out .content {
|
|
658
|
+
align-items: flex-end;
|
|
659
|
+
flex: 1;
|
|
737
660
|
}
|
|
738
661
|
|
|
739
|
-
.
|
|
740
|
-
|
|
662
|
+
.tip {
|
|
663
|
+
justify-self: center !important;
|
|
664
|
+
width: auto;
|
|
741
665
|
}
|
|
742
666
|
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
opacity: 1;
|
|
746
|
-
color: #ff9c19;
|
|
747
|
-
}
|
|
748
|
-
25% {
|
|
749
|
-
opacity: 0.3;
|
|
750
|
-
}
|
|
751
|
-
50% {
|
|
752
|
-
color: #ff9c19;
|
|
753
|
-
opacity: 1;
|
|
754
|
-
}
|
|
755
|
-
75% {
|
|
756
|
-
opacity: 0.3;
|
|
757
|
-
}
|
|
758
|
-
100% {
|
|
759
|
-
color: #ff9c19;
|
|
760
|
-
opacity: 1;
|
|
761
|
-
}
|
|
762
|
-
}
|
|
763
|
-
.progress-box {
|
|
764
|
-
width: 100%;
|
|
765
|
-
height: 5px;
|
|
766
|
-
display: flex;
|
|
767
|
-
justify-content: flex-start;
|
|
768
|
-
}
|
|
769
|
-
.progress-box .progress {
|
|
770
|
-
display: inline-block;
|
|
771
|
-
width: 0;
|
|
772
|
-
background: #147aff;
|
|
773
|
-
height: 5px;
|
|
774
|
-
border-radius: 2px;
|
|
775
|
-
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.25);
|
|
667
|
+
.bubble {
|
|
668
|
+
padding: 8px 16px;
|
|
776
669
|
}
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
color: #147aff !important;
|
|
670
|
+
.bubble-in {
|
|
671
|
+
border-radius: 0px 16px 16px 16px;
|
|
780
672
|
}
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
border: 1px solid #DDDDDD;
|
|
673
|
+
.bubble-in.group {
|
|
674
|
+
border-radius: 0px 16px 16px 16px;
|
|
784
675
|
}
|
|
785
|
-
|
|
786
676
|
.bubble-out {
|
|
787
|
-
|
|
788
|
-
border: 1px solid #F2F7FF;
|
|
677
|
+
border-radius: 16px 16px 0 16px;
|
|
789
678
|
}
|
|
790
679
|
|
|
791
|
-
.
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
background: none;
|
|
680
|
+
.message-status {
|
|
681
|
+
display: flex;
|
|
682
|
+
align-items: flex-end;
|
|
683
|
+
align-self: flex-end;
|
|
796
684
|
}
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
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;
|
|
800
693
|
}
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
color: #147aff;
|
|
804
|
-
padding: 3px;
|
|
694
|
+
[data-uikit-theme=light] .message-status .time {
|
|
695
|
+
color: var(--chat-theme-light-text-secondary);
|
|
805
696
|
}
|
|
806
|
-
.
|
|
807
|
-
|
|
808
|
-
align-items: center;
|
|
809
|
-
height: 100%;
|
|
810
|
-
padding: 0 8px;
|
|
811
|
-
gap: 8px;
|
|
697
|
+
[data-uikit-theme=dark] .message-status .time {
|
|
698
|
+
color: var(--chat-theme-dark-text-secondary);
|
|
812
699
|
}
|
|
813
700
|
|
|
814
|
-
.
|
|
815
|
-
height: 100%;
|
|
816
|
-
display: flex;
|
|
817
|
-
align-items: center;
|
|
701
|
+
.message-image, .message-video {
|
|
818
702
|
position: relative;
|
|
819
703
|
}
|
|
820
|
-
.
|
|
704
|
+
.message-image .message-status, .message-video .message-status {
|
|
821
705
|
position: absolute;
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
}
|
|
825
|
-
|
|
826
|
-
.plugin-popup-box {
|
|
827
|
-
background: #FFFFFF;
|
|
828
|
-
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
|
|
829
|
-
border-radius: 16px;
|
|
706
|
+
bottom: 10px;
|
|
707
|
+
right: 10px;
|
|
830
708
|
}
|
|
831
|
-
.
|
|
832
|
-
|
|
833
|
-
flex-direction: column;
|
|
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);
|
|
834
711
|
}
|
|
835
|
-
.
|
|
836
|
-
|
|
837
|
-
display: flex;
|
|
838
|
-
align-items: center;
|
|
839
|
-
padding: 14px 12px;
|
|
840
|
-
gap: 12px;
|
|
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);
|
|
841
714
|
}
|
|
842
|
-
|
|
843
|
-
|
|
715
|
+
|
|
716
|
+
.message-text {
|
|
844
717
|
display: flex;
|
|
845
|
-
padding: 0 8px;
|
|
846
|
-
position: relative;
|
|
847
|
-
min-height: 20px;
|
|
848
|
-
max-height: 200px;
|
|
849
|
-
border-radius: 15px;
|
|
850
|
-
overflow: hidden;
|
|
851
|
-
padding: 10px;
|
|
852
718
|
}
|
|
853
|
-
.
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
font-family: PingFangSC-Medium;
|
|
719
|
+
.message-text-content {
|
|
720
|
+
display: inline;
|
|
721
|
+
word-break: break-word;
|
|
722
|
+
font-family: PingFangSC-Regular;
|
|
858
723
|
font-style: normal;
|
|
859
724
|
font-weight: 500;
|
|
860
725
|
font-size: 14px;
|
|
861
|
-
line-height:
|
|
862
|
-
padding: 1px 2px;
|
|
726
|
+
line-height: 24px;
|
|
863
727
|
}
|
|
864
|
-
.
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
728
|
+
.message-text-content-p {
|
|
729
|
+
white-space: pre-wrap;
|
|
730
|
+
display: inline;
|
|
731
|
+
vertical-align: middle;
|
|
732
|
+
}
|
|
733
|
+
[data-uikit-theme=light] .message-text-content-p {
|
|
734
|
+
color: var(--chat-theme-light-text-primary);
|
|
735
|
+
}
|
|
736
|
+
[data-uikit-theme=dark] .message-text-content-p {
|
|
737
|
+
color: var(--chat-theme-dark-text-primary);
|
|
738
|
+
}
|
|
739
|
+
.message-text-content .message-status {
|
|
740
|
+
display: inline-flex;
|
|
741
|
+
float: right;
|
|
742
|
+
clear: right;
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
.message-text,
|
|
746
|
+
.message-tip {
|
|
747
|
+
font-family: PingFangSC-Regular;
|
|
872
748
|
font-style: normal;
|
|
873
749
|
font-weight: 500;
|
|
874
750
|
font-size: 14px;
|
|
875
751
|
line-height: 17px;
|
|
876
|
-
margin: 9px;
|
|
877
|
-
resize: none;
|
|
878
|
-
border: none;
|
|
879
|
-
background: none;
|
|
880
752
|
}
|
|
881
|
-
.
|
|
882
|
-
|
|
883
|
-
|
|
753
|
+
.message-text .text-img,
|
|
754
|
+
.message-tip .text-img {
|
|
755
|
+
width: 20px;
|
|
756
|
+
height: 20px;
|
|
757
|
+
vertical-align: middle;
|
|
884
758
|
}
|
|
885
|
-
|
|
886
|
-
|
|
759
|
+
|
|
760
|
+
.message-image {
|
|
761
|
+
background: #FFFFFF;
|
|
887
762
|
}
|
|
888
|
-
.
|
|
889
|
-
|
|
890
|
-
display: flex;
|
|
891
|
-
align-items: center;
|
|
763
|
+
.message-image img {
|
|
764
|
+
max-width: 300px;
|
|
892
765
|
}
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
766
|
+
.message-image .img-h5 {
|
|
767
|
+
max-width: 200px;
|
|
768
|
+
max-height: 200px;
|
|
769
|
+
}
|
|
770
|
+
.message-image .big-image {
|
|
771
|
+
max-width: 90%;
|
|
772
|
+
max-height: 90%;
|
|
896
773
|
}
|
|
897
774
|
|
|
898
|
-
.
|
|
775
|
+
.message-video {
|
|
776
|
+
max-width: 300px;
|
|
777
|
+
}
|
|
778
|
+
.message-video .snap-video {
|
|
899
779
|
position: relative;
|
|
780
|
+
height: 100%;
|
|
781
|
+
border-radius: 10px;
|
|
900
782
|
}
|
|
901
|
-
.
|
|
783
|
+
.message-video .snap-video::before {
|
|
902
784
|
position: absolute;
|
|
903
|
-
z-index:
|
|
904
|
-
|
|
785
|
+
z-index: 1;
|
|
786
|
+
content: "";
|
|
787
|
+
width: 0px;
|
|
788
|
+
height: 0px;
|
|
789
|
+
border: 15px solid transparent;
|
|
790
|
+
border-left: 20px solid #ffffff;
|
|
791
|
+
top: 0;
|
|
792
|
+
left: 0;
|
|
793
|
+
bottom: 0;
|
|
794
|
+
right: 0;
|
|
795
|
+
margin: auto;
|
|
905
796
|
}
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
font-size: 16px;
|
|
911
|
-
font-family: PingFangSC-Medium;
|
|
912
|
-
line-height: 19px;
|
|
913
|
-
display: flex;
|
|
797
|
+
.message-video video {
|
|
798
|
+
width: 100%;
|
|
799
|
+
height: 100%;
|
|
800
|
+
border-radius: 10px;
|
|
914
801
|
}
|
|
915
|
-
.
|
|
916
|
-
|
|
802
|
+
.message-video .play-video {
|
|
803
|
+
max-width: 95%;
|
|
804
|
+
max-height: 65%;
|
|
917
805
|
}
|
|
918
806
|
|
|
919
|
-
.
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
807
|
+
.message-video.message-video-h5 {
|
|
808
|
+
max-width: 200px;
|
|
809
|
+
max-height: 200px;
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
.message-file {
|
|
923
813
|
display: flex;
|
|
924
|
-
flex-
|
|
925
|
-
|
|
814
|
+
flex-direction: column;
|
|
815
|
+
border: 1px solid #ddd;
|
|
926
816
|
}
|
|
927
|
-
.
|
|
928
|
-
|
|
929
|
-
|
|
817
|
+
.message-file-main {
|
|
818
|
+
display: flex;
|
|
819
|
+
align-items: center;
|
|
820
|
+
padding: 12px;
|
|
821
|
+
background: #FFFFFF;
|
|
822
|
+
border-radius: 4px;
|
|
930
823
|
}
|
|
931
|
-
.
|
|
932
|
-
|
|
824
|
+
.message-file-main .icon {
|
|
825
|
+
margin-right: 7px;
|
|
933
826
|
}
|
|
934
|
-
.
|
|
935
|
-
|
|
827
|
+
.message-file-footer {
|
|
828
|
+
display: flex;
|
|
829
|
+
justify-content: space-between;
|
|
830
|
+
align-items: flex-end;
|
|
936
831
|
}
|
|
937
|
-
.
|
|
832
|
+
.message-file-footer .time {
|
|
833
|
+
padding-top: 10px;
|
|
834
|
+
}
|
|
835
|
+
.message-file-size {
|
|
836
|
+
padding-top: 10px;
|
|
837
|
+
font-weight: 400;
|
|
838
|
+
font-size: 12px;
|
|
839
|
+
font-family: PingFangSC-Medium;
|
|
840
|
+
line-height: 14px;
|
|
841
|
+
color: #7A7A7A;
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
.message-merger {
|
|
938
845
|
display: flex;
|
|
939
|
-
|
|
940
|
-
|
|
846
|
+
flex-direction: column;
|
|
847
|
+
background: #ECEBEB;
|
|
941
848
|
}
|
|
942
|
-
.
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
padding: 10px;
|
|
849
|
+
.message-merger h3 {
|
|
850
|
+
padding-bottom: 4px;
|
|
851
|
+
border-bottom: 1px solid #a1a1a1;
|
|
946
852
|
}
|
|
947
|
-
.
|
|
948
|
-
|
|
853
|
+
.message-merger-list {
|
|
854
|
+
opacity: 0.6;
|
|
949
855
|
}
|
|
950
|
-
.
|
|
951
|
-
|
|
856
|
+
.message-merger-item {
|
|
857
|
+
padding-top: 4px;
|
|
952
858
|
}
|
|
953
859
|
|
|
954
|
-
.
|
|
955
|
-
|
|
956
|
-
padding: 10px 16px;
|
|
957
|
-
min-width: 180px;
|
|
860
|
+
.meesage-bubble-reply {
|
|
861
|
+
padding: 8px 16px;
|
|
958
862
|
}
|
|
959
|
-
.
|
|
960
|
-
color:
|
|
863
|
+
[data-uikit-theme=light] .meesage-bubble-reply {
|
|
864
|
+
background-color: var(--chat-theme-light-bg-secondary);
|
|
961
865
|
}
|
|
962
|
-
.
|
|
963
|
-
|
|
964
|
-
cursor: pointer;
|
|
965
|
-
left: 0;
|
|
966
|
-
top: 0;
|
|
967
|
-
opacity: 0;
|
|
968
|
-
width: 100%;
|
|
969
|
-
height: 100%;
|
|
866
|
+
[data-uikit-theme=dark] .meesage-bubble-reply {
|
|
867
|
+
background-color: var(--chat-theme-dark-bg-secondary);
|
|
970
868
|
}
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
padding: 7px 16px;
|
|
974
|
-
background: #F9F9F9;
|
|
975
|
-
display: flex;
|
|
976
|
-
align-items: center;
|
|
869
|
+
.meesage-bubble-reply-in {
|
|
870
|
+
border-radius: 16px 16px 16px 0;
|
|
977
871
|
}
|
|
978
|
-
.
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
872
|
+
.meesage-bubble-reply-out {
|
|
873
|
+
border-radius: 16px 16px 0px 16px;
|
|
874
|
+
}
|
|
875
|
+
.meesage-bubble-reply .message-text {
|
|
876
|
+
border: none !important;
|
|
877
|
+
}
|
|
878
|
+
.meesage-bubble-reply .bubble {
|
|
879
|
+
padding: 0;
|
|
880
|
+
}
|
|
881
|
+
.meesage-bubble-reply .bubble-in {
|
|
882
|
+
border-radius: 0;
|
|
883
|
+
}
|
|
884
|
+
.meesage-bubble-reply-main {
|
|
982
885
|
position: relative;
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
font-weight: 500;
|
|
986
|
-
font-size: 14px;
|
|
987
|
-
font-family: PingFangSC-Medium;
|
|
988
|
-
line-height: 17px;
|
|
989
|
-
color: #000000;
|
|
886
|
+
padding: 10px 14px;
|
|
887
|
+
margin-bottom: 10px;
|
|
990
888
|
}
|
|
991
|
-
.
|
|
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 {
|
|
992
896
|
content: "";
|
|
993
897
|
position: absolute;
|
|
994
898
|
width: 6px;
|
|
995
899
|
height: 100%;
|
|
996
|
-
background: #999999;
|
|
997
900
|
top: 0;
|
|
998
901
|
left: 0;
|
|
999
902
|
}
|
|
1000
|
-
.
|
|
1001
|
-
|
|
1002
|
-
opacity: 0.6;
|
|
903
|
+
[data-uikit-theme=light] .meesage-bubble-reply-main::before {
|
|
904
|
+
background-color: var(--chat-theme-light-bg-5);
|
|
1003
905
|
}
|
|
1004
|
-
|
|
1005
|
-
|
|
906
|
+
[data-uikit-theme=dark] .meesage-bubble-reply-main::before {
|
|
907
|
+
background-color: var(--chat-theme-dark-bg-5);
|
|
908
|
+
}
|
|
909
|
+
.meesage-bubble-reply-main .title {
|
|
910
|
+
font-weight: 500;
|
|
911
|
+
font-size: 14px;
|
|
912
|
+
padding-bottom: 10px;
|
|
913
|
+
}
|
|
914
|
+
[data-uikit-theme=light] .meesage-bubble-reply-main .title {
|
|
915
|
+
color: var(--chat-theme-light-text-primary);
|
|
916
|
+
}
|
|
917
|
+
[data-uikit-theme=dark] .meesage-bubble-reply-main .title {
|
|
918
|
+
color: var(--chat-theme-dark-text-primary);
|
|
919
|
+
}
|
|
920
|
+
.meesage-bubble-reply-main .message-context {
|
|
921
|
+
opacity: 0.6;
|
|
1006
922
|
}
|
|
1007
923
|
|
|
1008
|
-
.
|
|
1009
|
-
background: #FFFFFF;
|
|
1010
|
-
border-radius: 16px;
|
|
924
|
+
.meesage-bubble {
|
|
1011
925
|
display: flex;
|
|
1012
|
-
|
|
1013
|
-
overflow: hidden;
|
|
1014
|
-
width: 300px;
|
|
1015
|
-
max-height: 90%;
|
|
926
|
+
align-items: flex-end;
|
|
1016
927
|
}
|
|
1017
|
-
.
|
|
928
|
+
.meesage-bubble-status {
|
|
929
|
+
margin: 3px;
|
|
930
|
+
}
|
|
931
|
+
.meesage-bubble-context {
|
|
1018
932
|
display: flex;
|
|
1019
933
|
align-items: center;
|
|
1020
|
-
|
|
934
|
+
gap: 10px;
|
|
1021
935
|
}
|
|
1022
|
-
.
|
|
1023
|
-
|
|
1024
|
-
font-family: PingFangSC-Medium;
|
|
1025
|
-
font-style: normal;
|
|
1026
|
-
font-weight: 700;
|
|
1027
|
-
font-size: 14px;
|
|
1028
|
-
line-height: 17px;
|
|
936
|
+
.meesage-bubble-context .message-context {
|
|
937
|
+
flex: 1;
|
|
1029
938
|
}
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
939
|
+
|
|
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;
|
|
1034
949
|
}
|
|
1035
|
-
.
|
|
950
|
+
.icon-fail::before {
|
|
951
|
+
position: absolute;
|
|
952
|
+
content: "!";
|
|
953
|
+
color: #FFFFFF;
|
|
954
|
+
font-size: 12px;
|
|
1036
955
|
font-family: PingFangSC-Medium;
|
|
1037
|
-
font-size: 14px;
|
|
1038
|
-
font-style: normal;
|
|
1039
|
-
line-height: 20px;
|
|
1040
|
-
padding: 10px;
|
|
1041
|
-
text-align: center;
|
|
1042
|
-
color: #999999;
|
|
1043
956
|
}
|
|
1044
|
-
|
|
1045
|
-
|
|
957
|
+
|
|
958
|
+
.message-face {
|
|
959
|
+
display: flex;
|
|
960
|
+
flex-direction: column;
|
|
1046
961
|
}
|
|
1047
|
-
.
|
|
1048
|
-
|
|
962
|
+
.message-face .img {
|
|
963
|
+
max-width: 88px;
|
|
1049
964
|
}
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
font-size: 14px;
|
|
1055
|
-
line-height: 20px;
|
|
965
|
+
|
|
966
|
+
.loading {
|
|
967
|
+
display: inline-block;
|
|
968
|
+
position: relative;
|
|
1056
969
|
}
|
|
1057
|
-
.
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
font-size: 14px;
|
|
1063
|
-
line-height: 20px;
|
|
1064
|
-
display: flex;
|
|
1065
|
-
justify-content: space-between;
|
|
1066
|
-
align-items: center;
|
|
1067
|
-
width: 100%;
|
|
970
|
+
.loading .img, .loading video {
|
|
971
|
+
min-width: 60px;
|
|
972
|
+
min-height: 60px;
|
|
973
|
+
max-width: 300px;
|
|
974
|
+
border-radius: 10px;
|
|
1068
975
|
}
|
|
1069
|
-
.
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
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;
|
|
982
|
+
}
|
|
983
|
+
.loading::before {
|
|
984
|
+
position: absolute;
|
|
985
|
+
content: "";
|
|
986
|
+
background: rgba(0, 0, 0, 0.5);
|
|
987
|
+
border-radius: 10px;
|
|
1073
988
|
width: 100%;
|
|
989
|
+
height: 100%;
|
|
990
|
+
top: 0;
|
|
991
|
+
left: 0;
|
|
1074
992
|
}
|
|
1075
|
-
.
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
993
|
+
.loading::after {
|
|
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;
|
|
1003
|
+
top: 0;
|
|
1004
|
+
left: 0;
|
|
1005
|
+
right: 0;
|
|
1006
|
+
bottom: 0;
|
|
1007
|
+
margin: auto;
|
|
1088
1008
|
}
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1009
|
+
@keyframes spin {
|
|
1010
|
+
0% {
|
|
1011
|
+
transform: rotate(0deg);
|
|
1012
|
+
}
|
|
1013
|
+
100% {
|
|
1014
|
+
transform: rotate(360deg);
|
|
1015
|
+
}
|
|
1095
1016
|
}
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
padding: 10px 21px;
|
|
1101
|
-
font-family: PingFangSC-Medium;
|
|
1102
|
-
font-style: normal;
|
|
1103
|
-
font-weight: 400;
|
|
1104
|
-
font-size: 14px;
|
|
1105
|
-
line-height: 20px;
|
|
1106
|
-
color: #FFFFFF;
|
|
1107
|
-
border: none;
|
|
1017
|
+
|
|
1018
|
+
.message-plugin {
|
|
1019
|
+
width: 32px;
|
|
1020
|
+
margin: 0 5px;
|
|
1108
1021
|
}
|
|
1109
|
-
.
|
|
1110
|
-
|
|
1022
|
+
.message-plugin .icon-more {
|
|
1023
|
+
transform: scale(1.5);
|
|
1024
|
+
}
|
|
1025
|
+
.message-plugin .plugin-popup-box {
|
|
1026
|
+
bottom: auto;
|
|
1027
|
+
top: 100%;
|
|
1111
1028
|
overflow: hidden;
|
|
1112
|
-
word-break: break-all;
|
|
1113
|
-
text-overflow: ellipsis;
|
|
1114
|
-
display: -webkit-box;
|
|
1115
|
-
-webkit-line-clamp: 3;
|
|
1116
|
-
-webkit-box-orient: vertical;
|
|
1117
1029
|
}
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
padding: 0 10px;
|
|
1030
|
+
.message-plugin-box {
|
|
1031
|
+
padding: 6px 0;
|
|
1121
1032
|
}
|
|
1122
|
-
.
|
|
1123
|
-
|
|
1033
|
+
.message-plugin-item {
|
|
1034
|
+
min-width: 144px;
|
|
1035
|
+
padding: 6px 13px;
|
|
1036
|
+
display: flex;
|
|
1037
|
+
justify-content: space-between;
|
|
1038
|
+
align-items: center;
|
|
1039
|
+
font-weight: 500;
|
|
1040
|
+
font-size: 12.8px;
|
|
1041
|
+
font-family: PingFangSC-Medium;
|
|
1042
|
+
line-height: 15px;
|
|
1124
1043
|
}
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1044
|
+
.message-plugin-item:hover {
|
|
1045
|
+
background: rgba(0, 110, 255, 0.1);
|
|
1046
|
+
color: #147aff;
|
|
1128
1047
|
}
|
|
1129
|
-
.
|
|
1130
|
-
|
|
1131
|
-
background: #FFFFFF;
|
|
1048
|
+
.message-plugin-item .del {
|
|
1049
|
+
color: #FF584C;
|
|
1132
1050
|
}
|
|
1133
1051
|
|
|
1134
|
-
.
|
|
1135
|
-
background: #FFFFFF;
|
|
1136
|
-
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.25);
|
|
1137
|
-
border-radius: 16px;
|
|
1138
|
-
}
|
|
1139
|
-
.tui-kit-avatar {
|
|
1052
|
+
.message-custom {
|
|
1140
1053
|
display: flex;
|
|
1141
|
-
|
|
1142
|
-
position: relative;
|
|
1143
|
-
cursor: pointer;
|
|
1144
|
-
flex-shrink: 0;
|
|
1054
|
+
word-break: break-all;
|
|
1145
1055
|
}
|
|
1146
|
-
.
|
|
1147
|
-
|
|
1056
|
+
.message-custom a {
|
|
1057
|
+
color: #679ce1;
|
|
1058
|
+
text-decoration: none;
|
|
1059
|
+
font-family: PingFangSC-Regular;
|
|
1060
|
+
font-style: normal;
|
|
1061
|
+
font-weight: 500;
|
|
1062
|
+
font-size: 14px;
|
|
1063
|
+
line-height: 17px;
|
|
1148
1064
|
}
|
|
1149
|
-
.
|
|
1150
|
-
|
|
1065
|
+
.message-custom p {
|
|
1066
|
+
font-family: PingFangSC-Regular;
|
|
1067
|
+
font-size: 14px;
|
|
1068
|
+
font-style: normal;
|
|
1069
|
+
font-weight: 500;
|
|
1070
|
+
line-height: 17px;
|
|
1151
1071
|
}
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1072
|
+
|
|
1073
|
+
.message-revoke {
|
|
1074
|
+
color: #999999;
|
|
1155
1075
|
}
|
|
1156
|
-
|
|
1076
|
+
|
|
1077
|
+
.message-audio {
|
|
1157
1078
|
display: flex;
|
|
1079
|
+
align-items: center;
|
|
1158
1080
|
}
|
|
1159
|
-
.
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
background: rgba(0, 0, 0, 0.33);
|
|
1164
|
-
width: 100%;
|
|
1165
|
-
height: 100%;
|
|
1166
|
-
border-radius: 100%;
|
|
1081
|
+
.message-audio .out {
|
|
1082
|
+
transform: rotate(180deg);
|
|
1083
|
+
}
|
|
1084
|
+
.message-audio-none {
|
|
1167
1085
|
display: none;
|
|
1168
|
-
justify-content: center;
|
|
1169
|
-
align-items: center;
|
|
1170
1086
|
}
|
|
1171
|
-
.
|
|
1172
|
-
position: absolute;
|
|
1173
|
-
z-index: 2;
|
|
1174
|
-
top: 100%;
|
|
1175
|
-
background: #FFFFFF;
|
|
1176
|
-
border-radius: 5px;
|
|
1177
|
-
box-shadow: 0 11px 20px 0 rgb(0, 0, 0);
|
|
1087
|
+
.message-audio-content {
|
|
1178
1088
|
display: flex;
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
width: 100%;
|
|
1182
|
-
min-width: 200px;
|
|
1183
|
-
max-width: 400px;
|
|
1184
|
-
padding: 10px;
|
|
1089
|
+
align-items: center;
|
|
1090
|
+
gap: 10px;
|
|
1185
1091
|
}
|
|
1186
|
-
.
|
|
1187
|
-
|
|
1092
|
+
.message-audio-out {
|
|
1093
|
+
flex-direction: row-reverse;
|
|
1188
1094
|
}
|
|
1189
|
-
.
|
|
1190
|
-
|
|
1095
|
+
.message-audio .playing {
|
|
1096
|
+
animation: playingAnimation 1s ease-in-out infinite;
|
|
1191
1097
|
}
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1098
|
+
@keyframes playingAnimation {
|
|
1099
|
+
0% {
|
|
1100
|
+
opacity: 1;
|
|
1101
|
+
}
|
|
1102
|
+
50% {
|
|
1103
|
+
opacity: 0.3;
|
|
1104
|
+
}
|
|
1105
|
+
100% {
|
|
1106
|
+
opacity: 1;
|
|
1107
|
+
}
|
|
1195
1108
|
}
|
|
1196
1109
|
|
|
1197
|
-
.
|
|
1198
|
-
|
|
1199
|
-
align-items: center;
|
|
1200
|
-
background-color: #FFFFFF;
|
|
1201
|
-
border: none;
|
|
1202
|
-
width: 100%;
|
|
1203
|
-
height: 64px;
|
|
1204
|
-
cursor: pointer;
|
|
1205
|
-
line-height: 17px;
|
|
1206
|
-
padding: 0 20px;
|
|
1110
|
+
.high-lighted {
|
|
1111
|
+
animation: highLightedAnimation 1s ease-in-out forwards;
|
|
1207
1112
|
}
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
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
|
+
}
|
|
1213
1133
|
}
|
|
1214
|
-
.
|
|
1215
|
-
font-style: normal;
|
|
1216
|
-
font-weight: 700;
|
|
1217
|
-
font-size: 14px;
|
|
1218
|
-
line-height: 17px;
|
|
1219
|
-
font-family: PingFangSC-Medium;
|
|
1220
|
-
padding: 1px 0;
|
|
1134
|
+
.progress-box {
|
|
1221
1135
|
width: 100%;
|
|
1222
|
-
|
|
1136
|
+
height: 5px;
|
|
1137
|
+
display: flex;
|
|
1138
|
+
justify-content: flex-start;
|
|
1223
1139
|
}
|
|
1224
|
-
.
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
font-weight: 400;
|
|
1232
|
-
font-size: 12px;
|
|
1233
|
-
line-height: 14px;
|
|
1234
|
-
padding: 1px 0;
|
|
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);
|
|
1235
1147
|
}
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
display: flex;
|
|
1240
|
-
flex-direction: column;
|
|
1148
|
+
|
|
1149
|
+
.website {
|
|
1150
|
+
color: #147aff !important;
|
|
1241
1151
|
}
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
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);
|
|
1245
1156
|
}
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
font-style: normal;
|
|
1250
|
-
font-weight: 400;
|
|
1251
|
-
font-size: 12px;
|
|
1252
|
-
line-height: 14px;
|
|
1253
|
-
padding: 1px 0;
|
|
1157
|
+
[data-uikit-theme=dark] .message-text,
|
|
1158
|
+
[data-uikit-theme=dark] .message-custom {
|
|
1159
|
+
border: 1px solid var(--chat-theme-dark-border-5);
|
|
1254
1160
|
}
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
flex: 1 1;
|
|
1161
|
+
|
|
1162
|
+
[data-uikit-theme=light] .bubble {
|
|
1163
|
+
background-color: var(--chat-theme-light-bg-primary);
|
|
1259
1164
|
}
|
|
1260
|
-
|
|
1261
|
-
|
|
1165
|
+
[data-uikit-theme=dark] .bubble {
|
|
1166
|
+
background-color: var(--chat-theme-dark-bg-primary);
|
|
1262
1167
|
}
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
|
1267
|
-
bottom: initial;
|
|
1268
|
-
padding: 14px 0;
|
|
1269
|
-
box-sizing: border-box;
|
|
1270
|
-
text-align: start;
|
|
1271
|
-
white-space: nowrap;
|
|
1168
|
+
[data-uikit-theme=light] .bubble-out {
|
|
1169
|
+
border: none;
|
|
1170
|
+
background-color: var(--chat-theme-light-bg-secondary);
|
|
1272
1171
|
}
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
line-height: 19px;
|
|
1277
|
-
padding: 6px 16px;
|
|
1278
|
-
cursor: pointer;
|
|
1279
|
-
font-weight: 500;
|
|
1280
|
-
box-sizing: border-box;
|
|
1172
|
+
[data-uikit-theme=dark] .bubble-out {
|
|
1173
|
+
border: none;
|
|
1174
|
+
background-color: var(--chat-theme-dark-bg-secondary);
|
|
1281
1175
|
}
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
color: #FFFFFF !important;
|
|
1176
|
+
|
|
1177
|
+
.meesage-bubble-reply-out .meesage-bubble-reply-main .message-text {
|
|
1178
|
+
background: none;
|
|
1286
1179
|
}
|
|
1287
|
-
|
|
1288
|
-
|
|
1180
|
+
|
|
1181
|
+
[data-uikit-theme=light] .message-tip {
|
|
1182
|
+
color: var(--chat-theme-light-text-secondary);
|
|
1289
1183
|
}
|
|
1290
|
-
|
|
1291
|
-
|
|
1184
|
+
[data-uikit-theme=dark] .message-tip {
|
|
1185
|
+
color: var(--chat-theme-dark-text-secondary);
|
|
1292
1186
|
}
|
|
1293
|
-
|
|
1294
|
-
|
|
1187
|
+
|
|
1188
|
+
.tip .bubble .edit {
|
|
1189
|
+
color: #147aff;
|
|
1190
|
+
padding: 3px;
|
|
1295
1191
|
}
|
|
1296
|
-
.
|
|
1297
|
-
|
|
1192
|
+
.plugin {
|
|
1193
|
+
display: flex;
|
|
1194
|
+
align-items: center;
|
|
1195
|
+
height: 100%;
|
|
1196
|
+
padding: 0 8px;
|
|
1197
|
+
gap: 8px;
|
|
1298
1198
|
}
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
height:
|
|
1302
|
-
background: #FF3742;
|
|
1303
|
-
border-radius: 16px;
|
|
1199
|
+
|
|
1200
|
+
.plugin-popup {
|
|
1201
|
+
height: 100%;
|
|
1304
1202
|
display: flex;
|
|
1305
|
-
justify-content: center;
|
|
1306
1203
|
align-items: center;
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1204
|
+
position: relative;
|
|
1205
|
+
}
|
|
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);
|
|
1312
1228
|
}
|
|
1313
1229
|
.tui-chat-header {
|
|
1314
1230
|
padding: 16px 20px;
|
|
@@ -1317,6 +1233,12 @@ ul li {
|
|
|
1317
1233
|
justify-content: space-between;
|
|
1318
1234
|
align-items: center;
|
|
1319
1235
|
}
|
|
1236
|
+
[data-uikit-theme=light] .tui-chat-header {
|
|
1237
|
+
background-color: var(--chat-theme-light-bg-primary);
|
|
1238
|
+
}
|
|
1239
|
+
[data-uikit-theme=dark] .tui-chat-header {
|
|
1240
|
+
background-color: var(--chat-theme-dark-bg-primary);
|
|
1241
|
+
}
|
|
1320
1242
|
.tui-chat-header-left {
|
|
1321
1243
|
display: flex;
|
|
1322
1244
|
align-items: center;
|
|
@@ -1333,7 +1255,12 @@ ul li {
|
|
|
1333
1255
|
font-style: normal;
|
|
1334
1256
|
font-weight: 700;
|
|
1335
1257
|
font-size: 14px;
|
|
1336
|
-
|
|
1258
|
+
}
|
|
1259
|
+
[data-uikit-theme=light] .tui-chat-header .title {
|
|
1260
|
+
color: var(--chat-theme-light-text-primary);
|
|
1261
|
+
}
|
|
1262
|
+
[data-uikit-theme=dark] .tui-chat-header .title {
|
|
1263
|
+
color: var(--chat-theme-dark-text-primary);
|
|
1337
1264
|
}
|
|
1338
1265
|
.tui-chat-header .system {
|
|
1339
1266
|
height: 32px;
|
|
@@ -1365,6 +1292,12 @@ ul li {
|
|
|
1365
1292
|
position: relative;
|
|
1366
1293
|
padding: 0 20px;
|
|
1367
1294
|
}
|
|
1295
|
+
[data-uikit-theme=light] .message-list {
|
|
1296
|
+
background-color: var(--chat-theme-light-bg-primary);
|
|
1297
|
+
}
|
|
1298
|
+
[data-uikit-theme=dark] .message-list {
|
|
1299
|
+
background-color: var(--chat-theme-dark-bg-primary);
|
|
1300
|
+
}
|
|
1368
1301
|
.message-list.hide {
|
|
1369
1302
|
opacity: 0;
|
|
1370
1303
|
}
|
|
@@ -1379,10 +1312,14 @@ ul li {
|
|
|
1379
1312
|
font-style: normal;
|
|
1380
1313
|
font-weight: 500;
|
|
1381
1314
|
line-height: 17px;
|
|
1382
|
-
|
|
1315
|
+
}
|
|
1316
|
+
[data-uikit-theme=light] .message-list .no-more {
|
|
1317
|
+
color: var(--chat-theme-light-text-secondary);
|
|
1318
|
+
}
|
|
1319
|
+
[data-uikit-theme=dark] .message-list .no-more {
|
|
1320
|
+
color: var(--chat-theme-dark-text-secondary);
|
|
1383
1321
|
}
|
|
1384
1322
|
.message-list-time {
|
|
1385
|
-
color: #7a7a7a;
|
|
1386
1323
|
font-family: PingFangSC-Medium;
|
|
1387
1324
|
font-size: 12px;
|
|
1388
1325
|
font-weight: 400;
|
|
@@ -1390,31 +1327,33 @@ ul li {
|
|
|
1390
1327
|
padding: 10px;
|
|
1391
1328
|
text-align: center;
|
|
1392
1329
|
}
|
|
1330
|
+
[data-uikit-theme=light] .message-list-time {
|
|
1331
|
+
color: var(--chat-theme-light-text-secondary);
|
|
1332
|
+
}
|
|
1333
|
+
[data-uikit-theme=dark] .message-list-time {
|
|
1334
|
+
color: var(--chat-theme-dark-text-secondary);
|
|
1335
|
+
}
|
|
1393
1336
|
.tui-profile {
|
|
1394
1337
|
display: flex;
|
|
1395
1338
|
flex-direction: column;
|
|
1396
1339
|
align-items: center;
|
|
1397
|
-
width: 30%;
|
|
1398
|
-
max-width: 360px;
|
|
1399
|
-
min-width: 360px;
|
|
1400
|
-
height: 100%;
|
|
1401
1340
|
}
|
|
1402
1341
|
.tui-profile-header {
|
|
1403
1342
|
box-sizing: border-box;
|
|
1404
1343
|
width: 100%;
|
|
1405
|
-
padding:
|
|
1344
|
+
padding: 15px;
|
|
1406
1345
|
display: flex;
|
|
1407
1346
|
align-items: center;
|
|
1408
|
-
line-height: 32px;
|
|
1409
1347
|
}
|
|
1410
1348
|
.tui-profile-header h1 {
|
|
1349
|
+
font-size: 16px;
|
|
1411
1350
|
font-weight: 600;
|
|
1412
1351
|
padding: 0 11px;
|
|
1413
1352
|
}
|
|
1414
1353
|
.tui-profile-main {
|
|
1415
1354
|
max-width: 100%;
|
|
1416
1355
|
box-sizing: border-box;
|
|
1417
|
-
padding:
|
|
1356
|
+
padding: 10px 10px 0;
|
|
1418
1357
|
display: flex;
|
|
1419
1358
|
flex-direction: column;
|
|
1420
1359
|
align-items: center;
|
|
@@ -1438,24 +1377,28 @@ ul li {
|
|
|
1438
1377
|
}
|
|
1439
1378
|
.tui-profile-ID {
|
|
1440
1379
|
padding: 6px 0;
|
|
1380
|
+
margin: 0;
|
|
1441
1381
|
display: flex;
|
|
1442
1382
|
align-items: center;
|
|
1443
1383
|
font-weight: 400;
|
|
1444
1384
|
font-size: 12px;
|
|
1445
1385
|
font-family: PingFangSC-Medium;
|
|
1446
1386
|
line-height: 14px;
|
|
1447
|
-
color: #
|
|
1387
|
+
color: #666;
|
|
1388
|
+
}
|
|
1389
|
+
.tui-profile-ID h5 {
|
|
1390
|
+
margin: 0;
|
|
1448
1391
|
}
|
|
1449
1392
|
.tui-profile-list {
|
|
1450
1393
|
box-sizing: border-box;
|
|
1451
1394
|
width: 100%;
|
|
1452
|
-
padding: 0
|
|
1395
|
+
padding: 0 15px;
|
|
1453
1396
|
display: flex;
|
|
1454
1397
|
flex-direction: column;
|
|
1455
1398
|
user-select: none;
|
|
1456
1399
|
}
|
|
1457
1400
|
.tui-profile-list-item {
|
|
1458
|
-
padding:
|
|
1401
|
+
padding: 0;
|
|
1459
1402
|
cursor: pointer;
|
|
1460
1403
|
}
|
|
1461
1404
|
.tui-profile-list-item h4 {
|
|
@@ -1464,11 +1407,12 @@ ul li {
|
|
|
1464
1407
|
font-size: 16px;
|
|
1465
1408
|
font-family: PingFangSC-Medium;
|
|
1466
1409
|
line-height: 22px;
|
|
1410
|
+
margin: 10px 0;
|
|
1467
1411
|
color: rgba(0, 0, 0, 0.6);
|
|
1468
1412
|
}
|
|
1469
1413
|
.tui-profile-div-with-edit {
|
|
1470
1414
|
padding: 4px 0;
|
|
1471
|
-
border-bottom: 1px solid #
|
|
1415
|
+
border-bottom: 1px solid #eee;
|
|
1472
1416
|
}
|
|
1473
1417
|
.tui-profile-edit {
|
|
1474
1418
|
border-bottom: none !important;
|
|
@@ -1482,7 +1426,7 @@ ul li {
|
|
|
1482
1426
|
}
|
|
1483
1427
|
.tui-profile-birthday .react-date-picker__calendar .react-calendar__navigation {
|
|
1484
1428
|
height: 20px !important;
|
|
1485
|
-
margin-bottom:
|
|
1429
|
+
margin-bottom: 0;
|
|
1486
1430
|
}
|
|
1487
1431
|
.tui-profile-birthday-calendar {
|
|
1488
1432
|
border: none !important;
|
|
@@ -1525,7 +1469,7 @@ ul li {
|
|
|
1525
1469
|
box-sizing: border-box;
|
|
1526
1470
|
}
|
|
1527
1471
|
.tui-kit-input-box.tui-kit-input-box--focus {
|
|
1528
|
-
outline: 1px solid #
|
|
1472
|
+
outline: 1px solid #147aff;
|
|
1529
1473
|
}
|
|
1530
1474
|
.tui-kit-input-box.tui-kit-input-border--bottom {
|
|
1531
1475
|
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
|
|
@@ -1544,6 +1488,7 @@ ul li {
|
|
|
1544
1488
|
border-radius: 10px;
|
|
1545
1489
|
border: none;
|
|
1546
1490
|
box-sizing: border-box;
|
|
1491
|
+
font-size: 14px;
|
|
1547
1492
|
}
|
|
1548
1493
|
.tui-kit-input-box .tui-kit-input:focus {
|
|
1549
1494
|
border: none;
|
|
@@ -1563,12 +1508,12 @@ ul li {
|
|
|
1563
1508
|
border-left: 1px solid #f9fafb;
|
|
1564
1509
|
}
|
|
1565
1510
|
.tui-manage .red {
|
|
1566
|
-
color: #
|
|
1511
|
+
color: #ff584c !important;
|
|
1567
1512
|
}
|
|
1568
1513
|
.tui-manage .tui-manage-title {
|
|
1569
1514
|
display: flex;
|
|
1570
1515
|
align-items: center;
|
|
1571
|
-
padding: 24px
|
|
1516
|
+
padding: 24px 10px;
|
|
1572
1517
|
}
|
|
1573
1518
|
.tui-manage .tui-manage-title span {
|
|
1574
1519
|
margin-right: 10px;
|
|
@@ -1599,7 +1544,7 @@ ul li {
|
|
|
1599
1544
|
font-size: 12px;
|
|
1600
1545
|
font-family: PingFangSC-Medium;
|
|
1601
1546
|
line-height: 14px;
|
|
1602
|
-
color: #
|
|
1547
|
+
color: #666;
|
|
1603
1548
|
margin-bottom: 30px;
|
|
1604
1549
|
text-align: center;
|
|
1605
1550
|
}
|
|
@@ -1623,7 +1568,7 @@ ul li {
|
|
|
1623
1568
|
}
|
|
1624
1569
|
|
|
1625
1570
|
.tui-manage.tui-h5-manage {
|
|
1626
|
-
border-left:
|
|
1571
|
+
border-left: none;
|
|
1627
1572
|
display: flex;
|
|
1628
1573
|
flex-direction: column;
|
|
1629
1574
|
position: absolute;
|
|
@@ -1776,7 +1721,7 @@ ul li {
|
|
|
1776
1721
|
.model {
|
|
1777
1722
|
background: rgba(0, 0, 0, 0.5);
|
|
1778
1723
|
position: fixed;
|
|
1779
|
-
z-index:
|
|
1724
|
+
z-index: 5;
|
|
1780
1725
|
width: 100vw;
|
|
1781
1726
|
top: 0;
|
|
1782
1727
|
left: 0;
|