plans.less 11 KB

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