subscription.scss 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. /**
  2. * MAIN CONTENT
  3. */
  4. #subscription-dashboard-root {
  5. .hover-highlight {
  6. &:hover,
  7. &:focus {
  8. background-color: var(--neutral-10);
  9. }
  10. }
  11. li.row-link {
  12. display: flex;
  13. border: 0;
  14. padding: 0;
  15. a {
  16. display: flex;
  17. justify-content: space-between;
  18. align-items: center;
  19. padding: var(--spacing-02) 0;
  20. text-decoration: none;
  21. color: var(--neutral-90);
  22. width: 100%;
  23. &:hover {
  24. background-color: var(--neutral-10);
  25. }
  26. }
  27. }
  28. }
  29. /**
  30. * MODALS
  31. */
  32. .group-subscription-modal {
  33. .circle {
  34. font-size: var(--font-size-06);
  35. border-radius: 50%;
  36. background-color: var(--green-70);
  37. color: white;
  38. white-space: nowrap;
  39. height: 180px;
  40. width: 180px;
  41. display: flex;
  42. flex-direction: column;
  43. justify-content: center;
  44. align-items: center;
  45. gap: var(--spacing-02);
  46. font-weight: bold;
  47. .small {
  48. opacity: 0.85;
  49. }
  50. .circle-subtext {
  51. font-size: var(--font-size-03);
  52. }
  53. }
  54. .legend-as-label {
  55. font-size: var(--font-size-02);
  56. font-weight: 600;
  57. color: var(--content-secondary);
  58. margin-bottom: 0;
  59. }
  60. .educational-discount-badge {
  61. height: 50px;
  62. p {
  63. display: inline-block;
  64. font-weight: bold;
  65. padding-left: var(--spacing-02);
  66. padding-right: var(--spacing-02);
  67. }
  68. .applied {
  69. background-color: rgba($green-70, 0.1);
  70. color: var(--green-70);
  71. }
  72. .ineligible {
  73. background-color: var(--neutral-10);
  74. }
  75. }
  76. }
  77. #change-plan {
  78. table {
  79. @include media-breakpoint-up(lg) {
  80. th:last-child,
  81. td:last-child {
  82. width: 1%; // will expand to fit the content
  83. }
  84. }
  85. @include media-breakpoint-down(lg) {
  86. display: block;
  87. thead {
  88. display: none;
  89. }
  90. tbody,
  91. td,
  92. tr {
  93. display: inline-block;
  94. padding-top: 0;
  95. padding-bottom: 0;
  96. text-align: center;
  97. width: 100%;
  98. }
  99. td:first-child {
  100. padding-top: var(--spacing-07);
  101. }
  102. td:last-child {
  103. padding-top: var(--spacing-03);
  104. padding-bottom: var(--spacing-07);
  105. }
  106. tr {
  107. border-bottom: 1px solid var(--bs-border-color);
  108. td,
  109. th {
  110. border: 0 !important;
  111. }
  112. }
  113. tr:last-child {
  114. border-bottom: 0;
  115. }
  116. }
  117. }
  118. }