@transferwise/components 0.0.0-experimental-4568e68 → 0.0.0-experimental-20a9e0c

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (318) hide show
  1. package/build/info/Info.js +7 -13
  2. package/build/info/Info.js.map +1 -1
  3. package/build/info/Info.mjs +7 -13
  4. package/build/info/Info.mjs.map +1 -1
  5. package/build/main.css +16 -25658
  6. package/build/styles/info/Info.css +0 -23
  7. package/build/styles/main.css +16 -25658
  8. package/build/types/info/Info.d.ts.map +1 -1
  9. package/package.json +5 -5
  10. package/src/accordion/Accordion.css +60 -0
  11. package/src/accordion/Accordion.less +3 -3
  12. package/src/actionButton/ActionButton.css +64 -0
  13. package/src/actionButton/ActionButton.less +1 -1
  14. package/src/actionOption/ActionOption.css +4 -0
  15. package/src/alert/Alert.css +7 -0
  16. package/src/avatar/Avatar.css +205 -0
  17. package/src/avatar/Avatar.less +3 -3
  18. package/src/avatarLayout/AvatarLayout.css +42 -0
  19. package/src/avatarView/AvatarView.css +36 -0
  20. package/src/avatarView/NotificationDot.css +20 -0
  21. package/src/badge/Badge.css +65 -0
  22. package/src/badge/Badge.less +1 -1
  23. package/src/button/Button.css +246 -0
  24. package/src/button/Button.vars.css +46 -0
  25. package/src/button/LegacyButton.css +23 -0
  26. package/src/button/LegacyButton.less +1 -1
  27. package/src/card/Card.css +100 -0
  28. package/src/card/Card.less +3 -3
  29. package/src/carousel/Carousel.css +134 -0
  30. package/src/checkboxButton/CheckboxButton.css +43 -0
  31. package/src/checkboxButton/CheckboxButton.less +2 -2
  32. package/src/chips/Chip.css +190 -0
  33. package/src/chips/Chip.less +3 -3
  34. package/src/circularButton/CircularButton.css +33 -0
  35. package/src/common/Option/Option.css +122 -0
  36. package/src/common/Option/Option.less +2 -2
  37. package/src/common/RadioButton/RadioButton.css +4 -0
  38. package/src/common/bottomSheet/BottomSheet.css +53 -0
  39. package/src/common/bottomSheet/BottomSheet.less +1 -1
  40. package/src/common/card/Card.css +49 -0
  41. package/src/common/circle/Circle.css +43 -0
  42. package/src/common/closeButton/CloseButton.css +94 -0
  43. package/src/common/closeButton/CloseButton.less +1 -1
  44. package/src/common/panel/Panel.css +73 -0
  45. package/src/common/panel/Panel.less +1 -1
  46. package/src/criticalBanner/CriticalCommsBanner.css +36 -0
  47. package/src/dateInput/DateInput.css +3 -0
  48. package/src/dateLookup/DateLookup.css +98 -0
  49. package/src/dateLookup/DateLookup.less +1 -1
  50. package/src/dateLookup/dateTrigger/DateTrigger.css +29 -0
  51. package/src/dateLookup/dateTrigger/DateTrigger.less +2 -2
  52. package/src/decision/Decision.css +17 -0
  53. package/src/decision/Decision.less +1 -1
  54. package/src/definitionList/DefinitionList.css +53 -0
  55. package/src/definitionList/DefinitionList.less +1 -1
  56. package/src/dimmer/Dimmer.css +70 -0
  57. package/src/dimmer/Dimmer.less +2 -2
  58. package/src/drawer/Drawer.css +103 -0
  59. package/src/drawer/Drawer.less +2 -2
  60. package/src/dropFade/DropFade.css +19 -0
  61. package/src/emphasis/Emphasis.css +31 -0
  62. package/src/field/Field.css +4 -0
  63. package/src/flowNavigation/FlowNavigation.css +76 -0
  64. package/src/flowNavigation/FlowNavigation.less +1 -1
  65. package/src/flowNavigation/animatedLabel/AnimatedLabel.css +30 -0
  66. package/src/flowNavigation/animatedLabel/AnimatedLabel.less +2 -2
  67. package/src/header/Header.css +26 -0
  68. package/src/iconButton/IconButton.css +82 -0
  69. package/src/image/Image.css +13 -0
  70. package/src/info/Info.css +9 -0
  71. package/src/info/Info.less +1 -29
  72. package/src/info/Info.tsx +8 -14
  73. package/src/inputs/Input.css +101 -0
  74. package/src/inputs/InputGroup.css +63 -0
  75. package/src/inputs/SelectInput.css +372 -0
  76. package/src/inputs/SelectInput.less +1 -1
  77. package/src/inputs/TextArea.css +105 -0
  78. package/src/inputs/_common.less +1 -1
  79. package/src/instructionsList/InstructionsList.css +26 -0
  80. package/src/link/Link.css +15 -0
  81. package/src/link/Link.less +2 -2
  82. package/src/listItem/ListItem.css +6 -0
  83. package/src/listItem/ListItem.story.tsx +4 -9
  84. package/src/loader/Loader.css +313 -0
  85. package/src/logo/Logo.css +26 -0
  86. package/src/main.css +6225 -0
  87. package/src/main.less +0 -2
  88. package/src/modal/Modal.css +158 -0
  89. package/src/moneyInput/MoneyInput.css +66 -0
  90. package/src/moneyInput/MoneyInput.less +2 -2
  91. package/src/navigationOption/NavigationOption.css +69 -0
  92. package/src/navigationOption/NavigationOption.less +3 -3
  93. package/src/navigationOptionsList/NavigationOptionsList.css +13 -0
  94. package/src/navigationOptionsList/NavigationOptionsList.less +1 -1
  95. package/src/nudge/Nudge.css +191 -0
  96. package/src/overlayHeader/OverlayHeader.css +15 -0
  97. package/src/overlayHeader/OverlayHeader.less +1 -1
  98. package/src/phoneNumberInput/PhoneNumberInput.css +23 -0
  99. package/src/phoneNumberInput/PhoneNumberInput.less +1 -1
  100. package/src/popover/Popover.css +43 -0
  101. package/src/popover/Popover.less +1 -1
  102. package/src/progress/Progress.css +43 -0
  103. package/src/progressBar/ProgressBar.css +14 -0
  104. package/src/promoCard/PromoCard.css +186 -0
  105. package/src/section/Section.css +10 -0
  106. package/src/segmentedControl/SegmentedControl.css +101 -0
  107. package/src/select/Select.css +305 -0
  108. package/src/select/Select.less +5 -5
  109. package/src/selectOption/SelectOption.css +44 -0
  110. package/src/selectOption/SelectOption.less +1 -1
  111. package/src/slidingPanel/SlidingPanel.css +105 -0
  112. package/src/slidingPanel/SlidingPanel.less +2 -2
  113. package/src/snackbar/Snackbar.css +93 -0
  114. package/src/snackbar/Snackbar.less +3 -3
  115. package/src/statusIcon/StatusIcon.css +27 -0
  116. package/src/stepper/Stepper.css +84 -0
  117. package/src/stepper/Stepper.less +3 -3
  118. package/src/summary/Summary.css +85 -0
  119. package/src/summary/Summary.less +1 -1
  120. package/src/switch/Switch.css +68 -0
  121. package/src/switch/Switch.less +3 -3
  122. package/src/table/Table.css +274 -0
  123. package/src/table/Table.less +1 -1
  124. package/src/tabs/Tabs.css +121 -0
  125. package/src/tabs/Tabs.less +4 -4
  126. package/src/tile/Tile.css +55 -0
  127. package/src/tile/Tile.less +1 -1
  128. package/src/tooltip/Tooltip.css +50 -0
  129. package/src/tooltip/Tooltip.less +1 -1
  130. package/src/typeahead/Typeahead.css +183 -0
  131. package/src/typeahead/Typeahead.less +2 -2
  132. package/src/typeahead/typeaheadOption/TypeaheadOption.css +9 -0
  133. package/src/typeahead/typeaheadOption/TypeaheadOption.less +1 -1
  134. package/src/upload/Upload.css +31 -0
  135. package/src/upload/Upload.less +1 -1
  136. package/src/uploadInput/UploadInput.css +18 -0
  137. package/src/uploadInput/UploadInput.less +2 -2
  138. package/src/uploadInput/uploadButton/UploadButton.css +90 -0
  139. package/src/uploadInput/uploadItem/UploadItem.css +165 -0
  140. package/src/uploadInput/uploadItem/UploadItem.less +1 -1
  141. package/build/neptune-css/fonts/TW-Averta-Bold.woff +0 -0
  142. package/build/neptune-css/fonts/TW-Averta-Bold.woff2 +0 -0
  143. package/build/neptune-css/fonts/TW-Averta-Regular.woff +0 -0
  144. package/build/neptune-css/fonts/TW-Averta-Regular.woff2 +0 -0
  145. package/build/neptune-css/fonts/TW-Averta-Semibold.woff +0 -0
  146. package/build/neptune-css/fonts/TW-Averta-Semibold.woff2 +0 -0
  147. package/build/neptune-css/fonts/TransferWise-IconFont.svg +0 -81
  148. package/build/neptune-css/fonts/TransferWise-IconFont.woff +0 -0
  149. package/build/neptune-css/fonts/WiseSans-Heavy.woff2 +0 -0
  150. package/build/neptune-css/fonts/inter-cyrillic-ext-variable-wghtOnly-normal.woff2 +0 -0
  151. package/build/neptune-css/fonts/inter-cyrillic-variable-wghtOnly-normal.woff2 +0 -0
  152. package/build/neptune-css/fonts/inter-greek-ext-variable-wghtOnly-normal.woff2 +0 -0
  153. package/build/neptune-css/fonts/inter-greek-variable-wghtOnly-normal.woff2 +0 -0
  154. package/build/neptune-css/fonts/inter-latin-ext-variable-wghtOnly-normal.woff2 +0 -0
  155. package/build/neptune-css/fonts/inter-latin-variable-wghtOnly-normal.woff2 +0 -0
  156. package/build/neptune-css/fonts/inter-vietnamese-variable-wghtOnly-normal.woff2 +0 -0
  157. package/build/neptune-css/img/bg-dark.svg +0 -31
  158. package/build/neptune-css/img/bg-light.svg +0 -26
  159. package/build/styles/neptune-css/less/accordion.css +0 -231
  160. package/build/styles/neptune-css/less/alerts.css +0 -748
  161. package/build/styles/neptune-css/less/background.css +0 -18
  162. package/build/styles/neptune-css/less/badge.css +0 -90
  163. package/build/styles/neptune-css/less/border-radius.css +0 -3
  164. package/build/styles/neptune-css/less/breadcrumbs.css +0 -20
  165. package/build/styles/neptune-css/less/button-groups.css +0 -408
  166. package/build/styles/neptune-css/less/buttons.css +0 -1387
  167. package/build/styles/neptune-css/less/chevron.css +0 -35
  168. package/build/styles/neptune-css/less/circles.css +0 -248
  169. package/build/styles/neptune-css/less/close.css +0 -47
  170. package/build/styles/neptune-css/less/column-layout.css +0 -164
  171. package/build/styles/neptune-css/less/core/viewport-themes.css +0 -59
  172. package/build/styles/neptune-css/less/currency-flags.css +0 -46
  173. package/build/styles/neptune-css/less/decision.css +0 -91
  174. package/build/styles/neptune-css/less/dropdowns.css +0 -400
  175. package/build/styles/neptune-css/less/droppable.css +0 -177
  176. package/build/styles/neptune-css/less/flex.css +0 -598
  177. package/build/styles/neptune-css/less/footer.css +0 -110
  178. package/build/styles/neptune-css/less/forms/bootstrap-forms.css +0 -1975
  179. package/build/styles/neptune-css/less/forms/checkbox-radio.css +0 -367
  180. package/build/styles/neptune-css/less/grid.css +0 -2369
  181. package/build/styles/neptune-css/less/input-groups.css +0 -2706
  182. package/build/styles/neptune-css/less/link-callout.css +0 -20
  183. package/build/styles/neptune-css/less/list-group.css +0 -267
  184. package/build/styles/neptune-css/less/loaders.css +0 -76
  185. package/build/styles/neptune-css/less/media.css +0 -74
  186. package/build/styles/neptune-css/less/modals.css +0 -185
  187. package/build/styles/neptune-css/less/navbar.css +0 -2382
  188. package/build/styles/neptune-css/less/navs.css +0 -296
  189. package/build/styles/neptune-css/less/neptune-addons.css +0 -1829
  190. package/build/styles/neptune-css/less/neptune-core.css +0 -1971
  191. package/build/styles/neptune-css/less/neptune-social-media.css +0 -144
  192. package/build/styles/neptune-css/less/neptune.css +0 -24468
  193. package/build/styles/neptune-css/less/panels.css +0 -528
  194. package/build/styles/neptune-css/less/popovers.css +0 -530
  195. package/build/styles/neptune-css/less/process.css +0 -483
  196. package/build/styles/neptune-css/less/progress-bars.css +0 -64
  197. package/build/styles/neptune-css/less/ring.css +0 -55
  198. package/build/styles/neptune-css/less/select.css +0 -99
  199. package/build/styles/neptune-css/less/sequences.css +0 -855
  200. package/build/styles/neptune-css/less/table.css +0 -446
  201. package/build/styles/neptune-css/less/tick.css +0 -32
  202. package/build/styles/neptune-css/less/tooltip.css +0 -138
  203. package/build/styles/neptune-css/less/utilities.css +0 -145
  204. package/build/styles/neptune-css/less/wells.css +0 -74
  205. package/build/styles/neptune-css/props/custom-media.css +0 -11
  206. package/build/styles/neptune-css/props/legacy-custom-props.css +0 -69
  207. package/build/styles/neptune-css/props/neptune-tokens.css +0 -11
  208. package/build/styles/neptune-css/variables/legacy-variables.css +0 -0
  209. package/build/styles/neptune-css/variables/neptune-tokens.css +0 -0
  210. package/build/styles/neptune-css/variables/zindex.css +0 -0
  211. package/src/neptune-css/fonts/TW-Averta-Bold.woff +0 -0
  212. package/src/neptune-css/fonts/TW-Averta-Bold.woff2 +0 -0
  213. package/src/neptune-css/fonts/TW-Averta-Regular.woff +0 -0
  214. package/src/neptune-css/fonts/TW-Averta-Regular.woff2 +0 -0
  215. package/src/neptune-css/fonts/TW-Averta-Semibold.woff +0 -0
  216. package/src/neptune-css/fonts/TW-Averta-Semibold.woff2 +0 -0
  217. package/src/neptune-css/fonts/TransferWise-IconFont.svg +0 -81
  218. package/src/neptune-css/fonts/TransferWise-IconFont.woff +0 -0
  219. package/src/neptune-css/fonts/WiseSans-Heavy.woff2 +0 -0
  220. package/src/neptune-css/fonts/inter-cyrillic-ext-variable-wghtOnly-normal.woff2 +0 -0
  221. package/src/neptune-css/fonts/inter-cyrillic-variable-wghtOnly-normal.woff2 +0 -0
  222. package/src/neptune-css/fonts/inter-greek-ext-variable-wghtOnly-normal.woff2 +0 -0
  223. package/src/neptune-css/fonts/inter-greek-variable-wghtOnly-normal.woff2 +0 -0
  224. package/src/neptune-css/fonts/inter-latin-ext-variable-wghtOnly-normal.woff2 +0 -0
  225. package/src/neptune-css/fonts/inter-latin-variable-wghtOnly-normal.woff2 +0 -0
  226. package/src/neptune-css/fonts/inter-vietnamese-variable-wghtOnly-normal.woff2 +0 -0
  227. package/src/neptune-css/img/bg-dark.svg +0 -31
  228. package/src/neptune-css/img/bg-light.svg +0 -26
  229. package/src/neptune-css/less/accordion.less +0 -15
  230. package/src/neptune-css/less/addons/_background-utilities.less +0 -82
  231. package/src/neptune-css/less/addons/_border.less +0 -3
  232. package/src/neptune-css/less/addons/_display-utilities.less +0 -159
  233. package/src/neptune-css/less/addons/_spacing-utilities.less +0 -48
  234. package/src/neptune-css/less/addons/_utilities.less +0 -147
  235. package/src/neptune-css/less/alerts.less +0 -248
  236. package/src/neptune-css/less/background.less +0 -24
  237. package/src/neptune-css/less/badge.less +0 -85
  238. package/src/neptune-css/less/border-radius.less +0 -3
  239. package/src/neptune-css/less/breadcrumbs.less +0 -27
  240. package/src/neptune-css/less/button-groups.less +0 -424
  241. package/src/neptune-css/less/buttons.less +0 -731
  242. package/src/neptune-css/less/chevron.less +0 -39
  243. package/src/neptune-css/less/circles.less +0 -233
  244. package/src/neptune-css/less/close.less +0 -48
  245. package/src/neptune-css/less/column-layout.less +0 -167
  246. package/src/neptune-css/less/components/_component-animations.less +0 -43
  247. package/src/neptune-css/less/core/_fonts.less +0 -97
  248. package/src/neptune-css/less/core/_scaffolding.less +0 -373
  249. package/src/neptune-css/less/core/_typography-utilities.less +0 -251
  250. package/src/neptune-css/less/core/_typography.less +0 -597
  251. package/src/neptune-css/less/core/viewport-themes.less +0 -65
  252. package/src/neptune-css/less/currency-flags.less +0 -42
  253. package/src/neptune-css/less/decision.less +0 -98
  254. package/src/neptune-css/less/dropdowns.less +0 -365
  255. package/src/neptune-css/less/droppable.less +0 -213
  256. package/src/neptune-css/less/flex.less +0 -113
  257. package/src/neptune-css/less/footer.less +0 -113
  258. package/src/neptune-css/less/forms/bootstrap-forms.less +0 -1218
  259. package/src/neptune-css/less/forms/checkbox-radio.less +0 -330
  260. package/src/neptune-css/less/grid.less +0 -187
  261. package/src/neptune-css/less/input-groups.less +0 -298
  262. package/src/neptune-css/less/link-callout.less +0 -17
  263. package/src/neptune-css/less/list-group.less +0 -260
  264. package/src/neptune-css/less/loaders.less +0 -91
  265. package/src/neptune-css/less/media.less +0 -68
  266. package/src/neptune-css/less/mixins/_alerts.less +0 -35
  267. package/src/neptune-css/less/mixins/_arrows.less +0 -52
  268. package/src/neptune-css/less/mixins/_border-radius.less +0 -11
  269. package/src/neptune-css/less/mixins/_buttons.less +0 -82
  270. package/src/neptune-css/less/mixins/_center-block.less +0 -7
  271. package/src/neptune-css/less/mixins/_clearfix.less +0 -23
  272. package/src/neptune-css/less/mixins/_flex.less +0 -105
  273. package/src/neptune-css/less/mixins/_forms.less +0 -130
  274. package/src/neptune-css/less/mixins/_grid-framework.less +0 -104
  275. package/src/neptune-css/less/mixins/_grid.less +0 -158
  276. package/src/neptune-css/less/mixins/_hide-text.less +0 -20
  277. package/src/neptune-css/less/mixins/_links.less +0 -7
  278. package/src/neptune-css/less/mixins/_list-group.less +0 -23
  279. package/src/neptune-css/less/mixins/_logical-properties-IE-friendly.less +0 -381
  280. package/src/neptune-css/less/mixins/_logical-properties-modern-browsers.less +0 -226
  281. package/src/neptune-css/less/mixins/_logical-properties.less +0 -5
  282. package/src/neptune-css/less/mixins/_nav-divider.less +0 -10
  283. package/src/neptune-css/less/mixins/_nav-vertical-align.less +0 -10
  284. package/src/neptune-css/less/mixins/_panels.less +0 -23
  285. package/src/neptune-css/less/mixins/_physical-properties.less +0 -110
  286. package/src/neptune-css/less/mixins/_reset-text.less +0 -22
  287. package/src/neptune-css/less/mixins/_sequence.less +0 -203
  288. package/src/neptune-css/less/mixins/_spacing.less +0 -122
  289. package/src/neptune-css/less/mixins/_tab-focus.less +0 -5
  290. package/src/neptune-css/less/mixins/_table-row.less +0 -47
  291. package/src/neptune-css/less/mixins/_text-emphasis.less +0 -39
  292. package/src/neptune-css/less/mixins/_text-overflow.less +0 -8
  293. package/src/neptune-css/less/mixins/_theming.less +0 -7
  294. package/src/neptune-css/less/modals.less +0 -239
  295. package/src/neptune-css/less/navbar.less +0 -1442
  296. package/src/neptune-css/less/navs.less +0 -339
  297. package/src/neptune-css/less/neptune-addons.less +0 -4
  298. package/src/neptune-css/less/neptune-core.less +0 -4
  299. package/src/neptune-css/less/neptune-social-media.less +0 -84
  300. package/src/neptune-css/less/neptune.bundle.less +0 -57
  301. package/src/neptune-css/less/panels.less +0 -410
  302. package/src/neptune-css/less/popovers.less +0 -379
  303. package/src/neptune-css/less/process.less +0 -426
  304. package/src/neptune-css/less/progress-bars.less +0 -55
  305. package/src/neptune-css/less/ring.less +0 -51
  306. package/src/neptune-css/less/select.less +0 -88
  307. package/src/neptune-css/less/sequences.less +0 -511
  308. package/src/neptune-css/less/table.less +0 -385
  309. package/src/neptune-css/less/tick.less +0 -37
  310. package/src/neptune-css/less/tooltip.less +0 -130
  311. package/src/neptune-css/less/utilities.less +0 -153
  312. package/src/neptune-css/less/wells.less +0 -37
  313. package/src/neptune-css/props/custom-media.css +0 -11
  314. package/src/neptune-css/props/legacy-custom-props.css +0 -69
  315. package/src/neptune-css/props/neptune-tokens.css +0 -11
  316. package/src/neptune-css/variables/legacy-variables.less +0 -1299
  317. package/src/neptune-css/variables/neptune-tokens.less +0 -12
  318. package/src/neptune-css/variables/zindex.less +0 -17
@@ -1,373 +0,0 @@
1
- /* stylelint-disable selector-max-empty-lines */
2
-
3
- @import "modern-normalize";
4
- @import (reference) "../../variables/neptune-tokens.less";
5
- @import (reference) "../mixins/_logical-properties.less";
6
- @import (reference) "../mixins/_links.less";
7
- @import (reference) "../core/_typography.less";
8
- @import "../../variables/legacy-variables.less";
9
-
10
- :root {
11
- // page default font size should be set in absolute units (pixels)
12
- --base-font-size: 16px;
13
- --font-family-regular: "Inter", Helvetica, Arial, sans-serif;
14
- --input-group-addon-padding: @padding-large-vertical @padding-base-horizontal calc(@padding-large-vertical - 2px);
15
- --btn-padding: @btn-padding-vertical @btn-padding-horizontal calc(@btn-padding-vertical - 2px);
16
- --btn-xs-padding: @btn-xs-padding-vertical @btn-xs-padding-horizontal calc(@btn-xs-padding-vertical - 2px);
17
- --btn-sm-padding: @btn-sm-padding-vertical @btn-sm-padding-horizontal calc(@btn-sm-padding-vertical - 2px);
18
- --btn-lg-padding: @btn-lg-padding-vertical @btn-lg-padding-horizontal calc(@btn-lg-padding-vertical - 2px);
19
- --input-padding: @padding-large-vertical @padding-base-horizontal calc(@padding-large-vertical - 2px);
20
- --input-padding-small: @padding-small-vertical @padding-small-horizontal calc(@padding-small-vertical - 2px);
21
- --input-padding-large: @padding-large-vertical @padding-large-horizontal calc(@padding-large-vertical - 2px);
22
- --input-group-addon-sm-padding: calc(@padding-small-vertical - 1px) @padding-small-horizontal;
23
- --input-group-addon-lg-padding: @padding-large-vertical @padding-large-horizontal calc(@padding-large-vertical - 2px);
24
- --dropdown-link-padding: calc(@padding-large-vertical + 1px) @padding-large-horizontal calc(@padding-large-vertical - 1px);
25
- --btn-radius-base: @border-radius-base;
26
- --btn-sm-radius-base: @border-radius-small;
27
- --btn-lg-radius-base: @border-radius-large;
28
- }
29
-
30
- .np-theme-light,
31
- .np-theme-dark,
32
- .np-theme-navy {
33
- --font-family-regular: averta, avenir w02, avenir, helvetica, arial, sans-serif !important;
34
-
35
- font-family: var(--font-family-regular);
36
- line-height: var(--line-height-body);
37
- }
38
-
39
- .np-theme-personal {
40
- --font-family-regular: "Inter", Helvetica, Arial, sans-serif !important;
41
-
42
- font-family: var(--font-family-regular);
43
- font-feature-settings: "calt";
44
-
45
- --input-group-addon-padding: @padding-large-vertical @padding-base-horizontal;
46
- --btn-padding: calc(@btn-padding-vertical - @btn-border-width) @btn-padding-horizontal;
47
- --btn-xs-padding: calc(@btn-xs-padding-vertical - @btn-border-width) @btn-xs-padding-horizontal;
48
- --btn-sm-padding: calc(@btn-sm-padding-vertical - @btn-border-width) @btn-sm-padding-horizontal;
49
- --btn-lg-padding: calc(@btn-lg-padding-vertical - @btn-border-width) @btn-lg-padding-horizontal;
50
- --btn-height: @btn-height;
51
- --btn-xs-height: @btn-xs-height;
52
- --btn-sm-height: @btn-sm-height;
53
- --btn-lg-height: @btn-lg-height;
54
- --input-height-base: @input-height-base;
55
- --input-height-large: @input-height-large;
56
- --input-height-small: @input-height-small;
57
- --input-padding: @padding-large-vertical @padding-base-horizontal;
58
- --input-padding-small: @padding-small-vertical @padding-small-horizontal;
59
- --input-padding-large: @padding-large-vertical @padding-large-horizontal;
60
- --input-group-addon-sm-padding: @padding-small-vertical @padding-small-horizontal;
61
- --input-group-addon-lg-padding: @padding-large-vertical @padding-large-horizontal;
62
- --dropdown-link-padding: @padding-large-vertical @padding-large-horizontal;
63
- --btn-radius-base: 9999px;
64
- --btn-sm-radius-base: var(--btn-radius-base);
65
- --btn-lg-radius-base: var(--btn-radius-base);
66
-
67
- color: var(--color-content-secondary);
68
- background-color: var(--color-background-screen);
69
- }
70
-
71
- html {
72
- font-size: var(--base-font-size);
73
- font-family: var(--font-family-regular);
74
- color: var(--color-content-secondary);
75
- background-color: var(--color-background-screen);
76
- -webkit-font-smoothing: antialiased;
77
- -moz-osx-font-smoothing: grayscale;
78
- }
79
-
80
- blockquote,
81
- dl,
82
- dd,
83
- hr,
84
- figure,
85
- p,
86
- pre {
87
- margin: 0;
88
- }
89
-
90
- .np-theme-personal::selection {
91
- background-color: var(--color-background-neutral-active);
92
- color: var(--color-content-primary);
93
- }
94
-
95
- /* DEPRECATED: use `a` tag or .np-text-link-* instead */
96
- /* stylelint-disable-next-line selector-list-comma-newline-after */
97
- .anchor,
98
- a,
99
- .np-text-link-default,
100
- .np-text-link-large {
101
- color: var(--color-content-link);
102
-
103
- // @DEPRECATED: .bg-primary use .bg-elevated or ThemeProvider with theme="forest-green" instead
104
- .bg-primary & {
105
- color: @color-navy-content-accent;
106
-
107
- &:hover,
108
- &:focus {
109
- color: @color-navy-content-accent-hover;
110
- }
111
-
112
- &:active {
113
- color: @color-navy-content-accent-active;
114
- }
115
- }
116
-
117
- &:hover,
118
- &:focus {
119
- color: var(--color-content-link-hover);
120
- text-decoration: underline;
121
- }
122
-
123
- &:active {
124
- color: var(--color-content-link-active);
125
- }
126
-
127
- &.secondary {
128
- color: var(--color-content-secondary);
129
-
130
- &:hover,
131
- &:focus {
132
- color: var(--color-content-accent-hover);
133
- }
134
-
135
- &:active {
136
- color: var(--color-content-accent-active);
137
- }
138
- }
139
- }
140
-
141
- html.ios-click {
142
- cursor: pointer;
143
- }
144
-
145
- fieldset {
146
- margin: 0;
147
- padding: 0;
148
- }
149
-
150
- button,
151
- input,
152
- optgroup,
153
- select,
154
- textarea {
155
- padding: 0;
156
- color: inherit;
157
- font-size: inherit;
158
- line-height: inherit;
159
- }
160
-
161
- button,
162
- [type="button"],
163
- [type="reset"],
164
- [type="submit"] {
165
- cursor: pointer;
166
- }
167
-
168
- // iOS "clickable elements" fix for role="button"
169
- // see https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile
170
-
171
- [role="button"] {
172
- cursor: pointer;
173
- }
174
-
175
- textarea {
176
- resize: vertical;
177
- }
178
-
179
- input,
180
- textarea {
181
- // stylelint-disable-next-line selector-pseudo-class-no-unknown
182
- &:input-placeholder,
183
- &::placeholder {
184
- color: var(--color-content-tertiary);
185
- }
186
- }
187
-
188
- ol,
189
- ul {
190
- margin: 0 0 var(--size-24);
191
- .padding-shorthand(0, 0, 0, calc(var(--size-48) - var(--size-10)));
192
-
193
- ol,
194
- ul {
195
- margin-bottom: 0;
196
- }
197
- }
198
-
199
- .list-unstyled {
200
- .padding(left, 0);
201
-
202
- list-style: none;
203
- }
204
-
205
- .list-inline {
206
- .margin(left, calc(var(--size-4) * -1));
207
-
208
- .padding(left, 0);
209
-
210
- list-style: none;
211
-
212
- > li {
213
- display: inline-block;
214
- .padding(right, var(--size-8));
215
-
216
- .padding(left, var(--size-4));
217
-
218
- .border(right, 1px, solid, var(--color-border-neutral));
219
-
220
- &:last-child {
221
- .border(right, 0);
222
- }
223
- }
224
- }
225
-
226
- dt,
227
- dd {
228
- line-height: var(--line-height-body);
229
- }
230
-
231
- dt {
232
- font-size: var(--font-size-14);
233
- }
234
-
235
- dd {
236
- margin-bottom: var(--size-16);
237
- color: var(--color-content-primary);
238
-
239
- @media (--screen-sm) {
240
- margin-bottom: var(--size-24);
241
- }
242
- }
243
-
244
- /* Deprecated - use the Neptune Web DefinitionList component */
245
- .dl-horizontal {
246
- dd {
247
- &::before,
248
- &::after {
249
- display: table;
250
- content: " ";
251
- }
252
-
253
- &::after {
254
- clear: both;
255
- }
256
- }
257
-
258
- @media (--screen-sm) {
259
- dt {
260
- .float(left);
261
- .clear(left);
262
-
263
- width: 156px;
264
- overflow: hidden;
265
- white-space: nowrap;
266
- .text-align(left);
267
-
268
- text-overflow: ellipsis;
269
- }
270
-
271
- dd {
272
- margin-bottom: var(--size-8);
273
- .margin(left, 180px);
274
- }
275
- }
276
- }
277
-
278
- /* Deprecated - use the Neptune Web DefinitionList component */
279
- .dl-horizontal-item {
280
- display: flex;
281
- flex-wrap: nowrap;
282
-
283
- dt {
284
- flex: 1 2 auto;
285
- }
286
-
287
- dd {
288
- flex: 1 1 auto;
289
- .text-align(right);
290
-
291
- word-break: break-all;
292
- }
293
- }
294
-
295
- hr {
296
- margin: var(--size-16) auto;
297
- border: 0;
298
- border-top: 1px solid var(--color-border-neutral);
299
-
300
- // @DEPRECATED: .bg-primary use .bg-elevated or ThemeProvider with theme="forest-green" instead
301
- .bg-primary & {
302
- border-top: 1px solid @color-navy-border-neutral;
303
- }
304
-
305
- @media (--screen-sm) {
306
- margin: var(--size-24) auto;
307
- }
308
-
309
- @media (--screen-lg) {
310
- margin: var(--size-32) auto;
311
- }
312
- }
313
-
314
- table {
315
- border-collapse: collapse;
316
- border-spacing: 0;
317
- }
318
-
319
- video,
320
- canvas,
321
- audio,
322
- iframe,
323
- embed,
324
- object {
325
- display: block;
326
- }
327
-
328
- img,
329
- video {
330
- max-width: 100%;
331
- height: auto;
332
- vertical-align: middle;
333
- }
334
-
335
- .img-rounded {
336
- border-radius: var(--radius-small);
337
- }
338
-
339
- .img-circle {
340
- border-radius: 50%;
341
- }
342
-
343
- .disabled,
344
- :disabled {
345
- filter: grayscale(1);
346
- opacity: 0.45;
347
- cursor: not-allowed !important;
348
- }
349
-
350
- // Only display content to screen readers
351
- .sr-only {
352
- position: absolute;
353
- width: 1px;
354
- height: 1px;
355
- margin: -1px;
356
- padding: 0;
357
- overflow: hidden;
358
- border: 0;
359
- clip: rect(0, 0, 0, 0);
360
- }
361
-
362
- // Use in conjunction with `.sr-only` to only display content when it's focused.
363
- .sr-only-focusable {
364
- &:active,
365
- &:focus {
366
- position: static;
367
- width: auto;
368
- height: auto;
369
- margin: 0;
370
- overflow: visible;
371
- clip: auto;
372
- }
373
- }
@@ -1,251 +0,0 @@
1
- @import (reference) "../../variables/neptune-tokens.less";
2
- @import (reference) "../mixins/_logical-properties.less";
3
- @import (reference) "../mixins/_links.less";
4
- @import "../mixins/_text-emphasis.less";
5
-
6
- // Deprecated classes in next iterations.
7
-
8
- //.text-danger (Replaced by .text-negative)
9
- //.text-success( Replaced by .text-positive)
10
-
11
- .text-xs-left {
12
- .text-align(left);
13
- }
14
-
15
- .text-xs-right {
16
- .text-align(right);
17
- }
18
-
19
- .text-xs-center {
20
- text-align: center;
21
- }
22
-
23
- .text-xs-justify {
24
- text-align: justify;
25
- }
26
-
27
- .text-xs-nowrap {
28
- white-space: nowrap;
29
- }
30
-
31
- @media (--screen-sm) {
32
- .text-sm-left {
33
- .text-align(left);
34
- }
35
-
36
- .text-sm-right {
37
- .text-align(right);
38
- }
39
-
40
- .text-sm-center {
41
- text-align: center;
42
- }
43
-
44
- .text-sm-justify {
45
- text-align: justify;
46
- }
47
-
48
- .text-sm-nowrap {
49
- white-space: nowrap;
50
- }
51
- }
52
-
53
- @media (--screen-md) {
54
- .text-md-left {
55
- .text-align(left);
56
- }
57
-
58
- .text-md-right {
59
- .text-align(right);
60
- }
61
-
62
- .text-md-center {
63
- text-align: center;
64
- }
65
-
66
- .text-md-justify {
67
- text-align: justify;
68
- }
69
-
70
- .text-md-nowrap {
71
- white-space: nowrap;
72
- }
73
- }
74
-
75
- @media (--screen-lg) {
76
- .text-lg-left {
77
- .text-align(left);
78
- }
79
-
80
- .text-lg-right {
81
- .text-align(right);
82
- }
83
-
84
- .text-lg-center {
85
- text-align: center;
86
- }
87
-
88
- .text-lg-justify {
89
- text-align: justify;
90
- }
91
-
92
- .text-lg-nowrap {
93
- white-space: nowrap;
94
- }
95
- }
96
-
97
- @media (--screen-xl) {
98
- .text-xl-left {
99
- .text-align(left);
100
- }
101
-
102
- .text-xl-right {
103
- .text-align(right);
104
- }
105
-
106
- .text-xl-center {
107
- text-align: center;
108
- }
109
-
110
- .text-xl-justify {
111
- text-align: justify;
112
- }
113
-
114
- .text-xl-nowrap {
115
- white-space: nowrap;
116
- }
117
- }
118
-
119
- .text-lowercase {
120
- text-transform: lowercase;
121
- }
122
-
123
- .text-uppercase {
124
- text-transform: uppercase;
125
- }
126
-
127
- .text-capitalize {
128
- text-transform: capitalize;
129
- }
130
-
131
- .text-underline {
132
- .link-underline(true);
133
- }
134
-
135
- .text-no-decoration {
136
- text-decoration: none !important;
137
- }
138
-
139
- .text-ellipsis,
140
- .text-ellipses {
141
- display: block;
142
- text-overflow: ellipsis;
143
- white-space: nowrap;
144
- overflow: hidden;
145
- }
146
-
147
- .text-max-width {
148
- max-width: 600px;
149
- }
150
-
151
- .text-word-break {
152
- word-break: break-all;
153
- }
154
-
155
- .font-weight-bold {
156
- font-weight: var(--font-weight-bold) !important;
157
- }
158
-
159
- .font-weight-semi-bold {
160
- font-weight: var(--font-weight-semi-bold) !important;
161
- }
162
-
163
- .font-weight-normal {
164
- font-weight: var(--font-weight-regular) !important;
165
- }
166
-
167
- .font-italic {
168
- font-style: italic !important;
169
- }
170
-
171
- // Contextual colors `.text-*`
172
-
173
- .text-primary {
174
- .text-emphasis-variant(var(--color-content-primary), var(--color-content-primary), var(--color-content-primary));
175
-
176
- // @DEPRECATED: .bg-primary use .bg-elevated or ThemeProvider with theme="forest-green" instead
177
- .bg-primary & {
178
- color: @color-navy-content-primary !important;
179
- }
180
- }
181
-
182
- .text-secondary {
183
- color: var(--color-content-secondary) !important;
184
- }
185
-
186
- .text-positive,
187
- .text-success {
188
- .text-emphasis-variant(
189
- var(--color-content-positive),
190
- var(--color-content-positive),
191
- var(--color-content-positive-hover)
192
- );
193
-
194
- // @DEPRECATED: .bg-primary use .bg-elevated or ThemeProvider with theme="forest-green" instead
195
- .bg-primary & {
196
- color: @color-navy-content-positive !important;
197
- }
198
- }
199
-
200
- .text-accent,
201
- .text-info {
202
- .text-emphasis-variant(var(--color-content-accent), var(--color-content-accent), var(--color-content-accent-hover));
203
- color: var(--color-interactive-primary) !important;
204
-
205
- // @DEPRECATED: .bg-primary use .bg-elevated or ThemeProvider with theme="forest-green" instead
206
- .bg-primary & {
207
- color: @color-navy-content-accent !important;
208
- }
209
- }
210
-
211
- .text-warning {
212
- .text-emphasis-variant(
213
- var(--color-content-warning),
214
- var(--color-content-warning),
215
- var(--color-content-warning-hover),
216
- );
217
-
218
- // @DEPRECATED: .bg-primary use .bg-elevated or ThemeProvider with theme="forest-green" instead
219
- .bg-primary & {
220
- color: @color-navy-content-warning !important;
221
- }
222
- }
223
-
224
- .text-negative,
225
- .text-danger {
226
- .text-emphasis-variant(
227
- var(--color-sentiment-negative),
228
- var(--color-sentiment-negative),
229
- var(--color-sentiment-negative-hover)
230
- );
231
-
232
- // @DEPRECATED: .bg-primary use .bg-elevated or ThemeProvider with theme="forest-green" instead
233
- .bg-primary & {
234
- color: @color-navy-content-negative !important;
235
- }
236
- }
237
-
238
- .text-inverse {
239
- .text-emphasis-variant(@color-navy-content-primary, @color-navy-content-primary, @color-navy-content-secondary);
240
- }
241
-
242
- .text-muted {
243
- color: var(--color-content-tertiary) !important;
244
- }
245
-
246
- // @deprecated: we no longer have "colored dot" design feature in new brand
247
- .colored-dot {
248
- &::after {
249
- content: none;
250
- }
251
- }