|
|
/* These are daisyUI styles for styling the default CoreComponents and generator files |
|
|
* included to prevent shipping a completely unstyled page, even as you selected --no-tailwind. |
|
|
* You can safely remove the whole file and all references to "default.css". |
|
|
*/ |
|
|
/*! tailwindcss v4.0.9 | MIT License | https://tailwindcss.com */ |
|
|
@layer theme, base, components, utilities; |
|
|
@layer theme { |
|
|
:root, :host { |
|
|
--font-sans: ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', |
|
|
'Noto Color Emoji'; |
|
|
--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', |
|
|
monospace; |
|
|
--color-black: #000; |
|
|
--spacing: 0.25rem; |
|
|
--container-sm: 24rem; |
|
|
--container-xl: 36rem; |
|
|
--container-2xl: 42rem; |
|
|
--text-sm: 0.875rem; |
|
|
--text-sm--line-height: calc(1.25 / 0.875); |
|
|
--text-lg: 1.125rem; |
|
|
--text-lg--line-height: calc(1.75 / 1.125); |
|
|
--font-weight-semibold: 600; |
|
|
--font-weight-bold: 700; |
|
|
--tracking-tighter: -0.05em; |
|
|
--radius-lg: 0.5rem; |
|
|
--ease-in: cubic-bezier(0.4, 0, 1, 1); |
|
|
--ease-out: cubic-bezier(0, 0, 0.2, 1); |
|
|
--animate-spin: spin 1s linear infinite; |
|
|
--default-transition-duration: 150ms; |
|
|
--default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); |
|
|
--default-font-family: var(--font-sans); |
|
|
--default-font-feature-settings: var(--font-sans--font-feature-settings); |
|
|
--default-font-variation-settings: var(--font-sans--font-variation-settings); |
|
|
--default-mono-font-family: var(--font-mono); |
|
|
--default-mono-font-feature-settings: var(--font-mono--font-feature-settings); |
|
|
--default-mono-font-variation-settings: var(--font-mono--font-variation-settings); |
|
|
} |
|
|
} |
|
|
@layer base { |
|
|
*, ::after, ::before, ::backdrop, ::file-selector-button { |
|
|
box-sizing: border-box; |
|
|
margin: 0; |
|
|
padding: 0; |
|
|
border: 0 solid; |
|
|
} |
|
|
html, :host { |
|
|
line-height: 1.5; |
|
|
-webkit-text-size-adjust: 100%; |
|
|
tab-size: 4; |
|
|
font-family: var( --default-font-family, ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji' ); |
|
|
font-feature-settings: var(--default-font-feature-settings, normal); |
|
|
font-variation-settings: var(--default-font-variation-settings, normal); |
|
|
-webkit-tap-highlight-color: transparent; |
|
|
} |
|
|
body { |
|
|
line-height: inherit; |
|
|
} |
|
|
hr { |
|
|
height: 0; |
|
|
color: inherit; |
|
|
border-top-width: 1px; |
|
|
} |
|
|
abbr:where([title]) { |
|
|
-webkit-text-decoration: underline dotted; |
|
|
text-decoration: underline dotted; |
|
|
} |
|
|
h1, h2, h3, h4, h5, h6 { |
|
|
font-size: inherit; |
|
|
font-weight: inherit; |
|
|
} |
|
|
a { |
|
|
color: inherit; |
|
|
-webkit-text-decoration: inherit; |
|
|
text-decoration: inherit; |
|
|
} |
|
|
b, strong { |
|
|
font-weight: bolder; |
|
|
} |
|
|
code, kbd, samp, pre { |
|
|
font-family: var( --default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace ); |
|
|
font-feature-settings: var(--default-mono-font-feature-settings, normal); |
|
|
font-variation-settings: var(--default-mono-font-variation-settings, normal); |
|
|
font-size: 1em; |
|
|
} |
|
|
small { |
|
|
font-size: 80%; |
|
|
} |
|
|
sub, sup { |
|
|
font-size: 75%; |
|
|
line-height: 0; |
|
|
position: relative; |
|
|
vertical-align: baseline; |
|
|
} |
|
|
sub { |
|
|
bottom: -0.25em; |
|
|
} |
|
|
sup { |
|
|
top: -0.5em; |
|
|
} |
|
|
table { |
|
|
text-indent: 0; |
|
|
border-color: inherit; |
|
|
border-collapse: collapse; |
|
|
} |
|
|
:-moz-focusring { |
|
|
outline: auto; |
|
|
} |
|
|
progress { |
|
|
vertical-align: baseline; |
|
|
} |
|
|
summary { |
|
|
display: list-item; |
|
|
} |
|
|
ol, ul, menu { |
|
|
list-style: none; |
|
|
} |
|
|
img, svg, video, canvas, audio, iframe, embed, object { |
|
|
display: block; |
|
|
vertical-align: middle; |
|
|
} |
|
|
img, video { |
|
|
max-width: 100%; |
|
|
height: auto; |
|
|
} |
|
|
button, input, select, optgroup, textarea, ::file-selector-button { |
|
|
font: inherit; |
|
|
font-feature-settings: inherit; |
|
|
font-variation-settings: inherit; |
|
|
letter-spacing: inherit; |
|
|
color: inherit; |
|
|
border-radius: 0; |
|
|
background-color: transparent; |
|
|
opacity: 1; |
|
|
} |
|
|
:where(select:is([multiple], [size])) optgroup { |
|
|
font-weight: bolder; |
|
|
} |
|
|
:where(select:is([multiple], [size])) optgroup option { |
|
|
padding-inline-start: 20px; |
|
|
} |
|
|
::file-selector-button { |
|
|
margin-inline-end: 4px; |
|
|
} |
|
|
::placeholder { |
|
|
opacity: 1; |
|
|
color: color-mix(in oklab, currentColor 50%, transparent); |
|
|
} |
|
|
textarea { |
|
|
resize: vertical; |
|
|
} |
|
|
::-webkit-search-decoration { |
|
|
-webkit-appearance: none; |
|
|
} |
|
|
::-webkit-date-and-time-value { |
|
|
min-height: 1lh; |
|
|
text-align: inherit; |
|
|
} |
|
|
::-webkit-datetime-edit { |
|
|
display: inline-flex; |
|
|
} |
|
|
::-webkit-datetime-edit-fields-wrapper { |
|
|
padding: 0; |
|
|
} |
|
|
::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field { |
|
|
padding-block: 0; |
|
|
} |
|
|
:-moz-ui-invalid { |
|
|
box-shadow: none; |
|
|
} |
|
|
button, input:where([type='button'], [type='reset'], [type='submit']), ::file-selector-button { |
|
|
appearance: button; |
|
|
} |
|
|
::-webkit-inner-spin-button, ::-webkit-outer-spin-button { |
|
|
height: auto; |
|
|
} |
|
|
[hidden]:where(:not([hidden='until-found'])) { |
|
|
display: none !important; |
|
|
} |
|
|
} |
|
|
@layer utilities { |
|
|
.menu { |
|
|
display: flex; |
|
|
width: fit-content; |
|
|
flex-direction: column; |
|
|
flex-wrap: wrap; |
|
|
padding: calc(0.25rem * 2); |
|
|
--menu-active-fg: var(--color-neutral-content); |
|
|
--menu-active-bg: var(--color-neutral); |
|
|
font-size: 0.875rem; |
|
|
:where(li ul) { |
|
|
position: relative; |
|
|
margin-inline-start: calc(0.25rem * 4); |
|
|
padding-inline-start: calc(0.25rem * 2); |
|
|
white-space: nowrap; |
|
|
&:before { |
|
|
position: absolute; |
|
|
inset-inline-start: calc(0.25rem * 0); |
|
|
top: calc(0.25rem * 3); |
|
|
bottom: calc(0.25rem * 3); |
|
|
background-color: var(--color-base-content); |
|
|
opacity: 10%; |
|
|
width: var(--border); |
|
|
content: ""; |
|
|
} |
|
|
} |
|
|
:where(li > .menu-dropdown:not(.menu-dropdown-show)) { |
|
|
display: none; |
|
|
} |
|
|
:where(li:not(.menu-title) > *:not(ul, details, .menu-title, .btn)), :where(li:not(.menu-title) > details > summary:not(.menu-title)) { |
|
|
display: grid; |
|
|
grid-auto-flow: column; |
|
|
align-content: flex-start; |
|
|
align-items: center; |
|
|
gap: calc(0.25rem * 2); |
|
|
border-radius: var(--radius-field); |
|
|
padding-inline: calc(0.25rem * 3); |
|
|
padding-block: calc(0.25rem * 1.5); |
|
|
text-align: start; |
|
|
transition-property: color, background-color, box-shadow; |
|
|
transition-duration: 0.2s; |
|
|
transition-timing-function: cubic-bezier(0, 0, 0.2, 1); |
|
|
grid-auto-columns: minmax(auto, max-content) auto max-content; |
|
|
text-wrap: balance; |
|
|
user-select: none; |
|
|
} |
|
|
:where(li > details > summary) { |
|
|
--tw-outline-style: none; |
|
|
outline-style: none; |
|
|
@media (forced-colors: active) { |
|
|
outline: 2px solid transparent; |
|
|
outline-offset: 2px; |
|
|
} |
|
|
&::-webkit-details-marker { |
|
|
display: none; |
|
|
} |
|
|
} |
|
|
:where(li > details > summary), :where(li > .menu-dropdown-toggle) { |
|
|
&:after { |
|
|
justify-self: flex-end; |
|
|
display: block; |
|
|
height: 0.375rem; |
|
|
width: 0.375rem; |
|
|
rotate: -135deg; |
|
|
translate: 0 -1px; |
|
|
transition-property: rotate, translate; |
|
|
transition-duration: 0.2s; |
|
|
content: ""; |
|
|
transform-origin: 50% 50%; |
|
|
box-shadow: 2px 2px inset; |
|
|
pointer-events: none; |
|
|
} |
|
|
} |
|
|
:where(li > details[open] > summary):after, :where(li > .menu-dropdown-toggle.menu-dropdown-show):after { |
|
|
rotate: 45deg; |
|
|
translate: 0 1px; |
|
|
} |
|
|
:where( li:not(.menu-title, .disabled) > *:not(ul, details, .menu-title), li:not(.menu-title, .disabled) > details > summary:not(.menu-title) ):not(.menu-active, :active, .btn) { |
|
|
&.menu-focus, &:focus-visible { |
|
|
cursor: pointer; |
|
|
background-color: color-mix(in oklab, var(--color-base-content) 10%, transparent); |
|
|
color: var(--color-base-content); |
|
|
--tw-outline-style: none; |
|
|
outline-style: none; |
|
|
@media (forced-colors: active) { |
|
|
outline: 2px solid transparent; |
|
|
outline-offset: 2px; |
|
|
} |
|
|
} |
|
|
} |
|
|
:where( li:not(.menu-title, .disabled) > *:not(ul, details, .menu-title):not(.menu-active, :active, .btn):hover, li:not(.menu-title, .disabled) > details > summary:not(.menu-title):not(.menu-active, :active, .btn):hover ) { |
|
|
cursor: pointer; |
|
|
background-color: color-mix(in oklab, var(--color-base-content) 10%, transparent); |
|
|
--tw-outline-style: none; |
|
|
outline-style: none; |
|
|
@media (forced-colors: active) { |
|
|
outline: 2px solid transparent; |
|
|
outline-offset: 2px; |
|
|
} |
|
|
box-shadow: 0 1px oklch(0% 0 0 / 0.01) inset, 0 -1px oklch(100% 0 0 / 0.01) inset; |
|
|
} |
|
|
:where(li:empty) { |
|
|
background-color: var(--color-base-content); |
|
|
opacity: 10%; |
|
|
margin: 0.5rem 1rem; |
|
|
height: 1px; |
|
|
} |
|
|
:where(li) { |
|
|
position: relative; |
|
|
display: flex; |
|
|
flex-shrink: 0; |
|
|
flex-direction: column; |
|
|
flex-wrap: wrap; |
|
|
align-items: stretch; |
|
|
.badge { |
|
|
justify-self: flex-end; |
|
|
} |
|
|
& > *:not(ul, .menu-title, details, .btn):active, & > *:not(ul, .menu-title, details, .btn).menu-active, & > details > summary:active { |
|
|
--tw-outline-style: none; |
|
|
outline-style: none; |
|
|
@media (forced-colors: active) { |
|
|
outline: 2px solid transparent; |
|
|
outline-offset: 2px; |
|
|
} |
|
|
color: var(--menu-active-fg); |
|
|
background-color: var(--menu-active-bg); |
|
|
background-size: auto, calc(var(--noise) * 100%); |
|
|
background-image: none, var(--fx-noise); |
|
|
&:not(&:active) { |
|
|
box-shadow: 0 2px calc(var(--depth) * 3px) -2px var(--menu-active-bg); |
|
|
} |
|
|
} |
|
|
&.menu-disabled { |
|
|
pointer-events: none; |
|
|
color: color-mix(in oklab, var(--color-base-content) 20%, transparent); |
|
|
} |
|
|
} |
|
|
.dropdown:focus-within { |
|
|
.menu-dropdown-toggle:after { |
|
|
rotate: 45deg; |
|
|
translate: 0 1px; |
|
|
} |
|
|
} |
|
|
.dropdown-content { |
|
|
margin-top: calc(0.25rem * 2); |
|
|
padding: calc(0.25rem * 2); |
|
|
&:before { |
|
|
display: none; |
|
|
} |
|
|
} |
|
|
} |
|
|
.btn { |
|
|
:where(&) { |
|
|
width: unset; |
|
|
} |
|
|
display: inline-flex; |
|
|
flex-shrink: 0; |
|
|
cursor: pointer; |
|
|
flex-wrap: nowrap; |
|
|
align-items: center; |
|
|
justify-content: center; |
|
|
gap: calc(0.25rem * 1.5); |
|
|
text-align: center; |
|
|
vertical-align: middle; |
|
|
outline-offset: 2px; |
|
|
webkit-user-select: none; |
|
|
user-select: none; |
|
|
padding-inline: var(--btn-p); |
|
|
color: var(--btn-fg); |
|
|
--tw-prose-links: var(--btn-fg); |
|
|
height: var(--size); |
|
|
font-size: var(--fontsize, 0.875rem); |
|
|
font-weight: 600; |
|
|
outline-color: var(--btn-color, var(--color-base-content)); |
|
|
transition-property: color, background-color, border-color, box-shadow; |
|
|
transition-timing-function: cubic-bezier(0, 0, 0.2, 1); |
|
|
transition-duration: 0.2s; |
|
|
border-start-start-radius: var(--join-ss, var(--radius-field)); |
|
|
border-start-end-radius: var(--join-se, var(--radius-field)); |
|
|
border-end-start-radius: var(--join-es, var(--radius-field)); |
|
|
border-end-end-radius: var(--join-ee, var(--radius-field)); |
|
|
background-color: var(--btn-bg); |
|
|
background-size: auto, calc(var(--noise) * 100%); |
|
|
background-image: none, var(--btn-noise); |
|
|
border-width: var(--border); |
|
|
border-style: solid; |
|
|
border-color: var(--btn-border); |
|
|
text-shadow: 0 0.5px oklch(100% 0 0 / calc(var(--depth) * 0.15)); |
|
|
box-shadow: 0 0.5px 0 0.5px oklch(100% 0 0 / calc(var(--depth) * 6%)) inset, var(--btn-shadow); |
|
|
--size: calc(var(--size-field, 0.25rem) * 10); |
|
|
--btn-bg: var(--btn-color, var(--color-base-200)); |
|
|
--btn-fg: var(--color-base-content); |
|
|
--btn-p: 1rem; |
|
|
--btn-border: color-mix(in oklab, var(--btn-bg), #000 calc(var(--depth) * 5%)); |
|
|
--btn-shadow: 0 3px 2px -2px color-mix(in oklab, var(--btn-bg) calc(var(--depth) * 30%), #0000), |
|
|
0 4px 3px -2px color-mix(in oklab, var(--btn-bg) calc(var(--depth) * 30%), #0000); |
|
|
--btn-noise: var(--fx-noise); |
|
|
.prose & { |
|
|
text-decoration-line: none; |
|
|
} |
|
|
@media (hover: hover) { |
|
|
&:hover { |
|
|
--btn-bg: color-mix(in oklab, var(--btn-color, var(--color-base-200)), #000 7%); |
|
|
} |
|
|
} |
|
|
&:focus-visible { |
|
|
outline-width: 2px; |
|
|
outline-style: solid; |
|
|
} |
|
|
&:active:not(.btn-active) { |
|
|
translate: 0 0.5px; |
|
|
--btn-bg: color-mix(in oklab, var(--btn-color, var(--color-base-200)), #000 5%); |
|
|
--btn-border: color-mix(in oklab, var(--btn-color, var(--color-base-200)), #000 7%); |
|
|
--btn-shadow: 0 0 0 0 oklch(0% 0 0/0), 0 0 0 0 oklch(0% 0 0/0); |
|
|
} |
|
|
&:is(:disabled, [disabled], .btn-disabled) { |
|
|
&:not(.btn-link, .btn-ghost) { |
|
|
background-color: color-mix(in oklab, var(--color-base-content) 10%, transparent); |
|
|
box-shadow: none; |
|
|
} |
|
|
pointer-events: none; |
|
|
--btn-border: #0000; |
|
|
--btn-noise: none; |
|
|
--btn-fg: color-mix(in oklch, var(--color-base-content) 20%, #0000); |
|
|
@media (hover: hover) { |
|
|
&:hover { |
|
|
pointer-events: none; |
|
|
background-color: color-mix(in oklab, var(--color-neutral) 20%, transparent); |
|
|
--btn-border: #0000; |
|
|
--btn-fg: color-mix(in oklch, var(--color-base-content) 20%, #0000); |
|
|
} |
|
|
} |
|
|
} |
|
|
&:is(input[type="checkbox"], input[type="radio"]) { |
|
|
appearance: none; |
|
|
&::after { |
|
|
content: attr(aria-label); |
|
|
} |
|
|
} |
|
|
&:where(input:checked:not(.filter .btn)) { |
|
|
--btn-color: var(--color-primary); |
|
|
--btn-fg: var(--color-primary-content); |
|
|
isolation: isolate; |
|
|
} |
|
|
} |
|
|
.list { |
|
|
display: flex; |
|
|
flex-direction: column; |
|
|
font-size: 0.875rem; |
|
|
:where(.list-row) { |
|
|
--list-grid-cols: minmax(0, auto) 1fr; |
|
|
position: relative; |
|
|
display: grid; |
|
|
grid-auto-flow: column; |
|
|
gap: calc(0.25rem * 4); |
|
|
border-radius: var(--radius-box); |
|
|
padding: calc(0.25rem * 4); |
|
|
word-break: break-word; |
|
|
grid-template-columns: var(--list-grid-cols); |
|
|
&:has(.list-col-grow:nth-child(1)) { |
|
|
--list-grid-cols: 1fr; |
|
|
} |
|
|
&:has(.list-col-grow:nth-child(2)) { |
|
|
--list-grid-cols: minmax(0, auto) 1fr; |
|
|
} |
|
|
&:has(.list-col-grow:nth-child(3)) { |
|
|
--list-grid-cols: minmax(0, auto) minmax(0, auto) 1fr; |
|
|
} |
|
|
&:has(.list-col-grow:nth-child(4)) { |
|
|
--list-grid-cols: minmax(0, auto) minmax(0, auto) minmax(0, auto) 1fr; |
|
|
} |
|
|
&:has(.list-col-grow:nth-child(5)) { |
|
|
--list-grid-cols: minmax(0, auto) minmax(0, auto) minmax(0, auto) minmax(0, auto) 1fr; |
|
|
} |
|
|
&:has(.list-col-grow:nth-child(6)) { |
|
|
--list-grid-cols: minmax(0, auto) minmax(0, auto) minmax(0, auto) minmax(0, auto) |
|
|
minmax(0, auto) 1fr; |
|
|
} |
|
|
:not(.list-col-wrap) { |
|
|
grid-row-start: 1; |
|
|
} |
|
|
} |
|
|
& > :not(:last-child) { |
|
|
&.list-row, .list-row { |
|
|
&:after { |
|
|
content: ""; |
|
|
border-bottom: var(--border) solid; |
|
|
inset-inline: var(--radius-box); |
|
|
position: absolute; |
|
|
bottom: calc(0.25rem * 0); |
|
|
border-color: color-mix(in oklab, var(--color-base-content) 5%, transparent); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
.toast { |
|
|
position: fixed; |
|
|
inset-inline-start: auto; |
|
|
inset-inline-end: calc(0.25rem * 0); |
|
|
top: auto; |
|
|
bottom: calc(0.25rem * 0); |
|
|
margin: calc(0.25rem * 4); |
|
|
display: flex; |
|
|
min-width: fit-content; |
|
|
flex-direction: column; |
|
|
gap: calc(0.25rem * 2); |
|
|
background-color: transparent; |
|
|
white-space: nowrap; |
|
|
translate: var(--toast-x, 0) var(--toast-y, 0); |
|
|
& > * { |
|
|
animation: toast 0.25s ease-out; |
|
|
} |
|
|
&:where(.toast-start) { |
|
|
inset-inline-start: calc(0.25rem * 0); |
|
|
inset-inline-end: auto; |
|
|
--toast-x: 0; |
|
|
} |
|
|
&:where(.toast-center) { |
|
|
inset-inline-start: calc(1/2 * 100%); |
|
|
inset-inline-end: calc(1/2 * 100%); |
|
|
--toast-x: -50%; |
|
|
} |
|
|
&:where(.toast-end) { |
|
|
inset-inline-start: auto; |
|
|
inset-inline-end: calc(0.25rem * 0); |
|
|
--toast-x: 0; |
|
|
} |
|
|
&:where(.toast-bottom) { |
|
|
top: auto; |
|
|
bottom: calc(0.25rem * 0); |
|
|
--toast-y: 0; |
|
|
} |
|
|
&:where(.toast-middle) { |
|
|
top: calc(1/2 * 100%); |
|
|
bottom: auto; |
|
|
--toast-y: -50%; |
|
|
} |
|
|
&:where(.toast-top) { |
|
|
top: calc(0.25rem * 0); |
|
|
bottom: auto; |
|
|
--toast-y: 0; |
|
|
} |
|
|
} |
|
|
.toggle { |
|
|
border: var(--border) solid currentColor; |
|
|
color: var(--input-color); |
|
|
position: relative; |
|
|
display: inline-grid; |
|
|
flex-shrink: 0; |
|
|
cursor: pointer; |
|
|
appearance: none; |
|
|
place-content: center; |
|
|
vertical-align: middle; |
|
|
webkit-user-select: none; |
|
|
user-select: none; |
|
|
grid-template-columns: 0fr 1fr 1fr; |
|
|
--radius-selector-max: calc( |
|
|
var(--radius-selector) + var(--radius-selector) + var(--radius-selector) |
|
|
); |
|
|
border-radius: calc( var(--radius-selector) + min(var(--toggle-p), var(--radius-selector-max)) + min(var(--border), var(--radius-selector-max)) ); |
|
|
padding: var(--toggle-p); |
|
|
box-shadow: 0 1px color-mix(in oklab, currentColor calc(var(--depth) * 10%), #0000) inset; |
|
|
transition: color 0.3s, grid-template-columns 0.2s; |
|
|
--input-color: color-mix(in oklab, var(--color-base-content) 50%, #0000); |
|
|
--toggle-p: 0.1875rem; |
|
|
--size: calc(var(--size-selector, 0.25rem) * 6); |
|
|
width: calc((var(--size) * 2) - (var(--border) + var(--toggle-p)) * 2); |
|
|
height: var(--size); |
|
|
> * { |
|
|
z-index: 1; |
|
|
grid-column: span 1 / span 1; |
|
|
grid-column-start: 2; |
|
|
grid-row-start: 1; |
|
|
height: 100%; |
|
|
cursor: pointer; |
|
|
appearance: none; |
|
|
background-color: transparent; |
|
|
padding: calc(0.25rem * 0.5); |
|
|
transition: opacity 0.2s, rotate 0.4s; |
|
|
border: none; |
|
|
&:focus { |
|
|
--tw-outline-style: none; |
|
|
outline-style: none; |
|
|
@media (forced-colors: active) { |
|
|
outline: 2px solid transparent; |
|
|
outline-offset: 2px; |
|
|
} |
|
|
} |
|
|
&:nth-child(2) { |
|
|
color: var(--color-base-100); |
|
|
rotate: 0deg; |
|
|
} |
|
|
&:nth-child(3) { |
|
|
color: var(--color-base-100); |
|
|
opacity: 0%; |
|
|
rotate: -15deg; |
|
|
} |
|
|
} |
|
|
&:has(:checked) { |
|
|
> :nth-child(2) { |
|
|
opacity: 0%; |
|
|
rotate: 15deg; |
|
|
} |
|
|
> :nth-child(3) { |
|
|
opacity: 100%; |
|
|
rotate: 0deg; |
|
|
} |
|
|
} |
|
|
&:before { |
|
|
position: relative; |
|
|
inset-inline-start: calc(0.25rem * 0); |
|
|
grid-column-start: 2; |
|
|
grid-row-start: 1; |
|
|
aspect-ratio: 1 / 1; |
|
|
height: 100%; |
|
|
border-radius: var(--radius-selector); |
|
|
background-color: currentColor; |
|
|
translate: 0; |
|
|
--tw-content: ""; |
|
|
content: var(--tw-content); |
|
|
transition: background-color 0.1s, translate 0.2s, inset-inline-start 0.2s; |
|
|
box-shadow: 0 -1px oklch(0% 0 0 / calc(var(--depth) * 0.1)) inset, 0 8px 0 -4px oklch(100% 0 0 / calc(var(--depth) * 0.1)) inset, 0 1px color-mix(in oklab, currentColor calc(var(--depth) * 10%), #0000); |
|
|
background-size: auto, calc(var(--noise) * 100%); |
|
|
background-image: none, var(--fx-noise); |
|
|
} |
|
|
@media (forced-colors: active) { |
|
|
&:before { |
|
|
outline-style: var(--tw-outline-style); |
|
|
outline-width: 1px; |
|
|
outline-offset: calc(1px * -1); |
|
|
} |
|
|
} |
|
|
@media print { |
|
|
&:before { |
|
|
outline: 0.25rem solid; |
|
|
outline-offset: -1rem; |
|
|
} |
|
|
} |
|
|
&:focus-visible, &:has(:focus-visible) { |
|
|
outline: 2px solid currentColor; |
|
|
outline-offset: 2px; |
|
|
} |
|
|
&:checked, &[aria-checked="true"], &:has(> input:checked) { |
|
|
grid-template-columns: 1fr 1fr 0fr; |
|
|
background-color: var(--color-base-100); |
|
|
--input-color: var(--color-base-content); |
|
|
&:before { |
|
|
background-color: currentColor; |
|
|
} |
|
|
@starting-style { |
|
|
&:before { |
|
|
opacity: 0; |
|
|
} |
|
|
} |
|
|
} |
|
|
&:indeterminate { |
|
|
grid-template-columns: 0.5fr 1fr 0.5fr; |
|
|
} |
|
|
&:disabled { |
|
|
cursor: not-allowed; |
|
|
opacity: 30%; |
|
|
&:before { |
|
|
background-color: transparent; |
|
|
border: var(--border) solid currentColor; |
|
|
} |
|
|
} |
|
|
} |
|
|
.input { |
|
|
cursor: text; |
|
|
border: var(--border) solid #0000; |
|
|
position: relative; |
|
|
display: inline-flex; |
|
|
flex-shrink: 1; |
|
|
appearance: none; |
|
|
align-items: center; |
|
|
gap: calc(0.25rem * 2); |
|
|
background-color: var(--color-base-100); |
|
|
padding-inline: calc(0.25rem * 3); |
|
|
vertical-align: middle; |
|
|
white-space: nowrap; |
|
|
width: clamp(3rem, 20rem, 100%); |
|
|
height: var(--size); |
|
|
font-size: 0.875rem; |
|
|
border-start-start-radius: var(--join-ss, var(--radius-field)); |
|
|
border-start-end-radius: var(--join-se, var(--radius-field)); |
|
|
border-end-start-radius: var(--join-es, var(--radius-field)); |
|
|
border-end-end-radius: var(--join-ee, var(--radius-field)); |
|
|
border-color: var(--input-color); |
|
|
box-shadow: 0 1px color-mix(in oklab, var(--input-color) calc(var(--depth) * 10%), #0000) inset, 0 -1px oklch(100% 0 0 / calc(var(--depth) * 0.1)) inset; |
|
|
--size: calc(var(--size-field, 0.25rem) * 10); |
|
|
--input-color: color-mix(in oklab, var(--color-base-content) 20%, #0000); |
|
|
&:where(input) { |
|
|
display: inline-flex; |
|
|
} |
|
|
:where(input) { |
|
|
display: inline-flex; |
|
|
height: 100%; |
|
|
width: 100%; |
|
|
appearance: none; |
|
|
background-color: transparent; |
|
|
border: none; |
|
|
&:focus, &:focus-within { |
|
|
--tw-outline-style: none; |
|
|
outline-style: none; |
|
|
@media (forced-colors: active) { |
|
|
outline: 2px solid transparent; |
|
|
outline-offset: 2px; |
|
|
} |
|
|
} |
|
|
} |
|
|
&:focus, &:focus-within { |
|
|
--input-color: var(--color-base-content); |
|
|
box-shadow: 0 1px color-mix(in oklab, var(--input-color) calc(var(--depth) * 10%), #0000); |
|
|
outline: 2px solid var(--input-color); |
|
|
outline-offset: 2px; |
|
|
isolation: isolate; |
|
|
} |
|
|
&:has(> input[disabled]), &:is(:disabled, [disabled]) { |
|
|
cursor: not-allowed; |
|
|
border-color: var(--color-base-200); |
|
|
background-color: var(--color-base-200); |
|
|
color: color-mix(in oklab, var(--color-base-content) 40%, transparent); |
|
|
&::placeholder { |
|
|
color: color-mix(in oklab, var(--color-base-content) 20%, transparent); |
|
|
} |
|
|
box-shadow: none; |
|
|
} |
|
|
&:has(> input[disabled]) > input[disabled] { |
|
|
cursor: not-allowed; |
|
|
} |
|
|
&::-webkit-date-and-time-value { |
|
|
text-align: inherit; |
|
|
} |
|
|
&[type="number"] { |
|
|
&::-webkit-inner-spin-button { |
|
|
margin-block: calc(0.25rem * -3); |
|
|
margin-inline-end: calc(0.25rem * -3); |
|
|
} |
|
|
} |
|
|
&::-webkit-calendar-picker-indicator { |
|
|
position: absolute; |
|
|
inset-inline-end: 0.75em; |
|
|
} |
|
|
} |
|
|
.table { |
|
|
font-size: 0.875rem; |
|
|
position: relative; |
|
|
width: 100%; |
|
|
border-radius: var(--radius-box); |
|
|
text-align: left; |
|
|
&:where(:dir(rtl), [dir="rtl"], [dir="rtl"] *) { |
|
|
text-align: right; |
|
|
} |
|
|
tr.row-hover { |
|
|
&, &:nth-child(even) { |
|
|
&:hover { |
|
|
@media (hover: hover) { |
|
|
background-color: var(--color-base-200); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
:where(th, td) { |
|
|
padding-inline: calc(0.25rem * 4); |
|
|
padding-block: calc(0.25rem * 3); |
|
|
vertical-align: middle; |
|
|
} |
|
|
:where(thead, tfoot) { |
|
|
white-space: nowrap; |
|
|
color: color-mix(in oklab, var(--color-base-content) 60%, transparent); |
|
|
font-size: 0.875rem; |
|
|
font-weight: 600; |
|
|
} |
|
|
:where(tfoot) { |
|
|
border-top: var(--border) solid color-mix(in oklch, var(--color-base-content) 5%, #0000); |
|
|
} |
|
|
:where(.table-pin-rows thead tr) { |
|
|
position: sticky; |
|
|
top: calc(0.25rem * 0); |
|
|
z-index: 1; |
|
|
background-color: var(--color-base-100); |
|
|
} |
|
|
:where(.table-pin-rows tfoot tr) { |
|
|
position: sticky; |
|
|
bottom: calc(0.25rem * 0); |
|
|
z-index: 1; |
|
|
background-color: var(--color-base-100); |
|
|
} |
|
|
:where(.table-pin-cols tr th) { |
|
|
position: sticky; |
|
|
right: calc(0.25rem * 0); |
|
|
left: calc(0.25rem * 0); |
|
|
background-color: var(--color-base-100); |
|
|
} |
|
|
:where(thead tr, tbody tr:not(:last-child)) { |
|
|
border-bottom: var(--border) solid color-mix(in oklch, var(--color-base-content) 5%, #0000); |
|
|
} |
|
|
} |
|
|
.range { |
|
|
appearance: none; |
|
|
webkit-appearance: none; |
|
|
--range-thumb: var(--color-base-100); |
|
|
--range-thumb-size: calc(var(--size-selector, 0.25rem) * 6); |
|
|
--range-progress: currentColor; |
|
|
--range-fill: 1; |
|
|
--range-p: 0.25rem; |
|
|
--range-bg: color-mix(in oklab, currentColor 10%, #0000); |
|
|
cursor: pointer; |
|
|
overflow: hidden; |
|
|
background-color: transparent; |
|
|
vertical-align: middle; |
|
|
width: clamp(3rem, 20rem, 100%); |
|
|
--radius-selector-max: calc( |
|
|
var(--radius-selector) + var(--radius-selector) + var(--radius-selector) |
|
|
); |
|
|
border-radius: calc(var(--radius-selector) + min(var(--range-p), var(--radius-selector-max))); |
|
|
border: none; |
|
|
height: var(--range-thumb-size); |
|
|
[dir="rtl"] & { |
|
|
--range-dir: -1; |
|
|
} |
|
|
&:focus { |
|
|
outline: none; |
|
|
} |
|
|
&:focus-visible { |
|
|
outline: 2px solid; |
|
|
outline-offset: 2px; |
|
|
} |
|
|
&::-webkit-slider-runnable-track { |
|
|
width: 100%; |
|
|
background-color: var(--range-bg); |
|
|
border-radius: var(--radius-selector); |
|
|
height: calc(var(--range-thumb-size) * 0.5); |
|
|
} |
|
|
@media (forced-colors: active) { |
|
|
&::-webkit-slider-runnable-track { |
|
|
border: 1px solid; |
|
|
} |
|
|
} |
|
|
@media (forced-colors: active) { |
|
|
&::-moz-range-track { |
|
|
border: 1px solid; |
|
|
} |
|
|
} |
|
|
&::-webkit-slider-thumb { |
|
|
position: relative; |
|
|
box-sizing: border-box; |
|
|
border-radius: calc(var(--radius-selector) + min(var(--range-p), var(--radius-selector-max))); |
|
|
background-color: currentColor; |
|
|
height: var(--range-thumb-size); |
|
|
width: var(--range-thumb-size); |
|
|
border: var(--range-p) solid; |
|
|
appearance: none; |
|
|
webkit-appearance: none; |
|
|
top: 50%; |
|
|
color: var(--range-progress); |
|
|
transform: translateY(-50%); |
|
|
box-shadow: 0 -1px oklch(0% 0 0 / calc(var(--depth) * 0.1)) inset, 0 8px 0 -4px oklch(100% 0 0 / calc(var(--depth) * 0.1)) inset, 0 1px color-mix(in oklab, currentColor calc(var(--depth) * 10%), #0000), 0 0 0 2rem var(--range-thumb) inset, calc((var(--range-dir, 1) * -100rem) - (var(--range-dir, 1) * var(--range-thumb-size) / 2)) 0 0 calc(100rem * var(--range-fill)); |
|
|
} |
|
|
&::-moz-range-track { |
|
|
width: 100%; |
|
|
background-color: var(--range-bg); |
|
|
border-radius: var(--radius-selector); |
|
|
height: calc(var(--range-thumb-size) * 0.5); |
|
|
} |
|
|
&::-moz-range-thumb { |
|
|
position: relative; |
|
|
box-sizing: border-box; |
|
|
border-radius: calc(var(--radius-selector) + min(var(--range-p), var(--radius-selector-max))); |
|
|
background-color: currentColor; |
|
|
height: var(--range-thumb-size); |
|
|
width: var(--range-thumb-size); |
|
|
border: var(--range-p) solid; |
|
|
top: 50%; |
|
|
color: var(--range-progress); |
|
|
box-shadow: 0 -1px oklch(0% 0 0 / calc(var(--depth) * 0.1)) inset, 0 8px 0 -4px oklch(100% 0 0 / calc(var(--depth) * 0.1)) inset, 0 1px color-mix(in oklab, currentColor calc(var(--depth) * 10%), #0000), 0 0 0 2rem var(--range-thumb) inset, calc((var(--range-dir, 1) * -100rem) - (var(--range-dir, 1) * var(--range-thumb-size) / 2)) 0 0 calc(100rem * var(--range-fill)); |
|
|
} |
|
|
&:disabled { |
|
|
cursor: not-allowed; |
|
|
opacity: 30%; |
|
|
} |
|
|
} |
|
|
.card { |
|
|
position: relative; |
|
|
display: flex; |
|
|
flex-direction: column; |
|
|
border-radius: var(--radius-box); |
|
|
outline-width: 2px; |
|
|
transition: outline 0.2s ease-in-out; |
|
|
outline: 0 solid #0000; |
|
|
outline-offset: 2px; |
|
|
&:focus { |
|
|
--tw-outline-style: none; |
|
|
outline-style: none; |
|
|
@media (forced-colors: active) { |
|
|
outline: 2px solid transparent; |
|
|
outline-offset: 2px; |
|
|
} |
|
|
} |
|
|
&:focus-visible { |
|
|
outline-color: currentColor; |
|
|
} |
|
|
:where(figure:first-child) { |
|
|
overflow: hidden; |
|
|
border-start-start-radius: inherit; |
|
|
border-start-end-radius: inherit; |
|
|
border-end-start-radius: unset; |
|
|
border-end-end-radius: unset; |
|
|
} |
|
|
:where(figure:last-child) { |
|
|
overflow: hidden; |
|
|
border-start-start-radius: unset; |
|
|
border-start-end-radius: unset; |
|
|
border-end-start-radius: inherit; |
|
|
border-end-end-radius: inherit; |
|
|
} |
|
|
&:where(.card-border) { |
|
|
border: var(--border) solid var(--color-base-200); |
|
|
} |
|
|
&:where(.card-dash) { |
|
|
border: var(--border) dashed var(--color-base-200); |
|
|
} |
|
|
&.image-full { |
|
|
display: grid; |
|
|
&:before { |
|
|
position: relative; |
|
|
grid-column-start: 1; |
|
|
grid-row-start: 1; |
|
|
border-radius: var(--radius-box); |
|
|
background-color: var(--color-neutral); |
|
|
opacity: 75%; |
|
|
content: ""; |
|
|
} |
|
|
> * { |
|
|
grid-column-start: 1; |
|
|
grid-row-start: 1; |
|
|
} |
|
|
> .card-body { |
|
|
position: relative; |
|
|
color: var(--color-neutral-content); |
|
|
} |
|
|
:where(figure) { |
|
|
overflow: hidden; |
|
|
border-radius: inherit; |
|
|
} |
|
|
> figure img { |
|
|
height: 100%; |
|
|
object-fit: cover; |
|
|
} |
|
|
} |
|
|
figure { |
|
|
display: flex; |
|
|
align-items: center; |
|
|
justify-content: center; |
|
|
} |
|
|
&:has(> input:is(input[type="checkbox"], input[type="radio"])) { |
|
|
cursor: pointer; |
|
|
user-select: none; |
|
|
} |
|
|
&:has(> :checked) { |
|
|
outline: 2px solid currentColor; |
|
|
} |
|
|
} |
|
|
.sr-only { |
|
|
position: absolute; |
|
|
width: 1px; |
|
|
height: 1px; |
|
|
padding: 0; |
|
|
margin: -1px; |
|
|
overflow: hidden; |
|
|
clip: rect(0, 0, 0, 0); |
|
|
white-space: nowrap; |
|
|
border-width: 0; |
|
|
} |
|
|
.select { |
|
|
border: var(--border) solid #0000; |
|
|
position: relative; |
|
|
display: inline-flex; |
|
|
flex-shrink: 1; |
|
|
appearance: none; |
|
|
align-items: center; |
|
|
gap: calc(0.25rem * 1.5); |
|
|
background-color: var(--color-base-100); |
|
|
padding-inline-start: calc(0.25rem * 4); |
|
|
padding-inline-end: calc(0.25rem * 7); |
|
|
vertical-align: middle; |
|
|
width: clamp(3rem, 20rem, 100%); |
|
|
height: var(--size); |
|
|
font-size: 0.875rem; |
|
|
border-start-start-radius: var(--join-ss, var(--radius-field)); |
|
|
border-start-end-radius: var(--join-se, var(--radius-field)); |
|
|
border-end-start-radius: var(--join-es, var(--radius-field)); |
|
|
border-end-end-radius: var(--join-ee, var(--radius-field)); |
|
|
background-image: linear-gradient(45deg, #0000 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, #0000 50%); |
|
|
background-position: calc(100% - 20px) calc(1px + 50%), calc(100% - 16.1px) calc(1px + 50%); |
|
|
background-size: 4px 4px, 4px 4px; |
|
|
background-repeat: no-repeat; |
|
|
text-overflow: ellipsis; |
|
|
box-shadow: 0 1px color-mix(in oklab, var(--input-color) calc(var(--depth) * 10%), #0000) inset, 0 -1px oklch(100% 0 0 / calc(var(--depth) * 0.1)) inset; |
|
|
border-color: var(--input-color); |
|
|
--input-color: color-mix(in oklab, var(--color-base-content) 20%, #0000); |
|
|
--size: calc(var(--size-field, 0.25rem) * 10); |
|
|
[dir="rtl"] & { |
|
|
background-position: calc(0% + 12px) calc(1px + 50%), calc(0% + 16px) calc(1px + 50%); |
|
|
} |
|
|
select { |
|
|
margin-inline-start: calc(0.25rem * -4); |
|
|
margin-inline-end: calc(0.25rem * -7); |
|
|
width: calc(100% + 2.75rem); |
|
|
appearance: none; |
|
|
padding-inline-start: calc(0.25rem * 4); |
|
|
padding-inline-end: calc(0.25rem * 7); |
|
|
height: calc(100% - 2px); |
|
|
background: inherit; |
|
|
border-radius: inherit; |
|
|
border-style: none; |
|
|
&:focus, &:focus-within { |
|
|
--tw-outline-style: none; |
|
|
outline-style: none; |
|
|
@media (forced-colors: active) { |
|
|
outline: 2px solid transparent; |
|
|
outline-offset: 2px; |
|
|
} |
|
|
} |
|
|
&:not(:last-child) { |
|
|
margin-inline-end: calc(0.25rem * -5.5); |
|
|
background-image: none; |
|
|
} |
|
|
} |
|
|
&:focus, &:focus-within { |
|
|
--input-color: var(--color-base-content); |
|
|
box-shadow: 0 1px color-mix(in oklab, var(--input-color) calc(var(--depth) * 10%), #0000); |
|
|
outline: 2px solid var(--input-color); |
|
|
outline-offset: 2px; |
|
|
} |
|
|
&:has(> select[disabled]), &:is(:disabled, [disabled]) { |
|
|
cursor: not-allowed; |
|
|
border-color: var(--color-base-200); |
|
|
background-color: var(--color-base-200); |
|
|
color: color-mix(in oklab, var(--color-base-content) 40%, transparent); |
|
|
&::placeholder { |
|
|
color: color-mix(in oklab, var(--color-base-content) 20%, transparent); |
|
|
} |
|
|
} |
|
|
&:has(> select[disabled]) > select[disabled] { |
|
|
cursor: not-allowed; |
|
|
} |
|
|
} |
|
|
.menu-horizontal { |
|
|
display: inline-flex; |
|
|
flex-direction: row; |
|
|
& > li:not(.menu-title) > details > ul { |
|
|
position: absolute; |
|
|
margin-inline-start: calc(0.25rem * 0); |
|
|
margin-top: calc(0.25rem * 4); |
|
|
padding-block: calc(0.25rem * 2); |
|
|
padding-inline-end: calc(0.25rem * 2); |
|
|
} |
|
|
& > li > details > ul { |
|
|
&:before { |
|
|
content: none; |
|
|
} |
|
|
} |
|
|
:where(& > li:not(.menu-title) > details > ul) { |
|
|
border-radius: var(--radius-box); |
|
|
background-color: var(--color-base-100); |
|
|
box-shadow: 0 1px 3px 0 oklch(0% 0 0/0.1), 0 1px 2px -1px oklch(0% 0 0/0.1); |
|
|
} |
|
|
} |
|
|
.checkbox { |
|
|
border: var(--border) solid var(--input-color, color-mix(in oklab, var(--color-base-content) 20%, #0000)); |
|
|
position: relative; |
|
|
flex-shrink: 0; |
|
|
cursor: pointer; |
|
|
appearance: none; |
|
|
border-radius: var(--radius-selector); |
|
|
padding: calc(0.25rem * 1); |
|
|
vertical-align: middle; |
|
|
color: var(--color-base-content); |
|
|
box-shadow: 0 1px oklch(0% 0 0 / calc(var(--depth) * 0.1)) inset, 0 0 #0000 inset, 0 0 #0000; |
|
|
transition: background-color 0.2s, box-shadow 0.2s; |
|
|
--size: calc(var(--size-selector, 0.25rem) * 6); |
|
|
width: var(--size); |
|
|
height: var(--size); |
|
|
background-size: auto, calc(var(--noise) * 100%); |
|
|
background-image: none, var(--fx-noise); |
|
|
&:before { |
|
|
--tw-content: ""; |
|
|
content: var(--tw-content); |
|
|
display: block; |
|
|
width: 100%; |
|
|
height: 100%; |
|
|
rotate: 45deg; |
|
|
background-color: currentColor; |
|
|
opacity: 0%; |
|
|
transition: clip-path 0.3s, opacity 0.1s, rotate 0.3s, translate 0.3s; |
|
|
transition-delay: 0.1s; |
|
|
clip-path: polygon(20% 100%, 20% 80%, 50% 80%, 50% 80%, 70% 80%, 70% 100%); |
|
|
box-shadow: 0px 3px 0 0px oklch(100% 0 0 / calc(var(--depth) * 0.1)) inset; |
|
|
font-size: 1rem; |
|
|
line-height: 0.75; |
|
|
} |
|
|
&:focus-visible { |
|
|
outline: 2px solid var(--input-color, currentColor); |
|
|
outline-offset: 2px; |
|
|
} |
|
|
&:checked, &[aria-checked="true"] { |
|
|
background-color: var(--input-color, #0000); |
|
|
box-shadow: 0 0 #0000 inset, 0 8px 0 -4px oklch(100% 0 0 / calc(var(--depth) * 0.1)) inset, 0 1px oklch(0% 0 0 / calc(var(--depth) * 0.1)); |
|
|
&:before { |
|
|
clip-path: polygon(20% 100%, 20% 80%, 50% 80%, 50% 0%, 70% 0%, 70% 100%); |
|
|
opacity: 100%; |
|
|
} |
|
|
@media (forced-colors: active) { |
|
|
&:before { |
|
|
rotate: 0deg; |
|
|
background-color: transparent; |
|
|
--tw-content: "✔︎"; |
|
|
clip-path: none; |
|
|
} |
|
|
} |
|
|
@media print { |
|
|
&:before { |
|
|
rotate: 0deg; |
|
|
background-color: transparent; |
|
|
--tw-content: "✔︎"; |
|
|
clip-path: none; |
|
|
} |
|
|
} |
|
|
} |
|
|
&:indeterminate { |
|
|
&:before { |
|
|
rotate: 0deg; |
|
|
opacity: 100%; |
|
|
translate: 0 -35%; |
|
|
clip-path: polygon(20% 100%, 20% 80%, 50% 80%, 50% 80%, 80% 80%, 80% 100%); |
|
|
} |
|
|
} |
|
|
&:disabled { |
|
|
cursor: not-allowed; |
|
|
opacity: 20%; |
|
|
} |
|
|
} |
|
|
.radio { |
|
|
position: relative; |
|
|
flex-shrink: 0; |
|
|
cursor: pointer; |
|
|
appearance: none; |
|
|
border-radius: calc(infinity * 1px); |
|
|
padding: calc(0.25rem * 1); |
|
|
vertical-align: middle; |
|
|
border: var(--border) solid var(--input-color, color-mix(in srgb, currentColor 20%, #0000)); |
|
|
box-shadow: 0 1px oklch(0% 0 0 / calc(var(--depth) * 0.1)) inset; |
|
|
--size: calc(var(--size-selector, 0.25rem) * 6); |
|
|
width: var(--size); |
|
|
height: var(--size); |
|
|
color: var(--input-color, currentColor); |
|
|
&:before { |
|
|
display: block; |
|
|
width: 100%; |
|
|
height: 100%; |
|
|
border-radius: calc(infinity * 1px); |
|
|
--tw-content: ""; |
|
|
content: var(--tw-content); |
|
|
background-size: auto, calc(var(--noise) * 100%); |
|
|
background-image: none, var(--fx-noise); |
|
|
} |
|
|
&:focus-visible { |
|
|
outline: 2px solid currentColor; |
|
|
} |
|
|
&:checked, &[aria-checked="true"] { |
|
|
animation: radio 0.2s ease-out; |
|
|
border-color: currentColor; |
|
|
background-color: var(--color-base-100); |
|
|
&:before { |
|
|
background-color: currentColor; |
|
|
box-shadow: 0 -1px oklch(0% 0 0 / calc(var(--depth) * 0.1)) inset, 0 8px 0 -4px oklch(100% 0 0 / calc(var(--depth) * 0.1)) inset, 0 1px oklch(0% 0 0 / calc(var(--depth) * 0.1)); |
|
|
} |
|
|
@media (forced-colors: active) { |
|
|
&:before { |
|
|
outline-style: var(--tw-outline-style); |
|
|
outline-width: 1px; |
|
|
outline-offset: calc(1px * -1); |
|
|
} |
|
|
} |
|
|
@media print { |
|
|
&:before { |
|
|
outline: 0.25rem solid; |
|
|
outline-offset: -1rem; |
|
|
} |
|
|
} |
|
|
} |
|
|
&:disabled { |
|
|
cursor: not-allowed; |
|
|
opacity: 20%; |
|
|
} |
|
|
} |
|
|
.progress { |
|
|
position: relative; |
|
|
height: calc(0.25rem * 2); |
|
|
width: 100%; |
|
|
appearance: none; |
|
|
overflow: hidden; |
|
|
border-radius: var(--radius-box); |
|
|
background-color: color-mix(in oklab, currentColor 20%, transparent); |
|
|
color: var(--color-base-content); |
|
|
&:indeterminate { |
|
|
background-image: repeating-linear-gradient( 90deg, currentColor -1%, currentColor 10%, #0000 10%, #0000 90% ); |
|
|
background-size: 200%; |
|
|
background-position-x: 15%; |
|
|
animation: progress 5s ease-in-out infinite; |
|
|
@supports (-moz-appearance: none) { |
|
|
&::-moz-progress-bar { |
|
|
background-color: transparent; |
|
|
background-image: repeating-linear-gradient( 90deg, currentColor -1%, currentColor 10%, #0000 10%, #0000 90% ); |
|
|
background-size: 200%; |
|
|
background-position-x: 15%; |
|
|
animation: progress 5s ease-in-out infinite; |
|
|
} |
|
|
} |
|
|
} |
|
|
@supports (-moz-appearance: none) { |
|
|
&::-moz-progress-bar { |
|
|
border-radius: var(--radius-box); |
|
|
background-color: currentColor; |
|
|
} |
|
|
} |
|
|
@supports (-webkit-appearance: none) { |
|
|
&::-webkit-progress-bar { |
|
|
border-radius: var(--radius-box); |
|
|
background-color: transparent; |
|
|
} |
|
|
&::-webkit-progress-value { |
|
|
border-radius: var(--radius-box); |
|
|
background-color: currentColor; |
|
|
} |
|
|
} |
|
|
} |
|
|
.absolute { |
|
|
position: absolute; |
|
|
} |
|
|
.fixed { |
|
|
position: fixed; |
|
|
} |
|
|
.relative { |
|
|
position: relative; |
|
|
} |
|
|
.static { |
|
|
position: static; |
|
|
} |
|
|
.inset-0 { |
|
|
inset: calc(var(--spacing) * 0); |
|
|
} |
|
|
.inset-y-0 { |
|
|
inset-block: calc(var(--spacing) * 0); |
|
|
} |
|
|
.right-0 { |
|
|
right: calc(var(--spacing) * 0); |
|
|
} |
|
|
.left-0 { |
|
|
left: calc(var(--spacing) * 0); |
|
|
} |
|
|
.left-\[40rem\] { |
|
|
left: 40rem; |
|
|
} |
|
|
.textarea { |
|
|
border: var(--border) solid #0000; |
|
|
min-height: calc(0.25rem * 20); |
|
|
flex-shrink: 1; |
|
|
appearance: none; |
|
|
border-radius: var(--radius-field); |
|
|
background-color: var(--color-base-100); |
|
|
padding-block: calc(0.25rem * 2); |
|
|
vertical-align: middle; |
|
|
width: clamp(3rem, 20rem, 100%); |
|
|
padding-inline-start: 0.75rem; |
|
|
padding-inline-end: 0.75rem; |
|
|
font-size: 0.875rem; |
|
|
border-color: var(--input-color); |
|
|
box-shadow: 0 1px color-mix(in oklab, var(--input-color) calc(var(--depth) * 10%), #0000) inset, 0 -1px oklch(100% 0 0 / calc(var(--depth) * 0.1)) inset; |
|
|
--input-color: color-mix(in oklab, var(--color-base-content) 20%, #0000); |
|
|
textarea { |
|
|
appearance: none; |
|
|
background-color: transparent; |
|
|
border: none; |
|
|
&:focus, &:focus-within { |
|
|
--tw-outline-style: none; |
|
|
outline-style: none; |
|
|
@media (forced-colors: active) { |
|
|
outline: 2px solid transparent; |
|
|
outline-offset: 2px; |
|
|
} |
|
|
} |
|
|
} |
|
|
&:focus, &:focus-within { |
|
|
--input-color: var(--color-base-content); |
|
|
box-shadow: 0 1px color-mix(in oklab, var(--input-color) calc(var(--depth) * 10%), #0000); |
|
|
outline: 2px solid var(--input-color); |
|
|
outline-offset: 2px; |
|
|
isolation: isolate; |
|
|
} |
|
|
&:has(> textarea[disabled]), &:is(:disabled, [disabled]) { |
|
|
cursor: not-allowed; |
|
|
border-color: var(--color-base-200); |
|
|
background-color: var(--color-base-200); |
|
|
color: color-mix(in oklab, var(--color-base-content) 40%, transparent); |
|
|
&::placeholder { |
|
|
color: color-mix(in oklab, var(--color-base-content) 20%, transparent); |
|
|
} |
|
|
box-shadow: none; |
|
|
} |
|
|
&:has(> textarea[disabled]) > textarea[disabled] { |
|
|
cursor: not-allowed; |
|
|
} |
|
|
} |
|
|
.z-0 { |
|
|
z-index: 0; |
|
|
} |
|
|
.z-10 { |
|
|
z-index: 10; |
|
|
} |
|
|
.z-50 { |
|
|
z-index: 50; |
|
|
} |
|
|
.container { |
|
|
width: 100%; |
|
|
@media (width >= 40rem) { |
|
|
max-width: 40rem; |
|
|
} |
|
|
@media (width >= 48rem) { |
|
|
max-width: 48rem; |
|
|
} |
|
|
@media (width >= 64rem) { |
|
|
max-width: 64rem; |
|
|
} |
|
|
@media (width >= 80rem) { |
|
|
max-width: 80rem; |
|
|
} |
|
|
@media (width >= 96rem) { |
|
|
max-width: 96rem; |
|
|
} |
|
|
} |
|
|
.divider { |
|
|
display: flex; |
|
|
height: calc(0.25rem * 4); |
|
|
flex-direction: row; |
|
|
align-items: center; |
|
|
align-self: stretch; |
|
|
white-space: nowrap; |
|
|
margin: var(--divider-m, 1rem 0); |
|
|
&:before, &:after { |
|
|
content: ""; |
|
|
height: calc(0.25rem * 0.5); |
|
|
width: 100%; |
|
|
flex-grow: 1; |
|
|
background-color: color-mix(in oklab, var(--color-base-content) 10%, transparent); |
|
|
} |
|
|
@media print { |
|
|
&:before, &:after { |
|
|
border: 0.5px solid; |
|
|
} |
|
|
} |
|
|
&:not(:empty) { |
|
|
gap: calc(0.25rem * 4); |
|
|
} |
|
|
} |
|
|
.-mx-2 { |
|
|
margin-inline: calc(var(--spacing) * -2); |
|
|
} |
|
|
.mx-auto { |
|
|
margin-inline: auto; |
|
|
} |
|
|
.-my-0\.5 { |
|
|
margin-block: calc(var(--spacing) * -0.5); |
|
|
} |
|
|
.label { |
|
|
display: inline-flex; |
|
|
align-items: center; |
|
|
gap: calc(0.25rem * 1.5); |
|
|
white-space: nowrap; |
|
|
color: color-mix(in oklab, currentColor 60%, transparent); |
|
|
&:has(input) { |
|
|
cursor: pointer; |
|
|
} |
|
|
&:is(.input > *, .select > *) { |
|
|
display: flex; |
|
|
height: calc(100% - 0.5rem); |
|
|
align-items: center; |
|
|
padding-inline: calc(0.25rem * 3); |
|
|
white-space: nowrap; |
|
|
font-size: inherit; |
|
|
&:first-child { |
|
|
margin-inline-start: calc(0.25rem * -3); |
|
|
margin-inline-end: calc(0.25rem * 3); |
|
|
border-inline-end: var(--border) solid color-mix(in oklab, currentColor 10%, #0000); |
|
|
} |
|
|
&:last-child { |
|
|
margin-inline-start: calc(0.25rem * 3); |
|
|
margin-inline-end: calc(0.25rem * -3); |
|
|
border-inline-start: var(--border) solid color-mix(in oklab, currentColor 10%, #0000); |
|
|
} |
|
|
} |
|
|
} |
|
|
.mt-1\.5 { |
|
|
margin-top: calc(var(--spacing) * 1.5); |
|
|
} |
|
|
.mt-4 { |
|
|
margin-top: calc(var(--spacing) * 4); |
|
|
} |
|
|
.mt-8 { |
|
|
margin-top: calc(var(--spacing) * 8); |
|
|
} |
|
|
.mt-10 { |
|
|
margin-top: calc(var(--spacing) * 10); |
|
|
} |
|
|
.mb-1 { |
|
|
margin-bottom: calc(var(--spacing) * 1); |
|
|
} |
|
|
.mb-2 { |
|
|
margin-bottom: calc(var(--spacing) * 2); |
|
|
} |
|
|
.ml-1 { |
|
|
margin-left: calc(var(--spacing) * 1); |
|
|
} |
|
|
.ml-3 { |
|
|
margin-left: calc(var(--spacing) * 3); |
|
|
} |
|
|
.status { |
|
|
display: inline-block; |
|
|
aspect-ratio: 1 / 1; |
|
|
width: calc(0.25rem * 2); |
|
|
height: calc(0.25rem * 2); |
|
|
border-radius: var(--radius-selector); |
|
|
background-color: color-mix(in oklab, var(--color-base-content) 20%, transparent); |
|
|
background-position: center; |
|
|
background-repeat: no-repeat; |
|
|
vertical-align: middle; |
|
|
color: color-mix(in oklab, var(--color-black) 30%, transparent); |
|
|
background-image: radial-gradient( circle at 35% 30%, oklch(1 0 0 / calc(var(--depth) * 0.5)), #0000 ); |
|
|
box-shadow: 0 2px 3px -1px color-mix(in oklab, currentColor calc(var(--depth) * 100%), #0000); |
|
|
} |
|
|
.badge { |
|
|
display: inline-flex; |
|
|
align-items: center; |
|
|
justify-content: center; |
|
|
gap: calc(0.25rem * 2); |
|
|
border-radius: var(--radius-selector); |
|
|
vertical-align: middle; |
|
|
color: var(--badge-fg); |
|
|
border: var(--border) solid var(--badge-color, var(--color-base-200)); |
|
|
font-size: 0.875rem; |
|
|
width: fit-content; |
|
|
padding-inline: calc(0.25rem * 3 - var(--border)); |
|
|
background-size: auto, calc(var(--noise) * 100%); |
|
|
background-image: none, var(--fx-noise); |
|
|
background-color: var(--badge-bg); |
|
|
--badge-bg: var(--badge-color, var(--color-base-100)); |
|
|
--badge-fg: var(--color-base-content); |
|
|
--size: calc(var(--size-selector, 0.25rem) * 6); |
|
|
height: var(--size); |
|
|
&.badge-outline { |
|
|
--badge-fg: var(--badge-color); |
|
|
--badge-bg: #0000; |
|
|
background-image: none; |
|
|
} |
|
|
&.badge-dash { |
|
|
--badge-fg: var(--badge-color); |
|
|
--badge-bg: #0000; |
|
|
border-style: dashed; |
|
|
background-image: none; |
|
|
} |
|
|
&.badge-soft { |
|
|
color: var(--badge-color, var(--color-base-content)); |
|
|
background-color: color-mix( in oklab, var(--badge-color, var(--color-base-content)) 8%, var(--color-base-100) ); |
|
|
border-color: color-mix( in oklab, var(--badge-color, var(--color-base-content)) 10%, var(--color-base-100) ); |
|
|
background-image: none; |
|
|
} |
|
|
} |
|
|
.hero-arrow-left { |
|
|
--hero-arrow-left: url('data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20fill%3D%22none%22%20viewBox%3D%220%200%2024%2024%22%20stroke-width%3D%221.5%22%20stroke%3D%22currentColor%22%20aria-hidden%3D%22true%22%20data-slot%3D%22icon%22%3E%20%20%3Cpath%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M10.5%2019.5%203%2012m0%200%207.5-7.5M3%2012h18%22%2F%3E%3C%2Fsvg%3E'); |
|
|
-webkit-mask: var(--hero-arrow-left); |
|
|
mask: var(--hero-arrow-left); |
|
|
mask-repeat: no-repeat; |
|
|
background-color: currentColor; |
|
|
vertical-align: middle; |
|
|
display: inline-block; |
|
|
width: 1.5rem; |
|
|
height: 1.5rem; |
|
|
} |
|
|
.hero-arrow-path { |
|
|
--hero-arrow-path: url('data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20fill%3D%22none%22%20viewBox%3D%220%200%2024%2024%22%20stroke-width%3D%221.5%22%20stroke%3D%22currentColor%22%20aria-hidden%3D%22true%22%20data-slot%3D%22icon%22%3E%20%20%3Cpath%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M16.023%209.348h4.992v-.001M2.985%2019.644v-4.992m0%200h4.992m-4.993%200%203.181%203.183a8.25%208.25%200%200%200%2013.803-3.7M4.031%209.865a8.25%208.25%200%200%201%2013.803-3.7l3.181%203.182m0-4.991v4.99%22%2F%3E%3C%2Fsvg%3E'); |
|
|
-webkit-mask: var(--hero-arrow-path); |
|
|
mask: var(--hero-arrow-path); |
|
|
mask-repeat: no-repeat; |
|
|
background-color: currentColor; |
|
|
vertical-align: middle; |
|
|
display: inline-block; |
|
|
width: 1.5rem; |
|
|
height: 1.5rem; |
|
|
} |
|
|
.hero-computer-desktop-micro { |
|
|
--hero-computer-desktop-micro: url('data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22currentColor%22%20aria-hidden%3D%22true%22%20data-slot%3D%22icon%22%3E%20%20%3Cpath%20fill-rule%3D%22evenodd%22%20d%3D%22M2%204.25A2.25%202.25%200%200%201%204.25%202h7.5A2.25%202.25%200%200%201%2014%204.25v5.5A2.25%202.25%200%200%201%2011.75%2012h-1.312c.1.128.21.248.328.36a.75.75%200%200%201%20.234.545v.345a.75.75%200%200%201-.75.75h-4.5a.75.75%200%200%201-.75-.75v-.345a.75.75%200%200%201%20.234-.545c.118-.111.228-.232.328-.36H4.25A2.25%202.25%200%200%201%202%209.75v-5.5Zm2.25-.75a.75.75%200%200%200-.75.75v4.5c0%20.414.336.75.75.75h7.5a.75.75%200%200%200%20.75-.75v-4.5a.75.75%200%200%200-.75-.75h-7.5Z%22%20clip-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E'); |
|
|
-webkit-mask: var(--hero-computer-desktop-micro); |
|
|
mask: var(--hero-computer-desktop-micro); |
|
|
mask-repeat: no-repeat; |
|
|
background-color: currentColor; |
|
|
vertical-align: middle; |
|
|
display: inline-block; |
|
|
width: 1rem; |
|
|
height: 1rem; |
|
|
} |
|
|
.hero-exclamation-circle { |
|
|
--hero-exclamation-circle: url('data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22currentColor%22%20aria-hidden%3D%22true%22%20data-slot%3D%22icon%22%3E%20%20%3Cpath%20fill-rule%3D%22evenodd%22%20d%3D%22M18%2010a8%208%200%201%201-16%200%208%208%200%200%201%2016%200Zm-8-5a.75.75%200%200%201%20.75.75v4.5a.75.75%200%200%201-1.5%200v-4.5A.75.75%200%200%201%2010%205Zm0%2010a1%201%200%201%200%200-2%201%201%200%200%200%200%202Z%22%20clip-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E'); |
|
|
-webkit-mask: var(--hero-exclamation-circle); |
|
|
mask: var(--hero-exclamation-circle); |
|
|
mask-repeat: no-repeat; |
|
|
background-color: currentColor; |
|
|
vertical-align: middle; |
|
|
display: inline-block; |
|
|
width: 1.25rem; |
|
|
height: 1.25rem; |
|
|
} |
|
|
.hero-information-circle { |
|
|
--hero-information-circle: url('data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22currentColor%22%20aria-hidden%3D%22true%22%20data-slot%3D%22icon%22%3E%20%20%3Cpath%20fill-rule%3D%22evenodd%22%20d%3D%22M18%2010a8%208%200%201%201-16%200%208%208%200%200%201%2016%200Zm-7-4a1%201%200%201%201-2%200%201%201%200%200%201%202%200ZM9%209a.75.75%200%200%200%200%201.5h.253a.25.25%200%200%201%20.244.304l-.459%202.066A1.75%201.75%200%200%200%2010.747%2015H11a.75.75%200%200%200%200-1.5h-.253a.25.25%200%200%201-.244-.304l.459-2.066A1.75%201.75%200%200%200%209.253%209H9Z%22%20clip-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E'); |
|
|
-webkit-mask: var(--hero-information-circle); |
|
|
mask: var(--hero-information-circle); |
|
|
mask-repeat: no-repeat; |
|
|
background-color: currentColor; |
|
|
vertical-align: middle; |
|
|
display: inline-block; |
|
|
width: 1.25rem; |
|
|
height: 1.25rem; |
|
|
} |
|
|
.hero-moon-micro { |
|
|
--hero-moon-micro: url('data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22currentColor%22%20aria-hidden%3D%22true%22%20data-slot%3D%22icon%22%3E%20%20%3Cpath%20d%3D%22M14.438%2010.148c.19-.425-.321-.787-.748-.601A5.5%205.5%200%200%201%206.453%202.31c.186-.427-.176-.938-.6-.748a6.501%206.501%200%201%200%208.585%208.586Z%22%2F%3E%3C%2Fsvg%3E'); |
|
|
-webkit-mask: var(--hero-moon-micro); |
|
|
mask: var(--hero-moon-micro); |
|
|
mask-repeat: no-repeat; |
|
|
background-color: currentColor; |
|
|
vertical-align: middle; |
|
|
display: inline-block; |
|
|
width: 1rem; |
|
|
height: 1rem; |
|
|
} |
|
|
.hero-pencil-square { |
|
|
--hero-pencil-square: url('data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20fill%3D%22none%22%20viewBox%3D%220%200%2024%2024%22%20stroke-width%3D%221.5%22%20stroke%3D%22currentColor%22%20aria-hidden%3D%22true%22%20data-slot%3D%22icon%22%3E%20%20%3Cpath%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22m16.862%204.487%201.687-1.688a1.875%201.875%200%201%201%202.652%202.652L10.582%2016.07a4.5%204.5%200%200%201-1.897%201.13L6%2018l.8-2.685a4.5%204.5%200%200%201%201.13-1.897l8.932-8.931Zm0%200L19.5%207.125M18%2014v4.75A2.25%202.25%200%200%201%2015.75%2021H5.25A2.25%202.25%200%200%201%203%2018.75V8.25A2.25%202.25%200%200%201%205.25%206H10%22%2F%3E%3C%2Fsvg%3E'); |
|
|
-webkit-mask: var(--hero-pencil-square); |
|
|
mask: var(--hero-pencil-square); |
|
|
mask-repeat: no-repeat; |
|
|
background-color: currentColor; |
|
|
vertical-align: middle; |
|
|
display: inline-block; |
|
|
width: 1.5rem; |
|
|
height: 1.5rem; |
|
|
} |
|
|
.hero-plus { |
|
|
--hero-plus: url('data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20fill%3D%22none%22%20viewBox%3D%220%200%2024%2024%22%20stroke-width%3D%221.5%22%20stroke%3D%22currentColor%22%20aria-hidden%3D%22true%22%20data-slot%3D%22icon%22%3E%20%20%3Cpath%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M12%204.5v15m7.5-7.5h-15%22%2F%3E%3C%2Fsvg%3E'); |
|
|
-webkit-mask: var(--hero-plus); |
|
|
mask: var(--hero-plus); |
|
|
mask-repeat: no-repeat; |
|
|
background-color: currentColor; |
|
|
vertical-align: middle; |
|
|
display: inline-block; |
|
|
width: 1.5rem; |
|
|
height: 1.5rem; |
|
|
} |
|
|
.hero-sun-micro { |
|
|
--hero-sun-micro: url('data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22currentColor%22%20aria-hidden%3D%22true%22%20data-slot%3D%22icon%22%3E%20%20%3Cpath%20d%3D%22M8%201a.75.75%200%200%201%20.75.75v1.5a.75.75%200%200%201-1.5%200v-1.5A.75.75%200%200%201%208%201ZM10.5%208a2.5%202.5%200%201%201-5%200%202.5%202.5%200%200%201%205%200ZM12.95%204.11a.75.75%200%201%200-1.06-1.06l-1.062%201.06a.75.75%200%200%200%201.061%201.062l1.06-1.061ZM15%208a.75.75%200%200%201-.75.75h-1.5a.75.75%200%200%201%200-1.5h1.5A.75.75%200%200%201%2015%208ZM11.89%2012.95a.75.75%200%200%200%201.06-1.06l-1.06-1.062a.75.75%200%200%200-1.062%201.061l1.061%201.06ZM8%2012a.75.75%200%200%201%20.75.75v1.5a.75.75%200%200%201-1.5%200v-1.5A.75.75%200%200%201%208%2012ZM5.172%2011.89a.75.75%200%200%200-1.061-1.062L3.05%2011.89a.75.75%200%201%200%201.06%201.06l1.06-1.06ZM4%208a.75.75%200%200%201-.75.75h-1.5a.75.75%200%200%201%200-1.5h1.5A.75.75%200%200%201%204%208ZM4.11%205.172A.75.75%200%200%200%205.173%204.11L4.11%203.05a.75.75%200%201%200-1.06%201.06l1.06%201.06Z%22%2F%3E%3C%2Fsvg%3E'); |
|
|
-webkit-mask: var(--hero-sun-micro); |
|
|
mask: var(--hero-sun-micro); |
|
|
mask-repeat: no-repeat; |
|
|
background-color: currentColor; |
|
|
vertical-align: middle; |
|
|
display: inline-block; |
|
|
width: 1rem; |
|
|
height: 1rem; |
|
|
} |
|
|
.hero-x-mark { |
|
|
--hero-x-mark: url('data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22currentColor%22%20aria-hidden%3D%22true%22%20data-slot%3D%22icon%22%3E%20%20%3Cpath%20fill-rule%3D%22evenodd%22%20d%3D%22M5.47%205.47a.75.75%200%200%201%201.06%200L12%2010.94l5.47-5.47a.75.75%200%201%201%201.06%201.06L13.06%2012l5.47%205.47a.75.75%200%201%201-1.06%201.06L12%2013.06l-5.47%205.47a.75.75%200%200%201-1.06-1.06L10.94%2012%205.47%206.53a.75.75%200%200%201%200-1.06Z%22%20clip-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E'); |
|
|
-webkit-mask: var(--hero-x-mark); |
|
|
mask: var(--hero-x-mark); |
|
|
mask-repeat: no-repeat; |
|
|
background-color: currentColor; |
|
|
vertical-align: middle; |
|
|
display: inline-block; |
|
|
width: 1.5rem; |
|
|
height: 1.5rem; |
|
|
} |
|
|
.navbar { |
|
|
display: flex; |
|
|
width: 100%; |
|
|
align-items: center; |
|
|
padding: 0.5rem; |
|
|
min-height: 4rem; |
|
|
} |
|
|
.footer { |
|
|
display: grid; |
|
|
width: 100%; |
|
|
grid-auto-flow: row; |
|
|
place-items: start; |
|
|
column-gap: calc(0.25rem * 4); |
|
|
row-gap: calc(0.25rem * 10); |
|
|
font-size: 0.875rem; |
|
|
line-height: 1.25rem; |
|
|
& > * { |
|
|
display: grid; |
|
|
place-items: start; |
|
|
gap: calc(0.25rem * 2); |
|
|
} |
|
|
&.footer-center { |
|
|
grid-auto-flow: column dense; |
|
|
place-items: center; |
|
|
text-align: center; |
|
|
& > * { |
|
|
place-items: center; |
|
|
} |
|
|
} |
|
|
} |
|
|
.fieldset-label { |
|
|
display: flex; |
|
|
align-items: center; |
|
|
gap: calc(0.25rem * 1.5); |
|
|
color: color-mix(in oklab, var(--color-base-content) 60%, transparent); |
|
|
&:has(input) { |
|
|
cursor: pointer; |
|
|
} |
|
|
} |
|
|
.alert { |
|
|
display: grid; |
|
|
align-items: center; |
|
|
gap: calc(0.25rem * 4); |
|
|
border-radius: var(--radius-box); |
|
|
padding-inline: calc(0.25rem * 4); |
|
|
padding-block: calc(0.25rem * 3); |
|
|
color: var(--color-base-content); |
|
|
background-color: var(--alert-color, var(--color-base-200)); |
|
|
justify-content: start; |
|
|
justify-items: start; |
|
|
grid-auto-flow: column; |
|
|
grid-template-columns: auto; |
|
|
text-align: start; |
|
|
border: var(--border) solid var(--color-base-200); |
|
|
font-size: 0.875rem; |
|
|
line-height: 1.25rem; |
|
|
background-size: auto, calc(var(--noise) * 100%); |
|
|
background-image: none, var(--fx-noise); |
|
|
box-shadow: 0 3px 0 -2px oklch(100% 0 0 / calc(var(--depth) * 0.08)) inset, 0 1px color-mix( in oklab, color-mix(in oklab, #000 20%, var(--alert-color, var(--color-base-200))) calc(var(--depth) * 20%), #0000 ), 0 4px 3px -2px oklch(0% 0 0 / calc(var(--depth) * 0.08)); |
|
|
&:has(:nth-child(2)) { |
|
|
grid-template-columns: auto minmax(auto, 1fr); |
|
|
} |
|
|
&.alert-outline { |
|
|
background-color: transparent; |
|
|
color: var(--alert-color); |
|
|
box-shadow: none; |
|
|
background-image: none; |
|
|
} |
|
|
&.alert-dash { |
|
|
background-color: transparent; |
|
|
color: var(--alert-color); |
|
|
border-style: dashed; |
|
|
box-shadow: none; |
|
|
background-image: none; |
|
|
} |
|
|
&.alert-soft { |
|
|
color: var(--alert-color, var(--color-base-content)); |
|
|
background: color-mix( in oklab, var(--alert-color, var(--color-base-content)) 8%, var(--color-base-100) ); |
|
|
border-color: color-mix( in oklab, var(--alert-color, var(--color-base-content)) 10%, var(--color-base-100) ); |
|
|
box-shadow: none; |
|
|
background-image: none; |
|
|
} |
|
|
} |
|
|
.fieldset { |
|
|
display: grid; |
|
|
gap: calc(0.25rem * 1.5); |
|
|
padding-block: calc(0.25rem * 1); |
|
|
font-size: 0.75rem; |
|
|
grid-template-columns: 1fr; |
|
|
grid-auto-rows: max-content; |
|
|
} |
|
|
.block { |
|
|
display: block; |
|
|
} |
|
|
.contents { |
|
|
display: contents; |
|
|
} |
|
|
.flex { |
|
|
display: flex; |
|
|
} |
|
|
.grid { |
|
|
display: grid; |
|
|
} |
|
|
.hidden { |
|
|
display: none; |
|
|
} |
|
|
.inline-flex { |
|
|
display: inline-flex; |
|
|
} |
|
|
.table { |
|
|
display: table; |
|
|
} |
|
|
.size-3 { |
|
|
width: calc(var(--spacing) * 3); |
|
|
height: calc(var(--spacing) * 3); |
|
|
} |
|
|
.size-4 { |
|
|
width: calc(var(--spacing) * 4); |
|
|
height: calc(var(--spacing) * 4); |
|
|
} |
|
|
.size-5 { |
|
|
width: calc(var(--spacing) * 5); |
|
|
height: calc(var(--spacing) * 5); |
|
|
} |
|
|
.h-3 { |
|
|
height: calc(var(--spacing) * 3); |
|
|
} |
|
|
.h-4 { |
|
|
height: calc(var(--spacing) * 4); |
|
|
} |
|
|
.h-6 { |
|
|
height: calc(var(--spacing) * 6); |
|
|
} |
|
|
.h-12 { |
|
|
height: calc(var(--spacing) * 12); |
|
|
} |
|
|
.h-full { |
|
|
height: 100%; |
|
|
} |
|
|
.w-0 { |
|
|
width: calc(var(--spacing) * 0); |
|
|
} |
|
|
.w-3 { |
|
|
width: calc(var(--spacing) * 3); |
|
|
} |
|
|
.w-4 { |
|
|
width: calc(var(--spacing) * 4); |
|
|
} |
|
|
.w-6 { |
|
|
width: calc(var(--spacing) * 6); |
|
|
} |
|
|
.w-80 { |
|
|
width: calc(var(--spacing) * 80); |
|
|
} |
|
|
.w-\[33\%\] { |
|
|
width: 33%; |
|
|
} |
|
|
.w-full { |
|
|
width: 100%; |
|
|
} |
|
|
.max-w-2xl { |
|
|
max-width: var(--container-2xl); |
|
|
} |
|
|
.max-w-80 { |
|
|
max-width: calc(var(--spacing) * 80); |
|
|
} |
|
|
.max-w-sm { |
|
|
max-width: var(--container-sm); |
|
|
} |
|
|
.max-w-xl { |
|
|
max-width: var(--container-xl); |
|
|
} |
|
|
.flex-1 { |
|
|
flex: 1; |
|
|
} |
|
|
.flex-none { |
|
|
flex: none; |
|
|
} |
|
|
.shrink-0 { |
|
|
flex-shrink: 0; |
|
|
} |
|
|
.translate-y-0 { |
|
|
--tw-translate-y: calc(var(--spacing) * 0); |
|
|
translate: var(--tw-translate-x) var(--tw-translate-y); |
|
|
} |
|
|
.translate-y-4 { |
|
|
--tw-translate-y: calc(var(--spacing) * 4); |
|
|
translate: var(--tw-translate-x) var(--tw-translate-y); |
|
|
} |
|
|
.skeleton { |
|
|
border-radius: var(--radius-box); |
|
|
background-color: var(--color-base-300); |
|
|
@media (prefers-reduced-motion: reduce) { |
|
|
transition-duration: 15s; |
|
|
} |
|
|
will-change: background-position; |
|
|
animation: skeleton 1.8s ease-in-out infinite; |
|
|
background-image: linear-gradient( 105deg, #0000 0% 40%, var(--color-base-100) 50%, #0000 60% 100% ); |
|
|
background-size: 200% auto; |
|
|
background-repeat: no-repeat; |
|
|
background-position-x: -50%; |
|
|
} |
|
|
.link { |
|
|
cursor: pointer; |
|
|
text-decoration-line: underline; |
|
|
&:focus { |
|
|
--tw-outline-style: none; |
|
|
outline-style: none; |
|
|
@media (forced-colors: active) { |
|
|
outline: 2px solid transparent; |
|
|
outline-offset: 2px; |
|
|
} |
|
|
} |
|
|
&:focus-visible { |
|
|
outline: 2px solid currentColor; |
|
|
outline-offset: 2px; |
|
|
} |
|
|
} |
|
|
.cursor-pointer { |
|
|
cursor: pointer; |
|
|
} |
|
|
.grid-cols-1 { |
|
|
grid-template-columns: repeat(1, minmax(0, 1fr)); |
|
|
} |
|
|
.flex-row { |
|
|
flex-direction: row; |
|
|
} |
|
|
.items-center { |
|
|
align-items: center; |
|
|
} |
|
|
.justify-between { |
|
|
justify-content: space-between; |
|
|
} |
|
|
.justify-end { |
|
|
justify-content: flex-end; |
|
|
} |
|
|
.gap-2 { |
|
|
gap: calc(var(--spacing) * 2); |
|
|
} |
|
|
.gap-3 { |
|
|
gap: calc(var(--spacing) * 3); |
|
|
} |
|
|
.gap-4 { |
|
|
gap: calc(var(--spacing) * 4); |
|
|
} |
|
|
.gap-6 { |
|
|
gap: calc(var(--spacing) * 6); |
|
|
} |
|
|
.space-y-4 { |
|
|
:where(& > :not(:last-child)) { |
|
|
--tw-space-y-reverse: 0; |
|
|
margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse)); |
|
|
margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse))); |
|
|
} |
|
|
} |
|
|
.gap-x-6 { |
|
|
column-gap: calc(var(--spacing) * 6); |
|
|
} |
|
|
.space-x-4 { |
|
|
:where(& > :not(:last-child)) { |
|
|
--tw-space-x-reverse: 0; |
|
|
margin-inline-start: calc(calc(var(--spacing) * 4) * var(--tw-space-x-reverse)); |
|
|
margin-inline-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-x-reverse))); |
|
|
} |
|
|
} |
|
|
.gap-y-4 { |
|
|
row-gap: calc(var(--spacing) * 4); |
|
|
} |
|
|
.self-start { |
|
|
align-self: flex-start; |
|
|
} |
|
|
.rounded-box { |
|
|
border-radius: var(--radius-box); |
|
|
} |
|
|
.rounded-box { |
|
|
border-radius: var(--radius-box); |
|
|
} |
|
|
.rounded-full { |
|
|
border-radius: calc(infinity * 1px); |
|
|
} |
|
|
.rounded-lg { |
|
|
border-radius: var(--radius-lg); |
|
|
} |
|
|
.border-1 { |
|
|
border-style: var(--tw-border-style); |
|
|
border-width: 1px; |
|
|
} |
|
|
.border-2 { |
|
|
border-style: var(--tw-border-style); |
|
|
border-width: 2px; |
|
|
} |
|
|
.alert-error { |
|
|
border-color: var(--color-error); |
|
|
color: var(--color-error-content); |
|
|
--alert-color: var(--color-error); |
|
|
} |
|
|
.alert-info { |
|
|
border-color: var(--color-info); |
|
|
color: var(--color-info-content); |
|
|
--alert-color: var(--color-info); |
|
|
} |
|
|
.border-base-200 { |
|
|
border-color: var(--color-base-200); |
|
|
} |
|
|
.border-base-300 { |
|
|
border-color: var(--color-base-300); |
|
|
} |
|
|
.table-zebra { |
|
|
tbody { |
|
|
tr { |
|
|
&:nth-child(even) { |
|
|
background-color: var(--color-base-200); |
|
|
:where(.table-pin-cols tr th) { |
|
|
background-color: var(--color-base-200); |
|
|
} |
|
|
} |
|
|
&.row-hover { |
|
|
&, &:nth-child(even) { |
|
|
&:hover { |
|
|
@media (hover: hover) { |
|
|
background-color: var(--color-base-300); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
.bg-base-100 { |
|
|
background-color: var(--color-base-100); |
|
|
} |
|
|
.bg-base-200 { |
|
|
background-color: var(--color-base-200); |
|
|
} |
|
|
.bg-base-300 { |
|
|
background-color: var(--color-base-300); |
|
|
} |
|
|
.fill-base-content\/40 { |
|
|
fill: color-mix(in oklab, var(--color-base-content) 40%, transparent); |
|
|
} |
|
|
.checkbox-sm { |
|
|
padding: 0.1875rem; |
|
|
--size: calc(var(--size-selector, 0.25rem) * 5); |
|
|
} |
|
|
.p-2 { |
|
|
padding: calc(var(--spacing) * 2); |
|
|
} |
|
|
.badge-sm { |
|
|
--size: calc(var(--size-selector, 0.25rem) * 5); |
|
|
font-size: 0.75rem; |
|
|
padding-inline: calc(0.25rem * 2.5 - var(--border)); |
|
|
} |
|
|
.px-1 { |
|
|
padding-inline: calc(var(--spacing) * 1); |
|
|
} |
|
|
.px-2 { |
|
|
padding-inline: calc(var(--spacing) * 2); |
|
|
} |
|
|
.px-4 { |
|
|
padding-inline: calc(var(--spacing) * 4); |
|
|
} |
|
|
.px-6 { |
|
|
padding-inline: calc(var(--spacing) * 6); |
|
|
} |
|
|
.py-0\.5 { |
|
|
padding-block: calc(var(--spacing) * 0.5); |
|
|
} |
|
|
.py-4 { |
|
|
padding-block: calc(var(--spacing) * 4); |
|
|
} |
|
|
.py-10 { |
|
|
padding-block: calc(var(--spacing) * 10); |
|
|
} |
|
|
.py-20 { |
|
|
padding-block: calc(var(--spacing) * 20); |
|
|
} |
|
|
.pb-4 { |
|
|
padding-bottom: calc(var(--spacing) * 4); |
|
|
} |
|
|
.text-center { |
|
|
text-align: center; |
|
|
} |
|
|
.text-lg { |
|
|
font-size: var(--text-lg); |
|
|
line-height: var(--tw-leading, var(--text-lg--line-height)); |
|
|
} |
|
|
.text-sm { |
|
|
font-size: var(--text-sm); |
|
|
line-height: var(--tw-leading, var(--text-sm--line-height)); |
|
|
} |
|
|
.text-\[2rem\] { |
|
|
font-size: 2rem; |
|
|
} |
|
|
.leading-6 { |
|
|
--tw-leading: calc(var(--spacing) * 6); |
|
|
line-height: calc(var(--spacing) * 6); |
|
|
} |
|
|
.leading-7 { |
|
|
--tw-leading: calc(var(--spacing) * 7); |
|
|
line-height: calc(var(--spacing) * 7); |
|
|
} |
|
|
.leading-8 { |
|
|
--tw-leading: calc(var(--spacing) * 8); |
|
|
line-height: calc(var(--spacing) * 8); |
|
|
} |
|
|
.leading-10 { |
|
|
--tw-leading: calc(var(--spacing) * 10); |
|
|
line-height: calc(var(--spacing) * 10); |
|
|
} |
|
|
.font-bold { |
|
|
--tw-font-weight: var(--font-weight-bold); |
|
|
font-weight: var(--font-weight-bold); |
|
|
} |
|
|
.font-semibold { |
|
|
--tw-font-weight: var(--font-weight-semibold); |
|
|
font-weight: var(--font-weight-semibold); |
|
|
} |
|
|
.tracking-tighter { |
|
|
--tw-tracking: var(--tracking-tighter); |
|
|
letter-spacing: var(--tracking-tighter); |
|
|
} |
|
|
.text-balance { |
|
|
text-wrap: balance; |
|
|
} |
|
|
.text-wrap { |
|
|
text-wrap: wrap; |
|
|
} |
|
|
.text-base-content\/70 { |
|
|
color: color-mix(in oklab, var(--color-base-content) 70%, transparent); |
|
|
} |
|
|
.text-base-content\/80 { |
|
|
color: color-mix(in oklab, var(--color-base-content) 80%, transparent); |
|
|
} |
|
|
.text-error { |
|
|
color: var(--color-error); |
|
|
} |
|
|
.underline { |
|
|
text-decoration-line: underline; |
|
|
} |
|
|
.opacity-0 { |
|
|
opacity: 0%; |
|
|
} |
|
|
.opacity-40 { |
|
|
opacity: 40%; |
|
|
} |
|
|
.opacity-75 { |
|
|
opacity: 75%; |
|
|
} |
|
|
.opacity-100 { |
|
|
opacity: 100%; |
|
|
} |
|
|
.outline { |
|
|
outline-style: var(--tw-outline-style); |
|
|
outline-width: 1px; |
|
|
} |
|
|
.btn-ghost { |
|
|
&:not(.btn-active, :hover, :active:focus, :focus-visible) { |
|
|
--btn-shadow: ""; |
|
|
--btn-bg: #0000; |
|
|
--btn-border: #0000; |
|
|
--btn-noise: none; |
|
|
&:not(:disabled, [disabled], .btn-disabled) { |
|
|
outline-color: currentColor; |
|
|
--btn-fg: currentColor; |
|
|
} |
|
|
} |
|
|
} |
|
|
.brightness-200 { |
|
|
--tw-brightness: brightness(200%); |
|
|
filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,); |
|
|
} |
|
|
.transition { |
|
|
transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter; |
|
|
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function)); |
|
|
transition-duration: var(--tw-duration, var(--default-transition-duration)); |
|
|
} |
|
|
.transition-\[left\] { |
|
|
transition-property: left; |
|
|
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function)); |
|
|
transition-duration: var(--tw-duration, var(--default-transition-duration)); |
|
|
} |
|
|
.transition-all { |
|
|
transition-property: all; |
|
|
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function)); |
|
|
transition-duration: var(--tw-duration, var(--default-transition-duration)); |
|
|
} |
|
|
.duration-200 { |
|
|
--tw-duration: 200ms; |
|
|
transition-duration: 200ms; |
|
|
} |
|
|
.duration-300 { |
|
|
--tw-duration: 300ms; |
|
|
transition-duration: 300ms; |
|
|
} |
|
|
.ease-in { |
|
|
--tw-ease: var(--ease-in); |
|
|
transition-timing-function: var(--ease-in); |
|
|
} |
|
|
.ease-out { |
|
|
--tw-ease: var(--ease-out); |
|
|
transition-timing-function: var(--ease-out); |
|
|
} |
|
|
.btn-soft { |
|
|
&:not(.btn-active, :hover, :active:focus, :focus-visible, :disabled, [disabled], .btn-disabled) { |
|
|
--btn-shadow: ""; |
|
|
--btn-fg: var(--btn-color, var(--color-base-content)); |
|
|
--btn-bg: color-mix( |
|
|
in oklab, |
|
|
var(--btn-color, var(--color-base-content)) 8%, |
|
|
var(--color-base-100) |
|
|
); |
|
|
--btn-border: color-mix( |
|
|
in oklab, |
|
|
var(--btn-color, var(--color-base-content)) 10%, |
|
|
var(--color-base-100) |
|
|
); |
|
|
--btn-noise: none; |
|
|
} |
|
|
} |
|
|
.badge-warning { |
|
|
--badge-color: var(--color-warning); |
|
|
--badge-fg: var(--color-warning-content); |
|
|
} |
|
|
.btn-primary { |
|
|
--btn-color: var(--color-primary); |
|
|
--btn-fg: var(--color-primary-content); |
|
|
} |
|
|
.input-error { |
|
|
&, &:focus, &:focus-within { |
|
|
--input-color: var(--color-error); |
|
|
} |
|
|
} |
|
|
.select-error { |
|
|
&, &:focus, &:focus-within { |
|
|
--input-color: var(--color-error); |
|
|
} |
|
|
} |
|
|
.textarea-error { |
|
|
&, &:focus, &:focus-within { |
|
|
--input-color: var(--color-error); |
|
|
} |
|
|
} |
|
|
.group-hover\:bg-base-300 { |
|
|
&:is(:where(.group):hover *) { |
|
|
@media (hover: hover) { |
|
|
background-color: var(--color-base-300); |
|
|
} |
|
|
} |
|
|
} |
|
|
.group-hover\:fill-base-content { |
|
|
&:is(:where(.group):hover *) { |
|
|
@media (hover: hover) { |
|
|
fill: var(--color-base-content); |
|
|
} |
|
|
} |
|
|
} |
|
|
.group-hover\:opacity-70 { |
|
|
&:is(:where(.group):hover *) { |
|
|
@media (hover: hover) { |
|
|
opacity: 70%; |
|
|
} |
|
|
} |
|
|
} |
|
|
.hover\:cursor-pointer { |
|
|
&:hover { |
|
|
@media (hover: hover) { |
|
|
cursor: pointer; |
|
|
} |
|
|
} |
|
|
} |
|
|
.hover\:bg-base-200 { |
|
|
&:hover { |
|
|
@media (hover: hover) { |
|
|
background-color: var(--color-base-200); |
|
|
} |
|
|
} |
|
|
} |
|
|
.hover\:text-base-content { |
|
|
&:hover { |
|
|
@media (hover: hover) { |
|
|
color: var(--color-base-content); |
|
|
} |
|
|
} |
|
|
} |
|
|
.hover\:underline { |
|
|
&:hover { |
|
|
@media (hover: hover) { |
|
|
text-decoration-line: underline; |
|
|
} |
|
|
} |
|
|
} |
|
|
.hover\:opacity-100 { |
|
|
&:hover { |
|
|
@media (hover: hover) { |
|
|
opacity: 100%; |
|
|
} |
|
|
} |
|
|
} |
|
|
.motion-safe\:animate-spin { |
|
|
@media (prefers-reduced-motion: no-preference) { |
|
|
animation: var(--animate-spin); |
|
|
} |
|
|
} |
|
|
.sm\:w-96 { |
|
|
@media (width >= 40rem) { |
|
|
width: calc(var(--spacing) * 96); |
|
|
} |
|
|
} |
|
|
.sm\:w-auto { |
|
|
@media (width >= 40rem) { |
|
|
width: auto; |
|
|
} |
|
|
} |
|
|
.sm\:max-w-96 { |
|
|
@media (width >= 40rem) { |
|
|
max-width: calc(var(--spacing) * 96); |
|
|
} |
|
|
} |
|
|
.sm\:translate-y-0 { |
|
|
@media (width >= 40rem) { |
|
|
--tw-translate-y: calc(var(--spacing) * 0); |
|
|
translate: var(--tw-translate-x) var(--tw-translate-y); |
|
|
} |
|
|
} |
|
|
.sm\:scale-95 { |
|
|
@media (width >= 40rem) { |
|
|
--tw-scale-x: 95%; |
|
|
--tw-scale-y: 95%; |
|
|
--tw-scale-z: 95%; |
|
|
scale: var(--tw-scale-x) var(--tw-scale-y); |
|
|
} |
|
|
} |
|
|
.sm\:scale-100 { |
|
|
@media (width >= 40rem) { |
|
|
--tw-scale-x: 100%; |
|
|
--tw-scale-y: 100%; |
|
|
--tw-scale-z: 100%; |
|
|
scale: var(--tw-scale-x) var(--tw-scale-y); |
|
|
} |
|
|
} |
|
|
.sm\:grid-cols-2 { |
|
|
@media (width >= 40rem) { |
|
|
grid-template-columns: repeat(2, minmax(0, 1fr)); |
|
|
} |
|
|
} |
|
|
.sm\:grid-cols-3 { |
|
|
@media (width >= 40rem) { |
|
|
grid-template-columns: repeat(3, minmax(0, 1fr)); |
|
|
} |
|
|
} |
|
|
.sm\:flex-col { |
|
|
@media (width >= 40rem) { |
|
|
flex-direction: column; |
|
|
} |
|
|
} |
|
|
.sm\:px-6 { |
|
|
@media (width >= 40rem) { |
|
|
padding-inline: calc(var(--spacing) * 6); |
|
|
} |
|
|
} |
|
|
.sm\:py-6 { |
|
|
@media (width >= 40rem) { |
|
|
padding-block: calc(var(--spacing) * 6); |
|
|
} |
|
|
} |
|
|
.sm\:py-28 { |
|
|
@media (width >= 40rem) { |
|
|
padding-block: calc(var(--spacing) * 28); |
|
|
} |
|
|
} |
|
|
.sm\:group-hover\:scale-105 { |
|
|
@media (width >= 40rem) { |
|
|
&:is(:where(.group):hover *) { |
|
|
@media (hover: hover) { |
|
|
--tw-scale-x: 105%; |
|
|
--tw-scale-y: 105%; |
|
|
--tw-scale-z: 105%; |
|
|
scale: var(--tw-scale-x) var(--tw-scale-y); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
.lg\:mx-0 { |
|
|
@media (width >= 64rem) { |
|
|
margin-inline: calc(var(--spacing) * 0); |
|
|
} |
|
|
} |
|
|
.lg\:block { |
|
|
@media (width >= 64rem) { |
|
|
display: block; |
|
|
} |
|
|
} |
|
|
.lg\:px-8 { |
|
|
@media (width >= 64rem) { |
|
|
padding-inline: calc(var(--spacing) * 8); |
|
|
} |
|
|
} |
|
|
.xl\:left-\[50rem\] { |
|
|
@media (width >= 80rem) { |
|
|
left: 50rem; |
|
|
} |
|
|
} |
|
|
.xl\:px-28 { |
|
|
@media (width >= 80rem) { |
|
|
padding-inline: calc(var(--spacing) * 28); |
|
|
} |
|
|
} |
|
|
.xl\:py-32 { |
|
|
@media (width >= 80rem) { |
|
|
padding-block: calc(var(--spacing) * 32); |
|
|
} |
|
|
} |
|
|
.\[\[data-theme\=dark\]_\&\]\:left-\[66\%\] { |
|
|
[data-theme=dark] & { |
|
|
left: 66%; |
|
|
} |
|
|
} |
|
|
.\[\[data-theme\=light\]_\&\]\:left-\[33\%\] { |
|
|
[data-theme=light] & { |
|
|
left: 33%; |
|
|
} |
|
|
} |
|
|
} |
|
|
[data-phx-session] { |
|
|
display: contents; |
|
|
} |
|
|
@layer base { |
|
|
@property --radialprogress { |
|
|
syntax: "<percentage>"; |
|
|
inherits: true; |
|
|
initial-value: 0%; |
|
|
} |
|
|
} |
|
|
@layer base { |
|
|
:root { |
|
|
scrollbar-color: color-mix(in oklch, currentColor 35%, #0000) #0000; |
|
|
} |
|
|
} |
|
|
@layer base { |
|
|
:root:has( .modal-open, .modal[open], .modal:target, .modal-toggle:checked, .drawer:not([class*="drawer-open"]) > .drawer-toggle:checked ) { |
|
|
overflow: hidden; |
|
|
} |
|
|
} |
|
|
@layer base { |
|
|
:root, [data-theme] { |
|
|
background-color: var(--root-bg, var(--color-base-100)); |
|
|
color: var(--color-base-content); |
|
|
} |
|
|
} |
|
|
@layer base { |
|
|
:root { |
|
|
--fx-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='a'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.34' numOctaves='4' stitchTiles='stitch'%3E%3C/feTurbulence%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23a)' opacity='0.2'%3E%3C/rect%3E%3C/svg%3E"); |
|
|
} |
|
|
.chat { |
|
|
--mask-chat: url("data:image/svg+xml,%3csvg width='13' height='13' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill='black' d='M0 11.5004C0 13.0004 2 13.0004 2 13.0004H12H13V0.00036329L12.5 0C12.5 0 11.977 2.09572 11.8581 2.50033C11.6075 3.35237 10.9149 4.22374 9 5.50036C6 7.50036 0 10.0004 0 11.5004Z'/%3e%3c/svg%3e"); |
|
|
} |
|
|
} |
|
|
@layer base { |
|
|
:where( :root:has( .modal-open, .modal[open], .modal:target, .modal-toggle:checked, .drawer:not(.drawer-open) > .drawer-toggle:checked ) ) { |
|
|
scrollbar-gutter: stable; |
|
|
background-image: linear-gradient(var(--color-base-100), var(--color-base-100)); |
|
|
--root-bg: color-mix(in srgb, var(--color-base-100), oklch(0% 0 0) 40%); |
|
|
} |
|
|
} |
|
|
@keyframes skeleton { |
|
|
0% { |
|
|
background-position: 150%; |
|
|
} |
|
|
100% { |
|
|
background-position: -50%; |
|
|
} |
|
|
} |
|
|
@keyframes progress { |
|
|
50% { |
|
|
background-position-x: -115%; |
|
|
} |
|
|
} |
|
|
@keyframes radio { |
|
|
0% { |
|
|
padding: 5px; |
|
|
} |
|
|
50% { |
|
|
padding: 3px; |
|
|
} |
|
|
} |
|
|
@keyframes dropdown { |
|
|
0% { |
|
|
opacity: 0; |
|
|
} |
|
|
} |
|
|
@keyframes rating { |
|
|
0%, 40% { |
|
|
scale: 1.1; |
|
|
filter: brightness(1.05) contrast(1.05); |
|
|
} |
|
|
} |
|
|
@keyframes toast { |
|
|
0% { |
|
|
scale: 0.9; |
|
|
opacity: 0; |
|
|
} |
|
|
100% { |
|
|
scale: 1; |
|
|
opacity: 1; |
|
|
} |
|
|
} |
|
|
@layer base { |
|
|
@media (prefers-color-scheme: dark) { |
|
|
:root { |
|
|
color-scheme: dark; |
|
|
--color-base-100: oklch(30.33% 0.016 252.42); |
|
|
--color-base-200: oklch(25.26% 0.014 253.1); |
|
|
--color-base-300: oklch(20.15% 0.012 254.09); |
|
|
--color-base-content: oklch(97.807% 0.029 256.847); |
|
|
--color-primary: oklch(58% 0.233 277.117); |
|
|
--color-primary-content: oklch(96% 0.018 272.314); |
|
|
--color-secondary: oklch(58% 0.233 277.117); |
|
|
--color-secondary-content: oklch(96% 0.018 272.314); |
|
|
--color-accent: oklch(60% 0.25 292.717); |
|
|
--color-accent-content: oklch(96% 0.016 293.756); |
|
|
--color-neutral: oklch(37% 0.044 257.287); |
|
|
--color-neutral-content: oklch(98% 0.003 247.858); |
|
|
--color-info: oklch(58% 0.158 241.966); |
|
|
--color-info-content: oklch(97% 0.013 236.62); |
|
|
--color-success: oklch(60% 0.118 184.704); |
|
|
--color-success-content: oklch(98% 0.014 180.72); |
|
|
--color-warning: oklch(66% 0.179 58.318); |
|
|
--color-warning-content: oklch(98% 0.022 95.277); |
|
|
--color-error: oklch(58% 0.253 17.585); |
|
|
--color-error-content: oklch(96% 0.015 12.422); |
|
|
--radius-selector: 0.25rem; |
|
|
--radius-field: 0.25rem; |
|
|
--radius-box: 0.5rem; |
|
|
--size-selector: 0.21875rem; |
|
|
--size-field: 0.21875rem; |
|
|
--border: 1.5px; |
|
|
--depth: 1; |
|
|
--noise: 0; |
|
|
} |
|
|
} |
|
|
} |
|
|
@layer base { |
|
|
:root:has(input.theme-controller[value=dark]:checked),[data-theme="dark"] { |
|
|
color-scheme: dark; |
|
|
--color-base-100: oklch(30.33% 0.016 252.42); |
|
|
--color-base-200: oklch(25.26% 0.014 253.1); |
|
|
--color-base-300: oklch(20.15% 0.012 254.09); |
|
|
--color-base-content: oklch(97.807% 0.029 256.847); |
|
|
--color-primary: oklch(58% 0.233 277.117); |
|
|
--color-primary-content: oklch(96% 0.018 272.314); |
|
|
--color-secondary: oklch(58% 0.233 277.117); |
|
|
--color-secondary-content: oklch(96% 0.018 272.314); |
|
|
--color-accent: oklch(60% 0.25 292.717); |
|
|
--color-accent-content: oklch(96% 0.016 293.756); |
|
|
--color-neutral: oklch(37% 0.044 257.287); |
|
|
--color-neutral-content: oklch(98% 0.003 247.858); |
|
|
--color-info: oklch(58% 0.158 241.966); |
|
|
--color-info-content: oklch(97% 0.013 236.62); |
|
|
--color-success: oklch(60% 0.118 184.704); |
|
|
--color-success-content: oklch(98% 0.014 180.72); |
|
|
--color-warning: oklch(66% 0.179 58.318); |
|
|
--color-warning-content: oklch(98% 0.022 95.277); |
|
|
--color-error: oklch(58% 0.253 17.585); |
|
|
--color-error-content: oklch(96% 0.015 12.422); |
|
|
--radius-selector: 0.25rem; |
|
|
--radius-field: 0.25rem; |
|
|
--radius-box: 0.5rem; |
|
|
--size-selector: 0.21875rem; |
|
|
--size-field: 0.21875rem; |
|
|
--border: 1.5px; |
|
|
--depth: 1; |
|
|
--noise: 0; |
|
|
} |
|
|
} |
|
|
@layer base { |
|
|
:where(:root),:root:has(input.theme-controller[value=light]:checked),[data-theme="light"] { |
|
|
color-scheme: light; |
|
|
--color-base-100: oklch(98% 0 0); |
|
|
--color-base-200: oklch(96% 0.001 286.375); |
|
|
--color-base-300: oklch(92% 0.004 286.32); |
|
|
--color-base-content: oklch(21% 0.006 285.885); |
|
|
--color-primary: oklch(70% 0.213 47.604); |
|
|
--color-primary-content: oklch(98% 0.016 73.684); |
|
|
--color-secondary: oklch(55% 0.027 264.364); |
|
|
--color-secondary-content: oklch(98% 0.002 247.839); |
|
|
--color-accent: oklch(0% 0 0); |
|
|
--color-accent-content: oklch(100% 0 0); |
|
|
--color-neutral: oklch(44% 0.017 285.786); |
|
|
--color-neutral-content: oklch(98% 0 0); |
|
|
--color-info: oklch(62% 0.214 259.815); |
|
|
--color-info-content: oklch(97% 0.014 254.604); |
|
|
--color-success: oklch(70% 0.14 182.503); |
|
|
--color-success-content: oklch(98% 0.014 180.72); |
|
|
--color-warning: oklch(66% 0.179 58.318); |
|
|
--color-warning-content: oklch(98% 0.022 95.277); |
|
|
--color-error: oklch(58% 0.253 17.585); |
|
|
--color-error-content: oklch(96% 0.015 12.422); |
|
|
--radius-selector: 0.25rem; |
|
|
--radius-field: 0.25rem; |
|
|
--radius-box: 0.5rem; |
|
|
--size-selector: 0.21875rem; |
|
|
--size-field: 0.21875rem; |
|
|
--border: 1.5px; |
|
|
--depth: 1; |
|
|
--noise: 0; |
|
|
} |
|
|
} |
|
|
@property --tw-translate-x { |
|
|
syntax: "*"; |
|
|
inherits: false; |
|
|
initial-value: 0; |
|
|
} |
|
|
@property --tw-translate-y { |
|
|
syntax: "*"; |
|
|
inherits: false; |
|
|
initial-value: 0; |
|
|
} |
|
|
@property --tw-translate-z { |
|
|
syntax: "*"; |
|
|
inherits: false; |
|
|
initial-value: 0; |
|
|
} |
|
|
@property --tw-space-y-reverse { |
|
|
syntax: "*"; |
|
|
inherits: false; |
|
|
initial-value: 0; |
|
|
} |
|
|
@property --tw-space-x-reverse { |
|
|
syntax: "*"; |
|
|
inherits: false; |
|
|
initial-value: 0; |
|
|
} |
|
|
@property --tw-border-style { |
|
|
syntax: "*"; |
|
|
inherits: false; |
|
|
initial-value: solid; |
|
|
} |
|
|
@property --tw-leading { |
|
|
syntax: "*"; |
|
|
inherits: false; |
|
|
} |
|
|
@property --tw-font-weight { |
|
|
syntax: "*"; |
|
|
inherits: false; |
|
|
} |
|
|
@property --tw-tracking { |
|
|
syntax: "*"; |
|
|
inherits: false; |
|
|
} |
|
|
@property --tw-outline-style { |
|
|
syntax: "*"; |
|
|
inherits: false; |
|
|
initial-value: solid; |
|
|
} |
|
|
@property --tw-blur { |
|
|
syntax: "*"; |
|
|
inherits: false; |
|
|
} |
|
|
@property --tw-brightness { |
|
|
syntax: "*"; |
|
|
inherits: false; |
|
|
} |
|
|
@property --tw-contrast { |
|
|
syntax: "*"; |
|
|
inherits: false; |
|
|
} |
|
|
@property --tw-grayscale { |
|
|
syntax: "*"; |
|
|
inherits: false; |
|
|
} |
|
|
@property --tw-hue-rotate { |
|
|
syntax: "*"; |
|
|
inherits: false; |
|
|
} |
|
|
@property --tw-invert { |
|
|
syntax: "*"; |
|
|
inherits: false; |
|
|
} |
|
|
@property --tw-opacity { |
|
|
syntax: "*"; |
|
|
inherits: false; |
|
|
} |
|
|
@property --tw-saturate { |
|
|
syntax: "*"; |
|
|
inherits: false; |
|
|
} |
|
|
@property --tw-sepia { |
|
|
syntax: "*"; |
|
|
inherits: false; |
|
|
} |
|
|
@property --tw-drop-shadow { |
|
|
syntax: "*"; |
|
|
inherits: false; |
|
|
} |
|
|
@property --tw-duration { |
|
|
syntax: "*"; |
|
|
inherits: false; |
|
|
} |
|
|
@property --tw-ease { |
|
|
syntax: "*"; |
|
|
inherits: false; |
|
|
} |
|
|
@property --tw-scale-x { |
|
|
syntax: "*"; |
|
|
inherits: false; |
|
|
initial-value: 1; |
|
|
} |
|
|
@property --tw-scale-y { |
|
|
syntax: "*"; |
|
|
inherits: false; |
|
|
initial-value: 1; |
|
|
} |
|
|
@property --tw-scale-z { |
|
|
syntax: "*"; |
|
|
inherits: false; |
|
|
initial-value: 1; |
|
|
} |
|
|
@keyframes spin { |
|
|
to { |
|
|
transform: rotate(360deg); |
|
|
} |
|
|
} |
|
|
|
|
|
|