plans.less 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251
  1. .plans {
  2. p {
  3. color: @gray-dark;
  4. margin-bottom: @line-height-computed;
  5. }
  6. blockquote {
  7. footer {
  8. /* accessibility fix */
  9. color: @gray-med;
  10. }
  11. }
  12. .card .btn {
  13. white-space: normal;
  14. }
  15. .btn-header {
  16. font-family: @font-family-sans-serif;
  17. margin-left: 10px;
  18. margin-top: -10px;
  19. text-shadow: 0 0 0;
  20. }
  21. .card .btn {
  22. white-space: normal;
  23. }
  24. .circle {
  25. font-size: 1.5rem;
  26. font-weight: 700;
  27. padding: 46px 18px;
  28. margin: 0 auto @line-height-computed;
  29. text-shadow: 0 -1px 1px darken(@link-color, 10%);
  30. width: 120px;
  31. height: 120px;
  32. border-radius: 50%;
  33. background-color: @brand-secondary;
  34. color: white;
  35. white-space: nowrap;
  36. line-height: 1;
  37. .small {
  38. color: rgba(255, 255, 255, 0.85);
  39. font-size: @font-size-base * 0.8;
  40. }
  41. .undiscounted-price {
  42. display: block;
  43. margin-top: -48px;
  44. }
  45. }
  46. .circle-lg {
  47. height: 180px;
  48. padding: 70px 8px;
  49. width: 180px;
  50. }
  51. .circle-subtext {
  52. font-size: 1rem;
  53. }
  54. .circle-img {
  55. float: right;
  56. }
  57. .faq {
  58. p {
  59. margin: 0;
  60. }
  61. }
  62. .header-with-btn {
  63. line-height: 1.6;
  64. }
  65. .plans-header {
  66. h1,
  67. h2,
  68. p {
  69. text-shadow: 0 -1px 1px white;
  70. }
  71. h1,
  72. h2 {
  73. color: @red;
  74. }
  75. p {
  76. margin-bottom: 0;
  77. }
  78. }
  79. .plans-subheader {
  80. margin-bottom: @line-height-computed;
  81. }
  82. .tagline {
  83. margin-bottom: 20px;
  84. }
  85. }
  86. /**
  87. Back to school promo
  88. */
  89. .alert-back-to-school {
  90. .alert-variant(@green-10; #BBDBB8; @neutral-90);
  91. border-radius: 4px;
  92. border: 1px solid #bbdbb8;
  93. box-shadow: none !important;
  94. .notification-body {
  95. display: flex;
  96. }
  97. .btn.btn-default-outline {
  98. border: 1px solid @neutral-60;
  99. background: white;
  100. font-size: 16px;
  101. color: @neutral-90;
  102. }
  103. .btn.btn-default-outline:active {
  104. background: @neutral-40;
  105. }
  106. }
  107. /**
  108. Plans Test
  109. */
  110. @best-val-height: 35px;
  111. @border-width-base: 3px;
  112. @gray-med: #6d6d6d;
  113. /* Media Queries */
  114. @media (max-width: @screen-sm-max) {
  115. .plans {
  116. .circle-img {
  117. float: left;
  118. margin: 0 15px;
  119. }
  120. }
  121. }
  122. @media (min-width: @screen-md-min) {
  123. .plans {
  124. blockquote {
  125. margin-bottom: 0;
  126. }
  127. .faq {
  128. .row:nth-child(2) {
  129. h3 {
  130. margin-top: 0;
  131. }
  132. }
  133. }
  134. }
  135. }
  136. .student-disclaimer {
  137. font-size: 14px; /* match .paymentPageFeatures p */
  138. color: @gray; /* match .paymentPageFeatures p */
  139. margin: 12.5px 0 0 0;
  140. }
  141. .group-subscription-modal {
  142. .modal-header {
  143. text-align: center;
  144. }
  145. .group-plan-option {
  146. display: block;
  147. span {
  148. padding-left: 5px;
  149. font-weight: normal;
  150. }
  151. }
  152. .educational-discount-badge {
  153. height: 50px;
  154. padding-top: 25px;
  155. p {
  156. display: inline-block;
  157. padding-left: 5px;
  158. padding-right: 5px;
  159. font-weight: bold;
  160. font-size: @font-size-small;
  161. }
  162. .applied {
  163. background-color: rgba(@ol-dark-green, 0.1);
  164. color: @ol-dark-green;
  165. }
  166. .ineligible {
  167. background-color: @ol-blue-gray-0;
  168. color: @ol-blue-gray-4;
  169. }
  170. }
  171. }
  172. /**
  173. Subscription Dash
  174. */
  175. #change-plan {
  176. .modal-dialog {
  177. &:extend(.modal-lg);
  178. }
  179. table {
  180. @media only screen and (min-width: @screen-md-min) {
  181. th:last-child,
  182. td:last-child {
  183. width: 1%; // will expand to fit the content
  184. text-align: center;
  185. }
  186. }
  187. @media only screen and (max-width: @screen-sm-max) {
  188. display: block;
  189. thead {
  190. display: none;
  191. }
  192. tbody,
  193. td,
  194. tr {
  195. display: inline-block;
  196. padding-top: 0;
  197. padding-bottom: 0;
  198. text-align: center;
  199. width: 100%;
  200. }
  201. td:first-child {
  202. padding-top: @padding-md;
  203. }
  204. td:last-child {
  205. padding-top: @padding-sm;
  206. padding-bottom: @padding-md;
  207. }
  208. tr:first-child {
  209. td:first-child {
  210. padding-top: @padding-sm;
  211. }
  212. }
  213. tr {
  214. border-bottom: 1px solid @table-border-color;
  215. td,
  216. th {
  217. border: 0 !important;
  218. }
  219. }
  220. tr:last-child {
  221. border-bottom: 0;
  222. }
  223. }
  224. }
  225. }