diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 11ac7fc..044bb3c 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,17 +4,33 @@
-
-
-
-
-
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
+
@@ -25,8 +41,8 @@
-
+
@@ -48,24 +64,24 @@
- {
+ "keyToString": {
+ "RunOnceActivity.OpenProjectViewOnStart": "true",
+ "RunOnceActivity.ShowReadmeOnStart": "true",
+ "WebServerToolWindowFactoryState": "false",
+ "git-widget-placeholder": "main",
+ "last_opened_file_path": "/home/drn04/material-you-react",
+ "list.type.of.created.stylesheet": "Sass",
+ "node.js.detected.package.eslint": "true",
+ "node.js.detected.package.tslint": "true",
+ "node.js.selected.package.eslint": "(autodetect)",
+ "node.js.selected.package.tslint": "(autodetect)",
+ "nodejs_package_manager_path": "npm",
+ "settings.editor.selected.configurable": "watcher.settings",
+ "ts.external.directory.path": "/home/doryan04/DoryanNetwork/doryan-blog-next-turbo/node_modules/typescript/lib",
+ "vue.rearranger.settings.migration": "true"
}
-}]]>
+}
@@ -179,6 +195,8 @@
+
+
@@ -590,7 +608,6 @@
-
@@ -615,6 +632,7 @@
-
+
+
\ No newline at end of file
diff --git a/app/components/badges.tsx b/app/components/badges.tsx
new file mode 100644
index 0000000..77b33c2
--- /dev/null
+++ b/app/components/badges.tsx
@@ -0,0 +1,119 @@
+import React from 'react';
+import {Badge} from "../../src/primitive-components/badge/badge";
+import {Divider} from "../../src/primitive-components/divider/divider";
+
+export default function Badges() {
+ return (
+
+
+
+
+
+
+
+
+
+
+
+
+ 3487
+
+
+
+ 5
+
+
+
+ 32
+
+
+
+ 322342
+
+
+
+ {/*
*/}
+ {/**/}
+ {/*
*/}
+ {/*
*/}
+ {/* */}
+ {/*
*/}
+ {/*
*/}
+ {/* */}
+ {/* 5 */}
+ {/*
*/}
+ {/* */}
+ {/* */}
+ {/* 32 */}
+ {/*
*/}
+ {/* */}
+ {/*
*/}
+
+ );
+}
\ No newline at end of file
diff --git a/app/components/fabs.tsx b/app/components/fabs.tsx
index 7de622f..3ec86de 100644
--- a/app/components/fabs.tsx
+++ b/app/components/fabs.tsx
@@ -4,79 +4,180 @@ import {FAB} from "../../src/primitive-components/material-you-components";
export default function Fabs() {
return (
-
FABs
-
+
-
Small
-
-
-
-
-
+ FABs with elevation
+
+
+
+
+
+
Extended
+
+
+
+ Label
+
+
+
+
+ Label
+
+
+
+
+ Label
+
+
+
+
+ Label
+
+
+
+
-
-
-
Extended
-
-
+ FABs without elevation
+
+
+
+
+
+
Extended
+
+
Label
-
-
+
+
Label
-
-
+
+
Label
-
-
+
+
Label
-
+
+
+
diff --git a/app/page.tsx b/app/page.tsx
index c48e141..741f92d 100644
--- a/app/page.tsx
+++ b/app/page.tsx
@@ -1,5 +1,6 @@
import {Fragment} from "react";
-import {Badge, Divider} from "../src/primitive-components/material-you-components";
+import Fabs from "./components/fabs";
+import Badges from "./components/badges";
export default function Page() {
return(
@@ -20,97 +21,8 @@ export default function Page() {
justifyContent: "center",
alignItems: "center"
}}>
-
-
-
-
-
-
-
-
- 5
-
-
-
- 32
-
-
-
-
-
-
-
-
-
-
-
- 5
-
-
-
- 32
-
-
-
-
+
+
diff --git a/src/primitive-components/badge/badge.tsx b/src/primitive-components/badge/badge.tsx
index 116d9a7..9841c2a 100644
--- a/src/primitive-components/badge/badge.tsx
+++ b/src/primitive-components/badge/badge.tsx
@@ -1,19 +1,33 @@
import React, {ForwardedRef, forwardRef, PropsWithChildren} from 'react';
-import {number, string} from "prop-types";
+import {bool, number, string} from "prop-types";
+
+interface BadgeProps extends PropsWithChildren
{
+ disableValue?: boolean,
+}
+
+const Badge = forwardRef(function Badge({disableValue = false, ...props} : BadgeProps, ref : ForwardedRef) {
+
+ let digitLength = props.children ? 16 + ((props.children.length - 1) * 6) : 6,
+ disableValueClassName = (disableValue || (!props.children ?? true)) ? "disable-value" : "";
-const Badge = forwardRef(function Badge(props : PropsWithChildren, ref : ForwardedRef) {
return (
-
- {props.children && {props.children} }
-
+
+ {props.children &&
+
+ {props.children}
+
+ }
+
);
})
Badge.propTypes = {
children: number,
className: string,
+ disableValue: bool,
}
export {Badge};
\ No newline at end of file
diff --git a/src/primitive-components/fab/fab.tsx b/src/primitive-components/fab/fab.tsx
index 1b584db..b0da69a 100644
--- a/src/primitive-components/fab/fab.tsx
+++ b/src/primitive-components/fab/fab.tsx
@@ -8,13 +8,11 @@ import {ButtonSkeleton} from "../button-skeleton/button-skeleton";
*/
export const FAB = forwardRef(
-
(props : FABMainProps, ref) => (
+ className={`m3-fab m3-${props.size ?? "default"}-fab ${!(props.elevated ?? false) && "without-elevation"}`}>
{props.icon}
@@ -28,5 +26,4 @@ export const FAB = forwardRef(
}
)
-
);
\ No newline at end of file
diff --git a/src/styles/badge.css b/src/styles/badge.css
index fdb02d6..d7a0662 100644
--- a/src/styles/badge.css
+++ b/src/styles/badge.css
@@ -1,27 +1,31 @@
-span.m3.m3-badge {
+svg.m3.m3-badge {
position: absolute;
background-color: var(--md-sys-color-error);
- border-radius: 8px;
- display: flex;
- align-items: center;
- justify-content: center;
- min-width: 6px;
- min-height: 6px;
}
-span.m3.m3-badge > span {
- color: var(--md-sys-color-on-error);
- font-size: 7pt;
- line-height: var(--md-sys-typescale-label-small-line-height);
+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);
- letter-spacing: var(--md-sys-typescale-label-small-letter-spacing);
- text-align: center;
- min-width: 8px;
- padding: 0 4px;
+ line-height: var(--md-sys-typescale-label-small-line-height);
+ font-optical-sizing: none;
+ alignment-baseline: central;
+ text-anchor: middle;
display: flex;
- justify-content: center;
align-items: center;
- min-height: 16px;
- width: auto;
+ justify-content: center;
}
/*# sourceMappingURL=badge.css.map */
diff --git a/src/styles/badge.css.map b/src/styles/badge.css.map
index e3656b7..270c396 100644
--- a/src/styles/badge.css.map
+++ b/src/styles/badge.css.map
@@ -1 +1 @@
-{"version":3,"sourceRoot":"","sources":["badge.sass"],"names":[],"mappings":"AAAA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA","file":"badge.css"}
\ No newline at end of file
+{"version":3,"sourceRoot":"","sources":["badge.sass"],"names":[],"mappings":"AAAA;EACI;EACA;;AACA;EACI;EACA;EACA;EACA;;AACA;EACI;;AACR;EACI;EACA;;AAEJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA","file":"badge.css"}
\ No newline at end of file
diff --git a/src/styles/badge.sass b/src/styles/badge.sass
index 1f3a0a3..fe35806 100644
--- a/src/styles/badge.sass
+++ b/src/styles/badge.sass
@@ -1,25 +1,25 @@
-span.m3.m3-badge
+svg.m3.m3-badge
position: absolute
background-color: var(--md-sys-color-error)
- border-radius: 8px
- display: flex
- align-items: center
- justify-content: center
- min-width: 6px
- min-height: 6px
+ &.disable-value
+ padding: 0
+ height: 6px
+ width: 6px
+ border-radius: 3px
+ & > text
+ display: none
+ &
+ border-radius: 8px
+ height: 16px
- & > span
- color: var(--md-sys-color-on-error)
- font-size: 7pt
- line-height: var(--md-sys-typescale-label-small-line-height)
+ & > 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)
- letter-spacing: var(--md-sys-typescale-label-small-letter-spacing)
- text-align: center
- min-width: 8px
- padding: 0 4px
+ line-height: var(--md-sys-typescale-label-small-line-height)
+ font-optical-sizing: none
+ alignment-baseline: central
+ text-anchor: middle
display: flex
- justify-content: center
align-items: center
- min-height: 16px
- width: auto
-
+ justify-content: center
diff --git a/src/styles/button.css b/src/styles/button.css
index 135ff8a..5f3982a 100644
--- a/src/styles/button.css
+++ b/src/styles/button.css
@@ -1,93 +1,127 @@
button:not(.m3-fab, .m3-icon-button) {
- transition: background-color, box-shadow, 0.2s cubic-bezier(0.2, 0, 0, 1) !important; }
- button:not(.m3-fab, .m3-icon-button) > span.m3-icon {
- font-family: Material-Symbols-Outlined-Regular, sans-serif;
- font-weight: 500;
- font-size: 18px;
- line-height: 18px; }
- button:not(.m3-fab, .m3-icon-button).m3 {
- contain: content;
- box-sizing: border-box;
- border-radius: 100px;
- display: inline-flex;
- flex-direction: row;
- justify-content: center;
- align-items: center;
- text-align: center;
- padding: 10px 24px;
- border: none;
- gap: 8px; }
- 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 > span.m3-icon {
- color: var(--md-sys-color-on-primary); }
- button:not(.m3-fab, .m3-icon-button).outlined {
- border: 1px solid var(--md-sys-color-outline) !important;
- background-color: #00000000; }
- button:not(.m3-fab, .m3-icon-button).outlined, button:not(.m3-fab, .m3-icon-button).outlined > span.m3-icon {
- color: var(--md-sys-color-primary); }
- button:not(.m3-fab, .m3-icon-button).text {
- padding: 10px 12px !important;
- background-color: #00000000; }
- button:not(.m3-fab, .m3-icon-button).text, button:not(.m3-fab, .m3-icon-button).text > span.m3-icon {
- color: 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);
- background-color: var(--md-sys-color-surface-container-low); }
- button:not(.m3-fab, .m3-icon-button).elevated, button:not(.m3-fab, .m3-icon-button).elevated > span.m3-icon {
- color: var(--md-sys-color-primary); }
- button:not(.m3-fab, .m3-icon-button).tonal {
- background-color: var(--md-sys-color-secondary-container); }
- button:not(.m3-fab, .m3-icon-button).tonal, button:not(.m3-fab, .m3-icon-button).tonal > span.m3-icon {
- color: 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 {
- border: 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) > span.m3-icon {
+ font-family: Material-Symbols-Outlined-Regular, sans-serif;
+ font-weight: 500;
+ font-size: 18px;
+ line-height: 18px;
+}
+button:not(.m3-fab, .m3-icon-button).m3 {
+ contain: content;
+ box-sizing: border-box;
+ border-radius: 100px;
+ display: inline-flex;
+ flex-direction: row;
+ justify-content: center;
+ align-items: center;
+ text-align: center;
+ padding: 10px 24px;
+ border: none;
+ gap: 8px;
+}
+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 > span.m3-icon {
+ color: var(--md-sys-color-on-primary);
+}
+button:not(.m3-fab, .m3-icon-button).outlined {
+ border: 1px solid var(--md-sys-color-outline) !important;
+ background-color: rgba(0, 0, 0, 0);
+}
+button:not(.m3-fab, .m3-icon-button).outlined, button:not(.m3-fab, .m3-icon-button).outlined > span.m3-icon {
+ color: var(--md-sys-color-primary);
+}
+button:not(.m3-fab, .m3-icon-button).text {
+ padding: 10px 12px !important;
+ background-color: rgba(0, 0, 0, 0);
+}
+button:not(.m3-fab, .m3-icon-button).text, button:not(.m3-fab, .m3-icon-button).text > span.m3-icon {
+ color: 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);
+ background-color: var(--md-sys-color-surface-container-low);
+}
+button:not(.m3-fab, .m3-icon-button).elevated, button:not(.m3-fab, .m3-icon-button).elevated > span.m3-icon {
+ color: var(--md-sys-color-primary);
+}
+button:not(.m3-fab, .m3-icon-button).tonal {
+ background-color: var(--md-sys-color-secondary-container);
+}
+button:not(.m3-fab, .m3-icon-button).tonal, button:not(.m3-fab, .m3-icon-button).tonal > span.m3-icon {
+ color: 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 {
+ border: 1px solid color-mix(in srgb, var(--md-sys-color-on-surface) 12%, transparent) !important;
+}
/*# sourceMappingURL=button.css.map */
diff --git a/src/styles/button.css.map b/src/styles/button.css.map
index 8ddcca4..1715567 100644
--- a/src/styles/button.css.map
+++ b/src/styles/button.css.map
@@ -1,7 +1 @@
-{
-"version": 3,
-"mappings": "AAEA,oCAAoC;EAChC,UAAU,EAAE,wEAAuE;EAEnF,mDAAgB;IACZ,WAAW,EAAE,6CAA6C;IAC1D,WAAW,EAAE,GAAG;IAChB,SAAS,EAAE,IAAI;IACf,WAAW,EAAE,IAAI;EAErB,uCAAI;IACA,OAAO,EAAE,OAAO;IAChB,UAAU,EAAE,UAAU;IACtB,aAAa,EAAE,KAAK;IACpB,OAAO,EAAE,WAAW;IACpB,cAAc,EAAE,GAAG;IACnB,eAAe,EAAE,MAAM;IACvB,WAAW,EAAE,MAAM;IACnB,UAAU,EAAE,MAAM;IAClB,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,IAAI;IACZ,GAAG,EAAE,GAAG;EAEZ,2CAAQ;IACJ,gBAAgB,EAAE,2BAA2B;IAC7C,uGAAmB;MACf,KAAK,EAAE,8BAA8B;EAE7C,6CAAU;IACN,MAAM,EAAE,gDAAgD;IACxD,gBAAgB,EAAE,SAAS;IAC3B,2GAAmB;MACf,K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K,EAAE,mEAAmE;IAE9E,4EAAgC;MAC5B,UAAU,EAAE,mEAAmE;IAEnF,sDAAU;MACN,UAAU,EAAE,IAAI;IAEpB,sDAAU;MACN,MAAM,EAAE,wFAAwF",
-"sources": ["button.sass","mixins/m3-mixins.sass"],
-"names": [],
-"file": "button.css"
-}
+{"version":3,"sourceRoot":"","sources":["button.sass","mixins/m3-mixins.sass"],"names":[],"mappings":"AAEA;EACI;;AAEA;EACI;EACA;EACA;EACA;;AAEJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEJ;EACI;;AACA;EACI;;AAER;EACI;EACA;;AACA;EACI;;AAER;EACI;EACA;;AACA;EACI;;AAER;ECFI;EDIA;;AACA;EACI;;AAER;EACI;;AACA;EACI;;AAER;ECcA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;ADlBA;EACI;;AAGA;EACI;;AAER;EACI;;AAGA;ECnCA;;ADsCA;EChCA;;ADmCA;EACI;;AAGJ;EACI;;AAEJ;EACI;;AAEJ;EACI;;AAEJ;EACI;;AAGJ;EClDA;;ADqDA;EC/CA;;ADkDA;EACI;;AAEJ;EACI;;AAEJ;EACI;;AAER;EACI;;AAEA;EACI;;AAEJ;EACI;;AAEJ;EACI;;AAEJ;EACI","file":"button.css"}
\ No newline at end of file
diff --git a/src/styles/checkbox.css b/src/styles/checkbox.css
index 31809c2..54b4568 100644
--- a/src/styles/checkbox.css
+++ b/src/styles/checkbox.css
@@ -3,13 +3,15 @@ label.m3.m3-checkbox-label {
position: relative;
align-items: center;
justify-content: center;
- aspect-ratio: 1; }
- label.m3.m3-checkbox-label > span.m3.m3-checkbox-state-layer {
- position: absolute;
- width: 40px;
- aspect-ratio: inherit;
- border-radius: 50%;
- transition: background-color 0.2s cubic-bezier(0.2, 0, 0, 1); }
+ aspect-ratio: 1;
+}
+label.m3.m3-checkbox-label > span.m3.m3-checkbox-state-layer {
+ position: absolute;
+ width: 40px;
+ aspect-ratio: inherit;
+ border-radius: 50%;
+ transition: background-color 0.2s cubic-bezier(0.2, 0, 0, 1);
+}
span.m3.m3-checkbox-ripple-layer {
z-index: 20;
@@ -17,9 +19,10 @@ span.m3.m3-checkbox-ripple-layer {
border-radius: 50%;
position: absolute;
width: 40px;
- height: 40px; }
+ height: 40px;
+}
-input[type="checkbox"].m3.m3-checkbox {
+input[type=checkbox].m3.m3-checkbox {
appearance: none;
display: flex;
align-items: center;
@@ -31,50 +34,69 @@ input[type="checkbox"].m3.m3-checkbox {
margin: 0;
border-radius: 2px;
border: 2px solid var(--md-sys-color-on-surface-variant);
- transition: background-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)) {
- border: 2px solid var(--md-sys-color-error);
- background-color: var(--md-sys-color-error); }
- input[type="checkbox"].m3.m3-checkbox:is(.m3.m3-error, :user-invalid) {
- border: 2px solid 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)) {
- border: 2px solid var(--md-sys-color-primary);
- background-color: var(--md-sys-color-primary); }
- input[type="checkbox"].m3.m3-checkbox:disabled:is(:hover, &) {
- opacity: 38%;
- border: 2px solid var(--md-sys-color-on-surface); }
- input[type="checkbox"].m3.m3-checkbox:disabled:checked:is(:hover, &) {
- opacity: 38%;
- background-color: var(--md-sys-color-on-surface); }
- input[type="checkbox"].m3.m3-checkbox::after {
- line-height: 18px;
- font-family: Material-Symbols-Outlined-Regular, sans-serif;
- font-weight: 700;
- font-size: 18px;
- color: var(--md-sys-color-on-primary); }
- input[type="checkbox"].m3.m3-checkbox:checked::after {
- content: "done"; }
- input[type="checkbox"].m3.m3-checkbox:indeterminate::after {
- content: "check_indeterminate_small"; }
- input[type="checkbox"].m3.m3-checkbox:hover {
- border: 2px solid var(--md-sys-color-on-surface); }
- 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:is(:user-invalid:is(:checked, :indeterminate), .m3.m3-error:is(:checked, :indeterminate)) {
+ border: 2px solid var(--md-sys-color-error);
+ background-color: var(--md-sys-color-error);
+}
+input[type=checkbox].m3.m3-checkbox:is(.m3.m3-error, :user-invalid) {
+ border: 2px solid 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)) {
+ border: 2px solid var(--md-sys-color-primary);
+ background-color: var(--md-sys-color-primary);
+}
+input[type=checkbox].m3.m3-checkbox:disabled:is(:hover, input[type=checkbox].m3.m3-checkbox:disabled) {
+ opacity: 38%;
+ border: 2px solid var(--md-sys-color-on-surface);
+}
+input[type=checkbox].m3.m3-checkbox:disabled:checked:is(:hover, input[type=checkbox].m3.m3-checkbox:disabled) {
+ opacity: 38%;
+ background-color: var(--md-sys-color-on-surface);
+}
+input[type=checkbox].m3.m3-checkbox::after {
+ line-height: 18px;
+ font-family: Material-Symbols-Outlined-Regular, sans-serif;
+ font-weight: 700;
+ font-size: 18px;
+ color: var(--md-sys-color-on-primary);
+}
+input[type=checkbox].m3.m3-checkbox:checked::after {
+ content: "done";
+}
+input[type=checkbox].m3.m3-checkbox:indeterminate::after {
+ content: "check_indeterminate_small";
+}
+input[type=checkbox].m3.m3-checkbox:hover {
+ border: 2px solid var(--md-sys-color-on-surface);
+}
+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);
+}
/*# sourceMappingURL=checkbox.css.map */
diff --git a/src/styles/checkbox.css.map b/src/styles/checkbox.css.map
index eb587a9..3f236ec 100644
--- a/src/styles/checkbox.css.map
+++ b/src/styles/checkbox.css.map
@@ -1,7 +1 @@
-{
-"version": 3,
-"mappings": "AAEA,0BAA0B;ECDtB,OAAO,EAAE,IAAI;EACb,QAAQ,EAAE,QAAQ;EAClB,WAAW,EAAE,MAAM;EACnB,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5C,6JAAmC;IAC/B,gBAAgB,EAAE,6DAA6D;EAEvF,gKAA6G;IACzG,gBAAgB,EAAE,8DAA8D;IAChF,qMAAsC;MAClC,gBAAgB,EAAE,8DAA8D;EAExF,+HAA4E;IACxE,gBAAgB,EAAE,+DAA+D;EAErF,iIAA8E;IAC1E,gBAAgB,EAAE,gEAAgE;IAClF,sKAAsC;MAClC,gBAAgB,EAAE,mEAAmE;EAGzF,yFAAgC;IAC5B,gBAAgB,EAAE,kEAAkE;EAE5F,6FAA0C;IACtC,gBAAgB,EAAE,mEAAmE;IACrF,kIAAsC;MAClC,gBAAgB,EAAE,gEAAgE",
-"sources": ["checkbox.sass","mixins/m3-mixins.sass"],
-"names": [],
-"file": "checkbox.css"
-}
+{"version":3,"sourceRoot":"","sources":["checkbox.sass","mixins/m3-mixins.sass"],"names":[],"mappings":"AAEA;ECDI;EACA;EACA;EACA;EACA;;ADDA;ECIA;EACA;EACA;EACA;EACA;;;ADLJ;EACI;EACA;EACA;EACA;EACA;EACA;;;AAEJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;;AAEJ;EACI;;AAEJ;EACI;EACA;;AAGA;EACI;EACA;;AAEJ;EACI;EACA;;AAER;EACI;EACA;EACA;EACA;EACA;;AAEJ;EACI;;AAEJ;EACI;;AAEJ;EACI;;AAII;EACI;;AAER;EACI;;AACA;EACI;;AAER;EACI;;AAEJ;EACI;;AACA;EACI;;AAGJ;EACI;;AAER;EACI;;AACA;EACI","file":"checkbox.css"}
\ No newline at end of file
diff --git a/src/styles/divider.css b/src/styles/divider.css
index 3aff309..a4fa681 100644
--- a/src/styles/divider.css
+++ b/src/styles/divider.css
@@ -4,12 +4,12 @@ hr.m3.m3-divider {
box-sizing: border-box;
border: none;
outline: 0.5px solid var(--md-sys-color-outline-variant);
- margin: 0;
+ margin: 4px;
}
hr.m3.m3-divider.vertical {
writing-mode: tb-rl;
}
-hr.m3.m3-divider.vertical, hr.m3.m3-divider.vertical.vertical.full-width {
+hr.m3.m3-divider.vertical, hr.m3.m3-divider.vertical.full-width {
height: 100%;
}
hr.m3.m3-divider.vertical.inset {
@@ -19,10 +19,7 @@ hr.m3.m3-divider.vertical.inset {
hr.m3.m3-divider.vertical.middle-inset {
height: calc(100% - 32px);
}
-hr.m3.m3-divider.horizontal {
- box-sizing: border-box;
-}
-hr.m3.m3-divider.horizontal, hr.m3.m3-divider.horizontal.horizontal.full-width {
+hr.m3.m3-divider.horizontal, hr.m3.m3-divider.horizontal.full-width {
width: 100%;
}
hr.m3.m3-divider.horizontal.inset {
diff --git a/src/styles/divider.css.map b/src/styles/divider.css.map
index f25c4b4..cbef9c7 100644
--- a/src/styles/divider.css.map
+++ b/src/styles/divider.css.map
@@ -1 +1 @@
-{"version":3,"sourceRoot":"","sources":["divider.sass"],"names":[],"mappings":"AAAA;EACI;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;;AACA;EACI;;AACJ;EACI;EACA;;AACJ;EACI;;AAER;EACI;;AACA;EACI;;AACJ;EACI;EACA;;AACJ;EACI","file":"divider.css"}
\ No newline at end of file
+{"version":3,"sourceRoot":"","sources":["divider.sass"],"names":[],"mappings":"AAAA;EACI;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;;AACA;EACI;;AACJ;EACI;EACA;;AACJ;EACI;;AAGJ;EACI;;AACJ;EACI;EACA;;AACJ;EACI","file":"divider.css"}
\ No newline at end of file
diff --git a/src/styles/divider.sass b/src/styles/divider.sass
index 920dbea..bd25a65 100644
--- a/src/styles/divider.sass
+++ b/src/styles/divider.sass
@@ -4,11 +4,11 @@ hr.m3.m3-divider
box-sizing: border-box
border: none
outline: 0.5px solid var(--md-sys-color-outline-variant)
- margin: 0
+ margin: 4px
&.vertical
writing-mode: tb-rl
- &, &.vertical.full-width
+ &, &.full-width
height: 100%
&.inset
align-self: end
@@ -17,12 +17,10 @@ hr.m3.m3-divider
height: calc(100% - (2 * 16px))
&.horizontal
- box-sizing: border-box
- &, &.horizontal.full-width
+ &, &.full-width
width: 100%
&.inset
align-self: end
width: calc(100% - 16px)
&.middle-inset
- width: calc(100% - (2 * 16px))
-
+ width: calc(100% - (2 * 16px))
\ No newline at end of file
diff --git a/src/styles/fabs.css b/src/styles/fabs.css
index 59f8b00..e5ec96f 100644
--- a/src/styles/fabs.css
+++ b/src/styles/fabs.css
@@ -1,97 +1,135 @@
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: #00000000; }
- button.m3.m3-fab.surface {
- box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3), 0 4px 8px 3px rgba(0, 0, 0, 0.15);
- background-color: var(--md-sys-color-surface-container-high); }
- button.m3.m3-fab.surface > span.m3-icon, button.m3.m3-fab.surface {
- color: 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 {
- box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3), 0 4px 8px 3px rgba(0, 0, 0, 0.15);
- background-color: var(--md-sys-color-primary-container); }
- button.m3.m3-fab.primary > span.m3-icon, button.m3.m3-fab.primary {
- color: 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 {
- box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3), 0 4px 8px 3px rgba(0, 0, 0, 0.15);
- background-color: var(--md-sys-color-secondary-container); }
- button.m3.m3-fab.secondary > span.m3-icon, button.m3.m3-fab.secondary {
- color: 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 {
- box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3), 0 4px 8px 3px rgba(0, 0, 0, 0.15);
- background-color: var(--md-sys-color-tertiary-container); }
- button.m3.m3-fab.tertiary > span.m3-icon, button.m3.m3-fab.tertiary {
- color: 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: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: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: rgba(0, 0, 0, 0);
+}
+button.m3.m3-fab.surface {
+ background-color: var(--md-sys-color-surface-container-high);
+}
+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 > span.m3-icon, button.m3.m3-fab.surface {
+ color: 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);
+}
+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 > span.m3-icon, button.m3.m3-fab.primary {
+ color: 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);
+}
+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 > span.m3-icon, button.m3.m3-fab.secondary {
+ color: 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);
+}
+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 > span.m3-icon, button.m3.m3-fab.tertiary {
+ color: 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);
+}
/*# sourceMappingURL=fabs.css.map */
diff --git a/src/styles/fabs.css.map b/src/styles/fabs.css.map
index 497844e..2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ICnBd,KAAK,EDoB6B,IAAI;ICnBtC,MAAM,EDmBkC,IAAI;IClB5C,aAAa,EDkBe,IAAI;ICjBhC,OAAO,EDiBuC,IAAI;IAC9C,SAAS,EAAE,IAAI;EAEnB,+BAAgB;ICvBhB,KAAK,EDwB6B,IAAI;ICvBtC,MAAM,EDuBkC,IAAI;ICtB5C,aAAa,EDsBe,IAAI;ICrBhC,OAAO,EDqBuC,IAAI;IAC9C,SAAS,EAAE,IAAI;EAEnB,6BAAc;IC3Bd,KAAK,ED4B6B,IAAI;IC3BtC,MAAM,ED2BkC,IAAI;IC1B5C,aAAa,ED0Be,IAAI;ICzBhC,OAAO,EDyBuC,MAAM;IAChD,SAAS,EAAE,IAAI;EAEnB,gCAAiB;IC/BjB,KAAK,EDgC6B,IAAI;IC/BtC,MAAM,ED+BkC,IAAI;IC9B5C,aAAa,ED8Be,IAAI;IC7BhC,OAAO,ED6BuC,IAAI;IAC9C,SAAS,EAAE,IAAI;EAEnB,oEAAqD;ICMjD,UAAU,EAAE,kEAAmE;EDHnF,qEAAsD;ICLlD,UAAU,EAAE,4EAA6E;EDSzF,sCAAiB;IACb,gBAAgB,EAAE,+DAA+D;EAErF,sCAAiB;IACb,gBAAgB,EAAE,4EAA4E;EAElG,wCAAmB;IACf,gBAAgB,EAAE,8EAA8E;EAEpG,uCAAkB;IACd,gBAAgB,EAAE,6EAA6E;EAGnG,8CAAiB;IACb,gBAAgB,EAAE,gEAAgE;EAEtF,8CAAiB;IACb,gBAAgB,EAAE,6EAA6E;EAEnG,gDAAmB;IACf,gBAAgB,EAAE,+EAA+E;EAErG,+CAAkB;IACd,gBAAgB,EAAE,8EAA8E",
-"sources": ["fabs.sass","mixins/m3-mixins.sass"],
-"names": [],
-"file": "fabs.css"
-}
+{"version":3,"sourceRoot":"","sources":["fabs.sass","mixins/m3-mixins.sass"],"names":[],"mappings":"AAEA;EACI;;AAEA;EACI;;AAEJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEJ;EC+CA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;ADnDA;ECCA;;AAFA;EA8BI;;AA3BJ;EACI;;AACJ;EACI;;ADFJ;ECFA;;AAFA;EA8BI;;AA3BJ;EACI;;AACJ;EACI;;ADCJ;ECLA;;AAFA;EA8BI;;AA3BJ;EACI;;AACJ;EACI;;ADIJ;ECRA;;AAFA;EA8BI;;AA3BJ;EACI;;AACJ;EACI;;ADOJ;ECnBA,ODoBkC;ECnBlC,QDmBwC;EClBxC,eDkB4B;ECjB5B,SDiB8C;EAC1C;;AAEJ;ECvBA,ODwBkC;ECvBlC,QDuBwC;ECtBxC,eDsB4B;ECrB5B,SDqB8C;EAC1C;;AAEJ;EC3BA,OD4BkC;EC3BlC,QD2BwC;EC1BxC,eD0B4B;ECzB5B,SDyB8C;EAC1C;;AAEJ;EC/BA,ODgCkC;EC/BlC,QD+BwC;EC9BxC,eD8B4B;EC7B5B,SD6B8C;EAC1C;;AAEJ;ECOI;;ADJJ;ECJI;;ADQA;EACI;;AAEJ;EACI;;AAEJ;EACI;;AAEJ;EACI;;AAGJ;EACI;;AAEJ;EACI;;AAEJ;EACI;;AAEJ;EACI","file":"fabs.css"}
\ No newline at end of file
diff --git a/src/styles/fabs.sass b/src/styles/fabs.sass
index 3766b89..d421e21 100644
--- a/src/styles/fabs.sass
+++ b/src/styles/fabs.sass
@@ -48,10 +48,10 @@ button.m3.m3-fab
@include m3-fab-default(16px, auto, 56px, 19px)
font-size: 24px
- &:is(.surface, .primary, .secondary, .tertiary):hover
+ &:not(.without-elevation):is(.surface, .primary, .secondary, .tertiary):hover
@include elevation-4(false)
- &:is(.surface, .primary, .secondary, .tertiary):active
+ &:not(.without-elevation):is(.surface, .primary, .secondary, .tertiary):active
@include elevation-3(true)
&:hover
diff --git a/src/styles/generics.css b/src/styles/generics.css
index 34fdfa6..99df848 100644
--- a/src/styles/generics.css
+++ b/src/styles/generics.css
@@ -31,9 +31,11 @@ button.m3.m3-fab::before {
background: rgba(0, 0, 0, 0);
}
button.m3.m3-fab.surface {
- box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3), 0 4px 8px 3px rgba(0, 0, 0, 0.15);
background-color: var(--md-sys-color-surface-container-high);
}
+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 > span.m3-icon, button.m3.m3-fab.surface {
color: var(--md-sys-color-primary);
}
@@ -41,9 +43,11 @@ 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 {
- box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3), 0 4px 8px 3px rgba(0, 0, 0, 0.15);
background-color: var(--md-sys-color-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 > span.m3-icon, button.m3.m3-fab.primary {
color: var(--md-sys-color-on-primary-container);
}
@@ -51,9 +55,11 @@ 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 {
- box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3), 0 4px 8px 3px rgba(0, 0, 0, 0.15);
background-color: var(--md-sys-color-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 > span.m3-icon, button.m3.m3-fab.secondary {
color: var(--md-sys-color-on-secondary-container);
}
@@ -61,9 +67,11 @@ 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 {
- box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3), 0 4px 8px 3px rgba(0, 0, 0, 0.15);
background-color: var(--md-sys-color-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 > span.m3-icon, button.m3.m3-fab.tertiary {
color: var(--md-sys-color-on-tertiary-container);
}
@@ -98,10 +106,10 @@ button.m3.m3-fab.m3-extended-fab {
padding: 19px;
font-size: 24px;
}
-button.m3.m3-fab:is(.surface, .primary, .secondary, .tertiary):hover {
+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:is(.surface, .primary, .secondary, .tertiary):active {
+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 {
@@ -197,30 +205,34 @@ input[type=radio].m3.m3-radio:not(:disabled):active + span.m3.m3-radio-state-lay
background-color: color-mix(in srgb, var(--md-sys-color-primary) 20%, transparent);
}
-span.m3.m3-badge {
+svg.m3.m3-badge {
position: absolute;
background-color: var(--md-sys-color-error);
- border-radius: 8px;
- display: flex;
- align-items: center;
- justify-content: center;
- min-width: 6px;
- min-height: 6px;
}
-span.m3.m3-badge > span {
- color: var(--md-sys-color-on-error);
- font-size: 7pt;
- line-height: var(--md-sys-typescale-label-small-line-height);
+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);
- letter-spacing: var(--md-sys-typescale-label-small-letter-spacing);
- text-align: center;
- min-width: 8px;
- padding: 0 4px;
+ line-height: var(--md-sys-typescale-label-small-line-height);
+ font-optical-sizing: none;
+ alignment-baseline: central;
+ text-anchor: middle;
display: flex;
- justify-content: center;
align-items: center;
- min-height: 16px;
- width: auto;
+ justify-content: center;
}
@font-face {
@@ -599,12 +611,12 @@ hr.m3.m3-divider {
box-sizing: border-box;
border: none;
outline: 0.5px solid var(--md-sys-color-outline-variant);
- margin: 0;
+ margin: 4px;
}
hr.m3.m3-divider.vertical {
writing-mode: tb-rl;
}
-hr.m3.m3-divider.vertical, hr.m3.m3-divider.vertical.vertical.full-width {
+hr.m3.m3-divider.vertical, hr.m3.m3-divider.vertical.full-width {
height: 100%;
}
hr.m3.m3-divider.vertical.inset {
@@ -614,10 +626,7 @@ hr.m3.m3-divider.vertical.inset {
hr.m3.m3-divider.vertical.middle-inset {
height: calc(100% - 32px);
}
-hr.m3.m3-divider.horizontal {
- box-sizing: border-box;
-}
-hr.m3.m3-divider.horizontal, hr.m3.m3-divider.horizontal.horizontal.full-width {
+hr.m3.m3-divider.horizontal, hr.m3.m3-divider.horizontal.full-width {
width: 100%;
}
hr.m3.m3-divider.horizontal.inset {
diff --git a/src/styles/generics.css.map b/src/styles/generics.css.map
index 4832fc5..afb9645 100644
--- a/src/styles/generics.css.map
+++ b/src/styles/generics.css.map
@@ -1 +1 @@
-{"version":3,"sourceRoot":"","sources":["generics.sass","fabs.sass","mixins/m3-mixins.sass","radio.sass","badge.sass","fonts.sass","button.sass","ripple.sass","swtich.sass","divider.sass","checkbox.sass","text-field.sass","icon-button.sass"],"names":[],"mappings":"AAWQ;AACA;AACA;AACA;AAC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;EACI;EACA;;AAEJ;EACI;EACA;;AAEJ;EACI;EACA;;AAEJ;EACI;EACA;EACA;;AAEJ;EACI;EACA;EACA;;AAEJ;EACI;EACA;EACA;;AAEJ;EACI;EACA;EACA;EACA;;AAEJ;EACI;EACA;EACA;EACA;;AAEJ;EACI;EACA;EACA;EACA;;AAEJ;EACI;EACA;EACA;EACA;;AAEJ;EACI;EACA;EACA;EACA;;AAEJ;EACI;EACA;EACA;EACA;;ACnEJ;EACI;;AAEA;EACI;EACA;EACA;EACA;;AAEJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEJ;EACI;;AACA;EACI;;AAER;EACI;EACA;;AACA;EACI;;AAER;EACI;EACA;;AACA;EACI;;AAER;EJHI;EIKA;;AACA;EACI;;AAER;EACI;;AACA;EACI;;AAER;EJaA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AIjBA;EACI;;AAGA;EACI;;AAER;EACI;;AAGA;EJpCA;;AIuCA;EJjCA;;AIoCA;EACI;;AAGJ;EACI;;AAEJ;EACI;;AAEJ;EACI;;AAEJ;EACI;;AAGJ;EJnDA;;AIsDA;EJhDA;;AImDA;EACI;;AAEJ;EACI;;AAEJ;EACI;;AAER;EACI;;AAEA;EACI;;AAEJ;EACI;;AAEJ;EACI;;AAEJ;EACI;;;ACrHZ;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;;;AC5BJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;;AAEJ;EACI;EACA;;AAEJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEJ;EACI;;AAEJ;EACI;;AAEJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;AAEJ;EACI;EACA;;AAEJ;EACI;IACI;;EACJ;IACI;;EACJ;IACI;;;AAER;EACI;IACI;;EACJ;IACI;;EACJ;IACI;;;AAER;EAEI;EACA;;AAEJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEJ;EACI;EACA;EACA;;AAGA;EACI;EACA;;AAEJ;EACI;;AAGJ;EACI;EACA;;AAEJ;EACI;;AAEJ;EACI;EACA;;AAEJ;EACI;EACA;;AAGJ;EACI;;AAEJ;EACI;;AAEJ;EACI;EACA;EACA;;AAEJ;EACI;EACA;EACA;;;AAEZ;EACI;IACI;;EACJ;IACI;;;ACpIR;EACI;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;;AACA;EACI;;AACJ;EACI;EACA;;AACJ;EACI;;AAER;EACI;;AACA;EACI;;AACJ;EACI;EACA;;AACJ;EACI;;;ACxBZ;ERDI;EACA;EACA;EACA;EACA;;AQDA;ERIA;EACA;EACA;EACA;EACA;;;AQLJ;EACI;EACA;EACA;EACA;EACA;EACA;;;AAEJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;;AAEJ;EACI;;AAEJ;EACI;EACA;;AAGA;EACI;EACA;;AAEJ;EACI;EACA;;AAER;EACI;EACA;EACA;EACA;EACA;;AAEJ;EACI;;AAEJ;EACI;;AAEJ;EACI;;AAII;EACI;;AAER;EACI;;AACA;EACI;;AAER;EACI;;AAEJ;EACI;;AACA;EACI;;AAGJ;EACI;;AAER;EACI;;AACA;EACI;;;AC1FhB;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;E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;EACI;;AACJ;EACI;;;AZ/HZ;EACI;EACA;EACA;;;AAEJ;EACI;;;AAEJ;EACI;EACA;EACA;EACA;EACA","file":"generics.css"}
\ No newline at end of file
+{"version":3,"sourceRoot":"","sources":["generics.sass","fabs.sass","mixins/m3-mixins.sass","radio.sass","badge.sass","fonts.sass","button.sass","ripple.sass","swtich.sass","divider.sass","checkbox.sass","text-field.sass","icon-button.sass"],"names":[],"mappings":"AAWQ;AACA;AACA;AACA;AACA;ACbR;EACI;;AAEA;EACI;;AAEJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEJ;EC+CA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;ADnDA;ECCA;;AAFA;EA8BI;;AA3BJ;EACI;;AACJ;EACI;;ADFJ;ECFA;;AAFA;EA8BI;;AA3BJ;EACI;;AACJ;EACI;;ADCJ;ECLA;;AAFA;EA8BI;;AA3BJ;EACI;;AACJ;EACI;;ADIJ;ECRA;;AAFA;EA8BI;;AA3BJ;EACI;;AACJ;EACI;;ADOJ;ECnBA,ODoBkC;ECnBlC,QDmBwC;EClBxC,eDkB4B;ECjB5B,SDiB8C;EAC1C;;AAEJ;ECvBA,ODwBkC;ECvBlC,QDuBwC;ECtBxC,eDsB4B;ECrB5B,SDqB8C;EAC1C;;AAEJ;EC3BA,OD4BkC;EC3BlC,QD2BwC;EC1BxC,eD0B4B;ECzB5B,SDyB8C;EAC1C;;AAEJ;EC/BA,ODgCkC;EC/BlC,QD+BwC;EC9BxC,eD8B4B;EC7B5B,SD6B8C;EAC1C;;AAEJ;ECOI;;ADJJ;ECJI;;ADQA;EACI;;AAEJ;EACI;;AAEJ;EACI;;AAEJ;EACI;;AAGJ;EACI;;AAEJ;EACI;;AAEJ;EACI;;AAEJ;EACI;;;AE9EZ;EDDI;EACA;EACA;EACA;EACA;;ACDA;EDIA;EACA;EACA;EACA;EACA;;;ACLJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;EACA;;AAEJ;EACI;;AAEJ;EACI;;AAEJ;EACI;;AAEJ;EACI;;AAEJ;EACI;;AAIA;EACI;;AAEJ;EACI;;AACA;EACI;;AAGJ;EACI;;AAER;EACI;;AACA;EACI;;;AC1DhB;EACI;EACA;;AACA;EACI;EACA;EACA;EACA;;AACA;EACI;;AACR;EACI;EACA;;AAEJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;ACxBR;EACI;EACA;;AAEJ;EACI;EACA;;AAEJ;EACI;EACA;;AAEJ;EACI;EACA;;AAEJ;EACI;EACA;;AAEJ;EACI;EACA;EACA;;AAEJ;EACI;EACA;EACA;;AAEJ;EACI;EACA;EACA;;AAEJ;EACI;EACA;EACA;EACA;;AAEJ;EACI;EACA;EACA;EACA;;AAEJ;EACI;EACA;EACA;EACA;;AAEJ;EACI;EACA;EACA;EACA;;AAEJ;EACI;EACA;EACA;EACA;;AAEJ;EACI;EACA;EACA;EACA;;ACnEJ;EACI;;AAEA;EACI;EACA;EACA;EACA;;AAEJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEJ;EACI;;AACA;EACI;;AAER;EACI;EACA;;AACA;EACI;;AAER;EACI;EACA;;AACA;EACI;;AAER;EJFI;EIIA;;AACA;EACI;;AAER;EACI;;AACA;EACI;;AAER;EJcA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AIlBA;EACI;;AAGA;EACI;;AAER;EACI;;AAGA;EJnCA;;AIsCA;EJhCA;;AImCA;EACI;;AAGJ;EACI;;AAEJ;EACI;;AAEJ;EACI;;AAEJ;EACI;;AAGJ;EJlDA;;AIqDA;EJ/CA;;AIkDA;EACI;;AAEJ;EACI;;AAEJ;EACI;;AAER;EACI;;AAEA;EACI;;AAEJ;EACI;;AAEJ;EACI;;AAEJ;EACI;;;ACrHZ;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;;;AC5BJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;;AAEJ;EACI;EACA;;AAEJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEJ;EACI;;AAEJ;EACI;;AAEJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;AAEJ;EACI;EACA;;AAEJ;EACI;IACI;;EACJ;IACI;;EACJ;IACI;;;AAER;EACI;IACI;;EACJ;IACI;;EACJ;IACI;;;AAER;EAEI;EACA;;AAEJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEJ;EACI;EACA;EACA;;AAGA;EACI;EACA;;AAEJ;EACI;;AAGJ;EACI;EACA;;AAEJ;EACI;;AAEJ;EACI;EACA;;AAEJ;EACI;EACA;;AAGJ;EACI;;AAEJ;EACI;;AAEJ;EACI;EACA;EACA;;AAEJ;EACI;EACA;EACA;;;AAEZ;EACI;IACI;;EACJ;IACI;;;ACpIR;EACI;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;;AACA;EACI;;AACJ;EACI;EACA;;AACJ;EACI;;AAGJ;EACI;;AACJ;EACI;EACA;;AACJ;EACI;;;ACvBZ;ERDI;EACA;EACA;EACA;EACA;;AQDA;ERIA;EACA;EACA;EACA;EACA;;;AQLJ;EACI;EACA;EACA;EACA;EACA;EACA;;;AAEJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;;AAEJ;EACI;;AAEJ;EACI;EACA;;AAGA;EACI;EACA;;AAEJ;EACI;EACA;;AAER;EACI;EACA;EACA;EACA;EACA;;AAEJ;EACI;;AAEJ;EACI;;AAEJ;EACI;;AAII;EACI;;AAER;EACI;;AACA;EACI;;AAER;EACI;;AAEJ;EACI;;AACA;EACI;;AAGJ;EACI;;AAER;EACI;;AACA;EACI;;;AC1FhB;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;;;ACrNhB;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;EACA;EACA;;AAEJ;EACI;EACA;EACA;;AAGA;EACI;;AAEJ;EACI;EACA;EACA;;AAGJ;EACI;EACA;;AAEJ;EACI;EACA;;AAEJ;EACI;;AAGJ;EACI;EACA;;AAEJ;EACI;EACA;;AAEJ;EACI;EACA;;AAGJ;EACI;EACA;;AAEJ;EACI;EACA;;AAER;EACI;EACA;;AAGA;EACI;EACA;EACA;;AAEJ;EACI;EACA;EACA;;AAEJ;EACI;EACA;EACA;;AAEJ;EACI;EACA;EACA;;AAGJ;EACI;;AACJ;EACI;;AAGJ;EACI;;AAEJ;EACI;;AAEJ;EACI;;AAGJ;EACI;;AACJ;EACI;;AAGJ;EACI;;AAEJ;EACI;;AACJ;EACI;;AAEJ;EACI;;AACJ;EACI;;AAGJ;EACI;;AAEJ;EACI;;AACJ;EACI;;AAEJ;EACI;;AACJ;EACI;;;AZ/HZ;EACI;EACA;EACA;;;AAEJ;EACI;;;AAEJ;EACI;EACA;EACA;EACA;EACA","file":"generics.css"}
\ No newline at end of file
diff --git a/src/styles/mixins/m3-mixins.css.map b/src/styles/mixins/m3-mixins.css.map
index 89551c2..85fd488 100644
--- a/src/styles/mixins/m3-mixins.css.map
+++ b/src/styles/mixins/m3-mixins.css.map
@@ -1,7 +1 @@
-{
-"version": 3,
-"mappings": "",
-"sources": [],
-"names": [],
-"file": "m3-mixins.css"
-}
+{"version":3,"sourceRoot":"","sources":[],"names":[],"mappings":"","file":"m3-mixins.css"}
\ No newline at end of file
diff --git a/src/styles/mixins/m3-mixins.sass b/src/styles/mixins/m3-mixins.sass
index 0e603f0..cbd409a 100644
--- a/src/styles/mixins/m3-mixins.sass
+++ b/src/styles/mixins/m3-mixins.sass
@@ -19,7 +19,8 @@
padding: $padding
@mixin m3-fab-colors-palette($bg-color, $color)
- @include elevation-3(false)
+ &:not(.without-elevation)
+ @include elevation-3(false)
background-color: var($bg-color)
& > span.m3-icon, &
color: var($color)
diff --git a/src/styles/radio.css b/src/styles/radio.css
index 0a9bed8..a946256 100644
--- a/src/styles/radio.css
+++ b/src/styles/radio.css
@@ -3,15 +3,17 @@ label.m3.m3-radio-label {
position: relative;
align-items: center;
justify-content: center;
- aspect-ratio: 1; }
- label.m3.m3-radio-label > span.m3.m3-radio-state-layer {
- position: absolute;
- width: 40px;
- aspect-ratio: inherit;
- border-radius: 50%;
- transition: background-color 0.2s cubic-bezier(0.2, 0, 0, 1); }
+ aspect-ratio: 1;
+}
+label.m3.m3-radio-label > span.m3.m3-radio-state-layer {
+ position: absolute;
+ width: 40px;
+ aspect-ratio: inherit;
+ border-radius: 50%;
+ transition: background-color 0.2s cubic-bezier(0.2, 0, 0, 1);
+}
-input[type="radio"].m3.m3-radio {
+input[type=radio].m3.m3-radio {
appearance: none;
display: flex;
align-items: center;
@@ -22,33 +24,46 @@ input[type="radio"].m3.m3-radio {
aspect-ratio: inherit;
border-radius: 50%;
border: 2px solid var(--md-sys-color-on-surface-variant);
- transition: background-color 0.2s cubic-bezier(0.2, 0, 0, 1); }
- input[type="radio"].m3.m3-radio::after {
- content: "";
- width: 10px;
- aspect-ratio: 1;
- border-radius: 50%; }
- input[type="radio"].m3.m3-radio:disabled {
- border: 2px solid color-mix(in srgb, var(--md-sys-color-on-surface) 38%, transparent); }
- input[type="radio"].m3.m3-radio:checked {
- border: 2px solid var(--md-sys-color-primary); }
- input[type="radio"].m3.m3-radio:checked::after {
- background-color: var(--md-sys-color-primary); }
- input[type="radio"].m3.m3-radio:checked:disabled {
- border: 2px solid color-mix(in srgb, var(--md-sys-color-on-surface) 38%, transparent); }
- input[type="radio"].m3.m3-radio:checked:disabled::after {
- background-color: color-mix(in srgb, var(--md-sys-color-on-surface) 38%, transparent); }
- 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); }
- 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); }
- 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); }
- 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); }
- 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); }
- 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); }
+ transition: background-color 0.2s cubic-bezier(0.2, 0, 0, 1);
+}
+input[type=radio].m3.m3-radio::after {
+ content: "";
+ width: 10px;
+ aspect-ratio: 1;
+ border-radius: 50%;
+}
+input[type=radio].m3.m3-radio:disabled {
+ border: 2px solid color-mix(in srgb, var(--md-sys-color-on-surface) 38%, transparent);
+}
+input[type=radio].m3.m3-radio:checked {
+ border: 2px solid var(--md-sys-color-primary);
+}
+input[type=radio].m3.m3-radio:checked::after {
+ background-color: var(--md-sys-color-primary);
+}
+input[type=radio].m3.m3-radio:checked:disabled {
+ border: 2px solid color-mix(in srgb, var(--md-sys-color-on-surface) 38%, transparent);
+}
+input[type=radio].m3.m3-radio:checked:disabled::after {
+ background-color: color-mix(in srgb, var(--md-sys-color-on-surface) 38%, transparent);
+}
+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);
+}
+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);
+}
+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);
+}
+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);
+}
+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);
+}
+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);
+}
/*# sourceMappingURL=radio.css.map */
diff --git a/src/styles/radio.css.map b/src/styles/radio.css.map
index 0aa9170..4dffd1e 100644
--- a/src/styles/radio.css.map
+++ b/src/styles/radio.css.map
@@ -1,7 +1 @@
-{
-"version": 3,
-"mappings": "AAEA,uBAAuB;ECDnB,OAAO,EAAE,IAAI;EACb,QAAQ,EAAE,QAAQ;EAClB,WAAW,EAAE,MAAM;EACnB,eAAe,EAAE,MAAM;EACvB,YAAY,EAAE,CAAC;EDDf,sDAAgC;ICIhC,QAAQ,EAAE,QAAQ;IAClB,KAAK,EAAE,IAAI;IACX,YAAY,EAAE,OAAO;IACrB,aAAa,EAAE,GAAG;IAClB,UAAU,EAAE,gDAA+C;;ADL/D,+BAA+B;EAC3B,UAAU,EAAE,IAAI;EAChB,OAAO,EAAE,IAAI;EACb,WAAW,EAAE,MAAM;EACnB,eAAe,EAAE,MAAM;EACvB,OAAO,EAAE,EAAE;EACX,KAAK,EAAE,IAAI;EACX,MAAM,EAAE,CAAC;EACT,YAAY,EAAE,OAAO;EACrB,aAAa,EAAE,GAAG;EAClB,MAAM,EAAE,gDAAgD;EACxD,UAAU,EAAE,gDAA+C;EAE3D,sCAAQ;IACJ,OAAO,EAAE,EAAE;IACX,KAAK,EAAE,IAAI;IACX,YAAY,EAAE,CAAC;IACf,aAAa,EAAE,GAAG;EAEtB,wCAAU;IACN,MAAM,EAAE,6EAA6E;EAEzF,uCAAS;IACL,MAAM,EAAE,qCAAqC;EAEjD,8CAAgB;IACZ,gBAAgB,EAAE,2BAA2B;EAEjD,gDAAkB;IACd,MAAM,EAAE,6EAA6E;EAEzF,uDAAyB;IACrB,gBAAgB,EAAE,mEAAmE;EAIrF,2FAA8C;IAC1C,gBAAgB,EAAE,+DAA+D;EAErF,wHAA2E;IACvE,gBAAgB,EAAE,gEAAgE;IAClF,6JAAsC;MAClC,gBAAgB,EAAE,mEAAmE;EAGzF,mFAAgC;IAC5B,gBAAgB,EAAE,kEAAkE;EAE5F,oFAAuC;IACnC,gBAAgB,EAAE,mEAAmE;IACrF,yHAAsC;MAClC,gBAAgB,EAAE,gEAAgE",
-"sources": ["radio.sass","mixins/m3-mixins.sass"],
-"names": [],
-"file": "radio.css"
-}
+{"version":3,"sourceRoot":"","sources":["radio.sass","mixins/m3-mixins.sass"],"names":[],"mappings":"AAEA;ECDI;EACA;EACA;EACA;EACA;;ADDA;ECIA;EACA;EACA;EACA;EACA;;;ADLJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;EACA;;AAEJ;EACI;;AAEJ;EACI;;AAEJ;EACI;;AAEJ;EACI;;AAEJ;EACI;;AAIA;EACI;;AAEJ;EACI;;AACA;EACI;;AAGJ;EACI;;AAER;EACI;;AACA;EACI","file":"radio.css"}
\ No newline at end of file