plans.less 9.5 KB

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