DONE: I forget, what I do
This commit is contained in:
parent
387027cab9
commit
7f7e2dc762
|
@ -6,28 +6,15 @@
|
||||||
<component name="ChangeListManager">
|
<component name="ChangeListManager">
|
||||||
<list default="true" id="dfedb2a6-20cd-4ce8-b2bd-3125f42708f3" name="Changes" comment="TODO: placeholder ADDED: supported text, animation move for label, and etc">
|
<list default="true" id="dfedb2a6-20cd-4ce8-b2bd-3125f42708f3" name="Changes" comment="TODO: placeholder ADDED: supported text, animation move for label, and etc">
|
||||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/app/components/text-fields.tsx" beforeDir="false" afterPath="$PROJECT_DIR$/app/components/text-fields.tsx" afterDir="false" />
|
|
||||||
<change beforePath="$PROJECT_DIR$/app/page.tsx" beforeDir="false" afterPath="$PROJECT_DIR$/app/page.tsx" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/app/page.tsx" beforeDir="false" afterPath="$PROJECT_DIR$/app/page.tsx" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/package-lock.json" beforeDir="false" afterPath="$PROJECT_DIR$/package-lock.json" afterDir="false" />
|
|
||||||
<change beforePath="$PROJECT_DIR$/src/primitive-components/text-field/text-field.tsx" beforeDir="false" afterPath="$PROJECT_DIR$/src/primitive-components/text-field/text-field.tsx" afterDir="false" />
|
|
||||||
<change beforePath="$PROJECT_DIR$/src/styles/button.css" beforeDir="false" afterPath="$PROJECT_DIR$/src/styles/button.css" afterDir="false" />
|
|
||||||
<change beforePath="$PROJECT_DIR$/src/styles/button.css.map" beforeDir="false" afterPath="$PROJECT_DIR$/src/styles/button.css.map" afterDir="false" />
|
|
||||||
<change beforePath="$PROJECT_DIR$/src/styles/checkbox.css" beforeDir="false" afterPath="$PROJECT_DIR$/src/styles/checkbox.css" afterDir="false" />
|
|
||||||
<change beforePath="$PROJECT_DIR$/src/styles/checkbox.css.map" beforeDir="false" afterPath="$PROJECT_DIR$/src/styles/checkbox.css.map" afterDir="false" />
|
|
||||||
<change beforePath="$PROJECT_DIR$/src/styles/fabs.css" beforeDir="false" afterPath="$PROJECT_DIR$/src/styles/fabs.css" afterDir="false" />
|
|
||||||
<change beforePath="$PROJECT_DIR$/src/styles/fabs.css.map" beforeDir="false" afterPath="$PROJECT_DIR$/src/styles/fabs.css.map" afterDir="false" />
|
|
||||||
<change beforePath="$PROJECT_DIR$/src/styles/generics.css" beforeDir="false" afterPath="$PROJECT_DIR$/src/styles/generics.css" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/src/styles/generics.css" beforeDir="false" afterPath="$PROJECT_DIR$/src/styles/generics.css" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/src/styles/generics.css.map" beforeDir="false" afterPath="$PROJECT_DIR$/src/styles/generics.css.map" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/src/styles/generics.css.map" beforeDir="false" afterPath="$PROJECT_DIR$/src/styles/generics.css.map" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/src/styles/generics.sass" beforeDir="false" afterPath="$PROJECT_DIR$/src/styles/generics.sass" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/src/styles/generics.sass" beforeDir="false" afterPath="$PROJECT_DIR$/src/styles/generics.sass" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/src/styles/icon-button.css" beforeDir="false" afterPath="$PROJECT_DIR$/src/styles/icon-button.css" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/src/styles/icon-button.css" beforeDir="false" afterPath="$PROJECT_DIR$/src/styles/icon-button.css" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/src/styles/icon-button.css.map" beforeDir="false" afterPath="$PROJECT_DIR$/src/styles/icon-button.css.map" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/src/styles/icon-button.css.map" beforeDir="false" afterPath="$PROJECT_DIR$/src/styles/icon-button.css.map" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/src/styles/mixins/m3-mixins.css.map" beforeDir="false" afterPath="$PROJECT_DIR$/src/styles/mixins/m3-mixins.css.map" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/src/styles/icon-button.sass" beforeDir="false" afterPath="$PROJECT_DIR$/src/styles/icon-button.sass" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/src/styles/mixins/m3-mixins.sass" beforeDir="false" afterPath="$PROJECT_DIR$/src/styles/mixins/m3-mixins.sass" afterDir="false" />
|
|
||||||
<change beforePath="$PROJECT_DIR$/src/styles/radio.css" beforeDir="false" afterPath="$PROJECT_DIR$/src/styles/radio.css" afterDir="false" />
|
|
||||||
<change beforePath="$PROJECT_DIR$/src/styles/radio.css.map" beforeDir="false" afterPath="$PROJECT_DIR$/src/styles/radio.css.map" afterDir="false" />
|
|
||||||
<change beforePath="$PROJECT_DIR$/src/styles/text-field.css" beforeDir="false" afterPath="$PROJECT_DIR$/src/styles/text-field.css" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/src/styles/text-field.css" beforeDir="false" afterPath="$PROJECT_DIR$/src/styles/text-field.css" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/src/styles/text-field.css.map" beforeDir="false" afterPath="$PROJECT_DIR$/src/styles/text-field.css.map" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/src/styles/text-field.css.map" beforeDir="false" afterPath="$PROJECT_DIR$/src/styles/text-field.css.map" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/src/styles/text-field.sass" beforeDir="false" afterPath="$PROJECT_DIR$/src/styles/text-field.sass" afterDir="false" />
|
|
||||||
</list>
|
</list>
|
||||||
<option name="SHOW_DIALOG" value="false" />
|
<option name="SHOW_DIALOG" value="false" />
|
||||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||||
|
@ -75,7 +62,7 @@
|
||||||
"node.js.selected.package.tslint": "(autodetect)",
|
"node.js.selected.package.tslint": "(autodetect)",
|
||||||
"nodejs_package_manager_path": "npm",
|
"nodejs_package_manager_path": "npm",
|
||||||
"settings.editor.selected.configurable": "watcher.settings",
|
"settings.editor.selected.configurable": "watcher.settings",
|
||||||
"ts.external.directory.path": "/home/drn04/material-you-react/node_modules/typescript/lib",
|
"ts.external.directory.path": "/home/doryan04/DoryanNetwork/doryan-blog-next-turbo/node_modules/typescript/lib",
|
||||||
"vue.rearranger.settings.migration": "true"
|
"vue.rearranger.settings.migration": "true"
|
||||||
}
|
}
|
||||||
}]]></component>
|
}]]></component>
|
||||||
|
|
|
@ -15,7 +15,7 @@ export default function Page() {
|
||||||
flexDirection:"column",
|
flexDirection:"column",
|
||||||
justifyContent: "center",
|
justifyContent: "center",
|
||||||
alignItems: "center",
|
alignItems: "center",
|
||||||
width: "100%",
|
overflowX: "auto",
|
||||||
gap: "0em"
|
gap: "0em"
|
||||||
}}>
|
}}>
|
||||||
<h1>Google Material You UI kit</h1>
|
<h1>Google Material You UI kit</h1>
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -5,6 +5,7 @@
|
||||||
@import "ripple"
|
@import "ripple"
|
||||||
@import "swtich"
|
@import "swtich"
|
||||||
@import "checkbox"
|
@import "checkbox"
|
||||||
|
@import "text-field"
|
||||||
@import "icon-button"
|
@import "icon-button"
|
||||||
@import "./themes/tokens.css"
|
@import "./themes/tokens.css"
|
||||||
@import "./themes/colors.module.css"
|
@import "./themes/colors.module.css"
|
||||||
|
@ -15,6 +16,10 @@
|
||||||
html
|
html
|
||||||
font-family: Roboto, serif
|
font-family: Roboto, serif
|
||||||
color: var(--md-sys-color-on-surface)
|
color: var(--md-sys-color-on-surface)
|
||||||
|
@media (prefers-color-scheme: light)
|
||||||
|
background-color: white
|
||||||
|
@media (prefers-color-scheme: dark)
|
||||||
|
background-color: black
|
||||||
|
|
||||||
.m3
|
.m3
|
||||||
user-select: none
|
user-select: none
|
||||||
|
|
|
@ -10,104 +10,133 @@ button.m3.m3-icon-button {
|
||||||
width: 40px;
|
width: 40px;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
border: none;
|
border: none;
|
||||||
padding: 0; }
|
padding: 0;
|
||||||
button.m3.m3-icon-button::before {
|
}
|
||||||
|
button.m3.m3-icon-button::before {
|
||||||
transition: background-color, box-shadow, 0.2s cubic-bezier(0.2, 0, 0, 1) !important;
|
transition: background-color, box-shadow, 0.2s cubic-bezier(0.2, 0, 0, 1) !important;
|
||||||
content: "";
|
content: "";
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
position: absolute; }
|
position: absolute;
|
||||||
button.m3.m3-icon-button > span.m3-icon {
|
}
|
||||||
|
button.m3.m3-icon-button > span.m3-icon {
|
||||||
z-index: 25;
|
z-index: 25;
|
||||||
font-size: 2em;
|
font-size: 2em;
|
||||||
font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 48; }
|
font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 48;
|
||||||
button.m3.m3-icon-button:is(.default, .filled, .tonal, .outlined) {
|
}
|
||||||
font-family: Material-Symbols-Round-Regular, serif; }
|
button.m3.m3-icon-button:is(.default, .filled, .tonal, .outlined) {
|
||||||
button.m3.m3-icon-button:is(.default, .filled, .tonal, .outlined).selected.toggled {
|
font-family: Material-Symbols-Round-Regular, serif;
|
||||||
|
}
|
||||||
|
button.m3.m3-icon-button:is(.default, .filled, .tonal, .outlined).selected.toggled {
|
||||||
font-size: 13.49px;
|
font-size: 13.49px;
|
||||||
font-family: Material-Icons-Regular, serif;
|
font-family: Material-Icons-Regular, serif;
|
||||||
font-weight: 500; }
|
font-weight: 500;
|
||||||
button.m3.m3-icon-button.default {
|
}
|
||||||
|
button.m3.m3-icon-button.default {
|
||||||
color: var(--md-sys-color-on-surface-variant);
|
color: var(--md-sys-color-on-surface-variant);
|
||||||
background-color: #00000000; }
|
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 {
|
}
|
||||||
|
button.m3.m3-icon-button.default:disabled, button.m3.m3-icon-button.default.selected:disabled, button.m3.m3-icon-button.default.selected.toggled:disabled {
|
||||||
color: color-mix(in srgb, var(--md-sys-color-on-surface-variant) 38%, transparent);
|
color: color-mix(in srgb, var(--md-sys-color-on-surface-variant) 38%, transparent);
|
||||||
background-color: #00000000; }
|
background-color: rgba(0, 0, 0, 0);
|
||||||
button.m3.m3-icon-button.default.selected.toggled {
|
}
|
||||||
color: var(--md-sys-color-primary); }
|
button.m3.m3-icon-button.default.selected.toggled {
|
||||||
button.m3.m3-icon-button.filled {
|
|
||||||
color: var(--md-sys-color-on-primary);
|
|
||||||
background-color: var(--md-sys-color-primary); }
|
|
||||||
button.m3.m3-icon-button.filled.toggled {
|
|
||||||
color: var(--md-sys-color-primary);
|
color: var(--md-sys-color-primary);
|
||||||
background-color: var(--md-sys-color-surface-container-highest); }
|
}
|
||||||
button.m3.m3-icon-button.filled.selected.toggled {
|
button.m3.m3-icon-button.filled {
|
||||||
color: var(--md-sys-color-on-primary);
|
color: var(--md-sys-color-on-primary);
|
||||||
background-color: var(--md-sys-color-primary); }
|
background-color: var(--md-sys-color-primary);
|
||||||
button.m3.m3-icon-button.tonal.toggled {
|
}
|
||||||
|
button.m3.m3-icon-button.filled.toggled {
|
||||||
|
color: var(--md-sys-color-primary);
|
||||||
|
background-color: var(--md-sys-color-surface-container-highest);
|
||||||
|
}
|
||||||
|
button.m3.m3-icon-button.filled.selected.toggled {
|
||||||
|
color: var(--md-sys-color-on-primary);
|
||||||
|
background-color: var(--md-sys-color-primary);
|
||||||
|
}
|
||||||
|
button.m3.m3-icon-button.tonal.toggled {
|
||||||
color: var(--md-sys-color-on-surface-variant);
|
color: var(--md-sys-color-on-surface-variant);
|
||||||
background-color: var(--md-sys-color-surface-container-highest); }
|
background-color: var(--md-sys-color-surface-container-highest);
|
||||||
button.m3.m3-icon-button.tonal.selected.toggled, button.m3.m3-icon-button.tonal {
|
}
|
||||||
|
button.m3.m3-icon-button.tonal.selected.toggled, button.m3.m3-icon-button.tonal {
|
||||||
color: var(--md-sys-color-on-secondary-container);
|
color: var(--md-sys-color-on-secondary-container);
|
||||||
background-color: var(--md-sys-color-secondary-container); }
|
background-color: var(--md-sys-color-secondary-container);
|
||||||
button.m3.m3-icon-button:is(.tonal, .filled, .toggled.selected):disabled {
|
}
|
||||||
|
button.m3.m3-icon-button:is(.tonal, .filled, .toggled.selected):disabled {
|
||||||
color: color-mix(in srgb, var(--md-sys-color-on-surface) 38%, transparent);
|
color: 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); }
|
background-color: color-mix(in srgb, var(--md-sys-color-on-surface) 12%, transparent);
|
||||||
button.m3.m3-icon-button.outlined {
|
}
|
||||||
|
button.m3.m3-icon-button.outlined {
|
||||||
border: 1px solid var(--md-sys-color-outline);
|
border: 1px solid var(--md-sys-color-outline);
|
||||||
color: var(--md-sys-color-on-surface-variant);
|
color: var(--md-sys-color-on-surface-variant);
|
||||||
background-color: #00000000; }
|
background-color: rgba(0, 0, 0, 0);
|
||||||
button.m3.m3-icon-button.outlined:disabled {
|
}
|
||||||
|
button.m3.m3-icon-button.outlined:disabled {
|
||||||
border: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 12%, transparent);
|
border: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 12%, transparent);
|
||||||
color: color-mix(in srgb, var(--md-sys-color-on-surface-variant) 38%, transparent);
|
color: color-mix(in srgb, var(--md-sys-color-on-surface-variant) 38%, transparent);
|
||||||
background-color: #00000000; }
|
background-color: rgba(0, 0, 0, 0);
|
||||||
button.m3.m3-icon-button.outlined.toggled.selected:disabled {
|
}
|
||||||
|
button.m3.m3-icon-button.outlined.toggled.selected:disabled {
|
||||||
border: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 0%, transparent);
|
border: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 0%, transparent);
|
||||||
color: color-mix(in srgb, var(--md-sys-color-on-surface) 38%, transparent);
|
color: 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); }
|
background-color: color-mix(in srgb, var(--md-sys-color-on-surface) 12%, transparent);
|
||||||
@media (prefers-color-scheme: light) {
|
}
|
||||||
button.m3.m3-icon-button.outlined.selected.toggled {
|
button.m3.m3-icon-button.outlined.selected.toggled {
|
||||||
border: 1px solid #00000000;
|
border: 1px solid rgba(0, 0, 0, 0);
|
||||||
background-color: var(--md-sys-color-inverse-surface-light);
|
|
||||||
color: var(--md-sys-color-inverse-on-surface); } }
|
|
||||||
@media (prefers-color-scheme: dark) {
|
|
||||||
button.m3.m3-icon-button.outlined.selected.toggled {
|
|
||||||
border: 1px solid #00000000;
|
|
||||||
background-color: var(--md-sys-color-inverse-surface);
|
background-color: var(--md-sys-color-inverse-surface);
|
||||||
color: var(--md-sys-color-inverse-on-surface); } }
|
color: 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) > .m3.m3-ripple-domain > .m3.ripple, button.m3.m3-icon-button.filled:not(:disabled).selected.toggled > .m3.m3-ripple-domain > .m3.ripple {
|
||||||
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-on-primary) 12%, transparent);
|
||||||
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 {
|
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-on-surface-variant) 12%, transparent); }
|
background-color: color-mix(in srgb, var(--md-sys-color-primary) 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) > .m3.m3-ripple-domain > .m3.ripple {
|
||||||
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-on-surface-variant) 12%, transparent);
|
||||||
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 {
|
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-on-secondary-container) 12%, transparent); }
|
background-color: color-mix(in srgb, var(--md-sys-color-primary) 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:is(.outlined, .default):not(:disabled):not(.default).toggled.selected > .m3.m3-ripple-domain > .m3.ripple {
|
||||||
button.m3.m3-icon-button:hover:not(:disabled):is(.default, .outlined)::before {
|
background-color: color-mix(in srgb, var(--md-sys-color-inverse-on-surface) 12%, transparent);
|
||||||
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 {
|
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-primary) 8%, transparent); }
|
background-color: color-mix(in srgb, var(--md-sys-color-on-secondary-container) 12%, 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.tonal:not(:disabled).toggled > .m3.m3-ripple-domain > .m3.ripple {
|
||||||
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-surface-variant) 12%, transparent);
|
||||||
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 {
|
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); }
|
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:hover:not(:disabled).filled::before, button.m3.m3-icon-button:hover:not(:disabled).filled.toggled.selected::before {
|
||||||
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) 8%, transparent);
|
||||||
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 {
|
button.m3.m3-icon-button:hover:not(:disabled).filled.toggled::before {
|
||||||
background-color: color-mix(in srgb, var(--md-sys-color-primary) 12%, transparent); }
|
background-color: color-mix(in srgb, var(--md-sys-color-primary) 8%, 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:hover:not(:disabled).tonal::before, button.m3.m3-icon-button:hover:not(:disabled).tonal.toggled.selected::before {
|
||||||
button.m3.m3-icon-button:focus-visible:not(:disabled).tonal.toggled::before {
|
background-color: color-mix(in srgb, var(--md-sys-color-on-secondary-container) 8%, transparent);
|
||||||
background-color: color-mix(in srgb, var(--md-sys-color-on-surface-variant) 12%, 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);
|
||||||
|
}
|
||||||
|
|
||||||
/*# sourceMappingURL=icon-button.css.map */
|
/*# sourceMappingURL=icon-button.css.map */
|
||||||
|
|
|
@ -1,7 +1 @@
|
||||||
{
|
{"version":3,"sourceRoot":"","sources":["icon-button.sass"],"names":[],"mappings":"AAEA;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;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pB,gBAAgB,EAAE,gEAAgE;EAEtF,yJAAiD;IAC7C,gBAAgB,EAAE,+EAA+E;EACrG,2EAAuB;IACnB,gBAAgB,EAAE,2EAA2E",
|
|
||||||
"sources": ["icon-button.sass"],
|
|
||||||
"names": [],
|
|
||||||
"file": "icon-button.css"
|
|
||||||
}
|
|
|
@ -89,13 +89,6 @@ button.m3.m3-icon-button
|
||||||
color: color-mix(in srgb, var(--md-sys-color-on-surface) 38%, transparent)
|
color: 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)
|
background-color: color-mix(in srgb, var(--md-sys-color-on-surface) 12%, transparent)
|
||||||
|
|
||||||
@media (prefers-color-scheme: light)
|
|
||||||
&.selected.toggled
|
|
||||||
border: 1px solid #00000000
|
|
||||||
background-color: var(--md-sys-color-inverse-surface-light)
|
|
||||||
color: var(--md-sys-color-inverse-on-surface)
|
|
||||||
|
|
||||||
@media (prefers-color-scheme: dark)
|
|
||||||
&.selected.toggled
|
&.selected.toggled
|
||||||
border: 1px solid #00000000
|
border: 1px solid #00000000
|
||||||
background-color: var(--md-sys-color-inverse-surface)
|
background-color: var(--md-sys-color-inverse-surface)
|
||||||
|
|
|
@ -4,29 +4,35 @@ div.m3.m3-text-field {
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
margin: 0; }
|
margin: 0;
|
||||||
div.m3.m3-text-field span.m3-icon.icon-before {
|
}
|
||||||
align-self: start; }
|
div.m3.m3-text-field span.m3-icon.icon-before {
|
||||||
div.m3.m3-text-field:is(.filled, .outlined) > input::placeholder, div.m3.m3-text-field > input, div.m3.m3-text-field > label {
|
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);
|
line-height: var(--md-sys-typescale-body-large-line-height);
|
||||||
font-size: var(--md-sys-typescale-body-large-font-size); }
|
font-size: var(--md-sys-typescale-body-large-font-size);
|
||||||
div.m3.m3-text-field + span.m3-text-field-supporting-text {
|
}
|
||||||
|
div.m3.m3-text-field + span.m3-text-field-supporting-text {
|
||||||
display: flex;
|
display: flex;
|
||||||
line-height: var(--md-sys-typescale-body-small-line-height);
|
line-height: var(--md-sys-typescale-body-small-line-height);
|
||||||
font-size: var(--md-sys-typescale-body-small-font-size);
|
font-size: var(--md-sys-typescale-body-small-font-size);
|
||||||
color: var(--md-sys-color-on-surface-variant);
|
color: var(--md-sys-color-on-surface-variant);
|
||||||
margin: 4px 16px 2px 16px; }
|
margin: 4px 16px 2px 16px;
|
||||||
div.m3.m3-text-field > label {
|
}
|
||||||
|
div.m3.m3-text-field > label {
|
||||||
padding-inline: 4px;
|
padding-inline: 4px;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
transform: translate(16px, 0);
|
transform: translate(16px, 0);
|
||||||
transition: 0.2s cubic-bezier(0.2, 0, 0, 1);
|
transition: 0.2s cubic-bezier(0.2, 0, 0, 1);
|
||||||
position: absolute; }
|
position: absolute;
|
||||||
div.m3.m3-text-field > input {
|
}
|
||||||
|
div.m3.m3-text-field > input {
|
||||||
transition: 0.2s cubic-bezier(0.2, 0, 0, 1);
|
transition: 0.2s cubic-bezier(0.2, 0, 0, 1);
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
border: none; }
|
border: none;
|
||||||
div.m3.m3-text-field > span.m3-icon {
|
}
|
||||||
|
div.m3.m3-text-field > span.m3-icon {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
align-self: end;
|
align-self: end;
|
||||||
margin: 12px;
|
margin: 12px;
|
||||||
|
@ -38,62 +44,83 @@ div.m3.m3-text-field {
|
||||||
justify-content: inherit;
|
justify-content: inherit;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
color: var(--md-sys-color-on-surface-variant);
|
color: var(--md-sys-color-on-surface-variant);
|
||||||
font-family: Material-Symbols-Outlined-Regular, serif; }
|
font-family: Material-Symbols-Outlined-Regular, serif;
|
||||||
div.m3.m3-text-field > span.m3-text-field-state-layer {
|
}
|
||||||
|
div.m3.m3-text-field > span.m3-text-field-state-layer {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
position: absolute; }
|
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 > input, div.m3.m3-text-field > label {
|
||||||
div.m3.m3-text-field:is(.filled, .outlined) > input::placeholder {
|
color: var(--md-sys-color-on-surface);
|
||||||
color: var(--md-sys-color-on-surface-variant); }
|
}
|
||||||
div.m3.m3-text-field:is(.filled, .outlined) > input:focus-visible {
|
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;
|
outline: none;
|
||||||
caret-color: var(--md-sys-color-primary); }
|
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:is(.filled, .outlined):has(input:disabled) > *, div.m3.m3-text-field:is(.filled, .outlined):has(input:disabled) + span.m3-text-field-supporting-text {
|
||||||
div.m3.m3-text-field.filled {
|
opacity: 38%;
|
||||||
|
}
|
||||||
|
div.m3.m3-text-field.filled {
|
||||||
contain: content;
|
contain: content;
|
||||||
border-radius: 4px 4px 0 0; }
|
border-radius: 4px 4px 0 0;
|
||||||
div.m3.m3-text-field.filled > input {
|
}
|
||||||
|
div.m3.m3-text-field.filled > input {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
border-radius: 4px 4px 0 0;
|
border-radius: 4px 4px 0 0;
|
||||||
background-color: var(--md-sys-color-surface-container-highest);
|
background-color: var(--md-sys-color-surface-container-highest);
|
||||||
box-shadow: inset 0 -1px 0 var(--md-sys-color-on-surface-variant); }
|
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-after-icon {
|
||||||
div.m3.m3-text-field.filled > input.with-before-icon {
|
padding: 24px 48px 8px 16px;
|
||||||
padding: 24px 16px 8px 48px; }
|
}
|
||||||
div.m3.m3-text-field.filled > input.with-before-icon + label {
|
div.m3.m3-text-field.filled > input.with-before-icon {
|
||||||
margin-left: 32px; }
|
padding: 24px 16px 8px 48px;
|
||||||
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-before-icon + label {
|
||||||
div.m3.m3-text-field.filled > input.with-after-icon.with-before-icon {
|
margin-left: 32px;
|
||||||
padding: 24px 48px 8px 48px; }
|
}
|
||||||
div.m3.m3-text-field.filled > label.raised {
|
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);
|
transform: translate(12px, -12px);
|
||||||
line-height: var(--md-sys-typescale-body-small-line-height);
|
line-height: var(--md-sys-typescale-body-small-line-height);
|
||||||
font-size: var(--md-sys-typescale-body-small-font-size); }
|
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 {
|
||||||
div.m3.m3-text-field.filled > input:required:user-invalid:focus-visible {
|
caret-color: var(--md-sys-color-error);
|
||||||
box-shadow: inset 0 -3px 0 var(--md-sys-color-error); }
|
}
|
||||||
div.m3.m3-text-field.filled > input:required:user-invalid {
|
div.m3.m3-text-field.filled > input:required:user-invalid:focus-visible {
|
||||||
box-shadow: inset 0 -1px 0 var(--md-sys-color-error); }
|
box-shadow: inset 0 -3px 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:required:user-invalid {
|
||||||
div.m3.m3-text-field.filled > input:focus-visible {
|
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;
|
outline-offset: 3px;
|
||||||
box-shadow: inset 0 -3px 0 var(--md-sys-color-primary); }
|
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 > input:focus-visible + label {
|
||||||
div.m3.m3-text-field.filled:hover > input:not(:disabled) ~ span.m3-text-field-state-layer {
|
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);
|
transition: 0.2s cubic-bezier(0.2, 0, 0, 1);
|
||||||
background-color: color-mix(in srgb, var(--md-sys-color-on-surface) 8%, transparent); }
|
background-color: color-mix(in srgb, var(--md-sys-color-on-surface) 8%, transparent);
|
||||||
div.m3.m3-text-field.outlined > fieldset {
|
}
|
||||||
|
div.m3.m3-text-field.outlined > fieldset {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
|
@ -101,66 +128,87 @@ div.m3.m3-text-field {
|
||||||
padding-inline: 12px;
|
padding-inline: 12px;
|
||||||
border: 1px solid var(--md-sys-color-outline);
|
border: 1px solid var(--md-sys-color-outline);
|
||||||
inset: -7.5px 0px 0px 0px;
|
inset: -7.5px 0px 0px 0px;
|
||||||
transition: background-color 0.2s cubic-bezier(0.2, 0, 0, 1); }
|
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 > span {
|
||||||
div.m3.m3-text-field.outlined > fieldset > legend {
|
width: 100%;
|
||||||
|
}
|
||||||
|
div.m3.m3-text-field.outlined > fieldset > legend {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
width: 0;
|
width: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
border: 0 solid transparent;
|
border: 0 solid transparent;
|
||||||
transition: 0.05s cubic-bezier(0.2, 0, 0, 1); }
|
transition: 0.05s cubic-bezier(0.2, 0, 0, 1);
|
||||||
div.m3.m3-text-field.outlined > fieldset > legend.raised {
|
}
|
||||||
|
div.m3.m3-text-field.outlined > fieldset > legend.raised {
|
||||||
border-inline-width: 6px;
|
border-inline-width: 6px;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
width: auto;
|
width: auto;
|
||||||
visibility: visible; }
|
visibility: visible;
|
||||||
div.m3.m3-text-field.outlined > input {
|
}
|
||||||
|
div.m3.m3-text-field.outlined > input {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
border-radius: 4px; }
|
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-after-icon {
|
||||||
div.m3.m3-text-field.outlined > input.with-before-icon {
|
padding: 16px 48px 16px 16px;
|
||||||
padding: 16px 16px 16px 48px; }
|
}
|
||||||
div.m3.m3-text-field.outlined > input.with-before-icon + label {
|
div.m3.m3-text-field.outlined > input.with-before-icon {
|
||||||
transform: translate(48px, 0); }
|
padding: 16px 16px 16px 48px;
|
||||||
div.m3.m3-text-field.outlined > input:not(.with-after-icon, .with-before-icon) {
|
}
|
||||||
padding: 16px; }
|
div.m3.m3-text-field.outlined > input.with-before-icon + label {
|
||||||
div.m3.m3-text-field.outlined > input.with-after-icon.with-before-icon {
|
transform: translate(48px, 0);
|
||||||
padding: 16px 48px; }
|
}
|
||||||
div.m3.m3-text-field.outlined:has(input:focus-visible) > fieldset {
|
div.m3.m3-text-field.outlined > input:not(.with-after-icon, .with-before-icon) {
|
||||||
border: 3px solid var(--md-sys-color-primary); }
|
padding: 16px;
|
||||||
div.m3.m3-text-field.outlined:not(div.m3.m3-text-field.outlined:has(label.raised)):has(input:focus-visible) > fieldset > legend {
|
}
|
||||||
|
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-top-width: 0;
|
||||||
border-bottom-width: 0;
|
border-bottom-width: 0;
|
||||||
border-inline-width: 5.5px;
|
border-inline-width: 5.5px;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
border-color: transparent; }
|
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 {
|
}
|
||||||
|
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-top-width: 0;
|
||||||
border-bottom-width: 0;
|
border-bottom-width: 0;
|
||||||
border-inline-width: 7.5px;
|
border-inline-width: 7.5px;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
border-color: transparent; }
|
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 > input:focus-visible + label {
|
||||||
div.m3.m3-text-field.outlined > label.raised, div.m3.m3-text-field.outlined > fieldset > * {
|
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);
|
line-height: var(--md-sys-typescale-body-small-line-height);
|
||||||
font-size: var(--md-sys-typescale-body-small-font-size); }
|
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 > label.raised {
|
||||||
div.m3.m3-text-field.outlined > input:required:user-invalid {
|
transform: translate(16px, -27px) !important;
|
||||||
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 {
|
div.m3.m3-text-field.outlined > input:required:user-invalid {
|
||||||
color: var(--md-sys-color-error); }
|
caret-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(input):nth-last-child(-n+3), div.m3.m3-text-field.outlined:has(input:required:user-invalid) + span.m3-text-field-supporting-text {
|
||||||
div.m3.m3-text-field.outlined:has(input:required:user-invalid:not(:focus-visible)) > fieldset {
|
color: var(--md-sys-color-error);
|
||||||
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 {
|
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);
|
transition: 0.2s cubic-bezier(0.2, 0, 0, 1);
|
||||||
border-color: var(--md-sys-color-on-surface); }
|
border-color: var(--md-sys-color-on-surface);
|
||||||
|
}
|
||||||
|
|
||||||
/*# sourceMappingURL=text-field.css.map */
|
/*# sourceMappingURL=text-field.css.map */
|
||||||
|
|
|
@ -1,7 +1 @@
|
||||||
{
|
{"version":3,"sourceRoot":"","sources":["text-field.sass"],"names":[],"mappings":"AAAA;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","file":"text-field.css"}
|
||||||
"version": 3,
|
|
||||||
"mappings": "AAAA,oBAAoB;EAChB,QAAQ,EAAE,QAAQ;EAClB,OAAO,EAAE,IAAI;EACb,eAAe,EAAE,MAAM;EACvB,cAAc,EAAE,MAAM;EACtB,UAAU,EAAE,UAAU;EACtB,MAAM,EAAE,CAAC;EAET,6CAAwB;IACpB,UAAU,EAAE,KAAK;EAErB,4HAAmE;IAC/D,WAAW,EAAE,8CAA8C;IAC3D,SAAS,EAAE,4CAA4C;EAE3D,yDAAsC;IAClC,OA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