pdf-error-state.scss 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. .pdf-error-state {
  2. overflow-y: auto;
  3. position: absolute;
  4. inset: var(--toolbar-small-height) 0 0 0;
  5. display: flex;
  6. flex-direction: column;
  7. align-items: center;
  8. justify-content: center;
  9. justify-content: safe center;
  10. padding: var(--spacing-06);
  11. background-color: var(--pdf-bg);
  12. }
  13. .pdf-error-state-top-section {
  14. display: flex;
  15. flex-direction: column;
  16. align-items: center;
  17. gap: var(--spacing-06);
  18. padding: 0 var(--spacing-09) var(--spacing-09) var(--spacing-09);
  19. }
  20. .pdf-error-state-icon {
  21. color: var(--content-primary-themed);
  22. width: 80px;
  23. height: 80px;
  24. display: flex;
  25. align-items: center;
  26. justify-content: center;
  27. border-radius: 100%;
  28. .material-symbols {
  29. font-size: 80px;
  30. }
  31. &.pdf-error-state-warning-icon {
  32. background-color: var(--bg-danger-03);
  33. color: var(--content-danger);
  34. .material-symbols {
  35. font-size: 32px;
  36. }
  37. }
  38. }
  39. .pdf-error-state-text {
  40. display: flex;
  41. flex-direction: column;
  42. align-items: center;
  43. gap: var(--spacing-02);
  44. }
  45. .pdf-error-state-label {
  46. font-size: var(--font-size-02);
  47. color: var(--content-primary-themed);
  48. font-weight: 600;
  49. margin-bottom: 0;
  50. }
  51. .pdf-error-state-description {
  52. color: var(--content-secondary-themed);
  53. font-size: var(--font-size-02);
  54. margin-bottom: 0;
  55. }
  56. .pdf-error-state-info-box {
  57. background-color: var(--bg-primary-themed);
  58. color: var(--content-primary-themed);
  59. padding: var(--spacing-06);
  60. border: 1px solid var(--border-divider-themed);
  61. border-radius: var(--border-radius-base);
  62. font-size: var(--font-size-02);
  63. line-height: var(--line-height-02);
  64. @include themed-links;
  65. }
  66. .pdf-error-state-info-box-title {
  67. font-weight: 600;
  68. display: flex;
  69. align-items: center;
  70. gap: var(--spacing-02);
  71. margin-bottom: var(--spacing-04);
  72. }
  73. .pdf-error-state-info-box-list {
  74. margin-bottom: 0;
  75. li + li {
  76. margin-top: var(--spacing-02);
  77. }
  78. }