carbon-custom-elements
Version:
A Carbon Design System variant that's as easy to use as native HTML elements, with no framework tax, no framework silo.
13 lines (12 loc) • 33.7 kB
JavaScript
/**
* @license
*
* Copyright IBM Corp. 2019, 2020
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/
import { css } from 'lit-element';
export default css([
"a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}button,input,select,textarea{border-radius:0;font-family:inherit}input[type=text]::-ms-clear{display:none}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section{display:block}body{line-height:1}sup{vertical-align:super}sub{vertical-align:sub}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}table{border-collapse:collapse;border-spacing:0}*{box-sizing:border-box}button{margin:0}html{font-size:100%}body{font-weight:400;font-family:'IBM Plex Sans','Helvetica Neue',Arial,sans-serif;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}code{font-family:'IBM Plex Mono',Menlo,'DejaVu Sans Mono','Bitstream Vera Sans Mono',Courier,monospace}strong{font-weight:600}@media screen and (-ms-high-contrast:active){svg{fill:ButtonText}}h1{font-size:var(--cds-productive-heading-06-font-size,2.625rem);font-weight:var(--cds-productive-heading-06-font-weight,300);line-height:var(--cds-productive-heading-06-line-height,3.125rem);letter-spacing:var(--cds-productive-heading-06-letter-spacing,0)}h2{font-size:var(--cds-productive-heading-05-font-size,2rem);font-weight:var(--cds-productive-heading-05-font-weight,400);line-height:var(--cds-productive-heading-05-line-height,2.5rem);letter-spacing:var(--cds-productive-heading-05-letter-spacing,0)}h3{font-size:var(--cds-productive-heading-04-font-size,1.75rem);font-weight:var(--cds-productive-heading-04-font-weight,400);line-height:var(--cds-productive-heading-04-line-height,2.25rem);letter-spacing:var(--cds-productive-heading-04-letter-spacing,0)}h4{font-size:var(--cds-productive-heading-03-font-size,1.25rem);font-weight:var(--cds-productive-heading-03-font-weight,400);line-height:var(--cds-productive-heading-03-line-height,1.75rem);letter-spacing:var(--cds-productive-heading-03-letter-spacing,0)}h5{font-size:var(--cds-productive-heading-02-font-size,1rem);font-weight:var(--cds-productive-heading-02-font-weight,600);line-height:var(--cds-productive-heading-02-line-height,1.375rem);letter-spacing:var(--cds-productive-heading-02-letter-spacing,0)}h6{font-size:var(--cds-productive-heading-01-font-size,.875rem);font-weight:var(--cds-productive-heading-01-font-weight,600);line-height:var(--cds-productive-heading-01-line-height,1.125rem);letter-spacing:var(--cds-productive-heading-01-letter-spacing,.16px)}p{font-size:var(--cds-body-long-02-font-size,1rem);font-weight:var(--cds-body-long-02-font-weight,400);line-height:var(--cds-body-long-02-line-height,1.5rem);letter-spacing:var(--cds-body-long-02-letter-spacing,0)}a{color:#0062ff}em{font-style:italic}@-webkit-keyframes skeleton{0%{width:0%;left:0;right:auto;opacity:.3}20%{width:100%;left:0;right:auto;opacity:1}28%{width:100%;left:auto;right:0}51%{width:0%;left:auto;right:0}58%{width:0%;left:auto;right:0}82%{width:100%;left:auto;right:0}83%{width:100%;left:0;right:auto}96%{width:0%;left:0;right:auto}100%{width:0%;left:0;right:auto;opacity:.3}}@keyframes skeleton{0%{width:0%;left:0;right:auto;opacity:.3}20%{width:100%;left:0;right:auto;opacity:1}28%{width:100%;left:auto;right:0}51%{width:0%;left:auto;right:0}58%{width:0%;left:auto;right:0}82%{width:100%;left:auto;right:0}83%{width:100%;left:0;right:auto}96%{width:0%;left:0;right:auto}100%{width:0%;left:0;right:auto;opacity:.3}}.bx--text-truncate--end{width:100%;display:inline-block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.bx--text-truncate--front{width:100%;display:inline-block;direction:rtl;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.bx--assistive-text,.bx--visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0;visibility:inherit;white-space:nowrap}.bx--body{box-sizing:border-box;margin:0;padding:0;border:0;font-size:100%;font-family:inherit;vertical-align:baseline;font-size:var(--cds-body-short-01-font-size,.875rem);font-weight:var(--cds-body-short-01-font-weight,400);line-height:var(--cds-body-short-01-line-height,1.125rem);letter-spacing:var(--cds-body-short-01-letter-spacing,.16px);color:var(--cds-text-01,#161616);background-color:var(--cds-ui-background,#fff);line-height:1}.bx--body *,.bx--body :after,.bx--body :before{box-sizing:inherit}.bx--fieldset{box-sizing:border-box;margin:0;padding:0;border:0;font-size:100%;font-family:inherit;vertical-align:baseline;margin-bottom:2rem}.bx--fieldset *,.bx--fieldset :after,.bx--fieldset :before{box-sizing:inherit}.bx--form-item{font-size:var(--cds-body-short-01-font-size,.875rem);font-weight:var(--cds-body-short-01-font-weight,400);line-height:var(--cds-body-short-01-line-height,1.125rem);letter-spacing:var(--cds-body-short-01-letter-spacing,.16px);display:flex;flex-direction:column;flex:1 1 auto;align-items:flex-start}.bx--label{box-sizing:border-box;margin:0;padding:0;border:0;font-size:100%;font-family:inherit;vertical-align:baseline;font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);line-height:var(--cds-label-01-line-height,1rem);letter-spacing:var(--cds-label-01-letter-spacing,.32px);color:var(--cds-text-02,#525252);font-weight:400;display:inline-block;vertical-align:baseline;margin-bottom:.5rem;line-height:1rem}.bx--label *,.bx--label :after,.bx--label :before{box-sizing:inherit}.bx--label .bx--tooltip__trigger{font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);line-height:var(--cds-label-01-line-height,1rem);letter-spacing:var(--cds-label-01-letter-spacing,.32px)}.bx--label.bx--skeleton{position:relative;border:none;padding:0;box-shadow:none;pointer-events:none;background:var(--cds-skeleton-01,#e5e5e5);width:4.6875rem;height:.875rem}.bx--label.bx--skeleton:active,.bx--label.bx--skeleton:focus,.bx--label.bx--skeleton:hover{border:none;outline:0;cursor:default}.bx--label.bx--skeleton:before{content:'';width:0%;height:100%;position:absolute;top:0;left:0;background:var(--cds-skeleton-02,#c6c6c6);-webkit-animation:3s ease-in-out skeleton infinite;animation:3s ease-in-out skeleton infinite}@media (prefers-reduced-motion:reduce){.bx--label.bx--skeleton:before{-webkit-animation:none;animation:none}}input[type=number]{font-family:'IBM Plex Mono',Menlo,'DejaVu Sans Mono','Bitstream Vera Sans Mono',Courier,monospace}.bx--combo-box[data-invalid] .bx--text-input,.bx--list-box[data-invalid],.bx--select-input__wrapper[data-invalid],.bx--text-area__wrapper[data-invalid]>.bx--text-area--invalid,.bx--text-input__field-wrapper[data-invalid],input[data-invalid]{outline:2px solid var(--cds-support-01,#da1e28);outline-offset:-2px}.bx--list-box[data-invalid]~.bx--form-requirement,.bx--select-input__wrapper[data-invalid]~.bx--form-requirement,.bx--text-area__wrapper[data-invalid]~.bx--form-requirement,.bx--text-input__field-wrapper[data-invalid]~.bx--form-requirement,.bx--time-picker[data-invalid]~.bx--form-requirement,input[data-invalid]~.bx--form-requirement{max-height:12.5rem;display:block;color:var(--cds-text-error,#da1e28)}.bx--form--fluid .bx--text-input__field-wrapper[data-invalid]{display:block}.bx--form--fluid .bx--fieldset{margin:0}.bx--form--fluid input[data-invalid]{outline:0}.bx--form--fluid .bx--form-requirement{margin:0;padding:.5rem 2.5rem .5rem 1rem}input:not(output):not([data-invalid]):-moz-ui-invalid{box-shadow:none}.bx--form-requirement{box-sizing:border-box;margin:0;padding:0;border:0;font-size:100%;font-family:inherit;vertical-align:baseline;font-size:var(--cds-caption-01-font-size,.75rem);font-weight:var(--cds-caption-01-font-weight,400);line-height:var(--cds-caption-01-line-height,1rem);letter-spacing:var(--cds-caption-01-letter-spacing,.32px);margin:.25rem 0 0;max-height:0;overflow:hidden;display:none}.bx--form-requirement *,.bx--form-requirement :after,.bx--form-requirement :before{box-sizing:inherit}.bx--select--inline .bx--form__helper-text{margin-top:0}.bx--form__helper-text{font-size:var(--cds-helper-text-01-font-size,.75rem);line-height:var(--cds-helper-text-01-line-height,1rem);letter-spacing:var(--cds-helper-text-01-letter-spacing,.32px);color:var(--cds-text-02,#525252);z-index:0;opacity:1;margin-top:.25rem}.bx--form__helper-text--disabled,.bx--label--disabled{color:var(--cds-disabled-02,#c6c6c6)}.bx--select{box-sizing:border-box;margin:0;padding:0;border:0;font-size:100%;font-family:inherit;vertical-align:baseline;position:relative;display:flex;flex-direction:column;align-items:flex-start}.bx--select *,.bx--select :after,.bx--select :before{box-sizing:inherit}.bx--select-input__wrapper{position:relative;display:flex;align-items:center}.bx--select-input{font-size:var(--cds-body-short-01-font-size,.875rem);font-weight:var(--cds-body-short-01-font-weight,400);line-height:var(--cds-body-short-01-line-height,1.125rem);letter-spacing:var(--cds-body-short-01-letter-spacing,.16px);outline:2px solid transparent;outline-offset:-2px;height:2.5rem;-webkit-appearance:none;-moz-appearance:none;appearance:none;display:block;width:14rem;min-width:8rem;max-width:28rem;padding:0 var(--cds-spacing-09,3rem) 0 var(--cds-spacing-05,1rem);color:var(--cds-text-01,#161616);background-color:var(--cds-field-01,#f4f4f4);border:none;border-bottom:1px solid var(--cds-ui-04,#8d8d8d);border-radius:0;cursor:pointer;transition:outline 70ms cubic-bezier(.2,0,.38,.9)}.bx--select-input:hover{background-color:var(--cds-hover-ui,#e5e5e5)}.bx--select-input::-ms-expand{display:none}@-moz-document url-prefix(){.bx--select-input:-moz-focusring,.bx--select-input::-moz-focus-inner{color:transparent;text-shadow:0 0 0 #000;background-image:none}}.bx--select-input:focus{outline:2px solid var(--cds-focus,#0f62fe);outline-offset:-2px;color:var(--cds-text-01,#161616)}.bx--select-input:disabled,.bx--select-input:hover:disabled{cursor:not-allowed;background-color:var(--cds-disabled-01,#f4f4f4);color:var(--cds-disabled-02,#c6c6c6);border-bottom-color:var(--cds-disabled-01,#f4f4f4)}.bx--select-input--sm{height:2rem;max-height:2rem}.bx--select-input--xl{height:3rem;max-height:3rem}.bx--select--disabled .bx--form__helper-text,.bx--select--disabled .bx--label{color:var(--cds-disabled-02,#c6c6c6)}.bx--select-input__wrapper[data-invalid] .bx--select-input{padding-right:5rem}.bx--select-input__wrapper[data-invalid] .bx--select-input,.bx--select-input__wrapper[data-invalid] .bx--select-input:focus{outline:2px solid var(--cds-support-01,#da1e28);outline-offset:-2px}.bx--form-requirement{display:block;color:var(--cds-text-error,#da1e28);font-weight:400;overflow:visible}.bx--select-input:disabled~.bx--select__arrow{fill:var(--cds-disabled-02,#c6c6c6)}.bx--select--light .bx--select-input{background-color:var(--cds-field-02,#fff)}.bx--select--light .bx--select-input:hover{background-color:var(--cds-hover-ui,#e5e5e5)}.bx--select--light .bx--select-input:disabled,.bx--select--light .bx--select-input:hover:disabled{cursor:not-allowed;background-color:var(--cds-disabled-01,#f4f4f4);color:var(--cds-disabled-02,#c6c6c6)}.bx--select__arrow{position:absolute;top:0;right:var(--cds-spacing-05,1rem);height:100%;fill:var(--cds-ui-05,#161616);pointer-events:none}.bx--select-input__wrapper[data-invalid] .bx--select-input~.bx--select__invalid-icon{position:absolute;right:var(--cds-spacing-09,3rem)}.bx--select-input__wrapper[data-invalid] .bx--select-input~.bx--select__invalid-icon{fill:var(--cds-support-01,#da1e28)}.bx--select-optgroup,.bx--select-option{color:var(--cds-text-01,#161616)}.bx--select-option[disabled]{opacity:.5;cursor:not-allowed}@-moz-document url-prefix(){.bx--select-option{background-color:var(--cds-ui-01,#f4f4f4);color:var(--cds-text-01,#161616)}.bx--select-optgroup{color:var(--cds-text-01,#161616)}}.bx--select--inline{display:flex;flex-direction:row;align-items:center}.bx--select--inline.bx--select--invalid .bx--form__helper-text,.bx--select--inline.bx--select--invalid .bx--label{margin-top:.8125rem;align-self:flex-start}.bx--select--inline .bx--form__helper-text{margin-bottom:0;margin-left:var(--cds-spacing-03,.5rem)}.bx--select--inline .bx--label{white-space:nowrap;margin:0 .5rem 0 0}.bx--select--inline .bx--select-input{background-color:transparent;color:var(--cds-text-01,#161616);border-bottom:none;padding-left:.5rem;padding-right:var(--cds-spacing-07,2rem)}.bx--select--inline .bx--select-input[disabled],.bx--select--inline .bx--select-input[disabled]:hover{background-color:var(--cds-disabled-01,#f4f4f4)}.bx--select--inline .bx--select__arrow{right:.5rem}.bx--select--inline.bx--select--invalid .bx--select-input{padding-right:var(--cds-spacing-09,3rem) var(--cds-spacing-03,.5rem)}.bx--select--inline.bx--select--invalid .bx--select-input~.bx--select__invalid-icon{right:var(--cds-spacing-07,2rem)}.bx--select--inline .bx--select-input:disabled{color:var(--cds-disabled-02,#c6c6c6);cursor:not-allowed}.bx--select--inline .bx--select-input:disabled~*{cursor:not-allowed}.bx--select--inline .bx--select-input:disabled{cursor:not-allowed}.bx--select.bx--skeleton{position:relative;border:none;padding:0;box-shadow:none;pointer-events:none;background:var(--cds-skeleton-01,#e5e5e5);width:100%;height:2.5rem}.bx--select.bx--skeleton:active,.bx--select.bx--skeleton:focus,.bx--select.bx--skeleton:hover{border:none;outline:0;cursor:default}.bx--select.bx--skeleton:before{content:'';width:0%;height:100%;position:absolute;top:0;left:0;background:var(--cds-skeleton-02,#c6c6c6);-webkit-animation:3s ease-in-out skeleton infinite;animation:3s ease-in-out skeleton infinite}@media (prefers-reduced-motion:reduce){.bx--select.bx--skeleton:before{-webkit-animation:none;animation:none}}.bx--select.bx--skeleton .bx--select-input{display:none}.bx--text-input{box-sizing:border-box;margin:0;padding:0;border:0;font-size:100%;font-family:inherit;vertical-align:baseline;font-size:var(--cds-body-short-01-font-size,.875rem);font-weight:var(--cds-body-short-01-font-weight,400);line-height:var(--cds-body-short-01-line-height,1.125rem);letter-spacing:var(--cds-body-short-01-letter-spacing,.16px);outline:2px solid transparent;outline-offset:-2px;background-color:var(--cds-field-01,#f4f4f4);width:100%;height:2.5rem;padding:0 1rem;color:var(--cds-text-01,#161616);border:none;border-bottom:1px solid var(--cds-ui-04,#8d8d8d);transition:background-color 70ms cubic-bezier(.2,0,.38,.9),outline 70ms cubic-bezier(.2,0,.38,.9)}.bx--text-input *,.bx--text-input :after,.bx--text-input :before{box-sizing:inherit}.bx--text-input:active,.bx--text-input:focus{outline:2px solid var(--cds-focus,#0f62fe);outline-offset:-2px}.bx--text-input-wrapper svg[hidden]{display:none}.bx--text-input--xl{height:3rem}.bx--text-input--sm{height:2rem}.bx--password-input{padding-right:2.5rem}.bx--text-input::-webkit-input-placeholder{color:var(--cds-text-03,#a8a8a8)}.bx--text-input:-ms-input-placeholder{color:var(--cds-text-03,#a8a8a8)}.bx--text-input::-ms-input-placeholder{color:var(--cds-text-03,#a8a8a8)}.bx--text-input::placeholder{color:var(--cds-text-03,#a8a8a8)}.bx--text-input--light{background-color:var(--cds-field-02,#fff)}.bx--text-input__field-wrapper{position:relative;display:flex;align-items:center;width:100%}.bx--text-input__field-wrapper .bx--text-input__invalid-icon{position:absolute;right:1rem;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);fill:var(--cds-support-01,#da1e28)}.bx--text-input__field-wrapper .bx--text-input--password__visibility{position:relative;display:inline-flex;align-items:center;cursor:pointer;overflow:visible}.bx--text-input__field-wrapper .bx--text-input--password__visibility:focus{outline:1px solid var(--cds-focus,#0f62fe)}.bx--text-input__field-wrapper .bx--text-input--password__visibility:focus{outline:1px solid transparent}.bx--text-input__field-wrapper .bx--text-input--password__visibility:focus svg{outline:1px solid var(--cds-focus,#0f62fe)}.bx--text-input__field-wrapper .bx--text-input--password__visibility .bx--assistive-text,.bx--text-input__field-wrapper .bx--text-input--password__visibility+.bx--assistive-text,.bx--text-input__field-wrapper .bx--text-input--password__visibility::after,.bx--text-input__field-wrapper .bx--text-input--password__visibility::before{position:absolute;z-index:10000;display:flex;align-items:center;opacity:0}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.bx--text-input__field-wrapper .bx--text-input--password__visibility .bx--assistive-text,.bx--text-input__field-wrapper .bx--text-input--password__visibility+.bx--assistive-text,.bx--text-input__field-wrapper .bx--text-input--password__visibility::after,.bx--text-input__field-wrapper .bx--text-input--password__visibility::before{display:inline-block}}.bx--text-input__field-wrapper .bx--text-input--password__visibility::after,.bx--text-input__field-wrapper .bx--text-input--password__visibility::before{transition:opacity 70ms cubic-bezier(.2,0,.38,.9)}.bx--text-input__field-wrapper .bx--text-input--password__visibility.bx--tooltip--a11y::after,.bx--text-input__field-wrapper .bx--text-input--password__visibility.bx--tooltip--a11y::before{transition:none}.bx--text-input__field-wrapper .bx--text-input--password__visibility::before{width:0;height:0;border-style:solid;content:''}.bx--text-input__field-wrapper .bx--text-input--password__visibility .bx--assistive-text,.bx--text-input__field-wrapper .bx--text-input--password__visibility+.bx--assistive-text{box-sizing:content-box;color:inherit;opacity:1;white-space:normal}.bx--text-input__field-wrapper .bx--text-input--password__visibility .bx--assistive-text,.bx--text-input__field-wrapper .bx--text-input--password__visibility+.bx--assistive-text,.bx--text-input__field-wrapper .bx--text-input--password__visibility::after{box-shadow:0 2px 6px rgba(0,0,0,.2);width:-webkit-max-content;width:-moz-max-content;width:max-content;min-width:1.5rem;max-width:13rem;height:auto;padding:.1875rem 1rem;border-radius:.125rem;color:var(--cds-inverse-01,#fff);font-weight:400;text-align:left;-webkit-transform:translateX(-50%);transform:translateX(-50%);background-color:var(--cds-inverse-02,#393939);font-size:var(--cds-body-short-01-font-size,.875rem);font-weight:var(--cds-body-short-01-font-weight,400);line-height:var(--cds-body-short-01-line-height,1.125rem);letter-spacing:var(--cds-body-short-01-letter-spacing,.16px)}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.bx--text-input__field-wrapper .bx--text-input--password__visibility .bx--assistive-text,.bx--text-input__field-wrapper .bx--text-input--password__visibility+.bx--assistive-text,.bx--text-input__field-wrapper .bx--text-input--password__visibility::after{width:13rem}}@supports (-ms-accelerator:true){.bx--text-input__field-wrapper .bx--text-input--password__visibility .bx--assistive-text,.bx--text-input__field-wrapper .bx--text-input--password__visibility+.bx--assistive-text,.bx--text-input__field-wrapper .bx--text-input--password__visibility::after{width:13rem}}@supports (-ms-ime-align:auto){.bx--text-input__field-wrapper .bx--text-input--password__visibility .bx--assistive-text,.bx--text-input__field-wrapper .bx--text-input--password__visibility+.bx--assistive-text,.bx--text-input__field-wrapper .bx--text-input--password__visibility::after{width:13rem}}.bx--text-input__field-wrapper .bx--text-input--password__visibility::after{content:attr(aria-label)}.bx--text-input__field-wrapper .bx--text-input--password__visibility.bx--tooltip--a11y::after{content:none}.bx--text-input__field-wrapper .bx--text-input--password__visibility.bx--tooltip--visible::after,.bx--text-input__field-wrapper .bx--text-input--password__visibility.bx--tooltip--visible::before,.bx--text-input__field-wrapper .bx--text-input--password__visibility:focus::after,.bx--text-input__field-wrapper .bx--text-input--password__visibility:focus::before,.bx--text-input__field-wrapper .bx--text-input--password__visibility:hover::after,.bx--text-input__field-wrapper .bx--text-input--password__visibility:hover::before{opacity:1}@-webkit-keyframes tooltip-fade{from{opacity:0}to{opacity:1}}@keyframes tooltip-fade{from{opacity:0}to{opacity:1}}.bx--text-input__field-wrapper .bx--text-input--password__visibility.bx--tooltip--visible .bx--assistive-text,.bx--text-input__field-wrapper .bx--text-input--password__visibility.bx--tooltip--visible+.bx--assistive-text,.bx--text-input__field-wrapper .bx--text-input--password__visibility:focus .bx--assistive-text,.bx--text-input__field-wrapper .bx--text-input--password__visibility:focus+.bx--assistive-text,.bx--text-input__field-wrapper .bx--text-input--password__visibility:hover .bx--assistive-text,.bx--text-input__field-wrapper .bx--text-input--password__visibility:hover+.bx--assistive-text{clip:auto;margin:auto;overflow:visible}.bx--text-input__field-wrapper .bx--text-input--password__visibility.bx--tooltip--visible .bx--assistive-text,.bx--text-input__field-wrapper .bx--text-input--password__visibility.bx--tooltip--visible+.bx--assistive-text,.bx--text-input__field-wrapper .bx--text-input--password__visibility.bx--tooltip--visible.bx--tooltip--a11y::before,.bx--text-input__field-wrapper .bx--text-input--password__visibility:focus .bx--assistive-text,.bx--text-input__field-wrapper .bx--text-input--password__visibility:focus+.bx--assistive-text,.bx--text-input__field-wrapper .bx--text-input--password__visibility:focus.bx--tooltip--a11y::before,.bx--text-input__field-wrapper .bx--text-input--password__visibility:hover .bx--assistive-text,.bx--text-input__field-wrapper .bx--text-input--password__visibility:hover+.bx--assistive-text,.bx--text-input__field-wrapper .bx--text-input--password__visibility:hover.bx--tooltip--a11y::before{-webkit-animation:tooltip-fade 70ms cubic-bezier(.2,0,.38,.9);animation:tooltip-fade 70ms cubic-bezier(.2,0,.38,.9)}.bx--text-input__field-wrapper .bx--text-input--password__visibility.bx--tooltip--hidden .bx--assistive-text,.bx--text-input__field-wrapper .bx--text-input--password__visibility.bx--tooltip--hidden+.bx--assistive-text{clip:rect(0,0,0,0);margin:-1px;overflow:hidden}.bx--text-input__field-wrapper .bx--text-input--password__visibility.bx--tooltip--hidden.bx--tooltip--a11y::before{-webkit-animation:none;animation:none;opacity:0}.bx--text-input__field-wrapper .bx--text-input--password__visibility .bx--assistive-text,.bx--text-input__field-wrapper .bx--text-input--password__visibility+.bx--assistive-text,.bx--text-input__field-wrapper .bx--text-input--password__visibility::after,.bx--text-input__field-wrapper .bx--text-input--password__visibility::before{bottom:0;left:50%}.bx--text-input__field-wrapper .bx--text-input--password__visibility::before{bottom:-.5rem;border-width:0 .25rem .3125rem .25rem;border-color:transparent transparent var(--cds-inverse-02,#393939) transparent;-webkit-transform:translate(-50%,100%);transform:translate(-50%,100%)}.bx--text-input__field-wrapper .bx--text-input--password__visibility .bx--assistive-text,.bx--text-input__field-wrapper .bx--text-input--password__visibility+.bx--assistive-text,.bx--text-input__field-wrapper .bx--text-input--password__visibility::after{bottom:-.8125rem;-webkit-transform:translate(-50%,100%);transform:translate(-50%,100%)}.bx--text-input__field-wrapper .bx--text-input--password__visibility,.bx--text-input__field-wrapper .bx--text-input--password__visibility__toggle.bx--tooltip__trigger{position:absolute;height:1rem;width:1rem;right:1rem;padding:0;border:0;background:0 0;cursor:pointer}.bx--text-input__field-wrapper .bx--text-input--password__visibility svg,.bx--text-input__field-wrapper .bx--text-input--password__visibility__toggle.bx--tooltip__trigger svg{fill:var(--cds-icon-02,#525252)}.bx--text-input__field-wrapper .bx--text-input--invalid{padding-right:2.5rem}.bx--text-input__field-wrapper .bx--text-input--invalid.bx--password-input{padding-right:4rem}.bx--text-input__field-wrapper .bx--text-input--invalid+.bx--text-input--password__visibility,.bx--text-input__field-wrapper .bx--text-input--invalid+.bx--text-input--password__visibility__toggle{right:1rem}.bx--password-input-wrapper .bx--text-input__invalid-icon{right:2.5rem}.bx--text-input:disabled+.bx--text-input--password__visibility svg,.bx--text-input:disabled+.bx--text-input--password__visibility__toggle svg{opacity:.5;cursor:not-allowed}.bx--text-input:disabled{outline:2px solid transparent;outline-offset:-2px;cursor:not-allowed;background-color:var(--cds-disabled-01,#f4f4f4);border-bottom:1px solid transparent;color:var(--cds-disabled-02,#c6c6c6)}.bx--text-input--light:disabled{background-color:var(--cds-field-02,#fff)}.bx--text-input:disabled::-webkit-input-placeholder{opacity:1;color:var(--cds-disabled-02,#c6c6c6)}.bx--text-input:disabled:-ms-input-placeholder{opacity:1;color:var(--cds-disabled-02,#c6c6c6)}.bx--text-input:disabled::-ms-input-placeholder{opacity:1;color:var(--cds-disabled-02,#c6c6c6)}.bx--text-input:disabled::placeholder{opacity:1;color:var(--cds-disabled-02,#c6c6c6)}.bx--text-input--invalid{outline:2px solid var(--cds-support-01,#da1e28);outline-offset:-2px;box-shadow:none}.bx--text-input--invalid .bx--text-input--password__visibility,.bx--text-input--invalid .bx--text-input--password__visibility__toggle{right:2.5rem}.bx--form--fluid .bx--text-input-wrapper{position:relative;background:var(--cds-field-01,#f4f4f4);transition:background-color 70ms cubic-bezier(.2,0,.38,.9),outline 70ms cubic-bezier(.2,0,.38,.9)}.bx--form--fluid .bx--label{position:absolute;top:.8125rem;left:1rem;z-index:1;margin:0}.bx--form--fluid .bx--form__helper-text{display:none}.bx--form--fluid .bx--text-input{min-height:4rem;padding:2rem 1rem .8125rem}.bx--form--fluid .bx--text-input__divider,.bx--text-input__divider{display:none}.bx--form--fluid .bx--text-input--invalid{border-bottom:none}.bx--form--fluid .bx--text-input--invalid+.bx--text-input__divider{display:block;margin:0 1rem;border-style:solid;border-bottom:none;border-color:var(--cds-ui-03,#e0e0e0)}.bx--form--fluid .bx--text-input__invalid-icon{top:5rem}.bx--form--fluid .bx--text-input-wrapper--light{background:var(--cds-field-02,#fff)}.bx--data-table-container+.bx--pagination,.bx--data-table-container+:host(bx-pagination){border-top:0}.bx--pagination,:host(bx-pagination){box-sizing:border-box;margin:0;padding:0;border:0;font-size:100%;font-family:inherit;vertical-align:baseline;font-size:var(--cds-body-short-01-font-size,.875rem);font-weight:var(--cds-body-short-01-font-weight,400);line-height:var(--cds-body-short-01-line-height,1.125rem);letter-spacing:var(--cds-body-short-01-letter-spacing,.16px);width:100%;overflow-x:scroll;background-color:var(--cds-ui-01,#f4f4f4);display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--cds-ui-03,#e0e0e0);height:3rem}.bx--pagination *,.bx--pagination :after,.bx--pagination :before,:host(bx-pagination) *,:host(bx-pagination) :after,:host(bx-pagination) :before{box-sizing:inherit}.bx--pagination .bx--select,:host(bx-pagination) .bx--select{height:100%;align-items:center;grid-template-columns:auto 0}.bx--pagination .bx--select-input--inline__wrapper,:host(bx-pagination) .bx--select-input--inline__wrapper{display:flex;height:100%}.bx--pagination .bx--select-input,:host(bx-pagination) .bx--select-input{font-size:var(--cds-body-short-01-font-size,.875rem);font-weight:var(--cds-body-short-01-font-weight,400);line-height:var(--cds-body-short-01-line-height,1.125rem);letter-spacing:var(--cds-body-short-01-letter-spacing,.16px);width:auto;min-width:auto;height:100%;padding:0 2.25rem 0 var(--cds-spacing-05,1rem)}.bx--pagination .bx--select-input:hover,:host(bx-pagination) .bx--select-input:hover{background:var(--cds-hover-ui,#e5e5e5)}.bx--pagination .bx--select__arrow,:host(bx-pagination) .bx--select__arrow{top:50%;-webkit-transform:translate(-.5rem,-50%);transform:translate(-.5rem,-50%)}.bx--pagination .bx--select__item-count .bx--select-input,.bx--pagination :host(bx-page-sizes-select) .bx--select-input,:host(bx-pagination) .bx--select__item-count .bx--select-input,:host(bx-pagination) :host(bx-page-sizes-select) .bx--select-input{border-right:.0625rem solid var(--cds-ui-03,#e0e0e0)}.bx--pagination .bx--select__page-number .bx--select-input,.bx--pagination :host(bx-pages-select) .bx--select-input,:host(bx-pagination) .bx--select__page-number .bx--select-input,:host(bx-pagination) :host(bx-pages-select) .bx--select-input{border-left:1px solid var(--cds-ui-03,#e0e0e0)}.bx--pagination__left,.bx--pagination__right{display:flex;height:100%;align-items:center}.bx--pagination__left>.bx--form-item,.bx--pagination__right>.bx--form-item{height:100%}.bx--pagination__left .bx--pagination__text,.bx--pagination__right .bx--pagination__text{white-space:nowrap}.bx--pagination__left .bx--pagination__text{margin-right:.0625rem}.bx--pagination__right .bx--pagination__text{margin-right:1rem;margin-left:.0625rem}.bx--pagination__left{padding:0 1rem}@media (min-width:42rem){.bx--pagination__text{display:inline-block}}span.bx--pagination__text{margin-left:1rem;color:var(--cds-text-02,#525252)}.bx--btn--ghost.bx--pagination__button,.bx--pagination__button{box-sizing:border-box;margin:0;padding:0;border:0;font-size:100%;font-family:inherit;vertical-align:baseline;border:none;background:0 0;cursor:pointer;height:100%;margin:0;padding:0 .875rem;border-left:1px solid var(--cds-ui-03,#e0e0e0);display:flex;justify-content:center;align-items:center;fill:var(--cds-ui-05,#161616);transition:outline 110ms cubic-bezier(.2,0,.38,.9);transition:background-color 110ms cubic-bezier(.2,0,.38,.9)}.bx--btn--ghost.bx--pagination__button *,.bx--btn--ghost.bx--pagination__button :after,.bx--btn--ghost.bx--pagination__button :before,.bx--pagination__button *,.bx--pagination__button :after,.bx--pagination__button :before{box-sizing:inherit}.bx--btn--ghost:focus.bx--pagination__button,.bx--pagination__button:focus{outline:2px solid var(--cds-focus,#0f62fe);outline-offset:-2px;border-left:0}.bx--btn--ghost:hover.bx--pagination__button,.bx--pagination__button:hover{background:var(--cds-hover-ui,#e5e5e5)}.bx--btn--ghost.bx--pagination__button--no-index,.bx--pagination__button--no-index{fill:var(--cds-disabled-02,#c6c6c6);cursor:not-allowed}.bx--btn--ghost:disabled:hover.bx--pagination__button,.bx--btn--ghost:hover.bx--pagination__button--no-index,.bx--pagination__button--no-index:hover,.bx--pagination__button:disabled:hover{cursor:not-allowed;fill:var(--cds-disabled-02,#c6c6c6);background:var(--cds-ui-01,#f4f4f4);border-color:var(--cds-ui-03,#e0e0e0)}.bx--pagination--inline{height:2.625rem;margin-top:-.5rem;margin-bottom:-.5rem;margin-right:-1rem}.bx--pagination--inline .bx--btn--ghost.bx--pagination__button,.bx--pagination--inline .bx--pagination__button{height:2.5rem;border-left:1px solid var(--cds-ui-03,#e0e0e0);border-right:1px solid var(--cds-ui-03,#e0e0e0);margin:0}.bx--pagination--inline .bx--btn--ghost.bx--pagination__button--forward,.bx--pagination--inline .bx--pagination__button--forward{border-right:0;padding:0 1rem;margin-left:1rem}.bx--pagination--inline .bx--btn--ghost.bx--pagination__button--backward,.bx--pagination--inline .bx--pagination__button--backward{margin:0 1rem;padding:0 1rem}.bx--pagination.bx--skeleton .bx--skeleton__text,:host(bx-pagination.bx--skeleton) .bx--skeleton__text{margin-right:1rem;margin-bottom:0}:host(bx-pagination){position:relative;outline:0}:host(bx-pagination) .bx--pagination__left{flex:1}:host(bx-pagination) .bx-ce--pagination__divider{height:100%;width:.0625rem;background-color:var(--cds-ui-03,#e0e0e0)}:host(bx-pagination) .bx--pagination__button svg{-webkit-transform:rotate(0);transform:rotate(0)}:host(bx-pages-select){outline:0}:host(bx-page-sizes-select){outline:0}:host(bx-page-sizes-select),:host(bx-pages-select){display:flex;align-items:center;height:100%}:host(bx-page-sizes-select) .bx--select-input,:host(bx-pages-select) .bx--select-input{font-size:var(--cds-body-short-01-font-size,.875rem);font-weight:var(--cds-body-short-01-font-weight,400);line-height:var(--cds-body-short-01-line-height,1.125rem);letter-spacing:var(--cds-body-short-01-letter-spacing,.16px);width:auto;min-width:auto;height:100%;padding:0 2.5rem 0 1rem;margin-right:0;border:none}@media (min-width:42rem){:host(bx-page-sizes-select) .bx--select-input,:host(bx-pages-select) .bx--select-input{padding-right:2.25rem}}:host(bx-page-sizes-select) .bx--select-input:hover,:host(bx-pages-select) .bx--select-input:hover{background:var(--cds-hover-ui,#e5e5e5)}:host(bx-page-sizes-select) .bx--select__arrow,:host(bx-pages-select) .bx--select__arrow{top:auto;bottom:auto}@media (min-width:42rem){:host(bx-page-sizes-select) .bx--select__arrow,:host(bx-pages-select) .bx--select__arrow{right:1rem}}:host(bx-page-sizes-select) .bx--select__item-count,:host(bx-page-sizes-select) :host(bx-page-sizes-select),:host(bx-pages-select) .bx--select__page-number,:host(bx-pages-select) :host(bx-pages-select){display:flex;align-items:center;height:100%;position:relative}:host(bx-pages-select) .bx--pagination__text{margin-right:1rem;margin-left:.0625rem}",
]);