diff --git a/app/page.tsx b/app/page.tsx index 703b2ad..0044be6 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -38,7 +38,7 @@ export default function Page() { fillIcon={1} icon={'change_history'} > - Label 1 + fin ita la comedia span color: var(--md-sys-color-on-surface) - & > svg > text - fill: var(--md-sys-color-on-surface) + & > svg + opacity: 0 + + & > text + fill: var(--md-sys-color-on-surface) + + &:not(.selected) + & > svg + display: none + + &::after, &::before + content: '' + width: 6px + position: relative & > span.m3.m3-ripple-domain > span.m3.ripple background-color: color-mix(in srgb, var(--md-sys-color-on-secondary-container) 12%, transparent) @@ -40,6 +52,9 @@ div.m3.m3-segmented-buttons &.selected background-color: var(--md-sys-color-secondary-container) + & > svg + opacity: 1 + & > span color: var(--md-sys-color-on-secondary-container) diff --git a/src/styles/fonts.css b/src/styles/fonts.css index 98a5703..fb80eb0 100644 --- a/src/styles/fonts.css +++ b/src/styles/fonts.css @@ -1,56 +1,44 @@ @font-face { font-family: Material-Symbols-Rounded-Regular; src: url("./font/MaterialSymbolsRounded[FILL,GRAD,opsz,wght].ttf"); - src: url("./font/MaterialSymbolsRounded[FILL,GRAD,opsz,wght].woff2") - format("woff2"); -} + src: url("./font/MaterialSymbolsRounded[FILL,GRAD,opsz,wght].woff2") format("woff2"); } @font-face { font-family: Material-Symbols-Outlined-Regular; src: url("./font/MaterialSymbolsOutlined[FILL,GRAD,opsz,wght].ttf"); - src: url("./font/MaterialSymbolsOutlined[FILL,GRAD,opsz,wght].woff2") - format("woff2"); -} + src: url("./font/MaterialSymbolsOutlined[FILL,GRAD,opsz,wght].woff2") format("woff2"); } @font-face { font-family: Material-Symbols-Sharp-Regular; src: url("./font/MaterialSymbolsSharp[FILL,GRAD,opsz,wght].ttf"); - src: url("./font/MaterialSymbolsSharp[FILL,GRAD,opsz,wght].woff2") - format("woff2"); -} + src: url("./font/MaterialSymbolsSharp[FILL,GRAD,opsz,wght].woff2") format("woff2"); } @font-face { - font-family: Roboto; + font-family: Roboto, system-ui; font-face-name: Thin; font-weight: 100; - src: url("./font/Roboto-Thin.ttf"); -} + src: url("./font/Roboto-Thin.ttf"); } @font-face { - font-family: Roboto; + font-family: Roboto, system-ui; font-face-name: Light; font-weight: 300; - src: url("./font/Roboto-Light.ttf"); -} + src: url("./font/Roboto-Light.ttf"); } @font-face { - font-family: Roboto; + font-family: Roboto, system-ui; font-face-name: Regular; font-weight: 400; - src: url("./font/Roboto-Regular.ttf"); -} + src: url("./font/Roboto-Regular.ttf"); } @font-face { - font-family: Roboto; + font-family: Roboto, system-ui; font-face-name: Medium; font-weight: 500; - src: url("./font/Roboto-Medium.ttf"); -} + src: url("./font/Roboto-Medium.ttf"); } @font-face { - font-family: Roboto; + font-family: Roboto, system-ui; font-face-name: Bold; font-weight: 700; - src: url("./font/Roboto-Bold.ttf"); -} + src: url("./font/Roboto-Bold.ttf"); } @font-face { - font-family: Roboto; + font-family: Roboto, system-ui; font-face-name: Black; font-weight: 900; - src: url("./font/Roboto-Black.ttf"); -} + src: url("./font/Roboto-Black.ttf"); } /*# sourceMappingURL=fonts.css.map */ diff --git a/src/styles/fonts.css.map b/src/styles/fonts.css.map index 88acafb..bd84402 100644 --- a/src/styles/fonts.css.map +++ b/src/styles/fonts.css.map @@ -1 +1,7 @@ -{"version":3,"sourceRoot":"","sources":["fonts.sass"],"names":[],"mappings":"AAGI;EACI;EACA;EACA;;AAHJ;EACI;EACA;EACA;;AAHJ;EACI;EACA;EACA;;AAKJ;EACI;EACA;EACA;EACA;;AAJJ;EACI;EACA;EACA;EACA;;AAJJ;EACI;EACA;EACA;EACA;;AAJJ;EACI;EACA;EACA;EACA;;AAJJ;EACI;EACA;EACA;EACA;;AAJJ;EACI;EACA;EACA;EACA","file":"fonts.css"} \ No newline at end of file +{ +"version": 3, +"mappings": ";EAIQ,WAAW,EAAE,gCAAwC;EACrD,GAAG,EAAE,6DAAqE;EAC1E,GAAG,EAAE,+EAAuF;;EAF5F,WAAW,EAAE,iCAAwC;EACrD,GAAG,EAAE,8DAAqE;EAC1E,GAAG,EAAE,gFAAuF;;EAF5F,WAAW,EAAE,8BAAwC;EACrD,GAAG,EAAE,2DAAqE;EAC1E,GAAG,EAAE,6EAAuF;;EAM5F,WAAW,EAAE,iBAAiB;EAC9B,cAAc,EAAE,IAAQ;EACxB,WAAW,EAAE,GAAU;EACvB,GAAG,EAAE,6BAAiC;;EAHtC,WAAW,EAAE,iBAAiB;EAC9B,cAAc,EAAE,KAAQ;EACxB,WAAW,EAAE,GAAU;EACvB,GAAG,EAAE,8BAAiC;;EAHtC,WAAW,EAAE,iBAAiB;EAC9B,cAAc,EAAE,OAAQ;EACxB,WAAW,EAAE,GAAU;EACvB,GAAG,EAAE,gCAAiC;;EAHtC,WAAW,EAAE,iBAAiB;EAC9B,cAAc,EAAE,MAAQ;EACxB,WAAW,EAAE,GAAU;EACvB,GAAG,EAAE,+BAAiC;;EAHtC,WAAW,EAAE,iBAAiB;EAC9B,cAAc,EAAE,IAAQ;EACxB,WAAW,EAAE,GAAU;EACvB,GAAG,EAAE,6BAAiC;;EAHtC,WAAW,EAAE,iBAAiB;EAC9B,cAAc,EAAE,KAAQ;EACxB,WAAW,EAAE,GAAU;EACvB,GAAG,EAAE,8BAAiC", +"sources": ["fonts.sass"], +"names": [], +"file": "fonts.css" +} diff --git a/src/styles/fonts.sass b/src/styles/fonts.sass index db6aaf3..40c7fb8 100644 --- a/src/styles/fonts.sass +++ b/src/styles/fonts.sass @@ -10,7 +10,7 @@ $weights: ("Thin": 100, "Light": 300, "Regular": 400, "Medium": 500, "Bold": 700 @each $name, $weight in $weights @font-face - font-family: Roboto, system-ui + font-family: Roboto font-face-name: #{$name} font-weight: #{$weight} src: url("./font/Roboto-#{$name}.ttf") diff --git a/src/styles/generics.css b/src/styles/generics.css index 61200c5..328106e 100644 --- a/src/styles/generics.css +++ b/src/styles/generics.css @@ -1,31 +1,29 @@ +@import url(./themes/tokens.css); +@import url(./themes/colors.module.css); +@import url(./themes/typography.module.css); @import "./themes/theme.dark.css" (prefers-color-scheme: dark); @import "./themes/theme.light.css" (prefers-color-scheme: light); div.m3.m3-card > :is(div.m3-card-footer, header.m3-card-header, section.m3-card-body) > .m3-card-media:first-child, div.m3.m3-card > .m3-card-media:first-child, div.m3.m3-card > .m3-card-action-area:first-child > .m3-card-action-area-content > .m3-card-media:first-child { border-radius: 12px !important; - padding: 0px; -} + padding: 0px; } div.m3.m3-card > .m3-card-action-area:first-child > .m3-card-action-area-content > .m3-card-media:first-child { border-radius: 12px !important; - padding: 0px; -} + padding: 0px; } div.m3-card-footer, header.m3-card-header, section.m3-card-body, .m3-card-media.m3 { display: block; box-sizing: border-box; - padding: 16px; -} + padding: 16px; } .m3.m3-card-media { width: 100%; display: block; contain: content; position: relative; - box-sizing: border-box; -} -.m3.m3-card-media.m3-rounded { - border-radius: 28px; -} + box-sizing: border-box; } + .m3.m3-card-media.m3-rounded { + border-radius: 28px; } div.m3.m3-card-action-area { display: block; @@ -33,201 +31,162 @@ div.m3.m3-card-action-area { contain: content; position: relative; border-radius: inherit; - transition: background-color, box-shadow, 0.2s cubic-bezier(0.2, 0, 0, 1); -} -div.m3.m3-card-action-area > div.m3.m3-card-action-area-content { - top: 0; - width: 100%; - position: relative; -} -div.m3.m3-card-action-area > span.m3:is(.m3-card-state-layer, .m3-ripple-domain) { - top: 0; - width: 100%; - height: 100%; - position: absolute; -} -div.m3.m3-card-action-area > .m3.m3-ripple-domain > .m3.ripple { - background-color: color-mix(in srgb, var(--md-sys-color-on-surface) 12%, transparent); -} -div.m3.m3-card-action-area:hover > span.m3.m3-card-state-layer { - background-color: color-mix(in srgb, var(--md-sys-color-on-surface) 8%, transparent); -} -div.m3.m3-card-action-area:is(div.m3.m3-card-action-area:focus, div.m3.m3-card-action-area:focus-visible, div.m3.m3-card-action-area:focus-within) > span.m3.m3-card-state-layer { - background-color: color-mix(in srgb, var(--md-sys-color-on-surface) 12%, transparent); -} -div.m3.m3-card-action-area:is(div.m3.m3-card-action-area:focus, div.m3.m3-card-action-area:focus-visible, div.m3.m3-card-action-area:focus-within, div.m3.m3-card-action-area:hover):is(.m3-card-outlined, .m3-card-filled) { - box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.15), 0 1px 2px 0 rgba(0, 0, 0, 0.3); -} -div.m3.m3-card-action-area:is(div.m3.m3-card-action-area:focus, div.m3.m3-card-action-area:focus-visible, div.m3.m3-card-action-area:focus-within, div.m3.m3-card-action-area:hover).m3-card-elevated { - box-shadow: 0 2px 6px 2px rgba(0, 0, 0, 0.15), 0 1px 2px 0 rgba(0, 0, 0, 0.3); -} -div.m3.m3-card-action-area:active:is(.m3-card-outlined, .m3-card-filled) { - box-shadow: none !important; -} -div.m3.m3-card-action-area:active.m3-card-elevated { - box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.15), 0 1px 2px 0 rgba(0, 0, 0, 0.3) !important; -} -div.m3.m3-card-action-area:active:not(div.m3.m3-card-action-area:active:has(span.m3.m3-ripple-domain)) > span.m3.m3-card-state-layer { - background-color: color-mix(in srgb, var(--md-sys-color-on-surface) 12%, transparent); -} + transition: background-color, box-shadow, 0.2s cubic-bezier(0.2, 0, 0, 1); } + div.m3.m3-card-action-area > div.m3.m3-card-action-area-content { + top: 0; + width: 100%; + position: relative; } + div.m3.m3-card-action-area > span.m3:is(.m3-card-state-layer, .m3-ripple-domain) { + top: 0; + width: 100%; + height: 100%; + position: absolute; } + div.m3.m3-card-action-area > .m3.m3-ripple-domain > .m3.ripple { + background-color: color-mix(in srgb, var(--md-sys-color-on-surface) 12%, transparent); } + div.m3.m3-card-action-area:hover > span.m3.m3-card-state-layer { + background-color: color-mix(in srgb, var(--md-sys-color-on-surface) 8%, transparent); } + div.m3.m3-card-action-area:is(&:focus, &:focus-visible, &:focus-within) > span.m3.m3-card-state-layer { + background-color: color-mix(in srgb, var(--md-sys-color-on-surface) 12%, transparent); } + div.m3.m3-card-action-area:is(&:focus, &:focus-visible, &:focus-within, &:hover):is(.m3-card-outlined, .m3-card-filled) { + box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.15), 0 1px 2px 0 rgba(0, 0, 0, 0.3); } + div.m3.m3-card-action-area:is(&:focus, &:focus-visible, &:focus-within, &:hover).m3-card-elevated { + box-shadow: 0 2px 6px 2px rgba(0, 0, 0, 0.15), 0 1px 2px 0 rgba(0, 0, 0, 0.3); } + div.m3.m3-card-action-area:active:is(.m3-card-outlined, .m3-card-filled) { + box-shadow: none !important; } + div.m3.m3-card-action-area:active.m3-card-elevated { + box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.15), 0 1px 2px 0 rgba(0, 0, 0, 0.3) !important; } + div.m3.m3-card-action-area:active:not(div.m3.m3-card-action-area:active:has(span.m3.m3-ripple-domain)) > span.m3.m3-card-state-layer { + background-color: color-mix(in srgb, var(--md-sys-color-on-surface) 12%, transparent); } svg.m3.m3-svg-icon > text { text-anchor: middle; dominant-baseline: middle; - alignment-baseline: middle; -} + alignment-baseline: middle; } svg.m3.m3-svg-icon > text.m3-size-12px { width: 12px; aspect-ratio: 1; font-size: 12px; - line-height: 12px; -} + line-height: 12px; } svg.m3.m3-svg-icon > text.m3-size-16px { width: 16px; aspect-ratio: 1; font-size: 16px; - line-height: 16px; -} + line-height: 16px; } svg.m3.m3-svg-icon > text.m3-size-20px { width: 20px; aspect-ratio: 1; font-size: 20px; - line-height: 20px; -} + line-height: 20px; } svg.m3.m3-svg-icon > text.m3-size-24px { width: 24px; aspect-ratio: 1; font-size: 24px; - line-height: 24px; -} + line-height: 24px; } svg.m3.m3-svg-icon > text.m3-size-28px { width: 28px; aspect-ratio: 1; font-size: 28px; - line-height: 28px; -} + line-height: 28px; } svg.m3.m3-svg-icon > text.m3-size-32px { width: 32px; aspect-ratio: 1; font-size: 32px; - line-height: 32px; -} + line-height: 32px; } svg.m3.m3-svg-icon > text.m3-size-36px { width: 36px; aspect-ratio: 1; font-size: 36px; - line-height: 36px; -} + line-height: 36px; } svg.m3.m3-svg-icon > text.m3-size-40px { width: 40px; aspect-ratio: 1; font-size: 40px; - line-height: 40px; -} + line-height: 40px; } svg.m3.m3-svg-icon > text.m3-size-48px { width: 48px; aspect-ratio: 1; font-size: 48px; - line-height: 48px; -} + line-height: 48px; } svg.m3.m3-svg-icon > text.m3-Outlined { - font-family: Material-Symbols-Outlined-Regular; -} + font-family: Material-Symbols-Outlined-Regular; } svg.m3.m3-svg-icon > text.m3-Rounded { - font-family: Material-Symbols-Rounded-Regular; -} + font-family: Material-Symbols-Rounded-Regular; } svg.m3.m3-svg-icon > text.m3-Sharp { - font-family: Material-Symbols-Sharp-Regular; -} + font-family: Material-Symbols-Sharp-Regular; } svg.m3.m3-badge { position: absolute; - background-color: var(--md-sys-color-error); -} -svg.m3.m3-badge.disable-value { - padding: 0; - height: 6px; - width: 6px; - border-radius: 3px; -} -svg.m3.m3-badge.disable-value > text { - display: none; -} -svg.m3.m3-badge { - border-radius: 8px; - height: 16px; -} -svg.m3.m3-badge > text { - fill: var(--md-sys-color-on-error); - font-size: var(--md-sys-typescale-label-small-font-size); - font-weight: var(--md-sys-typescale-label-small-font-weight); - line-height: var(--md-sys-typescale-label-small-line-height); - font-optical-sizing: none; - alignment-baseline: central; - text-anchor: middle; - display: flex; - align-items: center; - justify-content: center; -} + background-color: var(--md-sys-color-error); } + svg.m3.m3-badge.disable-value { + padding: 0; + height: 6px; + width: 6px; + border-radius: 3px; } + svg.m3.m3-badge.disable-value > text { + display: none; } + svg.m3.m3-badge { + border-radius: 8px; + height: 16px; } + svg.m3.m3-badge > text { + fill: var(--md-sys-color-on-error); + font-size: var(--md-sys-typescale-label-small-font-size); + font-weight: var(--md-sys-typescale-label-small-font-weight); + line-height: var(--md-sys-typescale-label-small-line-height); + font-optical-sizing: none; + alignment-baseline: central; + text-anchor: middle; + display: flex; + align-items: center; + justify-content: center; } @font-face { font-family: Material-Symbols-Rounded-Regular; src: url("./font/MaterialSymbolsRounded[FILL,GRAD,opsz,wght].ttf"); - src: url("./font/MaterialSymbolsRounded[FILL,GRAD,opsz,wght].woff2") format("woff2"); -} + src: url("./font/MaterialSymbolsRounded[FILL,GRAD,opsz,wght].woff2") format("woff2"); } @font-face { font-family: Material-Symbols-Outlined-Regular; src: url("./font/MaterialSymbolsOutlined[FILL,GRAD,opsz,wght].ttf"); - src: url("./font/MaterialSymbolsOutlined[FILL,GRAD,opsz,wght].woff2") format("woff2"); -} + src: url("./font/MaterialSymbolsOutlined[FILL,GRAD,opsz,wght].woff2") format("woff2"); } @font-face { font-family: Material-Symbols-Sharp-Regular; src: url("./font/MaterialSymbolsSharp[FILL,GRAD,opsz,wght].ttf"); - src: url("./font/MaterialSymbolsSharp[FILL,GRAD,opsz,wght].woff2") format("woff2"); -} + src: url("./font/MaterialSymbolsSharp[FILL,GRAD,opsz,wght].woff2") format("woff2"); } @font-face { - font-family: Roboto, system-ui; + font-family: Roboto; font-face-name: Thin; font-weight: 100; - src: url("./font/Roboto-Thin.ttf"); -} + src: url("./font/Roboto-Thin.ttf"); } @font-face { - font-family: Roboto, system-ui; + font-family: Roboto; font-face-name: Light; font-weight: 300; - src: url("./font/Roboto-Light.ttf"); -} + src: url("./font/Roboto-Light.ttf"); } @font-face { - font-family: Roboto, system-ui; + font-family: Roboto; font-face-name: Regular; font-weight: 400; - src: url("./font/Roboto-Regular.ttf"); -} + src: url("./font/Roboto-Regular.ttf"); } @font-face { - font-family: Roboto, system-ui; + font-family: Roboto; font-face-name: Medium; font-weight: 500; - src: url("./font/Roboto-Medium.ttf"); -} + src: url("./font/Roboto-Medium.ttf"); } @font-face { - font-family: Roboto, system-ui; + font-family: Roboto; font-face-name: Bold; font-weight: 700; - src: url("./font/Roboto-Bold.ttf"); -} + src: url("./font/Roboto-Bold.ttf"); } @font-face { - font-family: Roboto, system-ui; + font-family: Roboto; font-face-name: Black; font-weight: 900; - src: url("./font/Roboto-Black.ttf"); -} + src: url("./font/Roboto-Black.ttf"); } .m3.m3-ripple-domain { position: absolute; width: 100%; height: 100%; z-index: 20; - pointer-events: none; -} + pointer-events: none; } .m3.ripple { position: absolute; @@ -244,214 +203,161 @@ svg.m3.m3-badge > text { animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 0.55s; transition-property: opacity, background-color; - transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); -} -.m3.ripple.visible { - opacity: 1 !important; -} + transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); } + .m3.ripple.visible { + opacity: 1 !important; } @keyframes rippleAppearanceAnimation { 0% { - transform: scale3d(0, 0, 0); - } + transform: scale3d(0, 0, 0); } 100% { - transform: scale3d(1, 1, 1); - } -} + transform: scale3d(1, 1, 1); } } hr.m3.m3-divider { border: none; outline: 0.5px solid var(--md-sys-color-outline-variant); position: relative; - margin: 0; -} -hr.m3.m3-divider.vertical { - height: auto; - writing-mode: vertical-lr; -} -hr.m3.m3-divider.vertical.inset { - margin-inline-start: 16px; -} -hr.m3.m3-divider.vertical.middle-inset { - margin-inline: 16px; -} -hr.m3.m3-divider.horizontal { - width: auto; - writing-mode: horizontal-tb; -} -hr.m3.m3-divider.horizontal.inset { - margin-inline-start: 16px; -} -hr.m3.m3-divider.horizontal.middle-inset { - margin-inline: 16px; -} + margin: 0; } + hr.m3.m3-divider.vertical { + height: auto; + writing-mode: vertical-lr; } + hr.m3.m3-divider.vertical.inset { + margin-inline-start: 16px; } + hr.m3.m3-divider.vertical.middle-inset { + margin-inline: 16px; } + hr.m3.m3-divider.horizontal { + width: auto; + writing-mode: horizontal-tb; } + hr.m3.m3-divider.horizontal.inset { + margin-inline-start: 16px; } + hr.m3.m3-divider.horizontal.middle-inset { + margin-inline: 16px; } div.m3.m3-container { display: block; border-radius: 12px; position: relative; contain: content; - transition: box-shadow 0.2s cubic-bezier(0.2, 0, 0, 1); -} -div.m3.m3-container.m3-container-filled { - background-color: var(--md-sys-color-surface-container-highest); -} -div.m3.m3-container.m3-container-outlined { - background-color: var(--md-sys-color-surface); - outline-offset: -1px; - outline: 1px solid var(--md-sys-color-outline-variant); -} -div.m3.m3-container.m3-container-elevated { - box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.15), 0 1px 2px 0 rgba(0, 0, 0, 0.3); - background-color: var(--md-sys-color-surface-container-low); -} + transition: box-shadow 0.2s cubic-bezier(0.2, 0, 0, 1); } + div.m3.m3-container.m3-container-filled { + background-color: var(--md-sys-color-surface-container-highest); } + div.m3.m3-container.m3-container-outlined { + background-color: var(--md-sys-color-surface); + outline-offset: -1px; + outline: 1px solid var(--md-sys-color-outline-variant); } + div.m3.m3-container.m3-container-elevated { + box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.15), 0 1px 2px 0 rgba(0, 0, 0, 0.3); + background-color: var(--md-sys-color-surface-container-low); } button.m3.m3-fab { - transition: background-color, box-shadow, 0.2s cubic-bezier(0.2, 0, 0, 1) !important; -} -button.m3.m3-fab > span.m3-icon { - font-family: Material-Symbols-Outlined-Regular, sans-serif; -} -button.m3.m3-fab.m3 { - contain: content; - box-sizing: border-box; - display: inline-flex; - flex-direction: row; - justify-content: center; - align-items: center; - text-align: center; - border: none; - gap: 12px; -} -button.m3.m3-fab::before { - transition: background-color, box-shadow, 0.2s cubic-bezier(0.2, 0, 0, 1) !important; - content: ""; - top: 0; - bottom: 0; - left: 0; - right: 0; - position: absolute; - background: rgba(0, 0, 0, 0); -} -button.m3.m3-fab.surface { - background-color: var(--md-sys-color-surface-container-high); - color: var(--md-sys-color-primary); -} -button.m3.m3-fab.surface:not(.without-elevation) { - box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3), 0 4px 8px 3px rgba(0, 0, 0, 0.15); -} -button.m3.m3-fab.surface > svg.m3-svg-icon { - fill: var(--md-sys-color-primary); -} -button.m3.m3-fab.surface > .m3.m3-ripple-domain > .m3.ripple { - background: color-mix(in srgb, var(--md-sys-color-primary) 12%, transparent); -} -button.m3.m3-fab.primary { - background-color: var(--md-sys-color-primary-container); - color: var(--md-sys-color-on-primary-container); -} -button.m3.m3-fab.primary:not(.without-elevation) { - box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3), 0 4px 8px 3px rgba(0, 0, 0, 0.15); -} -button.m3.m3-fab.primary > svg.m3-svg-icon { - fill: var(--md-sys-color-on-primary-container); -} -button.m3.m3-fab.primary > .m3.m3-ripple-domain > .m3.ripple { - background: color-mix(in srgb, var(--md-sys-color-on-primary-container) 12%, transparent); -} -button.m3.m3-fab.secondary { - background-color: var(--md-sys-color-secondary-container); - color: var(--md-sys-color-on-secondary-container); -} -button.m3.m3-fab.secondary:not(.without-elevation) { - box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3), 0 4px 8px 3px rgba(0, 0, 0, 0.15); -} -button.m3.m3-fab.secondary > svg.m3-svg-icon { - fill: var(--md-sys-color-on-secondary-container); -} -button.m3.m3-fab.secondary > .m3.m3-ripple-domain > .m3.ripple { - background: color-mix(in srgb, var(--md-sys-color-on-secondary-container) 12%, transparent); -} -button.m3.m3-fab.tertiary { - background-color: var(--md-sys-color-tertiary-container); - color: var(--md-sys-color-on-tertiary-container); -} -button.m3.m3-fab.tertiary:not(.without-elevation) { - box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3), 0 4px 8px 3px rgba(0, 0, 0, 0.15); -} -button.m3.m3-fab.tertiary > svg.m3-svg-icon { - fill: var(--md-sys-color-on-tertiary-container); -} -button.m3.m3-fab.tertiary > .m3.m3-ripple-domain > .m3.ripple { - background: color-mix(in srgb, var(--md-sys-color-on-tertiary-container) 12%, transparent); -} -button.m3.m3-fab.m3-small-fab { - width: 40px; - height: 40px; - border-radius: 12px; - padding: 11px; - font-size: 24px; -} -button.m3.m3-fab.m3-default-fab { - width: 56px; - height: 56px; - border-radius: 16px; - padding: 19px; - font-size: 24px; -} -button.m3.m3-fab.m3-large-fab { - width: 96px; - height: 96px; - border-radius: 28px; - padding: 34.5px; - font-size: 36px; -} -button.m3.m3-fab.m3-extended-fab { - width: auto; - height: 56px; - border-radius: 16px; - padding: 19px; - font-size: 24px; -} -button.m3.m3-fab:not(.without-elevation):is(.surface, .primary, .secondary, .tertiary):hover { - box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.3), 0 6px 10px 4px rgba(0, 0, 0, 0.15); -} -button.m3.m3-fab:not(.without-elevation):is(.surface, .primary, .secondary, .tertiary):active { - box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3), 0 4px 8px 3px rgba(0, 0, 0, 0.15) !important; -} -button.m3.m3-fab:hover.surface::before { - background-color: color-mix(in srgb, var(--md-sys-color-primary) 8%, transparent); -} -button.m3.m3-fab:hover.primary::before { - background-color: color-mix(in srgb, var(--md-sys-color-on-primary-container) 8%, transparent); -} -button.m3.m3-fab:hover.secondary::before { - background-color: color-mix(in srgb, var(--md-sys-color-on-secondary-container) 8%, transparent); -} -button.m3.m3-fab:hover.tertiary::before { - background-color: color-mix(in srgb, var(--md-sys-color-on-tertiary-container) 8%, transparent); -} -button.m3.m3-fab:focus-visible.surface::before { - background-color: color-mix(in srgb, var(--md-sys-color-primary) 12%, transparent); -} -button.m3.m3-fab:focus-visible.primary::before { - background-color: color-mix(in srgb, var(--md-sys-color-on-primary-container) 12%, transparent); -} -button.m3.m3-fab:focus-visible.secondary::before { - background-color: color-mix(in srgb, var(--md-sys-color-on-secondary-container) 12%, transparent); -} -button.m3.m3-fab:focus-visible.tertiary::before { - background-color: color-mix(in srgb, var(--md-sys-color-on-tertiary-container) 12%, transparent); -} + transition: background-color, box-shadow, 0.2s cubic-bezier(0.2, 0, 0, 1) !important; } + button.m3.m3-fab > span.m3-icon { + font-family: Material-Symbols-Outlined-Regular, sans-serif; } + button.m3.m3-fab.m3 { + contain: content; + box-sizing: border-box; + display: inline-flex; + flex-direction: row; + justify-content: center; + align-items: center; + text-align: center; + border: none; + gap: 12px; } + button.m3.m3-fab::before { + transition: background-color, box-shadow, 0.2s cubic-bezier(0.2, 0, 0, 1) !important; + content: ""; + top: 0; + bottom: 0; + left: 0; + right: 0; + position: absolute; + background: #00000000; } + button.m3.m3-fab.surface { + background-color: var(--md-sys-color-surface-container-high); + color: var(--md-sys-color-primary); } + button.m3.m3-fab.surface:not(.without-elevation) { + box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3), 0 4px 8px 3px rgba(0, 0, 0, 0.15); } + button.m3.m3-fab.surface > svg.m3-svg-icon { + fill: var(--md-sys-color-primary); } + button.m3.m3-fab.surface > .m3.m3-ripple-domain > .m3.ripple { + background: color-mix(in srgb, var(--md-sys-color-primary) 12%, transparent); } + button.m3.m3-fab.primary { + background-color: var(--md-sys-color-primary-container); + color: var(--md-sys-color-on-primary-container); } + button.m3.m3-fab.primary:not(.without-elevation) { + box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3), 0 4px 8px 3px rgba(0, 0, 0, 0.15); } + button.m3.m3-fab.primary > svg.m3-svg-icon { + fill: var(--md-sys-color-on-primary-container); } + button.m3.m3-fab.primary > .m3.m3-ripple-domain > .m3.ripple { + background: color-mix(in srgb, var(--md-sys-color-on-primary-container) 12%, transparent); } + button.m3.m3-fab.secondary { + background-color: var(--md-sys-color-secondary-container); + color: var(--md-sys-color-on-secondary-container); } + button.m3.m3-fab.secondary:not(.without-elevation) { + box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3), 0 4px 8px 3px rgba(0, 0, 0, 0.15); } + button.m3.m3-fab.secondary > svg.m3-svg-icon { + fill: var(--md-sys-color-on-secondary-container); } + button.m3.m3-fab.secondary > .m3.m3-ripple-domain > .m3.ripple { + background: color-mix(in srgb, var(--md-sys-color-on-secondary-container) 12%, transparent); } + button.m3.m3-fab.tertiary { + background-color: var(--md-sys-color-tertiary-container); + color: var(--md-sys-color-on-tertiary-container); } + button.m3.m3-fab.tertiary:not(.without-elevation) { + box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3), 0 4px 8px 3px rgba(0, 0, 0, 0.15); } + button.m3.m3-fab.tertiary > svg.m3-svg-icon { + fill: var(--md-sys-color-on-tertiary-container); } + button.m3.m3-fab.tertiary > .m3.m3-ripple-domain > .m3.ripple { + background: color-mix(in srgb, var(--md-sys-color-on-tertiary-container) 12%, transparent); } + button.m3.m3-fab.m3-small-fab { + width: 40px; + height: 40px; + border-radius: 12px; + padding: 11px; + font-size: 24px; } + button.m3.m3-fab.m3-default-fab { + width: 56px; + height: 56px; + border-radius: 16px; + padding: 19px; + font-size: 24px; } + button.m3.m3-fab.m3-large-fab { + width: 96px; + height: 96px; + border-radius: 28px; + padding: 34.5px; + font-size: 36px; } + button.m3.m3-fab.m3-extended-fab { + width: auto; + height: 56px; + border-radius: 16px; + padding: 19px; + font-size: 24px; } + button.m3.m3-fab:not(.without-elevation):is(.surface, .primary, .secondary, .tertiary):hover { + box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.3), 0 6px 10px 4px rgba(0, 0, 0, 0.15); } + button.m3.m3-fab:not(.without-elevation):is(.surface, .primary, .secondary, .tertiary):active { + box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3), 0 4px 8px 3px rgba(0, 0, 0, 0.15) !important; } + button.m3.m3-fab:hover.surface::before { + background-color: color-mix(in srgb, var(--md-sys-color-primary) 8%, transparent); } + button.m3.m3-fab:hover.primary::before { + background-color: color-mix(in srgb, var(--md-sys-color-on-primary-container) 8%, transparent); } + button.m3.m3-fab:hover.secondary::before { + background-color: color-mix(in srgb, var(--md-sys-color-on-secondary-container) 8%, transparent); } + button.m3.m3-fab:hover.tertiary::before { + background-color: color-mix(in srgb, var(--md-sys-color-on-tertiary-container) 8%, transparent); } + button.m3.m3-fab:focus-visible.surface::before { + background-color: color-mix(in srgb, var(--md-sys-color-primary) 12%, transparent); } + button.m3.m3-fab:focus-visible.primary::before { + background-color: color-mix(in srgb, var(--md-sys-color-on-primary-container) 12%, transparent); } + button.m3.m3-fab:focus-visible.secondary::before { + background-color: color-mix(in srgb, var(--md-sys-color-on-secondary-container) 12%, transparent); } + button.m3.m3-fab:focus-visible.tertiary::before { + background-color: color-mix(in srgb, var(--md-sys-color-on-tertiary-container) 12%, transparent); } -input[type=button].test-button { - color: white; -} -input[type=button].test-button:not(:checked) { - background-color: green; -} -input[type=button].test-button:checked { - background-color: blue; -} +input[type="button"].test-button { + color: white; } + input[type="button"].test-button:not(:checked) { + background-color: green; } + input[type="button"].test-button:checked { + background-color: blue; } button:not(.m3-fab, .m3-icon-button) { width: min-content; @@ -463,130 +369,97 @@ button:not(.m3-fab, .m3-icon-button) { font-weight: var(--md-sys-typescale-label-large-font-weight); line-height: var(--md-sys-typescale-label-large-line-height); font-family: var(--md-sys-typescale-label-large-font-family-name); - transition: background-color, box-shadow, 0.2s cubic-bezier(0.2, 0, 0, 1) !important; -} -button:not(.m3-fab, .m3-icon-button).m3 { - gap: 8px; - border: none; - contain: content; - text-align: center; - padding: 10px 24px; - align-items: center; - flex-direction: row; - display: inline-flex; - border-radius: 100px; - box-sizing: border-box; - justify-content: center; -} -button:not(.m3-fab, .m3-icon-button).filled { - background-color: var(--md-sys-color-primary); -} -button:not(.m3-fab, .m3-icon-button).filled, button:not(.m3-fab, .m3-icon-button).filled > svg.m3-svg-icon { - fill: var(--md-sys-color-on-primary); - color: var(--md-sys-color-on-primary); -} -button:not(.m3-fab, .m3-icon-button).outlined { - outline-offset: -1px; - background-color: rgba(0, 0, 0, 0); - color: var(--md-sys-color-primary); - outline: 1px solid var(--md-sys-color-outline) !important; -} -button:not(.m3-fab, .m3-icon-button).outlined > svg.m3-svg-icon { - fill: var(--md-sys-color-primary); -} -button:not(.m3-fab, .m3-icon-button).text { - background-color: rgba(0, 0, 0, 0); - padding: 10px 12px !important; - color: var(--md-sys-color-primary); -} -button:not(.m3-fab, .m3-icon-button).text > svg.m3-svg-icon { - fill: var(--md-sys-color-primary); -} -button:not(.m3-fab, .m3-icon-button).elevated { - box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.15), 0 1px 2px 0 rgba(0, 0, 0, 0.3); - color: var(--md-sys-color-primary); - background-color: var(--md-sys-color-surface-container-low); -} -button:not(.m3-fab, .m3-icon-button).elevated > svg.m3-svg-icon { - fill: var(--md-sys-color-primary); -} -button:not(.m3-fab, .m3-icon-button).tonal { - color: var(--md-sys-color-on-secondary-container); - background-color: var(--md-sys-color-secondary-container); -} -button:not(.m3-fab, .m3-icon-button).tonal > svg.m3-svg-icon { - fill: var(--md-sys-color-on-secondary-container); -} -button:not(.m3-fab, .m3-icon-button)::before { - transition: background-color, box-shadow, 0.2s cubic-bezier(0.2, 0, 0, 1) !important; - content: ""; - top: 0; - bottom: 0; - left: 0; - right: 0; - position: absolute; - background: rgba(0, 0, 0, 0); -} -button:not(.m3-fab, .m3-icon-button).filled > .m3.m3-ripple-domain > .m3.ripple { - background: color-mix(in srgb, var(--md-sys-color-on-primary) 12%, transparent); -} -button:not(.m3-fab, .m3-icon-button):is(.outlined, .text, .elevated) > .m3.m3-ripple-domain > .m3.ripple { - background: color-mix(in srgb, var(--md-sys-color-primary) 12%, transparent); -} -button:not(.m3-fab, .m3-icon-button).tonal > .m3.m3-ripple-domain > .m3.ripple { - background: color-mix(in srgb, var(--md-sys-color-on-secondary-container) 12%, transparent); -} -button:not(.m3-fab, .m3-icon-button):active:is(.filled, .tonal) { - box-shadow: none !important; -} -button:not(.m3-fab, .m3-icon-button):active.elevated { - box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.15), 0 1px 2px 0 rgba(0, 0, 0, 0.3) !important; -} -button:not(.m3-fab, .m3-icon-button):active.tonal::before { - background-color: color-mix(in srgb, var(--md-sys-color-on-secondary-container) 12%, transparent); -} -button:not(.m3-fab, .m3-icon-button):focus-visible.outlined { - border-color: var(--md-sys-color-primary) !important; -} -button:not(.m3-fab, .m3-icon-button):focus-visible.filled::before { - background-color: color-mix(in srgb, var(--md-sys-color-on-primary) 12%, transparent); -} -button:not(.m3-fab, .m3-icon-button):focus-visible:is(.outlined, .text, .elevated)::before { - background-color: color-mix(in srgb, var(--md-sys-color-primary) 12%, transparent); -} -button:not(.m3-fab, .m3-icon-button):focus-visible.tonal::before { - background-color: color-mix(in srgb, var(--md-sys-color-on-secondary-container) 12%, transparent); -} -button:not(.m3-fab, .m3-icon-button):hover:is(.filled, .tonal) { - box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.15), 0 1px 2px 0 rgba(0, 0, 0, 0.3); -} -button:not(.m3-fab, .m3-icon-button):hover.elevated { - box-shadow: 0 2px 6px 2px rgba(0, 0, 0, 0.15), 0 1px 2px 0 rgba(0, 0, 0, 0.3); -} -button:not(.m3-fab, .m3-icon-button):hover.filled::before { - background-color: color-mix(in srgb, var(--md-sys-color-on-primary) 8%, transparent); -} -button:not(.m3-fab, .m3-icon-button):hover:is(.outlined, .text, .elevated)::before { - background-color: color-mix(in srgb, var(--md-sys-color-primary) 8%, transparent); -} -button:not(.m3-fab, .m3-icon-button):hover.tonal::before { - background-color: color-mix(in srgb, var(--md-sys-color-on-secondary-container) 8%, transparent); -} -button:not(.m3-fab, .m3-icon-button):disabled { - pointer-events: none; -} -button:not(.m3-fab, .m3-icon-button):disabled:is(.filled, .elevated, .tonal, .outlined, .text) { - color: color-mix(in srgb, var(--md-sys-color-on-surface) 38%, transparent); -} -button:not(.m3-fab, .m3-icon-button):disabled:is(.filled, .elevated, .tonal) { - background: color-mix(in srgb, var(--md-sys-color-on-surface) 12%, transparent); -} -button:not(.m3-fab, .m3-icon-button):disabled.elevated { - box-shadow: none; -} -button:not(.m3-fab, .m3-icon-button):disabled.outlined { - outline: 1px solid color-mix(in srgb, var(--md-sys-color-on-surface) 12%, transparent) !important; -} + transition: background-color, box-shadow, 0.2s cubic-bezier(0.2, 0, 0, 1) !important; } + button:not(.m3-fab, .m3-icon-button).m3 { + gap: 8px; + border: none; + contain: content; + text-align: center; + padding: 10px 24px; + align-items: center; + flex-direction: row; + display: inline-flex; + border-radius: 100px; + box-sizing: border-box; + justify-content: center; } + button:not(.m3-fab, .m3-icon-button).filled { + background-color: var(--md-sys-color-primary); } + button:not(.m3-fab, .m3-icon-button).filled, button:not(.m3-fab, .m3-icon-button).filled > svg.m3-svg-icon { + fill: var(--md-sys-color-on-primary); + color: var(--md-sys-color-on-primary); } + button:not(.m3-fab, .m3-icon-button).outlined { + outline-offset: -1px; + background-color: #00000000; + color: var(--md-sys-color-primary); + outline: 1px solid var(--md-sys-color-outline) !important; } + button:not(.m3-fab, .m3-icon-button).outlined > svg.m3-svg-icon { + fill: var(--md-sys-color-primary); } + button:not(.m3-fab, .m3-icon-button).text { + background-color: #00000000; + padding: 10px 12px !important; + color: var(--md-sys-color-primary); } + button:not(.m3-fab, .m3-icon-button).text > svg.m3-svg-icon { + fill: var(--md-sys-color-primary); } + button:not(.m3-fab, .m3-icon-button).elevated { + box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.15), 0 1px 2px 0 rgba(0, 0, 0, 0.3); + color: var(--md-sys-color-primary); + background-color: var(--md-sys-color-surface-container-low); } + button:not(.m3-fab, .m3-icon-button).elevated > svg.m3-svg-icon { + fill: var(--md-sys-color-primary); } + button:not(.m3-fab, .m3-icon-button).tonal { + color: var(--md-sys-color-on-secondary-container); + background-color: var(--md-sys-color-secondary-container); } + button:not(.m3-fab, .m3-icon-button).tonal > svg.m3-svg-icon { + fill: var(--md-sys-color-on-secondary-container); } + button:not(.m3-fab, .m3-icon-button)::before { + transition: background-color, box-shadow, 0.2s cubic-bezier(0.2, 0, 0, 1) !important; + content: ""; + top: 0; + bottom: 0; + left: 0; + right: 0; + position: absolute; + background: #00000000; } + button:not(.m3-fab, .m3-icon-button).filled > .m3.m3-ripple-domain > .m3.ripple { + background: color-mix(in srgb, var(--md-sys-color-on-primary) 12%, transparent); } + button:not(.m3-fab, .m3-icon-button):is(.outlined, .text, .elevated) > .m3.m3-ripple-domain > .m3.ripple { + background: color-mix(in srgb, var(--md-sys-color-primary) 12%, transparent); } + button:not(.m3-fab, .m3-icon-button).tonal > .m3.m3-ripple-domain > .m3.ripple { + background: color-mix(in srgb, var(--md-sys-color-on-secondary-container) 12%, transparent); } + button:not(.m3-fab, .m3-icon-button):active:is(.filled, .tonal) { + box-shadow: none !important; } + button:not(.m3-fab, .m3-icon-button):active.elevated { + box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.15), 0 1px 2px 0 rgba(0, 0, 0, 0.3) !important; } + button:not(.m3-fab, .m3-icon-button):active.tonal::before { + background-color: color-mix(in srgb, var(--md-sys-color-on-secondary-container) 12%, transparent); } + button:not(.m3-fab, .m3-icon-button):focus-visible.outlined { + border-color: var(--md-sys-color-primary) !important; } + button:not(.m3-fab, .m3-icon-button):focus-visible.filled::before { + background-color: color-mix(in srgb, var(--md-sys-color-on-primary) 12%, transparent); } + button:not(.m3-fab, .m3-icon-button):focus-visible:is(.outlined, .text, .elevated)::before { + background-color: color-mix(in srgb, var(--md-sys-color-primary) 12%, transparent); } + button:not(.m3-fab, .m3-icon-button):focus-visible.tonal::before { + background-color: color-mix(in srgb, var(--md-sys-color-on-secondary-container) 12%, transparent); } + button:not(.m3-fab, .m3-icon-button):hover:is(.filled, .tonal) { + box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.15), 0 1px 2px 0 rgba(0, 0, 0, 0.3); } + button:not(.m3-fab, .m3-icon-button):hover.elevated { + box-shadow: 0 2px 6px 2px rgba(0, 0, 0, 0.15), 0 1px 2px 0 rgba(0, 0, 0, 0.3); } + button:not(.m3-fab, .m3-icon-button):hover.filled::before { + background-color: color-mix(in srgb, var(--md-sys-color-on-primary) 8%, transparent); } + button:not(.m3-fab, .m3-icon-button):hover:is(.outlined, .text, .elevated)::before { + background-color: color-mix(in srgb, var(--md-sys-color-primary) 8%, transparent); } + button:not(.m3-fab, .m3-icon-button):hover.tonal::before { + background-color: color-mix(in srgb, var(--md-sys-color-on-secondary-container) 8%, transparent); } + button:not(.m3-fab, .m3-icon-button):disabled { + pointer-events: none; } + button:not(.m3-fab, .m3-icon-button):disabled:is(.filled, .elevated, .tonal, .outlined, .text) { + color: color-mix(in srgb, var(--md-sys-color-on-surface) 38%, transparent); } + button:not(.m3-fab, .m3-icon-button):disabled:is(.filled, .elevated, .tonal) { + background: color-mix(in srgb, var(--md-sys-color-on-surface) 12%, transparent); } + button:not(.m3-fab, .m3-icon-button):disabled.elevated { + box-shadow: none; } + button:not(.m3-fab, .m3-icon-button):disabled.outlined { + outline: 1px solid color-mix(in srgb, var(--md-sys-color-on-surface) 12%, transparent) !important; } button.m3.m3-icon-button { transition: background-color, box-shadow, 0.2s cubic-bezier(0.2, 0, 0, 1) !important; @@ -600,367 +473,290 @@ button.m3.m3-icon-button { width: 40px; height: 40px; border: none; - padding: 0; -} -button.m3.m3-icon-button::before { - transition: background-color, box-shadow, 0.2s cubic-bezier(0.2, 0, 0, 1) !important; - content: ""; - width: 100%; - height: 100%; - position: absolute; -} -button.m3.m3-icon-button > span.m3-icon { - z-index: 25; - font-size: 2em; - font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 48; -} -button.m3.m3-icon-button.default { - fill: var(--md-sys-color-on-surface-variant); - background-color: rgba(0, 0, 0, 0); -} -button.m3.m3-icon-button.default:disabled, button.m3.m3-icon-button.default.selected:disabled, button.m3.m3-icon-button.default.selected.toggled:disabled { - fill: color-mix(in srgb, var(--md-sys-color-on-surface-variant) 38%, transparent); - background-color: rgba(0, 0, 0, 0); -} -button.m3.m3-icon-button.default.selected.toggled { - fill: var(--md-sys-color-primary); -} -button.m3.m3-icon-button.filled { - fill: var(--md-sys-color-on-primary); - background-color: var(--md-sys-color-primary); -} -button.m3.m3-icon-button.filled.toggled { - fill: var(--md-sys-color-primary); - background-color: var(--md-sys-color-surface-container-highest); -} -button.m3.m3-icon-button.filled.selected.toggled { - fill: var(--md-sys-color-on-primary); - background-color: var(--md-sys-color-primary); -} -button.m3.m3-icon-button.tonal.toggled { - fill: var(--md-sys-color-on-surface-variant); - background-color: var(--md-sys-color-surface-container-highest); -} -button.m3.m3-icon-button.tonal.selected.toggled, button.m3.m3-icon-button.tonal { - fill: var(--md-sys-color-on-secondary-container); - background-color: var(--md-sys-color-secondary-container); -} -button.m3.m3-icon-button:is(.tonal, .filled, .toggled.selected):disabled { - fill: color-mix(in srgb, var(--md-sys-color-on-surface) 38%, transparent); - background-color: color-mix(in srgb, var(--md-sys-color-on-surface) 12%, transparent); -} -button.m3.m3-icon-button.outlined { - border: 1px solid var(--md-sys-color-outline); - fill: var(--md-sys-color-on-surface-variant); - background-color: rgba(0, 0, 0, 0); -} -button.m3.m3-icon-button.outlined:disabled { - border: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 12%, transparent); - fill: color-mix(in srgb, var(--md-sys-color-on-surface-variant) 38%, transparent); - background-color: rgba(0, 0, 0, 0); -} -button.m3.m3-icon-button.outlined.toggled.selected:disabled { - border: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 0%, transparent); - fill: color-mix(in srgb, var(--md-sys-color-on-surface) 38%, transparent); - background-color: color-mix(in srgb, var(--md-sys-color-on-surface) 12%, transparent); -} -button.m3.m3-icon-button.outlined.selected.toggled { - border: 1px solid rgba(0, 0, 0, 0); - background-color: var(--md-sys-color-inverse-surface); - fill: var(--md-sys-color-inverse-on-surface); -} -button.m3.m3-icon-button.filled:not(:disabled) > .m3.m3-ripple-domain > .m3.ripple, button.m3.m3-icon-button.filled:not(:disabled).selected.toggled > .m3.m3-ripple-domain > .m3.ripple { - background-color: color-mix(in srgb, var(--md-sys-color-on-primary) 12%, transparent); -} -button.m3.m3-icon-button.filled:not(:disabled).toggled > .m3.m3-ripple-domain > .m3.ripple { - background-color: color-mix(in srgb, var(--md-sys-color-primary) 12%, transparent); -} -button.m3.m3-icon-button:is(.outlined, .default):not(:disabled) > .m3.m3-ripple-domain > .m3.ripple { - background-color: color-mix(in srgb, var(--md-sys-color-on-surface-variant) 12%, transparent); -} -button.m3.m3-icon-button:is(.outlined, .default):not(:disabled):not(.outlined).toggled.selected > .m3.m3-ripple-domain > .m3.ripple { - background-color: color-mix(in srgb, var(--md-sys-color-primary) 12%, transparent); -} -button.m3.m3-icon-button:is(.outlined, .default):not(:disabled):not(.default).toggled.selected > .m3.m3-ripple-domain > .m3.ripple { - background-color: color-mix(in srgb, var(--md-sys-color-inverse-on-surface) 12%, transparent); -} -button.m3.m3-icon-button.tonal:not(:disabled) > .m3.m3-ripple-domain > .m3.ripple, button.m3.m3-icon-button.tonal:not(:disabled).selected.toggled > .m3.m3-ripple-domain > .m3.ripple { - background-color: color-mix(in srgb, var(--md-sys-color-on-secondary-container) 12%, transparent); -} -button.m3.m3-icon-button.tonal:not(:disabled).toggled > .m3.m3-ripple-domain > .m3.ripple { - background-color: color-mix(in srgb, var(--md-sys-color-on-surface-variant) 12%, transparent); -} -button.m3.m3-icon-button:hover:not(:disabled):is(.default, .outlined)::before { - background-color: color-mix(in srgb, var(--md-sys-color-on-surface-variant) 8%, transparent); -} -button.m3.m3-icon-button:hover:not(:disabled).filled::before, button.m3.m3-icon-button:hover:not(:disabled).filled.toggled.selected::before { - background-color: color-mix(in srgb, var(--md-sys-color-on-primary) 8%, transparent); -} -button.m3.m3-icon-button:hover:not(:disabled).filled.toggled::before { - background-color: color-mix(in srgb, var(--md-sys-color-primary) 8%, transparent); -} -button.m3.m3-icon-button:hover:not(:disabled).tonal::before, button.m3.m3-icon-button:hover:not(:disabled).tonal.toggled.selected::before { - background-color: color-mix(in srgb, var(--md-sys-color-on-secondary-container) 8%, transparent); -} -button.m3.m3-icon-button:hover:not(:disabled).tonal.toggled::before { - background-color: color-mix(in srgb, var(--md-sys-color-on-surface-variant) 8%, transparent); -} -button.m3.m3-icon-button:focus-visible:not(:disabled):is(.default, .outlined)::before { - background-color: color-mix(in srgb, var(--md-sys-color-on-surface-variant) 12%, transparent); -} -button.m3.m3-icon-button:focus-visible:not(:disabled).filled::before, button.m3.m3-icon-button:focus-visible:not(:disabled).filled.toggled.selected::before { - background-color: color-mix(in srgb, var(--md-sys-color-on-primary) 12%, transparent); -} -button.m3.m3-icon-button:focus-visible:not(:disabled).filled.toggled::before { - background-color: color-mix(in srgb, var(--md-sys-color-primary) 12%, transparent); -} -button.m3.m3-icon-button:focus-visible:not(:disabled).tonal::before, button.m3.m3-icon-button:focus-visible:not(:disabled).tonal.toggled.selected::before { - background-color: color-mix(in srgb, var(--md-sys-color-on-secondary-container) 12%, transparent); -} -button.m3.m3-icon-button:focus-visible:not(:disabled).tonal.toggled::before { - background-color: color-mix(in srgb, var(--md-sys-color-on-surface-variant) 12%, transparent); -} + padding: 0; } + button.m3.m3-icon-button::before { + transition: background-color, box-shadow, 0.2s cubic-bezier(0.2, 0, 0, 1) !important; + content: ""; + width: 100%; + height: 100%; + position: absolute; } + button.m3.m3-icon-button > span.m3-icon { + z-index: 25; + font-size: 2em; + font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 48; } + button.m3.m3-icon-button.default { + fill: var(--md-sys-color-on-surface-variant); + background-color: #00000000; } + button.m3.m3-icon-button.default:disabled, button.m3.m3-icon-button.default.selected:disabled, button.m3.m3-icon-button.default.selected.toggled:disabled { + fill: color-mix(in srgb, var(--md-sys-color-on-surface-variant) 38%, transparent); + background-color: #00000000; } + button.m3.m3-icon-button.default.selected.toggled { + fill: var(--md-sys-color-primary); } + button.m3.m3-icon-button.filled { + fill: var(--md-sys-color-on-primary); + background-color: var(--md-sys-color-primary); } + button.m3.m3-icon-button.filled.toggled { + fill: var(--md-sys-color-primary); + background-color: var(--md-sys-color-surface-container-highest); } + button.m3.m3-icon-button.filled.selected.toggled { + fill: var(--md-sys-color-on-primary); + background-color: var(--md-sys-color-primary); } + button.m3.m3-icon-button.tonal.toggled { + fill: var(--md-sys-color-on-surface-variant); + background-color: var(--md-sys-color-surface-container-highest); } + button.m3.m3-icon-button.tonal.selected.toggled, button.m3.m3-icon-button.tonal { + fill: var(--md-sys-color-on-secondary-container); + background-color: var(--md-sys-color-secondary-container); } + button.m3.m3-icon-button:is(.tonal, .filled, .toggled.selected):disabled { + fill: color-mix(in srgb, var(--md-sys-color-on-surface) 38%, transparent); + background-color: color-mix(in srgb, var(--md-sys-color-on-surface) 12%, transparent); } + button.m3.m3-icon-button.outlined { + border: 1px solid var(--md-sys-color-outline); + fill: var(--md-sys-color-on-surface-variant); + background-color: #00000000; } + button.m3.m3-icon-button.outlined:disabled { + border: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 12%, transparent); + fill: color-mix(in srgb, var(--md-sys-color-on-surface-variant) 38%, transparent); + background-color: #00000000; } + button.m3.m3-icon-button.outlined.toggled.selected:disabled { + border: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 0%, transparent); + fill: color-mix(in srgb, var(--md-sys-color-on-surface) 38%, transparent); + background-color: color-mix(in srgb, var(--md-sys-color-on-surface) 12%, transparent); } + button.m3.m3-icon-button.outlined.selected.toggled { + border: 1px solid #00000000; + background-color: var(--md-sys-color-inverse-surface); + fill: var(--md-sys-color-inverse-on-surface); } + button.m3.m3-icon-button.filled:not(:disabled) > .m3.m3-ripple-domain > .m3.ripple, button.m3.m3-icon-button.filled:not(:disabled).selected.toggled > .m3.m3-ripple-domain > .m3.ripple { + background-color: color-mix(in srgb, var(--md-sys-color-on-primary) 12%, transparent); } + button.m3.m3-icon-button.filled:not(:disabled).toggled > .m3.m3-ripple-domain > .m3.ripple { + background-color: color-mix(in srgb, var(--md-sys-color-primary) 12%, transparent); } + button.m3.m3-icon-button:is(.outlined, .default):not(:disabled) > .m3.m3-ripple-domain > .m3.ripple { + background-color: color-mix(in srgb, var(--md-sys-color-on-surface-variant) 12%, transparent); } + button.m3.m3-icon-button:is(.outlined, .default):not(:disabled):not(.outlined).toggled.selected > .m3.m3-ripple-domain > .m3.ripple { + background-color: color-mix(in srgb, var(--md-sys-color-primary) 12%, transparent); } + button.m3.m3-icon-button:is(.outlined, .default):not(:disabled):not(.default).toggled.selected > .m3.m3-ripple-domain > .m3.ripple { + background-color: color-mix(in srgb, var(--md-sys-color-inverse-on-surface) 12%, transparent); } + button.m3.m3-icon-button.tonal:not(:disabled) > .m3.m3-ripple-domain > .m3.ripple, button.m3.m3-icon-button.tonal:not(:disabled).selected.toggled > .m3.m3-ripple-domain > .m3.ripple { + background-color: color-mix(in srgb, var(--md-sys-color-on-secondary-container) 12%, transparent); } + button.m3.m3-icon-button.tonal:not(:disabled).toggled > .m3.m3-ripple-domain > .m3.ripple { + background-color: color-mix(in srgb, var(--md-sys-color-on-surface-variant) 12%, transparent); } + button.m3.m3-icon-button:hover:not(:disabled):is(.default, .outlined)::before { + background-color: color-mix(in srgb, var(--md-sys-color-on-surface-variant) 8%, transparent); } + button.m3.m3-icon-button:hover:not(:disabled).filled::before, button.m3.m3-icon-button:hover:not(:disabled).filled.toggled.selected::before { + background-color: color-mix(in srgb, var(--md-sys-color-on-primary) 8%, transparent); } + button.m3.m3-icon-button:hover:not(:disabled).filled.toggled::before { + background-color: color-mix(in srgb, var(--md-sys-color-primary) 8%, transparent); } + button.m3.m3-icon-button:hover:not(:disabled).tonal::before, button.m3.m3-icon-button:hover:not(:disabled).tonal.toggled.selected::before { + background-color: color-mix(in srgb, var(--md-sys-color-on-secondary-container) 8%, transparent); } + button.m3.m3-icon-button:hover:not(:disabled).tonal.toggled::before { + background-color: color-mix(in srgb, var(--md-sys-color-on-surface-variant) 8%, transparent); } + button.m3.m3-icon-button:focus-visible:not(:disabled):is(.default, .outlined)::before { + background-color: color-mix(in srgb, var(--md-sys-color-on-surface-variant) 12%, transparent); } + button.m3.m3-icon-button:focus-visible:not(:disabled).filled::before, button.m3.m3-icon-button:focus-visible:not(:disabled).filled.toggled.selected::before { + background-color: color-mix(in srgb, var(--md-sys-color-on-primary) 12%, transparent); } + button.m3.m3-icon-button:focus-visible:not(:disabled).filled.toggled::before { + background-color: color-mix(in srgb, var(--md-sys-color-primary) 12%, transparent); } + button.m3.m3-icon-button:focus-visible:not(:disabled).tonal::before, button.m3.m3-icon-button:focus-visible:not(:disabled).tonal.toggled.selected::before { + background-color: color-mix(in srgb, var(--md-sys-color-on-secondary-container) 12%, transparent); } + button.m3.m3-icon-button:focus-visible:not(:disabled).tonal.toggled::before { + background-color: color-mix(in srgb, var(--md-sys-color-on-surface-variant) 12%, transparent); } div.m3.m3-segmented-buttons { padding: 0; height: 40px; - display: inline-flex; + display: flex; border-radius: 20px; - box-sizing: border-box; -} -div.m3.m3-segmented-buttons > button.m3.m3-button-segment { - width: auto; - height: 40px; - padding: 10px; - min-width: 108px; - border-radius: 0; - margin: 0 -0.5px; - display: inline-flex; - background-color: transparent; - border: 1px solid var(--md-sys-color-outline); -} -div.m3.m3-segmented-buttons > button.m3.m3-button-segment:first-child { - border-radius: 20px 0 0 20px; -} -div.m3.m3-segmented-buttons > button.m3.m3-button-segment:last-child { - border-radius: 0 20px 20px 0; -} -div.m3.m3-segmented-buttons > button.m3.m3-button-segment > span { - color: var(--md-sys-color-on-surface); -} -div.m3.m3-segmented-buttons > button.m3.m3-button-segment > svg > text { - fill: var(--md-sys-color-on-surface); -} -div.m3.m3-segmented-buttons > button.m3.m3-button-segment > span.m3.m3-ripple-domain > span.m3.ripple { - background-color: color-mix(in srgb, var(--md-sys-color-on-secondary-container) 12%, transparent); -} -div.m3.m3-segmented-buttons > button.m3.m3-button-segment:disabled { - border: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 12%, transparent); -} -div.m3.m3-segmented-buttons > button.m3.m3-button-segment:disabled > * { - opacity: 38%; -} -div.m3.m3-segmented-buttons > button.m3.m3-button-segment.selected { - background-color: var(--md-sys-color-secondary-container); -} -div.m3.m3-segmented-buttons > button.m3.m3-button-segment.selected > span { - color: var(--md-sys-color-on-secondary-container); -} -div.m3.m3-segmented-buttons > button.m3.m3-button-segment.selected > span > text { - fill: var(--md-sys-color-on-secondary-container); -} -div.m3.m3-segmented-buttons > button.m3.m3-button-segment > span.m3.m3-button-segment-state-layer { - width: 100%; - height: 100%; - position: absolute; -} -div.m3.m3-segmented-buttons > button.m3.m3-button-segment > span.m3.m3-button-segment-state-layer, div.m3.m3-segmented-buttons > button.m3.m3-button-segment span.m3.m3-ripple-domain { - transition: 0.2s cubic-bezier(0.2, 0, 0, 1); -} -div.m3.m3-segmented-buttons > button.m3.m3-button-segment:hover > span.m3.m3-button-segment-state-layer { - background-color: color-mix(in srgb, var(--md-sys-color-on-secondary-container) 8%, transparent); -} -div.m3.m3-segmented-buttons > button.m3.m3-button-segment:is(div.m3.m3-segmented-buttons > button.m3.m3-button-segment:active, div.m3.m3-segmented-buttons > button.m3.m3-button-segment:focus-visible) > span.m3.m3-button-segment-state-layer { - background-color: color-mix(in srgb, var(--md-sys-color-on-secondary-container) 12%, transparent); -} + box-sizing: border-box; } + div.m3.m3-segmented-buttons > button.m3.m3-button-segment { + width: auto; + height: 40px; + padding: 10px; + min-width: 108px; + border-radius: 0; + margin: 0 -0.5px; + display: inline-flex; + background-color: transparent; + border: 1px solid var(--md-sys-color-outline); } + div.m3.m3-segmented-buttons > button.m3.m3-button-segment:first-child { + border-radius: 20px 0 0 20px; } + div.m3.m3-segmented-buttons > button.m3.m3-button-segment:last-child { + border-radius: 0 20px 20px 0; } + div.m3.m3-segmented-buttons > button.m3.m3-button-segment > span { + color: var(--md-sys-color-on-surface); } + div.m3.m3-segmented-buttons > button.m3.m3-button-segment > svg { + opacity: 0; } + div.m3.m3-segmented-buttons > button.m3.m3-button-segment > svg > text { + fill: var(--md-sys-color-on-surface); } + div.m3.m3-segmented-buttons > button.m3.m3-button-segment:not(.selected) > svg { + display: none; } + div.m3.m3-segmented-buttons > button.m3.m3-button-segment:not(.selected)::after, div.m3.m3-segmented-buttons > button.m3.m3-button-segment:not(.selected)::before { + content: ""; + width: 6px; + position: relative; } + div.m3.m3-segmented-buttons > button.m3.m3-button-segment > span.m3.m3-ripple-domain > span.m3.ripple { + background-color: color-mix(in srgb, var(--md-sys-color-on-secondary-container) 12%, transparent); } + div.m3.m3-segmented-buttons > button.m3.m3-button-segment:disabled { + border: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 12%, transparent); } + div.m3.m3-segmented-buttons > button.m3.m3-button-segment:disabled > * { + opacity: 38%; } + div.m3.m3-segmented-buttons > button.m3.m3-button-segment.selected { + background-color: var(--md-sys-color-secondary-container); } + div.m3.m3-segmented-buttons > button.m3.m3-button-segment.selected > svg { + opacity: 1; } + div.m3.m3-segmented-buttons > button.m3.m3-button-segment.selected > span { + color: var(--md-sys-color-on-secondary-container); } + div.m3.m3-segmented-buttons > button.m3.m3-button-segment.selected > span > text { + fill: var(--md-sys-color-on-secondary-container); } + div.m3.m3-segmented-buttons > button.m3.m3-button-segment > span.m3.m3-button-segment-state-layer { + width: 100%; + height: 100%; + position: absolute; } + div.m3.m3-segmented-buttons > button.m3.m3-button-segment > span.m3.m3-button-segment-state-layer, div.m3.m3-segmented-buttons > button.m3.m3-button-segment span.m3.m3-ripple-domain { + transition: 0.2s cubic-bezier(0.2, 0, 0, 1); } + div.m3.m3-segmented-buttons > button.m3.m3-button-segment:hover > span.m3.m3-button-segment-state-layer { + background-color: color-mix(in srgb, var(--md-sys-color-on-secondary-container) 8%, transparent); } + div.m3.m3-segmented-buttons > button.m3.m3-button-segment:is(&:active, &:focus-visible) > span.m3.m3-button-segment-state-layer { + background-color: color-mix(in srgb, var(--md-sys-color-on-secondary-container) 12%, transparent); } div.m3.m3-radio-container { width: 20px; height: 20px; align-items: center; display: inline-flex; - justify-content: center; -} -div.m3.m3-radio-container + label.m3.m3-radio-label { - margin-inline: 3px; -} -div.m3.m3-radio-container > span.m3-checkbox-ripple-layer, div.m3.m3-radio-container span.m3.m3-radio-state-layer { - z-index: 5; - width: 40px; - height: 40px; - aspect-ratio: 1; -} -div.m3.m3-radio-container > span.m3.m3-radio-state-layer { - border-radius: 50%; - position: absolute; - pointer-events: none; - transition: background-color 0.2s cubic-bezier(0.2, 0, 0, 1); -} -div.m3.m3-radio-container > input[type=radio].m3.m3-radio { - margin: 0; - width: 20px; - height: 20px; - aspect-ratio: 1; - cursor: pointer; - appearance: none; - position: absolute; -} -div.m3.m3-radio-container > input[type=radio].m3.m3-radio:not(:disabled):checked:hover + span.m3.m3-radio-state-layer { - background-color: color-mix(in srgb, var(--md-sys-color-primary) 8%, transparent); -} -div.m3.m3-radio-container > input[type=radio].m3.m3-radio:not(:disabled):is(:checked:active, :indeterminate:active) + span.m3.m3-radio-state-layer { - background-color: color-mix(in srgb, var(--md-sys-color-primary) 12%, transparent); -} -div.m3.m3-radio-container > input[type=radio].m3.m3-radio:not(:disabled):is(:checked:active, :indeterminate:active) + span.m3.m3-radio-state-layer ~ span.m3-ripple-domain > .m3.ripple { - background-color: color-mix(in srgb, var(--md-sys-color-on-surface) 20%, transparent); -} -div.m3.m3-radio-container > input[type=radio].m3.m3-radio:not(:disabled):hover + span.m3.m3-radio-state-layer { - background-color: color-mix(in srgb, var(--md-sys-color-on-surface) 8%, transparent); -} -div.m3.m3-radio-container > input[type=radio].m3.m3-radio:not(:disabled):active + span.m3.m3-radio-state-layer { - background-color: color-mix(in srgb, var(--md-sys-color-on-surface) 12%, transparent); -} -div.m3.m3-radio-container > input[type=radio].m3.m3-radio:not(:disabled):active + span.m3.m3-radio-state-layer ~ span.m3-ripple-domain > .m3.ripple { - background-color: color-mix(in srgb, var(--md-sys-color-primary) 20%, transparent); -} -div.m3.m3-radio-container > input[type=radio].m3.m3-radio:disabled:is(:not(:checked), div.m3.m3-radio-container > input[type=radio].m3.m3-radio:disabled:checked) ~ svg > circle.m3-radio-outline { - stroke-opacity: 38%; - stroke: var(--md-sys-color-on-surface); -} -div.m3.m3-radio-container > input[type=radio].m3.m3-radio:disabled:checked ~ svg > circle.m3-radio-state { - fill-opacity: 38%; - fill: var(--md-sys-color-on-surface); -} -div.m3.m3-radio-container > input[type=radio].m3.m3-radio:not(:checked) ~ svg > circle.m3-radio-outline { - stroke: var(--md-sys-color-on-surface-variant); -} -div.m3.m3-radio-container > input[type=radio].m3.m3-radio:not(:checked) ~ svg > circle.m3-radio-state { - fill-opacity: 0; - fill: var(--md-sys-color-primary); -} -div.m3.m3-radio-container > input[type=radio].m3.m3-radio:checked ~ svg > circle.m3-radio-outline { - stroke: var(--md-sys-color-primary); -} -div.m3.m3-radio-container > input[type=radio].m3.m3-radio:checked ~ svg > circle.m3-radio-state { - fill-opacity: 1; - fill: var(--md-sys-color-primary); -} -div.m3.m3-radio-container svg { - margin: 0; - width: 20px; - z-index: 10; - border-radius: 50%; - pointer-events: none; - aspect-ratio: inherit; -} -div.m3.m3-radio-container svg > circle { - transition: fill, stroke, 0.2s cubic-bezier(0.2, 0, 0, 1); -} -div.m3.m3-radio-container svg > circle.m3-radio-outline { - r: 9px; - fill: black; - fill-opacity: 0; - stroke-width: 2px; - stroke: var(--md-sys-color-on-surface-variant); -} -div.m3.m3-radio-container svg > circle.m3-radio-state { - r: 5px; -} + justify-content: center; } + div.m3.m3-radio-container + label.m3.m3-radio-label { + margin-inline: 3px; } + div.m3.m3-radio-container > span.m3-checkbox-ripple-layer, div.m3.m3-radio-container span.m3.m3-radio-state-layer { + z-index: 5; + width: 40px; + height: 40px; + aspect-ratio: 1; } + div.m3.m3-radio-container > span.m3.m3-radio-state-layer { + border-radius: 50%; + position: absolute; + pointer-events: none; + transition: background-color 0.2s cubic-bezier(0.2, 0, 0, 1); } + div.m3.m3-radio-container > input[type="radio"].m3.m3-radio { + margin: 0; + width: 20px; + height: 20px; + aspect-ratio: 1; + cursor: pointer; + appearance: none; + position: absolute; } + div.m3.m3-radio-container > input[type="radio"].m3.m3-radio:not(:disabled):checked:hover + span.m3.m3-radio-state-layer { + background-color: color-mix(in srgb, var(--md-sys-color-primary) 8%, transparent); } + div.m3.m3-radio-container > input[type="radio"].m3.m3-radio:not(:disabled):is(:checked:active, :indeterminate:active) + span.m3.m3-radio-state-layer { + background-color: color-mix(in srgb, var(--md-sys-color-primary) 12%, transparent); } + div.m3.m3-radio-container > input[type="radio"].m3.m3-radio:not(:disabled):is(:checked:active, :indeterminate:active) + span.m3.m3-radio-state-layer ~ span.m3-ripple-domain > .m3.ripple { + background-color: color-mix(in srgb, var(--md-sys-color-on-surface) 20%, transparent); } + div.m3.m3-radio-container > input[type="radio"].m3.m3-radio:not(:disabled):hover + span.m3.m3-radio-state-layer { + background-color: color-mix(in srgb, var(--md-sys-color-on-surface) 8%, transparent); } + div.m3.m3-radio-container > input[type="radio"].m3.m3-radio:not(:disabled):active + span.m3.m3-radio-state-layer { + background-color: color-mix(in srgb, var(--md-sys-color-on-surface) 12%, transparent); } + div.m3.m3-radio-container > input[type="radio"].m3.m3-radio:not(:disabled):active + span.m3.m3-radio-state-layer ~ span.m3-ripple-domain > .m3.ripple { + background-color: color-mix(in srgb, var(--md-sys-color-primary) 20%, transparent); } + div.m3.m3-radio-container > input[type="radio"].m3.m3-radio:disabled:is(:not(:checked), &:checked) ~ svg > circle.m3-radio-outline { + stroke-opacity: 38%; + stroke: var(--md-sys-color-on-surface); } + div.m3.m3-radio-container > input[type="radio"].m3.m3-radio:disabled:checked ~ svg > circle.m3-radio-state { + fill-opacity: 38%; + fill: var(--md-sys-color-on-surface); } + div.m3.m3-radio-container > input[type="radio"].m3.m3-radio:not(:checked) ~ svg > circle.m3-radio-outline { + stroke: var(--md-sys-color-on-surface-variant); } + div.m3.m3-radio-container > input[type="radio"].m3.m3-radio:not(:checked) ~ svg > circle.m3-radio-state { + fill-opacity: 0; + fill: var(--md-sys-color-primary); } + div.m3.m3-radio-container > input[type="radio"].m3.m3-radio:checked ~ svg > circle.m3-radio-outline { + stroke: var(--md-sys-color-primary); } + div.m3.m3-radio-container > input[type="radio"].m3.m3-radio:checked ~ svg > circle.m3-radio-state { + fill-opacity: 1; + fill: var(--md-sys-color-primary); } + div.m3.m3-radio-container svg { + margin: 0; + width: 20px; + z-index: 10; + border-radius: 50%; + pointer-events: none; + aspect-ratio: inherit; } + div.m3.m3-radio-container svg > circle { + transition: fill, stroke, 0.2s cubic-bezier(0.2, 0, 0, 1); } + div.m3.m3-radio-container svg > circle.m3-radio-outline { + r: 9px; + fill: black; + fill-opacity: 0; + stroke-width: 2px; + stroke: var(--md-sys-color-on-surface-variant); } + div.m3.m3-radio-container svg > circle.m3-radio-state { + r: 5px; } div.m3.m3-slider-container { height: 20px; display: flex; - align-items: center; -} -div.m3.m3-slider-container > datalist { - display: none; -} + align-items: center; } + div.m3.m3-slider-container > datalist { + display: none; } -input[type=range].m3.m3-slider { +input[type="range"].m3.m3-slider { margin: 0; appearance: none; border-radius: 2px; margin-inline: 8px; - background: var(--md-sys-color-surface-container-highest); -} -input[type=range].m3.m3-slider:-moz-any(input[type=range].m3.m3-slider) { - height: 4px; -} -input[type=range].m3.m3-slider:-webkit-any(input[type=range].m3.m3-slider) { - background: linear-gradient(to right, var(--md-sys-color-primary) 0%, var(--md-sys-color-surface-container-highest) 0%); -} -input[type=range].m3.m3-slider::-moz-range-track { - height: 4px; - overflow: hidden; - border-radius: 2px; -} -input[type=range].m3.m3-slider::-moz-range-progress { - height: 4px; - overflow: hidden; - border-radius: 2px; - background-color: var(--md-sys-color-primary); -} -input[type=range].m3.m3-slider::-moz-range-thumb { - box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.15), 0 1px 2px 0 rgba(0, 0, 0, 0.3); - width: 20px; - height: 20px; - appearance: none; - border-radius: 50%; - box-sizing: border-box; - outline: 10px solid transparent; - background: var(--md-sys-color-primary); - transition: 0.2s cubic-bezier(0.2, 0, 0, 1); - border: none; -} -input[type=range].m3.m3-slider::-moz-range-thumb:hover { - outline: 10px solid color-mix(in srgb, var(--md-sys-color-primary) 8%, transparent); -} -input[type=range].m3.m3-slider::-moz-range-thumb:hover:after { - content: "1"; -} -input[type=range].m3.m3-slider::-moz-range-thumb:is(:active, :focus-visible) { - outline: 10px solid color-mix(in srgb, var(--md-sys-color-primary) 12%, transparent); -} -input[type=range].m3.m3-slider::-webkit-slider-container { - appearance: none; - box-shadow: none; - border-radius: 2px; - min-block-size: 4px; - height: 4px; -} -input[type=range].m3.m3-slider::-webkit-slider-runnable-track { - height: 20px; -} -input[type=range].m3.m3-slider::-webkit-slider-thumb { - box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.15), 0 1px 2px 0 rgba(0, 0, 0, 0.3); - width: 20px; - height: 20px; - appearance: none; - border-radius: 50%; - box-sizing: border-box; - outline: 10px solid transparent; - background: var(--md-sys-color-primary); - transition: 0.2s cubic-bezier(0.2, 0, 0, 1); -} -input[type=range].m3.m3-slider::-webkit-slider-thumb:hover { - outline: 10px solid color-mix(in srgb, var(--md-sys-color-primary) 8%, transparent); -} -input[type=range].m3.m3-slider::-webkit-slider-thumb:hover:after { - content: "1"; -} -input[type=range].m3.m3-slider::-webkit-slider-thumb:is(:active, :focus-visible) { - outline: 10px solid color-mix(in srgb, var(--md-sys-color-primary) 12%, transparent); -} + background: var(--md-sys-color-surface-container-highest); } + input[type="range"].m3.m3-slider:-moz-any(input[type="range"].m3.m3-slider) { + height: 4px; } + input[type="range"].m3.m3-slider:-webkit-any(input[type="range"].m3.m3-slider) { + background: linear-gradient(to right, var(--md-sys-color-primary) 0%, var(--md-sys-color-surface-container-highest) 0%); } + input[type="range"].m3.m3-slider::-moz-range-track { + height: 4px; + overflow: hidden; + border-radius: 2px; } + input[type="range"].m3.m3-slider::-moz-range-progress { + height: 4px; + overflow: hidden; + border-radius: 2px; + background-color: var(--md-sys-color-primary); } + input[type="range"].m3.m3-slider::-moz-range-thumb { + box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.15), 0 1px 2px 0 rgba(0, 0, 0, 0.3); + width: 20px; + height: 20px; + appearance: none; + border-radius: 50%; + box-sizing: border-box; + outline: 10px solid transparent; + background: var(--md-sys-color-primary); + transition: 0.2s cubic-bezier(0.2, 0, 0, 1); + border: none; } + input[type="range"].m3.m3-slider::-moz-range-thumb:hover { + outline: 10px solid color-mix(in srgb, var(--md-sys-color-primary) 8%, transparent); } + input[type="range"].m3.m3-slider::-moz-range-thumb:hover:after { + content: "1"; } + input[type="range"].m3.m3-slider::-moz-range-thumb:is(:active, :focus-visible) { + outline: 10px solid color-mix(in srgb, var(--md-sys-color-primary) 12%, transparent); } + input[type="range"].m3.m3-slider::-webkit-slider-container { + appearance: none; + box-shadow: none; + border-radius: 2px; + min-block-size: 4px; + height: 4px; } + input[type="range"].m3.m3-slider::-webkit-slider-runnable-track { + height: 20px; } + input[type="range"].m3.m3-slider::-webkit-slider-thumb { + box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.15), 0 1px 2px 0 rgba(0, 0, 0, 0.3); + width: 20px; + height: 20px; + appearance: none; + border-radius: 50%; + box-sizing: border-box; + outline: 10px solid transparent; + background: var(--md-sys-color-primary); + transition: 0.2s cubic-bezier(0.2, 0, 0, 1); } + input[type="range"].m3.m3-slider::-webkit-slider-thumb:hover { + outline: 10px solid color-mix(in srgb, var(--md-sys-color-primary) 8%, transparent); } + input[type="range"].m3.m3-slider::-webkit-slider-thumb:hover:after { + content: "1"; } + input[type="range"].m3.m3-slider::-webkit-slider-thumb:is(:active, :focus-visible) { + outline: 10px solid color-mix(in srgb, var(--md-sys-color-primary) 12%, transparent); } div.m3.m3-switch { gap: 20px; @@ -969,146 +765,110 @@ div.m3.m3-switch { display: flex; align-items: center; justify-content: left; - box-sizing: content-box; -} -div.m3.m3-switch > svg { - width: 52px; - height: 32px; - overflow: visible; - transition: 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275); -} -div.m3.m3-switch > svg > g { - transform: translate(11.5%, 81%); - transition: 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275); -} -div.m3.m3-switch > svg > g > text { - font-size: 20px; - font-family: Material-Symbols-Outlined-Regular, serif; -} -div.m3.m3-switch > svg > circle.m3.m3-switch-handler-state-layer, div.m3.m3-switch > svg > circle.m3.m3-switch-handler { - cy: 50%; - cx: 16px; - transition: 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275); -} -div.m3.m3-switch > svg > circle.m3.m3-switch-handler-state-layer { - r: 20px; - fill-opacity: 0; -} -div.m3.m3-switch > svg > circle.m3.m3-switch-handler { - r: 8px; -} -div.m3.m3-switch > svg > rect.m3.m3-switch-track { - transition: fill 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275); - stroke-width: 2px; - border-radius: 16px; - rx: 15px; - width: 50px; - height: 30px; -} -div.m3.m3-switch > input.m3 { - margin: 0; - width: 52px; - height: 32px; - cursor: pointer; - appearance: none; - position: absolute; - opacity: 0 !important; -} -div.m3.m3-switch > input.m3:disabled { - cursor: not-allowed; -} -div.m3.m3-switch > input.m3:not(:checked, :disabled) + svg > circle.m3.m3-switch-handler { - fill: var(--md-sys-color-outline); -} -div.m3.m3-switch > input.m3:checked:not(:disabled) + svg > g { - transform: translate(50%, 81%); -} -div.m3.m3-switch > input.m3:checked:not(:disabled) + svg > circle.m3.m3-switch-handler { - fill: var(--md-sys-color-on-primary); -} -div.m3.m3-switch > input.m3:not(:disabled) + svg > g > text.m3.m3-icon-unchecked { - fill: var(--md-sys-color-on-primary); -} -div.m3.m3-switch > input.m3:not(:disabled) + svg > g > text.m3.m3-icon-checked { - fill: var(--md-sys-color-on-primary-container); -} -div.m3.m3-switch > input.m3:checked:disabled + svg > circle.m3.m3-switch-handler { - fill: var(--md-sys-color-surface); -} -div.m3.m3-switch > input.m3:checked + svg > circle.m3.m3-switch-handler, div.m3.m3-switch > input.m3 + svg:has(text.m3.m3-icon-unchecked) > circle.m3.m3-switch-handler { - r: 12px; -} -div.m3.m3-switch > input.m3:checked + svg > g > text.m3.m3-icon-unchecked { - opacity: 0; -} -div.m3.m3-switch > input.m3:checked + svg > circle.m3:is(.m3-switch-handler, .m3-switch-handler-state-layer) { - cx: calc(100% - 16px); -} -div.m3.m3-switch > input.m3:not(:checked) + svg > g > text.m3.m3-icon-checked { - opacity: 0; -} -div.m3.m3-switch > input.m3:is(div.m3.m3-switch > input.m3:checked, div.m3.m3-switch > input.m3):not(:disabled):active + svg > circle.m3.m3-switch-handler { - r: 14px; -} -div.m3.m3-switch > input.m3:not(:checked):disabled + svg > circle.m3.m3-switch-handler { - fill-opacity: 38%; - fill: var(--md-sys-color-on-surface); -} -div.m3.m3-switch > input.m3:hover:not(:disabled):checked + svg > circle.m3.m3-switch-handler { - fill: var(--md-sys-color-primary-container); -} -div.m3.m3-switch > input.m3:hover:not(:disabled):checked + svg > circle.m3.m3-switch-handler-state-layer { - fill-opacity: 8%; - fill: var(--md-sys-color-primary); -} -div.m3.m3-switch > input.m3:hover:not(:disabled):not(:checked) + svg > circle.m3.m3-switch-handler { - fill: var(--md-sys-color-on-surface-variant); -} -div.m3.m3-switch > input.m3:hover:not(:disabled):not(:checked) + svg > circle.m3.m3-switch-handler-state-layer { - fill-opacity: 8%; - fill: var(--md-sys-color-on-surface); -} -div.m3.m3-switch > input.m3:active:not(:disabled):checked + svg > circle.m3.m3-switch-handler-state-layer { - fill-opacity: 12%; - fill: var(--md-sys-color-primary); -} -div.m3.m3-switch > input.m3:active:not(:disabled):not(:checked) + svg > circle.m3.m3-switch-handler-state-layer { - fill-opacity: 12%; - fill: var(--md-sys-color-on-surface); -} -div.m3.m3-switch > input.m3:is(:checked, :checked:disabled) + svg > rect.m3.m3-switch-track { - rx: 16px; - width: 52px; - height: 32px; - stroke-width: 0; -} -div.m3.m3-switch > input.m3:is(div.m3.m3-switch > input.m3:not(:checked), div.m3.m3-switch > input.m3:not(:checked):disabled) + svg > rect.m3.m3-switch-track { - x: 1px; - y: 1px; -} -div.m3.m3-switch > input.m3:not(:checked) + svg > rect.m3.m3-switch-track { - stroke: var(--md-sys-color-outline); - fill: var(--md-sys-color-surface-container-highest); -} -div.m3.m3-switch > input.m3:checked + svg > rect.m3.m3-switch-track { - fill: var(--md-sys-color-primary); - stroke: var(--md-sys-color-primary); -} -div.m3.m3-switch > input.m3:disabled + svg > g > text.m3 { - fill: color-mix(in srgb, var(--md-sys-color-surface-container-highest) 38%, transparent); -} -div.m3.m3-switch > input.m3:disabled + svg > rect.m3.m3-switch-track { - stroke: color-mix(in srgb, var(--md-sys-color-on-surface) 12%, transparent); - fill: color-mix(in srgb, var(--md-sys-color-surface-variant) 12%, transparent); -} -div.m3.m3-switch > input.m3:checked:disabled + svg > g > text.m3 { - transform: translateX(38.5%); - fill: color-mix(in srgb, var(--md-sys-color-on-surface) 38%, transparent); -} -div.m3.m3-switch > input.m3:checked:disabled + svg > rect.m3.m3-switch-track { - fill: color-mix(in srgb, var(--md-sys-color-on-surface) 12%, transparent); - stroke: color-mix(in srgb, var(--md-sys-color-on-surface) 0%, transparent); -} + box-sizing: content-box; } + div.m3.m3-switch > svg { + width: 52px; + height: 32px; + overflow: visible; + transition: 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275); } + div.m3.m3-switch > svg > g { + transform: translate(11.5%, 81%); + transition: 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275); } + div.m3.m3-switch > svg > g > text { + font-size: 20px; + font-family: Material-Symbols-Outlined-Regular, serif; } + div.m3.m3-switch > svg > circle.m3.m3-switch-handler-state-layer, div.m3.m3-switch > svg > circle.m3.m3-switch-handler { + cy: 50%; + cx: 16px; + transition: 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275); } + div.m3.m3-switch > svg > circle.m3.m3-switch-handler-state-layer { + r: 20px; + fill-opacity: 0; } + div.m3.m3-switch > svg > circle.m3.m3-switch-handler { + r: 8px; } + div.m3.m3-switch > svg > rect.m3.m3-switch-track { + transition: fill 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275); + stroke-width: 2px; + border-radius: 16px; + rx: 15px; + width: 50px; + height: 30px; } + div.m3.m3-switch > input.m3 { + margin: 0; + width: 52px; + height: 32px; + cursor: pointer; + appearance: none; + position: absolute; + opacity: 0 !important; } + div.m3.m3-switch > input.m3:disabled { + cursor: not-allowed; } + div.m3.m3-switch > input.m3:not(:checked, :disabled) + svg > circle.m3.m3-switch-handler { + fill: var(--md-sys-color-outline); } + div.m3.m3-switch > input.m3:checked:not(:disabled) + svg > g { + transform: translate(50%, 81%); } + div.m3.m3-switch > input.m3:checked:not(:disabled) + svg > circle.m3.m3-switch-handler { + fill: var(--md-sys-color-on-primary); } + div.m3.m3-switch > input.m3:not(:disabled) + svg > g > text.m3.m3-icon-unchecked { + fill: var(--md-sys-color-on-primary); } + div.m3.m3-switch > input.m3:not(:disabled) + svg > g > text.m3.m3-icon-checked { + fill: var(--md-sys-color-on-primary-container); } + div.m3.m3-switch > input.m3:checked:disabled + svg > circle.m3.m3-switch-handler { + fill: var(--md-sys-color-surface); } + div.m3.m3-switch > input.m3:checked + svg > circle.m3.m3-switch-handler, div.m3.m3-switch > input.m3 + svg:has(text.m3.m3-icon-unchecked) > circle.m3.m3-switch-handler { + r: 12px; } + div.m3.m3-switch > input.m3:checked + svg > g > text.m3.m3-icon-unchecked { + opacity: 0; } + div.m3.m3-switch > input.m3:checked + svg > circle.m3:is(.m3-switch-handler, .m3-switch-handler-state-layer) { + cx: calc(100% - 16px); } + div.m3.m3-switch > input.m3:not(:checked) + svg > g > text.m3.m3-icon-checked { + opacity: 0; } + div.m3.m3-switch > input.m3:is(&:checked, &):not(:disabled):active + svg > circle.m3.m3-switch-handler { + r: 14px; } + div.m3.m3-switch > input.m3:not(:checked):disabled + svg > circle.m3.m3-switch-handler { + fill-opacity: 38%; + fill: var(--md-sys-color-on-surface); } + div.m3.m3-switch > input.m3:hover:not(:disabled):checked + svg > circle.m3.m3-switch-handler { + fill: var(--md-sys-color-primary-container); } + div.m3.m3-switch > input.m3:hover:not(:disabled):checked + svg > circle.m3.m3-switch-handler-state-layer { + fill-opacity: 8%; + fill: var(--md-sys-color-primary); } + div.m3.m3-switch > input.m3:hover:not(:disabled):not(:checked) + svg > circle.m3.m3-switch-handler { + fill: var(--md-sys-color-on-surface-variant); } + div.m3.m3-switch > input.m3:hover:not(:disabled):not(:checked) + svg > circle.m3.m3-switch-handler-state-layer { + fill-opacity: 8%; + fill: var(--md-sys-color-on-surface); } + div.m3.m3-switch > input.m3:active:not(:disabled):checked + svg > circle.m3.m3-switch-handler-state-layer { + fill-opacity: 12%; + fill: var(--md-sys-color-primary); } + div.m3.m3-switch > input.m3:active:not(:disabled):not(:checked) + svg > circle.m3.m3-switch-handler-state-layer { + fill-opacity: 12%; + fill: var(--md-sys-color-on-surface); } + div.m3.m3-switch > input.m3:is(:checked, :checked:disabled) + svg > rect.m3.m3-switch-track { + rx: 16px; + width: 52px; + height: 32px; + stroke-width: 0; } + div.m3.m3-switch > input.m3:is(&:not(:checked), &:not(:checked):disabled) + svg > rect.m3.m3-switch-track { + x: 1px; + y: 1px; } + div.m3.m3-switch > input.m3:not(:checked) + svg > rect.m3.m3-switch-track { + stroke: var(--md-sys-color-outline); + fill: var(--md-sys-color-surface-container-highest); } + div.m3.m3-switch > input.m3:checked + svg > rect.m3.m3-switch-track { + fill: var(--md-sys-color-primary); + stroke: var(--md-sys-color-primary); } + div.m3.m3-switch > input.m3:disabled + svg > g > text.m3 { + fill: color-mix(in srgb, var(--md-sys-color-surface-container-highest) 38%, transparent); } + div.m3.m3-switch > input.m3:disabled + svg > rect.m3.m3-switch-track { + stroke: color-mix(in srgb, var(--md-sys-color-on-surface) 12%, transparent); + fill: color-mix(in srgb, var(--md-sys-color-surface-variant) 12%, transparent); } + div.m3.m3-switch > input.m3:checked:disabled + svg > g > text.m3 { + transform: translateX(38.5%); + fill: color-mix(in srgb, var(--md-sys-color-on-surface) 38%, transparent); } + div.m3.m3-switch > input.m3:checked:disabled + svg > rect.m3.m3-switch-track { + fill: color-mix(in srgb, var(--md-sys-color-on-surface) 12%, transparent); + stroke: color-mix(in srgb, var(--md-sys-color-on-surface) 0%, transparent); } div.m3.m3-checkbox-container { gap: 16px; @@ -1117,25 +877,22 @@ div.m3.m3-checkbox-container { aspect-ratio: 1; position: relative; align-items: center; - justify-content: center; -} -div.m3.m3-checkbox-container > span.m3.m3-checkbox-state-layer { - width: 40px; - aspect-ratio: 1; - border-radius: 50%; - position: absolute; - transition: background-color 0.2s cubic-bezier(0.2, 0, 0, 1); -} -div.m3.m3-checkbox-container > span.m3.m3-checkbox-ripple-layer { - z-index: 20; - width: 2.5rem; - height: 2.5rem; - contain: content; - border-radius: 50%; - position: absolute; -} + justify-content: center; } + div.m3.m3-checkbox-container > span.m3.m3-checkbox-state-layer { + width: 40px; + aspect-ratio: 1; + border-radius: 50%; + position: absolute; + transition: background-color 0.2s cubic-bezier(0.2, 0, 0, 1); } + div.m3.m3-checkbox-container > span.m3.m3-checkbox-ripple-layer { + z-index: 20; + width: 2.5rem; + height: 2.5rem; + contain: content; + border-radius: 50%; + position: absolute; } -input[type=checkbox].m3.m3-checkbox { +input[type="checkbox"].m3.m3-checkbox { z-index: 10; display: flex; width: 1.125rem; @@ -1146,83 +903,61 @@ input[type=checkbox].m3.m3-checkbox { border-radius: 0.14rem; box-sizing: content-box; justify-content: center; - transition: background-color 0.2s cubic-bezier(0.2, 0, 0, 1); -} -input[type=checkbox].m3.m3-checkbox ~ span.m3-checkbox-state { - position: absolute; - color: var(--md-sys-color-on-surface-variant); - transition: color 0.2s cubic-bezier(0.2, 0, 0, 1); -} -input[type=checkbox].m3.m3-checkbox:is(:user-invalid:is(:checked, :indeterminate), .m3.m3-error:is(:checked, :indeterminate)) { - background: var(--md-sys-color-on-error); -} -input[type=checkbox].m3.m3-checkbox:is(:user-invalid:is(:checked, :indeterminate), .m3.m3-error:is(:checked, :indeterminate)) ~ span.m3-checkbox-state { - color: var(--md-sys-color-error); -} -input[type=checkbox].m3.m3-checkbox:is(:user-invalid, .m3.m3-error):not(:checked) ~ span.m3-checkbox-state { - color: var(--md-sys-color-error); -} -input[type=checkbox].m3.m3-checkbox:is(:checked:is(:hover, input[type=checkbox].m3.m3-checkbox):not(.m3.m3-error, :disabled), :indeterminate:is(:hover, input[type=checkbox].m3.m3-checkbox):not(.m3.m3-error, :disabled)) { - background: var(--md-sys-color-on-primary); -} -input[type=checkbox].m3.m3-checkbox:is(:checked:is(:hover, input[type=checkbox].m3.m3-checkbox):not(.m3.m3-error, :disabled), :indeterminate:is(:hover, input[type=checkbox].m3.m3-checkbox):not(.m3.m3-error, :disabled)) ~ span.m3-checkbox-state { - color: var(--md-sys-color-primary); -} -input[type=checkbox].m3.m3-checkbox:not(:checked, :indeterminate, :disabled, :user-invalid):hover ~ span.m3-checkbox-state { - color: var(--md-sys-color-on-surface); -} -input[type=checkbox].m3.m3-checkbox:disabled ~ *:is(:hover, input[type=checkbox].m3.m3-checkbox:disabled ~ *, :checked) { - opacity: 38%; -} -input[type=checkbox].m3.m3-checkbox ~ span.m3-checkbox-state { - z-index: 10; - display: flex; - font-size: 24px; - font-weight: 700; - line-height: 24px; - align-items: center; - pointer-events: none; - justify-content: center; - font-family: Material-Symbols-Outlined-Regular, sans-serif; - font-variation-settings: "FILL" 1, "wght" 300, "GRAD" 0, "opsz" 24; -} -input[type=checkbox].m3.m3-checkbox:not(:indeterminate, :checked) ~ span.m3-checkbox-state::before { - content: "check_box_outline_blank"; -} -input[type=checkbox].m3.m3-checkbox:indeterminate ~ span.m3-checkbox-state::before { - content: "indeterminate_check_box"; -} -input[type=checkbox].m3.m3-checkbox:checked ~ span.m3-checkbox-state::before { - content: "check_box"; - font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24; -} -input[type=checkbox].m3.m3-checkbox:not(:disabled):is(:user-invalid:is(:hover, :indeterminate:hover), .m3.m3-error:hover) ~ span.m3.m3-checkbox-state-layer { - background-color: color-mix(in srgb, var(--md-sys-color-error) 8%, transparent); -} -input[type=checkbox].m3.m3-checkbox:not(:disabled):is(:user-invalid:is(:active, :indeterminate:active), .m3.m3-error:active) ~ span.m3.m3-checkbox-state-layer { - background-color: color-mix(in srgb, var(--md-sys-color-error) 12%, transparent); -} -input[type=checkbox].m3.m3-checkbox:not(:disabled):is(:user-invalid:is(:active, :indeterminate:active), .m3.m3-error:active) ~ span.m3.m3-checkbox-state-layer ~ span.m3-ripple-domain > .m3.ripple { - background-color: color-mix(in srgb, var(--md-sys-color-error) 20%, transparent); -} -input[type=checkbox].m3.m3-checkbox:not(:disabled):is(:checked:hover, :indeterminate:hover) ~ span.m3.m3-checkbox-state-layer { - background-color: color-mix(in srgb, var(--md-sys-color-primary) 8%, transparent); -} -input[type=checkbox].m3.m3-checkbox:not(:disabled):is(:checked:active, :indeterminate:active) ~ span.m3.m3-checkbox-state-layer { - background-color: color-mix(in srgb, var(--md-sys-color-primary) 12%, transparent); -} -input[type=checkbox].m3.m3-checkbox:not(:disabled):is(:checked:active, :indeterminate:active) ~ span.m3.m3-checkbox-state-layer ~ span.m3-ripple-domain > .m3.ripple { - background-color: color-mix(in srgb, var(--md-sys-color-on-surface) 20%, transparent); -} -input[type=checkbox].m3.m3-checkbox:not(:disabled):hover ~ span.m3-checkbox-state-layer { - background-color: color-mix(in srgb, var(--md-sys-color-on-surface) 8%, transparent); -} -input[type=checkbox].m3.m3-checkbox:not(:disabled):active ~ span.m3.m3-checkbox-state-layer { - background-color: color-mix(in srgb, var(--md-sys-color-on-surface) 12%, transparent); -} -input[type=checkbox].m3.m3-checkbox:not(:disabled):active ~ span.m3.m3-checkbox-state-layer ~ span.m3-ripple-domain > .m3.ripple { - background-color: color-mix(in srgb, var(--md-sys-color-primary) 20%, transparent); -} + transition: background-color 0.2s cubic-bezier(0.2, 0, 0, 1); } + input[type="checkbox"].m3.m3-checkbox ~ span.m3-checkbox-state { + position: absolute; + color: var(--md-sys-color-on-surface-variant); + transition: color 0.2s cubic-bezier(0.2, 0, 0, 1); } + input[type="checkbox"].m3.m3-checkbox:is(:user-invalid:is(:checked, :indeterminate), .m3.m3-error:is(:checked, :indeterminate)) { + background: var(--md-sys-color-on-error); } + input[type="checkbox"].m3.m3-checkbox:is(:user-invalid:is(:checked, :indeterminate), .m3.m3-error:is(:checked, :indeterminate)) ~ span.m3-checkbox-state { + color: var(--md-sys-color-error); } + input[type="checkbox"].m3.m3-checkbox:is(:user-invalid, .m3.m3-error):not(:checked) ~ span.m3-checkbox-state { + color: var(--md-sys-color-error); } + input[type="checkbox"].m3.m3-checkbox:is(:checked:is(:hover, &):not(.m3.m3-error, :disabled), :indeterminate:is(:hover, &):not(.m3.m3-error, :disabled)) { + background: var(--md-sys-color-on-primary); } + input[type="checkbox"].m3.m3-checkbox:is(:checked:is(:hover, &):not(.m3.m3-error, :disabled), :indeterminate:is(:hover, &):not(.m3.m3-error, :disabled)) ~ span.m3-checkbox-state { + color: var(--md-sys-color-primary); } + input[type="checkbox"].m3.m3-checkbox:not(:checked, :indeterminate, :disabled, :user-invalid):hover ~ span.m3-checkbox-state { + color: var(--md-sys-color-on-surface); } + input[type="checkbox"].m3.m3-checkbox:disabled ~ *:is(:hover, &, :checked) { + opacity: 38%; } + input[type="checkbox"].m3.m3-checkbox ~ span.m3-checkbox-state { + z-index: 10; + display: flex; + font-size: 24px; + font-weight: 700; + line-height: 24px; + align-items: center; + pointer-events: none; + justify-content: center; + font-family: Material-Symbols-Outlined-Regular, sans-serif; + font-variation-settings: "FILL" 1, "wght" 300, "GRAD" 0, "opsz" 24; } + input[type="checkbox"].m3.m3-checkbox:not(:indeterminate, :checked) ~ span.m3-checkbox-state::before { + content: "check_box_outline_blank"; } + input[type="checkbox"].m3.m3-checkbox:indeterminate ~ span.m3-checkbox-state::before { + content: "indeterminate_check_box"; } + input[type="checkbox"].m3.m3-checkbox:checked ~ span.m3-checkbox-state::before { + content: "check_box"; + font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24; } + input[type="checkbox"].m3.m3-checkbox:not(:disabled):is(:user-invalid:is(:hover, :indeterminate:hover), .m3.m3-error:hover) ~ span.m3.m3-checkbox-state-layer { + background-color: color-mix(in srgb, var(--md-sys-color-error) 8%, transparent); } + input[type="checkbox"].m3.m3-checkbox:not(:disabled):is(:user-invalid:is(:active, :indeterminate:active), .m3.m3-error:active) ~ span.m3.m3-checkbox-state-layer { + background-color: color-mix(in srgb, var(--md-sys-color-error) 12%, transparent); } + input[type="checkbox"].m3.m3-checkbox:not(:disabled):is(:user-invalid:is(:active, :indeterminate:active), .m3.m3-error:active) ~ span.m3.m3-checkbox-state-layer ~ span.m3-ripple-domain > .m3.ripple { + background-color: color-mix(in srgb, var(--md-sys-color-error) 20%, transparent); } + input[type="checkbox"].m3.m3-checkbox:not(:disabled):is(:checked:hover, :indeterminate:hover) ~ span.m3.m3-checkbox-state-layer { + background-color: color-mix(in srgb, var(--md-sys-color-primary) 8%, transparent); } + input[type="checkbox"].m3.m3-checkbox:not(:disabled):is(:checked:active, :indeterminate:active) ~ span.m3.m3-checkbox-state-layer { + background-color: color-mix(in srgb, var(--md-sys-color-primary) 12%, transparent); } + input[type="checkbox"].m3.m3-checkbox:not(:disabled):is(:checked:active, :indeterminate:active) ~ span.m3.m3-checkbox-state-layer ~ span.m3-ripple-domain > .m3.ripple { + background-color: color-mix(in srgb, var(--md-sys-color-on-surface) 20%, transparent); } + input[type="checkbox"].m3.m3-checkbox:not(:disabled):hover ~ span.m3-checkbox-state-layer { + background-color: color-mix(in srgb, var(--md-sys-color-on-surface) 8%, transparent); } + input[type="checkbox"].m3.m3-checkbox:not(:disabled):active ~ span.m3.m3-checkbox-state-layer { + background-color: color-mix(in srgb, var(--md-sys-color-on-surface) 12%, transparent); } + input[type="checkbox"].m3.m3-checkbox:not(:disabled):active ~ span.m3.m3-checkbox-state-layer ~ span.m3-ripple-domain > .m3.ripple { + background-color: color-mix(in srgb, var(--md-sys-color-primary) 20%, transparent); } div.m3.m3-text-field { position: relative; @@ -1230,945 +965,174 @@ div.m3.m3-text-field { justify-content: center; flex-direction: column; box-sizing: border-box; - margin: 0; -} -div.m3.m3-text-field span.m3-icon.icon-before { - align-self: start; -} -div.m3.m3-text-field:is(.filled, .outlined) > input::placeholder, div.m3.m3-text-field > input, div.m3.m3-text-field > label { - line-height: var(--md-sys-typescale-body-large-line-height); - font-size: var(--md-sys-typescale-body-large-font-size); -} -div.m3.m3-text-field + span.m3-text-field-supporting-text { - display: flex; - line-height: var(--md-sys-typescale-body-small-line-height); - font-size: var(--md-sys-typescale-body-small-font-size); - color: var(--md-sys-color-on-surface-variant); - margin: 4px 16px 2px 16px; -} -div.m3.m3-text-field > label { - padding-inline: 4px; - pointer-events: none; - transform: translate(16px, 0); - transition: 0.2s cubic-bezier(0.2, 0, 0, 1); - position: absolute; -} -div.m3.m3-text-field > input { - transition: 0.2s cubic-bezier(0.2, 0, 0, 1); - background-color: transparent; - border: none; -} -div.m3.m3-text-field > span.m3-icon { - position: absolute; - align-self: end; - margin: 12px; - width: 24px; - line-height: 24px; - font-size: 24px; - display: inherit; - align-items: center; - justify-content: inherit; - cursor: pointer; - color: var(--md-sys-color-on-surface-variant); - font-family: Material-Symbols-Outlined-Regular, serif; -} -div.m3.m3-text-field > span.m3-text-field-state-layer { - width: 100%; - height: 100%; - pointer-events: none; - position: absolute; -} -div.m3.m3-text-field > input, div.m3.m3-text-field > label { - color: var(--md-sys-color-on-surface); -} -div.m3.m3-text-field:is(.filled, .outlined) > input::placeholder { - color: var(--md-sys-color-on-surface-variant); -} -div.m3.m3-text-field:is(.filled, .outlined) > input:focus-visible { - outline: none; - caret-color: var(--md-sys-color-primary); -} -div.m3.m3-text-field:is(.filled, .outlined):has(input:disabled) > *, div.m3.m3-text-field:is(.filled, .outlined):has(input:disabled) + span.m3-text-field-supporting-text { - opacity: 38%; -} -div.m3.m3-text-field.filled { - contain: content; - border-radius: 4px 4px 0 0; -} -div.m3.m3-text-field.filled > input { - display: inline-flex; - align-items: center; - box-sizing: border-box; - border-radius: 4px 4px 0 0; - background-color: var(--md-sys-color-surface-container-highest); - box-shadow: inset 0 -1px 0 var(--md-sys-color-on-surface-variant); -} -div.m3.m3-text-field.filled > input.with-after-icon { - padding: 24px 48px 8px 16px; -} -div.m3.m3-text-field.filled > input.with-before-icon { - padding: 24px 16px 8px 48px; -} -div.m3.m3-text-field.filled > input.with-before-icon + label { - margin-left: 32px; -} -div.m3.m3-text-field.filled > input:not(.with-after-icon, .with-before-icon) { - padding: 24px 16px 8px; -} -div.m3.m3-text-field.filled > input.with-after-icon.with-before-icon { - padding: 24px 48px 8px 48px; -} -div.m3.m3-text-field.filled > label.raised { - transform: translate(12px, -12px); - line-height: var(--md-sys-typescale-body-small-line-height); - font-size: var(--md-sys-typescale-body-small-font-size); -} -div.m3.m3-text-field.filled > input:required:user-invalid { - caret-color: var(--md-sys-color-error); -} -div.m3.m3-text-field.filled > input:required:user-invalid:focus-visible { - box-shadow: inset 0 -3px 0 var(--md-sys-color-error); -} -div.m3.m3-text-field.filled > input:required:user-invalid { - box-shadow: inset 0 -1px 0 var(--md-sys-color-error); -} -div.m3.m3-text-field.filled:has(input:required:user-invalid) > *:not(input):nth-last-child(-n+3), div.m3.m3-text-field.filled:has(input:required:user-invalid) + span.m3-text-field-supporting-text { - color: var(--md-sys-color-error); -} -div.m3.m3-text-field.filled > input:focus-visible { - outline-offset: 3px; - box-shadow: inset 0 -3px 0 var(--md-sys-color-primary); -} -div.m3.m3-text-field.filled > input:focus-visible + label { - color: var(--md-sys-color-primary); -} -div.m3.m3-text-field.filled:hover > input:not(:disabled) ~ span.m3-text-field-state-layer { - transition: 0.2s cubic-bezier(0.2, 0, 0, 1); - background-color: color-mix(in srgb, var(--md-sys-color-on-surface) 8%, transparent); -} -div.m3.m3-text-field.outlined > fieldset { - margin: 0; - position: absolute; - border-radius: 4px; - pointer-events: none; - padding-inline: 12px; - border: 1px solid var(--md-sys-color-outline); - inset: -7.5px 0px 0px 0px; - transition: background-color 0.2s cubic-bezier(0.2, 0, 0, 1); -} -div.m3.m3-text-field.outlined > fieldset > legend > span { - width: 100%; -} -div.m3.m3-text-field.outlined > fieldset > legend { - opacity: 0; - width: 0; - padding: 0; - pointer-events: none; - border: 0 solid transparent; - transition: 0.05s cubic-bezier(0.2, 0, 0, 1); -} -div.m3.m3-text-field.outlined > fieldset > legend.raised { - border-inline-width: 6px; - border-style: solid; - border-color: transparent; - width: auto; - visibility: visible; -} -div.m3.m3-text-field.outlined > input { - box-sizing: border-box; - border-radius: 4px; -} -div.m3.m3-text-field.outlined > input.with-after-icon { - padding: 16px 48px 16px 16px; -} -div.m3.m3-text-field.outlined > input.with-before-icon { - padding: 16px 16px 16px 48px; -} -div.m3.m3-text-field.outlined > input.with-before-icon + label { - transform: translate(48px, 0); -} -div.m3.m3-text-field.outlined > input:not(.with-after-icon, .with-before-icon) { - padding: 16px; -} -div.m3.m3-text-field.outlined > input.with-after-icon.with-before-icon { - padding: 16px 48px; -} -div.m3.m3-text-field.outlined:has(input:focus-visible) > fieldset { - border: 3px solid var(--md-sys-color-primary); -} -div.m3.m3-text-field.outlined:not(div.m3.m3-text-field.outlined:has(label.raised)):has(input:focus-visible) > fieldset > legend { - border-top-width: 0; - border-bottom-width: 0; - border-inline-width: 5.5px; - border-style: solid; - border-color: transparent; -} -div.m3.m3-text-field.outlined:not(div.m3.m3-text-field.outlined:has(input:focus-visible)):has(label.raised) > fieldset > legend { - border-top-width: 0; - border-bottom-width: 0; - border-inline-width: 7.5px; - border-style: solid; - border-color: transparent; -} -div.m3.m3-text-field.outlined > input:focus-visible + label { - color: var(--md-sys-color-primary); -} -div.m3.m3-text-field.outlined > label.raised, div.m3.m3-text-field.outlined > fieldset > * { - line-height: var(--md-sys-typescale-body-small-line-height); - font-size: var(--md-sys-typescale-body-small-font-size); -} -div.m3.m3-text-field.outlined > label.raised { - transform: translate(16px, -27px) !important; -} -div.m3.m3-text-field.outlined > input:required:user-invalid { - caret-color: var(--md-sys-color-error); -} -div.m3.m3-text-field.outlined:has(input:required:user-invalid) > *:not(input):nth-last-child(-n+3), div.m3.m3-text-field.outlined:has(input:required:user-invalid) + span.m3-text-field-supporting-text { - color: var(--md-sys-color-error); -} -div.m3.m3-text-field.outlined:has(input:required:user-invalid) > fieldset { - border: 3px solid var(--md-sys-color-error); -} -div.m3.m3-text-field.outlined:has(input:required:user-invalid:not(:focus-visible)) > fieldset { - border: 1px solid var(--md-sys-color-error); -} -div.m3.m3-text-field.outlined:hover:not(div.m3.m3-text-field.outlined:hover:has(input:disabled, input:focus-visible, label.raised, input:required:user-invalid)) > fieldset { - transition: 0.2s cubic-bezier(0.2, 0, 0, 1); - border-color: var(--md-sys-color-on-surface); -} - -:root { - /* display - hero */ - --md-sys-typescale-display-hero-font-family-name: Roboto; - --md-sys-typescale-display-hero-font-family-style: Regular; - --md-sys-typescale-display-hero-font-weight: 475; - --md-sys-typescale-display-hero-font-size: 112px; - --md-sys-typescale-display-hero-line-height: 1; - --md-sys-typescale-display-hero-letter-spacing: 0; - /* display - xl */ - --md-sys-typescale-display-xl-font-family-name: Roboto; - --md-sys-typescale-display-xl-font-family-style: Regular; - --md-sys-typescale-display-xl-font-weight: 475; - --md-sys-typescale-display-xl-font-size: 88px; - --md-sys-typescale-display-xl-line-height: 96px; - --md-sys-typescale-display-xl-letter-spacing: 0; - /* display - large */ - --md-sys-typescale-display-large-font-family-name: Roboto; - --md-sys-typescale-display-large-font-family-style: Regular; - --md-sys-typescale-display-large-font-weight: 400; - --md-sys-typescale-display-large-font-size: 57px; - --md-sys-typescale-display-large-line-height: 64px; - --md-sys-typescale-display-large-letter-spacing: -0.25px; - /* display - medium */ - --md-sys-typescale-display-medium-font-family-name: Roboto; - --md-sys-typescale-display-medium-font-family-style: Regular; - --md-sys-typescale-display-medium-font-weight: 400; - --md-sys-typescale-display-medium-font-size: 45px; - --md-sys-typescale-display-medium-line-height: 52px; - --md-sys-typescale-display-medium-letter-spacing: 0px; - /* display - small */ - --md-sys-typescale-display-small-font-family-name: Roboto; - --md-sys-typescale-display-small-font-family-style: Regular; - --md-sys-typescale-display-small-font-weight: 400; - --md-sys-typescale-display-small-font-size: 36px; - --md-sys-typescale-display-small-line-height: 44px; - --md-sys-typescale-display-small-letter-spacing: 0px; - /* headline - large */ - --md-sys-typescale-headline-large-font-family-name: Roboto; - --md-sys-typescale-headline-large-font-family-style: Regular; - --md-sys-typescale-headline-large-font-weight: 400; - --md-sys-typescale-headline-large-font-size: 32px; - --md-sys-typescale-headline-large-line-height: 40px; - --md-sys-typescale-headline-large-letter-spacing: 0px; - /* headline - medium */ - --md-sys-typescale-headline-medium-font-family-name: Roboto; - --md-sys-typescale-headline-medium-font-family-style: Regular; - --md-sys-typescale-headline-medium-font-weight: 400; - --md-sys-typescale-headline-medium-font-size: 28px; - --md-sys-typescale-headline-medium-line-height: 36px; - --md-sys-typescale-headline-medium-letter-spacing: 0px; - /* headline - small */ - --md-sys-typescale-headline-small-font-family-name: Roboto; - --md-sys-typescale-headline-small-font-family-style: Regular; - --md-sys-typescale-headline-small-font-weight: 400; - --md-sys-typescale-headline-small-font-size: 24px; - --md-sys-typescale-headline-small-line-height: 32px; - --md-sys-typescale-headline-small-letter-spacing: 0px; - /* title - large */ - --md-sys-typescale-title-large-font-family-name: Roboto; - --md-sys-typescale-title-large-font-family-style: Regular; - --md-sys-typescale-title-large-font-weight: 400; - --md-sys-typescale-title-large-font-size: 22px; - --md-sys-typescale-title-large-line-height: 28px; - --md-sys-typescale-title-large-letter-spacing: 0px; - /* title - medium */ - --md-sys-typescale-title-medium-font-family-name: Roboto; - --md-sys-typescale-title-medium-font-family-style: Medium; - --md-sys-typescale-title-medium-font-weight: 500; - --md-sys-typescale-title-medium-font-size: 16px; - --md-sys-typescale-title-medium-line-height: 24px; - --md-sys-typescale-title-medium-letter-spacing: 0.15px; - /* title - small */ - --md-sys-typescale-title-small-font-family-name: Roboto; - --md-sys-typescale-title-small-font-family-style: Medium; - --md-sys-typescale-title-small-font-weight: 500; - --md-sys-typescale-title-small-font-size: 14px; - --md-sys-typescale-title-small-line-height: 20px; - --md-sys-typescale-title-small-letter-spacing: 0.1px; - /* body - large */ - --md-sys-typescale-body-large-font-family-name: Roboto; - --md-sys-typescale-body-large-font-family-style: Regular; - --md-sys-typescale-body-large-font-weight: 400; - --md-sys-typescale-body-large-font-size: 16px; - --md-sys-typescale-body-large-line-height: 24px; - --md-sys-typescale-body-large-letter-spacing: 0.5px; - /* body - medium */ - --md-sys-typescale-body-medium-font-family-name: Roboto; - --md-sys-typescale-body-medium-font-family-style: Regular; - --md-sys-typescale-body-medium-font-weight: 400; - --md-sys-typescale-body-medium-font-size: 14px; - --md-sys-typescale-body-medium-line-height: 20px; - --md-sys-typescale-body-medium-letter-spacing: 0.25px; - /* body - small */ - --md-sys-typescale-body-small-font-family-name: Roboto; - --md-sys-typescale-body-small-font-family-style: Regular; - --md-sys-typescale-body-small-font-weight: 400; - --md-sys-typescale-body-small-font-size: 12px; - --md-sys-typescale-body-small-line-height: 16px; - --md-sys-typescale-body-small-letter-spacing: 0.4px; - /* label - large */ - --md-sys-typescale-label-large-font-family-name: Roboto; - --md-sys-typescale-label-large-font-family-style: Medium; - --md-sys-typescale-label-large-font-weight: 500; - --md-sys-typescale-label-large-font-size: 14px; - --md-sys-typescale-label-large-line-height: 20px; - --md-sys-typescale-label-large-letter-spacing: 0.1px; - /* label - medium */ - --md-sys-typescale-label-medium-font-family-name: Roboto; - --md-sys-typescale-label-medium-font-family-style: Medium; - --md-sys-typescale-label-medium-font-weight: 500; - --md-sys-typescale-label-medium-font-size: 12px; - --md-sys-typescale-label-medium-line-height: 16px; - --md-sys-typescale-label-medium-letter-spacing: 0.5px; - /* label - small */ - --md-sys-typescale-label-small-font-family-name: Roboto; - --md-sys-typescale-label-small-font-family-style: Medium; - --md-sys-typescale-label-small-font-weight: 500; - --md-sys-typescale-label-small-font-size: 11px; - --md-sys-typescale-label-small-line-height: 16px; - --md-sys-typescale-label-small-letter-spacing: 0.5px; - /* shape - extra large top rounding */ - --md-sys-shape-extra-large-top-rounding: 28px 28px 0 0; - /* shape - extra large rounding */ - --md-sys-shape-extra-large-rounding: 28px; - /* shape - large top rounding */ - --md-sys-shape-large-top-rounding: 16px 16px 0 0; - /* shape - large end rounding */ - --md-sys-shape-large-end-rounding: 0 16px 16px 0; - /* shape - large start rounding */ - --md-sys-shape-large-start-rounding: 16px 0 0 16px; - /* shape - large rounding */ - --md-sys-shape-large-rounding: 16px; - /* shape - medium rounding */ - --md-sys-shape-medium-rounding: 12px; - /* shape - small rounding */ - --md-sys-shape-small-rounding: 8px; - /* shape - extra small top rounding */ - --md-sys-shape-extra-small-top-rounding: 4px 4px 0 0; - /* shape - extra small rounding */ - --md-sys-shape-extra-small-rounding: 4px; -} - -.primary { - background-color: var(--md-sys-color-primary); -} - -.primary-text { - color: var(--md-sys-color-primary); -} - -.on-primary { - background-color: var(--md-sys-color-on-primary); -} - -.on-primary-text { - color: var(--md-sys-color-on-primary); -} - -.primary-container { - background-color: var(--md-sys-color-primary-container); -} - -.primary-container-text { - color: var(--md-sys-color-primary-container); -} - -.on-primary-container { - background-color: var(--md-sys-color-on-primary-container); -} - -.on-primary-container-text { - color: var(--md-sys-color-on-primary-container); -} - -.primary-fixed { - background-color: var(--md-sys-color-primary-fixed); -} - -.primary-fixed-text { - color: var(--md-sys-color-primary-fixed); -} - -.on-primary-fixed { - background-color: var(--md-sys-color-on-primary-fixed); -} - -.on-primary-fixed-text { - color: var(--md-sys-color-on-primary-fixed); -} - -.primary-fixed-dim { - background-color: var(--md-sys-color-primary-fixed-dim); -} - -.primary-fixed-dim-text { - color: var(--md-sys-color-primary-fixed-dim); -} - -.on-primary-fixed-variant { - background-color: var(--md-sys-color-on-primary-fixed-variant); -} - -.on-primary-fixed-variant-text { - color: var(--md-sys-color-on-primary-fixed-variant); -} - -.secondary { - background-color: var(--md-sys-color-secondary); -} - -.secondary-text { - color: var(--md-sys-color-secondary); -} - -.on-secondary { - background-color: var(--md-sys-color-on-secondary); -} - -.on-secondary-text { - color: var(--md-sys-color-on-secondary); -} - -.secondary-container { - background-color: var(--md-sys-color-secondary-container); -} - -.secondary-container-text { - color: var(--md-sys-color-secondary-container); -} - -.on-secondary-container { - background-color: var(--md-sys-color-on-secondary-container); -} - -.on-secondary-container-text { - color: var(--md-sys-color-on-secondary-container); -} - -.secondary-fixed { - background-color: var(--md-sys-color-secondary-fixed); -} - -.secondary-fixed-text { - color: var(--md-sys-color-secondary-fixed); -} - -.on-secondary-fixed { - background-color: var(--md-sys-color-on-secondary-fixed); -} - -.on-secondary-fixed-text { - color: var(--md-sys-color-on-secondary-fixed); -} - -.secondary-fixed-dim { - background-color: var(--md-sys-color-secondary-fixed-dim); -} - -.secondary-fixed-dim-text { - color: var(--md-sys-color-secondary-fixed-dim); -} - -.on-secondary-fixed-variant { - background-color: var(--md-sys-color-on-secondary-fixed-variant); -} - -.on-secondary-fixed-variant-text { - color: var(--md-sys-color-on-secondary-fixed-variant); -} - -.tertiary { - background-color: var(--md-sys-color-tertiary); -} - -.tertiary-text { - color: var(--md-sys-color-tertiary); -} - -.on-tertiary { - background-color: var(--md-sys-color-on-tertiary); -} - -.on-tertiary-text { - color: var(--md-sys-color-on-tertiary); -} - -.tertiary-container { - background-color: var(--md-sys-color-tertiary-container); -} - -.tertiary-container-text { - color: var(--md-sys-color-tertiary-container); -} - -.on-tertiary-container { - background-color: var(--md-sys-color-on-tertiary-container); -} - -.on-tertiary-container-text { - color: var(--md-sys-color-on-tertiary-container); -} - -.tertiary-fixed { - background-color: var(--md-sys-color-tertiary-fixed); -} - -.tertiary-fixed-text { - color: var(--md-sys-color-tertiary-fixed); -} - -.on-tertiary-fixed { - background-color: var(--md-sys-color-on-tertiary-fixed); -} - -.on-tertiary-fixed-text { - color: var(--md-sys-color-on-tertiary-fixed); -} - -.tertiary-fixed-dim { - background-color: var(--md-sys-color-tertiary-fixed-dim); -} - -.tertiary-fixed-dim-text { - color: var(--md-sys-color-tertiary-fixed-dim); -} - -.on-tertiary-fixed-variant { - background-color: var(--md-sys-color-on-tertiary-fixed-variant); -} - -.on-tertiary-fixed-variant-text { - color: var(--md-sys-color-on-tertiary-fixed-variant); -} - -.error { - background-color: var(--md-sys-color-error); -} - -.error-text { - color: var(--md-sys-color-error); -} - -.error-container { - background-color: var(--md-sys-color-error-container); -} - -.error-container-text { - color: var(--md-sys-color-error-container); -} - -.on-error { - background-color: var(--md-sys-color-on-error); -} - -.on-error-text { - color: var(--md-sys-color-on-error); -} - -.on-error-container { - background-color: var(--md-sys-color-on-error-container); -} - -.on-error-container-text { - color: var(--md-sys-color-on-error-container); -} - -.background { - background-color: var(--md-sys-color-background); -} - -.background-text { - color: var(--md-sys-color-background); -} - -.on-background { - background-color: var(--md-sys-color-on-background); -} - -.on-background-text { - color: var(--md-sys-color-on-background); -} - -.outline { - background-color: var(--md-sys-color-outline); -} - -.outline-text { - color: var(--md-sys-color-outline); -} - -.inverse-on-surface { - background-color: var(--md-sys-color-inverse-on-surface); -} - -.inverse-on-surface-text { - color: var(--md-sys-color-inverse-on-surface); -} - -.inverse-surface { - background-color: var(--md-sys-color-inverse-surface); -} - -.inverse-surface-text { - color: var(--md-sys-color-inverse-surface); -} - -.inverse-primary { - background-color: var(--md-sys-color-inverse-primary); -} - -.inverse-primary-text { - color: var(--md-sys-color-inverse-primary); -} - -.shadow { - background-color: var(--md-sys-color-shadow); -} - -.shadow-text { - color: var(--md-sys-color-shadow); -} - -.surface-tint { - background-color: var(--md-sys-color-surface-tint); -} - -.surface-tint-text { - color: var(--md-sys-color-surface-tint); -} - -.outline-variant { - background-color: var(--md-sys-color-outline-variant); -} - -.outline-variant-text { - color: var(--md-sys-color-outline-variant); -} - -.scrim { - background-color: var(--md-sys-color-scrim); -} - -.scrim-text { - color: var(--md-sys-color-scrim); -} - -.surface { - background-color: var(--md-sys-color-surface); -} - -.surface-text { - color: var(--md-sys-color-surface); -} - -.on-surface { - background-color: var(--md-sys-color-on-surface); -} - -.on-surface-text { - color: var(--md-sys-color-on-surface); -} - -.surface-variant { - background-color: var(--md-sys-color-surface-variant); -} - -.surface-variant-text { - color: var(--md-sys-color-surface-variant); -} - -.on-surface-variant { - background-color: var(--md-sys-color-on-surface-variant); -} - -.on-surface-variant-text { - color: var(--md-sys-color-on-surface-variant); -} - -.surface-container-highest { - background-color: var(--md-sys-color-surface-container-highest); -} - -.surface-container-highest-text { - color: var(--md-sys-color-surface-container-highest); -} - -.surface-container-high { - background-color: var(--md-sys-color-surface-container-high); -} - -.surface-container-high-text { - color: var(--md-sys-color-surface-container-high); -} - -.surface-container { - background-color: var(--md-sys-color-surface-container); -} - -.surface-container-text { - color: var(--md-sys-color-surface-container); -} - -.surface-container-low { - background-color: var(--md-sys-color-surface-container-low); -} - -.surface-container-low-text { - color: var(--md-sys-color-surface-container-low); -} - -.surface-container-lowest { - background-color: var(--md-sys-color-surface-container-lowest); -} - -.surface-container-lowest-text { - color: var(--md-sys-color-surface-container-lowest); -} - -.surface-dim { - background-color: var(--md-sys-color-surface-dim); -} - -.surface-dim-text { - color: var(--md-sys-color-surface-dim); -} - -.surface-bright { - background-color: var(--md-sys-color-surface-bright); -} - -.surface-bright-text { - color: var(--md-sys-color-surface-bright); -} - -.display-hero { - font-family: var(--md-sys-typescale-display-hero-font-family-name); - font-style: var(--md-sys-typescale-display-hero-font-family-style); - font-weight: var(--md-sys-typescale-display-hero-font-weight); - font-size: var(--md-sys-typescale-display-hero-font-size); - letter-spacing: var(--md-sys-typescale-display-hero-letter-spacing); - line-height: var(--md-sys-typescale-display-hero-line-height); - text-transform: var(--md-sys-typescale-display-hero-text-transform); - text-decoration: var(--md-sys-typescale-display-hero-text-decoration); -} - -.display-xl { - font-family: var(--md-sys-typescale-display-xl-font-family-name); - font-style: var(--md-sys-typescale-display-xl-font-family-style); - font-weight: var(--md-sys-typescale-display-xl-font-weight); - font-size: var(--md-sys-typescale-display-xl-font-size); - letter-spacing: var(--md-sys-typescale-display-xl-letter-spacing); - line-height: var(--md-sys-typescale-display-xl-line-height); - text-transform: var(--md-sys-typescale-display-xl-text-transform); - text-decoration: var(--md-sys-typescale-display-xl-text-decoration); -} - -.display-large { - font-family: var(--md-sys-typescale-display-large-font-family-name); - font-style: var(--md-sys-typescale-display-large-font-family-style); - font-weight: var(--md-sys-typescale-display-large-font-weight); - font-size: var(--md-sys-typescale-display-large-font-size); - letter-spacing: var(--md-sys-typescale-display-large-letter-spacing); - 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); -} - -.display-medium { - font-family: var(--md-sys-typescale-display-medium-font-family-name); - font-style: var(--md-sys-typescale-display-medium-font-family-style); - font-weight: var(--md-sys-typescale-display-medium-font-weight); - font-size: var(--md-sys-typescale-display-medium-font-size); - letter-spacing: var(--md-sys-typescale-display-medium-letter-spacing); - 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-small { - font-family: var(--md-sys-typescale-display-small-font-family-name); - font-style: var(--md-sys-typescale-display-small-font-family-style); - font-weight: var(--md-sys-typescale-display-small-font-weight); - font-size: var(--md-sys-typescale-display-small-font-size); - letter-spacing: var(--md-sys-typescale-display-small-letter-spacing); - 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); -} - -.headline-large { - font-family: var(--md-sys-typescale-headline-large-font-family-name); - font-style: var(--md-sys-typescale-headline-large-font-family-style); - font-weight: var(--md-sys-typescale-headline-large-font-weight); - font-size: var(--md-sys-typescale-headline-large-font-size); - letter-spacing: var(--md-sys-typescale-headline-large-letter-spacing); - 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); -} - -.headline-medium { - font-family: var(--md-sys-typescale-headline-medium-font-family-name); - font-style: var(--md-sys-typescale-headline-medium-font-family-style); - font-weight: var(--md-sys-typescale-headline-medium-font-weight); - font-size: var(--md-sys-typescale-headline-medium-font-size); - letter-spacing: var(--md-sys-typescale-headline-medium-letter-spacing); - 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-small { - font-family: var(--md-sys-typescale-headline-small-font-family-name); - font-style: var(--md-sys-typescale-headline-small-font-family-style); - font-weight: var(--md-sys-typescale-headline-small-font-weight); - font-size: var(--md-sys-typescale-headline-small-font-size); - letter-spacing: var(--md-sys-typescale-headline-small-letter-spacing); - 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); -} - -.body-large { - font-family: var(--md-sys-typescale-body-large-font-family-name); - font-style: var(--md-sys-typescale-body-large-font-family-style); - font-weight: var(--md-sys-typescale-body-large-font-weight); - font-size: var(--md-sys-typescale-body-large-font-size); - letter-spacing: var(--md-sys-typescale-body-large-letter-spacing); - 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); -} - -.body-medium { - font-family: var(--md-sys-typescale-body-medium-font-family-name); - font-style: var(--md-sys-typescale-body-medium-font-family-style); - font-weight: var(--md-sys-typescale-body-medium-font-weight); - font-size: var(--md-sys-typescale-body-medium-font-size); - letter-spacing: var(--md-sys-typescale-body-medium-letter-spacing); - 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-small { - font-family: var(--md-sys-typescale-body-small-font-family-name); - font-style: var(--md-sys-typescale-body-small-font-family-style); - font-weight: var(--md-sys-typescale-body-small-font-weight); - font-size: var(--md-sys-typescale-body-small-font-size); - letter-spacing: var(--md-sys-typescale-body-small-letter-spacing); - 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); -} - -.label-large { - font-family: var(--md-sys-typescale-label-large-font-family-name); - font-style: var(--md-sys-typescale-label-large-font-family-style); - font-weight: var(--md-sys-typescale-label-large-font-weight); - font-size: var(--md-sys-typescale-label-large-font-size); - letter-spacing: var(--md-sys-typescale-label-large-letter-spacing); - 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); -} - -.label-medium { - font-family: var(--md-sys-typescale-label-medium-font-family-name); - font-style: var(--md-sys-typescale-label-medium-font-family-style); - font-weight: var(--md-sys-typescale-label-medium-font-weight); - font-size: var(--md-sys-typescale-label-medium-font-size); - letter-spacing: var(--md-sys-typescale-label-medium-letter-spacing); - 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-small { - font-family: var(--md-sys-typescale-label-small-font-family-name); - font-style: var(--md-sys-typescale-label-small-font-family-style); - font-weight: var(--md-sys-typescale-label-small-font-weight); - font-size: var(--md-sys-typescale-label-small-font-size); - letter-spacing: var(--md-sys-typescale-label-small-letter-spacing); - 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); -} - -.title-large { - font-family: var(--md-sys-typescale-title-large-font-family-name); - font-style: var(--md-sys-typescale-title-large-font-family-style); - font-weight: var(--md-sys-typescale-title-large-font-weight); - font-size: var(--md-sys-typescale-title-large-font-size); - letter-spacing: var(--md-sys-typescale-title-large-letter-spacing); - 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); -} - -.title-medium { - font-family: var(--md-sys-typescale-title-medium-font-family-name); - font-style: var(--md-sys-typescale-title-medium-font-family-style); - font-weight: var(--md-sys-typescale-title-medium-font-weight); - font-size: var(--md-sys-typescale-title-medium-font-size); - letter-spacing: var(--md-sys-typescale-title-medium-letter-spacing); - 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-small { - font-family: var(--md-sys-typescale-title-small-font-family-name); - font-style: var(--md-sys-typescale-title-small-font-family-style); - font-weight: var(--md-sys-typescale-title-small-font-weight); - font-size: var(--md-sys-typescale-title-small-font-size); - letter-spacing: var(--md-sys-typescale-title-small-letter-spacing); - 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); -} + margin: 0; } + div.m3.m3-text-field span.m3-icon.icon-before { + align-self: start; } + div.m3.m3-text-field:is(.filled, .outlined) > input::placeholder, div.m3.m3-text-field > input, div.m3.m3-text-field > label { + line-height: var(--md-sys-typescale-body-large-line-height); + font-size: var(--md-sys-typescale-body-large-font-size); } + div.m3.m3-text-field + span.m3-text-field-supporting-text { + display: flex; + line-height: var(--md-sys-typescale-body-small-line-height); + font-size: var(--md-sys-typescale-body-small-font-size); + color: var(--md-sys-color-on-surface-variant); + margin: 4px 16px 2px 16px; } + div.m3.m3-text-field > label { + padding-inline: 4px; + pointer-events: none; + transform: translate(16px, 0); + transition: 0.2s cubic-bezier(0.2, 0, 0, 1); + position: absolute; } + div.m3.m3-text-field > input { + transition: 0.2s cubic-bezier(0.2, 0, 0, 1); + background-color: transparent; + border: none; } + div.m3.m3-text-field > span.m3-icon { + position: absolute; + align-self: end; + margin: 12px; + width: 24px; + line-height: 24px; + font-size: 24px; + display: inherit; + align-items: center; + justify-content: inherit; + cursor: pointer; + color: var(--md-sys-color-on-surface-variant); + font-family: Material-Symbols-Outlined-Regular, serif; } + div.m3.m3-text-field > span.m3-text-field-state-layer { + width: 100%; + height: 100%; + pointer-events: none; + position: absolute; } + div.m3.m3-text-field > input, div.m3.m3-text-field > label { + color: var(--md-sys-color-on-surface); } + div.m3.m3-text-field:is(.filled, .outlined) > input::placeholder { + color: var(--md-sys-color-on-surface-variant); } + div.m3.m3-text-field:is(.filled, .outlined) > input:focus-visible { + outline: none; + caret-color: var(--md-sys-color-primary); } + div.m3.m3-text-field:is(.filled, .outlined):has(input:disabled) > *, div.m3.m3-text-field:is(.filled, .outlined):has(input:disabled) + span.m3-text-field-supporting-text { + opacity: 38%; } + div.m3.m3-text-field.filled { + contain: content; + border-radius: 4px 4px 0 0; } + div.m3.m3-text-field.filled > input { + display: inline-flex; + align-items: center; + box-sizing: border-box; + border-radius: 4px 4px 0 0; + background-color: var(--md-sys-color-surface-container-highest); + box-shadow: inset 0 -1px 0 var(--md-sys-color-on-surface-variant); } + div.m3.m3-text-field.filled > input.with-after-icon { + padding: 24px 48px 8px 16px; } + div.m3.m3-text-field.filled > input.with-before-icon { + padding: 24px 16px 8px 48px; } + div.m3.m3-text-field.filled > input.with-before-icon + label { + margin-left: 32px; } + div.m3.m3-text-field.filled > input:not(.with-after-icon, .with-before-icon) { + padding: 24px 16px 8px; } + div.m3.m3-text-field.filled > input.with-after-icon.with-before-icon { + padding: 24px 48px 8px 48px; } + div.m3.m3-text-field.filled > label.raised { + transform: translate(12px, -12px); + line-height: var(--md-sys-typescale-body-small-line-height); + font-size: var(--md-sys-typescale-body-small-font-size); } + div.m3.m3-text-field.filled > input:required:user-invalid { + caret-color: var(--md-sys-color-error); } + div.m3.m3-text-field.filled > input:required:user-invalid:focus-visible { + box-shadow: inset 0 -3px 0 var(--md-sys-color-error); } + div.m3.m3-text-field.filled > input:required:user-invalid { + box-shadow: inset 0 -1px 0 var(--md-sys-color-error); } + div.m3.m3-text-field.filled:has(input:required:user-invalid) > *:not(input):nth-last-child(-n + 3), div.m3.m3-text-field.filled:has(input:required:user-invalid) + span.m3-text-field-supporting-text { + color: var(--md-sys-color-error); } + div.m3.m3-text-field.filled > input:focus-visible { + outline-offset: 3px; + box-shadow: inset 0 -3px 0 var(--md-sys-color-primary); } + div.m3.m3-text-field.filled > input:focus-visible + label { + color: var(--md-sys-color-primary); } + div.m3.m3-text-field.filled:hover > input:not(:disabled) ~ span.m3-text-field-state-layer { + transition: 0.2s cubic-bezier(0.2, 0, 0, 1); + background-color: color-mix(in srgb, var(--md-sys-color-on-surface) 8%, transparent); } + div.m3.m3-text-field.outlined > fieldset { + margin: 0; + position: absolute; + border-radius: 4px; + pointer-events: none; + padding-inline: 12px; + border: 1px solid var(--md-sys-color-outline); + inset: -7.5px 0px 0px 0px; + transition: background-color 0.2s cubic-bezier(0.2, 0, 0, 1); } + div.m3.m3-text-field.outlined > fieldset > legend > span { + width: 100%; } + div.m3.m3-text-field.outlined > fieldset > legend { + opacity: 0; + width: 0; + padding: 0; + pointer-events: none; + border: 0 solid transparent; + transition: 0.05s cubic-bezier(0.2, 0, 0, 1); } + div.m3.m3-text-field.outlined > fieldset > legend.raised { + border-inline-width: 6px; + border-style: solid; + border-color: transparent; + width: auto; + visibility: visible; } + div.m3.m3-text-field.outlined > input { + box-sizing: border-box; + border-radius: 4px; } + div.m3.m3-text-field.outlined > input.with-after-icon { + padding: 16px 48px 16px 16px; } + div.m3.m3-text-field.outlined > input.with-before-icon { + padding: 16px 16px 16px 48px; } + div.m3.m3-text-field.outlined > input.with-before-icon + label { + transform: translate(48px, 0); } + div.m3.m3-text-field.outlined > input:not(.with-after-icon, .with-before-icon) { + padding: 16px; } + div.m3.m3-text-field.outlined > input.with-after-icon.with-before-icon { + padding: 16px 48px; } + div.m3.m3-text-field.outlined:has(input:focus-visible) > fieldset { + border: 3px solid var(--md-sys-color-primary); } + div.m3.m3-text-field.outlined:not(div.m3.m3-text-field.outlined:has(label.raised)):has(input:focus-visible) > fieldset > legend { + border-top-width: 0; + border-bottom-width: 0; + border-inline-width: 5.5px; + border-style: solid; + border-color: transparent; } + div.m3.m3-text-field.outlined:not(div.m3.m3-text-field.outlined:has(input:focus-visible)):has(label.raised) > fieldset > legend { + border-top-width: 0; + border-bottom-width: 0; + border-inline-width: 7.5px; + border-style: solid; + border-color: transparent; } + div.m3.m3-text-field.outlined > input:focus-visible + label { + color: var(--md-sys-color-primary); } + div.m3.m3-text-field.outlined > label.raised, div.m3.m3-text-field.outlined > fieldset > * { + line-height: var(--md-sys-typescale-body-small-line-height); + font-size: var(--md-sys-typescale-body-small-font-size); } + div.m3.m3-text-field.outlined > label.raised { + transform: translate(16px, -27px) !important; } + div.m3.m3-text-field.outlined > input:required:user-invalid { + caret-color: var(--md-sys-color-error); } + div.m3.m3-text-field.outlined:has(input:required:user-invalid) > *:not(input):nth-last-child(-n + 3), div.m3.m3-text-field.outlined:has(input:required:user-invalid) + span.m3-text-field-supporting-text { + color: var(--md-sys-color-error); } + div.m3.m3-text-field.outlined:has(input:required:user-invalid) > fieldset { + border: 3px solid var(--md-sys-color-error); } + div.m3.m3-text-field.outlined:has(input:required:user-invalid:not(:focus-visible)) > fieldset { + border: 1px solid var(--md-sys-color-error); } + div.m3.m3-text-field.outlined:hover:not(div.m3.m3-text-field.outlined:hover:has(input:disabled, input:focus-visible, label.raised, input:required:user-invalid)) > fieldset { + transition: 0.2s cubic-bezier(0.2, 0, 0, 1); + border-color: var(--md-sys-color-on-surface); } html { font-family: Roboto, serif; color: var(--md-sys-color-on-surface); - background-color: var(--md-sys-color-surface-container); -} + background-color: var(--md-sys-color-surface-container); } .m3.m3-wrapper { position: relative; display: block; background-color: var(--md-sys-color-surface); - border-radius: 25px; -} + border-radius: 25px; } /*# sourceMappingURL=generics.css.map */ diff --git a/src/styles/generics.css.map b/src/styles/generics.css.map index 810a7e0..3f76f3c 100644 --- a/src/styles/generics.css.map +++ b/src/styles/generics.css.map @@ -1 +1,7 @@ -{"version":3,"sourceRoot":"","sources":["generics.sass","card.sass","mixins/m3-mixins.sass","icon.sass","badge.sass","fonts.sass","ripple.sass","divider.sass","container.sass","button-styles/fabs.sass","button-styles/button.sass","button-styles/icon-button.sass","button-styles/segmented-button.sass","input-styles/radio.sass","input-styles/slider.sass","input-styles/swtich.sass","input-styles/checkbox.sass","input-styles/text-field.sass","themes/tokens.css","themes/colors.module.css","themes/typography.module.css"],"names":[],"mappings":"AAyBQ;AACA;ACfJ;EAGI;EACA;;;AAER;EACI;EACA;;;AAEJ;EACI;EACA;EACA;;;AAEJ;EAII;EACA;EACA;EACA;EACA;;AAPA;EACI;;;AAQR;EACI;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;;AAEJ;EACI;EACA;EACA;EACA;;AAEJ;EACI;;AAGA;EACI;;AAGJ;EACI;;AAGJ;ECzBA;;AD4BA;ECtBA;;AD0BA;ECxCA;;AD2CA;ECrCA;;ADyCI;EACI;;;AE9EZ;EACI;EACA;EACA;;AAGA;EACI,OAVA;EAWA;EACA,WAZA;EAaA,aAbA;;AASJ;EACI,OAVA;EAWA;EACA,WAZA;EAaA,aAbA;;AASJ;EACI,OAVA;EAWA;EACA,WAZA;EAaA,aAbA;;AASJ;EACI,OAVA;EAWA;EACA,WAZA;EAaA,aAbA;;AASJ;EACI,OAVA;EAWA;EACA,WAZA;EAaA,aAbA;;AASJ;EACI,OAVA;EAWA;EACA,WAZA;EAaA,aAbA;;AASJ;EACI,OAVA;EAWA;EACA,WAZA;EAaA,aAbA;;AASJ;EACI,OAVA;EAWA;EACA,WAZA;EAaA,aAbA;;AASJ;EACI,OAVA;EAWA;EACA,WAZA;EAaA,aAbA;;AAgBJ;EACI;;AADJ;EACI;;AADJ;EACI;;;AClBZ;EACI;EACA;;AACA;EACI;EACA;EACA;EACA;;AACA;EACI;;AACR;EACI;EACA;;AAEJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;ACrBJ;EACI;EACA;EACA;;AAHJ;EACI;EACA;EACA;;AAHJ;EACI;EACA;EACA;;AAKJ;EACI;EACA;EACA;EACA;;AAJJ;EACI;EACA;EACA;EACA;;AAJJ;EACI;EACA;EACA;EACA;;AAJJ;EACI;EACA;EACA;EACA;;AAJJ;EACI;EACA;EACA;EACA;;AAJJ;EACI;EACA;EACA;EACA;;ACfR;EACE;EACA;EACA;EACA;EACA;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EAEA;EACA;EACA;;AAEA;EACE;;;AAEJ;EACE;IACE;;EACF;IACE;;;ACjCJ;EACI;EACA;EACA;EACA;;AAEA;EACI;EACA;;AAEA;EACI;;AAEJ;EACI;;AAGR;EACI;EACA;;AAEA;EACI;;AAEJ;EACI;;;ACvBZ;EACI;EACA;EACA;EACA;EACA;;AAEA;EACI;;AAEJ;EACI;EACA;EACA;;AAEJ;ENyBI;EMvBA;;;AC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;AACA;EACI;;AAGJ;EACI;;AAER;EACI;;AACA;EACI;;AAIJ;EACI;EACA;;AAER;EACI;EACA;;AAGJ;EACI;;AAEJ;EACI;EACA;;AAGJ;EACI;;AAEJ;EACI;EACA;;AAEZ;EACI;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;;AAEA;EACI;EACA;EACA;EACA;EACA;;AAEJ;EACI;;;AC9FhB;EACI;EACA;EACA;;AAEA;EACI;;;AAGR;EACI;EACA;EACA;EACA;EACA;;AAEA;EACI;;AAEJ;EACI;;AAEJ;EACI;EACA;EACA;;AAEJ;EACI;EACA;EACA;EACA;;AAEJ;EZSI;EAiDJ;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EY9DI;;AZ6CJ;EAKI;;AAHA;EACI;;AAIR;EACI;;AYnDJ;EACI;EACA;EACA;EACA;EACA;;AAEJ;EACI;;AAEJ;EZNI;EAiDJ;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAjBA;EAKI;;AAHA;EACI;;AAIR;EACI;;;AazFR;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;EACA;;AAEA;EACI;EACA;;AACA;EACI;EACA;;AAER;EACI;EACA;EACA;;AAEJ;EACI;EACA;;AAEJ;EACI;;AAEJ;EACI;EACA;EACA;EACA;EACA;EACA;;AAER;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;;AAGA;EACI;;AAGJ;EACI;;AAEJ;EACI;;AAGJ;EACI;;AAEJ;EACI;;AAER;EACI;;AAEJ;EAEI;;AAGA;EACI;;AAEJ;EACI;;AAGJ;EACI;;AAER;EACI;;AAEJ;EACI;EACA;;AAII;EACI;;AAEJ;EACI;EACA;;AAGJ;EACI;;AAEJ;EACI;EACA;;AAGR;EACI;EACA;;AAEJ;EACI;EACA;;AAER;EACI;EACA;EACA;EACA;;AAEJ;EACI;EACA;;AAEJ;EACI;EACA;;AAEJ;EACI;EACA;;AAGA;EACI;;AAEJ;EACI;EACA;;AAGJ;EACI;EACA;;AAEJ;EACI;EACA;;;AC5JhB;EdCI;EACA;EACA;EACA;EACA;EACA;EACA;;AcJA;EdOA;EACA;EACA;EACA;EACA;;AcRA;EACI;EACA;EACA;EACA;EACA;EACA;;;AAER;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;;AAEJ;EAII;;AAHA;EACI;;AAKJ;EACI;;AAER;EAII;;AAHA;EACI;;AAIR;EACI;;AAGA;EACI;;AAER;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEJ;EACI;;AAEJ;EACI;;AAEJ;EACI;EACA;;AAII;EACI;;AAER;EACI;;AAEA;EACI;;AAER;EACI;;AAEJ;EACI;;AAEA;EACI;;AAGJ;EACI;;AAER;EACI;;AAEA;EACI;;;ACzGhB;EACI;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;;AAEJ;EACI;EACA;;AAEJ;EACI;EACA;EACA;EACA;EACA;;AAEJ;EACI;EACA;EACA;EACA;EACA;;AAEJ;EACI;EACA;EACA;;AAEJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEJ;EACI;EACA;EACA;EACA;;AAEJ;EACI;;AAEJ;EACI;;AAEJ;EACI;EACA;;AAGA;EACI;;AAER;EACI;EACA;;AAEA;EAgBI;EACA;EACA;EACA;EACA;EACA;;AApBA;EACI;;AAEJ;EACI;;AAEJ;EACI;;AAEJ;EACI;;AAEJ;EACI;;AASR;EACI;EACA;EACA;;AAEJ;EACI;;AAEA;EACI;;AACJ;EACI;;AAER;EAEI;;AAEJ;EACI;EACA;;AAEJ;EACI;;AAGA;EACI;EACA;;AAGR;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;;AAEJ;EACI;EACA;EACA;EACA;EACA;EACA;;AAEJ;EACI;EACA;EACA;EACA;EACA;;AAER;EAgBI;EACA;;AAhBA;EACI;;AAEJ;EACI;;AAEJ;EACI;;AAEJ;EACI;;AAEJ;EACI;;AAKR;EACI;;AAEJ;EACI;EACA;EACA;EACA;EACA;;AAEJ;EACI;EACA;EACA;EACA;EACA;;AAEJ;EACI;;AAEJ;EACI;EACA;;AAEJ;EACI;;AAEJ;EACI;;AAEJ;EAEI;;AAEJ;EACI;;AAEJ;EACI;;AAGA;EACI;EACA;;;ACvNhB;AACE;EACA;EACA;EACA;EACA;EACA;EACA;AACA;EACA;EACA;EACA;EACA;EACA;EACA;AACA;EACA;EACA;EACA;EACA;EACA;EACA;AACA;EACA;EACA;EACA;EACA;EACA;EACA;AACA;EACA;EACA;EACA;EACA;EACA;EACA;AACA;EACA;EACA;EACA;EACA;EACA;EACA;AACA;EACA;EACA;EACA;EACA;EACA;EACA;AACA;EACA;EACA;EACA;EACA;EACA;EACA;AACA;EACA;EACA;EACA;EACA;EACA;EACA;AACA;EACA;EACA;EACA;EACA;EACA;EACA;AACA;EACA;EACA;EACA;EACA;EACA;EACA;AACA;EACA;EACA;EACA;EACA;EACA;EACA;AACA;EACA;EACA;EACA;EACA;EACA;EACA;AACA;EACA;EACA;EACA;EACA;EACA;EACA;AACA;EACA;EACA;EACA;EACA;EACA;EACA;AACA;EACA;EACA;EACA;EACA;EACA;EACA;AACA;EACA;EACA;EACA;EACA;EACA;EACA;AAEA;EACA;AACA;EACA;AACA;EACA;AACA;EACA;AACA;EACA;AACA;EACA;AACA;EACA;AACA;EACA;AACA;EACA;AACA;EACA;;;AC5IF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;ACpSF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;ApB5IF;EACI;EACA;EACA;;;AAEJ;EACI;EACA;EACA;EACA","file":"generics.css"} \ No newline at end of file +{ +"version": 3, +"mappings": "AAsBQ,gCAAqB;AACrB,uCAA4B;AAC5B,2CAAgC;AAChC,8DAAqD;AACrD,gEAAuD;ACf3D,8QAAsG;EAGlG,aAAa,EAAE,eAAe;EAC9B,OAAO,EAPA,GAAG;;AASlB,6GAA6G;EACzG,aAAa,EAAE,eAAe;EAC9B,OAAO,EAXI,GAAG;;AAalB,kFAAkF;EAC9E,OAAO,EAAE,KAAK;EACd,UAAU,EAAE,UAAU;EACtB,OAAO,EAtBD,IAAI;;AAwBd,iBAAiB;EAIb,KAAK,EAAE,IAAI;EACX,OAAO,EAAE,KAAK;EACd,OAAO,EAAE,OAAO;EAChB,QAAQ,EAAE,QAAQ;EAClB,UAAU,EAAE,UAAU;EAPtB,4BAAY;IACR,aAAa,EAAE,IAAgC;;AAQvD,0BAA0B;EACtB,OAAO,EAAE,KAAK;EACd,MAAM,EAAE,OAAO;EACf,OAAO,EAAE,OAAO;EAChB,QAAQ,EAAE,QAAQ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,gBAAgB,EAAE,CAAC;IACnB,mBAAmB,EAAE,CAAC;IACtB,mBAAmB,EAAE,KAAK;IAC1B,YAAY,EAAE,KAAK;IACnB,YAAY,EAAE,WAAW;EAE7B,2DAA+B;IAC3B,KAAK,EAAE,2BAA2B;EAEtC,0FAAkC;IAC9B,WAAW,EAAE,8CAA8C;IAC3D,SAAS,EAAE,4CAA4C;EAE3D,4CAAgB;IACZ,SAAS,EAAE,iCAAiC;EAEhD,2DAA+B;IAC3B,WAAW,EAAE,yBAAyB;EAE1C,yMAAyE;IAErE,KAAK,EAAE,yBAAyB;EAEpC,yEAA6C;IACzC,MAAM,EAAE,mCAAmC;EAE/C,6FAAiE;IAC7D,MAAM,EAAE,mCAAmC;EAG3C,2KAAuG;IACnG,UAAU,EAAE,+BAA8B;IAC1C,YAAY,EAAE,8BAA8B;;AjB3L5D,IAAI;EACA,WAAW,EAAE,aAAa;EAC1B,KAAK,EAAE,8BAA8B;EACrC,gBAAgB,EAAE,qCAAqC;;AAE3D,cAAc;EACV,QAAQ,EAAE,QAAQ;EAClB,OAAO,EAAE,KAAK;EACd,gBAAgB,EAAE,2BAA2B;EAC7C,aAAa,EAAE,IAAI", +"sources": ["generics.sass","card.sass","mixins/m3-mixins.sass","icon.sass","badge.sass","fonts.sass","ripple.sass","divider.sass","container.sass","button-styles/fabs.sass","button-styles/button.sass","button-styles/icon-button.sass","button-styles/segmented-button.sass","input-styles/radio.sass","input-styles/slider.sass","input-styles/swtich.sass","input-styles/checkbox.sass","input-styles/text-field.sass"], +"names": [], +"file": "generics.css" +} diff --git a/src/styles/generics.sass b/src/styles/generics.sass index ef7cceb..f78deaa 100644 --- a/src/styles/generics.sass +++ b/src/styles/generics.sass @@ -20,9 +20,9 @@ @import "input-styles/checkbox" @import "input-styles/text-field" -@import "./themes/tokens" -@import "./themes/colors.module" -@import "./themes/typography.module" +@import "./themes/tokens.css" +@import "./themes/colors.module.css" +@import "./themes/typography.module.css" @import "./themes/theme.dark.css" (prefers-color-scheme: dark) @import "./themes/theme.light.css" (prefers-color-scheme: light) diff --git a/src/styles/icon.css b/src/styles/icon.css index 6955aa9..fab382c 100644 --- a/src/styles/icon.css +++ b/src/styles/icon.css @@ -1,69 +1,57 @@ svg.m3.m3-svg-icon > text { - alignment-baseline: central; text-anchor: middle; -} + dominant-baseline: middle; + alignment-baseline: middle; } svg.m3.m3-svg-icon > text.m3-size-12px { width: 12px; aspect-ratio: 1; - line-height: 12px; font-size: 12px; -} + line-height: 12px; } svg.m3.m3-svg-icon > text.m3-size-16px { width: 16px; aspect-ratio: 1; - line-height: 16px; font-size: 16px; -} + line-height: 16px; } svg.m3.m3-svg-icon > text.m3-size-20px { width: 20px; aspect-ratio: 1; - line-height: 20px; font-size: 20px; -} + line-height: 20px; } svg.m3.m3-svg-icon > text.m3-size-24px { width: 24px; aspect-ratio: 1; - line-height: 24px; font-size: 24px; -} + line-height: 24px; } svg.m3.m3-svg-icon > text.m3-size-28px { width: 28px; aspect-ratio: 1; - line-height: 28px; font-size: 28px; -} + line-height: 28px; } svg.m3.m3-svg-icon > text.m3-size-32px { width: 32px; aspect-ratio: 1; - line-height: 32px; font-size: 32px; -} + line-height: 32px; } svg.m3.m3-svg-icon > text.m3-size-36px { width: 36px; aspect-ratio: 1; - line-height: 36px; font-size: 36px; -} + line-height: 36px; } svg.m3.m3-svg-icon > text.m3-size-40px { width: 40px; aspect-ratio: 1; - line-height: 40px; font-size: 40px; -} + line-height: 40px; } svg.m3.m3-svg-icon > text.m3-size-48px { width: 48px; aspect-ratio: 1; - line-height: 48px; font-size: 48px; -} + line-height: 48px; } svg.m3.m3-svg-icon > text.m3-Outlined { - font-family: Material-Symbols-Outlined-Regular; -} + font-family: Material-Symbols-Outlined-Regular; } svg.m3.m3-svg-icon > text.m3-Rounded { - font-family: Material-Symbols-Rounded-Regular; -} + font-family: Material-Symbols-Rounded-Regular; } svg.m3.m3-svg-icon > text.m3-Sharp { - font-family: Material-Symbols-Sharp-Regular; -} + font-family: Material-Symbols-Sharp-Regular; } /*# sourceMappingURL=icon.css.map */ diff --git a/src/styles/icon.css.map b/src/styles/icon.css.map index 5bb349e..7a361e2 100644 --- a/src/styles/icon.css.map +++ b/src/styles/icon.css.map @@ -1 +1,7 @@ -{"version":3,"sourceRoot":"","sources":["icon.sass"],"names":[],"mappings":"AAII;EACI;EACA;;AAGA;EACI,OATA;EAUA;EACA,aAXA;EAYA,WAZA;;AAQJ;EACI,OATA;EAUA;EACA,aAXA;EAYA,WAZA;;AAQJ;EACI,OATA;EAUA;EACA,aAXA;EAYA,WAZA;;AAQJ;EACI,OATA;EAUA;EACA,aAXA;EAYA,WAZA;;AAQJ;EACI,OATA;EAUA;EACA,aAXA;EAYA,WAZA;;AAQJ;EACI,OATA;EAUA;EACA,aAXA;EAYA,WAZA;;AAQJ;EACI,OATA;EAUA;EACA,aAXA;EAYA,WAZA;;AAQJ;EACI,OATA;EAUA;EACA,aAXA;EAYA,WAZA;;AAQJ;EACI,OATA;EAUA;EACA,aAXA;EAYA,WAZA;;AAeJ;EACI;;AADJ;EACI;;AADJ;EACI","file":"icon.css"} \ No newline at end of file +{ +"version": 3, +"mappings": "AAII,yBAAQ;EACJ,WAAW,EAAE,MAAM;EACnB,iBAAiB,EAAE,MAAM;EACzB,kBAAkB,EAAE,MAAM;AAG1B,sCAAyB;EACrB,KAAK,EAVZ,IAAI;EAWG,YAAY,EAAE,CAAC;EACf,SAAS,EAZhB,IAAI;EAaG,WAAW,EAblB,IAAI;AASD,sCAAyB;EACrB,KAAK,EAVN,IAAI;EAWH,YAAY,EAAE,CAAC;EACf,SAAS,EAZV,IAAI;EAaH,WAAW,EAbZ,IAAI;AASP,sCAAyB;EACrB,KAAK,EAVA,IAAI;EAWT,YAAY,EAAE,CAAC;EACf,SAAS,EAZJ,IAAI;EAaT,WAAW,EAbN,IAAI;AASb,sCAAyB;EACrB,KAAK,EAVM,IAAI;EAWf,YAAY,EAAE,CAAC;EACf,SAAS,EAZE,IAAI;EAaf,WAAW,EAbA,IAAI;AASnB,sCAAyB;EACrB,KAAK,EAVY,IAAI;EAWrB,YAAY,EAAE,CAAC;EACf,SAAS,EAZQ,IAAI;EAarB,WAAW,EAbM,IAAI;AASzB,sCAAyB;EACrB,KAAK,EAVkB,IAAI;EAW3B,YAAY,EAAE,CAAC;EACf,SAAS,EAZc,IAAI;EAa3B,WAAW,EAbY,IAAI;AAS/B,sCAAyB;EACrB,KAAK,EAVwB,IAAI;EAWjC,YAAY,EAAE,CAAC;EACf,SAAS,EAZoB,IAAI;EAajC,WAAW,EAbkB,IAAI;AASrC,sCAAyB;EACrB,KAAK,EAV8B,IAAI;EAWvC,YAAY,EAAE,CAAC;EACf,SAAS,EAZ0B,IAAI;EAavC,WAAW,EAbwB,IAAI;AAS3C,sCAAyB;EACrB,KAAK,EAVoC,IAAI;EAW7C,YAAY,EAAE,CAAC;EACf,SAAS,EAZgC,IAAI;EAa7C,WAAW,EAb8B,IAAI;AAgBjD,qCAAoB;EAChB,WAAW,EAAE,iCAAiC;AADlD,oCAAoB;EAChB,WAAW,EAAE,gCAAiC;AADlD,kCAAoB;EAChB,WAAW,EAAE,8BAAiC", +"sources": ["icon.sass"], +"names": [], +"file": "icon.css" +} diff --git a/src/styles/input-styles/.sass-cache/43436592c33f3be9e31b1b014d3a480962beb5e7/slider.sassc b/src/styles/input-styles/.sass-cache/43436592c33f3be9e31b1b014d3a480962beb5e7/slider.sassc new file mode 100644 index 0000000..54afdb8 Binary files /dev/null and b/src/styles/input-styles/.sass-cache/43436592c33f3be9e31b1b014d3a480962beb5e7/slider.sassc differ diff --git a/src/styles/input-styles/.sass-cache/43436592c33f3be9e31b1b014d3a480962beb5e7/swtich.sassc b/src/styles/input-styles/.sass-cache/43436592c33f3be9e31b1b014d3a480962beb5e7/swtich.sassc new file mode 100644 index 0000000..7fec9ca Binary files /dev/null and b/src/styles/input-styles/.sass-cache/43436592c33f3be9e31b1b014d3a480962beb5e7/swtich.sassc differ diff --git a/src/styles/input-styles/slider.css b/src/styles/input-styles/slider.css index c6dcbc3..59cd066 100644 --- a/src/styles/input-styles/slider.css +++ b/src/styles/input-styles/slider.css @@ -1,3 +1,80 @@ +/* +Error: Undefined mixin 'input-range-thumb-mixin'. + on line 35 of slider.sass, in `input-range-thumb-mixin' + from line 35 of slider.sass +30: overflow: hidden +31: border-radius: 2px +32: background-color: var(--md-sys-color-primary) +33: +34: &::-moz-range-thumb +35: @include input-range-thumb-mixin +36: +37: border: none +38: +39: &::-webkit-slider-container +40: appearance: none -/*# sourceMappingURL=slider.css.map */ +Backtrace: +slider.sass:35:in `input-range-thumb-mixin' +slider.sass:35 +/usr/lib/ruby/gems/3.0.0/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:348:in `block in visit_mixin' +/usr/lib/ruby/gems/3.0.0/gems/sass-3.7.4/lib/sass/stack.rb:98:in `block in with_mixin' +/usr/lib/ruby/gems/3.0.0/gems/sass-3.7.4/lib/sass/stack.rb:135:in `with_frame' +/usr/lib/ruby/gems/3.0.0/gems/sass-3.7.4/lib/sass/stack.rb:98:in `with_mixin' +/usr/lib/ruby/gems/3.0.0/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:346:in `visit_mixin' +/usr/lib/ruby/gems/3.0.0/gems/sass-3.7.4/lib/sass/tree/visitors/base.rb:36:in `visit' +/usr/lib/ruby/gems/3.0.0/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:158:in `block in visit' +/usr/lib/ruby/gems/3.0.0/gems/sass-3.7.4/lib/sass/stack.rb:79:in `block in with_base' +/usr/lib/ruby/gems/3.0.0/gems/sass-3.7.4/lib/sass/stack.rb:135:in `with_frame' +/usr/lib/ruby/gems/3.0.0/gems/sass-3.7.4/lib/sass/stack.rb:79:in `with_base' +/usr/lib/ruby/gems/3.0.0/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:158:in `visit' +/usr/lib/ruby/gems/3.0.0/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:440:in `block (2 levels) in visit_rule' +/usr/lib/ruby/gems/3.0.0/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:440:in `map' +/usr/lib/ruby/gems/3.0.0/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:440:in `block in visit_rule' +/usr/lib/ruby/gems/3.0.0/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:179:in `with_environment' +/usr/lib/ruby/gems/3.0.0/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:438:in `visit_rule' +/usr/lib/ruby/gems/3.0.0/gems/sass-3.7.4/lib/sass/tree/visitors/base.rb:36:in `visit' +/usr/lib/ruby/gems/3.0.0/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:158:in `block in visit' +/usr/lib/ruby/gems/3.0.0/gems/sass-3.7.4/lib/sass/stack.rb:79:in `block in with_base' +/usr/lib/ruby/gems/3.0.0/gems/sass-3.7.4/lib/sass/stack.rb:135:in `with_frame' +/usr/lib/ruby/gems/3.0.0/gems/sass-3.7.4/lib/sass/stack.rb:79:in `with_base' +/usr/lib/ruby/gems/3.0.0/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:158:in `visit' +/usr/lib/ruby/gems/3.0.0/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:440:in `block (2 levels) in visit_rule' +/usr/lib/ruby/gems/3.0.0/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:440:in `map' +/usr/lib/ruby/gems/3.0.0/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:440:in `block in visit_rule' +/usr/lib/ruby/gems/3.0.0/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:179:in `with_environment' +/usr/lib/ruby/gems/3.0.0/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:438:in `visit_rule' +/usr/lib/ruby/gems/3.0.0/gems/sass-3.7.4/lib/sass/tree/visitors/base.rb:36:in `visit' +/usr/lib/ruby/gems/3.0.0/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:158:in `block in visit' +/usr/lib/ruby/gems/3.0.0/gems/sass-3.7.4/lib/sass/stack.rb:79:in `block in with_base' +/usr/lib/ruby/gems/3.0.0/gems/sass-3.7.4/lib/sass/stack.rb:135:in `with_frame' +/usr/lib/ruby/gems/3.0.0/gems/sass-3.7.4/lib/sass/stack.rb:79:in `with_base' +/usr/lib/ruby/gems/3.0.0/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:158:in `visit' +/usr/lib/ruby/gems/3.0.0/gems/sass-3.7.4/lib/sass/tree/visitors/base.rb:52:in `block in visit_children' +/usr/lib/ruby/gems/3.0.0/gems/sass-3.7.4/lib/sass/tree/visitors/base.rb:52:in `map' +/usr/lib/ruby/gems/3.0.0/gems/sass-3.7.4/lib/sass/tree/visitors/base.rb:52:in `visit_children' +/usr/lib/ruby/gems/3.0.0/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:167:in `block in visit_children' +/usr/lib/ruby/gems/3.0.0/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:179:in `with_environment' +/usr/lib/ruby/gems/3.0.0/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:166:in `visit_children' +/usr/lib/ruby/gems/3.0.0/gems/sass-3.7.4/lib/sass/tree/visitors/base.rb:36:in `block in visit' +/usr/lib/ruby/gems/3.0.0/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:186:in `visit_root' +/usr/lib/ruby/gems/3.0.0/gems/sass-3.7.4/lib/sass/tree/visitors/base.rb:36:in `visit' +/usr/lib/ruby/gems/3.0.0/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:157:in `visit' +/usr/lib/ruby/gems/3.0.0/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:10:in `visit' +/usr/lib/ruby/gems/3.0.0/gems/sass-3.7.4/lib/sass/tree/root_node.rb:36:in `css_tree' +/usr/lib/ruby/gems/3.0.0/gems/sass-3.7.4/lib/sass/tree/root_node.rb:29:in `render_with_sourcemap' +/usr/lib/ruby/gems/3.0.0/gems/sass-3.7.4/lib/sass/engine.rb:389:in `_render_with_sourcemap' +/usr/lib/ruby/gems/3.0.0/gems/sass-3.7.4/lib/sass/engine.rb:307:in `render_with_sourcemap' +/usr/lib/ruby/gems/3.0.0/gems/sass-3.7.4/lib/sass/exec/sass_scss.rb:387:in `run' +/usr/lib/ruby/gems/3.0.0/gems/sass-3.7.4/lib/sass/exec/sass_scss.rb:63:in `process_result' +/usr/lib/ruby/gems/3.0.0/gems/sass-3.7.4/lib/sass/exec/base.rb:50:in `parse' +/usr/lib/ruby/gems/3.0.0/gems/sass-3.7.4/lib/sass/exec/base.rb:18:in `parse!' +/usr/lib/ruby/gems/3.0.0/gems/sass-3.7.4/bin/sass:13:in `' +/usr/bin/sass:23:in `load' +/usr/bin/sass:23:in `
' +*/ +body:before { + white-space: pre; + font-family: monospace; + content: "Error: Undefined mixin 'input-range-thumb-mixin'.\A on line 35 of slider.sass, in `input-range-thumb-mixin'\A from line 35 of slider.sass\A \A 30: overflow: hidden\A 31: border-radius: 2px\A 32: background-color: var(--md-sys-color-primary)\A 33: \A 34: &::-moz-range-thumb\A 35: @include input-range-thumb-mixin\A 36: \A 37: border: none\A 38: \A 39: &::-webkit-slider-container\A 40: appearance: none"; } diff --git a/src/styles/input-styles/swtich.css b/src/styles/input-styles/swtich.css index 0f45003..66e176a 100644 --- a/src/styles/input-styles/swtich.css +++ b/src/styles/input-styles/swtich.css @@ -1,225 +1,113 @@ div.m3.m3-switch { + gap: 20px; margin: 4px; - box-sizing: content-box; + height: 32px; display: flex; align-items: center; - justify-content: center; - width: 52px; - height: 32px; -} -div.m3.m3-switch > svg { - overflow: visible; - transition: 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275); - width: 52px; - height: 32px; -} -div.m3.m3-switch > svg > g { - transform: translate(11.5%, 81%); - transition: 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275); -} -div.m3.m3-switch > svg > g > text { - font-family: Material-Symbols-Outlined-Regular; - font-size: 20px; -} -div.m3.m3-switch > svg > circle.m3.m3-switch-handler-state-layer, -div.m3.m3-switch > svg > circle.m3.m3-switch-handler { - transition: 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275); - cy: 50%; - cx: 16px; -} -div.m3.m3-switch > svg > circle.m3.m3-switch-handler-state-layer { - r: 20px; - fill-opacity: 0; -} -div.m3.m3-switch > svg > circle.m3.m3-switch-handler { - r: 8px; -} -div.m3.m3-switch > svg > rect.m3.m3-switch-track { - transition: fill 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275); - stroke-width: 2px; - border-radius: 16px; - rx: 15px; - width: 50px; - height: 30px; -} -div.m3.m3-switch > input.m3 { - cursor: pointer; - appearance: none; - opacity: 0 !important; - margin: 0; - width: 52px; - height: 32px; - position: absolute; -} -div.m3.m3-switch > input.m3:disabled { - cursor: not-allowed; -} -div.m3.m3-switch - > input.m3:not(:checked, :disabled) - + svg - > circle.m3.m3-switch-handler { - fill: var(--md-sys-color-outline); -} -div.m3.m3-switch > input.m3:checked:not(:disabled) + svg > g { - transform: translate(50%, 81%); -} -div.m3.m3-switch - > input.m3:checked:not(:disabled) - + svg - > circle.m3.m3-switch-handler { - fill: var(--md-sys-color-on-primary); -} -div.m3.m3-switch - > input.m3:not(:disabled) - + svg - > g - > text.m3.m3-icon-unchecked { - fill: var(--md-sys-color-on-primary); -} -div.m3.m3-switch - > input.m3:not(:disabled) - + svg - > g - > text.m3.m3-icon-checked { - fill: var(--md-sys-color-on-primary-container); -} -div.m3.m3-switch - > input.m3:checked:disabled - + svg - > circle.m3.m3-switch-handler { - fill: var(--md-sys-color-surface); -} -div.m3.m3-switch > input.m3:checked + svg > circle.m3.m3-switch-handler, -div.m3.m3-switch - > input.m3 - + svg:has(text.m3.m3-icon-unchecked) - > circle.m3.m3-switch-handler { - r: 12px; -} -div.m3.m3-switch > input.m3:checked + svg > g > text.m3.m3-icon-unchecked { - opacity: 0; -} -div.m3.m3-switch - > input.m3:checked - + svg - > circle.m3:is(.m3-switch-handler, .m3-switch-handler-state-layer) { - cx: calc(100% - 16px); -} -div.m3.m3-switch - > input.m3:not(:checked) - + svg - > g - > text.m3.m3-icon-checked { - opacity: 0; -} -div.m3.m3-switch - > input.m3:is( - div.m3.m3-switch > input.m3:checked, - div.m3.m3-switch > input.m3 - ):not(:disabled):active - + svg - > circle.m3.m3-switch-handler { - r: 14px; -} -div.m3.m3-switch - > input.m3:not(:checked):disabled - + svg - > circle.m3.m3-switch-handler { - fill: var(--md-sys-color-on-surface); - fill-opacity: 38%; -} -div.m3.m3-switch - > input.m3:hover:not(:disabled):checked - + svg - > circle.m3.m3-switch-handler { - fill: var(--md-sys-color-primary-container); -} -div.m3.m3-switch - > input.m3:hover:not(:disabled):checked - + svg - > circle.m3.m3-switch-handler-state-layer { - fill: var(--md-sys-color-primary); - fill-opacity: 8%; -} -div.m3.m3-switch - > input.m3:hover:not(:disabled):not(:checked) - + svg - > circle.m3.m3-switch-handler { - fill: var(--md-sys-color-on-surface-variant); -} -div.m3.m3-switch - > input.m3:hover:not(:disabled):not(:checked) - + svg - > circle.m3.m3-switch-handler-state-layer { - fill: var(--md-sys-color-on-surface); - fill-opacity: 8%; -} -div.m3.m3-switch - > input.m3:active:not(:disabled):checked - + svg - > circle.m3.m3-switch-handler-state-layer { - fill: var(--md-sys-color-primary); - fill-opacity: 12%; -} -div.m3.m3-switch - > input.m3:active:not(:disabled):not(:checked) - + svg - > circle.m3.m3-switch-handler-state-layer { - fill: var(--md-sys-color-on-surface); - fill-opacity: 12%; -} -div.m3.m3-switch - > input.m3:is(:checked, :checked:disabled) - + svg - > rect.m3.m3-switch-track { - rx: 16px; - width: 52px; - height: 32px; - stroke-width: 0; -} -div.m3.m3-switch - > input.m3:is( - div.m3.m3-switch > input.m3:not(:checked), - div.m3.m3-switch > input.m3:not(:checked):disabled - ) - + svg - > rect.m3.m3-switch-track { - x: 1px; - y: 1px; -} -div.m3.m3-switch > input.m3:not(:checked) + svg > rect.m3.m3-switch-track { - stroke: var(--md-sys-color-outline); - fill: var(--md-sys-color-surface-container-highest); -} -div.m3.m3-switch > input.m3:checked + svg > rect.m3.m3-switch-track { - stroke: var(--md-sys-color-primary); - fill: var(--md-sys-color-primary); -} -div.m3.m3-switch > input.m3:disabled + svg > g > text.m3 { - fill: color-mix( - in srgb, - var(--md-sys-color-surface-container-highest) 38%, - transparent - ); -} -div.m3.m3-switch > input.m3:disabled + svg > rect.m3.m3-switch-track { - stroke: color-mix(in srgb, var(--md-sys-color-on-surface) 12%, transparent); - fill: color-mix( - in srgb, - var(--md-sys-color-surface-variant) 12%, - transparent - ); -} -div.m3.m3-switch > input.m3:checked:disabled + svg > g > text.m3 { - transform: translateX(38.5%); - fill: color-mix(in srgb, var(--md-sys-color-on-surface) 38%, transparent); -} -div.m3.m3-switch - > input.m3:checked:disabled - + svg - > rect.m3.m3-switch-track { - stroke: color-mix(in srgb, var(--md-sys-color-on-surface) 0%, transparent); - fill: color-mix(in srgb, var(--md-sys-color-on-surface) 12%, transparent); -} + justify-content: left; + box-sizing: content-box; } + div.m3.m3-switch > svg { + width: 52px; + height: 32px; + overflow: visible; + transition: 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275); } + div.m3.m3-switch > svg > g { + transform: translate(11.5%, 81%); + transition: 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275); } + div.m3.m3-switch > svg > g > text { + font-size: 20px; + font-family: Material-Symbols-Outlined-Regular, serif; } + div.m3.m3-switch > svg > circle.m3.m3-switch-handler-state-layer, div.m3.m3-switch > svg > circle.m3.m3-switch-handler { + cy: 50%; + cx: 16px; + transition: 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275); } + div.m3.m3-switch > svg > circle.m3.m3-switch-handler-state-layer { + r: 20px; + fill-opacity: 0; } + div.m3.m3-switch > svg > circle.m3.m3-switch-handler { + r: 8px; } + div.m3.m3-switch > svg > rect.m3.m3-switch-track { + transition: fill 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275); + stroke-width: 2px; + border-radius: 16px; + rx: 15px; + width: 50px; + height: 30px; } + div.m3.m3-switch > input.m3 { + margin: 0; + width: 52px; + height: 32px; + cursor: pointer; + appearance: none; + position: absolute; + opacity: 0 !important; } + div.m3.m3-switch > input.m3:disabled { + cursor: not-allowed; } + div.m3.m3-switch > input.m3:not(:checked, :disabled) + svg > circle.m3.m3-switch-handler { + fill: var(--md-sys-color-outline); } + div.m3.m3-switch > input.m3:checked:not(:disabled) + svg > g { + transform: translate(50%, 81%); } + div.m3.m3-switch > input.m3:checked:not(:disabled) + svg > circle.m3.m3-switch-handler { + fill: var(--md-sys-color-on-primary); } + div.m3.m3-switch > input.m3:not(:disabled) + svg > g > text.m3.m3-icon-unchecked { + fill: var(--md-sys-color-on-primary); } + div.m3.m3-switch > input.m3:not(:disabled) + svg > g > text.m3.m3-icon-checked { + fill: var(--md-sys-color-on-primary-container); } + div.m3.m3-switch > input.m3:checked:disabled + svg > circle.m3.m3-switch-handler { + fill: var(--md-sys-color-surface); } + div.m3.m3-switch > input.m3:checked + svg > circle.m3.m3-switch-handler, div.m3.m3-switch > input.m3 + svg:has(text.m3.m3-icon-unchecked) > circle.m3.m3-switch-handler { + r: 12px; } + div.m3.m3-switch > input.m3:checked + svg > g > text.m3.m3-icon-unchecked { + opacity: 0; } + div.m3.m3-switch > input.m3:checked + svg > circle.m3:is(.m3-switch-handler, .m3-switch-handler-state-layer) { + cx: calc(100% - 16px); } + div.m3.m3-switch > input.m3:not(:checked) + svg > g > text.m3.m3-icon-checked { + opacity: 0; } + div.m3.m3-switch > input.m3:is(&:checked, &):not(:disabled):active + svg > circle.m3.m3-switch-handler { + r: 14px; } + div.m3.m3-switch > input.m3:not(:checked):disabled + svg > circle.m3.m3-switch-handler { + fill-opacity: 38%; + fill: var(--md-sys-color-on-surface); } + div.m3.m3-switch > input.m3:hover:not(:disabled):checked + svg > circle.m3.m3-switch-handler { + fill: var(--md-sys-color-primary-container); } + div.m3.m3-switch > input.m3:hover:not(:disabled):checked + svg > circle.m3.m3-switch-handler-state-layer { + fill-opacity: 8%; + fill: var(--md-sys-color-primary); } + div.m3.m3-switch > input.m3:hover:not(:disabled):not(:checked) + svg > circle.m3.m3-switch-handler { + fill: var(--md-sys-color-on-surface-variant); } + div.m3.m3-switch > input.m3:hover:not(:disabled):not(:checked) + svg > circle.m3.m3-switch-handler-state-layer { + fill-opacity: 8%; + fill: var(--md-sys-color-on-surface); } + div.m3.m3-switch > input.m3:active:not(:disabled):checked + svg > circle.m3.m3-switch-handler-state-layer { + fill-opacity: 12%; + fill: var(--md-sys-color-primary); } + div.m3.m3-switch > input.m3:active:not(:disabled):not(:checked) + svg > circle.m3.m3-switch-handler-state-layer { + fill-opacity: 12%; + fill: var(--md-sys-color-on-surface); } + div.m3.m3-switch > input.m3:is(:checked, :checked:disabled) + svg > rect.m3.m3-switch-track { + rx: 16px; + width: 52px; + height: 32px; + stroke-width: 0; } + div.m3.m3-switch > input.m3:is(&:not(:checked), &:not(:checked):disabled) + svg > rect.m3.m3-switch-track { + x: 1px; + y: 1px; } + div.m3.m3-switch > input.m3:not(:checked) + svg > rect.m3.m3-switch-track { + stroke: var(--md-sys-color-outline); + fill: var(--md-sys-color-surface-container-highest); } + div.m3.m3-switch > input.m3:checked + svg > rect.m3.m3-switch-track { + fill: var(--md-sys-color-primary); + stroke: var(--md-sys-color-primary); } + div.m3.m3-switch > input.m3:disabled + svg > g > text.m3 { + fill: color-mix(in srgb, var(--md-sys-color-surface-container-highest) 38%, transparent); } + div.m3.m3-switch > input.m3:disabled + svg > rect.m3.m3-switch-track { + stroke: color-mix(in srgb, var(--md-sys-color-on-surface) 12%, transparent); + fill: color-mix(in srgb, var(--md-sys-color-surface-variant) 12%, transparent); } + div.m3.m3-switch > input.m3:checked:disabled + svg > g > text.m3 { + transform: translateX(38.5%); + fill: color-mix(in srgb, var(--md-sys-color-on-surface) 38%, transparent); } + div.m3.m3-switch > input.m3:checked:disabled + svg > rect.m3.m3-switch-track { + fill: color-mix(in srgb, var(--md-sys-color-on-surface) 12%, transparent); + stroke: color-mix(in srgb, var(--md-sys-color-on-surface) 0%, transparent); } /*# sourceMappingURL=swtich.css.map */ diff --git a/src/styles/input-styles/swtich.css.map b/src/styles/input-styles/swtich.css.map index fe3f8fd..8d66ba1 100644 --- a/src/styles/input-styles/swtich.css.map +++ b/src/styles/input-styles/swtich.css.map @@ -1 +1,7 @@ -{"version":3,"sourceRoot":"","sources":["swtich.sass"],"names":[],"mappings":"AAAA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;EACA;;AAEA;EACI;EACA;;AACA;EACI;EACA;;AAER;EACI;EACA;EACA;;AAEJ;EACI;EACA;;AAEJ;EACI;;AAEJ;EACI;EACA;EACA;EACA;EACA;EACA;;AAER;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;;AAGA;EACI;;AAGJ;EACI;;AAEJ;EACI;;AAGJ;EACI;;AAEJ;EACI;;AAER;EACI;;AAEJ;EAEI;;AAGA;EACI;;AAEJ;EACI;;AAGJ;EACI;;AAER;EACI;;AAEJ;EACI;EACA;;AAII;EACI;;AAEJ;EACI;EACA;;AAGJ;EACI;;AAEJ;EACI;EACA;;AAGR;EACI;EACA;;AAEJ;EACI;EACA;;AAER;EACI;EACA;EACA;EACA;;AAEJ;EACI;EACA;;AAEJ;EACI;EACA;;AAEJ;EACI;EACA;;AAGA;EACI;;AAEJ;EACI;EACA;;AAGJ;EACI;EACA;;AAEJ;EACI;EACA","file":"swtich.css"} \ No newline at end of file +{ +"version": 3, +"mappings": "AAAA,gBAAgB;EACZ,GAAG,EAAE,IAAI;EACT,MAAM,EAAE,GAAG;EACX,MAAM,EAAE,IAAI;EACZ,OAAO,EAAE,IAAI;EACb,WAAW,EAAE,MAAM;EACnB,eAAe,EAAE,IAAI;EACrB,UAAU,EAAE,WAAW;EAEvB,sBAAO;IACH,KAAK,EAAE,IAAI;IACX,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,OAAO;IACjB,UAAU,EA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C,4FAA+B;MAC3B,IAAI,EAAE,qCAAqC;IAE/C,wGAA2C;MACvC,YAAY,EAAE,EAAE;MAChB,IAAI,EAAE,2BAA2B;IAGrC,kGAA+B;MAC3B,IAAI,EAAE,sCAAsC;IAEhD,8GAA2C;MACvC,YAAY,EAAE,EAAE;MAChB,IAAI,EAAE,8BAA8B;IAG5C,yGAAyD;MACrD,YAAY,EAAE,GAAG;MACjB,IAAI,EAAE,2BAA2B;IAErC,+GAA+D;MAC3D,YAAY,EAAE,GAAG;MACjB,IAAI,EAAE,8BAA8B;IAE5C,2FAAiE;MAC7D,EAAE,EAAE,IAAI;MACR,KAAK,EAAE,IAAI;MACX,MAAM,EAAE,IAAI;MACZ,YAAY,EAAE,CAAC;IAEnB,yGAA+E;MAC3E,CAAC,EAAE,GAAG;MACN,CAAC,EAAE,GAAG;IAEV,yEAA+C;MAC3C,MAAM,EAAE,2BAA2B;MACnC,IAAI,EAAE,6CAA6C;IAEvD,mEAAyC;MACrC,IAAI,EAAE,2BAA2B;MACjC,MAAM,EAAE,2BAA2B;IAGnC,wDAAe;MACX,IAAI,EAAE,kFAAkF;IAE5F,oEAA2B;MACvB,MAAM,EAAE,mEAAmE;MAC3E,IAAI,EAAE,wEAAwE;IAGlF,gEAAe;MACX,SAAS,EAAE,iBAAiB;MAC5B,IAAI,EAAE,mEAAmE;IAE7E,4EAA2B;MACvB,IAAI,EAAE,mEAAmE;MACzE,MAAM,EAAE,kEAAkE", +"sources": ["swtich.sass"], +"names": [], +"file": "swtich.css" +} diff --git a/src/styles/mixins/.sass-cache/8b8ae4cfe093f9b8cd4cfabc532cf27ca06131f7/m3-mixins.sassc b/src/styles/mixins/.sass-cache/8b8ae4cfe093f9b8cd4cfabc532cf27ca06131f7/m3-mixins.sassc index fe464b5..5f96120 100644 Binary files a/src/styles/mixins/.sass-cache/8b8ae4cfe093f9b8cd4cfabc532cf27ca06131f7/m3-mixins.sassc and b/src/styles/mixins/.sass-cache/8b8ae4cfe093f9b8cd4cfabc532cf27ca06131f7/m3-mixins.sassc differ diff --git a/src/styles/mixins/m3-mixins.css b/src/styles/mixins/m3-mixins.css index a31b927..4d6e350 100644 --- a/src/styles/mixins/m3-mixins.css +++ b/src/styles/mixins/m3-mixins.css @@ -1 +1,3 @@ + + /*# sourceMappingURL=m3-mixins.css.map */ diff --git a/src/styles/mixins/m3-mixins.css.map b/src/styles/mixins/m3-mixins.css.map index 85fd488..89551c2 100644 --- a/src/styles/mixins/m3-mixins.css.map +++ b/src/styles/mixins/m3-mixins.css.map @@ -1 +1,7 @@ -{"version":3,"sourceRoot":"","sources":[],"names":[],"mappings":"","file":"m3-mixins.css"} \ No newline at end of file +{ +"version": 3, +"mappings": "", +"sources": [], +"names": [], +"file": "m3-mixins.css" +} diff --git a/src/styles/ripple.css b/src/styles/ripple.css index 0a37527..33d0748 100644 --- a/src/styles/ripple.css +++ b/src/styles/ripple.css @@ -3,8 +3,7 @@ width: 100%; height: 100%; z-index: 20; - pointer-events: none; -} + pointer-events: none; } .m3.ripple { position: absolute; @@ -15,26 +14,20 @@ z-index: 20; aspect-ratio: 1; border-radius: 50%; + animation-duration: 0.55s; + animation-iteration-count: 1; animation-name: rippleAppearanceAnimation; animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); - animation-duration: 0.55s; - transition: - opacity, - background, - background-color, - 0.55s cubic-bezier(0.4, 0, 0.2, 1); -} -.m3.ripple.visible { - opacity: 1 !important; -} + transition-duration: 0.55s; + transition-property: opacity, background-color; + transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); } + .m3.ripple.visible { + opacity: 1 !important; } @keyframes rippleAppearanceAnimation { 0% { - transform: scale3d(0, 0, 0); - } + transform: scale3d(0, 0, 0); } 100% { - transform: scale3d(1, 1, 1); - } -} + transform: scale3d(1, 1, 1); } } /*# sourceMappingURL=ripple.css.map */ diff --git a/src/styles/ripple.css.map b/src/styles/ripple.css.map index 6ee188e..910ddc4 100644 --- a/src/styles/ripple.css.map +++ b/src/styles/ripple.css.map @@ -1 +1,7 @@ -{"version":3,"sourceRoot":"","sources":["ripple.sass"],"names":[],"mappings":"AAAA;EACE;EACA;EACA;EACA;EACA;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;;AAEJ;EACE;IACE;;EACF;IACE","file":"ripple.css"} \ No newline at end of file +{ +"version": 3, +"mappings": "AAAA,oBAAoB;EAClB,QAAQ,EAAE,QAAQ;EAClB,KAAK,EAAE,IAAI;EACX,MAAM,EAAE,IAAI;EACZ,OAAO,EAAE,EAAE;EACX,cAAc,EAAE,IAAI;;AAEtB,UAAU;EACR,QAAQ,EAAE,QAAQ;EAClB,QAAQ,EAAE,MAAM;EAChB,cAAc,EAAE,IAAI;EACpB,gBAAgB,EAAE,MAAM;EACxB,OAAO,EAAE,CAAC;EACV,OAAO,EAAE,EAAE;EACX,YAAY,EAAE,CAAC;EACf,aAAa,EAAE,GAAG;EAElB,kBAAkB,EAAE,KAAI;EACxB,yBAAyB,EAAE,CAAC;EAC5B,cAAc,EAAE,yBAAyB;EACzC,yBAAyB,EAAE,4BAA4B;EAEvD,mBAAmB,EAAE,KAAI;EACzB,mBAAmB,EAAE,yBAAyB;EAC9C,0BAA0B,EAAE,4BAA4B;EAExD,kBAAS;IACP,OAAO,EAAE,YAAY;;;;IAIrB,SAAS,EAAE,gBAAgB;;IAE3B,SAAS,EAAE,gBAAgB", +"sources": ["ripple.sass"], +"names": [], +"file": "ripple.css" +} diff --git a/src/styles/typography.css b/src/styles/typography.css index ab5b08d..0eda407 100644 --- a/src/styles/typography.css +++ b/src/styles/typography.css @@ -1,5 +1,3 @@ -:is(h1, h2, h3, h4, h5, h6, code, p, span, pre, label).m3.m3-typography { - vertical-align: center; -} + /*# sourceMappingURL=typography.css.map */ diff --git a/src/styles/typography.css.map b/src/styles/typography.css.map index 2cde4b2..6f9168e 100644 --- a/src/styles/typography.css.map +++ b/src/styles/typography.css.map @@ -1 +1,7 @@ -{"version":3,"sourceRoot":"","sources":["typography.sass"],"names":[],"mappings":"AAAA;EACI","file":"typography.css"} \ No newline at end of file +{ +"version": 3, +"mappings": "", +"sources": [], +"names": [], +"file": "typography.css" +}