plans.less 11 KB

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