|
2 | 2 |
|
3 | 3 | .str-chat { |
4 | 4 | /* The margin applied to every attachment in the attachment list */ |
5 | | - --str-chat__attachment-margin: var(--str-chat__spacing-0_5); |
6 | | - |
7 | | - /* The border radius used for the borders of the component */ |
8 | | - --str-chat__attachment-list-border-radius: 0; |
| 5 | + --str-chat__attachment-margin: var(--space-2) |
| 6 | + /* The border radius used for the borders of the component */ |
| 7 | + --str-chat__attachment-list-border-radius: 0; |
9 | 8 |
|
10 | 9 | /* The text/icon color of the component */ |
11 | 10 | --str-chat__attachment-list-color: var(--str-chat__text-color); |
|
328 | 327 |
|
329 | 328 | .str-chat__gallery .str-chat__message-attachment--svg-image, |
330 | 329 | .str-chat__message-attachment--image.str-chat__message-attachment--svg-image { |
331 | | - $padding: var(--str-chat__spacing-6); |
| 330 | + $padding: var(--space-24); |
332 | 331 | padding: $padding; |
333 | 332 |
|
334 | 333 | img { |
|
344 | 343 | display: flex; |
345 | 344 | align-items: center; |
346 | 345 | justify-content: center; |
347 | | - padding: var(--str-chat__spacing-2); |
348 | | - column-gap: var(--str-chat__spacing-4); |
| 346 | + padding: var(--space-8); |
| 347 | + column-gap: var(--space-16); |
349 | 348 | //margin: var(--str-chat__attachment-margin); |
350 | 349 |
|
351 | 350 | .str-chat__file-icon { |
|
380 | 379 | flex-direction: column; |
381 | 380 | align-items: flex-start; |
382 | 381 | justify-content: center; |
383 | | - row-gap: var(--str-chat__spacing-0_5); |
| 382 | + row-gap: var(--space-2); |
384 | 383 | min-width: 0; |
385 | 384 | line-height: var(--typography-line-height-tight); |
386 | 385 |
|
|
390 | 389 | display: flex; |
391 | 390 | align-items: center; |
392 | 391 | justify-content: space-between; |
393 | | - column-gap: var(--str-chat__spacing-2); |
| 392 | + column-gap: var(--space-8); |
394 | 393 | font-weight: var(--typography-font-weight-semi-bold); |
395 | 394 | font-size: var(--typography-font-size-sm); |
396 | 395 |
|
|
435 | 434 | color: var(--str-chat__voice-recording-attachment-widget-color); |
436 | 435 | } |
437 | 436 |
|
438 | | - .str-chat__message-attachment-voice-recording-widget--first-row { |
439 | | - @include utils.ellipsis-text-parent; |
440 | | - |
441 | | - width: 100%; |
442 | | - display: flex; |
443 | | - align-items: center; |
444 | | - justify-content: space-between; |
445 | | - gap: var(--str-chat__spacing-1); |
446 | | - } |
447 | | - |
448 | 437 | .str-chat__message-attachment-download-icon { |
449 | 438 | svg { |
450 | 439 | width: calc(var(--str-chat__spacing-px) * 24); |
451 | 440 | height: calc(var(--str-chat__spacing-px) * 16); |
452 | 441 | } |
453 | 442 | } |
454 | | - |
455 | | - .str-chat__message-attachment__voice-recording-widget__error-message { |
456 | | - display: flex; |
457 | | - align-items: center; |
458 | | - justify-content: flex-start; |
459 | | - gap: var(--str-chat__spacing-1); |
460 | | - } |
461 | 443 | } |
462 | 444 |
|
463 | 445 | .str-chat__message-attachment__voice-recording-widget__right-section { |
|
476 | 458 | .str-chat__message-attachment-download-icon { |
477 | 459 | --str-chat-icon-height: calc(var(--str-chat__spacing-px) * 16); |
478 | 460 | } |
479 | | - |
480 | | - .str-chat__attachment-type-icon { |
481 | | - --str-chat-icon-height: calc(var(--str-chat__spacing-px) * 37); |
482 | | - } |
483 | 461 | } |
484 | 462 |
|
485 | 463 | .str-chat__message.str-chat__message--has-single-attachment.str-chat__message--has-no-text { |
|
0 commit comments