@transferwise/neptune-css 0.0.0-experimental-e846dd8 → 0.0.0-experimental-2db54a7

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
- .close{color:#0097c7;color:var(--color-content-accent);float:right;text-decoration:none}[dir=rtl] .close{float:left}.np-theme-personal .close{color:var(--color-interactive-primary)}.close:hover{color:#0084b3;color:var(--color-content-accent-hover);cursor:pointer;text-decoration:none}.np-theme-personal .close:hover{color:var(--color-interactive-primary-hover)}.close:focus{outline:none}.close:focus-visible{outline:var(--ring-outline-color) solid var(--ring-outline-width);outline-offset:var(--ring-outline-offset)}.close:active{color:#0077a5;color:var(--color-content-accent-active)}button.close{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;cursor:pointer;padding:0}.np-theme-personal button.close:hover{background:initial}.popover{word-wrap:normal;background-clip:padding-box;background-color:#fff;background-color:var(--color-background-screen);border-radius:3px;box-shadow:0 20px 66px 0 rgba(34,48,73,.2);font-family:Inter,Helvetica,Arial,sans-serif;font-family:var(--font-family-regular);font-size:1rem;font-size:var(--font-size-16);font-size:.875rem;font-size:var(--font-size-14);font-style:normal;font-weight:400;font-weight:var(--font-weight-regular);left:0;letter-spacing:normal;letter-spacing:.01em;letter-spacing:var(--letter-spacing-xs);line-break:auto;line-height:24px;line-height:var(--size-24);line-height:1.5;line-height:var(--line-height-body);line-height:1.375rem;line-height:var(--line-height-22);padding:18px 24px;position:absolute;text-align:left;text-decoration:none;text-shadow:none;text-transform:none;top:0;white-space:normal;width:276px;word-break:normal;word-spacing:normal;z-index:1060}[dir=rtl] .popover{left:auto;right:0;text-align:right}.np-theme-personal--bright-green .popover,.np-theme-personal--dark .popover,.np-theme-personal--forest-green .popover{box-shadow:none}.popover.animate{transition:transform .25s}.popover.scale-down{transform:scale(0)}.popover.top{margin-top:-14px;transform-origin:50% 100%}.popover.top-left{margin-top:-14px;transform-origin:calc(100% - 29px) 100%}.popover.top-right{margin-top:-14px;transform-origin:29px 100%}.popover.right{margin-left:14px;transform-origin:0 50%}[dir=rtl] .popover.right{margin-left:0;margin-right:14px}.popover.right-top{margin-left:14px;transform-origin:0 29px}[dir=rtl] .popover.right-top{margin-left:0;margin-right:14px}.popover.right-bottom{margin-left:14px;transform-origin:0 calc(100% - 29px)}[dir=rtl] .popover.right-bottom{margin-left:0;margin-right:14px}.popover.bottom{margin-top:14px;transform-origin:50% 0}.popover.bottom-left{margin-top:14px;transform-origin:calc(100% - 29px) 0}.popover.bottom-right{margin-top:14px;transform-origin:29px 0}.popover.left{margin-left:-14px;transform-origin:100% 50%}[dir=rtl] .popover.left{margin-left:0;margin-right:-14px}.popover.left-top{margin-left:-14px;transform-origin:100% 29px}[dir=rtl] .popover.left-top{margin-left:0;margin-right:-14px}.popover.left-bottom{margin-left:-14px;transform-origin:100% calc(100% - 29px)}[dir=rtl] .popover.left-bottom{margin-left:0;margin-right:-14px}.popover:before{background-color:inherit;content:" ";display:block;height:14px;left:28px;position:absolute;top:-7px;transform:rotate(45deg);width:14px}[dir=rtl] .popover:before{left:auto;right:28px}.popover.top:before{bottom:-7px;left:50%;margin-left:-7px;top:auto}[dir=rtl] .popover.top:before{left:auto;margin-left:0;margin-right:-7px;right:50%}.popover.top-left:before{bottom:-7px;left:auto;margin-left:-7px;right:29px;top:auto}[dir=rtl] .popover.top-left:before{left:29px;left:auto;margin-left:0;margin-right:-7px;right:auto}.popover.top-right:before{bottom:-7px;left:29px;margin-left:-7px;right:auto;top:auto}[dir=rtl] .popover.top-right:before{left:auto;margin-left:0;margin-right:-7px;right:29px;right:auto}.popover.right:before{left:-7px;margin-top:-7px;top:50%}[dir=rtl] .popover.right:before{left:auto;right:-7px}.popover.right-top:before{left:-7px;margin-top:-7px;top:29px}[dir=rtl] .popover.right-top:before{left:auto;right:-7px}.popover.right-bottom:before{left:-7px;margin-top:-7px;top:calc(100% - 29px)}[dir=rtl] .popover.right-bottom:before{left:auto;right:-7px}.popover.bottom:before{bottom:auto;left:50%;margin-left:-7px;top:-7px}[dir=rtl] .popover.bottom:before{left:auto;margin-left:0;margin-right:-7px;right:50%}.popover.bottom-left:before{bottom:auto;left:auto;margin-left:-7px;right:29px;top:-7px}[dir=rtl] .popover.bottom-left:before{left:29px;left:auto;margin-left:0;margin-right:-7px;right:auto}.popover.bottom-right:before{bottom:auto;left:auto;margin-left:-7px;right:29px;top:-7px}[dir=rtl] .popover.bottom-right:before{left:29px;left:auto;margin-left:0;margin-right:-7px;right:auto}.popover.left:before{left:auto;margin-top:-7px;right:-7px;top:50%}[dir=rtl] .popover.left:before{left:auto;left:-7px;right:auto}.popover.left-top:before{left:auto;margin-top:-7px;right:-7px;top:29px}[dir=rtl] .popover.left-top:before{left:auto;left:-7px;right:auto}.popover.left-bottom:before{left:auto;margin-top:-7px;right:-7px;top:calc(100% - 29px)}[dir=rtl] .popover.left-bottom:before{left:auto;left:-7px;right:auto}.popover .popover-image,.popover img{margin:8px 0;width:65%}.popover-title{background-color:#fff;background-color:var(--color-background-screen);border-bottom:0;border-radius:2px 2px 0 0;color:#37517e;color:var(--color-content-primary);color:#37517e!important;color:var(--color-content-primary)!important;font-size:1.125rem;font-size:var(--font-size-18);font-weight:600;font-weight:var(--font-weight-semi-bold);letter-spacing:0;letter-spacing:-.01em;letter-spacing:var(--letter-spacing-negative-xs);line-height:1.2;line-height:var(--line-height-title);line-height:1.5rem;line-height:var(--line-height-24);margin:0;padding:0}.popover-title+p{margin-top:8px;margin-top:var(--size-8)}.popover-content{color:#5d7079;color:var(--color-content-secondary);font-size:1rem;font-size:var(--font-size-16);font-size:.875rem;font-size:var(--font-size-14);font-weight:400;font-weight:var(--font-weight-regular);letter-spacing:.01em;letter-spacing:var(--letter-spacing-xs);line-height:1.5;line-height:var(--line-height-body);line-height:1.375rem;line-height:var(--line-height-22);padding:0}.popover-content>:last-child{margin-bottom:0}.popover-close{color:#0097c7;color:var(--color-content-accent);float:right;text-decoration:none}[dir=rtl] .popover-close{float:left}.np-theme-personal .popover-close{color:var(--color-interactive-primary)}.popover-close:hover{color:#0084b3;color:var(--color-content-accent-hover);cursor:pointer;text-decoration:none}.np-theme-personal .popover-close:hover{color:var(--color-interactive-primary-hover)}.popover-close:focus{outline:none}.popover-close:focus-visible{outline:var(--ring-outline-color) solid var(--ring-outline-width);outline-offset:var(--ring-outline-offset)}.popover-close:active{color:#0077a5;color:var(--color-content-accent-active)}button.popover-close{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;cursor:pointer;padding:0}.np-theme-personal button.popover-close:hover{background:initial}[data-toggle=popover]:not(.btn){border-bottom:1px dotted #0097c7!important;border-bottom:1px dotted var(--color-content-accent)!important;color:inherit!important;cursor:pointer;font-weight:inherit!important;text-decoration:none!important}[data-toggle=popover]:not(.btn):focus,[data-toggle=popover]:not(.btn):hover,[data-toggle=popover]:not(.btn)[aria-describedby]{color:#0084b3!important;color:var(--color-content-accent-hover)!important;outline:0}.nav>li>a [data-toggle=popover]{border-bottom:0}@media (max-width:991px){.popover-modal{left:0!important;margin:32px auto!important;margin:var(--size-32) auto!important;position:fixed;right:0!important;top:0!important;width:272px}.popover-modal:before{display:none}}@media (min-width:992px){.popover-modal.left{margin-right:-var(--size-24)!important}[dir=rtl] .popover-modal.left{margin-right:0!important}.popover-modal.right,[dir=rtl] .popover-modal.left{margin-left:-var(--size-24)!important}[dir=rtl] .popover-modal.right{margin-left:0!important;margin-right:-var(--size-24)!important}.popover-modal.top{margin-bottom:-8px!important}.popover-modal.bottom{margin-top:-8px!important}}@keyframes cover-fade-in{0%{opacity:0}to{opacity:.7}}.popover-modal-cover{animation:cover-fade-in .35s linear 0s forwards;background-color:#fff;background-color:var(--color-background-screen);cursor:pointer;display:none;height:100vh;height:100dvh;left:0;opacity:.7;position:fixed;top:0;width:100vw;z-index:1060}[dir=rtl] .popover-modal-cover{left:auto;right:0}@media (max-width:991px){.popover-modal-cover{display:block}}.popover-promotion{padding:24px;padding:var(--size-24);text-align:center}@media (max-width:576px){.popover-promotion{margin:16px!important;margin:var(--size-16)!important;padding:24px!important;padding:var(--size-24)!important;width:auto!important}}@media (min-width:566px) and (max-width:992px){.popover-promotion{margin:32px auto!important;margin:var(--size-32) auto!important;padding:28px 32px!important;padding:28px var(--size-32)!important;width:540px!important}}.popover-promotion .popover-title{font-size:1rem;font-size:var(--font-size-16);line-height:1.2;line-height:var(--line-height-title)}@media (min-width:768px){.popover-promotion .popover-title{font-size:1.25rem;font-size:var(--font-size-20);line-height:1.2;line-height:var(--line-height-title)}}@media (max-width:480px){.popover-promotion .popover-image{width:80%}}@media (min-width:480px) and (max-width:992px){.popover-promotion .popover-image{width:60%}}@media (min-width:992px){.popover-promotion .popover-image{width:80%}}@media (max-width:992px){.popover-promotion{position:absolute!important}}
1
+ .close{color:#0097c7;color:var(--color-content-accent);float:right;text-decoration:none}[dir=rtl] .close{float:left}.np-theme-personal .close{color:var(--color-interactive-primary)}.close:hover{color:#0084b3;color:var(--color-content-accent-hover);cursor:pointer;text-decoration:none}.np-theme-personal .close:hover{color:var(--color-interactive-primary-hover)}.close:focus{outline:none}.close:focus-visible{outline:var(--ring-outline-color) solid var(--ring-outline-width);outline-offset:var(--ring-outline-offset)}.close:active{color:#0077a5;color:var(--color-content-accent-active)}button.close{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;cursor:pointer;padding:0}.np-theme-personal button.close:hover{background:initial}.popover{word-wrap:normal;background-clip:padding-box;background-color:#fff;background-color:var(--color-background-screen);border-radius:3px;box-shadow:0 20px 66px 0 rgba(34,48,73,.2);font-family:Inter,Helvetica,Arial,sans-serif;font-family:var(--font-family-regular);font-size:1rem;font-size:var(--font-size-16);font-size:.875rem;font-size:var(--font-size-14);font-style:normal;font-weight:400;font-weight:var(--font-weight-regular);left:0;letter-spacing:normal;letter-spacing:-.006em;line-break:auto;line-height:24px;line-height:var(--size-24);line-height:1.5;line-height:var(--line-height-body);line-height:155%;padding:18px 24px;position:absolute;text-align:left;text-decoration:none;text-shadow:none;text-transform:none;top:0;white-space:normal;width:276px;word-break:normal;word-spacing:normal;z-index:1060}[dir=rtl] .popover{left:auto;right:0;text-align:right}.np-theme-personal--bright-green .popover,.np-theme-personal--dark .popover,.np-theme-personal--forest-green .popover{box-shadow:none}.popover.animate{transition:transform .25s}.popover.scale-down{transform:scale(0)}.popover.top{margin-top:-14px;transform-origin:50% 100%}.popover.top-left{margin-top:-14px;transform-origin:calc(100% - 29px) 100%}.popover.top-right{margin-top:-14px;transform-origin:29px 100%}.popover.right{margin-left:14px;transform-origin:0 50%}[dir=rtl] .popover.right{margin-left:0;margin-right:14px}.popover.right-top{margin-left:14px;transform-origin:0 29px}[dir=rtl] .popover.right-top{margin-left:0;margin-right:14px}.popover.right-bottom{margin-left:14px;transform-origin:0 calc(100% - 29px)}[dir=rtl] .popover.right-bottom{margin-left:0;margin-right:14px}.popover.bottom{margin-top:14px;transform-origin:50% 0}.popover.bottom-left{margin-top:14px;transform-origin:calc(100% - 29px) 0}.popover.bottom-right{margin-top:14px;transform-origin:29px 0}.popover.left{margin-left:-14px;transform-origin:100% 50%}[dir=rtl] .popover.left{margin-left:0;margin-right:-14px}.popover.left-top{margin-left:-14px;transform-origin:100% 29px}[dir=rtl] .popover.left-top{margin-left:0;margin-right:-14px}.popover.left-bottom{margin-left:-14px;transform-origin:100% calc(100% - 29px)}[dir=rtl] .popover.left-bottom{margin-left:0;margin-right:-14px}.popover:before{background-color:inherit;content:" ";display:block;height:14px;left:28px;position:absolute;top:-7px;transform:rotate(45deg);width:14px}[dir=rtl] .popover:before{left:auto;right:28px}.popover.top:before{bottom:-7px;left:50%;margin-left:-7px;top:auto}[dir=rtl] .popover.top:before{left:auto;margin-left:0;margin-right:-7px;right:50%}.popover.top-left:before{bottom:-7px;left:auto;margin-left:-7px;right:29px;top:auto}[dir=rtl] .popover.top-left:before{left:29px;left:auto;margin-left:0;margin-right:-7px;right:auto}.popover.top-right:before{bottom:-7px;left:29px;margin-left:-7px;right:auto;top:auto}[dir=rtl] .popover.top-right:before{left:auto;margin-left:0;margin-right:-7px;right:29px;right:auto}.popover.right:before{left:-7px;margin-top:-7px;top:50%}[dir=rtl] .popover.right:before{left:auto;right:-7px}.popover.right-top:before{left:-7px;margin-top:-7px;top:29px}[dir=rtl] .popover.right-top:before{left:auto;right:-7px}.popover.right-bottom:before{left:-7px;margin-top:-7px;top:calc(100% - 29px)}[dir=rtl] .popover.right-bottom:before{left:auto;right:-7px}.popover.bottom:before{bottom:auto;left:50%;margin-left:-7px;top:-7px}[dir=rtl] .popover.bottom:before{left:auto;margin-left:0;margin-right:-7px;right:50%}.popover.bottom-left:before{bottom:auto;left:auto;margin-left:-7px;right:29px;top:-7px}[dir=rtl] .popover.bottom-left:before{left:29px;left:auto;margin-left:0;margin-right:-7px;right:auto}.popover.bottom-right:before{bottom:auto;left:auto;margin-left:-7px;right:29px;top:-7px}[dir=rtl] .popover.bottom-right:before{left:29px;left:auto;margin-left:0;margin-right:-7px;right:auto}.popover.left:before{left:auto;margin-top:-7px;right:-7px;top:50%}[dir=rtl] .popover.left:before{left:auto;left:-7px;right:auto}.popover.left-top:before{left:auto;margin-top:-7px;right:-7px;top:29px}[dir=rtl] .popover.left-top:before{left:auto;left:-7px;right:auto}.popover.left-bottom:before{left:auto;margin-top:-7px;right:-7px;top:calc(100% - 29px)}[dir=rtl] .popover.left-bottom:before{left:auto;left:-7px;right:auto}.popover .popover-image,.popover img{margin:8px 0;width:65%}.popover-title{background-color:#fff;background-color:var(--color-background-screen);border-bottom:0;border-radius:2px 2px 0 0;color:#37517e;color:var(--color-content-primary);color:#37517e!important;color:var(--color-content-primary)!important;font-size:1.125rem;font-size:var(--font-size-18);font-weight:600;font-weight:var(--font-weight-semi-bold);letter-spacing:0;letter-spacing:-.014em;line-height:1.2;line-height:var(--line-height-title);line-height:135%;margin:0;padding:0}.popover-title+p{margin-top:8px;margin-top:var(--size-8)}.popover-content{color:#5d7079;color:var(--color-content-secondary);font-size:1rem;font-size:var(--font-size-16);font-size:.875rem;font-size:var(--font-size-14);font-weight:400;font-weight:var(--font-weight-regular);letter-spacing:-.006em;line-height:1.5;line-height:var(--line-height-body);line-height:155%;padding:0}.popover-content>:last-child{margin-bottom:0}.popover-close{color:#0097c7;color:var(--color-content-accent);float:right;text-decoration:none}[dir=rtl] .popover-close{float:left}.np-theme-personal .popover-close{color:var(--color-interactive-primary)}.popover-close:hover{color:#0084b3;color:var(--color-content-accent-hover);cursor:pointer;text-decoration:none}.np-theme-personal .popover-close:hover{color:var(--color-interactive-primary-hover)}.popover-close:focus{outline:none}.popover-close:focus-visible{outline:var(--ring-outline-color) solid var(--ring-outline-width);outline-offset:var(--ring-outline-offset)}.popover-close:active{color:#0077a5;color:var(--color-content-accent-active)}button.popover-close{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;cursor:pointer;padding:0}.np-theme-personal button.popover-close:hover{background:initial}[data-toggle=popover]:not(.btn){border-bottom:1px dotted #0097c7!important;border-bottom:1px dotted var(--color-content-accent)!important;color:inherit!important;cursor:pointer;font-weight:inherit!important;text-decoration:none!important}[data-toggle=popover]:not(.btn):focus,[data-toggle=popover]:not(.btn):hover,[data-toggle=popover]:not(.btn)[aria-describedby]{color:#0084b3!important;color:var(--color-content-accent-hover)!important;outline:0}.nav>li>a [data-toggle=popover]{border-bottom:0}@media (max-width:991px){.popover-modal{left:0!important;margin:32px auto!important;margin:var(--size-32) auto!important;position:fixed;right:0!important;top:0!important;width:272px}.popover-modal:before{display:none}}@media (min-width:992px){.popover-modal.left{margin-right:-var(--size-24)!important}[dir=rtl] .popover-modal.left{margin-right:0!important}.popover-modal.right,[dir=rtl] .popover-modal.left{margin-left:-var(--size-24)!important}[dir=rtl] .popover-modal.right{margin-left:0!important;margin-right:-var(--size-24)!important}.popover-modal.top{margin-bottom:-8px!important}.popover-modal.bottom{margin-top:-8px!important}}@keyframes cover-fade-in{0%{opacity:0}to{opacity:.7}}.popover-modal-cover{animation:cover-fade-in .35s linear 0s forwards;background-color:#fff;background-color:var(--color-background-screen);cursor:pointer;display:none;height:100vh;height:100dvh;left:0;opacity:.7;position:fixed;top:0;width:100vw;z-index:1060}[dir=rtl] .popover-modal-cover{left:auto;right:0}@media (max-width:991px){.popover-modal-cover{display:block}}.popover-promotion{padding:24px;padding:var(--size-24);text-align:center}@media (max-width:576px){.popover-promotion{margin:16px!important;margin:var(--size-16)!important;padding:24px!important;padding:var(--size-24)!important;width:auto!important}}@media (min-width:566px) and (max-width:992px){.popover-promotion{margin:32px auto!important;margin:var(--size-32) auto!important;padding:28px 32px!important;padding:28px var(--size-32)!important;width:540px!important}}.popover-promotion .popover-title{font-size:1rem;font-size:var(--font-size-16);line-height:1.2;line-height:var(--line-height-title)}@media (min-width:768px){.popover-promotion .popover-title{font-size:1.25rem;font-size:var(--font-size-20);line-height:1.2;line-height:var(--line-height-title)}}@media (max-width:480px){.popover-promotion .popover-image{width:80%}}@media (min-width:480px) and (max-width:992px){.popover-promotion .popover-image{width:60%}}@media (min-width:992px){.popover-promotion .popover-image{width:80%}}@media (max-width:992px){.popover-promotion{position:absolute!important}}
@@ -1 +1 @@
1
- .tooltip{word-wrap:normal;display:block;font-family:Inter,Helvetica,Arial,sans-serif;font-family:var(--font-family-regular);font-style:normal;font-weight:400;letter-spacing:normal;line-break:auto;line-height:24px;line-height:var(--size-24);opacity:0;position:absolute;text-align:left;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;z-index:1070}[dir=rtl] .tooltip{text-align:right}.tooltip.in{opacity:1}.tooltip.top{margin-top:-3px;padding:5px 0}.tooltip.right{margin-left:3px;padding:0 5px}[dir=rtl] .tooltip.right{margin-left:0;margin-right:3px}.tooltip.bottom{margin-top:3px;padding:5px 0}.tooltip.left{margin-left:-3px;padding:0 5px}[dir=rtl] .tooltip.left{margin-left:0;margin-right:-3px}.tooltip-inner{background-color:#fff;background-color:var(--color-background-screen);border-radius:3px;box-shadow:0 1px 28px 0 rgba(34,48,73,.2);color:#37517e;color:var(--color-content-primary);font-size:1rem;font-size:var(--font-size-16);font-size:.875rem;font-size:var(--font-size-14);font-weight:400;font-weight:var(--font-weight-regular);letter-spacing:.01em;letter-spacing:var(--letter-spacing-xs);line-height:1.5;line-height:var(--line-height-body);line-height:1.375rem;line-height:var(--line-height-22);max-width:200px;min-width:120px;padding:16px;padding:var(--size-16) var(--size-16);text-align:center}.np-theme-personal--bright-green .tooltip-inner,.np-theme-personal--dark .tooltip-inner,.np-theme-personal--forest-green .tooltip-inner{box-shadow:none}.tooltip-arrow{border-color:transparent;border-style:solid;height:0;position:absolute;width:0}.tooltip.top .tooltip-arrow{border-top-color:#fff;border-top-color:var(--color-background-screen);border-width:5px 5px 0;bottom:0;left:50%;margin-left:-5px}[dir=rtl] .tooltip.top .tooltip-arrow{left:auto;margin-left:0;margin-right:-5px;right:50%}.tooltip.right .tooltip-arrow{border-right-color:#fff;border-right-color:var(--color-background-screen);border-width:5px 5px 5px 0;left:0;margin-top:-5px;top:50%}[dir=rtl] .tooltip.right .tooltip-arrow{left:auto;right:0}.tooltip.left .tooltip-arrow{border-left-color:#fff;border-left-color:var(--color-background-screen);border-width:5px 0 5px 5px;margin-top:-5px;right:0;top:50%}[dir=rtl] .tooltip.left .tooltip-arrow{left:0;right:auto}.tooltip.bottom .tooltip-arrow{border-bottom-color:#fff;border-bottom-color:var(--color-background-screen);border-width:0 5px 5px;left:50%;margin-left:-5px;top:0}[dir=rtl] .tooltip.bottom .tooltip-arrow{left:auto;margin-left:0;margin-right:-5px;right:50%}[data-toggle=tooltip]:not(.btn){cursor:pointer}[data-toggle=tooltip]:not(.btn):focus,[data-toggle=tooltip]:not(.btn):hover{color:#0084b3!important;color:var(--color-content-accent-hover)!important;outline:0}a[data-toggle=tooltip]{white-space:nowrap}
1
+ .tooltip{word-wrap:normal;display:block;font-family:Inter,Helvetica,Arial,sans-serif;font-family:var(--font-family-regular);font-style:normal;font-weight:400;letter-spacing:normal;line-break:auto;line-height:24px;line-height:var(--size-24);opacity:0;position:absolute;text-align:left;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;z-index:1070}[dir=rtl] .tooltip{text-align:right}.tooltip.in{opacity:1}.tooltip.top{margin-top:-3px;padding:5px 0}.tooltip.right{margin-left:3px;padding:0 5px}[dir=rtl] .tooltip.right{margin-left:0;margin-right:3px}.tooltip.bottom{margin-top:3px;padding:5px 0}.tooltip.left{margin-left:-3px;padding:0 5px}[dir=rtl] .tooltip.left{margin-left:0;margin-right:-3px}.tooltip-inner{background-color:#fff;background-color:var(--color-background-screen);border-radius:3px;box-shadow:0 1px 28px 0 rgba(34,48,73,.2);color:#37517e;color:var(--color-content-primary);font-size:1rem;font-size:var(--font-size-16);font-size:.875rem;font-size:var(--font-size-14);font-weight:400;font-weight:var(--font-weight-regular);letter-spacing:-.006em;line-height:1.5;line-height:var(--line-height-body);line-height:155%;max-width:200px;min-width:120px;padding:16px;padding:var(--size-16) var(--size-16);text-align:center}.np-theme-personal--bright-green .tooltip-inner,.np-theme-personal--dark .tooltip-inner,.np-theme-personal--forest-green .tooltip-inner{box-shadow:none}.tooltip-arrow{border-color:transparent;border-style:solid;height:0;position:absolute;width:0}.tooltip.top .tooltip-arrow{border-top-color:#fff;border-top-color:var(--color-background-screen);border-width:5px 5px 0;bottom:0;left:50%;margin-left:-5px}[dir=rtl] .tooltip.top .tooltip-arrow{left:auto;margin-left:0;margin-right:-5px;right:50%}.tooltip.right .tooltip-arrow{border-right-color:#fff;border-right-color:var(--color-background-screen);border-width:5px 5px 5px 0;left:0;margin-top:-5px;top:50%}[dir=rtl] .tooltip.right .tooltip-arrow{left:auto;right:0}.tooltip.left .tooltip-arrow{border-left-color:#fff;border-left-color:var(--color-background-screen);border-width:5px 0 5px 5px;margin-top:-5px;right:0;top:50%}[dir=rtl] .tooltip.left .tooltip-arrow{left:0;right:auto}.tooltip.bottom .tooltip-arrow{border-bottom-color:#fff;border-bottom-color:var(--color-background-screen);border-width:0 5px 5px;left:50%;margin-left:-5px;top:0}[dir=rtl] .tooltip.bottom .tooltip-arrow{left:auto;margin-left:0;margin-right:-5px;right:50%}[data-toggle=tooltip]:not(.btn){cursor:pointer}[data-toggle=tooltip]:not(.btn):focus,[data-toggle=tooltip]:not(.btn):hover{color:#0084b3!important;color:var(--color-content-accent-hover)!important;outline:0}a[data-toggle=tooltip]{white-space:nowrap}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@transferwise/neptune-css",
3
3
  "description": "Neptune CSS library",
4
- "version": "0.0.0-experimental-e846dd8",
4
+ "version": "0.0.0-experimental-2db54a7",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -39,8 +39,8 @@ h1,
39
39
  margin-bottom: initial;
40
40
  font-size: var(--font-size-30);
41
41
  font-weight: var(--font-weight-semi-bold);
42
- letter-spacing: var(--letter-spacing-negative-xl);
43
- line-height: var(--line-height-34);
42
+ letter-spacing: -0.021em;
43
+ line-height: 115%;
44
44
  }
45
45
 
46
46
  /* DEPRECATED: use .np-text-title-section instead */
@@ -52,8 +52,8 @@ h2,
52
52
  margin-bottom: initial;
53
53
  font-weight: var(--font-weight-semi-bold);
54
54
  font-size: var(--font-size-26);
55
- letter-spacing: var(--letter-spacing-negative-md);
56
- line-height: var(--line-height-32);
55
+ letter-spacing: -0.02em;
56
+ line-height: 122%;
57
57
  }
58
58
 
59
59
  /* DEPRECATED: use .np-text-title-subsection instead */
@@ -65,8 +65,8 @@ h3,
65
65
  margin-bottom: initial;
66
66
  font-size: var(--font-size-22);
67
67
  font-weight: var(--font-weight-semi-bold);
68
- letter-spacing: var(--letter-spacing-negative-md);
69
- line-height: var(--line-height-28);
68
+ letter-spacing: -0.018em;
69
+ line-height: 125%;
70
70
  }
71
71
 
72
72
  /* DEPRECATED: use .np-text-title-body instead */
@@ -77,8 +77,8 @@ h4,
77
77
  .np-text-title-body {
78
78
  font-size: var(--font-size-18);
79
79
  font-weight: var(--font-weight-semi-bold);
80
- letter-spacing: var(--letter-spacing-negative-xs);
81
- line-height: var(--line-height-24);
80
+ letter-spacing: -0.014em;
81
+ line-height: 135%;
82
82
  }
83
83
 
84
84
  /* DEPRECATED: use .np-text-title-group instead */
@@ -91,8 +91,8 @@ h6,
91
91
  .np-text-title-group {
92
92
  font-weight: var(--font-weight-medium);
93
93
  font-size: var(--font-size-14);
94
- letter-spacing: var(--letter-spacing-md);
95
- line-height: var(--line-height-20);
94
+ letter-spacing: -0.006em;
95
+ line-height: 140%;
96
96
  }
97
97
 
98
98
  .body-1,
@@ -173,8 +173,8 @@ small,
173
173
  body,
174
174
  .np-text-body-default {
175
175
  font-size: var(--font-size-14);
176
- line-height: var(--line-height-22);
177
- letter-spacing: var(--letter-spacing-xs);
176
+ line-height: 155%;
177
+ letter-spacing: -0.006em;
178
178
  font-weight: var(--font-weight-regular);
179
179
  }
180
180
 
@@ -184,8 +184,8 @@ body,
184
184
  b,
185
185
  strong,
186
186
  .np-text-body-default-bold {
187
- line-height: var(--line-height-22);
188
- letter-spacing: var(--letter-spacing-sm);
187
+ line-height: 155%;
188
+ letter-spacing: -0.006em;
189
189
  font-weight: var(--font-weight-semi-bold);
190
190
  }
191
191
 
@@ -199,8 +199,8 @@ strong,
199
199
  .np-text-body-large {
200
200
  font-weight: var(--font-weight-regular);
201
201
  font-size: var(--font-size-16);
202
- letter-spacing: var(--letter-spacing-negative-xxs);
203
- line-height: var(--line-height-24);
202
+ line-height: 150%;
203
+ letter-spacing: -0.011em;
204
204
  }
205
205
 
206
206
  /* DEPRECATED: use np-text-body-large-bold instead */
@@ -209,8 +209,8 @@ strong,
209
209
  .np-text-body-large-bold {
210
210
  font-weight: var(--font-weight-semi-bold);
211
211
  font-size: var(--font-size-16);
212
- letter-spacing: var(--letter-spacing-xxs);
213
- line-height: var(--line-height-24);
212
+ line-height: 150%;
213
+ letter-spacing: -0.011em;
214
214
  }
215
215
 
216
216
  // LINK
@@ -224,67 +224,33 @@ a,
224
224
 
225
225
  .np-text-link-large {
226
226
  font-size: var(--font-size-16);
227
- letter-spacing: var(--letter-spacing-xs);
227
+ letter-spacing: -0.011em;
228
+ line-height: 150%;
228
229
  }
229
230
 
230
231
  .np-text-link-default {
231
232
  font-size: var(--font-size-14);
233
+ letter-spacing: -0.006em;
234
+ line-height: 155%;
232
235
  }
233
236
 
234
237
  // DISPLAY
235
238
 
236
239
  .np-text-display-number {
237
- font-weight: var(--font-weight-bold);
240
+ font-weight: var(--font-weight-semi-bold);
238
241
  font-size: 40px;
239
- line-height: 115%;
240
- letter-spacing: 0;
242
+ line-height: 110%;
241
243
  }
242
244
 
243
245
  .display-formatting(
244
246
  @font-size;
245
247
  @line-height;
246
- @font-weight: var(--font-weight-bold);) {
248
+ @font-weight: var(--font-weight-regular)) {
247
249
  font-size: @font-size;
248
250
  line-height: @line-height;
249
251
  font-weight: @font-weight;
250
252
  }
251
253
 
252
- .display-size-large-fluid() {
253
- font-size:
254
- clamp(
255
- var(--size-64),
256
- 9.375vw, /* 96px biggest font size / (1024px screen width / 100) */
257
- var(--size-96)
258
- );
259
- }
260
-
261
- .display-size-large-fluid-sm() {
262
- font-size:
263
- clamp(
264
- var(--size-60),
265
- 8.5938vw, /* 88px biggest font size / (1024px screen width / 100) */
266
- var(--size-88)
267
- );
268
- }
269
-
270
- .display-size-medium-fluid() {
271
- font-size:
272
- clamp(
273
- var(--size-52),
274
- 6.25vw, /* 64px biggest font size / (1024px screen width / 100) */
275
- var(--size-64)
276
- );
277
- }
278
-
279
- .display-size-medium-fluid-sm() {
280
- font-size:
281
- clamp(
282
- var(--size-48),
283
- 5.8594vw, /* 60px biggest font size / (1024px screen width / 100) */
284
- var(--size-60)
285
- );
286
- }
287
-
288
254
  .display-1,
289
255
  .display-2,
290
256
  .display-3,
@@ -298,7 +264,7 @@ a,
298
264
  font-synthesis: none;
299
265
  }
300
266
 
301
- /* stylelint-disable-next-line no-duplicate-selectors */
267
+ /* DEPRECATED(.np-text-display-extra-large): use .np-text-display-large instead */
302
268
  .np-text-display-extra-large,
303
269
  .np-text-display-large,
304
270
  .np-text-display-medium,
@@ -329,40 +295,31 @@ a,
329
295
  }
330
296
  }
331
297
 
332
- .np-text-display-extra-large {
333
- .display-formatting(var(--size-120), normal);
334
- }
335
298
 
299
+ .np-text-display-extra-large,
336
300
  .np-text-display-large {
337
- .display-formatting(var(--size-88), normal);
338
- .display-size-large-fluid-sm();
301
+ .display-formatting(var(--size-64), normal, var(--font-weight-bold));
339
302
  }
340
303
 
341
304
  .np-text-display-medium {
342
- .display-formatting(var(--size-60), normal);
343
- .display-size-medium-fluid-sm();
305
+ .display-formatting(var(--size-52), normal, var(--font-weight-bold));
344
306
  }
345
307
 
346
308
  .np-text-display-small {
347
- .display-formatting(var(--size-40), normal);
309
+ .display-formatting(var(--size-40), normal, var(--font-weight-bold));
348
310
  }
349
311
 
350
312
  :lang(en) {
351
- .np-text-display-extra-large {
352
- .display-formatting(var(--size-126), 0.85);
353
- }
354
-
355
- .np-text-display-large {
356
- .display-formatting(var(--size-96), 0.85);
357
- .display-size-large-fluid();
313
+ > .np-text-display-extra-large,
314
+ > .np-text-display-large {
315
+ .display-formatting(var(--size-64), 0.85);
358
316
  }
359
317
 
360
- .np-text-display-medium {
361
- .display-formatting(var(--size-64), 0.85);
362
- .display-size-medium-fluid();
318
+ > .np-text-display-medium {
319
+ .display-formatting(var(--size-52), 0.85);
363
320
  }
364
321
 
365
- .np-text-display-small {
322
+ > .np-text-display-small {
366
323
  .display-formatting(var(--size-40), 0.85);
367
324
  }
368
325
  }
@@ -431,18 +388,13 @@ a,
431
388
  :lang(gsw),
432
389
  :lang(dsb),
433
390
  :lang(fil) {
434
- .np-text-display-extra-large {
435
- .display-formatting(var(--size-126), 1.05);
436
- }
437
-
391
+ .np-text-display-extra-large,
438
392
  .np-text-display-large {
439
- .display-formatting(var(--size-96), 1.05);
440
- .display-size-large-fluid();
393
+ .display-formatting(var(--size-64), 1.05);
441
394
  }
442
395
 
443
396
  .np-text-display-medium {
444
- .display-formatting(var(--size-64), 1.05);
445
- .display-size-medium-fluid();
397
+ .display-formatting(var(--size-52), 1.05);
446
398
  }
447
399
 
448
400
  .np-text-display-small {
@@ -463,29 +415,22 @@ a,
463
415
  :lang(uk),
464
416
  :lang(uz),
465
417
  :lang(sah) {
466
- .np-text-display-extra-large {
467
- .display-formatting(var(--size-120),
468
- 1.2,
469
- var(--font-weight-semi-bold));
470
- }
471
-
418
+ .np-text-display-extra-large,
472
419
  .np-text-display-large {
473
- .display-formatting(var(--size-88),
474
- 1.2,
420
+ .display-formatting(var(--size-60),
421
+ 120%,
475
422
  var(--font-weight-semi-bold));
476
- .display-size-large-fluid-sm();
477
423
  }
478
424
 
479
425
  .np-text-display-medium {
480
- .display-formatting(var(--size-60),
481
- 1.2,
426
+ .display-formatting(var(--size-48),
427
+ 120%,
482
428
  var(--font-weight-semi-bold));
483
- .display-size-medium-fluid-sm();
484
429
  }
485
430
 
486
431
  .np-text-display-small {
487
432
  .display-formatting(var(--size-40),
488
- 1.2,
433
+ 120%,
489
434
  var(--font-weight-semi-bold));
490
435
  }
491
436
  }
@@ -581,8 +526,6 @@ p {
581
526
 
582
527
  strong,
583
528
  b {
584
- font-weight: var(--font-weight-semi-bold);
585
- letter-spacing: 0;
586
529
  color: var(--color-content-primary);
587
530
  }
588
531
 
@@ -1,44 +0,0 @@
1
- //== Media queries breakpoints
2
- //
3
- //## Define the breakpoints at which your layout will change, adapting to different screen sizes.
4
-
5
- // Extra small screen / phone
6
- //** Deprecated `@screen-xs` as of v3.0.1
7
- @screen-xs: 480px;
8
- //** Deprecated `@screen-xs-min` as of v3.2.0
9
- @screen-xs-min: @screen-xs;
10
- //** Deprecated `@screen-phone` as of v3.0.1
11
- @screen-phone: @screen-xs-min;
12
-
13
- // Small screen / tablet
14
- //** Deprecated `@screen-sm` as of v3.0.1
15
- @screen-sm: 576px;
16
- @screen-sm-min: @screen-sm;
17
- //** Deprecated `@screen-tablet` as of v3.0.1
18
- @screen-tablet: @screen-sm-min;
19
-
20
- // Medium screen / desktop
21
- //** Deprecated `@screen-md` as of v3.0.1
22
- @screen-md: 768px;
23
- @screen-md-min: @screen-md;
24
- //** Deprecated `@screen-desktop` as of v3.0.1
25
- @screen-desktop: @screen-md-min;
26
-
27
- // Large screen / wide desktop
28
- //** Deprecated `@screen-lg` as of v3.0.1
29
- @screen-lg: 992px;
30
- @screen-lg-min: @screen-lg;
31
- //** Deprecated `@screen-lg-desktop` as of v3.0.1
32
- @screen-lg-desktop: @screen-lg-min;
33
-
34
-
35
- // Extra Large screen / wide desktop
36
- //** Deprecated `@screen-lg` as of v3.0.1
37
- @screen-xl: 1200px;
38
- @screen-xl-min: @screen-xl;
39
-
40
- // So media queries don't overlap when required, provide a maximum
41
- @screen-xs-max: (@screen-sm-min - 1);
42
- @screen-sm-max: (@screen-md-min - 1);
43
- @screen-md-max: (@screen-lg-min - 1);
44
- @screen-lg-max: (@screen-xl-min - 1);
@@ -1,44 +0,0 @@
1
- //== Media queries breakpoints
2
- //
3
- //## Define the breakpoints at which your layout will change, adapting to different screen sizes.
4
-
5
- // Extra small screen / phone
6
- //** Deprecated `@screen-xs` as of v3.0.1
7
- @screen-xs: 480px;
8
- //** Deprecated `@screen-xs-min` as of v3.2.0
9
- @screen-xs-min: @screen-xs;
10
- //** Deprecated `@screen-phone` as of v3.0.1
11
- @screen-phone: @screen-xs-min;
12
-
13
- // Small screen / tablet
14
- //** Deprecated `@screen-sm` as of v3.0.1
15
- @screen-sm: 576px;
16
- @screen-sm-min: @screen-sm;
17
- //** Deprecated `@screen-tablet` as of v3.0.1
18
- @screen-tablet: @screen-sm-min;
19
-
20
- // Medium screen / desktop
21
- //** Deprecated `@screen-md` as of v3.0.1
22
- @screen-md: 768px;
23
- @screen-md-min: @screen-md;
24
- //** Deprecated `@screen-desktop` as of v3.0.1
25
- @screen-desktop: @screen-md-min;
26
-
27
- // Large screen / wide desktop
28
- //** Deprecated `@screen-lg` as of v3.0.1
29
- @screen-lg: 992px;
30
- @screen-lg-min: @screen-lg;
31
- //** Deprecated `@screen-lg-desktop` as of v3.0.1
32
- @screen-lg-desktop: @screen-lg-min;
33
-
34
-
35
- // Extra Large screen / wide desktop
36
- //** Deprecated `@screen-lg` as of v3.0.1
37
- @screen-xl: 1200px;
38
- @screen-xl-min: @screen-xl;
39
-
40
- // So media queries don't overlap when required, provide a maximum
41
- @screen-xs-max: (@screen-sm-min - 1);
42
- @screen-sm-max: (@screen-md-min - 1);
43
- @screen-md-max: (@screen-lg-min - 1);
44
- @screen-lg-max: (@screen-xl-min - 1);