plans.less 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225
  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. Plans Test
  88. */
  89. @best-val-height: 35px;
  90. @border-width-base: 3px;
  91. @gray-med: #6d6d6d;
  92. /* Media Queries */
  93. @media (max-width: @screen-sm-max) {
  94. .plans {
  95. .circle-img {
  96. float: left;
  97. margin: 0 15px;
  98. }
  99. }
  100. }
  101. @media (min-width: @screen-md-min) {
  102. .plans {
  103. blockquote {
  104. margin-bottom: 0;
  105. }
  106. .faq {
  107. .row:nth-child(2) {
  108. h3 {
  109. margin-top: 0;
  110. }
  111. }
  112. }
  113. }
  114. }
  115. .student-disclaimer {
  116. font-size: 14px; /* match .paymentPageFeatures p */
  117. color: @gray; /* match .paymentPageFeatures p */
  118. margin: 12.5px 0 0 0;
  119. }
  120. .group-subscription-modal {
  121. .modal-header {
  122. text-align: center;
  123. }
  124. .group-plan-option {
  125. display: block;
  126. span {
  127. padding-left: 5px;
  128. font-weight: normal;
  129. }
  130. }
  131. .educational-discount-badge {
  132. height: 50px;
  133. padding-top: 25px;
  134. p {
  135. display: inline-block;
  136. padding-left: 5px;
  137. padding-right: 5px;
  138. font-weight: bold;
  139. font-size: @font-size-small;
  140. }
  141. .applied {
  142. background-color: rgba(@ol-dark-green, 0.1);
  143. color: @ol-dark-green;
  144. }
  145. .ineligible {
  146. background-color: @ol-blue-gray-0;
  147. color: @ol-blue-gray-4;
  148. }
  149. }
  150. }
  151. /**
  152. Subscription Dash
  153. */
  154. #change-plan {
  155. .modal-dialog {
  156. &:extend(.modal-lg);
  157. }
  158. table {
  159. @media only screen and (min-width: @screen-md-min) {
  160. th:last-child,
  161. td:last-child {
  162. width: 1%; // will expand to fit the content
  163. text-align: center;
  164. }
  165. }
  166. @media only screen and (max-width: @screen-sm-max) {
  167. display: block;
  168. thead {
  169. display: none;
  170. }
  171. tbody,
  172. td,
  173. tr {
  174. display: inline-block;
  175. padding-top: 0;
  176. padding-bottom: 0;
  177. text-align: center;
  178. width: 100%;
  179. }
  180. td:first-child {
  181. padding-top: @padding-md;
  182. }
  183. td:last-child {
  184. padding-top: @padding-sm;
  185. padding-bottom: @padding-md;
  186. }
  187. tr:first-child {
  188. td:first-child {
  189. padding-top: @padding-sm;
  190. }
  191. }
  192. tr {
  193. border-bottom: 1px solid @table-border-color;
  194. td,
  195. th {
  196. border: 0 !important;
  197. }
  198. }
  199. tr:last-child {
  200. border-bottom: 0;
  201. }
  202. }
  203. }
  204. }