subscription.less 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382
  1. .form-helper {
  2. display: inline-block;
  3. width: 1.3em;
  4. height: 1.3em;
  5. line-height: 1.3;
  6. vertical-align: initial;
  7. background-color: @gray;
  8. color: #fff;
  9. font-weight: bolder;
  10. border-radius: 50%;
  11. &:hover,
  12. &:focus {
  13. color: #fff;
  14. text-decoration: none;
  15. }
  16. }
  17. .price-breakdown {
  18. text-align: center;
  19. margin-bottom: -10px;
  20. }
  21. .input-feedback-message {
  22. display: none;
  23. font-size: 0.8em;
  24. .has-error & {
  25. display: inline-block;
  26. }
  27. }
  28. .payment-submit {
  29. padding-top: (@line-height-computed / 2);
  30. }
  31. .payment-method-toggle {
  32. margin-bottom: (@line-height-computed / 2);
  33. &-switch {
  34. display: inline-block;
  35. width: 50%;
  36. text-align: center;
  37. border: solid 1px @gray-lighter;
  38. border-radius: @border-radius-large 0 0 @border-radius-large;
  39. padding: (@line-height-computed / 2);
  40. color: @btn-switch-color;
  41. &:hover,
  42. &:focus {
  43. color: @btn-switch-color;
  44. text-decoration: none;
  45. }
  46. &:hover {
  47. color: @btn-switch-hover-color;
  48. }
  49. & + & {
  50. border-left-width: 0;
  51. border-radius: 0 @border-radius-large @border-radius-large 0;
  52. }
  53. &-selected {
  54. color: @link-active-color;
  55. box-shadow: inset 0 -2px 0 0;
  56. &:hover,
  57. &:focus {
  58. color: @link-active-color;
  59. }
  60. }
  61. }
  62. }
  63. .team-invite .message {
  64. margin: 3em 0;
  65. }
  66. .team-invite-name {
  67. word-break: break-word;
  68. }
  69. .capitalised {
  70. text-transform: capitalize;
  71. }
  72. .three-d-secure-container {
  73. > .three-d-secure-recurly-container {
  74. height: 400px;
  75. > div[data-recurly='three-d-secure-container'] {
  76. height: 100%;
  77. }
  78. }
  79. }
  80. .price-switch-header {
  81. margin-bottom: @line-height-computed;
  82. h2 {
  83. margin: 0;
  84. }
  85. .student-disclaimer {
  86. font-size: 14px;
  87. color: @gray;
  88. margin: 12.5px 0 0 0;
  89. }
  90. }
  91. .price-feature-description {
  92. h3 {
  93. margin-top: 0;
  94. }
  95. h4 {
  96. margin-top: 5px;
  97. margin-bottom: 15px;
  98. }
  99. ul {
  100. padding-left: 10px;
  101. }
  102. li {
  103. list-style-position: inside;
  104. }
  105. .number-of-collaborators {
  106. margin-bottom: 5px;
  107. }
  108. }
  109. .price-summary {
  110. padding-bottom: 7.5px;
  111. .price-summary-line {
  112. display: flex;
  113. justify-content: space-between;
  114. .price-summary-line-width {
  115. width: 70%;
  116. }
  117. }
  118. .price-summary-total-line {
  119. margin-top: 5px;
  120. font-size: 16px;
  121. .price-summary-due {
  122. color: @green-50;
  123. }
  124. }
  125. hr {
  126. margin-top: 20px;
  127. margin-bottom: 20px;
  128. }
  129. }
  130. .price-nowrap {
  131. white-space: nowrap;
  132. }
  133. .price-details-spacing {
  134. height: @line-height-computed / 2;
  135. }
  136. .price-cancel-anytime {
  137. font-size: 12px;
  138. }
  139. .trial-coupon-summary {
  140. font-size: 12px;
  141. padding-top: 7.5px;
  142. padding-bottom: 7.5px;
  143. .trial-coupon-summary-list-container {
  144. padding-left: 0;
  145. li {
  146. display: flex;
  147. align-items: center;
  148. font-size: 14px;
  149. justify-content: flex-start;
  150. margin-bottom: 8px;
  151. gap: 12px;
  152. }
  153. }
  154. }
  155. .toggle-address-second-line {
  156. margin-bottom: @line-height-computed / 2;
  157. }
  158. .payment-method-toggle {
  159. border-bottom: 1px solid @hr-border;
  160. }
  161. .change-currency {
  162. margin-top: 5px;
  163. }
  164. .change-currency-toggle {
  165. padding-left: 0px;
  166. font-size: 12px;
  167. text-decoration: underline;
  168. color: @text-small-color;
  169. &:hover,
  170. &:focus {
  171. color: @text-small-color;
  172. }
  173. }
  174. .change-currency-dropdown-selected-icon {
  175. position: absolute;
  176. left: 10px;
  177. }
  178. .recurly-hosted-field-input {
  179. &:extend(.form-control);
  180. }
  181. .back-btn {
  182. padding: 0 10px 2px 12px;
  183. border-radius: 50%;
  184. border: none;
  185. color: @gray-dark;
  186. &:hover {
  187. background-color: @neutral-20;
  188. color: @gray-dark;
  189. }
  190. &:active {
  191. background-color: @gray-lighter;
  192. }
  193. }
  194. .row-link {
  195. line-height: 24px;
  196. color: @neutral-70 !important;
  197. display: flex;
  198. flex-direction: row;
  199. text-decoration: none;
  200. padding: 6px 0;
  201. &.text-muted {
  202. color: @neutral-40 !important;
  203. }
  204. a&:active,
  205. a&:focus,
  206. a&:hover {
  207. text-decoration: none;
  208. outline: none;
  209. background-color: @gray-lightest;
  210. }
  211. .icon {
  212. display: flex;
  213. flex: 1 1 5%;
  214. padding: 0 16px;
  215. margin-top: 16px;
  216. > span {
  217. font-size: 16px;
  218. }
  219. &.arrow {
  220. margin-top: 12px;
  221. > span {
  222. font-size: 24px;
  223. }
  224. }
  225. }
  226. .text {
  227. flex: 1 1 90%;
  228. display: flex;
  229. flex-direction: column;
  230. .text-truncate;
  231. .heading {
  232. font-weight: @btn-font-weight;
  233. .text-truncate;
  234. }
  235. .subtext {
  236. font-weight: 400;
  237. .text-truncate;
  238. }
  239. }
  240. }
  241. .check-icon {
  242. background-color: #ebf6ea;
  243. border-radius: 50%;
  244. color: #5bb553;
  245. height: 20px;
  246. width: 20px;
  247. }
  248. .payment-summary-card {
  249. &:extend(.card-gray);
  250. border-radius: @border-radius-large-new;
  251. h3 {
  252. margin-top: 0;
  253. margin-bottom: @spacing-08;
  254. font-family: @font-family-sans-serif;
  255. font-weight: 600;
  256. color: @content-secondary;
  257. }
  258. }
  259. .pricing-warning-heading {
  260. font-size: @font-size-03;
  261. font-weight: 600;
  262. font-family: @font-family-sans-serif;
  263. margin-top: 0;
  264. color: @content-primary-on-dark-bg;
  265. }
  266. .add-on-card {
  267. display: flex;
  268. align-items: center;
  269. padding: var(--spacing-05);
  270. gap: var(--spacing-05);
  271. border: 1px solid var(--neutral-20);
  272. border-radius: var(--border-radius-base-new);
  273. .add-on-card-icon {
  274. width: 40px;
  275. height: 40px;
  276. }
  277. .add-on-card-content {
  278. display: flex;
  279. flex-direction: column;
  280. .small {
  281. .body-sm;
  282. }
  283. }
  284. .heading {
  285. .body-base;
  286. font-weight: 600;
  287. }
  288. .description {
  289. color: @content-secondary;
  290. }
  291. .highlight {
  292. color: @content-primary;
  293. }
  294. .add-on-options-toggle {
  295. padding: var(--spacing-04);
  296. font-size: 0;
  297. line-height: 1;
  298. border: none;
  299. border-radius: 50%;
  300. &::after {
  301. content: none;
  302. }
  303. }
  304. }
  305. .group-heading {
  306. display: flex;
  307. align-items: center;
  308. gap: var(--spacing-04);
  309. margin-bottom: var(--spacing-06);
  310. .heading {
  311. margin: 0;
  312. }
  313. .back-btn {
  314. display: flex;
  315. align-items: center;
  316. width: 42px;
  317. height: 42px;
  318. text-decoration: none;
  319. }
  320. }