plans.less 6.4 KB

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