@transferwise/neptune-css 14.6.1 → 14.7.0

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.
@@ -1 +1 @@
1
- .process{display:block;margin:auto;position:relative}.process svg{height:100%;width:100%}.process-circle{stroke:#0097c7;stroke:var(--color-content-accent);stroke-opacity:1;stroke-linecap:round;animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:ease-out;transform-origin:center center;transition:stroke 1s linear .2s}.np-theme-personal .process-circle{stroke:#37517e;stroke:var(--color-content-primary)}.np-theme-personal--bright-green .process-circle,.np-theme-personal--dark .process-circle,.np-theme-personal--forest-green .process-circle{stroke:var(--color-interactive-primary)}.process-inverse .process-circle{stroke:#fff;stroke:var(--color-background-screen)}.process-icon-container{display:inline-block;height:50%;left:25%;position:absolute;top:25%;transform:rotate(45deg);width:50%}.process-icon-horizontal,.process-icon-vertical{display:block;height:0;position:absolute;width:0}.process-success .process-icon-horizontal{background-color:#008026;background-color:var(--color-content-positive);bottom:0;left:0}.np-theme-personal .process-success .process-icon-horizontal{background-color:var(--color-sentiment-positive)}.process-success .process-icon-vertical{background-color:#008026;background-color:var(--color-content-positive);right:0;top:100%}.np-theme-personal .process-success .process-icon-vertical{background-color:var(--color-sentiment-positive)}.process-success .process-circle{stroke:#008026;stroke:var(--color-content-positive)}.np-theme-personal .process-success .process-circle{stroke:var(--color-sentiment-positive)}.process-danger .process-icon-horizontal{background-color:#cf2929;background-color:var(--color-content-negative);left:0}.np-theme-personal .process-danger .process-icon-horizontal{background-color:var(--color-sentiment-negative)}.process-danger .process-icon-vertical{background-color:#cf2929;background-color:var(--color-content-negative);top:0}.np-theme-personal .process-danger .process-icon-vertical{background-color:var(--color-sentiment-negative)}.process-danger .process-circle{stroke:#cf2929;stroke:var(--color-content-negative)}.np-theme-personal .process-danger .process-circle{stroke:var(--color-sentiment-negative)}.process-danger .process-circle,.process-success .process-circle{animation-delay:1ms;animation-duration:1.5s;animation-fill-mode:forwards;animation-iteration-count:1;animation-timing-function:ease-out}.process-danger .process-icon-horizontal,.process-success .process-icon-horizontal{animation:process-width .3s ease 1.2s forwards}.process-danger .process-icon-vertical,.process-success .process-icon-vertical{animation:process-height .3s ease 1.5s forwards}.process-stopped .process-circle{animation:none}.process-stopped .process-icon-container{display:none}.process-xs{height:24px;width:24px}.process-xs .process-circle{stroke-dashoffset:69.11503838px;stroke-dasharray:69.11503838px;stroke-width:2px}.process-xs.process-danger .process-icon-horizontal{height:2px;top:5px}.process-xs.process-danger .process-icon-vertical{left:5px;width:2px}.process-xs .process-icon-horizontal,.process-xs .process-icon-vertical{border-radius:1px}.process-xs.process-success .process-icon-container{height:10px;left:9px;width:5px}.process-xs.process-success .process-icon-horizontal{height:2px}.process-xs.process-success .process-icon-vertical{width:2px}.process-sm{height:48px;width:48px}.process-sm .process-circle{stroke-dashoffset:144.51326207px;stroke-dasharray:144.51326207px;stroke-width:2.4px}.process-sm.process-danger .process-icon-horizontal{height:3px;top:10.5px}.process-sm.process-danger .process-icon-vertical{left:10.5px;width:3px}.process-sm .process-icon-horizontal,.process-sm .process-icon-vertical{border-radius:1.5px}.process-sm.process-success .process-icon-container{height:21px;left:18px;width:10.5px}.process-sm.process-success .process-icon-horizontal{height:3px}.process-sm.process-success .process-icon-vertical{width:3px}.process-xl{height:128px;width:128px}.process-xl .process-circle{stroke-dashoffset:395.84067435px;stroke-dasharray:395.84067435px;stroke-width:3px}.process-xl.process-danger .process-icon-horizontal{height:8px;top:28px}.process-xl.process-danger .process-icon-vertical{left:28px;width:8px}.process-xl .process-icon-horizontal,.process-xl .process-icon-vertical{border-radius:4px}.process-xl.process-success .process-icon-container{height:56px;left:48px;width:28px}.process-xl.process-success .process-icon-horizontal{height:8px}.process-xl.process-success .process-icon-vertical{width:8px}.process-xs .process-circle{animation-name:process-chase-circle-xs}.process-xs.process-danger .process-circle,.process-xs.process-success .process-circle{animation-name:process-success-circle-xs}.process-sm .process-circle{animation-name:process-chase-circle-sm}.process-sm.process-danger .process-circle,.process-sm.process-success .process-circle{animation-name:process-success-circle-sm}.process-xl .process-circle{animation-name:process-chase-circle-xl}.process-xl.process-danger .process-circle,.process-xl.process-success .process-circle{animation-name:process-success-circle-xl}@keyframes process-chase-circle-xs{0%{stroke-dashoffset:206.34511514px;stroke-dasharray:69.11503838px;transform:rotate(0deg)}25%{stroke-dashoffset:68.11503838px;stroke-dasharray:34.55751919px}75%{stroke-dashoffset:68.11503838px;stroke-dasharray:51.83627878px}to{stroke-dashoffset:68.11503838px;stroke-dasharray:69.11503838px;transform:rotate(1turn)}}@keyframes process-success-circle-xs{0%{stroke-dashoffset:68.11503838px;stroke-dasharray:69.11503838px;transform:rotate(0deg)}to{stroke-dashoffset:0;stroke-dasharray:69.11503838px;transform:rotate(1turn)}}@keyframes process-chase-circle-sm{0%{stroke-dashoffset:432.5397862px;stroke-dasharray:144.51326207px;transform:rotate(0deg)}25%{stroke-dashoffset:143.51326207px;stroke-dasharray:72.25663103px}75%{stroke-dashoffset:143.51326207px;stroke-dasharray:108.38494655px}to{stroke-dashoffset:143.51326207px;stroke-dasharray:144.51326207px;transform:rotate(1turn)}}@keyframes process-success-circle-sm{0%{stroke-dashoffset:143.51326207px;stroke-dasharray:144.51326207px;transform:rotate(0deg)}to{stroke-dashoffset:0;stroke-dasharray:144.51326207px;transform:rotate(1turn)}}@keyframes process-chase-circle-xl{0%{stroke-dashoffset:1186.52202306px;stroke-dasharray:395.84067435px;transform:rotate(0deg)}25%{stroke-dashoffset:394.84067435px;stroke-dasharray:197.92033718px}75%{stroke-dashoffset:394.84067435px;stroke-dasharray:296.88050576px}to{stroke-dashoffset:394.84067435px;stroke-dasharray:395.84067435px;transform:rotate(1turn)}}@keyframes process-success-circle-xl{0%{stroke-dashoffset:394.84067435px;stroke-dasharray:395.84067435px;transform:rotate(0deg)}to{stroke-dashoffset:0;stroke-dasharray:395.84067435px;transform:rotate(1turn)}}@keyframes process-width{to{width:100%}}@keyframes process-height{to{height:100%;top:0}}.btn .process:first-child{float:left;margin-left:-12px;margin-right:12px}[dir=rtl] .btn .process:first-child{float:right;margin-left:0;margin-left:12px;margin-right:-12px;margin-right:0}.btn-block .process:first-child{position:absolute}.btn .process-circle{transition:stroke .5s linear 0s}.btn-primary .process-circle,.btn-success .process-circle{stroke:#fff}.btn-primary .process-icon-horizontal,.btn-primary .process-icon-vertical,.btn-success .process-icon-horizontal,.btn-success .process-icon-vertical{background-color:#fff}.btn:focus .process-circle,.btn:hover .process-circle{stroke:#fff}.btn:focus .process-icon-horizontal,.btn:focus .process-icon-vertical,.btn:hover .process-icon-horizontal,.btn:hover .process-icon-vertical,.btn[disabled] .process-icon-horizontal,.btn[disabled] .process-icon-vertical{background-color:#fff}
1
+ .process{display:block;margin:auto;position:relative}.process svg{height:100%;width:100%}.process-circle{stroke:#0097c7;stroke:var(--color-content-accent);stroke-opacity:1;stroke-linecap:round;animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:ease-out;transform-origin:center center;transition:stroke 1s linear .2s}.np-theme-personal .process-circle{stroke:#37517e;stroke:var(--color-content-primary)}.np-theme-personal--bright-green .process-circle,.np-theme-personal--dark .process-circle,.np-theme-personal--forest-green .process-circle{stroke:var(--color-interactive-primary)}.process-inverse .process-circle{stroke:#fff;stroke:var(--color-background-screen)}.process-icon-container{display:inline-block;height:50%;left:25%;position:absolute;top:25%;transform:rotate(45deg);width:50%}.process-icon-horizontal,.process-icon-vertical{display:block;height:0;position:absolute;width:0}.process-success .process-icon-horizontal{background-color:#008026;background-color:var(--color-content-positive);bottom:0;left:0}.np-theme-personal .process-success .process-icon-horizontal{background-color:var(--color-sentiment-positive)}.process-success .process-icon-vertical{background-color:#008026;background-color:var(--color-content-positive);right:0;top:100%}.np-theme-personal .process-success .process-icon-vertical{background-color:var(--color-sentiment-positive)}.process-success .process-circle{stroke:#008026;stroke:var(--color-content-positive)}.np-theme-personal .process-success .process-circle{stroke:var(--color-sentiment-positive)}.process-danger .process-icon-horizontal{background-color:#cf2929;background-color:var(--color-content-negative);left:0}.np-theme-personal .process-danger .process-icon-horizontal{background-color:var(--color-sentiment-negative)}.process-danger .process-icon-vertical{background-color:#cf2929;background-color:var(--color-content-negative);top:0}.np-theme-personal .process-danger .process-icon-vertical{background-color:var(--color-sentiment-negative)}.process-danger .process-circle{stroke:#cf2929;stroke:var(--color-content-negative)}.np-theme-personal .process-danger .process-circle{stroke:var(--color-sentiment-negative)}.process-danger .process-circle,.process-success .process-circle{animation-delay:1ms;animation-duration:1.5s;animation-fill-mode:forwards;animation-iteration-count:1;animation-timing-function:ease-out}.process-danger .process-icon-horizontal,.process-success .process-icon-horizontal{animation:process-width .3s ease 1.2s forwards}.process-danger .process-icon-vertical,.process-success .process-icon-vertical{animation:process-height .3s ease 1.5s forwards}.process-stopped .process-circle{animation:none}.process-stopped .process-icon-container{display:none}.process-xs{height:12px;width:12px}.process-xs .process-circle{stroke-dashoffset:31.41592654px;stroke-dasharray:31.41592654px;stroke-width:1.5px}.process-xs.process-danger .process-icon-horizontal{height:1px;top:2.5px}.process-xs.process-danger .process-icon-vertical{left:2.5px;width:1px}.process-xs .process-icon-horizontal,.process-xs .process-icon-vertical{border-radius:.5px}.process-xs.process-success .process-icon-container{height:5px;left:4.5px;width:2.5px}.process-xs.process-success .process-icon-horizontal{height:1px}.process-xs.process-success .process-icon-vertical{width:1px}.process-xs{height:24px;width:24px}.process-xs .process-circle{stroke-dashoffset:69.11503838px;stroke-dasharray:69.11503838px;stroke-width:2px}.process-xs.process-danger .process-icon-horizontal{height:2px;top:5px}.process-xs.process-danger .process-icon-vertical{left:5px;width:2px}.process-xs .process-icon-horizontal,.process-xs .process-icon-vertical{border-radius:1px}.process-xs.process-success .process-icon-container{height:10px;left:9px;width:5px}.process-xs.process-success .process-icon-horizontal{height:2px}.process-xs.process-success .process-icon-vertical{width:2px}.process-sm{height:48px;width:48px}.process-sm .process-circle{stroke-dashoffset:144.51326207px;stroke-dasharray:144.51326207px;stroke-width:2.4px}.process-sm.process-danger .process-icon-horizontal{height:3px;top:10.5px}.process-sm.process-danger .process-icon-vertical{left:10.5px;width:3px}.process-sm .process-icon-horizontal,.process-sm .process-icon-vertical{border-radius:1.5px}.process-sm.process-success .process-icon-container{height:21px;left:18px;width:10.5px}.process-sm.process-success .process-icon-horizontal{height:3px}.process-sm.process-success .process-icon-vertical{width:3px}.process-xl{height:128px;width:128px}.process-xl .process-circle{stroke-dashoffset:395.84067435px;stroke-dasharray:395.84067435px;stroke-width:3px}.process-xl.process-danger .process-icon-horizontal{height:8px;top:28px}.process-xl.process-danger .process-icon-vertical{left:28px;width:8px}.process-xl .process-icon-horizontal,.process-xl .process-icon-vertical{border-radius:4px}.process-xl.process-success .process-icon-container{height:56px;left:48px;width:28px}.process-xl.process-success .process-icon-horizontal{height:8px}.process-xl.process-success .process-icon-vertical{width:8px}.process-xxs .process-circle{animation-name:process-chase-circle-xxs}.process-xxs.process-danger .process-circle,.process-xxs.process-success .process-circle{animation-name:process-success-circle-xxs}.process-xs .process-circle{animation-name:process-chase-circle-xs}.process-xs.process-danger .process-circle,.process-xs.process-success .process-circle{animation-name:process-success-circle-xs}.process-sm .process-circle{animation-name:process-chase-circle-sm}.process-sm.process-danger .process-circle,.process-sm.process-success .process-circle{animation-name:process-success-circle-sm}.process-xl .process-circle{animation-name:process-chase-circle-xl}.process-xl.process-danger .process-circle,.process-xl.process-success .process-circle{animation-name:process-success-circle-xl}@keyframes process-chase-circle-xxs{0%{stroke-dashoffset:93.24777961px;stroke-dasharray:31.41592654px;transform:rotate(0deg)}25%{stroke-dashoffset:30.41592654px;stroke-dasharray:15.70796327px}75%{stroke-dashoffset:30.41592654px;stroke-dasharray:23.5619449px}to{stroke-dashoffset:30.41592654px;stroke-dasharray:31.41592654px;transform:rotate(1turn)}}@keyframes process-success-circle-xxs{0%{stroke-dashoffset:30.41592654px;stroke-dasharray:31.41592654px;transform:rotate(0deg)}to{stroke-dashoffset:0;stroke-dasharray:31.41592654px;transform:rotate(1turn)}}@keyframes process-chase-circle-xs{0%{stroke-dashoffset:206.34511514px;stroke-dasharray:69.11503838px;transform:rotate(0deg)}25%{stroke-dashoffset:68.11503838px;stroke-dasharray:34.55751919px}75%{stroke-dashoffset:68.11503838px;stroke-dasharray:51.83627878px}to{stroke-dashoffset:68.11503838px;stroke-dasharray:69.11503838px;transform:rotate(1turn)}}@keyframes process-success-circle-xs{0%{stroke-dashoffset:68.11503838px;stroke-dasharray:69.11503838px;transform:rotate(0deg)}to{stroke-dashoffset:0;stroke-dasharray:69.11503838px;transform:rotate(1turn)}}@keyframes process-chase-circle-sm{0%{stroke-dashoffset:432.5397862px;stroke-dasharray:144.51326207px;transform:rotate(0deg)}25%{stroke-dashoffset:143.51326207px;stroke-dasharray:72.25663103px}75%{stroke-dashoffset:143.51326207px;stroke-dasharray:108.38494655px}to{stroke-dashoffset:143.51326207px;stroke-dasharray:144.51326207px;transform:rotate(1turn)}}@keyframes process-success-circle-sm{0%{stroke-dashoffset:143.51326207px;stroke-dasharray:144.51326207px;transform:rotate(0deg)}to{stroke-dashoffset:0;stroke-dasharray:144.51326207px;transform:rotate(1turn)}}@keyframes process-chase-circle-xl{0%{stroke-dashoffset:1186.52202306px;stroke-dasharray:395.84067435px;transform:rotate(0deg)}25%{stroke-dashoffset:394.84067435px;stroke-dasharray:197.92033718px}75%{stroke-dashoffset:394.84067435px;stroke-dasharray:296.88050576px}to{stroke-dashoffset:394.84067435px;stroke-dasharray:395.84067435px;transform:rotate(1turn)}}@keyframes process-success-circle-xl{0%{stroke-dashoffset:394.84067435px;stroke-dasharray:395.84067435px;transform:rotate(0deg)}to{stroke-dashoffset:0;stroke-dasharray:395.84067435px;transform:rotate(1turn)}}@keyframes process-width{to{width:100%}}@keyframes process-height{to{height:100%;top:0}}.btn .process:first-child{float:left;margin-left:-12px;margin-right:12px}[dir=rtl] .btn .process:first-child{float:right;margin-left:0;margin-left:12px;margin-right:-12px;margin-right:0}.btn-block .process:first-child{position:absolute}.btn .process-circle{transition:stroke .5s linear 0s}.btn-primary .process-circle,.btn-success .process-circle{stroke:#fff}.btn-primary .process-icon-horizontal,.btn-primary .process-icon-vertical,.btn-success .process-icon-horizontal,.btn-success .process-icon-vertical{background-color:#fff}.btn:focus .process-circle,.btn:hover .process-circle{stroke:#fff}.btn:focus .process-icon-horizontal,.btn:focus .process-icon-vertical,.btn:hover .process-icon-horizontal,.btn:hover .process-icon-vertical,.btn[disabled] .process-icon-horizontal,.btn[disabled] .process-icon-vertical{background-color:#fff}
@@ -1 +1 @@
1
- table{background-color:#fff;background-color:var(--color-background-screen);border-collapse:separate}table td[class*=col-],table th[class*=col-]{display:table-cell;float:none;position:static}caption{color:#5d7079;color:var(--color-content-secondary);padding-bottom:16px;padding-top:16px;text-align:left}[dir=rtl] caption{text-align:right}th{text-align:left}[dir=rtl] th{text-align:right}.table{margin-bottom:24px;margin-bottom:var(--size-24);max-width:100%;width:100%}.table>.tbody>dl>dd,.table>.tfoot>ol>li,.table>.thead>ol>li,.table>tbody>tr>td,.table>tbody>tr>th,.table>tfoot>tr>td,.table>tfoot>tr>th,.table>thead>tr>td,.table>thead>tr>th{border-bottom:0;border-top:1px solid #0000001a;border-top:1px solid var(--color-border-neutral);line-height:1.5;line-height:var(--line-height-body);padding:24px 16px;padding:var(--size-24) 16px;transition:border .15s ease;vertical-align:top}.table>.thead>ol>li,.table>thead>tr>th{vertical-align:bottom}.table>.thead>ol>li a,.table>thead>tr>th a{text-decoration:none}.table>.thead>ol>li .tw-icon,.table>thead>tr>th .tw-icon{margin-top:-3px}.table>.thead:first-child>ol:first-child>li,.table>caption+thead>tr:first-child>td,.table>caption+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>th,.table>thead:first-child>tr:first-child>td,.table>thead:first-child>tr:first-child>th{border-top:0}.table>tbody+tbody{border-top:1px solid #0000001a;border-top:1px solid var(--color-border-neutral)}.table .table{background-color:#fff;background-color:var(--color-background-screen)}.table>.tfoot,.table>.thead,.table>tfoot,.table>thead{color:#37517e;color:var(--color-content-primary);font-size:.875rem;font-size:var(--font-size-14)}.table>.tbody,.table>tbody{font-size:.875rem;font-size:var(--font-size-14)}.table>.tbody>dl>.th,.table>tbody>tr>th{color:#37517e;color:var(--color-content-primary)}.table-condensed>.tbody>dl>dd,.table-condensed>.thead>ol>li,.table-condensed>tbody>tr>td,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>td,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>thead>tr>th{padding:8px}.table-bordered{border:1px solid #0000001a;border:1px solid var(--color-border-neutral);border-radius:3px}.table-bordered .thead,.table-bordered thead{background-color:#86a7bd1a;background-color:var(--color-background-neutral)}@media (max-width:767px){div.table-bordered:not(.table-responsive){border:0}}.table-striped>tbody>tr:nth-of-type(odd){background-color:#86a7bd1a;background-color:var(--color-background-neutral)}@media (min-width:768px){.table-striped>.tbody>dl:nth-of-type(odd){background-color:#86a7bd1a;background-color:var(--color-background-neutral)}}table col[class*=col-]{display:table-column;float:none;position:static}.table-hover>tbody>tr.primary:hover>td,.table-hover>tbody>tr.primary:hover>th,.table-hover>tbody>tr:hover>.primary,.table-hover>tbody>tr>td.primary:hover,.table-hover>tbody>tr>th.primary:hover,.table>tbody>tr.primary>td,.table>tbody>tr.primary>th,.table>tbody>tr>td.primary,.table>tbody>tr>th.primary,.table>tfoot>tr.primary>td,.table>tfoot>tr.primary>th,.table>tfoot>tr>td.primary,.table>tfoot>tr>th.primary,.table>thead>tr.primary>td,.table>thead>tr.primary>th,.table>thead>tr>td.primary,.table>thead>tr>th.primary{background-color:#37517e}.table-hover>tbody>tr.active:hover>td,.table-hover>tbody>tr.active:hover>th,.table-hover>tbody>tr:hover>.active,.table-hover>tbody>tr>td.active:hover,.table-hover>tbody>tr>th.active:hover,.table>tbody>tr.active>td,.table>tbody>tr.active>th,.table>tbody>tr>td.active,.table>tbody>tr>th.active,.table>tfoot>tr.active>td,.table>tfoot>tr.active>th,.table>tfoot>tr>td.active,.table>tfoot>tr>th.active,.table>thead>tr.active>td,.table>thead>tr.active>th,.table>thead>tr>td.active,.table>thead>tr>th.active{background-color:#fff;background-color:var(--color-background-screen)}.table-hover>tbody>tr.success:hover>td,.table-hover>tbody>tr.success:hover>th,.table-hover>tbody>tr:hover>.success,.table-hover>tbody>tr>td.success:hover,.table-hover>tbody>tr>th.success:hover,.table>tbody>tr.success>td,.table>tbody>tr.success>th,.table>tbody>tr>td.success,.table>tbody>tr>th.success,.table>tfoot>tr.success>td,.table>tfoot>tr.success>th,.table>tfoot>tr>td.success,.table>tfoot>tr>th.success,.table>thead>tr.success>td,.table>thead>tr.success>th,.table>thead>tr>td.success,.table>thead>tr>th.success{background-color:#36c7971a;background-color:var(--color-background-positive)}.table-hover>tbody>tr.info:hover>td,.table-hover>tbody>tr.info:hover>th,.table-hover>tbody>tr:hover>.info,.table-hover>tbody>tr>td.info:hover,.table-hover>tbody>tr>th.info:hover,.table>tbody>tr.info>td,.table>tbody>tr.info>th,.table>tbody>tr>td.info,.table>tbody>tr>th.info,.table>tfoot>tr.info>td,.table>tfoot>tr.info>th,.table>tfoot>tr>td.info,.table>tfoot>tr>th.info,.table>thead>tr.info>td,.table>thead>tr.info>th,.table>thead>tr>td.info,.table>thead>tr>th.info{background-color:#38c8ff1a;background-color:var(--color-background-accent)}.table-hover>tbody>tr.warning:hover>td,.table-hover>tbody>tr.warning:hover>th,.table-hover>tbody>tr:hover>.warning,.table-hover>tbody>tr>td.warning:hover,.table-hover>tbody>tr>th.warning:hover,.table>tbody>tr.warning>td,.table>tbody>tr.warning>th,.table>tbody>tr>td.warning,.table>tbody>tr>th.warning,.table>tfoot>tr.warning>td,.table>tfoot>tr.warning>th,.table>tfoot>tr>td.warning,.table>tfoot>tr>th.warning,.table>thead>tr.warning>td,.table>thead>tr.warning>th,.table>thead>tr>td.warning,.table>thead>tr>th.warning{background-color:#ffac001a;background-color:var(--color-background-warning)}.table-hover>tbody>tr.danger:hover>td,.table-hover>tbody>tr.danger:hover>th,.table-hover>tbody>tr:hover>.danger,.table-hover>tbody>tr>td.danger:hover,.table-hover>tbody>tr>th.danger:hover,.table>tbody>tr.danger>td,.table>tbody>tr.danger>th,.table>tbody>tr>td.danger,.table>tbody>tr>th.danger,.table>tfoot>tr.danger>td,.table>tfoot>tr.danger>th,.table>tfoot>tr>td.danger,.table>tfoot>tr>th.danger,.table>thead>tr.danger>td,.table>thead>tr.danger>th,.table>thead>tr>td.danger,.table>thead>tr>th.danger{background-color:#ff87871a;background-color:var(--color-background-negative)}.table-hover>tbody>tr.default:hover>td,.table-hover>tbody>tr.default:hover>th,.table-hover>tbody>tr:hover>.default,.table-hover>tbody>tr>td.default:hover,.table-hover>tbody>tr>th.default:hover,.table>tbody>tr.default>td,.table>tbody>tr.default>th,.table>tbody>tr>td.default,.table>tbody>tr>th.default,.table>tfoot>tr.default>td,.table>tfoot>tr.default>th,.table>tfoot>tr>td.default,.table>tfoot>tr>th.default,.table>thead>tr.default>td,.table>thead>tr.default>th,.table>thead>tr>td.default,.table>thead>tr>th.default{background-color:var(--color-background-secondary)}.table-responsive{min-height:.01%;overflow-x:auto}.table-responsive.table-bordered{border:0}@media screen and (max-width:767px){.table-responsive{-ms-overflow-style:-ms-autohiding-scrollbar;margin-bottom:24px;margin-bottom:var(--size-24);overflow-y:hidden;width:100%}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>td,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>thead>tr>th{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}.table-responsive.table-bordered{border:1px solid #86a7bd1a;border:1px solid var(--color-background-neutral);border-radius:3px}}@media (min-width:768px){.table{display:table}.table>.thead{display:table-header-group}.table>.thead>ol{display:table-row}.table>.thead>ol>li{color:#37517e;color:var(--color-content-primary);display:table-cell;font-weight:800;font-weight:var(--font-weight-bold)}.table>.tbody{display:table-row-group}.table>.tbody>dl{display:table-row}.table>.tbody>dl>dt{display:none}.table>.tbody>dl>dd{color:#5d7079;color:var(--color-content-secondary);display:table-cell;font-size:.875rem;font-size:var(--font-size-14)}.table>.tfoot{display:table-footer-group}}@media (max-width:767px){.table>.thead{display:none}.table>.tbody>dl{border:1px solid #c9cbce;border:1px solid var(--color-interactive-secondary);border-radius:3px;margin-bottom:24px;margin-bottom:var(--size-24);padding:24px 1.5 0;padding:var(--size-24) var(--line-height-body) 0}.table>.tbody>dl>dd{border:0;padding:0}.table>.tbody>dl>dd:empty{margin:0}}@media (max-width:575px){.table>.tbody>dl{padding-bottom:8px}}.table-calendar{min-width:300px}.table-calendar>tbody>tr>td{padding:0}.table-calendar>tbody>tr>td>a{border-radius:3px;display:block;margin:4px 2px;padding:4px 0;text-align:center;text-decoration:none}.table-calendar>tbody>tr>td>a.active{background-color:#37517e;color:#fff}.table-calendar>tbody>tr>td>a:not([disabled]):hover{background-color:#0097c7;background-color:var(--color-content-accent);color:#fff}.table-calendar>thead>tr>th{text-align:center}
1
+ table{background-color:#fff;background-color:var(--color-background-screen);border-collapse:separate}table td[class*=col-],table th[class*=col-]{display:table-cell;float:none;position:static}caption{color:#5d7079;color:var(--color-content-secondary);padding-bottom:16px;padding-top:16px;text-align:left}[dir=rtl] caption{text-align:right}th{text-align:left}[dir=rtl] th{text-align:right}.table{margin-bottom:24px;margin-bottom:var(--size-24);max-width:100%;width:100%}.table>.tbody>dl>dd,.table>.tfoot>ol>li,.table>.thead>ol>li,.table>tbody>tr>td,.table>tbody>tr>th,.table>tfoot>tr>td,.table>tfoot>tr>th,.table>thead>tr>td,.table>thead>tr>th{border-bottom:0;border-top:1px solid #0000001a;border-top:1px solid var(--color-border-neutral);line-height:1.5;line-height:var(--line-height-body);padding:24px 16px;padding:var(--size-24) var(--size-16);transition:border .15s ease;vertical-align:top}.table>.thead>ol>li,.table>thead>tr>th{vertical-align:bottom}.table>.thead>ol>li a,.table>thead>tr>th a{text-decoration:none}.table>.thead>ol>li .tw-icon,.table>thead>tr>th .tw-icon{margin-top:-3px}.table>.thead:first-child>ol:first-child>li,.table>caption+thead>tr:first-child>td,.table>caption+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>th,.table>thead:first-child>tr:first-child>td,.table>thead:first-child>tr:first-child>th{border-top:0}.table>tbody+tbody{border-top:1px solid #0000001a;border-top:1px solid var(--color-border-neutral)}.table .table{background-color:#fff;background-color:var(--color-background-screen)}.table>.tfoot,.table>.thead,.table>tfoot,.table>thead{color:#37517e;color:var(--color-content-primary);font-size:.875rem;font-size:var(--font-size-14)}.table>.tbody,.table>tbody{font-size:.875rem;font-size:var(--font-size-14)}.table>.tbody>dl>.th,.table>tbody>tr>th{color:#37517e;color:var(--color-content-primary)}.table-condensed>.tbody>dl>dd,.table-condensed>.thead>ol>li,.table-condensed>tbody>tr>td,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>td,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>thead>tr>th{padding:8px;padding:var(--size-8)}.table-bordered{border:1px solid #0000001a;border:1px solid var(--color-border-neutral);border-radius:3px}.table-bordered .thead,.table-bordered thead{background-color:#86a7bd1a;background-color:var(--color-background-neutral)}@media (max-width:767px){div.table-bordered:not(.table-responsive){border:0}}.table-striped>tbody>tr:nth-of-type(odd){background-color:#86a7bd1a;background-color:var(--color-background-neutral)}@media (min-width:768px){.table-striped>.tbody>dl:nth-of-type(odd){background-color:#86a7bd1a;background-color:var(--color-background-neutral)}}table col[class*=col-]{display:table-column;float:none;position:static}.table-hover>tbody>tr.primary:hover>td,.table-hover>tbody>tr.primary:hover>th,.table-hover>tbody>tr:hover>.primary,.table-hover>tbody>tr>td.primary:hover,.table-hover>tbody>tr>th.primary:hover,.table>tbody>tr.primary>td,.table>tbody>tr.primary>th,.table>tbody>tr>td.primary,.table>tbody>tr>th.primary,.table>tfoot>tr.primary>td,.table>tfoot>tr.primary>th,.table>tfoot>tr>td.primary,.table>tfoot>tr>th.primary,.table>thead>tr.primary>td,.table>thead>tr.primary>th,.table>thead>tr>td.primary,.table>thead>tr>th.primary{background-color:#37517e}.table-hover>tbody>tr.active:hover>td,.table-hover>tbody>tr.active:hover>th,.table-hover>tbody>tr:hover>.active,.table-hover>tbody>tr>td.active:hover,.table-hover>tbody>tr>th.active:hover,.table>tbody>tr.active>td,.table>tbody>tr.active>th,.table>tbody>tr>td.active,.table>tbody>tr>th.active,.table>tfoot>tr.active>td,.table>tfoot>tr.active>th,.table>tfoot>tr>td.active,.table>tfoot>tr>th.active,.table>thead>tr.active>td,.table>thead>tr.active>th,.table>thead>tr>td.active,.table>thead>tr>th.active{background-color:#fff;background-color:var(--color-background-screen)}.table-hover>tbody>tr.success:hover>td,.table-hover>tbody>tr.success:hover>th,.table-hover>tbody>tr:hover>.success,.table-hover>tbody>tr>td.success:hover,.table-hover>tbody>tr>th.success:hover,.table>tbody>tr.success>td,.table>tbody>tr.success>th,.table>tbody>tr>td.success,.table>tbody>tr>th.success,.table>tfoot>tr.success>td,.table>tfoot>tr.success>th,.table>tfoot>tr>td.success,.table>tfoot>tr>th.success,.table>thead>tr.success>td,.table>thead>tr.success>th,.table>thead>tr>td.success,.table>thead>tr>th.success{background-color:#36c7971a;background-color:var(--color-background-positive)}.table-hover>tbody>tr.info:hover>td,.table-hover>tbody>tr.info:hover>th,.table-hover>tbody>tr:hover>.info,.table-hover>tbody>tr>td.info:hover,.table-hover>tbody>tr>th.info:hover,.table>tbody>tr.info>td,.table>tbody>tr.info>th,.table>tbody>tr>td.info,.table>tbody>tr>th.info,.table>tfoot>tr.info>td,.table>tfoot>tr.info>th,.table>tfoot>tr>td.info,.table>tfoot>tr>th.info,.table>thead>tr.info>td,.table>thead>tr.info>th,.table>thead>tr>td.info,.table>thead>tr>th.info{background-color:#38c8ff1a;background-color:var(--color-background-accent)}.table-hover>tbody>tr.warning:hover>td,.table-hover>tbody>tr.warning:hover>th,.table-hover>tbody>tr:hover>.warning,.table-hover>tbody>tr>td.warning:hover,.table-hover>tbody>tr>th.warning:hover,.table>tbody>tr.warning>td,.table>tbody>tr.warning>th,.table>tbody>tr>td.warning,.table>tbody>tr>th.warning,.table>tfoot>tr.warning>td,.table>tfoot>tr.warning>th,.table>tfoot>tr>td.warning,.table>tfoot>tr>th.warning,.table>thead>tr.warning>td,.table>thead>tr.warning>th,.table>thead>tr>td.warning,.table>thead>tr>th.warning{background-color:#ffac001a;background-color:var(--color-background-warning)}.table-hover>tbody>tr.danger:hover>td,.table-hover>tbody>tr.danger:hover>th,.table-hover>tbody>tr:hover>.danger,.table-hover>tbody>tr>td.danger:hover,.table-hover>tbody>tr>th.danger:hover,.table>tbody>tr.danger>td,.table>tbody>tr.danger>th,.table>tbody>tr>td.danger,.table>tbody>tr>th.danger,.table>tfoot>tr.danger>td,.table>tfoot>tr.danger>th,.table>tfoot>tr>td.danger,.table>tfoot>tr>th.danger,.table>thead>tr.danger>td,.table>thead>tr.danger>th,.table>thead>tr>td.danger,.table>thead>tr>th.danger{background-color:#ff87871a;background-color:var(--color-background-negative)}.table-hover>tbody>tr.default:hover>td,.table-hover>tbody>tr.default:hover>th,.table-hover>tbody>tr:hover>.default,.table-hover>tbody>tr>td.default:hover,.table-hover>tbody>tr>th.default:hover,.table>tbody>tr.default>td,.table>tbody>tr.default>th,.table>tbody>tr>td.default,.table>tbody>tr>th.default,.table>tfoot>tr.default>td,.table>tfoot>tr.default>th,.table>tfoot>tr>td.default,.table>tfoot>tr>th.default,.table>thead>tr.default>td,.table>thead>tr.default>th,.table>thead>tr>td.default,.table>thead>tr>th.default{background-color:var(--color-background-secondary)}.table-responsive{min-height:.01%;overflow-x:auto}.table-responsive.table-bordered{border:0}@media screen and (max-width:767px){.table-responsive{-ms-overflow-style:-ms-autohiding-scrollbar;margin-bottom:24px;margin-bottom:var(--size-24);overflow-y:hidden;width:100%}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>td,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>thead>tr>th{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}.table-responsive.table-bordered{border:1px solid #86a7bd1a;border:1px solid var(--color-background-neutral);border-radius:3px}}@media (min-width:768px){.table{display:table}.table>.thead{display:table-header-group}.table>.thead>ol{display:table-row}.table>.thead>ol>li{color:#37517e;color:var(--color-content-primary);display:table-cell;font-weight:800;font-weight:var(--font-weight-bold)}.table>.tbody{display:table-row-group}.table>.tbody>dl{display:table-row}.table>.tbody>dl>dt{display:none}.table>.tbody>dl>dd{color:#5d7079;color:var(--color-content-secondary);display:table-cell;font-size:.875rem;font-size:var(--font-size-14)}.table>.tfoot{display:table-footer-group}}@media (max-width:767px){.table>.thead{display:none}.table>.tbody>dl{border:1px solid #c9cbce;border:1px solid var(--color-interactive-secondary);border-radius:3px;margin-bottom:24px;margin-bottom:var(--size-24);padding:24px 1.5 0;padding:var(--size-24) var(--line-height-body) 0}.table>.tbody>dl>dd{border:0;padding:0}.table>.tbody>dl>dd:empty{margin:0}}@media (max-width:575px){.table>.tbody>dl{padding-bottom:8px}}.table-calendar{min-width:300px}.table-calendar>tbody>tr>td{padding:0}.table-calendar>tbody>tr>td>a{border-radius:3px;display:block;margin:4px 2px;padding:4px 0;text-align:center;text-decoration:none}.table-calendar>tbody>tr>td>a.active{background-color:#37517e;color:#fff}.table-calendar>tbody>tr>td>a:not([disabled]):hover{background-color:#0097c7;background-color:var(--color-content-accent);color:#fff}.table-calendar>thead>tr>th{text-align:center}
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Mon, 02 Oct 2023 12:07:17 GMT
3
+ // Generated on Thu, 16 Nov 2023 16:38:15 GMT
4
4
 
5
5
  @color-dark-content-primary: #e2e6e8;
6
6
  @color-dark-content-secondary: #c9cbce;
@@ -219,7 +219,7 @@
219
219
  @font-family-display: 'Wise Sans', 'Inter', sans-serif;
220
220
 
221
221
  // Do not edit directly
222
- // Generated on Mon, 02 Oct 2023 12:07:17 GMT
222
+ // Generated on Thu, 16 Nov 2023 16:38:15 GMT
223
223
 
224
224
  @color-base-blue-light: #00b9ff;
225
225
  @color-base-blue-mid: #00a2dd;
@@ -7,3 +7,5 @@
7
7
  @custom-media --screen-lg (min-width: 992px);
8
8
  @custom-media --screen-lg-max (max-width: 1199px); /* --screen-xl - 1 */
9
9
  @custom-media --screen-xl (min-width: 1200px);
10
+
11
+ @custom-media --screen-400-zoom (max-width: 320px); /* ~400% zoom viewport */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 02 Oct 2023 12:07:17 GMT
3
+ * Generated on Thu, 16 Nov 2023 16:38:15 GMT
4
4
  */
5
5
 
6
6
  :root {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@transferwise/neptune-css",
3
3
  "description": "Neptune CSS library",
4
- "version": "14.6.1",
4
+ "version": "14.7.0",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -23,7 +23,7 @@
23
23
  "scripts"
24
24
  ],
25
25
  "dependencies": {
26
- "@transferwise/neptune-tokens": "^8.5.1"
26
+ "@transferwise/neptune-tokens": "^8.7.0"
27
27
  },
28
28
  "devDependencies": {
29
29
  "modern-normalize": "^2.0.0",
@@ -1,28 +1,23 @@
1
- @import (reference) "../../variables/neptune-tokens.less";
2
1
  @import "../mixins/_spacing.less";
3
2
 
4
- // These variables are not exposed in _spacing because they shouldn't be used outside of this file.
5
- @size-72: 72px;
6
- @size-96: 96px;
7
-
8
3
  .spacing(0, 0);
9
- .spacing(1, @size-8);
10
- .spacing(2, @size-16);
11
- .spacing(3, @size-24);
12
- .spacing(4, @size-32);
13
- .spacing(5, @size-40);
4
+ .spacing(1, var(--size-8));
5
+ .spacing(2, var(--size-16));
6
+ .spacing(3, var(--size-24));
7
+ .spacing(4, var(--size-32));
8
+ .spacing(5, var(--size-40));
14
9
 
15
- .spacing-vertical(4, @size-32);
16
- .spacing-vertical(5, @size-40);
10
+ .spacing-vertical(4, var(--size-32));
11
+ .spacing-vertical(5, var(--size-40));
17
12
 
18
13
  .gap-y-1 {
19
14
  row-gap: var(--size-8);
20
15
  }
21
16
 
22
- .responsive-spacing(panel, @size-16, @size-24, @size-32);
23
- .responsive-spacing-vertical(section-1, @size-16, @size-24, @size-32);
24
- .responsive-spacing-vertical(section-2, @size-32, @size-48, @size-64);
25
- .responsive-spacing-vertical(section-3, @size-48, @size-72, @size-96);
17
+ .responsive-spacing(panel, var(--size-16), var(--size-24), var(--size-32));
18
+ .responsive-spacing-vertical(section-1, var(--size-16), var(--size-24), var(--size-32));
19
+ .responsive-spacing-vertical(section-2, var(--size-32), var(--size-48), var(--size-64));
20
+ .responsive-spacing-vertical(section-3, var(--size-48), var(--size-72), var(--size-96));
26
21
 
27
22
  .m-x-auto {
28
23
  .margin(right,auto) !important;
@@ -38,16 +33,16 @@
38
33
  }
39
34
 
40
35
  .section {
41
- padding-top: @size-48;
42
- padding-bottom: @size-48;
36
+ padding-top: var(--size-48);
37
+ padding-bottom: var(--size-48);
43
38
 
44
39
  @media (--screen-sm) {
45
- padding-top: @size-72;
46
- padding-bottom: @size-72;
40
+ padding-top: var(--size-72);
41
+ padding-bottom: var(--size-72);
47
42
  }
48
43
 
49
44
  @media (--screen-lg) {
50
- padding-top: @size-96;
51
- padding-bottom: @size-96;
45
+ padding-top: var(--size-96);
46
+ padding-bottom: var(--size-96);
52
47
  }
53
48
  }
@@ -29,7 +29,7 @@
29
29
  var(--font-size-16);
30
30
  var(--line-height-24);
31
31
  var(--btn-radius-base);
32
- @btn-height
32
+ var(--btn-height);
33
33
  );
34
34
 
35
35
  .np-theme-personal & {
@@ -79,6 +79,7 @@
79
79
  fieldset[disabled] & {
80
80
  outline: none;
81
81
  box-shadow: none;
82
+ pointer-events: none;
82
83
  }
83
84
 
84
85
  a& {
@@ -459,7 +460,7 @@
459
460
  var(--font-size-18);
460
461
  var(--line-height-28);
461
462
  var(--btn-lg-radius-base);
462
- @btn-lg-height
463
+ var(--btn-lg-height)
463
464
  );
464
465
 
465
466
  .np-theme-personal & {
@@ -479,7 +480,7 @@
479
480
  var(--font-size-14);
480
481
  var(--line-height-22);
481
482
  var(--btn-sm-radius-base);
482
- @btn-sm-height
483
+ var(--btn-sm-height);
483
484
  );
484
485
 
485
486
  .np-theme-personal & {
@@ -516,14 +517,14 @@
516
517
  var(--font-size-16);
517
518
  var(--line-height-24);
518
519
  var(border-radius-base);
519
- @btn-height
520
+ var(--btn-height);
520
521
  );
521
522
 
522
523
  .np-theme-personal & {
523
524
  font-size: @btn-font-size;
524
525
  line-height: @btn-line-height;
525
526
 
526
- max-height: @btn-height;
527
+ max-height: var(--btn-height);
527
528
  }
528
529
  }
529
530
  }
@@ -535,7 +536,7 @@
535
536
 
536
537
  // Vertically space out multiple block buttons
537
538
  .btn-block + .btn-block {
538
- margin-top: 8px;
539
+ margin-top: var(--size-8);
539
540
  }
540
541
 
541
542
  input[type="submit"],
@@ -639,27 +640,41 @@ input[type="button"] {
639
640
  margin-bottom: -8px;
640
641
  background-repeat: no-repeat;
641
642
  background-position: center;
642
- background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMjRweCIgaGVpZ2h0PSIyNHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPiAgICAgICAgPHRpdGxlPlNwaW5uZXI8L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+ICAgICAgICA8bGluZWFyR3JhZGllbnQgeDE9IjUwJSIgeTE9IjkuMjA1NjQzNzklIiB4Mj0iMTAwJSIgeTI9IjIwLjc0NzEwMDclIiBpZD0ibGluZWFyR3JhZGllbnQtMSI+ICAgICAgICAgICAgPHN0b3Agc3RvcC1jb2xvcj0iI0E4QUFBQyIgb2Zmc2V0PSIwJSI+PC9zdG9wPiAgICAgICAgICAgIDxzdG9wIHN0b3AtY29sb3I9IiNBOEFBQUMiIHN0b3Atb3BhY2l0eT0iMCIgb2Zmc2V0PSIxMDAlIj48L3N0b3A+ICAgICAgICA8L2xpbmVhckdyYWRpZW50PiAgICA8L2RlZnM+ICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHNrZXRjaDp0eXBlPSJNU1BhZ2UiPiAgICAgICAgPGcgaWQ9IlNwaW5uZXIiIHNrZXRjaDp0eXBlPSJNU0FydGJvYXJkR3JvdXAiIGZpbGw9InVybCgjbGluZWFyR3JhZGllbnQtMSkiPiAgICAgICAgICAgIDxwYXRoIGQ9Ik0xMiwyNCBDNS4zNzI1ODMsMjQgMCwxOC42Mjc0MTcgMCwxMiBDMCw1LjM3MjU4MyA1LjM3MjU4MywwIDEyLDAgTDEyLDIgQzYuNDc3MTUyNSwyIDIsNi40NzcxNTI1IDIsMTIgQzIsMTcuNTIyODQ3NSA2LjQ3NzE1MjUsMjIgMTIsMjIgQzE3LjUyMjg0NzUsMjIgMjIsMTcuNTIyODQ3NSAyMiwxMiBMMjQsMTIgQzI0LDE4LjYyNzQxNyAxOC42Mjc0MTcsMjQgMTIsMjQgWiIgaWQ9InNwaW4iIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4gICAgICAgIDwvZz4gICAgPC9nPjwvc3ZnPg==");
643
- animation: rotating 0.4s linear infinite;
643
+
644
+ .process-circle {
645
+ .np-theme-personal--dark &,
646
+ .np-theme-personal--bright-green &,
647
+ .np-theme-personal--forest-green & {
648
+ stroke: var(--color-interactive-negative);
649
+ }
650
+ }
644
651
  }
645
652
 
646
- .np-theme-personal {
647
- .btn-loading {
648
- &:not(.btn-block) {
649
- display: inline-flex;
650
- align-items: center;
653
+ .btn-loading {
654
+ &:not(.btn-block) {
655
+ display: inline-flex;
656
+ align-items: center;
657
+
658
+ .btn-loader {
659
+ margin-bottom: 0;
651
660
 
652
- .btn-loader {
653
- margin-bottom: 0;
661
+ :not([dir="rtl"]) & {
662
+ margin-left: 16px;
663
+ margin-right: 0;
664
+ }
665
+
666
+ [dir="rtl"] & {
667
+ margin-left: 0 !important;
668
+ margin-right: 16px !important;
654
669
  }
655
670
  }
671
+ }
656
672
 
657
- &.btn-block .btn-loader {
658
- top: 0;
659
- bottom: 0;
660
- margin-top: auto;
661
- margin-bottom: auto;
662
- }
673
+ &.btn-block .btn-loader {
674
+ top: 0;
675
+ bottom: 0;
676
+ margin-top: auto;
677
+ margin-bottom: auto;
663
678
  }
664
679
  }
665
680
 
@@ -8,8 +8,6 @@
8
8
  @import "../../variables/legacy-variables.less";
9
9
 
10
10
  :root {
11
- --radius-small: 3px;
12
- --radius-medium: 10px;
13
11
  // page default font size should be set in absolute units (pixels)
14
12
  --base-font-size: 16px;
15
13
  --font-family-regular: averta, avenir w02, avenir, helvetica, arial, sans-serif;
@@ -36,9 +34,6 @@
36
34
 
37
35
  font-family: var(--font-family-regular);
38
36
  line-height: var(--line-height-body);
39
-
40
- --radius-small: 3px !important;
41
- --radius-medium: 10px !important;
42
37
  }
43
38
 
44
39
  .np-theme-personal,
@@ -53,6 +48,13 @@
53
48
  --btn-xs-padding: calc(@btn-xs-padding-vertical - @btn-border-width) @btn-xs-padding-horizontal;
54
49
  --btn-sm-padding: calc(@btn-sm-padding-vertical - @btn-border-width) @btn-sm-padding-horizontal;
55
50
  --btn-lg-padding: calc(@btn-lg-padding-vertical - @btn-border-width) @btn-lg-padding-horizontal;
51
+ --btn-height: @btn-height;
52
+ --btn-xs-height: @btn-xs-height;
53
+ --btn-sm-height: @btn-sm-height;
54
+ --btn-lg-height: @btn-lg-height;
55
+ --input-height-base: @input-height-base;
56
+ --input-height-large: @input-height-large;
57
+ --input-height-small: @input-height-small;
56
58
  --input-padding: @padding-large-vertical @padding-base-horizontal;
57
59
  --input-padding-small: @padding-small-vertical @padding-small-horizontal;
58
60
  --input-padding-large: @padding-large-vertical @padding-large-horizontal;
@@ -187,7 +189,7 @@ textarea {
187
189
  ol,
188
190
  ul {
189
191
  margin: 0 0 var(--size-24);
190
- .padding-shorthand(0, 0, 0, 38px);
192
+ .padding-shorthand(0, 0, 0, calc(var(--size-48) - var(--size-10)));
191
193
 
192
194
  ol,
193
195
  ul {
@@ -0,0 +1,64 @@
1
+ @import '@transferwise/neptune-tokens/themes/personal/tokens.less';
2
+
3
+ @media (--screen-400-zoom) {
4
+ .np-theme-personal {
5
+ --delta: 2;
6
+
7
+ --size-4: calc(@size-4 / var(--delta));
8
+ --size-8: calc(@size-8 / var(--delta));
9
+ --size-10: calc(@size-10 / var(--delta));
10
+ --size-12: calc(@size-12 / var(--delta));
11
+ --size-14: calc(@size-14 / var(--delta));
12
+ --size-16: calc(@size-16 / var(--delta));
13
+ --size-24: calc(@size-24 / var(--delta));
14
+ --size-32: calc(@size-32 / var(--delta));
15
+ --size-40: calc(@size-40 / var(--delta));
16
+ --size-48: calc(@size-48 / var(--delta));
17
+ --size-52: calc(@size-52 / var(--delta));
18
+ --size-56: calc(@size-56 / var(--delta));
19
+ --size-60: calc(@size-60 / var(--delta));
20
+ --size-64: calc(@size-64 / var(--delta));
21
+ --size-72: calc(@size-72 / var(--delta));
22
+ --size-80: calc(@size-80 / var(--delta));
23
+ --size-88: calc(@size-88 / var(--delta));
24
+ --size-96: calc(@size-96 / var(--delta));
25
+ --size-104: calc(@size-104 / var(--delta));
26
+ --size-112: calc(@size-112 / var(--delta));
27
+ --size-120: calc(@size-120 / var(--delta));
28
+ --size-126: calc(@size-126 / var(--delta));
29
+ --size-128: calc(@size-128 / var(--delta));
30
+ --size-146: calc(@size-146 / var(--delta));
31
+ --size-154: calc(@size-154 / var(--delta));
32
+ --size-x-small: calc(@size-x-small / var(--delta));
33
+ --size-small: calc(@size-small / var(--delta));
34
+ --size-medium: calc(@size-medium / var(--delta));
35
+ --size-large: calc(@size-large / var(--delta));
36
+ --size-x-large: calc(@size-x-large / var(--delta));
37
+ --size-2x-large: calc(@size-2x-large / var(--delta));
38
+ --space-content-horizontal: calc(@space-content-horizontal / var(--delta));
39
+ --space-small: calc(@space-small / var(--delta));
40
+ --space-medium: calc(@space-medium / var(--delta));
41
+ --space-large: calc(@space-large / var(--delta));
42
+ --space-x-large: calc(@space-x-large / var(--delta));
43
+ --padding-x-small: var(--size-8);
44
+ --padding-small: var(--size-16);
45
+ --padding-medium: var(--size-24);
46
+ --padding-large: var(--size-32);
47
+
48
+ --input-height-base: var(--size-32);
49
+ --input-height-large: var(--input-height-small);
50
+ --input-padding: var(--input-padding-small);
51
+ --input-padding-large: var(--input-padding-small);
52
+ --input-group-addon-padding: var(--input-group-addon-sm-padding);
53
+ --input-group-addon-lg-padding: var(--input-group-addon-sm-padding);
54
+
55
+ --btn-height: var(--input-height-base);
56
+ --btn-lg-height: var(--btn-height);
57
+ --btn-sm-height: var(--btn-height);
58
+ --btn-padding: var(--input-padding);
59
+ --btn-sm-padding: var(--btn-padding);
60
+ --btn-lg-padding: var(--btn-padding);
61
+
62
+ --dropdown-link-padding: var(--size-12) var(--size-16);
63
+ }
64
+ }
@@ -44,7 +44,7 @@ legend {
44
44
  label {
45
45
  display: inline-block;
46
46
  max-width: 100%; // Force IE8 to wrap long content (see https://github.com/twbs/bootstrap/issues/13141)
47
- margin-bottom: 4px;
47
+ margin-bottom: var(--size-4);
48
48
  }
49
49
 
50
50
  label,
@@ -149,7 +149,7 @@ output {
149
149
  font-size: var(--font-size-16);
150
150
 
151
151
  .input-size(
152
- @input-height-base,
152
+ var(--input-height-base),
153
153
  var(--input-padding),
154
154
  @input-border-radius
155
155
  );
@@ -221,16 +221,16 @@ input[type='search'] {
221
221
  input[type='time'],
222
222
  input[type='datetime-local'],
223
223
  input[type='month'] {
224
- line-height: @input-height-base;
224
+ line-height: var(--input-height-base);
225
225
 
226
226
  &.input-sm,
227
227
  .input-group-sm & {
228
- line-height: @input-height-small;
228
+ line-height: var(--input-height-small);
229
229
  }
230
230
 
231
231
  &.input-lg,
232
232
  .input-group-lg & {
233
- line-height: calc(@input-height-large - var(--line-height-body));
233
+ line-height: calc(var(--input-height-large) - var(--line-height-body));
234
234
  }
235
235
  }
236
236
  }
@@ -271,7 +271,7 @@ input[type='search'] {
271
271
  // margin-bottom: (@padding-base-vertical * 1.5);
272
272
 
273
273
  label {
274
- min-height: @input-height-base;
274
+ min-height: var(--input-height-base);
275
275
  margin-bottom: 0;
276
276
  cursor: pointer;
277
277
  }
@@ -421,7 +421,7 @@ input[type="password"] {
421
421
 
422
422
  .input-lg {
423
423
  .input-size(
424
- @input-height-large;
424
+ var(--input-height-large);
425
425
  var(--input-padding-large);
426
426
  @input-border-radius-large
427
427
  );
@@ -434,7 +434,7 @@ input[type="password"] {
434
434
  .input-lg,
435
435
  .input-group-lg > .form-control,
436
436
  .input-group-lg > .input-group-addon {
437
- height: @input-height-large;
437
+ height: var(--input-height-large);
438
438
  padding: calc(@padding-small-vertical + var(--size-24)) @padding-small-horizontal
439
439
  @padding-small-vertical;
440
440
  font-size: @input-font-size-large;
@@ -442,7 +442,7 @@ input[type="password"] {
442
442
  }
443
443
 
444
444
  select.form-control {
445
- line-height: @input-height-large;
445
+ line-height: var(--input-height-large);
446
446
  }
447
447
 
448
448
  textarea.form-control,
@@ -451,7 +451,7 @@ input[type="password"] {
451
451
  }
452
452
 
453
453
  .form-control-static {
454
- height: @input-height-large;
454
+ height: var(--input-height-large);
455
455
  min-height: calc(var(--line-height-control) + @input-font-size-large);
456
456
  padding: var(--input-padding-large);
457
457
  font-size: @input-font-size-large;
@@ -478,7 +478,7 @@ input[type="password"] {
478
478
 
479
479
  // Ensure icons don't overlap text
480
480
  .form-control {
481
- .padding(right, @input-height-base);
481
+ .padding(right, var(--input-height-base));
482
482
  }
483
483
  }
484
484
  // Feedback icon (requires .glyphicon classes)
@@ -498,8 +498,8 @@ input[type="password"] {
498
498
  .input-lg + .form-control-feedback,
499
499
  .input-group-lg + .form-control-feedback,
500
500
  .form-group-lg .form-control + .form-control-feedback {
501
- width: @input-height-large;
502
- height: @input-height-large;
501
+ width: var(--input-height-large);
502
+ height: var(--input-height-large);
503
503
  }
504
504
 
505
505
  .input-sm + .form-control-feedback,
@@ -922,7 +922,7 @@ input[type="password"] {
922
922
  &.checkbox-lg,
923
923
  &.radio-lg {
924
924
  > label {
925
- min-height: 72px;
925
+ min-height: var(--size-72);
926
926
 
927
927
  small,
928
928
  .small,
@@ -83,7 +83,7 @@
83
83
  [class*="col-md"],
84
84
  [class*="col-lg"],
85
85
  [class*="col-xl"] {
86
- margin-bottom: (@spacer-y * 2);
86
+ margin-bottom: calc(var(--size-8) * 2);
87
87
  }
88
88
 
89
89
  [class*="col-xs"] {
@@ -124,7 +124,7 @@
124
124
 
125
125
  @media (max-width: @screen-xs-max) {
126
126
  .col-xs-12 {
127
- margin-bottom: 12px;
127
+ margin-bottom: var(--size-12);
128
128
  }
129
129
  }
130
130
  }
@@ -132,13 +132,13 @@
132
132
  // Make grid gutters smaller on mobile
133
133
  @media (max-width: @screen-xs-max) {
134
134
  .row {
135
- margin-right: -8px;
136
- margin-left: -8px;
135
+ margin-right: calc(var(--size-8) * -1);
136
+ margin-left: calc(var(--size-8) * -1);
137
137
  }
138
138
 
139
139
  [class*="col-"] {
140
- padding-right: 8px;
141
- padding-left: 8px;
140
+ padding-right: var(--size-8);
141
+ padding-left: var(--size-8);
142
142
  }
143
143
  }
144
144
 
@@ -37,6 +37,13 @@
37
37
  .padding(right, var(--size-16));
38
38
  }
39
39
 
40
+ @media (--screen-400-zoom) {
41
+ .media-right,
42
+ .media-left {
43
+ .padding(left, var(--size-32));
44
+ }
45
+ }
46
+
40
47
  /* Headings */
41
48
 
42
49
  .media-heading {
@@ -1,5 +1,10 @@
1
1
  @import "@transferwise/neptune-tokens/tokens.css";
2
+ @import '@transferwise/neptune-tokens/themes/personal/tokens.css';
3
+ @import '@transferwise/neptune-tokens/themes/personal--forest-green/tokens.css';
4
+ @import '@transferwise/neptune-tokens/themes/personal--bright-green/tokens.css';
5
+ @import '@transferwise/neptune-tokens/themes/personal--dark/tokens.css';
2
6
  @import "./neptune-core.less";
7
+ @import './core/viewport-themes.less';
3
8
  @import "./neptune-addons.less";
4
9
 
5
10
  // Components
@@ -33,6 +33,12 @@
33
33
  @process-xs-icon-size: 12px;
34
34
  @process-xs-icon-stroke: 2px;
35
35
 
36
+ @process-xxs-radius: 6px;
37
+ @process-xxs-circumference: (pi() * (2 * (@process-xxs-radius - 1)));
38
+ @process-xxs-stroke: 1.5px;
39
+ @process-xxs-icon-size: 6px;
40
+ @process-xxs-icon-stroke: 1px;
41
+
36
42
  .process {
37
43
  position: relative;
38
44
  margin: auto;
@@ -223,6 +229,9 @@
223
229
  }
224
230
  }
225
231
  }
232
+ .process-size(
233
+ xs, @process-xxs-radius, @process-xxs-circumference, @process-xxs-stroke, @process-xxs-icon-size, @process-xxs-icon-stroke
234
+ );
226
235
  .process-size(
227
236
  xs, @process-xs-radius, @process-xs-circumference, @process-xs-stroke, @process-xs-icon-size, @process-xs-icon-stroke
228
237
  );
@@ -233,6 +242,19 @@
233
242
  xl, @process-xl-radius, @process-xl-circumference, @process-xl-stroke, @process-xl-icon-size, @process-xl-icon-stroke
234
243
  );
235
244
 
245
+ .process-xxs {
246
+ .process-circle {
247
+ animation-name: process-chase-circle-xxs;
248
+ }
249
+
250
+ &.process-success,
251
+ &.process-danger {
252
+ .process-circle {
253
+ animation-name: process-success-circle-xxs;
254
+ }
255
+ }
256
+ }
257
+
236
258
  .process-xs {
237
259
  .process-circle {
238
260
  animation-name: process-chase-circle-xs;
@@ -310,6 +332,14 @@
310
332
  }
311
333
  }
312
334
 
335
+ @keyframes process-chase-circle-xxs {
336
+ .chase-circle(@process-xxs-circumference);
337
+ }
338
+
339
+ @keyframes process-success-circle-xxs {
340
+ .complete-circle(@process-xxs-circumference);
341
+ }
342
+
313
343
  @keyframes process-chase-circle-xs {
314
344
  .chase-circle(@process-xs-circumference);
315
345
  }