|
6 | 6 | flex-direction: row; |
7 | 7 | width: 100%; |
8 | 8 | height: 100%; |
| 9 | + |
9 | 10 | &.incoming { |
10 | 11 | justify-content: flex-start; |
11 | 12 | } |
| 13 | + |
12 | 14 | &.outgoing { |
13 | 15 | justify-content: flex-end; |
14 | 16 | } |
| 17 | + |
15 | 18 | .sendbird-thread-list-item-content__middle { |
16 | 19 | max-width: 200px; |
| 20 | + |
17 | 21 | @include mobile() { |
18 | 22 | max-width: calc(100vw - 100px); |
19 | 23 | } |
|
60 | 64 | display: flex; |
61 | 65 | flex-direction: row; |
62 | 66 | min-width: 80px; |
| 67 | + |
63 | 68 | &.sendbird-mouse-hover { |
64 | 69 | display: none; |
65 | 70 | } |
|
79 | 84 | position: relative; |
80 | 85 | width: 100%; |
81 | 86 | display: inline-flex; |
82 | | - &.outgoing { justify-content: flex-end } |
83 | | - &.incoming { justify-content: flex-start } |
| 87 | + |
| 88 | + &.outgoing { |
| 89 | + justify-content: flex-end |
| 90 | + } |
| 91 | + |
| 92 | + &.incoming { |
| 93 | + justify-content: flex-start |
| 94 | + } |
| 95 | + |
84 | 96 | &:hover { |
85 | 97 | cursor: pointer; |
86 | 98 | } |
|
91 | 103 | position: relative; |
92 | 104 | display: inline-flex; |
93 | 105 | width: 50px; |
94 | | - &.use-reactions { width: 70px; } |
| 106 | + |
95 | 107 | margin-left: 4px; |
96 | 108 | padding-top: 18px; |
| 109 | + |
| 110 | + &.use-reactions { |
| 111 | + width: 70px; |
| 112 | + } |
| 113 | + |
97 | 114 | &.chain-top { |
98 | 115 | padding-top: 2px; |
| 116 | + |
99 | 117 | &.use-quote { |
100 | 118 | padding-top: 18px; |
101 | 119 | } |
|
106 | 124 | flex-direction: row; |
107 | 125 | height: 32px; |
108 | 126 | display: none; |
| 127 | + |
109 | 128 | &.sendbird-mouse-hover { |
110 | 129 | display: inline-flex; |
111 | 130 | } |
|
118 | 137 | display: inline-flex; |
119 | 138 | } |
120 | 139 | } |
| 140 | + |
121 | 141 | .sendbird-thread-list-item-content__middle { |
122 | 142 | .sendbird-thread-list-item-content__middle__body-container { |
123 | 143 | .sendbird-thread-list-item-content__middle__body-container__created-at { |
|
136 | 156 | display: inline-flex; |
137 | 157 | justify-content: flex-end; |
138 | 158 | width: 50px; |
139 | | - &.use-reactions { width: 70px } |
| 159 | + |
| 160 | + &.use-reactions { |
| 161 | + width: 70px |
| 162 | + } |
| 163 | + |
140 | 164 | &.use-quote { |
141 | 165 | .sendbird-thread-list-item-content-menu { |
142 | 166 | top: 18px; |
|
149 | 173 | right: 4px; |
150 | 174 | flex-direction: row; |
151 | 175 | display: none; |
| 176 | + |
152 | 177 | &.sendbird-mouse-hover { |
153 | 178 | display: inline-flex; |
154 | 179 | } |
|
165 | 190 | position: relative; |
166 | 191 | width: 100%; |
167 | 192 | display: inline-flex; |
168 | | - &.outgoing { justify-content: flex-end } |
169 | | - &.incoming { justify-content: flex-start } |
| 193 | + |
| 194 | + &.outgoing { |
| 195 | + justify-content: flex-end |
| 196 | + } |
| 197 | + |
| 198 | + &.incoming { |
| 199 | + justify-content: flex-start |
| 200 | + } |
170 | 201 | } |
171 | 202 |
|
172 | 203 | .sendbird-thread-list-item-content__middle__body-container { |
173 | 204 | position: relative; |
| 205 | + |
174 | 206 | .sendbird-thread-list-item-content__middle__body-container__created-at { |
175 | 207 | position: absolute; |
176 | 208 | bottom: 2px; |
|
181 | 213 | box-sizing: content-box; |
182 | 214 | min-width: 80px; |
183 | 215 | min-height: 16px; |
| 216 | + |
184 | 217 | &.sendbird-mouse-hover { |
185 | 218 | display: none; |
186 | 219 | } |
| 220 | + |
187 | 221 | .sendbird-thread-list-item-content__middle__body-container__created-at__component-container { |
188 | 222 | position: relative; |
189 | 223 | display: inline-flex; |
|
202 | 236 | display: inline-flex; |
203 | 237 | } |
204 | 238 | } |
| 239 | + |
205 | 240 | .sendbird-thread-list-item-content__middle { |
206 | 241 | .sendbird-thread-list-item-content__middle__body-container { |
207 | 242 | .sendbird-thread-list-item-content__middle__body-container__created-at { |
|
228 | 263 | width: 100%; |
229 | 264 | max-width: 400px; |
230 | 265 | border-radius: 0px 0px 16px 16px; |
231 | | - @include themed() { background-color: t(bg-1) } |
| 266 | + |
| 267 | + @include themed() { |
| 268 | + background-color: t(bg-1) |
| 269 | + } |
| 270 | + |
232 | 271 | &.primary { |
233 | | - @include themed() { background-color: t(primary-3) } |
| 272 | + @include themed() { |
| 273 | + background-color: t(primary-3) |
| 274 | + } |
234 | 275 | } |
235 | | - &.mouse-hover, &:hover { |
236 | | - @include themed() { background-color: t(bg-2) } |
| 276 | + |
| 277 | + &.mouse-hover, |
| 278 | + &:hover { |
| 279 | + @include themed() { |
| 280 | + background-color: t(bg-2) |
| 281 | + } |
| 282 | + |
237 | 283 | &.primary { |
238 | | - @include themed() { background-color: t(primary-4) } |
| 284 | + @include themed() { |
| 285 | + background-color: t(primary-4) |
| 286 | + } |
239 | 287 | } |
240 | 288 | } |
241 | 289 | } |
|
244 | 292 | .sendbird-thread-list-item-content__middle__thread-replies { |
245 | 293 | margin-top: 4px; |
246 | 294 | } |
| 295 | + |
247 | 296 | .sendbird-thread-list-item-content__middle__message-item-body.sendbird-og-message-item-body, |
248 | 297 | .sendbird-thread-list-item-content__middle__message-item-body.sendbird-thumbnail-message-item-body { |
249 | 298 | min-width: 200px; |
250 | 299 | max-width: 200px; |
251 | 300 | } |
| 301 | + |
252 | 302 | .sendbird-thread-list-item-content__middle__message-item-body.sendbird-thumbnail-message-item-body { |
253 | 303 | height: 148px; |
254 | 304 | } |
| 305 | + |
255 | 306 | .sendbird-thread-list-item-content__middle__message-item-body .sendbird-thumbnail-message-item-body__placeholder, |
256 | 307 | .sendbird-thread-list-item-content__middle__message-item-body .sendbird-thumbnail-message-item-body__icon-wrapper, |
257 | 308 | .sendbird-thread-list-item-content__middle__message-item-body .sendbird-thumbnail-message-item-body__video { |
|
0 commit comments