plans.less 6.7 KB

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