plans.less 6.0 KB

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