igniteui-webcomponents
Version:
Ignite UI for Web Components is a complete library of UI components, giving you the ability to build modern web applications using encapsulation and the concept of reusable components in a dependency-free approach.
3 lines • 3.01 kB
JavaScript
import { css } from 'lit';
export const styles = css `:host{font-family:var(--ig-body-2-font-family, var(--ig-font-family));font-size:var(--ig-body-2-font-size);font-weight:var(--ig-body-2-font-weight);font-style:var(--ig-body-2-font-style);line-height:var(--ig-body-2-line-height);letter-spacing:var(--ig-body-2-letter-spacing);text-transform:var(--ig-body-2-text-transform);margin-top:var(--ig-body-2-margin-top);margin-bottom:var(--ig-body-2-margin-bottom);--component-size: var(--ig-size, var(--default-size))}:host ::part(helper-text){font-family:var(--ig-caption-font-family, var(--ig-font-family));font-size:var(--ig-caption-font-size);font-weight:var(--ig-caption-font-weight);font-style:var(--ig-caption-font-style);line-height:var(--ig-caption-line-height);letter-spacing:var(--ig-caption-letter-spacing);text-transform:var(--ig-caption-text-transform);margin-top:var(--ig-caption-margin-top);margin-bottom:var(--ig-caption-margin-bottom);color:var(--helper-text-color);grid-auto-rows:minmax(1.125rem, auto);margin-block-start:.3125rem}:host(:hover) [part~=container]{border-color:var(--hover-border-color)}:host(:focus-within) [part~=container]{border-color:var(--focused-border-color);border-width:.125rem}:host(:focus-within) [part~=prefix]:not([hidden]){margin-inline-start:-0.0625rem}:host(:focus-within) [part~=suffix]:not([hidden]){margin-inline-end:-0.0625rem}:host(:focus-within) textarea{margin-block:-0.0625rem;margin-inline-start:-0.0625rem}:host(:focus-within) [part~=prefix]:not([hidden])~textarea{margin-inline:initial}[part~=container]{border:.0625rem solid var(--border-color);background:var(--border-background);align-items:stretch;overflow:hidden;border-radius:var(--border-border-radius)}[part~=label]{display:block;font-size:.875rem;font-weight:600;position:static;transform:translateY(0);transform-origin:top left;margin-top:0;height:auto;margin-block-end:.25rem}:host([invalid]) [part~=label]{color:var(--idle-text-color)}textarea{font-family:var(--ig-body-2-font-family, var(--ig-font-family));font-size:var(--ig-body-2-font-size);font-weight:var(--ig-body-2-font-weight);font-style:var(--ig-body-2-font-style);line-height:var(--ig-body-2-line-height);letter-spacing:var(--ig-body-2-letter-spacing);text-transform:var(--ig-body-2-text-transform);margin-top:var(--ig-body-2-margin-top);margin-bottom:var(--ig-body-2-margin-bottom);padding:.5rem}:host([required]:not(:disabled)) [part~=label]::after,:host([required]:not([disabled])) [part~=label]::after{color:var(--error-secondary-color)}:host([invalid]:not(:disabled)) ::part(helper-text),:host([invalid]:not([disabled])) ::part(helper-text){color:var(--error-secondary-color)}:host([invalid]:not(:disabled)) [part~=container],:host([invalid]:not([disabled])) [part~=container]{border-color:var(--error-secondary-color)}:host(:disabled) [part~=container],:host([disabled]) [part~=container]{border-color:var(--disabled-border-color);background:var(--border-disabled-background)}`;
//# sourceMappingURL=textarea.fluent.css.js.map