empty.scss 997 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. @use 'mixins/mixins' as *;
  2. @use 'mixins/var' as *;
  3. @use 'common/var' as *;
  4. @include b(empty) {
  5. @include set-component-css-var('empty', $empty);
  6. display: flex;
  7. justify-content: center;
  8. align-items: center;
  9. flex-direction: column;
  10. text-align: center;
  11. box-sizing: border-box;
  12. padding: getCssVar('empty-padding');
  13. @include e(image) {
  14. width: getCssVar('empty-image-width');
  15. img {
  16. user-select: none;
  17. width: 100%;
  18. height: 100%;
  19. vertical-align: top;
  20. object-fit: contain;
  21. }
  22. svg {
  23. color: getCssVar('svg-monochrome-grey');
  24. fill: currentColor;
  25. width: 100%;
  26. height: 100%;
  27. vertical-align: top;
  28. }
  29. }
  30. @include e(description) {
  31. margin-top: getCssVar('empty-description-margin-top');
  32. p {
  33. margin: 0;
  34. font-size: getCssVar('font-size', 'base');
  35. color: getCssVar('text-color', 'secondary');
  36. }
  37. }
  38. @include e(bottom) {
  39. margin-top: getCssVar('empty-bottom-margin-top');
  40. }
  41. }