plans.less 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580
  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. .small {
  81. color: rgba(255, 255, 255, 0.85);
  82. font-size: @font-size-base * 0.8;
  83. }
  84. .undiscounted-price {
  85. display: block;
  86. margin-top: -48px;
  87. }
  88. }
  89. .circle-lg {
  90. width: 150px;
  91. height: 150px;
  92. padding-top: 50px;
  93. }
  94. .circle-subtext {
  95. font-size: 1rem;
  96. }
  97. .circle-img {
  98. float: right;
  99. }
  100. .faq {
  101. p {
  102. margin: 0;
  103. }
  104. }
  105. .header-with-btn {
  106. line-height: 1.6;
  107. }
  108. .plans-header {
  109. h1,
  110. h2,
  111. p {
  112. text-shadow: 0 -1px 1px white;
  113. }
  114. h1,
  115. h2 {
  116. color: @red;
  117. }
  118. p {
  119. margin-bottom: 0;
  120. }
  121. }
  122. .plans-subheader {
  123. margin-bottom: @line-height-computed;
  124. }
  125. .tagline {
  126. margin-bottom: 20px;
  127. }
  128. ul.nav-pills {
  129. text-align: center;
  130. margin-bottom: @line-height-computed;
  131. display: flex;
  132. justify-content: center;
  133. li {
  134. float: none;
  135. display: inline-block;
  136. position: relative;
  137. .annual-saving-tooltip {
  138. // hide tooltip below group modal, which has 1050 z-index value (from bootstrap .modal class)
  139. // .tooltip (this element) has 1070 default z-index value
  140. z-index: 1040;
  141. white-space: nowrap;
  142. left: 50%;
  143. width: @tooltip-max-width;
  144. margin-left: -(@tooltip-max-width / 2);
  145. &.bottom {
  146. margin-top: 0px;
  147. }
  148. &.annual-selected {
  149. width: 110px;
  150. margin-left: -55px;
  151. .tooltip-inner {
  152. background-color: @ol-green;
  153. }
  154. .tooltip-arrow {
  155. border-bottom-color: @ol-green;
  156. }
  157. }
  158. &.green-background {
  159. .tooltip-inner {
  160. background-color: @ol-green;
  161. }
  162. .tooltip-arrow {
  163. border-bottom-color: @ol-green;
  164. }
  165. }
  166. .tooltip-inner {
  167. max-width: none;
  168. }
  169. }
  170. }
  171. > li + li {
  172. margin-left: @line-height-computed / 2;
  173. }
  174. }
  175. ul.nav-pills.above-cards {
  176. margin-bottom: @line-height-computed * 2;
  177. }
  178. }
  179. #changePlanSection {
  180. padding-top: 30px;
  181. .changePlanButton {
  182. padding-top: 15px;
  183. }
  184. }
  185. .paymentPageFeatures {
  186. h1,
  187. h2,
  188. h3 {
  189. color: @gray-dark;
  190. }
  191. h3 {
  192. font-size: 18px;
  193. &:first-child {
  194. margin-top: 0;
  195. }
  196. }
  197. p {
  198. font-size: 14px;
  199. color: @gray;
  200. }
  201. .small {
  202. font-size: 12px;
  203. }
  204. }
  205. .plansPageStudentLink {
  206. margin-left: 20px;
  207. margin-top: 20px;
  208. }
  209. /**
  210. Plans Test
  211. */
  212. @best-val-height: 35px;
  213. @border-width-base: 3px;
  214. @gray-med: #6d6d6d;
  215. /* Media Queries */
  216. @media (max-width: @screen-sm-max) {
  217. .plans {
  218. .card-group {
  219. /*override style in cards.less */
  220. .card {
  221. margin-left: 0;
  222. margin-right: 0;
  223. }
  224. .card-highlighted {
  225. margin-top: @line-height-computed!important;
  226. }
  227. }
  228. .circle-img {
  229. float: left;
  230. margin: 0 15px;
  231. }
  232. ul.nav-pills {
  233. margin-bottom: @margin-xs;
  234. li {
  235. margin-bottom: @margin-sm;
  236. }
  237. }
  238. }
  239. }
  240. @media (max-width: @screen-xs-max) {
  241. .plans ul.nav-pills {
  242. li {
  243. button {
  244. font-size: @font-size-small;
  245. padding: 8px 10px;
  246. }
  247. }
  248. > li + li {
  249. margin-left: @margin-sm;
  250. }
  251. }
  252. }
  253. @media (min-width: @screen-md-min) {
  254. .plans {
  255. blockquote {
  256. margin-bottom: 0;
  257. }
  258. .faq {
  259. .row:nth-child(2) {
  260. h3 {
  261. margin-top: 0;
  262. }
  263. }
  264. }
  265. .top-switch {
  266. .currency-dropdown {
  267. margin-right: -15px;
  268. }
  269. }
  270. }
  271. }
  272. .student-disclaimer {
  273. font-size: 14px; /* match .paymentPageFeatures p */
  274. color: @gray; /* match .paymentPageFeatures p */
  275. margin: 12.5px 0 0 0;
  276. }
  277. /**
  278. Plans Table
  279. */
  280. .plans-table {
  281. border: 1px solid @gray-lighter;
  282. background-color: @plans-non-highlighted;
  283. margin: @best-val-height 0 15px 0;
  284. table-layout: fixed;
  285. width: 100%;
  286. th,
  287. td {
  288. -moz-background-clip: padding;
  289. -webkit-background-clip: padding;
  290. background-clip: padding-box; /* needed for firefox when there is bg color */
  291. border: 1px solid @gray-lighter;
  292. padding: 6px;
  293. text-align: center;
  294. vertical-align: middle;
  295. }
  296. td {
  297. font-weight: bold;
  298. }
  299. th {
  300. border-top: 0;
  301. font-family: @headings-font-family;
  302. font-size: @font-size-h2;
  303. font-weight: @headings-font-weight;
  304. hyphens: auto;
  305. line-height: @headings-line-height;
  306. padding: 18px;
  307. }
  308. th:first-child,
  309. td:first-child {
  310. border-left: 0;
  311. }
  312. th:last-child,
  313. td:last-child {
  314. border-right: 0;
  315. }
  316. td:first-child {
  317. font-weight: bold;
  318. padding-left: 18px;
  319. text-align: left;
  320. }
  321. tr:first-child {
  322. th {
  323. position: relative;
  324. /* keep here position here, otherwise messes up border on safari */
  325. }
  326. }
  327. tr:last-child {
  328. td {
  329. border-bottom: 0;
  330. padding: 18px;
  331. }
  332. td:first-child {
  333. border: 0;
  334. }
  335. }
  336. .fa-check {
  337. color: @green;
  338. }
  339. /* accessibility fixes */
  340. .small {
  341. color: @gray-med;
  342. }
  343. .outer {
  344. left: -@border-width-base;
  345. right: -@border-width-base;
  346. position: absolute;
  347. .outer-content {
  348. background: white;
  349. border: @border-width-base solid @border-color-base;
  350. border-radius: @border-radius-base;
  351. font-size: @font-size-base;
  352. font-family: @font-family-sans-serif;
  353. font-weight: bold;
  354. height: @best-val-height;
  355. padding-top: 10px;
  356. }
  357. }
  358. .outer.outer-top {
  359. top: -@best-val-height;
  360. .outer-content {
  361. border-bottom-left-radius: 0;
  362. border-bottom-right-radius: 0;
  363. border-bottom: 0;
  364. }
  365. }
  366. .outer.outer-btm {
  367. bottom: -@best-val-height / 2;
  368. .outer-content {
  369. border-top-left-radius: 0;
  370. border-top-right-radius: 0;
  371. border-top: 0;
  372. height: @best-val-height / 2;
  373. }
  374. }
  375. @media (min-width: @screen-sm-min) {
  376. /* highlight rows on hover */
  377. tr:hover {
  378. td {
  379. background-color: @table-hover-bg;
  380. }
  381. }
  382. tr:first-child:hover {
  383. background-color: transparent;
  384. }
  385. tr:last-child:hover {
  386. background-color: transparent;
  387. td {
  388. background-color: transparent;
  389. }
  390. }
  391. }
  392. /* tooltip */
  393. sup {
  394. color: @brand-secondary;
  395. cursor: pointer;
  396. margin-left: 5px;
  397. }
  398. .tooltip.in {
  399. min-width: 200px;
  400. }
  401. /* Media Queries */
  402. @media (max-width: @screen-sm-max) {
  403. font-size: @font-size-small;
  404. hyphens: auto;
  405. margin-top: @best-val-height*2;
  406. th {
  407. font-size: @font-size-base;
  408. padding-left: @padding-xs;
  409. padding-right: @padding-xs;
  410. }
  411. td:first-child {
  412. padding-left: @padding-xs;
  413. }
  414. tr:last-child {
  415. td {
  416. padding: @padding-xs;
  417. .btn {
  418. word-break: normal;
  419. }
  420. }
  421. }
  422. .best-value {
  423. line-height: 1;
  424. }
  425. .btn {
  426. font-size: @font-size-small;
  427. }
  428. }
  429. @media screen and (max-width: @screen-xs-max) {
  430. tbody,
  431. thead {
  432. display: block;
  433. }
  434. tr {
  435. display: flex;
  436. flex-flow: row wrap;
  437. justify-content: space-around;
  438. }
  439. th {
  440. font-size: 12px;
  441. }
  442. /* hide the first column header */
  443. tr:first-child {
  444. th:first-child {
  445. display: none;
  446. }
  447. }
  448. /* make the first column into a row */
  449. td:first-child {
  450. text-align: center;
  451. background: @gray-lightest;
  452. width: 100%;
  453. }
  454. }
  455. }
  456. .plans-table-main {
  457. td:nth-child(4),
  458. th:nth-child(4) {
  459. background-color: white;
  460. border-left: @border-width-base solid @border-color-base;
  461. border-right: @border-width-base solid @border-color-base;
  462. }
  463. tr:last-child {
  464. /* highlighted column */
  465. td:nth-child(4) {
  466. position: relative;
  467. /* keep here position here, otherwise messes up border on safari when there is a bg color */
  468. &:before {
  469. /* needed for safafi */
  470. border-top: 1px solid @border-color-base;
  471. content: '';
  472. left: 0;
  473. position: absolute;
  474. top: -1px;
  475. width: 100%;
  476. }
  477. }
  478. }
  479. @media screen and (max-width: @screen-xs-max) {
  480. td,
  481. th {
  482. display: block;
  483. width: 25%;
  484. }
  485. }
  486. }
  487. .plans-table-student {
  488. td:nth-child(3),
  489. th:nth-child(3) {
  490. background-color: white;
  491. border-left: @border-width-base solid @border-color-base;
  492. border-right: @border-width-base solid @border-color-base;
  493. }
  494. tr:last-child {
  495. /* highlighted column */
  496. td:nth-child(3) {
  497. position: relative;
  498. /* keep here position here, otherwise messes up border on safari when there is a bg color */
  499. &:before {
  500. /* needed for safafi */
  501. border-top: 1px solid @border-color-base;
  502. content: '';
  503. left: 0;
  504. position: absolute;
  505. top: -1px;
  506. width: 100%;
  507. }
  508. }
  509. }
  510. @media screen and (max-width: @screen-xs-max) {
  511. td,
  512. th {
  513. display: block;
  514. width: 33.3%;
  515. }
  516. }
  517. }
  518. .group-subscription-modal {
  519. .modal-header {
  520. text-align: center;
  521. }
  522. .group-plan-option {
  523. display: block;
  524. span {
  525. padding-left: 5px;
  526. font-weight: normal;
  527. }
  528. }
  529. .educational-discount-badge {
  530. height: 50px;
  531. padding-top: 25px;
  532. p {
  533. display: inline-block;
  534. padding-left: 5px;
  535. padding-right: 5px;
  536. font-weight: bold;
  537. font-size: @font-size-small;
  538. }
  539. .applied {
  540. background-color: rgba(@ol-dark-green, 0.1);
  541. color: @ol-dark-green;
  542. }
  543. .ineligible {
  544. background-color: @ol-blue-gray-0;
  545. color: @ol-blue-gray-4;
  546. }
  547. }
  548. }