plans.less 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414
  1. .plans {
  2. p {
  3. color: @gray-dark;
  4. margin-bottom: @line-height-computed;
  5. }
  6. .best-value {
  7. color: @brand-secondary;
  8. line-height: @line-height-computed;
  9. text-transform: capitalize;
  10. }
  11. blockquote {
  12. footer {
  13. /* accessibility fix */
  14. color: @gray-med;
  15. }
  16. }
  17. .btn-header {
  18. font-family: @font-family-sans-serif;
  19. margin-left: 10px;
  20. margin-top: -10px;
  21. text-shadow: 0 0 0;
  22. }
  23. .card .btn {
  24. white-space: normal;
  25. }
  26. .card.features {
  27. margin-top: @line-height-computed;
  28. i {
  29. color: @red;
  30. }
  31. p {
  32. margin: 0;
  33. }
  34. }
  35. .btn-header {
  36. font-family: @font-family-sans-serif;
  37. margin-left: 10px;
  38. margin-top: -10px;
  39. text-shadow: 0 0 0;
  40. }
  41. .card .btn {
  42. white-space: normal;
  43. }
  44. .card-group {
  45. .card-highlighted {
  46. padding-top: @line-height-computed * 2;
  47. padding-bottom: @line-height-computed * 2;
  48. }
  49. }
  50. .card-first,
  51. .card-last {
  52. background: @plans-non-highlighted;
  53. }
  54. .card-highlighted {
  55. border: @border-width-base solid @border-color-base;
  56. padding-top: 10px !important;
  57. .best-value {
  58. margin-bottom: 15px;
  59. }
  60. .card-header {
  61. padding-bottom: 22px; /* align hr with other plans */
  62. }
  63. }
  64. .card-header {
  65. margin-bottom: 15px;
  66. }
  67. .circle {
  68. font-size: 1.5rem;
  69. font-weight: 700;
  70. padding: 46px 18px;
  71. margin: 0 auto @line-height-computed;
  72. text-shadow: 0 -1px 1px darken(@link-color, 10%);
  73. width: 120px;
  74. height: 120px;
  75. border-radius: 50%;
  76. background-color: @brand-secondary;
  77. color: white;
  78. white-space: nowrap;
  79. line-height: 1;
  80. span.small {
  81. color: rgba(255, 255, 255, 0.85);
  82. font-size: @font-size-base * 0.8;
  83. }
  84. }
  85. .circle-lg {
  86. width: 150px;
  87. height: 150px;
  88. padding-top: 50px;
  89. }
  90. .circle-subtext {
  91. font-size: 1rem;
  92. }
  93. .circle-img {
  94. float: right;
  95. }
  96. .faq {
  97. p {
  98. margin: 0;
  99. }
  100. }
  101. .header-with-btn {
  102. line-height: 1.6;
  103. }
  104. .plans-header {
  105. h1,
  106. h2,
  107. p {
  108. text-shadow: 0 -1px 1px white;
  109. }
  110. h1,
  111. h2 {
  112. color: @red;
  113. }
  114. p {
  115. margin-bottom: 0;
  116. }
  117. }
  118. .plans-subheader {
  119. margin-bottom: @line-height-computed;
  120. }
  121. .tagline {
  122. margin-bottom: 20px;
  123. }
  124. ul.nav-pills {
  125. text-align: center;
  126. margin-bottom: @line-height-computed;
  127. li {
  128. float: none;
  129. display: inline-block;
  130. }
  131. > li + li {
  132. margin-left: @line-height-computed / 2;
  133. }
  134. }
  135. }
  136. #changePlanSection {
  137. padding-top: 30px;
  138. .changePlanButton {
  139. padding-top: 15px;
  140. }
  141. }
  142. .paymentPageFeatures {
  143. h1,
  144. h2,
  145. h3 {
  146. color: @gray-dark;
  147. }
  148. h3 {
  149. font-size: 18px;
  150. &:first-child {
  151. margin-top: 0;
  152. }
  153. }
  154. p {
  155. font-size: 14px;
  156. color: @gray;
  157. }
  158. .small {
  159. font-size: 12px;
  160. }
  161. }
  162. .plansPageStudentLink {
  163. margin-left: 20px;
  164. margin-top: 20px;
  165. }
  166. /**
  167. Plans Test
  168. */
  169. @best-val-height: 35px;
  170. @border-width-base: 3px;
  171. @gray-med: #6d6d6d;
  172. /* Media Queries */
  173. @media (max-width: @screen-sm-max) {
  174. .plans {
  175. .card-group {
  176. /*override style in cards.less */
  177. .card {
  178. margin-left: 0;
  179. margin-right: 0;
  180. }
  181. .card-highlighted {
  182. margin-top: @line-height-computed!important;
  183. }
  184. }
  185. .circle-img {
  186. float: left;
  187. margin: 0 15px;
  188. }
  189. ul.nav-pills {
  190. margin-bottom: @margin-xs;
  191. li {
  192. margin-bottom: @margin-sm;
  193. }
  194. }
  195. }
  196. }
  197. @media (min-width: @screen-md-min) {
  198. .plans {
  199. blockquote {
  200. margin-bottom: 0;
  201. }
  202. .faq {
  203. .row:nth-child(2) {
  204. h3 {
  205. margin-top: 0;
  206. }
  207. }
  208. }
  209. .top-switch {
  210. .currency-dropdown {
  211. margin-right: -15px;
  212. }
  213. }
  214. }
  215. }
  216. .student-disclaimer {
  217. font-size: 14px; /* match .paymentPageFeatures p */
  218. color: @gray; /* match .paymentPageFeatures p */
  219. margin: 12.5px 0 0 0;
  220. }
  221. /**
  222. Plans Table
  223. */
  224. .plans-table {
  225. border: 1px solid @gray-lighter;
  226. background-color: @plans-non-highlighted;
  227. margin: @best-val-height 0 15px 0;
  228. table-layout: fixed;
  229. width: 100%;
  230. th,
  231. td {
  232. -moz-background-clip: padding;
  233. -webkit-background-clip: padding;
  234. background-clip: padding-box; /* needed for firefox when there is bg color */
  235. border: 1px solid @gray-lighter;
  236. padding: 6px;
  237. text-align: center;
  238. vertical-align: middle;
  239. }
  240. td {
  241. font-weight: bold;
  242. }
  243. th {
  244. border-top: 0;
  245. font-family: @headings-font-family;
  246. font-size: @font-size-h2;
  247. font-weight: @headings-font-weight;
  248. hyphens: auto;
  249. line-height: @headings-line-height;
  250. padding: 18px;
  251. }
  252. th:first-child,
  253. td:first-child {
  254. border-left: 0;
  255. }
  256. th:last-child,
  257. td:last-child {
  258. border-right: 0;
  259. }
  260. td:first-child {
  261. font-weight: bold;
  262. padding-left: 18px;
  263. text-align: left;
  264. }
  265. tr:first-child {
  266. th {
  267. position: relative;
  268. /* keep here position here, otherwise messes up border on safari */
  269. }
  270. }
  271. tr:last-child {
  272. td {
  273. border-bottom: 0;
  274. padding: 18px;
  275. }
  276. /* highlighted column */
  277. td:nth-child(3) {
  278. position: relative;
  279. /* keep here position here, otherwise messes up border on safari when there is a bg color */
  280. &:before {
  281. /* needed for safafi */
  282. border-top: 1px solid @border-color-base;
  283. content: '';
  284. left: 0;
  285. position: absolute;
  286. top: -1px;
  287. width: 100%;
  288. }
  289. }
  290. td:first-child {
  291. border: 0;
  292. }
  293. }
  294. .fa-check {
  295. color: @green;
  296. }
  297. /* accessibility fixes */
  298. .small {
  299. color: @gray-med;
  300. }
  301. /* highlighted column */
  302. td:nth-child(3),
  303. th:nth-child(3) {
  304. background-color: white;
  305. border-left: @border-width-base solid @border-color-base;
  306. border-right: @border-width-base solid @border-color-base;
  307. }
  308. .outer {
  309. left: -@border-width-base;
  310. right: -@border-width-base;
  311. position: absolute;
  312. .outer-content {
  313. background: white;
  314. border: @border-width-base solid @border-color-base;
  315. border-radius: @border-radius-base;
  316. font-size: @font-size-base;
  317. font-family: @font-family-sans-serif;
  318. font-weight: bold;
  319. height: @best-val-height;
  320. padding-top: 10px;
  321. }
  322. }
  323. .outer.outer-top {
  324. top: -@best-val-height;
  325. .outer-content {
  326. border-bottom-left-radius: 0;
  327. border-bottom-right-radius: 0;
  328. border-bottom: 0;
  329. }
  330. }
  331. .outer.outer-btm {
  332. bottom: -@best-val-height / 2;
  333. .outer-content {
  334. border-top-left-radius: 0;
  335. border-top-right-radius: 0;
  336. border-top: 0;
  337. height: @best-val-height / 2;
  338. }
  339. }
  340. /* highlight rows on hover */
  341. tr:hover {
  342. td {
  343. background-color: @table-hover-bg;
  344. }
  345. }
  346. tr:first-child:hover {
  347. background-color: transparent;
  348. }
  349. tr:last-child:hover {
  350. background-color: transparent;
  351. td {
  352. background-color: transparent;
  353. }
  354. }
  355. /* tooltip */
  356. sup {
  357. color: @brand-secondary;
  358. cursor: pointer;
  359. margin-left: 5px;
  360. }
  361. .tooltip.in {
  362. min-width: 200px;
  363. }
  364. /* Media Queries */
  365. @media (max-width: @screen-sm-max) {
  366. font-size: @font-size-small;
  367. hyphens: auto;
  368. margin-top: @best-val-height*2;
  369. th {
  370. font-size: @font-size-base;
  371. padding-left: @padding-xs;
  372. padding-right: @padding-xs;
  373. }
  374. td:first-child {
  375. padding-left: @padding-xs;
  376. }
  377. tr:last-child {
  378. td {
  379. padding: @padding-xs;
  380. .btn {
  381. word-break: normal;
  382. }
  383. }
  384. }
  385. .best-value {
  386. line-height: 1;
  387. }
  388. .btn {
  389. font-size: @font-size-small;
  390. }
  391. }
  392. }