plans.less 6.6 KB

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