plans.less 5.9 KB

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