UNPKG

material-you-react

Version:

Material You: Material You (M3) Design system and its components for simple integration with Next.Js or other react-based frameworks

1,210 lines (1,130 loc) 45.2 kB
:root { /* Fully rounded */ --md-sys-shape-corner-full-family: 3px; /* Extra large top rounding */ --md-sys-shape-corner-extra-large-top-family: 1px; --md-sys-shape-corner-extra-large-top-default-size: 0px; --md-sys-shape-corner-extra-large-top-top-left: 28px; --md-sys-shape-corner-extra-large-top-top-right-unit: 1px; --md-sys-shape-corner-extra-large-top-top-right: 28px; /* Extra large rounding */ --md-sys-shape-corner-extra-large-family: 1px; --md-sys-shape-corner-extra-large-default-size-unit: 1px; --md-sys-shape-corner-extra-large-default-size: 28px; /* Large top rounding */ --md-sys-shape-corner-large-top-family: 1px; --md-sys-shape-corner-large-top-default-size-unit: 1px; --md-sys-shape-corner-large-top-default-size: 0px; --md-sys-shape-corner-large-top-top-left-unit: 1px; --md-sys-shape-corner-large-top-top-left: 16px; --md-sys-shape-corner-large-top-top-right-unit: 1px; --md-sys-shape-corner-large-top-top-right: 16px; /* Large end rounding */ --md-sys-shape-corner-large-end-family: 1px; --md-sys-shape-corner-large-end-default-size-unit: 1px; --md-sys-shape-corner-large-end-default-size: 0px; --md-sys-shape-corner-large-end-top-right-unit: 1px; --md-sys-shape-corner-large-end-top-right: 16px; --md-sys-shape-corner-large-end-bottom-right-unit: 1px; --md-sys-shape-corner-large-end-bottom-right: 16px; /* Large rounding */ --md-sys-shape-corner-large-family: 1px; --md-sys-shape-corner-large-default-size-unit: 1px; --md-sys-shape-corner-large-default-size: 16px; /* Medium rounding */ --md-sys-shape-corner-medium-family: 1px; --md-sys-shape-corner-medium-default-size-unit: 1px; --md-sys-shape-corner-medium-default-size: 12px; /* Small rounding */ --md-sys-shape-corner-small-family: 1px; --md-sys-shape-corner-small-default-size-unit: 1px; --md-sys-shape-corner-small-default-size: 8px; /* Extra small top rounding */ --md-sys-shape-corner-extra-small-top-family: 1px; --md-sys-shape-corner-extra-small-top-default-size-unit: 1px; --md-sys-shape-corner-extra-small-top-default-size: 0px; --md-sys-shape-corner-extra-small-top-top-left-unit: 1px; --md-sys-shape-corner-extra-small-top-top-left: 4px; --md-sys-shape-corner-extra-small-top-top-right-unit: 1px; --md-sys-shape-corner-extra-small-top-top-right: 4px; /* Extra small rounding */ --md-sys-shape-corner-extra-small-family: 1px; --md-sys-shape-corner-extra-small-default-size-unit: 1px; --md-sys-shape-corner-extra-small-default-size: 4px; /* No rounding */ --md-sys-shape-corner-none-family: 1px; --md-sys-shape-corner-none-default-size-unit: 1px; --md-sys-shape-corner-none-default-size: 0px; --md-sys-shape-small: var(--md-sys-shape-corner-small-default-size); --md-sys-shape-medium: var(--md-sys-shape-corner-medium-default-size); --md-sys-shape-large: var(--md-sys-shape-corner-large-default-size); /* Surface tint color */ --md-sys-elevation-surface-tint-color: var(--md-sys-color-primary); /* +5 */ --md-sys-elevation-level5-value: 12px; --md-sys-elevation-level5-unit: 1px; --md-sys-elevation-level5: 12px; /* +4 */ --md-sys-elevation-level4-value: 8px; --md-sys-elevation-level4-unit: 1px; --md-sys-elevation-level4: 8px; /* +3 */ --md-sys-elevation-level3-value: 6px; --md-sys-elevation-level3-unit: 1px; --md-sys-elevation-level3: 6px; /* +2 */ --md-sys-elevation-level2-value: 3px; --md-sys-elevation-level2-unit: 1px; --md-sys-elevation-level2: 3px; /* +1 */ --md-sys-elevation-level1-value: 1px; --md-sys-elevation-level1-unit: 1px; --md-sys-elevation-level1: 1px; /* 0 */ --md-sys-elevation-level0-value: 0px; --md-sys-elevation-level0-unit: 1px; --md-sys-elevation-level0: 0px; --md-sys-color-primary: 100, 85, 143; --md-sys-color-surface-tint: 100, 85, 143; --md-sys-color-on-primary: 255, 255, 255; --md-sys-color-primary-container: 232, 221, 255; --md-sys-color-on-primary-container: 32, 16, 71; --md-sys-color-secondary: 98, 91, 113; --md-sys-color-on-secondary: 255, 255, 255; --md-sys-color-secondary-container: 232, 222, 248; --md-sys-color-on-secondary-container: 30, 25, 43; --md-sys-color-tertiary: 125, 82, 96; --md-sys-color-on-tertiary: 255, 255, 255; --md-sys-color-tertiary-container: 255, 217, 227; --md-sys-color-on-tertiary-container: 49, 16, 29; --md-sys-color-error: 186, 26, 26; --md-sys-color-on-error: 255, 255, 255; --md-sys-color-error-container: 255, 218, 214; --md-sys-color-on-error-container: 65, 0, 2; --md-sys-color-background: 253, 247, 255; --md-sys-color-on-background: 29, 27, 32; --md-sys-color-surface: 253, 247, 255; --md-sys-color-on-surface: 29, 27, 32; --md-sys-color-surface-variant: 231, 224, 236; --md-sys-color-on-surface-variant: 73, 69, 78; --md-sys-color-outline: 122, 117, 127; --md-sys-color-outline-variant: 202, 196, 207; --md-sys-color-shadow: 0, 0, 0; --md-sys-color-scrim: 0, 0, 0; --md-sys-color-inverse-surface: 50, 47, 53; --md-sys-color-inverse-on-surface: 245, 239, 247; --md-sys-color-inverse-primary: 207, 189, 254; --md-sys-color-primary-fixed: 232, 221, 255; --md-sys-color-on-primary-fixed: 32, 16, 71; --md-sys-color-primary-fixed-dim: 207, 189, 254; --md-sys-color-on-primary-fixed-variant: 76, 62, 117; --md-sys-color-secondary-fixed: 232, 222, 248; --md-sys-color-on-secondary-fixed: 30, 25, 43; --md-sys-color-secondary-fixed-dim: 203, 194, 220; --md-sys-color-on-secondary-fixed-variant: 74, 68, 88; --md-sys-color-tertiary-fixed: 255, 217, 227; --md-sys-color-on-tertiary-fixed: 49, 16, 29; --md-sys-color-tertiary-fixed-dim: 239, 184, 200; --md-sys-color-on-tertiary-fixed-variant: 99, 59, 73; --md-sys-color-surface-dim: 222, 216, 224; --md-sys-color-surface-bright: 253, 247, 255; --md-sys-color-surface-container-lowest: 255, 255, 255; --md-sys-color-surface-container-low: 248, 242, 250; --md-sys-color-surface-container: 242, 236, 244; --md-sys-color-surface-container-high: 236, 230, 238; --md-sys-color-surface-container-highest: 230, 225, 233; /*Typography*/ /* Label Small */ --md-sys-typescale-label-small-text-transform: unset; --md-sys-typescale-label-small-axis-value: unset; --md-sys-typescale-label-small-font-style: unset; --md-sys-typescale-label-small-text-decoration: unset; /* Label Small line height */ --md-sys-typescale-label-small-line-height-value: 16px; --md-sys-typescale-label-small-line-height-unit: 2px; --md-sys-typescale-label-small-line-height: 16px; /* Label Small font tracking */ --md-sys-typescale-label-small-tracking-value: 0.5px; --md-sys-typescale-label-small-tracking-unit: 2px; --md-sys-typescale-label-small-tracking: 0.5px; /* Label Small font size */ --md-sys-typescale-label-small-size-value: 11px; --md-sys-typescale-label-small-size-unit: 2px; --md-sys-typescale-label-small-size: 11px; /* Label Small font weight */ --md-sys-typescale-label-small-weight: var(--md-ref-typeface-weight-medium); /* Label Small font name */ --md-sys-typescale-label-small-font: var(--md-ref-typeface-plain); /* Label Medium */ --md-sys-typescale-label-medium-axis-value: unset; --md-sys-typescale-label-medium-font-style: unset; --md-sys-typescale-label-medium-text-decoration: unset; /* Label Medium text transform */ --md-sys-typescale-label-medium-text-transform: 1; /* Label Medium line height */ --md-sys-typescale-label-medium-line-height-value: 16px; --md-sys-typescale-label-medium-line-height-unit: 2px; --md-sys-typescale-label-medium-line-height: 16px; /* Label Medium font tracking */ --md-sys-typescale-label-medium-tracking-value: 0.5px; --md-sys-typescale-label-medium-tracking-unit: 2px; --md-sys-typescale-label-medium-tracking: 0.5px; /* Label Medium font size */ --md-sys-typescale-label-medium-size-value: 12px; --md-sys-typescale-label-medium-size-unit: 2px; --md-sys-typescale-label-medium-size: 12px; /* Label Medium font weight */ --md-sys-typescale-label-medium-weight: var(--md-ref-typeface-weight-medium); /* Label Medium font name */ --md-sys-typescale-label-medium-font: var(--md-ref-typeface-plain); /* Label Large */ --md-sys-typescale-label-large-text-transform: unset; --md-sys-typescale-label-large-axis-value: unset; --md-sys-typescale-label-large-font-style: unset; --md-sys-typescale-label-large-text-decoration: unset; /* Label Large line height */ --md-sys-typescale-label-large-line-height-value: 20px; --md-sys-typescale-label-large-line-height-unit: 2px; --md-sys-typescale-label-large-line-height: 20px; /* Label Large font tracking */ --md-sys-typescale-label-large-tracking-value: 0.10000000149011612px; --md-sys-typescale-label-large-tracking-unit: 2px; --md-sys-typescale-label-large-tracking: 0.10000000149011612px; /* Label Large font size */ --md-sys-typescale-label-large-size-value: 14px; --md-sys-typescale-label-large-size-unit: 2px; --md-sys-typescale-label-large-size: 14px; /* Label Large font weight */ --md-sys-typescale-label-large-weight: var(--md-ref-typeface-weight-medium); /* Label Large font name */ --md-sys-typescale-label-large-font: var(--md-ref-typeface-plain); /* Body Small */ --md-sys-typescale-body-small-text-transform: unset; --md-sys-typescale-body-small-axis-value: unset; --md-sys-typescale-body-small-font-style: unset; --md-sys-typescale-body-small-text-decoration: unset; /* Body Small line height */ --md-sys-typescale-body-small-line-height-value: 16px; --md-sys-typescale-body-small-line-height-unit: 2px; --md-sys-typescale-body-small-line-height: 16px; /* Body Small font tracking */ --md-sys-typescale-body-small-tracking-value: 0.4000000059604645px; --md-sys-typescale-body-small-tracking-unit: 2px; --md-sys-typescale-body-small-tracking: 0.4000000059604645px; /* Body Small font size */ --md-sys-typescale-body-small-size-value: 12px; --md-sys-typescale-body-small-size-unit: 2px; --md-sys-typescale-body-small-size: 12px; /* Body Small font weight */ --md-sys-typescale-body-small-weight: var(--md-ref-typeface-weight-regular); /* Body Small font name */ --md-sys-typescale-body-small-font: var(--md-ref-typeface-plain); /* Body Medium */ --md-sys-typescale-body-medium-text-transform: unset; --md-sys-typescale-body-medium-axis-value: unset; --md-sys-typescale-body-medium-font-style: unset; --md-sys-typescale-body-medium-text-decoration: unset; /* Body Medium line height */ --md-sys-typescale-body-medium-line-height-value: 20px; --md-sys-typescale-body-medium-line-height-unit: 2px; --md-sys-typescale-body-medium-line-height: 20px; /* Body Medium font tracking */ --md-sys-typescale-body-medium-tracking-value: 0.25px; --md-sys-typescale-body-medium-tracking-unit: 2px; --md-sys-typescale-body-medium-tracking: 0.25px; /* Body Medium font size */ --md-sys-typescale-body-medium-size-value: 14px; --md-sys-typescale-body-medium-size-unit: 2px; --md-sys-typescale-body-medium-size: 14px; /* Body Medium font weight */ --md-sys-typescale-body-medium-weight: var(--md-ref-typeface-weight-regular); /* Body Medium font name */ --md-sys-typescale-body-medium-font: var(--md-ref-typeface-plain); /* Body Large */ --md-sys-typescale-body-large-text-transform: unset; --md-sys-typescale-body-large-axis-value: unset; --md-sys-typescale-body-large-font-style: unset; --md-sys-typescale-body-large-text-decoration: unset; /* Body Large line height */ --md-sys-typescale-body-large-line-height-value: 24px; --md-sys-typescale-body-large-line-height-unit: 2px; --md-sys-typescale-body-large-line-height: 24px; /* Body Large font tracking */ --md-sys-typescale-body-large-tracking-value: 0.5px; --md-sys-typescale-body-large-tracking-unit: 2px; --md-sys-typescale-body-large-tracking: 0.5px; /* Body Large font size */ --md-sys-typescale-body-large-size-value: 16px; --md-sys-typescale-body-large-size-unit: 2px; --md-sys-typescale-body-large-size: 16px; /* Body Large font weight */ --md-sys-typescale-body-large-weight: var(--md-ref-typeface-weight-regular); /* Body Large font name */ --md-sys-typescale-body-large-font: var(--md-ref-typeface-plain); /* Title Small */ --md-sys-typescale-title-small-text-transform: unset; --md-sys-typescale-title-small-axis-value: unset; --md-sys-typescale-title-small-font-style: unset; --md-sys-typescale-title-small-text-decoration: unset; /* Title Small line height */ --md-sys-typescale-title-small-line-height-value: 20px; --md-sys-typescale-title-small-line-height-unit: 2px; --md-sys-typescale-title-small-line-height: 20px; /* Title Small font tracking */ --md-sys-typescale-title-small-tracking-value: 0.10000000149011612px; --md-sys-typescale-title-small-tracking-unit: 2px; --md-sys-typescale-title-small-tracking: 0.10000000149011612px; /* Title Small font size */ --md-sys-typescale-title-small-size-value: 14px; --md-sys-typescale-title-small-size-unit: 2px; --md-sys-typescale-title-small-size: 22px; /* Title Small font weight */ --md-sys-typescale-title-small-weight: var(--md-ref-typeface-weight-medium); /* Title Small font name */ --md-sys-typescale-title-small-font: var(--md-ref-typeface-plain); /* Title Medium */ --md-sys-typescale-title-medium-text-transform: unset; --md-sys-typescale-title-medium-axis-value: unset; --md-sys-typescale-title-medium-font-style: unset; --md-sys-typescale-title-medium-text-decoration: unset; /* Title Medium line height */ --md-sys-typescale-title-medium-line-height-value: 24px; --md-sys-typescale-title-medium-line-height-unit: 2px; --md-sys-typescale-title-medium-line-height: 24px; /* Title Medium font tracking */ --md-sys-typescale-title-medium-tracking-value: 0.15000000596046448px; --md-sys-typescale-title-medium-tracking-unit: 2px; --md-sys-typescale-title-medium-tracking: 0.15000000596046448px; /* Title Medium font size */ --md-sys-typescale-title-medium-size-value: 16px; --md-sys-typescale-title-medium-size-unit: 2px; --md-sys-typescale-title-medium-size: 24px; /* Title Medium font weight */ --md-sys-typescale-title-medium-weight: var(--md-ref-typeface-weight-medium); /* Title Medium font name */ --md-sys-typescale-title-medium-font: var(--md-ref-typeface-plain); /* Title Large */ --md-sys-typescale-title-large-text-transform: unset; --md-sys-typescale-title-large-axis-value: unset; --md-sys-typescale-title-large-font-style: unset; --md-sys-typescale-title-large-text-decoration: unset; /* Title Large line height */ --md-sys-typescale-title-large-line-height-value: 28px; --md-sys-typescale-title-large-line-height-unit: 2px; --md-sys-typescale-title-large-line-height: 28px; /* Title Large font tracking */ --md-sys-typescale-title-large-tracking-value: 0px; --md-sys-typescale-title-large-tracking-unit: 2px; --md-sys-typescale-title-large-tracking: 0px; /* Title Large font size */ --md-sys-typescale-title-large-size-value: 22px; --md-sys-typescale-title-large-size-unit: 2px; --md-sys-typescale-title-large-size: 28px; /* Title Large font weight */ --md-sys-typescale-title-large-weight: var(--md-ref-typeface-weight-regular); /* Title Large font name */ --md-sys-typescale-title-large-font: var(--md-ref-typeface-brand); /* Headline Small */ --md-sys-typescale-headline-small-text-transform: unset; --md-sys-typescale-headline-small-axis-value: unset; --md-sys-typescale-headline-small-font-style: unset; --md-sys-typescale-headline-small-text-decoration: unset; /* Headline Small line height */ --md-sys-typescale-headline-small-line-height-value: 32px; --md-sys-typescale-headline-small-line-height-unit: 2px; --md-sys-typescale-headline-small-line-height: 32px; /* Headline Small font tracking */ --md-sys-typescale-headline-small-tracking-value: 0px; --md-sys-typescale-headline-small-tracking-unit: 2px; --md-sys-typescale-headline-small-tracking: 0px; /* Headline Small font size */ --md-sys-typescale-headline-small-size-value: 24px; --md-sys-typescale-headline-small-size-unit: 2px; --md-sys-typescale-headline-small-size: 24px; /* Headline Small font weight */ --md-sys-typescale-headline-small-weight: var( --md-ref-typeface-weight-regular ); /* Headline Small font name */ --md-sys-typescale-headline-small-font: var(--md-ref-typeface-brand); /* Headline Medium */ --md-sys-typescale-headline-medium-text-transform: unset; --md-sys-typescale-headline-medium-axis-value: unset; --md-sys-typescale-headline-medium-font-style: unset; --md-sys-typescale-headline-medium-text-decoration: unset; /* Headline Medium line height */ --md-sys-typescale-headline-medium-line-height-value: 36px; --md-sys-typescale-headline-medium-line-height-unit: 2px; --md-sys-typescale-headline-medium-line-height: 36px; /* Headline Medium font tracking */ --md-sys-typescale-headline-medium-tracking-value: 0px; --md-sys-typescale-headline-medium-tracking-unit: 2px; --md-sys-typescale-headline-medium-tracking: 0px; /* Headline Medium font size */ --md-sys-typescale-headline-medium-size-value: 28px; --md-sys-typescale-headline-medium-size-unit: 2px; --md-sys-typescale-headline-medium-size: 28px; /* Headline Medium font weight */ --md-sys-typescale-headline-medium-weight: var( --md-ref-typeface-weight-regular ); /* Headline Medium font name */ --md-sys-typescale-headline-medium-font: var(--md-ref-typeface-brand); /* Headline Large */ --md-sys-typescale-headline-large-text-transform: unset; --md-sys-typescale-headline-large-axis-value: unset; --md-sys-typescale-headline-large-font-style: unset; --md-sys-typescale-headline-large-text-decoration: unset; /* Headline Large line height */ --md-sys-typescale-headline-large-line-height-value: 40px; --md-sys-typescale-headline-large-line-height-unit: 2px; --md-sys-typescale-headline-large-line-height: 40px; /* Headline Large font tracking */ --md-sys-typescale-headline-large-tracking-value: 0px; --md-sys-typescale-headline-large-tracking-unit: 2px; --md-sys-typescale-headline-large-tracking: 0px; /* Headline Large font size */ --md-sys-typescale-headline-large-size-value: 32px; --md-sys-typescale-headline-large-size-unit: 2px; --md-sys-typescale-headline-large-size: 32px; /* Headline Large font name */ --md-sys-typescale-headline-large-font: var(--md-ref-typeface-brand); /* Headline Large font weight */ --md-sys-typescale-headline-large-weight: var( --md-ref-typeface-weight-regular ); /* Display Small */ --md-sys-typescale-display-small-text-transform: unset; --md-sys-typescale-display-small-axis-value: unset; --md-sys-typescale-display-small-font-style: unset; --md-sys-typescale-display-small-text-decoration: unset; /* Display Small line height */ --md-sys-typescale-display-small-line-height-value: 44px; --md-sys-typescale-display-small-line-height-unit: 2px; --md-sys-typescale-display-small-line-height: 44px; /* Display Small font tracking */ --md-sys-typescale-display-small-tracking-value: 0px; --md-sys-typescale-display-small-tracking-unit: 2px; --md-sys-typescale-display-small-tracking: 0px; /* Display Small font size */ --md-sys-typescale-display-small-size-value: 36px; --md-sys-typescale-display-small-size-unit: 2px; --md-sys-typescale-display-small-size: 36px; /* Display Small font weight */ --md-sys-typescale-display-small-weight: var( --md-ref-typeface-weight-regular ); /* Display Small font name */ --md-sys-typescale-display-small-font: var(--md-ref-typeface-brand); /* Display Medium */ --md-sys-typescale-display-medium-text-transform: unset; --md-sys-typescale-display-medium-axis-value: unset; --md-sys-typescale-display-medium-font-style: unset; --md-sys-typescale-display-medium-text-decoration: unset; /* Display Medium line height */ --md-sys-typescale-display-medium-line-height-value: 52px; --md-sys-typescale-display-medium-line-height-unit: 2px; --md-sys-typescale-display-medium-line-height: 52px; /* Display Medium font tracking */ --md-sys-typescale-display-medium-tracking-value: 0px; --md-sys-typescale-display-medium-tracking-unit: 2px; --md-sys-typescale-display-medium-tracking: 0px; /* Display Medium font size */ --md-sys-typescale-display-medium-size-value: 45px; --md-sys-typescale-display-medium-size-unit: 2px; --md-sys-typescale-display-medium-size: 45px; /* Display Medium font weight */ --md-sys-typescale-display-medium-weight: var( --md-ref-typeface-weight-regular ); /* Display Medium font name */ --md-sys-typescale-display-medium-font: var(--md-ref-typeface-brand); /* Display Large */ --md-sys-typescale-display-large-text-transform: unset; --md-sys-typescale-display-large-axis-value: unset; --md-sys-typescale-display-large-font-style: unset; --md-sys-typescale-display-large-text-decoration: unset; /* Display Large line height */ --md-sys-typescale-display-large-line-height-value: 64px; --md-sys-typescale-display-large-line-height-unit: 2px; --md-sys-typescale-display-large-line-height: 64px; /* Display Large font tracking */ --md-sys-typescale-display-large-tracking-value: -0.25px; --md-sys-typescale-display-large-tracking-unit: 2px; --md-sys-typescale-display-large-tracking: -0.25px; /* Display Large font size */ --md-sys-typescale-display-large-size-value: 57px; --md-sys-typescale-display-large-size-unit: 2px; --md-sys-typescale-display-large-size: 57px; /* Display Large font weight */ --md-sys-typescale-display-large-weight: var( --md-ref-typeface-weight-regular ); /* Display Large font name */ --md-sys-typescale-display-large-font: var(--md-ref-typeface-brand); /* Plain typeface */ --md-ref-typeface-plain: Google Sans, Roboto; /* Brand typeface */ --md-ref-typeface-brand: Google Sans, Roboto; /* Bold weight */ --md-ref-typeface-weight-bold: 700; /* Medium weight */ --md-ref-typeface-weight-medium: 500; /* Regular weight */ --md-ref-typeface-weight-regular: 400; } @media (prefers-color-scheme: dark) { :root { --md-sys-color-primary: 207, 189, 254; --md-sys-color-surface-tint: 207, 189, 254; --md-sys-color-on-primary: 53, 39, 93; --md-sys-color-primary-container: 76, 62, 117; --md-sys-color-on-primary-container: 232, 221, 255; --md-sys-color-secondary: 203, 194, 220; --md-sys-color-on-secondary: 51, 45, 65; --md-sys-color-secondary-container: 74, 68, 88; --md-sys-color-on-secondary-container: 232, 222, 248; --md-sys-color-tertiary: 239, 184, 200; --md-sys-color-on-tertiary: 74, 37, 50; --md-sys-color-tertiary-container: 99, 59, 73; --md-sys-color-on-tertiary-container: 255, 217, 227; --md-sys-color-error: 255, 180, 171; --md-sys-color-on-error: 105, 0, 5; --md-sys-color-error-container: 147, 0, 10; --md-sys-color-on-error-container: 255, 218, 214; --md-sys-color-background: 20, 18, 24; --md-sys-color-on-background: 230, 225, 233; --md-sys-color-surface: 20, 18, 24; --md-sys-color-on-surface: 230, 225, 233; --md-sys-color-surface-variant: 73, 69, 78; --md-sys-color-on-surface-variant: 202, 196, 207; --md-sys-color-outline: 148, 143, 153; --md-sys-color-outline-variant: 73, 69, 78; --md-sys-color-shadow: 0, 0, 0; --md-sys-color-scrim: 0, 0, 0; --md-sys-color-inverse-surface: 230, 225, 233; --md-sys-color-inverse-on-surface: 50, 47, 53; --md-sys-color-inverse-primary: 100, 85, 143; --md-sys-color-primary-fixed: 232, 221, 255; --md-sys-color-on-primary-fixed: 32, 16, 71; --md-sys-color-primary-fixed-dim: 207, 189, 254; --md-sys-color-on-primary-fixed-variant: 76, 62, 117; --md-sys-color-secondary-fixed: 232, 222, 248; --md-sys-color-on-secondary-fixed: 30, 25, 43; --md-sys-color-secondary-fixed-dim: 203, 194, 220; --md-sys-color-on-secondary-fixed-variant: 74, 68, 88; --md-sys-color-tertiary-fixed: 255, 217, 227; --md-sys-color-on-tertiary-fixed: 49, 16, 29; --md-sys-color-tertiary-fixed-dim: 239, 184, 200; --md-sys-color-on-tertiary-fixed-variant: 99, 59, 73; --md-sys-color-surface-dim: 20, 18, 24; --md-sys-color-surface-bright: 59, 56, 62; --md-sys-color-surface-container-lowest: 15, 13, 19; --md-sys-color-surface-container-low: 29, 27, 32; --md-sys-color-surface-container: 33, 31, 36; --md-sys-color-surface-container-high: 43, 41, 47; --md-sys-color-surface-container-highest: 54, 52, 58; } } .md-elevation { transition-duration: 280ms; transition-property: all; transition-timing-function: cubic-bezier(0.3, 0, 0, 1); } .material-symbols-rounded material-symbols-outlined { font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24; } .material-symbols-outlined { font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24; } .md-elevation-1 { box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.3), 0px 1px 3px 1px rgba(0, 0, 0, 0.15); } .md-elevation-2 { box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.3), 0px 2px 6px 2px rgba(0, 0, 0, 0.15); } /* Label Small */ .label-small { font-family: var(--md-sys-typescale-label-small-font); font-weight: var(--md-sys-typescale-label-small-weight); font-size: var(--md-sys-typescale-label-small-size); font-style: var(--md-sys-typescale-label-small-font-style); letter-spacing: var(--md-sys-typescale-label-small-tracking); line-height: var(--md-sys-typescale-label-small-line-height); text-transform: var(--md-sys-typescale-label-small-text-transform); text-decoration: var(--md-sys-typescale-label-small-text-decoration); } /* Label Medium */ .label-medium { font-family: var(--md-sys-typescale-label-medium-font); font-weight: var(--md-sys-typescale-label-medium-weight); font-size: var(--md-sys-typescale-label-medium-size); font-style: var(--md-sys-typescale-label-medium-font-style); letter-spacing: var(--md-sys-typescale-label-medium-tracking); line-height: var(--md-sys-typescale-label-medium-line-height); text-transform: var(--md-sys-typescale-label-medium-text-transform); text-decoration: var(--md-sys-typescale-label-medium-text-decoration); } /* Label Large */ .label-large { font-family: var(--md-sys-typescale-label-large-font); font-weight: var(--md-sys-typescale-label-large-weight); font-size: var(--md-sys-typescale-label-large-size); font-style: var(--md-sys-typescale-label-large-font-style); letter-spacing: var(--md-sys-typescale-label-large-tracking); line-height: var(--md-sys-typescale-label-large-line-height); text-transform: var(--md-sys-typescale-label-large-text-transform); text-decoration: var(--md-sys-typescale-label-large-text-decoration); } /* Body Small */ .body-small { font-family: var(--md-sys-typescale-body-small-font); font-weight: var(--md-sys-typescale-body-small-weight); font-size: var(--md-sys-typescale-body-small-size); font-style: var(--md-sys-typescale-body-small-font-style); letter-spacing: var(--md-sys-typescale-body-small-tracking); line-height: var(--md-sys-typescale-body-small-line-height); text-transform: var(--md-sys-typescale-body-small-text-transform); text-decoration: var(--md-sys-typescale-body-small-text-decoration); } /* Body Medium */ .body-medium { font-family: var(--md-sys-typescale-body-medium-font); font-weight: var(--md-sys-typescale-body-medium-weight); font-size: var(--md-sys-typescale-body-medium-size); font-style: var(--md-sys-typescale-body-medium-font-style); letter-spacing: var(--md-sys-typescale-body-medium-tracking); line-height: var(--md-sys-typescale-body-medium-line-height); text-transform: var(--md-sys-typescale-body-medium-text-transform); text-decoration: var(--md-sys-typescale-body-medium-text-decoration); } /* Body Large */ .body-large { font-family: var(--md-sys-typescale-body-large-font); font-weight: var(--md-sys-typescale-body-large-weight); font-size: var(--md-sys-typescale-body-large-size); font-style: var(--md-sys-typescale-body-large-font-style); letter-spacing: var(--md-sys-typescale-body-large-tracking); line-height: var(--md-sys-typescale-body-large-line-height); text-transform: var(--md-sys-typescale-body-large-text-transform); text-decoration: var(--md-sys-typescale-body-large-text-decoration); } /* Title Small */ .title-small { font-family: var(--md-sys-typescale-title-small-font); font-weight: var(--md-sys-typescale-title-small-weight); font-size: var(--md-sys-typescale-title-small-size); font-style: var(--md-sys-typescale-title-small-font-style); letter-spacing: var(--md-sys-typescale-title-small-tracking); line-height: var(--md-sys-typescale-title-small-line-height); text-transform: var(--md-sys-typescale-title-small-text-transform); text-decoration: var(--md-sys-typescale-title-small-text-decoration); } /* Title Medium */ .title-medium { font-family: var(--md-sys-typescale-title-medium-font); font-weight: var(--md-sys-typescale-title-medium-weight); font-size: var(--md-sys-typescale-title-medium-size); font-style: var(--md-sys-typescale-title-medium-font-style); letter-spacing: var(--md-sys-typescale-title-medium-tracking); line-height: var(--md-sys-typescale-title-medium-line-height); text-transform: var(--md-sys-typescale-title-medium-text-transform); text-decoration: var(--md-sys-typescale-title-medium-text-decoration); } /* Title Large */ .title-large { font-family: var(--md-sys-typescale-title-large-font); font-weight: var(--md-sys-typescale-title-large-weight); font-size: var(--md-sys-typescale-title-large-size); font-style: var(--md-sys-typescale-title-large-font-style); letter-spacing: var(--md-sys-typescale-title-large-tracking); line-height: var(--md-sys-typescale-title-large-line-height); text-transform: var(--md-sys-typescale-title-large-text-transform); text-decoration: var(--md-sys-typescale-title-large-text-decoration); } /* Headline Small */ .headline-small { font-family: var(--md-sys-typescale-headline-small-font); font-weight: var(--md-sys-typescale-headline-small-weight); font-size: var(--md-sys-typescale-headline-small-size); font-style: var(--md-sys-typescale-headline-small-font-style); letter-spacing: var(--md-sys-typescale-headline-small-tracking); line-height: var(--md-sys-typescale-headline-small-line-height); text-transform: var(--md-sys-typescale-headline-small-text-transform); text-decoration: var(--md-sys-typescale-headline-small-text-decoration); } /* Headline Medium */ .headline-medium { font-family: var(--md-sys-typescale-headline-medium-font); font-weight: var(--md-sys-typescale-headline-medium-weight); font-size: var(--md-sys-typescale-headline-medium-size); font-style: var(--md-sys-typescale-headline-medium-font-style); letter-spacing: var(--md-sys-typescale-headline-medium-tracking); line-height: var(--md-sys-typescale-headline-medium-line-height); text-transform: var(--md-sys-typescale-headline-medium-text-transform); text-decoration: var(--md-sys-typescale-headline-medium-text-decoration); } /* Headline Large */ .headline-large { font-family: var(--md-sys-typescale-headline-large-font); font-weight: var(--md-sys-typescale-headline-large-weight); font-size: var(--md-sys-typescale-headline-large-size); font-style: var(--md-sys-typescale-headline-large-font-style); letter-spacing: var(--md-sys-typescale-headline-large-tracking); line-height: var(--md-sys-typescale-headline-large-line-height); text-transform: var(--md-sys-typescale-headline-large-text-transform); text-decoration: var(--md-sys-typescale-headline-large-text-decoration); } /* Display Small */ .display-small { font-family: var(--md-sys-typescale-display-small-font); font-weight: var(--md-sys-typescale-display-small-weight); font-size: var(--md-sys-typescale-display-small-size); font-style: var(--md-sys-typescale-display-small-font-style); letter-spacing: var(--md-sys-typescale-display-small-tracking); line-height: var(--md-sys-typescale-display-small-line-height); text-transform: var(--md-sys-typescale-display-small-text-transform); text-decoration: var(--md-sys-typescale-display-small-text-decoration); } /* Display Medium */ .display-medium { font-family: var(--md-sys-typescale-display-medium-font); font-weight: var(--md-sys-typescale-display-medium-weight); font-size: var(--md-sys-typescale-display-medium-size); font-style: var(--md-sys-typescale-display-medium-font-style); letter-spacing: var(--md-sys-typescale-display-medium-tracking); line-height: var(--md-sys-typescale-display-medium-line-height); text-transform: var(--md-sys-typescale-display-medium-text-transform); text-decoration: var(--md-sys-typescale-display-medium-text-decoration); } /* Display Large */ .display-large { font-family: var(--md-sys-typescale-display-large-font); font-weight: var(--md-sys-typescale-display-large-weight); font-size: var(--md-sys-typescale-display-large-size); font-style: var(--md-sys-typescale-display-large-font-style); letter-spacing: var(--md-sys-typescale-display-large-tracking); line-height: var(--md-sys-typescale-display-large-line-height); text-transform: var(--md-sys-typescale-display-large-text-transform); text-decoration: var(--md-sys-typescale-display-large-text-decoration); } html { background: rgb(var(--md-sys-color-background)); } /* 📍 Filled Text Field */ .filled-text-field-inner-container { background-color: rgb(var(--md-sys-color-surface-container-highest)); position: relative; border-bottom: 1px solid rgb(var(--md-sys-color-on-surface-variant)); } .filled-text-field-inner-container.error { position: relative; border-bottom: 1px solid rgb(var(--md-sys-color-error)); } .filled-text-field-inner-container.error:hover { position: relative; border-bottom: 1px solid rgb(var(--md-sys-color-on-error-container)); } .filled-text-field-inner-container:hover { position: relative; border-bottom: 1px solid rgb(var(--md-sys-color-on-surface)); } .filled-text-field-inner-container.focused::before, .filled-text-field-inner-container.focused::after { content: ""; height: 3px; width: 50%; position: absolute; background: rgb(var(--md-sys-color-primary)); transition: 0.2s ease all; } .filled-text-field-inner-container.focused.error::before, .filled-text-field-inner-container.focused.error::after { content: ""; height: 3px; width: 50%; position: absolute; background: rgb(var(--md-sys-color-error)); transition: 0.2s ease all; } .filled-text-field-inner-container::before { left: 0; top: 100%; } .filled-text-field-inner-container::after { right: 0; top: 100%; } .filled-text-field-input-box { width: 100%; } /* Leading Icon + Trailing */ .filled-text-field-leading-icon, .filled-text-field-trailing-icon { color: rgb(var(--md-sys-color-on-surface-variant)); } .filled-text-field-leading-icon.error, .filled-text-field-trailing-icon.error { color: rgb(var(--md-sys-color-error)); } .filled-text-field-leading-icon.error:hover { color: rgb(var(--md-sys-color-on-surface-variant)); } .filled-text-field-trailing-icon.error:hover { color: rgb(var(--md-sys-color-on-error-container)); } /* input */ .filled-text-field-input { caret-color: "rgb(var(--md-sys-color-primary))"; padding: 13px 10px 1px 5px; display: block; width: 100%; border: none; background: transparent; } .filled-text-field-input.error:focus { caret-color: "rgb(var(--md-sys-color-error))"; } .filled-text-field-input:focus { outline: none; } /* label */ .filled-text-field-label { color: rgb(var(--md-sys-color-on-surface-variant)); font: var(--md-sys-typescale-body-large-font); line-height: var(--md-sys-typescale-body-large-line-height); font-size: var(--md-sys-typescale-body-large-size); font-weight: var(--md-sys-typescale-body-large-weight); letter-spacing: var(--md-sys-typescale-body-large-tracking); position: absolute; pointer-events: none; left: 5px; top: 50%; transform: translateY(-50%); transition: 0.2s ease all; -moz-transition: 0.2s ease all; -webkit-transition: 0.2s ease all; } .filled-text-field-label.error { color: rgb(var(--md-sys-color-error)); } .filled-text-field-label.error:hover { color: rgb(var(--md-sys-color-on-error-container)); } .filled-text-field-input:focus ~ .filled-text-field-label, .filled-text-field-input:not(:placeholder-shown) ~ .filled-text-field-label { top: 6px; font-size: var(--md-sys-typescale-body-small-size); color: rgb(var(--md-sys-color-primary)); } .filled-text-field-input:focus ~ .filled-text-field-label.error, .filled-text-field-input:not(:placeholder-shown) ~ .filled-text-field-label.error { top: 6px; font-size: var(--md-sys-typescale-body-small-size); color: rgb(var(--md-sys-color-error)); } /*📍 Outlined Text Field */ /* inner container */ .outlined-text-field-inner-container { width: 100%; border: 1px solid rgb(var(--md-sys-color-outline)); position: relative; background-color: transparent; } .outlined-text-field-inner-container.focused, .outlined-text-field-inner-container.focused:hover { border-color: rgb(var(--md-sys-color-primary)); border-width: 3px; } .outlined-text-field-inner-container.error { position: relative; border: 1px solid rgb(var(--md-sys-color-error)); } .outlined-text-field-inner-container.error:hover { position: relative; border: 1px solid rgb(var(--md-sys-color-on-error-container)); } .outlined-text-field-inner-container.error.focused, .outlined-text-field-input:valid { border-width: 3px; } .outlined-text-field-inner-container:hover { position: relative; border: 1px solid rgb(var(--md-sys-color-on-surface)); } /* Leading Icon + Trailing Icon */ .outlined-text-field-leading-icon, .outlined-text-field-trailing-icon { color: rgb(var(--md-sys-color-on-surface-variant)); } .outlined-text-field-leading-icon.error, .outlined-text-field-trailing-icon.error { color: rgb(var(--md-sys-color-error)); } .outlined-text-field-inner-container:hover ~ .outlined-text-field-leading-icon.error, .outlined-text-field-inner-container:hover ~ .outlined-text-field-trailing-icon.error { color: rgb(var(--md-sys-color-on-surface-variant)); } /* Input */ .outlined-text-field-input { caret-color: "rgb(var(--md-sys-color-primary))"; padding: 10px 10px 7px 5px; display: block; width: 100%; border: none; background: transparent; } .outlined-text-field-input:focus { outline: none; } /* Label */ .outlined-text-field-label { position: absolute; top: 50%; transform: translateY(-50%); pointer-events: none; color: rgb(var(--md-sys-color-on-surface-variant)); font: var(--md-sys-typescale-body-large-font); line-height: var(--md-sys-typescale-body-large-line-height); font-size: var(--md-sys-typescale-body-large-size); font-weight: var(--md-sys-typescale-body-large-weight); letter-spacing: var(--md-sys-typescale-body-large-tracking); line-height: var(--md-sys-typescale-body-small-line-height); transition: all 0.3s ease; z-index: 10; } .outlined-text-field-input:focus ~ .outlined-text-field-label, .outlined-text-field-input:not(:placeholder-shown) ~ .outlined-text-field-label { top: -10px; transition: all 0.5s ease; font-size: var(--md-sys-typescale-body-small-size); padding: 0px 4px; transition: 0.2s ease all; color: rgb(var(--md-sys-color-primary)); } .outlined-text-field-input:focus ~ .outlined-text-field-label.error, .outlined-text-field-input:not(:placeholder-shown) ~ .outlined-text-field-label.error { color: rgb(var(--md-sys-color-error)); } .outlined-text-field-label:hover { color: rgb(var(--md-sys-color-on-surface)); } .outlined-text-field-label.error { color: rgb(var(--md-sys-color-error)); } .outlined-text-field-label.error:hover { color: rgb(var(--md-sys-color-on-error-container)); } /* 📍 Divider */ .divider { box-sizing: border-box; } /* Date Picker */ .date-picker-container { position: absolute; } .date-input { display: flex; align-items: center; } .date-input input { width: 120px; padding: 8px; margin-right: 8px; border-radius: 4px; border: 1px solid #ccc; } .date-picker { position: absolute; left: 0; background-color: rgb(var(--md-sys-color-surface-container-high)); border-radius: 8px; z-index: 10; height: 400px; width: 360px; padding-left: 12px; padding-right: 12px; } .month-year-selector { display: flex; padding-top: 20px; padding-bottom: 30px; justify-content: space-between; align-items: center; flex: 1; text-align: center; background-color: transparent; cursor: pointer; } .month-year-parent { display: flex; align-items: end; justify-content: space-between; width: 100%; } .month-year-selector select, .month-year-selector button { padding: 4px; background-color: transparent; cursor: pointer; } .calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); grid-gap: 8px; margin-top: 8px; } .day-header { text-align: center; font-weight: bold; padding-bottom: 16px; } .day-cell { text-align: center; justify-content: center; display: flex; align-items: center; cursor: pointer; height: 36px; width: 36px; border: 1px solid transparent; cursor: pointer; } .day-cell:hover { cursor: pointer; border: 1px solid #6200ea; border-radius: 50%; } .day-cell.selected { background-color: #6200ea; color: white; border-radius: 50%; border: 1px solid transparent; } .empty-cell { visibility: hidden; } .picker-footer { display: flex; align-items: center; white-space: 4px; justify-content: end; padding-top: 16px; gap: 16px; color: #6200ea; } input[type="checkbox"]:checked:before { font-family: "Material Symbols Rounded"; font-size: 18px; content: "\E5CA"; padding: auto; } input[type="checkbox"].null:checked:before { font-family: "Material Symbols Rounded"; content: "\f88a"; font-size: 18px; padding: auto; } /* Ripple Effect */ .ripple { position: relative; overflow: hidden; } .ripple:before { content: ""; position: absolute; background-color: rgb(var(--md-sys-color-primary)); border-radius: 50%; width: 10px; height: 10px; transform: scale(0); opacity: 0; transition: transform 0.5s ease-out, opacity 0.5s; pointer-events: none; } .ripple.active:before { transform: scale(20); opacity: 0.1; } /* For Webkit browsers (e.g., Chrome, Safari) */ .scroll-container::-webkit-scrollbar { display: none; /* Hide the scrollbar */ } /* For Firefox */ .scroll-container { -ms-overflow-style: none; scrollbar-width: none; } .animate-transition-grow { animation: transition-grow 0.4s cubic-bezier(0.2, 0, 0, 1) 1; } ::-webkit-scrollbar { width: 4px; /* Adjust the width as needed */ background-color: transparent; /* Make the track transparent */ } ::-webkit-scrollbar-thumb { background-color: rgba(187, 183, 183, 0.916); /* Subtle gray color */ border-radius: 12px; /* Rounded corners */ } /* ::-webkit-scrollbar-thumb:hover ~ ::-webkit-scrollbar { background-color: black; padding: 0px 3px; } */ ::-webkit-scrollbar-thumb:hover { background-color: rgba(187, 183, 183, 0.764); /* Darken on hover */ } ::-webkit-scrollbar-track { background-color: transparent; /* Make the track transparent */ } /* Hide the scrollbar arrows */ ::-webkit-scrollbar-button { display: none; } /* .loader { width: 48px; aspect-ratio: 1; border-radius: 50%; border: 4px solid #514b82; animation: l20-1 0.8s infinite linear alternate, l20-2 1.6s infinite linear; -webkit-mask: radial-gradient(farthest-side,#0000 calc(100% - 8px),#000 0); } @keyframes l20-1{ 0% {clip-path: polygon(50% 50%,0 0, 50% 0%, 50% 0%, 50% 0%, 50% 0%, 50% 0% )} 12.5% {clip-path: polygon(50% 50%,0 0, 50% 0%, 100% 0%, 100% 0%, 100% 0%, 100% 0% )} 25% {clip-path: polygon(50% 50%,0 0, 50% 0%, 100% 0%, 100% 100%, 100% 100%, 100% 100% )} 50% {clip-path: polygon(50% 50%,0 0, 50% 0%, 100% 0%, 100% 100%, 50% 100%, 0% 100% )} 62.5% {clip-path: polygon(50% 50%,100% 0, 100% 0%, 100% 0%, 100% 100%, 50% 100%, 0% 100% )} 75% {clip-path: polygon(50% 50%,100% 100%, 100% 100%, 100% 100%, 100% 100%, 50% 100%, 0% 100% )} 100% {clip-path: polygon(50% 50%,50% 100%, 50% 100%, 50% 100%, 50% 100%, 50% 100%, 0% 100% )} } @keyframes l20-2{ 0% {transform:scaleY(1) rotate(0deg)} 49.99%{transform:scaleY(1) rotate(135deg)} 50% {transform:scaleY(-1) rotate(0deg)} 100% {transform:scaleY(-1) rotate(-135deg)} } */ .loader { width: 48px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(farthest-side, #514b82 94%, #0000) top/4px 4px no-repeat, conic-gradient(#514b82 100%, #514b82); -webkit-mask: radial-gradient(farthest-side, #0000 calc(100% - 4px), #000 0); animation: l13 1s infinite linear; } @keyframes l13 { 100% { transform: rotate(1turn); } }