| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320 | 
							- /* mixins & extensions */
 
- @keyframes in {
 
-   0% {
 
-     opacity: 0;
 
-   }
 
-   100% {
 
-     opacity: 1;
 
-   }
 
- }
 
- @keyframes in-down {
 
-   0% {
 
-     opacity: 0;
 
-     transform: translate3D(0, -5px, 0);
 
-   }
 
-   100% {
 
-     opacity: 1;
 
-     transform: translate3D(0, 0, 0);
 
-   }
 
- }
 
- @keyframes in-up {
 
-   0% {
 
-     opacity: 0;
 
-     transform: translate3D(0, 5px, 0);
 
-   }
 
-   100% {
 
-     opacity: 1;
 
-     transform: translate3D(0, 0, 0);
 
-   }
 
- }
 
- @keyframes in-scale {
 
-   0% {
 
-     opacity: 0;
 
-     transform: scale3D(0.95, 0.95, 1);
 
-   }
 
-   100% {
 
-     opacity: 1;
 
-     transform: scale3D(1, 1, 1);
 
-   }
 
- }
 
- :root {
 
-   --calcite-animation-timing: calc(150ms * var(--calcite-internal-duration-factor));
 
-   --calcite-internal-duration-factor: var(--calcite-duration-factor, 1);
 
-   --calcite-internal-animation-timing-fast: calc(100ms * var(--calcite-internal-duration-factor));
 
-   --calcite-internal-animation-timing-medium: calc(200ms * var(--calcite-internal-duration-factor));
 
-   --calcite-internal-animation-timing-slow: calc(300ms * var(--calcite-internal-duration-factor));
 
- }
 
- .calcite-animate {
 
-   opacity: 0;
 
-   animation-fill-mode: both;
 
-   animation-duration: var(--calcite-animation-timing);
 
- }
 
- .calcite-animate__in {
 
-   animation-name: in;
 
- }
 
- .calcite-animate__in-down {
 
-   animation-name: in-down;
 
- }
 
- .calcite-animate__in-up {
 
-   animation-name: in-up;
 
- }
 
- .calcite-animate__in-scale {
 
-   animation-name: in-scale;
 
- }
 
- @media (prefers-reduced-motion: reduce) {
 
-   :root {
 
-     --calcite-internal-duration-factor: 0.01;
 
-   }
 
- }
 
- /**
 
- * Currently only used in Checkbox.
 
- */
 
- :root {
 
-   --calcite-floating-ui-transition: var(--calcite-animation-timing);
 
- }
 
- :host([hidden]) {
 
-   display: none;
 
- }
 
- :host([disabled]) {
 
-   pointer-events: none;
 
-   cursor: default;
 
-   -webkit-user-select: none;
 
-           user-select: none;
 
-   opacity: var(--calcite-ui-opacity-disabled);
 
- }
 
- :host {
 
-   display: block;
 
-   flex: 0 1 auto;
 
-   outline: 2px solid transparent;
 
-   outline-offset: 2px;
 
-   margin-inline-start: 0px;
 
-   margin-inline-end: 1.25rem;
 
- }
 
- :host([layout=center]) {
 
-   margin-block: 0px;
 
-   margin-inline: 1.25rem;
 
-   text-align: center;
 
-   flex-basis: 12rem;
 
-   margin: auto;
 
- }
 
- :host([position=below]) .container {
 
-   border-block-end-width: 0px;
 
-   border-block-start-width: 2px;
 
-   border-block-start-color: transparent;
 
-   border-block-start-style: solid;
 
- }
 
- :host([position=bottom]) .container {
 
-   border-block-end-width: 0px;
 
-   border-block-start-width: 2px;
 
-   border-block-start-color: transparent;
 
-   border-block-start-style: solid;
 
- }
 
- :host .container {
 
-   outline-color: transparent;
 
- }
 
- :host(:focus) .container {
 
-   outline: 2px solid var(--calcite-ui-brand);
 
-   outline-offset: -2px;
 
- }
 
- :host(:active) a, 
 
- :host(:focus) a, 
 
- :host(:hover) a {
 
-   border-color: var(--calcite-ui-border-2);
 
-   color: var(--calcite-ui-text-1);
 
-   text-decoration-line: none;
 
- }
 
- :host([selected]) .container {
 
-   border-color: transparent;
 
-   color: var(--calcite-ui-text-1);
 
- }
 
- :host([disabled]) .container {
 
-   pointer-events: none;
 
-   opacity: 0.5;
 
- }
 
- :host([disabled]) ::slotted([calcite-hydrated][disabled]),
 
- :host([disabled]) [calcite-hydrated][disabled] {
 
-   /* prevent opacity stacking */
 
-   opacity: 1;
 
- }
 
- :host([scale=s]) {
 
-   margin-inline-end: 1rem;
 
- }
 
- :host([scale=s]) .container {
 
-   padding-block: 0.25rem;
 
-   font-size: var(--calcite-font-size--2);
 
-   line-height: 1rem;
 
- }
 
- :host([scale=m]) .container {
 
-   padding-block: 0.5rem;
 
-   font-size: var(--calcite-font-size--1);
 
-   line-height: 1rem;
 
- }
 
- :host([scale=l]) {
 
-   margin-inline-end: 1.5rem;
 
- }
 
- :host([scale=l]) .container {
 
-   padding-block: 0.75rem;
 
-   font-size: var(--calcite-font-size-0);
 
-   line-height: 1.25rem;
 
- }
 
- .container {
 
-   box-sizing: border-box;
 
-   display: flex;
 
-   block-size: 100%;
 
-   inline-size: 100%;
 
-   cursor: pointer;
 
-   -webkit-appearance: none;
 
-           appearance: none;
 
-   justify-content: center;
 
-   overflow: hidden;
 
-   text-overflow: ellipsis;
 
-   white-space: nowrap;
 
-   border-block-end-width: 2px;
 
-   padding-inline: 0px;
 
-   padding-block: 0.5rem;
 
-   font-size: var(--calcite-font-size--1);
 
-   line-height: 1rem;
 
-   color: var(--calcite-ui-text-3);
 
-   transition: all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;
 
-   border-block-end-color: transparent;
 
-   border-block-end-style: solid;
 
- }
 
- .calcite-tab-title--icon {
 
-   position: relative;
 
-   margin: 0px;
 
-   display: inline-flex;
 
-   align-self: center;
 
- }
 
- .calcite-tab-title--icon svg {
 
-   transition: all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;
 
- }
 
- .container--has-text {
 
-   padding: 0.25rem;
 
- }
 
- .container--has-text .calcite-tab-title--icon.icon-start {
 
-   margin-inline-end: 0.5rem;
 
- }
 
- .container--has-text .calcite-tab-title--icon.icon-end {
 
-   margin-inline-start: 0.5rem;
 
- }
 
- :host([icon-start][icon-end]) .calcite-tab-title--icon:first-child {
 
-   margin-inline-end: 0.5rem;
 
- }
 
- :host([bordered]) {
 
-   margin-inline-end: 0;
 
- }
 
- :host([bordered][selected]) {
 
-   box-shadow: inset 0px -2px var(--calcite-ui-foreground-1);
 
- }
 
- :host([bordered][selected][position=below]) {
 
-   box-shadow: inset 0 2px 0 var(--calcite-ui-foreground-1);
 
- }
 
- :host([bordered][selected][position=bottom]) {
 
-   box-shadow: inset 0 2px 0 var(--calcite-ui-foreground-1);
 
- }
 
- :host([bordered]:hover) .container, 
 
- :host([bordered]:focus) .container, 
 
- :host([bordered]:active) .container {
 
-   position: relative;
 
- }
 
- :host([bordered]:hover) .container {
 
-   background-color: var(--calcite-button-transparent-hover);
 
- }
 
- :host([bordered]) .container {
 
-   border-block-end-style: unset;
 
-   border-inline-start: 1px solid transparent;
 
-   border-inline-end: 1px solid transparent;
 
- }
 
- :host([bordered][position=below]) .container {
 
-   border-block-start-style: unset;
 
- }
 
- :host([bordered][position=bottom]) .container {
 
-   border-block-start-style: unset;
 
- }
 
- :host([selected][bordered]) .container {
 
-   border-inline-start-color: var(--calcite-ui-border-1);
 
-   border-inline-end-color: var(--calcite-ui-border-1);
 
- }
 
- :host([bordered]) .container {
 
-   padding-inline: 0.75rem;
 
- }
 
- :host([bordered][scale=s]) .container {
 
-   padding-inline: 0.5rem;
 
- }
 
- :host([bordered][scale=l]) .container {
 
-   padding-inline: 1rem;
 
- }
 
- @media (forced-colors: active) {
 
-   :host {
 
-     outline-width: 0;
 
-     outline-offset: 0;
 
-   }
 
-   :host(:focus) .container {
 
-     outline-color: highlight;
 
-   }
 
-   :host([bordered]) .container {
 
-     border-block-end-style: solid;
 
-   }
 
-   :host([bordered][position=below]) .container {
 
-     border-block-start-style: solid;
 
-   }
 
-   :host([bordered][position=bottom]) .container {
 
-     border-block-start-style: solid;
 
-   }
 
-   :host([bordered][selected]) .container {
 
-     border-block-end-style: none;
 
-   }
 
-   :host([bordered][position=below][selected]) .container {
 
-     border-block-start-style: none;
 
-   }
 
-   :host([bordered][position=bottom][selected]) .container {
 
-     border-block-start-style: none;
 
-   }
 
- }
 
 
  |