stream-chat-react 14.0.0-beta.5 → 14.0.0-beta.7
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/dist/cjs/{WithAudioPlayback.0c10cb67.js → WithAudioPlayback.83ba0e35.js} +295 -183
- package/dist/cjs/WithAudioPlayback.83ba0e35.js.map +1 -0
- package/dist/cjs/emojis.js +5 -2
- package/dist/cjs/emojis.js.map +1 -1
- package/dist/cjs/index.js +1630 -1465
- package/dist/cjs/index.js.map +1 -1
- package/dist/css/emoji-picker.css +11 -0
- package/dist/css/emoji-picker.css.map +1 -0
- package/dist/css/index.css +707 -893
- package/dist/css/index.css.map +1 -1
- package/dist/es/{WithAudioPlayback.e7821fd4.mjs → WithAudioPlayback.21b7f35a.mjs} +442 -330
- package/dist/es/WithAudioPlayback.21b7f35a.mjs.map +1 -0
- package/dist/es/emojis.mjs +5 -2
- package/dist/es/emojis.mjs.map +1 -1
- package/dist/es/index.mjs +1711 -1546
- package/dist/es/index.mjs.map +1 -1
- package/dist/types/components/Attachment/Audio.d.ts.map +1 -1
- package/dist/types/components/Attachment/FileAttachment.d.ts.map +1 -1
- package/dist/types/components/Attachment/UnsupportedAttachment.d.ts +1 -1
- package/dist/types/components/Attachment/UnsupportedAttachment.d.ts.map +1 -1
- package/dist/types/components/Attachment/VoiceRecording.d.ts.map +1 -1
- package/dist/types/components/Attachment/components/FileSizeIndicator.d.ts +1 -2
- package/dist/types/components/Attachment/components/FileSizeIndicator.d.ts.map +1 -1
- package/dist/types/components/AudioPlayback/components/useInteractiveProgressBar.d.ts.map +1 -1
- package/dist/types/components/AudioPlayback/plugins/AudioPlayerNotificationsPlugin.d.ts +4 -4
- package/dist/types/components/AudioPlayback/plugins/AudioPlayerNotificationsPlugin.d.ts.map +1 -1
- package/dist/types/components/Avatar/Avatar.d.ts +1 -1
- package/dist/types/components/Avatar/Avatar.d.ts.map +1 -1
- package/dist/types/components/Avatar/AvatarStack.d.ts +2 -2
- package/dist/types/components/Avatar/AvatarStack.d.ts.map +1 -1
- package/dist/types/components/Avatar/ChannelAvatar.d.ts +2 -6
- package/dist/types/components/Avatar/ChannelAvatar.d.ts.map +1 -1
- package/dist/types/components/Avatar/GroupAvatar.d.ts +6 -7
- package/dist/types/components/Avatar/GroupAvatar.d.ts.map +1 -1
- package/dist/types/components/Badge/MediaBadge.d.ts +8 -0
- package/dist/types/components/Badge/MediaBadge.d.ts.map +1 -0
- package/dist/types/components/Channel/Channel.d.ts.map +1 -1
- package/dist/types/components/ChannelHeader/ChannelHeader.d.ts +0 -2
- package/dist/types/components/ChannelHeader/ChannelHeader.d.ts.map +1 -1
- package/dist/types/components/ChannelList/ChannelList.d.ts.map +1 -1
- package/dist/types/components/ChannelList/ChannelListHeader.d.ts +1 -5
- package/dist/types/components/ChannelList/ChannelListHeader.d.ts.map +1 -1
- package/dist/types/components/ChannelList/hooks/index.d.ts +0 -11
- package/dist/types/components/ChannelList/hooks/index.d.ts.map +1 -1
- package/dist/types/components/ChannelList/utils.d.ts +0 -9
- package/dist/types/components/ChannelList/utils.d.ts.map +1 -1
- package/dist/types/components/ChannelListItem/ChannelListItem.d.ts +0 -2
- package/dist/types/components/ChannelListItem/ChannelListItem.d.ts.map +1 -1
- package/dist/types/components/ChannelListItem/ChannelListItemActionButtons.defaults.d.ts.map +1 -1
- package/dist/types/components/ChannelListItem/ChannelListItemUI.d.ts.map +1 -1
- package/dist/types/components/ChannelListItem/utils.d.ts.map +1 -1
- package/dist/types/components/Chat/Chat.d.ts +1 -5
- package/dist/types/components/Chat/Chat.d.ts.map +1 -1
- package/dist/types/components/Chat/hooks/useChat.d.ts +1 -10
- package/dist/types/components/Chat/hooks/useChat.d.ts.map +1 -1
- package/dist/types/components/Chat/hooks/useCreateChatContext.d.ts.map +1 -1
- package/dist/types/components/Chat/hooks/useReportLostConnectionSystemNotification.d.ts +6 -0
- package/dist/types/components/Chat/hooks/useReportLostConnectionSystemNotification.d.ts.map +1 -0
- package/dist/types/components/Chat/index.d.ts +1 -0
- package/dist/types/components/Chat/index.d.ts.map +1 -1
- package/dist/types/components/ChatView/ChatView.d.ts.map +1 -1
- package/dist/types/components/Dialog/components/ContextMenu.d.ts +1 -1
- package/dist/types/components/Dialog/components/ContextMenu.d.ts.map +1 -1
- package/dist/types/components/Dialog/hooks/useDialog.d.ts.map +1 -1
- package/dist/types/components/Dialog/service/DialogManager.d.ts +3 -2
- package/dist/types/components/Dialog/service/DialogManager.d.ts.map +1 -1
- package/dist/types/components/Icons/createIcon.d.ts +1 -1
- package/dist/types/components/Icons/createIcon.d.ts.map +1 -1
- package/dist/types/components/Icons/icons.d.ts +21 -9
- package/dist/types/components/Icons/icons.d.ts.map +1 -1
- package/dist/types/components/InfiniteScrollPaginator/InfiniteScroll.d.ts +0 -20
- package/dist/types/components/InfiniteScrollPaginator/InfiniteScroll.d.ts.map +1 -1
- package/dist/types/components/LoadMore/LoadMoreButton.d.ts +1 -6
- package/dist/types/components/LoadMore/LoadMoreButton.d.ts.map +1 -1
- package/dist/types/components/LoadMore/LoadMorePaginator.d.ts.map +1 -1
- package/dist/types/components/Loading/UploadProgressIndicator.d.ts +5 -0
- package/dist/types/components/Loading/UploadProgressIndicator.d.ts.map +1 -0
- package/dist/types/components/Loading/UploadedSizeIndicator.d.ts +6 -0
- package/dist/types/components/Loading/UploadedSizeIndicator.d.ts.map +1 -0
- package/dist/types/components/Loading/index.d.ts +3 -0
- package/dist/types/components/Loading/index.d.ts.map +1 -1
- package/dist/types/components/Loading/progress-indicators.d.ts +7 -0
- package/dist/types/components/Loading/progress-indicators.d.ts.map +1 -0
- package/dist/types/components/Location/ShareLocationDialog.d.ts.map +1 -1
- package/dist/types/components/MediaRecorder/AudioRecorder/AudioRecorderRecordingControls.d.ts.map +1 -1
- package/dist/types/components/Message/Message.d.ts.map +1 -1
- package/dist/types/components/Message/MessageAlsoSentInChannelIndicator.d.ts.map +1 -1
- package/dist/types/components/Message/MessageUI.d.ts.map +1 -1
- package/dist/types/components/Message/hooks/useDeleteHandler.d.ts +1 -5
- package/dist/types/components/Message/hooks/useDeleteHandler.d.ts.map +1 -1
- package/dist/types/components/Message/hooks/useFlagHandler.d.ts +1 -6
- package/dist/types/components/Message/hooks/useFlagHandler.d.ts.map +1 -1
- package/dist/types/components/Message/hooks/useMarkUnreadHandler.d.ts +1 -6
- package/dist/types/components/Message/hooks/useMarkUnreadHandler.d.ts.map +1 -1
- package/dist/types/components/Message/hooks/useMuteHandler.d.ts +2 -7
- package/dist/types/components/Message/hooks/useMuteHandler.d.ts.map +1 -1
- package/dist/types/components/Message/hooks/usePinHandler.d.ts +1 -23
- package/dist/types/components/Message/hooks/usePinHandler.d.ts.map +1 -1
- package/dist/types/components/Message/hooks/useReactionsFetcher.d.ts +1 -6
- package/dist/types/components/Message/hooks/useReactionsFetcher.d.ts.map +1 -1
- package/dist/types/components/Message/hooks/useUserRole.d.ts +1 -1
- package/dist/types/components/Message/hooks/useUserRole.d.ts.map +1 -1
- package/dist/types/components/Message/types.d.ts +1 -23
- package/dist/types/components/Message/types.d.ts.map +1 -1
- package/dist/types/components/Message/utils.d.ts +1 -2
- package/dist/types/components/Message/utils.d.ts.map +1 -1
- package/dist/types/components/MessageActions/MessageActions.defaults.d.ts.map +1 -1
- package/dist/types/components/MessageActions/RemindMeSubmenu.d.ts.map +1 -1
- package/dist/types/components/MessageComposer/AttachmentPreviewList/AttachmentUploadedSizeIndicator.d.ts +14 -0
- package/dist/types/components/MessageComposer/AttachmentPreviewList/AttachmentUploadedSizeIndicator.d.ts.map +1 -0
- package/dist/types/components/MessageComposer/AttachmentPreviewList/AudioAttachmentPreview.d.ts.map +1 -1
- package/dist/types/components/MessageComposer/AttachmentPreviewList/FileAttachmentPreview.d.ts.map +1 -1
- package/dist/types/components/MessageComposer/AttachmentPreviewList/MediaAttachmentPreview.d.ts.map +1 -1
- package/dist/types/components/MessageComposer/AttachmentPreviewList/UnsupportedAttachmentPreview.d.ts +1 -1
- package/dist/types/components/MessageComposer/AttachmentPreviewList/UnsupportedAttachmentPreview.d.ts.map +1 -1
- package/dist/types/components/MessageComposer/hooks/useSubmitHandler.d.ts.map +1 -1
- package/dist/types/components/MessageComposer/icons.d.ts +0 -1
- package/dist/types/components/MessageComposer/icons.d.ts.map +1 -1
- package/dist/types/components/MessageList/MessageList.d.ts +1 -1
- package/dist/types/components/MessageList/MessageList.d.ts.map +1 -1
- package/dist/types/components/MessageList/hooks/MessageList/useScrollLocationLogic.d.ts.map +1 -1
- package/dist/types/components/MessageList/index.d.ts +0 -1
- package/dist/types/components/MessageList/index.d.ts.map +1 -1
- package/dist/types/components/MessageList/utils.d.ts +0 -1
- package/dist/types/components/MessageList/utils.d.ts.map +1 -1
- package/dist/types/components/Notifications/NotificationList.d.ts.map +1 -1
- package/dist/types/components/Notifications/hooks/index.d.ts +2 -0
- package/dist/types/components/Notifications/hooks/index.d.ts.map +1 -1
- package/dist/types/components/Notifications/hooks/useNotificationApi.d.ts +63 -0
- package/dist/types/components/Notifications/hooks/useNotificationApi.d.ts.map +1 -0
- package/dist/types/components/Notifications/hooks/useSystemNotifications.d.ts +14 -0
- package/dist/types/components/Notifications/hooks/useSystemNotifications.d.ts.map +1 -0
- package/dist/types/components/Notifications/notificationTarget.d.ts +1 -0
- package/dist/types/components/Notifications/notificationTarget.d.ts.map +1 -1
- package/dist/types/components/Poll/PollActions/EndPollAlert.d.ts.map +1 -1
- package/dist/types/components/ReactFileUtilities/UploadButton.d.ts +3 -11
- package/dist/types/components/ReactFileUtilities/UploadButton.d.ts.map +1 -1
- package/dist/types/components/Reactions/MessageReactions.d.ts.map +1 -1
- package/dist/types/components/Reactions/MessageReactionsDetail.d.ts +12 -2
- package/dist/types/components/Reactions/MessageReactionsDetail.d.ts.map +1 -1
- package/dist/types/components/Reactions/ReactionSelector.d.ts +3 -0
- package/dist/types/components/Reactions/ReactionSelector.d.ts.map +1 -1
- package/dist/types/components/Reactions/hooks/useFetchReactions.d.ts.map +1 -1
- package/dist/types/components/Reactions/index.d.ts +0 -1
- package/dist/types/components/Reactions/index.d.ts.map +1 -1
- package/dist/types/components/SummarizedMessagePreview/SummarizedMessagePreview.d.ts.map +1 -1
- package/dist/types/components/SummarizedMessagePreview/hooks/useLatestMessagePreview.d.ts +1 -1
- package/dist/types/components/SummarizedMessagePreview/hooks/useLatestMessagePreview.d.ts.map +1 -1
- package/dist/types/components/Thread/ThreadHeader.d.ts +0 -2
- package/dist/types/components/Thread/ThreadHeader.d.ts.map +1 -1
- package/dist/types/components/Threads/ThreadList/ThreadList.d.ts.map +1 -1
- package/dist/types/components/Threads/ThreadList/ThreadListHeader.d.ts +1 -5
- package/dist/types/components/Threads/ThreadList/ThreadListHeader.d.ts.map +1 -1
- package/dist/types/components/Threads/ThreadList/ThreadListItemUI.d.ts.map +1 -1
- package/dist/types/components/TypingIndicator/TypingIndicator.d.ts.map +1 -1
- package/dist/types/components/index.d.ts +2 -2
- package/dist/types/components/index.d.ts.map +1 -1
- package/dist/types/context/ChatContext.d.ts +0 -3
- package/dist/types/context/ChatContext.d.ts.map +1 -1
- package/dist/types/context/ComponentContext.d.ts +19 -3
- package/dist/types/context/ComponentContext.d.ts.map +1 -1
- package/dist/types/context/MessageContext.d.ts +0 -3
- package/dist/types/context/MessageContext.d.ts.map +1 -1
- package/dist/types/i18n/Streami18n.d.ts +21 -11
- package/dist/types/i18n/Streami18n.d.ts.map +1 -1
- package/dist/types/plugins/Emojis/EmojiPicker.d.ts +0 -6
- package/dist/types/plugins/Emojis/EmojiPicker.d.ts.map +1 -1
- package/dist/types/types/types.d.ts +0 -5
- package/dist/types/types/types.d.ts.map +1 -1
- package/package.json +4 -4
- package/dist/cjs/WithAudioPlayback.0c10cb67.js.map +0 -1
- package/dist/es/WithAudioPlayback.e7821fd4.mjs.map +0 -1
- package/dist/types/components/Button/ToggleSidebarButton.d.ts +0 -10
- package/dist/types/components/Button/ToggleSidebarButton.d.ts.map +0 -1
- package/dist/types/components/ChannelHeader/hooks/useIsMobileViewport.d.ts +0 -3
- package/dist/types/components/ChannelHeader/hooks/useIsMobileViewport.d.ts.map +0 -1
- package/dist/types/components/ChannelList/hooks/useChannelDeletedListener.d.ts +0 -3
- package/dist/types/components/ChannelList/hooks/useChannelDeletedListener.d.ts.map +0 -1
- package/dist/types/components/ChannelList/hooks/useChannelHiddenListener.d.ts +0 -3
- package/dist/types/components/ChannelList/hooks/useChannelHiddenListener.d.ts.map +0 -1
- package/dist/types/components/ChannelList/hooks/useChannelTruncatedListener.d.ts +0 -3
- package/dist/types/components/ChannelList/hooks/useChannelTruncatedListener.d.ts.map +0 -1
- package/dist/types/components/ChannelList/hooks/useChannelUpdatedListener.d.ts +0 -3
- package/dist/types/components/ChannelList/hooks/useChannelUpdatedListener.d.ts.map +0 -1
- package/dist/types/components/ChannelList/hooks/useChannelVisibleListener.d.ts +0 -3
- package/dist/types/components/ChannelList/hooks/useChannelVisibleListener.d.ts.map +0 -1
- package/dist/types/components/ChannelList/hooks/useMessageNewListener.d.ts +0 -3
- package/dist/types/components/ChannelList/hooks/useMessageNewListener.d.ts.map +0 -1
- package/dist/types/components/ChannelList/hooks/useMobileNavigation.d.ts +0 -2
- package/dist/types/components/ChannelList/hooks/useMobileNavigation.d.ts.map +0 -1
- package/dist/types/components/ChannelList/hooks/useNotificationAddedToChannelListener.d.ts +0 -3
- package/dist/types/components/ChannelList/hooks/useNotificationAddedToChannelListener.d.ts.map +0 -1
- package/dist/types/components/ChannelList/hooks/useNotificationMessageNewListener.d.ts +0 -3
- package/dist/types/components/ChannelList/hooks/useNotificationMessageNewListener.d.ts.map +0 -1
- package/dist/types/components/ChannelList/hooks/useNotificationRemovedFromChannelListener.d.ts +0 -3
- package/dist/types/components/ChannelList/hooks/useNotificationRemovedFromChannelListener.d.ts.map +0 -1
- package/dist/types/components/ChannelList/hooks/useUserPresenceChangedListener.d.ts +0 -3
- package/dist/types/components/ChannelList/hooks/useUserPresenceChangedListener.d.ts.map +0 -1
- package/dist/types/components/MessageList/ConnectionStatus.d.ts +0 -3
- package/dist/types/components/MessageList/ConnectionStatus.d.ts.map +0 -1
- package/dist/types/components/Reactions/StreamEmoji.d.ts +0 -19
- package/dist/types/components/Reactions/StreamEmoji.d.ts.map +0 -1
- package/dist/types/utils/deprecationWarning.d.ts +0 -2
- package/dist/types/utils/deprecationWarning.d.ts.map +0 -1
package/dist/css/index.css
CHANGED
|
@@ -19,65 +19,9 @@
|
|
|
19
19
|
.str-chat {
|
|
20
20
|
/* Used for elements where sizing is necessary (such as icons, avatar), you can use this variable to scale those elements */
|
|
21
21
|
--str-chat__spacing-px: 1px;
|
|
22
|
-
/* Used for margins and paddings */
|
|
23
|
-
--str-chat__spacing-0_5: var(--space-2);
|
|
24
|
-
/* Used for margins and paddings */
|
|
25
|
-
--str-chat__spacing-1: var(--space-4);
|
|
26
|
-
/* Used for margins and paddings */
|
|
27
|
-
--str-chat__spacing-1_5: calc(var(--space-4) + var(--space-2));
|
|
28
|
-
/* Used for margins and paddings */
|
|
29
|
-
--str-chat__spacing-2: var(--space-8);
|
|
30
|
-
/* Used for margins and paddings */
|
|
31
|
-
--str-chat__spacing-2_5: calc(var(--space-8) + var(--space-2));
|
|
32
|
-
/* Used for margins and paddings */
|
|
33
|
-
--str-chat__spacing-3: calc(var(--space-8) + var(--space-4));
|
|
34
|
-
/* Used for margins and paddings */
|
|
35
|
-
--str-chat__spacing-3_5: calc(var(--space-12) + var(--space-2));
|
|
36
|
-
/* Used for margins and paddings */
|
|
37
|
-
--str-chat__spacing-4: var(--space-16);
|
|
38
|
-
/* Used for margins and paddings */
|
|
39
|
-
--str-chat__spacing-5: var(--space-20);
|
|
40
|
-
/* Used for margins and paddings */
|
|
41
|
-
--str-chat__spacing-6: var(--space-24);
|
|
42
|
-
/* Used for margins and paddings */
|
|
43
|
-
--str-chat__spacing-7: calc(var(--space-24) + var(--space-4));
|
|
44
|
-
/* Used for margins and paddings */
|
|
45
|
-
--str-chat__spacing-8: var(--space-32);
|
|
46
|
-
/* Used for margins and paddings */
|
|
47
|
-
--str-chat__spacing-9: calc(var(--space-32) + var(--space-4));
|
|
48
|
-
/* Used for margins and paddings */
|
|
49
|
-
--str-chat__spacing-10: var(--space-40);
|
|
50
|
-
/* Used for margins and paddings */
|
|
51
|
-
--str-chat__spacing-11: calc(var(--space-40) + var(--space-4));
|
|
52
|
-
/* Used for margins and paddings */
|
|
53
|
-
--str-chat__spacing-12: calc(var(--space-48));
|
|
54
|
-
/* Used for margins and paddings */
|
|
55
|
-
--str-chat__spacing-14: calc(var(--space-48) + var(--space-8));
|
|
56
|
-
/* Used for margins and paddings */
|
|
57
|
-
--str-chat__spacing-16: var(--space-64);
|
|
58
22
|
}
|
|
59
23
|
|
|
60
24
|
.str-chat {
|
|
61
|
-
/* Border radius used for squared elements */
|
|
62
|
-
--str-chat__border-radius-none: var(--radius-none);
|
|
63
|
-
/* Border radius used for subtle rounding */
|
|
64
|
-
--str-chat__border-radius-xxs: var(--radius-xxs);
|
|
65
|
-
/* Border radius used for subtle rounding */
|
|
66
|
-
--str-chat__border-radius-xs: var(--radius-xs);
|
|
67
|
-
/* Border radius used for slightly rounded elements */
|
|
68
|
-
--str-chat__border-radius-sm: var(--radius-sm);
|
|
69
|
-
/* Border radius used for slightly rounded elements */
|
|
70
|
-
--str-chat__border-radius-md: var(--radius-md);
|
|
71
|
-
/* Border radius used for rounded elements */
|
|
72
|
-
--str-chat__border-radius-lg: var(--radius-lg);
|
|
73
|
-
/* Border radius used for rounded elements */
|
|
74
|
-
--str-chat__border-radius-xl: var(--radius-xl);
|
|
75
|
-
/* Border radius used for rounded elements */
|
|
76
|
-
--str-chat__border-radius-2xl: var(--radius-2xl);
|
|
77
|
-
/* Border radius used for rounded elements */
|
|
78
|
-
--str-chat__border-radius-3xl: var(--radius-3xl);
|
|
79
|
-
/* Border radius used for rounded elements */
|
|
80
|
-
--str-chat__border-radius-4xl: var(--radius-4xl);
|
|
81
25
|
/* Border radius used for circular elements */
|
|
82
26
|
--str-chat__border-radius-circle: var(--radius-max);
|
|
83
27
|
/* The font used in the chat, by default, we use [preinstalled OS fonts](https://systemfontstack.com/) */
|
|
@@ -91,10 +35,10 @@
|
|
|
91
35
|
var(--typography-font-size-xs) / var(--typography-line-height-tight)
|
|
92
36
|
var(--str-chat__font-family);
|
|
93
37
|
--str-chat__caption-emphasis-text: normal var(--typography-font-weight-semi-bold)
|
|
94
|
-
var(--typography-font-size-sm) / var(--typography-line-height-
|
|
38
|
+
var(--typography-font-size-sm) / var(--typography-line-height-normal)
|
|
95
39
|
var(--str-chat__font-family);
|
|
96
40
|
--str-chat__caption-default-text: normal var(--typography-font-weight-regular)
|
|
97
|
-
var(--typography-font-size-sm) / var(--typography-line-height-
|
|
41
|
+
var(--typography-font-size-sm) / var(--typography-line-height-normal)
|
|
98
42
|
var(--str-chat__font-family);
|
|
99
43
|
--str-chat__body-emphasis-text: normal var(--typography-font-weight-semi-bold)
|
|
100
44
|
var(--typography-font-size-md) / var(--typography-line-height-normal)
|
|
@@ -119,54 +63,18 @@
|
|
|
119
63
|
--str-chat__numeric-xl-text: normal var(--typography-font-weight-bold)
|
|
120
64
|
var(--typography-font-size-sm) / 100% var(--str-chat__font-family);
|
|
121
65
|
color: var(--text-primary, #1a1b25);
|
|
122
|
-
/* The font used for caption texts */
|
|
123
|
-
--str-chat__caption-text: 0.75rem/1.3 var(--str-chat__font-family);
|
|
124
|
-
/* The font used for caption texts with emphasize */
|
|
125
|
-
--str-chat__caption-medium-text: 500 0.75rem/1.3 var(--str-chat__font-family);
|
|
126
|
-
/* The font used for caption texts with emphasize */
|
|
127
|
-
--str-chat__caption-strong-text: 700 0.75rem/1.3 var(--str-chat__font-family);
|
|
128
|
-
/* The font used for body texts */
|
|
129
|
-
--str-chat__body-text: 0.875rem/1.2 var(--str-chat__font-family);
|
|
130
|
-
/* The font used for body texts with emphasize */
|
|
131
|
-
--str-chat__body-medium-text: 500 0.875rem/1.2 var(--str-chat__font-family);
|
|
132
|
-
/* The font used for body texts */
|
|
133
|
-
--str-chat__body2-text: 0.9375rem/1.2 var(--str-chat__font-family);
|
|
134
|
-
/* The font used for body texts with emphasize */
|
|
135
|
-
--str-chat__body2-medium-text: 500 0.9375rem/1.2 var(--str-chat__font-family);
|
|
136
|
-
/* The font used for subtitle texts */
|
|
137
|
-
--str-chat__subtitle-text: 1rem/1.25 var(--str-chat__font-family);
|
|
138
|
-
/* The font used for subtitle texts with emphasize */
|
|
139
|
-
--str-chat__subtitle-medium-text: 500 1rem/1.25 var(--str-chat__font-family);
|
|
140
|
-
/* The font used for subtitle texts */
|
|
141
|
-
--str-chat__subtitle2-text: 1.25rem/1.2 var(--str-chat__font-family);
|
|
142
|
-
/* The font used for subtitle texts with emphasize */
|
|
143
|
-
--str-chat__subtitle2-medium-text: 500 1.25rem/1.2 var(--str-chat__font-family);
|
|
144
|
-
/* The font used for headline texts */
|
|
145
|
-
--str-chat__headline-text: 1.5rem/1.2 var(--str-chat__font-family);
|
|
146
|
-
/* The font used for headline texts */
|
|
147
|
-
--str-chat__headline2-text: 1.8rem/1.2 var(--str-chat__font-family);
|
|
148
66
|
}
|
|
149
67
|
|
|
150
68
|
.str-chat,
|
|
151
69
|
.str-chat__theme-light {
|
|
152
70
|
/* Used for emphasis, brands can inject their main color using this variable */
|
|
153
71
|
--str-chat__primary-color: var(--accent-primary);
|
|
154
|
-
/* Used for emphasised overlays - color of --str-chat__primary-color with alpha channel */
|
|
155
|
-
--str-chat__primary-overlay-color: rgba(0, 95, 255, 0.6);
|
|
156
|
-
/* Used for emphasis, brands can inject their main color using this variable, it has less emphasis than primary color */
|
|
157
|
-
--str-chat__primary-color-low-emphasis: var(--str-chat__blue300);
|
|
158
|
-
/* Used to indicate that a UI element with primary color is in an active state */
|
|
159
|
-
--str-chat__active-primary-color: var(--str-chat__blue600);
|
|
160
72
|
/* If the primary color is used as a background, text/icons are displayed in this color */
|
|
161
73
|
--str-chat__on-primary-color: var(--str-chat__grey50);
|
|
162
74
|
/* Used as a background color for the main chat UI components */
|
|
163
75
|
--str-chat__background-color: var(--str-chat__grey50);
|
|
164
76
|
/* Used as a background color for the main chat UI components */
|
|
165
77
|
--str-chat__secondary-background-color: var(--str-chat__grey50);
|
|
166
|
-
/* Used as a background color to give emphasis, but less vibrant than the primary color */
|
|
167
|
-
--str-chat__primary-surface-color: var(--str-chat__blue100);
|
|
168
|
-
/* Used as a background color to give emphasis, but less vibrant than the primary surface color */
|
|
169
|
-
--str-chat__primary-surface-color-low-emphasis: var(--str-chat__blue50);
|
|
170
78
|
/* A neutral color used to give emphasis to different surfaces */
|
|
171
79
|
--str-chat__surface-color: var(--str-chat__grey300);
|
|
172
80
|
/* A neutral color used to give emphasis to different surfaces */
|
|
@@ -179,8 +87,6 @@
|
|
|
179
87
|
--str-chat__text-low-emphasis-color: var(--str-chat__grey500);
|
|
180
88
|
/* Used for displaying disabled UI elements (typically buttons) */
|
|
181
89
|
--str-chat__disabled-color: var(--str-chat__grey400);
|
|
182
|
-
/* Used for text/icon colors if disabled color is used as a background color */
|
|
183
|
-
--str-chat__on-disabled-color: var(--str-chat__grey50);
|
|
184
90
|
/* Used for error messages, and destructive actions */
|
|
185
91
|
--str-chat__danger-color: var(--str-chat__red400);
|
|
186
92
|
/* The background color used to highlight a message when jumping to a message. Only available in React SDK. */
|
|
@@ -189,16 +95,10 @@
|
|
|
189
95
|
--str-chat__unread-badge-color: var(--str-chat__red400);
|
|
190
96
|
/* Used for text/icon colors if unread badge color is used as a background color */
|
|
191
97
|
--str-chat__on-unread-badge-color: var(--str-chat__grey50);
|
|
192
|
-
/* The background color used for overlays */
|
|
193
|
-
--str-chat__overlay-color: rgba(252, 252, 252, 0.9);
|
|
194
98
|
/* The background color used for subtle overlays */
|
|
195
99
|
--str-chat__secondary-overlay-color: rgba(0, 0, 0, 0.2);
|
|
196
100
|
/* The text/icon color used on subtle overlays */
|
|
197
101
|
--str-chat__secondary-overlay-text-color: var(--str-chat__grey50);
|
|
198
|
-
/* The background color used for opaque surfaces */
|
|
199
|
-
--str-chat__opaque-surface-background-color: rgba(0, 0, 0, 0.8);
|
|
200
|
-
/* The text color used on opaque surfaces */
|
|
201
|
-
--str-chat__opaque-surface-text-color: var(--str-chat__grey50);
|
|
202
102
|
/* If a component has a box shadow applied to it, this will be the color used for the shadow */
|
|
203
103
|
--str-chat__box-shadow-color: rgba(0, 0, 0, 0.18);
|
|
204
104
|
--str-chat__box-shadow-elevation-1:
|
|
@@ -210,46 +110,26 @@
|
|
|
210
110
|
|
|
211
111
|
.str-chat__theme-dark {
|
|
212
112
|
--str-chat__primary-color: var(--accent-primary);
|
|
213
|
-
--str-chat__primary-overlay-color: rgba(51, 126, 255, 0.6);
|
|
214
|
-
--str-chat__primary-color-low-emphasis: var(--str-chat__blue700);
|
|
215
|
-
--str-chat__active-primary-color: var(--str-chat__blue600);
|
|
216
113
|
--str-chat__on-primary-color: var(--str-chat__grey50);
|
|
217
114
|
--str-chat__background-color: var(--str-chat__grey950);
|
|
218
115
|
--str-chat__secondary-background-color: var(--str-chat__grey900);
|
|
219
|
-
--str-chat__primary-surface-color: var(--str-chat__blue900);
|
|
220
|
-
--str-chat__primary-surface-color-low-emphasis: var(--str-chat__blue950);
|
|
221
116
|
--str-chat__surface-color: var(--str-chat__grey700);
|
|
222
117
|
--str-chat__secondary-surface-color: var(--str-chat__grey800);
|
|
223
118
|
--str-chat__tertiary-surface-color: var(--str-chat__grey900);
|
|
224
119
|
--str-chat__text-color: var(--str-chat__grey50);
|
|
225
120
|
--str-chat__text-low-emphasis-color: var(--str-chat__grey500);
|
|
226
121
|
--str-chat__disabled-color: var(--str-chat__grey600);
|
|
227
|
-
--str-chat__on-disabled-color: var(--str-chat__grey50);
|
|
228
122
|
--str-chat__danger-color: var(--str-chat__red600);
|
|
229
123
|
--str-chat__message-highlight-color: var(--str-chat__yellow900);
|
|
230
124
|
--str-chat__unread-badge-color: var(--str-chat__red400);
|
|
231
125
|
--str-chat__on-unread-badge-color: var(--str-chat__grey50);
|
|
232
|
-
--str-chat__overlay-color: rgba(0, 0, 0, 0.7);
|
|
233
126
|
--str-chat__secondary-overlay-color: rgba(0, 0, 0, 0.4);
|
|
234
127
|
--str-chat__secondary-overlay-text-color: var(--str-chat__grey50);
|
|
235
|
-
--str-chat__opaque-surface-background-color: rgba(250, 250, 250, 0.85);
|
|
236
|
-
--str-chat__opaque-surface-text-color: var(--str-chat__grey900);
|
|
237
128
|
--str-chat__box-shadow-color: rgba(0, 0, 0, 0.8);
|
|
238
129
|
--str-chat__info-color: var(--str-chat__green500);
|
|
239
130
|
}
|
|
240
131
|
|
|
241
132
|
.str-chat {
|
|
242
|
-
--str-chat__blue950: #001333;
|
|
243
|
-
--str-chat__blue900: #00163d;
|
|
244
|
-
--str-chat__blue800: #002666;
|
|
245
|
-
--str-chat__blue700: #003999;
|
|
246
|
-
--str-chat__blue600: #004ccc;
|
|
247
|
-
--str-chat__blue500: #005fff;
|
|
248
|
-
--str-chat__blue400: #337eff;
|
|
249
|
-
--str-chat__blue300: #669fff;
|
|
250
|
-
--str-chat__blue200: #ccdfff;
|
|
251
|
-
--str-chat__blue100: #e0f0ff;
|
|
252
|
-
--str-chat__blue50: #ebf5ff;
|
|
253
133
|
--str-chat__grey950: #080707;
|
|
254
134
|
--str-chat__grey900: #17191c;
|
|
255
135
|
--str-chat__grey800: #1c1e22;
|
|
@@ -261,33 +141,10 @@
|
|
|
261
141
|
--str-chat__grey200: #e9eaed;
|
|
262
142
|
--str-chat__grey100: #f4f4f5;
|
|
263
143
|
--str-chat__grey50: #ffffff;
|
|
264
|
-
--str-chat__red900: #330003;
|
|
265
|
-
--str-chat__red800: #660006;
|
|
266
|
-
--str-chat__red700: #990008;
|
|
267
144
|
--str-chat__red600: #cc000b;
|
|
268
|
-
--str-chat__red500: #ff000e;
|
|
269
145
|
--str-chat__red400: #ff3742;
|
|
270
|
-
--str-chat__red300: #ff666e;
|
|
271
|
-
--str-chat__red200: #ff999f;
|
|
272
|
-
--str-chat__red100: #ffe5e7;
|
|
273
|
-
--str-chat__green900: #062d16;
|
|
274
|
-
--str-chat__green800: #0d592c;
|
|
275
|
-
--str-chat__green700: #138643;
|
|
276
|
-
--str-chat__green600: #19b359;
|
|
277
146
|
--str-chat__green500: #20e070;
|
|
278
|
-
--str-chat__green400: #4ce68c;
|
|
279
|
-
--str-chat__green300: #79eca9;
|
|
280
|
-
--str-chat__green200: #a6f2c6;
|
|
281
|
-
--str-chat__green100: #e9f1ff;
|
|
282
147
|
--str-chat__yellow900: #332500;
|
|
283
|
-
--str-chat__yellow800: #664900;
|
|
284
|
-
--str-chat__yellow700: #996e00;
|
|
285
|
-
--str-chat__yellow600: #cc9200;
|
|
286
|
-
--str-chat__yellow500: #ffb700;
|
|
287
|
-
--str-chat__yellow400: #ffd466;
|
|
288
|
-
--str-chat__yellow300: #ffe299;
|
|
289
|
-
--str-chat__yellow200: #fff1cc;
|
|
290
|
-
--str-chat__yellow100: #fff8e5;
|
|
291
148
|
}
|
|
292
149
|
|
|
293
150
|
/**
|
|
@@ -827,6 +684,8 @@
|
|
|
827
684
|
--badge-text: var(--text-primary);
|
|
828
685
|
--badge-bg-default: #ffffff;
|
|
829
686
|
--badge-text-on-accent: #ffffff;
|
|
687
|
+
--badge-text-on-inverse: #ffffff;
|
|
688
|
+
--badge-bg-inverse: var(--chrome-1000);
|
|
830
689
|
/* ─── Control (remove, progress bar, toggle, playback, checkbox, play button, thumb, radio) ─── */
|
|
831
690
|
--control-remove-control-bg: #1a1b25;
|
|
832
691
|
--control-remove-control-icon: #ffffff;
|
|
@@ -1070,6 +929,104 @@
|
|
|
1070
929
|
--avatar-presence-border: var(--border-core-inverse);
|
|
1071
930
|
}
|
|
1072
931
|
|
|
932
|
+
/* Numeric styles are used for compact, layout-critical UI elements such as:
|
|
933
|
+
- badge counts,
|
|
934
|
+
- avatar initials,
|
|
935
|
+
- keyboard key labels, and
|
|
936
|
+
- numeric labels inside pills.
|
|
937
|
+
Numeric tokens are classified as layout-stable UI indicators, not content text. */
|
|
938
|
+
.str-chat {
|
|
939
|
+
/* The font used in the chat, by default, we use [preinstalled OS fonts](https://systemfontstack.com/) */
|
|
940
|
+
--str-chat__font-family:
|
|
941
|
+
var(--typography-font-family-sans), system-ui, -apple-system, BlinkMacSystemFont,
|
|
942
|
+
Segoe UI, Roboto, Oxygen-Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif;
|
|
943
|
+
--str-chat__font-heading-xs: normal var(--typography-font-weight-semi-bold)
|
|
944
|
+
var(--typography-font-size-sm) / var(--typography-line-height-normal)
|
|
945
|
+
var(--str-chat__font-family);
|
|
946
|
+
--str-chat__font-heading-sm: normal var(--typography-font-weight-semi-bold)
|
|
947
|
+
var(--typography-font-size-md) / var(--typography-line-height-normal)
|
|
948
|
+
var(--str-chat__font-family);
|
|
949
|
+
--str-chat__font-heading-md: normal var(--typography-font-weight-semi-bold)
|
|
950
|
+
var(--typography-font-size-lg) / var(--typography-line-height-relaxed)
|
|
951
|
+
var(--str-chat__font-family);
|
|
952
|
+
--str-chat__font-heading-lg: normal var(--typography-font-weight-semi-bold)
|
|
953
|
+
var(--typography-font-size-xl) / var(--typography-line-height-relaxed)
|
|
954
|
+
var(--str-chat__font-family);
|
|
955
|
+
--str-chat__font-body-default: normal var(--typography-font-weight-regular)
|
|
956
|
+
var(--typography-font-size-md) / var(--typography-line-height-normal)
|
|
957
|
+
var(--str-chat__font-family);
|
|
958
|
+
--str-chat__font-body-emphasis: normal var(--typography-font-weight-semi-bold)
|
|
959
|
+
var(--typography-font-size-md) / var(--typography-line-height-normal)
|
|
960
|
+
var(--str-chat__font-family);
|
|
961
|
+
--str-chat__font-body-link: normal var(--typography-font-weight-regular)
|
|
962
|
+
var(--typography-font-size-md) / var(--typography-line-height-normal)
|
|
963
|
+
var(--str-chat__font-family);
|
|
964
|
+
--str-chat__font-body-link-emphasis: normal var(--typography-font-weight-semi-bold)
|
|
965
|
+
var(--typography-font-size-md) / var(--typography-line-height-normal)
|
|
966
|
+
var(--str-chat__font-family);
|
|
967
|
+
--str-chat__font-caption-default: normal var(--typography-font-weight-regular)
|
|
968
|
+
var(--typography-font-size-sm) / var(--typography-line-height-tight)
|
|
969
|
+
var(--str-chat__font-family);
|
|
970
|
+
--str-chat__font-caption-emphasis: normal var(--typography-font-weight-semi-bold)
|
|
971
|
+
var(--typography-font-size-sm) / var(--typography-line-height-tight)
|
|
972
|
+
var(--str-chat__font-family);
|
|
973
|
+
--str-chat__font-caption-link: normal var(--typography-font-weight-regular)
|
|
974
|
+
var(--typography-font-size-sm) / var(--typography-line-height-tight)
|
|
975
|
+
var(--str-chat__font-family);
|
|
976
|
+
--str-chat__font-caption-link-emphasis: normal var(--typography-font-weight-semi-bold)
|
|
977
|
+
var(--typography-font-size-sm) / var(--typography-line-height-tight)
|
|
978
|
+
var(--str-chat__font-family);
|
|
979
|
+
--str-chat__font-metadata-default: normal var(--typography-font-weight-regular)
|
|
980
|
+
var(--typography-font-size-xs) / var(--typography-line-height-tight)
|
|
981
|
+
var(--str-chat__font-family);
|
|
982
|
+
--str-chat__font-metadata-emphasis: normal var(--typography-font-weight-semi-bold)
|
|
983
|
+
var(--typography-font-size-xs) / var(--typography-line-height-tight)
|
|
984
|
+
var(--str-chat__font-family);
|
|
985
|
+
--str-chat__font-metadata-link: normal var(--typography-font-weight-regular)
|
|
986
|
+
var(--typography-font-size-xs) / var(--typography-line-height-tight)
|
|
987
|
+
var(--str-chat__font-family);
|
|
988
|
+
--str-chat__font-metadata-link-emphasis: normal var(--typography-font-weight-semi-bold)
|
|
989
|
+
var(--typography-font-size-xs) / var(--typography-line-height-tight)
|
|
990
|
+
var(--str-chat__font-family);
|
|
991
|
+
--str-chat__font-numeric-sm: normal var(--typography-font-weight-bold)
|
|
992
|
+
var(--typography-font-size-micro) / 100% var(--str-chat__font-family);
|
|
993
|
+
--str-chat__font-numeric-md: normal var(--typography-font-weight-bold)
|
|
994
|
+
var(--typography-font-size-xxs) / 100% var(--str-chat__font-family);
|
|
995
|
+
--str-chat__font-numeric-lg: normal var(--typography-font-weight-bold)
|
|
996
|
+
var(--typography-font-size-xs) / 100% var(--str-chat__font-family);
|
|
997
|
+
--str-chat__font-numeric-xl: normal var(--typography-font-weight-bold)
|
|
998
|
+
var(--typography-font-size-sm) / var(--line-height-line-height-14)
|
|
999
|
+
var(--str-chat__font-family);
|
|
1000
|
+
}
|
|
1001
|
+
|
|
1002
|
+
/*
|
|
1003
|
+
Shadows on Web communicate visual separation and hierarchy through composed box-shadow layers.
|
|
1004
|
+
|
|
1005
|
+
Unlike iOS (single shadow token) and Android (dp elevation), web elevation is constructed
|
|
1006
|
+
from multiple shadow layers to simulate depth and ambient light.
|
|
1007
|
+
|
|
1008
|
+
Each shadow level consists of predefined layered shadows.
|
|
1009
|
+
Components must use these tokens instead of defining custom box-shadow values.
|
|
1010
|
+
|
|
1011
|
+
Higher levels combine stronger blur, increased offset, and additional ambient layers
|
|
1012
|
+
to create clearer separation from the base surface.
|
|
1013
|
+
*/
|
|
1014
|
+
.str-chat,
|
|
1015
|
+
.str-chat__theme-light {
|
|
1016
|
+
--str-chat__box-shadow-1: var(--light-elevation-1);
|
|
1017
|
+
--str-chat__box-shadow-2: var(--light-elevation-2);
|
|
1018
|
+
--str-chat__box-shadow-3: var(--light-elevation-3);
|
|
1019
|
+
--str-chat__box-shadow-4: var(--light-elevation-4);
|
|
1020
|
+
}
|
|
1021
|
+
|
|
1022
|
+
.str-chat__theme-dark,
|
|
1023
|
+
.str-chat:not(.str-chat__theme-dark) *:not(.str-chat__theme-dark) .str-chat__theme-inverse {
|
|
1024
|
+
--str-chat__box-shadow-1: var(--dark-elevation-1);
|
|
1025
|
+
--str-chat__box-shadow-2: var(--dark-elevation-2);
|
|
1026
|
+
--str-chat__box-shadow-3: var(--dark-elevation-3);
|
|
1027
|
+
--str-chat__box-shadow-4: var(--dark-elevation-4);
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1073
1030
|
.str-chat {
|
|
1074
1031
|
font-family: var(--str-chat__font-family);
|
|
1075
1032
|
font-size: var(--typography-font-size-md);
|
|
@@ -1103,6 +1060,9 @@
|
|
|
1103
1060
|
height: 1em;
|
|
1104
1061
|
fill: currentColor;
|
|
1105
1062
|
}
|
|
1063
|
+
[dir=rtl] .str-chat__icon[data-rtl-mirror] {
|
|
1064
|
+
transform: scaleX(-1);
|
|
1065
|
+
}
|
|
1106
1066
|
|
|
1107
1067
|
.str-chat__icon--exclamation-mark {
|
|
1108
1068
|
stroke: currentColor;
|
|
@@ -1252,6 +1212,27 @@
|
|
|
1252
1212
|
min-height: 24px;
|
|
1253
1213
|
}
|
|
1254
1214
|
|
|
1215
|
+
.str-chat__media-badge {
|
|
1216
|
+
display: flex;
|
|
1217
|
+
align-items: center;
|
|
1218
|
+
gap: var(--spacing-xxs);
|
|
1219
|
+
position: absolute;
|
|
1220
|
+
bottom: var(--spacing-xs);
|
|
1221
|
+
inset-inline-start: var(--spacing-xs);
|
|
1222
|
+
padding: var(--spacing-xxs) var(--spacing-xs);
|
|
1223
|
+
border-radius: var(--radius-max);
|
|
1224
|
+
background: var(--badge-bg-inverse);
|
|
1225
|
+
color: var(--badge-text-on-inverse);
|
|
1226
|
+
font: var(--str-chat__numeric-md-text);
|
|
1227
|
+
overflow: hidden;
|
|
1228
|
+
text-overflow: ellipsis;
|
|
1229
|
+
}
|
|
1230
|
+
.str-chat__media-badge .str-chat__icon {
|
|
1231
|
+
width: var(--icon-size-xs);
|
|
1232
|
+
height: var(--icon-size-xs);
|
|
1233
|
+
fill: currentColor;
|
|
1234
|
+
}
|
|
1235
|
+
|
|
1255
1236
|
.str-chat .str-chat__image-placeholder {
|
|
1256
1237
|
width: 100%;
|
|
1257
1238
|
height: 100%;
|
|
@@ -1400,6 +1381,10 @@
|
|
|
1400
1381
|
justify-content: center;
|
|
1401
1382
|
border-radius: var(--button-radius-full);
|
|
1402
1383
|
}
|
|
1384
|
+
.str-chat .str-chat__button.str-chat__button--circular .str-chat__icon {
|
|
1385
|
+
height: var(--icon-size-sm);
|
|
1386
|
+
width: var(--icon-size-sm);
|
|
1387
|
+
}
|
|
1403
1388
|
.str-chat .str-chat__button .str-chat__button__content {
|
|
1404
1389
|
display: flex;
|
|
1405
1390
|
align-items: center;
|
|
@@ -1519,16 +1504,6 @@
|
|
|
1519
1504
|
var(--background-core-surface-subtle)
|
|
1520
1505
|
);
|
|
1521
1506
|
--str-chat__switch-field-border-radius: var(--radius-md);
|
|
1522
|
-
--str-chat__switch-field-title-font-size: var(--typography-font-size-sm, 14px);
|
|
1523
|
-
--str-chat__switch-field-title-font-weight: var(--typography-font-weight-medium, 500);
|
|
1524
|
-
--str-chat__switch-field-title-line-height: var(--typography-line-height-tight, 16px);
|
|
1525
|
-
--str-chat__switch-field-title-color: var(--text-primary, #1a1b25);
|
|
1526
|
-
--str-chat__switch-field-description-font-size: var(--typography-font-size-xs, 12px);
|
|
1527
|
-
--str-chat__switch-field-description-font-weight: var(
|
|
1528
|
-
--typography-font-weight-regular,
|
|
1529
|
-
400
|
|
1530
|
-
);
|
|
1531
|
-
--str-chat__switch-field-description-color: var(--text-tertiary, #687385);
|
|
1532
1507
|
--str-chat__switch-field__track-off-bg: var(
|
|
1533
1508
|
--control-toggle-switch-bg,
|
|
1534
1509
|
var(--border-core-on-surface, #a3acba)
|
|
@@ -1574,29 +1549,6 @@
|
|
|
1574
1549
|
min-width: 0;
|
|
1575
1550
|
cursor: pointer;
|
|
1576
1551
|
}
|
|
1577
|
-
.str-chat .str-chat__form__switch-field__content {
|
|
1578
|
-
display: flex;
|
|
1579
|
-
flex-direction: column;
|
|
1580
|
-
gap: var(--spacing-xxs, 4px);
|
|
1581
|
-
min-width: 0;
|
|
1582
|
-
}
|
|
1583
|
-
.str-chat .str-chat__form__switch-field__title {
|
|
1584
|
-
font-size: var(--str-chat__switch-field-title-font-size);
|
|
1585
|
-
font-weight: var(--str-chat__switch-field-title-font-weight);
|
|
1586
|
-
line-height: var(--str-chat__switch-field-title-line-height);
|
|
1587
|
-
color: var(--str-chat__switch-field-title-color);
|
|
1588
|
-
}
|
|
1589
|
-
.str-chat .str-chat__form__switch-field__description {
|
|
1590
|
-
font-size: var(--str-chat__switch-field-description-font-size);
|
|
1591
|
-
font-weight: var(--str-chat__switch-field-description-font-weight);
|
|
1592
|
-
line-height: var(--str-chat__switch-field-title-line-height);
|
|
1593
|
-
color: var(--str-chat__switch-field-description-color);
|
|
1594
|
-
}
|
|
1595
|
-
.str-chat .str-chat__form__switch-field__expanded-content {
|
|
1596
|
-
flex-shrink: 0;
|
|
1597
|
-
display: flex;
|
|
1598
|
-
align-items: center;
|
|
1599
|
-
}
|
|
1600
1552
|
.str-chat .str-chat__form__switch-field__switch {
|
|
1601
1553
|
display: flex;
|
|
1602
1554
|
align-items: center;
|
|
@@ -1750,7 +1702,7 @@
|
|
|
1750
1702
|
align-items: center;
|
|
1751
1703
|
justify-content: center;
|
|
1752
1704
|
flex-shrink: 0;
|
|
1753
|
-
margin-
|
|
1705
|
+
margin-inline-end: calc(-1 * var(--space-4));
|
|
1754
1706
|
color: var(--input-text-icon);
|
|
1755
1707
|
}
|
|
1756
1708
|
.str-chat__form-text-input--error .str-chat__form-text-input__trailing {
|
|
@@ -1850,7 +1802,7 @@
|
|
|
1850
1802
|
font: var(--str-chat__heading-sm-text);
|
|
1851
1803
|
}
|
|
1852
1804
|
.str-chat__alert-root .str-chat__alert-header .str-chat__alert-header__copy .str-chat__alert-header__description {
|
|
1853
|
-
font: var(--str-chat__caption-default-
|
|
1805
|
+
font: var(--str-chat__caption-default-text);
|
|
1854
1806
|
}
|
|
1855
1807
|
.str-chat__alert-root .str-chat__alert-actions {
|
|
1856
1808
|
display: flex;
|
|
@@ -1872,7 +1824,7 @@
|
|
|
1872
1824
|
}
|
|
1873
1825
|
.str-chat__callout .str-chat__callout__close-button {
|
|
1874
1826
|
position: absolute;
|
|
1875
|
-
|
|
1827
|
+
inset-inline-end: var(--spacing-xs);
|
|
1876
1828
|
top: var(--spacing-xs);
|
|
1877
1829
|
}
|
|
1878
1830
|
|
|
@@ -2102,7 +2054,7 @@
|
|
|
2102
2054
|
overflow-x: clip;
|
|
2103
2055
|
text-overflow: ellipsis;
|
|
2104
2056
|
flex: auto;
|
|
2105
|
-
text-align:
|
|
2057
|
+
text-align: start;
|
|
2106
2058
|
color: var(--text-primary);
|
|
2107
2059
|
white-space: nowrap;
|
|
2108
2060
|
}
|
|
@@ -2221,7 +2173,7 @@
|
|
|
2221
2173
|
color: var(--text-primary);
|
|
2222
2174
|
}
|
|
2223
2175
|
.str-chat__prompt .str-chat__prompt__header .str-chat__prompt__header__description {
|
|
2224
|
-
font: var(--str-
|
|
2176
|
+
font: var(--str-chat__caption-default-text);
|
|
2225
2177
|
color: var(--text-secondary);
|
|
2226
2178
|
}
|
|
2227
2179
|
.str-chat__prompt .str-chat__prompt__header .str-chat__prompt__header__close-button {
|
|
@@ -2236,9 +2188,6 @@
|
|
|
2236
2188
|
overscroll-behavior: contain;
|
|
2237
2189
|
scrollbar-gutter: stable;
|
|
2238
2190
|
}
|
|
2239
|
-
.str-chat__prompt .str-chat__prompt__body .str-chat__prompt__title {
|
|
2240
|
-
margin-bottom: 1rem;
|
|
2241
|
-
}
|
|
2242
2191
|
.str-chat__prompt .str-chat__prompt__footer {
|
|
2243
2192
|
display: flex;
|
|
2244
2193
|
align-items: center;
|
|
@@ -2283,7 +2232,7 @@
|
|
|
2283
2232
|
color: var(--text-primary);
|
|
2284
2233
|
}
|
|
2285
2234
|
.str-chat__viewer .str-chat__viewer__header .str-chat__viewer__header__description {
|
|
2286
|
-
font: var(--str-
|
|
2235
|
+
font: var(--str-chat__caption-default-text);
|
|
2287
2236
|
color: var(--text-secondary);
|
|
2288
2237
|
}
|
|
2289
2238
|
.str-chat__viewer .str-chat__viewer__header .str-chat__viewer__header__go-back-button path {
|
|
@@ -2300,9 +2249,6 @@
|
|
|
2300
2249
|
flex: 1;
|
|
2301
2250
|
min-height: 0;
|
|
2302
2251
|
}
|
|
2303
|
-
.str-chat__viewer .str-chat__viewer__body .str-chat__viewer__title {
|
|
2304
|
-
margin-bottom: 1rem;
|
|
2305
|
-
}
|
|
2306
2252
|
.str-chat__viewer .str-chat__viewer__footer {
|
|
2307
2253
|
display: flex;
|
|
2308
2254
|
align-items: center;
|
|
@@ -2358,7 +2304,7 @@
|
|
|
2358
2304
|
}
|
|
2359
2305
|
.str-chat__modal--open .str-chat__modal__overlay__close-button {
|
|
2360
2306
|
position: absolute;
|
|
2361
|
-
|
|
2307
|
+
inset-inline-end: 10px;
|
|
2362
2308
|
top: 10px;
|
|
2363
2309
|
padding: var(--spacing-xs);
|
|
2364
2310
|
color: var(--text-on-accent);
|
|
@@ -2379,7 +2325,7 @@
|
|
|
2379
2325
|
|
|
2380
2326
|
.str-chat {
|
|
2381
2327
|
/* The margin applied to every attachment in the attachment list */
|
|
2382
|
-
--str-chat__attachment-margin: var(--
|
|
2328
|
+
--str-chat__attachment-margin: var(--spacing-xs);
|
|
2383
2329
|
/* The border radius used for the borders of the component */
|
|
2384
2330
|
--str-chat__attachment-list-border-radius: 0;
|
|
2385
2331
|
/* The text/icon color of the component */
|
|
@@ -2476,28 +2422,6 @@
|
|
|
2476
2422
|
--str-chat__file-attachment-border-inline-end: none;
|
|
2477
2423
|
/* Box shadow applied to file attachments */
|
|
2478
2424
|
--str-chat__file-attachment-box-shadow: none;
|
|
2479
|
-
/* Border radius applied to audio recording widget */
|
|
2480
|
-
--str-chat__voice-recording-attachment-widget-border-radius: calc(
|
|
2481
|
-
var(--str-chat__message-bubble-border-radius) - var(--str-chat__attachment-margin)
|
|
2482
|
-
);
|
|
2483
|
-
/* Text color used in audio recording widget */
|
|
2484
|
-
--str-chat__voice-recording-attachment-widget-color: var(--str-chat__text-color);
|
|
2485
|
-
/* Border radius applied to audio recording widget */
|
|
2486
|
-
--str-chat__voice-recording-attachment-widget-secondary-color: var(
|
|
2487
|
-
--str-chat__text-low-emphasis-color
|
|
2488
|
-
);
|
|
2489
|
-
/* The text/icon color for low emphasis texts (for example file size) in audio recording widget */
|
|
2490
|
-
--str-chat__voice-recording-attachment-widget-background-color: transparent;
|
|
2491
|
-
/* Top border of audio recording widget */
|
|
2492
|
-
--str-chat__voice-recording-attachment-widget-border-block-start: none;
|
|
2493
|
-
/* Bottom border of audio recording widget */
|
|
2494
|
-
--str-chat__voice-recording-attachment-widget-border-block-end: none;
|
|
2495
|
-
/* Left (right in RTL layout) border of audio recording widget */
|
|
2496
|
-
--str-chat__voice-recording-attachment-widget-border-inline-start: none;
|
|
2497
|
-
/* Right (left in RTL layout) border of audio recording widget */
|
|
2498
|
-
--str-chat__voice-recording-attachment-widget-border-inline-end: none;
|
|
2499
|
-
/* Box shadow applied to audio recording widget */
|
|
2500
|
-
--str-chat__voice-recording-attachment-widget-box-shadow: none;
|
|
2501
2425
|
/* Border radius applied to the play / pause button of audio widget */
|
|
2502
2426
|
--str-chat__audio-attachment-controls-button-border-radius: var(
|
|
2503
2427
|
--str-chat__border-radius-circle
|
|
@@ -2535,7 +2459,7 @@
|
|
|
2535
2459
|
--str-chat__video-height: var(--str-chat__attachment-max-width);
|
|
2536
2460
|
display: flex;
|
|
2537
2461
|
flex-direction: column;
|
|
2538
|
-
align-items:
|
|
2462
|
+
align-items: flex-start;
|
|
2539
2463
|
gap: var(--spacing-xs);
|
|
2540
2464
|
min-width: 0;
|
|
2541
2465
|
background: var(--str-chat__attachment-list-background-color);
|
|
@@ -2575,6 +2499,15 @@
|
|
|
2575
2499
|
align-items: center;
|
|
2576
2500
|
overflow: hidden;
|
|
2577
2501
|
}
|
|
2502
|
+
.str-chat__attachment-list .str-chat__message-attachment--audio,
|
|
2503
|
+
.str-chat__attachment-list .str-chat__message-attachment--file,
|
|
2504
|
+
.str-chat__attachment-list .str-chat__message-attachment--unsupported,
|
|
2505
|
+
.str-chat__attachment-list .str-chat__message-attachment--geolocation,
|
|
2506
|
+
.str-chat__attachment-list .str-chat__message-attachment--voiceRecording,
|
|
2507
|
+
.str-chat__attachment-list .str-chat__message-attachment--card {
|
|
2508
|
+
width: var(--str-chat__attachment-max-width);
|
|
2509
|
+
max-width: 100%;
|
|
2510
|
+
}
|
|
2578
2511
|
.str-chat__attachment-list .str-chat__message-attachment--image:not(.str-chat__message-attachment--card) img {
|
|
2579
2512
|
height: min(var(--str-chat__attachment-max-width), min(var(--str-chat__attachment-max-width, 1000000) / var(--original-width, 1000000), 1px) * var(--original-height, 1000000));
|
|
2580
2513
|
max-width: var(--str-chat__attachment-max-width);
|
|
@@ -2621,47 +2554,13 @@
|
|
|
2621
2554
|
}
|
|
2622
2555
|
.str-chat__attachment-list .str-chat__gallery .str-chat__message-attachment--svg-image,
|
|
2623
2556
|
.str-chat__attachment-list .str-chat__message-attachment--image.str-chat__message-attachment--svg-image {
|
|
2624
|
-
padding: var(--
|
|
2557
|
+
padding: var(--space-24);
|
|
2625
2558
|
}
|
|
2626
2559
|
.str-chat__attachment-list .str-chat__gallery .str-chat__message-attachment--svg-image img,
|
|
2627
2560
|
.str-chat__attachment-list .str-chat__message-attachment--image.str-chat__message-attachment--svg-image img {
|
|
2628
2561
|
object-fit: contain;
|
|
2629
|
-
max-width: calc(var(--str-chat__attachment-max-width) - var(--
|
|
2630
|
-
max-height: calc(var(--str-chat__attachment-max-width) - var(--
|
|
2631
|
-
}
|
|
2632
|
-
.str-chat__attachment-list .str-chat__message-attachment-unsupported {
|
|
2633
|
-
background: var(--str-chat__file-attachment-background-color);
|
|
2634
|
-
color: var(--str-chat__file-attachment-color);
|
|
2635
|
-
box-shadow: var(--str-chat__file-attachment-box-shadow);
|
|
2636
|
-
border-radius: var(--str-chat__file-attachment-border-radius);
|
|
2637
|
-
border-block-start: var(--str-chat__file-attachment-border-block-start);
|
|
2638
|
-
border-block-end: var(--str-chat__file-attachment-border-block-end);
|
|
2639
|
-
border-inline-start: var(--str-chat__file-attachment-border-inline-start);
|
|
2640
|
-
border-inline-end: var(--str-chat__file-attachment-border-inline-end);
|
|
2641
|
-
display: flex;
|
|
2642
|
-
align-items: center;
|
|
2643
|
-
justify-content: center;
|
|
2644
|
-
padding: var(--str-chat__spacing-2);
|
|
2645
|
-
column-gap: var(--str-chat__spacing-4);
|
|
2646
|
-
}
|
|
2647
|
-
.str-chat__attachment-list .str-chat__message-attachment-unsupported .str-chat__file-icon {
|
|
2648
|
-
width: calc(var(--str-chat__spacing-px) * 30);
|
|
2649
|
-
}
|
|
2650
|
-
.str-chat__attachment-list .str-chat__message-attachment-unsupported .str-chat__message-attachment-unsupported__metadata {
|
|
2651
|
-
min-width: 0;
|
|
2652
|
-
flex: 1;
|
|
2653
|
-
display: flex;
|
|
2654
|
-
flex-direction: column;
|
|
2655
|
-
align-items: flex-start;
|
|
2656
|
-
justify-content: center;
|
|
2657
|
-
}
|
|
2658
|
-
.str-chat__attachment-list .str-chat__message-attachment-unsupported .str-chat__message-attachment-unsupported__title {
|
|
2659
|
-
white-space: nowrap;
|
|
2660
|
-
overflow-y: visible;
|
|
2661
|
-
overflow-x: hidden;
|
|
2662
|
-
overflow-x: clip;
|
|
2663
|
-
text-overflow: ellipsis;
|
|
2664
|
-
max-width: 100%;
|
|
2562
|
+
max-width: calc(var(--str-chat__attachment-max-width) - var(--space-24));
|
|
2563
|
+
max-height: calc(var(--str-chat__attachment-max-width) - var(--space-24));
|
|
2665
2564
|
}
|
|
2666
2565
|
.str-chat__attachment-list .str-chat__message-attachment-file--item,
|
|
2667
2566
|
.str-chat__attachment-list .str-chat__message-attachment-audio-widget {
|
|
@@ -2680,7 +2579,7 @@
|
|
|
2680
2579
|
flex-direction: column;
|
|
2681
2580
|
align-items: flex-start;
|
|
2682
2581
|
justify-content: center;
|
|
2683
|
-
row-gap: var(--
|
|
2582
|
+
row-gap: var(--space-2);
|
|
2684
2583
|
min-width: 0;
|
|
2685
2584
|
line-height: var(--typography-line-height-tight);
|
|
2686
2585
|
}
|
|
@@ -2696,7 +2595,7 @@
|
|
|
2696
2595
|
display: flex;
|
|
2697
2596
|
align-items: center;
|
|
2698
2597
|
justify-content: space-between;
|
|
2699
|
-
column-gap: var(--
|
|
2598
|
+
column-gap: var(--space-8);
|
|
2700
2599
|
font-weight: var(--typography-font-weight-semi-bold);
|
|
2701
2600
|
font-size: var(--typography-font-size-sm);
|
|
2702
2601
|
}
|
|
@@ -2739,68 +2638,17 @@
|
|
|
2739
2638
|
border-inline-start: var(--str-chat__file-attachment-border-inline-start);
|
|
2740
2639
|
border-inline-end: var(--str-chat__file-attachment-border-inline-end);
|
|
2741
2640
|
}
|
|
2742
|
-
.str-chat__attachment-list .str-chat__message-attachment__voice-recording-widget {
|
|
2743
|
-
background: var(--str-chat__voice-recording-attachment-widget-background-color);
|
|
2744
|
-
color: var(--str-chat__voice-recording-attachment-widget-color);
|
|
2745
|
-
box-shadow: var(--str-chat__voice-recording-attachment-widget-box-shadow);
|
|
2746
|
-
border-radius: var(--str-chat__voice-recording-attachment-widget-border-radius);
|
|
2747
|
-
border-block-start: var(--str-chat__voice-recording-attachment-widget-border-block-start);
|
|
2748
|
-
border-block-end: var(--str-chat__voice-recording-attachment-widget-border-block-end);
|
|
2749
|
-
border-inline-start: var(--str-chat__voice-recording-attachment-widget-border-inline-start);
|
|
2750
|
-
border-inline-end: var(--str-chat__voice-recording-attachment-widget-border-inline-end);
|
|
2751
|
-
display: flex;
|
|
2752
|
-
align-items: center;
|
|
2753
|
-
justify-content: center;
|
|
2754
|
-
padding-block: var(--spacing-xs);
|
|
2755
|
-
padding-inline-start: var(--spacing-xs);
|
|
2756
|
-
padding-inline-end: var(--spacing-sm);
|
|
2757
|
-
min-height: 60px;
|
|
2758
|
-
}
|
|
2759
|
-
.str-chat__attachment-list .str-chat__message-attachment__voice-recording-widget .str-chat__message-attachment__voice-recording-widget__play-button-container {
|
|
2760
|
-
padding: var(--spacing-xxs);
|
|
2761
|
-
}
|
|
2762
|
-
.str-chat__attachment-list .str-chat__message-attachment__voice-recording-widget .str-chat__message-attachment__voice-recording-widget__metadata {
|
|
2763
|
-
min-width: 180px;
|
|
2764
|
-
padding-inline: var(--spacing-xs);
|
|
2765
|
-
}
|
|
2766
|
-
.str-chat__attachment-list .str-chat__message-attachment__voice-recording-widget .str-chat__message-attachment__voice-recording-widget__metadata a {
|
|
2767
|
-
cursor: pointer;
|
|
2768
|
-
text-decoration: none;
|
|
2769
|
-
color: var(--str-chat__voice-recording-attachment-widget-color);
|
|
2770
|
-
}
|
|
2771
|
-
.str-chat__attachment-list .str-chat__message-attachment__voice-recording-widget .str-chat__message-attachment__voice-recording-widget__metadata .str-chat__message-attachment-voice-recording-widget--first-row {
|
|
2772
|
-
overflow-y: visible;
|
|
2773
|
-
overflow-x: hidden;
|
|
2774
|
-
overflow-x: clip;
|
|
2775
|
-
min-width: 0;
|
|
2776
|
-
width: 100%;
|
|
2777
|
-
display: flex;
|
|
2778
|
-
align-items: center;
|
|
2779
|
-
justify-content: space-between;
|
|
2780
|
-
gap: var(--str-chat__spacing-1);
|
|
2781
|
-
}
|
|
2782
|
-
.str-chat__attachment-list .str-chat__message-attachment__voice-recording-widget .str-chat__message-attachment__voice-recording-widget__metadata .str-chat__message-attachment-download-icon svg {
|
|
2783
|
-
width: calc(var(--str-chat__spacing-px) * 24);
|
|
2784
|
-
height: calc(var(--str-chat__spacing-px) * 16);
|
|
2785
|
-
}
|
|
2786
|
-
.str-chat__attachment-list .str-chat__message-attachment__voice-recording-widget .str-chat__message-attachment__voice-recording-widget__metadata .str-chat__message-attachment__voice-recording-widget__error-message {
|
|
2787
|
-
display: flex;
|
|
2788
|
-
align-items: center;
|
|
2789
|
-
justify-content: flex-start;
|
|
2790
|
-
gap: var(--str-chat__spacing-1);
|
|
2791
|
-
}
|
|
2792
|
-
.str-chat__attachment-list .str-chat__message-attachment__voice-recording-widget .str-chat__message-attachment__voice-recording-widget__timer {
|
|
2793
|
-
min-width: calc(var(--str-chat__spacing-px) * 40);
|
|
2794
|
-
width: calc(var(--str-chat__spacing-px) * 40);
|
|
2795
|
-
font: var(--str-chat__metadata-emphasis-text);
|
|
2796
|
-
}
|
|
2797
2641
|
.str-chat__attachment-list .str-chat__message-attachment-download-icon {
|
|
2798
2642
|
--str-chat-icon-height: calc(var(--str-chat__spacing-px) * 16);
|
|
2799
2643
|
}
|
|
2800
|
-
|
|
2801
|
-
|
|
2644
|
+
|
|
2645
|
+
.str-chat__message.str-chat__message--has-single-attachment.str-chat__message--has-no-text:not(.str-chat__message--has-quoted-message) .str-chat__message-bubble {
|
|
2646
|
+
padding: 0;
|
|
2802
2647
|
}
|
|
2803
2648
|
|
|
2649
|
+
.str-chat__message.str-chat__message--has-single-attachment.str-chat__message--has-no-text .str-chat__attachment-list {
|
|
2650
|
+
--str-chat__attachment-max-width: var(--str-chat__message-max-width);
|
|
2651
|
+
}
|
|
2804
2652
|
.str-chat__message.str-chat__message--has-single-attachment.str-chat__message--has-no-text .str-chat__message-bubble {
|
|
2805
2653
|
border: 1px solid var(--chat-border-incoming);
|
|
2806
2654
|
box-shadow: var(--background-core-elevation-0);
|
|
@@ -2808,11 +2656,10 @@
|
|
|
2808
2656
|
.str-chat__message.str-chat__message--has-single-attachment.str-chat__message--has-no-text .str-chat__message-attachment {
|
|
2809
2657
|
background-color: var(--chat-bg-incoming);
|
|
2810
2658
|
}
|
|
2811
|
-
.str-chat__message.str-chat__message--has-single-attachment.str-chat__message--has-no-text .str-chat__message-attachment .str-chat__message-attachment__voice-recording-widget {
|
|
2812
|
-
padding: unset;
|
|
2813
|
-
padding-inline-end: var(--spacing-xxs);
|
|
2814
|
-
}
|
|
2815
2659
|
|
|
2660
|
+
.str-chat__message--me .str-chat__attachment-list {
|
|
2661
|
+
align-items: flex-end;
|
|
2662
|
+
}
|
|
2816
2663
|
.str-chat__message--me .str-chat__message-attachment {
|
|
2817
2664
|
background-color: var(--chat-bg-attachment-outgoing);
|
|
2818
2665
|
border-radius: var(--message-bubble-radius-attachment);
|
|
@@ -2960,7 +2807,8 @@
|
|
|
2960
2807
|
border-inline-start: var(--str-chat__audio-attachment-widget-border-inline-start);
|
|
2961
2808
|
border-inline-end: var(--str-chat__audio-attachment-widget-border-inline-end);
|
|
2962
2809
|
flex: 1 1 auto;
|
|
2963
|
-
|
|
2810
|
+
width: 100%;
|
|
2811
|
+
min-width: 0;
|
|
2964
2812
|
}
|
|
2965
2813
|
.str-chat__message-attachment-audio-widget .str-chat__message-attachment-audio-widget--play-controls {
|
|
2966
2814
|
display: flex;
|
|
@@ -2969,6 +2817,7 @@
|
|
|
2969
2817
|
}
|
|
2970
2818
|
.str-chat__message-attachment-audio-widget .str-chat__message-attachment-audio-widget--data {
|
|
2971
2819
|
flex: 1;
|
|
2820
|
+
min-width: 0;
|
|
2972
2821
|
display: flex;
|
|
2973
2822
|
flex-direction: column;
|
|
2974
2823
|
gap: var(--spacing-xxs);
|
|
@@ -3005,6 +2854,7 @@
|
|
|
3005
2854
|
}
|
|
3006
2855
|
.str-chat__message-attachment-audio-widget .str-chat__message-attachment-audio-widget--text-second-row .str-chat__message-attachment-file--item-size {
|
|
3007
2856
|
line-height: calc(var(--str-chat__spacing-px) * 14);
|
|
2857
|
+
font: var(--str-chat__font-metadata-default);
|
|
3008
2858
|
}
|
|
3009
2859
|
|
|
3010
2860
|
.str-chat__message-attachment-card--audio .str-chat__message-attachment-card--content {
|
|
@@ -3056,7 +2906,8 @@
|
|
|
3056
2906
|
display: flex;
|
|
3057
2907
|
flex-direction: column;
|
|
3058
2908
|
height: 200px;
|
|
3059
|
-
width:
|
|
2909
|
+
width: 100%;
|
|
2910
|
+
max-width: var(--str-chat__attachment-max-width);
|
|
3060
2911
|
}
|
|
3061
2912
|
.str-chat__message-attachment-geolocation .str-chat__message-attachment-geolocation__location-preview {
|
|
3062
2913
|
flex: 1;
|
|
@@ -3108,7 +2959,7 @@
|
|
|
3108
2959
|
}
|
|
3109
2960
|
.str-chat__message-attachment-geolocation .str-chat__message-attachment-geolocation__status .str-chat__message-attachment-geolocation__status--active .str-chat__message-attachment-geolocation__status--active-until {
|
|
3110
2961
|
text-transform: lowercase;
|
|
3111
|
-
font: var(--str-
|
|
2962
|
+
font: var(--str-chat__metadata-emphasis-text);
|
|
3112
2963
|
}
|
|
3113
2964
|
|
|
3114
2965
|
.str-chat {
|
|
@@ -3131,6 +2982,10 @@
|
|
|
3131
2982
|
width: 100%;
|
|
3132
2983
|
cursor: default;
|
|
3133
2984
|
}
|
|
2985
|
+
.str-chat__message-attachment-giphy .str-chat__image-placeholder {
|
|
2986
|
+
height: var(--str-chat__gif-height);
|
|
2987
|
+
width: var(--str-chat__attachment-max-width);
|
|
2988
|
+
}
|
|
3134
2989
|
|
|
3135
2990
|
.str-chat__giphy-badge {
|
|
3136
2991
|
display: inline-flex;
|
|
@@ -3140,7 +2995,7 @@
|
|
|
3140
2995
|
align-items: center;
|
|
3141
2996
|
gap: var(--spacing-xxs, 4px);
|
|
3142
2997
|
position: absolute;
|
|
3143
|
-
|
|
2998
|
+
inset-inline-start: 8px;
|
|
3144
2999
|
bottom: 8px;
|
|
3145
3000
|
border-radius: var(--radius-lg, 12px);
|
|
3146
3001
|
background-color: var(--badge-bg-overlay, rgba(0, 0, 0, 0.75));
|
|
@@ -3151,6 +3006,12 @@
|
|
|
3151
3006
|
text-transform: uppercase;
|
|
3152
3007
|
}
|
|
3153
3008
|
|
|
3009
|
+
.str-chat__message-attachment--giphy--actions .str-chat__message-attachment-giphy {
|
|
3010
|
+
height: var(--str-chat__gif-height);
|
|
3011
|
+
}
|
|
3012
|
+
.str-chat__message-attachment--giphy--actions .str-chat__message-attachment-giphy img.str-chat__base-image {
|
|
3013
|
+
height: var(--str-chat__gif-height);
|
|
3014
|
+
}
|
|
3154
3015
|
.str-chat__message-attachment--giphy--actions .str-chat__visibility-disclaimer {
|
|
3155
3016
|
display: flex;
|
|
3156
3017
|
padding: var(--spacing-sm, 12px);
|
|
@@ -3302,7 +3163,7 @@
|
|
|
3302
3163
|
grid-template-rows: 50% 50%;
|
|
3303
3164
|
overflow: hidden;
|
|
3304
3165
|
border-radius: var(--radius-lg);
|
|
3305
|
-
gap: var(--
|
|
3166
|
+
gap: var(--space-2);
|
|
3306
3167
|
width: var(--str-chat__attachment-max-width);
|
|
3307
3168
|
max-width: var(--str-chat__attachment-max-width);
|
|
3308
3169
|
height: var(--str-chat__attachment-max-width);
|
|
@@ -3461,40 +3322,166 @@
|
|
|
3461
3322
|
background-position: -200% 0;
|
|
3462
3323
|
}
|
|
3463
3324
|
}
|
|
3464
|
-
.str-chat
|
|
3465
|
-
|
|
3466
|
-
|
|
3467
|
-
|
|
3468
|
-
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
|
-
|
|
3325
|
+
.str-chat {
|
|
3326
|
+
/* The border radius used for the borders of file attachments */
|
|
3327
|
+
--str-chat__unsupported-attachment-border-radius: calc(
|
|
3328
|
+
var(--str-chat__message-bubble-border-radius) - var(--str-chat__attachment-margin)
|
|
3329
|
+
);
|
|
3330
|
+
/* The text/icon color of file attachments */
|
|
3331
|
+
--str-chat__unsupported-attachment-color: var(--str-chat__text-color);
|
|
3332
|
+
/* The text/icon color of file attachments for low emphasis texts (for example file size) */
|
|
3333
|
+
--str-chat__unsupported-attachment-secondary-color: var(
|
|
3334
|
+
--str-chat__text-low-emphasis-color
|
|
3335
|
+
);
|
|
3336
|
+
/* The background color of file attachments */
|
|
3337
|
+
--str-chat__unsupported-attachment-background-color: transparent;
|
|
3338
|
+
/* Top border of file attachments */
|
|
3339
|
+
--str-chat__unsupported-attachment-border-block-start: none;
|
|
3340
|
+
/* Bottom border of file attachments */
|
|
3341
|
+
--str-chat__unsupported-attachment-border-block-end: none;
|
|
3342
|
+
/* Left (right in RTL layout) border of file attachments */
|
|
3343
|
+
--str-chat__unsupported-attachment-border-inline-start: none;
|
|
3344
|
+
/* Right (left in RTL layout) border of file attachments */
|
|
3345
|
+
--str-chat__unsupported-attachment-border-inline-end: none;
|
|
3346
|
+
/* Box shadow applied to file attachments */
|
|
3347
|
+
--str-chat__unsupported-attachment-box-shadow: none;
|
|
3474
3348
|
}
|
|
3475
3349
|
|
|
3476
|
-
.str-
|
|
3477
|
-
|
|
3350
|
+
.str-chat__message-attachment-unsupported {
|
|
3351
|
+
background: var(--str-chat__unsupported-attachment-background-color);
|
|
3352
|
+
color: var(--str-chat__unsupported-attachment-color);
|
|
3353
|
+
box-shadow: var(--str-chat__unsupported-attachment-box-shadow);
|
|
3354
|
+
border-radius: var(--str-chat__unsupported-attachment-border-radius);
|
|
3355
|
+
border-block-start: var(--str-chat__unsupported-attachment-border-block-start);
|
|
3356
|
+
border-block-end: var(--str-chat__unsupported-attachment-border-block-end);
|
|
3357
|
+
border-inline-start: var(--str-chat__unsupported-attachment-border-inline-start);
|
|
3358
|
+
border-inline-end: var(--str-chat__unsupported-attachment-border-inline-end);
|
|
3478
3359
|
display: flex;
|
|
3479
|
-
justify-content: center;
|
|
3480
3360
|
align-items: center;
|
|
3481
|
-
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
max-height: 24px;
|
|
3485
|
-
padding: var(--button-padding-y-sm) var(--spacing-xs);
|
|
3486
|
-
background-color: inherit;
|
|
3487
|
-
border-radius: var(--button-radius-lg);
|
|
3488
|
-
border: 1px solid var(--control-playback-toggle-border);
|
|
3489
|
-
color: var(--control-playback-toggle-text, var(--text-primary));
|
|
3490
|
-
font: var(--str-chat__metadata-emphasis-text);
|
|
3361
|
+
justify-content: center;
|
|
3362
|
+
padding: var(--spacing-md);
|
|
3363
|
+
column-gap: var(--spacing-xs);
|
|
3491
3364
|
}
|
|
3492
|
-
.str-
|
|
3493
|
-
|
|
3494
|
-
|
|
3495
|
-
|
|
3496
|
-
|
|
3497
|
-
|
|
3365
|
+
.str-chat__message-attachment-unsupported .str-chat__icon {
|
|
3366
|
+
height: calc(var(--str-chat__spacing-px) * 20);
|
|
3367
|
+
width: calc(var(--str-chat__spacing-px) * 20);
|
|
3368
|
+
}
|
|
3369
|
+
.str-chat__message-attachment-unsupported .str-chat__message-attachment-unsupported__metadata {
|
|
3370
|
+
min-width: 0;
|
|
3371
|
+
flex: 1;
|
|
3372
|
+
height: stretch;
|
|
3373
|
+
display: flex;
|
|
3374
|
+
align-items: center;
|
|
3375
|
+
}
|
|
3376
|
+
.str-chat__message-attachment-unsupported .str-chat__message-attachment-unsupported__title {
|
|
3377
|
+
white-space: nowrap;
|
|
3378
|
+
overflow-y: visible;
|
|
3379
|
+
overflow-x: hidden;
|
|
3380
|
+
overflow-x: clip;
|
|
3381
|
+
text-overflow: ellipsis;
|
|
3382
|
+
font: var(--str-chat__font-caption-emphasis);
|
|
3383
|
+
color: var(--text-primary);
|
|
3384
|
+
max-width: 100%;
|
|
3385
|
+
}
|
|
3386
|
+
|
|
3387
|
+
.str-chat {
|
|
3388
|
+
/* Border radius applied to audio recording widget */
|
|
3389
|
+
--str-chat__voice-recording-attachment-widget-border-radius: calc(
|
|
3390
|
+
var(--str-chat__message-bubble-border-radius) - var(--str-chat__attachment-margin)
|
|
3391
|
+
);
|
|
3392
|
+
/* Text color used in audio recording widget */
|
|
3393
|
+
--str-chat__voice-recording-attachment-widget-color: var(--str-chat__text-color);
|
|
3394
|
+
/* Border radius applied to audio recording widget */
|
|
3395
|
+
--str-chat__voice-recording-attachment-widget-secondary-color: var(
|
|
3396
|
+
--str-chat__text-low-emphasis-color
|
|
3397
|
+
);
|
|
3398
|
+
/* The text/icon color for low emphasis texts (for example file size) in audio recording widget */
|
|
3399
|
+
--str-chat__voice-recording-attachment-widget-background-color: transparent;
|
|
3400
|
+
/* Top border of audio recording widget */
|
|
3401
|
+
--str-chat__voice-recording-attachment-widget-border-block-start: none;
|
|
3402
|
+
/* Bottom border of audio recording widget */
|
|
3403
|
+
--str-chat__voice-recording-attachment-widget-border-block-end: none;
|
|
3404
|
+
/* Left (right in RTL layout) border of audio recording widget */
|
|
3405
|
+
--str-chat__voice-recording-attachment-widget-border-inline-start: none;
|
|
3406
|
+
/* Right (left in RTL layout) border of audio recording widget */
|
|
3407
|
+
--str-chat__voice-recording-attachment-widget-border-inline-end: none;
|
|
3408
|
+
/* Box shadow applied to audio recording widget */
|
|
3409
|
+
--str-chat__voice-recording-attachment-widget-box-shadow: none;
|
|
3410
|
+
}
|
|
3411
|
+
|
|
3412
|
+
.str-chat__message-attachment__voice-recording-widget {
|
|
3413
|
+
background: var(--str-chat__voice-recording-attachment-widget-background-color);
|
|
3414
|
+
color: var(--str-chat__voice-recording-attachment-widget-color);
|
|
3415
|
+
box-shadow: var(--str-chat__voice-recording-attachment-widget-box-shadow);
|
|
3416
|
+
border-radius: var(--str-chat__voice-recording-attachment-widget-border-radius);
|
|
3417
|
+
border-block-start: var(--str-chat__voice-recording-attachment-widget-border-block-start);
|
|
3418
|
+
border-block-end: var(--str-chat__voice-recording-attachment-widget-border-block-end);
|
|
3419
|
+
border-inline-start: var(--str-chat__voice-recording-attachment-widget-border-inline-start);
|
|
3420
|
+
border-inline-end: var(--str-chat__voice-recording-attachment-widget-border-inline-end);
|
|
3421
|
+
display: flex;
|
|
3422
|
+
align-items: center;
|
|
3423
|
+
justify-content: center;
|
|
3424
|
+
width: 100%;
|
|
3425
|
+
min-width: 0;
|
|
3426
|
+
min-height: 60px;
|
|
3427
|
+
padding: var(--spacing-xs);
|
|
3428
|
+
}
|
|
3429
|
+
.str-chat__message-attachment__voice-recording-widget .str-chat__message-attachment__voice-recording-widget__play-button-container {
|
|
3430
|
+
padding: var(--spacing-xxs);
|
|
3431
|
+
}
|
|
3432
|
+
.str-chat__message-attachment__voice-recording-widget .str-chat__message-attachment__voice-recording-widget__metadata {
|
|
3433
|
+
flex: 1;
|
|
3434
|
+
min-width: 0;
|
|
3435
|
+
}
|
|
3436
|
+
.str-chat__message-attachment__voice-recording-widget .str-chat__message-attachment__voice-recording-widget__metadata a {
|
|
3437
|
+
cursor: pointer;
|
|
3438
|
+
text-decoration: none;
|
|
3439
|
+
color: var(--str-chat__voice-recording-attachment-widget-color);
|
|
3440
|
+
}
|
|
3441
|
+
.str-chat__message-attachment__voice-recording-widget .str-chat__message-attachment__voice-recording-widget__metadata .str-chat__message-attachment-download-icon svg {
|
|
3442
|
+
width: calc(var(--str-chat__spacing-px) * 24);
|
|
3443
|
+
height: calc(var(--str-chat__spacing-px) * 16);
|
|
3444
|
+
}
|
|
3445
|
+
.str-chat__message-attachment__voice-recording-widget .str-chat__message-attachment__voice-recording-widget__timer {
|
|
3446
|
+
min-width: calc(var(--str-chat__spacing-px) * 40);
|
|
3447
|
+
width: calc(var(--str-chat__spacing-px) * 40);
|
|
3448
|
+
font: var(--str-chat__metadata-emphasis-text);
|
|
3449
|
+
}
|
|
3450
|
+
|
|
3451
|
+
.str-chat .str-chat__duration-display {
|
|
3452
|
+
letter-spacing: 0;
|
|
3453
|
+
min-width: 35px;
|
|
3454
|
+
width: 35px;
|
|
3455
|
+
color: var(--text-primary);
|
|
3456
|
+
white-space: nowrap;
|
|
3457
|
+
text-align: center;
|
|
3458
|
+
}
|
|
3459
|
+
.str-chat .str-chat__duration-display--hasProgress .str-chat__duration-display__time-elapsed {
|
|
3460
|
+
color: var(--str-chat__primary-color);
|
|
3461
|
+
}
|
|
3462
|
+
|
|
3463
|
+
.str-chat .str-chat__button.str-chat__playback-rate-button {
|
|
3464
|
+
text-transform: none;
|
|
3465
|
+
display: flex;
|
|
3466
|
+
justify-content: center;
|
|
3467
|
+
align-items: center;
|
|
3468
|
+
gap: var(--spacing-xs);
|
|
3469
|
+
min-width: 48px;
|
|
3470
|
+
min-height: 24px;
|
|
3471
|
+
max-height: 24px;
|
|
3472
|
+
padding: var(--button-padding-y-sm) var(--spacing-xs);
|
|
3473
|
+
background-color: inherit;
|
|
3474
|
+
border-radius: var(--button-radius-lg);
|
|
3475
|
+
border: 1px solid var(--control-playback-toggle-border);
|
|
3476
|
+
color: var(--control-playback-toggle-text, var(--text-primary));
|
|
3477
|
+
font: var(--str-chat__metadata-emphasis-text);
|
|
3478
|
+
}
|
|
3479
|
+
.str-chat .str-chat__button.str-chat__playback-rate-button:not(:disabled):hover::after {
|
|
3480
|
+
content: "";
|
|
3481
|
+
position: absolute;
|
|
3482
|
+
inset: 0;
|
|
3483
|
+
background: var(--background-utility-hover);
|
|
3484
|
+
pointer-events: none;
|
|
3498
3485
|
}
|
|
3499
3486
|
.str-chat .str-chat__button.str-chat__playback-rate-button:not(:disabled):focus-visible {
|
|
3500
3487
|
outline: 2px solid var(--border-utility-focused);
|
|
@@ -3524,7 +3511,12 @@
|
|
|
3524
3511
|
flex: 1;
|
|
3525
3512
|
min-width: 0;
|
|
3526
3513
|
cursor: pointer;
|
|
3527
|
-
background: linear-gradient(to right, var(--str-chat__primary-color) var(--str-chat__message-attachment-audio-widget-progress), var(--str-chat__disabled-color) var(--str-chat__message-attachment-audio-widget-progress));
|
|
3514
|
+
background: linear-gradient(to var(--str-chat__progress-direction, right), var(--str-chat__primary-color) var(--str-chat__message-attachment-audio-widget-progress), var(--str-chat__disabled-color) var(--str-chat__message-attachment-audio-widget-progress));
|
|
3515
|
+
}
|
|
3516
|
+
[dir=rtl] .str-chat .str-chat__message-attachment-audio-widget--progress-track {
|
|
3517
|
+
--str-chat__progress-direction: left;
|
|
3518
|
+
}
|
|
3519
|
+
.str-chat .str-chat__message-attachment-audio-widget--progress-track {
|
|
3528
3520
|
border-radius: calc(var(--str-chat__spacing-px) * 5);
|
|
3529
3521
|
}
|
|
3530
3522
|
.str-chat .str-chat__message-attachment-audio-widget--progress-track .str-chat__message-attachment-audio-widget--progress-indicator {
|
|
@@ -3570,7 +3562,7 @@
|
|
|
3570
3562
|
}
|
|
3571
3563
|
.str-chat .str-chat__wave-progress-bar__track .str-chat__wave-progress-bar__progress-indicator {
|
|
3572
3564
|
position: absolute;
|
|
3573
|
-
|
|
3565
|
+
inset-inline-start: 0;
|
|
3574
3566
|
border: 2px solid var(--base-white);
|
|
3575
3567
|
box-shadow: var(--light-elevation-3);
|
|
3576
3568
|
background: var(--accent-neutral);
|
|
@@ -3578,14 +3570,22 @@
|
|
|
3578
3570
|
width: 14px;
|
|
3579
3571
|
border-radius: var(--radius-max);
|
|
3580
3572
|
cursor: grab;
|
|
3573
|
+
transition: inset-inline-start 250ms linear;
|
|
3581
3574
|
}
|
|
3582
3575
|
.str-chat .str-chat__wave-progress-bar__amplitude-bar {
|
|
3583
3576
|
background: var(--chat-waveform-bar);
|
|
3584
3577
|
border-radius: var(--radius-max);
|
|
3578
|
+
transition: background 250ms linear;
|
|
3585
3579
|
}
|
|
3586
3580
|
.str-chat .str-chat__wave-progress-bar__amplitude-bar--active {
|
|
3587
3581
|
background: var(--chat-waveform-bar-playing);
|
|
3588
3582
|
}
|
|
3583
|
+
.str-chat .str-chat__wave-progress-bar__track--dragging .str-chat__wave-progress-bar__progress-indicator {
|
|
3584
|
+
transition: none;
|
|
3585
|
+
}
|
|
3586
|
+
.str-chat .str-chat__wave-progress-bar__track--dragging .str-chat__wave-progress-bar__amplitude-bar {
|
|
3587
|
+
transition: none;
|
|
3588
|
+
}
|
|
3589
3589
|
.str-chat .str-chat__wave-progress-bar__track--playback-initiated .str-chat__wave-progress-bar__progress-indicator {
|
|
3590
3590
|
background: var(--accent-primary);
|
|
3591
3591
|
}
|
|
@@ -3615,7 +3615,7 @@
|
|
|
3615
3615
|
width: 100%;
|
|
3616
3616
|
height: 100%;
|
|
3617
3617
|
}
|
|
3618
|
-
.str-chat__avatar .str-chat__icon
|
|
3618
|
+
.str-chat__avatar .str-chat__icon {
|
|
3619
3619
|
width: var(--avatar-icon-size);
|
|
3620
3620
|
height: var(--avatar-icon-size);
|
|
3621
3621
|
stroke-width: var(--avatar-icon-stroke-width);
|
|
@@ -3643,7 +3643,7 @@
|
|
|
3643
3643
|
width: var(--avatar-status-badge-size);
|
|
3644
3644
|
height: var(--avatar-status-badge-size);
|
|
3645
3645
|
z-index: 1;
|
|
3646
|
-
|
|
3646
|
+
inset-inline-start: calc(var(--avatar-size) / 2 + var(--avatar-size) / 2 * cos(var(--avatar-status-badge-angle)) - var(--avatar-status-badge-size) / 2);
|
|
3647
3647
|
top: calc(var(--avatar-size) / 2 + var(--avatar-size) / 2 * sin(var(--avatar-status-badge-angle)) - var(--avatar-status-badge-size) / 2);
|
|
3648
3648
|
border-radius: var(--radius-max, 9999px);
|
|
3649
3649
|
border-style: solid;
|
|
@@ -3714,15 +3714,15 @@
|
|
|
3714
3714
|
}
|
|
3715
3715
|
.str-chat__avatar-stack.str-chat__avatar-stack--size-xs > .str-chat__avatar:not(:first-child),
|
|
3716
3716
|
.str-chat__avatar-stack.str-chat__avatar-stack--size-xs .str-chat__avatar-stack__count-badge {
|
|
3717
|
-
margin-
|
|
3717
|
+
margin-inline-start: calc(var(--spacing-xs) * -1);
|
|
3718
3718
|
}
|
|
3719
3719
|
.str-chat__avatar-stack.str-chat__avatar-stack--size-sm > .str-chat__avatar:not(:first-child),
|
|
3720
3720
|
.str-chat__avatar-stack.str-chat__avatar-stack--size-sm .str-chat__avatar-stack__count-badge {
|
|
3721
|
-
margin-
|
|
3721
|
+
margin-inline-start: calc(var(--spacing-sm) * -1);
|
|
3722
3722
|
}
|
|
3723
3723
|
.str-chat__avatar-stack.str-chat__avatar-stack--size-md > .str-chat__avatar:not(:first-child),
|
|
3724
3724
|
.str-chat__avatar-stack.str-chat__avatar-stack--size-md .str-chat__avatar-stack__count-badge {
|
|
3725
|
-
margin-
|
|
3725
|
+
margin-inline-start: calc(var(--spacing-sm) * -1);
|
|
3726
3726
|
}
|
|
3727
3727
|
|
|
3728
3728
|
.str-chat__avatar-group {
|
|
@@ -3768,7 +3768,7 @@
|
|
|
3768
3768
|
position: absolute;
|
|
3769
3769
|
width: var(--avatar-group-online-badge-size);
|
|
3770
3770
|
height: var(--avatar-group-online-badge-size);
|
|
3771
|
-
|
|
3771
|
+
inset-inline-end: -2px;
|
|
3772
3772
|
top: -2px;
|
|
3773
3773
|
border-radius: var(--radius-max, 9999px);
|
|
3774
3774
|
border-style: solid;
|
|
@@ -3800,27 +3800,27 @@
|
|
|
3800
3800
|
}
|
|
3801
3801
|
.str-chat__avatar-group:has(> :last-child:nth-child(4)) > :nth-child(1) {
|
|
3802
3802
|
top: 0;
|
|
3803
|
-
|
|
3803
|
+
inset-inline-start: 0;
|
|
3804
3804
|
}
|
|
3805
3805
|
.str-chat__avatar-group:has(> :last-child:nth-child(4)) > :nth-child(2) {
|
|
3806
3806
|
top: 0;
|
|
3807
|
-
|
|
3807
|
+
inset-inline-end: 0;
|
|
3808
3808
|
}
|
|
3809
3809
|
.str-chat__avatar-group:has(> :last-child:nth-child(4)) > :nth-child(3) {
|
|
3810
3810
|
bottom: 0;
|
|
3811
|
-
|
|
3811
|
+
inset-inline-start: 0;
|
|
3812
3812
|
}
|
|
3813
3813
|
.str-chat__avatar-group:has(> :last-child:nth-child(4)) > :last-child {
|
|
3814
3814
|
bottom: 0;
|
|
3815
|
-
|
|
3815
|
+
inset-inline-end: 0;
|
|
3816
3816
|
}
|
|
3817
3817
|
.str-chat__avatar-group:has(> :last-child:nth-child(3)):has(> .str-chat__avatar-group__count-badge) > :nth-child(1) {
|
|
3818
3818
|
top: 0;
|
|
3819
|
-
|
|
3819
|
+
inset-inline-start: 0;
|
|
3820
3820
|
}
|
|
3821
3821
|
.str-chat__avatar-group:has(> :last-child:nth-child(3)):has(> .str-chat__avatar-group__count-badge) > :nth-child(2) {
|
|
3822
3822
|
top: 0;
|
|
3823
|
-
|
|
3823
|
+
inset-inline-end: 0;
|
|
3824
3824
|
}
|
|
3825
3825
|
.str-chat__avatar-group:has(> :last-child:nth-child(3)):has(> .str-chat__avatar-group__count-badge) > :last-child {
|
|
3826
3826
|
bottom: 0;
|
|
@@ -3830,19 +3830,19 @@
|
|
|
3830
3830
|
}
|
|
3831
3831
|
.str-chat__avatar-group:has(> :last-child:nth-child(3)):not(:has(> .str-chat__avatar-group__count-badge)) > :nth-child(2) {
|
|
3832
3832
|
bottom: 0;
|
|
3833
|
-
|
|
3833
|
+
inset-inline-start: 0;
|
|
3834
3834
|
}
|
|
3835
3835
|
.str-chat__avatar-group:has(> :last-child:nth-child(3)):not(:has(> .str-chat__avatar-group__count-badge)) > :last-child {
|
|
3836
3836
|
bottom: 0;
|
|
3837
|
-
|
|
3837
|
+
inset-inline-end: 0;
|
|
3838
3838
|
}
|
|
3839
3839
|
.str-chat__avatar-group:has(> :last-child:nth-child(2)) > :nth-child(1) {
|
|
3840
3840
|
top: 0;
|
|
3841
|
-
|
|
3841
|
+
inset-inline-start: 0;
|
|
3842
3842
|
}
|
|
3843
3843
|
.str-chat__avatar-group:has(> :last-child:nth-child(2)) > :last-child {
|
|
3844
3844
|
bottom: 0;
|
|
3845
|
-
|
|
3845
|
+
inset-inline-end: 0;
|
|
3846
3846
|
}
|
|
3847
3847
|
|
|
3848
3848
|
.str-chat__channel {
|
|
@@ -4011,8 +4011,6 @@
|
|
|
4011
4011
|
--str-chat__channel-border-inline-start: none;
|
|
4012
4012
|
/* Right (left in RTL layout) border of the component */
|
|
4013
4013
|
--str-chat__channel-border-inline-end: none;
|
|
4014
|
-
/* The icon color used when no channel is selected */
|
|
4015
|
-
--str-chat__channel-empty-indicator-color: var(--str-chat__disabled-color);
|
|
4016
4014
|
/* The base surface color behind the loading shimmer */
|
|
4017
4015
|
--str-chat__channel-loading-state-color: var(--background-core-surface);
|
|
4018
4016
|
}
|
|
@@ -4145,6 +4143,7 @@
|
|
|
4145
4143
|
overflow-x: hidden;
|
|
4146
4144
|
max-width: 100%;
|
|
4147
4145
|
row-gap: var(--spacing-xxs);
|
|
4146
|
+
width: 100%;
|
|
4148
4147
|
}
|
|
4149
4148
|
.str-chat__channel-header .str-chat__channel-header__end {
|
|
4150
4149
|
flex: 1;
|
|
@@ -4166,6 +4165,7 @@
|
|
|
4166
4165
|
font: var(--str-chat__caption-default-text);
|
|
4167
4166
|
color: var(--str-chat__channel-header__data__subtitle-color);
|
|
4168
4167
|
}
|
|
4168
|
+
|
|
4169
4169
|
.str-chat {
|
|
4170
4170
|
/* The border radius used for the borders of the component */
|
|
4171
4171
|
--str-chat__channel-list-border-radius: 0;
|
|
@@ -4267,7 +4267,7 @@
|
|
|
4267
4267
|
.str-chat__channel-list .str-chat__channel-list-inner {
|
|
4268
4268
|
height: 100%;
|
|
4269
4269
|
overflow: hidden;
|
|
4270
|
-
padding-bottom: var(--
|
|
4270
|
+
padding-bottom: calc(var(--space-8) + var(--space-2));
|
|
4271
4271
|
}
|
|
4272
4272
|
.str-chat__channel-list .str-chat__channel-list-inner .str-chat__channel-list-inner__main {
|
|
4273
4273
|
height: 100%;
|
|
@@ -4279,7 +4279,7 @@
|
|
|
4279
4279
|
flex-direction: column;
|
|
4280
4280
|
align-items: center;
|
|
4281
4281
|
justify-content: center;
|
|
4282
|
-
padding: var(--
|
|
4282
|
+
padding: calc(var(--space-8) + var(--space-4));
|
|
4283
4283
|
}
|
|
4284
4284
|
.str-chat__channel-list .str-chat__channel-list-inner .str-chat__channel-list-inner__main .str-chat__channel-list-empty p {
|
|
4285
4285
|
color: var(--text-secondary);
|
|
@@ -4288,16 +4288,13 @@
|
|
|
4288
4288
|
.str-chat__channel-list .str-chat__load-more-button {
|
|
4289
4289
|
display: flex;
|
|
4290
4290
|
justify-content: center;
|
|
4291
|
-
margin: var(--
|
|
4291
|
+
margin: var(--space-8) 0;
|
|
4292
4292
|
}
|
|
4293
4293
|
.str-chat__channel-list .str-chat__load-more-button .str-chat__load-more-button__button {
|
|
4294
4294
|
display: flex;
|
|
4295
4295
|
align-items: center;
|
|
4296
4296
|
justify-content: center;
|
|
4297
4297
|
}
|
|
4298
|
-
.str-chat__channel-list .stream-chat__paginated-list {
|
|
4299
|
-
gap: 0;
|
|
4300
|
-
}
|
|
4301
4298
|
.str-chat__channel-list .str-chat__load-more-button__button {
|
|
4302
4299
|
background: var(--str-chat__channel-list-load-more-background-color);
|
|
4303
4300
|
color: var(--str-chat__channel-list-load-more-color);
|
|
@@ -4344,36 +4341,6 @@
|
|
|
4344
4341
|
inset-inline-start: var(--str-chat__chat-view-selector-mobile-width, 0px);
|
|
4345
4342
|
width: calc(100% - var(--str-chat__chat-view-selector-mobile-width, 0px));
|
|
4346
4343
|
}
|
|
4347
|
-
.str-chat__channel-list.str-chat__channel-list--open {
|
|
4348
|
-
pointer-events: auto;
|
|
4349
|
-
transform: translateX(0);
|
|
4350
|
-
transition-delay: 0s, 0s;
|
|
4351
|
-
visibility: visible;
|
|
4352
|
-
}
|
|
4353
|
-
}
|
|
4354
|
-
.str-chat__channel-list {
|
|
4355
|
-
/* Desktop (≥768px): collapse when nav closed so main content uses space. */
|
|
4356
|
-
}
|
|
4357
|
-
@media (min-width: 768px) {
|
|
4358
|
-
.str-chat__channel-list.str-chat__channel-list--open {
|
|
4359
|
-
flex-basis: var(--str-chat__channel-list-width);
|
|
4360
|
-
max-width: 100%;
|
|
4361
|
-
min-width: 280px;
|
|
4362
|
-
opacity: 1;
|
|
4363
|
-
pointer-events: auto;
|
|
4364
|
-
transform: translateX(0);
|
|
4365
|
-
width: var(--str-chat__channel-list-width);
|
|
4366
|
-
}
|
|
4367
|
-
.str-chat__channel-list:not(.str-chat__channel-list--open) {
|
|
4368
|
-
flex: 0 0 0;
|
|
4369
|
-
width: 0;
|
|
4370
|
-
min-width: 0;
|
|
4371
|
-
max-width: 0;
|
|
4372
|
-
opacity: 0;
|
|
4373
|
-
overflow: hidden;
|
|
4374
|
-
pointer-events: none;
|
|
4375
|
-
transform: translateX(calc(0px - var(--str-chat__channel-list-transition-offset)));
|
|
4376
|
-
}
|
|
4377
4344
|
}
|
|
4378
4345
|
@media (prefers-reduced-motion: reduce) {
|
|
4379
4346
|
.str-chat__channel-list {
|
|
@@ -4384,10 +4351,7 @@
|
|
|
4384
4351
|
.str-chat__channel-list__header {
|
|
4385
4352
|
display: flex;
|
|
4386
4353
|
align-items: center;
|
|
4387
|
-
opacity: 1;
|
|
4388
4354
|
padding: var(--spacing-md);
|
|
4389
|
-
transform: translateX(0);
|
|
4390
|
-
transition: opacity var(--str-chat__channel-list-transition-duration, 180ms) var(--str-chat__channel-list-transition-easing, ease), transform var(--str-chat__channel-list-transition-duration, 180ms) var(--str-chat__channel-list-transition-easing, ease);
|
|
4391
4355
|
width: 100%;
|
|
4392
4356
|
}
|
|
4393
4357
|
.str-chat__channel-list__header .str-chat__channel-list__header__title {
|
|
@@ -4395,25 +4359,6 @@
|
|
|
4395
4359
|
font: var(--str-chat__heading-lg-text);
|
|
4396
4360
|
color: var(--text-primary);
|
|
4397
4361
|
}
|
|
4398
|
-
.str-chat__channel-list__header.str-chat__channel-list__header--sidebar-collapsed {
|
|
4399
|
-
opacity: 0;
|
|
4400
|
-
pointer-events: none;
|
|
4401
|
-
transform: translateX(calc(0px - var(--str-chat__channel-list-transition-offset, 8px)));
|
|
4402
|
-
}
|
|
4403
|
-
@media (max-width: 767px) {
|
|
4404
|
-
.str-chat__channel-list__header {
|
|
4405
|
-
transition: none;
|
|
4406
|
-
}
|
|
4407
|
-
.str-chat__channel-list__header.str-chat__channel-list__header--sidebar-collapsed {
|
|
4408
|
-
opacity: 1;
|
|
4409
|
-
transform: none;
|
|
4410
|
-
}
|
|
4411
|
-
}
|
|
4412
|
-
@media (prefers-reduced-motion: reduce) {
|
|
4413
|
-
.str-chat__channel-list__header {
|
|
4414
|
-
transition: none;
|
|
4415
|
-
}
|
|
4416
|
-
}
|
|
4417
4362
|
|
|
4418
4363
|
.str-chat__channel-list-item-container {
|
|
4419
4364
|
padding: var(--spacing-xxs);
|
|
@@ -4429,7 +4374,7 @@
|
|
|
4429
4374
|
border-radius: var(--radius-md, 8px);
|
|
4430
4375
|
background: var(--background-core-elevation-3, #fff);
|
|
4431
4376
|
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 2px 4px 0 rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.06);
|
|
4432
|
-
|
|
4377
|
+
inset-inline-end: 10px;
|
|
4433
4378
|
top: 10px;
|
|
4434
4379
|
padding: var(--spacing-xxs);
|
|
4435
4380
|
}
|
|
@@ -4547,44 +4492,8 @@
|
|
|
4547
4492
|
flex-direction: column;
|
|
4548
4493
|
padding: var(--spacing-md);
|
|
4549
4494
|
gap: var(--spacing-xs);
|
|
4550
|
-
border-
|
|
4495
|
+
border-inline-end: 1px solid var(--str-chat-selector-border-color);
|
|
4551
4496
|
background-color: var(--str-chat-selector-background-color);
|
|
4552
|
-
/* Mobile: hide when nav closed, show when nav open. */
|
|
4553
|
-
}
|
|
4554
|
-
@media (max-width: 767px) {
|
|
4555
|
-
.str-chat__chat-view .str-chat__chat-view__selector.str-chat__chat-view__selector--nav-closed {
|
|
4556
|
-
pointer-events: none;
|
|
4557
|
-
transform: translateX(calc(0px - var(--str-chat__chat-view-selector-transition-offset)));
|
|
4558
|
-
visibility: hidden;
|
|
4559
|
-
}
|
|
4560
|
-
.str-chat__chat-view .str-chat__chat-view__selector {
|
|
4561
|
-
inset-block: 0;
|
|
4562
|
-
inset-inline-start: 0;
|
|
4563
|
-
position: absolute;
|
|
4564
|
-
transition: transform var(--str-chat__chat-view-selector-transition-duration) var(--str-chat__chat-view-selector-transition-easing), visibility 0s linear var(--str-chat__chat-view-selector-transition-duration);
|
|
4565
|
-
width: var(--str-chat__chat-view-selector-mobile-width);
|
|
4566
|
-
z-index: 2;
|
|
4567
|
-
}
|
|
4568
|
-
.str-chat__chat-view .str-chat__chat-view__selector.str-chat__chat-view__selector--nav-open {
|
|
4569
|
-
pointer-events: auto;
|
|
4570
|
-
transform: translateX(0);
|
|
4571
|
-
transition-delay: 0s, 0s;
|
|
4572
|
-
visibility: visible;
|
|
4573
|
-
}
|
|
4574
|
-
}
|
|
4575
|
-
.str-chat__chat-view .str-chat__chat-view__selector {
|
|
4576
|
-
/* Desktop (≥768px): collapse when nav closed so main content uses space. */
|
|
4577
|
-
}
|
|
4578
|
-
@media (min-width: 768px) {
|
|
4579
|
-
.str-chat__chat-view .str-chat__chat-view__selector.str-chat__chat-view__selector--nav-closed {
|
|
4580
|
-
width: 0;
|
|
4581
|
-
min-width: 0;
|
|
4582
|
-
overflow: hidden;
|
|
4583
|
-
padding-inline: 0;
|
|
4584
|
-
padding-block: 0;
|
|
4585
|
-
gap: 0;
|
|
4586
|
-
border-inline-end: none;
|
|
4587
|
-
}
|
|
4588
4497
|
}
|
|
4589
4498
|
.str-chat__chat-view .str-chat__chat-view__selector .str-chat__chat-view__selector-button-container {
|
|
4590
4499
|
display: flex;
|
|
@@ -4624,7 +4533,7 @@
|
|
|
4624
4533
|
align-items: center;
|
|
4625
4534
|
}
|
|
4626
4535
|
.str-chat__chat-view .str-chat__chat-view__selector .str-chat__chat-view__selector-button-tooltip {
|
|
4627
|
-
|
|
4536
|
+
inset-inline-start: calc(100% + 8px);
|
|
4628
4537
|
opacity: 0;
|
|
4629
4538
|
pointer-events: none;
|
|
4630
4539
|
position: absolute;
|
|
@@ -4750,11 +4659,6 @@
|
|
|
4750
4659
|
border-top: var(--str-chat__drag-and-drop-container-on-dragover-border-block-start);
|
|
4751
4660
|
}
|
|
4752
4661
|
|
|
4753
|
-
.str-chat {
|
|
4754
|
-
/* The text color used when no channel is selected */
|
|
4755
|
-
--str-chat__channel-empty-color: var(--text-secondary);
|
|
4756
|
-
}
|
|
4757
|
-
|
|
4758
4662
|
.str-chat__empty-channel {
|
|
4759
4663
|
--str-chat-icon-color: var(--text-tertiary);
|
|
4760
4664
|
display: flex;
|
|
@@ -4782,10 +4686,6 @@
|
|
|
4782
4686
|
height: 32px;
|
|
4783
4687
|
color: var(--str-chat-icon-color);
|
|
4784
4688
|
}
|
|
4785
|
-
.str-chat__empty-channel .str-chat__empty-channel-notifications {
|
|
4786
|
-
position: absolute;
|
|
4787
|
-
inset-block-end: var(--str-chat__spacing-2);
|
|
4788
|
-
}
|
|
4789
4689
|
.str-chat__empty-channel .str-chat__empty-channel-text {
|
|
4790
4690
|
margin: 0;
|
|
4791
4691
|
max-width: 230px;
|
|
@@ -5026,10 +4926,10 @@
|
|
|
5026
4926
|
pointer-events: none;
|
|
5027
4927
|
}
|
|
5028
4928
|
.str-chat .str-chat__gallery__nav-button--prev {
|
|
5029
|
-
|
|
4929
|
+
inset-inline-start: var(--spacing-sm);
|
|
5030
4930
|
}
|
|
5031
4931
|
.str-chat .str-chat__gallery__nav-button--next {
|
|
5032
|
-
|
|
4932
|
+
inset-inline-end: var(--spacing-sm);
|
|
5033
4933
|
}
|
|
5034
4934
|
.str-chat .str-chat__gallery__position-indicator {
|
|
5035
4935
|
position: absolute;
|
|
@@ -5189,6 +5089,14 @@
|
|
|
5189
5089
|
}
|
|
5190
5090
|
}
|
|
5191
5091
|
|
|
5092
|
+
.str-chat__circular-progress-indicator {
|
|
5093
|
+
width: 100%;
|
|
5094
|
+
height: 100%;
|
|
5095
|
+
}
|
|
5096
|
+
.str-chat__circular-progress-indicator svg {
|
|
5097
|
+
display: block;
|
|
5098
|
+
}
|
|
5099
|
+
|
|
5192
5100
|
.str-chat__share-location-dialog {
|
|
5193
5101
|
width: 100%;
|
|
5194
5102
|
max-width: 520px;
|
|
@@ -5255,7 +5163,7 @@
|
|
|
5255
5163
|
align-items: center;
|
|
5256
5164
|
gap: var(--spacing-md);
|
|
5257
5165
|
padding: var(--spacing-xs);
|
|
5258
|
-
padding-
|
|
5166
|
+
padding-inline-start: var(--spacing-sm);
|
|
5259
5167
|
}
|
|
5260
5168
|
.str-chat__audio_recorder .str-chat__audio-recorder__recording-playback .str-chat__recording-timer,
|
|
5261
5169
|
.str-chat__audio_recorder .str-chat__audio-recorder__recording-preview .str-chat__recording-timer {
|
|
@@ -5329,12 +5237,6 @@
|
|
|
5329
5237
|
width: auto;
|
|
5330
5238
|
min-width: 0;
|
|
5331
5239
|
}
|
|
5332
|
-
.str-chat__audio_recorder .str-chat__wave-progress-bar__track-container {
|
|
5333
|
-
max-width: 500px;
|
|
5334
|
-
}
|
|
5335
|
-
.str-chat__audio_recorder .str-chat__waveform-box-container {
|
|
5336
|
-
max-width: 520px;
|
|
5337
|
-
}
|
|
5338
5240
|
.str-chat__audio_recorder .str-chat__wave-progress-bar__track {
|
|
5339
5241
|
display: flex;
|
|
5340
5242
|
min-width: 0;
|
|
@@ -5366,11 +5268,8 @@
|
|
|
5366
5268
|
--str-chat__message-options-button-size: calc(var(--str-chat__spacing-px) * 26);
|
|
5367
5269
|
--str-chat__message-border-radius: 0;
|
|
5368
5270
|
--str-chat__message-color: var(--str-chat__text-color);
|
|
5369
|
-
--str-chat__message-error-message-color: var(--str-chat__danger-color);
|
|
5370
|
-
--str-chat__message-secondary-color: var(--str-chat__text-low-emphasis-color);
|
|
5371
5271
|
--str-chat__message-link-color: var(--chat-text-link);
|
|
5372
5272
|
--str-chat__message-mention-color: var(--str-chat__primary-color);
|
|
5373
|
-
--str-chat__message-replies-count-color: var(--str-chat__primary-color);
|
|
5374
5273
|
--str-chat__message-background-color: transparent;
|
|
5375
5274
|
--str-chat__message-highlighted-background-color: var(
|
|
5376
5275
|
--str-chat__message-highlight-color
|
|
@@ -5397,7 +5296,7 @@
|
|
|
5397
5296
|
--str-chat__message-bubble-border-inline-start: none;
|
|
5398
5297
|
--str-chat__message-bubble-border-inline-end: none;
|
|
5399
5298
|
--str-chat__message-bubble-box-shadow: none;
|
|
5400
|
-
--str-chat__blocked-message-border-radius: var(--
|
|
5299
|
+
--str-chat__blocked-message-border-radius: var(--radius-md);
|
|
5401
5300
|
--str-chat__blocked-message-color: var(--str-chat__text-low-emphasis-color);
|
|
5402
5301
|
--str-chat__blocked-message-background-color: var(--str-chat__secondary-surface-color);
|
|
5403
5302
|
--str-chat__blocked-message-border-block-start: none;
|
|
@@ -5405,17 +5304,13 @@
|
|
|
5405
5304
|
--str-chat__blocked-message-border-inline-start: none;
|
|
5406
5305
|
--str-chat__blocked-message-border-inline-end: none;
|
|
5407
5306
|
--str-chat__blocked-message-box-shadow: none;
|
|
5408
|
-
--str-chat__translation-notice-color: var(--str-chat__text-low-emphasis-color);
|
|
5409
|
-
--str-chat__translation-notice-active-background-color: var(
|
|
5410
|
-
--str-chat__tertiary-surface-color
|
|
5411
|
-
);
|
|
5412
5307
|
--str-chat__message-reactions-host-offset-x: calc(var(--spacing-xs) * -1);
|
|
5413
5308
|
/* Background color for pinned messages (Figma: background/core/highlight) */
|
|
5414
5309
|
--str-chat__message-pinned-background-color: var(--background-core-highlight);
|
|
5415
5310
|
/* The maximum allowed width of the message component */
|
|
5416
5311
|
--str-chat__message-max-width: calc(var(--str-chat__spacing-px) * 400);
|
|
5417
5312
|
/* The maximum allowed width of the message component, if it has attachments */
|
|
5418
|
-
--str-chat__message-with-attachment-max-width: calc(var(--str-chat__spacing-px) *
|
|
5313
|
+
--str-chat__message-with-attachment-max-width: calc(var(--str-chat__spacing-px) * 400);
|
|
5419
5314
|
}
|
|
5420
5315
|
|
|
5421
5316
|
/* Make spaces between message groups */
|
|
@@ -5441,12 +5336,8 @@
|
|
|
5441
5336
|
--str-chat-message-options-size: calc(3 * var(--str-chat__message-options-button-size));
|
|
5442
5337
|
padding-inline: var(--str-chat__message-composer-padding);
|
|
5443
5338
|
}
|
|
5444
|
-
.str-chat__message.str-chat__message-without-touch-support {
|
|
5445
|
-
--str-chat-message-options-size: calc(
|
|
5446
|
-
1 * var(--str-chat__message-options-button-size)
|
|
5447
|
-
);
|
|
5448
|
-
}
|
|
5449
5339
|
.str-chat__message .str-chat__message-bubble {
|
|
5340
|
+
width: min(100%, var(--str-chat__message-max-width));
|
|
5450
5341
|
max-width: var(--str-chat__message-max-width);
|
|
5451
5342
|
display: flex;
|
|
5452
5343
|
flex-direction: column;
|
|
@@ -5465,6 +5356,15 @@
|
|
|
5465
5356
|
background-color: transparent;
|
|
5466
5357
|
overflow: visible;
|
|
5467
5358
|
}
|
|
5359
|
+
.str-chat__message.str-chat__message--is-emoji-only.str-chat__message--is-emoji-only-count-1 .str-chat__message-bubble,
|
|
5360
|
+
.str-chat__message.str-chat__message--is-emoji-only.str-chat__message--is-emoji-only-count-1 .str-chat__message-inner .str-chat__message-bubble .str-chat__message-text,
|
|
5361
|
+
.str-chat__message.str-chat__message--is-emoji-only.str-chat__message--is-emoji-only-count-1 .str-chat__message-inner .str-chat__message-replies-count-button-wrapper, .str-chat__message.str-chat__message--is-emoji-only.str-chat__message--is-emoji-only-count-2 .str-chat__message-bubble,
|
|
5362
|
+
.str-chat__message.str-chat__message--is-emoji-only.str-chat__message--is-emoji-only-count-2 .str-chat__message-inner .str-chat__message-bubble .str-chat__message-text,
|
|
5363
|
+
.str-chat__message.str-chat__message--is-emoji-only.str-chat__message--is-emoji-only-count-2 .str-chat__message-inner .str-chat__message-replies-count-button-wrapper, .str-chat__message.str-chat__message--is-emoji-only.str-chat__message--is-emoji-only-count-3 .str-chat__message-bubble,
|
|
5364
|
+
.str-chat__message.str-chat__message--is-emoji-only.str-chat__message--is-emoji-only-count-3 .str-chat__message-inner .str-chat__message-bubble .str-chat__message-text,
|
|
5365
|
+
.str-chat__message.str-chat__message--is-emoji-only.str-chat__message--is-emoji-only-count-3 .str-chat__message-inner .str-chat__message-replies-count-button-wrapper {
|
|
5366
|
+
padding-inline: 0;
|
|
5367
|
+
}
|
|
5468
5368
|
.str-chat__message.str-chat__message--is-emoji-only.str-chat__message--is-emoji-only-count-1 .str-chat__message-inner .str-chat__message-bubble {
|
|
5469
5369
|
font-size: 64px;
|
|
5470
5370
|
line-height: 64px;
|
|
@@ -5477,11 +5377,6 @@
|
|
|
5477
5377
|
font-size: 32px;
|
|
5478
5378
|
line-height: 32px;
|
|
5479
5379
|
}
|
|
5480
|
-
.str-chat__message.str-chat__message--is-emoji-only .str-chat__message-bubble,
|
|
5481
|
-
.str-chat__message.str-chat__message--is-emoji-only .str-chat__message-inner .str-chat__message-bubble .str-chat__message-text,
|
|
5482
|
-
.str-chat__message.str-chat__message--is-emoji-only .str-chat__message-inner .str-chat__message-replies-count-button-wrapper {
|
|
5483
|
-
padding-inline: 0;
|
|
5484
|
-
}
|
|
5485
5380
|
.str-chat__message.str-chat__message--is-emoji-only .str-chat__message-replies-count-button-wrapper::after {
|
|
5486
5381
|
display: none;
|
|
5487
5382
|
}
|
|
@@ -5490,6 +5385,7 @@
|
|
|
5490
5385
|
--str-chat__message-max-width: var(--str-chat__message-with-attachment-max-width);
|
|
5491
5386
|
}
|
|
5492
5387
|
.str-chat__message.str-chat__message--has-attachment .str-chat__message-bubble {
|
|
5388
|
+
width: min(100%, var(--str-chat__message-max-width));
|
|
5493
5389
|
max-width: var(--str-chat__message-max-width);
|
|
5494
5390
|
}
|
|
5495
5391
|
|
|
@@ -5502,7 +5398,7 @@
|
|
|
5502
5398
|
|
|
5503
5399
|
.str-chat__message-mention {
|
|
5504
5400
|
color: var(--str-chat__message-mention-color);
|
|
5505
|
-
font: var(--str-
|
|
5401
|
+
font: var(--str-chat__body-emphasis-text);
|
|
5506
5402
|
}
|
|
5507
5403
|
|
|
5508
5404
|
.str-chat__message {
|
|
@@ -5528,9 +5424,20 @@
|
|
|
5528
5424
|
display: flex;
|
|
5529
5425
|
align-items: center;
|
|
5530
5426
|
gap: var(--spacing-xxs);
|
|
5531
|
-
font: var(--str-chat__metadata-
|
|
5427
|
+
font: var(--str-chat__metadata-emphasis-text);
|
|
5532
5428
|
color: var(--text-primary-text);
|
|
5533
5429
|
}
|
|
5430
|
+
.str-chat__message .str-chat__message-pin-indicator .str-chat__message-pin-indicator__content .str-chat__message-pin-indicator__icon {
|
|
5431
|
+
display: flex;
|
|
5432
|
+
align-items: center;
|
|
5433
|
+
}
|
|
5434
|
+
.str-chat__message .str-chat__message-pin-indicator .str-chat__message-pin-indicator__content .str-chat__message-pin-indicator__icon .str-chat__icon {
|
|
5435
|
+
width: var(--icon-size-xs);
|
|
5436
|
+
height: var(--icon-size-xs);
|
|
5437
|
+
}
|
|
5438
|
+
.str-chat__message .str-chat__message-pin-indicator .str-chat__message-pin-indicator__content .str-chat__message-pin-indicator__icon .str-chat__icon path {
|
|
5439
|
+
stroke-width: 2px;
|
|
5440
|
+
}
|
|
5534
5441
|
.str-chat__message.str-chat__message--me .str-chat__message-pin-indicator .str-chat__message-pin-indicator__content {
|
|
5535
5442
|
justify-content: flex-end;
|
|
5536
5443
|
}
|
|
@@ -5538,7 +5445,7 @@
|
|
|
5538
5445
|
justify-content: flex-end;
|
|
5539
5446
|
}
|
|
5540
5447
|
.str-chat__message.str-chat__message--other {
|
|
5541
|
-
column-gap: var(--
|
|
5448
|
+
column-gap: var(--space-8);
|
|
5542
5449
|
justify-items: flex-start;
|
|
5543
5450
|
}
|
|
5544
5451
|
.str-chat__message.str-chat__message--other.str-chat__message--with-avatar {
|
|
@@ -5557,9 +5464,7 @@
|
|
|
5557
5464
|
}
|
|
5558
5465
|
.str-chat__message.str-chat__message--other .str-chat__message-inner .str-chat__message-reactions-host:has(.str-chat__message-reactions--top) {
|
|
5559
5466
|
padding-inline-start: calc(var(--str-chat__message-reactions-host-offset-x) * -1);
|
|
5560
|
-
|
|
5561
|
-
.str-chat__message.str-chat__message--other .str-chat__message-inner .str-chat__message-reactions-host:has(.str-chat__message-reactions--top):has(.str-chat__message-reactions--flipped-horizontally) {
|
|
5562
|
-
margin-right: var(--str-chat__message-reactions-host-offset-x);
|
|
5467
|
+
margin-inline-end: var(--str-chat__message-reactions-host-offset-x);
|
|
5563
5468
|
}
|
|
5564
5469
|
.str-chat__message.str-chat__message--other .str-chat__message-inner .str-chat__message-reactions-host .str-chat__message-reactions.str-chat__message-reactions--segmented.str-chat__message-reactions--bottom > .str-chat__message-reactions__list {
|
|
5565
5470
|
justify-content: flex-start;
|
|
@@ -5574,7 +5479,7 @@
|
|
|
5574
5479
|
grid-template-columns: 1fr auto;
|
|
5575
5480
|
}
|
|
5576
5481
|
.str-chat__message.str-chat__message--me {
|
|
5577
|
-
column-gap: var(--
|
|
5482
|
+
column-gap: var(--space-8);
|
|
5578
5483
|
justify-items: flex-end;
|
|
5579
5484
|
}
|
|
5580
5485
|
.str-chat__message.str-chat__message--me.str-chat__message--with-avatar {
|
|
@@ -5593,9 +5498,7 @@
|
|
|
5593
5498
|
}
|
|
5594
5499
|
.str-chat__message.str-chat__message--me .str-chat__message-inner .str-chat__message-reactions-host:has(.str-chat__message-reactions--top) {
|
|
5595
5500
|
padding-inline-end: calc(var(--str-chat__message-reactions-host-offset-x) * -1);
|
|
5596
|
-
|
|
5597
|
-
.str-chat__message.str-chat__message--me .str-chat__message-inner .str-chat__message-reactions-host:has(.str-chat__message-reactions--top):has(.str-chat__message-reactions--flipped-horizontally) {
|
|
5598
|
-
margin-left: var(--str-chat__message-reactions-host-offset-x);
|
|
5501
|
+
margin-inline-start: var(--str-chat__message-reactions-host-offset-x);
|
|
5599
5502
|
}
|
|
5600
5503
|
.str-chat__message.str-chat__message--me .str-chat__message-inner .str-chat__message-reactions-host .str-chat__message-reactions.str-chat__message-reactions--segmented.str-chat__message-reactions--bottom > .str-chat__message-reactions__list {
|
|
5601
5504
|
justify-content: flex-end;
|
|
@@ -5620,7 +5523,7 @@
|
|
|
5620
5523
|
display: grid;
|
|
5621
5524
|
grid-template-areas: "reactions ." "message-bubble options" "replies replies";
|
|
5622
5525
|
grid-template-columns: auto 1fr;
|
|
5623
|
-
column-gap: var(--
|
|
5526
|
+
column-gap: var(--space-8);
|
|
5624
5527
|
position: relative;
|
|
5625
5528
|
}
|
|
5626
5529
|
.str-chat__message .str-chat__message-inner .str-chat__message-reactions-host {
|
|
@@ -5654,7 +5557,7 @@
|
|
|
5654
5557
|
overflow: hidden;
|
|
5655
5558
|
}
|
|
5656
5559
|
.str-chat__message .str-chat__message-inner .str-chat__message-bubble .str-chat__message-text {
|
|
5657
|
-
padding-inline: var(--spacing-
|
|
5560
|
+
padding-inline: var(--spacing-xxs);
|
|
5658
5561
|
}
|
|
5659
5562
|
.str-chat__message .str-chat__message-inner .str-chat__message-bubble .str-chat__message-text p {
|
|
5660
5563
|
white-space: pre-line;
|
|
@@ -5677,31 +5580,11 @@
|
|
|
5677
5580
|
.str-chat__message.str-chat__message--me .str-chat__message-inner:has(.str-chat__message-reactions--bottom) {
|
|
5678
5581
|
grid-template-areas: "reminder reminder" "options message-bubble" "replies replies" ". reactions";
|
|
5679
5582
|
}
|
|
5680
|
-
.str-chat__message .str-chat__translation-notice {
|
|
5681
|
-
grid-area: translation-notice;
|
|
5682
|
-
}
|
|
5683
|
-
.str-chat__message .str-chat__translation-notice button {
|
|
5684
|
-
cursor: pointer;
|
|
5685
|
-
padding: 0.25rem 0;
|
|
5686
|
-
margin: 0;
|
|
5687
|
-
font: var(--str-chat__body2-text);
|
|
5688
|
-
color: var(--str-chat__translation-notice-color);
|
|
5689
|
-
border: none;
|
|
5690
|
-
background: none;
|
|
5691
|
-
}
|
|
5692
|
-
.str-chat__message .str-chat__translation-notice button:active, .str-chat__message .str-chat__translation-notice button:hover {
|
|
5693
|
-
background: var(--str-chat__translation-notice-active-background-color);
|
|
5694
|
-
}
|
|
5695
|
-
.str-chat__message .str-chat__custom-message-metadata {
|
|
5696
|
-
grid-area: custom-metadata;
|
|
5697
|
-
height: var(--size-24);
|
|
5698
|
-
margin-block-start: var(--spacing-xxs);
|
|
5699
|
-
color: var(--str-chat__message-secondary-color);
|
|
5700
|
-
}
|
|
5701
5583
|
.str-chat__message .str-chat__message-metadata {
|
|
5702
5584
|
grid-area: metadata;
|
|
5703
5585
|
display: flex;
|
|
5704
5586
|
flex-wrap: wrap;
|
|
5587
|
+
gap: var(--spacing-xxs);
|
|
5705
5588
|
align-items: center;
|
|
5706
5589
|
height: var(--size-24);
|
|
5707
5590
|
color: var(--chat-text-timestamp);
|
|
@@ -5713,21 +5596,15 @@
|
|
|
5713
5596
|
overflow-y: hidden;
|
|
5714
5597
|
margin-inline-end: var(--spacing-xxs);
|
|
5715
5598
|
}
|
|
5716
|
-
.str-chat__message .str-chat__message-metadata .str-chat__message-sender-name {
|
|
5717
|
-
font: var(--str-chat__caption-medium-text);
|
|
5718
|
-
}
|
|
5719
5599
|
.str-chat__message .str-chat__message-metadata .str-chat__message-edited-indicator {
|
|
5720
|
-
margin-
|
|
5600
|
+
margin-inline-start: var(--spacing-xs);
|
|
5721
5601
|
}
|
|
5722
5602
|
.str-chat__message.str-chat__message--me .str-chat__message-metadata {
|
|
5723
5603
|
justify-content: flex-end;
|
|
5724
|
-
text-align:
|
|
5725
|
-
}
|
|
5726
|
-
.str-chat__message .str-chat__message-is-thread-reply-button-wrapper {
|
|
5727
|
-
grid-area: replies;
|
|
5604
|
+
text-align: end;
|
|
5728
5605
|
}
|
|
5729
5606
|
.str-chat__message .str-chat__message--blocked-inner {
|
|
5730
|
-
padding-inline: var(--spacing-
|
|
5607
|
+
padding-inline: var(--spacing-xxs);
|
|
5731
5608
|
}
|
|
5732
5609
|
.str-chat__message .str-chat__message--blocked-inner p {
|
|
5733
5610
|
white-space: pre-line;
|
|
@@ -5743,11 +5620,6 @@
|
|
|
5743
5620
|
border-inline-start: var(--str-chat__blocked-message-border-inline-start);
|
|
5744
5621
|
border-inline-end: var(--str-chat__blocked-message-border-inline-end);
|
|
5745
5622
|
padding-block: var(--spacing-xs);
|
|
5746
|
-
font: var(--str-chat__body2-text);
|
|
5747
|
-
}
|
|
5748
|
-
.str-chat__message .str-chat__emoji-display-fix {
|
|
5749
|
-
display: inline-block;
|
|
5750
|
-
width: 1.25em;
|
|
5751
5623
|
}
|
|
5752
5624
|
.str-chat__message .str-chat__message-error-indicator {
|
|
5753
5625
|
display: none;
|
|
@@ -5791,103 +5663,32 @@
|
|
|
5791
5663
|
background-color: var(--str-chat__message-active-background-color);
|
|
5792
5664
|
}
|
|
5793
5665
|
}
|
|
5794
|
-
.str-chat__ul
|
|
5795
|
-
.str-
|
|
5796
|
-
.str-chat__virtual-list:not(.str-chat__message-options-in-bubble,
|
|
5797
|
-
.str-chat__message-with-touch-support) {
|
|
5666
|
+
.str-chat__ul,
|
|
5667
|
+
.str-chat__virtual-list {
|
|
5798
5668
|
/* This rule won't be applied in browsers that don't support :has() */
|
|
5799
5669
|
}
|
|
5800
|
-
.str-chat__ul:not(.str-chat__message-options
|
|
5801
|
-
.str-
|
|
5802
|
-
.str-chat__ul:
|
|
5803
|
-
.str-
|
|
5804
|
-
.str-
|
|
5805
|
-
.str-
|
|
5806
|
-
.str-chat__virtual-list:not(.str-chat__message-options-in-bubble,
|
|
5807
|
-
.str-chat__message-with-touch-support) .str-chat__li:hover:not(:has(.str-chat__modal--open)) .str-chat__message-options,
|
|
5808
|
-
.str-chat__virtual-list:not(.str-chat__message-options-in-bubble,
|
|
5809
|
-
.str-chat__message-with-touch-support) .str-chat__li:focus-within:not(:has(.str-chat__modal--open)) .str-chat__message-options,
|
|
5810
|
-
.str-chat__virtual-list:not(.str-chat__message-options-in-bubble,
|
|
5811
|
-
.str-chat__message-with-touch-support) .str-chat__li:has(.str-chat__message-options--active) .str-chat__message-options {
|
|
5812
|
-
display: flex;
|
|
5813
|
-
}
|
|
5814
|
-
.str-chat__ul:not(.str-chat__message-options-in-bubble,
|
|
5815
|
-
.str-chat__message-with-touch-support) .str-chat__li:hover:not(:has(.str-chat__modal--open)) .str-chat__message--other .str-chat__message-inner,
|
|
5816
|
-
.str-chat__ul:not(.str-chat__message-options-in-bubble,
|
|
5817
|
-
.str-chat__message-with-touch-support) .str-chat__li:focus-within:not(:has(.str-chat__modal--open)) .str-chat__message--other .str-chat__message-inner,
|
|
5818
|
-
.str-chat__ul:not(.str-chat__message-options-in-bubble,
|
|
5819
|
-
.str-chat__message-with-touch-support) .str-chat__li:has(.str-chat__message-options--active) .str-chat__message--other .str-chat__message-inner,
|
|
5820
|
-
.str-chat__virtual-list:not(.str-chat__message-options-in-bubble,
|
|
5821
|
-
.str-chat__message-with-touch-support) .str-chat__li:hover:not(:has(.str-chat__modal--open)) .str-chat__message--other .str-chat__message-inner,
|
|
5822
|
-
.str-chat__virtual-list:not(.str-chat__message-options-in-bubble,
|
|
5823
|
-
.str-chat__message-with-touch-support) .str-chat__li:focus-within:not(:has(.str-chat__modal--open)) .str-chat__message--other .str-chat__message-inner,
|
|
5824
|
-
.str-chat__virtual-list:not(.str-chat__message-options-in-bubble,
|
|
5825
|
-
.str-chat__message-with-touch-support) .str-chat__li:has(.str-chat__message-options--active) .str-chat__message--other .str-chat__message-inner {
|
|
5826
|
-
margin-inline-end: 0;
|
|
5827
|
-
}
|
|
5828
|
-
.str-chat__ul:not(.str-chat__message-options-in-bubble,
|
|
5829
|
-
.str-chat__message-with-touch-support) .str-chat__li:hover:not(:has(.str-chat__modal--open)) .str-chat__message--me .str-chat__message-inner,
|
|
5830
|
-
.str-chat__ul:not(.str-chat__message-options-in-bubble,
|
|
5831
|
-
.str-chat__message-with-touch-support) .str-chat__li:focus-within:not(:has(.str-chat__modal--open)) .str-chat__message--me .str-chat__message-inner,
|
|
5832
|
-
.str-chat__ul:not(.str-chat__message-options-in-bubble,
|
|
5833
|
-
.str-chat__message-with-touch-support) .str-chat__li:has(.str-chat__message-options--active) .str-chat__message--me .str-chat__message-inner,
|
|
5834
|
-
.str-chat__virtual-list:not(.str-chat__message-options-in-bubble,
|
|
5835
|
-
.str-chat__message-with-touch-support) .str-chat__li:hover:not(:has(.str-chat__modal--open)) .str-chat__message--me .str-chat__message-inner,
|
|
5836
|
-
.str-chat__virtual-list:not(.str-chat__message-options-in-bubble,
|
|
5837
|
-
.str-chat__message-with-touch-support) .str-chat__li:focus-within:not(:has(.str-chat__modal--open)) .str-chat__message--me .str-chat__message-inner,
|
|
5838
|
-
.str-chat__virtual-list:not(.str-chat__message-options-in-bubble,
|
|
5839
|
-
.str-chat__message-with-touch-support) .str-chat__li:has(.str-chat__message-options--active) .str-chat__message--me .str-chat__message-inner {
|
|
5840
|
-
margin-inline-start: 0;
|
|
5841
|
-
}
|
|
5842
|
-
.str-chat__ul:not(.str-chat__message-options-in-bubble,
|
|
5843
|
-
.str-chat__message-with-touch-support),
|
|
5844
|
-
.str-chat__virtual-list:not(.str-chat__message-options-in-bubble,
|
|
5845
|
-
.str-chat__message-with-touch-support) {
|
|
5846
|
-
/* Fallback for when :has() is unsupported */
|
|
5847
|
-
}
|
|
5848
|
-
@supports not selector(:has(a, b)) {
|
|
5849
|
-
.str-chat__ul:not(.str-chat__message-options-in-bubble,
|
|
5850
|
-
.str-chat__message-with-touch-support) .str-chat__li:hover .str-chat__message-options,
|
|
5851
|
-
.str-chat__ul:not(.str-chat__message-options-in-bubble,
|
|
5852
|
-
.str-chat__message-with-touch-support) .str-chat__li:focus-within .str-chat__message-options,
|
|
5853
|
-
.str-chat__virtual-list:not(.str-chat__message-options-in-bubble,
|
|
5854
|
-
.str-chat__message-with-touch-support) .str-chat__li:hover .str-chat__message-options,
|
|
5855
|
-
.str-chat__virtual-list:not(.str-chat__message-options-in-bubble,
|
|
5856
|
-
.str-chat__message-with-touch-support) .str-chat__li:focus-within .str-chat__message-options {
|
|
5857
|
-
display: flex;
|
|
5858
|
-
}
|
|
5859
|
-
.str-chat__ul:not(.str-chat__message-options-in-bubble,
|
|
5860
|
-
.str-chat__message-with-touch-support) .str-chat__li:hover .str-chat__message--other .str-chat__message-inner,
|
|
5861
|
-
.str-chat__ul:not(.str-chat__message-options-in-bubble,
|
|
5862
|
-
.str-chat__message-with-touch-support) .str-chat__li:focus-within .str-chat__message--other .str-chat__message-inner,
|
|
5863
|
-
.str-chat__virtual-list:not(.str-chat__message-options-in-bubble,
|
|
5864
|
-
.str-chat__message-with-touch-support) .str-chat__li:hover .str-chat__message--other .str-chat__message-inner,
|
|
5865
|
-
.str-chat__virtual-list:not(.str-chat__message-options-in-bubble,
|
|
5866
|
-
.str-chat__message-with-touch-support) .str-chat__li:focus-within .str-chat__message--other .str-chat__message-inner {
|
|
5867
|
-
margin-inline-end: 0;
|
|
5868
|
-
}
|
|
5869
|
-
.str-chat__ul:not(.str-chat__message-options-in-bubble,
|
|
5870
|
-
.str-chat__message-with-touch-support) .str-chat__li:hover .str-chat__message--me .str-chat__message-inner,
|
|
5871
|
-
.str-chat__ul:not(.str-chat__message-options-in-bubble,
|
|
5872
|
-
.str-chat__message-with-touch-support) .str-chat__li:focus-within .str-chat__message--me .str-chat__message-inner,
|
|
5873
|
-
.str-chat__virtual-list:not(.str-chat__message-options-in-bubble,
|
|
5874
|
-
.str-chat__message-with-touch-support) .str-chat__li:hover .str-chat__message--me .str-chat__message-inner,
|
|
5875
|
-
.str-chat__virtual-list:not(.str-chat__message-options-in-bubble,
|
|
5876
|
-
.str-chat__message-with-touch-support) .str-chat__li:focus-within .str-chat__message--me .str-chat__message-inner {
|
|
5877
|
-
margin-inline-start: 0;
|
|
5878
|
-
}
|
|
5879
|
-
}
|
|
5880
|
-
|
|
5881
|
-
.str-chat__ul.str-chat__message-options-in-bubble .str-chat__message-inner:hover .str-chat__message-options,
|
|
5882
|
-
.str-chat__virtual-list.str-chat__message-options-in-bubble .str-chat__message-inner:hover .str-chat__message-options {
|
|
5670
|
+
.str-chat__ul .str-chat__li:hover:not(:has(.str-chat__modal--open)) .str-chat__message-options,
|
|
5671
|
+
.str-chat__ul .str-chat__li:focus-within:not(:has(.str-chat__modal--open)) .str-chat__message-options,
|
|
5672
|
+
.str-chat__ul .str-chat__li:has(.str-chat__message-options--active) .str-chat__message-options,
|
|
5673
|
+
.str-chat__virtual-list .str-chat__li:hover:not(:has(.str-chat__modal--open)) .str-chat__message-options,
|
|
5674
|
+
.str-chat__virtual-list .str-chat__li:focus-within:not(:has(.str-chat__modal--open)) .str-chat__message-options,
|
|
5675
|
+
.str-chat__virtual-list .str-chat__li:has(.str-chat__message-options--active) .str-chat__message-options {
|
|
5883
5676
|
display: flex;
|
|
5884
5677
|
}
|
|
5885
|
-
.str-chat__ul.str-
|
|
5886
|
-
.str-
|
|
5678
|
+
.str-chat__ul .str-chat__li:hover:not(:has(.str-chat__modal--open)) .str-chat__message--other .str-chat__message-inner,
|
|
5679
|
+
.str-chat__ul .str-chat__li:focus-within:not(:has(.str-chat__modal--open)) .str-chat__message--other .str-chat__message-inner,
|
|
5680
|
+
.str-chat__ul .str-chat__li:has(.str-chat__message-options--active) .str-chat__message--other .str-chat__message-inner,
|
|
5681
|
+
.str-chat__virtual-list .str-chat__li:hover:not(:has(.str-chat__modal--open)) .str-chat__message--other .str-chat__message-inner,
|
|
5682
|
+
.str-chat__virtual-list .str-chat__li:focus-within:not(:has(.str-chat__modal--open)) .str-chat__message--other .str-chat__message-inner,
|
|
5683
|
+
.str-chat__virtual-list .str-chat__li:has(.str-chat__message-options--active) .str-chat__message--other .str-chat__message-inner {
|
|
5887
5684
|
margin-inline-end: 0;
|
|
5888
5685
|
}
|
|
5889
|
-
.str-chat__ul.str-
|
|
5890
|
-
.str-
|
|
5686
|
+
.str-chat__ul .str-chat__li:hover:not(:has(.str-chat__modal--open)) .str-chat__message--me .str-chat__message-inner,
|
|
5687
|
+
.str-chat__ul .str-chat__li:focus-within:not(:has(.str-chat__modal--open)) .str-chat__message--me .str-chat__message-inner,
|
|
5688
|
+
.str-chat__ul .str-chat__li:has(.str-chat__message-options--active) .str-chat__message--me .str-chat__message-inner,
|
|
5689
|
+
.str-chat__virtual-list .str-chat__li:hover:not(:has(.str-chat__modal--open)) .str-chat__message--me .str-chat__message-inner,
|
|
5690
|
+
.str-chat__virtual-list .str-chat__li:focus-within:not(:has(.str-chat__modal--open)) .str-chat__message--me .str-chat__message-inner,
|
|
5691
|
+
.str-chat__virtual-list .str-chat__li:has(.str-chat__message-options--active) .str-chat__message--me .str-chat__message-inner {
|
|
5891
5692
|
margin-inline-start: 0;
|
|
5892
5693
|
}
|
|
5893
5694
|
|
|
@@ -5898,9 +5699,6 @@
|
|
|
5898
5699
|
.str-chat__message-inner .str-chat__message-options {
|
|
5899
5700
|
display: none;
|
|
5900
5701
|
}
|
|
5901
|
-
.str-chat__message-inner .str-chat__message-actions-open.str-chat__message-options {
|
|
5902
|
-
display: flex;
|
|
5903
|
-
}
|
|
5904
5702
|
|
|
5905
5703
|
.str-chat__message-inner:focus-within .str-chat__message-options {
|
|
5906
5704
|
display: flex;
|
|
@@ -5938,10 +5736,10 @@
|
|
|
5938
5736
|
}
|
|
5939
5737
|
|
|
5940
5738
|
.str-chat__message-with-thread-link.str-chat__message--other .str-chat__message-bubble {
|
|
5941
|
-
border-end-start-radius: calc(var(--
|
|
5739
|
+
border-end-start-radius: calc(var(--radius-md) / 6);
|
|
5942
5740
|
}
|
|
5943
5741
|
.str-chat__message-with-thread-link.str-chat__message--me .str-chat__message-bubble {
|
|
5944
|
-
border-end-end-radius: calc(var(--
|
|
5742
|
+
border-end-end-radius: calc(var(--radius-md) / 6);
|
|
5945
5743
|
}
|
|
5946
5744
|
|
|
5947
5745
|
.str-chat__li--top .str-chat__message.str-chat__message--with-avatar > .str-chat__avatar,
|
|
@@ -5950,22 +5748,6 @@
|
|
|
5950
5748
|
pointer-events: none;
|
|
5951
5749
|
}
|
|
5952
5750
|
|
|
5953
|
-
.str-chat__message-with-touch-support .str-chat__message-bubble {
|
|
5954
|
-
-webkit-touch-callout: none;
|
|
5955
|
-
-webkit-user-select: none;
|
|
5956
|
-
user-select: none;
|
|
5957
|
-
}
|
|
5958
|
-
.str-chat__message-with-touch-support.str-chat__message-menu-opened .str-chat__attachments-container,
|
|
5959
|
-
.str-chat__message-with-touch-support.str-chat__message-menu-opened .str-chat__message-text-inner {
|
|
5960
|
-
pointer-events: none;
|
|
5961
|
-
}
|
|
5962
|
-
.str-chat__message-with-touch-support .str-chat__message-inner {
|
|
5963
|
-
margin-inline: 0;
|
|
5964
|
-
}
|
|
5965
|
-
.str-chat__message-with-touch-support .str-chat__message-options {
|
|
5966
|
-
display: none;
|
|
5967
|
-
}
|
|
5968
|
-
|
|
5969
5751
|
.str-chat {
|
|
5970
5752
|
--str-chat__message-also-sent-in-channel-color: var(--text-primary);
|
|
5971
5753
|
--str-chat__message-also-sent-in-channel-background-color: transparent;
|
|
@@ -5993,8 +5775,12 @@
|
|
|
5993
5775
|
border-inline-end: var(--str-chat__message-also-sent-in-channel-border-inline-end);
|
|
5994
5776
|
font: var(--str-chat__metadata-emphasis-text);
|
|
5995
5777
|
}
|
|
5996
|
-
.str-chat__message-also-sent-in-channel
|
|
5997
|
-
|
|
5778
|
+
.str-chat__message-also-sent-in-channel .str-chat__icon {
|
|
5779
|
+
height: var(--spacing-sm);
|
|
5780
|
+
width: var(--spacing-sm);
|
|
5781
|
+
}
|
|
5782
|
+
.str-chat__message-also-sent-in-channel .str-chat__icon path {
|
|
5783
|
+
stroke-width: 2px;
|
|
5998
5784
|
stroke: var(--str-chat__message-also-sent-in-channel-color);
|
|
5999
5785
|
}
|
|
6000
5786
|
.str-chat__message-also-sent-in-channel .str-chat__message-also-sent-in-channel__link-button {
|
|
@@ -6010,7 +5796,7 @@
|
|
|
6010
5796
|
display: flex;
|
|
6011
5797
|
align-items: center;
|
|
6012
5798
|
justify-content: center;
|
|
6013
|
-
column-gap: var(--
|
|
5799
|
+
column-gap: var(--space-2);
|
|
6014
5800
|
position: relative;
|
|
6015
5801
|
color: var(--chat-text-timestamp);
|
|
6016
5802
|
}
|
|
@@ -6085,6 +5871,9 @@
|
|
|
6085
5871
|
}
|
|
6086
5872
|
.str-chat .str-chat__message .str-chat__quoted-message-preview {
|
|
6087
5873
|
background-color: var(--chat-bg-attachment-incoming);
|
|
5874
|
+
width: calc(var(--str-chat__message-with-attachment-max-width) - 2 * var(--spacing-xs));
|
|
5875
|
+
max-width: 100%;
|
|
5876
|
+
min-width: 0;
|
|
6088
5877
|
}
|
|
6089
5878
|
.str-chat .str-chat__message--me .str-chat__quoted-message-preview {
|
|
6090
5879
|
background-color: var(--chat-bg-attachment-outgoing);
|
|
@@ -6127,8 +5916,12 @@
|
|
|
6127
5916
|
border-inline-end: var(--str-chat__message-saved-for-later-border-inline-end);
|
|
6128
5917
|
font: var(--str-chat__metadata-emphasis-text);
|
|
6129
5918
|
}
|
|
5919
|
+
.str-chat__message-saved-for-later svg {
|
|
5920
|
+
width: var(--icon-size-xs);
|
|
5921
|
+
height: var(--icon-size-xs);
|
|
5922
|
+
}
|
|
6130
5923
|
.str-chat__message-saved-for-later svg path {
|
|
6131
|
-
stroke-width:
|
|
5924
|
+
stroke-width: 2px;
|
|
6132
5925
|
stroke: var(--str-chat__message-saved-for-later-color);
|
|
6133
5926
|
}
|
|
6134
5927
|
|
|
@@ -6202,10 +5995,10 @@
|
|
|
6202
5995
|
padding-inline-end: var(--spacing-xl);
|
|
6203
5996
|
}
|
|
6204
5997
|
.str-chat__message.str-chat__message--me .str-chat__message-replies-count-button-wrapper::after {
|
|
6205
|
-
border-
|
|
6206
|
-
border-
|
|
6207
|
-
border-
|
|
6208
|
-
|
|
5998
|
+
border-end-end-radius: var(--radius-max);
|
|
5999
|
+
border-inline-end: var(--replies-button-connector-stroke-width) solid var(--chat-thread-connector-outgoing);
|
|
6000
|
+
border-block-end: var(--replies-button-connector-stroke-width) solid var(--chat-thread-connector-outgoing);
|
|
6001
|
+
inset-inline-end: 0;
|
|
6209
6002
|
}
|
|
6210
6003
|
|
|
6211
6004
|
.str-chat__message.str-chat__message--other .str-chat__message-replies-count-button-wrapper {
|
|
@@ -6218,10 +6011,10 @@
|
|
|
6218
6011
|
padding-inline-start: var(--spacing-xl);
|
|
6219
6012
|
}
|
|
6220
6013
|
.str-chat__message.str-chat__message--other .str-chat__message-replies-count-button-wrapper::after {
|
|
6221
|
-
border-
|
|
6222
|
-
border-
|
|
6223
|
-
border-
|
|
6224
|
-
|
|
6014
|
+
border-end-start-radius: var(--radius-max);
|
|
6015
|
+
border-inline-start: var(--replies-button-connector-stroke-width) solid var(--chat-thread-connector-incoming);
|
|
6016
|
+
border-block-end: var(--replies-button-connector-stroke-width) solid var(--chat-thread-connector-incoming);
|
|
6017
|
+
inset-inline-start: 0;
|
|
6225
6018
|
}
|
|
6226
6019
|
|
|
6227
6020
|
.str-chat__message-actions-box {
|
|
@@ -6261,8 +6054,7 @@
|
|
|
6261
6054
|
.str-chat__message-options .str-chat__message-reactions-button:active {
|
|
6262
6055
|
color: var(--str-chat__message-options-active-color);
|
|
6263
6056
|
}
|
|
6264
|
-
.str-chat__message-options .str-chat__message-actions-box-button
|
|
6265
|
-
.str-chat__message-options .str-chat__message-actions-container {
|
|
6057
|
+
.str-chat__message-options .str-chat__message-actions-box-button {
|
|
6266
6058
|
position: relative;
|
|
6267
6059
|
}
|
|
6268
6060
|
|
|
@@ -6396,11 +6188,12 @@
|
|
|
6396
6188
|
flex: 0 1 auto;
|
|
6397
6189
|
gap: var(--spacing-sm);
|
|
6398
6190
|
padding: var(--spacing-md);
|
|
6399
|
-
padding-
|
|
6191
|
+
padding-inline-end: var(--spacing-sm);
|
|
6400
6192
|
width: 290px;
|
|
6193
|
+
height: 72px;
|
|
6401
6194
|
}
|
|
6402
6195
|
.str-chat .str-chat__attachment-preview-audio .str-chat__attachment-preview-file__data {
|
|
6403
|
-
padding-
|
|
6196
|
+
padding-inline-end: var(--spacing-xs);
|
|
6404
6197
|
}
|
|
6405
6198
|
.str-chat .str-chat__attachment-preview-audio,
|
|
6406
6199
|
.str-chat .str-chat__attachment-preview-file,
|
|
@@ -6427,41 +6220,20 @@
|
|
|
6427
6220
|
border-inline-start: var(--str-chat__attachment-preview-image-border-inline-start);
|
|
6428
6221
|
border-inline-end: var(--str-chat__attachment-preview-image-border-inline-end);
|
|
6429
6222
|
flex: 0 0 auto;
|
|
6430
|
-
width: 72px;
|
|
6431
|
-
height: 72px;
|
|
6432
|
-
cursor: pointer;
|
|
6433
|
-
}
|
|
6434
|
-
.str-chat .str-chat__attachment-preview-media .str-chat__attachment-preview-media__thumbnail-wrapper {
|
|
6435
|
-
border-radius: inherit;
|
|
6436
|
-
overflow: hidden;
|
|
6437
|
-
height: 100%;
|
|
6438
|
-
width: 100%;
|
|
6439
|
-
}
|
|
6440
|
-
.str-chat .str-chat__attachment-preview-media .str-chat__attachment-preview-media__thumbnail-wrapper img {
|
|
6441
|
-
width: 72px;
|
|
6442
|
-
height: 72px;
|
|
6443
|
-
object-fit: cover;
|
|
6444
|
-
}
|
|
6445
|
-
.str-chat .str-chat__attachment-preview-media .str-chat__attachment-preview-media__video-indicator {
|
|
6446
|
-
display: flex;
|
|
6447
|
-
align-items: center;
|
|
6448
|
-
gap: var(--spacing-xxs);
|
|
6449
|
-
position: absolute;
|
|
6450
|
-
bottom: var(--spacing-xxs);
|
|
6451
|
-
left: var(--spacing-xxs);
|
|
6452
|
-
padding-inline: var(--button-padding-x-icon-only-sm);
|
|
6453
|
-
padding-block: var(--button-padding-y-sm);
|
|
6454
|
-
border-radius: var(--str-chat__attachment-preview-media-video-indicator-border-radius);
|
|
6455
|
-
background-color: var(--str-chat__attachment-preview-media-video-indicator-background-color);
|
|
6456
|
-
color: var(--str-chat__attachment-preview-media-video-indicator-color);
|
|
6457
|
-
font-size: var(--typography-font-size-xxs);
|
|
6458
|
-
font-weight: var(--typography-font-weight-bold);
|
|
6459
|
-
line-height: var(--line-height-line-height-10);
|
|
6223
|
+
width: 72px;
|
|
6224
|
+
height: 72px;
|
|
6225
|
+
cursor: pointer;
|
|
6460
6226
|
}
|
|
6461
|
-
.str-chat .str-chat__attachment-preview-media .str-chat__attachment-preview-
|
|
6462
|
-
|
|
6463
|
-
|
|
6464
|
-
|
|
6227
|
+
.str-chat .str-chat__attachment-preview-media .str-chat__attachment-preview-media__thumbnail-wrapper {
|
|
6228
|
+
border-radius: max(0px, var(--str-chat__attachment-preview-image-border-radius) - 1px);
|
|
6229
|
+
overflow: hidden;
|
|
6230
|
+
height: 100%;
|
|
6231
|
+
width: 100%;
|
|
6232
|
+
}
|
|
6233
|
+
.str-chat .str-chat__attachment-preview-media .str-chat__attachment-preview-media__thumbnail-wrapper img {
|
|
6234
|
+
width: 100%;
|
|
6235
|
+
height: 100%;
|
|
6236
|
+
object-fit: cover;
|
|
6465
6237
|
}
|
|
6466
6238
|
.str-chat .str-chat__attachment-preview-media__overlay {
|
|
6467
6239
|
display: flex;
|
|
@@ -6469,6 +6241,7 @@
|
|
|
6469
6241
|
justify-content: center;
|
|
6470
6242
|
position: absolute;
|
|
6471
6243
|
inset: 0;
|
|
6244
|
+
overflow: hidden;
|
|
6472
6245
|
border-radius: var(--message-bubble-radius-attachment);
|
|
6473
6246
|
}
|
|
6474
6247
|
.str-chat .str-chat__attachment-preview-media__overlay:hover::after {
|
|
@@ -6492,14 +6265,27 @@
|
|
|
6492
6265
|
background-color: var(--str-chat__attachment-preview-media-overlay-pressed-background-color);
|
|
6493
6266
|
}
|
|
6494
6267
|
.str-chat .str-chat__attachment-preview-media__overlay .str-chat__loading-indicator,
|
|
6495
|
-
.str-chat .str-chat__attachment-preview-media__overlay .str-
|
|
6496
|
-
width:
|
|
6497
|
-
height:
|
|
6268
|
+
.str-chat .str-chat__attachment-preview-media__overlay .str-chat__progress-indicator {
|
|
6269
|
+
width: var(--icon-size-sm);
|
|
6270
|
+
height: var(--icon-size-sm);
|
|
6271
|
+
position: absolute;
|
|
6272
|
+
inset-inline-start: var(--spacing-xxs);
|
|
6273
|
+
bottom: var(--spacing-xxs);
|
|
6274
|
+
border-radius: var(--radius-max);
|
|
6275
|
+
background: var(--background-core-elevation-0);
|
|
6276
|
+
color: var(--accent-primary);
|
|
6277
|
+
}
|
|
6278
|
+
.str-chat .str-chat__attachment-preview-media__overlay .str-chat__icon--exclamation {
|
|
6279
|
+
padding: var(--spacing-xxxs);
|
|
6280
|
+
width: var(--icon-size-sm);
|
|
6281
|
+
height: var(--icon-size-sm);
|
|
6498
6282
|
position: absolute;
|
|
6499
|
-
|
|
6283
|
+
inset-inline-start: var(--spacing-xxs);
|
|
6500
6284
|
bottom: var(--spacing-xxs);
|
|
6501
|
-
border: 2px solid var(--
|
|
6285
|
+
border: 2px solid var(--badge-border);
|
|
6502
6286
|
border-radius: var(--radius-max);
|
|
6287
|
+
background: var(--badge-bg-error);
|
|
6288
|
+
color: var(--badge-text-on-accent);
|
|
6503
6289
|
}
|
|
6504
6290
|
.str-chat .str-chat__attachment-preview-media--upload-error .str-chat__attachment-preview-media__overlay {
|
|
6505
6291
|
background-color: var(--str-chat__attachment-preview-media-upload-error-overlay-background-color);
|
|
@@ -6542,9 +6328,11 @@
|
|
|
6542
6328
|
font-size: var(--typography-font-size-xs);
|
|
6543
6329
|
line-height: var(--typography-line-height-tight);
|
|
6544
6330
|
}
|
|
6545
|
-
.str-chat .str-chat__attachment-preview-file__info .str-chat__attachment-preview-file__data .str-chat__loading-indicator
|
|
6546
|
-
|
|
6547
|
-
|
|
6331
|
+
.str-chat .str-chat__attachment-preview-file__info .str-chat__attachment-preview-file__data .str-chat__loading-indicator,
|
|
6332
|
+
.str-chat .str-chat__attachment-preview-file__info .str-chat__attachment-preview-file__data .str-chat__progress-indicator {
|
|
6333
|
+
width: var(--icon-size-sm);
|
|
6334
|
+
height: var(--icon-size-sm);
|
|
6335
|
+
color: var(--accent-primary);
|
|
6548
6336
|
}
|
|
6549
6337
|
.str-chat .str-chat__attachment-preview-file__info .str-chat__attachment-preview-file__data .str-chat__attachment-preview-file__fatal-error {
|
|
6550
6338
|
display: flex;
|
|
@@ -7181,6 +6969,9 @@
|
|
|
7181
6969
|
min-width: 40px;
|
|
7182
6970
|
overflow: hidden;
|
|
7183
6971
|
}
|
|
6972
|
+
.str-chat .str-chat__quoted-message-preview .str-chat__quoted-message-preview__image img {
|
|
6973
|
+
object-fit: cover;
|
|
6974
|
+
}
|
|
7184
6975
|
.str-chat .str-chat__quoted-message-preview .str-chat__quoted-message-preview__image .str-chat__attachment-preview__thumbnail__play-indicator {
|
|
7185
6976
|
display: flex;
|
|
7186
6977
|
align-items: center;
|
|
@@ -7188,7 +6979,7 @@
|
|
|
7188
6979
|
height: 20px;
|
|
7189
6980
|
width: 20px;
|
|
7190
6981
|
position: absolute;
|
|
7191
|
-
|
|
6982
|
+
inset-inline-start: 10px;
|
|
7192
6983
|
top: 10px;
|
|
7193
6984
|
border-radius: var(--radius-max);
|
|
7194
6985
|
background-color: var(--control-play-control-bg);
|
|
@@ -7208,7 +6999,7 @@
|
|
|
7208
6999
|
position: absolute;
|
|
7209
7000
|
z-index: 1;
|
|
7210
7001
|
top: -6px;
|
|
7211
|
-
|
|
7002
|
+
inset-inline-end: -6px;
|
|
7212
7003
|
background-color: var(--str-chat__attachment-preview-close-icon-background);
|
|
7213
7004
|
border: 3px solid var(--str-chat__attachment-preview-close-icon-border-color);
|
|
7214
7005
|
color: var(--str-chat__attachment-preview-close-icon-color);
|
|
@@ -7264,7 +7055,7 @@
|
|
|
7264
7055
|
border-color: var(--control-radiocheck-bg-selected, var(--accent-primary));
|
|
7265
7056
|
}
|
|
7266
7057
|
.str-chat__send-to-channel-checkbox__container .str-chat__send-to-channel-checkbox__field .str-chat__send-to-channel-checkbox__checkmark {
|
|
7267
|
-
color: var(--control-
|
|
7058
|
+
color: var(--control-checkbox-icon);
|
|
7268
7059
|
opacity: 0;
|
|
7269
7060
|
display: flex;
|
|
7270
7061
|
align-items: center;
|
|
@@ -7283,6 +7074,69 @@
|
|
|
7283
7074
|
transition: color 0.15s ease, border-color 0.15s ease;
|
|
7284
7075
|
}
|
|
7285
7076
|
|
|
7077
|
+
.str-chat {
|
|
7078
|
+
/* The border radius used for the borders of file attachments */
|
|
7079
|
+
--str-chat__unsupported-attachment-preview-border-radius: calc(
|
|
7080
|
+
var(--str-chat__message-bubble-border-radius) - var(--str-chat__attachment-margin)
|
|
7081
|
+
);
|
|
7082
|
+
/* The text/icon color of file attachments */
|
|
7083
|
+
--str-chat__unsupported-attachment-preview-color: var(--str-chat__text-color);
|
|
7084
|
+
/* The text/icon color of file attachments for low emphasis texts (for example file size) */
|
|
7085
|
+
--str-chat__unsupported-attachment-preview-secondary-color: var(
|
|
7086
|
+
--str-chat__text-low-emphasis-color
|
|
7087
|
+
);
|
|
7088
|
+
/* The background color of file attachments */
|
|
7089
|
+
--str-chat__unsupported-attachment-preview-background-color: transparent;
|
|
7090
|
+
/* Top border of file attachments */
|
|
7091
|
+
--str-chat__unsupported-attachment-preview-border-block-start: none;
|
|
7092
|
+
/* Bottom border of file attachments */
|
|
7093
|
+
--str-chat__unsupported-attachment-preview-border-block-end: none;
|
|
7094
|
+
/* Left (right in RTL layout) border of file attachments */
|
|
7095
|
+
--str-chat__unsupported-attachment-preview-border-inline-start: none;
|
|
7096
|
+
/* Right (left in RTL layout) border of file attachments */
|
|
7097
|
+
--str-chat__unsupported-attachment-preview-border-inline-end: none;
|
|
7098
|
+
/* Box shadow applied to file attachments */
|
|
7099
|
+
--str-chat__unsupported-attachment-preview-box-shadow: none;
|
|
7100
|
+
}
|
|
7101
|
+
|
|
7102
|
+
.str-chat__attachment-preview-unsupported {
|
|
7103
|
+
background: var(--str-chat__unsupported-attachment-preview-background-color);
|
|
7104
|
+
color: var(--str-chat__unsupported-attachment-preview-color);
|
|
7105
|
+
box-shadow: var(--str-chat__unsupported-attachment-preview-box-shadow);
|
|
7106
|
+
border-radius: var(--str-chat__unsupported-attachment-preview-border-radius);
|
|
7107
|
+
border-block-start: var(--str-chat__unsupported-attachment-preview-border-block-start);
|
|
7108
|
+
border-block-end: var(--str-chat__unsupported-attachment-preview-border-block-end);
|
|
7109
|
+
border-inline-start: var(--str-chat__unsupported-attachment-preview-border-inline-start);
|
|
7110
|
+
border-inline-end: var(--str-chat__unsupported-attachment-preview-border-inline-end);
|
|
7111
|
+
display: flex;
|
|
7112
|
+
align-items: center;
|
|
7113
|
+
justify-content: center;
|
|
7114
|
+
padding: var(--spacing-md);
|
|
7115
|
+
column-gap: var(--spacing-xs);
|
|
7116
|
+
}
|
|
7117
|
+
.str-chat__attachment-preview-unsupported .str-chat__icon {
|
|
7118
|
+
height: calc(var(--str-chat__spacing-px) * 20);
|
|
7119
|
+
width: calc(var(--str-chat__spacing-px) * 20);
|
|
7120
|
+
}
|
|
7121
|
+
.str-chat__attachment-preview-unsupported .str-chat__attachment-preview-unsupported__metadata {
|
|
7122
|
+
min-width: 0;
|
|
7123
|
+
flex: 1;
|
|
7124
|
+
height: stretch;
|
|
7125
|
+
display: flex;
|
|
7126
|
+
align-items: center;
|
|
7127
|
+
}
|
|
7128
|
+
.str-chat__attachment-preview-unsupported .str-chat__attachment-preview-unsupported__title {
|
|
7129
|
+
white-space: nowrap;
|
|
7130
|
+
overflow-y: visible;
|
|
7131
|
+
overflow-x: hidden;
|
|
7132
|
+
overflow-x: clip;
|
|
7133
|
+
text-overflow: ellipsis;
|
|
7134
|
+
font: var(--str-chat__font-caption-emphasis);
|
|
7135
|
+
color: var(--text-primary);
|
|
7136
|
+
max-width: 100%;
|
|
7137
|
+
height: fit-content;
|
|
7138
|
+
}
|
|
7139
|
+
|
|
7286
7140
|
.str-chat__main-panel-inner {
|
|
7287
7141
|
width: 100%;
|
|
7288
7142
|
height: 100%;
|
|
@@ -7417,8 +7271,8 @@
|
|
|
7417
7271
|
.str-chat__jump-to-latest-message .str-chat__jump-to-latest__unread-count {
|
|
7418
7272
|
position: absolute;
|
|
7419
7273
|
inset-block-end: 100%;
|
|
7420
|
-
margin-block-end: var(--
|
|
7421
|
-
|
|
7274
|
+
margin-block-end: var(--space-4);
|
|
7275
|
+
inset-inline-end: -15%;
|
|
7422
7276
|
top: -15%;
|
|
7423
7277
|
}
|
|
7424
7278
|
|
|
@@ -7543,7 +7397,7 @@
|
|
|
7543
7397
|
}
|
|
7544
7398
|
.str-chat__virtual-list__loading {
|
|
7545
7399
|
display: flex;
|
|
7546
|
-
padding-top: var(--
|
|
7400
|
+
padding-top: var(--space-8);
|
|
7547
7401
|
justify-content: center;
|
|
7548
7402
|
width: 100%;
|
|
7549
7403
|
position: absolute;
|
|
@@ -7565,7 +7419,6 @@
|
|
|
7565
7419
|
align-items: center;
|
|
7566
7420
|
gap: var(--spacing-xs);
|
|
7567
7421
|
min-height: 48px;
|
|
7568
|
-
min-width: 200px;
|
|
7569
7422
|
max-width: 100%;
|
|
7570
7423
|
padding: var(--spacing-xs);
|
|
7571
7424
|
position: relative;
|
|
@@ -7580,6 +7433,7 @@
|
|
|
7580
7433
|
display: flex;
|
|
7581
7434
|
flex: 1 1 auto;
|
|
7582
7435
|
gap: var(--spacing-xs);
|
|
7436
|
+
padding-inline: var(--spacing-xxs) var(--spacing-xs);
|
|
7583
7437
|
}
|
|
7584
7438
|
.str-chat__notification .str-chat__notification-content .str-chat__notification-icon {
|
|
7585
7439
|
display: flex;
|
|
@@ -7767,8 +7621,9 @@
|
|
|
7767
7621
|
flex-direction: column;
|
|
7768
7622
|
gap: var(--spacing-xl);
|
|
7769
7623
|
padding: var(--spacing-xs);
|
|
7624
|
+
width: calc(var(--str-chat__message-with-attachment-max-width) - 2 * var(--spacing-xs));
|
|
7625
|
+
max-width: 100%;
|
|
7770
7626
|
min-width: 260px;
|
|
7771
|
-
max-width: 400px;
|
|
7772
7627
|
font-size: var(--typography-font-size-sm);
|
|
7773
7628
|
font-weight: var(--typography-font-weight-regular);
|
|
7774
7629
|
line-height: var(--typography-line-height-tight);
|
|
@@ -8193,9 +8048,8 @@
|
|
|
8193
8048
|
align-items: center;
|
|
8194
8049
|
gap: var(--spacing-xs);
|
|
8195
8050
|
border-radius: var(--radius-4xl, 32px);
|
|
8196
|
-
border: 1px solid var(--border-core-surface-subtle, #e2e6ea);
|
|
8197
8051
|
background: var(--background-core-elevation-2, #fff);
|
|
8198
|
-
box-shadow:
|
|
8052
|
+
box-shadow: var(--light-elevation-3);
|
|
8199
8053
|
}
|
|
8200
8054
|
.str-chat__reaction-selector:has(.str-chat__reaction-selector-extended-list) {
|
|
8201
8055
|
padding: 0;
|
|
@@ -8206,35 +8060,36 @@
|
|
|
8206
8060
|
scrollbar-gutter: stable;
|
|
8207
8061
|
scrollbar-width: none;
|
|
8208
8062
|
border-radius: var(--radius-lg);
|
|
8209
|
-
max-height:
|
|
8063
|
+
max-height: 320px;
|
|
8064
|
+
}
|
|
8065
|
+
.str-chat__reaction-selector:has(.str-chat__reaction-selector-extended-list)::before, .str-chat__reaction-selector:has(.str-chat__reaction-selector-extended-list)::after {
|
|
8066
|
+
content: "";
|
|
8067
|
+
position: absolute;
|
|
8068
|
+
width: 100%;
|
|
8069
|
+
inset-inline-start: 0;
|
|
8070
|
+
height: var(--size-16);
|
|
8071
|
+
}
|
|
8072
|
+
.str-chat__reaction-selector:has(.str-chat__reaction-selector-extended-list)::after {
|
|
8073
|
+
bottom: 0;
|
|
8074
|
+
border-end-end-radius: inherit;
|
|
8075
|
+
border-end-start-radius: inherit;
|
|
8076
|
+
background: linear-gradient(to bottom, transparent 5%, var(--background-core-elevation-0) 95%);
|
|
8077
|
+
}
|
|
8078
|
+
.str-chat__reaction-selector:has(.str-chat__reaction-selector-extended-list)::before {
|
|
8079
|
+
z-index: 1;
|
|
8080
|
+
top: 0;
|
|
8081
|
+
border-start-end-radius: inherit;
|
|
8082
|
+
border-start-start-radius: inherit;
|
|
8083
|
+
background: linear-gradient(to top, transparent 5%, var(--background-core-elevation-0) 95%);
|
|
8210
8084
|
}
|
|
8211
8085
|
.str-chat__reaction-selector .str-chat__reaction-selector__add-button {
|
|
8212
8086
|
width: 32px;
|
|
8213
8087
|
aspect-ratio: 1/1;
|
|
8214
8088
|
}
|
|
8215
|
-
.str-chat__reaction-selector .str-chat__reaction-selector__add-button .str-chat__icon
|
|
8089
|
+
.str-chat__reaction-selector .str-chat__reaction-selector__add-button .str-chat__icon {
|
|
8216
8090
|
width: var(--icon-size-sm);
|
|
8217
8091
|
height: var(--icon-size-sm);
|
|
8218
8092
|
}
|
|
8219
|
-
.str-chat__reaction-selector .str-chat__reaction-selector-extended-list {
|
|
8220
|
-
display: grid;
|
|
8221
|
-
grid-template-columns: repeat(7, 1fr);
|
|
8222
|
-
height: 100%;
|
|
8223
|
-
padding-block: var(--spacing-md);
|
|
8224
|
-
padding-inline: var(--spacing-sm);
|
|
8225
|
-
}
|
|
8226
|
-
.str-chat__reaction-selector .str-chat__reaction-selector-extended-list .str-chat__reaction-selector-extended-list__button .str-chat__reaction-icon {
|
|
8227
|
-
height: var(--emoji-md);
|
|
8228
|
-
width: var(--emoji-md);
|
|
8229
|
-
font-size: var(--emoji-md);
|
|
8230
|
-
letter-spacing: var(--typography-letter-spacing-default);
|
|
8231
|
-
font-style: normal;
|
|
8232
|
-
line-height: 0;
|
|
8233
|
-
font-family: system-ui;
|
|
8234
|
-
display: flex;
|
|
8235
|
-
justify-content: center;
|
|
8236
|
-
align-items: center;
|
|
8237
|
-
}
|
|
8238
8093
|
.str-chat__reaction-selector .str-chat__reaction-selector-list {
|
|
8239
8094
|
list-style: none;
|
|
8240
8095
|
margin: var(--spacing-none, 0);
|
|
@@ -8280,6 +8135,26 @@
|
|
|
8280
8135
|
font-family: system-ui, sans-serif;
|
|
8281
8136
|
}
|
|
8282
8137
|
|
|
8138
|
+
.str-chat__reaction-selector-extended-list {
|
|
8139
|
+
display: grid;
|
|
8140
|
+
grid-template-columns: repeat(7, 1fr);
|
|
8141
|
+
height: 100%;
|
|
8142
|
+
padding-block: var(--spacing-md);
|
|
8143
|
+
padding-inline: var(--spacing-sm);
|
|
8144
|
+
}
|
|
8145
|
+
.str-chat__reaction-selector-extended-list .str-chat__reaction-selector-extended-list__button .str-chat__reaction-icon {
|
|
8146
|
+
height: var(--emoji-md);
|
|
8147
|
+
width: var(--emoji-md);
|
|
8148
|
+
font-size: var(--emoji-md);
|
|
8149
|
+
letter-spacing: var(--typography-letter-spacing-default);
|
|
8150
|
+
font-style: normal;
|
|
8151
|
+
line-height: 0;
|
|
8152
|
+
font-family: system-ui;
|
|
8153
|
+
display: flex;
|
|
8154
|
+
justify-content: center;
|
|
8155
|
+
align-items: center;
|
|
8156
|
+
}
|
|
8157
|
+
|
|
8283
8158
|
.str-chat__message-reactions {
|
|
8284
8159
|
display: flex;
|
|
8285
8160
|
}
|
|
@@ -8315,6 +8190,7 @@
|
|
|
8315
8190
|
border-radius: var(--radius-max);
|
|
8316
8191
|
border: 1px solid var(--reaction-border);
|
|
8317
8192
|
background: var(--reaction-bg);
|
|
8193
|
+
color: var(--reaction-text);
|
|
8318
8194
|
box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.16);
|
|
8319
8195
|
font-weight: inherit;
|
|
8320
8196
|
font-size: inherit;
|
|
@@ -8376,20 +8252,41 @@
|
|
|
8376
8252
|
max-width: 256px;
|
|
8377
8253
|
min-width: min(90vw, 256px);
|
|
8378
8254
|
}
|
|
8379
|
-
.str-chat__message-reactions-detail::after {
|
|
8255
|
+
.str-chat__message-reactions-detail:has(.str-chat__reaction-selector-extended-list)::before, .str-chat__message-reactions-detail:has(.str-chat__reaction-selector-extended-list)::after {
|
|
8380
8256
|
content: "";
|
|
8381
8257
|
position: absolute;
|
|
8382
8258
|
width: 100%;
|
|
8259
|
+
inset-inline-start: 0;
|
|
8260
|
+
height: var(--size-16);
|
|
8261
|
+
}
|
|
8262
|
+
.str-chat__message-reactions-detail:has(.str-chat__reaction-selector-extended-list)::after {
|
|
8383
8263
|
bottom: 0;
|
|
8384
|
-
|
|
8385
|
-
|
|
8386
|
-
|
|
8387
|
-
|
|
8388
|
-
|
|
8264
|
+
border-end-end-radius: inherit;
|
|
8265
|
+
border-end-start-radius: inherit;
|
|
8266
|
+
background: linear-gradient(to bottom, transparent 5%, var(--background-core-elevation-0) 95%);
|
|
8267
|
+
}
|
|
8268
|
+
.str-chat__message-reactions-detail:has(.str-chat__reaction-selector-extended-list)::before {
|
|
8269
|
+
z-index: 1;
|
|
8270
|
+
top: 0;
|
|
8271
|
+
border-start-end-radius: inherit;
|
|
8272
|
+
border-start-start-radius: inherit;
|
|
8273
|
+
background: linear-gradient(to top, transparent 5%, var(--background-core-elevation-0) 95%);
|
|
8274
|
+
}
|
|
8275
|
+
.str-chat__message-reactions-detail:has(.str-chat__reaction-selector-extended-list) {
|
|
8276
|
+
overflow-x: hidden;
|
|
8277
|
+
overflow-y: auto;
|
|
8278
|
+
overscroll-behavior: contain;
|
|
8279
|
+
scrollbar-gutter: stable;
|
|
8280
|
+
padding: 0;
|
|
8281
|
+
display: block;
|
|
8282
|
+
scrollbar-width: none;
|
|
8283
|
+
max-height: 320px;
|
|
8284
|
+
max-width: unset;
|
|
8285
|
+
min-width: unset;
|
|
8389
8286
|
}
|
|
8390
8287
|
.str-chat__message-reactions-detail {
|
|
8391
8288
|
font-family: var(--typography-font-family-sans);
|
|
8392
|
-
box-shadow:
|
|
8289
|
+
box-shadow: var(--light-elevation-3);
|
|
8393
8290
|
padding-block-start: var(--spacing-xxs);
|
|
8394
8291
|
display: flex;
|
|
8395
8292
|
flex-direction: column;
|
|
@@ -8410,7 +8307,7 @@
|
|
|
8410
8307
|
.str-chat__message-reactions-detail .str-chat__message-reactions-detail__reaction-type-list {
|
|
8411
8308
|
list-style: none;
|
|
8412
8309
|
margin: 0;
|
|
8413
|
-
padding-inline: var(--spacing-
|
|
8310
|
+
padding-inline: var(--spacing-md);
|
|
8414
8311
|
padding-block: var(--spacing-xs);
|
|
8415
8312
|
display: flex;
|
|
8416
8313
|
flex-wrap: wrap;
|
|
@@ -8436,6 +8333,7 @@
|
|
|
8436
8333
|
border-radius: var(--radius-max);
|
|
8437
8334
|
border: 1px solid var(--reaction-border);
|
|
8438
8335
|
background: var(--reaction-bg);
|
|
8336
|
+
color: var(--reaction-text);
|
|
8439
8337
|
box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.16);
|
|
8440
8338
|
font-weight: inherit;
|
|
8441
8339
|
font-size: inherit;
|
|
@@ -8461,6 +8359,7 @@
|
|
|
8461
8359
|
}
|
|
8462
8360
|
.str-chat__message-reactions-detail .str-chat__message-reactions-detail__reaction-type-list .str-chat__message-reactions-detail__reaction-type-list-item .str-chat__message-reactions-detail__reaction-type-list-item-button {
|
|
8463
8361
|
box-shadow: unset;
|
|
8362
|
+
min-width: var(--size-48);
|
|
8464
8363
|
}
|
|
8465
8364
|
.str-chat__message-reactions-detail .str-chat__message-reactions-detail__reaction-type-list .str-chat__message-reactions-detail__reaction-type-list-item .str-chat__message-reactions-detail__reaction-type-list-item-button .str-chat__message-reactions-detail__reaction-type-list-item-icon {
|
|
8466
8365
|
font-family: system-ui;
|
|
@@ -8468,10 +8367,46 @@
|
|
|
8468
8367
|
font-style: normal;
|
|
8469
8368
|
line-height: var(--typography-line-height-normal);
|
|
8470
8369
|
}
|
|
8370
|
+
.str-chat__message-reactions-detail .str-chat__message-reactions-detail__reaction-type-list .str-chat__message-reactions-detail__reaction-type-list-item .str-chat__message-reactions-detail__reaction-type-list-item-button .str-chat__message-reactions-detail__reaction-type-list-item-icon .str-chat__icon {
|
|
8371
|
+
width: var(--icon-size-sm);
|
|
8372
|
+
height: var(--icon-size-sm);
|
|
8373
|
+
}
|
|
8374
|
+
.str-chat__message-reactions-detail .str-chat__message-reactions-detail__reaction-type-list .str-chat__message-reactions-detail__reaction-type-list-item .str-chat__message-reactions-detail__reaction-type-list-item-button .str-chat__message-reactions-detail__reaction-type-list-item-icon:has(.str-chat__icon) {
|
|
8375
|
+
display: flex;
|
|
8376
|
+
align-items: center;
|
|
8377
|
+
justify-content: center;
|
|
8378
|
+
}
|
|
8471
8379
|
.str-chat__message-reactions-detail .str-chat__message-reactions-detail__reaction-type-list .str-chat__message-reactions-detail__reaction-type-list-item .str-chat__message-reactions-detail__reaction-type-list-item-button .str-chat__message-reactions-detail__reaction-type-list-item-count {
|
|
8472
8380
|
color: var(--reaction-text);
|
|
8473
8381
|
font: var(--str-chat__metadata-emphasis-text);
|
|
8474
8382
|
}
|
|
8383
|
+
.str-chat__message-reactions-detail .str-chat__message-reactions-detail__user-list-container {
|
|
8384
|
+
position: relative;
|
|
8385
|
+
border-radius: inherit;
|
|
8386
|
+
}
|
|
8387
|
+
.str-chat__message-reactions-detail .str-chat__message-reactions-detail__user-list-container::before, .str-chat__message-reactions-detail .str-chat__message-reactions-detail__user-list-container::after {
|
|
8388
|
+
content: "";
|
|
8389
|
+
position: absolute;
|
|
8390
|
+
width: 100%;
|
|
8391
|
+
inset-inline-start: 0;
|
|
8392
|
+
height: var(--size-16);
|
|
8393
|
+
}
|
|
8394
|
+
.str-chat__message-reactions-detail .str-chat__message-reactions-detail__user-list-container::after {
|
|
8395
|
+
bottom: 0;
|
|
8396
|
+
border-end-end-radius: inherit;
|
|
8397
|
+
border-end-start-radius: inherit;
|
|
8398
|
+
background: linear-gradient(to bottom, transparent 5%, var(--background-core-elevation-0) 95%);
|
|
8399
|
+
}
|
|
8400
|
+
.str-chat__message-reactions-detail .str-chat__message-reactions-detail__user-list-container::before {
|
|
8401
|
+
z-index: 1;
|
|
8402
|
+
top: 0;
|
|
8403
|
+
border-start-end-radius: inherit;
|
|
8404
|
+
border-start-start-radius: inherit;
|
|
8405
|
+
background: linear-gradient(to top, transparent 5%, var(--background-core-elevation-0) 95%);
|
|
8406
|
+
}
|
|
8407
|
+
.str-chat__message-reactions-detail .str-chat__message-reactions-detail__user-list-container::before {
|
|
8408
|
+
display: none;
|
|
8409
|
+
}
|
|
8475
8410
|
.str-chat__message-reactions-detail .str-chat__message-reactions-detail__user-list {
|
|
8476
8411
|
overflow-x: hidden;
|
|
8477
8412
|
overflow-y: auto;
|
|
@@ -8480,10 +8415,7 @@
|
|
|
8480
8415
|
scrollbar-width: none;
|
|
8481
8416
|
position: relative;
|
|
8482
8417
|
padding-block-end: var(--spacing-xxs);
|
|
8483
|
-
max-height:
|
|
8484
|
-
}
|
|
8485
|
-
.str-chat__message-reactions-detail .str-chat__message-reactions-detail__user-list:has(.str-chat__message-reactions-detail__user-list-item .str-chat__message-reactions-detail__user-list-item-button:nth-child(-n+3)) {
|
|
8486
|
-
max-height: 106px;
|
|
8418
|
+
max-height: 180px;
|
|
8487
8419
|
}
|
|
8488
8420
|
.str-chat__message-reactions-detail .str-chat__message-reactions-detail__user-list .str-chat__message-reactions-detail__skeleton-item {
|
|
8489
8421
|
padding-block: var(--spacing-xxs);
|
|
@@ -8522,6 +8454,7 @@
|
|
|
8522
8454
|
align-items: center;
|
|
8523
8455
|
gap: var(--spacing-xs);
|
|
8524
8456
|
padding-inline: calc(var(--spacing-sm) + var(--spacing-xxs));
|
|
8457
|
+
max-height: var(--size-40);
|
|
8525
8458
|
}
|
|
8526
8459
|
.str-chat__message-reactions-detail .str-chat__message-reactions-detail__user-list .str-chat__message-reactions-detail__user-list-item .str-chat__message-reactions-detail__user-list-item-icon {
|
|
8527
8460
|
font-family: system-ui;
|
|
@@ -8532,7 +8465,6 @@
|
|
|
8532
8465
|
.str-chat__message-reactions-detail .str-chat__message-reactions-detail__user-list .str-chat__message-reactions-detail__user-list-item .str-chat__message-reactions-detail__user-list-item-info {
|
|
8533
8466
|
display: flex;
|
|
8534
8467
|
flex-direction: column;
|
|
8535
|
-
gap: var(--spacing-xxxs);
|
|
8536
8468
|
flex-grow: 1;
|
|
8537
8469
|
min-width: 0;
|
|
8538
8470
|
}
|
|
@@ -8597,10 +8529,6 @@
|
|
|
8597
8529
|
padding-block: var(--spacing-xs);
|
|
8598
8530
|
padding-inline: var(--spacing-sm);
|
|
8599
8531
|
}
|
|
8600
|
-
.str-chat__search-bar .str-chat__search-bar__input-wrapper .str-chat__icon {
|
|
8601
|
-
width: var(--icon-size-sm);
|
|
8602
|
-
height: var(--icon-size-sm);
|
|
8603
|
-
}
|
|
8604
8532
|
.str-chat__search-bar .str-chat__search-bar__exit-search-button {
|
|
8605
8533
|
flex-shrink: 0;
|
|
8606
8534
|
}
|
|
@@ -8848,13 +8776,11 @@
|
|
|
8848
8776
|
border-inline-start: var(--str-chat__thread-header-border-inline-start);
|
|
8849
8777
|
border-inline-end: var(--str-chat__thread-header-border-inline-end);
|
|
8850
8778
|
}
|
|
8851
|
-
.str-chat__thread-header .str-chat__thread-header-name,
|
|
8852
8779
|
.str-chat__thread-header .str-chat__thread-header-title {
|
|
8853
|
-
font: var(--str-
|
|
8780
|
+
font: var(--str-chat__heading-sm-text);
|
|
8854
8781
|
}
|
|
8855
|
-
.str-chat__thread-header .str-chat__thread-header-channel-name,
|
|
8856
8782
|
.str-chat__thread-header .str-chat__thread-header-subtitle {
|
|
8857
|
-
font: var(--str-
|
|
8783
|
+
font: var(--str-chat__caption-default-text);
|
|
8858
8784
|
color: var(--str-chat__thread-header-info-color);
|
|
8859
8785
|
}
|
|
8860
8786
|
.str-chat__thread-header .str-chat__thread-header-details {
|
|
@@ -8865,11 +8791,10 @@
|
|
|
8865
8791
|
overflow-x: hidden;
|
|
8866
8792
|
max-width: 100%;
|
|
8867
8793
|
row-gap: var(--spacing-xxs);
|
|
8794
|
+
width: 100%;
|
|
8868
8795
|
align-items: start;
|
|
8796
|
+
flex: 1;
|
|
8869
8797
|
}
|
|
8870
|
-
.str-chat__thread-header .str-chat__thread-header-details .str-chat__thread-header-name,
|
|
8871
|
-
.str-chat__thread-header .str-chat__thread-header-details .str-chat__thread-header-reply-count,
|
|
8872
|
-
.str-chat__thread-header .str-chat__thread-header-details .str-chat__thread-header-channel-name,
|
|
8873
8798
|
.str-chat__thread-header .str-chat__thread-header-details .str-chat__thread-header-subtitle,
|
|
8874
8799
|
.str-chat__thread-header .str-chat__thread-header-details .str-chat__thread-header-title {
|
|
8875
8800
|
white-space: nowrap;
|
|
@@ -8882,11 +8807,9 @@
|
|
|
8882
8807
|
overflow-y: hidden;
|
|
8883
8808
|
}
|
|
8884
8809
|
.str-chat__thread-header .str-chat__thread-header__start {
|
|
8885
|
-
flex: 1;
|
|
8886
8810
|
display: flex;
|
|
8887
8811
|
}
|
|
8888
8812
|
.str-chat__thread-header .str-chat__thread-header__end {
|
|
8889
|
-
flex: 1;
|
|
8890
8813
|
display: flex;
|
|
8891
8814
|
justify-content: flex-end;
|
|
8892
8815
|
}
|
|
@@ -8900,41 +8823,15 @@
|
|
|
8900
8823
|
background-color: transparent;
|
|
8901
8824
|
border: none;
|
|
8902
8825
|
}
|
|
8903
|
-
.str-chat__thread-header .str-chat__close-thread-button
|
|
8826
|
+
.str-chat__thread-header .str-chat__close-thread-button .str-chat__icon {
|
|
8904
8827
|
fill: var(--str-chat__thread-color);
|
|
8905
8828
|
}
|
|
8906
8829
|
|
|
8907
8830
|
.str-chat__chat-view__threads .str-chat__thread-header .str-chat__thread-header-details {
|
|
8908
8831
|
align-items: center;
|
|
8909
8832
|
}
|
|
8910
|
-
|
|
8911
|
-
|
|
8912
|
-
display: flex;
|
|
8913
|
-
align-items: center;
|
|
8914
|
-
width: 100%;
|
|
8915
|
-
padding: var(--spacing-md);
|
|
8916
|
-
gap: var(--spacing-sm);
|
|
8917
|
-
height: var(--str-chat__channel-header-height);
|
|
8918
|
-
min-width: 0;
|
|
8919
|
-
border-bottom: 1px solid var(--border-core-default);
|
|
8920
|
-
background: var(--background-core-elevation-1);
|
|
8921
|
-
}
|
|
8922
|
-
.str-chat__thread-header--main .str-chat__thread-header--main__details {
|
|
8923
|
-
display: flex;
|
|
8924
|
-
flex-direction: column;
|
|
8925
|
-
align-items: center;
|
|
8926
|
-
overflow-y: hidden;
|
|
8927
|
-
overflow-x: hidden;
|
|
8928
|
-
max-width: 100%;
|
|
8929
|
-
row-gap: var(--spacing-xxs);
|
|
8930
|
-
}
|
|
8931
|
-
.str-chat__thread-header--main .str-chat__thread-header--main__details .str-chat__thread-header--main__title {
|
|
8932
|
-
font: var(--str-chat__heading-sm-text);
|
|
8933
|
-
color: var(--text-primary);
|
|
8934
|
-
}
|
|
8935
|
-
.str-chat__thread-header--main .str-chat__thread-header--main__details .str-chat__thread-header--main__subtitle {
|
|
8936
|
-
font: var(--str-chat__caption-default-text);
|
|
8937
|
-
color: var(--text-secondary);
|
|
8833
|
+
.str-chat__chat-view__threads .str-chat__thread {
|
|
8834
|
+
border: none;
|
|
8938
8835
|
}
|
|
8939
8836
|
|
|
8940
8837
|
/* Only available in React SDK. */
|
|
@@ -9055,41 +8952,6 @@
|
|
|
9055
8952
|
width: var(--str-chat__thread-list-mobile-width);
|
|
9056
8953
|
z-index: 1;
|
|
9057
8954
|
}
|
|
9058
|
-
.str-chat__thread-list-container.str-chat__thread-list-container--open {
|
|
9059
|
-
box-shadow: var(--str-chat__thread-list-box-shadow);
|
|
9060
|
-
pointer-events: auto;
|
|
9061
|
-
transform: translateX(0);
|
|
9062
|
-
transition-delay: 0s, 0s;
|
|
9063
|
-
visibility: visible;
|
|
9064
|
-
}
|
|
9065
|
-
.str-chat__chat-view .str-chat__thread-list-container.str-chat__thread-list-container--open {
|
|
9066
|
-
inset-inline-start: var(--str-chat__chat-view-selector-mobile-width, 0px);
|
|
9067
|
-
width: calc(100% - var(--str-chat__chat-view-selector-mobile-width, 0px));
|
|
9068
|
-
}
|
|
9069
|
-
}
|
|
9070
|
-
.str-chat__thread-list-container {
|
|
9071
|
-
/* Desktop (≥768px): collapse when nav closed so main content uses space. */
|
|
9072
|
-
}
|
|
9073
|
-
@media (min-width: 768px) {
|
|
9074
|
-
.str-chat__thread-list-container.str-chat__thread-list-container--open {
|
|
9075
|
-
flex-basis: var(--str-chat__thread-list-width);
|
|
9076
|
-
max-width: 100%;
|
|
9077
|
-
min-width: var(--str-chat__thread-list-min-width);
|
|
9078
|
-
opacity: 1;
|
|
9079
|
-
pointer-events: auto;
|
|
9080
|
-
transform: translateX(0);
|
|
9081
|
-
width: var(--str-chat__thread-list-width);
|
|
9082
|
-
}
|
|
9083
|
-
.str-chat__thread-list-container:not(.str-chat__thread-list-container--open) {
|
|
9084
|
-
flex: 0 0 0;
|
|
9085
|
-
width: 0;
|
|
9086
|
-
min-width: 0;
|
|
9087
|
-
max-width: 0;
|
|
9088
|
-
opacity: 0;
|
|
9089
|
-
overflow: hidden;
|
|
9090
|
-
pointer-events: none;
|
|
9091
|
-
transform: translateX(calc(0px - var(--str-chat__thread-list-transition-offset)));
|
|
9092
|
-
}
|
|
9093
8955
|
}
|
|
9094
8956
|
@media (prefers-reduced-motion: reduce) {
|
|
9095
8957
|
.str-chat__thread-list-container {
|
|
@@ -9164,11 +9026,8 @@
|
|
|
9164
9026
|
.str-chat__thread-list__header {
|
|
9165
9027
|
display: flex;
|
|
9166
9028
|
align-items: center;
|
|
9167
|
-
opacity: 1;
|
|
9168
9029
|
padding: var(--spacing-md);
|
|
9169
9030
|
height: var(--str-chat__channel-header-height);
|
|
9170
|
-
transform: translateX(0);
|
|
9171
|
-
transition: opacity var(--str-chat__channel-list-transition-duration, 180ms) var(--str-chat__channel-list-transition-easing, ease), transform var(--str-chat__channel-list-transition-duration, 180ms) var(--str-chat__channel-list-transition-easing, ease);
|
|
9172
9031
|
width: 100%;
|
|
9173
9032
|
}
|
|
9174
9033
|
.str-chat__thread-list__header .str-chat__thread-list__header__title {
|
|
@@ -9176,25 +9035,6 @@
|
|
|
9176
9035
|
font: var(--str-chat__heading-lg-text);
|
|
9177
9036
|
color: var(--text-primary);
|
|
9178
9037
|
}
|
|
9179
|
-
.str-chat__thread-list__header.str-chat__thread-list__header--sidebar-collapsed {
|
|
9180
|
-
opacity: 0;
|
|
9181
|
-
pointer-events: none;
|
|
9182
|
-
transform: translateX(calc(0px - var(--str-chat__channel-list-transition-offset, 8px)));
|
|
9183
|
-
}
|
|
9184
|
-
@media (max-width: 767px) {
|
|
9185
|
-
.str-chat__thread-list__header {
|
|
9186
|
-
transition: none;
|
|
9187
|
-
}
|
|
9188
|
-
.str-chat__thread-list__header.str-chat__thread-list__header--sidebar-collapsed {
|
|
9189
|
-
opacity: 1;
|
|
9190
|
-
transform: none;
|
|
9191
|
-
}
|
|
9192
|
-
}
|
|
9193
|
-
@media (prefers-reduced-motion: reduce) {
|
|
9194
|
-
.str-chat__thread-list__header {
|
|
9195
|
-
transition: none;
|
|
9196
|
-
}
|
|
9197
|
-
}
|
|
9198
9038
|
|
|
9199
9039
|
.str-chat__thread-list-item-container {
|
|
9200
9040
|
border-bottom: 1px solid var(--border-core-subtle);
|
|
@@ -9264,16 +9104,6 @@
|
|
|
9264
9104
|
white-space: nowrap;
|
|
9265
9105
|
}
|
|
9266
9106
|
|
|
9267
|
-
.str-chat__thread-list-item__message-preview {
|
|
9268
|
-
font-size: var(--typography-font-size-md);
|
|
9269
|
-
font-weight: var(--typography-font-weight-regular);
|
|
9270
|
-
line-height: var(--typography-line-height-normal);
|
|
9271
|
-
color: var(--text-primary);
|
|
9272
|
-
overflow: hidden;
|
|
9273
|
-
text-overflow: ellipsis;
|
|
9274
|
-
white-space: nowrap;
|
|
9275
|
-
}
|
|
9276
|
-
|
|
9277
9107
|
.str-chat__thread-list-item__content-trailing {
|
|
9278
9108
|
display: flex;
|
|
9279
9109
|
gap: var(--spacing-xs);
|
|
@@ -9340,11 +9170,11 @@
|
|
|
9340
9170
|
border-inline-end: var(--str-chat__tooltip-border-inline-end);
|
|
9341
9171
|
overflow-y: hidden;
|
|
9342
9172
|
display: flex;
|
|
9343
|
-
padding: var(--
|
|
9173
|
+
padding: var(--space-8);
|
|
9344
9174
|
z-index: 1;
|
|
9345
9175
|
max-width: calc(var(--str-chat__spacing-px) * 150);
|
|
9346
9176
|
width: max-content;
|
|
9347
|
-
font: var(--str-
|
|
9177
|
+
font: var(--str-chat__metadata-emphasis-text);
|
|
9348
9178
|
}
|
|
9349
9179
|
.str-chat__tooltip::after {
|
|
9350
9180
|
background-color: var(--str-chat__tooltip-background-color);
|
|
@@ -9397,22 +9227,6 @@
|
|
|
9397
9227
|
align-items: center;
|
|
9398
9228
|
column-gap: var(--spacing-xxs);
|
|
9399
9229
|
}
|
|
9400
|
-
.str-chat__typing-indicator__dots .str-chat__typing-indicator__dot {
|
|
9401
|
-
width: 5px;
|
|
9402
|
-
height: 5px;
|
|
9403
|
-
border-radius: 50%;
|
|
9404
|
-
background-color: var(--chat-text-typing-indicator);
|
|
9405
|
-
animation: str-chat__typing-indicator-dot 1.2s ease-in-out infinite both;
|
|
9406
|
-
}
|
|
9407
|
-
.str-chat__typing-indicator__dots .str-chat__typing-indicator__dot:nth-child(1) {
|
|
9408
|
-
animation-delay: 0s;
|
|
9409
|
-
}
|
|
9410
|
-
.str-chat__typing-indicator__dots .str-chat__typing-indicator__dot:nth-child(2) {
|
|
9411
|
-
animation-delay: 0.15s;
|
|
9412
|
-
}
|
|
9413
|
-
.str-chat__typing-indicator__dots .str-chat__typing-indicator__dot:nth-child(3) {
|
|
9414
|
-
animation-delay: 0.3s;
|
|
9415
|
-
}
|
|
9416
9230
|
|
|
9417
9231
|
/* SVG dots (TypingIndicatorDots component) */
|
|
9418
9232
|
.str-chat__typing-indicator__dots svg {
|
|
@@ -9480,7 +9294,7 @@
|
|
|
9480
9294
|
height: 48px;
|
|
9481
9295
|
width: 48px;
|
|
9482
9296
|
border-radius: var(--radius-max);
|
|
9483
|
-
background-color: var(--control-play-
|
|
9297
|
+
background-color: var(--control-play-button-bg);
|
|
9484
9298
|
left: calc(50% - 24px);
|
|
9485
9299
|
top: calc(50% - 24px);
|
|
9486
9300
|
}
|
|
@@ -9491,7 +9305,7 @@
|
|
|
9491
9305
|
}
|
|
9492
9306
|
.str-chat .str-chat__message-attachment__video-thumbnail .str-chat__message-attachment__video-thumbnail__play-indicator svg path,
|
|
9493
9307
|
.str-chat .str-chat__message-attachment__video-thumbnail .str-chat__button.str-chat__button--solid.str-chat__message-attachment__video-thumbnail__play-indicator svg path {
|
|
9494
|
-
fill: var(--control-play-
|
|
9308
|
+
fill: var(--control-play-button-icon);
|
|
9495
9309
|
}
|
|
9496
9310
|
|
|
9497
9311
|
/*# sourceMappingURL=index.css.map */
|