upgrade-prompt.scss 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. .upgrade-prompt {
  2. border-radius: var(--border-radius-base);
  3. box-shadow: 0 4px 6px 0 #1e25301f;
  4. padding: var(--spacing-06);
  5. background-color: var(--white);
  6. container: inline-size; // Defines the parent as a container
  7. .upgrade-prompt-card-container {
  8. @container (max-width: 700px) {
  9. width: 100%;
  10. }
  11. }
  12. .row {
  13. margin-left: 0;
  14. margin-right: 0;
  15. }
  16. .upgrade-prompt-title {
  17. font-weight: 600;
  18. }
  19. .upgrade-prompt-summary {
  20. margin-bottom: var(--spacing-10);
  21. }
  22. .upgrade-prompt-card {
  23. display: flex;
  24. flex-direction: column;
  25. border-radius: var(--border-radius-medium);
  26. padding: var(--spacing-09);
  27. height: 100%;
  28. font-size: var(--font-size-02);
  29. h3 {
  30. margin: 0;
  31. font-weight: 600;
  32. }
  33. }
  34. .upgrade-prompt-card-premium {
  35. border: 2px solid transparent;
  36. background:
  37. linear-gradient(white, white) padding-box,
  38. var(--premium-gradient) border-box;
  39. }
  40. .upgrade-prompt-card-free {
  41. border: 2px solid var(--border-divider);
  42. }
  43. .upgrade-prompt-price {
  44. margin-bottom: var(--spacing-05);
  45. }
  46. .upgrade-prompt-price-number {
  47. @include heading-xl;
  48. font-weight: 600;
  49. }
  50. .upgrade-prompt-list {
  51. margin-bottom: var(--spacing-08);
  52. & .material-symbols {
  53. vertical-align: bottom;
  54. }
  55. & li:not(:last-of-type) {
  56. margin-bottom: var(--spacing-05);
  57. }
  58. }
  59. .upgrade-prompt-all-plans {
  60. @include body-xs;
  61. margin-top: var(--spacing-07);
  62. margin-bottom: 0;
  63. & .material-symbols {
  64. vertical-align: bottom;
  65. font-size: var(--font-size-02);
  66. }
  67. }
  68. }