/** * Skipped minification because the original files appears to be already minified. * Original file: /npm/daisyui@5.5.5/daisyui.css * * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files */ /*! 🌼 daisyUI 5.5.4 - MIT License */ @layer base { :root, :root:has(input.theme-controller[value="light"]:checked), [data-theme="light"] { color-scheme: light; --color-base-100: oklch(100% 0 0); --color-base-200: oklch(98% 0 0); --color-base-300: oklch(95% 0 0); --color-base-content: oklch(21% 0.006 285.885); --color-primary: oklch(45% 0.24 277.023); --color-primary-content: oklch(93% 0.034 272.788); --color-secondary: oklch(65% 0.241 354.308); --color-secondary-content: oklch(94% 0.028 342.258); --color-accent: oklch(77% 0.152 181.912); --color-accent-content: oklch(38% 0.063 188.416); --color-neutral: oklch(14% 0.005 285.823); --color-neutral-content: oklch(92% 0.004 286.32); --color-info: oklch(74% 0.16 232.661); --color-info-content: oklch(29% 0.066 243.157); --color-success: oklch(76% 0.177 163.223); --color-success-content: oklch(37% 0.077 168.94); --color-warning: oklch(82% 0.189 84.429); --color-warning-content: oklch(41% 0.112 45.904); --color-error: oklch(71% 0.194 13.428); --color-error-content: oklch(27% 0.105 12.094); --radius-selector: 0.5rem; --radius-field: 0.25rem; --radius-box: 0.5rem; --size-selector: 0.25rem; --size-field: 0.25rem; --border: 1px; --depth: 1; --noise: 0; } :root:has(input.theme-controller[value="dark"]:checked), [data-theme="dark"] { color-scheme: dark; --color-base-100: oklch(25.33% 0.016 252.42); --color-base-200: oklch(23.26% 0.014 253.1); --color-base-300: oklch(21.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(65% 0.241 354.308); --color-secondary-content: oklch(94% 0.028 342.258); --color-accent: oklch(77% 0.152 181.912); --color-accent-content: oklch(38% 0.063 188.416); --color-neutral: oklch(14% 0.005 285.823); --color-neutral-content: oklch(92% 0.004 286.32); --color-info: oklch(74% 0.16 232.661); --color-info-content: oklch(29% 0.066 243.157); --color-success: oklch(76% 0.177 163.223); --color-success-content: oklch(37% 0.077 168.94); --color-warning: oklch(82% 0.189 84.429); --color-warning-content: oklch(41% 0.112 45.904); --color-error: oklch(71% 0.194 13.428); --color-error-content: oklch(27% 0.105 12.094); --radius-selector: 0.5rem; --radius-field: 0.25rem; --radius-box: 0.5rem; --size-selector: 0.25rem; --size-field: 0.25rem; --border: 1px; --depth: 1; --noise: 0; } :root { --page-scroll-bg-on: linear-gradient(var(--root-bg), var(--root-bg)) color-mix( in srgb, var(--root-bg), oklch(0% 0 0) calc(var(--page-has-backdrop, 0) * 40%) ); --page-scroll-transition-on: background-color 0.3s ease-out; transition: var(--page-scroll-transition); scrollbar-gutter: var(--page-scroll-gutter, unset); scrollbar-gutter: if( style(--page-has-scroll: 1): var(--page-scroll-gutter, unset) ; else: unset ); } :root:root { background: var(--page-scroll-bg, var(--root-bg, var(--color-base-100))); } @keyframes set-page-has-scroll { 0%, to { --page-has-scroll: 1; } } :root { scrollbar-color: color-mix(in oklch, currentColor 35%, #0000) #0000; } :root, [data-theme] { background-color: var(--root-bg, var(--color-base-100)); color: var(--color-base-content); } :where(:root, [data-theme]) { --root-bg: var(--color-base-100); } :root:not(span) { overflow: var(--page-overflow); } *, :after, ::backdrop, :before, ::file-selector-button { box-sizing: border-box; border: 0 solid; margin: 0; padding: 0; } :host, html { line-height: 1.5; 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" ); -webkit-tap-highlight-color: #0000; } body { line-height: inherit; } hr { height: 0; color: inherit; border-top-width: 1px; } h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; } a { color: inherit; -webkit-text-decoration: inherit; text-decoration: inherit; } table { text-indent: 0; border-color: inherit; border-collapse: collapse; } ::file-selector-button, button, input, optgroup, select, textarea { font: inherit; font-feature-settings: inherit; font-variation-settings: inherit; letter-spacing: inherit; color: inherit; background: 0 0; } input:where(:not([type="button"], [type="reset"], [type="submit"])), select, textarea { border-width: 1px; } ::file-selector-button, button, input:where([type="button"], [type="reset"], [type="submit"]) { appearance: button; } :-moz-focusring { outline: auto; } :-moz-ui-invalid { box-shadow: none; } ::-webkit-search-decoration { -webkit-appearance: none; } menu, ol, ul { list-style: none; } textarea { resize: vertical; } ::placeholder { opacity: 1; color: color-mix(in oklch, currentColor 50%, #0000); } audio, canvas, embed, iframe, img, object, svg, video { vertical-align: middle; display: block; } img, video { max-width: 100%; height: auto; } :root { --fx-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='a'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.34' numOctaves='4' stitchTiles='stitch'%3E%3C/feTurbulence%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23a)' opacity='0.2'%3E%3C/rect%3E%3C/svg%3E"); } @property --radialprogress { syntax: ""; inherits: true; initial-value: 0%; } } @layer utilities { .input { @layer daisyui.l1.l2.l3 { & { cursor: text; border: var(--border) solid #0000; appearance: none; background-color: var(--color-base-100); vertical-align: middle; white-space: nowrap; width: clamp(3rem, 20rem, 100%); height: var(--size); font-size: max(var(--font-size, 0.875rem), 0.875rem); touch-action: manipulation; 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 ); border-start-start-radius: var(--join-ss, var(--radius-field)); border-start-end-radius: var(--join-se, var(--radius-field)); border-end-end-radius: var(--join-ee, var(--radius-field)); border-end-start-radius: var(--join-es, var(--radius-field)); flex-shrink: 1; align-items: center; gap: 0.5rem; padding-inline: 0.75rem; display: inline-flex; position: relative; } &:where(input) { display: inline-flex; } & :where(input) { appearance: none; background-color: #0000; border: none; width: 100%; height: 100%; display: inline-flex; &:focus, &:focus-within { --tw-outline-style: none; outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } } & :where(input[type="url"]), & :where(input[type="email"]) { direction: ltr; } & :where(input[type="date"]) { display: inline-flex; } &: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; z-index: 1; } @media (pointer: coarse) { @supports (-webkit-touch-callout: none) { &:focus, &:focus-within { --font-size: 1rem; } } } &:has(> input[disabled]), &:is(:disabled, [disabled]), fieldset: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); box-shadow: none; &::placeholder { color: color-mix( in oklab, var(--color-base-content) 20%, transparent ); } } &:has(> input[disabled]) > input[disabled] { cursor: not-allowed; } &::-webkit-date-and-time-value { text-align: inherit; } &[type="number"] { &::-webkit-inner-spin-button { margin-block: -0.75rem; margin-inline-end: -0.75rem; } } &::-webkit-calendar-picker-indicator { position: absolute; inset-inline-end: 0.75em; } &:has(> input[type="date"]) { & :where(input[type="date"]) { -webkit-appearance: none; appearance: none; display: inline-flex; } & input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; width: 1em; height: 1em; position: absolute; inset-inline-end: 0.75em; } } } } .input-ghost { @layer daisyui.l1.l2 { & { box-shadow: none; background-color: #0000; border-color: #0000; } &:focus, &:focus-within { background-color: var(--color-base-100); color: var(--color-base-content); box-shadow: none; border-color: #0000; } } } .input-neutral { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-neutral); } } } .input-primary { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-primary); } } } .input-secondary { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-secondary); } } } .input-accent { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-accent); } } } .input-info { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-info); } } } .input-success { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-success); } } } .input-warning { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-warning); } } } .input-error { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-error); } } } .input-xs { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 6); font-size: max(var(--font-size, 0.6875rem), 0.6875rem); } &[type="number"] { &::-webkit-inner-spin-button { margin-block: -0.25rem; margin-inline-end: -0.75rem; } } } } .input-sm { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 8); font-size: max(var(--font-size, 0.75rem), 0.75rem); } &[type="number"] { &::-webkit-inner-spin-button { margin-block: -0.5rem; margin-inline-end: -0.75rem; } } } } .input-md { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 10); font-size: max(var(--font-size, 0.875rem), 0.875rem); } &[type="number"] { &::-webkit-inner-spin-button { margin-block: -0.75rem; margin-inline-end: -0.75rem; } } } } .input-lg { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 12); font-size: max(var(--font-size, 1.125rem), 1.125rem); } &[type="number"] { &::-webkit-inner-spin-button { margin-block: -0.75rem; margin-inline-end: -0.75rem; } } } } .input-xl { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 14); font-size: max(var(--font-size, 1.375rem), 1.375rem); } &[type="number"] { &::-webkit-inner-spin-button { margin-block: -1rem; margin-inline-end: -0.75rem; } } } } @media (width>=640px) { .sm\:input { @layer daisyui.l1.l2.l3 { & { cursor: text; border: var(--border) solid #0000; appearance: none; background-color: var(--color-base-100); vertical-align: middle; white-space: nowrap; width: clamp(3rem, 20rem, 100%); height: var(--size); font-size: max(var(--font-size, 0.875rem), 0.875rem); touch-action: manipulation; 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 ); border-start-start-radius: var(--join-ss, var(--radius-field)); border-start-end-radius: var(--join-se, var(--radius-field)); border-end-end-radius: var(--join-ee, var(--radius-field)); border-end-start-radius: var(--join-es, var(--radius-field)); flex-shrink: 1; align-items: center; gap: 0.5rem; padding-inline: 0.75rem; display: inline-flex; position: relative; } &:where(input) { display: inline-flex; } & :where(input) { appearance: none; background-color: #0000; border: none; width: 100%; height: 100%; display: inline-flex; &:focus, &:focus-within { --tw-outline-style: none; outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } } & :where(input[type="url"]), & :where(input[type="email"]) { direction: ltr; } & :where(input[type="date"]) { display: inline-flex; } &: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; z-index: 1; } @media (pointer: coarse) { @supports (-webkit-touch-callout: none) { &:focus, &:focus-within { --font-size: 1rem; } } } &:has(> input[disabled]), &:is(:disabled, [disabled]), fieldset: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 ); box-shadow: none; &::placeholder { color: color-mix( in oklab, var(--color-base-content) 20%, transparent ); } } &:has(> input[disabled]) > input[disabled] { cursor: not-allowed; } &::-webkit-date-and-time-value { text-align: inherit; } &[type="number"] { &::-webkit-inner-spin-button { margin-block: -0.75rem; margin-inline-end: -0.75rem; } } &::-webkit-calendar-picker-indicator { position: absolute; inset-inline-end: 0.75em; } &:has(> input[type="date"]) { & :where(input[type="date"]) { -webkit-appearance: none; appearance: none; display: inline-flex; } & input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; width: 1em; height: 1em; position: absolute; inset-inline-end: 0.75em; } } } } .sm\:input-ghost { @layer daisyui.l1.l2 { & { box-shadow: none; background-color: #0000; border-color: #0000; } &:focus, &:focus-within { background-color: var(--color-base-100); color: var(--color-base-content); box-shadow: none; border-color: #0000; } } } .sm\:input-neutral { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-neutral); } } } .sm\:input-primary { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-primary); } } } .sm\:input-secondary { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-secondary); } } } .sm\:input-accent { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-accent); } } } .sm\:input-info { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-info); } } } .sm\:input-success { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-success); } } } .sm\:input-warning { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-warning); } } } .sm\:input-error { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-error); } } } .sm\:input-xs { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 6); font-size: max(var(--font-size, 0.6875rem), 0.6875rem); } &[type="number"] { &::-webkit-inner-spin-button { margin-block: -0.25rem; margin-inline-end: -0.75rem; } } } } .sm\:input-sm { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 8); font-size: max(var(--font-size, 0.75rem), 0.75rem); } &[type="number"] { &::-webkit-inner-spin-button { margin-block: -0.5rem; margin-inline-end: -0.75rem; } } } } .sm\:input-md { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 10); font-size: max(var(--font-size, 0.875rem), 0.875rem); } &[type="number"] { &::-webkit-inner-spin-button { margin-block: -0.75rem; margin-inline-end: -0.75rem; } } } } .sm\:input-lg { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 12); font-size: max(var(--font-size, 1.125rem), 1.125rem); } &[type="number"] { &::-webkit-inner-spin-button { margin-block: -0.75rem; margin-inline-end: -0.75rem; } } } } .sm\:input-xl { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 14); font-size: max(var(--font-size, 1.375rem), 1.375rem); } &[type="number"] { &::-webkit-inner-spin-button { margin-block: -1rem; margin-inline-end: -0.75rem; } } } } } @media (width>=768px) { .md\:input { @layer daisyui.l1.l2.l3 { & { cursor: text; border: var(--border) solid #0000; appearance: none; background-color: var(--color-base-100); vertical-align: middle; white-space: nowrap; width: clamp(3rem, 20rem, 100%); height: var(--size); font-size: max(var(--font-size, 0.875rem), 0.875rem); touch-action: manipulation; 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 ); border-start-start-radius: var(--join-ss, var(--radius-field)); border-start-end-radius: var(--join-se, var(--radius-field)); border-end-end-radius: var(--join-ee, var(--radius-field)); border-end-start-radius: var(--join-es, var(--radius-field)); flex-shrink: 1; align-items: center; gap: 0.5rem; padding-inline: 0.75rem; display: inline-flex; position: relative; } &:where(input) { display: inline-flex; } & :where(input) { appearance: none; background-color: #0000; border: none; width: 100%; height: 100%; display: inline-flex; &:focus, &:focus-within { --tw-outline-style: none; outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } } & :where(input[type="url"]), & :where(input[type="email"]) { direction: ltr; } & :where(input[type="date"]) { display: inline-flex; } &: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; z-index: 1; } @media (pointer: coarse) { @supports (-webkit-touch-callout: none) { &:focus, &:focus-within { --font-size: 1rem; } } } &:has(> input[disabled]), &:is(:disabled, [disabled]), fieldset: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 ); box-shadow: none; &::placeholder { color: color-mix( in oklab, var(--color-base-content) 20%, transparent ); } } &:has(> input[disabled]) > input[disabled] { cursor: not-allowed; } &::-webkit-date-and-time-value { text-align: inherit; } &[type="number"] { &::-webkit-inner-spin-button { margin-block: -0.75rem; margin-inline-end: -0.75rem; } } &::-webkit-calendar-picker-indicator { position: absolute; inset-inline-end: 0.75em; } &:has(> input[type="date"]) { & :where(input[type="date"]) { -webkit-appearance: none; appearance: none; display: inline-flex; } & input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; width: 1em; height: 1em; position: absolute; inset-inline-end: 0.75em; } } } } .md\:input-ghost { @layer daisyui.l1.l2 { & { box-shadow: none; background-color: #0000; border-color: #0000; } &:focus, &:focus-within { background-color: var(--color-base-100); color: var(--color-base-content); box-shadow: none; border-color: #0000; } } } .md\:input-neutral { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-neutral); } } } .md\:input-primary { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-primary); } } } .md\:input-secondary { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-secondary); } } } .md\:input-accent { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-accent); } } } .md\:input-info { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-info); } } } .md\:input-success { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-success); } } } .md\:input-warning { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-warning); } } } .md\:input-error { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-error); } } } .md\:input-xs { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 6); font-size: max(var(--font-size, 0.6875rem), 0.6875rem); } &[type="number"] { &::-webkit-inner-spin-button { margin-block: -0.25rem; margin-inline-end: -0.75rem; } } } } .md\:input-sm { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 8); font-size: max(var(--font-size, 0.75rem), 0.75rem); } &[type="number"] { &::-webkit-inner-spin-button { margin-block: -0.5rem; margin-inline-end: -0.75rem; } } } } .md\:input-md { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 10); font-size: max(var(--font-size, 0.875rem), 0.875rem); } &[type="number"] { &::-webkit-inner-spin-button { margin-block: -0.75rem; margin-inline-end: -0.75rem; } } } } .md\:input-lg { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 12); font-size: max(var(--font-size, 1.125rem), 1.125rem); } &[type="number"] { &::-webkit-inner-spin-button { margin-block: -0.75rem; margin-inline-end: -0.75rem; } } } } .md\:input-xl { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 14); font-size: max(var(--font-size, 1.375rem), 1.375rem); } &[type="number"] { &::-webkit-inner-spin-button { margin-block: -1rem; margin-inline-end: -0.75rem; } } } } } @media (width>=1024px) { .lg\:input { @layer daisyui.l1.l2.l3 { & { cursor: text; border: var(--border) solid #0000; appearance: none; background-color: var(--color-base-100); vertical-align: middle; white-space: nowrap; width: clamp(3rem, 20rem, 100%); height: var(--size); font-size: max(var(--font-size, 0.875rem), 0.875rem); touch-action: manipulation; 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 ); border-start-start-radius: var(--join-ss, var(--radius-field)); border-start-end-radius: var(--join-se, var(--radius-field)); border-end-end-radius: var(--join-ee, var(--radius-field)); border-end-start-radius: var(--join-es, var(--radius-field)); flex-shrink: 1; align-items: center; gap: 0.5rem; padding-inline: 0.75rem; display: inline-flex; position: relative; } &:where(input) { display: inline-flex; } & :where(input) { appearance: none; background-color: #0000; border: none; width: 100%; height: 100%; display: inline-flex; &:focus, &:focus-within { --tw-outline-style: none; outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } } & :where(input[type="url"]), & :where(input[type="email"]) { direction: ltr; } & :where(input[type="date"]) { display: inline-flex; } &: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; z-index: 1; } @media (pointer: coarse) { @supports (-webkit-touch-callout: none) { &:focus, &:focus-within { --font-size: 1rem; } } } &:has(> input[disabled]), &:is(:disabled, [disabled]), fieldset: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 ); box-shadow: none; &::placeholder { color: color-mix( in oklab, var(--color-base-content) 20%, transparent ); } } &:has(> input[disabled]) > input[disabled] { cursor: not-allowed; } &::-webkit-date-and-time-value { text-align: inherit; } &[type="number"] { &::-webkit-inner-spin-button { margin-block: -0.75rem; margin-inline-end: -0.75rem; } } &::-webkit-calendar-picker-indicator { position: absolute; inset-inline-end: 0.75em; } &:has(> input[type="date"]) { & :where(input[type="date"]) { -webkit-appearance: none; appearance: none; display: inline-flex; } & input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; width: 1em; height: 1em; position: absolute; inset-inline-end: 0.75em; } } } } .lg\:input-ghost { @layer daisyui.l1.l2 { & { box-shadow: none; background-color: #0000; border-color: #0000; } &:focus, &:focus-within { background-color: var(--color-base-100); color: var(--color-base-content); box-shadow: none; border-color: #0000; } } } .lg\:input-neutral { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-neutral); } } } .lg\:input-primary { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-primary); } } } .lg\:input-secondary { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-secondary); } } } .lg\:input-accent { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-accent); } } } .lg\:input-info { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-info); } } } .lg\:input-success { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-success); } } } .lg\:input-warning { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-warning); } } } .lg\:input-error { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-error); } } } .lg\:input-xs { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 6); font-size: max(var(--font-size, 0.6875rem), 0.6875rem); } &[type="number"] { &::-webkit-inner-spin-button { margin-block: -0.25rem; margin-inline-end: -0.75rem; } } } } .lg\:input-sm { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 8); font-size: max(var(--font-size, 0.75rem), 0.75rem); } &[type="number"] { &::-webkit-inner-spin-button { margin-block: -0.5rem; margin-inline-end: -0.75rem; } } } } .lg\:input-md { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 10); font-size: max(var(--font-size, 0.875rem), 0.875rem); } &[type="number"] { &::-webkit-inner-spin-button { margin-block: -0.75rem; margin-inline-end: -0.75rem; } } } } .lg\:input-lg { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 12); font-size: max(var(--font-size, 1.125rem), 1.125rem); } &[type="number"] { &::-webkit-inner-spin-button { margin-block: -0.75rem; margin-inline-end: -0.75rem; } } } } .lg\:input-xl { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 14); font-size: max(var(--font-size, 1.375rem), 1.375rem); } &[type="number"] { &::-webkit-inner-spin-button { margin-block: -1rem; margin-inline-end: -0.75rem; } } } } } @media (width>=1280px) { .xl\:input { @layer daisyui.l1.l2.l3 { & { cursor: text; border: var(--border) solid #0000; appearance: none; background-color: var(--color-base-100); vertical-align: middle; white-space: nowrap; width: clamp(3rem, 20rem, 100%); height: var(--size); font-size: max(var(--font-size, 0.875rem), 0.875rem); touch-action: manipulation; 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 ); border-start-start-radius: var(--join-ss, var(--radius-field)); border-start-end-radius: var(--join-se, var(--radius-field)); border-end-end-radius: var(--join-ee, var(--radius-field)); border-end-start-radius: var(--join-es, var(--radius-field)); flex-shrink: 1; align-items: center; gap: 0.5rem; padding-inline: 0.75rem; display: inline-flex; position: relative; } &:where(input) { display: inline-flex; } & :where(input) { appearance: none; background-color: #0000; border: none; width: 100%; height: 100%; display: inline-flex; &:focus, &:focus-within { --tw-outline-style: none; outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } } & :where(input[type="url"]), & :where(input[type="email"]) { direction: ltr; } & :where(input[type="date"]) { display: inline-flex; } &: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; z-index: 1; } @media (pointer: coarse) { @supports (-webkit-touch-callout: none) { &:focus, &:focus-within { --font-size: 1rem; } } } &:has(> input[disabled]), &:is(:disabled, [disabled]), fieldset: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 ); box-shadow: none; &::placeholder { color: color-mix( in oklab, var(--color-base-content) 20%, transparent ); } } &:has(> input[disabled]) > input[disabled] { cursor: not-allowed; } &::-webkit-date-and-time-value { text-align: inherit; } &[type="number"] { &::-webkit-inner-spin-button { margin-block: -0.75rem; margin-inline-end: -0.75rem; } } &::-webkit-calendar-picker-indicator { position: absolute; inset-inline-end: 0.75em; } &:has(> input[type="date"]) { & :where(input[type="date"]) { -webkit-appearance: none; appearance: none; display: inline-flex; } & input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; width: 1em; height: 1em; position: absolute; inset-inline-end: 0.75em; } } } } .xl\:input-ghost { @layer daisyui.l1.l2 { & { box-shadow: none; background-color: #0000; border-color: #0000; } &:focus, &:focus-within { background-color: var(--color-base-100); color: var(--color-base-content); box-shadow: none; border-color: #0000; } } } .xl\:input-neutral { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-neutral); } } } .xl\:input-primary { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-primary); } } } .xl\:input-secondary { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-secondary); } } } .xl\:input-accent { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-accent); } } } .xl\:input-info { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-info); } } } .xl\:input-success { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-success); } } } .xl\:input-warning { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-warning); } } } .xl\:input-error { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-error); } } } .xl\:input-xs { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 6); font-size: max(var(--font-size, 0.6875rem), 0.6875rem); } &[type="number"] { &::-webkit-inner-spin-button { margin-block: -0.25rem; margin-inline-end: -0.75rem; } } } } .xl\:input-sm { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 8); font-size: max(var(--font-size, 0.75rem), 0.75rem); } &[type="number"] { &::-webkit-inner-spin-button { margin-block: -0.5rem; margin-inline-end: -0.75rem; } } } } .xl\:input-md { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 10); font-size: max(var(--font-size, 0.875rem), 0.875rem); } &[type="number"] { &::-webkit-inner-spin-button { margin-block: -0.75rem; margin-inline-end: -0.75rem; } } } } .xl\:input-lg { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 12); font-size: max(var(--font-size, 1.125rem), 1.125rem); } &[type="number"] { &::-webkit-inner-spin-button { margin-block: -0.75rem; margin-inline-end: -0.75rem; } } } } .xl\:input-xl { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 14); font-size: max(var(--font-size, 1.375rem), 1.375rem); } &[type="number"] { &::-webkit-inner-spin-button { margin-block: -1rem; margin-inline-end: -0.75rem; } } } } } @media (width>=1536px) { .\32 xl\:input { @layer daisyui.l1.l2.l3 { & { cursor: text; border: var(--border) solid #0000; appearance: none; background-color: var(--color-base-100); vertical-align: middle; white-space: nowrap; width: clamp(3rem, 20rem, 100%); height: var(--size); font-size: max(var(--font-size, 0.875rem), 0.875rem); touch-action: manipulation; 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 ); border-start-start-radius: var(--join-ss, var(--radius-field)); border-start-end-radius: var(--join-se, var(--radius-field)); border-end-end-radius: var(--join-ee, var(--radius-field)); border-end-start-radius: var(--join-es, var(--radius-field)); flex-shrink: 1; align-items: center; gap: 0.5rem; padding-inline: 0.75rem; display: inline-flex; position: relative; } &:where(input) { display: inline-flex; } & :where(input) { appearance: none; background-color: #0000; border: none; width: 100%; height: 100%; display: inline-flex; &:focus, &:focus-within { --tw-outline-style: none; outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } } & :where(input[type="url"]), & :where(input[type="email"]) { direction: ltr; } & :where(input[type="date"]) { display: inline-flex; } &: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; z-index: 1; } @media (pointer: coarse) { @supports (-webkit-touch-callout: none) { &:focus, &:focus-within { --font-size: 1rem; } } } &:has(> input[disabled]), &:is(:disabled, [disabled]), fieldset: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 ); box-shadow: none; &::placeholder { color: color-mix( in oklab, var(--color-base-content) 20%, transparent ); } } &:has(> input[disabled]) > input[disabled] { cursor: not-allowed; } &::-webkit-date-and-time-value { text-align: inherit; } &[type="number"] { &::-webkit-inner-spin-button { margin-block: -0.75rem; margin-inline-end: -0.75rem; } } &::-webkit-calendar-picker-indicator { position: absolute; inset-inline-end: 0.75em; } &:has(> input[type="date"]) { & :where(input[type="date"]) { -webkit-appearance: none; appearance: none; display: inline-flex; } & input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; width: 1em; height: 1em; position: absolute; inset-inline-end: 0.75em; } } } } .\32 xl\:input-ghost { @layer daisyui.l1.l2 { & { box-shadow: none; background-color: #0000; border-color: #0000; } &:focus, &:focus-within { background-color: var(--color-base-100); color: var(--color-base-content); box-shadow: none; border-color: #0000; } } } .\32 xl\:input-neutral { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-neutral); } } } .\32 xl\:input-primary { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-primary); } } } .\32 xl\:input-secondary { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-secondary); } } } .\32 xl\:input-accent { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-accent); } } } .\32 xl\:input-info { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-info); } } } .\32 xl\:input-success { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-success); } } } .\32 xl\:input-warning { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-warning); } } } .\32 xl\:input-error { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-error); } } } .\32 xl\:input-xs { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 6); font-size: max(var(--font-size, 0.6875rem), 0.6875rem); } &[type="number"] { &::-webkit-inner-spin-button { margin-block: -0.25rem; margin-inline-end: -0.75rem; } } } } .\32 xl\:input-sm { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 8); font-size: max(var(--font-size, 0.75rem), 0.75rem); } &[type="number"] { &::-webkit-inner-spin-button { margin-block: -0.5rem; margin-inline-end: -0.75rem; } } } } .\32 xl\:input-md { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 10); font-size: max(var(--font-size, 0.875rem), 0.875rem); } &[type="number"] { &::-webkit-inner-spin-button { margin-block: -0.75rem; margin-inline-end: -0.75rem; } } } } .\32 xl\:input-lg { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 12); font-size: max(var(--font-size, 1.125rem), 1.125rem); } &[type="number"] { &::-webkit-inner-spin-button { margin-block: -0.75rem; margin-inline-end: -0.75rem; } } } } .\32 xl\:input-xl { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 14); font-size: max(var(--font-size, 1.375rem), 1.375rem); } &[type="number"] { &::-webkit-inner-spin-button { margin-block: -1rem; margin-inline-end: -0.75rem; } } } } } .timeline { @layer daisyui.l1.l2.l3 { & { display: flex; position: relative; } & > li { grid-template-rows: var(--timeline-row-start, minmax(0, 1fr)) auto var( --timeline-row-end, minmax(0, 1fr) ); grid-template-columns: var(--timeline-col-start, minmax(0, 1fr)) auto var(--timeline-col-end, minmax(0, 1fr)); flex-shrink: 0; align-items: center; display: grid; position: relative; & > hr { border: none; width: 100%; &:first-child { grid-row-start: 2; grid-column-start: 1; } &:last-child { grid-area: 2/3 / auto/none; } @media print { & { border: 0.1px solid var(--color-base-300); } } } } & :where(hr) { background-color: var(--color-base-300); height: 0.25rem; } &:has(.timeline-middle hr) { &:first-child { border-start-start-radius: 0; border-start-end-radius: var(--radius-selector); border-end-end-radius: var(--radius-selector); border-end-start-radius: 0; } &:last-child { border-start-start-radius: var(--radius-selector); border-start-end-radius: 0; border-end-end-radius: 0; border-end-start-radius: var(--radius-selector); } } &:not(:has(.timeline-middle)) { & :first-child hr:last-child { border-start-start-radius: var(--radius-selector); border-start-end-radius: 0; border-end-end-radius: 0; border-end-start-radius: var(--radius-selector); } & :last-child hr:first-child { border-start-start-radius: 0; border-start-end-radius: var(--radius-selector); border-end-end-radius: var(--radius-selector); border-end-start-radius: 0; } } } } .timeline-box { @layer daisyui.l1.l2.l3 { & { border: var(--border) solid; border-radius: var(--radius-box); border-color: var(--color-base-300); background-color: var(--color-base-100); padding-block: 0.5rem; padding-inline: 1rem; font-size: 0.75rem; box-shadow: 0 1px 2px oklch(0% 0 0/0.05); } } } .timeline-start { @layer daisyui.l1.l2.l3 { & { grid-area: 1/1/2/4; place-self: flex-end center; margin: 0.25rem; } } } .timeline-middle { @layer daisyui.l1.l2.l3 { & { grid-row-start: 2; grid-column-start: 2; } } } .timeline-end { @layer daisyui.l1.l2.l3 { & { grid-area: 3/1/4/4; place-self: flex-start center; margin: 0.25rem; } } } .timeline-compact { @layer daisyui.l1.l2 { & { --timeline-row-start: 0; } & .timeline-start { grid-area: 3/1/4/4; place-self: flex-start center; } & li:has(.timeline-start) { & .timeline-end { grid-row-start: auto; grid-column-start: none; } } &.timeline-vertical { & > li { --timeline-col-start: 0; } & .timeline-start { grid-area: 1/3/4/4; place-self: center flex-start; } & li:has(.timeline-start) { & .timeline-end { grid-row-start: none; grid-column-start: auto; } } } } } .timeline-snap-icon { @layer daisyui.l1.l2 { & > li { --timeline-col-start: 0.5rem; --timeline-row-start: minmax(0, 1fr); } } } .timeline-vertical { @layer daisyui.l1.l2 { & { flex-direction: column; } & > li { --timeline-row-start: minmax(0, 1fr); --timeline-row-end: minmax(0, 1fr); justify-items: center; & > hr { width: 0.25rem; height: 100%; &:first-child { grid-row-start: 1; grid-column-start: 2; } &:last-child { grid-area: 3/2 / none; } } } & .timeline-start { grid-area: 1/1/4/2; place-self: center flex-end; } & .timeline-end { grid-area: 1/3/4/4; place-self: center flex-start; } &:has(.timeline-middle) { & > li { & > hr { &:first-child { border-top-left-radius: 0; border-top-right-radius: 0; border-bottom-right-radius: var(--radius-selector); border-bottom-left-radius: var(--radius-selector); } &:last-child { border-top-left-radius: var(--radius-selector); border-top-right-radius: var(--radius-selector); border-bottom-right-radius: 0; border-bottom-left-radius: 0; } } } } &:not(:has(.timeline-middle)) { & :first-child { & > hr:last-child { border-top-left-radius: var(--radius-selector); border-top-right-radius: var(--radius-selector); border-bottom-right-radius: 0; border-bottom-left-radius: 0; } } & :last-child { & > hr:first-child { border-top-left-radius: 0; border-top-right-radius: 0; border-bottom-right-radius: var(--radius-selector); border-bottom-left-radius: var(--radius-selector); } } } &.timeline-snap-icon { & > li { --timeline-col-start: minmax(0, 1fr); --timeline-row-start: 0.5rem; } } } } .timeline-horizontal { @layer daisyui.l1.l2 { & { flex-direction: row; } & > li { align-items: center; & > hr { width: 100%; height: 0.25rem; &:first-child { grid-row-start: 2; grid-column-start: 1; } &:last-child { grid-area: 2/3 / auto/none; } } } & .timeline-start { grid-area: 1/1/2/4; place-self: flex-end center; } & .timeline-end { grid-area: 3/1/4/4; place-self: flex-start center; } &:has(.timeline-middle) { & > li { & > hr { &:first-child { border-start-start-radius: 0; border-start-end-radius: var(--radius-selector); border-end-end-radius: var(--radius-selector); border-end-start-radius: 0; } &:last-child { border-start-start-radius: var(--radius-selector); border-start-end-radius: 0; border-end-end-radius: 0; border-end-start-radius: var(--radius-selector); } } } } &:not(:has(.timeline-middle)) { & :first-child { & > hr:last-child { border-start-start-radius: var(--radius-selector); border-start-end-radius: 0; border-end-end-radius: 0; border-end-start-radius: var(--radius-selector); } } & :last-child { & > hr:first-child { border-start-start-radius: 0; border-start-end-radius: var(--radius-selector); border-end-end-radius: var(--radius-selector); border-end-start-radius: 0; } } } } } @media (width>=640px) { .sm\:timeline { @layer daisyui.l1.l2.l3 { & { display: flex; position: relative; } & > li { grid-template-rows: var(--timeline-row-start, minmax(0, 1fr)) auto var(--timeline-row-end, minmax(0, 1fr)); grid-template-columns: var(--timeline-col-start, minmax(0, 1fr)) auto var(--timeline-col-end, minmax(0, 1fr)); flex-shrink: 0; align-items: center; display: grid; position: relative; & > hr { border: none; width: 100%; &:first-child { grid-row-start: 2; grid-column-start: 1; } &:last-child { grid-area: 2/3 / auto/none; } @media print { & { border: 0.1px solid var(--color-base-300); } } } } & :where(hr) { background-color: var(--color-base-300); height: 0.25rem; } &:has(.timeline-middle hr) { &:first-child { border-start-start-radius: 0; border-start-end-radius: var(--radius-selector); border-end-end-radius: var(--radius-selector); border-end-start-radius: 0; } &:last-child { border-start-start-radius: var(--radius-selector); border-start-end-radius: 0; border-end-end-radius: 0; border-end-start-radius: var(--radius-selector); } } &:not(:has(.timeline-middle)) { & :first-child hr:last-child { border-start-start-radius: var(--radius-selector); border-start-end-radius: 0; border-end-end-radius: 0; border-end-start-radius: var(--radius-selector); } & :last-child hr:first-child { border-start-start-radius: 0; border-start-end-radius: var(--radius-selector); border-end-end-radius: var(--radius-selector); border-end-start-radius: 0; } } } } .sm\:timeline-box { @layer daisyui.l1.l2.l3 { & { border: var(--border) solid; border-radius: var(--radius-box); border-color: var(--color-base-300); background-color: var(--color-base-100); padding-block: 0.5rem; padding-inline: 1rem; font-size: 0.75rem; box-shadow: 0 1px 2px oklch(0% 0 0/0.05); } } } .sm\:timeline-start { @layer daisyui.l1.l2.l3 { & { grid-area: 1/1/2/4; place-self: flex-end center; margin: 0.25rem; } } } .sm\:timeline-middle { @layer daisyui.l1.l2.l3 { & { grid-row-start: 2; grid-column-start: 2; } } } .sm\:timeline-end { @layer daisyui.l1.l2.l3 { & { grid-area: 3/1/4/4; place-self: flex-start center; margin: 0.25rem; } } } .sm\:timeline-compact { @layer daisyui.l1.l2 { & { --timeline-row-start: 0; } & .timeline-start { grid-area: 3/1/4/4; place-self: flex-start center; } & li:has(.timeline-start) { & .timeline-end { grid-row-start: auto; grid-column-start: none; } } &.timeline-vertical { & > li { --timeline-col-start: 0; } & .timeline-start { grid-area: 1/3/4/4; place-self: center flex-start; } & li:has(.timeline-start) { & .timeline-end { grid-row-start: none; grid-column-start: auto; } } } } } .sm\:timeline-snap-icon { @layer daisyui.l1.l2 { & > li { --timeline-col-start: 0.5rem; --timeline-row-start: minmax(0, 1fr); } } } .sm\:timeline-vertical { @layer daisyui.l1.l2 { & { flex-direction: column; } & > li { --timeline-row-start: minmax(0, 1fr); --timeline-row-end: minmax(0, 1fr); justify-items: center; & > hr { width: 0.25rem; height: 100%; &:first-child { grid-row-start: 1; grid-column-start: 2; } &:last-child { grid-area: 3/2 / none; } } } & .timeline-start { grid-area: 1/1/4/2; place-self: center flex-end; } & .timeline-end { grid-area: 1/3/4/4; place-self: center flex-start; } &:has(.timeline-middle) { & > li { & > hr { &:first-child { border-top-left-radius: 0; border-top-right-radius: 0; border-bottom-right-radius: var(--radius-selector); border-bottom-left-radius: var(--radius-selector); } &:last-child { border-top-left-radius: var(--radius-selector); border-top-right-radius: var(--radius-selector); border-bottom-right-radius: 0; border-bottom-left-radius: 0; } } } } &:not(:has(.timeline-middle)) { & :first-child { & > hr:last-child { border-top-left-radius: var(--radius-selector); border-top-right-radius: var(--radius-selector); border-bottom-right-radius: 0; border-bottom-left-radius: 0; } } & :last-child { & > hr:first-child { border-top-left-radius: 0; border-top-right-radius: 0; border-bottom-right-radius: var(--radius-selector); border-bottom-left-radius: var(--radius-selector); } } } &.timeline-snap-icon { & > li { --timeline-col-start: minmax(0, 1fr); --timeline-row-start: 0.5rem; } } } } .sm\:timeline-horizontal { @layer daisyui.l1.l2 { & { flex-direction: row; } & > li { align-items: center; & > hr { width: 100%; height: 0.25rem; &:first-child { grid-row-start: 2; grid-column-start: 1; } &:last-child { grid-area: 2/3 / auto/none; } } } & .timeline-start { grid-area: 1/1/2/4; place-self: flex-end center; } & .timeline-end { grid-area: 3/1/4/4; place-self: flex-start center; } &:has(.timeline-middle) { & > li { & > hr { &:first-child { border-start-start-radius: 0; border-start-end-radius: var(--radius-selector); border-end-end-radius: var(--radius-selector); border-end-start-radius: 0; } &:last-child { border-start-start-radius: var(--radius-selector); border-start-end-radius: 0; border-end-end-radius: 0; border-end-start-radius: var(--radius-selector); } } } } &:not(:has(.timeline-middle)) { & :first-child { & > hr:last-child { border-start-start-radius: var(--radius-selector); border-start-end-radius: 0; border-end-end-radius: 0; border-end-start-radius: var(--radius-selector); } } & :last-child { & > hr:first-child { border-start-start-radius: 0; border-start-end-radius: var(--radius-selector); border-end-end-radius: var(--radius-selector); border-end-start-radius: 0; } } } } } } @media (width>=768px) { .md\:timeline { @layer daisyui.l1.l2.l3 { & { display: flex; position: relative; } & > li { grid-template-rows: var(--timeline-row-start, minmax(0, 1fr)) auto var(--timeline-row-end, minmax(0, 1fr)); grid-template-columns: var(--timeline-col-start, minmax(0, 1fr)) auto var(--timeline-col-end, minmax(0, 1fr)); flex-shrink: 0; align-items: center; display: grid; position: relative; & > hr { border: none; width: 100%; &:first-child { grid-row-start: 2; grid-column-start: 1; } &:last-child { grid-area: 2/3 / auto/none; } @media print { & { border: 0.1px solid var(--color-base-300); } } } } & :where(hr) { background-color: var(--color-base-300); height: 0.25rem; } &:has(.timeline-middle hr) { &:first-child { border-start-start-radius: 0; border-start-end-radius: var(--radius-selector); border-end-end-radius: var(--radius-selector); border-end-start-radius: 0; } &:last-child { border-start-start-radius: var(--radius-selector); border-start-end-radius: 0; border-end-end-radius: 0; border-end-start-radius: var(--radius-selector); } } &:not(:has(.timeline-middle)) { & :first-child hr:last-child { border-start-start-radius: var(--radius-selector); border-start-end-radius: 0; border-end-end-radius: 0; border-end-start-radius: var(--radius-selector); } & :last-child hr:first-child { border-start-start-radius: 0; border-start-end-radius: var(--radius-selector); border-end-end-radius: var(--radius-selector); border-end-start-radius: 0; } } } } .md\:timeline-box { @layer daisyui.l1.l2.l3 { & { border: var(--border) solid; border-radius: var(--radius-box); border-color: var(--color-base-300); background-color: var(--color-base-100); padding-block: 0.5rem; padding-inline: 1rem; font-size: 0.75rem; box-shadow: 0 1px 2px oklch(0% 0 0/0.05); } } } .md\:timeline-start { @layer daisyui.l1.l2.l3 { & { grid-area: 1/1/2/4; place-self: flex-end center; margin: 0.25rem; } } } .md\:timeline-middle { @layer daisyui.l1.l2.l3 { & { grid-row-start: 2; grid-column-start: 2; } } } .md\:timeline-end { @layer daisyui.l1.l2.l3 { & { grid-area: 3/1/4/4; place-self: flex-start center; margin: 0.25rem; } } } .md\:timeline-compact { @layer daisyui.l1.l2 { & { --timeline-row-start: 0; } & .timeline-start { grid-area: 3/1/4/4; place-self: flex-start center; } & li:has(.timeline-start) { & .timeline-end { grid-row-start: auto; grid-column-start: none; } } &.timeline-vertical { & > li { --timeline-col-start: 0; } & .timeline-start { grid-area: 1/3/4/4; place-self: center flex-start; } & li:has(.timeline-start) { & .timeline-end { grid-row-start: none; grid-column-start: auto; } } } } } .md\:timeline-snap-icon { @layer daisyui.l1.l2 { & > li { --timeline-col-start: 0.5rem; --timeline-row-start: minmax(0, 1fr); } } } .md\:timeline-vertical { @layer daisyui.l1.l2 { & { flex-direction: column; } & > li { --timeline-row-start: minmax(0, 1fr); --timeline-row-end: minmax(0, 1fr); justify-items: center; & > hr { width: 0.25rem; height: 100%; &:first-child { grid-row-start: 1; grid-column-start: 2; } &:last-child { grid-area: 3/2 / none; } } } & .timeline-start { grid-area: 1/1/4/2; place-self: center flex-end; } & .timeline-end { grid-area: 1/3/4/4; place-self: center flex-start; } &:has(.timeline-middle) { & > li { & > hr { &:first-child { border-top-left-radius: 0; border-top-right-radius: 0; border-bottom-right-radius: var(--radius-selector); border-bottom-left-radius: var(--radius-selector); } &:last-child { border-top-left-radius: var(--radius-selector); border-top-right-radius: var(--radius-selector); border-bottom-right-radius: 0; border-bottom-left-radius: 0; } } } } &:not(:has(.timeline-middle)) { & :first-child { & > hr:last-child { border-top-left-radius: var(--radius-selector); border-top-right-radius: var(--radius-selector); border-bottom-right-radius: 0; border-bottom-left-radius: 0; } } & :last-child { & > hr:first-child { border-top-left-radius: 0; border-top-right-radius: 0; border-bottom-right-radius: var(--radius-selector); border-bottom-left-radius: var(--radius-selector); } } } &.timeline-snap-icon { & > li { --timeline-col-start: minmax(0, 1fr); --timeline-row-start: 0.5rem; } } } } .md\:timeline-horizontal { @layer daisyui.l1.l2 { & { flex-direction: row; } & > li { align-items: center; & > hr { width: 100%; height: 0.25rem; &:first-child { grid-row-start: 2; grid-column-start: 1; } &:last-child { grid-area: 2/3 / auto/none; } } } & .timeline-start { grid-area: 1/1/2/4; place-self: flex-end center; } & .timeline-end { grid-area: 3/1/4/4; place-self: flex-start center; } &:has(.timeline-middle) { & > li { & > hr { &:first-child { border-start-start-radius: 0; border-start-end-radius: var(--radius-selector); border-end-end-radius: var(--radius-selector); border-end-start-radius: 0; } &:last-child { border-start-start-radius: var(--radius-selector); border-start-end-radius: 0; border-end-end-radius: 0; border-end-start-radius: var(--radius-selector); } } } } &:not(:has(.timeline-middle)) { & :first-child { & > hr:last-child { border-start-start-radius: var(--radius-selector); border-start-end-radius: 0; border-end-end-radius: 0; border-end-start-radius: var(--radius-selector); } } & :last-child { & > hr:first-child { border-start-start-radius: 0; border-start-end-radius: var(--radius-selector); border-end-end-radius: var(--radius-selector); border-end-start-radius: 0; } } } } } } @media (width>=1024px) { .lg\:timeline { @layer daisyui.l1.l2.l3 { & { display: flex; position: relative; } & > li { grid-template-rows: var(--timeline-row-start, minmax(0, 1fr)) auto var(--timeline-row-end, minmax(0, 1fr)); grid-template-columns: var(--timeline-col-start, minmax(0, 1fr)) auto var(--timeline-col-end, minmax(0, 1fr)); flex-shrink: 0; align-items: center; display: grid; position: relative; & > hr { border: none; width: 100%; &:first-child { grid-row-start: 2; grid-column-start: 1; } &:last-child { grid-area: 2/3 / auto/none; } @media print { & { border: 0.1px solid var(--color-base-300); } } } } & :where(hr) { background-color: var(--color-base-300); height: 0.25rem; } &:has(.timeline-middle hr) { &:first-child { border-start-start-radius: 0; border-start-end-radius: var(--radius-selector); border-end-end-radius: var(--radius-selector); border-end-start-radius: 0; } &:last-child { border-start-start-radius: var(--radius-selector); border-start-end-radius: 0; border-end-end-radius: 0; border-end-start-radius: var(--radius-selector); } } &:not(:has(.timeline-middle)) { & :first-child hr:last-child { border-start-start-radius: var(--radius-selector); border-start-end-radius: 0; border-end-end-radius: 0; border-end-start-radius: var(--radius-selector); } & :last-child hr:first-child { border-start-start-radius: 0; border-start-end-radius: var(--radius-selector); border-end-end-radius: var(--radius-selector); border-end-start-radius: 0; } } } } .lg\:timeline-box { @layer daisyui.l1.l2.l3 { & { border: var(--border) solid; border-radius: var(--radius-box); border-color: var(--color-base-300); background-color: var(--color-base-100); padding-block: 0.5rem; padding-inline: 1rem; font-size: 0.75rem; box-shadow: 0 1px 2px oklch(0% 0 0/0.05); } } } .lg\:timeline-start { @layer daisyui.l1.l2.l3 { & { grid-area: 1/1/2/4; place-self: flex-end center; margin: 0.25rem; } } } .lg\:timeline-middle { @layer daisyui.l1.l2.l3 { & { grid-row-start: 2; grid-column-start: 2; } } } .lg\:timeline-end { @layer daisyui.l1.l2.l3 { & { grid-area: 3/1/4/4; place-self: flex-start center; margin: 0.25rem; } } } .lg\:timeline-compact { @layer daisyui.l1.l2 { & { --timeline-row-start: 0; } & .timeline-start { grid-area: 3/1/4/4; place-self: flex-start center; } & li:has(.timeline-start) { & .timeline-end { grid-row-start: auto; grid-column-start: none; } } &.timeline-vertical { & > li { --timeline-col-start: 0; } & .timeline-start { grid-area: 1/3/4/4; place-self: center flex-start; } & li:has(.timeline-start) { & .timeline-end { grid-row-start: none; grid-column-start: auto; } } } } } .lg\:timeline-snap-icon { @layer daisyui.l1.l2 { & > li { --timeline-col-start: 0.5rem; --timeline-row-start: minmax(0, 1fr); } } } .lg\:timeline-vertical { @layer daisyui.l1.l2 { & { flex-direction: column; } & > li { --timeline-row-start: minmax(0, 1fr); --timeline-row-end: minmax(0, 1fr); justify-items: center; & > hr { width: 0.25rem; height: 100%; &:first-child { grid-row-start: 1; grid-column-start: 2; } &:last-child { grid-area: 3/2 / none; } } } & .timeline-start { grid-area: 1/1/4/2; place-self: center flex-end; } & .timeline-end { grid-area: 1/3/4/4; place-self: center flex-start; } &:has(.timeline-middle) { & > li { & > hr { &:first-child { border-top-left-radius: 0; border-top-right-radius: 0; border-bottom-right-radius: var(--radius-selector); border-bottom-left-radius: var(--radius-selector); } &:last-child { border-top-left-radius: var(--radius-selector); border-top-right-radius: var(--radius-selector); border-bottom-right-radius: 0; border-bottom-left-radius: 0; } } } } &:not(:has(.timeline-middle)) { & :first-child { & > hr:last-child { border-top-left-radius: var(--radius-selector); border-top-right-radius: var(--radius-selector); border-bottom-right-radius: 0; border-bottom-left-radius: 0; } } & :last-child { & > hr:first-child { border-top-left-radius: 0; border-top-right-radius: 0; border-bottom-right-radius: var(--radius-selector); border-bottom-left-radius: var(--radius-selector); } } } &.timeline-snap-icon { & > li { --timeline-col-start: minmax(0, 1fr); --timeline-row-start: 0.5rem; } } } } .lg\:timeline-horizontal { @layer daisyui.l1.l2 { & { flex-direction: row; } & > li { align-items: center; & > hr { width: 100%; height: 0.25rem; &:first-child { grid-row-start: 2; grid-column-start: 1; } &:last-child { grid-area: 2/3 / auto/none; } } } & .timeline-start { grid-area: 1/1/2/4; place-self: flex-end center; } & .timeline-end { grid-area: 3/1/4/4; place-self: flex-start center; } &:has(.timeline-middle) { & > li { & > hr { &:first-child { border-start-start-radius: 0; border-start-end-radius: var(--radius-selector); border-end-end-radius: var(--radius-selector); border-end-start-radius: 0; } &:last-child { border-start-start-radius: var(--radius-selector); border-start-end-radius: 0; border-end-end-radius: 0; border-end-start-radius: var(--radius-selector); } } } } &:not(:has(.timeline-middle)) { & :first-child { & > hr:last-child { border-start-start-radius: var(--radius-selector); border-start-end-radius: 0; border-end-end-radius: 0; border-end-start-radius: var(--radius-selector); } } & :last-child { & > hr:first-child { border-start-start-radius: 0; border-start-end-radius: var(--radius-selector); border-end-end-radius: var(--radius-selector); border-end-start-radius: 0; } } } } } } @media (width>=1280px) { .xl\:timeline { @layer daisyui.l1.l2.l3 { & { display: flex; position: relative; } & > li { grid-template-rows: var(--timeline-row-start, minmax(0, 1fr)) auto var(--timeline-row-end, minmax(0, 1fr)); grid-template-columns: var(--timeline-col-start, minmax(0, 1fr)) auto var(--timeline-col-end, minmax(0, 1fr)); flex-shrink: 0; align-items: center; display: grid; position: relative; & > hr { border: none; width: 100%; &:first-child { grid-row-start: 2; grid-column-start: 1; } &:last-child { grid-area: 2/3 / auto/none; } @media print { & { border: 0.1px solid var(--color-base-300); } } } } & :where(hr) { background-color: var(--color-base-300); height: 0.25rem; } &:has(.timeline-middle hr) { &:first-child { border-start-start-radius: 0; border-start-end-radius: var(--radius-selector); border-end-end-radius: var(--radius-selector); border-end-start-radius: 0; } &:last-child { border-start-start-radius: var(--radius-selector); border-start-end-radius: 0; border-end-end-radius: 0; border-end-start-radius: var(--radius-selector); } } &:not(:has(.timeline-middle)) { & :first-child hr:last-child { border-start-start-radius: var(--radius-selector); border-start-end-radius: 0; border-end-end-radius: 0; border-end-start-radius: var(--radius-selector); } & :last-child hr:first-child { border-start-start-radius: 0; border-start-end-radius: var(--radius-selector); border-end-end-radius: var(--radius-selector); border-end-start-radius: 0; } } } } .xl\:timeline-box { @layer daisyui.l1.l2.l3 { & { border: var(--border) solid; border-radius: var(--radius-box); border-color: var(--color-base-300); background-color: var(--color-base-100); padding-block: 0.5rem; padding-inline: 1rem; font-size: 0.75rem; box-shadow: 0 1px 2px oklch(0% 0 0/0.05); } } } .xl\:timeline-start { @layer daisyui.l1.l2.l3 { & { grid-area: 1/1/2/4; place-self: flex-end center; margin: 0.25rem; } } } .xl\:timeline-middle { @layer daisyui.l1.l2.l3 { & { grid-row-start: 2; grid-column-start: 2; } } } .xl\:timeline-end { @layer daisyui.l1.l2.l3 { & { grid-area: 3/1/4/4; place-self: flex-start center; margin: 0.25rem; } } } .xl\:timeline-compact { @layer daisyui.l1.l2 { & { --timeline-row-start: 0; } & .timeline-start { grid-area: 3/1/4/4; place-self: flex-start center; } & li:has(.timeline-start) { & .timeline-end { grid-row-start: auto; grid-column-start: none; } } &.timeline-vertical { & > li { --timeline-col-start: 0; } & .timeline-start { grid-area: 1/3/4/4; place-self: center flex-start; } & li:has(.timeline-start) { & .timeline-end { grid-row-start: none; grid-column-start: auto; } } } } } .xl\:timeline-snap-icon { @layer daisyui.l1.l2 { & > li { --timeline-col-start: 0.5rem; --timeline-row-start: minmax(0, 1fr); } } } .xl\:timeline-vertical { @layer daisyui.l1.l2 { & { flex-direction: column; } & > li { --timeline-row-start: minmax(0, 1fr); --timeline-row-end: minmax(0, 1fr); justify-items: center; & > hr { width: 0.25rem; height: 100%; &:first-child { grid-row-start: 1; grid-column-start: 2; } &:last-child { grid-area: 3/2 / none; } } } & .timeline-start { grid-area: 1/1/4/2; place-self: center flex-end; } & .timeline-end { grid-area: 1/3/4/4; place-self: center flex-start; } &:has(.timeline-middle) { & > li { & > hr { &:first-child { border-top-left-radius: 0; border-top-right-radius: 0; border-bottom-right-radius: var(--radius-selector); border-bottom-left-radius: var(--radius-selector); } &:last-child { border-top-left-radius: var(--radius-selector); border-top-right-radius: var(--radius-selector); border-bottom-right-radius: 0; border-bottom-left-radius: 0; } } } } &:not(:has(.timeline-middle)) { & :first-child { & > hr:last-child { border-top-left-radius: var(--radius-selector); border-top-right-radius: var(--radius-selector); border-bottom-right-radius: 0; border-bottom-left-radius: 0; } } & :last-child { & > hr:first-child { border-top-left-radius: 0; border-top-right-radius: 0; border-bottom-right-radius: var(--radius-selector); border-bottom-left-radius: var(--radius-selector); } } } &.timeline-snap-icon { & > li { --timeline-col-start: minmax(0, 1fr); --timeline-row-start: 0.5rem; } } } } .xl\:timeline-horizontal { @layer daisyui.l1.l2 { & { flex-direction: row; } & > li { align-items: center; & > hr { width: 100%; height: 0.25rem; &:first-child { grid-row-start: 2; grid-column-start: 1; } &:last-child { grid-area: 2/3 / auto/none; } } } & .timeline-start { grid-area: 1/1/2/4; place-self: flex-end center; } & .timeline-end { grid-area: 3/1/4/4; place-self: flex-start center; } &:has(.timeline-middle) { & > li { & > hr { &:first-child { border-start-start-radius: 0; border-start-end-radius: var(--radius-selector); border-end-end-radius: var(--radius-selector); border-end-start-radius: 0; } &:last-child { border-start-start-radius: var(--radius-selector); border-start-end-radius: 0; border-end-end-radius: 0; border-end-start-radius: var(--radius-selector); } } } } &:not(:has(.timeline-middle)) { & :first-child { & > hr:last-child { border-start-start-radius: var(--radius-selector); border-start-end-radius: 0; border-end-end-radius: 0; border-end-start-radius: var(--radius-selector); } } & :last-child { & > hr:first-child { border-start-start-radius: 0; border-start-end-radius: var(--radius-selector); border-end-end-radius: var(--radius-selector); border-end-start-radius: 0; } } } } } } @media (width>=1536px) { .\32 xl\:timeline { @layer daisyui.l1.l2.l3 { & { display: flex; position: relative; } & > li { grid-template-rows: var(--timeline-row-start, minmax(0, 1fr)) auto var(--timeline-row-end, minmax(0, 1fr)); grid-template-columns: var(--timeline-col-start, minmax(0, 1fr)) auto var(--timeline-col-end, minmax(0, 1fr)); flex-shrink: 0; align-items: center; display: grid; position: relative; & > hr { border: none; width: 100%; &:first-child { grid-row-start: 2; grid-column-start: 1; } &:last-child { grid-area: 2/3 / auto/none; } @media print { & { border: 0.1px solid var(--color-base-300); } } } } & :where(hr) { background-color: var(--color-base-300); height: 0.25rem; } &:has(.timeline-middle hr) { &:first-child { border-start-start-radius: 0; border-start-end-radius: var(--radius-selector); border-end-end-radius: var(--radius-selector); border-end-start-radius: 0; } &:last-child { border-start-start-radius: var(--radius-selector); border-start-end-radius: 0; border-end-end-radius: 0; border-end-start-radius: var(--radius-selector); } } &:not(:has(.timeline-middle)) { & :first-child hr:last-child { border-start-start-radius: var(--radius-selector); border-start-end-radius: 0; border-end-end-radius: 0; border-end-start-radius: var(--radius-selector); } & :last-child hr:first-child { border-start-start-radius: 0; border-start-end-radius: var(--radius-selector); border-end-end-radius: var(--radius-selector); border-end-start-radius: 0; } } } } .\32 xl\:timeline-box { @layer daisyui.l1.l2.l3 { & { border: var(--border) solid; border-radius: var(--radius-box); border-color: var(--color-base-300); background-color: var(--color-base-100); padding-block: 0.5rem; padding-inline: 1rem; font-size: 0.75rem; box-shadow: 0 1px 2px oklch(0% 0 0/0.05); } } } .\32 xl\:timeline-start { @layer daisyui.l1.l2.l3 { & { grid-area: 1/1/2/4; place-self: flex-end center; margin: 0.25rem; } } } .\32 xl\:timeline-middle { @layer daisyui.l1.l2.l3 { & { grid-row-start: 2; grid-column-start: 2; } } } .\32 xl\:timeline-end { @layer daisyui.l1.l2.l3 { & { grid-area: 3/1/4/4; place-self: flex-start center; margin: 0.25rem; } } } .\32 xl\:timeline-compact { @layer daisyui.l1.l2 { & { --timeline-row-start: 0; } & .timeline-start { grid-area: 3/1/4/4; place-self: flex-start center; } & li:has(.timeline-start) { & .timeline-end { grid-row-start: auto; grid-column-start: none; } } &.timeline-vertical { & > li { --timeline-col-start: 0; } & .timeline-start { grid-area: 1/3/4/4; place-self: center flex-start; } & li:has(.timeline-start) { & .timeline-end { grid-row-start: none; grid-column-start: auto; } } } } } .\32 xl\:timeline-snap-icon { @layer daisyui.l1.l2 { & > li { --timeline-col-start: 0.5rem; --timeline-row-start: minmax(0, 1fr); } } } .\32 xl\:timeline-vertical { @layer daisyui.l1.l2 { & { flex-direction: column; } & > li { --timeline-row-start: minmax(0, 1fr); --timeline-row-end: minmax(0, 1fr); justify-items: center; & > hr { width: 0.25rem; height: 100%; &:first-child { grid-row-start: 1; grid-column-start: 2; } &:last-child { grid-area: 3/2 / none; } } } & .timeline-start { grid-area: 1/1/4/2; place-self: center flex-end; } & .timeline-end { grid-area: 1/3/4/4; place-self: center flex-start; } &:has(.timeline-middle) { & > li { & > hr { &:first-child { border-top-left-radius: 0; border-top-right-radius: 0; border-bottom-right-radius: var(--radius-selector); border-bottom-left-radius: var(--radius-selector); } &:last-child { border-top-left-radius: var(--radius-selector); border-top-right-radius: var(--radius-selector); border-bottom-right-radius: 0; border-bottom-left-radius: 0; } } } } &:not(:has(.timeline-middle)) { & :first-child { & > hr:last-child { border-top-left-radius: var(--radius-selector); border-top-right-radius: var(--radius-selector); border-bottom-right-radius: 0; border-bottom-left-radius: 0; } } & :last-child { & > hr:first-child { border-top-left-radius: 0; border-top-right-radius: 0; border-bottom-right-radius: var(--radius-selector); border-bottom-left-radius: var(--radius-selector); } } } &.timeline-snap-icon { & > li { --timeline-col-start: minmax(0, 1fr); --timeline-row-start: 0.5rem; } } } } .\32 xl\:timeline-horizontal { @layer daisyui.l1.l2 { & { flex-direction: row; } & > li { align-items: center; & > hr { width: 100%; height: 0.25rem; &:first-child { grid-row-start: 2; grid-column-start: 1; } &:last-child { grid-area: 2/3 / auto/none; } } } & .timeline-start { grid-area: 1/1/2/4; place-self: flex-end center; } & .timeline-end { grid-area: 3/1/4/4; place-self: flex-start center; } &:has(.timeline-middle) { & > li { & > hr { &:first-child { border-start-start-radius: 0; border-start-end-radius: var(--radius-selector); border-end-end-radius: var(--radius-selector); border-end-start-radius: 0; } &:last-child { border-start-start-radius: var(--radius-selector); border-start-end-radius: 0; border-end-end-radius: 0; border-end-start-radius: var(--radius-selector); } } } } &:not(:has(.timeline-middle)) { & :first-child { & > hr:last-child { border-start-start-radius: var(--radius-selector); border-start-end-radius: 0; border-end-end-radius: 0; border-end-start-radius: var(--radius-selector); } } & :last-child { & > hr:first-child { border-start-start-radius: 0; border-start-end-radius: var(--radius-selector); border-end-end-radius: var(--radius-selector); border-end-start-radius: 0; } } } } } } .swap { @layer daisyui.l1.l2.l3 { & { cursor: pointer; vertical-align: middle; -webkit-user-select: none; user-select: none; place-content: center; display: inline-grid; position: relative; } & input { appearance: none; border: none; } & > * { grid-row-start: 1; grid-column-start: 1; @media (prefers-reduced-motion: no-preference) { & { transition-property: transform, rotate, opacity; transition-duration: 0.2s; transition-timing-function: cubic-bezier(0, 0, 0.2, 1); } } } & .swap-on, & .swap-indeterminate, & input:indeterminate ~ .swap-on { opacity: 0; } & input:is(:checked, :indeterminate) { & ~ .swap-off { opacity: 0; } } & input:checked ~ .swap-on, & input:indeterminate ~ .swap-indeterminate { opacity: 1; backface-visibility: visible; } } } .swap-active { @layer daisyui.l1.l2 { & .swap-off { opacity: 0; } & .swap-on { opacity: 1; } } } .swap-rotate { @layer daisyui.l1.l2 { & .swap-on, & input:indeterminate ~ .swap-on { rotate: 45deg; } & input:is(:checked, :indeterminate) ~ .swap-on, &.swap-active .swap-on { rotate: none; } & input:is(:checked, :indeterminate) ~ .swap-off, &.swap-active .swap-off { rotate: -45deg; } } } .swap-flip { @layer daisyui.l1.l2 { & { transform-style: preserve-3d; perspective: 20rem; } & .swap-on, & .swap-indeterminate, & input:indeterminate ~ .swap-on { backface-visibility: hidden; transform: rotateY(180deg); } & input:is(:checked, :indeterminate) ~ .swap-on, &.swap-active .swap-on { transform: rotateY(0); } & input:is(:checked, :indeterminate) ~ .swap-off, &.swap-active .swap-off { backface-visibility: hidden; opacity: 1; transform: rotateY(-180deg); } } } .divider { @layer daisyui.l1.l2.l3 { & { white-space: nowrap; height: 1rem; margin: var(--divider-m, 1rem 0); --divider-color: color-mix( in oklab, var(--color-base-content) 10%, transparent ); flex-direction: row; align-self: stretch; align-items: center; display: flex; } &:before, &:after { content: ""; background-color: var(--divider-color); flex-grow: 1; width: 100%; height: 0.125rem; } @media print { &:before, &:after { border: 0.5px solid; } } &:not(:empty) { gap: 1rem; } } } .divider-horizontal { @layer daisyui.l1.l2 { & { --divider-m: 0 1rem; } &.divider { flex-direction: column; width: 1rem; height: auto; &:before, &:after { width: 0.125rem; height: 100%; } } } } .divider-vertical { @layer daisyui.l1.l2 { & { --divider-m: 1rem 0; } &.divider { flex-direction: row; width: auto; height: 1rem; &:before, &:after { width: 100%; height: 0.125rem; } } } } .divider-neutral { @layer daisyui.l1.l2 { &:before, &:after { background-color: var(--color-neutral); } } } .divider-primary { @layer daisyui.l1.l2 { &:before, &:after { background-color: var(--color-primary); } } } .divider-secondary { @layer daisyui.l1.l2 { &:before, &:after { background-color: var(--color-secondary); } } } .divider-accent { @layer daisyui.l1.l2 { &:before, &:after { background-color: var(--color-accent); } } } .divider-success { @layer daisyui.l1.l2 { &:before, &:after { background-color: var(--color-success); } } } .divider-warning { @layer daisyui.l1.l2 { &:before, &:after { background-color: var(--color-warning); } } } .divider-info { @layer daisyui.l1.l2 { &:before, &:after { background-color: var(--color-info); } } } .divider-error { @layer daisyui.l1.l2 { &:before, &:after { background-color: var(--color-error); } } } .divider-start:before { @layer daisyui.l1.l2 { & { display: none; } } } .divider-end:after { @layer daisyui.l1.l2 { & { display: none; } } } @media (width>=640px) { .sm\:divider { @layer daisyui.l1.l2.l3 { & { white-space: nowrap; height: 1rem; margin: var(--divider-m, 1rem 0); --divider-color: color-mix( in oklab, var(--color-base-content) 10%, transparent ); flex-direction: row; align-self: stretch; align-items: center; display: flex; } &:before, &:after { content: ""; background-color: var(--divider-color); flex-grow: 1; width: 100%; height: 0.125rem; } @media print { &:before, &:after { border: 0.5px solid; } } &:not(:empty) { gap: 1rem; } } } .sm\:divider-horizontal { @layer daisyui.l1.l2 { & { --divider-m: 0 1rem; } &.divider { flex-direction: column; width: 1rem; height: auto; &:before, &:after { width: 0.125rem; height: 100%; } } } } .sm\:divider-vertical { @layer daisyui.l1.l2 { & { --divider-m: 1rem 0; } &.divider { flex-direction: row; width: auto; height: 1rem; &:before, &:after { width: 100%; height: 0.125rem; } } } } .sm\:divider-neutral { @layer daisyui.l1.l2 { &:before, &:after { background-color: var(--color-neutral); } } } .sm\:divider-primary { @layer daisyui.l1.l2 { &:before, &:after { background-color: var(--color-primary); } } } .sm\:divider-secondary { @layer daisyui.l1.l2 { &:before, &:after { background-color: var(--color-secondary); } } } .sm\:divider-accent { @layer daisyui.l1.l2 { &:before, &:after { background-color: var(--color-accent); } } } .sm\:divider-success { @layer daisyui.l1.l2 { &:before, &:after { background-color: var(--color-success); } } } .sm\:divider-warning { @layer daisyui.l1.l2 { &:before, &:after { background-color: var(--color-warning); } } } .sm\:divider-info { @layer daisyui.l1.l2 { &:before, &:after { background-color: var(--color-info); } } } .sm\:divider-error { @layer daisyui.l1.l2 { &:before, &:after { background-color: var(--color-error); } } } .sm\:divider-start:before { @layer daisyui.l1.l2 { & { display: none; } } } .sm\:divider-end:after { @layer daisyui.l1.l2 { & { display: none; } } } } @media (width>=768px) { .md\:divider { @layer daisyui.l1.l2.l3 { & { white-space: nowrap; height: 1rem; margin: var(--divider-m, 1rem 0); --divider-color: color-mix( in oklab, var(--color-base-content) 10%, transparent ); flex-direction: row; align-self: stretch; align-items: center; display: flex; } &:before, &:after { content: ""; background-color: var(--divider-color); flex-grow: 1; width: 100%; height: 0.125rem; } @media print { &:before, &:after { border: 0.5px solid; } } &:not(:empty) { gap: 1rem; } } } .md\:divider-horizontal { @layer daisyui.l1.l2 { & { --divider-m: 0 1rem; } &.divider { flex-direction: column; width: 1rem; height: auto; &:before, &:after { width: 0.125rem; height: 100%; } } } } .md\:divider-vertical { @layer daisyui.l1.l2 { & { --divider-m: 1rem 0; } &.divider { flex-direction: row; width: auto; height: 1rem; &:before, &:after { width: 100%; height: 0.125rem; } } } } .md\:divider-neutral { @layer daisyui.l1.l2 { &:before, &:after { background-color: var(--color-neutral); } } } .md\:divider-primary { @layer daisyui.l1.l2 { &:before, &:after { background-color: var(--color-primary); } } } .md\:divider-secondary { @layer daisyui.l1.l2 { &:before, &:after { background-color: var(--color-secondary); } } } .md\:divider-accent { @layer daisyui.l1.l2 { &:before, &:after { background-color: var(--color-accent); } } } .md\:divider-success { @layer daisyui.l1.l2 { &:before, &:after { background-color: var(--color-success); } } } .md\:divider-warning { @layer daisyui.l1.l2 { &:before, &:after { background-color: var(--color-warning); } } } .md\:divider-info { @layer daisyui.l1.l2 { &:before, &:after { background-color: var(--color-info); } } } .md\:divider-error { @layer daisyui.l1.l2 { &:before, &:after { background-color: var(--color-error); } } } .md\:divider-start:before { @layer daisyui.l1.l2 { & { display: none; } } } .md\:divider-end:after { @layer daisyui.l1.l2 { & { display: none; } } } } @media (width>=1024px) { .lg\:divider { @layer daisyui.l1.l2.l3 { & { white-space: nowrap; height: 1rem; margin: var(--divider-m, 1rem 0); --divider-color: color-mix( in oklab, var(--color-base-content) 10%, transparent ); flex-direction: row; align-self: stretch; align-items: center; display: flex; } &:before, &:after { content: ""; background-color: var(--divider-color); flex-grow: 1; width: 100%; height: 0.125rem; } @media print { &:before, &:after { border: 0.5px solid; } } &:not(:empty) { gap: 1rem; } } } .lg\:divider-horizontal { @layer daisyui.l1.l2 { & { --divider-m: 0 1rem; } &.divider { flex-direction: column; width: 1rem; height: auto; &:before, &:after { width: 0.125rem; height: 100%; } } } } .lg\:divider-vertical { @layer daisyui.l1.l2 { & { --divider-m: 1rem 0; } &.divider { flex-direction: row; width: auto; height: 1rem; &:before, &:after { width: 100%; height: 0.125rem; } } } } .lg\:divider-neutral { @layer daisyui.l1.l2 { &:before, &:after { background-color: var(--color-neutral); } } } .lg\:divider-primary { @layer daisyui.l1.l2 { &:before, &:after { background-color: var(--color-primary); } } } .lg\:divider-secondary { @layer daisyui.l1.l2 { &:before, &:after { background-color: var(--color-secondary); } } } .lg\:divider-accent { @layer daisyui.l1.l2 { &:before, &:after { background-color: var(--color-accent); } } } .lg\:divider-success { @layer daisyui.l1.l2 { &:before, &:after { background-color: var(--color-success); } } } .lg\:divider-warning { @layer daisyui.l1.l2 { &:before, &:after { background-color: var(--color-warning); } } } .lg\:divider-info { @layer daisyui.l1.l2 { &:before, &:after { background-color: var(--color-info); } } } .lg\:divider-error { @layer daisyui.l1.l2 { &:before, &:after { background-color: var(--color-error); } } } .lg\:divider-start:before { @layer daisyui.l1.l2 { & { display: none; } } } .lg\:divider-end:after { @layer daisyui.l1.l2 { & { display: none; } } } } @media (width>=1280px) { .xl\:divider { @layer daisyui.l1.l2.l3 { & { white-space: nowrap; height: 1rem; margin: var(--divider-m, 1rem 0); --divider-color: color-mix( in oklab, var(--color-base-content) 10%, transparent ); flex-direction: row; align-self: stretch; align-items: center; display: flex; } &:before, &:after { content: ""; background-color: var(--divider-color); flex-grow: 1; width: 100%; height: 0.125rem; } @media print { &:before, &:after { border: 0.5px solid; } } &:not(:empty) { gap: 1rem; } } } .xl\:divider-horizontal { @layer daisyui.l1.l2 { & { --divider-m: 0 1rem; } &.divider { flex-direction: column; width: 1rem; height: auto; &:before, &:after { width: 0.125rem; height: 100%; } } } } .xl\:divider-vertical { @layer daisyui.l1.l2 { & { --divider-m: 1rem 0; } &.divider { flex-direction: row; width: auto; height: 1rem; &:before, &:after { width: 100%; height: 0.125rem; } } } } .xl\:divider-neutral { @layer daisyui.l1.l2 { &:before, &:after { background-color: var(--color-neutral); } } } .xl\:divider-primary { @layer daisyui.l1.l2 { &:before, &:after { background-color: var(--color-primary); } } } .xl\:divider-secondary { @layer daisyui.l1.l2 { &:before, &:after { background-color: var(--color-secondary); } } } .xl\:divider-accent { @layer daisyui.l1.l2 { &:before, &:after { background-color: var(--color-accent); } } } .xl\:divider-success { @layer daisyui.l1.l2 { &:before, &:after { background-color: var(--color-success); } } } .xl\:divider-warning { @layer daisyui.l1.l2 { &:before, &:after { background-color: var(--color-warning); } } } .xl\:divider-info { @layer daisyui.l1.l2 { &:before, &:after { background-color: var(--color-info); } } } .xl\:divider-error { @layer daisyui.l1.l2 { &:before, &:after { background-color: var(--color-error); } } } .xl\:divider-start:before { @layer daisyui.l1.l2 { & { display: none; } } } .xl\:divider-end:after { @layer daisyui.l1.l2 { & { display: none; } } } } @media (width>=1536px) { .\32 xl\:divider { @layer daisyui.l1.l2.l3 { & { white-space: nowrap; height: 1rem; margin: var(--divider-m, 1rem 0); --divider-color: color-mix( in oklab, var(--color-base-content) 10%, transparent ); flex-direction: row; align-self: stretch; align-items: center; display: flex; } &:before, &:after { content: ""; background-color: var(--divider-color); flex-grow: 1; width: 100%; height: 0.125rem; } @media print { &:before, &:after { border: 0.5px solid; } } &:not(:empty) { gap: 1rem; } } } .\32 xl\:divider-horizontal { @layer daisyui.l1.l2 { & { --divider-m: 0 1rem; } &.divider { flex-direction: column; width: 1rem; height: auto; &:before, &:after { width: 0.125rem; height: 100%; } } } } .\32 xl\:divider-vertical { @layer daisyui.l1.l2 { & { --divider-m: 1rem 0; } &.divider { flex-direction: row; width: auto; height: 1rem; &:before, &:after { width: 100%; height: 0.125rem; } } } } .\32 xl\:divider-neutral { @layer daisyui.l1.l2 { &:before, &:after { background-color: var(--color-neutral); } } } .\32 xl\:divider-primary { @layer daisyui.l1.l2 { &:before, &:after { background-color: var(--color-primary); } } } .\32 xl\:divider-secondary { @layer daisyui.l1.l2 { &:before, &:after { background-color: var(--color-secondary); } } } .\32 xl\:divider-accent { @layer daisyui.l1.l2 { &:before, &:after { background-color: var(--color-accent); } } } .\32 xl\:divider-success { @layer daisyui.l1.l2 { &:before, &:after { background-color: var(--color-success); } } } .\32 xl\:divider-warning { @layer daisyui.l1.l2 { &:before, &:after { background-color: var(--color-warning); } } } .\32 xl\:divider-info { @layer daisyui.l1.l2 { &:before, &:after { background-color: var(--color-info); } } } .\32 xl\:divider-error { @layer daisyui.l1.l2 { &:before, &:after { background-color: var(--color-error); } } } .\32 xl\:divider-start:before { @layer daisyui.l1.l2 { & { display: none; } } } .\32 xl\:divider-end:after { @layer daisyui.l1.l2 { & { display: none; } } } } .rating { @layer daisyui.l1.l2.l3 { & { vertical-align: middle; display: inline-flex; position: relative; } & input { appearance: none; border: none; } & :where(*) { background-color: var(--color-base-content); opacity: 0.2; border-radius: 0; width: 1.5rem; height: 1.5rem; @media (prefers-reduced-motion: no-preference) { & { animation: 0.25s ease-out rating; } } &:is(input) { cursor: pointer; } } & .rating-hidden { background-color: #0000; width: 0.5rem; } & input[type="radio"]:checked { background-image: none; } & * { &:checked, &[aria-checked="true"], &[aria-current="true"], &:has(~ :checked, ~ [aria-checked="true"], ~ [aria-current="true"]) { opacity: 1; } &:focus-visible { scale: 1.1; @media (prefers-reduced-motion: no-preference) { & { transition: scale 0.2s ease-out; } } } } & :active:focus { animation: none; scale: 1.1; } } @layer daisyui.l1.l2 { &.rating-xs :where(:not(.rating-hidden)) { width: 1rem; height: 1rem; } &.rating-sm :where(:not(.rating-hidden)) { width: 1.25rem; height: 1.25rem; } &.rating-md :where(:not(.rating-hidden)) { width: 1.5rem; height: 1.5rem; } &.rating-lg :where(:not(.rating-hidden)) { width: 1.75rem; height: 1.75rem; } &.rating-xl :where(:not(.rating-hidden)) { width: 2rem; height: 2rem; } } } .rating-half { @layer daisyui.l1.l2 { & :where(:not(.rating-hidden)) { width: 0.75rem; } } } .rating-half { @layer daisyui.l1.l2 { &.rating-xs :not(.rating-hidden) { width: 0.5rem; } &.rating-sm :not(.rating-hidden) { width: 0.625rem; } &.rating-md :not(.rating-hidden) { width: 0.75rem; } &.rating-lg :not(.rating-hidden) { width: 0.875rem; } &.rating-xl :not(.rating-hidden) { width: 1rem; } } } @keyframes rating { 0%, 40% { filter: brightness(1.05) contrast(1.05); scale: 1.1; } } @media (width>=640px) { .sm\:rating { @layer daisyui.l1.l2.l3 { & { vertical-align: middle; display: inline-flex; position: relative; } & input { appearance: none; border: none; } & :where(*) { background-color: var(--color-base-content); opacity: 0.2; border-radius: 0; width: 1.5rem; height: 1.5rem; @media (prefers-reduced-motion: no-preference) { & { animation: 0.25s ease-out rating; } } &:is(input) { cursor: pointer; } } & .rating-hidden { background-color: #0000; width: 0.5rem; } & input[type="radio"]:checked { background-image: none; } & * { &:checked, &[aria-checked="true"], &[aria-current="true"], &:has(~ :checked, ~ [aria-checked="true"], ~ [aria-current="true"]) { opacity: 1; } &:focus-visible { scale: 1.1; @media (prefers-reduced-motion: no-preference) { & { transition: scale 0.2s ease-out; } } } } & :active:focus { animation: none; scale: 1.1; } } @layer daisyui.l1.l2 { &.rating-xs :where(:not(.rating-hidden)) { width: 1rem; height: 1rem; } &.rating-sm :where(:not(.rating-hidden)) { width: 1.25rem; height: 1.25rem; } &.rating-md :where(:not(.rating-hidden)) { width: 1.5rem; height: 1.5rem; } &.rating-lg :where(:not(.rating-hidden)) { width: 1.75rem; height: 1.75rem; } &.rating-xl :where(:not(.rating-hidden)) { width: 2rem; height: 2rem; } } } .sm\:rating-half { @layer daisyui.l1.l2 { & :where(:not(.rating-hidden)) { width: 0.75rem; } } } .sm\:rating-half { @layer daisyui.l1.l2 { &.rating-xs :not(.rating-hidden) { width: 0.5rem; } &.rating-sm :not(.rating-hidden) { width: 0.625rem; } &.rating-md :not(.rating-hidden) { width: 0.75rem; } &.rating-lg :not(.rating-hidden) { width: 0.875rem; } &.rating-xl :not(.rating-hidden) { width: 1rem; } } } } @media (width>=768px) { .md\:rating { @layer daisyui.l1.l2.l3 { & { vertical-align: middle; display: inline-flex; position: relative; } & input { appearance: none; border: none; } & :where(*) { background-color: var(--color-base-content); opacity: 0.2; border-radius: 0; width: 1.5rem; height: 1.5rem; @media (prefers-reduced-motion: no-preference) { & { animation: 0.25s ease-out rating; } } &:is(input) { cursor: pointer; } } & .rating-hidden { background-color: #0000; width: 0.5rem; } & input[type="radio"]:checked { background-image: none; } & * { &:checked, &[aria-checked="true"], &[aria-current="true"], &:has(~ :checked, ~ [aria-checked="true"], ~ [aria-current="true"]) { opacity: 1; } &:focus-visible { scale: 1.1; @media (prefers-reduced-motion: no-preference) { & { transition: scale 0.2s ease-out; } } } } & :active:focus { animation: none; scale: 1.1; } } @layer daisyui.l1.l2 { &.rating-xs :where(:not(.rating-hidden)) { width: 1rem; height: 1rem; } &.rating-sm :where(:not(.rating-hidden)) { width: 1.25rem; height: 1.25rem; } &.rating-md :where(:not(.rating-hidden)) { width: 1.5rem; height: 1.5rem; } &.rating-lg :where(:not(.rating-hidden)) { width: 1.75rem; height: 1.75rem; } &.rating-xl :where(:not(.rating-hidden)) { width: 2rem; height: 2rem; } } } .md\:rating-half { @layer daisyui.l1.l2 { & :where(:not(.rating-hidden)) { width: 0.75rem; } } } .md\:rating-half { @layer daisyui.l1.l2 { &.rating-xs :not(.rating-hidden) { width: 0.5rem; } &.rating-sm :not(.rating-hidden) { width: 0.625rem; } &.rating-md :not(.rating-hidden) { width: 0.75rem; } &.rating-lg :not(.rating-hidden) { width: 0.875rem; } &.rating-xl :not(.rating-hidden) { width: 1rem; } } } } @media (width>=1024px) { .lg\:rating { @layer daisyui.l1.l2.l3 { & { vertical-align: middle; display: inline-flex; position: relative; } & input { appearance: none; border: none; } & :where(*) { background-color: var(--color-base-content); opacity: 0.2; border-radius: 0; width: 1.5rem; height: 1.5rem; @media (prefers-reduced-motion: no-preference) { & { animation: 0.25s ease-out rating; } } &:is(input) { cursor: pointer; } } & .rating-hidden { background-color: #0000; width: 0.5rem; } & input[type="radio"]:checked { background-image: none; } & * { &:checked, &[aria-checked="true"], &[aria-current="true"], &:has(~ :checked, ~ [aria-checked="true"], ~ [aria-current="true"]) { opacity: 1; } &:focus-visible { scale: 1.1; @media (prefers-reduced-motion: no-preference) { & { transition: scale 0.2s ease-out; } } } } & :active:focus { animation: none; scale: 1.1; } } @layer daisyui.l1.l2 { &.rating-xs :where(:not(.rating-hidden)) { width: 1rem; height: 1rem; } &.rating-sm :where(:not(.rating-hidden)) { width: 1.25rem; height: 1.25rem; } &.rating-md :where(:not(.rating-hidden)) { width: 1.5rem; height: 1.5rem; } &.rating-lg :where(:not(.rating-hidden)) { width: 1.75rem; height: 1.75rem; } &.rating-xl :where(:not(.rating-hidden)) { width: 2rem; height: 2rem; } } } .lg\:rating-half { @layer daisyui.l1.l2 { & :where(:not(.rating-hidden)) { width: 0.75rem; } } } .lg\:rating-half { @layer daisyui.l1.l2 { &.rating-xs :not(.rating-hidden) { width: 0.5rem; } &.rating-sm :not(.rating-hidden) { width: 0.625rem; } &.rating-md :not(.rating-hidden) { width: 0.75rem; } &.rating-lg :not(.rating-hidden) { width: 0.875rem; } &.rating-xl :not(.rating-hidden) { width: 1rem; } } } } @media (width>=1280px) { .xl\:rating { @layer daisyui.l1.l2.l3 { & { vertical-align: middle; display: inline-flex; position: relative; } & input { appearance: none; border: none; } & :where(*) { background-color: var(--color-base-content); opacity: 0.2; border-radius: 0; width: 1.5rem; height: 1.5rem; @media (prefers-reduced-motion: no-preference) { & { animation: 0.25s ease-out rating; } } &:is(input) { cursor: pointer; } } & .rating-hidden { background-color: #0000; width: 0.5rem; } & input[type="radio"]:checked { background-image: none; } & * { &:checked, &[aria-checked="true"], &[aria-current="true"], &:has(~ :checked, ~ [aria-checked="true"], ~ [aria-current="true"]) { opacity: 1; } &:focus-visible { scale: 1.1; @media (prefers-reduced-motion: no-preference) { & { transition: scale 0.2s ease-out; } } } } & :active:focus { animation: none; scale: 1.1; } } @layer daisyui.l1.l2 { &.rating-xs :where(:not(.rating-hidden)) { width: 1rem; height: 1rem; } &.rating-sm :where(:not(.rating-hidden)) { width: 1.25rem; height: 1.25rem; } &.rating-md :where(:not(.rating-hidden)) { width: 1.5rem; height: 1.5rem; } &.rating-lg :where(:not(.rating-hidden)) { width: 1.75rem; height: 1.75rem; } &.rating-xl :where(:not(.rating-hidden)) { width: 2rem; height: 2rem; } } } .xl\:rating-half { @layer daisyui.l1.l2 { & :where(:not(.rating-hidden)) { width: 0.75rem; } } } .xl\:rating-half { @layer daisyui.l1.l2 { &.rating-xs :not(.rating-hidden) { width: 0.5rem; } &.rating-sm :not(.rating-hidden) { width: 0.625rem; } &.rating-md :not(.rating-hidden) { width: 0.75rem; } &.rating-lg :not(.rating-hidden) { width: 0.875rem; } &.rating-xl :not(.rating-hidden) { width: 1rem; } } } } @media (width>=1536px) { .\32 xl\:rating { @layer daisyui.l1.l2.l3 { & { vertical-align: middle; display: inline-flex; position: relative; } & input { appearance: none; border: none; } & :where(*) { background-color: var(--color-base-content); opacity: 0.2; border-radius: 0; width: 1.5rem; height: 1.5rem; @media (prefers-reduced-motion: no-preference) { & { animation: 0.25s ease-out rating; } } &:is(input) { cursor: pointer; } } & .rating-hidden { background-color: #0000; width: 0.5rem; } & input[type="radio"]:checked { background-image: none; } & * { &:checked, &[aria-checked="true"], &[aria-current="true"], &:has(~ :checked, ~ [aria-checked="true"], ~ [aria-current="true"]) { opacity: 1; } &:focus-visible { scale: 1.1; @media (prefers-reduced-motion: no-preference) { & { transition: scale 0.2s ease-out; } } } } & :active:focus { animation: none; scale: 1.1; } } @layer daisyui.l1.l2 { &.rating-xs :where(:not(.rating-hidden)) { width: 1rem; height: 1rem; } &.rating-sm :where(:not(.rating-hidden)) { width: 1.25rem; height: 1.25rem; } &.rating-md :where(:not(.rating-hidden)) { width: 1.5rem; height: 1.5rem; } &.rating-lg :where(:not(.rating-hidden)) { width: 1.75rem; height: 1.75rem; } &.rating-xl :where(:not(.rating-hidden)) { width: 2rem; height: 2rem; } } } .\32 xl\:rating-half { @layer daisyui.l1.l2 { & :where(:not(.rating-hidden)) { width: 0.75rem; } } } .\32 xl\:rating-half { @layer daisyui.l1.l2 { &.rating-xs :not(.rating-hidden) { width: 0.5rem; } &.rating-sm :not(.rating-hidden) { width: 0.625rem; } &.rating-md :not(.rating-hidden) { width: 0.75rem; } &.rating-lg :not(.rating-hidden) { width: 0.875rem; } &.rating-xl :not(.rating-hidden) { width: 1rem; } } } } .steps { @layer daisyui.l1.l2.l3 { & { counter-reset: step; grid-auto-columns: 1fr; grid-auto-flow: column; display: inline-grid; overflow: auto hidden; } & .step { text-align: center; --step-bg: var(--color-base-300); --step-fg: var(--color-base-content); grid-template-rows: 40px 1fr; grid-template-columns: auto; place-items: center; min-width: 4rem; display: grid; &:before { width: 100%; height: 0.5rem; color: var(--step-bg); background-color: var(--step-bg); content: ""; border: 1px solid; grid-row-start: 1; grid-column-start: 1; margin-inline-start: -100%; top: 0; } & > .step-icon, &:not(:has(.step-icon)):after { --tw-content: counter(step); content: var(--tw-content); counter-increment: step; z-index: 1; color: var(--step-fg); background-color: var(--step-bg); border: 1px solid var(--step-bg); border-radius: 3.40282e38px; grid-row-start: 1; grid-column-start: 1; place-self: center; place-items: center; width: 2rem; height: 2rem; display: grid; position: relative; } &:first-child:before { --tw-content: none; content: var(--tw-content); } &[data-content]:after { --tw-content: attr(data-content); content: var(--tw-content); } } } @layer daisyui.l1.l2 { & .step-neutral { & + .step-neutral:before, &:after, & > .step-icon { --step-bg: var(--color-neutral); --step-fg: var(--color-neutral-content); } } & .step-primary { & + .step-primary:before, &:after, & > .step-icon { --step-bg: var(--color-primary); --step-fg: var(--color-primary-content); } } & .step-secondary { & + .step-secondary:before, &:after, & > .step-icon { --step-bg: var(--color-secondary); --step-fg: var(--color-secondary-content); } } & .step-accent { & + .step-accent:before, &:after, & > .step-icon { --step-bg: var(--color-accent); --step-fg: var(--color-accent-content); } } & .step-info { & + .step-info:before, &:after, & > .step-icon { --step-bg: var(--color-info); --step-fg: var(--color-info-content); } } & .step-success { & + .step-success:before, &:after, & > .step-icon { --step-bg: var(--color-success); --step-fg: var(--color-success-content); } } & .step-warning { & + .step-warning:before, &:after, & > .step-icon { --step-bg: var(--color-warning); --step-fg: var(--color-warning-content); } } & .step-error { & + .step-error:before, &:after, & > .step-icon { --step-bg: var(--color-error); --step-fg: var(--color-error-content); } } } } .steps-horizontal { @layer daisyui.l1.l2 { & { grid-auto-columns: 1fr; grid-auto-flow: column; display: inline-grid; overflow: auto hidden; } & .step { text-align: center; grid-template-rows: 40px 1fr; grid-template-columns: auto; place-items: center; min-width: 4rem; display: grid; &:before { width: 100%; height: 0.5rem; margin-inline-start: -100%; translate: 0; } [dir="rtl"] &:before { translate: 0; } } } } .steps-vertical { @layer daisyui.l1.l2 { & { grid-auto-rows: 1fr; grid-auto-flow: row; } & .step { grid-template-rows: auto; grid-template-columns: 40px 1fr; justify-items: start; gap: 0.5rem; min-height: 4rem; display: grid; &:before { width: 0.5rem; height: 100%; margin-inline-start: 50%; translate: -50% -50%; } [dir="rtl"] &:before { translate: 50% -50%; } } } } @media (width>=640px) { .sm\:steps { @layer daisyui.l1.l2.l3 { & { counter-reset: step; grid-auto-columns: 1fr; grid-auto-flow: column; display: inline-grid; overflow: auto hidden; } & .step { text-align: center; --step-bg: var(--color-base-300); --step-fg: var(--color-base-content); grid-template-rows: 40px 1fr; grid-template-columns: auto; place-items: center; min-width: 4rem; display: grid; &:before { width: 100%; height: 0.5rem; color: var(--step-bg); background-color: var(--step-bg); content: ""; border: 1px solid; grid-row-start: 1; grid-column-start: 1; margin-inline-start: -100%; top: 0; } & > .step-icon, &:not(:has(.step-icon)):after { --tw-content: counter(step); content: var(--tw-content); counter-increment: step; z-index: 1; color: var(--step-fg); background-color: var(--step-bg); border: 1px solid var(--step-bg); border-radius: 3.40282e38px; grid-row-start: 1; grid-column-start: 1; place-self: center; place-items: center; width: 2rem; height: 2rem; display: grid; position: relative; } &:first-child:before { --tw-content: none; content: var(--tw-content); } &[data-content]:after { --tw-content: attr(data-content); content: var(--tw-content); } } } @layer daisyui.l1.l2 { & .step-neutral { & + .step-neutral:before, &:after, & > .step-icon { --step-bg: var(--color-neutral); --step-fg: var(--color-neutral-content); } } & .step-primary { & + .step-primary:before, &:after, & > .step-icon { --step-bg: var(--color-primary); --step-fg: var(--color-primary-content); } } & .step-secondary { & + .step-secondary:before, &:after, & > .step-icon { --step-bg: var(--color-secondary); --step-fg: var(--color-secondary-content); } } & .step-accent { & + .step-accent:before, &:after, & > .step-icon { --step-bg: var(--color-accent); --step-fg: var(--color-accent-content); } } & .step-info { & + .step-info:before, &:after, & > .step-icon { --step-bg: var(--color-info); --step-fg: var(--color-info-content); } } & .step-success { & + .step-success:before, &:after, & > .step-icon { --step-bg: var(--color-success); --step-fg: var(--color-success-content); } } & .step-warning { & + .step-warning:before, &:after, & > .step-icon { --step-bg: var(--color-warning); --step-fg: var(--color-warning-content); } } & .step-error { & + .step-error:before, &:after, & > .step-icon { --step-bg: var(--color-error); --step-fg: var(--color-error-content); } } } } .sm\:steps-horizontal { @layer daisyui.l1.l2 { & { grid-auto-columns: 1fr; grid-auto-flow: column; display: inline-grid; overflow: auto hidden; } & .step { text-align: center; grid-template-rows: 40px 1fr; grid-template-columns: auto; place-items: center; min-width: 4rem; display: grid; &:before { width: 100%; height: 0.5rem; margin-inline-start: -100%; translate: 0; } [dir="rtl"] &:before { translate: 0; } } } } .sm\:steps-vertical { @layer daisyui.l1.l2 { & { grid-auto-rows: 1fr; grid-auto-flow: row; } & .step { grid-template-rows: auto; grid-template-columns: 40px 1fr; justify-items: start; gap: 0.5rem; min-height: 4rem; display: grid; &:before { width: 0.5rem; height: 100%; margin-inline-start: 50%; translate: -50% -50%; } [dir="rtl"] &:before { translate: 50% -50%; } } } } } @media (width>=768px) { .md\:steps { @layer daisyui.l1.l2.l3 { & { counter-reset: step; grid-auto-columns: 1fr; grid-auto-flow: column; display: inline-grid; overflow: auto hidden; } & .step { text-align: center; --step-bg: var(--color-base-300); --step-fg: var(--color-base-content); grid-template-rows: 40px 1fr; grid-template-columns: auto; place-items: center; min-width: 4rem; display: grid; &:before { width: 100%; height: 0.5rem; color: var(--step-bg); background-color: var(--step-bg); content: ""; border: 1px solid; grid-row-start: 1; grid-column-start: 1; margin-inline-start: -100%; top: 0; } & > .step-icon, &:not(:has(.step-icon)):after { --tw-content: counter(step); content: var(--tw-content); counter-increment: step; z-index: 1; color: var(--step-fg); background-color: var(--step-bg); border: 1px solid var(--step-bg); border-radius: 3.40282e38px; grid-row-start: 1; grid-column-start: 1; place-self: center; place-items: center; width: 2rem; height: 2rem; display: grid; position: relative; } &:first-child:before { --tw-content: none; content: var(--tw-content); } &[data-content]:after { --tw-content: attr(data-content); content: var(--tw-content); } } } @layer daisyui.l1.l2 { & .step-neutral { & + .step-neutral:before, &:after, & > .step-icon { --step-bg: var(--color-neutral); --step-fg: var(--color-neutral-content); } } & .step-primary { & + .step-primary:before, &:after, & > .step-icon { --step-bg: var(--color-primary); --step-fg: var(--color-primary-content); } } & .step-secondary { & + .step-secondary:before, &:after, & > .step-icon { --step-bg: var(--color-secondary); --step-fg: var(--color-secondary-content); } } & .step-accent { & + .step-accent:before, &:after, & > .step-icon { --step-bg: var(--color-accent); --step-fg: var(--color-accent-content); } } & .step-info { & + .step-info:before, &:after, & > .step-icon { --step-bg: var(--color-info); --step-fg: var(--color-info-content); } } & .step-success { & + .step-success:before, &:after, & > .step-icon { --step-bg: var(--color-success); --step-fg: var(--color-success-content); } } & .step-warning { & + .step-warning:before, &:after, & > .step-icon { --step-bg: var(--color-warning); --step-fg: var(--color-warning-content); } } & .step-error { & + .step-error:before, &:after, & > .step-icon { --step-bg: var(--color-error); --step-fg: var(--color-error-content); } } } } .md\:steps-horizontal { @layer daisyui.l1.l2 { & { grid-auto-columns: 1fr; grid-auto-flow: column; display: inline-grid; overflow: auto hidden; } & .step { text-align: center; grid-template-rows: 40px 1fr; grid-template-columns: auto; place-items: center; min-width: 4rem; display: grid; &:before { width: 100%; height: 0.5rem; margin-inline-start: -100%; translate: 0; } [dir="rtl"] &:before { translate: 0; } } } } .md\:steps-vertical { @layer daisyui.l1.l2 { & { grid-auto-rows: 1fr; grid-auto-flow: row; } & .step { grid-template-rows: auto; grid-template-columns: 40px 1fr; justify-items: start; gap: 0.5rem; min-height: 4rem; display: grid; &:before { width: 0.5rem; height: 100%; margin-inline-start: 50%; translate: -50% -50%; } [dir="rtl"] &:before { translate: 50% -50%; } } } } } @media (width>=1024px) { .lg\:steps { @layer daisyui.l1.l2.l3 { & { counter-reset: step; grid-auto-columns: 1fr; grid-auto-flow: column; display: inline-grid; overflow: auto hidden; } & .step { text-align: center; --step-bg: var(--color-base-300); --step-fg: var(--color-base-content); grid-template-rows: 40px 1fr; grid-template-columns: auto; place-items: center; min-width: 4rem; display: grid; &:before { width: 100%; height: 0.5rem; color: var(--step-bg); background-color: var(--step-bg); content: ""; border: 1px solid; grid-row-start: 1; grid-column-start: 1; margin-inline-start: -100%; top: 0; } & > .step-icon, &:not(:has(.step-icon)):after { --tw-content: counter(step); content: var(--tw-content); counter-increment: step; z-index: 1; color: var(--step-fg); background-color: var(--step-bg); border: 1px solid var(--step-bg); border-radius: 3.40282e38px; grid-row-start: 1; grid-column-start: 1; place-self: center; place-items: center; width: 2rem; height: 2rem; display: grid; position: relative; } &:first-child:before { --tw-content: none; content: var(--tw-content); } &[data-content]:after { --tw-content: attr(data-content); content: var(--tw-content); } } } @layer daisyui.l1.l2 { & .step-neutral { & + .step-neutral:before, &:after, & > .step-icon { --step-bg: var(--color-neutral); --step-fg: var(--color-neutral-content); } } & .step-primary { & + .step-primary:before, &:after, & > .step-icon { --step-bg: var(--color-primary); --step-fg: var(--color-primary-content); } } & .step-secondary { & + .step-secondary:before, &:after, & > .step-icon { --step-bg: var(--color-secondary); --step-fg: var(--color-secondary-content); } } & .step-accent { & + .step-accent:before, &:after, & > .step-icon { --step-bg: var(--color-accent); --step-fg: var(--color-accent-content); } } & .step-info { & + .step-info:before, &:after, & > .step-icon { --step-bg: var(--color-info); --step-fg: var(--color-info-content); } } & .step-success { & + .step-success:before, &:after, & > .step-icon { --step-bg: var(--color-success); --step-fg: var(--color-success-content); } } & .step-warning { & + .step-warning:before, &:after, & > .step-icon { --step-bg: var(--color-warning); --step-fg: var(--color-warning-content); } } & .step-error { & + .step-error:before, &:after, & > .step-icon { --step-bg: var(--color-error); --step-fg: var(--color-error-content); } } } } .lg\:steps-horizontal { @layer daisyui.l1.l2 { & { grid-auto-columns: 1fr; grid-auto-flow: column; display: inline-grid; overflow: auto hidden; } & .step { text-align: center; grid-template-rows: 40px 1fr; grid-template-columns: auto; place-items: center; min-width: 4rem; display: grid; &:before { width: 100%; height: 0.5rem; margin-inline-start: -100%; translate: 0; } [dir="rtl"] &:before { translate: 0; } } } } .lg\:steps-vertical { @layer daisyui.l1.l2 { & { grid-auto-rows: 1fr; grid-auto-flow: row; } & .step { grid-template-rows: auto; grid-template-columns: 40px 1fr; justify-items: start; gap: 0.5rem; min-height: 4rem; display: grid; &:before { width: 0.5rem; height: 100%; margin-inline-start: 50%; translate: -50% -50%; } [dir="rtl"] &:before { translate: 50% -50%; } } } } } @media (width>=1280px) { .xl\:steps { @layer daisyui.l1.l2.l3 { & { counter-reset: step; grid-auto-columns: 1fr; grid-auto-flow: column; display: inline-grid; overflow: auto hidden; } & .step { text-align: center; --step-bg: var(--color-base-300); --step-fg: var(--color-base-content); grid-template-rows: 40px 1fr; grid-template-columns: auto; place-items: center; min-width: 4rem; display: grid; &:before { width: 100%; height: 0.5rem; color: var(--step-bg); background-color: var(--step-bg); content: ""; border: 1px solid; grid-row-start: 1; grid-column-start: 1; margin-inline-start: -100%; top: 0; } & > .step-icon, &:not(:has(.step-icon)):after { --tw-content: counter(step); content: var(--tw-content); counter-increment: step; z-index: 1; color: var(--step-fg); background-color: var(--step-bg); border: 1px solid var(--step-bg); border-radius: 3.40282e38px; grid-row-start: 1; grid-column-start: 1; place-self: center; place-items: center; width: 2rem; height: 2rem; display: grid; position: relative; } &:first-child:before { --tw-content: none; content: var(--tw-content); } &[data-content]:after { --tw-content: attr(data-content); content: var(--tw-content); } } } @layer daisyui.l1.l2 { & .step-neutral { & + .step-neutral:before, &:after, & > .step-icon { --step-bg: var(--color-neutral); --step-fg: var(--color-neutral-content); } } & .step-primary { & + .step-primary:before, &:after, & > .step-icon { --step-bg: var(--color-primary); --step-fg: var(--color-primary-content); } } & .step-secondary { & + .step-secondary:before, &:after, & > .step-icon { --step-bg: var(--color-secondary); --step-fg: var(--color-secondary-content); } } & .step-accent { & + .step-accent:before, &:after, & > .step-icon { --step-bg: var(--color-accent); --step-fg: var(--color-accent-content); } } & .step-info { & + .step-info:before, &:after, & > .step-icon { --step-bg: var(--color-info); --step-fg: var(--color-info-content); } } & .step-success { & + .step-success:before, &:after, & > .step-icon { --step-bg: var(--color-success); --step-fg: var(--color-success-content); } } & .step-warning { & + .step-warning:before, &:after, & > .step-icon { --step-bg: var(--color-warning); --step-fg: var(--color-warning-content); } } & .step-error { & + .step-error:before, &:after, & > .step-icon { --step-bg: var(--color-error); --step-fg: var(--color-error-content); } } } } .xl\:steps-horizontal { @layer daisyui.l1.l2 { & { grid-auto-columns: 1fr; grid-auto-flow: column; display: inline-grid; overflow: auto hidden; } & .step { text-align: center; grid-template-rows: 40px 1fr; grid-template-columns: auto; place-items: center; min-width: 4rem; display: grid; &:before { width: 100%; height: 0.5rem; margin-inline-start: -100%; translate: 0; } [dir="rtl"] &:before { translate: 0; } } } } .xl\:steps-vertical { @layer daisyui.l1.l2 { & { grid-auto-rows: 1fr; grid-auto-flow: row; } & .step { grid-template-rows: auto; grid-template-columns: 40px 1fr; justify-items: start; gap: 0.5rem; min-height: 4rem; display: grid; &:before { width: 0.5rem; height: 100%; margin-inline-start: 50%; translate: -50% -50%; } [dir="rtl"] &:before { translate: 50% -50%; } } } } } @media (width>=1536px) { .\32 xl\:steps { @layer daisyui.l1.l2.l3 { & { counter-reset: step; grid-auto-columns: 1fr; grid-auto-flow: column; display: inline-grid; overflow: auto hidden; } & .step { text-align: center; --step-bg: var(--color-base-300); --step-fg: var(--color-base-content); grid-template-rows: 40px 1fr; grid-template-columns: auto; place-items: center; min-width: 4rem; display: grid; &:before { width: 100%; height: 0.5rem; color: var(--step-bg); background-color: var(--step-bg); content: ""; border: 1px solid; grid-row-start: 1; grid-column-start: 1; margin-inline-start: -100%; top: 0; } & > .step-icon, &:not(:has(.step-icon)):after { --tw-content: counter(step); content: var(--tw-content); counter-increment: step; z-index: 1; color: var(--step-fg); background-color: var(--step-bg); border: 1px solid var(--step-bg); border-radius: 3.40282e38px; grid-row-start: 1; grid-column-start: 1; place-self: center; place-items: center; width: 2rem; height: 2rem; display: grid; position: relative; } &:first-child:before { --tw-content: none; content: var(--tw-content); } &[data-content]:after { --tw-content: attr(data-content); content: var(--tw-content); } } } @layer daisyui.l1.l2 { & .step-neutral { & + .step-neutral:before, &:after, & > .step-icon { --step-bg: var(--color-neutral); --step-fg: var(--color-neutral-content); } } & .step-primary { & + .step-primary:before, &:after, & > .step-icon { --step-bg: var(--color-primary); --step-fg: var(--color-primary-content); } } & .step-secondary { & + .step-secondary:before, &:after, & > .step-icon { --step-bg: var(--color-secondary); --step-fg: var(--color-secondary-content); } } & .step-accent { & + .step-accent:before, &:after, & > .step-icon { --step-bg: var(--color-accent); --step-fg: var(--color-accent-content); } } & .step-info { & + .step-info:before, &:after, & > .step-icon { --step-bg: var(--color-info); --step-fg: var(--color-info-content); } } & .step-success { & + .step-success:before, &:after, & > .step-icon { --step-bg: var(--color-success); --step-fg: var(--color-success-content); } } & .step-warning { & + .step-warning:before, &:after, & > .step-icon { --step-bg: var(--color-warning); --step-fg: var(--color-warning-content); } } & .step-error { & + .step-error:before, &:after, & > .step-icon { --step-bg: var(--color-error); --step-fg: var(--color-error-content); } } } } .\32 xl\:steps-horizontal { @layer daisyui.l1.l2 { & { grid-auto-columns: 1fr; grid-auto-flow: column; display: inline-grid; overflow: auto hidden; } & .step { text-align: center; grid-template-rows: 40px 1fr; grid-template-columns: auto; place-items: center; min-width: 4rem; display: grid; &:before { width: 100%; height: 0.5rem; margin-inline-start: -100%; translate: 0; } [dir="rtl"] &:before { translate: 0; } } } } .\32 xl\:steps-vertical { @layer daisyui.l1.l2 { & { grid-auto-rows: 1fr; grid-auto-flow: row; } & .step { grid-template-rows: auto; grid-template-columns: 40px 1fr; justify-items: start; gap: 0.5rem; min-height: 4rem; display: grid; &:before { width: 0.5rem; height: 100%; margin-inline-start: 50%; translate: -50% -50%; } [dir="rtl"] &:before { translate: 50% -50%; } } } } } .hover-gallery { @layer daisyui.l1.l2.l3 { & { --items: 1; grid-template-columns: repeat(var(--items), 1fr); gap: 1px; width: 100%; overflow: hidden; } &, &:is(figure) { display: inline-grid; } &:has(> :nth-child(3)) { --items: 2; } &:has(> :nth-child(4)) { --items: 3; } &:has(> :nth-child(5)) { --items: 4; } &:has(> :nth-child(6)) { --items: 5; } &:has(> :nth-child(7)) { --items: 6; } &:has(> :nth-child(8)) { --items: 7; } &:has(> :nth-child(9)) { --items: 8; } &:has(> :nth-child(10)) { --items: 9; } & > * { opacity: 0; object-fit: cover; grid-row: 1; width: 100%; height: 100%; &:first-child { opacity: 1; grid-column: 1/-1; } &:nth-child(2) { grid-column: 1; } &:nth-child(3) { grid-column: 2; } &:nth-child(4) { grid-column: 3; } &:nth-child(5) { grid-column: 4; } &:nth-child(6) { grid-column: 5; } &:nth-child(7) { grid-column: 6; } &:nth-child(8) { grid-column: 7; } &:nth-child(9) { grid-column: 8; } &:nth-child(10) { grid-column: 9; } &:nth-child(n + 11) { display: none; } } & > :hover { opacity: 1; grid-column: 1/-1; } &:has(:hover) { & > :first-child { display: none; } } } } @media (width>=640px) { .sm\:hover-gallery { @layer daisyui.l1.l2.l3 { & { --items: 1; grid-template-columns: repeat(var(--items), 1fr); gap: 1px; width: 100%; overflow: hidden; } &, &:is(figure) { display: inline-grid; } &:has(> :nth-child(3)) { --items: 2; } &:has(> :nth-child(4)) { --items: 3; } &:has(> :nth-child(5)) { --items: 4; } &:has(> :nth-child(6)) { --items: 5; } &:has(> :nth-child(7)) { --items: 6; } &:has(> :nth-child(8)) { --items: 7; } &:has(> :nth-child(9)) { --items: 8; } &:has(> :nth-child(10)) { --items: 9; } & > * { opacity: 0; object-fit: cover; grid-row: 1; width: 100%; height: 100%; &:first-child { opacity: 1; grid-column: 1/-1; } &:nth-child(2) { grid-column: 1; } &:nth-child(3) { grid-column: 2; } &:nth-child(4) { grid-column: 3; } &:nth-child(5) { grid-column: 4; } &:nth-child(6) { grid-column: 5; } &:nth-child(7) { grid-column: 6; } &:nth-child(8) { grid-column: 7; } &:nth-child(9) { grid-column: 8; } &:nth-child(10) { grid-column: 9; } &:nth-child(n + 11) { display: none; } } & > :hover { opacity: 1; grid-column: 1/-1; } &:has(:hover) { & > :first-child { display: none; } } } } } @media (width>=768px) { .md\:hover-gallery { @layer daisyui.l1.l2.l3 { & { --items: 1; grid-template-columns: repeat(var(--items), 1fr); gap: 1px; width: 100%; overflow: hidden; } &, &:is(figure) { display: inline-grid; } &:has(> :nth-child(3)) { --items: 2; } &:has(> :nth-child(4)) { --items: 3; } &:has(> :nth-child(5)) { --items: 4; } &:has(> :nth-child(6)) { --items: 5; } &:has(> :nth-child(7)) { --items: 6; } &:has(> :nth-child(8)) { --items: 7; } &:has(> :nth-child(9)) { --items: 8; } &:has(> :nth-child(10)) { --items: 9; } & > * { opacity: 0; object-fit: cover; grid-row: 1; width: 100%; height: 100%; &:first-child { opacity: 1; grid-column: 1/-1; } &:nth-child(2) { grid-column: 1; } &:nth-child(3) { grid-column: 2; } &:nth-child(4) { grid-column: 3; } &:nth-child(5) { grid-column: 4; } &:nth-child(6) { grid-column: 5; } &:nth-child(7) { grid-column: 6; } &:nth-child(8) { grid-column: 7; } &:nth-child(9) { grid-column: 8; } &:nth-child(10) { grid-column: 9; } &:nth-child(n + 11) { display: none; } } & > :hover { opacity: 1; grid-column: 1/-1; } &:has(:hover) { & > :first-child { display: none; } } } } } @media (width>=1024px) { .lg\:hover-gallery { @layer daisyui.l1.l2.l3 { & { --items: 1; grid-template-columns: repeat(var(--items), 1fr); gap: 1px; width: 100%; overflow: hidden; } &, &:is(figure) { display: inline-grid; } &:has(> :nth-child(3)) { --items: 2; } &:has(> :nth-child(4)) { --items: 3; } &:has(> :nth-child(5)) { --items: 4; } &:has(> :nth-child(6)) { --items: 5; } &:has(> :nth-child(7)) { --items: 6; } &:has(> :nth-child(8)) { --items: 7; } &:has(> :nth-child(9)) { --items: 8; } &:has(> :nth-child(10)) { --items: 9; } & > * { opacity: 0; object-fit: cover; grid-row: 1; width: 100%; height: 100%; &:first-child { opacity: 1; grid-column: 1/-1; } &:nth-child(2) { grid-column: 1; } &:nth-child(3) { grid-column: 2; } &:nth-child(4) { grid-column: 3; } &:nth-child(5) { grid-column: 4; } &:nth-child(6) { grid-column: 5; } &:nth-child(7) { grid-column: 6; } &:nth-child(8) { grid-column: 7; } &:nth-child(9) { grid-column: 8; } &:nth-child(10) { grid-column: 9; } &:nth-child(n + 11) { display: none; } } & > :hover { opacity: 1; grid-column: 1/-1; } &:has(:hover) { & > :first-child { display: none; } } } } } @media (width>=1280px) { .xl\:hover-gallery { @layer daisyui.l1.l2.l3 { & { --items: 1; grid-template-columns: repeat(var(--items), 1fr); gap: 1px; width: 100%; overflow: hidden; } &, &:is(figure) { display: inline-grid; } &:has(> :nth-child(3)) { --items: 2; } &:has(> :nth-child(4)) { --items: 3; } &:has(> :nth-child(5)) { --items: 4; } &:has(> :nth-child(6)) { --items: 5; } &:has(> :nth-child(7)) { --items: 6; } &:has(> :nth-child(8)) { --items: 7; } &:has(> :nth-child(9)) { --items: 8; } &:has(> :nth-child(10)) { --items: 9; } & > * { opacity: 0; object-fit: cover; grid-row: 1; width: 100%; height: 100%; &:first-child { opacity: 1; grid-column: 1/-1; } &:nth-child(2) { grid-column: 1; } &:nth-child(3) { grid-column: 2; } &:nth-child(4) { grid-column: 3; } &:nth-child(5) { grid-column: 4; } &:nth-child(6) { grid-column: 5; } &:nth-child(7) { grid-column: 6; } &:nth-child(8) { grid-column: 7; } &:nth-child(9) { grid-column: 8; } &:nth-child(10) { grid-column: 9; } &:nth-child(n + 11) { display: none; } } & > :hover { opacity: 1; grid-column: 1/-1; } &:has(:hover) { & > :first-child { display: none; } } } } } @media (width>=1536px) { .\32 xl\:hover-gallery { @layer daisyui.l1.l2.l3 { & { --items: 1; grid-template-columns: repeat(var(--items), 1fr); gap: 1px; width: 100%; overflow: hidden; } &, &:is(figure) { display: inline-grid; } &:has(> :nth-child(3)) { --items: 2; } &:has(> :nth-child(4)) { --items: 3; } &:has(> :nth-child(5)) { --items: 4; } &:has(> :nth-child(6)) { --items: 5; } &:has(> :nth-child(7)) { --items: 6; } &:has(> :nth-child(8)) { --items: 7; } &:has(> :nth-child(9)) { --items: 8; } &:has(> :nth-child(10)) { --items: 9; } & > * { opacity: 0; object-fit: cover; grid-row: 1; width: 100%; height: 100%; &:first-child { opacity: 1; grid-column: 1/-1; } &:nth-child(2) { grid-column: 1; } &:nth-child(3) { grid-column: 2; } &:nth-child(4) { grid-column: 3; } &:nth-child(5) { grid-column: 4; } &:nth-child(6) { grid-column: 5; } &:nth-child(7) { grid-column: 6; } &:nth-child(8) { grid-column: 7; } &:nth-child(9) { grid-column: 8; } &:nth-child(10) { grid-column: 9; } &:nth-child(n + 11) { display: none; } } & > :hover { opacity: 1; grid-column: 1/-1; } &:has(:hover) { & > :first-child { display: none; } } } } } .loading { @layer daisyui.l1.l2.l3 { & { pointer-events: none; aspect-ratio: 1; vertical-align: middle; width: calc(var(--size-selector, 0.25rem) * 6); background-color: currentColor; display: inline-block; mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' stroke='black' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg transform-origin='center'%3E%3Ccircle cx='12' cy='12' r='9.5' fill='none' stroke-width='3' stroke-linecap='round'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 12 12' to='360 12 12' dur='2s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dasharray' values='0,150;42,150;42,150' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dashoffset' values='0;-16;-59' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/g%3E%3C/svg%3E"); mask-position: 50%; mask-size: 100%; mask-repeat: no-repeat; } } } .loading-spinner { @layer daisyui.l1.l2 { & { mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' stroke='black' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg transform-origin='center'%3E%3Ccircle cx='12' cy='12' r='9.5' fill='none' stroke-width='3' stroke-linecap='round'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 12 12' to='360 12 12' dur='2s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dasharray' values='0,150;42,150;42,150' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dashoffset' values='0;-16;-59' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/g%3E%3C/svg%3E"); } } } .loading-dots { @layer daisyui.l1.l2 { & { mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='4' cy='12' r='3'%3E%3Canimate attributeName='cy' values='12;6;12;12' keyTimes='0;0.286;0.571;1' dur='1.05s' repeatCount='indefinite' keySplines='.33,0,.66,.33;.33,.66,.66,1'/%3E%3C/circle%3E%3Ccircle cx='12' cy='12' r='3'%3E%3Canimate attributeName='cy' values='12;6;12;12' keyTimes='0;0.286;0.571;1' dur='1.05s' repeatCount='indefinite' keySplines='.33,0,.66,.33;.33,.66,.66,1' begin='0.1s'/%3E%3C/circle%3E%3Ccircle cx='20' cy='12' r='3'%3E%3Canimate attributeName='cy' values='12;6;12;12' keyTimes='0;0.286;0.571;1' dur='1.05s' repeatCount='indefinite' keySplines='.33,0,.66,.33;.33,.66,.66,1' begin='0.2s'/%3E%3C/circle%3E%3C/svg%3E"); } } } .loading-ring { @layer daisyui.l1.l2 { & { mask-image: url("data:image/svg+xml,%3Csvg width='44' height='44' viewBox='0 0 44 44' xmlns='http://www.w3.org/2000/svg' stroke='white'%3E%3Cg fill='none' fill-rule='evenodd' stroke-width='2'%3E%3Ccircle cx='22' cy='22' r='1'%3E%3Canimate attributeName='r' begin='0s' dur='1.8s' values='1;20' calcMode='spline' keyTimes='0;1' keySplines='0.165,0.84,0.44,1' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-opacity' begin='0s' dur='1.8s' values='1;0' calcMode='spline' keyTimes='0;1' keySplines='0.3,0.61,0.355,1' repeatCount='indefinite'/%3E%3C/circle%3E%3Ccircle cx='22' cy='22' r='1'%3E%3Canimate attributeName='r' begin='-0.9s' dur='1.8s' values='1;20' calcMode='spline' keyTimes='0;1' keySplines='0.165,0.84,0.44,1' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-opacity' begin='-0.9s' dur='1.8s' values='1;0' calcMode='spline' keyTimes='0;1' keySplines='0.3,0.61,0.355,1' repeatCount='indefinite'/%3E%3C/circle%3E%3C/g%3E%3C/svg%3E"); } } } .loading-ball { @layer daisyui.l1.l2 { & { mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cellipse cx='12' cy='5' rx='4' ry='4'%3E%3Canimate attributeName='cy' values='5;20;20.5;20;5' keyTimes='0;0.469;0.5;0.531;1' dur='.8s' repeatCount='indefinite' keySplines='.33,0,.66,.33;.33,.66,.66,1'/%3E%3Canimate attributeName='rx' values='4;4;4.8;4;4' keyTimes='0;0.469;0.5;0.531;1' dur='.8s' repeatCount='indefinite'/%3E%3Canimate attributeName='ry' values='4;4;3;4;4' keyTimes='0;0.469;0.5;0.531;1' dur='.8s' repeatCount='indefinite'/%3E%3C/ellipse%3E%3C/svg%3E"); } } } .loading-bars { @layer daisyui.l1.l2 { & { mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='1' y='1' width='6' height='22'%3E%3Canimate attributeName='y' values='1;5;1' keyTimes='0;0.938;1' dur='.8s' repeatCount='indefinite'/%3E%3Canimate attributeName='height' values='22;14;22' keyTimes='0;0.938;1' dur='.8s' repeatCount='indefinite'/%3E%3Canimate attributeName='opacity' values='1;0.2;1' keyTimes='0;0.938;1' dur='.8s' repeatCount='indefinite'/%3E%3C/rect%3E%3Crect x='9' y='1' width='6' height='22'%3E%3Canimate attributeName='y' values='1;5;1' keyTimes='0;0.938;1' dur='.8s' repeatCount='indefinite' begin='-0.65s'/%3E%3Canimate attributeName='height' values='22;14;22' keyTimes='0;0.938;1' dur='.8s' repeatCount='indefinite' begin='-0.65s'/%3E%3Canimate attributeName='opacity' values='1;0.2;1' keyTimes='0;0.938;1' dur='.8s' repeatCount='indefinite' begin='-0.65s'/%3E%3C/rect%3E%3Crect x='17' y='1' width='6' height='22'%3E%3Canimate attributeName='y' values='1;5;1' keyTimes='0;0.938;1' dur='.8s' repeatCount='indefinite' begin='-0.5s'/%3E%3Canimate attributeName='height' values='22;14;22' keyTimes='0;0.938;1' dur='.8s' repeatCount='indefinite' begin='-0.5s'/%3E%3Canimate attributeName='opacity' values='1;0.2;1' keyTimes='0;0.938;1' dur='.8s' repeatCount='indefinite' begin='-0.5s'/%3E%3C/rect%3E%3C/svg%3E"); } } } .loading-infinity { @layer daisyui.l1.l2 { & { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' style='shape-rendering:auto;' width='200px' height='200px' viewBox='0 0 100 100' preserveAspectRatio='xMidYMid'%3E%3Cpath fill='none' stroke='black' stroke-width='10' stroke-dasharray='205.271 51.318' d='M24.3 30C11.4 30 5 43.3 5 50s6.4 20 19.3 20c19.3 0 32.1-40 51.4-40C88.6 30 95 43.3 95 50s-6.4 20-19.3 20C56.4 70 43.6 30 24.3 30z' stroke-linecap='round' style='transform:scale(0.8);transform-origin:50px 50px'%3E%3Canimate attributeName='stroke-dashoffset' repeatCount='indefinite' dur='2s' keyTimes='0;1' values='0;256.589'/%3E%3C/path%3E%3C/svg%3E"); } } } .loading-xs { @layer daisyui.l1.l2 { & { width: calc(var(--size-selector, 0.25rem) * 4); } } } .loading-sm { @layer daisyui.l1.l2 { & { width: calc(var(--size-selector, 0.25rem) * 5); } } } .loading-md { @layer daisyui.l1.l2 { & { width: calc(var(--size-selector, 0.25rem) * 6); } } } .loading-lg { @layer daisyui.l1.l2 { & { width: calc(var(--size-selector, 0.25rem) * 7); } } } .loading-xl { @layer daisyui.l1.l2 { & { width: calc(var(--size-selector, 0.25rem) * 8); } } } .diff { @layer daisyui.l1.l2.l3 { & { -webkit-user-select: none; user-select: none; direction: ltr; grid-template-rows: 1fr 1.8rem 1fr; grid-template-columns: auto 1fr; width: 100%; display: grid; position: relative; overflow: hidden; container-type: inline-size; } &:focus-visible, &:has(.diff-item-1:focus-visible) { outline-style: var(--tw-outline-style); outline-offset: 1px; outline-width: 2px; outline-color: var(--color-base-content); } &:focus-visible { outline-style: var(--tw-outline-style); outline-offset: 1px; outline-width: 2px; outline-color: var(--color-base-content); & .diff-resizer { min-width: 95cqi; max-width: 95cqi; } } &:has(.diff-item-1:focus-visible) { outline-style: var(--tw-outline-style); outline-offset: 1px; outline-width: 2px; & .diff-resizer { min-width: 5cqi; max-width: 5cqi; } } @supports (-webkit-overflow-scrolling: touch) and (overflow: -webkit-paged-x) { &:focus { & .diff-resizer { min-width: 5cqi; max-width: 5cqi; } } &:has(.diff-item-1:focus) { & .diff-resizer { min-width: 95cqi; max-width: 95cqi; } } } } } .diff-resizer { @layer daisyui.l1.l2.l3 { & { isolation: isolate; z-index: 2; resize: horizontal; opacity: 0; cursor: ew-resize; transform-origin: 100% 100%; clip-path: inset(calc(100% - 0.75rem) 0 0 calc(100% - 0.75rem)); grid-row-start: 2; grid-column-start: 1; width: 50cqi; min-width: 1rem; max-width: calc(100cqi - 1rem); height: 0.75rem; transition: min-width 0.3s ease-out, max-width 0.3s ease-out; position: relative; overflow: hidden; transform: scaleY(5) translate(0.32rem, 50%); } } } .diff-item-2 { @layer daisyui.l1.l2.l3 { & { grid-row: 1 / span 3; grid-column-start: 1; position: relative; } &:after { pointer-events: none; z-index: 2; background-color: color-mix( in oklab, var(--color-base-100) 98%, transparent ); border: 2px solid var(--color-base-100); content: ""; outline: 1px solid color-mix(in oklab, var(--color-base-content) 10%, #0000); outline-offset: -3px; border: 0.5px solid #0000001f; border-radius: 3.40282e38px; width: 1.2rem; height: 1.8rem; position: absolute; top: 50%; bottom: 0; right: 1px; translate: 50% -50%; } & > * { pointer-events: none; object-fit: cover; object-position: center; width: 100cqi; max-width: none; height: 100%; position: absolute; top: 0; bottom: 0; left: 0; } @supports (-webkit-overflow-scrolling: touch) and (overflow: -webkit-paged-x) { &:after { --tw-content: none; content: var(--tw-content); } } } } .diff-item-1 { @layer daisyui.l1.l2.l3 { & { z-index: 1; border-right: 2px solid var(--color-base-100); grid-row: 1 / span 3; grid-column-start: 1; position: relative; overflow: hidden; } &:focus-visible { --tw-outline-style: none; outline-style: none; } & > * { pointer-events: none; object-fit: cover; object-position: center; width: 100cqi; max-width: none; height: 100%; position: absolute; top: 0; bottom: 0; left: 0; } } } @media (width>=640px) { .sm\:diff { @layer daisyui.l1.l2.l3 { & { -webkit-user-select: none; user-select: none; direction: ltr; grid-template-rows: 1fr 1.8rem 1fr; grid-template-columns: auto 1fr; width: 100%; display: grid; position: relative; overflow: hidden; container-type: inline-size; } &:focus-visible, &:has(.diff-item-1:focus-visible) { outline-style: var(--tw-outline-style); outline-offset: 1px; outline-width: 2px; outline-color: var(--color-base-content); } &:focus-visible { outline-style: var(--tw-outline-style); outline-offset: 1px; outline-width: 2px; outline-color: var(--color-base-content); & .diff-resizer { min-width: 95cqi; max-width: 95cqi; } } &:has(.diff-item-1:focus-visible) { outline-style: var(--tw-outline-style); outline-offset: 1px; outline-width: 2px; & .diff-resizer { min-width: 5cqi; max-width: 5cqi; } } @supports (-webkit-overflow-scrolling: touch) and (overflow: -webkit-paged-x) { &:focus { & .diff-resizer { min-width: 5cqi; max-width: 5cqi; } } &:has(.diff-item-1:focus) { & .diff-resizer { min-width: 95cqi; max-width: 95cqi; } } } } } .sm\:diff-resizer { @layer daisyui.l1.l2.l3 { & { isolation: isolate; z-index: 2; resize: horizontal; opacity: 0; cursor: ew-resize; transform-origin: 100% 100%; clip-path: inset(calc(100% - 0.75rem) 0 0 calc(100% - 0.75rem)); grid-row-start: 2; grid-column-start: 1; width: 50cqi; min-width: 1rem; max-width: calc(100cqi - 1rem); height: 0.75rem; transition: min-width 0.3s ease-out, max-width 0.3s ease-out; position: relative; overflow: hidden; transform: scaleY(5) translate(0.32rem, 50%); } } } .sm\:diff-item-2 { @layer daisyui.l1.l2.l3 { & { grid-row: 1 / span 3; grid-column-start: 1; position: relative; } &:after { pointer-events: none; z-index: 2; background-color: color-mix( in oklab, var(--color-base-100) 98%, transparent ); border: 2px solid var(--color-base-100); content: ""; outline: 1px solid color-mix(in oklab, var(--color-base-content) 10%, #0000); outline-offset: -3px; border: 0.5px solid #0000001f; border-radius: 3.40282e38px; width: 1.2rem; height: 1.8rem; position: absolute; top: 50%; bottom: 0; right: 1px; translate: 50% -50%; } & > * { pointer-events: none; object-fit: cover; object-position: center; width: 100cqi; max-width: none; height: 100%; position: absolute; top: 0; bottom: 0; left: 0; } @supports (-webkit-overflow-scrolling: touch) and (overflow: -webkit-paged-x) { &:after { --tw-content: none; content: var(--tw-content); } } } } .sm\:diff-item-1 { @layer daisyui.l1.l2.l3 { & { z-index: 1; border-right: 2px solid var(--color-base-100); grid-row: 1 / span 3; grid-column-start: 1; position: relative; overflow: hidden; } &:focus-visible { --tw-outline-style: none; outline-style: none; } & > * { pointer-events: none; object-fit: cover; object-position: center; width: 100cqi; max-width: none; height: 100%; position: absolute; top: 0; bottom: 0; left: 0; } } } } @media (width>=768px) { .md\:diff { @layer daisyui.l1.l2.l3 { & { -webkit-user-select: none; user-select: none; direction: ltr; grid-template-rows: 1fr 1.8rem 1fr; grid-template-columns: auto 1fr; width: 100%; display: grid; position: relative; overflow: hidden; container-type: inline-size; } &:focus-visible, &:has(.diff-item-1:focus-visible) { outline-style: var(--tw-outline-style); outline-offset: 1px; outline-width: 2px; outline-color: var(--color-base-content); } &:focus-visible { outline-style: var(--tw-outline-style); outline-offset: 1px; outline-width: 2px; outline-color: var(--color-base-content); & .diff-resizer { min-width: 95cqi; max-width: 95cqi; } } &:has(.diff-item-1:focus-visible) { outline-style: var(--tw-outline-style); outline-offset: 1px; outline-width: 2px; & .diff-resizer { min-width: 5cqi; max-width: 5cqi; } } @supports (-webkit-overflow-scrolling: touch) and (overflow: -webkit-paged-x) { &:focus { & .diff-resizer { min-width: 5cqi; max-width: 5cqi; } } &:has(.diff-item-1:focus) { & .diff-resizer { min-width: 95cqi; max-width: 95cqi; } } } } } .md\:diff-resizer { @layer daisyui.l1.l2.l3 { & { isolation: isolate; z-index: 2; resize: horizontal; opacity: 0; cursor: ew-resize; transform-origin: 100% 100%; clip-path: inset(calc(100% - 0.75rem) 0 0 calc(100% - 0.75rem)); grid-row-start: 2; grid-column-start: 1; width: 50cqi; min-width: 1rem; max-width: calc(100cqi - 1rem); height: 0.75rem; transition: min-width 0.3s ease-out, max-width 0.3s ease-out; position: relative; overflow: hidden; transform: scaleY(5) translate(0.32rem, 50%); } } } .md\:diff-item-2 { @layer daisyui.l1.l2.l3 { & { grid-row: 1 / span 3; grid-column-start: 1; position: relative; } &:after { pointer-events: none; z-index: 2; background-color: color-mix( in oklab, var(--color-base-100) 98%, transparent ); border: 2px solid var(--color-base-100); content: ""; outline: 1px solid color-mix(in oklab, var(--color-base-content) 10%, #0000); outline-offset: -3px; border: 0.5px solid #0000001f; border-radius: 3.40282e38px; width: 1.2rem; height: 1.8rem; position: absolute; top: 50%; bottom: 0; right: 1px; translate: 50% -50%; } & > * { pointer-events: none; object-fit: cover; object-position: center; width: 100cqi; max-width: none; height: 100%; position: absolute; top: 0; bottom: 0; left: 0; } @supports (-webkit-overflow-scrolling: touch) and (overflow: -webkit-paged-x) { &:after { --tw-content: none; content: var(--tw-content); } } } } .md\:diff-item-1 { @layer daisyui.l1.l2.l3 { & { z-index: 1; border-right: 2px solid var(--color-base-100); grid-row: 1 / span 3; grid-column-start: 1; position: relative; overflow: hidden; } &:focus-visible { --tw-outline-style: none; outline-style: none; } & > * { pointer-events: none; object-fit: cover; object-position: center; width: 100cqi; max-width: none; height: 100%; position: absolute; top: 0; bottom: 0; left: 0; } } } } @media (width>=1024px) { .lg\:diff { @layer daisyui.l1.l2.l3 { & { -webkit-user-select: none; user-select: none; direction: ltr; grid-template-rows: 1fr 1.8rem 1fr; grid-template-columns: auto 1fr; width: 100%; display: grid; position: relative; overflow: hidden; container-type: inline-size; } &:focus-visible, &:has(.diff-item-1:focus-visible) { outline-style: var(--tw-outline-style); outline-offset: 1px; outline-width: 2px; outline-color: var(--color-base-content); } &:focus-visible { outline-style: var(--tw-outline-style); outline-offset: 1px; outline-width: 2px; outline-color: var(--color-base-content); & .diff-resizer { min-width: 95cqi; max-width: 95cqi; } } &:has(.diff-item-1:focus-visible) { outline-style: var(--tw-outline-style); outline-offset: 1px; outline-width: 2px; & .diff-resizer { min-width: 5cqi; max-width: 5cqi; } } @supports (-webkit-overflow-scrolling: touch) and (overflow: -webkit-paged-x) { &:focus { & .diff-resizer { min-width: 5cqi; max-width: 5cqi; } } &:has(.diff-item-1:focus) { & .diff-resizer { min-width: 95cqi; max-width: 95cqi; } } } } } .lg\:diff-resizer { @layer daisyui.l1.l2.l3 { & { isolation: isolate; z-index: 2; resize: horizontal; opacity: 0; cursor: ew-resize; transform-origin: 100% 100%; clip-path: inset(calc(100% - 0.75rem) 0 0 calc(100% - 0.75rem)); grid-row-start: 2; grid-column-start: 1; width: 50cqi; min-width: 1rem; max-width: calc(100cqi - 1rem); height: 0.75rem; transition: min-width 0.3s ease-out, max-width 0.3s ease-out; position: relative; overflow: hidden; transform: scaleY(5) translate(0.32rem, 50%); } } } .lg\:diff-item-2 { @layer daisyui.l1.l2.l3 { & { grid-row: 1 / span 3; grid-column-start: 1; position: relative; } &:after { pointer-events: none; z-index: 2; background-color: color-mix( in oklab, var(--color-base-100) 98%, transparent ); border: 2px solid var(--color-base-100); content: ""; outline: 1px solid color-mix(in oklab, var(--color-base-content) 10%, #0000); outline-offset: -3px; border: 0.5px solid #0000001f; border-radius: 3.40282e38px; width: 1.2rem; height: 1.8rem; position: absolute; top: 50%; bottom: 0; right: 1px; translate: 50% -50%; } & > * { pointer-events: none; object-fit: cover; object-position: center; width: 100cqi; max-width: none; height: 100%; position: absolute; top: 0; bottom: 0; left: 0; } @supports (-webkit-overflow-scrolling: touch) and (overflow: -webkit-paged-x) { &:after { --tw-content: none; content: var(--tw-content); } } } } .lg\:diff-item-1 { @layer daisyui.l1.l2.l3 { & { z-index: 1; border-right: 2px solid var(--color-base-100); grid-row: 1 / span 3; grid-column-start: 1; position: relative; overflow: hidden; } &:focus-visible { --tw-outline-style: none; outline-style: none; } & > * { pointer-events: none; object-fit: cover; object-position: center; width: 100cqi; max-width: none; height: 100%; position: absolute; top: 0; bottom: 0; left: 0; } } } } @media (width>=1280px) { .xl\:diff { @layer daisyui.l1.l2.l3 { & { -webkit-user-select: none; user-select: none; direction: ltr; grid-template-rows: 1fr 1.8rem 1fr; grid-template-columns: auto 1fr; width: 100%; display: grid; position: relative; overflow: hidden; container-type: inline-size; } &:focus-visible, &:has(.diff-item-1:focus-visible) { outline-style: var(--tw-outline-style); outline-offset: 1px; outline-width: 2px; outline-color: var(--color-base-content); } &:focus-visible { outline-style: var(--tw-outline-style); outline-offset: 1px; outline-width: 2px; outline-color: var(--color-base-content); & .diff-resizer { min-width: 95cqi; max-width: 95cqi; } } &:has(.diff-item-1:focus-visible) { outline-style: var(--tw-outline-style); outline-offset: 1px; outline-width: 2px; & .diff-resizer { min-width: 5cqi; max-width: 5cqi; } } @supports (-webkit-overflow-scrolling: touch) and (overflow: -webkit-paged-x) { &:focus { & .diff-resizer { min-width: 5cqi; max-width: 5cqi; } } &:has(.diff-item-1:focus) { & .diff-resizer { min-width: 95cqi; max-width: 95cqi; } } } } } .xl\:diff-resizer { @layer daisyui.l1.l2.l3 { & { isolation: isolate; z-index: 2; resize: horizontal; opacity: 0; cursor: ew-resize; transform-origin: 100% 100%; clip-path: inset(calc(100% - 0.75rem) 0 0 calc(100% - 0.75rem)); grid-row-start: 2; grid-column-start: 1; width: 50cqi; min-width: 1rem; max-width: calc(100cqi - 1rem); height: 0.75rem; transition: min-width 0.3s ease-out, max-width 0.3s ease-out; position: relative; overflow: hidden; transform: scaleY(5) translate(0.32rem, 50%); } } } .xl\:diff-item-2 { @layer daisyui.l1.l2.l3 { & { grid-row: 1 / span 3; grid-column-start: 1; position: relative; } &:after { pointer-events: none; z-index: 2; background-color: color-mix( in oklab, var(--color-base-100) 98%, transparent ); border: 2px solid var(--color-base-100); content: ""; outline: 1px solid color-mix(in oklab, var(--color-base-content) 10%, #0000); outline-offset: -3px; border: 0.5px solid #0000001f; border-radius: 3.40282e38px; width: 1.2rem; height: 1.8rem; position: absolute; top: 50%; bottom: 0; right: 1px; translate: 50% -50%; } & > * { pointer-events: none; object-fit: cover; object-position: center; width: 100cqi; max-width: none; height: 100%; position: absolute; top: 0; bottom: 0; left: 0; } @supports (-webkit-overflow-scrolling: touch) and (overflow: -webkit-paged-x) { &:after { --tw-content: none; content: var(--tw-content); } } } } .xl\:diff-item-1 { @layer daisyui.l1.l2.l3 { & { z-index: 1; border-right: 2px solid var(--color-base-100); grid-row: 1 / span 3; grid-column-start: 1; position: relative; overflow: hidden; } &:focus-visible { --tw-outline-style: none; outline-style: none; } & > * { pointer-events: none; object-fit: cover; object-position: center; width: 100cqi; max-width: none; height: 100%; position: absolute; top: 0; bottom: 0; left: 0; } } } } @media (width>=1536px) { .\32 xl\:diff { @layer daisyui.l1.l2.l3 { & { -webkit-user-select: none; user-select: none; direction: ltr; grid-template-rows: 1fr 1.8rem 1fr; grid-template-columns: auto 1fr; width: 100%; display: grid; position: relative; overflow: hidden; container-type: inline-size; } &:focus-visible, &:has(.diff-item-1:focus-visible) { outline-style: var(--tw-outline-style); outline-offset: 1px; outline-width: 2px; outline-color: var(--color-base-content); } &:focus-visible { outline-style: var(--tw-outline-style); outline-offset: 1px; outline-width: 2px; outline-color: var(--color-base-content); & .diff-resizer { min-width: 95cqi; max-width: 95cqi; } } &:has(.diff-item-1:focus-visible) { outline-style: var(--tw-outline-style); outline-offset: 1px; outline-width: 2px; & .diff-resizer { min-width: 5cqi; max-width: 5cqi; } } @supports (-webkit-overflow-scrolling: touch) and (overflow: -webkit-paged-x) { &:focus { & .diff-resizer { min-width: 5cqi; max-width: 5cqi; } } &:has(.diff-item-1:focus) { & .diff-resizer { min-width: 95cqi; max-width: 95cqi; } } } } } .\32 xl\:diff-resizer { @layer daisyui.l1.l2.l3 { & { isolation: isolate; z-index: 2; resize: horizontal; opacity: 0; cursor: ew-resize; transform-origin: 100% 100%; clip-path: inset(calc(100% - 0.75rem) 0 0 calc(100% - 0.75rem)); grid-row-start: 2; grid-column-start: 1; width: 50cqi; min-width: 1rem; max-width: calc(100cqi - 1rem); height: 0.75rem; transition: min-width 0.3s ease-out, max-width 0.3s ease-out; position: relative; overflow: hidden; transform: scaleY(5) translate(0.32rem, 50%); } } } .\32 xl\:diff-item-2 { @layer daisyui.l1.l2.l3 { & { grid-row: 1 / span 3; grid-column-start: 1; position: relative; } &:after { pointer-events: none; z-index: 2; background-color: color-mix( in oklab, var(--color-base-100) 98%, transparent ); border: 2px solid var(--color-base-100); content: ""; outline: 1px solid color-mix(in oklab, var(--color-base-content) 10%, #0000); outline-offset: -3px; border: 0.5px solid #0000001f; border-radius: 3.40282e38px; width: 1.2rem; height: 1.8rem; position: absolute; top: 50%; bottom: 0; right: 1px; translate: 50% -50%; } & > * { pointer-events: none; object-fit: cover; object-position: center; width: 100cqi; max-width: none; height: 100%; position: absolute; top: 0; bottom: 0; left: 0; } @supports (-webkit-overflow-scrolling: touch) and (overflow: -webkit-paged-x) { &:after { --tw-content: none; content: var(--tw-content); } } } } .\32 xl\:diff-item-1 { @layer daisyui.l1.l2.l3 { & { z-index: 1; border-right: 2px solid var(--color-base-100); grid-row: 1 / span 3; grid-column-start: 1; position: relative; overflow: hidden; } &:focus-visible { --tw-outline-style: none; outline-style: none; } & > * { pointer-events: none; object-fit: cover; object-position: center; width: 100cqi; max-width: none; height: 100%; position: absolute; top: 0; bottom: 0; left: 0; } } } } .text-rotate { height: 1lh; @layer daisyui.l1.l2.l3 { & { vertical-align: bottom; white-space: nowrap; --duration: var(--tw-duration); transition-property: none; display: inline-block; overflow: hidden; } & > * { height: calc(var(--items, 1) * 100%); justify-items: start; display: grid; &:has(:nth-child(2)) { --items: 2; animation: rotator var(--duration, 10s) linear(0 0% 49%, 0.5 50% 99%, 1 100% 100%) infinite; } &:has(:nth-child(3)) { --items: 3; animation: rotator var(--duration, 10s) linear(0 0% 32%, 0.333333 33% 65%, 0.666666 66% 99%, 1 100% 100%) infinite; } &:has(:nth-child(4)) { --items: 4; animation: rotator var(--duration, 10s) linear( 0 0% 24%, 0.25 25% 49%, 0.5 50% 74%, 0.75 75% 99%, 1 100% 100% ) infinite; } &:has(:nth-child(5)) { --items: 5; animation: rotator var(--duration, 10s) linear( 0 0% 19%, 0.2 20% 39%, 0.4 40% 59%, 0.6 60% 79%, 0.8 80% 99%, 1 100% 100% ) infinite; } &:has(:nth-child(6)) { --items: 6; animation: rotator var(--duration, 10s) linear( 0 0% 15%, 0.16666 16% 32%, 0.333333 33% 49%, 0.5 50% 65%, 0.666666 66% 82%, 0.833333 83% 99%, 1 100% 100% ) infinite; } & > * { clip-path: inset(0.5px 0); align-content: baseline; &:first-child { translate: var(--first-item-position); } } } &:hover { & > * { animation-play-state: paused; } } } } @keyframes rotator { 89.9999%, to { --first-item-position: 0 0%; } 90%, 99.9999% { --first-item-position: 0 calc(var(--items) * 100%); } to { translate: 0 -100%; } } .filter { @layer daisyui.l1.l2.l3 { & { flex-wrap: wrap; display: flex; } & input[type="radio"] { width: auto; } & input { opacity: 1; transition: margin 0.1s, opacity 0.3s, padding 0.3s, border-width 0.1s; overflow: hidden; scale: 1; &:not(:last-child) { margin-inline-end: 0.25rem; } &.filter-reset { aspect-ratio: 1; &:after { --tw-content: "×"; content: var(--tw-content); } } } &:not(:has(input:checked:not(.filter-reset))) { & .filter-reset, & input[type="reset"] { opacity: 0; border-width: 0; width: 0; margin-inline: 0; padding-inline: 0; scale: 0; } } &:has(input:checked:not(.filter-reset)) { & input:not(:checked, .filter-reset, input[type="reset"]) { opacity: 0; border-width: 0; width: 0; margin-inline: 0; padding-inline: 0; scale: 0; } } } } .badge { @layer daisyui.l1.l2.l3 { & { border-radius: var(--radius-selector); vertical-align: middle; color: var(--badge-fg); border: var(--border) solid var(--badge-color, var(--color-base-200)); 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); justify-content: center; align-items: center; gap: 0.5rem; font-size: 0.875rem; display: inline-flex; } } } .badge-outline { @layer daisyui.l1.l2 { & { color: var(--badge-color); --badge-bg: #0000; background-image: none; border-color: currentColor; } } } .badge-dash { @layer daisyui.l1.l2 { & { color: var(--badge-color); --badge-bg: #0000; background-image: none; border-style: dashed; border-color: currentColor; } } } .badge-soft { @layer daisyui.l1.l2 { & { 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; } } } .badge-primary { @layer daisyui.l1.l2 { & { --badge-color: var(--color-primary); --badge-fg: var(--color-primary-content); } } } .badge-secondary { @layer daisyui.l1.l2 { & { --badge-color: var(--color-secondary); --badge-fg: var(--color-secondary-content); } } } .badge-accent { @layer daisyui.l1.l2 { & { --badge-color: var(--color-accent); --badge-fg: var(--color-accent-content); } } } .badge-neutral { @layer daisyui.l1.l2 { & { --badge-color: var(--color-neutral); --badge-fg: var(--color-neutral-content); } } } .badge-info { @layer daisyui.l1.l2 { & { --badge-color: var(--color-info); --badge-fg: var(--color-info-content); } } } .badge-success { @layer daisyui.l1.l2 { & { --badge-color: var(--color-success); --badge-fg: var(--color-success-content); } } } .badge-warning { @layer daisyui.l1.l2 { & { --badge-color: var(--color-warning); --badge-fg: var(--color-warning-content); } } } .badge-error { @layer daisyui.l1.l2 { & { --badge-color: var(--color-error); --badge-fg: var(--color-error-content); } } } .badge-ghost { @layer daisyui.l1.l2 { & { border-color: var(--color-base-200); background-color: var(--color-base-200); color: var(--color-base-content); background-image: none; } } } .badge-xs { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 4); padding-inline: calc(0.25rem * 2 - var(--border)); font-size: 0.625rem; } } } .badge-sm { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 5); padding-inline: calc(0.25rem * 2.5 - var(--border)); font-size: 0.75rem; } } } .badge-md { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 6); padding-inline: calc(0.25rem * 3 - var(--border)); font-size: 0.875rem; } } } .badge-lg { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 7); padding-inline: calc(0.25rem * 3.5 - var(--border)); font-size: 1rem; } } } .badge-xl { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 8); padding-inline: calc(0.25rem * 4 - var(--border)); font-size: 1.125rem; } } } @media (width>=640px) { .sm\:badge { @layer daisyui.l1.l2.l3 { & { border-radius: var(--radius-selector); vertical-align: middle; color: var(--badge-fg); border: var(--border) solid var(--badge-color, var(--color-base-200)); 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); justify-content: center; align-items: center; gap: 0.5rem; font-size: 0.875rem; display: inline-flex; } } } .sm\:badge-outline { @layer daisyui.l1.l2 { & { color: var(--badge-color); --badge-bg: #0000; background-image: none; border-color: currentColor; } } } .sm\:badge-dash { @layer daisyui.l1.l2 { & { color: var(--badge-color); --badge-bg: #0000; background-image: none; border-style: dashed; border-color: currentColor; } } } .sm\:badge-soft { @layer daisyui.l1.l2 { & { 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; } } } .sm\:badge-primary { @layer daisyui.l1.l2 { & { --badge-color: var(--color-primary); --badge-fg: var(--color-primary-content); } } } .sm\:badge-secondary { @layer daisyui.l1.l2 { & { --badge-color: var(--color-secondary); --badge-fg: var(--color-secondary-content); } } } .sm\:badge-accent { @layer daisyui.l1.l2 { & { --badge-color: var(--color-accent); --badge-fg: var(--color-accent-content); } } } .sm\:badge-neutral { @layer daisyui.l1.l2 { & { --badge-color: var(--color-neutral); --badge-fg: var(--color-neutral-content); } } } .sm\:badge-info { @layer daisyui.l1.l2 { & { --badge-color: var(--color-info); --badge-fg: var(--color-info-content); } } } .sm\:badge-success { @layer daisyui.l1.l2 { & { --badge-color: var(--color-success); --badge-fg: var(--color-success-content); } } } .sm\:badge-warning { @layer daisyui.l1.l2 { & { --badge-color: var(--color-warning); --badge-fg: var(--color-warning-content); } } } .sm\:badge-error { @layer daisyui.l1.l2 { & { --badge-color: var(--color-error); --badge-fg: var(--color-error-content); } } } .sm\:badge-ghost { @layer daisyui.l1.l2 { & { border-color: var(--color-base-200); background-color: var(--color-base-200); color: var(--color-base-content); background-image: none; } } } .sm\:badge-xs { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 4); padding-inline: calc(0.25rem * 2 - var(--border)); font-size: 0.625rem; } } } .sm\:badge-sm { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 5); padding-inline: calc(0.25rem * 2.5 - var(--border)); font-size: 0.75rem; } } } .sm\:badge-md { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 6); padding-inline: calc(0.25rem * 3 - var(--border)); font-size: 0.875rem; } } } .sm\:badge-lg { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 7); padding-inline: calc(0.25rem * 3.5 - var(--border)); font-size: 1rem; } } } .sm\:badge-xl { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 8); padding-inline: calc(0.25rem * 4 - var(--border)); font-size: 1.125rem; } } } } @media (width>=768px) { .md\:badge { @layer daisyui.l1.l2.l3 { & { border-radius: var(--radius-selector); vertical-align: middle; color: var(--badge-fg); border: var(--border) solid var(--badge-color, var(--color-base-200)); 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); justify-content: center; align-items: center; gap: 0.5rem; font-size: 0.875rem; display: inline-flex; } } } .md\:badge-outline { @layer daisyui.l1.l2 { & { color: var(--badge-color); --badge-bg: #0000; background-image: none; border-color: currentColor; } } } .md\:badge-dash { @layer daisyui.l1.l2 { & { color: var(--badge-color); --badge-bg: #0000; background-image: none; border-style: dashed; border-color: currentColor; } } } .md\:badge-soft { @layer daisyui.l1.l2 { & { 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; } } } .md\:badge-primary { @layer daisyui.l1.l2 { & { --badge-color: var(--color-primary); --badge-fg: var(--color-primary-content); } } } .md\:badge-secondary { @layer daisyui.l1.l2 { & { --badge-color: var(--color-secondary); --badge-fg: var(--color-secondary-content); } } } .md\:badge-accent { @layer daisyui.l1.l2 { & { --badge-color: var(--color-accent); --badge-fg: var(--color-accent-content); } } } .md\:badge-neutral { @layer daisyui.l1.l2 { & { --badge-color: var(--color-neutral); --badge-fg: var(--color-neutral-content); } } } .md\:badge-info { @layer daisyui.l1.l2 { & { --badge-color: var(--color-info); --badge-fg: var(--color-info-content); } } } .md\:badge-success { @layer daisyui.l1.l2 { & { --badge-color: var(--color-success); --badge-fg: var(--color-success-content); } } } .md\:badge-warning { @layer daisyui.l1.l2 { & { --badge-color: var(--color-warning); --badge-fg: var(--color-warning-content); } } } .md\:badge-error { @layer daisyui.l1.l2 { & { --badge-color: var(--color-error); --badge-fg: var(--color-error-content); } } } .md\:badge-ghost { @layer daisyui.l1.l2 { & { border-color: var(--color-base-200); background-color: var(--color-base-200); color: var(--color-base-content); background-image: none; } } } .md\:badge-xs { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 4); padding-inline: calc(0.25rem * 2 - var(--border)); font-size: 0.625rem; } } } .md\:badge-sm { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 5); padding-inline: calc(0.25rem * 2.5 - var(--border)); font-size: 0.75rem; } } } .md\:badge-md { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 6); padding-inline: calc(0.25rem * 3 - var(--border)); font-size: 0.875rem; } } } .md\:badge-lg { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 7); padding-inline: calc(0.25rem * 3.5 - var(--border)); font-size: 1rem; } } } .md\:badge-xl { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 8); padding-inline: calc(0.25rem * 4 - var(--border)); font-size: 1.125rem; } } } } @media (width>=1024px) { .lg\:badge { @layer daisyui.l1.l2.l3 { & { border-radius: var(--radius-selector); vertical-align: middle; color: var(--badge-fg); border: var(--border) solid var(--badge-color, var(--color-base-200)); 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); justify-content: center; align-items: center; gap: 0.5rem; font-size: 0.875rem; display: inline-flex; } } } .lg\:badge-outline { @layer daisyui.l1.l2 { & { color: var(--badge-color); --badge-bg: #0000; background-image: none; border-color: currentColor; } } } .lg\:badge-dash { @layer daisyui.l1.l2 { & { color: var(--badge-color); --badge-bg: #0000; background-image: none; border-style: dashed; border-color: currentColor; } } } .lg\:badge-soft { @layer daisyui.l1.l2 { & { 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; } } } .lg\:badge-primary { @layer daisyui.l1.l2 { & { --badge-color: var(--color-primary); --badge-fg: var(--color-primary-content); } } } .lg\:badge-secondary { @layer daisyui.l1.l2 { & { --badge-color: var(--color-secondary); --badge-fg: var(--color-secondary-content); } } } .lg\:badge-accent { @layer daisyui.l1.l2 { & { --badge-color: var(--color-accent); --badge-fg: var(--color-accent-content); } } } .lg\:badge-neutral { @layer daisyui.l1.l2 { & { --badge-color: var(--color-neutral); --badge-fg: var(--color-neutral-content); } } } .lg\:badge-info { @layer daisyui.l1.l2 { & { --badge-color: var(--color-info); --badge-fg: var(--color-info-content); } } } .lg\:badge-success { @layer daisyui.l1.l2 { & { --badge-color: var(--color-success); --badge-fg: var(--color-success-content); } } } .lg\:badge-warning { @layer daisyui.l1.l2 { & { --badge-color: var(--color-warning); --badge-fg: var(--color-warning-content); } } } .lg\:badge-error { @layer daisyui.l1.l2 { & { --badge-color: var(--color-error); --badge-fg: var(--color-error-content); } } } .lg\:badge-ghost { @layer daisyui.l1.l2 { & { border-color: var(--color-base-200); background-color: var(--color-base-200); color: var(--color-base-content); background-image: none; } } } .lg\:badge-xs { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 4); padding-inline: calc(0.25rem * 2 - var(--border)); font-size: 0.625rem; } } } .lg\:badge-sm { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 5); padding-inline: calc(0.25rem * 2.5 - var(--border)); font-size: 0.75rem; } } } .lg\:badge-md { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 6); padding-inline: calc(0.25rem * 3 - var(--border)); font-size: 0.875rem; } } } .lg\:badge-lg { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 7); padding-inline: calc(0.25rem * 3.5 - var(--border)); font-size: 1rem; } } } .lg\:badge-xl { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 8); padding-inline: calc(0.25rem * 4 - var(--border)); font-size: 1.125rem; } } } } @media (width>=1280px) { .xl\:badge { @layer daisyui.l1.l2.l3 { & { border-radius: var(--radius-selector); vertical-align: middle; color: var(--badge-fg); border: var(--border) solid var(--badge-color, var(--color-base-200)); 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); justify-content: center; align-items: center; gap: 0.5rem; font-size: 0.875rem; display: inline-flex; } } } .xl\:badge-outline { @layer daisyui.l1.l2 { & { color: var(--badge-color); --badge-bg: #0000; background-image: none; border-color: currentColor; } } } .xl\:badge-dash { @layer daisyui.l1.l2 { & { color: var(--badge-color); --badge-bg: #0000; background-image: none; border-style: dashed; border-color: currentColor; } } } .xl\:badge-soft { @layer daisyui.l1.l2 { & { 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; } } } .xl\:badge-primary { @layer daisyui.l1.l2 { & { --badge-color: var(--color-primary); --badge-fg: var(--color-primary-content); } } } .xl\:badge-secondary { @layer daisyui.l1.l2 { & { --badge-color: var(--color-secondary); --badge-fg: var(--color-secondary-content); } } } .xl\:badge-accent { @layer daisyui.l1.l2 { & { --badge-color: var(--color-accent); --badge-fg: var(--color-accent-content); } } } .xl\:badge-neutral { @layer daisyui.l1.l2 { & { --badge-color: var(--color-neutral); --badge-fg: var(--color-neutral-content); } } } .xl\:badge-info { @layer daisyui.l1.l2 { & { --badge-color: var(--color-info); --badge-fg: var(--color-info-content); } } } .xl\:badge-success { @layer daisyui.l1.l2 { & { --badge-color: var(--color-success); --badge-fg: var(--color-success-content); } } } .xl\:badge-warning { @layer daisyui.l1.l2 { & { --badge-color: var(--color-warning); --badge-fg: var(--color-warning-content); } } } .xl\:badge-error { @layer daisyui.l1.l2 { & { --badge-color: var(--color-error); --badge-fg: var(--color-error-content); } } } .xl\:badge-ghost { @layer daisyui.l1.l2 { & { border-color: var(--color-base-200); background-color: var(--color-base-200); color: var(--color-base-content); background-image: none; } } } .xl\:badge-xs { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 4); padding-inline: calc(0.25rem * 2 - var(--border)); font-size: 0.625rem; } } } .xl\:badge-sm { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 5); padding-inline: calc(0.25rem * 2.5 - var(--border)); font-size: 0.75rem; } } } .xl\:badge-md { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 6); padding-inline: calc(0.25rem * 3 - var(--border)); font-size: 0.875rem; } } } .xl\:badge-lg { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 7); padding-inline: calc(0.25rem * 3.5 - var(--border)); font-size: 1rem; } } } .xl\:badge-xl { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 8); padding-inline: calc(0.25rem * 4 - var(--border)); font-size: 1.125rem; } } } } @media (width>=1536px) { .\32 xl\:badge { @layer daisyui.l1.l2.l3 { & { border-radius: var(--radius-selector); vertical-align: middle; color: var(--badge-fg); border: var(--border) solid var(--badge-color, var(--color-base-200)); 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); justify-content: center; align-items: center; gap: 0.5rem; font-size: 0.875rem; display: inline-flex; } } } .\32 xl\:badge-outline { @layer daisyui.l1.l2 { & { color: var(--badge-color); --badge-bg: #0000; background-image: none; border-color: currentColor; } } } .\32 xl\:badge-dash { @layer daisyui.l1.l2 { & { color: var(--badge-color); --badge-bg: #0000; background-image: none; border-style: dashed; border-color: currentColor; } } } .\32 xl\:badge-soft { @layer daisyui.l1.l2 { & { 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; } } } .\32 xl\:badge-primary { @layer daisyui.l1.l2 { & { --badge-color: var(--color-primary); --badge-fg: var(--color-primary-content); } } } .\32 xl\:badge-secondary { @layer daisyui.l1.l2 { & { --badge-color: var(--color-secondary); --badge-fg: var(--color-secondary-content); } } } .\32 xl\:badge-accent { @layer daisyui.l1.l2 { & { --badge-color: var(--color-accent); --badge-fg: var(--color-accent-content); } } } .\32 xl\:badge-neutral { @layer daisyui.l1.l2 { & { --badge-color: var(--color-neutral); --badge-fg: var(--color-neutral-content); } } } .\32 xl\:badge-info { @layer daisyui.l1.l2 { & { --badge-color: var(--color-info); --badge-fg: var(--color-info-content); } } } .\32 xl\:badge-success { @layer daisyui.l1.l2 { & { --badge-color: var(--color-success); --badge-fg: var(--color-success-content); } } } .\32 xl\:badge-warning { @layer daisyui.l1.l2 { & { --badge-color: var(--color-warning); --badge-fg: var(--color-warning-content); } } } .\32 xl\:badge-error { @layer daisyui.l1.l2 { & { --badge-color: var(--color-error); --badge-fg: var(--color-error-content); } } } .\32 xl\:badge-ghost { @layer daisyui.l1.l2 { & { border-color: var(--color-base-200); background-color: var(--color-base-200); color: var(--color-base-content); background-image: none; } } } .\32 xl\:badge-xs { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 4); padding-inline: calc(0.25rem * 2 - var(--border)); font-size: 0.625rem; } } } .\32 xl\:badge-sm { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 5); padding-inline: calc(0.25rem * 2.5 - var(--border)); font-size: 0.75rem; } } } .\32 xl\:badge-md { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 6); padding-inline: calc(0.25rem * 3 - var(--border)); font-size: 0.875rem; } } } .\32 xl\:badge-lg { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 7); padding-inline: calc(0.25rem * 3.5 - var(--border)); font-size: 1rem; } } } .\32 xl\:badge-xl { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 8); padding-inline: calc(0.25rem * 4 - var(--border)); font-size: 1.125rem; } } } } .table { @layer daisyui.l1.l2.l3 { & { border-collapse: separate; --tw-border-spacing-x: calc(0.25rem * 0); --tw-border-spacing-y: calc(0.25rem * 0); width: 100%; border-spacing: var(--tw-border-spacing-x) var(--tw-border-spacing-y); border-radius: var(--radius-box); text-align: left; font-size: 0.875rem; position: relative; } &:where(:dir(rtl), [dir="rtl"], [dir="rtl"] *) { text-align: right; } & tr.row-hover { &, &:nth-child(2n) { &:hover { @media (hover: hover) { & { background-color: var(--color-base-200); } } } } } & :where(th, td) { vertical-align: middle; padding-block: 0.75rem; padding-inline: 1rem; } & :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 tr:first-child :is(td, th)) { border-top: var(--border) solid color-mix(in oklch, var(--color-base-content) 5%, #0000); } & :where(.table-pin-rows thead tr) { z-index: 1; background-color: var(--color-base-100); position: sticky; top: 0; } & :where(.table-pin-rows tfoot tr) { z-index: 1; background-color: var(--color-base-100); position: sticky; bottom: 0; } & :where(.table-pin-cols tr th) { background-color: var(--color-base-100); position: sticky; left: 0; right: 0; } & :where(thead tr :is(td, th), tbody tr:not(:last-child) :is(td, th)) { border-bottom: var(--border) solid color-mix(in oklch, var(--color-base-content) 5%, #0000); } } } .table-zebra { @layer daisyui.l1.l2 { & tbody { & tr { &:where(:nth-child(2n)) { background-color: var(--color-base-200); & :where(.table-pin-cols tr th) { background-color: var(--color-base-200); } } &.row-hover { &, &:where(:nth-child(2n)) { &:hover { @media (hover: hover) { & { background-color: var(--color-base-300); } } } } } } } } } .table-xs { @layer daisyui.l1.l2 { & :not(thead, tfoot) tr { font-size: 0.6875rem; } & :where(th, td) { padding-block: 0.25rem; padding-inline: 0.5rem; } } } .table-sm { @layer daisyui.l1.l2 { & :not(thead, tfoot) tr { font-size: 0.75rem; } & :where(th, td) { padding-block: 0.5rem; padding-inline: 0.75rem; } } } .table-md { @layer daisyui.l1.l2 { & :not(thead, tfoot) tr { font-size: 0.875rem; } & :where(th, td) { padding-block: 0.75rem; padding-inline: 1rem; } } } .table-lg { @layer daisyui.l1.l2 { & :not(thead, tfoot) tr { font-size: 1.125rem; } & :where(th, td) { padding-block: 1rem; padding-inline: 1.25rem; } } } .table-xl { @layer daisyui.l1.l2 { & :not(thead, tfoot) tr { font-size: 1.375rem; } & :where(th, td) { padding-block: 1.25rem; padding-inline: 1.5rem; } } } @media (width>=640px) { .sm\:table { @layer daisyui.l1.l2.l3 { & { border-collapse: separate; --tw-border-spacing-x: calc(0.25rem * 0); --tw-border-spacing-y: calc(0.25rem * 0); width: 100%; border-spacing: var(--tw-border-spacing-x) var(--tw-border-spacing-y); border-radius: var(--radius-box); text-align: left; font-size: 0.875rem; position: relative; } &:where(:dir(rtl), [dir="rtl"], [dir="rtl"] *) { text-align: right; } & tr.row-hover { &, &:nth-child(2n) { &:hover { @media (hover: hover) { & { background-color: var(--color-base-200); } } } } } & :where(th, td) { vertical-align: middle; padding-block: 0.75rem; padding-inline: 1rem; } & :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 tr:first-child :is(td, th)) { border-top: var(--border) solid color-mix(in oklch, var(--color-base-content) 5%, #0000); } & :where(.table-pin-rows thead tr) { z-index: 1; background-color: var(--color-base-100); position: sticky; top: 0; } & :where(.table-pin-rows tfoot tr) { z-index: 1; background-color: var(--color-base-100); position: sticky; bottom: 0; } & :where(.table-pin-cols tr th) { background-color: var(--color-base-100); position: sticky; left: 0; right: 0; } & :where(thead tr :is(td, th), tbody tr:not(:last-child) :is(td, th)) { border-bottom: var(--border) solid color-mix(in oklch, var(--color-base-content) 5%, #0000); } } } .sm\:table-zebra { @layer daisyui.l1.l2 { & tbody { & tr { &:where(:nth-child(2n)) { background-color: var(--color-base-200); & :where(.table-pin-cols tr th) { background-color: var(--color-base-200); } } &.row-hover { &, &:where(:nth-child(2n)) { &:hover { @media (hover: hover) { & { background-color: var(--color-base-300); } } } } } } } } } .sm\:table-xs { @layer daisyui.l1.l2 { & :not(thead, tfoot) tr { font-size: 0.6875rem; } & :where(th, td) { padding-block: 0.25rem; padding-inline: 0.5rem; } } } .sm\:table-sm { @layer daisyui.l1.l2 { & :not(thead, tfoot) tr { font-size: 0.75rem; } & :where(th, td) { padding-block: 0.5rem; padding-inline: 0.75rem; } } } .sm\:table-md { @layer daisyui.l1.l2 { & :not(thead, tfoot) tr { font-size: 0.875rem; } & :where(th, td) { padding-block: 0.75rem; padding-inline: 1rem; } } } .sm\:table-lg { @layer daisyui.l1.l2 { & :not(thead, tfoot) tr { font-size: 1.125rem; } & :where(th, td) { padding-block: 1rem; padding-inline: 1.25rem; } } } .sm\:table-xl { @layer daisyui.l1.l2 { & :not(thead, tfoot) tr { font-size: 1.375rem; } & :where(th, td) { padding-block: 1.25rem; padding-inline: 1.5rem; } } } } @media (width>=768px) { .md\:table { @layer daisyui.l1.l2.l3 { & { border-collapse: separate; --tw-border-spacing-x: calc(0.25rem * 0); --tw-border-spacing-y: calc(0.25rem * 0); width: 100%; border-spacing: var(--tw-border-spacing-x) var(--tw-border-spacing-y); border-radius: var(--radius-box); text-align: left; font-size: 0.875rem; position: relative; } &:where(:dir(rtl), [dir="rtl"], [dir="rtl"] *) { text-align: right; } & tr.row-hover { &, &:nth-child(2n) { &:hover { @media (hover: hover) { & { background-color: var(--color-base-200); } } } } } & :where(th, td) { vertical-align: middle; padding-block: 0.75rem; padding-inline: 1rem; } & :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 tr:first-child :is(td, th)) { border-top: var(--border) solid color-mix(in oklch, var(--color-base-content) 5%, #0000); } & :where(.table-pin-rows thead tr) { z-index: 1; background-color: var(--color-base-100); position: sticky; top: 0; } & :where(.table-pin-rows tfoot tr) { z-index: 1; background-color: var(--color-base-100); position: sticky; bottom: 0; } & :where(.table-pin-cols tr th) { background-color: var(--color-base-100); position: sticky; left: 0; right: 0; } & :where(thead tr :is(td, th), tbody tr:not(:last-child) :is(td, th)) { border-bottom: var(--border) solid color-mix(in oklch, var(--color-base-content) 5%, #0000); } } } .md\:table-zebra { @layer daisyui.l1.l2 { & tbody { & tr { &:where(:nth-child(2n)) { background-color: var(--color-base-200); & :where(.table-pin-cols tr th) { background-color: var(--color-base-200); } } &.row-hover { &, &:where(:nth-child(2n)) { &:hover { @media (hover: hover) { & { background-color: var(--color-base-300); } } } } } } } } } .md\:table-xs { @layer daisyui.l1.l2 { & :not(thead, tfoot) tr { font-size: 0.6875rem; } & :where(th, td) { padding-block: 0.25rem; padding-inline: 0.5rem; } } } .md\:table-sm { @layer daisyui.l1.l2 { & :not(thead, tfoot) tr { font-size: 0.75rem; } & :where(th, td) { padding-block: 0.5rem; padding-inline: 0.75rem; } } } .md\:table-md { @layer daisyui.l1.l2 { & :not(thead, tfoot) tr { font-size: 0.875rem; } & :where(th, td) { padding-block: 0.75rem; padding-inline: 1rem; } } } .md\:table-lg { @layer daisyui.l1.l2 { & :not(thead, tfoot) tr { font-size: 1.125rem; } & :where(th, td) { padding-block: 1rem; padding-inline: 1.25rem; } } } .md\:table-xl { @layer daisyui.l1.l2 { & :not(thead, tfoot) tr { font-size: 1.375rem; } & :where(th, td) { padding-block: 1.25rem; padding-inline: 1.5rem; } } } } @media (width>=1024px) { .lg\:table { @layer daisyui.l1.l2.l3 { & { border-collapse: separate; --tw-border-spacing-x: calc(0.25rem * 0); --tw-border-spacing-y: calc(0.25rem * 0); width: 100%; border-spacing: var(--tw-border-spacing-x) var(--tw-border-spacing-y); border-radius: var(--radius-box); text-align: left; font-size: 0.875rem; position: relative; } &:where(:dir(rtl), [dir="rtl"], [dir="rtl"] *) { text-align: right; } & tr.row-hover { &, &:nth-child(2n) { &:hover { @media (hover: hover) { & { background-color: var(--color-base-200); } } } } } & :where(th, td) { vertical-align: middle; padding-block: 0.75rem; padding-inline: 1rem; } & :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 tr:first-child :is(td, th)) { border-top: var(--border) solid color-mix(in oklch, var(--color-base-content) 5%, #0000); } & :where(.table-pin-rows thead tr) { z-index: 1; background-color: var(--color-base-100); position: sticky; top: 0; } & :where(.table-pin-rows tfoot tr) { z-index: 1; background-color: var(--color-base-100); position: sticky; bottom: 0; } & :where(.table-pin-cols tr th) { background-color: var(--color-base-100); position: sticky; left: 0; right: 0; } & :where(thead tr :is(td, th), tbody tr:not(:last-child) :is(td, th)) { border-bottom: var(--border) solid color-mix(in oklch, var(--color-base-content) 5%, #0000); } } } .lg\:table-zebra { @layer daisyui.l1.l2 { & tbody { & tr { &:where(:nth-child(2n)) { background-color: var(--color-base-200); & :where(.table-pin-cols tr th) { background-color: var(--color-base-200); } } &.row-hover { &, &:where(:nth-child(2n)) { &:hover { @media (hover: hover) { & { background-color: var(--color-base-300); } } } } } } } } } .lg\:table-xs { @layer daisyui.l1.l2 { & :not(thead, tfoot) tr { font-size: 0.6875rem; } & :where(th, td) { padding-block: 0.25rem; padding-inline: 0.5rem; } } } .lg\:table-sm { @layer daisyui.l1.l2 { & :not(thead, tfoot) tr { font-size: 0.75rem; } & :where(th, td) { padding-block: 0.5rem; padding-inline: 0.75rem; } } } .lg\:table-md { @layer daisyui.l1.l2 { & :not(thead, tfoot) tr { font-size: 0.875rem; } & :where(th, td) { padding-block: 0.75rem; padding-inline: 1rem; } } } .lg\:table-lg { @layer daisyui.l1.l2 { & :not(thead, tfoot) tr { font-size: 1.125rem; } & :where(th, td) { padding-block: 1rem; padding-inline: 1.25rem; } } } .lg\:table-xl { @layer daisyui.l1.l2 { & :not(thead, tfoot) tr { font-size: 1.375rem; } & :where(th, td) { padding-block: 1.25rem; padding-inline: 1.5rem; } } } } @media (width>=1280px) { .xl\:table { @layer daisyui.l1.l2.l3 { & { border-collapse: separate; --tw-border-spacing-x: calc(0.25rem * 0); --tw-border-spacing-y: calc(0.25rem * 0); width: 100%; border-spacing: var(--tw-border-spacing-x) var(--tw-border-spacing-y); border-radius: var(--radius-box); text-align: left; font-size: 0.875rem; position: relative; } &:where(:dir(rtl), [dir="rtl"], [dir="rtl"] *) { text-align: right; } & tr.row-hover { &, &:nth-child(2n) { &:hover { @media (hover: hover) { & { background-color: var(--color-base-200); } } } } } & :where(th, td) { vertical-align: middle; padding-block: 0.75rem; padding-inline: 1rem; } & :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 tr:first-child :is(td, th)) { border-top: var(--border) solid color-mix(in oklch, var(--color-base-content) 5%, #0000); } & :where(.table-pin-rows thead tr) { z-index: 1; background-color: var(--color-base-100); position: sticky; top: 0; } & :where(.table-pin-rows tfoot tr) { z-index: 1; background-color: var(--color-base-100); position: sticky; bottom: 0; } & :where(.table-pin-cols tr th) { background-color: var(--color-base-100); position: sticky; left: 0; right: 0; } & :where(thead tr :is(td, th), tbody tr:not(:last-child) :is(td, th)) { border-bottom: var(--border) solid color-mix(in oklch, var(--color-base-content) 5%, #0000); } } } .xl\:table-zebra { @layer daisyui.l1.l2 { & tbody { & tr { &:where(:nth-child(2n)) { background-color: var(--color-base-200); & :where(.table-pin-cols tr th) { background-color: var(--color-base-200); } } &.row-hover { &, &:where(:nth-child(2n)) { &:hover { @media (hover: hover) { & { background-color: var(--color-base-300); } } } } } } } } } .xl\:table-xs { @layer daisyui.l1.l2 { & :not(thead, tfoot) tr { font-size: 0.6875rem; } & :where(th, td) { padding-block: 0.25rem; padding-inline: 0.5rem; } } } .xl\:table-sm { @layer daisyui.l1.l2 { & :not(thead, tfoot) tr { font-size: 0.75rem; } & :where(th, td) { padding-block: 0.5rem; padding-inline: 0.75rem; } } } .xl\:table-md { @layer daisyui.l1.l2 { & :not(thead, tfoot) tr { font-size: 0.875rem; } & :where(th, td) { padding-block: 0.75rem; padding-inline: 1rem; } } } .xl\:table-lg { @layer daisyui.l1.l2 { & :not(thead, tfoot) tr { font-size: 1.125rem; } & :where(th, td) { padding-block: 1rem; padding-inline: 1.25rem; } } } .xl\:table-xl { @layer daisyui.l1.l2 { & :not(thead, tfoot) tr { font-size: 1.375rem; } & :where(th, td) { padding-block: 1.25rem; padding-inline: 1.5rem; } } } } @media (width>=1536px) { .\32 xl\:table { @layer daisyui.l1.l2.l3 { & { border-collapse: separate; --tw-border-spacing-x: calc(0.25rem * 0); --tw-border-spacing-y: calc(0.25rem * 0); width: 100%; border-spacing: var(--tw-border-spacing-x) var(--tw-border-spacing-y); border-radius: var(--radius-box); text-align: left; font-size: 0.875rem; position: relative; } &:where(:dir(rtl), [dir="rtl"], [dir="rtl"] *) { text-align: right; } & tr.row-hover { &, &:nth-child(2n) { &:hover { @media (hover: hover) { & { background-color: var(--color-base-200); } } } } } & :where(th, td) { vertical-align: middle; padding-block: 0.75rem; padding-inline: 1rem; } & :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 tr:first-child :is(td, th)) { border-top: var(--border) solid color-mix(in oklch, var(--color-base-content) 5%, #0000); } & :where(.table-pin-rows thead tr) { z-index: 1; background-color: var(--color-base-100); position: sticky; top: 0; } & :where(.table-pin-rows tfoot tr) { z-index: 1; background-color: var(--color-base-100); position: sticky; bottom: 0; } & :where(.table-pin-cols tr th) { background-color: var(--color-base-100); position: sticky; left: 0; right: 0; } & :where(thead tr :is(td, th), tbody tr:not(:last-child) :is(td, th)) { border-bottom: var(--border) solid color-mix(in oklch, var(--color-base-content) 5%, #0000); } } } .\32 xl\:table-zebra { @layer daisyui.l1.l2 { & tbody { & tr { &:where(:nth-child(2n)) { background-color: var(--color-base-200); & :where(.table-pin-cols tr th) { background-color: var(--color-base-200); } } &.row-hover { &, &:where(:nth-child(2n)) { &:hover { @media (hover: hover) { & { background-color: var(--color-base-300); } } } } } } } } } .\32 xl\:table-xs { @layer daisyui.l1.l2 { & :not(thead, tfoot) tr { font-size: 0.6875rem; } & :where(th, td) { padding-block: 0.25rem; padding-inline: 0.5rem; } } } .\32 xl\:table-sm { @layer daisyui.l1.l2 { & :not(thead, tfoot) tr { font-size: 0.75rem; } & :where(th, td) { padding-block: 0.5rem; padding-inline: 0.75rem; } } } .\32 xl\:table-md { @layer daisyui.l1.l2 { & :not(thead, tfoot) tr { font-size: 0.875rem; } & :where(th, td) { padding-block: 0.75rem; padding-inline: 1rem; } } } .\32 xl\:table-lg { @layer daisyui.l1.l2 { & :not(thead, tfoot) tr { font-size: 1.125rem; } & :where(th, td) { padding-block: 1rem; padding-inline: 1.25rem; } } } .\32 xl\:table-xl { @layer daisyui.l1.l2 { & :not(thead, tfoot) tr { font-size: 1.375rem; } & :where(th, td) { padding-block: 1.25rem; padding-inline: 1.5rem; } } } } .radio { @layer daisyui.l1.l2.l3 { & { cursor: pointer; appearance: none; 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); border-radius: 3.40282e38px; flex-shrink: 0; padding: 0.25rem; display: inline-block; position: relative; } &:before { --tw-content: ""; content: var(--tw-content); background-size: auto, calc(var(--noise) * 100%); background-image: none, var(--fx-noise); border-radius: 3.40282e38px; width: 100%; height: 100%; display: block; } &:focus-visible { outline: 2px solid; } &:checked, &[aria-checked="true"] { background-color: var(--color-base-100); border-color: currentColor; @media (prefers-reduced-motion: no-preference) { & { animation: 0.2s ease-out radio; } } &:before { 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)); background-color: currentColor; } @media (forced-colors: active) { &:before { outline-style: var(--tw-outline-style); outline-offset: calc(1px * -1); outline-width: 1px; } } @media print { &:before { outline-offset: -1rem; outline: 0.25rem solid; } } } } } .radio-primary { @layer daisyui.l1.l2 { & { --input-color: var(--color-primary); } } } .radio-secondary { @layer daisyui.l1.l2 { & { --input-color: var(--color-secondary); } } } .radio-accent { @layer daisyui.l1.l2 { & { --input-color: var(--color-accent); } } } .radio-neutral { @layer daisyui.l1.l2 { & { --input-color: var(--color-neutral); } } } .radio-info { @layer daisyui.l1.l2 { & { --input-color: var(--color-info); } } } .radio-success { @layer daisyui.l1.l2 { & { --input-color: var(--color-success); } } } .radio-warning { @layer daisyui.l1.l2 { & { --input-color: var(--color-warning); } } } .radio-error { @layer daisyui.l1.l2 { & { --input-color: var(--color-error); } } } .radio:disabled { @layer daisyui.l1.l2 { & { cursor: not-allowed; opacity: 0.2; } } } .radio-xs { @layer daisyui.l1.l2 { & { padding: 0.125rem; } &[type="radio"] { --size: calc(var(--size-selector, 0.25rem) * 4); } } } .radio-sm { @layer daisyui.l1.l2 { & { padding: 0.1875rem; } &[type="radio"] { --size: calc(var(--size-selector, 0.25rem) * 5); } } } .radio-md { @layer daisyui.l1.l2 { & { padding: 0.25rem; } &[type="radio"] { --size: calc(var(--size-selector, 0.25rem) * 6); } } } .radio-lg { @layer daisyui.l1.l2 { & { padding: 0.3125rem; } &[type="radio"] { --size: calc(var(--size-selector, 0.25rem) * 7); } } } .radio-xl { @layer daisyui.l1.l2 { & { padding: 0.375rem; } &[type="radio"] { --size: calc(var(--size-selector, 0.25rem) * 8); } } } @keyframes radio { 0% { padding: 5px; } 50% { padding: 3px; } } @media (width>=640px) { .sm\:radio { @layer daisyui.l1.l2.l3 { & { cursor: pointer; appearance: none; 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); border-radius: 3.40282e38px; flex-shrink: 0; padding: 0.25rem; display: inline-block; position: relative; } &:before { --tw-content: ""; content: var(--tw-content); background-size: auto, calc(var(--noise) * 100%); background-image: none, var(--fx-noise); border-radius: 3.40282e38px; width: 100%; height: 100%; display: block; } &:focus-visible { outline: 2px solid; } &:checked, &[aria-checked="true"] { background-color: var(--color-base-100); border-color: currentColor; @media (prefers-reduced-motion: no-preference) { & { animation: 0.2s ease-out radio; } } &:before { 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)); background-color: currentColor; } @media (forced-colors: active) { &:before { outline-style: var(--tw-outline-style); outline-offset: calc(1px * -1); outline-width: 1px; } } @media print { &:before { outline-offset: -1rem; outline: 0.25rem solid; } } } } } .sm\:radio-primary { @layer daisyui.l1.l2 { & { --input-color: var(--color-primary); } } } .sm\:radio-secondary { @layer daisyui.l1.l2 { & { --input-color: var(--color-secondary); } } } .sm\:radio-accent { @layer daisyui.l1.l2 { & { --input-color: var(--color-accent); } } } .sm\:radio-neutral { @layer daisyui.l1.l2 { & { --input-color: var(--color-neutral); } } } .sm\:radio-info { @layer daisyui.l1.l2 { & { --input-color: var(--color-info); } } } .sm\:radio-success { @layer daisyui.l1.l2 { & { --input-color: var(--color-success); } } } .sm\:radio-warning { @layer daisyui.l1.l2 { & { --input-color: var(--color-warning); } } } .sm\:radio-error { @layer daisyui.l1.l2 { & { --input-color: var(--color-error); } } } .sm\:radio:disabled { @layer daisyui.l1.l2 { & { cursor: not-allowed; opacity: 0.2; } } } .sm\:radio-xs { @layer daisyui.l1.l2 { & { padding: 0.125rem; } &[type="radio"] { --size: calc(var(--size-selector, 0.25rem) * 4); } } } .sm\:radio-sm { @layer daisyui.l1.l2 { & { padding: 0.1875rem; } &[type="radio"] { --size: calc(var(--size-selector, 0.25rem) * 5); } } } .sm\:radio-md { @layer daisyui.l1.l2 { & { padding: 0.25rem; } &[type="radio"] { --size: calc(var(--size-selector, 0.25rem) * 6); } } } .sm\:radio-lg { @layer daisyui.l1.l2 { & { padding: 0.3125rem; } &[type="radio"] { --size: calc(var(--size-selector, 0.25rem) * 7); } } } .sm\:radio-xl { @layer daisyui.l1.l2 { & { padding: 0.375rem; } &[type="radio"] { --size: calc(var(--size-selector, 0.25rem) * 8); } } } } @media (width>=768px) { .md\:radio { @layer daisyui.l1.l2.l3 { & { cursor: pointer; appearance: none; 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); border-radius: 3.40282e38px; flex-shrink: 0; padding: 0.25rem; display: inline-block; position: relative; } &:before { --tw-content: ""; content: var(--tw-content); background-size: auto, calc(var(--noise) * 100%); background-image: none, var(--fx-noise); border-radius: 3.40282e38px; width: 100%; height: 100%; display: block; } &:focus-visible { outline: 2px solid; } &:checked, &[aria-checked="true"] { background-color: var(--color-base-100); border-color: currentColor; @media (prefers-reduced-motion: no-preference) { & { animation: 0.2s ease-out radio; } } &:before { 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)); background-color: currentColor; } @media (forced-colors: active) { &:before { outline-style: var(--tw-outline-style); outline-offset: calc(1px * -1); outline-width: 1px; } } @media print { &:before { outline-offset: -1rem; outline: 0.25rem solid; } } } } } .md\:radio-primary { @layer daisyui.l1.l2 { & { --input-color: var(--color-primary); } } } .md\:radio-secondary { @layer daisyui.l1.l2 { & { --input-color: var(--color-secondary); } } } .md\:radio-accent { @layer daisyui.l1.l2 { & { --input-color: var(--color-accent); } } } .md\:radio-neutral { @layer daisyui.l1.l2 { & { --input-color: var(--color-neutral); } } } .md\:radio-info { @layer daisyui.l1.l2 { & { --input-color: var(--color-info); } } } .md\:radio-success { @layer daisyui.l1.l2 { & { --input-color: var(--color-success); } } } .md\:radio-warning { @layer daisyui.l1.l2 { & { --input-color: var(--color-warning); } } } .md\:radio-error { @layer daisyui.l1.l2 { & { --input-color: var(--color-error); } } } .md\:radio:disabled { @layer daisyui.l1.l2 { & { cursor: not-allowed; opacity: 0.2; } } } .md\:radio-xs { @layer daisyui.l1.l2 { & { padding: 0.125rem; } &[type="radio"] { --size: calc(var(--size-selector, 0.25rem) * 4); } } } .md\:radio-sm { @layer daisyui.l1.l2 { & { padding: 0.1875rem; } &[type="radio"] { --size: calc(var(--size-selector, 0.25rem) * 5); } } } .md\:radio-md { @layer daisyui.l1.l2 { & { padding: 0.25rem; } &[type="radio"] { --size: calc(var(--size-selector, 0.25rem) * 6); } } } .md\:radio-lg { @layer daisyui.l1.l2 { & { padding: 0.3125rem; } &[type="radio"] { --size: calc(var(--size-selector, 0.25rem) * 7); } } } .md\:radio-xl { @layer daisyui.l1.l2 { & { padding: 0.375rem; } &[type="radio"] { --size: calc(var(--size-selector, 0.25rem) * 8); } } } } @media (width>=1024px) { .lg\:radio { @layer daisyui.l1.l2.l3 { & { cursor: pointer; appearance: none; 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); border-radius: 3.40282e38px; flex-shrink: 0; padding: 0.25rem; display: inline-block; position: relative; } &:before { --tw-content: ""; content: var(--tw-content); background-size: auto, calc(var(--noise) * 100%); background-image: none, var(--fx-noise); border-radius: 3.40282e38px; width: 100%; height: 100%; display: block; } &:focus-visible { outline: 2px solid; } &:checked, &[aria-checked="true"] { background-color: var(--color-base-100); border-color: currentColor; @media (prefers-reduced-motion: no-preference) { & { animation: 0.2s ease-out radio; } } &:before { 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)); background-color: currentColor; } @media (forced-colors: active) { &:before { outline-style: var(--tw-outline-style); outline-offset: calc(1px * -1); outline-width: 1px; } } @media print { &:before { outline-offset: -1rem; outline: 0.25rem solid; } } } } } .lg\:radio-primary { @layer daisyui.l1.l2 { & { --input-color: var(--color-primary); } } } .lg\:radio-secondary { @layer daisyui.l1.l2 { & { --input-color: var(--color-secondary); } } } .lg\:radio-accent { @layer daisyui.l1.l2 { & { --input-color: var(--color-accent); } } } .lg\:radio-neutral { @layer daisyui.l1.l2 { & { --input-color: var(--color-neutral); } } } .lg\:radio-info { @layer daisyui.l1.l2 { & { --input-color: var(--color-info); } } } .lg\:radio-success { @layer daisyui.l1.l2 { & { --input-color: var(--color-success); } } } .lg\:radio-warning { @layer daisyui.l1.l2 { & { --input-color: var(--color-warning); } } } .lg\:radio-error { @layer daisyui.l1.l2 { & { --input-color: var(--color-error); } } } .lg\:radio:disabled { @layer daisyui.l1.l2 { & { cursor: not-allowed; opacity: 0.2; } } } .lg\:radio-xs { @layer daisyui.l1.l2 { & { padding: 0.125rem; } &[type="radio"] { --size: calc(var(--size-selector, 0.25rem) * 4); } } } .lg\:radio-sm { @layer daisyui.l1.l2 { & { padding: 0.1875rem; } &[type="radio"] { --size: calc(var(--size-selector, 0.25rem) * 5); } } } .lg\:radio-md { @layer daisyui.l1.l2 { & { padding: 0.25rem; } &[type="radio"] { --size: calc(var(--size-selector, 0.25rem) * 6); } } } .lg\:radio-lg { @layer daisyui.l1.l2 { & { padding: 0.3125rem; } &[type="radio"] { --size: calc(var(--size-selector, 0.25rem) * 7); } } } .lg\:radio-xl { @layer daisyui.l1.l2 { & { padding: 0.375rem; } &[type="radio"] { --size: calc(var(--size-selector, 0.25rem) * 8); } } } } @media (width>=1280px) { .xl\:radio { @layer daisyui.l1.l2.l3 { & { cursor: pointer; appearance: none; 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); border-radius: 3.40282e38px; flex-shrink: 0; padding: 0.25rem; display: inline-block; position: relative; } &:before { --tw-content: ""; content: var(--tw-content); background-size: auto, calc(var(--noise) * 100%); background-image: none, var(--fx-noise); border-radius: 3.40282e38px; width: 100%; height: 100%; display: block; } &:focus-visible { outline: 2px solid; } &:checked, &[aria-checked="true"] { background-color: var(--color-base-100); border-color: currentColor; @media (prefers-reduced-motion: no-preference) { & { animation: 0.2s ease-out radio; } } &:before { 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)); background-color: currentColor; } @media (forced-colors: active) { &:before { outline-style: var(--tw-outline-style); outline-offset: calc(1px * -1); outline-width: 1px; } } @media print { &:before { outline-offset: -1rem; outline: 0.25rem solid; } } } } } .xl\:radio-primary { @layer daisyui.l1.l2 { & { --input-color: var(--color-primary); } } } .xl\:radio-secondary { @layer daisyui.l1.l2 { & { --input-color: var(--color-secondary); } } } .xl\:radio-accent { @layer daisyui.l1.l2 { & { --input-color: var(--color-accent); } } } .xl\:radio-neutral { @layer daisyui.l1.l2 { & { --input-color: var(--color-neutral); } } } .xl\:radio-info { @layer daisyui.l1.l2 { & { --input-color: var(--color-info); } } } .xl\:radio-success { @layer daisyui.l1.l2 { & { --input-color: var(--color-success); } } } .xl\:radio-warning { @layer daisyui.l1.l2 { & { --input-color: var(--color-warning); } } } .xl\:radio-error { @layer daisyui.l1.l2 { & { --input-color: var(--color-error); } } } .xl\:radio:disabled { @layer daisyui.l1.l2 { & { cursor: not-allowed; opacity: 0.2; } } } .xl\:radio-xs { @layer daisyui.l1.l2 { & { padding: 0.125rem; } &[type="radio"] { --size: calc(var(--size-selector, 0.25rem) * 4); } } } .xl\:radio-sm { @layer daisyui.l1.l2 { & { padding: 0.1875rem; } &[type="radio"] { --size: calc(var(--size-selector, 0.25rem) * 5); } } } .xl\:radio-md { @layer daisyui.l1.l2 { & { padding: 0.25rem; } &[type="radio"] { --size: calc(var(--size-selector, 0.25rem) * 6); } } } .xl\:radio-lg { @layer daisyui.l1.l2 { & { padding: 0.3125rem; } &[type="radio"] { --size: calc(var(--size-selector, 0.25rem) * 7); } } } .xl\:radio-xl { @layer daisyui.l1.l2 { & { padding: 0.375rem; } &[type="radio"] { --size: calc(var(--size-selector, 0.25rem) * 8); } } } } @media (width>=1536px) { .\32 xl\:radio { @layer daisyui.l1.l2.l3 { & { cursor: pointer; appearance: none; 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); border-radius: 3.40282e38px; flex-shrink: 0; padding: 0.25rem; display: inline-block; position: relative; } &:before { --tw-content: ""; content: var(--tw-content); background-size: auto, calc(var(--noise) * 100%); background-image: none, var(--fx-noise); border-radius: 3.40282e38px; width: 100%; height: 100%; display: block; } &:focus-visible { outline: 2px solid; } &:checked, &[aria-checked="true"] { background-color: var(--color-base-100); border-color: currentColor; @media (prefers-reduced-motion: no-preference) { & { animation: 0.2s ease-out radio; } } &:before { 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)); background-color: currentColor; } @media (forced-colors: active) { &:before { outline-style: var(--tw-outline-style); outline-offset: calc(1px * -1); outline-width: 1px; } } @media print { &:before { outline-offset: -1rem; outline: 0.25rem solid; } } } } } .\32 xl\:radio-primary { @layer daisyui.l1.l2 { & { --input-color: var(--color-primary); } } } .\32 xl\:radio-secondary { @layer daisyui.l1.l2 { & { --input-color: var(--color-secondary); } } } .\32 xl\:radio-accent { @layer daisyui.l1.l2 { & { --input-color: var(--color-accent); } } } .\32 xl\:radio-neutral { @layer daisyui.l1.l2 { & { --input-color: var(--color-neutral); } } } .\32 xl\:radio-info { @layer daisyui.l1.l2 { & { --input-color: var(--color-info); } } } .\32 xl\:radio-success { @layer daisyui.l1.l2 { & { --input-color: var(--color-success); } } } .\32 xl\:radio-warning { @layer daisyui.l1.l2 { & { --input-color: var(--color-warning); } } } .\32 xl\:radio-error { @layer daisyui.l1.l2 { & { --input-color: var(--color-error); } } } .\32 xl\:radio:disabled { @layer daisyui.l1.l2 { & { cursor: not-allowed; opacity: 0.2; } } } .\32 xl\:radio-xs { @layer daisyui.l1.l2 { & { padding: 0.125rem; } &[type="radio"] { --size: calc(var(--size-selector, 0.25rem) * 4); } } } .\32 xl\:radio-sm { @layer daisyui.l1.l2 { & { padding: 0.1875rem; } &[type="radio"] { --size: calc(var(--size-selector, 0.25rem) * 5); } } } .\32 xl\:radio-md { @layer daisyui.l1.l2 { & { padding: 0.25rem; } &[type="radio"] { --size: calc(var(--size-selector, 0.25rem) * 6); } } } .\32 xl\:radio-lg { @layer daisyui.l1.l2 { & { padding: 0.3125rem; } &[type="radio"] { --size: calc(var(--size-selector, 0.25rem) * 7); } } } .\32 xl\:radio-xl { @layer daisyui.l1.l2 { & { padding: 0.375rem; } &[type="radio"] { --size: calc(var(--size-selector, 0.25rem) * 8); } } } } .indicator { @layer daisyui.l1.l2.l3 { & { width: max-content; display: inline-flex; position: relative; } & :where(.indicator-item) { z-index: 1; white-space: nowrap; top: var(--indicator-t, 0); bottom: var(--indicator-b, auto); left: var(--indicator-s, auto); right: var(--indicator-e, 0); translate: var(--indicator-x, 50%) var(--indicator-y, -50%); position: absolute; } } } .indicator-start { @layer daisyui.l1.l2 { & { --indicator-s: 0; --indicator-e: auto; --indicator-x: -50%; } [dir="rtl"] & { --indicator-s: auto; --indicator-e: 0; --indicator-x: 50%; } } } .indicator-center { @layer daisyui.l1.l2 { & { --indicator-s: 50%; --indicator-e: 50%; --indicator-x: -50%; } [dir="rtl"] & { --indicator-x: 50%; } } } .indicator-end { @layer daisyui.l1.l2 { & { --indicator-s: auto; --indicator-e: 0; --indicator-x: 50%; } [dir="rtl"] & { --indicator-s: 0; --indicator-e: auto; --indicator-x: -50%; } } } .indicator-bottom { @layer daisyui.l1.l2 { & { --indicator-t: auto; --indicator-b: 0; --indicator-y: 50%; } } } .indicator-middle { @layer daisyui.l1.l2 { & { --indicator-t: 50%; --indicator-b: 50%; --indicator-y: -50%; } } } .indicator-top { @layer daisyui.l1.l2 { & { --indicator-t: 0; --indicator-b: auto; --indicator-y: -50%; } } } @media (width>=640px) { .sm\:indicator { @layer daisyui.l1.l2.l3 { & { width: max-content; display: inline-flex; position: relative; } & :where(.indicator-item) { z-index: 1; white-space: nowrap; top: var(--indicator-t, 0); bottom: var(--indicator-b, auto); left: var(--indicator-s, auto); right: var(--indicator-e, 0); translate: var(--indicator-x, 50%) var(--indicator-y, -50%); position: absolute; } } } .sm\:indicator-start { @layer daisyui.l1.l2 { & { --indicator-s: 0; --indicator-e: auto; --indicator-x: -50%; } [dir="rtl"] & { --indicator-s: auto; --indicator-e: 0; --indicator-x: 50%; } } } .sm\:indicator-center { @layer daisyui.l1.l2 { & { --indicator-s: 50%; --indicator-e: 50%; --indicator-x: -50%; } [dir="rtl"] & { --indicator-x: 50%; } } } .sm\:indicator-end { @layer daisyui.l1.l2 { & { --indicator-s: auto; --indicator-e: 0; --indicator-x: 50%; } [dir="rtl"] & { --indicator-s: 0; --indicator-e: auto; --indicator-x: -50%; } } } .sm\:indicator-bottom { @layer daisyui.l1.l2 { & { --indicator-t: auto; --indicator-b: 0; --indicator-y: 50%; } } } .sm\:indicator-middle { @layer daisyui.l1.l2 { & { --indicator-t: 50%; --indicator-b: 50%; --indicator-y: -50%; } } } .sm\:indicator-top { @layer daisyui.l1.l2 { & { --indicator-t: 0; --indicator-b: auto; --indicator-y: -50%; } } } } @media (width>=768px) { .md\:indicator { @layer daisyui.l1.l2.l3 { & { width: max-content; display: inline-flex; position: relative; } & :where(.indicator-item) { z-index: 1; white-space: nowrap; top: var(--indicator-t, 0); bottom: var(--indicator-b, auto); left: var(--indicator-s, auto); right: var(--indicator-e, 0); translate: var(--indicator-x, 50%) var(--indicator-y, -50%); position: absolute; } } } .md\:indicator-start { @layer daisyui.l1.l2 { & { --indicator-s: 0; --indicator-e: auto; --indicator-x: -50%; } [dir="rtl"] & { --indicator-s: auto; --indicator-e: 0; --indicator-x: 50%; } } } .md\:indicator-center { @layer daisyui.l1.l2 { & { --indicator-s: 50%; --indicator-e: 50%; --indicator-x: -50%; } [dir="rtl"] & { --indicator-x: 50%; } } } .md\:indicator-end { @layer daisyui.l1.l2 { & { --indicator-s: auto; --indicator-e: 0; --indicator-x: 50%; } [dir="rtl"] & { --indicator-s: 0; --indicator-e: auto; --indicator-x: -50%; } } } .md\:indicator-bottom { @layer daisyui.l1.l2 { & { --indicator-t: auto; --indicator-b: 0; --indicator-y: 50%; } } } .md\:indicator-middle { @layer daisyui.l1.l2 { & { --indicator-t: 50%; --indicator-b: 50%; --indicator-y: -50%; } } } .md\:indicator-top { @layer daisyui.l1.l2 { & { --indicator-t: 0; --indicator-b: auto; --indicator-y: -50%; } } } } @media (width>=1024px) { .lg\:indicator { @layer daisyui.l1.l2.l3 { & { width: max-content; display: inline-flex; position: relative; } & :where(.indicator-item) { z-index: 1; white-space: nowrap; top: var(--indicator-t, 0); bottom: var(--indicator-b, auto); left: var(--indicator-s, auto); right: var(--indicator-e, 0); translate: var(--indicator-x, 50%) var(--indicator-y, -50%); position: absolute; } } } .lg\:indicator-start { @layer daisyui.l1.l2 { & { --indicator-s: 0; --indicator-e: auto; --indicator-x: -50%; } [dir="rtl"] & { --indicator-s: auto; --indicator-e: 0; --indicator-x: 50%; } } } .lg\:indicator-center { @layer daisyui.l1.l2 { & { --indicator-s: 50%; --indicator-e: 50%; --indicator-x: -50%; } [dir="rtl"] & { --indicator-x: 50%; } } } .lg\:indicator-end { @layer daisyui.l1.l2 { & { --indicator-s: auto; --indicator-e: 0; --indicator-x: 50%; } [dir="rtl"] & { --indicator-s: 0; --indicator-e: auto; --indicator-x: -50%; } } } .lg\:indicator-bottom { @layer daisyui.l1.l2 { & { --indicator-t: auto; --indicator-b: 0; --indicator-y: 50%; } } } .lg\:indicator-middle { @layer daisyui.l1.l2 { & { --indicator-t: 50%; --indicator-b: 50%; --indicator-y: -50%; } } } .lg\:indicator-top { @layer daisyui.l1.l2 { & { --indicator-t: 0; --indicator-b: auto; --indicator-y: -50%; } } } } @media (width>=1280px) { .xl\:indicator { @layer daisyui.l1.l2.l3 { & { width: max-content; display: inline-flex; position: relative; } & :where(.indicator-item) { z-index: 1; white-space: nowrap; top: var(--indicator-t, 0); bottom: var(--indicator-b, auto); left: var(--indicator-s, auto); right: var(--indicator-e, 0); translate: var(--indicator-x, 50%) var(--indicator-y, -50%); position: absolute; } } } .xl\:indicator-start { @layer daisyui.l1.l2 { & { --indicator-s: 0; --indicator-e: auto; --indicator-x: -50%; } [dir="rtl"] & { --indicator-s: auto; --indicator-e: 0; --indicator-x: 50%; } } } .xl\:indicator-center { @layer daisyui.l1.l2 { & { --indicator-s: 50%; --indicator-e: 50%; --indicator-x: -50%; } [dir="rtl"] & { --indicator-x: 50%; } } } .xl\:indicator-end { @layer daisyui.l1.l2 { & { --indicator-s: auto; --indicator-e: 0; --indicator-x: 50%; } [dir="rtl"] & { --indicator-s: 0; --indicator-e: auto; --indicator-x: -50%; } } } .xl\:indicator-bottom { @layer daisyui.l1.l2 { & { --indicator-t: auto; --indicator-b: 0; --indicator-y: 50%; } } } .xl\:indicator-middle { @layer daisyui.l1.l2 { & { --indicator-t: 50%; --indicator-b: 50%; --indicator-y: -50%; } } } .xl\:indicator-top { @layer daisyui.l1.l2 { & { --indicator-t: 0; --indicator-b: auto; --indicator-y: -50%; } } } } @media (width>=1536px) { .\32 xl\:indicator { @layer daisyui.l1.l2.l3 { & { width: max-content; display: inline-flex; position: relative; } & :where(.indicator-item) { z-index: 1; white-space: nowrap; top: var(--indicator-t, 0); bottom: var(--indicator-b, auto); left: var(--indicator-s, auto); right: var(--indicator-e, 0); translate: var(--indicator-x, 50%) var(--indicator-y, -50%); position: absolute; } } } .\32 xl\:indicator-start { @layer daisyui.l1.l2 { & { --indicator-s: 0; --indicator-e: auto; --indicator-x: -50%; } [dir="rtl"] & { --indicator-s: auto; --indicator-e: 0; --indicator-x: 50%; } } } .\32 xl\:indicator-center { @layer daisyui.l1.l2 { & { --indicator-s: 50%; --indicator-e: 50%; --indicator-x: -50%; } [dir="rtl"] & { --indicator-x: 50%; } } } .\32 xl\:indicator-end { @layer daisyui.l1.l2 { & { --indicator-s: auto; --indicator-e: 0; --indicator-x: 50%; } [dir="rtl"] & { --indicator-s: 0; --indicator-e: auto; --indicator-x: -50%; } } } .\32 xl\:indicator-bottom { @layer daisyui.l1.l2 { & { --indicator-t: auto; --indicator-b: 0; --indicator-y: 50%; } } } .\32 xl\:indicator-middle { @layer daisyui.l1.l2 { & { --indicator-t: 50%; --indicator-b: 50%; --indicator-y: -50%; } } } .\32 xl\:indicator-top { @layer daisyui.l1.l2 { & { --indicator-t: 0; --indicator-b: auto; --indicator-y: -50%; } } } } .collapse:not(td, tr, colgroup) { visibility: revert-layer; } .collapse { @layer daisyui.l1.l2.l3 { & { border-radius: var(--radius-box, 1rem); isolation: isolate; grid-template-rows: max-content 0fr; grid-template-columns: minmax(0, 1fr); width: 100%; display: grid; position: relative; overflow: hidden; } @media (prefers-reduced-motion: no-preference) { & { transition: grid-template-rows 0.2s; } } & > input:is([type="checkbox"], [type="radio"]) { appearance: none; opacity: 0; grid-row-start: 1; grid-column-start: 1; } &:is( [open], [tabindex]:focus:not(.collapse-close), [tabindex]:focus-within:not(.collapse-close) ), &:not(.collapse-close):has( > input:is([type="checkbox"], [type="radio"]):checked ) { grid-template-rows: max-content 1fr; } &:is( [open], [tabindex]:focus:not(.collapse-close), [tabindex]:focus-within:not(.collapse-close) ) > .collapse-content, &:not(.collapse-close) > :where( input:is([type="checkbox"], [type="radio"]):checked ~ .collapse-content ) { content-visibility: visible; min-height: fit-content; @supports not (content-visibility: visible) { & { visibility: visible; } } } &:focus-visible, &:has(> input:is([type="checkbox"], [type="radio"]):focus-visible), &:has(summary:focus-visible) { outline-color: var(--color-base-content); outline-offset: 2px; outline-width: 2px; outline-style: solid; } &:not(.collapse-close) { & > input[type="checkbox"], & > input[type="radio"]:not(:checked), & > .collapse-title { cursor: pointer; } } &[tabindex]:focus:not(.collapse-close, .collapse[open]), &[tabindex]:focus-within:not(.collapse-close, .collapse[open]) { & > .collapse-title { cursor: unset; } } &:is( [open], [tabindex]:focus:not(.collapse-close), [tabindex]:focus-within:not(.collapse-close) ) > :where(.collapse-content), &:not(.collapse-close) > :where( input:is([type="checkbox"], [type="radio"]):checked ~ .collapse-content ) { padding-bottom: 1rem; } & > input:is([type="checkbox"], [type="radio"]) { z-index: 1; padding: 1rem; width: 100%; min-height: 1lh; padding-inline-end: 3rem; transition: background-color 0.2s ease-out; } } @layer daisyui.l1.l2 { &[open] { &.collapse-arrow { & > .collapse-title:after { @media (prefers-reduced-motion: no-preference) { & { transform: translateY(-50%) rotate(225deg); } } } } } &.collapse-open { &.collapse-arrow { & > .collapse-title:after { @media (prefers-reduced-motion: no-preference) { & { transform: translateY(-50%) rotate(225deg); } } } } } &[tabindex].collapse-arrow:focus:not(.collapse-close), &.collapse-arrow[tabindex]:focus-within:not(.collapse-close) { & > .collapse-title:after { transform: translateY(-50%) rotate(225deg); } } &.collapse-arrow:not(.collapse-close) { & > input:is([type="checkbox"], [type="radio"]):checked ~ .collapse-title:after { transform: translateY(-50%) rotate(225deg); } } &[open] { &.collapse-plus { & > .collapse-title:after { --tw-content: "−"; content: var(--tw-content); } } } &.collapse-open { &.collapse-plus { & > .collapse-title:after { --tw-content: "−"; content: var(--tw-content); } } } &[tabindex].collapse-plus:focus:not(.collapse-close) { & > .collapse-title:after { --tw-content: "−"; content: var(--tw-content); } } &.collapse-plus:not(.collapse-close) { & > input:is([type="checkbox"], [type="radio"]):checked ~ .collapse-title:after { --tw-content: "−"; content: var(--tw-content); } } } } .collapse-title, .collapse-content { @layer daisyui.l1.l2.l3 { & { grid-row-start: 1; grid-column-start: 1; } } } .collapse-content { @layer daisyui.l1.l2.l3 { & { content-visibility: hidden; min-height: 0; cursor: unset; grid-row-start: 2; grid-column-start: 1; padding-left: 1rem; padding-right: 1rem; } @supports not (content-visibility: hidden) { & { visibility: hidden; } } @media (prefers-reduced-motion: no-preference) { & { transition: content-visibility 0.2s allow-discrete, visibility 0.2s allow-discrete, padding 0.2s ease-out, background-color 0.2s ease-out; } } } } .collapse:is(details) { @layer daisyui.l1.l2.l3 { & { width: 100%; } @media (prefers-reduced-motion: no-preference) { &::details-content { transition: content-visibility 0.2s allow-discrete, visibility 0.2s allow-discrete, padding 0.2s ease-out, background-color 0.2s ease-out, height 0.2s; interpolate-size: allow-keywords; height: 0; } &:where([open])::details-content { height: auto; } } & summary { display: block; position: relative; &::-webkit-details-marker { display: none; } } & > .collapse-content { content-visibility: visible; } } } .collapse:is(details) summary { @layer daisyui.l1.l2.l3 { & { outline: none; } } } .collapse-arrow { @layer daisyui.l1.l2 { & > .collapse-title:after { top: 50%; content: ""; transform-origin: 75% 75%; pointer-events: none; width: 0.5rem; height: 0.5rem; display: block; position: absolute; inset-inline-end: 1.4rem; transform: translateY(-100%) rotate(45deg); box-shadow: 2px 2px; @media (prefers-reduced-motion: no-preference) { & { transition-property: all; transition-duration: 0.2s; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); } } } } } .collapse-plus { @layer daisyui.l1.l2 { & > .collapse-title:after { top: 0.9rem; --tw-content: "+"; content: var(--tw-content); pointer-events: none; width: 0.5rem; height: 0.5rem; display: block; position: absolute; inset-inline-end: 1.4rem; @media (prefers-reduced-motion: no-preference) { & { transition-property: all; transition-duration: 0.3s; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); } } } } } .collapse-title { @layer daisyui.l1.l2.l3 { & { padding: 1rem; width: 100%; min-height: 1lh; padding-inline-end: 3rem; transition: background-color 0.2s ease-out; position: relative; } } } .collapse-open { @layer daisyui.l1.l2 { & { grid-template-rows: max-content 1fr; } & > .collapse-content { content-visibility: visible; min-height: fit-content; padding-bottom: 1rem; @supports not (content-visibility: visible) { & { visibility: visible; } } } } } @media (width>=640px) { .sm\:collapse:not(td, tr, colgroup) { visibility: revert-layer; } .sm\:collapse { @layer daisyui.l1.l2.l3 { & { border-radius: var(--radius-box, 1rem); isolation: isolate; grid-template-rows: max-content 0fr; grid-template-columns: minmax(0, 1fr); width: 100%; display: grid; position: relative; overflow: hidden; } @media (prefers-reduced-motion: no-preference) { & { transition: grid-template-rows 0.2s; } } & > input:is([type="checkbox"], [type="radio"]) { appearance: none; opacity: 0; grid-row-start: 1; grid-column-start: 1; } &:is( [open], [tabindex]:focus:not(.collapse-close), [tabindex]:focus-within:not(.collapse-close) ), &:not(.collapse-close):has( > input:is([type="checkbox"], [type="radio"]):checked ) { grid-template-rows: max-content 1fr; } &:is( [open], [tabindex]:focus:not(.collapse-close), [tabindex]:focus-within:not(.collapse-close) ) > .collapse-content, &:not(.collapse-close) > :where( input:is([type="checkbox"], [type="radio"]):checked ~ .collapse-content ) { content-visibility: visible; min-height: fit-content; @supports not (content-visibility: visible) { & { visibility: visible; } } } &:focus-visible, &:has(> input:is([type="checkbox"], [type="radio"]):focus-visible), &:has(summary:focus-visible) { outline-color: var(--color-base-content); outline-offset: 2px; outline-width: 2px; outline-style: solid; } &:not(.collapse-close) { & > input[type="checkbox"], & > input[type="radio"]:not(:checked), & > .collapse-title { cursor: pointer; } } &[tabindex]:focus:not(.collapse-close, .collapse[open]), &[tabindex]:focus-within:not(.collapse-close, .collapse[open]) { & > .collapse-title { cursor: unset; } } &:is( [open], [tabindex]:focus:not(.collapse-close), [tabindex]:focus-within:not(.collapse-close) ) > :where(.collapse-content), &:not(.collapse-close) > :where( input:is([type="checkbox"], [type="radio"]):checked ~ .collapse-content ) { padding-bottom: 1rem; } & > input:is([type="checkbox"], [type="radio"]) { z-index: 1; padding: 1rem; width: 100%; min-height: 1lh; padding-inline-end: 3rem; transition: background-color 0.2s ease-out; } } @layer daisyui.l1.l2 { &[open] { &.collapse-arrow { & > .collapse-title:after { @media (prefers-reduced-motion: no-preference) { & { transform: translateY(-50%) rotate(225deg); } } } } } &.collapse-open { &.collapse-arrow { & > .collapse-title:after { @media (prefers-reduced-motion: no-preference) { & { transform: translateY(-50%) rotate(225deg); } } } } } &[tabindex].collapse-arrow:focus:not(.collapse-close), &.collapse-arrow[tabindex]:focus-within:not(.collapse-close) { & > .collapse-title:after { transform: translateY(-50%) rotate(225deg); } } &.collapse-arrow:not(.collapse-close) { & > input:is([type="checkbox"], [type="radio"]):checked ~ .collapse-title:after { transform: translateY(-50%) rotate(225deg); } } &[open] { &.collapse-plus { & > .collapse-title:after { --tw-content: "−"; content: var(--tw-content); } } } &.collapse-open { &.collapse-plus { & > .collapse-title:after { --tw-content: "−"; content: var(--tw-content); } } } &[tabindex].collapse-plus:focus:not(.collapse-close) { & > .collapse-title:after { --tw-content: "−"; content: var(--tw-content); } } &.collapse-plus:not(.collapse-close) { & > input:is([type="checkbox"], [type="radio"]):checked ~ .collapse-title:after { --tw-content: "−"; content: var(--tw-content); } } } } .sm\:collapse-title, .sm\:collapse-content { @layer daisyui.l1.l2.l3 { & { grid-row-start: 1; grid-column-start: 1; } } } .sm\:collapse-content { @layer daisyui.l1.l2.l3 { & { content-visibility: hidden; min-height: 0; cursor: unset; grid-row-start: 2; grid-column-start: 1; padding-left: 1rem; padding-right: 1rem; } @supports not (content-visibility: hidden) { & { visibility: hidden; } } @media (prefers-reduced-motion: no-preference) { & { transition: content-visibility 0.2s allow-discrete, visibility 0.2s allow-discrete, padding 0.2s ease-out, background-color 0.2s ease-out; } } } } .sm\:collapse:is(details) { @layer daisyui.l1.l2.l3 { & { width: 100%; } @media (prefers-reduced-motion: no-preference) { &::details-content { transition: content-visibility 0.2s allow-discrete, visibility 0.2s allow-discrete, padding 0.2s ease-out, background-color 0.2s ease-out, height 0.2s; interpolate-size: allow-keywords; height: 0; } &:where([open])::details-content { height: auto; } } & summary { display: block; position: relative; &::-webkit-details-marker { display: none; } } & > .collapse-content { content-visibility: visible; } } } .sm\:collapse:is(details) summary { @layer daisyui.l1.l2.l3 { & { outline: none; } } } .sm\:collapse-arrow { @layer daisyui.l1.l2 { & > .collapse-title:after { top: 50%; content: ""; transform-origin: 75% 75%; pointer-events: none; width: 0.5rem; height: 0.5rem; display: block; position: absolute; inset-inline-end: 1.4rem; transform: translateY(-100%) rotate(45deg); box-shadow: 2px 2px; @media (prefers-reduced-motion: no-preference) { & { transition-property: all; transition-duration: 0.2s; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); } } } } } .sm\:collapse-plus { @layer daisyui.l1.l2 { & > .collapse-title:after { top: 0.9rem; --tw-content: "+"; content: var(--tw-content); pointer-events: none; width: 0.5rem; height: 0.5rem; display: block; position: absolute; inset-inline-end: 1.4rem; @media (prefers-reduced-motion: no-preference) { & { transition-property: all; transition-duration: 0.3s; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); } } } } } .sm\:collapse-title { @layer daisyui.l1.l2.l3 { & { padding: 1rem; width: 100%; min-height: 1lh; padding-inline-end: 3rem; transition: background-color 0.2s ease-out; position: relative; } } } .sm\:collapse-open { @layer daisyui.l1.l2 { & { grid-template-rows: max-content 1fr; } & > .collapse-content { content-visibility: visible; min-height: fit-content; padding-bottom: 1rem; @supports not (content-visibility: visible) { & { visibility: visible; } } } } } } @media (width>=768px) { .md\:collapse:not(td, tr, colgroup) { visibility: revert-layer; } .md\:collapse { @layer daisyui.l1.l2.l3 { & { border-radius: var(--radius-box, 1rem); isolation: isolate; grid-template-rows: max-content 0fr; grid-template-columns: minmax(0, 1fr); width: 100%; display: grid; position: relative; overflow: hidden; } @media (prefers-reduced-motion: no-preference) { & { transition: grid-template-rows 0.2s; } } & > input:is([type="checkbox"], [type="radio"]) { appearance: none; opacity: 0; grid-row-start: 1; grid-column-start: 1; } &:is( [open], [tabindex]:focus:not(.collapse-close), [tabindex]:focus-within:not(.collapse-close) ), &:not(.collapse-close):has( > input:is([type="checkbox"], [type="radio"]):checked ) { grid-template-rows: max-content 1fr; } &:is( [open], [tabindex]:focus:not(.collapse-close), [tabindex]:focus-within:not(.collapse-close) ) > .collapse-content, &:not(.collapse-close) > :where( input:is([type="checkbox"], [type="radio"]):checked ~ .collapse-content ) { content-visibility: visible; min-height: fit-content; @supports not (content-visibility: visible) { & { visibility: visible; } } } &:focus-visible, &:has(> input:is([type="checkbox"], [type="radio"]):focus-visible), &:has(summary:focus-visible) { outline-color: var(--color-base-content); outline-offset: 2px; outline-width: 2px; outline-style: solid; } &:not(.collapse-close) { & > input[type="checkbox"], & > input[type="radio"]:not(:checked), & > .collapse-title { cursor: pointer; } } &[tabindex]:focus:not(.collapse-close, .collapse[open]), &[tabindex]:focus-within:not(.collapse-close, .collapse[open]) { & > .collapse-title { cursor: unset; } } &:is( [open], [tabindex]:focus:not(.collapse-close), [tabindex]:focus-within:not(.collapse-close) ) > :where(.collapse-content), &:not(.collapse-close) > :where( input:is([type="checkbox"], [type="radio"]):checked ~ .collapse-content ) { padding-bottom: 1rem; } & > input:is([type="checkbox"], [type="radio"]) { z-index: 1; padding: 1rem; width: 100%; min-height: 1lh; padding-inline-end: 3rem; transition: background-color 0.2s ease-out; } } @layer daisyui.l1.l2 { &[open] { &.collapse-arrow { & > .collapse-title:after { @media (prefers-reduced-motion: no-preference) { & { transform: translateY(-50%) rotate(225deg); } } } } } &.collapse-open { &.collapse-arrow { & > .collapse-title:after { @media (prefers-reduced-motion: no-preference) { & { transform: translateY(-50%) rotate(225deg); } } } } } &[tabindex].collapse-arrow:focus:not(.collapse-close), &.collapse-arrow[tabindex]:focus-within:not(.collapse-close) { & > .collapse-title:after { transform: translateY(-50%) rotate(225deg); } } &.collapse-arrow:not(.collapse-close) { & > input:is([type="checkbox"], [type="radio"]):checked ~ .collapse-title:after { transform: translateY(-50%) rotate(225deg); } } &[open] { &.collapse-plus { & > .collapse-title:after { --tw-content: "−"; content: var(--tw-content); } } } &.collapse-open { &.collapse-plus { & > .collapse-title:after { --tw-content: "−"; content: var(--tw-content); } } } &[tabindex].collapse-plus:focus:not(.collapse-close) { & > .collapse-title:after { --tw-content: "−"; content: var(--tw-content); } } &.collapse-plus:not(.collapse-close) { & > input:is([type="checkbox"], [type="radio"]):checked ~ .collapse-title:after { --tw-content: "−"; content: var(--tw-content); } } } } .md\:collapse-title, .md\:collapse-content { @layer daisyui.l1.l2.l3 { & { grid-row-start: 1; grid-column-start: 1; } } } .md\:collapse-content { @layer daisyui.l1.l2.l3 { & { content-visibility: hidden; min-height: 0; cursor: unset; grid-row-start: 2; grid-column-start: 1; padding-left: 1rem; padding-right: 1rem; } @supports not (content-visibility: hidden) { & { visibility: hidden; } } @media (prefers-reduced-motion: no-preference) { & { transition: content-visibility 0.2s allow-discrete, visibility 0.2s allow-discrete, padding 0.2s ease-out, background-color 0.2s ease-out; } } } } .md\:collapse:is(details) { @layer daisyui.l1.l2.l3 { & { width: 100%; } @media (prefers-reduced-motion: no-preference) { &::details-content { transition: content-visibility 0.2s allow-discrete, visibility 0.2s allow-discrete, padding 0.2s ease-out, background-color 0.2s ease-out, height 0.2s; interpolate-size: allow-keywords; height: 0; } &:where([open])::details-content { height: auto; } } & summary { display: block; position: relative; &::-webkit-details-marker { display: none; } } & > .collapse-content { content-visibility: visible; } } } .md\:collapse:is(details) summary { @layer daisyui.l1.l2.l3 { & { outline: none; } } } .md\:collapse-arrow { @layer daisyui.l1.l2 { & > .collapse-title:after { top: 50%; content: ""; transform-origin: 75% 75%; pointer-events: none; width: 0.5rem; height: 0.5rem; display: block; position: absolute; inset-inline-end: 1.4rem; transform: translateY(-100%) rotate(45deg); box-shadow: 2px 2px; @media (prefers-reduced-motion: no-preference) { & { transition-property: all; transition-duration: 0.2s; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); } } } } } .md\:collapse-plus { @layer daisyui.l1.l2 { & > .collapse-title:after { top: 0.9rem; --tw-content: "+"; content: var(--tw-content); pointer-events: none; width: 0.5rem; height: 0.5rem; display: block; position: absolute; inset-inline-end: 1.4rem; @media (prefers-reduced-motion: no-preference) { & { transition-property: all; transition-duration: 0.3s; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); } } } } } .md\:collapse-title { @layer daisyui.l1.l2.l3 { & { padding: 1rem; width: 100%; min-height: 1lh; padding-inline-end: 3rem; transition: background-color 0.2s ease-out; position: relative; } } } .md\:collapse-open { @layer daisyui.l1.l2 { & { grid-template-rows: max-content 1fr; } & > .collapse-content { content-visibility: visible; min-height: fit-content; padding-bottom: 1rem; @supports not (content-visibility: visible) { & { visibility: visible; } } } } } } @media (width>=1024px) { .lg\:collapse:not(td, tr, colgroup) { visibility: revert-layer; } .lg\:collapse { @layer daisyui.l1.l2.l3 { & { border-radius: var(--radius-box, 1rem); isolation: isolate; grid-template-rows: max-content 0fr; grid-template-columns: minmax(0, 1fr); width: 100%; display: grid; position: relative; overflow: hidden; } @media (prefers-reduced-motion: no-preference) { & { transition: grid-template-rows 0.2s; } } & > input:is([type="checkbox"], [type="radio"]) { appearance: none; opacity: 0; grid-row-start: 1; grid-column-start: 1; } &:is( [open], [tabindex]:focus:not(.collapse-close), [tabindex]:focus-within:not(.collapse-close) ), &:not(.collapse-close):has( > input:is([type="checkbox"], [type="radio"]):checked ) { grid-template-rows: max-content 1fr; } &:is( [open], [tabindex]:focus:not(.collapse-close), [tabindex]:focus-within:not(.collapse-close) ) > .collapse-content, &:not(.collapse-close) > :where( input:is([type="checkbox"], [type="radio"]):checked ~ .collapse-content ) { content-visibility: visible; min-height: fit-content; @supports not (content-visibility: visible) { & { visibility: visible; } } } &:focus-visible, &:has(> input:is([type="checkbox"], [type="radio"]):focus-visible), &:has(summary:focus-visible) { outline-color: var(--color-base-content); outline-offset: 2px; outline-width: 2px; outline-style: solid; } &:not(.collapse-close) { & > input[type="checkbox"], & > input[type="radio"]:not(:checked), & > .collapse-title { cursor: pointer; } } &[tabindex]:focus:not(.collapse-close, .collapse[open]), &[tabindex]:focus-within:not(.collapse-close, .collapse[open]) { & > .collapse-title { cursor: unset; } } &:is( [open], [tabindex]:focus:not(.collapse-close), [tabindex]:focus-within:not(.collapse-close) ) > :where(.collapse-content), &:not(.collapse-close) > :where( input:is([type="checkbox"], [type="radio"]):checked ~ .collapse-content ) { padding-bottom: 1rem; } & > input:is([type="checkbox"], [type="radio"]) { z-index: 1; padding: 1rem; width: 100%; min-height: 1lh; padding-inline-end: 3rem; transition: background-color 0.2s ease-out; } } @layer daisyui.l1.l2 { &[open] { &.collapse-arrow { & > .collapse-title:after { @media (prefers-reduced-motion: no-preference) { & { transform: translateY(-50%) rotate(225deg); } } } } } &.collapse-open { &.collapse-arrow { & > .collapse-title:after { @media (prefers-reduced-motion: no-preference) { & { transform: translateY(-50%) rotate(225deg); } } } } } &[tabindex].collapse-arrow:focus:not(.collapse-close), &.collapse-arrow[tabindex]:focus-within:not(.collapse-close) { & > .collapse-title:after { transform: translateY(-50%) rotate(225deg); } } &.collapse-arrow:not(.collapse-close) { & > input:is([type="checkbox"], [type="radio"]):checked ~ .collapse-title:after { transform: translateY(-50%) rotate(225deg); } } &[open] { &.collapse-plus { & > .collapse-title:after { --tw-content: "−"; content: var(--tw-content); } } } &.collapse-open { &.collapse-plus { & > .collapse-title:after { --tw-content: "−"; content: var(--tw-content); } } } &[tabindex].collapse-plus:focus:not(.collapse-close) { & > .collapse-title:after { --tw-content: "−"; content: var(--tw-content); } } &.collapse-plus:not(.collapse-close) { & > input:is([type="checkbox"], [type="radio"]):checked ~ .collapse-title:after { --tw-content: "−"; content: var(--tw-content); } } } } .lg\:collapse-title, .lg\:collapse-content { @layer daisyui.l1.l2.l3 { & { grid-row-start: 1; grid-column-start: 1; } } } .lg\:collapse-content { @layer daisyui.l1.l2.l3 { & { content-visibility: hidden; min-height: 0; cursor: unset; grid-row-start: 2; grid-column-start: 1; padding-left: 1rem; padding-right: 1rem; } @supports not (content-visibility: hidden) { & { visibility: hidden; } } @media (prefers-reduced-motion: no-preference) { & { transition: content-visibility 0.2s allow-discrete, visibility 0.2s allow-discrete, padding 0.2s ease-out, background-color 0.2s ease-out; } } } } .lg\:collapse:is(details) { @layer daisyui.l1.l2.l3 { & { width: 100%; } @media (prefers-reduced-motion: no-preference) { &::details-content { transition: content-visibility 0.2s allow-discrete, visibility 0.2s allow-discrete, padding 0.2s ease-out, background-color 0.2s ease-out, height 0.2s; interpolate-size: allow-keywords; height: 0; } &:where([open])::details-content { height: auto; } } & summary { display: block; position: relative; &::-webkit-details-marker { display: none; } } & > .collapse-content { content-visibility: visible; } } } .lg\:collapse:is(details) summary { @layer daisyui.l1.l2.l3 { & { outline: none; } } } .lg\:collapse-arrow { @layer daisyui.l1.l2 { & > .collapse-title:after { top: 50%; content: ""; transform-origin: 75% 75%; pointer-events: none; width: 0.5rem; height: 0.5rem; display: block; position: absolute; inset-inline-end: 1.4rem; transform: translateY(-100%) rotate(45deg); box-shadow: 2px 2px; @media (prefers-reduced-motion: no-preference) { & { transition-property: all; transition-duration: 0.2s; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); } } } } } .lg\:collapse-plus { @layer daisyui.l1.l2 { & > .collapse-title:after { top: 0.9rem; --tw-content: "+"; content: var(--tw-content); pointer-events: none; width: 0.5rem; height: 0.5rem; display: block; position: absolute; inset-inline-end: 1.4rem; @media (prefers-reduced-motion: no-preference) { & { transition-property: all; transition-duration: 0.3s; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); } } } } } .lg\:collapse-title { @layer daisyui.l1.l2.l3 { & { padding: 1rem; width: 100%; min-height: 1lh; padding-inline-end: 3rem; transition: background-color 0.2s ease-out; position: relative; } } } .lg\:collapse-open { @layer daisyui.l1.l2 { & { grid-template-rows: max-content 1fr; } & > .collapse-content { content-visibility: visible; min-height: fit-content; padding-bottom: 1rem; @supports not (content-visibility: visible) { & { visibility: visible; } } } } } } @media (width>=1280px) { .xl\:collapse:not(td, tr, colgroup) { visibility: revert-layer; } .xl\:collapse { @layer daisyui.l1.l2.l3 { & { border-radius: var(--radius-box, 1rem); isolation: isolate; grid-template-rows: max-content 0fr; grid-template-columns: minmax(0, 1fr); width: 100%; display: grid; position: relative; overflow: hidden; } @media (prefers-reduced-motion: no-preference) { & { transition: grid-template-rows 0.2s; } } & > input:is([type="checkbox"], [type="radio"]) { appearance: none; opacity: 0; grid-row-start: 1; grid-column-start: 1; } &:is( [open], [tabindex]:focus:not(.collapse-close), [tabindex]:focus-within:not(.collapse-close) ), &:not(.collapse-close):has( > input:is([type="checkbox"], [type="radio"]):checked ) { grid-template-rows: max-content 1fr; } &:is( [open], [tabindex]:focus:not(.collapse-close), [tabindex]:focus-within:not(.collapse-close) ) > .collapse-content, &:not(.collapse-close) > :where( input:is([type="checkbox"], [type="radio"]):checked ~ .collapse-content ) { content-visibility: visible; min-height: fit-content; @supports not (content-visibility: visible) { & { visibility: visible; } } } &:focus-visible, &:has(> input:is([type="checkbox"], [type="radio"]):focus-visible), &:has(summary:focus-visible) { outline-color: var(--color-base-content); outline-offset: 2px; outline-width: 2px; outline-style: solid; } &:not(.collapse-close) { & > input[type="checkbox"], & > input[type="radio"]:not(:checked), & > .collapse-title { cursor: pointer; } } &[tabindex]:focus:not(.collapse-close, .collapse[open]), &[tabindex]:focus-within:not(.collapse-close, .collapse[open]) { & > .collapse-title { cursor: unset; } } &:is( [open], [tabindex]:focus:not(.collapse-close), [tabindex]:focus-within:not(.collapse-close) ) > :where(.collapse-content), &:not(.collapse-close) > :where( input:is([type="checkbox"], [type="radio"]):checked ~ .collapse-content ) { padding-bottom: 1rem; } & > input:is([type="checkbox"], [type="radio"]) { z-index: 1; padding: 1rem; width: 100%; min-height: 1lh; padding-inline-end: 3rem; transition: background-color 0.2s ease-out; } } @layer daisyui.l1.l2 { &[open] { &.collapse-arrow { & > .collapse-title:after { @media (prefers-reduced-motion: no-preference) { & { transform: translateY(-50%) rotate(225deg); } } } } } &.collapse-open { &.collapse-arrow { & > .collapse-title:after { @media (prefers-reduced-motion: no-preference) { & { transform: translateY(-50%) rotate(225deg); } } } } } &[tabindex].collapse-arrow:focus:not(.collapse-close), &.collapse-arrow[tabindex]:focus-within:not(.collapse-close) { & > .collapse-title:after { transform: translateY(-50%) rotate(225deg); } } &.collapse-arrow:not(.collapse-close) { & > input:is([type="checkbox"], [type="radio"]):checked ~ .collapse-title:after { transform: translateY(-50%) rotate(225deg); } } &[open] { &.collapse-plus { & > .collapse-title:after { --tw-content: "−"; content: var(--tw-content); } } } &.collapse-open { &.collapse-plus { & > .collapse-title:after { --tw-content: "−"; content: var(--tw-content); } } } &[tabindex].collapse-plus:focus:not(.collapse-close) { & > .collapse-title:after { --tw-content: "−"; content: var(--tw-content); } } &.collapse-plus:not(.collapse-close) { & > input:is([type="checkbox"], [type="radio"]):checked ~ .collapse-title:after { --tw-content: "−"; content: var(--tw-content); } } } } .xl\:collapse-title, .xl\:collapse-content { @layer daisyui.l1.l2.l3 { & { grid-row-start: 1; grid-column-start: 1; } } } .xl\:collapse-content { @layer daisyui.l1.l2.l3 { & { content-visibility: hidden; min-height: 0; cursor: unset; grid-row-start: 2; grid-column-start: 1; padding-left: 1rem; padding-right: 1rem; } @supports not (content-visibility: hidden) { & { visibility: hidden; } } @media (prefers-reduced-motion: no-preference) { & { transition: content-visibility 0.2s allow-discrete, visibility 0.2s allow-discrete, padding 0.2s ease-out, background-color 0.2s ease-out; } } } } .xl\:collapse:is(details) { @layer daisyui.l1.l2.l3 { & { width: 100%; } @media (prefers-reduced-motion: no-preference) { &::details-content { transition: content-visibility 0.2s allow-discrete, visibility 0.2s allow-discrete, padding 0.2s ease-out, background-color 0.2s ease-out, height 0.2s; interpolate-size: allow-keywords; height: 0; } &:where([open])::details-content { height: auto; } } & summary { display: block; position: relative; &::-webkit-details-marker { display: none; } } & > .collapse-content { content-visibility: visible; } } } .xl\:collapse:is(details) summary { @layer daisyui.l1.l2.l3 { & { outline: none; } } } .xl\:collapse-arrow { @layer daisyui.l1.l2 { & > .collapse-title:after { top: 50%; content: ""; transform-origin: 75% 75%; pointer-events: none; width: 0.5rem; height: 0.5rem; display: block; position: absolute; inset-inline-end: 1.4rem; transform: translateY(-100%) rotate(45deg); box-shadow: 2px 2px; @media (prefers-reduced-motion: no-preference) { & { transition-property: all; transition-duration: 0.2s; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); } } } } } .xl\:collapse-plus { @layer daisyui.l1.l2 { & > .collapse-title:after { top: 0.9rem; --tw-content: "+"; content: var(--tw-content); pointer-events: none; width: 0.5rem; height: 0.5rem; display: block; position: absolute; inset-inline-end: 1.4rem; @media (prefers-reduced-motion: no-preference) { & { transition-property: all; transition-duration: 0.3s; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); } } } } } .xl\:collapse-title { @layer daisyui.l1.l2.l3 { & { padding: 1rem; width: 100%; min-height: 1lh; padding-inline-end: 3rem; transition: background-color 0.2s ease-out; position: relative; } } } .xl\:collapse-open { @layer daisyui.l1.l2 { & { grid-template-rows: max-content 1fr; } & > .collapse-content { content-visibility: visible; min-height: fit-content; padding-bottom: 1rem; @supports not (content-visibility: visible) { & { visibility: visible; } } } } } } @media (width>=1536px) { .\32 xl\:collapse:not(td, tr, colgroup) { visibility: revert-layer; } .\32 xl\:collapse { @layer daisyui.l1.l2.l3 { & { border-radius: var(--radius-box, 1rem); isolation: isolate; grid-template-rows: max-content 0fr; grid-template-columns: minmax(0, 1fr); width: 100%; display: grid; position: relative; overflow: hidden; } @media (prefers-reduced-motion: no-preference) { & { transition: grid-template-rows 0.2s; } } & > input:is([type="checkbox"], [type="radio"]) { appearance: none; opacity: 0; grid-row-start: 1; grid-column-start: 1; } &:is( [open], [tabindex]:focus:not(.collapse-close), [tabindex]:focus-within:not(.collapse-close) ), &:not(.collapse-close):has( > input:is([type="checkbox"], [type="radio"]):checked ) { grid-template-rows: max-content 1fr; } &:is( [open], [tabindex]:focus:not(.collapse-close), [tabindex]:focus-within:not(.collapse-close) ) > .collapse-content, &:not(.collapse-close) > :where( input:is([type="checkbox"], [type="radio"]):checked ~ .collapse-content ) { content-visibility: visible; min-height: fit-content; @supports not (content-visibility: visible) { & { visibility: visible; } } } &:focus-visible, &:has(> input:is([type="checkbox"], [type="radio"]):focus-visible), &:has(summary:focus-visible) { outline-color: var(--color-base-content); outline-offset: 2px; outline-width: 2px; outline-style: solid; } &:not(.collapse-close) { & > input[type="checkbox"], & > input[type="radio"]:not(:checked), & > .collapse-title { cursor: pointer; } } &[tabindex]:focus:not(.collapse-close, .collapse[open]), &[tabindex]:focus-within:not(.collapse-close, .collapse[open]) { & > .collapse-title { cursor: unset; } } &:is( [open], [tabindex]:focus:not(.collapse-close), [tabindex]:focus-within:not(.collapse-close) ) > :where(.collapse-content), &:not(.collapse-close) > :where( input:is([type="checkbox"], [type="radio"]):checked ~ .collapse-content ) { padding-bottom: 1rem; } & > input:is([type="checkbox"], [type="radio"]) { z-index: 1; padding: 1rem; width: 100%; min-height: 1lh; padding-inline-end: 3rem; transition: background-color 0.2s ease-out; } } @layer daisyui.l1.l2 { &[open] { &.collapse-arrow { & > .collapse-title:after { @media (prefers-reduced-motion: no-preference) { & { transform: translateY(-50%) rotate(225deg); } } } } } &.collapse-open { &.collapse-arrow { & > .collapse-title:after { @media (prefers-reduced-motion: no-preference) { & { transform: translateY(-50%) rotate(225deg); } } } } } &[tabindex].collapse-arrow:focus:not(.collapse-close), &.collapse-arrow[tabindex]:focus-within:not(.collapse-close) { & > .collapse-title:after { transform: translateY(-50%) rotate(225deg); } } &.collapse-arrow:not(.collapse-close) { & > input:is([type="checkbox"], [type="radio"]):checked ~ .collapse-title:after { transform: translateY(-50%) rotate(225deg); } } &[open] { &.collapse-plus { & > .collapse-title:after { --tw-content: "−"; content: var(--tw-content); } } } &.collapse-open { &.collapse-plus { & > .collapse-title:after { --tw-content: "−"; content: var(--tw-content); } } } &[tabindex].collapse-plus:focus:not(.collapse-close) { & > .collapse-title:after { --tw-content: "−"; content: var(--tw-content); } } &.collapse-plus:not(.collapse-close) { & > input:is([type="checkbox"], [type="radio"]):checked ~ .collapse-title:after { --tw-content: "−"; content: var(--tw-content); } } } } .\32 xl\:collapse-title, .\32 xl\:collapse-content { @layer daisyui.l1.l2.l3 { & { grid-row-start: 1; grid-column-start: 1; } } } .\32 xl\:collapse-content { @layer daisyui.l1.l2.l3 { & { content-visibility: hidden; min-height: 0; cursor: unset; grid-row-start: 2; grid-column-start: 1; padding-left: 1rem; padding-right: 1rem; } @supports not (content-visibility: hidden) { & { visibility: hidden; } } @media (prefers-reduced-motion: no-preference) { & { transition: content-visibility 0.2s allow-discrete, visibility 0.2s allow-discrete, padding 0.2s ease-out, background-color 0.2s ease-out; } } } } .\32 xl\:collapse:is(details) { @layer daisyui.l1.l2.l3 { & { width: 100%; } @media (prefers-reduced-motion: no-preference) { &::details-content { transition: content-visibility 0.2s allow-discrete, visibility 0.2s allow-discrete, padding 0.2s ease-out, background-color 0.2s ease-out, height 0.2s; interpolate-size: allow-keywords; height: 0; } &:where([open])::details-content { height: auto; } } & summary { display: block; position: relative; &::-webkit-details-marker { display: none; } } & > .collapse-content { content-visibility: visible; } } } .\32 xl\:collapse:is(details) summary { @layer daisyui.l1.l2.l3 { & { outline: none; } } } .\32 xl\:collapse-arrow { @layer daisyui.l1.l2 { & > .collapse-title:after { top: 50%; content: ""; transform-origin: 75% 75%; pointer-events: none; width: 0.5rem; height: 0.5rem; display: block; position: absolute; inset-inline-end: 1.4rem; transform: translateY(-100%) rotate(45deg); box-shadow: 2px 2px; @media (prefers-reduced-motion: no-preference) { & { transition-property: all; transition-duration: 0.2s; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); } } } } } .\32 xl\:collapse-plus { @layer daisyui.l1.l2 { & > .collapse-title:after { top: 0.9rem; --tw-content: "+"; content: var(--tw-content); pointer-events: none; width: 0.5rem; height: 0.5rem; display: block; position: absolute; inset-inline-end: 1.4rem; @media (prefers-reduced-motion: no-preference) { & { transition-property: all; transition-duration: 0.3s; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); } } } } } .\32 xl\:collapse-title { @layer daisyui.l1.l2.l3 { & { padding: 1rem; width: 100%; min-height: 1lh; padding-inline-end: 3rem; transition: background-color 0.2s ease-out; position: relative; } } } .\32 xl\:collapse-open { @layer daisyui.l1.l2 { & { grid-template-rows: max-content 1fr; } & > .collapse-content { content-visibility: visible; min-height: fit-content; padding-bottom: 1rem; @supports not (content-visibility: visible) { & { visibility: visible; } } } } } } .link { @layer daisyui.l1.l2.l3 { & { cursor: pointer; text-decoration-line: underline; } &:focus { --tw-outline-style: none; outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } &:focus-visible { outline-offset: 2px; outline: 2px solid; } } } .link-hover { @layer daisyui.l1.l2 { & { text-decoration-line: none; } &:hover { @media (hover: hover) { & { text-decoration-line: underline; } } } } } .link-primary { @layer daisyui.l1.l2 { & { color: var(--color-primary); } @media (hover: hover) { &:hover { color: color-mix(in oklab, var(--color-primary) 80%, #000); } } } } .link-secondary { @layer daisyui.l1.l2 { & { color: var(--color-secondary); } @media (hover: hover) { &:hover { color: color-mix(in oklab, var(--color-secondary) 80%, #000); } } } } .link-accent { @layer daisyui.l1.l2 { & { color: var(--color-accent); } @media (hover: hover) { &:hover { color: color-mix(in oklab, var(--color-accent) 80%, #000); } } } } .link-neutral { @layer daisyui.l1.l2 { & { color: var(--color-neutral); } @media (hover: hover) { &:hover { color: color-mix(in oklab, var(--color-neutral) 80%, #000); } } } } .link-success { @layer daisyui.l1.l2 { & { color: var(--color-success); } @media (hover: hover) { &:hover { color: color-mix(in oklab, var(--color-success) 80%, #000); } } } } .link-info { @layer daisyui.l1.l2 { & { color: var(--color-info); } @media (hover: hover) { &:hover { color: color-mix(in oklab, var(--color-info) 80%, #000); } } } } .link-warning { @layer daisyui.l1.l2 { & { color: var(--color-warning); } @media (hover: hover) { &:hover { color: color-mix(in oklab, var(--color-warning) 80%, #000); } } } } .link-error { @layer daisyui.l1.l2 { & { color: var(--color-error); } @media (hover: hover) { &:hover { color: color-mix(in oklab, var(--color-error) 80%, #000); } } } } @media (width>=640px) { .sm\:link { @layer daisyui.l1.l2.l3 { & { cursor: pointer; text-decoration-line: underline; } &:focus { --tw-outline-style: none; outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } &:focus-visible { outline-offset: 2px; outline: 2px solid; } } } .sm\:link-hover { @layer daisyui.l1.l2 { & { text-decoration-line: none; } &:hover { @media (hover: hover) { & { text-decoration-line: underline; } } } } } .sm\:link-primary { @layer daisyui.l1.l2 { & { color: var(--color-primary); } @media (hover: hover) { &:hover { color: color-mix(in oklab, var(--color-primary) 80%, #000); } } } } .sm\:link-secondary { @layer daisyui.l1.l2 { & { color: var(--color-secondary); } @media (hover: hover) { &:hover { color: color-mix(in oklab, var(--color-secondary) 80%, #000); } } } } .sm\:link-accent { @layer daisyui.l1.l2 { & { color: var(--color-accent); } @media (hover: hover) { &:hover { color: color-mix(in oklab, var(--color-accent) 80%, #000); } } } } .sm\:link-neutral { @layer daisyui.l1.l2 { & { color: var(--color-neutral); } @media (hover: hover) { &:hover { color: color-mix(in oklab, var(--color-neutral) 80%, #000); } } } } .sm\:link-success { @layer daisyui.l1.l2 { & { color: var(--color-success); } @media (hover: hover) { &:hover { color: color-mix(in oklab, var(--color-success) 80%, #000); } } } } .sm\:link-info { @layer daisyui.l1.l2 { & { color: var(--color-info); } @media (hover: hover) { &:hover { color: color-mix(in oklab, var(--color-info) 80%, #000); } } } } .sm\:link-warning { @layer daisyui.l1.l2 { & { color: var(--color-warning); } @media (hover: hover) { &:hover { color: color-mix(in oklab, var(--color-warning) 80%, #000); } } } } .sm\:link-error { @layer daisyui.l1.l2 { & { color: var(--color-error); } @media (hover: hover) { &:hover { color: color-mix(in oklab, var(--color-error) 80%, #000); } } } } } @media (width>=768px) { .md\:link { @layer daisyui.l1.l2.l3 { & { cursor: pointer; text-decoration-line: underline; } &:focus { --tw-outline-style: none; outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } &:focus-visible { outline-offset: 2px; outline: 2px solid; } } } .md\:link-hover { @layer daisyui.l1.l2 { & { text-decoration-line: none; } &:hover { @media (hover: hover) { & { text-decoration-line: underline; } } } } } .md\:link-primary { @layer daisyui.l1.l2 { & { color: var(--color-primary); } @media (hover: hover) { &:hover { color: color-mix(in oklab, var(--color-primary) 80%, #000); } } } } .md\:link-secondary { @layer daisyui.l1.l2 { & { color: var(--color-secondary); } @media (hover: hover) { &:hover { color: color-mix(in oklab, var(--color-secondary) 80%, #000); } } } } .md\:link-accent { @layer daisyui.l1.l2 { & { color: var(--color-accent); } @media (hover: hover) { &:hover { color: color-mix(in oklab, var(--color-accent) 80%, #000); } } } } .md\:link-neutral { @layer daisyui.l1.l2 { & { color: var(--color-neutral); } @media (hover: hover) { &:hover { color: color-mix(in oklab, var(--color-neutral) 80%, #000); } } } } .md\:link-success { @layer daisyui.l1.l2 { & { color: var(--color-success); } @media (hover: hover) { &:hover { color: color-mix(in oklab, var(--color-success) 80%, #000); } } } } .md\:link-info { @layer daisyui.l1.l2 { & { color: var(--color-info); } @media (hover: hover) { &:hover { color: color-mix(in oklab, var(--color-info) 80%, #000); } } } } .md\:link-warning { @layer daisyui.l1.l2 { & { color: var(--color-warning); } @media (hover: hover) { &:hover { color: color-mix(in oklab, var(--color-warning) 80%, #000); } } } } .md\:link-error { @layer daisyui.l1.l2 { & { color: var(--color-error); } @media (hover: hover) { &:hover { color: color-mix(in oklab, var(--color-error) 80%, #000); } } } } } @media (width>=1024px) { .lg\:link { @layer daisyui.l1.l2.l3 { & { cursor: pointer; text-decoration-line: underline; } &:focus { --tw-outline-style: none; outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } &:focus-visible { outline-offset: 2px; outline: 2px solid; } } } .lg\:link-hover { @layer daisyui.l1.l2 { & { text-decoration-line: none; } &:hover { @media (hover: hover) { & { text-decoration-line: underline; } } } } } .lg\:link-primary { @layer daisyui.l1.l2 { & { color: var(--color-primary); } @media (hover: hover) { &:hover { color: color-mix(in oklab, var(--color-primary) 80%, #000); } } } } .lg\:link-secondary { @layer daisyui.l1.l2 { & { color: var(--color-secondary); } @media (hover: hover) { &:hover { color: color-mix(in oklab, var(--color-secondary) 80%, #000); } } } } .lg\:link-accent { @layer daisyui.l1.l2 { & { color: var(--color-accent); } @media (hover: hover) { &:hover { color: color-mix(in oklab, var(--color-accent) 80%, #000); } } } } .lg\:link-neutral { @layer daisyui.l1.l2 { & { color: var(--color-neutral); } @media (hover: hover) { &:hover { color: color-mix(in oklab, var(--color-neutral) 80%, #000); } } } } .lg\:link-success { @layer daisyui.l1.l2 { & { color: var(--color-success); } @media (hover: hover) { &:hover { color: color-mix(in oklab, var(--color-success) 80%, #000); } } } } .lg\:link-info { @layer daisyui.l1.l2 { & { color: var(--color-info); } @media (hover: hover) { &:hover { color: color-mix(in oklab, var(--color-info) 80%, #000); } } } } .lg\:link-warning { @layer daisyui.l1.l2 { & { color: var(--color-warning); } @media (hover: hover) { &:hover { color: color-mix(in oklab, var(--color-warning) 80%, #000); } } } } .lg\:link-error { @layer daisyui.l1.l2 { & { color: var(--color-error); } @media (hover: hover) { &:hover { color: color-mix(in oklab, var(--color-error) 80%, #000); } } } } } @media (width>=1280px) { .xl\:link { @layer daisyui.l1.l2.l3 { & { cursor: pointer; text-decoration-line: underline; } &:focus { --tw-outline-style: none; outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } &:focus-visible { outline-offset: 2px; outline: 2px solid; } } } .xl\:link-hover { @layer daisyui.l1.l2 { & { text-decoration-line: none; } &:hover { @media (hover: hover) { & { text-decoration-line: underline; } } } } } .xl\:link-primary { @layer daisyui.l1.l2 { & { color: var(--color-primary); } @media (hover: hover) { &:hover { color: color-mix(in oklab, var(--color-primary) 80%, #000); } } } } .xl\:link-secondary { @layer daisyui.l1.l2 { & { color: var(--color-secondary); } @media (hover: hover) { &:hover { color: color-mix(in oklab, var(--color-secondary) 80%, #000); } } } } .xl\:link-accent { @layer daisyui.l1.l2 { & { color: var(--color-accent); } @media (hover: hover) { &:hover { color: color-mix(in oklab, var(--color-accent) 80%, #000); } } } } .xl\:link-neutral { @layer daisyui.l1.l2 { & { color: var(--color-neutral); } @media (hover: hover) { &:hover { color: color-mix(in oklab, var(--color-neutral) 80%, #000); } } } } .xl\:link-success { @layer daisyui.l1.l2 { & { color: var(--color-success); } @media (hover: hover) { &:hover { color: color-mix(in oklab, var(--color-success) 80%, #000); } } } } .xl\:link-info { @layer daisyui.l1.l2 { & { color: var(--color-info); } @media (hover: hover) { &:hover { color: color-mix(in oklab, var(--color-info) 80%, #000); } } } } .xl\:link-warning { @layer daisyui.l1.l2 { & { color: var(--color-warning); } @media (hover: hover) { &:hover { color: color-mix(in oklab, var(--color-warning) 80%, #000); } } } } .xl\:link-error { @layer daisyui.l1.l2 { & { color: var(--color-error); } @media (hover: hover) { &:hover { color: color-mix(in oklab, var(--color-error) 80%, #000); } } } } } @media (width>=1536px) { .\32 xl\:link { @layer daisyui.l1.l2.l3 { & { cursor: pointer; text-decoration-line: underline; } &:focus { --tw-outline-style: none; outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } &:focus-visible { outline-offset: 2px; outline: 2px solid; } } } .\32 xl\:link-hover { @layer daisyui.l1.l2 { & { text-decoration-line: none; } &:hover { @media (hover: hover) { & { text-decoration-line: underline; } } } } } .\32 xl\:link-primary { @layer daisyui.l1.l2 { & { color: var(--color-primary); } @media (hover: hover) { &:hover { color: color-mix(in oklab, var(--color-primary) 80%, #000); } } } } .\32 xl\:link-secondary { @layer daisyui.l1.l2 { & { color: var(--color-secondary); } @media (hover: hover) { &:hover { color: color-mix(in oklab, var(--color-secondary) 80%, #000); } } } } .\32 xl\:link-accent { @layer daisyui.l1.l2 { & { color: var(--color-accent); } @media (hover: hover) { &:hover { color: color-mix(in oklab, var(--color-accent) 80%, #000); } } } } .\32 xl\:link-neutral { @layer daisyui.l1.l2 { & { color: var(--color-neutral); } @media (hover: hover) { &:hover { color: color-mix(in oklab, var(--color-neutral) 80%, #000); } } } } .\32 xl\:link-success { @layer daisyui.l1.l2 { & { color: var(--color-success); } @media (hover: hover) { &:hover { color: color-mix(in oklab, var(--color-success) 80%, #000); } } } } .\32 xl\:link-info { @layer daisyui.l1.l2 { & { color: var(--color-info); } @media (hover: hover) { &:hover { color: color-mix(in oklab, var(--color-info) 80%, #000); } } } } .\32 xl\:link-warning { @layer daisyui.l1.l2 { & { color: var(--color-warning); } @media (hover: hover) { &:hover { color: color-mix(in oklab, var(--color-warning) 80%, #000); } } } } .\32 xl\:link-error { @layer daisyui.l1.l2 { & { color: var(--color-error); } @media (hover: hover) { &:hover { color: color-mix(in oklab, var(--color-error) 80%, #000); } } } } } .dropdown { @layer daisyui.l1.l2.l3 { & { position-area: var(--anchor-v, bottom) var(--anchor-h, span-right); display: inline-block; position: relative; } & > :not(:has(~ [class*="dropdown-content"])):focus { --tw-outline-style: none; outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } & .dropdown-content { position: absolute; } &.dropdown-close .dropdown-content, &:not(details, .dropdown-open, .dropdown-hover:hover, :focus-within) .dropdown-content, &.dropdown-hover:not(:hover) [tabindex]:first-child:focus:not(:focus-visible) ~ .dropdown-content { transform-origin: top; opacity: 0; display: none; scale: 95%; } &[popover], & .dropdown-content { z-index: 999; @media (prefers-reduced-motion: no-preference) { & { transition-behavior: allow-discrete; transition-property: opacity, scale, display; transition-duration: 0.2s; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); animation: 0.2s dropdown; } } } @starting-style { &[popover], & .dropdown-content { opacity: 0; scale: 95%; } } &:not(.dropdown-close) { &.dropdown-open, &:not(.dropdown-hover):focus, &:focus-within { & > [tabindex]:first-child { pointer-events: none; } & .dropdown-content { opacity: 1; scale: 100%; } } &.dropdown-hover:hover { & .dropdown-content { opacity: 1; scale: 100%; } } } &:is(details) { & summary { &::-webkit-details-marker { display: none; } } } &:where([popover]) { background: 0 0; } &[popover] { color: inherit; position: fixed; @supports not (position-area: bottom) { & { margin: auto; } &.dropdown-close, &.dropdown-open:not(:popover-open) { transform-origin: top; opacity: 0; display: none; scale: 95%; } &::backdrop { background-color: oklab(0% none none/.3); } } &.dropdown-close, &:not(.dropdown-open, :popover-open) { transform-origin: top; opacity: 0; display: none; scale: 95%; } } } } .dropdown-start { @layer daisyui.l1.l2 { & { --anchor-h: span-right; } & :where(.dropdown-content) { inset-inline-end: auto; translate: 0; [dir="rtl"] & { translate: 0; } } &.dropdown-left { --anchor-h: left; --anchor-v: span-bottom; & .dropdown-content { top: 0; bottom: auto; } } &.dropdown-right { --anchor-h: right; --anchor-v: span-bottom; & .dropdown-content { top: 0; bottom: auto; } } } } .dropdown-center { @layer daisyui.l1.l2 { & { --anchor-h: center; } & :where(.dropdown-content) { inset-inline-end: 50%; translate: 50%; [dir="rtl"] & { translate: -50%; } } &.dropdown-left { --anchor-h: left; --anchor-v: center; & .dropdown-content { top: auto; bottom: 50%; translate: 0 50%; } } &.dropdown-right { --anchor-h: right; --anchor-v: center; & .dropdown-content { top: auto; bottom: 50%; translate: 0 50%; } } } } .dropdown-end { @layer daisyui.l1.l2 { & { --anchor-h: span-left; } & :where(.dropdown-content) { inset-inline-end: 0; translate: 0; [dir="rtl"] & { translate: 0; } } &.dropdown-left { --anchor-h: left; --anchor-v: span-top; & .dropdown-content { top: auto; bottom: 0; } } &.dropdown-right { --anchor-h: right; --anchor-v: span-top; & .dropdown-content { top: auto; bottom: 0; } } } } .dropdown-left { @layer daisyui.l1.l2 { & { --anchor-h: left; --anchor-v: span-bottom; } & .dropdown-content { inset-inline-end: 100%; transform-origin: 100%; top: 0; bottom: auto; } } } .dropdown-right { @layer daisyui.l1.l2 { & { --anchor-h: right; --anchor-v: span-bottom; } & .dropdown-content { inset-inline-start: 100%; transform-origin: 0; top: 0; bottom: auto; } } } .dropdown-bottom { @layer daisyui.l1.l2 { & { --anchor-v: bottom; } & .dropdown-content { transform-origin: top; top: 100%; bottom: auto; } } } .dropdown-top { @layer daisyui.l1.l2 { & { --anchor-v: top; } & .dropdown-content { transform-origin: bottom; top: auto; bottom: 100%; } } } @keyframes dropdown { 0% { opacity: 0; } } @media (width>=640px) { .sm\:dropdown { @layer daisyui.l1.l2.l3 { & { position-area: var(--anchor-v, bottom) var(--anchor-h, span-right); display: inline-block; position: relative; } & > :not(:has(~ [class*="dropdown-content"])):focus { --tw-outline-style: none; outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } & .dropdown-content { position: absolute; } &.dropdown-close .dropdown-content, &:not(details, .dropdown-open, .dropdown-hover:hover, :focus-within) .dropdown-content, &.dropdown-hover:not(:hover) [tabindex]:first-child:focus:not(:focus-visible) ~ .dropdown-content { transform-origin: top; opacity: 0; display: none; scale: 95%; } &[popover], & .dropdown-content { z-index: 999; @media (prefers-reduced-motion: no-preference) { & { transition-behavior: allow-discrete; transition-property: opacity, scale, display; transition-duration: 0.2s; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); animation: 0.2s dropdown; } } } @starting-style { &[popover], & .dropdown-content { opacity: 0; scale: 95%; } } &:not(.dropdown-close) { &.dropdown-open, &:not(.dropdown-hover):focus, &:focus-within { & > [tabindex]:first-child { pointer-events: none; } & .dropdown-content { opacity: 1; scale: 100%; } } &.dropdown-hover:hover { & .dropdown-content { opacity: 1; scale: 100%; } } } &:is(details) { & summary { &::-webkit-details-marker { display: none; } } } &:where([popover]) { background: 0 0; } &[popover] { color: inherit; position: fixed; @supports not (position-area: bottom) { & { margin: auto; } &.dropdown-close, &.dropdown-open:not(:popover-open) { transform-origin: top; opacity: 0; display: none; scale: 95%; } &::backdrop { background-color: oklab(0% none none/.3); } } &.dropdown-close, &:not(.dropdown-open, :popover-open) { transform-origin: top; opacity: 0; display: none; scale: 95%; } } } } .sm\:dropdown-start { @layer daisyui.l1.l2 { & { --anchor-h: span-right; } & :where(.dropdown-content) { inset-inline-end: auto; translate: 0; [dir="rtl"] & { translate: 0; } } &.dropdown-left { --anchor-h: left; --anchor-v: span-bottom; & .dropdown-content { top: 0; bottom: auto; } } &.dropdown-right { --anchor-h: right; --anchor-v: span-bottom; & .dropdown-content { top: 0; bottom: auto; } } } } .sm\:dropdown-center { @layer daisyui.l1.l2 { & { --anchor-h: center; } & :where(.dropdown-content) { inset-inline-end: 50%; translate: 50%; [dir="rtl"] & { translate: -50%; } } &.dropdown-left { --anchor-h: left; --anchor-v: center; & .dropdown-content { top: auto; bottom: 50%; translate: 0 50%; } } &.dropdown-right { --anchor-h: right; --anchor-v: center; & .dropdown-content { top: auto; bottom: 50%; translate: 0 50%; } } } } .sm\:dropdown-end { @layer daisyui.l1.l2 { & { --anchor-h: span-left; } & :where(.dropdown-content) { inset-inline-end: 0; translate: 0; [dir="rtl"] & { translate: 0; } } &.dropdown-left { --anchor-h: left; --anchor-v: span-top; & .dropdown-content { top: auto; bottom: 0; } } &.dropdown-right { --anchor-h: right; --anchor-v: span-top; & .dropdown-content { top: auto; bottom: 0; } } } } .sm\:dropdown-left { @layer daisyui.l1.l2 { & { --anchor-h: left; --anchor-v: span-bottom; } & .dropdown-content { inset-inline-end: 100%; transform-origin: 100%; top: 0; bottom: auto; } } } .sm\:dropdown-right { @layer daisyui.l1.l2 { & { --anchor-h: right; --anchor-v: span-bottom; } & .dropdown-content { inset-inline-start: 100%; transform-origin: 0; top: 0; bottom: auto; } } } .sm\:dropdown-bottom { @layer daisyui.l1.l2 { & { --anchor-v: bottom; } & .dropdown-content { transform-origin: top; top: 100%; bottom: auto; } } } .sm\:dropdown-top { @layer daisyui.l1.l2 { & { --anchor-v: top; } & .dropdown-content { transform-origin: bottom; top: auto; bottom: 100%; } } } } @media (width>=768px) { .md\:dropdown { @layer daisyui.l1.l2.l3 { & { position-area: var(--anchor-v, bottom) var(--anchor-h, span-right); display: inline-block; position: relative; } & > :not(:has(~ [class*="dropdown-content"])):focus { --tw-outline-style: none; outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } & .dropdown-content { position: absolute; } &.dropdown-close .dropdown-content, &:not(details, .dropdown-open, .dropdown-hover:hover, :focus-within) .dropdown-content, &.dropdown-hover:not(:hover) [tabindex]:first-child:focus:not(:focus-visible) ~ .dropdown-content { transform-origin: top; opacity: 0; display: none; scale: 95%; } &[popover], & .dropdown-content { z-index: 999; @media (prefers-reduced-motion: no-preference) { & { transition-behavior: allow-discrete; transition-property: opacity, scale, display; transition-duration: 0.2s; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); animation: 0.2s dropdown; } } } @starting-style { &[popover], & .dropdown-content { opacity: 0; scale: 95%; } } &:not(.dropdown-close) { &.dropdown-open, &:not(.dropdown-hover):focus, &:focus-within { & > [tabindex]:first-child { pointer-events: none; } & .dropdown-content { opacity: 1; scale: 100%; } } &.dropdown-hover:hover { & .dropdown-content { opacity: 1; scale: 100%; } } } &:is(details) { & summary { &::-webkit-details-marker { display: none; } } } &:where([popover]) { background: 0 0; } &[popover] { color: inherit; position: fixed; @supports not (position-area: bottom) { & { margin: auto; } &.dropdown-close, &.dropdown-open:not(:popover-open) { transform-origin: top; opacity: 0; display: none; scale: 95%; } &::backdrop { background-color: oklab(0% none none/.3); } } &.dropdown-close, &:not(.dropdown-open, :popover-open) { transform-origin: top; opacity: 0; display: none; scale: 95%; } } } } .md\:dropdown-start { @layer daisyui.l1.l2 { & { --anchor-h: span-right; } & :where(.dropdown-content) { inset-inline-end: auto; translate: 0; [dir="rtl"] & { translate: 0; } } &.dropdown-left { --anchor-h: left; --anchor-v: span-bottom; & .dropdown-content { top: 0; bottom: auto; } } &.dropdown-right { --anchor-h: right; --anchor-v: span-bottom; & .dropdown-content { top: 0; bottom: auto; } } } } .md\:dropdown-center { @layer daisyui.l1.l2 { & { --anchor-h: center; } & :where(.dropdown-content) { inset-inline-end: 50%; translate: 50%; [dir="rtl"] & { translate: -50%; } } &.dropdown-left { --anchor-h: left; --anchor-v: center; & .dropdown-content { top: auto; bottom: 50%; translate: 0 50%; } } &.dropdown-right { --anchor-h: right; --anchor-v: center; & .dropdown-content { top: auto; bottom: 50%; translate: 0 50%; } } } } .md\:dropdown-end { @layer daisyui.l1.l2 { & { --anchor-h: span-left; } & :where(.dropdown-content) { inset-inline-end: 0; translate: 0; [dir="rtl"] & { translate: 0; } } &.dropdown-left { --anchor-h: left; --anchor-v: span-top; & .dropdown-content { top: auto; bottom: 0; } } &.dropdown-right { --anchor-h: right; --anchor-v: span-top; & .dropdown-content { top: auto; bottom: 0; } } } } .md\:dropdown-left { @layer daisyui.l1.l2 { & { --anchor-h: left; --anchor-v: span-bottom; } & .dropdown-content { inset-inline-end: 100%; transform-origin: 100%; top: 0; bottom: auto; } } } .md\:dropdown-right { @layer daisyui.l1.l2 { & { --anchor-h: right; --anchor-v: span-bottom; } & .dropdown-content { inset-inline-start: 100%; transform-origin: 0; top: 0; bottom: auto; } } } .md\:dropdown-bottom { @layer daisyui.l1.l2 { & { --anchor-v: bottom; } & .dropdown-content { transform-origin: top; top: 100%; bottom: auto; } } } .md\:dropdown-top { @layer daisyui.l1.l2 { & { --anchor-v: top; } & .dropdown-content { transform-origin: bottom; top: auto; bottom: 100%; } } } } @media (width>=1024px) { .lg\:dropdown { @layer daisyui.l1.l2.l3 { & { position-area: var(--anchor-v, bottom) var(--anchor-h, span-right); display: inline-block; position: relative; } & > :not(:has(~ [class*="dropdown-content"])):focus { --tw-outline-style: none; outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } & .dropdown-content { position: absolute; } &.dropdown-close .dropdown-content, &:not(details, .dropdown-open, .dropdown-hover:hover, :focus-within) .dropdown-content, &.dropdown-hover:not(:hover) [tabindex]:first-child:focus:not(:focus-visible) ~ .dropdown-content { transform-origin: top; opacity: 0; display: none; scale: 95%; } &[popover], & .dropdown-content { z-index: 999; @media (prefers-reduced-motion: no-preference) { & { transition-behavior: allow-discrete; transition-property: opacity, scale, display; transition-duration: 0.2s; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); animation: 0.2s dropdown; } } } @starting-style { &[popover], & .dropdown-content { opacity: 0; scale: 95%; } } &:not(.dropdown-close) { &.dropdown-open, &:not(.dropdown-hover):focus, &:focus-within { & > [tabindex]:first-child { pointer-events: none; } & .dropdown-content { opacity: 1; scale: 100%; } } &.dropdown-hover:hover { & .dropdown-content { opacity: 1; scale: 100%; } } } &:is(details) { & summary { &::-webkit-details-marker { display: none; } } } &:where([popover]) { background: 0 0; } &[popover] { color: inherit; position: fixed; @supports not (position-area: bottom) { & { margin: auto; } &.dropdown-close, &.dropdown-open:not(:popover-open) { transform-origin: top; opacity: 0; display: none; scale: 95%; } &::backdrop { background-color: oklab(0% none none/.3); } } &.dropdown-close, &:not(.dropdown-open, :popover-open) { transform-origin: top; opacity: 0; display: none; scale: 95%; } } } } .lg\:dropdown-start { @layer daisyui.l1.l2 { & { --anchor-h: span-right; } & :where(.dropdown-content) { inset-inline-end: auto; translate: 0; [dir="rtl"] & { translate: 0; } } &.dropdown-left { --anchor-h: left; --anchor-v: span-bottom; & .dropdown-content { top: 0; bottom: auto; } } &.dropdown-right { --anchor-h: right; --anchor-v: span-bottom; & .dropdown-content { top: 0; bottom: auto; } } } } .lg\:dropdown-center { @layer daisyui.l1.l2 { & { --anchor-h: center; } & :where(.dropdown-content) { inset-inline-end: 50%; translate: 50%; [dir="rtl"] & { translate: -50%; } } &.dropdown-left { --anchor-h: left; --anchor-v: center; & .dropdown-content { top: auto; bottom: 50%; translate: 0 50%; } } &.dropdown-right { --anchor-h: right; --anchor-v: center; & .dropdown-content { top: auto; bottom: 50%; translate: 0 50%; } } } } .lg\:dropdown-end { @layer daisyui.l1.l2 { & { --anchor-h: span-left; } & :where(.dropdown-content) { inset-inline-end: 0; translate: 0; [dir="rtl"] & { translate: 0; } } &.dropdown-left { --anchor-h: left; --anchor-v: span-top; & .dropdown-content { top: auto; bottom: 0; } } &.dropdown-right { --anchor-h: right; --anchor-v: span-top; & .dropdown-content { top: auto; bottom: 0; } } } } .lg\:dropdown-left { @layer daisyui.l1.l2 { & { --anchor-h: left; --anchor-v: span-bottom; } & .dropdown-content { inset-inline-end: 100%; transform-origin: 100%; top: 0; bottom: auto; } } } .lg\:dropdown-right { @layer daisyui.l1.l2 { & { --anchor-h: right; --anchor-v: span-bottom; } & .dropdown-content { inset-inline-start: 100%; transform-origin: 0; top: 0; bottom: auto; } } } .lg\:dropdown-bottom { @layer daisyui.l1.l2 { & { --anchor-v: bottom; } & .dropdown-content { transform-origin: top; top: 100%; bottom: auto; } } } .lg\:dropdown-top { @layer daisyui.l1.l2 { & { --anchor-v: top; } & .dropdown-content { transform-origin: bottom; top: auto; bottom: 100%; } } } } @media (width>=1280px) { .xl\:dropdown { @layer daisyui.l1.l2.l3 { & { position-area: var(--anchor-v, bottom) var(--anchor-h, span-right); display: inline-block; position: relative; } & > :not(:has(~ [class*="dropdown-content"])):focus { --tw-outline-style: none; outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } & .dropdown-content { position: absolute; } &.dropdown-close .dropdown-content, &:not(details, .dropdown-open, .dropdown-hover:hover, :focus-within) .dropdown-content, &.dropdown-hover:not(:hover) [tabindex]:first-child:focus:not(:focus-visible) ~ .dropdown-content { transform-origin: top; opacity: 0; display: none; scale: 95%; } &[popover], & .dropdown-content { z-index: 999; @media (prefers-reduced-motion: no-preference) { & { transition-behavior: allow-discrete; transition-property: opacity, scale, display; transition-duration: 0.2s; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); animation: 0.2s dropdown; } } } @starting-style { &[popover], & .dropdown-content { opacity: 0; scale: 95%; } } &:not(.dropdown-close) { &.dropdown-open, &:not(.dropdown-hover):focus, &:focus-within { & > [tabindex]:first-child { pointer-events: none; } & .dropdown-content { opacity: 1; scale: 100%; } } &.dropdown-hover:hover { & .dropdown-content { opacity: 1; scale: 100%; } } } &:is(details) { & summary { &::-webkit-details-marker { display: none; } } } &:where([popover]) { background: 0 0; } &[popover] { color: inherit; position: fixed; @supports not (position-area: bottom) { & { margin: auto; } &.dropdown-close, &.dropdown-open:not(:popover-open) { transform-origin: top; opacity: 0; display: none; scale: 95%; } &::backdrop { background-color: oklab(0% none none/.3); } } &.dropdown-close, &:not(.dropdown-open, :popover-open) { transform-origin: top; opacity: 0; display: none; scale: 95%; } } } } .xl\:dropdown-start { @layer daisyui.l1.l2 { & { --anchor-h: span-right; } & :where(.dropdown-content) { inset-inline-end: auto; translate: 0; [dir="rtl"] & { translate: 0; } } &.dropdown-left { --anchor-h: left; --anchor-v: span-bottom; & .dropdown-content { top: 0; bottom: auto; } } &.dropdown-right { --anchor-h: right; --anchor-v: span-bottom; & .dropdown-content { top: 0; bottom: auto; } } } } .xl\:dropdown-center { @layer daisyui.l1.l2 { & { --anchor-h: center; } & :where(.dropdown-content) { inset-inline-end: 50%; translate: 50%; [dir="rtl"] & { translate: -50%; } } &.dropdown-left { --anchor-h: left; --anchor-v: center; & .dropdown-content { top: auto; bottom: 50%; translate: 0 50%; } } &.dropdown-right { --anchor-h: right; --anchor-v: center; & .dropdown-content { top: auto; bottom: 50%; translate: 0 50%; } } } } .xl\:dropdown-end { @layer daisyui.l1.l2 { & { --anchor-h: span-left; } & :where(.dropdown-content) { inset-inline-end: 0; translate: 0; [dir="rtl"] & { translate: 0; } } &.dropdown-left { --anchor-h: left; --anchor-v: span-top; & .dropdown-content { top: auto; bottom: 0; } } &.dropdown-right { --anchor-h: right; --anchor-v: span-top; & .dropdown-content { top: auto; bottom: 0; } } } } .xl\:dropdown-left { @layer daisyui.l1.l2 { & { --anchor-h: left; --anchor-v: span-bottom; } & .dropdown-content { inset-inline-end: 100%; transform-origin: 100%; top: 0; bottom: auto; } } } .xl\:dropdown-right { @layer daisyui.l1.l2 { & { --anchor-h: right; --anchor-v: span-bottom; } & .dropdown-content { inset-inline-start: 100%; transform-origin: 0; top: 0; bottom: auto; } } } .xl\:dropdown-bottom { @layer daisyui.l1.l2 { & { --anchor-v: bottom; } & .dropdown-content { transform-origin: top; top: 100%; bottom: auto; } } } .xl\:dropdown-top { @layer daisyui.l1.l2 { & { --anchor-v: top; } & .dropdown-content { transform-origin: bottom; top: auto; bottom: 100%; } } } } @media (width>=1536px) { .\32 xl\:dropdown { @layer daisyui.l1.l2.l3 { & { position-area: var(--anchor-v, bottom) var(--anchor-h, span-right); display: inline-block; position: relative; } & > :not(:has(~ [class*="dropdown-content"])):focus { --tw-outline-style: none; outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } & .dropdown-content { position: absolute; } &.dropdown-close .dropdown-content, &:not(details, .dropdown-open, .dropdown-hover:hover, :focus-within) .dropdown-content, &.dropdown-hover:not(:hover) [tabindex]:first-child:focus:not(:focus-visible) ~ .dropdown-content { transform-origin: top; opacity: 0; display: none; scale: 95%; } &[popover], & .dropdown-content { z-index: 999; @media (prefers-reduced-motion: no-preference) { & { transition-behavior: allow-discrete; transition-property: opacity, scale, display; transition-duration: 0.2s; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); animation: 0.2s dropdown; } } } @starting-style { &[popover], & .dropdown-content { opacity: 0; scale: 95%; } } &:not(.dropdown-close) { &.dropdown-open, &:not(.dropdown-hover):focus, &:focus-within { & > [tabindex]:first-child { pointer-events: none; } & .dropdown-content { opacity: 1; scale: 100%; } } &.dropdown-hover:hover { & .dropdown-content { opacity: 1; scale: 100%; } } } &:is(details) { & summary { &::-webkit-details-marker { display: none; } } } &:where([popover]) { background: 0 0; } &[popover] { color: inherit; position: fixed; @supports not (position-area: bottom) { & { margin: auto; } &.dropdown-close, &.dropdown-open:not(:popover-open) { transform-origin: top; opacity: 0; display: none; scale: 95%; } &::backdrop { background-color: oklab(0% none none/.3); } } &.dropdown-close, &:not(.dropdown-open, :popover-open) { transform-origin: top; opacity: 0; display: none; scale: 95%; } } } } .\32 xl\:dropdown-start { @layer daisyui.l1.l2 { & { --anchor-h: span-right; } & :where(.dropdown-content) { inset-inline-end: auto; translate: 0; [dir="rtl"] & { translate: 0; } } &.dropdown-left { --anchor-h: left; --anchor-v: span-bottom; & .dropdown-content { top: 0; bottom: auto; } } &.dropdown-right { --anchor-h: right; --anchor-v: span-bottom; & .dropdown-content { top: 0; bottom: auto; } } } } .\32 xl\:dropdown-center { @layer daisyui.l1.l2 { & { --anchor-h: center; } & :where(.dropdown-content) { inset-inline-end: 50%; translate: 50%; [dir="rtl"] & { translate: -50%; } } &.dropdown-left { --anchor-h: left; --anchor-v: center; & .dropdown-content { top: auto; bottom: 50%; translate: 0 50%; } } &.dropdown-right { --anchor-h: right; --anchor-v: center; & .dropdown-content { top: auto; bottom: 50%; translate: 0 50%; } } } } .\32 xl\:dropdown-end { @layer daisyui.l1.l2 { & { --anchor-h: span-left; } & :where(.dropdown-content) { inset-inline-end: 0; translate: 0; [dir="rtl"] & { translate: 0; } } &.dropdown-left { --anchor-h: left; --anchor-v: span-top; & .dropdown-content { top: auto; bottom: 0; } } &.dropdown-right { --anchor-h: right; --anchor-v: span-top; & .dropdown-content { top: auto; bottom: 0; } } } } .\32 xl\:dropdown-left { @layer daisyui.l1.l2 { & { --anchor-h: left; --anchor-v: span-bottom; } & .dropdown-content { inset-inline-end: 100%; transform-origin: 100%; top: 0; bottom: auto; } } } .\32 xl\:dropdown-right { @layer daisyui.l1.l2 { & { --anchor-h: right; --anchor-v: span-bottom; } & .dropdown-content { inset-inline-start: 100%; transform-origin: 0; top: 0; bottom: auto; } } } .\32 xl\:dropdown-bottom { @layer daisyui.l1.l2 { & { --anchor-v: bottom; } & .dropdown-content { transform-origin: top; top: 100%; bottom: auto; } } } .\32 xl\:dropdown-top { @layer daisyui.l1.l2 { & { --anchor-v: top; } & .dropdown-content { transform-origin: bottom; top: auto; bottom: 100%; } } } } .cally { @layer daisyui.l1.l2.l3 { & { font-size: 0.7rem; } &::part(container) { user-select: none; padding: 0.5rem 1rem; } & ::part(th) { block-size: auto; font-weight: 400; } &::part(header) { direction: ltr; } & ::part(head) { opacity: 0.5; font-size: 0.7rem; } &::part(button) { border-radius: var(--radius-field); background: 0 0; border: none; padding: 0.5rem; } &::part(button):hover { background: var(--color-base-200); } & ::part(day) { border-radius: var(--radius-field); font-size: 0.7rem; } & ::part(day):hover { &:not(selected, today) { background: var(--color-base-200); } } & ::part(button day today) { background: var(--color-primary); color: var(--color-primary-content); } & ::part(selected) { color: var(--color-base-100); background: var(--color-base-content); border-radius: var(--radius-field); } & ::part(range-inner) { border-radius: 0; } & ::part(range-start) { border-start-end-radius: 0; border-end-end-radius: 0; } & ::part(range-end) { border-start-start-radius: 0; border-end-start-radius: 0; } & ::part(range-start range-end) { border-radius: var(--radius-field); } & calendar-month { width: 100%; } } } .react-day-picker { @layer daisyui.l1.l2.l3 { & { user-select: none; background-color: var(--color-base-100); border-radius: var(--radius-box); border: var(--border) solid var(--color-base-200); font-size: 0.75rem; display: inline-block; position: relative; overflow: clip; } &[dir="rtl"] { & .rdp-nav { & .rdp-chevron { transform-origin: 50%; transform: rotate(180deg); } } } & * { box-sizing: border-box; } & .rdp-day { text-align: center; width: 2.25rem; height: 2.25rem; } & .rdp-day_button { cursor: pointer; font: inherit; color: inherit; border-radius: var(--radius-field); background: 0 0; border: 2px solid #0000; justify-content: center; align-items: center; width: 2.25rem; height: 2.25rem; margin: 0; padding: 0; display: flex; &:disabled { cursor: revert; } &:hover { background-color: var(--color-base-200); } &:disabled:hover, &[aria-disabled="true"]:hover { cursor: not-allowed; background-color: #0000; } } & .rdp-caption_label { z-index: 1; white-space: nowrap; border: 0; align-items: center; display: inline-flex; position: relative; } & .rdp-button_next { border-radius: var(--radius-field); &:hover { background-color: var(--color-base-200); } } & .rdp-button_previous { border-radius: var(--radius-field); &:hover { background-color: var(--color-base-200); } } & .rdp-button_next, & .rdp-button_previous { cursor: pointer; font: inherit; color: inherit; appearance: none; background: 0 0; border: none; justify-content: center; align-items: center; width: 2.25rem; height: 2.25rem; margin: 0; padding: 0; display: inline-flex; position: relative; &:disabled, &[aria-disabled="true"] { cursor: revert; opacity: 0.5; } &:disabled:hover, &[aria-disabled="true"]:hover { background-color: #0000; } } & .rdp-chevron { fill: var(--color-base-content); width: 1rem; height: 1rem; display: inline-block; } & .rdp-dropdowns { align-items: center; gap: 0.5rem; display: inline-flex; position: relative; } & .rdp-dropdown { z-index: 2; opacity: 0; appearance: none; cursor: inherit; line-height: inherit; border: none; width: 100%; margin: 0; padding: 0; position: absolute; inset-block: 0; inset-inline-start: 0; &:focus-visible { & ~ .rdp-caption_label { outline: 5px auto highlight; outline: 5px auto -webkit-focus-ring-color; } } } & .rdp-dropdown_root { align-items: center; display: inline-flex; position: relative; &[data-disabled="true"] { & .rdp-chevron { opacity: 0.5; } } } & .rdp-month_caption { height: 2.75rem; font-size: 0.75rem; font-weight: inherit; place-content: center; display: flex; } & .rdp-months { flex-wrap: wrap; gap: 2rem; max-width: fit-content; padding: 0.5rem; display: flex; position: relative; } & .rdp-month_grid { border-collapse: collapse; } & .rdp-nav { inset-block-start: 0; inset-inline-end: 0; justify-content: space-between; align-items: center; width: 100%; height: 2.75rem; padding-inline: 0.5rem; display: flex; position: absolute; top: 0.25rem; } & .rdp-weekday { opacity: 0.6; text-align: center; padding: 0.5rem 0; font-size: smaller; font-weight: 500; } & .rdp-week_number { opacity: 0.6; text-align: center; border: none; border-radius: 100%; width: 2.25rem; height: 2.25rem; font-size: small; font-weight: 400; } & .rdp-today:not(.rdp-outside) { & .rdp-day_button { background: var(--color-primary); color: var(--color-primary-content); } } & .rdp-selected { font-weight: inherit; font-size: 0.75rem; & .rdp-day_button { color: var(--color-base-100); background-color: var(--color-base-content); border-radius: var(--radius-field); border: none; &:hover { background-color: var(--color-base-content); } } } & .rdp-outside { opacity: 0.75; } & .rdp-disabled { opacity: 0.5; } & .rdp-hidden { visibility: hidden; color: var(--color-base-content); } & .rdp-range_start { & .rdp-day_button { border-radius: var(--radius-field) 0 0 var(--radius-field); } } & .rdp-range_start .rdp-day_button { background-color: var(--color-base-content); color: var(--color-base-100); } & .rdp-range_middle { background-color: var(--color-base-200); } & .rdp-range_middle .rdp-day_button { border: unset; border-radius: unset; color: inherit; } & .rdp-range_end { color: var(--color-base-content); & .rdp-day_button { border-radius: 0 var(--radius-field) var(--radius-field) 0; } } & .rdp-range_end .rdp-day_button { background-color: var(--color-base-content); color: var(--color-base-100); } & .rdp-range_start.rdp-range_end { background: revert; } & .rdp-focusable { cursor: pointer; } & .rdp-footer { border-top: var(--border) solid var(--color-base-200); padding: 0.5rem; } } } .pika-single { @layer daisyui.l1.l2.l3 { &:is(div) { user-select: none; z-index: 999; color: var(--color-base-content); background-color: var(--color-base-100); border-radius: var(--radius-box); border: var(--border) solid var(--color-base-200); padding: 0.5rem; font-size: 0.75rem; display: inline-block; position: relative; &:before, &:after { content: ""; display: table; } &:after { clear: both; } &.is-hidden { display: none; } &.is-bound { position: absolute; } & .pika-lendar { float: left; } & .pika-title { text-align: center; position: relative; } & .pika-label { z-index: 999; background-color: var(--color-base-100); margin: 0; padding: 5px 3px; display: inline-block; position: relative; overflow: hidden; } & .pika-title { & select { cursor: pointer; z-index: 999; opacity: 0; margin: 0; position: absolute; top: 5px; left: 0; } } & .pika-prev, & .pika-next { cursor: pointer; color: #0000; border-radius: var(--radius-field); border: 0; outline: none; width: 2.25rem; height: 2.25rem; font-size: 1.2em; display: block; position: absolute; top: 0; &:hover { background-color: var(--color-base-200); } &.is-disabled { cursor: default; opacity: 0.2; } &:before { width: 2.25rem; height: 2.25rem; color: var(--color-base-content); line-height: 2.25; display: inline-block; } } & .pika-prev { left: 0; &:before { --tw-content: "‹"; content: var(--tw-content); } } & .pika-next { right: 0; &:before { --tw-content: "›"; content: var(--tw-content); } } & .pika-select { display: inline-block; } & .pika-table { border-collapse: collapse; border-spacing: 0; border: 0; width: 100%; } & .pika-table { & th, & td { padding: 0; } & th { opacity: 0.6; text-align: center; width: 2.25rem; height: 2.25rem; } } & .pika-button { cursor: pointer; text-align: right; text-align: center; border: 0; outline: none; width: 2.25rem; height: 2.25rem; margin: 0; padding: 5px; display: block; } & .pika-week { color: var(--color-base-content); } & .is-today { & .pika-button { background: var(--color-primary); color: var(--color-primary-content); } } & .is-selected, & .has-event { & .pika-button { &, &:hover { color: var(--color-base-100); background-color: var(--color-base-content); border-radius: var(--radius-field); } } } & .has-event { & .pika-button { background: var(--color-base-primary); } } & .is-disabled, & .is-inrange { & .pika-button { background: var(--color-base-primary); } } & .is-startrange { & .pika-button { color: var(--color-base-100); background: var(--color-base-content); border-radius: var(--radius-field); } } & .is-endrange { & .pika-button { color: var(--color-base-100); background: var(--color-base-content); border-radius: var(--radius-field); } } & .is-disabled { & .pika-button { pointer-events: none; cursor: default; color: var(--color-base-content); opacity: 0.3; } } & .is-outside-current-month { & .pika-button { color: var(--color-base-content); opacity: 0.3; } } & .is-selection-disabled { pointer-events: none; cursor: default; } & .pika-button:hover, & .pika-row.pick-whole-week:hover .pika-button { color: var(--color-base-content); background-color: var(--color-base-200); border-radius: var(--radius-field); } & .pika-table abbr { font-weight: 400; text-decoration: none; } } } } .dock { @layer daisyui.l1.l2.l3 { & { z-index: 1; background-color: var(--color-base-100); color: currentColor; border-top: 0.5px solid color-mix(in oklab, var(--color-base-content) 5%, #0000); width: 100%; height: 4rem; height: calc(4rem + env(safe-area-inset-bottom)); padding: 0.5rem; padding-bottom: env(safe-area-inset-bottom); flex-direction: row; justify-content: space-around; align-items: center; display: flex; position: fixed; bottom: 0; left: 0; right: 0; } & > * { cursor: pointer; border-radius: var(--radius-box); background-color: #0000; flex-direction: column; flex-shrink: 1; flex-basis: 100%; justify-content: center; align-items: center; gap: 1px; max-width: 8rem; height: 100%; margin-bottom: 0.5rem; transition: opacity 0.2s ease-out; display: flex; position: relative; @media (hover: hover) { &:hover { opacity: 0.8; } } &[aria-disabled="true"], &[disabled] { &, &:hover { pointer-events: none; color: color-mix( in oklab, var(--color-base-content) 10%, transparent ); opacity: 1; } } & .dock-label { font-size: 0.6875rem; } &:after { content: ""; background-color: #0000; border-top: 3px solid #0000; border-radius: 3.40282e38px; width: 1.5rem; height: 0.25rem; transition: background-color 0.1s ease-out, text-color 0.1s ease-out, width 0.1s ease-out; position: absolute; bottom: 0.2rem; } } } } .dock-active { @layer daisyui.l1.l2 { &:after { color: currentColor; background-color: currentColor; width: 2.5rem; } } } .dock-xs { @layer daisyui.l1.l2 { & { height: 3rem; height: calc(3rem + env(safe-area-inset-bottom)); } & .dock-active { &:after { bottom: -0.1rem; } } & .dock-label { font-size: 0.625rem; } } } .dock-sm { @layer daisyui.l1.l2 { & { height: 3.5rem; height: calc(3.5rem + env(safe-area-inset-bottom)); } & .dock-active { &:after { bottom: -0.1rem; } } & .dock-label { font-size: 0.625rem; } } } .dock-md { @layer daisyui.l1.l2 { & { height: 4rem; height: calc(4rem + env(safe-area-inset-bottom)); } & .dock-label { font-size: 0.6875rem; } } } .dock-lg { @layer daisyui.l1.l2 { & { height: 4.5rem; height: calc(4.5rem + env(safe-area-inset-bottom)); } & .dock-active { &:after { bottom: 0.4rem; } } & .dock-label { font-size: 0.6875rem; } } } .dock-xl { @layer daisyui.l1.l2 { & { height: 5rem; height: calc(5rem + env(safe-area-inset-bottom)); } & .dock-active { &:after { bottom: 0.4rem; } } & .dock-label { font-size: 0.75rem; } } } @media (width>=640px) { .sm\:dock { @layer daisyui.l1.l2.l3 { & { z-index: 1; background-color: var(--color-base-100); color: currentColor; border-top: 0.5px solid color-mix(in oklab, var(--color-base-content) 5%, #0000); width: 100%; height: 4rem; height: calc(4rem + env(safe-area-inset-bottom)); padding: 0.5rem; padding-bottom: env(safe-area-inset-bottom); flex-direction: row; justify-content: space-around; align-items: center; display: flex; position: fixed; bottom: 0; left: 0; right: 0; } & > * { cursor: pointer; border-radius: var(--radius-box); background-color: #0000; flex-direction: column; flex-shrink: 1; flex-basis: 100%; justify-content: center; align-items: center; gap: 1px; max-width: 8rem; height: 100%; margin-bottom: 0.5rem; transition: opacity 0.2s ease-out; display: flex; position: relative; @media (hover: hover) { &:hover { opacity: 0.8; } } &[aria-disabled="true"], &[disabled] { &, &:hover { pointer-events: none; color: color-mix( in oklab, var(--color-base-content) 10%, transparent ); opacity: 1; } } & .dock-label { font-size: 0.6875rem; } &:after { content: ""; background-color: #0000; border-top: 3px solid #0000; border-radius: 3.40282e38px; width: 1.5rem; height: 0.25rem; transition: background-color 0.1s ease-out, text-color 0.1s ease-out, width 0.1s ease-out; position: absolute; bottom: 0.2rem; } } } } .sm\:dock-active { @layer daisyui.l1.l2 { &:after { color: currentColor; background-color: currentColor; width: 2.5rem; } } } .sm\:dock-xs { @layer daisyui.l1.l2 { & { height: 3rem; height: calc(3rem + env(safe-area-inset-bottom)); } & .dock-active { &:after { bottom: -0.1rem; } } & .dock-label { font-size: 0.625rem; } } } .sm\:dock-sm { @layer daisyui.l1.l2 { & { height: 3.5rem; height: calc(3.5rem + env(safe-area-inset-bottom)); } & .dock-active { &:after { bottom: -0.1rem; } } & .dock-label { font-size: 0.625rem; } } } .sm\:dock-md { @layer daisyui.l1.l2 { & { height: 4rem; height: calc(4rem + env(safe-area-inset-bottom)); } & .dock-label { font-size: 0.6875rem; } } } .sm\:dock-lg { @layer daisyui.l1.l2 { & { height: 4.5rem; height: calc(4.5rem + env(safe-area-inset-bottom)); } & .dock-active { &:after { bottom: 0.4rem; } } & .dock-label { font-size: 0.6875rem; } } } .sm\:dock-xl { @layer daisyui.l1.l2 { & { height: 5rem; height: calc(5rem + env(safe-area-inset-bottom)); } & .dock-active { &:after { bottom: 0.4rem; } } & .dock-label { font-size: 0.75rem; } } } } @media (width>=768px) { .md\:dock { @layer daisyui.l1.l2.l3 { & { z-index: 1; background-color: var(--color-base-100); color: currentColor; border-top: 0.5px solid color-mix(in oklab, var(--color-base-content) 5%, #0000); width: 100%; height: 4rem; height: calc(4rem + env(safe-area-inset-bottom)); padding: 0.5rem; padding-bottom: env(safe-area-inset-bottom); flex-direction: row; justify-content: space-around; align-items: center; display: flex; position: fixed; bottom: 0; left: 0; right: 0; } & > * { cursor: pointer; border-radius: var(--radius-box); background-color: #0000; flex-direction: column; flex-shrink: 1; flex-basis: 100%; justify-content: center; align-items: center; gap: 1px; max-width: 8rem; height: 100%; margin-bottom: 0.5rem; transition: opacity 0.2s ease-out; display: flex; position: relative; @media (hover: hover) { &:hover { opacity: 0.8; } } &[aria-disabled="true"], &[disabled] { &, &:hover { pointer-events: none; color: color-mix( in oklab, var(--color-base-content) 10%, transparent ); opacity: 1; } } & .dock-label { font-size: 0.6875rem; } &:after { content: ""; background-color: #0000; border-top: 3px solid #0000; border-radius: 3.40282e38px; width: 1.5rem; height: 0.25rem; transition: background-color 0.1s ease-out, text-color 0.1s ease-out, width 0.1s ease-out; position: absolute; bottom: 0.2rem; } } } } .md\:dock-active { @layer daisyui.l1.l2 { &:after { color: currentColor; background-color: currentColor; width: 2.5rem; } } } .md\:dock-xs { @layer daisyui.l1.l2 { & { height: 3rem; height: calc(3rem + env(safe-area-inset-bottom)); } & .dock-active { &:after { bottom: -0.1rem; } } & .dock-label { font-size: 0.625rem; } } } .md\:dock-sm { @layer daisyui.l1.l2 { & { height: 3.5rem; height: calc(3.5rem + env(safe-area-inset-bottom)); } & .dock-active { &:after { bottom: -0.1rem; } } & .dock-label { font-size: 0.625rem; } } } .md\:dock-md { @layer daisyui.l1.l2 { & { height: 4rem; height: calc(4rem + env(safe-area-inset-bottom)); } & .dock-label { font-size: 0.6875rem; } } } .md\:dock-lg { @layer daisyui.l1.l2 { & { height: 4.5rem; height: calc(4.5rem + env(safe-area-inset-bottom)); } & .dock-active { &:after { bottom: 0.4rem; } } & .dock-label { font-size: 0.6875rem; } } } .md\:dock-xl { @layer daisyui.l1.l2 { & { height: 5rem; height: calc(5rem + env(safe-area-inset-bottom)); } & .dock-active { &:after { bottom: 0.4rem; } } & .dock-label { font-size: 0.75rem; } } } } @media (width>=1024px) { .lg\:dock { @layer daisyui.l1.l2.l3 { & { z-index: 1; background-color: var(--color-base-100); color: currentColor; border-top: 0.5px solid color-mix(in oklab, var(--color-base-content) 5%, #0000); width: 100%; height: 4rem; height: calc(4rem + env(safe-area-inset-bottom)); padding: 0.5rem; padding-bottom: env(safe-area-inset-bottom); flex-direction: row; justify-content: space-around; align-items: center; display: flex; position: fixed; bottom: 0; left: 0; right: 0; } & > * { cursor: pointer; border-radius: var(--radius-box); background-color: #0000; flex-direction: column; flex-shrink: 1; flex-basis: 100%; justify-content: center; align-items: center; gap: 1px; max-width: 8rem; height: 100%; margin-bottom: 0.5rem; transition: opacity 0.2s ease-out; display: flex; position: relative; @media (hover: hover) { &:hover { opacity: 0.8; } } &[aria-disabled="true"], &[disabled] { &, &:hover { pointer-events: none; color: color-mix( in oklab, var(--color-base-content) 10%, transparent ); opacity: 1; } } & .dock-label { font-size: 0.6875rem; } &:after { content: ""; background-color: #0000; border-top: 3px solid #0000; border-radius: 3.40282e38px; width: 1.5rem; height: 0.25rem; transition: background-color 0.1s ease-out, text-color 0.1s ease-out, width 0.1s ease-out; position: absolute; bottom: 0.2rem; } } } } .lg\:dock-active { @layer daisyui.l1.l2 { &:after { color: currentColor; background-color: currentColor; width: 2.5rem; } } } .lg\:dock-xs { @layer daisyui.l1.l2 { & { height: 3rem; height: calc(3rem + env(safe-area-inset-bottom)); } & .dock-active { &:after { bottom: -0.1rem; } } & .dock-label { font-size: 0.625rem; } } } .lg\:dock-sm { @layer daisyui.l1.l2 { & { height: 3.5rem; height: calc(3.5rem + env(safe-area-inset-bottom)); } & .dock-active { &:after { bottom: -0.1rem; } } & .dock-label { font-size: 0.625rem; } } } .lg\:dock-md { @layer daisyui.l1.l2 { & { height: 4rem; height: calc(4rem + env(safe-area-inset-bottom)); } & .dock-label { font-size: 0.6875rem; } } } .lg\:dock-lg { @layer daisyui.l1.l2 { & { height: 4.5rem; height: calc(4.5rem + env(safe-area-inset-bottom)); } & .dock-active { &:after { bottom: 0.4rem; } } & .dock-label { font-size: 0.6875rem; } } } .lg\:dock-xl { @layer daisyui.l1.l2 { & { height: 5rem; height: calc(5rem + env(safe-area-inset-bottom)); } & .dock-active { &:after { bottom: 0.4rem; } } & .dock-label { font-size: 0.75rem; } } } } @media (width>=1280px) { .xl\:dock { @layer daisyui.l1.l2.l3 { & { z-index: 1; background-color: var(--color-base-100); color: currentColor; border-top: 0.5px solid color-mix(in oklab, var(--color-base-content) 5%, #0000); width: 100%; height: 4rem; height: calc(4rem + env(safe-area-inset-bottom)); padding: 0.5rem; padding-bottom: env(safe-area-inset-bottom); flex-direction: row; justify-content: space-around; align-items: center; display: flex; position: fixed; bottom: 0; left: 0; right: 0; } & > * { cursor: pointer; border-radius: var(--radius-box); background-color: #0000; flex-direction: column; flex-shrink: 1; flex-basis: 100%; justify-content: center; align-items: center; gap: 1px; max-width: 8rem; height: 100%; margin-bottom: 0.5rem; transition: opacity 0.2s ease-out; display: flex; position: relative; @media (hover: hover) { &:hover { opacity: 0.8; } } &[aria-disabled="true"], &[disabled] { &, &:hover { pointer-events: none; color: color-mix( in oklab, var(--color-base-content) 10%, transparent ); opacity: 1; } } & .dock-label { font-size: 0.6875rem; } &:after { content: ""; background-color: #0000; border-top: 3px solid #0000; border-radius: 3.40282e38px; width: 1.5rem; height: 0.25rem; transition: background-color 0.1s ease-out, text-color 0.1s ease-out, width 0.1s ease-out; position: absolute; bottom: 0.2rem; } } } } .xl\:dock-active { @layer daisyui.l1.l2 { &:after { color: currentColor; background-color: currentColor; width: 2.5rem; } } } .xl\:dock-xs { @layer daisyui.l1.l2 { & { height: 3rem; height: calc(3rem + env(safe-area-inset-bottom)); } & .dock-active { &:after { bottom: -0.1rem; } } & .dock-label { font-size: 0.625rem; } } } .xl\:dock-sm { @layer daisyui.l1.l2 { & { height: 3.5rem; height: calc(3.5rem + env(safe-area-inset-bottom)); } & .dock-active { &:after { bottom: -0.1rem; } } & .dock-label { font-size: 0.625rem; } } } .xl\:dock-md { @layer daisyui.l1.l2 { & { height: 4rem; height: calc(4rem + env(safe-area-inset-bottom)); } & .dock-label { font-size: 0.6875rem; } } } .xl\:dock-lg { @layer daisyui.l1.l2 { & { height: 4.5rem; height: calc(4.5rem + env(safe-area-inset-bottom)); } & .dock-active { &:after { bottom: 0.4rem; } } & .dock-label { font-size: 0.6875rem; } } } .xl\:dock-xl { @layer daisyui.l1.l2 { & { height: 5rem; height: calc(5rem + env(safe-area-inset-bottom)); } & .dock-active { &:after { bottom: 0.4rem; } } & .dock-label { font-size: 0.75rem; } } } } @media (width>=1536px) { .\32 xl\:dock { @layer daisyui.l1.l2.l3 { & { z-index: 1; background-color: var(--color-base-100); color: currentColor; border-top: 0.5px solid color-mix(in oklab, var(--color-base-content) 5%, #0000); width: 100%; height: 4rem; height: calc(4rem + env(safe-area-inset-bottom)); padding: 0.5rem; padding-bottom: env(safe-area-inset-bottom); flex-direction: row; justify-content: space-around; align-items: center; display: flex; position: fixed; bottom: 0; left: 0; right: 0; } & > * { cursor: pointer; border-radius: var(--radius-box); background-color: #0000; flex-direction: column; flex-shrink: 1; flex-basis: 100%; justify-content: center; align-items: center; gap: 1px; max-width: 8rem; height: 100%; margin-bottom: 0.5rem; transition: opacity 0.2s ease-out; display: flex; position: relative; @media (hover: hover) { &:hover { opacity: 0.8; } } &[aria-disabled="true"], &[disabled] { &, &:hover { pointer-events: none; color: color-mix( in oklab, var(--color-base-content) 10%, transparent ); opacity: 1; } } & .dock-label { font-size: 0.6875rem; } &:after { content: ""; background-color: #0000; border-top: 3px solid #0000; border-radius: 3.40282e38px; width: 1.5rem; height: 0.25rem; transition: background-color 0.1s ease-out, text-color 0.1s ease-out, width 0.1s ease-out; position: absolute; bottom: 0.2rem; } } } } .\32 xl\:dock-active { @layer daisyui.l1.l2 { &:after { color: currentColor; background-color: currentColor; width: 2.5rem; } } } .\32 xl\:dock-xs { @layer daisyui.l1.l2 { & { height: 3rem; height: calc(3rem + env(safe-area-inset-bottom)); } & .dock-active { &:after { bottom: -0.1rem; } } & .dock-label { font-size: 0.625rem; } } } .\32 xl\:dock-sm { @layer daisyui.l1.l2 { & { height: 3.5rem; height: calc(3.5rem + env(safe-area-inset-bottom)); } & .dock-active { &:after { bottom: -0.1rem; } } & .dock-label { font-size: 0.625rem; } } } .\32 xl\:dock-md { @layer daisyui.l1.l2 { & { height: 4rem; height: calc(4rem + env(safe-area-inset-bottom)); } & .dock-label { font-size: 0.6875rem; } } } .\32 xl\:dock-lg { @layer daisyui.l1.l2 { & { height: 4.5rem; height: calc(4.5rem + env(safe-area-inset-bottom)); } & .dock-active { &:after { bottom: 0.4rem; } } & .dock-label { font-size: 0.6875rem; } } } .\32 xl\:dock-xl { @layer daisyui.l1.l2 { & { height: 5rem; height: calc(5rem + env(safe-area-inset-bottom)); } & .dock-active { &:after { bottom: 0.4rem; } } & .dock-label { font-size: 0.75rem; } } } } .mask { @layer daisyui.l1.l2.l3 { & { vertical-align: middle; display: inline-block; mask-position: 50%; mask-size: contain; mask-repeat: no-repeat; } } } .mask-half-1 { @layer daisyui.l1.l2 { & { mask-position: 0; mask-size: 200%; } &:where(:dir(rtl), [dir="rtl"], [dir="rtl"] *) { mask-position: 100%; } } } .mask-half-2 { @layer daisyui.l1.l2 { & { mask-position: 100%; mask-size: 200%; } &:where(:dir(rtl), [dir="rtl"], [dir="rtl"] *) { mask-position: 0; } } } .mask-squircle { @layer daisyui.l1.l2 { & { mask-image: url("data:image/svg+xml,%3csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M100 0C20 0 0 20 0 100s20 100 100 100 100-20 100-100S180 0 100 0Z'/%3e%3c/svg%3e"); } } } .mask-decagon { @layer daisyui.l1.l2 { & { mask-image: url("data:image/svg+xml,%3csvg width='192' height='200' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill='black' d='m96 0 58.779 19.098 36.327 50v61.804l-36.327 50L96 200l-58.779-19.098-36.327-50V69.098l36.327-50z' fill-rule='evenodd'/%3e%3c/svg%3e"); } } } .mask-diamond { @layer daisyui.l1.l2 { & { mask-image: url("data:image/svg+xml,%3csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill='black' d='m100 0 100 100-100 100L0 100z' fill-rule='evenodd'/%3e%3c/svg%3e"); } } } .mask-heart { @layer daisyui.l1.l2 { & { mask-image: url("data:image/svg+xml,%3csvg width='200' height='185' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M100 184.606a15.384 15.384 0 0 1-8.653-2.678C53.565 156.28 37.205 138.695 28.182 127.7 8.952 104.264-.254 80.202.005 54.146.308 24.287 24.264 0 53.406 0c21.192 0 35.869 11.937 44.416 21.879a2.884 2.884 0 0 0 4.356 0C110.725 11.927 125.402 0 146.594 0c29.142 0 53.098 24.287 53.4 54.151.26 26.061-8.956 50.122-28.176 73.554-9.023 10.994-25.383 28.58-63.165 54.228a15.384 15.384 0 0 1-8.653 2.673Z' fill='black' fill-rule='nonzero'/%3e%3c/svg%3e"); } } } .mask-hexagon { @layer daisyui.l1.l2 { & { mask-image: url("data:image/svg+xml,%3csvg width='182' height='201' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M.3 65.486c0-9.196 6.687-20.063 14.211-25.078l61.86-35.946c8.36-5.016 20.899-5.016 29.258 0l61.86 35.946c8.36 5.015 14.211 15.882 14.211 25.078v71.055c0 9.196-6.687 20.063-14.211 25.079l-61.86 35.945c-8.36 4.18-20.899 4.18-29.258 0L14.51 161.62C6.151 157.44.3 145.737.3 136.54V65.486Z' fill='black' fill-rule='nonzero'/%3e%3c/svg%3e"); } } } .mask-hexagon-2 { @layer daisyui.l1.l2 { & { mask-image: url("data:image/svg+xml,%3csvg width='200' height='182' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M64.786 181.4c-9.196 0-20.063-6.687-25.079-14.21L3.762 105.33c-5.016-8.36-5.016-20.9 0-29.259l35.945-61.86C44.723 5.851 55.59 0 64.786 0h71.055c9.196 0 20.063 6.688 25.079 14.211l35.945 61.86c4.18 8.36 4.18 20.899 0 29.258l-35.945 61.86c-4.18 8.36-15.883 14.211-25.079 14.211H64.786Z' fill='black' fill-rule='nonzero'/%3e%3c/svg%3e"); } } } .mask-circle { @layer daisyui.l1.l2 { & { mask-image: url("data:image/svg+xml,%3csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle fill='black' cx='100' cy='100' r='100' fill-rule='evenodd'/%3e%3c/svg%3e"); } } } .mask-pentagon { @layer daisyui.l1.l2 { & { mask-image: url("data:image/svg+xml,%3csvg width='192' height='181' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill='black' d='m96 0 95.106 69.098-36.327 111.804H37.22L.894 69.098z' fill-rule='evenodd'/%3e%3c/svg%3e"); } } } .mask-star { @layer daisyui.l1.l2 { & { mask-image: url("data:image/svg+xml,%3csvg width='192' height='180' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill='black' d='m96 137.263-58.779 42.024 22.163-68.389L.894 68.481l72.476-.243L96 0l22.63 68.238 72.476.243-58.49 42.417 22.163 68.389z' fill-rule='evenodd'/%3e%3c/svg%3e"); } } } .mask-star-2 { @layer daisyui.l1.l2 { & { mask-image: url("data:image/svg+xml,%3csvg width='192' height='180' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill='black' d='m96 153.044-58.779 26.243 7.02-63.513L.894 68.481l63.117-13.01L96 0l31.989 55.472 63.117 13.01-43.347 47.292 7.02 63.513z' fill-rule='evenodd'/%3e%3c/svg%3e"); } } } .mask-triangle { @layer daisyui.l1.l2 { & { mask-image: url("data:image/svg+xml,%3csvg width='174' height='149' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill='black' d='m87 148.476-86.603.185L43.86 74.423 87 0l43.14 74.423 43.463 74.238z' fill-rule='evenodd'/%3e%3c/svg%3e"); } } } .mask-triangle-2 { @layer daisyui.l1.l2 { & { mask-image: url("data:image/svg+xml,%3csvg width='174' height='150' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill='black' d='m87 .738 86.603-.184-43.463 74.238L87 149.214 43.86 74.792.397.554z' fill-rule='evenodd'/%3e%3c/svg%3e"); } } } .mask-triangle-3 { @layer daisyui.l1.l2 { & { mask-image: url("data:image/svg+xml,%3csvg width='150' height='174' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill='black' d='m149.369 87.107.185 86.603-74.239-43.463L.893 87.107l74.422-43.14L149.554.505z' fill-rule='evenodd'/%3e%3c/svg%3e"); } } } .mask-triangle-4 { @layer daisyui.l1.l2 { & { mask-image: url("data:image/svg+xml,%3csvg width='150' height='174' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill='black' d='M.631 87.107.446.505l74.239 43.462 74.422 43.14-74.422 43.14L.446 173.71z' fill-rule='evenodd'/%3e%3c/svg%3e"); } } } .mockup-code { @layer daisyui.l1.l2.l3 { & { border-radius: var(--radius-box); background-color: var(--color-neutral); color: var(--color-neutral-content); direction: ltr; padding-block: 1.25rem; font-size: 0.875rem; position: relative; overflow: auto hidden; } &:before { content: ""; opacity: 0.3; border-radius: 3.40282e38px; width: 0.75rem; height: 0.75rem; margin-bottom: 1rem; display: block; box-shadow: 1.4em 0, 2.8em 0, 4.2em 0; } & pre { padding-right: 1.25rem; &:before { content: ""; margin-right: 2ch; } &[data-prefix] { &:before { --tw-content: attr(data-prefix); content: var(--tw-content); text-align: right; opacity: 0.5; width: 2rem; display: inline-block; } } } } } .mockup-window { @layer daisyui.l1.l2.l3 { & { border-radius: var(--radius-box); flex-direction: column; padding-top: 1.25rem; display: flex; position: relative; overflow: auto hidden; } &:before { content: ""; aspect-ratio: 1; opacity: 0.3; border-radius: 3.40282e38px; flex-shrink: 0; align-self: flex-start; height: 0.75rem; margin-bottom: 1rem; display: block; box-shadow: 1.4em 0, 2.8em 0, 4.2em 0; } [dir="rtl"] &:before { align-self: flex-end; } & pre[data-prefix] { &:before { --tw-content: attr(data-prefix); content: var(--tw-content); text-align: right; display: inline-block; } } } } .mockup-browser { @layer daisyui.l1.l2.l3 { & { border-radius: var(--radius-box); position: relative; overflow: auto hidden; } & pre[data-prefix] { &:before { --tw-content: attr(data-prefix); content: var(--tw-content); text-align: right; display: inline-block; } } & .mockup-browser-toolbar { align-items: center; width: 100%; margin-block: 0.75rem; padding-right: 1.4em; display: inline-flex; &:where(:dir(rtl), [dir="rtl"], [dir="rtl"] *) { flex-direction: row-reverse; } &:before { content: ""; aspect-ratio: 1; opacity: 0.3; border-radius: 3.40282e38px; height: 0.75rem; margin-right: 4.8rem; display: inline-block; box-shadow: 1.4em 0, 2.8em 0, 4.2em 0; } & .input { background-color: var(--color-base-200); text-overflow: ellipsis; white-space: nowrap; direction: ltr; align-items: center; gap: 0.5rem; height: 100%; margin-inline: auto; font-size: 0.75rem; display: flex; overflow: hidden; &:before { content: ""; opacity: 0.5; background-color: currentColor; width: 1rem; height: 1rem; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M9.965 11.026a5 5 0 1 1 1.06-1.06l2.755 2.754a.75.75 0 1 1-1.06 1.06l-2.755-2.754ZM10.5 7a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0Z' clip-rule='evenodd' /%3E%3C/svg%3E") 50% / contain no-repeat; } } } } } .mockup-phone { @layer daisyui.l1.l2.l3 { & { aspect-ratio: 462/978; background-color: #000; border: 5px solid #6b6b6b; border-radius: 65px; justify-items: center; width: 100%; max-width: 462px; padding: 6px; display: inline-grid; overflow: hidden; } @supports (corner-shape: superellipse(1.45)) { & { corner-shape: superellipse(1.45); border-radius: 90px; } } } } .mockup-phone-camera { @layer daisyui.l1.l2.l3 { & { z-index: 1; background: #000; border-radius: 17px; grid-area: 1/1/1/1; width: 28%; height: 3.7%; margin-top: 3%; } } } .mockup-phone-display { @layer daisyui.l1.l2.l3 { & { border-radius: 54px; grid-area: 1/1/1/1; width: 100%; height: 100%; overflow: hidden; } @supports (corner-shape: superellipse(1.87)) { & { corner-shape: superellipse(1.87); border-radius: 101px; } } & > img { object-fit: cover; width: 100%; height: 100%; } } } .chat { @layer daisyui.l1.l2.l3 { & { --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"); column-gap: 0.75rem; padding-block: 0.25rem; display: grid; } } } .chat-bubble { @layer daisyui.l1.l2.l3 { & { border-radius: var(--radius-field); background-color: var(--color-base-300); width: fit-content; color: var(--color-base-content); grid-row-end: 3; min-width: 2.5rem; max-width: 90%; min-height: 2rem; padding-block: 0.5rem; padding-inline: 1rem; display: block; position: relative; } &:before { background-color: inherit; content: ""; width: 0.75rem; height: 0.75rem; mask-repeat: no-repeat; mask-image: var(--mask-chat); position: absolute; bottom: 0; mask-position: 0 -1px; mask-size: 0.8125rem; } } } .chat-bubble-primary { @layer daisyui.l1.l2 { & { background-color: var(--color-primary); color: var(--color-primary-content); } } } .chat-bubble-secondary { @layer daisyui.l1.l2 { & { background-color: var(--color-secondary); color: var(--color-secondary-content); } } } .chat-bubble-accent { @layer daisyui.l1.l2 { & { background-color: var(--color-accent); color: var(--color-accent-content); } } } .chat-bubble-neutral { @layer daisyui.l1.l2 { & { background-color: var(--color-neutral); color: var(--color-neutral-content); } } } .chat-bubble-info { @layer daisyui.l1.l2 { & { background-color: var(--color-info); color: var(--color-info-content); } } } .chat-bubble-success { @layer daisyui.l1.l2 { & { background-color: var(--color-success); color: var(--color-success-content); } } } .chat-bubble-warning { @layer daisyui.l1.l2 { & { background-color: var(--color-warning); color: var(--color-warning-content); } } } .chat-bubble-error { @layer daisyui.l1.l2 { & { background-color: var(--color-error); color: var(--color-error-content); } } } .chat-image { @layer daisyui.l1.l2.l3 { & { grid-row: span 2 / span 2; align-self: flex-end; } } } .chat-header { @layer daisyui.l1.l2.l3 { & { grid-row-start: 1; gap: 0.25rem; font-size: 0.6875rem; display: flex; } } } .chat-footer { @layer daisyui.l1.l2.l3 { & { grid-row-start: 3; gap: 0.25rem; font-size: 0.6875rem; display: flex; } } } .chat-start { @layer daisyui.l1.l2 { & { grid-template-columns: auto 1fr; place-items: start; } & .chat-header, & .chat-footer { grid-column-start: 2; } & .chat-image { grid-column-start: 1; } & .chat-bubble { border-end-start-radius: 0; grid-column-start: 2; &:before { inset-inline-start: -0.75rem; transform: rotateY(0); } [dir="rtl"] &:before { transform: rotateY(180deg); } } } } .chat-end { @layer daisyui.l1.l2 { & { grid-template-columns: 1fr auto; place-items: end; } & .chat-header, & .chat-footer { grid-column-start: 1; } & .chat-image { grid-column-start: 2; } & .chat-bubble { border-end-end-radius: 0; grid-column-start: 1; &:before { inset-inline-start: 100%; transform: rotateY(180deg); } [dir="rtl"] &:before { transform: rotateY(0); } } } } @media (width>=640px) { .sm\:chat { @layer daisyui.l1.l2.l3 { & { --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"); column-gap: 0.75rem; padding-block: 0.25rem; display: grid; } } } .sm\:chat-bubble { @layer daisyui.l1.l2.l3 { & { border-radius: var(--radius-field); background-color: var(--color-base-300); width: fit-content; color: var(--color-base-content); grid-row-end: 3; min-width: 2.5rem; max-width: 90%; min-height: 2rem; padding-block: 0.5rem; padding-inline: 1rem; display: block; position: relative; } &:before { background-color: inherit; content: ""; width: 0.75rem; height: 0.75rem; mask-repeat: no-repeat; mask-image: var(--mask-chat); position: absolute; bottom: 0; mask-position: 0 -1px; mask-size: 0.8125rem; } } } .sm\:chat-bubble-primary { @layer daisyui.l1.l2 { & { background-color: var(--color-primary); color: var(--color-primary-content); } } } .sm\:chat-bubble-secondary { @layer daisyui.l1.l2 { & { background-color: var(--color-secondary); color: var(--color-secondary-content); } } } .sm\:chat-bubble-accent { @layer daisyui.l1.l2 { & { background-color: var(--color-accent); color: var(--color-accent-content); } } } .sm\:chat-bubble-neutral { @layer daisyui.l1.l2 { & { background-color: var(--color-neutral); color: var(--color-neutral-content); } } } .sm\:chat-bubble-info { @layer daisyui.l1.l2 { & { background-color: var(--color-info); color: var(--color-info-content); } } } .sm\:chat-bubble-success { @layer daisyui.l1.l2 { & { background-color: var(--color-success); color: var(--color-success-content); } } } .sm\:chat-bubble-warning { @layer daisyui.l1.l2 { & { background-color: var(--color-warning); color: var(--color-warning-content); } } } .sm\:chat-bubble-error { @layer daisyui.l1.l2 { & { background-color: var(--color-error); color: var(--color-error-content); } } } .sm\:chat-image { @layer daisyui.l1.l2.l3 { & { grid-row: span 2 / span 2; align-self: flex-end; } } } .sm\:chat-header { @layer daisyui.l1.l2.l3 { & { grid-row-start: 1; gap: 0.25rem; font-size: 0.6875rem; display: flex; } } } .sm\:chat-footer { @layer daisyui.l1.l2.l3 { & { grid-row-start: 3; gap: 0.25rem; font-size: 0.6875rem; display: flex; } } } .sm\:chat-start { @layer daisyui.l1.l2 { & { grid-template-columns: auto 1fr; place-items: start; } & .chat-header, & .chat-footer { grid-column-start: 2; } & .chat-image { grid-column-start: 1; } & .chat-bubble { border-end-start-radius: 0; grid-column-start: 2; &:before { inset-inline-start: -0.75rem; transform: rotateY(0); } [dir="rtl"] &:before { transform: rotateY(180deg); } } } } .sm\:chat-end { @layer daisyui.l1.l2 { & { grid-template-columns: 1fr auto; place-items: end; } & .chat-header, & .chat-footer { grid-column-start: 1; } & .chat-image { grid-column-start: 2; } & .chat-bubble { border-end-end-radius: 0; grid-column-start: 1; &:before { inset-inline-start: 100%; transform: rotateY(180deg); } [dir="rtl"] &:before { transform: rotateY(0); } } } } } @media (width>=768px) { .md\:chat { @layer daisyui.l1.l2.l3 { & { --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"); column-gap: 0.75rem; padding-block: 0.25rem; display: grid; } } } .md\:chat-bubble { @layer daisyui.l1.l2.l3 { & { border-radius: var(--radius-field); background-color: var(--color-base-300); width: fit-content; color: var(--color-base-content); grid-row-end: 3; min-width: 2.5rem; max-width: 90%; min-height: 2rem; padding-block: 0.5rem; padding-inline: 1rem; display: block; position: relative; } &:before { background-color: inherit; content: ""; width: 0.75rem; height: 0.75rem; mask-repeat: no-repeat; mask-image: var(--mask-chat); position: absolute; bottom: 0; mask-position: 0 -1px; mask-size: 0.8125rem; } } } .md\:chat-bubble-primary { @layer daisyui.l1.l2 { & { background-color: var(--color-primary); color: var(--color-primary-content); } } } .md\:chat-bubble-secondary { @layer daisyui.l1.l2 { & { background-color: var(--color-secondary); color: var(--color-secondary-content); } } } .md\:chat-bubble-accent { @layer daisyui.l1.l2 { & { background-color: var(--color-accent); color: var(--color-accent-content); } } } .md\:chat-bubble-neutral { @layer daisyui.l1.l2 { & { background-color: var(--color-neutral); color: var(--color-neutral-content); } } } .md\:chat-bubble-info { @layer daisyui.l1.l2 { & { background-color: var(--color-info); color: var(--color-info-content); } } } .md\:chat-bubble-success { @layer daisyui.l1.l2 { & { background-color: var(--color-success); color: var(--color-success-content); } } } .md\:chat-bubble-warning { @layer daisyui.l1.l2 { & { background-color: var(--color-warning); color: var(--color-warning-content); } } } .md\:chat-bubble-error { @layer daisyui.l1.l2 { & { background-color: var(--color-error); color: var(--color-error-content); } } } .md\:chat-image { @layer daisyui.l1.l2.l3 { & { grid-row: span 2 / span 2; align-self: flex-end; } } } .md\:chat-header { @layer daisyui.l1.l2.l3 { & { grid-row-start: 1; gap: 0.25rem; font-size: 0.6875rem; display: flex; } } } .md\:chat-footer { @layer daisyui.l1.l2.l3 { & { grid-row-start: 3; gap: 0.25rem; font-size: 0.6875rem; display: flex; } } } .md\:chat-start { @layer daisyui.l1.l2 { & { grid-template-columns: auto 1fr; place-items: start; } & .chat-header, & .chat-footer { grid-column-start: 2; } & .chat-image { grid-column-start: 1; } & .chat-bubble { border-end-start-radius: 0; grid-column-start: 2; &:before { inset-inline-start: -0.75rem; transform: rotateY(0); } [dir="rtl"] &:before { transform: rotateY(180deg); } } } } .md\:chat-end { @layer daisyui.l1.l2 { & { grid-template-columns: 1fr auto; place-items: end; } & .chat-header, & .chat-footer { grid-column-start: 1; } & .chat-image { grid-column-start: 2; } & .chat-bubble { border-end-end-radius: 0; grid-column-start: 1; &:before { inset-inline-start: 100%; transform: rotateY(180deg); } [dir="rtl"] &:before { transform: rotateY(0); } } } } } @media (width>=1024px) { .lg\:chat { @layer daisyui.l1.l2.l3 { & { --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"); column-gap: 0.75rem; padding-block: 0.25rem; display: grid; } } } .lg\:chat-bubble { @layer daisyui.l1.l2.l3 { & { border-radius: var(--radius-field); background-color: var(--color-base-300); width: fit-content; color: var(--color-base-content); grid-row-end: 3; min-width: 2.5rem; max-width: 90%; min-height: 2rem; padding-block: 0.5rem; padding-inline: 1rem; display: block; position: relative; } &:before { background-color: inherit; content: ""; width: 0.75rem; height: 0.75rem; mask-repeat: no-repeat; mask-image: var(--mask-chat); position: absolute; bottom: 0; mask-position: 0 -1px; mask-size: 0.8125rem; } } } .lg\:chat-bubble-primary { @layer daisyui.l1.l2 { & { background-color: var(--color-primary); color: var(--color-primary-content); } } } .lg\:chat-bubble-secondary { @layer daisyui.l1.l2 { & { background-color: var(--color-secondary); color: var(--color-secondary-content); } } } .lg\:chat-bubble-accent { @layer daisyui.l1.l2 { & { background-color: var(--color-accent); color: var(--color-accent-content); } } } .lg\:chat-bubble-neutral { @layer daisyui.l1.l2 { & { background-color: var(--color-neutral); color: var(--color-neutral-content); } } } .lg\:chat-bubble-info { @layer daisyui.l1.l2 { & { background-color: var(--color-info); color: var(--color-info-content); } } } .lg\:chat-bubble-success { @layer daisyui.l1.l2 { & { background-color: var(--color-success); color: var(--color-success-content); } } } .lg\:chat-bubble-warning { @layer daisyui.l1.l2 { & { background-color: var(--color-warning); color: var(--color-warning-content); } } } .lg\:chat-bubble-error { @layer daisyui.l1.l2 { & { background-color: var(--color-error); color: var(--color-error-content); } } } .lg\:chat-image { @layer daisyui.l1.l2.l3 { & { grid-row: span 2 / span 2; align-self: flex-end; } } } .lg\:chat-header { @layer daisyui.l1.l2.l3 { & { grid-row-start: 1; gap: 0.25rem; font-size: 0.6875rem; display: flex; } } } .lg\:chat-footer { @layer daisyui.l1.l2.l3 { & { grid-row-start: 3; gap: 0.25rem; font-size: 0.6875rem; display: flex; } } } .lg\:chat-start { @layer daisyui.l1.l2 { & { grid-template-columns: auto 1fr; place-items: start; } & .chat-header, & .chat-footer { grid-column-start: 2; } & .chat-image { grid-column-start: 1; } & .chat-bubble { border-end-start-radius: 0; grid-column-start: 2; &:before { inset-inline-start: -0.75rem; transform: rotateY(0); } [dir="rtl"] &:before { transform: rotateY(180deg); } } } } .lg\:chat-end { @layer daisyui.l1.l2 { & { grid-template-columns: 1fr auto; place-items: end; } & .chat-header, & .chat-footer { grid-column-start: 1; } & .chat-image { grid-column-start: 2; } & .chat-bubble { border-end-end-radius: 0; grid-column-start: 1; &:before { inset-inline-start: 100%; transform: rotateY(180deg); } [dir="rtl"] &:before { transform: rotateY(0); } } } } } @media (width>=1280px) { .xl\:chat { @layer daisyui.l1.l2.l3 { & { --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"); column-gap: 0.75rem; padding-block: 0.25rem; display: grid; } } } .xl\:chat-bubble { @layer daisyui.l1.l2.l3 { & { border-radius: var(--radius-field); background-color: var(--color-base-300); width: fit-content; color: var(--color-base-content); grid-row-end: 3; min-width: 2.5rem; max-width: 90%; min-height: 2rem; padding-block: 0.5rem; padding-inline: 1rem; display: block; position: relative; } &:before { background-color: inherit; content: ""; width: 0.75rem; height: 0.75rem; mask-repeat: no-repeat; mask-image: var(--mask-chat); position: absolute; bottom: 0; mask-position: 0 -1px; mask-size: 0.8125rem; } } } .xl\:chat-bubble-primary { @layer daisyui.l1.l2 { & { background-color: var(--color-primary); color: var(--color-primary-content); } } } .xl\:chat-bubble-secondary { @layer daisyui.l1.l2 { & { background-color: var(--color-secondary); color: var(--color-secondary-content); } } } .xl\:chat-bubble-accent { @layer daisyui.l1.l2 { & { background-color: var(--color-accent); color: var(--color-accent-content); } } } .xl\:chat-bubble-neutral { @layer daisyui.l1.l2 { & { background-color: var(--color-neutral); color: var(--color-neutral-content); } } } .xl\:chat-bubble-info { @layer daisyui.l1.l2 { & { background-color: var(--color-info); color: var(--color-info-content); } } } .xl\:chat-bubble-success { @layer daisyui.l1.l2 { & { background-color: var(--color-success); color: var(--color-success-content); } } } .xl\:chat-bubble-warning { @layer daisyui.l1.l2 { & { background-color: var(--color-warning); color: var(--color-warning-content); } } } .xl\:chat-bubble-error { @layer daisyui.l1.l2 { & { background-color: var(--color-error); color: var(--color-error-content); } } } .xl\:chat-image { @layer daisyui.l1.l2.l3 { & { grid-row: span 2 / span 2; align-self: flex-end; } } } .xl\:chat-header { @layer daisyui.l1.l2.l3 { & { grid-row-start: 1; gap: 0.25rem; font-size: 0.6875rem; display: flex; } } } .xl\:chat-footer { @layer daisyui.l1.l2.l3 { & { grid-row-start: 3; gap: 0.25rem; font-size: 0.6875rem; display: flex; } } } .xl\:chat-start { @layer daisyui.l1.l2 { & { grid-template-columns: auto 1fr; place-items: start; } & .chat-header, & .chat-footer { grid-column-start: 2; } & .chat-image { grid-column-start: 1; } & .chat-bubble { border-end-start-radius: 0; grid-column-start: 2; &:before { inset-inline-start: -0.75rem; transform: rotateY(0); } [dir="rtl"] &:before { transform: rotateY(180deg); } } } } .xl\:chat-end { @layer daisyui.l1.l2 { & { grid-template-columns: 1fr auto; place-items: end; } & .chat-header, & .chat-footer { grid-column-start: 1; } & .chat-image { grid-column-start: 2; } & .chat-bubble { border-end-end-radius: 0; grid-column-start: 1; &:before { inset-inline-start: 100%; transform: rotateY(180deg); } [dir="rtl"] &:before { transform: rotateY(0); } } } } } @media (width>=1536px) { .\32 xl\:chat { @layer daisyui.l1.l2.l3 { & { --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"); column-gap: 0.75rem; padding-block: 0.25rem; display: grid; } } } .\32 xl\:chat-bubble { @layer daisyui.l1.l2.l3 { & { border-radius: var(--radius-field); background-color: var(--color-base-300); width: fit-content; color: var(--color-base-content); grid-row-end: 3; min-width: 2.5rem; max-width: 90%; min-height: 2rem; padding-block: 0.5rem; padding-inline: 1rem; display: block; position: relative; } &:before { background-color: inherit; content: ""; width: 0.75rem; height: 0.75rem; mask-repeat: no-repeat; mask-image: var(--mask-chat); position: absolute; bottom: 0; mask-position: 0 -1px; mask-size: 0.8125rem; } } } .\32 xl\:chat-bubble-primary { @layer daisyui.l1.l2 { & { background-color: var(--color-primary); color: var(--color-primary-content); } } } .\32 xl\:chat-bubble-secondary { @layer daisyui.l1.l2 { & { background-color: var(--color-secondary); color: var(--color-secondary-content); } } } .\32 xl\:chat-bubble-accent { @layer daisyui.l1.l2 { & { background-color: var(--color-accent); color: var(--color-accent-content); } } } .\32 xl\:chat-bubble-neutral { @layer daisyui.l1.l2 { & { background-color: var(--color-neutral); color: var(--color-neutral-content); } } } .\32 xl\:chat-bubble-info { @layer daisyui.l1.l2 { & { background-color: var(--color-info); color: var(--color-info-content); } } } .\32 xl\:chat-bubble-success { @layer daisyui.l1.l2 { & { background-color: var(--color-success); color: var(--color-success-content); } } } .\32 xl\:chat-bubble-warning { @layer daisyui.l1.l2 { & { background-color: var(--color-warning); color: var(--color-warning-content); } } } .\32 xl\:chat-bubble-error { @layer daisyui.l1.l2 { & { background-color: var(--color-error); color: var(--color-error-content); } } } .\32 xl\:chat-image { @layer daisyui.l1.l2.l3 { & { grid-row: span 2 / span 2; align-self: flex-end; } } } .\32 xl\:chat-header { @layer daisyui.l1.l2.l3 { & { grid-row-start: 1; gap: 0.25rem; font-size: 0.6875rem; display: flex; } } } .\32 xl\:chat-footer { @layer daisyui.l1.l2.l3 { & { grid-row-start: 3; gap: 0.25rem; font-size: 0.6875rem; display: flex; } } } .\32 xl\:chat-start { @layer daisyui.l1.l2 { & { grid-template-columns: auto 1fr; place-items: start; } & .chat-header, & .chat-footer { grid-column-start: 2; } & .chat-image { grid-column-start: 1; } & .chat-bubble { border-end-start-radius: 0; grid-column-start: 2; &:before { inset-inline-start: -0.75rem; transform: rotateY(0); } [dir="rtl"] &:before { transform: rotateY(180deg); } } } } .\32 xl\:chat-end { @layer daisyui.l1.l2 { & { grid-template-columns: 1fr auto; place-items: end; } & .chat-header, & .chat-footer { grid-column-start: 1; } & .chat-image { grid-column-start: 2; } & .chat-bubble { border-end-end-radius: 0; grid-column-start: 1; &:before { inset-inline-start: 100%; transform: rotateY(180deg); } [dir="rtl"] &:before { transform: rotateY(0); } } } } } .navbar { @layer daisyui.l1.l2.l3 { & { align-items: center; width: 100%; min-height: 4rem; padding: 0.5rem; display: flex; } } } :where(.navbar) { @layer daisyui.l1.l2 { & { position: relative; } } } .navbar-start { @layer daisyui.l1.l2.l3 { & { justify-content: flex-start; align-items: center; width: 50%; display: inline-flex; } } } .navbar-center { @layer daisyui.l1.l2.l3 { & { flex-shrink: 0; align-items: center; display: inline-flex; } } } .navbar-end { @layer daisyui.l1.l2.l3 { & { justify-content: flex-end; align-items: center; width: 50%; display: inline-flex; } } } @media (width>=640px) { .sm\:navbar { @layer daisyui.l1.l2.l3 { & { align-items: center; width: 100%; min-height: 4rem; padding: 0.5rem; display: flex; } } } :where(.navbar) { @layer daisyui.l1.l2 { & { position: relative; } } } .sm\:navbar-start { @layer daisyui.l1.l2.l3 { & { justify-content: flex-start; align-items: center; width: 50%; display: inline-flex; } } } .sm\:navbar-center { @layer daisyui.l1.l2.l3 { & { flex-shrink: 0; align-items: center; display: inline-flex; } } } .sm\:navbar-end { @layer daisyui.l1.l2.l3 { & { justify-content: flex-end; align-items: center; width: 50%; display: inline-flex; } } } } @media (width>=768px) { .md\:navbar { @layer daisyui.l1.l2.l3 { & { align-items: center; width: 100%; min-height: 4rem; padding: 0.5rem; display: flex; } } } :where(.navbar) { @layer daisyui.l1.l2 { & { position: relative; } } } .md\:navbar-start { @layer daisyui.l1.l2.l3 { & { justify-content: flex-start; align-items: center; width: 50%; display: inline-flex; } } } .md\:navbar-center { @layer daisyui.l1.l2.l3 { & { flex-shrink: 0; align-items: center; display: inline-flex; } } } .md\:navbar-end { @layer daisyui.l1.l2.l3 { & { justify-content: flex-end; align-items: center; width: 50%; display: inline-flex; } } } } @media (width>=1024px) { .lg\:navbar { @layer daisyui.l1.l2.l3 { & { align-items: center; width: 100%; min-height: 4rem; padding: 0.5rem; display: flex; } } } :where(.navbar) { @layer daisyui.l1.l2 { & { position: relative; } } } .lg\:navbar-start { @layer daisyui.l1.l2.l3 { & { justify-content: flex-start; align-items: center; width: 50%; display: inline-flex; } } } .lg\:navbar-center { @layer daisyui.l1.l2.l3 { & { flex-shrink: 0; align-items: center; display: inline-flex; } } } .lg\:navbar-end { @layer daisyui.l1.l2.l3 { & { justify-content: flex-end; align-items: center; width: 50%; display: inline-flex; } } } } @media (width>=1280px) { .xl\:navbar { @layer daisyui.l1.l2.l3 { & { align-items: center; width: 100%; min-height: 4rem; padding: 0.5rem; display: flex; } } } :where(.navbar) { @layer daisyui.l1.l2 { & { position: relative; } } } .xl\:navbar-start { @layer daisyui.l1.l2.l3 { & { justify-content: flex-start; align-items: center; width: 50%; display: inline-flex; } } } .xl\:navbar-center { @layer daisyui.l1.l2.l3 { & { flex-shrink: 0; align-items: center; display: inline-flex; } } } .xl\:navbar-end { @layer daisyui.l1.l2.l3 { & { justify-content: flex-end; align-items: center; width: 50%; display: inline-flex; } } } } @media (width>=1536px) { .\32 xl\:navbar { @layer daisyui.l1.l2.l3 { & { align-items: center; width: 100%; min-height: 4rem; padding: 0.5rem; display: flex; } } } :where(.navbar) { @layer daisyui.l1.l2 { & { position: relative; } } } .\32 xl\:navbar-start { @layer daisyui.l1.l2.l3 { & { justify-content: flex-start; align-items: center; width: 50%; display: inline-flex; } } } .\32 xl\:navbar-center { @layer daisyui.l1.l2.l3 { & { flex-shrink: 0; align-items: center; display: inline-flex; } } } .\32 xl\:navbar-end { @layer daisyui.l1.l2.l3 { & { justify-content: flex-end; align-items: center; width: 50%; display: inline-flex; } } } } .fab { @layer daisyui.l1.l2.l3 { & { pointer-events: none; inset-inline-end: 1rem; z-index: 999; font-size: var(--text-sm); line-height: var(--tw-leading, var(--text-sm--line-height)); white-space: nowrap; flex-direction: column-reverse; align-items: flex-end; gap: 0.5rem; display: flex; position: fixed; bottom: 1rem; } & > * { pointer-events: auto; align-items: center; gap: 0.5rem; display: flex; &:hover, &:has(:focus-visible) { z-index: 1; } } & > [tabindex] { &:first-child { transition-property: opacity, visibility, rotate; transition-duration: 0.2s; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); display: grid; position: relative; } } & .fab-close, & .fab-main-action { inset-inline-end: 0; position: absolute; bottom: 0; } &:focus-within { &:has(.fab-close), &:has(.fab-main-action) { & > [tabindex] { opacity: 0; rotate: 90deg; } } } & > :nth-child(n + 2) { visibility: hidden; --tw-scale-x: 80%; --tw-scale-y: 80%; --tw-scale-z: 80%; scale: var(--tw-scale-x) var(--tw-scale-y); opacity: 0; transition-property: opacity, scale, visibility; transition-duration: 0.2s; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); &.fab-main-action, &.fab-close { --tw-scale-x: 100%; --tw-scale-y: 100%; --tw-scale-z: 100%; scale: var(--tw-scale-x) var(--tw-scale-y); } } & > :nth-child(3) { transition-delay: 30ms; } & > :nth-child(4) { transition-delay: 60ms; } & > :nth-child(5) { transition-delay: 90ms; } & > :nth-child(6) { transition-delay: 0.12s; } &:focus-within { & > [tabindex]:first-child { pointer-events: none; } & > :nth-child(n + 2) { visibility: visible; --tw-scale-x: 100%; --tw-scale-y: 100%; --tw-scale-z: 100%; scale: var(--tw-scale-x) var(--tw-scale-y); opacity: 1; } } } } .fab-flower { @layer daisyui.l1.l2.l3 { & { --position: 0rem; display: grid; } & > :nth-child(-n + 2) { --position: 0rem; } & > * { --degree: 180deg; --flip-degree: calc(180deg - var(--degree)); transform: translateX(calc(cos(var(--degree)) * var(--position))) translateY(calc(sin(var(--degree)) * calc(-1 * var(--position)))); grid-area: 1/1; [dir="rtl"] & { transform: translateX(calc(cos(var(--flip-degree)) * var(--position))) translateY( calc(sin(var(--flip-degree)) * calc(-1 * var(--position))) ); } } & > :nth-child(n + 7) { display: none; } &:has(:nth-child(3)) { --position: 140%; & > :nth-child(3) { --degree: 135deg; } } &:has(:nth-child(4)) { --position: 140%; & > :nth-child(3) { --degree: 165deg; } & > :nth-child(4) { --degree: 105deg; } } &:has(:nth-child(5)) { --position: 180%; & > :nth-child(3) { --degree: 180deg; } & > :nth-child(4) { --degree: 135deg; } & > :nth-child(5) { --degree: 90deg; } } &:has(:nth-child(6)) { --position: 220%; & > :nth-child(3) { --degree: 180deg; } & > :nth-child(4) { --degree: 150deg; } & > :nth-child(5) { --degree: 120deg; } & > :nth-child(6) { --degree: 90deg; } } } } @media (width>=640px) { .sm\:fab { @layer daisyui.l1.l2.l3 { & { pointer-events: none; inset-inline-end: 1rem; z-index: 999; font-size: var(--text-sm); line-height: var(--tw-leading, var(--text-sm--line-height)); white-space: nowrap; flex-direction: column-reverse; align-items: flex-end; gap: 0.5rem; display: flex; position: fixed; bottom: 1rem; } & > * { pointer-events: auto; align-items: center; gap: 0.5rem; display: flex; &:hover, &:has(:focus-visible) { z-index: 1; } } & > [tabindex] { &:first-child { transition-property: opacity, visibility, rotate; transition-duration: 0.2s; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); display: grid; position: relative; } } & .fab-close, & .fab-main-action { inset-inline-end: 0; position: absolute; bottom: 0; } &:focus-within { &:has(.fab-close), &:has(.fab-main-action) { & > [tabindex] { opacity: 0; rotate: 90deg; } } } & > :nth-child(n + 2) { visibility: hidden; --tw-scale-x: 80%; --tw-scale-y: 80%; --tw-scale-z: 80%; scale: var(--tw-scale-x) var(--tw-scale-y); opacity: 0; transition-property: opacity, scale, visibility; transition-duration: 0.2s; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); &.fab-main-action, &.fab-close { --tw-scale-x: 100%; --tw-scale-y: 100%; --tw-scale-z: 100%; scale: var(--tw-scale-x) var(--tw-scale-y); } } & > :nth-child(3) { transition-delay: 30ms; } & > :nth-child(4) { transition-delay: 60ms; } & > :nth-child(5) { transition-delay: 90ms; } & > :nth-child(6) { transition-delay: 0.12s; } &:focus-within { & > [tabindex]:first-child { pointer-events: none; } & > :nth-child(n + 2) { visibility: visible; --tw-scale-x: 100%; --tw-scale-y: 100%; --tw-scale-z: 100%; scale: var(--tw-scale-x) var(--tw-scale-y); opacity: 1; } } } } .sm\:fab-flower { @layer daisyui.l1.l2.l3 { & { --position: 0rem; display: grid; } & > :nth-child(-n + 2) { --position: 0rem; } & > * { --degree: 180deg; --flip-degree: calc(180deg - var(--degree)); transform: translateX(calc(cos(var(--degree)) * var(--position))) translateY(calc(sin(var(--degree)) * calc(-1 * var(--position)))); grid-area: 1/1; [dir="rtl"] & { transform: translateX( calc(cos(var(--flip-degree)) * var(--position)) ) translateY( calc(sin(var(--flip-degree)) * calc(-1 * var(--position))) ); } } & > :nth-child(n + 7) { display: none; } &:has(:nth-child(3)) { --position: 140%; & > :nth-child(3) { --degree: 135deg; } } &:has(:nth-child(4)) { --position: 140%; & > :nth-child(3) { --degree: 165deg; } & > :nth-child(4) { --degree: 105deg; } } &:has(:nth-child(5)) { --position: 180%; & > :nth-child(3) { --degree: 180deg; } & > :nth-child(4) { --degree: 135deg; } & > :nth-child(5) { --degree: 90deg; } } &:has(:nth-child(6)) { --position: 220%; & > :nth-child(3) { --degree: 180deg; } & > :nth-child(4) { --degree: 150deg; } & > :nth-child(5) { --degree: 120deg; } & > :nth-child(6) { --degree: 90deg; } } } } } @media (width>=768px) { .md\:fab { @layer daisyui.l1.l2.l3 { & { pointer-events: none; inset-inline-end: 1rem; z-index: 999; font-size: var(--text-sm); line-height: var(--tw-leading, var(--text-sm--line-height)); white-space: nowrap; flex-direction: column-reverse; align-items: flex-end; gap: 0.5rem; display: flex; position: fixed; bottom: 1rem; } & > * { pointer-events: auto; align-items: center; gap: 0.5rem; display: flex; &:hover, &:has(:focus-visible) { z-index: 1; } } & > [tabindex] { &:first-child { transition-property: opacity, visibility, rotate; transition-duration: 0.2s; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); display: grid; position: relative; } } & .fab-close, & .fab-main-action { inset-inline-end: 0; position: absolute; bottom: 0; } &:focus-within { &:has(.fab-close), &:has(.fab-main-action) { & > [tabindex] { opacity: 0; rotate: 90deg; } } } & > :nth-child(n + 2) { visibility: hidden; --tw-scale-x: 80%; --tw-scale-y: 80%; --tw-scale-z: 80%; scale: var(--tw-scale-x) var(--tw-scale-y); opacity: 0; transition-property: opacity, scale, visibility; transition-duration: 0.2s; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); &.fab-main-action, &.fab-close { --tw-scale-x: 100%; --tw-scale-y: 100%; --tw-scale-z: 100%; scale: var(--tw-scale-x) var(--tw-scale-y); } } & > :nth-child(3) { transition-delay: 30ms; } & > :nth-child(4) { transition-delay: 60ms; } & > :nth-child(5) { transition-delay: 90ms; } & > :nth-child(6) { transition-delay: 0.12s; } &:focus-within { & > [tabindex]:first-child { pointer-events: none; } & > :nth-child(n + 2) { visibility: visible; --tw-scale-x: 100%; --tw-scale-y: 100%; --tw-scale-z: 100%; scale: var(--tw-scale-x) var(--tw-scale-y); opacity: 1; } } } } .md\:fab-flower { @layer daisyui.l1.l2.l3 { & { --position: 0rem; display: grid; } & > :nth-child(-n + 2) { --position: 0rem; } & > * { --degree: 180deg; --flip-degree: calc(180deg - var(--degree)); transform: translateX(calc(cos(var(--degree)) * var(--position))) translateY(calc(sin(var(--degree)) * calc(-1 * var(--position)))); grid-area: 1/1; [dir="rtl"] & { transform: translateX( calc(cos(var(--flip-degree)) * var(--position)) ) translateY( calc(sin(var(--flip-degree)) * calc(-1 * var(--position))) ); } } & > :nth-child(n + 7) { display: none; } &:has(:nth-child(3)) { --position: 140%; & > :nth-child(3) { --degree: 135deg; } } &:has(:nth-child(4)) { --position: 140%; & > :nth-child(3) { --degree: 165deg; } & > :nth-child(4) { --degree: 105deg; } } &:has(:nth-child(5)) { --position: 180%; & > :nth-child(3) { --degree: 180deg; } & > :nth-child(4) { --degree: 135deg; } & > :nth-child(5) { --degree: 90deg; } } &:has(:nth-child(6)) { --position: 220%; & > :nth-child(3) { --degree: 180deg; } & > :nth-child(4) { --degree: 150deg; } & > :nth-child(5) { --degree: 120deg; } & > :nth-child(6) { --degree: 90deg; } } } } } @media (width>=1024px) { .lg\:fab { @layer daisyui.l1.l2.l3 { & { pointer-events: none; inset-inline-end: 1rem; z-index: 999; font-size: var(--text-sm); line-height: var(--tw-leading, var(--text-sm--line-height)); white-space: nowrap; flex-direction: column-reverse; align-items: flex-end; gap: 0.5rem; display: flex; position: fixed; bottom: 1rem; } & > * { pointer-events: auto; align-items: center; gap: 0.5rem; display: flex; &:hover, &:has(:focus-visible) { z-index: 1; } } & > [tabindex] { &:first-child { transition-property: opacity, visibility, rotate; transition-duration: 0.2s; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); display: grid; position: relative; } } & .fab-close, & .fab-main-action { inset-inline-end: 0; position: absolute; bottom: 0; } &:focus-within { &:has(.fab-close), &:has(.fab-main-action) { & > [tabindex] { opacity: 0; rotate: 90deg; } } } & > :nth-child(n + 2) { visibility: hidden; --tw-scale-x: 80%; --tw-scale-y: 80%; --tw-scale-z: 80%; scale: var(--tw-scale-x) var(--tw-scale-y); opacity: 0; transition-property: opacity, scale, visibility; transition-duration: 0.2s; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); &.fab-main-action, &.fab-close { --tw-scale-x: 100%; --tw-scale-y: 100%; --tw-scale-z: 100%; scale: var(--tw-scale-x) var(--tw-scale-y); } } & > :nth-child(3) { transition-delay: 30ms; } & > :nth-child(4) { transition-delay: 60ms; } & > :nth-child(5) { transition-delay: 90ms; } & > :nth-child(6) { transition-delay: 0.12s; } &:focus-within { & > [tabindex]:first-child { pointer-events: none; } & > :nth-child(n + 2) { visibility: visible; --tw-scale-x: 100%; --tw-scale-y: 100%; --tw-scale-z: 100%; scale: var(--tw-scale-x) var(--tw-scale-y); opacity: 1; } } } } .lg\:fab-flower { @layer daisyui.l1.l2.l3 { & { --position: 0rem; display: grid; } & > :nth-child(-n + 2) { --position: 0rem; } & > * { --degree: 180deg; --flip-degree: calc(180deg - var(--degree)); transform: translateX(calc(cos(var(--degree)) * var(--position))) translateY(calc(sin(var(--degree)) * calc(-1 * var(--position)))); grid-area: 1/1; [dir="rtl"] & { transform: translateX( calc(cos(var(--flip-degree)) * var(--position)) ) translateY( calc(sin(var(--flip-degree)) * calc(-1 * var(--position))) ); } } & > :nth-child(n + 7) { display: none; } &:has(:nth-child(3)) { --position: 140%; & > :nth-child(3) { --degree: 135deg; } } &:has(:nth-child(4)) { --position: 140%; & > :nth-child(3) { --degree: 165deg; } & > :nth-child(4) { --degree: 105deg; } } &:has(:nth-child(5)) { --position: 180%; & > :nth-child(3) { --degree: 180deg; } & > :nth-child(4) { --degree: 135deg; } & > :nth-child(5) { --degree: 90deg; } } &:has(:nth-child(6)) { --position: 220%; & > :nth-child(3) { --degree: 180deg; } & > :nth-child(4) { --degree: 150deg; } & > :nth-child(5) { --degree: 120deg; } & > :nth-child(6) { --degree: 90deg; } } } } } @media (width>=1280px) { .xl\:fab { @layer daisyui.l1.l2.l3 { & { pointer-events: none; inset-inline-end: 1rem; z-index: 999; font-size: var(--text-sm); line-height: var(--tw-leading, var(--text-sm--line-height)); white-space: nowrap; flex-direction: column-reverse; align-items: flex-end; gap: 0.5rem; display: flex; position: fixed; bottom: 1rem; } & > * { pointer-events: auto; align-items: center; gap: 0.5rem; display: flex; &:hover, &:has(:focus-visible) { z-index: 1; } } & > [tabindex] { &:first-child { transition-property: opacity, visibility, rotate; transition-duration: 0.2s; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); display: grid; position: relative; } } & .fab-close, & .fab-main-action { inset-inline-end: 0; position: absolute; bottom: 0; } &:focus-within { &:has(.fab-close), &:has(.fab-main-action) { & > [tabindex] { opacity: 0; rotate: 90deg; } } } & > :nth-child(n + 2) { visibility: hidden; --tw-scale-x: 80%; --tw-scale-y: 80%; --tw-scale-z: 80%; scale: var(--tw-scale-x) var(--tw-scale-y); opacity: 0; transition-property: opacity, scale, visibility; transition-duration: 0.2s; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); &.fab-main-action, &.fab-close { --tw-scale-x: 100%; --tw-scale-y: 100%; --tw-scale-z: 100%; scale: var(--tw-scale-x) var(--tw-scale-y); } } & > :nth-child(3) { transition-delay: 30ms; } & > :nth-child(4) { transition-delay: 60ms; } & > :nth-child(5) { transition-delay: 90ms; } & > :nth-child(6) { transition-delay: 0.12s; } &:focus-within { & > [tabindex]:first-child { pointer-events: none; } & > :nth-child(n + 2) { visibility: visible; --tw-scale-x: 100%; --tw-scale-y: 100%; --tw-scale-z: 100%; scale: var(--tw-scale-x) var(--tw-scale-y); opacity: 1; } } } } .xl\:fab-flower { @layer daisyui.l1.l2.l3 { & { --position: 0rem; display: grid; } & > :nth-child(-n + 2) { --position: 0rem; } & > * { --degree: 180deg; --flip-degree: calc(180deg - var(--degree)); transform: translateX(calc(cos(var(--degree)) * var(--position))) translateY(calc(sin(var(--degree)) * calc(-1 * var(--position)))); grid-area: 1/1; [dir="rtl"] & { transform: translateX( calc(cos(var(--flip-degree)) * var(--position)) ) translateY( calc(sin(var(--flip-degree)) * calc(-1 * var(--position))) ); } } & > :nth-child(n + 7) { display: none; } &:has(:nth-child(3)) { --position: 140%; & > :nth-child(3) { --degree: 135deg; } } &:has(:nth-child(4)) { --position: 140%; & > :nth-child(3) { --degree: 165deg; } & > :nth-child(4) { --degree: 105deg; } } &:has(:nth-child(5)) { --position: 180%; & > :nth-child(3) { --degree: 180deg; } & > :nth-child(4) { --degree: 135deg; } & > :nth-child(5) { --degree: 90deg; } } &:has(:nth-child(6)) { --position: 220%; & > :nth-child(3) { --degree: 180deg; } & > :nth-child(4) { --degree: 150deg; } & > :nth-child(5) { --degree: 120deg; } & > :nth-child(6) { --degree: 90deg; } } } } } @media (width>=1536px) { .\32 xl\:fab { @layer daisyui.l1.l2.l3 { & { pointer-events: none; inset-inline-end: 1rem; z-index: 999; font-size: var(--text-sm); line-height: var(--tw-leading, var(--text-sm--line-height)); white-space: nowrap; flex-direction: column-reverse; align-items: flex-end; gap: 0.5rem; display: flex; position: fixed; bottom: 1rem; } & > * { pointer-events: auto; align-items: center; gap: 0.5rem; display: flex; &:hover, &:has(:focus-visible) { z-index: 1; } } & > [tabindex] { &:first-child { transition-property: opacity, visibility, rotate; transition-duration: 0.2s; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); display: grid; position: relative; } } & .fab-close, & .fab-main-action { inset-inline-end: 0; position: absolute; bottom: 0; } &:focus-within { &:has(.fab-close), &:has(.fab-main-action) { & > [tabindex] { opacity: 0; rotate: 90deg; } } } & > :nth-child(n + 2) { visibility: hidden; --tw-scale-x: 80%; --tw-scale-y: 80%; --tw-scale-z: 80%; scale: var(--tw-scale-x) var(--tw-scale-y); opacity: 0; transition-property: opacity, scale, visibility; transition-duration: 0.2s; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); &.fab-main-action, &.fab-close { --tw-scale-x: 100%; --tw-scale-y: 100%; --tw-scale-z: 100%; scale: var(--tw-scale-x) var(--tw-scale-y); } } & > :nth-child(3) { transition-delay: 30ms; } & > :nth-child(4) { transition-delay: 60ms; } & > :nth-child(5) { transition-delay: 90ms; } & > :nth-child(6) { transition-delay: 0.12s; } &:focus-within { & > [tabindex]:first-child { pointer-events: none; } & > :nth-child(n + 2) { visibility: visible; --tw-scale-x: 100%; --tw-scale-y: 100%; --tw-scale-z: 100%; scale: var(--tw-scale-x) var(--tw-scale-y); opacity: 1; } } } } .\32 xl\:fab-flower { @layer daisyui.l1.l2.l3 { & { --position: 0rem; display: grid; } & > :nth-child(-n + 2) { --position: 0rem; } & > * { --degree: 180deg; --flip-degree: calc(180deg - var(--degree)); transform: translateX(calc(cos(var(--degree)) * var(--position))) translateY(calc(sin(var(--degree)) * calc(-1 * var(--position)))); grid-area: 1/1; [dir="rtl"] & { transform: translateX( calc(cos(var(--flip-degree)) * var(--position)) ) translateY( calc(sin(var(--flip-degree)) * calc(-1 * var(--position))) ); } } & > :nth-child(n + 7) { display: none; } &:has(:nth-child(3)) { --position: 140%; & > :nth-child(3) { --degree: 135deg; } } &:has(:nth-child(4)) { --position: 140%; & > :nth-child(3) { --degree: 165deg; } & > :nth-child(4) { --degree: 105deg; } } &:has(:nth-child(5)) { --position: 180%; & > :nth-child(3) { --degree: 180deg; } & > :nth-child(4) { --degree: 135deg; } & > :nth-child(5) { --degree: 90deg; } } &:has(:nth-child(6)) { --position: 220%; & > :nth-child(3) { --degree: 180deg; } & > :nth-child(4) { --degree: 150deg; } & > :nth-child(5) { --degree: 120deg; } & > :nth-child(6) { --degree: 90deg; } } } } } .list { @layer daisyui.l1.l2.l3 { & { flex-direction: column; font-size: 0.875rem; display: flex; } & .list-row { --list-grid-cols: minmax(0, auto) 1fr; border-radius: var(--radius-box); word-break: break-word; grid-auto-flow: column; grid-template-columns: var(--list-grid-cols); gap: 1rem; padding: 1rem; display: grid; position: relative; } & > :not(:last-child) { &.list-row, & .list-row { &:after { content: ""; border-bottom: var(--border) solid; inset-inline: var(--radius-box); border-color: color-mix( in oklab, var(--color-base-content) 5%, transparent ); position: absolute; bottom: 0; } } } } @layer daisyui.l1.l2 { & .list-row { &:has(.list-col-grow:first-child) { --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; } } } } .list-col-wrap { @layer daisyui.l1.l2 { & { grid-row-start: 2; } } } @media (width>=640px) { .sm\:list { @layer daisyui.l1.l2.l3 { & { flex-direction: column; font-size: 0.875rem; display: flex; } & .list-row { --list-grid-cols: minmax(0, auto) 1fr; border-radius: var(--radius-box); word-break: break-word; grid-auto-flow: column; grid-template-columns: var(--list-grid-cols); gap: 1rem; padding: 1rem; display: grid; position: relative; } & > :not(:last-child) { &.list-row, & .list-row { &:after { content: ""; border-bottom: var(--border) solid; inset-inline: var(--radius-box); border-color: color-mix( in oklab, var(--color-base-content) 5%, transparent ); position: absolute; bottom: 0; } } } } @layer daisyui.l1.l2 { & .list-row { &:has(.list-col-grow:first-child) { --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; } } } } .sm\:list-col-wrap { @layer daisyui.l1.l2 { & { grid-row-start: 2; } } } } @media (width>=768px) { .md\:list { @layer daisyui.l1.l2.l3 { & { flex-direction: column; font-size: 0.875rem; display: flex; } & .list-row { --list-grid-cols: minmax(0, auto) 1fr; border-radius: var(--radius-box); word-break: break-word; grid-auto-flow: column; grid-template-columns: var(--list-grid-cols); gap: 1rem; padding: 1rem; display: grid; position: relative; } & > :not(:last-child) { &.list-row, & .list-row { &:after { content: ""; border-bottom: var(--border) solid; inset-inline: var(--radius-box); border-color: color-mix( in oklab, var(--color-base-content) 5%, transparent ); position: absolute; bottom: 0; } } } } @layer daisyui.l1.l2 { & .list-row { &:has(.list-col-grow:first-child) { --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; } } } } .md\:list-col-wrap { @layer daisyui.l1.l2 { & { grid-row-start: 2; } } } } @media (width>=1024px) { .lg\:list { @layer daisyui.l1.l2.l3 { & { flex-direction: column; font-size: 0.875rem; display: flex; } & .list-row { --list-grid-cols: minmax(0, auto) 1fr; border-radius: var(--radius-box); word-break: break-word; grid-auto-flow: column; grid-template-columns: var(--list-grid-cols); gap: 1rem; padding: 1rem; display: grid; position: relative; } & > :not(:last-child) { &.list-row, & .list-row { &:after { content: ""; border-bottom: var(--border) solid; inset-inline: var(--radius-box); border-color: color-mix( in oklab, var(--color-base-content) 5%, transparent ); position: absolute; bottom: 0; } } } } @layer daisyui.l1.l2 { & .list-row { &:has(.list-col-grow:first-child) { --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; } } } } .lg\:list-col-wrap { @layer daisyui.l1.l2 { & { grid-row-start: 2; } } } } @media (width>=1280px) { .xl\:list { @layer daisyui.l1.l2.l3 { & { flex-direction: column; font-size: 0.875rem; display: flex; } & .list-row { --list-grid-cols: minmax(0, auto) 1fr; border-radius: var(--radius-box); word-break: break-word; grid-auto-flow: column; grid-template-columns: var(--list-grid-cols); gap: 1rem; padding: 1rem; display: grid; position: relative; } & > :not(:last-child) { &.list-row, & .list-row { &:after { content: ""; border-bottom: var(--border) solid; inset-inline: var(--radius-box); border-color: color-mix( in oklab, var(--color-base-content) 5%, transparent ); position: absolute; bottom: 0; } } } } @layer daisyui.l1.l2 { & .list-row { &:has(.list-col-grow:first-child) { --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; } } } } .xl\:list-col-wrap { @layer daisyui.l1.l2 { & { grid-row-start: 2; } } } } @media (width>=1536px) { .\32 xl\:list { @layer daisyui.l1.l2.l3 { & { flex-direction: column; font-size: 0.875rem; display: flex; } & .list-row { --list-grid-cols: minmax(0, auto) 1fr; border-radius: var(--radius-box); word-break: break-word; grid-auto-flow: column; grid-template-columns: var(--list-grid-cols); gap: 1rem; padding: 1rem; display: grid; position: relative; } & > :not(:last-child) { &.list-row, & .list-row { &:after { content: ""; border-bottom: var(--border) solid; inset-inline: var(--radius-box); border-color: color-mix( in oklab, var(--color-base-content) 5%, transparent ); position: absolute; bottom: 0; } } } } @layer daisyui.l1.l2 { & .list-row { &:has(.list-col-grow:first-child) { --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; } } } } .\32 xl\:list-col-wrap { @layer daisyui.l1.l2 { & { grid-row-start: 2; } } } } .carousel { @layer daisyui.l1.l2.l3 { & { scroll-snap-type: x mandatory; scrollbar-width: none; display: inline-flex; overflow-x: scroll; } @media (prefers-reduced-motion: no-preference) { & { scroll-behavior: smooth; } } &::-webkit-scrollbar { display: none; } } } .carousel-vertical { @layer daisyui.l1.l2 { & { scroll-snap-type: y mandatory; flex-direction: column; overflow-y: scroll; } } } .carousel-horizontal { @layer daisyui.l1.l2 { & { scroll-snap-type: x mandatory; flex-direction: row; overflow-x: scroll; } } } .carousel-item { @layer daisyui.l1.l2.l3 { & { box-sizing: content-box; scroll-snap-align: start; flex: none; display: flex; } } } .carousel-start { @layer daisyui.l1.l2 { & .carousel-item { scroll-snap-align: start; } } } .carousel-center { @layer daisyui.l1.l2 { & .carousel-item { scroll-snap-align: center; } } } .carousel-end { @layer daisyui.l1.l2 { & .carousel-item { scroll-snap-align: end; } } } @media (width>=640px) { .sm\:carousel { @layer daisyui.l1.l2.l3 { & { scroll-snap-type: x mandatory; scrollbar-width: none; display: inline-flex; overflow-x: scroll; } @media (prefers-reduced-motion: no-preference) { & { scroll-behavior: smooth; } } &::-webkit-scrollbar { display: none; } } } .sm\:carousel-vertical { @layer daisyui.l1.l2 { & { scroll-snap-type: y mandatory; flex-direction: column; overflow-y: scroll; } } } .sm\:carousel-horizontal { @layer daisyui.l1.l2 { & { scroll-snap-type: x mandatory; flex-direction: row; overflow-x: scroll; } } } .sm\:carousel-item { @layer daisyui.l1.l2.l3 { & { box-sizing: content-box; scroll-snap-align: start; flex: none; display: flex; } } } .sm\:carousel-start { @layer daisyui.l1.l2 { & .carousel-item { scroll-snap-align: start; } } } .sm\:carousel-center { @layer daisyui.l1.l2 { & .carousel-item { scroll-snap-align: center; } } } .sm\:carousel-end { @layer daisyui.l1.l2 { & .carousel-item { scroll-snap-align: end; } } } } @media (width>=768px) { .md\:carousel { @layer daisyui.l1.l2.l3 { & { scroll-snap-type: x mandatory; scrollbar-width: none; display: inline-flex; overflow-x: scroll; } @media (prefers-reduced-motion: no-preference) { & { scroll-behavior: smooth; } } &::-webkit-scrollbar { display: none; } } } .md\:carousel-vertical { @layer daisyui.l1.l2 { & { scroll-snap-type: y mandatory; flex-direction: column; overflow-y: scroll; } } } .md\:carousel-horizontal { @layer daisyui.l1.l2 { & { scroll-snap-type: x mandatory; flex-direction: row; overflow-x: scroll; } } } .md\:carousel-item { @layer daisyui.l1.l2.l3 { & { box-sizing: content-box; scroll-snap-align: start; flex: none; display: flex; } } } .md\:carousel-start { @layer daisyui.l1.l2 { & .carousel-item { scroll-snap-align: start; } } } .md\:carousel-center { @layer daisyui.l1.l2 { & .carousel-item { scroll-snap-align: center; } } } .md\:carousel-end { @layer daisyui.l1.l2 { & .carousel-item { scroll-snap-align: end; } } } } @media (width>=1024px) { .lg\:carousel { @layer daisyui.l1.l2.l3 { & { scroll-snap-type: x mandatory; scrollbar-width: none; display: inline-flex; overflow-x: scroll; } @media (prefers-reduced-motion: no-preference) { & { scroll-behavior: smooth; } } &::-webkit-scrollbar { display: none; } } } .lg\:carousel-vertical { @layer daisyui.l1.l2 { & { scroll-snap-type: y mandatory; flex-direction: column; overflow-y: scroll; } } } .lg\:carousel-horizontal { @layer daisyui.l1.l2 { & { scroll-snap-type: x mandatory; flex-direction: row; overflow-x: scroll; } } } .lg\:carousel-item { @layer daisyui.l1.l2.l3 { & { box-sizing: content-box; scroll-snap-align: start; flex: none; display: flex; } } } .lg\:carousel-start { @layer daisyui.l1.l2 { & .carousel-item { scroll-snap-align: start; } } } .lg\:carousel-center { @layer daisyui.l1.l2 { & .carousel-item { scroll-snap-align: center; } } } .lg\:carousel-end { @layer daisyui.l1.l2 { & .carousel-item { scroll-snap-align: end; } } } } @media (width>=1280px) { .xl\:carousel { @layer daisyui.l1.l2.l3 { & { scroll-snap-type: x mandatory; scrollbar-width: none; display: inline-flex; overflow-x: scroll; } @media (prefers-reduced-motion: no-preference) { & { scroll-behavior: smooth; } } &::-webkit-scrollbar { display: none; } } } .xl\:carousel-vertical { @layer daisyui.l1.l2 { & { scroll-snap-type: y mandatory; flex-direction: column; overflow-y: scroll; } } } .xl\:carousel-horizontal { @layer daisyui.l1.l2 { & { scroll-snap-type: x mandatory; flex-direction: row; overflow-x: scroll; } } } .xl\:carousel-item { @layer daisyui.l1.l2.l3 { & { box-sizing: content-box; scroll-snap-align: start; flex: none; display: flex; } } } .xl\:carousel-start { @layer daisyui.l1.l2 { & .carousel-item { scroll-snap-align: start; } } } .xl\:carousel-center { @layer daisyui.l1.l2 { & .carousel-item { scroll-snap-align: center; } } } .xl\:carousel-end { @layer daisyui.l1.l2 { & .carousel-item { scroll-snap-align: end; } } } } @media (width>=1536px) { .\32 xl\:carousel { @layer daisyui.l1.l2.l3 { & { scroll-snap-type: x mandatory; scrollbar-width: none; display: inline-flex; overflow-x: scroll; } @media (prefers-reduced-motion: no-preference) { & { scroll-behavior: smooth; } } &::-webkit-scrollbar { display: none; } } } .\32 xl\:carousel-vertical { @layer daisyui.l1.l2 { & { scroll-snap-type: y mandatory; flex-direction: column; overflow-y: scroll; } } } .\32 xl\:carousel-horizontal { @layer daisyui.l1.l2 { & { scroll-snap-type: x mandatory; flex-direction: row; overflow-x: scroll; } } } .\32 xl\:carousel-item { @layer daisyui.l1.l2.l3 { & { box-sizing: content-box; scroll-snap-align: start; flex: none; display: flex; } } } .\32 xl\:carousel-start { @layer daisyui.l1.l2 { & .carousel-item { scroll-snap-align: start; } } } .\32 xl\:carousel-center { @layer daisyui.l1.l2 { & .carousel-item { scroll-snap-align: center; } } } .\32 xl\:carousel-end { @layer daisyui.l1.l2 { & .carousel-item { scroll-snap-align: end; } } } } .drawer { @layer daisyui.l1.l2.l3 { & { grid-auto-columns: max-content auto; width: 100%; display: grid; position: relative; } } } .drawer-content { @layer daisyui.l1.l2.l3 { & { grid-row-start: 1; grid-column-start: 2; min-width: 0; } } } :where(.drawer-side) { @layer daisyui.l1.l2.l3 { & { overflow: hidden; } } } .drawer-side { @layer daisyui.l1.l2.l3 { & { pointer-events: none; visibility: hidden; inset-inline-start: 0; z-index: 10; overscroll-behavior: contain; opacity: 0; width: 100%; transition: opacity 0.2s ease-out 0.1s allow-discrete, visibility 0.3s ease-out 0.1s allow-discrete; background-color: #0000; grid-template-rows: repeat(1, minmax(0, 1fr)); grid-template-columns: repeat(1, minmax(0, 1fr)); grid-row-start: 1; grid-column-start: 1; place-items: flex-start start; height: 100dvh; display: grid; position: fixed; top: 0; } & > .drawer-overlay { cursor: pointer; background-color: oklch(0% 0 0/0.4); place-self: stretch stretch; position: sticky; top: 0; } & > * { grid-row-start: 1; grid-column-start: 1; } & > :not(.drawer-overlay) { will-change: transform; transition: translate 0.3s ease-out, width 0.2s ease-out; translate: -100%; [dir="rtl"] & { translate: 100%; } } } } .drawer-toggle { @layer daisyui.l1.l2.l3 { & { appearance: none; opacity: 0; width: 0; height: 0; position: fixed; } :where(&:checked ~ .drawer-side) { scrollbar-color: color-mix(in oklch, currentColor 35%, #0000) oklch(0 0 0 / calc(var(--page-has-backdrop, 0) * 0.4)); } :where(:root:has(&:checked)) { --page-has-backdrop: 1; --page-overflow: hidden; --page-scroll-bg: var(--page-scroll-bg-on); --page-scroll-gutter: stable; --page-scroll-transition: var(--page-scroll-transition-on); animation: forwards set-page-has-scroll scroll(); } } @layer daisyui.l1.l2 { :where(&:checked ~ .drawer-side) { pointer-events: auto; visibility: visible; opacity: 1; overflow-y: auto; & > :not(.drawer-overlay) { translate: 0%; } } &:focus-visible ~ .drawer-content label.drawer-button { outline-offset: 2px; outline: 2px solid; } } } .drawer-end { @layer daisyui.l1.l2 { & { grid-auto-columns: auto max-content; } & > .drawer-toggle { & ~ .drawer-content { grid-column-start: 1; } & ~ .drawer-side { grid-column-start: 2; justify-items: end; } & ~ .drawer-side > :not(.drawer-overlay) { translate: 100%; [dir="rtl"] & { translate: -100%; } } &:checked ~ .drawer-side > :not(.drawer-overlay) { translate: 0%; } } } } .drawer-open { @layer daisyui.l1.l2.l3 { & > .drawer-toggle:checked { & ~ .drawer-side { scrollbar-color: revert-layer; } :root:has(&) { --page-overflow: revert-layer; --page-scroll-gutter: revert-layer; --page-scroll-bg: revert-layer; --page-scroll-transition: revert-layer; --page-has-backdrop: revert-layer; animation: revert-layer; animation-timeline: revert-layer; } } } @layer daisyui.l1.l2 { & > .drawer-side { overflow-y: auto; } & > .drawer-toggle { display: none; & ~ .drawer-side { pointer-events: auto; visibility: visible; overscroll-behavior: auto; opacity: 1; width: auto; display: block; position: sticky; & > .drawer-overlay { cursor: default; background-color: #0000; } & > :not(.drawer-overlay) { translate: 0%; [dir="rtl"] & { translate: 0%; } } } &:checked ~ .drawer-side { pointer-events: auto; visibility: visible; } } } } @media (width>=640px) { .sm\:drawer { @layer daisyui.l1.l2.l3 { & { grid-auto-columns: max-content auto; width: 100%; display: grid; position: relative; } } } .sm\:drawer-content { @layer daisyui.l1.l2.l3 { & { grid-row-start: 1; grid-column-start: 2; min-width: 0; } } } :where(.drawer-side) { @layer daisyui.l1.l2.l3 { & { overflow: hidden; } } } .sm\:drawer-side { @layer daisyui.l1.l2.l3 { & { pointer-events: none; visibility: hidden; inset-inline-start: 0; z-index: 10; overscroll-behavior: contain; opacity: 0; width: 100%; transition: opacity 0.2s ease-out 0.1s allow-discrete, visibility 0.3s ease-out 0.1s allow-discrete; background-color: #0000; grid-template-rows: repeat(1, minmax(0, 1fr)); grid-template-columns: repeat(1, minmax(0, 1fr)); grid-row-start: 1; grid-column-start: 1; place-items: flex-start start; height: 100dvh; display: grid; position: fixed; top: 0; } & > .drawer-overlay { cursor: pointer; background-color: oklch(0% 0 0/0.4); place-self: stretch stretch; position: sticky; top: 0; } & > * { grid-row-start: 1; grid-column-start: 1; } & > :not(.drawer-overlay) { will-change: transform; transition: translate 0.3s ease-out, width 0.2s ease-out; translate: -100%; [dir="rtl"] & { translate: 100%; } } } } .sm\:drawer-toggle { @layer daisyui.l1.l2.l3 { & { appearance: none; opacity: 0; width: 0; height: 0; position: fixed; } :where(&:checked ~ .drawer-side) { scrollbar-color: color-mix(in oklch, currentColor 35%, #0000) oklch(0 0 0 / calc(var(--page-has-backdrop, 0) * 0.4)); } :where(:root:has(&:checked)) { --page-has-backdrop: 1; --page-overflow: hidden; --page-scroll-bg: var(--page-scroll-bg-on); --page-scroll-gutter: stable; --page-scroll-transition: var(--page-scroll-transition-on); animation: forwards set-page-has-scroll scroll(); } } @layer daisyui.l1.l2 { :where(&:checked ~ .drawer-side) { pointer-events: auto; visibility: visible; opacity: 1; overflow-y: auto; & > :not(.drawer-overlay) { translate: 0%; } } &:focus-visible ~ .drawer-content label.drawer-button { outline-offset: 2px; outline: 2px solid; } } } .sm\:drawer-end { @layer daisyui.l1.l2 { & { grid-auto-columns: auto max-content; } & > .drawer-toggle { & ~ .drawer-content { grid-column-start: 1; } & ~ .drawer-side { grid-column-start: 2; justify-items: end; } & ~ .drawer-side > :not(.drawer-overlay) { translate: 100%; [dir="rtl"] & { translate: -100%; } } &:checked ~ .drawer-side > :not(.drawer-overlay) { translate: 0%; } } } } .sm\:drawer-open { @layer daisyui.l1.l2.l3 { & > .drawer-toggle:checked { & ~ .drawer-side { scrollbar-color: revert-layer; } :root:has(&) { --page-overflow: revert-layer; --page-scroll-gutter: revert-layer; --page-scroll-bg: revert-layer; --page-scroll-transition: revert-layer; --page-has-backdrop: revert-layer; animation: revert-layer; animation-timeline: revert-layer; } } } @layer daisyui.l1.l2 { & > .drawer-side { overflow-y: auto; } & > .drawer-toggle { display: none; & ~ .drawer-side { pointer-events: auto; visibility: visible; overscroll-behavior: auto; opacity: 1; width: auto; display: block; position: sticky; & > .drawer-overlay { cursor: default; background-color: #0000; } & > :not(.drawer-overlay) { translate: 0%; [dir="rtl"] & { translate: 0%; } } } &:checked ~ .drawer-side { pointer-events: auto; visibility: visible; } } } } } @media (width>=768px) { .md\:drawer { @layer daisyui.l1.l2.l3 { & { grid-auto-columns: max-content auto; width: 100%; display: grid; position: relative; } } } .md\:drawer-content { @layer daisyui.l1.l2.l3 { & { grid-row-start: 1; grid-column-start: 2; min-width: 0; } } } :where(.drawer-side) { @layer daisyui.l1.l2.l3 { & { overflow: hidden; } } } .md\:drawer-side { @layer daisyui.l1.l2.l3 { & { pointer-events: none; visibility: hidden; inset-inline-start: 0; z-index: 10; overscroll-behavior: contain; opacity: 0; width: 100%; transition: opacity 0.2s ease-out 0.1s allow-discrete, visibility 0.3s ease-out 0.1s allow-discrete; background-color: #0000; grid-template-rows: repeat(1, minmax(0, 1fr)); grid-template-columns: repeat(1, minmax(0, 1fr)); grid-row-start: 1; grid-column-start: 1; place-items: flex-start start; height: 100dvh; display: grid; position: fixed; top: 0; } & > .drawer-overlay { cursor: pointer; background-color: oklch(0% 0 0/0.4); place-self: stretch stretch; position: sticky; top: 0; } & > * { grid-row-start: 1; grid-column-start: 1; } & > :not(.drawer-overlay) { will-change: transform; transition: translate 0.3s ease-out, width 0.2s ease-out; translate: -100%; [dir="rtl"] & { translate: 100%; } } } } .md\:drawer-toggle { @layer daisyui.l1.l2.l3 { & { appearance: none; opacity: 0; width: 0; height: 0; position: fixed; } :where(&:checked ~ .drawer-side) { scrollbar-color: color-mix(in oklch, currentColor 35%, #0000) oklch(0 0 0 / calc(var(--page-has-backdrop, 0) * 0.4)); } :where(:root:has(&:checked)) { --page-has-backdrop: 1; --page-overflow: hidden; --page-scroll-bg: var(--page-scroll-bg-on); --page-scroll-gutter: stable; --page-scroll-transition: var(--page-scroll-transition-on); animation: forwards set-page-has-scroll scroll(); } } @layer daisyui.l1.l2 { :where(&:checked ~ .drawer-side) { pointer-events: auto; visibility: visible; opacity: 1; overflow-y: auto; & > :not(.drawer-overlay) { translate: 0%; } } &:focus-visible ~ .drawer-content label.drawer-button { outline-offset: 2px; outline: 2px solid; } } } .md\:drawer-end { @layer daisyui.l1.l2 { & { grid-auto-columns: auto max-content; } & > .drawer-toggle { & ~ .drawer-content { grid-column-start: 1; } & ~ .drawer-side { grid-column-start: 2; justify-items: end; } & ~ .drawer-side > :not(.drawer-overlay) { translate: 100%; [dir="rtl"] & { translate: -100%; } } &:checked ~ .drawer-side > :not(.drawer-overlay) { translate: 0%; } } } } .md\:drawer-open { @layer daisyui.l1.l2.l3 { & > .drawer-toggle:checked { & ~ .drawer-side { scrollbar-color: revert-layer; } :root:has(&) { --page-overflow: revert-layer; --page-scroll-gutter: revert-layer; --page-scroll-bg: revert-layer; --page-scroll-transition: revert-layer; --page-has-backdrop: revert-layer; animation: revert-layer; animation-timeline: revert-layer; } } } @layer daisyui.l1.l2 { & > .drawer-side { overflow-y: auto; } & > .drawer-toggle { display: none; & ~ .drawer-side { pointer-events: auto; visibility: visible; overscroll-behavior: auto; opacity: 1; width: auto; display: block; position: sticky; & > .drawer-overlay { cursor: default; background-color: #0000; } & > :not(.drawer-overlay) { translate: 0%; [dir="rtl"] & { translate: 0%; } } } &:checked ~ .drawer-side { pointer-events: auto; visibility: visible; } } } } } @media (width>=1024px) { .lg\:drawer { @layer daisyui.l1.l2.l3 { & { grid-auto-columns: max-content auto; width: 100%; display: grid; position: relative; } } } .lg\:drawer-content { @layer daisyui.l1.l2.l3 { & { grid-row-start: 1; grid-column-start: 2; min-width: 0; } } } :where(.drawer-side) { @layer daisyui.l1.l2.l3 { & { overflow: hidden; } } } .lg\:drawer-side { @layer daisyui.l1.l2.l3 { & { pointer-events: none; visibility: hidden; inset-inline-start: 0; z-index: 10; overscroll-behavior: contain; opacity: 0; width: 100%; transition: opacity 0.2s ease-out 0.1s allow-discrete, visibility 0.3s ease-out 0.1s allow-discrete; background-color: #0000; grid-template-rows: repeat(1, minmax(0, 1fr)); grid-template-columns: repeat(1, minmax(0, 1fr)); grid-row-start: 1; grid-column-start: 1; place-items: flex-start start; height: 100dvh; display: grid; position: fixed; top: 0; } & > .drawer-overlay { cursor: pointer; background-color: oklch(0% 0 0/0.4); place-self: stretch stretch; position: sticky; top: 0; } & > * { grid-row-start: 1; grid-column-start: 1; } & > :not(.drawer-overlay) { will-change: transform; transition: translate 0.3s ease-out, width 0.2s ease-out; translate: -100%; [dir="rtl"] & { translate: 100%; } } } } .lg\:drawer-toggle { @layer daisyui.l1.l2.l3 { & { appearance: none; opacity: 0; width: 0; height: 0; position: fixed; } :where(&:checked ~ .drawer-side) { scrollbar-color: color-mix(in oklch, currentColor 35%, #0000) oklch(0 0 0 / calc(var(--page-has-backdrop, 0) * 0.4)); } :where(:root:has(&:checked)) { --page-has-backdrop: 1; --page-overflow: hidden; --page-scroll-bg: var(--page-scroll-bg-on); --page-scroll-gutter: stable; --page-scroll-transition: var(--page-scroll-transition-on); animation: forwards set-page-has-scroll scroll(); } } @layer daisyui.l1.l2 { :where(&:checked ~ .drawer-side) { pointer-events: auto; visibility: visible; opacity: 1; overflow-y: auto; & > :not(.drawer-overlay) { translate: 0%; } } &:focus-visible ~ .drawer-content label.drawer-button { outline-offset: 2px; outline: 2px solid; } } } .lg\:drawer-end { @layer daisyui.l1.l2 { & { grid-auto-columns: auto max-content; } & > .drawer-toggle { & ~ .drawer-content { grid-column-start: 1; } & ~ .drawer-side { grid-column-start: 2; justify-items: end; } & ~ .drawer-side > :not(.drawer-overlay) { translate: 100%; [dir="rtl"] & { translate: -100%; } } &:checked ~ .drawer-side > :not(.drawer-overlay) { translate: 0%; } } } } .lg\:drawer-open { @layer daisyui.l1.l2.l3 { & > .drawer-toggle:checked { & ~ .drawer-side { scrollbar-color: revert-layer; } :root:has(&) { --page-overflow: revert-layer; --page-scroll-gutter: revert-layer; --page-scroll-bg: revert-layer; --page-scroll-transition: revert-layer; --page-has-backdrop: revert-layer; animation: revert-layer; animation-timeline: revert-layer; } } } @layer daisyui.l1.l2 { & > .drawer-side { overflow-y: auto; } & > .drawer-toggle { display: none; & ~ .drawer-side { pointer-events: auto; visibility: visible; overscroll-behavior: auto; opacity: 1; width: auto; display: block; position: sticky; & > .drawer-overlay { cursor: default; background-color: #0000; } & > :not(.drawer-overlay) { translate: 0%; [dir="rtl"] & { translate: 0%; } } } &:checked ~ .drawer-side { pointer-events: auto; visibility: visible; } } } } } @media (width>=1280px) { .xl\:drawer { @layer daisyui.l1.l2.l3 { & { grid-auto-columns: max-content auto; width: 100%; display: grid; position: relative; } } } .xl\:drawer-content { @layer daisyui.l1.l2.l3 { & { grid-row-start: 1; grid-column-start: 2; min-width: 0; } } } :where(.drawer-side) { @layer daisyui.l1.l2.l3 { & { overflow: hidden; } } } .xl\:drawer-side { @layer daisyui.l1.l2.l3 { & { pointer-events: none; visibility: hidden; inset-inline-start: 0; z-index: 10; overscroll-behavior: contain; opacity: 0; width: 100%; transition: opacity 0.2s ease-out 0.1s allow-discrete, visibility 0.3s ease-out 0.1s allow-discrete; background-color: #0000; grid-template-rows: repeat(1, minmax(0, 1fr)); grid-template-columns: repeat(1, minmax(0, 1fr)); grid-row-start: 1; grid-column-start: 1; place-items: flex-start start; height: 100dvh; display: grid; position: fixed; top: 0; } & > .drawer-overlay { cursor: pointer; background-color: oklch(0% 0 0/0.4); place-self: stretch stretch; position: sticky; top: 0; } & > * { grid-row-start: 1; grid-column-start: 1; } & > :not(.drawer-overlay) { will-change: transform; transition: translate 0.3s ease-out, width 0.2s ease-out; translate: -100%; [dir="rtl"] & { translate: 100%; } } } } .xl\:drawer-toggle { @layer daisyui.l1.l2.l3 { & { appearance: none; opacity: 0; width: 0; height: 0; position: fixed; } :where(&:checked ~ .drawer-side) { scrollbar-color: color-mix(in oklch, currentColor 35%, #0000) oklch(0 0 0 / calc(var(--page-has-backdrop, 0) * 0.4)); } :where(:root:has(&:checked)) { --page-has-backdrop: 1; --page-overflow: hidden; --page-scroll-bg: var(--page-scroll-bg-on); --page-scroll-gutter: stable; --page-scroll-transition: var(--page-scroll-transition-on); animation: forwards set-page-has-scroll scroll(); } } @layer daisyui.l1.l2 { :where(&:checked ~ .drawer-side) { pointer-events: auto; visibility: visible; opacity: 1; overflow-y: auto; & > :not(.drawer-overlay) { translate: 0%; } } &:focus-visible ~ .drawer-content label.drawer-button { outline-offset: 2px; outline: 2px solid; } } } .xl\:drawer-end { @layer daisyui.l1.l2 { & { grid-auto-columns: auto max-content; } & > .drawer-toggle { & ~ .drawer-content { grid-column-start: 1; } & ~ .drawer-side { grid-column-start: 2; justify-items: end; } & ~ .drawer-side > :not(.drawer-overlay) { translate: 100%; [dir="rtl"] & { translate: -100%; } } &:checked ~ .drawer-side > :not(.drawer-overlay) { translate: 0%; } } } } .xl\:drawer-open { @layer daisyui.l1.l2.l3 { & > .drawer-toggle:checked { & ~ .drawer-side { scrollbar-color: revert-layer; } :root:has(&) { --page-overflow: revert-layer; --page-scroll-gutter: revert-layer; --page-scroll-bg: revert-layer; --page-scroll-transition: revert-layer; --page-has-backdrop: revert-layer; animation: revert-layer; animation-timeline: revert-layer; } } } @layer daisyui.l1.l2 { & > .drawer-side { overflow-y: auto; } & > .drawer-toggle { display: none; & ~ .drawer-side { pointer-events: auto; visibility: visible; overscroll-behavior: auto; opacity: 1; width: auto; display: block; position: sticky; & > .drawer-overlay { cursor: default; background-color: #0000; } & > :not(.drawer-overlay) { translate: 0%; [dir="rtl"] & { translate: 0%; } } } &:checked ~ .drawer-side { pointer-events: auto; visibility: visible; } } } } } @media (width>=1536px) { .\32 xl\:drawer { @layer daisyui.l1.l2.l3 { & { grid-auto-columns: max-content auto; width: 100%; display: grid; position: relative; } } } .\32 xl\:drawer-content { @layer daisyui.l1.l2.l3 { & { grid-row-start: 1; grid-column-start: 2; min-width: 0; } } } :where(.drawer-side) { @layer daisyui.l1.l2.l3 { & { overflow: hidden; } } } .\32 xl\:drawer-side { @layer daisyui.l1.l2.l3 { & { pointer-events: none; visibility: hidden; inset-inline-start: 0; z-index: 10; overscroll-behavior: contain; opacity: 0; width: 100%; transition: opacity 0.2s ease-out 0.1s allow-discrete, visibility 0.3s ease-out 0.1s allow-discrete; background-color: #0000; grid-template-rows: repeat(1, minmax(0, 1fr)); grid-template-columns: repeat(1, minmax(0, 1fr)); grid-row-start: 1; grid-column-start: 1; place-items: flex-start start; height: 100dvh; display: grid; position: fixed; top: 0; } & > .drawer-overlay { cursor: pointer; background-color: oklch(0% 0 0/0.4); place-self: stretch stretch; position: sticky; top: 0; } & > * { grid-row-start: 1; grid-column-start: 1; } & > :not(.drawer-overlay) { will-change: transform; transition: translate 0.3s ease-out, width 0.2s ease-out; translate: -100%; [dir="rtl"] & { translate: 100%; } } } } .\32 xl\:drawer-toggle { @layer daisyui.l1.l2.l3 { & { appearance: none; opacity: 0; width: 0; height: 0; position: fixed; } :where(&:checked ~ .drawer-side) { scrollbar-color: color-mix(in oklch, currentColor 35%, #0000) oklch(0 0 0 / calc(var(--page-has-backdrop, 0) * 0.4)); } :where(:root:has(&:checked)) { --page-has-backdrop: 1; --page-overflow: hidden; --page-scroll-bg: var(--page-scroll-bg-on); --page-scroll-gutter: stable; --page-scroll-transition: var(--page-scroll-transition-on); animation: forwards set-page-has-scroll scroll(); } } @layer daisyui.l1.l2 { :where(&:checked ~ .drawer-side) { pointer-events: auto; visibility: visible; opacity: 1; overflow-y: auto; & > :not(.drawer-overlay) { translate: 0%; } } &:focus-visible ~ .drawer-content label.drawer-button { outline-offset: 2px; outline: 2px solid; } } } .\32 xl\:drawer-end { @layer daisyui.l1.l2 { & { grid-auto-columns: auto max-content; } & > .drawer-toggle { & ~ .drawer-content { grid-column-start: 1; } & ~ .drawer-side { grid-column-start: 2; justify-items: end; } & ~ .drawer-side > :not(.drawer-overlay) { translate: 100%; [dir="rtl"] & { translate: -100%; } } &:checked ~ .drawer-side > :not(.drawer-overlay) { translate: 0%; } } } } .\32 xl\:drawer-open { @layer daisyui.l1.l2.l3 { & > .drawer-toggle:checked { & ~ .drawer-side { scrollbar-color: revert-layer; } :root:has(&) { --page-overflow: revert-layer; --page-scroll-gutter: revert-layer; --page-scroll-bg: revert-layer; --page-scroll-transition: revert-layer; --page-has-backdrop: revert-layer; animation: revert-layer; animation-timeline: revert-layer; } } } @layer daisyui.l1.l2 { & > .drawer-side { overflow-y: auto; } & > .drawer-toggle { display: none; & ~ .drawer-side { pointer-events: auto; visibility: visible; overscroll-behavior: auto; opacity: 1; width: auto; display: block; position: sticky; & > .drawer-overlay { cursor: default; background-color: #0000; } & > :not(.drawer-overlay) { translate: 0%; [dir="rtl"] & { translate: 0%; } } } &:checked ~ .drawer-side { pointer-events: auto; visibility: visible; } } } } } .kbd { box-shadow: none; @layer daisyui.l1.l2.l3 { & { border-radius: var(--radius-field); background-color: var(--color-base-200); vertical-align: middle; border: var(--border) solid color-mix(in srgb, var(--color-base-content) 20%, #0000); border-bottom: calc(var(--border) + 1px) solid color-mix(in srgb, var(--color-base-content) 20%, #0000); --size: calc(var(--size-selector, 0.25rem) * 6); height: var(--size); min-width: var(--size); justify-content: center; align-items: center; padding-left: 0.5em; padding-right: 0.5em; font-size: 0.875rem; display: inline-flex; } } } .kbd-xs { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 4); font-size: 0.625rem; } } } .kbd-sm { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 5); font-size: 0.75rem; } } } .kbd-md { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 6); font-size: 0.875rem; } } } .kbd-lg { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 7); font-size: 1rem; } } } .kbd-xl { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 8); font-size: 1.125rem; } } } @media (width>=640px) { .sm\:kbd { box-shadow: none; @layer daisyui.l1.l2.l3 { & { border-radius: var(--radius-field); background-color: var(--color-base-200); vertical-align: middle; border: var(--border) solid color-mix(in srgb, var(--color-base-content) 20%, #0000); border-bottom: calc(var(--border) + 1px) solid color-mix(in srgb, var(--color-base-content) 20%, #0000); --size: calc(var(--size-selector, 0.25rem) * 6); height: var(--size); min-width: var(--size); justify-content: center; align-items: center; padding-left: 0.5em; padding-right: 0.5em; font-size: 0.875rem; display: inline-flex; } } } .sm\:kbd-xs { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 4); font-size: 0.625rem; } } } .sm\:kbd-sm { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 5); font-size: 0.75rem; } } } .sm\:kbd-md { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 6); font-size: 0.875rem; } } } .sm\:kbd-lg { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 7); font-size: 1rem; } } } .sm\:kbd-xl { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 8); font-size: 1.125rem; } } } } @media (width>=768px) { .md\:kbd { box-shadow: none; @layer daisyui.l1.l2.l3 { & { border-radius: var(--radius-field); background-color: var(--color-base-200); vertical-align: middle; border: var(--border) solid color-mix(in srgb, var(--color-base-content) 20%, #0000); border-bottom: calc(var(--border) + 1px) solid color-mix(in srgb, var(--color-base-content) 20%, #0000); --size: calc(var(--size-selector, 0.25rem) * 6); height: var(--size); min-width: var(--size); justify-content: center; align-items: center; padding-left: 0.5em; padding-right: 0.5em; font-size: 0.875rem; display: inline-flex; } } } .md\:kbd-xs { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 4); font-size: 0.625rem; } } } .md\:kbd-sm { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 5); font-size: 0.75rem; } } } .md\:kbd-md { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 6); font-size: 0.875rem; } } } .md\:kbd-lg { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 7); font-size: 1rem; } } } .md\:kbd-xl { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 8); font-size: 1.125rem; } } } } @media (width>=1024px) { .lg\:kbd { box-shadow: none; @layer daisyui.l1.l2.l3 { & { border-radius: var(--radius-field); background-color: var(--color-base-200); vertical-align: middle; border: var(--border) solid color-mix(in srgb, var(--color-base-content) 20%, #0000); border-bottom: calc(var(--border) + 1px) solid color-mix(in srgb, var(--color-base-content) 20%, #0000); --size: calc(var(--size-selector, 0.25rem) * 6); height: var(--size); min-width: var(--size); justify-content: center; align-items: center; padding-left: 0.5em; padding-right: 0.5em; font-size: 0.875rem; display: inline-flex; } } } .lg\:kbd-xs { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 4); font-size: 0.625rem; } } } .lg\:kbd-sm { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 5); font-size: 0.75rem; } } } .lg\:kbd-md { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 6); font-size: 0.875rem; } } } .lg\:kbd-lg { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 7); font-size: 1rem; } } } .lg\:kbd-xl { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 8); font-size: 1.125rem; } } } } @media (width>=1280px) { .xl\:kbd { box-shadow: none; @layer daisyui.l1.l2.l3 { & { border-radius: var(--radius-field); background-color: var(--color-base-200); vertical-align: middle; border: var(--border) solid color-mix(in srgb, var(--color-base-content) 20%, #0000); border-bottom: calc(var(--border) + 1px) solid color-mix(in srgb, var(--color-base-content) 20%, #0000); --size: calc(var(--size-selector, 0.25rem) * 6); height: var(--size); min-width: var(--size); justify-content: center; align-items: center; padding-left: 0.5em; padding-right: 0.5em; font-size: 0.875rem; display: inline-flex; } } } .xl\:kbd-xs { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 4); font-size: 0.625rem; } } } .xl\:kbd-sm { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 5); font-size: 0.75rem; } } } .xl\:kbd-md { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 6); font-size: 0.875rem; } } } .xl\:kbd-lg { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 7); font-size: 1rem; } } } .xl\:kbd-xl { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 8); font-size: 1.125rem; } } } } @media (width>=1536px) { .\32 xl\:kbd { box-shadow: none; @layer daisyui.l1.l2.l3 { & { border-radius: var(--radius-field); background-color: var(--color-base-200); vertical-align: middle; border: var(--border) solid color-mix(in srgb, var(--color-base-content) 20%, #0000); border-bottom: calc(var(--border) + 1px) solid color-mix(in srgb, var(--color-base-content) 20%, #0000); --size: calc(var(--size-selector, 0.25rem) * 6); height: var(--size); min-width: var(--size); justify-content: center; align-items: center; padding-left: 0.5em; padding-right: 0.5em; font-size: 0.875rem; display: inline-flex; } } } .\32 xl\:kbd-xs { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 4); font-size: 0.625rem; } } } .\32 xl\:kbd-sm { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 5); font-size: 0.75rem; } } } .\32 xl\:kbd-md { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 6); font-size: 0.875rem; } } } .\32 xl\:kbd-lg { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 7); font-size: 1rem; } } } .\32 xl\:kbd-xl { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 8); font-size: 1.125rem; } } } } .avatar-group { @layer daisyui.l1.l2.l3 { & { display: flex; overflow: hidden; } & .avatar { border: 4px solid var(--color-base-100); border-radius: 3.40282e38px; overflow: hidden; } } } .avatar { @layer daisyui.l1.l2.l3 { & { vertical-align: middle; display: inline-flex; position: relative; } & > div { aspect-ratio: 1; display: block; overflow: hidden; } & img { object-fit: cover; width: 100%; height: 100%; } } } .avatar-placeholder { @layer daisyui.l1.l2 { & > div { justify-content: center; align-items: center; display: flex; } } } .avatar-online { @layer daisyui.l1.l2 { &:before { content: ""; z-index: 1; background-color: var(--color-success); outline: 2px solid var(--color-base-100); border-radius: 3.40282e38px; width: 15%; height: 15%; display: block; position: absolute; top: 7%; right: 7%; } } } .avatar-offline { @layer daisyui.l1.l2 { &:before { content: ""; z-index: 1; background-color: var(--color-base-300); outline: 2px solid var(--color-base-100); border-radius: 3.40282e38px; width: 15%; height: 15%; display: block; position: absolute; top: 7%; right: 7%; } } } @media (width>=640px) { .sm\:avatar-group { @layer daisyui.l1.l2.l3 { & { display: flex; overflow: hidden; } & .avatar { border: 4px solid var(--color-base-100); border-radius: 3.40282e38px; overflow: hidden; } } } .sm\:avatar { @layer daisyui.l1.l2.l3 { & { vertical-align: middle; display: inline-flex; position: relative; } & > div { aspect-ratio: 1; display: block; overflow: hidden; } & img { object-fit: cover; width: 100%; height: 100%; } } } .sm\:avatar-placeholder { @layer daisyui.l1.l2 { & > div { justify-content: center; align-items: center; display: flex; } } } .sm\:avatar-online { @layer daisyui.l1.l2 { &:before { content: ""; z-index: 1; background-color: var(--color-success); outline: 2px solid var(--color-base-100); border-radius: 3.40282e38px; width: 15%; height: 15%; display: block; position: absolute; top: 7%; right: 7%; } } } .sm\:avatar-offline { @layer daisyui.l1.l2 { &:before { content: ""; z-index: 1; background-color: var(--color-base-300); outline: 2px solid var(--color-base-100); border-radius: 3.40282e38px; width: 15%; height: 15%; display: block; position: absolute; top: 7%; right: 7%; } } } } @media (width>=768px) { .md\:avatar-group { @layer daisyui.l1.l2.l3 { & { display: flex; overflow: hidden; } & .avatar { border: 4px solid var(--color-base-100); border-radius: 3.40282e38px; overflow: hidden; } } } .md\:avatar { @layer daisyui.l1.l2.l3 { & { vertical-align: middle; display: inline-flex; position: relative; } & > div { aspect-ratio: 1; display: block; overflow: hidden; } & img { object-fit: cover; width: 100%; height: 100%; } } } .md\:avatar-placeholder { @layer daisyui.l1.l2 { & > div { justify-content: center; align-items: center; display: flex; } } } .md\:avatar-online { @layer daisyui.l1.l2 { &:before { content: ""; z-index: 1; background-color: var(--color-success); outline: 2px solid var(--color-base-100); border-radius: 3.40282e38px; width: 15%; height: 15%; display: block; position: absolute; top: 7%; right: 7%; } } } .md\:avatar-offline { @layer daisyui.l1.l2 { &:before { content: ""; z-index: 1; background-color: var(--color-base-300); outline: 2px solid var(--color-base-100); border-radius: 3.40282e38px; width: 15%; height: 15%; display: block; position: absolute; top: 7%; right: 7%; } } } } @media (width>=1024px) { .lg\:avatar-group { @layer daisyui.l1.l2.l3 { & { display: flex; overflow: hidden; } & .avatar { border: 4px solid var(--color-base-100); border-radius: 3.40282e38px; overflow: hidden; } } } .lg\:avatar { @layer daisyui.l1.l2.l3 { & { vertical-align: middle; display: inline-flex; position: relative; } & > div { aspect-ratio: 1; display: block; overflow: hidden; } & img { object-fit: cover; width: 100%; height: 100%; } } } .lg\:avatar-placeholder { @layer daisyui.l1.l2 { & > div { justify-content: center; align-items: center; display: flex; } } } .lg\:avatar-online { @layer daisyui.l1.l2 { &:before { content: ""; z-index: 1; background-color: var(--color-success); outline: 2px solid var(--color-base-100); border-radius: 3.40282e38px; width: 15%; height: 15%; display: block; position: absolute; top: 7%; right: 7%; } } } .lg\:avatar-offline { @layer daisyui.l1.l2 { &:before { content: ""; z-index: 1; background-color: var(--color-base-300); outline: 2px solid var(--color-base-100); border-radius: 3.40282e38px; width: 15%; height: 15%; display: block; position: absolute; top: 7%; right: 7%; } } } } @media (width>=1280px) { .xl\:avatar-group { @layer daisyui.l1.l2.l3 { & { display: flex; overflow: hidden; } & .avatar { border: 4px solid var(--color-base-100); border-radius: 3.40282e38px; overflow: hidden; } } } .xl\:avatar { @layer daisyui.l1.l2.l3 { & { vertical-align: middle; display: inline-flex; position: relative; } & > div { aspect-ratio: 1; display: block; overflow: hidden; } & img { object-fit: cover; width: 100%; height: 100%; } } } .xl\:avatar-placeholder { @layer daisyui.l1.l2 { & > div { justify-content: center; align-items: center; display: flex; } } } .xl\:avatar-online { @layer daisyui.l1.l2 { &:before { content: ""; z-index: 1; background-color: var(--color-success); outline: 2px solid var(--color-base-100); border-radius: 3.40282e38px; width: 15%; height: 15%; display: block; position: absolute; top: 7%; right: 7%; } } } .xl\:avatar-offline { @layer daisyui.l1.l2 { &:before { content: ""; z-index: 1; background-color: var(--color-base-300); outline: 2px solid var(--color-base-100); border-radius: 3.40282e38px; width: 15%; height: 15%; display: block; position: absolute; top: 7%; right: 7%; } } } } @media (width>=1536px) { .\32 xl\:avatar-group { @layer daisyui.l1.l2.l3 { & { display: flex; overflow: hidden; } & .avatar { border: 4px solid var(--color-base-100); border-radius: 3.40282e38px; overflow: hidden; } } } .\32 xl\:avatar { @layer daisyui.l1.l2.l3 { & { vertical-align: middle; display: inline-flex; position: relative; } & > div { aspect-ratio: 1; display: block; overflow: hidden; } & img { object-fit: cover; width: 100%; height: 100%; } } } .\32 xl\:avatar-placeholder { @layer daisyui.l1.l2 { & > div { justify-content: center; align-items: center; display: flex; } } } .\32 xl\:avatar-online { @layer daisyui.l1.l2 { &:before { content: ""; z-index: 1; background-color: var(--color-success); outline: 2px solid var(--color-base-100); border-radius: 3.40282e38px; width: 15%; height: 15%; display: block; position: absolute; top: 7%; right: 7%; } } } .\32 xl\:avatar-offline { @layer daisyui.l1.l2 { &:before { content: ""; z-index: 1; background-color: var(--color-base-300); outline: 2px solid var(--color-base-100); border-radius: 3.40282e38px; width: 15%; height: 15%; display: block; position: absolute; top: 7%; right: 7%; } } } } .alert { border-width: var(--border); border-color: var(--alert-border-color, var(--color-base-200)); @layer daisyui.l1.l2.l3 { & { --alert-border-color: var(--color-base-200); border-radius: var(--radius-box); color: var(--color-base-content); background-color: var(--alert-color, var(--color-base-200)); text-align: start; 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)); border-style: solid; grid-template-columns: auto; grid-auto-flow: column; justify-content: start; place-items: center start; gap: 1rem; padding-block: 0.75rem; padding-inline: 1rem; font-size: 0.875rem; line-height: 1.25rem; display: grid; } &:has(:nth-child(2)) { grid-template-columns: auto minmax(auto, 1fr); } } } .alert-info { @layer daisyui.l1.l2 { & { color: var(--color-info-content); --alert-border-color: var(--color-info); --alert-color: var(--color-info); } } } .alert-success { @layer daisyui.l1.l2 { & { color: var(--color-success-content); --alert-border-color: var(--color-success); --alert-color: var(--color-success); } } } .alert-warning { @layer daisyui.l1.l2 { & { color: var(--color-warning-content); --alert-border-color: var(--color-warning); --alert-color: var(--color-warning); } } } .alert-error { @layer daisyui.l1.l2 { & { color: var(--color-error-content); --alert-border-color: var(--color-error); --alert-color: var(--color-error); } } } .alert-soft { @layer daisyui.l1 { & { 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) ); --alert-border-color: color-mix( in oklab, var(--alert-color, var(--color-base-content)) 10%, var(--color-base-100) ); box-shadow: none; background-image: none; } } } .alert-outline { @layer daisyui.l1 { & { color: var(--alert-color); box-shadow: none; background-color: #0000; background-image: none; } } } .alert-dash { @layer daisyui.l1 { & { color: var(--alert-color); box-shadow: none; background-color: #0000; background-image: none; border-style: dashed; } } } .alert-vertical { @layer daisyui.l1.l2 { & { text-align: center; grid-template-columns: auto; grid-auto-flow: row; justify-content: center; justify-items: center; } &:has(:nth-child(2)) { grid-template-columns: auto; } } } .alert-horizontal { @layer daisyui.l1.l2 { & { text-align: start; grid-template-columns: auto; grid-auto-flow: column; justify-content: start; justify-items: start; } &:has(:nth-child(2)) { grid-template-columns: auto minmax(auto, 1fr); } } } @media (width>=640px) { .sm\:alert { border-width: var(--border); border-color: var(--alert-border-color, var(--color-base-200)); @layer daisyui.l1.l2.l3 { & { --alert-border-color: var(--color-base-200); border-radius: var(--radius-box); color: var(--color-base-content); background-color: var(--alert-color, var(--color-base-200)); text-align: start; 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)); border-style: solid; grid-template-columns: auto; grid-auto-flow: column; justify-content: start; place-items: center start; gap: 1rem; padding-block: 0.75rem; padding-inline: 1rem; font-size: 0.875rem; line-height: 1.25rem; display: grid; } &:has(:nth-child(2)) { grid-template-columns: auto minmax(auto, 1fr); } } } .sm\:alert-info { @layer daisyui.l1.l2 { & { color: var(--color-info-content); --alert-border-color: var(--color-info); --alert-color: var(--color-info); } } } .sm\:alert-success { @layer daisyui.l1.l2 { & { color: var(--color-success-content); --alert-border-color: var(--color-success); --alert-color: var(--color-success); } } } .sm\:alert-warning { @layer daisyui.l1.l2 { & { color: var(--color-warning-content); --alert-border-color: var(--color-warning); --alert-color: var(--color-warning); } } } .sm\:alert-error { @layer daisyui.l1.l2 { & { color: var(--color-error-content); --alert-border-color: var(--color-error); --alert-color: var(--color-error); } } } .sm\:alert-soft { @layer daisyui.l1 { & { 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) ); --alert-border-color: color-mix( in oklab, var(--alert-color, var(--color-base-content)) 10%, var(--color-base-100) ); box-shadow: none; background-image: none; } } } .sm\:alert-outline { @layer daisyui.l1 { & { color: var(--alert-color); box-shadow: none; background-color: #0000; background-image: none; } } } .sm\:alert-dash { @layer daisyui.l1 { & { color: var(--alert-color); box-shadow: none; background-color: #0000; background-image: none; border-style: dashed; } } } .sm\:alert-vertical { @layer daisyui.l1.l2 { & { text-align: center; grid-template-columns: auto; grid-auto-flow: row; justify-content: center; justify-items: center; } &:has(:nth-child(2)) { grid-template-columns: auto; } } } .sm\:alert-horizontal { @layer daisyui.l1.l2 { & { text-align: start; grid-template-columns: auto; grid-auto-flow: column; justify-content: start; justify-items: start; } &:has(:nth-child(2)) { grid-template-columns: auto minmax(auto, 1fr); } } } } @media (width>=768px) { .md\:alert { border-width: var(--border); border-color: var(--alert-border-color, var(--color-base-200)); @layer daisyui.l1.l2.l3 { & { --alert-border-color: var(--color-base-200); border-radius: var(--radius-box); color: var(--color-base-content); background-color: var(--alert-color, var(--color-base-200)); text-align: start; 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)); border-style: solid; grid-template-columns: auto; grid-auto-flow: column; justify-content: start; place-items: center start; gap: 1rem; padding-block: 0.75rem; padding-inline: 1rem; font-size: 0.875rem; line-height: 1.25rem; display: grid; } &:has(:nth-child(2)) { grid-template-columns: auto minmax(auto, 1fr); } } } .md\:alert-info { @layer daisyui.l1.l2 { & { color: var(--color-info-content); --alert-border-color: var(--color-info); --alert-color: var(--color-info); } } } .md\:alert-success { @layer daisyui.l1.l2 { & { color: var(--color-success-content); --alert-border-color: var(--color-success); --alert-color: var(--color-success); } } } .md\:alert-warning { @layer daisyui.l1.l2 { & { color: var(--color-warning-content); --alert-border-color: var(--color-warning); --alert-color: var(--color-warning); } } } .md\:alert-error { @layer daisyui.l1.l2 { & { color: var(--color-error-content); --alert-border-color: var(--color-error); --alert-color: var(--color-error); } } } .md\:alert-soft { @layer daisyui.l1 { & { 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) ); --alert-border-color: color-mix( in oklab, var(--alert-color, var(--color-base-content)) 10%, var(--color-base-100) ); box-shadow: none; background-image: none; } } } .md\:alert-outline { @layer daisyui.l1 { & { color: var(--alert-color); box-shadow: none; background-color: #0000; background-image: none; } } } .md\:alert-dash { @layer daisyui.l1 { & { color: var(--alert-color); box-shadow: none; background-color: #0000; background-image: none; border-style: dashed; } } } .md\:alert-vertical { @layer daisyui.l1.l2 { & { text-align: center; grid-template-columns: auto; grid-auto-flow: row; justify-content: center; justify-items: center; } &:has(:nth-child(2)) { grid-template-columns: auto; } } } .md\:alert-horizontal { @layer daisyui.l1.l2 { & { text-align: start; grid-template-columns: auto; grid-auto-flow: column; justify-content: start; justify-items: start; } &:has(:nth-child(2)) { grid-template-columns: auto minmax(auto, 1fr); } } } } @media (width>=1024px) { .lg\:alert { border-width: var(--border); border-color: var(--alert-border-color, var(--color-base-200)); @layer daisyui.l1.l2.l3 { & { --alert-border-color: var(--color-base-200); border-radius: var(--radius-box); color: var(--color-base-content); background-color: var(--alert-color, var(--color-base-200)); text-align: start; 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)); border-style: solid; grid-template-columns: auto; grid-auto-flow: column; justify-content: start; place-items: center start; gap: 1rem; padding-block: 0.75rem; padding-inline: 1rem; font-size: 0.875rem; line-height: 1.25rem; display: grid; } &:has(:nth-child(2)) { grid-template-columns: auto minmax(auto, 1fr); } } } .lg\:alert-info { @layer daisyui.l1.l2 { & { color: var(--color-info-content); --alert-border-color: var(--color-info); --alert-color: var(--color-info); } } } .lg\:alert-success { @layer daisyui.l1.l2 { & { color: var(--color-success-content); --alert-border-color: var(--color-success); --alert-color: var(--color-success); } } } .lg\:alert-warning { @layer daisyui.l1.l2 { & { color: var(--color-warning-content); --alert-border-color: var(--color-warning); --alert-color: var(--color-warning); } } } .lg\:alert-error { @layer daisyui.l1.l2 { & { color: var(--color-error-content); --alert-border-color: var(--color-error); --alert-color: var(--color-error); } } } .lg\:alert-soft { @layer daisyui.l1 { & { 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) ); --alert-border-color: color-mix( in oklab, var(--alert-color, var(--color-base-content)) 10%, var(--color-base-100) ); box-shadow: none; background-image: none; } } } .lg\:alert-outline { @layer daisyui.l1 { & { color: var(--alert-color); box-shadow: none; background-color: #0000; background-image: none; } } } .lg\:alert-dash { @layer daisyui.l1 { & { color: var(--alert-color); box-shadow: none; background-color: #0000; background-image: none; border-style: dashed; } } } .lg\:alert-vertical { @layer daisyui.l1.l2 { & { text-align: center; grid-template-columns: auto; grid-auto-flow: row; justify-content: center; justify-items: center; } &:has(:nth-child(2)) { grid-template-columns: auto; } } } .lg\:alert-horizontal { @layer daisyui.l1.l2 { & { text-align: start; grid-template-columns: auto; grid-auto-flow: column; justify-content: start; justify-items: start; } &:has(:nth-child(2)) { grid-template-columns: auto minmax(auto, 1fr); } } } } @media (width>=1280px) { .xl\:alert { border-width: var(--border); border-color: var(--alert-border-color, var(--color-base-200)); @layer daisyui.l1.l2.l3 { & { --alert-border-color: var(--color-base-200); border-radius: var(--radius-box); color: var(--color-base-content); background-color: var(--alert-color, var(--color-base-200)); text-align: start; 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)); border-style: solid; grid-template-columns: auto; grid-auto-flow: column; justify-content: start; place-items: center start; gap: 1rem; padding-block: 0.75rem; padding-inline: 1rem; font-size: 0.875rem; line-height: 1.25rem; display: grid; } &:has(:nth-child(2)) { grid-template-columns: auto minmax(auto, 1fr); } } } .xl\:alert-info { @layer daisyui.l1.l2 { & { color: var(--color-info-content); --alert-border-color: var(--color-info); --alert-color: var(--color-info); } } } .xl\:alert-success { @layer daisyui.l1.l2 { & { color: var(--color-success-content); --alert-border-color: var(--color-success); --alert-color: var(--color-success); } } } .xl\:alert-warning { @layer daisyui.l1.l2 { & { color: var(--color-warning-content); --alert-border-color: var(--color-warning); --alert-color: var(--color-warning); } } } .xl\:alert-error { @layer daisyui.l1.l2 { & { color: var(--color-error-content); --alert-border-color: var(--color-error); --alert-color: var(--color-error); } } } .xl\:alert-soft { @layer daisyui.l1 { & { 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) ); --alert-border-color: color-mix( in oklab, var(--alert-color, var(--color-base-content)) 10%, var(--color-base-100) ); box-shadow: none; background-image: none; } } } .xl\:alert-outline { @layer daisyui.l1 { & { color: var(--alert-color); box-shadow: none; background-color: #0000; background-image: none; } } } .xl\:alert-dash { @layer daisyui.l1 { & { color: var(--alert-color); box-shadow: none; background-color: #0000; background-image: none; border-style: dashed; } } } .xl\:alert-vertical { @layer daisyui.l1.l2 { & { text-align: center; grid-template-columns: auto; grid-auto-flow: row; justify-content: center; justify-items: center; } &:has(:nth-child(2)) { grid-template-columns: auto; } } } .xl\:alert-horizontal { @layer daisyui.l1.l2 { & { text-align: start; grid-template-columns: auto; grid-auto-flow: column; justify-content: start; justify-items: start; } &:has(:nth-child(2)) { grid-template-columns: auto minmax(auto, 1fr); } } } } @media (width>=1536px) { .\32 xl\:alert { border-width: var(--border); border-color: var(--alert-border-color, var(--color-base-200)); @layer daisyui.l1.l2.l3 { & { --alert-border-color: var(--color-base-200); border-radius: var(--radius-box); color: var(--color-base-content); background-color: var(--alert-color, var(--color-base-200)); text-align: start; 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)); border-style: solid; grid-template-columns: auto; grid-auto-flow: column; justify-content: start; place-items: center start; gap: 1rem; padding-block: 0.75rem; padding-inline: 1rem; font-size: 0.875rem; line-height: 1.25rem; display: grid; } &:has(:nth-child(2)) { grid-template-columns: auto minmax(auto, 1fr); } } } .\32 xl\:alert-info { @layer daisyui.l1.l2 { & { color: var(--color-info-content); --alert-border-color: var(--color-info); --alert-color: var(--color-info); } } } .\32 xl\:alert-success { @layer daisyui.l1.l2 { & { color: var(--color-success-content); --alert-border-color: var(--color-success); --alert-color: var(--color-success); } } } .\32 xl\:alert-warning { @layer daisyui.l1.l2 { & { color: var(--color-warning-content); --alert-border-color: var(--color-warning); --alert-color: var(--color-warning); } } } .\32 xl\:alert-error { @layer daisyui.l1.l2 { & { color: var(--color-error-content); --alert-border-color: var(--color-error); --alert-color: var(--color-error); } } } .\32 xl\:alert-soft { @layer daisyui.l1 { & { 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) ); --alert-border-color: color-mix( in oklab, var(--alert-color, var(--color-base-content)) 10%, var(--color-base-100) ); box-shadow: none; background-image: none; } } } .\32 xl\:alert-outline { @layer daisyui.l1 { & { color: var(--alert-color); box-shadow: none; background-color: #0000; background-image: none; } } } .\32 xl\:alert-dash { @layer daisyui.l1 { & { color: var(--alert-color); box-shadow: none; background-color: #0000; background-image: none; border-style: dashed; } } } .\32 xl\:alert-vertical { @layer daisyui.l1.l2 { & { text-align: center; grid-template-columns: auto; grid-auto-flow: row; justify-content: center; justify-items: center; } &:has(:nth-child(2)) { grid-template-columns: auto; } } } .\32 xl\:alert-horizontal { @layer daisyui.l1.l2 { & { text-align: start; grid-template-columns: auto; grid-auto-flow: column; justify-content: start; justify-items: start; } &:has(:nth-child(2)) { grid-template-columns: auto minmax(auto, 1fr); } } } } .countdown { &.countdown { line-height: 1em; } @layer daisyui.l1.l2.l3 { & { display: inline-flex; } & > * { visibility: hidden; --value-v: calc(mod(max(0, var(--value)), 1000)); --value-hundreds: calc(round(to-zero, var(--value-v) / 100, 1)); --value-tens: calc(round(to-zero, mod(var(--value-v), 100) / 10, 1)); --value-ones: calc(mod(var(--value-v), 100)); --show-hundreds: clamp( clamp(0, var(--digits, 1) - 2, 1), var(--value-hundreds), 1 ); --show-tens: clamp( clamp(0, var(--digits, 1) - 1, 1), var(--value-tens) + var(--show-hundreds), 1 ); --first-digits: calc(round(to-zero, var(--value-v) / 10, 1)); height: 1em; width: calc(1ch + var(--show-tens) * 1ch + var(--show-hundreds) * 1ch); direction: ltr; transition: width 0.4s ease-out 0.2s; display: inline-block; position: relative; overflow-y: clip; &:before, &:after { visibility: visible; --tw-content: "00\a 01\a 02\a 03\a 04\a 05\a 06\a 07\a 08\a 09\a 10\a 11\a 12\a 13\a 14\a 15\a 16\a 17\a 18\a 19\a 20\a 21\a 22\a 23\a 24\a 25\a 26\a 27\a 28\a 29\a 30\a 31\a 32\a 33\a 34\a 35\a 36\a 37\a 38\a 39\a 40\a 41\a 42\a 43\a 44\a 45\a 46\a 47\a 48\a 49\a 50\a 51\a 52\a 53\a 54\a 55\a 56\a 57\a 58\a 59\a 60\a 61\a 62\a 63\a 64\a 65\a 66\a 67\a 68\a 69\a 70\a 71\a 72\a 73\a 74\a 75\a 76\a 77\a 78\a 79\a 80\a 81\a 82\a 83\a 84\a 85\a 86\a 87\a 88\a 89\a 90\a 91\a 92\a 93\a 94\a 95\a 96\a 97\a 98\a 99\a "; content: var(--tw-content); font-variant-numeric: tabular-nums; white-space: pre; text-align: end; direction: rtl; transition: all 1s cubic-bezier(1, 0, 0, 1), width 0.2s ease-out 0.2s, opacity 0.2s ease-out 0.2s; position: absolute; overflow-x: clip; } &:before { width: calc(1ch + var(--show-hundreds) * 1ch); top: calc(var(--first-digits) * -1em); opacity: var(--show-tens); inset-inline-end: 0; } &:after { width: 1ch; top: calc(var(--value-ones) * -1em); inset-inline-start: 0; } } } } .hero { @layer daisyui.l1.l2.l3 { & { background-position: 50%; background-size: cover; place-items: center; width: 100%; display: grid; } & > * { grid-row-start: 1; grid-column-start: 1; } } } .hero-overlay { @layer daisyui.l1.l2.l3 { & { background-color: color-mix( in oklab, var(--color-neutral) 50%, transparent ); grid-row-start: 1; grid-column-start: 1; width: 100%; height: 100%; } } } .hero-content { @layer daisyui.l1.l2.l3 { & { isolation: isolate; justify-content: center; align-items: center; gap: 1rem; max-width: 80rem; padding: 1rem; display: flex; } } } @media (width>=640px) { .sm\:hero { @layer daisyui.l1.l2.l3 { & { background-position: 50%; background-size: cover; place-items: center; width: 100%; display: grid; } & > * { grid-row-start: 1; grid-column-start: 1; } } } .sm\:hero-overlay { @layer daisyui.l1.l2.l3 { & { background-color: color-mix( in oklab, var(--color-neutral) 50%, transparent ); grid-row-start: 1; grid-column-start: 1; width: 100%; height: 100%; } } } .sm\:hero-content { @layer daisyui.l1.l2.l3 { & { isolation: isolate; justify-content: center; align-items: center; gap: 1rem; max-width: 80rem; padding: 1rem; display: flex; } } } } @media (width>=768px) { .md\:hero { @layer daisyui.l1.l2.l3 { & { background-position: 50%; background-size: cover; place-items: center; width: 100%; display: grid; } & > * { grid-row-start: 1; grid-column-start: 1; } } } .md\:hero-overlay { @layer daisyui.l1.l2.l3 { & { background-color: color-mix( in oklab, var(--color-neutral) 50%, transparent ); grid-row-start: 1; grid-column-start: 1; width: 100%; height: 100%; } } } .md\:hero-content { @layer daisyui.l1.l2.l3 { & { isolation: isolate; justify-content: center; align-items: center; gap: 1rem; max-width: 80rem; padding: 1rem; display: flex; } } } } @media (width>=1024px) { .lg\:hero { @layer daisyui.l1.l2.l3 { & { background-position: 50%; background-size: cover; place-items: center; width: 100%; display: grid; } & > * { grid-row-start: 1; grid-column-start: 1; } } } .lg\:hero-overlay { @layer daisyui.l1.l2.l3 { & { background-color: color-mix( in oklab, var(--color-neutral) 50%, transparent ); grid-row-start: 1; grid-column-start: 1; width: 100%; height: 100%; } } } .lg\:hero-content { @layer daisyui.l1.l2.l3 { & { isolation: isolate; justify-content: center; align-items: center; gap: 1rem; max-width: 80rem; padding: 1rem; display: flex; } } } } @media (width>=1280px) { .xl\:hero { @layer daisyui.l1.l2.l3 { & { background-position: 50%; background-size: cover; place-items: center; width: 100%; display: grid; } & > * { grid-row-start: 1; grid-column-start: 1; } } } .xl\:hero-overlay { @layer daisyui.l1.l2.l3 { & { background-color: color-mix( in oklab, var(--color-neutral) 50%, transparent ); grid-row-start: 1; grid-column-start: 1; width: 100%; height: 100%; } } } .xl\:hero-content { @layer daisyui.l1.l2.l3 { & { isolation: isolate; justify-content: center; align-items: center; gap: 1rem; max-width: 80rem; padding: 1rem; display: flex; } } } } @media (width>=1536px) { .\32 xl\:hero { @layer daisyui.l1.l2.l3 { & { background-position: 50%; background-size: cover; place-items: center; width: 100%; display: grid; } & > * { grid-row-start: 1; grid-column-start: 1; } } } .\32 xl\:hero-overlay { @layer daisyui.l1.l2.l3 { & { background-color: color-mix( in oklab, var(--color-neutral) 50%, transparent ); grid-row-start: 1; grid-column-start: 1; width: 100%; height: 100%; } } } .\32 xl\:hero-content { @layer daisyui.l1.l2.l3 { & { isolation: isolate; justify-content: center; align-items: center; gap: 1rem; max-width: 80rem; padding: 1rem; display: flex; } } } } .menu { @layer daisyui.l1.l2.l3 { & { --menu-active-fg: var(--color-neutral-content); --menu-active-bg: var(--color-neutral); flex-flow: column wrap; width: fit-content; padding: 0.5rem; font-size: 0.875rem; display: flex; } & :where(li ul) { white-space: nowrap; margin-inline-start: 1rem; padding-inline-start: 0.5rem; position: relative; &:before { inset-inline-start: 0; background-color: var(--color-base-content); opacity: 0.1; width: var(--border); content: ""; position: absolute; top: 0.75rem; bottom: 0.75rem; } } & :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)) { border-radius: var(--radius-field); text-align: start; text-wrap: balance; user-select: none; grid-auto-columns: minmax(auto, max-content) auto max-content; grid-auto-flow: column; align-content: flex-start; align-items: center; gap: 0.5rem; padding-block: 0.375rem; padding-inline: 0.75rem; transition-property: color, background-color, box-shadow; transition-duration: 0.2s; transition-timing-function: cubic-bezier(0, 0, 0.2, 1); display: grid; } & :where(li > details > summary) { --tw-outline-style: none; outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } &::-webkit-details-marker { display: none; } } & :where(li > details > summary), & :where(li > .menu-dropdown-toggle) { &:after { content: ""; transform-origin: 50%; pointer-events: none; justify-self: flex-end; width: 0.375rem; height: 0.375rem; transition-property: rotate, translate; transition-duration: 0.2s; display: block; translate: 0 -1px; rotate: -135deg; box-shadow: inset 2px 2px; } } & details { interpolate-size: allow-keywords; overflow: hidden; } & details::details-content { block-size: 0; @media (prefers-reduced-motion: no-preference) { & { transition-behavior: allow-discrete; transition-property: block-size, content-visibility; transition-duration: 0.2s; transition-timing-function: cubic-bezier(0, 0, 0.2, 1); } } } & details[open]::details-content { block-size: auto; } & :where(li > details[open] > summary):after, & :where(li > .menu-dropdown-toggle.menu-dropdown-show):after { translate: 0 1px; rotate: 45deg; } & :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-offset: 2px; outline: 2px solid #0000; } } } } & :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; box-shadow: inset 0 1px oklch(0% 0 0/0.01), inset 0 -1px oklch(100% 0 0/0.01); @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } & :where(li:empty) { background-color: var(--color-base-content); opacity: 0.1; height: 1px; margin: 0.5rem 1rem; } & :where(li) { flex-flow: column wrap; flex-shrink: 0; align-items: stretch; display: flex; position: relative; & .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; color: var(--menu-active-fg); background-color: var(--menu-active-bg); background-size: auto, calc(var(--noise) * 100%); background-image: none, var(--fx-noise); outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } &: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 { translate: 0 1px; rotate: 45deg; } } & .dropdown-content { margin-top: 0.5rem; padding: 0.5rem; &:before { display: none; } } } } .menu-title { @layer daisyui.l1.l2.l3 { & { color: color-mix(in oklab, var(--color-base-content) 40%, transparent); padding-block: 0.5rem; padding-inline: 0.75rem; font-size: 0.875rem; font-weight: 600; } } } .menu-horizontal { @layer daisyui.l1.l2 { & { flex-direction: row; display: inline-flex; } & > li:not(.menu-title) > details { & > ul { margin-inline-start: 0; transform-origin: top; border-radius: var(--radius-box); background-color: var(--color-base-100); opacity: 0; margin-top: 1rem; padding-block: 0.5rem; padding-inline-end: 0.5rem; position: absolute; scale: 95%; box-shadow: 0 1px 3px oklch(0% 0 0/0.1), 0 1px 2px -1px oklch(0% 0 0/0.1); @media (prefers-reduced-motion: no-preference) { & { transition-behavior: allow-discrete; transition-property: opacity, scale, display; transition-duration: 0.2s; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); animation: 0.2s menu; } @starting-style { & { opacity: 0; scale: 95%; } } } } &[open] > ul { opacity: 1; scale: 100%; } } & > li > details > ul { &:before { --tw-content: none; content: var(--tw-content); } } } } .menu-vertical { @layer daisyui.l1.l2 { & { flex-direction: column; display: inline-flex; } & > li:not(.menu-title) > details > ul { margin-inline-start: 1rem; background-color: revert-layer; border-radius: revert-layer; animation: revert-layer; box-shadow: revert-layer; margin-top: 0; padding-block: 0; padding-inline-end: 0; transition: revert-layer; position: relative; } } } .menu-xs { @layer daisyui.l1.l2 { & :where(li:not(.menu-title) > :not(ul, details, .menu-title)), & :where(li:not(.menu-title) > details > summary:not(.menu-title)) { border-radius: var(--radius-field); padding-block: 0.25rem; padding-inline: 0.5rem; font-size: 0.6875rem; } & .menu-title { padding-block: 0.25rem; padding-inline: 0.5rem; } } } .menu-sm { @layer daisyui.l1.l2 { & :where(li:not(.menu-title) > :not(ul, details, .menu-title)), & :where(li:not(.menu-title) > details > summary:not(.menu-title)) { border-radius: var(--radius-field); padding-block: 0.25rem; padding-inline: 0.625rem; font-size: 0.75rem; } & .menu-title { padding-block: 0.5rem; padding-inline: 0.75rem; } } } .menu-md { @layer daisyui.l1.l2 { & :where(li:not(.menu-title) > :not(ul, details, .menu-title)), & :where(li:not(.menu-title) > details > summary:not(.menu-title)) { border-radius: var(--radius-field); padding-block: 0.375rem; padding-inline: 0.75rem; font-size: 0.875rem; } & .menu-title { padding-block: 0.5rem; padding-inline: 0.75rem; } } } .menu-lg { @layer daisyui.l1.l2 { & :where(li:not(.menu-title) > :not(ul, details, .menu-title)), & :where(li:not(.menu-title) > details > summary:not(.menu-title)) { border-radius: var(--radius-field); padding-block: 0.375rem; padding-inline: 1rem; font-size: 1.125rem; } & .menu-title { padding-block: 0.75rem; padding-inline: 1.5rem; } } } .menu-xl { @layer daisyui.l1.l2 { & :where(li:not(.menu-title) > :not(ul, details, .menu-title)), & :where(li:not(.menu-title) > details > summary:not(.menu-title)) { border-radius: var(--radius-field); padding-block: 0.375rem; padding-inline: 1.25rem; font-size: 1.375rem; } & .menu-title { padding-block: 0.75rem; padding-inline: 1.5rem; } } } :where(:not(ul, details, .menu-title, .btn)).menu-active { @layer daisyui.l1.l2 { & { --tw-outline-style: none; color: var(--menu-active-fg); background-color: var(--menu-active-bg); background-size: auto, calc(var(--noise) * 100%); background-image: none, var(--fx-noise); outline-style: none; } @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } } @keyframes menu { 0% { opacity: 0; } } @media (width>=640px) { .sm\:menu { @layer daisyui.l1.l2.l3 { & { --menu-active-fg: var(--color-neutral-content); --menu-active-bg: var(--color-neutral); flex-flow: column wrap; width: fit-content; padding: 0.5rem; font-size: 0.875rem; display: flex; } & :where(li ul) { white-space: nowrap; margin-inline-start: 1rem; padding-inline-start: 0.5rem; position: relative; &:before { inset-inline-start: 0; background-color: var(--color-base-content); opacity: 0.1; width: var(--border); content: ""; position: absolute; top: 0.75rem; bottom: 0.75rem; } } & :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)) { border-radius: var(--radius-field); text-align: start; text-wrap: balance; user-select: none; grid-auto-columns: minmax(auto, max-content) auto max-content; grid-auto-flow: column; align-content: flex-start; align-items: center; gap: 0.5rem; padding-block: 0.375rem; padding-inline: 0.75rem; transition-property: color, background-color, box-shadow; transition-duration: 0.2s; transition-timing-function: cubic-bezier(0, 0, 0.2, 1); display: grid; } & :where(li > details > summary) { --tw-outline-style: none; outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } &::-webkit-details-marker { display: none; } } & :where(li > details > summary), & :where(li > .menu-dropdown-toggle) { &:after { content: ""; transform-origin: 50%; pointer-events: none; justify-self: flex-end; width: 0.375rem; height: 0.375rem; transition-property: rotate, translate; transition-duration: 0.2s; display: block; translate: 0 -1px; rotate: -135deg; box-shadow: inset 2px 2px; } } & details { interpolate-size: allow-keywords; overflow: hidden; } & details::details-content { block-size: 0; @media (prefers-reduced-motion: no-preference) { & { transition-behavior: allow-discrete; transition-property: block-size, content-visibility; transition-duration: 0.2s; transition-timing-function: cubic-bezier(0, 0, 0.2, 1); } } } & details[open]::details-content { block-size: auto; } & :where(li > details[open] > summary):after, & :where(li > .menu-dropdown-toggle.menu-dropdown-show):after { translate: 0 1px; rotate: 45deg; } & :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-offset: 2px; outline: 2px solid #0000; } } } } & :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; box-shadow: inset 0 1px oklch(0% 0 0/0.01), inset 0 -1px oklch(100% 0 0/0.01); @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } & :where(li:empty) { background-color: var(--color-base-content); opacity: 0.1; height: 1px; margin: 0.5rem 1rem; } & :where(li) { flex-flow: column wrap; flex-shrink: 0; align-items: stretch; display: flex; position: relative; & .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; color: var(--menu-active-fg); background-color: var(--menu-active-bg); background-size: auto, calc(var(--noise) * 100%); background-image: none, var(--fx-noise); outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } &: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 { translate: 0 1px; rotate: 45deg; } } & .dropdown-content { margin-top: 0.5rem; padding: 0.5rem; &:before { display: none; } } } } .sm\:menu-title { @layer daisyui.l1.l2.l3 { & { color: color-mix( in oklab, var(--color-base-content) 40%, transparent ); padding-block: 0.5rem; padding-inline: 0.75rem; font-size: 0.875rem; font-weight: 600; } } } .sm\:menu-horizontal { @layer daisyui.l1.l2 { & { flex-direction: row; display: inline-flex; } & > li:not(.menu-title) > details { & > ul { margin-inline-start: 0; transform-origin: top; border-radius: var(--radius-box); background-color: var(--color-base-100); opacity: 0; margin-top: 1rem; padding-block: 0.5rem; padding-inline-end: 0.5rem; position: absolute; scale: 95%; box-shadow: 0 1px 3px oklch(0% 0 0/0.1), 0 1px 2px -1px oklch(0% 0 0/0.1); @media (prefers-reduced-motion: no-preference) { & { transition-behavior: allow-discrete; transition-property: opacity, scale, display; transition-duration: 0.2s; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); animation: 0.2s menu; } @starting-style { & { opacity: 0; scale: 95%; } } } } &[open] > ul { opacity: 1; scale: 100%; } } & > li > details > ul { &:before { --tw-content: none; content: var(--tw-content); } } } } .sm\:menu-vertical { @layer daisyui.l1.l2 { & { flex-direction: column; display: inline-flex; } & > li:not(.menu-title) > details > ul { margin-inline-start: 1rem; background-color: revert-layer; border-radius: revert-layer; animation: revert-layer; box-shadow: revert-layer; margin-top: 0; padding-block: 0; padding-inline-end: 0; transition: revert-layer; position: relative; } } } .sm\:menu-xs { @layer daisyui.l1.l2 { & :where(li:not(.menu-title) > :not(ul, details, .menu-title)), & :where(li:not(.menu-title) > details > summary:not(.menu-title)) { border-radius: var(--radius-field); padding-block: 0.25rem; padding-inline: 0.5rem; font-size: 0.6875rem; } & .menu-title { padding-block: 0.25rem; padding-inline: 0.5rem; } } } .sm\:menu-sm { @layer daisyui.l1.l2 { & :where(li:not(.menu-title) > :not(ul, details, .menu-title)), & :where(li:not(.menu-title) > details > summary:not(.menu-title)) { border-radius: var(--radius-field); padding-block: 0.25rem; padding-inline: 0.625rem; font-size: 0.75rem; } & .menu-title { padding-block: 0.5rem; padding-inline: 0.75rem; } } } .sm\:menu-md { @layer daisyui.l1.l2 { & :where(li:not(.menu-title) > :not(ul, details, .menu-title)), & :where(li:not(.menu-title) > details > summary:not(.menu-title)) { border-radius: var(--radius-field); padding-block: 0.375rem; padding-inline: 0.75rem; font-size: 0.875rem; } & .menu-title { padding-block: 0.5rem; padding-inline: 0.75rem; } } } .sm\:menu-lg { @layer daisyui.l1.l2 { & :where(li:not(.menu-title) > :not(ul, details, .menu-title)), & :where(li:not(.menu-title) > details > summary:not(.menu-title)) { border-radius: var(--radius-field); padding-block: 0.375rem; padding-inline: 1rem; font-size: 1.125rem; } & .menu-title { padding-block: 0.75rem; padding-inline: 1.5rem; } } } .sm\:menu-xl { @layer daisyui.l1.l2 { & :where(li:not(.menu-title) > :not(ul, details, .menu-title)), & :where(li:not(.menu-title) > details > summary:not(.menu-title)) { border-radius: var(--radius-field); padding-block: 0.375rem; padding-inline: 1.25rem; font-size: 1.375rem; } & .menu-title { padding-block: 0.75rem; padding-inline: 1.5rem; } } } :where(:not(ul, details, .menu-title, .btn)).menu-active { @layer daisyui.l1.l2 { & { --tw-outline-style: none; color: var(--menu-active-fg); background-color: var(--menu-active-bg); background-size: auto, calc(var(--noise) * 100%); background-image: none, var(--fx-noise); outline-style: none; } @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } } } @media (width>=768px) { .md\:menu { @layer daisyui.l1.l2.l3 { & { --menu-active-fg: var(--color-neutral-content); --menu-active-bg: var(--color-neutral); flex-flow: column wrap; width: fit-content; padding: 0.5rem; font-size: 0.875rem; display: flex; } & :where(li ul) { white-space: nowrap; margin-inline-start: 1rem; padding-inline-start: 0.5rem; position: relative; &:before { inset-inline-start: 0; background-color: var(--color-base-content); opacity: 0.1; width: var(--border); content: ""; position: absolute; top: 0.75rem; bottom: 0.75rem; } } & :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)) { border-radius: var(--radius-field); text-align: start; text-wrap: balance; user-select: none; grid-auto-columns: minmax(auto, max-content) auto max-content; grid-auto-flow: column; align-content: flex-start; align-items: center; gap: 0.5rem; padding-block: 0.375rem; padding-inline: 0.75rem; transition-property: color, background-color, box-shadow; transition-duration: 0.2s; transition-timing-function: cubic-bezier(0, 0, 0.2, 1); display: grid; } & :where(li > details > summary) { --tw-outline-style: none; outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } &::-webkit-details-marker { display: none; } } & :where(li > details > summary), & :where(li > .menu-dropdown-toggle) { &:after { content: ""; transform-origin: 50%; pointer-events: none; justify-self: flex-end; width: 0.375rem; height: 0.375rem; transition-property: rotate, translate; transition-duration: 0.2s; display: block; translate: 0 -1px; rotate: -135deg; box-shadow: inset 2px 2px; } } & details { interpolate-size: allow-keywords; overflow: hidden; } & details::details-content { block-size: 0; @media (prefers-reduced-motion: no-preference) { & { transition-behavior: allow-discrete; transition-property: block-size, content-visibility; transition-duration: 0.2s; transition-timing-function: cubic-bezier(0, 0, 0.2, 1); } } } & details[open]::details-content { block-size: auto; } & :where(li > details[open] > summary):after, & :where(li > .menu-dropdown-toggle.menu-dropdown-show):after { translate: 0 1px; rotate: 45deg; } & :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-offset: 2px; outline: 2px solid #0000; } } } } & :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; box-shadow: inset 0 1px oklch(0% 0 0/0.01), inset 0 -1px oklch(100% 0 0/0.01); @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } & :where(li:empty) { background-color: var(--color-base-content); opacity: 0.1; height: 1px; margin: 0.5rem 1rem; } & :where(li) { flex-flow: column wrap; flex-shrink: 0; align-items: stretch; display: flex; position: relative; & .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; color: var(--menu-active-fg); background-color: var(--menu-active-bg); background-size: auto, calc(var(--noise) * 100%); background-image: none, var(--fx-noise); outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } &: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 { translate: 0 1px; rotate: 45deg; } } & .dropdown-content { margin-top: 0.5rem; padding: 0.5rem; &:before { display: none; } } } } .md\:menu-title { @layer daisyui.l1.l2.l3 { & { color: color-mix( in oklab, var(--color-base-content) 40%, transparent ); padding-block: 0.5rem; padding-inline: 0.75rem; font-size: 0.875rem; font-weight: 600; } } } .md\:menu-horizontal { @layer daisyui.l1.l2 { & { flex-direction: row; display: inline-flex; } & > li:not(.menu-title) > details { & > ul { margin-inline-start: 0; transform-origin: top; border-radius: var(--radius-box); background-color: var(--color-base-100); opacity: 0; margin-top: 1rem; padding-block: 0.5rem; padding-inline-end: 0.5rem; position: absolute; scale: 95%; box-shadow: 0 1px 3px oklch(0% 0 0/0.1), 0 1px 2px -1px oklch(0% 0 0/0.1); @media (prefers-reduced-motion: no-preference) { & { transition-behavior: allow-discrete; transition-property: opacity, scale, display; transition-duration: 0.2s; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); animation: 0.2s menu; } @starting-style { & { opacity: 0; scale: 95%; } } } } &[open] > ul { opacity: 1; scale: 100%; } } & > li > details > ul { &:before { --tw-content: none; content: var(--tw-content); } } } } .md\:menu-vertical { @layer daisyui.l1.l2 { & { flex-direction: column; display: inline-flex; } & > li:not(.menu-title) > details > ul { margin-inline-start: 1rem; background-color: revert-layer; border-radius: revert-layer; animation: revert-layer; box-shadow: revert-layer; margin-top: 0; padding-block: 0; padding-inline-end: 0; transition: revert-layer; position: relative; } } } .md\:menu-xs { @layer daisyui.l1.l2 { & :where(li:not(.menu-title) > :not(ul, details, .menu-title)), & :where(li:not(.menu-title) > details > summary:not(.menu-title)) { border-radius: var(--radius-field); padding-block: 0.25rem; padding-inline: 0.5rem; font-size: 0.6875rem; } & .menu-title { padding-block: 0.25rem; padding-inline: 0.5rem; } } } .md\:menu-sm { @layer daisyui.l1.l2 { & :where(li:not(.menu-title) > :not(ul, details, .menu-title)), & :where(li:not(.menu-title) > details > summary:not(.menu-title)) { border-radius: var(--radius-field); padding-block: 0.25rem; padding-inline: 0.625rem; font-size: 0.75rem; } & .menu-title { padding-block: 0.5rem; padding-inline: 0.75rem; } } } .md\:menu-md { @layer daisyui.l1.l2 { & :where(li:not(.menu-title) > :not(ul, details, .menu-title)), & :where(li:not(.menu-title) > details > summary:not(.menu-title)) { border-radius: var(--radius-field); padding-block: 0.375rem; padding-inline: 0.75rem; font-size: 0.875rem; } & .menu-title { padding-block: 0.5rem; padding-inline: 0.75rem; } } } .md\:menu-lg { @layer daisyui.l1.l2 { & :where(li:not(.menu-title) > :not(ul, details, .menu-title)), & :where(li:not(.menu-title) > details > summary:not(.menu-title)) { border-radius: var(--radius-field); padding-block: 0.375rem; padding-inline: 1rem; font-size: 1.125rem; } & .menu-title { padding-block: 0.75rem; padding-inline: 1.5rem; } } } .md\:menu-xl { @layer daisyui.l1.l2 { & :where(li:not(.menu-title) > :not(ul, details, .menu-title)), & :where(li:not(.menu-title) > details > summary:not(.menu-title)) { border-radius: var(--radius-field); padding-block: 0.375rem; padding-inline: 1.25rem; font-size: 1.375rem; } & .menu-title { padding-block: 0.75rem; padding-inline: 1.5rem; } } } :where(:not(ul, details, .menu-title, .btn)).menu-active { @layer daisyui.l1.l2 { & { --tw-outline-style: none; color: var(--menu-active-fg); background-color: var(--menu-active-bg); background-size: auto, calc(var(--noise) * 100%); background-image: none, var(--fx-noise); outline-style: none; } @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } } } @media (width>=1024px) { .lg\:menu { @layer daisyui.l1.l2.l3 { & { --menu-active-fg: var(--color-neutral-content); --menu-active-bg: var(--color-neutral); flex-flow: column wrap; width: fit-content; padding: 0.5rem; font-size: 0.875rem; display: flex; } & :where(li ul) { white-space: nowrap; margin-inline-start: 1rem; padding-inline-start: 0.5rem; position: relative; &:before { inset-inline-start: 0; background-color: var(--color-base-content); opacity: 0.1; width: var(--border); content: ""; position: absolute; top: 0.75rem; bottom: 0.75rem; } } & :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)) { border-radius: var(--radius-field); text-align: start; text-wrap: balance; user-select: none; grid-auto-columns: minmax(auto, max-content) auto max-content; grid-auto-flow: column; align-content: flex-start; align-items: center; gap: 0.5rem; padding-block: 0.375rem; padding-inline: 0.75rem; transition-property: color, background-color, box-shadow; transition-duration: 0.2s; transition-timing-function: cubic-bezier(0, 0, 0.2, 1); display: grid; } & :where(li > details > summary) { --tw-outline-style: none; outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } &::-webkit-details-marker { display: none; } } & :where(li > details > summary), & :where(li > .menu-dropdown-toggle) { &:after { content: ""; transform-origin: 50%; pointer-events: none; justify-self: flex-end; width: 0.375rem; height: 0.375rem; transition-property: rotate, translate; transition-duration: 0.2s; display: block; translate: 0 -1px; rotate: -135deg; box-shadow: inset 2px 2px; } } & details { interpolate-size: allow-keywords; overflow: hidden; } & details::details-content { block-size: 0; @media (prefers-reduced-motion: no-preference) { & { transition-behavior: allow-discrete; transition-property: block-size, content-visibility; transition-duration: 0.2s; transition-timing-function: cubic-bezier(0, 0, 0.2, 1); } } } & details[open]::details-content { block-size: auto; } & :where(li > details[open] > summary):after, & :where(li > .menu-dropdown-toggle.menu-dropdown-show):after { translate: 0 1px; rotate: 45deg; } & :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-offset: 2px; outline: 2px solid #0000; } } } } & :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; box-shadow: inset 0 1px oklch(0% 0 0/0.01), inset 0 -1px oklch(100% 0 0/0.01); @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } & :where(li:empty) { background-color: var(--color-base-content); opacity: 0.1; height: 1px; margin: 0.5rem 1rem; } & :where(li) { flex-flow: column wrap; flex-shrink: 0; align-items: stretch; display: flex; position: relative; & .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; color: var(--menu-active-fg); background-color: var(--menu-active-bg); background-size: auto, calc(var(--noise) * 100%); background-image: none, var(--fx-noise); outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } &: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 { translate: 0 1px; rotate: 45deg; } } & .dropdown-content { margin-top: 0.5rem; padding: 0.5rem; &:before { display: none; } } } } .lg\:menu-title { @layer daisyui.l1.l2.l3 { & { color: color-mix( in oklab, var(--color-base-content) 40%, transparent ); padding-block: 0.5rem; padding-inline: 0.75rem; font-size: 0.875rem; font-weight: 600; } } } .lg\:menu-horizontal { @layer daisyui.l1.l2 { & { flex-direction: row; display: inline-flex; } & > li:not(.menu-title) > details { & > ul { margin-inline-start: 0; transform-origin: top; border-radius: var(--radius-box); background-color: var(--color-base-100); opacity: 0; margin-top: 1rem; padding-block: 0.5rem; padding-inline-end: 0.5rem; position: absolute; scale: 95%; box-shadow: 0 1px 3px oklch(0% 0 0/0.1), 0 1px 2px -1px oklch(0% 0 0/0.1); @media (prefers-reduced-motion: no-preference) { & { transition-behavior: allow-discrete; transition-property: opacity, scale, display; transition-duration: 0.2s; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); animation: 0.2s menu; } @starting-style { & { opacity: 0; scale: 95%; } } } } &[open] > ul { opacity: 1; scale: 100%; } } & > li > details > ul { &:before { --tw-content: none; content: var(--tw-content); } } } } .lg\:menu-vertical { @layer daisyui.l1.l2 { & { flex-direction: column; display: inline-flex; } & > li:not(.menu-title) > details > ul { margin-inline-start: 1rem; background-color: revert-layer; border-radius: revert-layer; animation: revert-layer; box-shadow: revert-layer; margin-top: 0; padding-block: 0; padding-inline-end: 0; transition: revert-layer; position: relative; } } } .lg\:menu-xs { @layer daisyui.l1.l2 { & :where(li:not(.menu-title) > :not(ul, details, .menu-title)), & :where(li:not(.menu-title) > details > summary:not(.menu-title)) { border-radius: var(--radius-field); padding-block: 0.25rem; padding-inline: 0.5rem; font-size: 0.6875rem; } & .menu-title { padding-block: 0.25rem; padding-inline: 0.5rem; } } } .lg\:menu-sm { @layer daisyui.l1.l2 { & :where(li:not(.menu-title) > :not(ul, details, .menu-title)), & :where(li:not(.menu-title) > details > summary:not(.menu-title)) { border-radius: var(--radius-field); padding-block: 0.25rem; padding-inline: 0.625rem; font-size: 0.75rem; } & .menu-title { padding-block: 0.5rem; padding-inline: 0.75rem; } } } .lg\:menu-md { @layer daisyui.l1.l2 { & :where(li:not(.menu-title) > :not(ul, details, .menu-title)), & :where(li:not(.menu-title) > details > summary:not(.menu-title)) { border-radius: var(--radius-field); padding-block: 0.375rem; padding-inline: 0.75rem; font-size: 0.875rem; } & .menu-title { padding-block: 0.5rem; padding-inline: 0.75rem; } } } .lg\:menu-lg { @layer daisyui.l1.l2 { & :where(li:not(.menu-title) > :not(ul, details, .menu-title)), & :where(li:not(.menu-title) > details > summary:not(.menu-title)) { border-radius: var(--radius-field); padding-block: 0.375rem; padding-inline: 1rem; font-size: 1.125rem; } & .menu-title { padding-block: 0.75rem; padding-inline: 1.5rem; } } } .lg\:menu-xl { @layer daisyui.l1.l2 { & :where(li:not(.menu-title) > :not(ul, details, .menu-title)), & :where(li:not(.menu-title) > details > summary:not(.menu-title)) { border-radius: var(--radius-field); padding-block: 0.375rem; padding-inline: 1.25rem; font-size: 1.375rem; } & .menu-title { padding-block: 0.75rem; padding-inline: 1.5rem; } } } :where(:not(ul, details, .menu-title, .btn)).menu-active { @layer daisyui.l1.l2 { & { --tw-outline-style: none; color: var(--menu-active-fg); background-color: var(--menu-active-bg); background-size: auto, calc(var(--noise) * 100%); background-image: none, var(--fx-noise); outline-style: none; } @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } } } @media (width>=1280px) { .xl\:menu { @layer daisyui.l1.l2.l3 { & { --menu-active-fg: var(--color-neutral-content); --menu-active-bg: var(--color-neutral); flex-flow: column wrap; width: fit-content; padding: 0.5rem; font-size: 0.875rem; display: flex; } & :where(li ul) { white-space: nowrap; margin-inline-start: 1rem; padding-inline-start: 0.5rem; position: relative; &:before { inset-inline-start: 0; background-color: var(--color-base-content); opacity: 0.1; width: var(--border); content: ""; position: absolute; top: 0.75rem; bottom: 0.75rem; } } & :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)) { border-radius: var(--radius-field); text-align: start; text-wrap: balance; user-select: none; grid-auto-columns: minmax(auto, max-content) auto max-content; grid-auto-flow: column; align-content: flex-start; align-items: center; gap: 0.5rem; padding-block: 0.375rem; padding-inline: 0.75rem; transition-property: color, background-color, box-shadow; transition-duration: 0.2s; transition-timing-function: cubic-bezier(0, 0, 0.2, 1); display: grid; } & :where(li > details > summary) { --tw-outline-style: none; outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } &::-webkit-details-marker { display: none; } } & :where(li > details > summary), & :where(li > .menu-dropdown-toggle) { &:after { content: ""; transform-origin: 50%; pointer-events: none; justify-self: flex-end; width: 0.375rem; height: 0.375rem; transition-property: rotate, translate; transition-duration: 0.2s; display: block; translate: 0 -1px; rotate: -135deg; box-shadow: inset 2px 2px; } } & details { interpolate-size: allow-keywords; overflow: hidden; } & details::details-content { block-size: 0; @media (prefers-reduced-motion: no-preference) { & { transition-behavior: allow-discrete; transition-property: block-size, content-visibility; transition-duration: 0.2s; transition-timing-function: cubic-bezier(0, 0, 0.2, 1); } } } & details[open]::details-content { block-size: auto; } & :where(li > details[open] > summary):after, & :where(li > .menu-dropdown-toggle.menu-dropdown-show):after { translate: 0 1px; rotate: 45deg; } & :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-offset: 2px; outline: 2px solid #0000; } } } } & :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; box-shadow: inset 0 1px oklch(0% 0 0/0.01), inset 0 -1px oklch(100% 0 0/0.01); @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } & :where(li:empty) { background-color: var(--color-base-content); opacity: 0.1; height: 1px; margin: 0.5rem 1rem; } & :where(li) { flex-flow: column wrap; flex-shrink: 0; align-items: stretch; display: flex; position: relative; & .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; color: var(--menu-active-fg); background-color: var(--menu-active-bg); background-size: auto, calc(var(--noise) * 100%); background-image: none, var(--fx-noise); outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } &: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 { translate: 0 1px; rotate: 45deg; } } & .dropdown-content { margin-top: 0.5rem; padding: 0.5rem; &:before { display: none; } } } } .xl\:menu-title { @layer daisyui.l1.l2.l3 { & { color: color-mix( in oklab, var(--color-base-content) 40%, transparent ); padding-block: 0.5rem; padding-inline: 0.75rem; font-size: 0.875rem; font-weight: 600; } } } .xl\:menu-horizontal { @layer daisyui.l1.l2 { & { flex-direction: row; display: inline-flex; } & > li:not(.menu-title) > details { & > ul { margin-inline-start: 0; transform-origin: top; border-radius: var(--radius-box); background-color: var(--color-base-100); opacity: 0; margin-top: 1rem; padding-block: 0.5rem; padding-inline-end: 0.5rem; position: absolute; scale: 95%; box-shadow: 0 1px 3px oklch(0% 0 0/0.1), 0 1px 2px -1px oklch(0% 0 0/0.1); @media (prefers-reduced-motion: no-preference) { & { transition-behavior: allow-discrete; transition-property: opacity, scale, display; transition-duration: 0.2s; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); animation: 0.2s menu; } @starting-style { & { opacity: 0; scale: 95%; } } } } &[open] > ul { opacity: 1; scale: 100%; } } & > li > details > ul { &:before { --tw-content: none; content: var(--tw-content); } } } } .xl\:menu-vertical { @layer daisyui.l1.l2 { & { flex-direction: column; display: inline-flex; } & > li:not(.menu-title) > details > ul { margin-inline-start: 1rem; background-color: revert-layer; border-radius: revert-layer; animation: revert-layer; box-shadow: revert-layer; margin-top: 0; padding-block: 0; padding-inline-end: 0; transition: revert-layer; position: relative; } } } .xl\:menu-xs { @layer daisyui.l1.l2 { & :where(li:not(.menu-title) > :not(ul, details, .menu-title)), & :where(li:not(.menu-title) > details > summary:not(.menu-title)) { border-radius: var(--radius-field); padding-block: 0.25rem; padding-inline: 0.5rem; font-size: 0.6875rem; } & .menu-title { padding-block: 0.25rem; padding-inline: 0.5rem; } } } .xl\:menu-sm { @layer daisyui.l1.l2 { & :where(li:not(.menu-title) > :not(ul, details, .menu-title)), & :where(li:not(.menu-title) > details > summary:not(.menu-title)) { border-radius: var(--radius-field); padding-block: 0.25rem; padding-inline: 0.625rem; font-size: 0.75rem; } & .menu-title { padding-block: 0.5rem; padding-inline: 0.75rem; } } } .xl\:menu-md { @layer daisyui.l1.l2 { & :where(li:not(.menu-title) > :not(ul, details, .menu-title)), & :where(li:not(.menu-title) > details > summary:not(.menu-title)) { border-radius: var(--radius-field); padding-block: 0.375rem; padding-inline: 0.75rem; font-size: 0.875rem; } & .menu-title { padding-block: 0.5rem; padding-inline: 0.75rem; } } } .xl\:menu-lg { @layer daisyui.l1.l2 { & :where(li:not(.menu-title) > :not(ul, details, .menu-title)), & :where(li:not(.menu-title) > details > summary:not(.menu-title)) { border-radius: var(--radius-field); padding-block: 0.375rem; padding-inline: 1rem; font-size: 1.125rem; } & .menu-title { padding-block: 0.75rem; padding-inline: 1.5rem; } } } .xl\:menu-xl { @layer daisyui.l1.l2 { & :where(li:not(.menu-title) > :not(ul, details, .menu-title)), & :where(li:not(.menu-title) > details > summary:not(.menu-title)) { border-radius: var(--radius-field); padding-block: 0.375rem; padding-inline: 1.25rem; font-size: 1.375rem; } & .menu-title { padding-block: 0.75rem; padding-inline: 1.5rem; } } } :where(:not(ul, details, .menu-title, .btn)).menu-active { @layer daisyui.l1.l2 { & { --tw-outline-style: none; color: var(--menu-active-fg); background-color: var(--menu-active-bg); background-size: auto, calc(var(--noise) * 100%); background-image: none, var(--fx-noise); outline-style: none; } @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } } } @media (width>=1536px) { .\32 xl\:menu { @layer daisyui.l1.l2.l3 { & { --menu-active-fg: var(--color-neutral-content); --menu-active-bg: var(--color-neutral); flex-flow: column wrap; width: fit-content; padding: 0.5rem; font-size: 0.875rem; display: flex; } & :where(li ul) { white-space: nowrap; margin-inline-start: 1rem; padding-inline-start: 0.5rem; position: relative; &:before { inset-inline-start: 0; background-color: var(--color-base-content); opacity: 0.1; width: var(--border); content: ""; position: absolute; top: 0.75rem; bottom: 0.75rem; } } & :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)) { border-radius: var(--radius-field); text-align: start; text-wrap: balance; user-select: none; grid-auto-columns: minmax(auto, max-content) auto max-content; grid-auto-flow: column; align-content: flex-start; align-items: center; gap: 0.5rem; padding-block: 0.375rem; padding-inline: 0.75rem; transition-property: color, background-color, box-shadow; transition-duration: 0.2s; transition-timing-function: cubic-bezier(0, 0, 0.2, 1); display: grid; } & :where(li > details > summary) { --tw-outline-style: none; outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } &::-webkit-details-marker { display: none; } } & :where(li > details > summary), & :where(li > .menu-dropdown-toggle) { &:after { content: ""; transform-origin: 50%; pointer-events: none; justify-self: flex-end; width: 0.375rem; height: 0.375rem; transition-property: rotate, translate; transition-duration: 0.2s; display: block; translate: 0 -1px; rotate: -135deg; box-shadow: inset 2px 2px; } } & details { interpolate-size: allow-keywords; overflow: hidden; } & details::details-content { block-size: 0; @media (prefers-reduced-motion: no-preference) { & { transition-behavior: allow-discrete; transition-property: block-size, content-visibility; transition-duration: 0.2s; transition-timing-function: cubic-bezier(0, 0, 0.2, 1); } } } & details[open]::details-content { block-size: auto; } & :where(li > details[open] > summary):after, & :where(li > .menu-dropdown-toggle.menu-dropdown-show):after { translate: 0 1px; rotate: 45deg; } & :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-offset: 2px; outline: 2px solid #0000; } } } } & :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; box-shadow: inset 0 1px oklch(0% 0 0/0.01), inset 0 -1px oklch(100% 0 0/0.01); @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } & :where(li:empty) { background-color: var(--color-base-content); opacity: 0.1; height: 1px; margin: 0.5rem 1rem; } & :where(li) { flex-flow: column wrap; flex-shrink: 0; align-items: stretch; display: flex; position: relative; & .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; color: var(--menu-active-fg); background-color: var(--menu-active-bg); background-size: auto, calc(var(--noise) * 100%); background-image: none, var(--fx-noise); outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } &: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 { translate: 0 1px; rotate: 45deg; } } & .dropdown-content { margin-top: 0.5rem; padding: 0.5rem; &:before { display: none; } } } } .\32 xl\:menu-title { @layer daisyui.l1.l2.l3 { & { color: color-mix( in oklab, var(--color-base-content) 40%, transparent ); padding-block: 0.5rem; padding-inline: 0.75rem; font-size: 0.875rem; font-weight: 600; } } } .\32 xl\:menu-horizontal { @layer daisyui.l1.l2 { & { flex-direction: row; display: inline-flex; } & > li:not(.menu-title) > details { & > ul { margin-inline-start: 0; transform-origin: top; border-radius: var(--radius-box); background-color: var(--color-base-100); opacity: 0; margin-top: 1rem; padding-block: 0.5rem; padding-inline-end: 0.5rem; position: absolute; scale: 95%; box-shadow: 0 1px 3px oklch(0% 0 0/0.1), 0 1px 2px -1px oklch(0% 0 0/0.1); @media (prefers-reduced-motion: no-preference) { & { transition-behavior: allow-discrete; transition-property: opacity, scale, display; transition-duration: 0.2s; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); animation: 0.2s menu; } @starting-style { & { opacity: 0; scale: 95%; } } } } &[open] > ul { opacity: 1; scale: 100%; } } & > li > details > ul { &:before { --tw-content: none; content: var(--tw-content); } } } } .\32 xl\:menu-vertical { @layer daisyui.l1.l2 { & { flex-direction: column; display: inline-flex; } & > li:not(.menu-title) > details > ul { margin-inline-start: 1rem; background-color: revert-layer; border-radius: revert-layer; animation: revert-layer; box-shadow: revert-layer; margin-top: 0; padding-block: 0; padding-inline-end: 0; transition: revert-layer; position: relative; } } } .\32 xl\:menu-xs { @layer daisyui.l1.l2 { & :where(li:not(.menu-title) > :not(ul, details, .menu-title)), & :where(li:not(.menu-title) > details > summary:not(.menu-title)) { border-radius: var(--radius-field); padding-block: 0.25rem; padding-inline: 0.5rem; font-size: 0.6875rem; } & .menu-title { padding-block: 0.25rem; padding-inline: 0.5rem; } } } .\32 xl\:menu-sm { @layer daisyui.l1.l2 { & :where(li:not(.menu-title) > :not(ul, details, .menu-title)), & :where(li:not(.menu-title) > details > summary:not(.menu-title)) { border-radius: var(--radius-field); padding-block: 0.25rem; padding-inline: 0.625rem; font-size: 0.75rem; } & .menu-title { padding-block: 0.5rem; padding-inline: 0.75rem; } } } .\32 xl\:menu-md { @layer daisyui.l1.l2 { & :where(li:not(.menu-title) > :not(ul, details, .menu-title)), & :where(li:not(.menu-title) > details > summary:not(.menu-title)) { border-radius: var(--radius-field); padding-block: 0.375rem; padding-inline: 0.75rem; font-size: 0.875rem; } & .menu-title { padding-block: 0.5rem; padding-inline: 0.75rem; } } } .\32 xl\:menu-lg { @layer daisyui.l1.l2 { & :where(li:not(.menu-title) > :not(ul, details, .menu-title)), & :where(li:not(.menu-title) > details > summary:not(.menu-title)) { border-radius: var(--radius-field); padding-block: 0.375rem; padding-inline: 1rem; font-size: 1.125rem; } & .menu-title { padding-block: 0.75rem; padding-inline: 1.5rem; } } } .\32 xl\:menu-xl { @layer daisyui.l1.l2 { & :where(li:not(.menu-title) > :not(ul, details, .menu-title)), & :where(li:not(.menu-title) > details > summary:not(.menu-title)) { border-radius: var(--radius-field); padding-block: 0.375rem; padding-inline: 1.25rem; font-size: 1.375rem; } & .menu-title { padding-block: 0.75rem; padding-inline: 1.5rem; } } } :where(:not(ul, details, .menu-title, .btn)).menu-active { @layer daisyui.l1.l2 { & { --tw-outline-style: none; color: var(--menu-active-fg); background-color: var(--menu-active-bg); background-size: auto, calc(var(--noise) * 100%); background-image: none, var(--fx-noise); outline-style: none; } @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } } } .status { @layer daisyui.l1.l2.l3 { & { aspect-ratio: 1; border-radius: var(--radius-selector); background-color: color-mix( in oklab, var(--color-base-content) 20%, transparent ); vertical-align: middle; width: 0.5rem; height: 0.5rem; color: color-mix(in oklab, var(--color-black) 30%, transparent); background-position: 50%; background-repeat: no-repeat; 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); display: inline-block; } } } .status-primary { @layer daisyui.l1.l2 { & { background-color: var(--color-primary); color: var(--color-primary); } } } .status-secondary { @layer daisyui.l1.l2 { & { background-color: var(--color-secondary); color: var(--color-secondary); } } } .status-accent { @layer daisyui.l1.l2 { & { background-color: var(--color-accent); color: var(--color-accent); } } } .status-neutral { @layer daisyui.l1.l2 { & { background-color: var(--color-neutral); color: var(--color-neutral); } } } .status-info { @layer daisyui.l1.l2 { & { background-color: var(--color-info); color: var(--color-info); } } } .status-success { @layer daisyui.l1.l2 { & { background-color: var(--color-success); color: var(--color-success); } } } .status-warning { @layer daisyui.l1.l2 { & { background-color: var(--color-warning); color: var(--color-warning); } } } .status-error { @layer daisyui.l1.l2 { & { background-color: var(--color-error); color: var(--color-error); } } } .status-xs { @layer daisyui.l1.l2 { & { width: 0.125rem; height: 0.125rem; } } } .status-sm { @layer daisyui.l1.l2 { & { width: 0.25rem; height: 0.25rem; } } } .status-md { @layer daisyui.l1.l2 { & { width: 0.5rem; height: 0.5rem; } } } .status-lg { @layer daisyui.l1.l2 { & { width: 0.75rem; height: 0.75rem; } } } .status-xl { @layer daisyui.l1.l2 { & { width: 1rem; height: 1rem; } } } @media (width>=640px) { .sm\:status { @layer daisyui.l1.l2.l3 { & { aspect-ratio: 1; border-radius: var(--radius-selector); background-color: color-mix( in oklab, var(--color-base-content) 20%, transparent ); vertical-align: middle; width: 0.5rem; height: 0.5rem; color: color-mix(in oklab, var(--color-black) 30%, transparent); background-position: 50%; background-repeat: no-repeat; 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); display: inline-block; } } } .sm\:status-primary { @layer daisyui.l1.l2 { & { background-color: var(--color-primary); color: var(--color-primary); } } } .sm\:status-secondary { @layer daisyui.l1.l2 { & { background-color: var(--color-secondary); color: var(--color-secondary); } } } .sm\:status-accent { @layer daisyui.l1.l2 { & { background-color: var(--color-accent); color: var(--color-accent); } } } .sm\:status-neutral { @layer daisyui.l1.l2 { & { background-color: var(--color-neutral); color: var(--color-neutral); } } } .sm\:status-info { @layer daisyui.l1.l2 { & { background-color: var(--color-info); color: var(--color-info); } } } .sm\:status-success { @layer daisyui.l1.l2 { & { background-color: var(--color-success); color: var(--color-success); } } } .sm\:status-warning { @layer daisyui.l1.l2 { & { background-color: var(--color-warning); color: var(--color-warning); } } } .sm\:status-error { @layer daisyui.l1.l2 { & { background-color: var(--color-error); color: var(--color-error); } } } .sm\:status-xs { @layer daisyui.l1.l2 { & { width: 0.125rem; height: 0.125rem; } } } .sm\:status-sm { @layer daisyui.l1.l2 { & { width: 0.25rem; height: 0.25rem; } } } .sm\:status-md { @layer daisyui.l1.l2 { & { width: 0.5rem; height: 0.5rem; } } } .sm\:status-lg { @layer daisyui.l1.l2 { & { width: 0.75rem; height: 0.75rem; } } } .sm\:status-xl { @layer daisyui.l1.l2 { & { width: 1rem; height: 1rem; } } } } @media (width>=768px) { .md\:status { @layer daisyui.l1.l2.l3 { & { aspect-ratio: 1; border-radius: var(--radius-selector); background-color: color-mix( in oklab, var(--color-base-content) 20%, transparent ); vertical-align: middle; width: 0.5rem; height: 0.5rem; color: color-mix(in oklab, var(--color-black) 30%, transparent); background-position: 50%; background-repeat: no-repeat; 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); display: inline-block; } } } .md\:status-primary { @layer daisyui.l1.l2 { & { background-color: var(--color-primary); color: var(--color-primary); } } } .md\:status-secondary { @layer daisyui.l1.l2 { & { background-color: var(--color-secondary); color: var(--color-secondary); } } } .md\:status-accent { @layer daisyui.l1.l2 { & { background-color: var(--color-accent); color: var(--color-accent); } } } .md\:status-neutral { @layer daisyui.l1.l2 { & { background-color: var(--color-neutral); color: var(--color-neutral); } } } .md\:status-info { @layer daisyui.l1.l2 { & { background-color: var(--color-info); color: var(--color-info); } } } .md\:status-success { @layer daisyui.l1.l2 { & { background-color: var(--color-success); color: var(--color-success); } } } .md\:status-warning { @layer daisyui.l1.l2 { & { background-color: var(--color-warning); color: var(--color-warning); } } } .md\:status-error { @layer daisyui.l1.l2 { & { background-color: var(--color-error); color: var(--color-error); } } } .md\:status-xs { @layer daisyui.l1.l2 { & { width: 0.125rem; height: 0.125rem; } } } .md\:status-sm { @layer daisyui.l1.l2 { & { width: 0.25rem; height: 0.25rem; } } } .md\:status-md { @layer daisyui.l1.l2 { & { width: 0.5rem; height: 0.5rem; } } } .md\:status-lg { @layer daisyui.l1.l2 { & { width: 0.75rem; height: 0.75rem; } } } .md\:status-xl { @layer daisyui.l1.l2 { & { width: 1rem; height: 1rem; } } } } @media (width>=1024px) { .lg\:status { @layer daisyui.l1.l2.l3 { & { aspect-ratio: 1; border-radius: var(--radius-selector); background-color: color-mix( in oklab, var(--color-base-content) 20%, transparent ); vertical-align: middle; width: 0.5rem; height: 0.5rem; color: color-mix(in oklab, var(--color-black) 30%, transparent); background-position: 50%; background-repeat: no-repeat; 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); display: inline-block; } } } .lg\:status-primary { @layer daisyui.l1.l2 { & { background-color: var(--color-primary); color: var(--color-primary); } } } .lg\:status-secondary { @layer daisyui.l1.l2 { & { background-color: var(--color-secondary); color: var(--color-secondary); } } } .lg\:status-accent { @layer daisyui.l1.l2 { & { background-color: var(--color-accent); color: var(--color-accent); } } } .lg\:status-neutral { @layer daisyui.l1.l2 { & { background-color: var(--color-neutral); color: var(--color-neutral); } } } .lg\:status-info { @layer daisyui.l1.l2 { & { background-color: var(--color-info); color: var(--color-info); } } } .lg\:status-success { @layer daisyui.l1.l2 { & { background-color: var(--color-success); color: var(--color-success); } } } .lg\:status-warning { @layer daisyui.l1.l2 { & { background-color: var(--color-warning); color: var(--color-warning); } } } .lg\:status-error { @layer daisyui.l1.l2 { & { background-color: var(--color-error); color: var(--color-error); } } } .lg\:status-xs { @layer daisyui.l1.l2 { & { width: 0.125rem; height: 0.125rem; } } } .lg\:status-sm { @layer daisyui.l1.l2 { & { width: 0.25rem; height: 0.25rem; } } } .lg\:status-md { @layer daisyui.l1.l2 { & { width: 0.5rem; height: 0.5rem; } } } .lg\:status-lg { @layer daisyui.l1.l2 { & { width: 0.75rem; height: 0.75rem; } } } .lg\:status-xl { @layer daisyui.l1.l2 { & { width: 1rem; height: 1rem; } } } } @media (width>=1280px) { .xl\:status { @layer daisyui.l1.l2.l3 { & { aspect-ratio: 1; border-radius: var(--radius-selector); background-color: color-mix( in oklab, var(--color-base-content) 20%, transparent ); vertical-align: middle; width: 0.5rem; height: 0.5rem; color: color-mix(in oklab, var(--color-black) 30%, transparent); background-position: 50%; background-repeat: no-repeat; 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); display: inline-block; } } } .xl\:status-primary { @layer daisyui.l1.l2 { & { background-color: var(--color-primary); color: var(--color-primary); } } } .xl\:status-secondary { @layer daisyui.l1.l2 { & { background-color: var(--color-secondary); color: var(--color-secondary); } } } .xl\:status-accent { @layer daisyui.l1.l2 { & { background-color: var(--color-accent); color: var(--color-accent); } } } .xl\:status-neutral { @layer daisyui.l1.l2 { & { background-color: var(--color-neutral); color: var(--color-neutral); } } } .xl\:status-info { @layer daisyui.l1.l2 { & { background-color: var(--color-info); color: var(--color-info); } } } .xl\:status-success { @layer daisyui.l1.l2 { & { background-color: var(--color-success); color: var(--color-success); } } } .xl\:status-warning { @layer daisyui.l1.l2 { & { background-color: var(--color-warning); color: var(--color-warning); } } } .xl\:status-error { @layer daisyui.l1.l2 { & { background-color: var(--color-error); color: var(--color-error); } } } .xl\:status-xs { @layer daisyui.l1.l2 { & { width: 0.125rem; height: 0.125rem; } } } .xl\:status-sm { @layer daisyui.l1.l2 { & { width: 0.25rem; height: 0.25rem; } } } .xl\:status-md { @layer daisyui.l1.l2 { & { width: 0.5rem; height: 0.5rem; } } } .xl\:status-lg { @layer daisyui.l1.l2 { & { width: 0.75rem; height: 0.75rem; } } } .xl\:status-xl { @layer daisyui.l1.l2 { & { width: 1rem; height: 1rem; } } } } @media (width>=1536px) { .\32 xl\:status { @layer daisyui.l1.l2.l3 { & { aspect-ratio: 1; border-radius: var(--radius-selector); background-color: color-mix( in oklab, var(--color-base-content) 20%, transparent ); vertical-align: middle; width: 0.5rem; height: 0.5rem; color: color-mix(in oklab, var(--color-black) 30%, transparent); background-position: 50%; background-repeat: no-repeat; 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); display: inline-block; } } } .\32 xl\:status-primary { @layer daisyui.l1.l2 { & { background-color: var(--color-primary); color: var(--color-primary); } } } .\32 xl\:status-secondary { @layer daisyui.l1.l2 { & { background-color: var(--color-secondary); color: var(--color-secondary); } } } .\32 xl\:status-accent { @layer daisyui.l1.l2 { & { background-color: var(--color-accent); color: var(--color-accent); } } } .\32 xl\:status-neutral { @layer daisyui.l1.l2 { & { background-color: var(--color-neutral); color: var(--color-neutral); } } } .\32 xl\:status-info { @layer daisyui.l1.l2 { & { background-color: var(--color-info); color: var(--color-info); } } } .\32 xl\:status-success { @layer daisyui.l1.l2 { & { background-color: var(--color-success); color: var(--color-success); } } } .\32 xl\:status-warning { @layer daisyui.l1.l2 { & { background-color: var(--color-warning); color: var(--color-warning); } } } .\32 xl\:status-error { @layer daisyui.l1.l2 { & { background-color: var(--color-error); color: var(--color-error); } } } .\32 xl\:status-xs { @layer daisyui.l1.l2 { & { width: 0.125rem; height: 0.125rem; } } } .\32 xl\:status-sm { @layer daisyui.l1.l2 { & { width: 0.25rem; height: 0.25rem; } } } .\32 xl\:status-md { @layer daisyui.l1.l2 { & { width: 0.5rem; height: 0.5rem; } } } .\32 xl\:status-lg { @layer daisyui.l1.l2 { & { width: 0.75rem; height: 0.75rem; } } } .\32 xl\:status-xl { @layer daisyui.l1.l2 { & { width: 1rem; height: 1rem; } } } } .toggle { @layer daisyui.l1.l2.l3 { & { border: var(--border) solid currentColor; color: var(--input-color); cursor: pointer; appearance: none; vertical-align: middle; -webkit-user-select: none; user-select: none; --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; --input-color: color-mix( in oklab, var(--color-base-content) 50%, #0000 ); --toggle-p: calc(var(--size) * 0.125); --size: calc(var(--size-selector, 0.25rem) * 6); width: calc((var(--size) * 2) - (var(--border) + var(--toggle-p)) * 2); height: var(--size); flex-shrink: 0; grid-template-columns: 0fr 1fr 1fr; place-content: center; transition: color 0.3s, grid-template-columns 0.2s; display: inline-grid; position: relative; } & > * { z-index: 1; cursor: pointer; appearance: none; background-color: #0000; border: none; grid-column: 2 / span 1; grid-row-start: 1; height: 100%; padding: 0.125rem; transition: opacity 0.2s, rotate 0.4s; &:focus { --tw-outline-style: none; outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } &:nth-child(2) { color: var(--color-base-100); rotate: none; } &: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: 1; rotate: none; } } &:before { aspect-ratio: 1; border-radius: var(--radius-selector); --tw-content: ""; content: var(--tw-content); height: 100%; 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-color: currentColor; background-size: auto, calc(var(--noise) * 100%); background-image: none, var(--fx-noise); grid-row-start: 1; grid-column-start: 2; transition: background-color 0.1s, translate 0.2s, inset-inline-start 0.2s; position: relative; inset-inline-start: 0; translate: 0; } @media (forced-colors: active) { &:before { outline-style: var(--tw-outline-style); outline-offset: calc(1px * -1); outline-width: 1px; } } @media print { &:before { outline-offset: -1rem; outline: 0.25rem solid; } } &:focus-visible, &:has(:focus-visible) { outline-offset: 2px; outline: 2px solid; } &:checked, &[aria-checked="true"], &:has(> input:checked) { background-color: var(--color-base-100); --input-color: var(--color-base-content); grid-template-columns: 1fr 1fr 0fr; &:before { background-color: currentColor; } @starting-style { &:before { opacity: 0; } } } &:indeterminate { grid-template-columns: 0.5fr 1fr 0.5fr; } &:disabled { cursor: not-allowed; opacity: 0.3; &:before { border: var(--border) solid currentColor; background-color: #0000; } } } } .toggle-primary { @layer daisyui.l1.l2 { &:checked, &[aria-checked="true"] { --input-color: var(--color-primary); } } } .toggle-secondary { @layer daisyui.l1.l2 { &:checked, &[aria-checked="true"] { --input-color: var(--color-secondary); } } } .toggle-accent { @layer daisyui.l1.l2 { &:checked, &[aria-checked="true"] { --input-color: var(--color-accent); } } } .toggle-neutral { @layer daisyui.l1.l2 { &:checked, &[aria-checked="true"] { --input-color: var(--color-neutral); } } } .toggle-success { @layer daisyui.l1.l2 { &:checked, &[aria-checked="true"] { --input-color: var(--color-success); } } } .toggle-warning { @layer daisyui.l1.l2 { &:checked, &[aria-checked="true"] { --input-color: var(--color-warning); } } } .toggle-info { @layer daisyui.l1.l2 { &:checked, &[aria-checked="true"] { --input-color: var(--color-info); } } } .toggle-error { @layer daisyui.l1.l2 { &:checked, &[aria-checked="true"] { --input-color: var(--color-error); } } } .toggle-xs { @layer daisyui.l1.l2 { &[type="checkbox"], &:has([type="checkbox"]) { --size: calc(var(--size-selector, 0.25rem) * 4); } } } .toggle-sm { @layer daisyui.l1.l2 { &[type="checkbox"], &:has([type="checkbox"]) { --size: calc(var(--size-selector, 0.25rem) * 5); } } } .toggle-md { @layer daisyui.l1.l2 { &[type="checkbox"], &:has([type="checkbox"]) { --size: calc(var(--size-selector, 0.25rem) * 6); } } } .toggle-lg { @layer daisyui.l1.l2 { &[type="checkbox"], &:has([type="checkbox"]) { --size: calc(var(--size-selector, 0.25rem) * 7); } } } .toggle-xl { @layer daisyui.l1.l2 { &[type="checkbox"], &:has([type="checkbox"]) { --size: calc(var(--size-selector, 0.25rem) * 8); } } } @media (width>=640px) { .sm\:toggle { @layer daisyui.l1.l2.l3 { & { border: var(--border) solid currentColor; color: var(--input-color); cursor: pointer; appearance: none; vertical-align: middle; -webkit-user-select: none; user-select: none; --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; --input-color: color-mix( in oklab, var(--color-base-content) 50%, #0000 ); --toggle-p: calc(var(--size) * 0.125); --size: calc(var(--size-selector, 0.25rem) * 6); width: calc( (var(--size) * 2) - (var(--border) + var(--toggle-p)) * 2 ); height: var(--size); flex-shrink: 0; grid-template-columns: 0fr 1fr 1fr; place-content: center; transition: color 0.3s, grid-template-columns 0.2s; display: inline-grid; position: relative; } & > * { z-index: 1; cursor: pointer; appearance: none; background-color: #0000; border: none; grid-column: 2 / span 1; grid-row-start: 1; height: 100%; padding: 0.125rem; transition: opacity 0.2s, rotate 0.4s; &:focus { --tw-outline-style: none; outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } &:nth-child(2) { color: var(--color-base-100); rotate: none; } &: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: 1; rotate: none; } } &:before { aspect-ratio: 1; border-radius: var(--radius-selector); --tw-content: ""; content: var(--tw-content); height: 100%; 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-color: currentColor; background-size: auto, calc(var(--noise) * 100%); background-image: none, var(--fx-noise); grid-row-start: 1; grid-column-start: 2; transition: background-color 0.1s, translate 0.2s, inset-inline-start 0.2s; position: relative; inset-inline-start: 0; translate: 0; } @media (forced-colors: active) { &:before { outline-style: var(--tw-outline-style); outline-offset: calc(1px * -1); outline-width: 1px; } } @media print { &:before { outline-offset: -1rem; outline: 0.25rem solid; } } &:focus-visible, &:has(:focus-visible) { outline-offset: 2px; outline: 2px solid; } &:checked, &[aria-checked="true"], &:has(> input:checked) { background-color: var(--color-base-100); --input-color: var(--color-base-content); grid-template-columns: 1fr 1fr 0fr; &:before { background-color: currentColor; } @starting-style { &:before { opacity: 0; } } } &:indeterminate { grid-template-columns: 0.5fr 1fr 0.5fr; } &:disabled { cursor: not-allowed; opacity: 0.3; &:before { border: var(--border) solid currentColor; background-color: #0000; } } } } .sm\:toggle-primary { @layer daisyui.l1.l2 { &:checked, &[aria-checked="true"] { --input-color: var(--color-primary); } } } .sm\:toggle-secondary { @layer daisyui.l1.l2 { &:checked, &[aria-checked="true"] { --input-color: var(--color-secondary); } } } .sm\:toggle-accent { @layer daisyui.l1.l2 { &:checked, &[aria-checked="true"] { --input-color: var(--color-accent); } } } .sm\:toggle-neutral { @layer daisyui.l1.l2 { &:checked, &[aria-checked="true"] { --input-color: var(--color-neutral); } } } .sm\:toggle-success { @layer daisyui.l1.l2 { &:checked, &[aria-checked="true"] { --input-color: var(--color-success); } } } .sm\:toggle-warning { @layer daisyui.l1.l2 { &:checked, &[aria-checked="true"] { --input-color: var(--color-warning); } } } .sm\:toggle-info { @layer daisyui.l1.l2 { &:checked, &[aria-checked="true"] { --input-color: var(--color-info); } } } .sm\:toggle-error { @layer daisyui.l1.l2 { &:checked, &[aria-checked="true"] { --input-color: var(--color-error); } } } .sm\:toggle-xs { @layer daisyui.l1.l2 { &[type="checkbox"], &:has([type="checkbox"]) { --size: calc(var(--size-selector, 0.25rem) * 4); } } } .sm\:toggle-sm { @layer daisyui.l1.l2 { &[type="checkbox"], &:has([type="checkbox"]) { --size: calc(var(--size-selector, 0.25rem) * 5); } } } .sm\:toggle-md { @layer daisyui.l1.l2 { &[type="checkbox"], &:has([type="checkbox"]) { --size: calc(var(--size-selector, 0.25rem) * 6); } } } .sm\:toggle-lg { @layer daisyui.l1.l2 { &[type="checkbox"], &:has([type="checkbox"]) { --size: calc(var(--size-selector, 0.25rem) * 7); } } } .sm\:toggle-xl { @layer daisyui.l1.l2 { &[type="checkbox"], &:has([type="checkbox"]) { --size: calc(var(--size-selector, 0.25rem) * 8); } } } } @media (width>=768px) { .md\:toggle { @layer daisyui.l1.l2.l3 { & { border: var(--border) solid currentColor; color: var(--input-color); cursor: pointer; appearance: none; vertical-align: middle; -webkit-user-select: none; user-select: none; --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; --input-color: color-mix( in oklab, var(--color-base-content) 50%, #0000 ); --toggle-p: calc(var(--size) * 0.125); --size: calc(var(--size-selector, 0.25rem) * 6); width: calc( (var(--size) * 2) - (var(--border) + var(--toggle-p)) * 2 ); height: var(--size); flex-shrink: 0; grid-template-columns: 0fr 1fr 1fr; place-content: center; transition: color 0.3s, grid-template-columns 0.2s; display: inline-grid; position: relative; } & > * { z-index: 1; cursor: pointer; appearance: none; background-color: #0000; border: none; grid-column: 2 / span 1; grid-row-start: 1; height: 100%; padding: 0.125rem; transition: opacity 0.2s, rotate 0.4s; &:focus { --tw-outline-style: none; outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } &:nth-child(2) { color: var(--color-base-100); rotate: none; } &: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: 1; rotate: none; } } &:before { aspect-ratio: 1; border-radius: var(--radius-selector); --tw-content: ""; content: var(--tw-content); height: 100%; 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-color: currentColor; background-size: auto, calc(var(--noise) * 100%); background-image: none, var(--fx-noise); grid-row-start: 1; grid-column-start: 2; transition: background-color 0.1s, translate 0.2s, inset-inline-start 0.2s; position: relative; inset-inline-start: 0; translate: 0; } @media (forced-colors: active) { &:before { outline-style: var(--tw-outline-style); outline-offset: calc(1px * -1); outline-width: 1px; } } @media print { &:before { outline-offset: -1rem; outline: 0.25rem solid; } } &:focus-visible, &:has(:focus-visible) { outline-offset: 2px; outline: 2px solid; } &:checked, &[aria-checked="true"], &:has(> input:checked) { background-color: var(--color-base-100); --input-color: var(--color-base-content); grid-template-columns: 1fr 1fr 0fr; &:before { background-color: currentColor; } @starting-style { &:before { opacity: 0; } } } &:indeterminate { grid-template-columns: 0.5fr 1fr 0.5fr; } &:disabled { cursor: not-allowed; opacity: 0.3; &:before { border: var(--border) solid currentColor; background-color: #0000; } } } } .md\:toggle-primary { @layer daisyui.l1.l2 { &:checked, &[aria-checked="true"] { --input-color: var(--color-primary); } } } .md\:toggle-secondary { @layer daisyui.l1.l2 { &:checked, &[aria-checked="true"] { --input-color: var(--color-secondary); } } } .md\:toggle-accent { @layer daisyui.l1.l2 { &:checked, &[aria-checked="true"] { --input-color: var(--color-accent); } } } .md\:toggle-neutral { @layer daisyui.l1.l2 { &:checked, &[aria-checked="true"] { --input-color: var(--color-neutral); } } } .md\:toggle-success { @layer daisyui.l1.l2 { &:checked, &[aria-checked="true"] { --input-color: var(--color-success); } } } .md\:toggle-warning { @layer daisyui.l1.l2 { &:checked, &[aria-checked="true"] { --input-color: var(--color-warning); } } } .md\:toggle-info { @layer daisyui.l1.l2 { &:checked, &[aria-checked="true"] { --input-color: var(--color-info); } } } .md\:toggle-error { @layer daisyui.l1.l2 { &:checked, &[aria-checked="true"] { --input-color: var(--color-error); } } } .md\:toggle-xs { @layer daisyui.l1.l2 { &[type="checkbox"], &:has([type="checkbox"]) { --size: calc(var(--size-selector, 0.25rem) * 4); } } } .md\:toggle-sm { @layer daisyui.l1.l2 { &[type="checkbox"], &:has([type="checkbox"]) { --size: calc(var(--size-selector, 0.25rem) * 5); } } } .md\:toggle-md { @layer daisyui.l1.l2 { &[type="checkbox"], &:has([type="checkbox"]) { --size: calc(var(--size-selector, 0.25rem) * 6); } } } .md\:toggle-lg { @layer daisyui.l1.l2 { &[type="checkbox"], &:has([type="checkbox"]) { --size: calc(var(--size-selector, 0.25rem) * 7); } } } .md\:toggle-xl { @layer daisyui.l1.l2 { &[type="checkbox"], &:has([type="checkbox"]) { --size: calc(var(--size-selector, 0.25rem) * 8); } } } } @media (width>=1024px) { .lg\:toggle { @layer daisyui.l1.l2.l3 { & { border: var(--border) solid currentColor; color: var(--input-color); cursor: pointer; appearance: none; vertical-align: middle; -webkit-user-select: none; user-select: none; --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; --input-color: color-mix( in oklab, var(--color-base-content) 50%, #0000 ); --toggle-p: calc(var(--size) * 0.125); --size: calc(var(--size-selector, 0.25rem) * 6); width: calc( (var(--size) * 2) - (var(--border) + var(--toggle-p)) * 2 ); height: var(--size); flex-shrink: 0; grid-template-columns: 0fr 1fr 1fr; place-content: center; transition: color 0.3s, grid-template-columns 0.2s; display: inline-grid; position: relative; } & > * { z-index: 1; cursor: pointer; appearance: none; background-color: #0000; border: none; grid-column: 2 / span 1; grid-row-start: 1; height: 100%; padding: 0.125rem; transition: opacity 0.2s, rotate 0.4s; &:focus { --tw-outline-style: none; outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } &:nth-child(2) { color: var(--color-base-100); rotate: none; } &: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: 1; rotate: none; } } &:before { aspect-ratio: 1; border-radius: var(--radius-selector); --tw-content: ""; content: var(--tw-content); height: 100%; 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-color: currentColor; background-size: auto, calc(var(--noise) * 100%); background-image: none, var(--fx-noise); grid-row-start: 1; grid-column-start: 2; transition: background-color 0.1s, translate 0.2s, inset-inline-start 0.2s; position: relative; inset-inline-start: 0; translate: 0; } @media (forced-colors: active) { &:before { outline-style: var(--tw-outline-style); outline-offset: calc(1px * -1); outline-width: 1px; } } @media print { &:before { outline-offset: -1rem; outline: 0.25rem solid; } } &:focus-visible, &:has(:focus-visible) { outline-offset: 2px; outline: 2px solid; } &:checked, &[aria-checked="true"], &:has(> input:checked) { background-color: var(--color-base-100); --input-color: var(--color-base-content); grid-template-columns: 1fr 1fr 0fr; &:before { background-color: currentColor; } @starting-style { &:before { opacity: 0; } } } &:indeterminate { grid-template-columns: 0.5fr 1fr 0.5fr; } &:disabled { cursor: not-allowed; opacity: 0.3; &:before { border: var(--border) solid currentColor; background-color: #0000; } } } } .lg\:toggle-primary { @layer daisyui.l1.l2 { &:checked, &[aria-checked="true"] { --input-color: var(--color-primary); } } } .lg\:toggle-secondary { @layer daisyui.l1.l2 { &:checked, &[aria-checked="true"] { --input-color: var(--color-secondary); } } } .lg\:toggle-accent { @layer daisyui.l1.l2 { &:checked, &[aria-checked="true"] { --input-color: var(--color-accent); } } } .lg\:toggle-neutral { @layer daisyui.l1.l2 { &:checked, &[aria-checked="true"] { --input-color: var(--color-neutral); } } } .lg\:toggle-success { @layer daisyui.l1.l2 { &:checked, &[aria-checked="true"] { --input-color: var(--color-success); } } } .lg\:toggle-warning { @layer daisyui.l1.l2 { &:checked, &[aria-checked="true"] { --input-color: var(--color-warning); } } } .lg\:toggle-info { @layer daisyui.l1.l2 { &:checked, &[aria-checked="true"] { --input-color: var(--color-info); } } } .lg\:toggle-error { @layer daisyui.l1.l2 { &:checked, &[aria-checked="true"] { --input-color: var(--color-error); } } } .lg\:toggle-xs { @layer daisyui.l1.l2 { &[type="checkbox"], &:has([type="checkbox"]) { --size: calc(var(--size-selector, 0.25rem) * 4); } } } .lg\:toggle-sm { @layer daisyui.l1.l2 { &[type="checkbox"], &:has([type="checkbox"]) { --size: calc(var(--size-selector, 0.25rem) * 5); } } } .lg\:toggle-md { @layer daisyui.l1.l2 { &[type="checkbox"], &:has([type="checkbox"]) { --size: calc(var(--size-selector, 0.25rem) * 6); } } } .lg\:toggle-lg { @layer daisyui.l1.l2 { &[type="checkbox"], &:has([type="checkbox"]) { --size: calc(var(--size-selector, 0.25rem) * 7); } } } .lg\:toggle-xl { @layer daisyui.l1.l2 { &[type="checkbox"], &:has([type="checkbox"]) { --size: calc(var(--size-selector, 0.25rem) * 8); } } } } @media (width>=1280px) { .xl\:toggle { @layer daisyui.l1.l2.l3 { & { border: var(--border) solid currentColor; color: var(--input-color); cursor: pointer; appearance: none; vertical-align: middle; -webkit-user-select: none; user-select: none; --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; --input-color: color-mix( in oklab, var(--color-base-content) 50%, #0000 ); --toggle-p: calc(var(--size) * 0.125); --size: calc(var(--size-selector, 0.25rem) * 6); width: calc( (var(--size) * 2) - (var(--border) + var(--toggle-p)) * 2 ); height: var(--size); flex-shrink: 0; grid-template-columns: 0fr 1fr 1fr; place-content: center; transition: color 0.3s, grid-template-columns 0.2s; display: inline-grid; position: relative; } & > * { z-index: 1; cursor: pointer; appearance: none; background-color: #0000; border: none; grid-column: 2 / span 1; grid-row-start: 1; height: 100%; padding: 0.125rem; transition: opacity 0.2s, rotate 0.4s; &:focus { --tw-outline-style: none; outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } &:nth-child(2) { color: var(--color-base-100); rotate: none; } &: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: 1; rotate: none; } } &:before { aspect-ratio: 1; border-radius: var(--radius-selector); --tw-content: ""; content: var(--tw-content); height: 100%; 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-color: currentColor; background-size: auto, calc(var(--noise) * 100%); background-image: none, var(--fx-noise); grid-row-start: 1; grid-column-start: 2; transition: background-color 0.1s, translate 0.2s, inset-inline-start 0.2s; position: relative; inset-inline-start: 0; translate: 0; } @media (forced-colors: active) { &:before { outline-style: var(--tw-outline-style); outline-offset: calc(1px * -1); outline-width: 1px; } } @media print { &:before { outline-offset: -1rem; outline: 0.25rem solid; } } &:focus-visible, &:has(:focus-visible) { outline-offset: 2px; outline: 2px solid; } &:checked, &[aria-checked="true"], &:has(> input:checked) { background-color: var(--color-base-100); --input-color: var(--color-base-content); grid-template-columns: 1fr 1fr 0fr; &:before { background-color: currentColor; } @starting-style { &:before { opacity: 0; } } } &:indeterminate { grid-template-columns: 0.5fr 1fr 0.5fr; } &:disabled { cursor: not-allowed; opacity: 0.3; &:before { border: var(--border) solid currentColor; background-color: #0000; } } } } .xl\:toggle-primary { @layer daisyui.l1.l2 { &:checked, &[aria-checked="true"] { --input-color: var(--color-primary); } } } .xl\:toggle-secondary { @layer daisyui.l1.l2 { &:checked, &[aria-checked="true"] { --input-color: var(--color-secondary); } } } .xl\:toggle-accent { @layer daisyui.l1.l2 { &:checked, &[aria-checked="true"] { --input-color: var(--color-accent); } } } .xl\:toggle-neutral { @layer daisyui.l1.l2 { &:checked, &[aria-checked="true"] { --input-color: var(--color-neutral); } } } .xl\:toggle-success { @layer daisyui.l1.l2 { &:checked, &[aria-checked="true"] { --input-color: var(--color-success); } } } .xl\:toggle-warning { @layer daisyui.l1.l2 { &:checked, &[aria-checked="true"] { --input-color: var(--color-warning); } } } .xl\:toggle-info { @layer daisyui.l1.l2 { &:checked, &[aria-checked="true"] { --input-color: var(--color-info); } } } .xl\:toggle-error { @layer daisyui.l1.l2 { &:checked, &[aria-checked="true"] { --input-color: var(--color-error); } } } .xl\:toggle-xs { @layer daisyui.l1.l2 { &[type="checkbox"], &:has([type="checkbox"]) { --size: calc(var(--size-selector, 0.25rem) * 4); } } } .xl\:toggle-sm { @layer daisyui.l1.l2 { &[type="checkbox"], &:has([type="checkbox"]) { --size: calc(var(--size-selector, 0.25rem) * 5); } } } .xl\:toggle-md { @layer daisyui.l1.l2 { &[type="checkbox"], &:has([type="checkbox"]) { --size: calc(var(--size-selector, 0.25rem) * 6); } } } .xl\:toggle-lg { @layer daisyui.l1.l2 { &[type="checkbox"], &:has([type="checkbox"]) { --size: calc(var(--size-selector, 0.25rem) * 7); } } } .xl\:toggle-xl { @layer daisyui.l1.l2 { &[type="checkbox"], &:has([type="checkbox"]) { --size: calc(var(--size-selector, 0.25rem) * 8); } } } } @media (width>=1536px) { .\32 xl\:toggle { @layer daisyui.l1.l2.l3 { & { border: var(--border) solid currentColor; color: var(--input-color); cursor: pointer; appearance: none; vertical-align: middle; -webkit-user-select: none; user-select: none; --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; --input-color: color-mix( in oklab, var(--color-base-content) 50%, #0000 ); --toggle-p: calc(var(--size) * 0.125); --size: calc(var(--size-selector, 0.25rem) * 6); width: calc( (var(--size) * 2) - (var(--border) + var(--toggle-p)) * 2 ); height: var(--size); flex-shrink: 0; grid-template-columns: 0fr 1fr 1fr; place-content: center; transition: color 0.3s, grid-template-columns 0.2s; display: inline-grid; position: relative; } & > * { z-index: 1; cursor: pointer; appearance: none; background-color: #0000; border: none; grid-column: 2 / span 1; grid-row-start: 1; height: 100%; padding: 0.125rem; transition: opacity 0.2s, rotate 0.4s; &:focus { --tw-outline-style: none; outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } &:nth-child(2) { color: var(--color-base-100); rotate: none; } &: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: 1; rotate: none; } } &:before { aspect-ratio: 1; border-radius: var(--radius-selector); --tw-content: ""; content: var(--tw-content); height: 100%; 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-color: currentColor; background-size: auto, calc(var(--noise) * 100%); background-image: none, var(--fx-noise); grid-row-start: 1; grid-column-start: 2; transition: background-color 0.1s, translate 0.2s, inset-inline-start 0.2s; position: relative; inset-inline-start: 0; translate: 0; } @media (forced-colors: active) { &:before { outline-style: var(--tw-outline-style); outline-offset: calc(1px * -1); outline-width: 1px; } } @media print { &:before { outline-offset: -1rem; outline: 0.25rem solid; } } &:focus-visible, &:has(:focus-visible) { outline-offset: 2px; outline: 2px solid; } &:checked, &[aria-checked="true"], &:has(> input:checked) { background-color: var(--color-base-100); --input-color: var(--color-base-content); grid-template-columns: 1fr 1fr 0fr; &:before { background-color: currentColor; } @starting-style { &:before { opacity: 0; } } } &:indeterminate { grid-template-columns: 0.5fr 1fr 0.5fr; } &:disabled { cursor: not-allowed; opacity: 0.3; &:before { border: var(--border) solid currentColor; background-color: #0000; } } } } .\32 xl\:toggle-primary { @layer daisyui.l1.l2 { &:checked, &[aria-checked="true"] { --input-color: var(--color-primary); } } } .\32 xl\:toggle-secondary { @layer daisyui.l1.l2 { &:checked, &[aria-checked="true"] { --input-color: var(--color-secondary); } } } .\32 xl\:toggle-accent { @layer daisyui.l1.l2 { &:checked, &[aria-checked="true"] { --input-color: var(--color-accent); } } } .\32 xl\:toggle-neutral { @layer daisyui.l1.l2 { &:checked, &[aria-checked="true"] { --input-color: var(--color-neutral); } } } .\32 xl\:toggle-success { @layer daisyui.l1.l2 { &:checked, &[aria-checked="true"] { --input-color: var(--color-success); } } } .\32 xl\:toggle-warning { @layer daisyui.l1.l2 { &:checked, &[aria-checked="true"] { --input-color: var(--color-warning); } } } .\32 xl\:toggle-info { @layer daisyui.l1.l2 { &:checked, &[aria-checked="true"] { --input-color: var(--color-info); } } } .\32 xl\:toggle-error { @layer daisyui.l1.l2 { &:checked, &[aria-checked="true"] { --input-color: var(--color-error); } } } .\32 xl\:toggle-xs { @layer daisyui.l1.l2 { &[type="checkbox"], &:has([type="checkbox"]) { --size: calc(var(--size-selector, 0.25rem) * 4); } } } .\32 xl\:toggle-sm { @layer daisyui.l1.l2 { &[type="checkbox"], &:has([type="checkbox"]) { --size: calc(var(--size-selector, 0.25rem) * 5); } } } .\32 xl\:toggle-md { @layer daisyui.l1.l2 { &[type="checkbox"], &:has([type="checkbox"]) { --size: calc(var(--size-selector, 0.25rem) * 6); } } } .\32 xl\:toggle-lg { @layer daisyui.l1.l2 { &[type="checkbox"], &:has([type="checkbox"]) { --size: calc(var(--size-selector, 0.25rem) * 7); } } } .\32 xl\:toggle-xl { @layer daisyui.l1.l2 { &[type="checkbox"], &:has([type="checkbox"]) { --size: calc(var(--size-selector, 0.25rem) * 8); } } } } .range { @layer daisyui.l1.l2.l3 { & { -webkit-appearance: none; 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; vertical-align: middle; --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)) ); width: clamp(3rem, 20rem, 100%); height: var(--range-thumb-size); background-color: #0000; border: none; overflow: hidden; } [dir="rtl"] & { --range-dir: -1; } &:focus { outline: none; } &:focus-visible { outline-offset: 2px; outline: 2px solid; } &::-webkit-slider-runnable-track { background-color: var(--range-bg); border-radius: var(--radius-selector); width: 100%; height: calc(var(--range-thumb-size) * 0.5); } @media (forced-colors: active) { &::-webkit-slider-runnable-track { border: 1px solid; } } &::-webkit-slider-thumb { box-sizing: border-box; border-radius: calc( var(--radius-selector) + min(var(--range-p), var(--radius-selector-max)) ); background-color: var(--range-thumb); height: var(--range-thumb-size); width: var(--range-thumb-size); border: var(--range-p) solid; -webkit-appearance: none; appearance: none; 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)); position: relative; top: 50%; transform: translateY(-50%); } &::-moz-range-track { background-color: var(--range-bg); border-radius: var(--radius-selector); width: 100%; height: calc(var(--range-thumb-size) * 0.5); } @media (forced-colors: active) { &::-moz-range-track { border: 1px solid; } } &::-moz-range-thumb { box-sizing: border-box; border-radius: calc( var(--radius-selector) + min(var(--range-p), var(--radius-selector-max)) ); height: var(--range-thumb-size); width: var(--range-thumb-size); border: var(--range-p) solid; 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)); background-color: currentColor; position: relative; top: 50%; } &:disabled { cursor: not-allowed; opacity: 0.3; } } } .range-primary { @layer daisyui.l1.l2 { & { color: var(--color-primary); --range-thumb: var(--color-primary-content); } } } .range-secondary { @layer daisyui.l1.l2 { & { color: var(--color-secondary); --range-thumb: var(--color-secondary-content); } } } .range-accent { @layer daisyui.l1.l2 { & { color: var(--color-accent); --range-thumb: var(--color-accent-content); } } } .range-neutral { @layer daisyui.l1.l2 { & { color: var(--color-neutral); --range-thumb: var(--color-neutral-content); } } } .range-success { @layer daisyui.l1.l2 { & { color: var(--color-success); --range-thumb: var(--color-success-content); } } } .range-warning { @layer daisyui.l1.l2 { & { color: var(--color-warning); --range-thumb: var(--color-warning-content); } } } .range-info { @layer daisyui.l1.l2 { & { color: var(--color-info); --range-thumb: var(--color-info-content); } } } .range-error { @layer daisyui.l1.l2 { & { color: var(--color-error); --range-thumb: var(--color-error-content); } } } .range-xs { @layer daisyui.l1.l2 { & { --range-thumb-size: calc(var(--size-selector, 0.25rem) * 4); } } } .range-sm { @layer daisyui.l1.l2 { & { --range-thumb-size: calc(var(--size-selector, 0.25rem) * 5); } } } .range-md { @layer daisyui.l1.l2 { & { --range-thumb-size: calc(var(--size-selector, 0.25rem) * 6); } } } .range-lg { @layer daisyui.l1.l2 { & { --range-thumb-size: calc(var(--size-selector, 0.25rem) * 7); } } } .range-xl { @layer daisyui.l1.l2 { & { --range-thumb-size: calc(var(--size-selector, 0.25rem) * 8); } } } @media (width>=640px) { .sm\:range { @layer daisyui.l1.l2.l3 { & { -webkit-appearance: none; 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; vertical-align: middle; --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)) ); width: clamp(3rem, 20rem, 100%); height: var(--range-thumb-size); background-color: #0000; border: none; overflow: hidden; } [dir="rtl"] & { --range-dir: -1; } &:focus { outline: none; } &:focus-visible { outline-offset: 2px; outline: 2px solid; } &::-webkit-slider-runnable-track { background-color: var(--range-bg); border-radius: var(--radius-selector); width: 100%; height: calc(var(--range-thumb-size) * 0.5); } @media (forced-colors: active) { &::-webkit-slider-runnable-track { border: 1px solid; } } &::-webkit-slider-thumb { box-sizing: border-box; border-radius: calc( var(--radius-selector) + min(var(--range-p), var(--radius-selector-max)) ); background-color: var(--range-thumb); height: var(--range-thumb-size); width: var(--range-thumb-size); border: var(--range-p) solid; -webkit-appearance: none; appearance: none; 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)); position: relative; top: 50%; transform: translateY(-50%); } &::-moz-range-track { background-color: var(--range-bg); border-radius: var(--radius-selector); width: 100%; height: calc(var(--range-thumb-size) * 0.5); } @media (forced-colors: active) { &::-moz-range-track { border: 1px solid; } } &::-moz-range-thumb { box-sizing: border-box; border-radius: calc( var(--radius-selector) + min(var(--range-p), var(--radius-selector-max)) ); height: var(--range-thumb-size); width: var(--range-thumb-size); border: var(--range-p) solid; 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)); background-color: currentColor; position: relative; top: 50%; } &:disabled { cursor: not-allowed; opacity: 0.3; } } } .sm\:range-primary { @layer daisyui.l1.l2 { & { color: var(--color-primary); --range-thumb: var(--color-primary-content); } } } .sm\:range-secondary { @layer daisyui.l1.l2 { & { color: var(--color-secondary); --range-thumb: var(--color-secondary-content); } } } .sm\:range-accent { @layer daisyui.l1.l2 { & { color: var(--color-accent); --range-thumb: var(--color-accent-content); } } } .sm\:range-neutral { @layer daisyui.l1.l2 { & { color: var(--color-neutral); --range-thumb: var(--color-neutral-content); } } } .sm\:range-success { @layer daisyui.l1.l2 { & { color: var(--color-success); --range-thumb: var(--color-success-content); } } } .sm\:range-warning { @layer daisyui.l1.l2 { & { color: var(--color-warning); --range-thumb: var(--color-warning-content); } } } .sm\:range-info { @layer daisyui.l1.l2 { & { color: var(--color-info); --range-thumb: var(--color-info-content); } } } .sm\:range-error { @layer daisyui.l1.l2 { & { color: var(--color-error); --range-thumb: var(--color-error-content); } } } .sm\:range-xs { @layer daisyui.l1.l2 { & { --range-thumb-size: calc(var(--size-selector, 0.25rem) * 4); } } } .sm\:range-sm { @layer daisyui.l1.l2 { & { --range-thumb-size: calc(var(--size-selector, 0.25rem) * 5); } } } .sm\:range-md { @layer daisyui.l1.l2 { & { --range-thumb-size: calc(var(--size-selector, 0.25rem) * 6); } } } .sm\:range-lg { @layer daisyui.l1.l2 { & { --range-thumb-size: calc(var(--size-selector, 0.25rem) * 7); } } } .sm\:range-xl { @layer daisyui.l1.l2 { & { --range-thumb-size: calc(var(--size-selector, 0.25rem) * 8); } } } } @media (width>=768px) { .md\:range { @layer daisyui.l1.l2.l3 { & { -webkit-appearance: none; 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; vertical-align: middle; --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)) ); width: clamp(3rem, 20rem, 100%); height: var(--range-thumb-size); background-color: #0000; border: none; overflow: hidden; } [dir="rtl"] & { --range-dir: -1; } &:focus { outline: none; } &:focus-visible { outline-offset: 2px; outline: 2px solid; } &::-webkit-slider-runnable-track { background-color: var(--range-bg); border-radius: var(--radius-selector); width: 100%; height: calc(var(--range-thumb-size) * 0.5); } @media (forced-colors: active) { &::-webkit-slider-runnable-track { border: 1px solid; } } &::-webkit-slider-thumb { box-sizing: border-box; border-radius: calc( var(--radius-selector) + min(var(--range-p), var(--radius-selector-max)) ); background-color: var(--range-thumb); height: var(--range-thumb-size); width: var(--range-thumb-size); border: var(--range-p) solid; -webkit-appearance: none; appearance: none; 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)); position: relative; top: 50%; transform: translateY(-50%); } &::-moz-range-track { background-color: var(--range-bg); border-radius: var(--radius-selector); width: 100%; height: calc(var(--range-thumb-size) * 0.5); } @media (forced-colors: active) { &::-moz-range-track { border: 1px solid; } } &::-moz-range-thumb { box-sizing: border-box; border-radius: calc( var(--radius-selector) + min(var(--range-p), var(--radius-selector-max)) ); height: var(--range-thumb-size); width: var(--range-thumb-size); border: var(--range-p) solid; 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)); background-color: currentColor; position: relative; top: 50%; } &:disabled { cursor: not-allowed; opacity: 0.3; } } } .md\:range-primary { @layer daisyui.l1.l2 { & { color: var(--color-primary); --range-thumb: var(--color-primary-content); } } } .md\:range-secondary { @layer daisyui.l1.l2 { & { color: var(--color-secondary); --range-thumb: var(--color-secondary-content); } } } .md\:range-accent { @layer daisyui.l1.l2 { & { color: var(--color-accent); --range-thumb: var(--color-accent-content); } } } .md\:range-neutral { @layer daisyui.l1.l2 { & { color: var(--color-neutral); --range-thumb: var(--color-neutral-content); } } } .md\:range-success { @layer daisyui.l1.l2 { & { color: var(--color-success); --range-thumb: var(--color-success-content); } } } .md\:range-warning { @layer daisyui.l1.l2 { & { color: var(--color-warning); --range-thumb: var(--color-warning-content); } } } .md\:range-info { @layer daisyui.l1.l2 { & { color: var(--color-info); --range-thumb: var(--color-info-content); } } } .md\:range-error { @layer daisyui.l1.l2 { & { color: var(--color-error); --range-thumb: var(--color-error-content); } } } .md\:range-xs { @layer daisyui.l1.l2 { & { --range-thumb-size: calc(var(--size-selector, 0.25rem) * 4); } } } .md\:range-sm { @layer daisyui.l1.l2 { & { --range-thumb-size: calc(var(--size-selector, 0.25rem) * 5); } } } .md\:range-md { @layer daisyui.l1.l2 { & { --range-thumb-size: calc(var(--size-selector, 0.25rem) * 6); } } } .md\:range-lg { @layer daisyui.l1.l2 { & { --range-thumb-size: calc(var(--size-selector, 0.25rem) * 7); } } } .md\:range-xl { @layer daisyui.l1.l2 { & { --range-thumb-size: calc(var(--size-selector, 0.25rem) * 8); } } } } @media (width>=1024px) { .lg\:range { @layer daisyui.l1.l2.l3 { & { -webkit-appearance: none; 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; vertical-align: middle; --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)) ); width: clamp(3rem, 20rem, 100%); height: var(--range-thumb-size); background-color: #0000; border: none; overflow: hidden; } [dir="rtl"] & { --range-dir: -1; } &:focus { outline: none; } &:focus-visible { outline-offset: 2px; outline: 2px solid; } &::-webkit-slider-runnable-track { background-color: var(--range-bg); border-radius: var(--radius-selector); width: 100%; height: calc(var(--range-thumb-size) * 0.5); } @media (forced-colors: active) { &::-webkit-slider-runnable-track { border: 1px solid; } } &::-webkit-slider-thumb { box-sizing: border-box; border-radius: calc( var(--radius-selector) + min(var(--range-p), var(--radius-selector-max)) ); background-color: var(--range-thumb); height: var(--range-thumb-size); width: var(--range-thumb-size); border: var(--range-p) solid; -webkit-appearance: none; appearance: none; 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)); position: relative; top: 50%; transform: translateY(-50%); } &::-moz-range-track { background-color: var(--range-bg); border-radius: var(--radius-selector); width: 100%; height: calc(var(--range-thumb-size) * 0.5); } @media (forced-colors: active) { &::-moz-range-track { border: 1px solid; } } &::-moz-range-thumb { box-sizing: border-box; border-radius: calc( var(--radius-selector) + min(var(--range-p), var(--radius-selector-max)) ); height: var(--range-thumb-size); width: var(--range-thumb-size); border: var(--range-p) solid; 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)); background-color: currentColor; position: relative; top: 50%; } &:disabled { cursor: not-allowed; opacity: 0.3; } } } .lg\:range-primary { @layer daisyui.l1.l2 { & { color: var(--color-primary); --range-thumb: var(--color-primary-content); } } } .lg\:range-secondary { @layer daisyui.l1.l2 { & { color: var(--color-secondary); --range-thumb: var(--color-secondary-content); } } } .lg\:range-accent { @layer daisyui.l1.l2 { & { color: var(--color-accent); --range-thumb: var(--color-accent-content); } } } .lg\:range-neutral { @layer daisyui.l1.l2 { & { color: var(--color-neutral); --range-thumb: var(--color-neutral-content); } } } .lg\:range-success { @layer daisyui.l1.l2 { & { color: var(--color-success); --range-thumb: var(--color-success-content); } } } .lg\:range-warning { @layer daisyui.l1.l2 { & { color: var(--color-warning); --range-thumb: var(--color-warning-content); } } } .lg\:range-info { @layer daisyui.l1.l2 { & { color: var(--color-info); --range-thumb: var(--color-info-content); } } } .lg\:range-error { @layer daisyui.l1.l2 { & { color: var(--color-error); --range-thumb: var(--color-error-content); } } } .lg\:range-xs { @layer daisyui.l1.l2 { & { --range-thumb-size: calc(var(--size-selector, 0.25rem) * 4); } } } .lg\:range-sm { @layer daisyui.l1.l2 { & { --range-thumb-size: calc(var(--size-selector, 0.25rem) * 5); } } } .lg\:range-md { @layer daisyui.l1.l2 { & { --range-thumb-size: calc(var(--size-selector, 0.25rem) * 6); } } } .lg\:range-lg { @layer daisyui.l1.l2 { & { --range-thumb-size: calc(var(--size-selector, 0.25rem) * 7); } } } .lg\:range-xl { @layer daisyui.l1.l2 { & { --range-thumb-size: calc(var(--size-selector, 0.25rem) * 8); } } } } @media (width>=1280px) { .xl\:range { @layer daisyui.l1.l2.l3 { & { -webkit-appearance: none; 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; vertical-align: middle; --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)) ); width: clamp(3rem, 20rem, 100%); height: var(--range-thumb-size); background-color: #0000; border: none; overflow: hidden; } [dir="rtl"] & { --range-dir: -1; } &:focus { outline: none; } &:focus-visible { outline-offset: 2px; outline: 2px solid; } &::-webkit-slider-runnable-track { background-color: var(--range-bg); border-radius: var(--radius-selector); width: 100%; height: calc(var(--range-thumb-size) * 0.5); } @media (forced-colors: active) { &::-webkit-slider-runnable-track { border: 1px solid; } } &::-webkit-slider-thumb { box-sizing: border-box; border-radius: calc( var(--radius-selector) + min(var(--range-p), var(--radius-selector-max)) ); background-color: var(--range-thumb); height: var(--range-thumb-size); width: var(--range-thumb-size); border: var(--range-p) solid; -webkit-appearance: none; appearance: none; 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)); position: relative; top: 50%; transform: translateY(-50%); } &::-moz-range-track { background-color: var(--range-bg); border-radius: var(--radius-selector); width: 100%; height: calc(var(--range-thumb-size) * 0.5); } @media (forced-colors: active) { &::-moz-range-track { border: 1px solid; } } &::-moz-range-thumb { box-sizing: border-box; border-radius: calc( var(--radius-selector) + min(var(--range-p), var(--radius-selector-max)) ); height: var(--range-thumb-size); width: var(--range-thumb-size); border: var(--range-p) solid; 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)); background-color: currentColor; position: relative; top: 50%; } &:disabled { cursor: not-allowed; opacity: 0.3; } } } .xl\:range-primary { @layer daisyui.l1.l2 { & { color: var(--color-primary); --range-thumb: var(--color-primary-content); } } } .xl\:range-secondary { @layer daisyui.l1.l2 { & { color: var(--color-secondary); --range-thumb: var(--color-secondary-content); } } } .xl\:range-accent { @layer daisyui.l1.l2 { & { color: var(--color-accent); --range-thumb: var(--color-accent-content); } } } .xl\:range-neutral { @layer daisyui.l1.l2 { & { color: var(--color-neutral); --range-thumb: var(--color-neutral-content); } } } .xl\:range-success { @layer daisyui.l1.l2 { & { color: var(--color-success); --range-thumb: var(--color-success-content); } } } .xl\:range-warning { @layer daisyui.l1.l2 { & { color: var(--color-warning); --range-thumb: var(--color-warning-content); } } } .xl\:range-info { @layer daisyui.l1.l2 { & { color: var(--color-info); --range-thumb: var(--color-info-content); } } } .xl\:range-error { @layer daisyui.l1.l2 { & { color: var(--color-error); --range-thumb: var(--color-error-content); } } } .xl\:range-xs { @layer daisyui.l1.l2 { & { --range-thumb-size: calc(var(--size-selector, 0.25rem) * 4); } } } .xl\:range-sm { @layer daisyui.l1.l2 { & { --range-thumb-size: calc(var(--size-selector, 0.25rem) * 5); } } } .xl\:range-md { @layer daisyui.l1.l2 { & { --range-thumb-size: calc(var(--size-selector, 0.25rem) * 6); } } } .xl\:range-lg { @layer daisyui.l1.l2 { & { --range-thumb-size: calc(var(--size-selector, 0.25rem) * 7); } } } .xl\:range-xl { @layer daisyui.l1.l2 { & { --range-thumb-size: calc(var(--size-selector, 0.25rem) * 8); } } } } @media (width>=1536px) { .\32 xl\:range { @layer daisyui.l1.l2.l3 { & { -webkit-appearance: none; 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; vertical-align: middle; --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)) ); width: clamp(3rem, 20rem, 100%); height: var(--range-thumb-size); background-color: #0000; border: none; overflow: hidden; } [dir="rtl"] & { --range-dir: -1; } &:focus { outline: none; } &:focus-visible { outline-offset: 2px; outline: 2px solid; } &::-webkit-slider-runnable-track { background-color: var(--range-bg); border-radius: var(--radius-selector); width: 100%; height: calc(var(--range-thumb-size) * 0.5); } @media (forced-colors: active) { &::-webkit-slider-runnable-track { border: 1px solid; } } &::-webkit-slider-thumb { box-sizing: border-box; border-radius: calc( var(--radius-selector) + min(var(--range-p), var(--radius-selector-max)) ); background-color: var(--range-thumb); height: var(--range-thumb-size); width: var(--range-thumb-size); border: var(--range-p) solid; -webkit-appearance: none; appearance: none; 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)); position: relative; top: 50%; transform: translateY(-50%); } &::-moz-range-track { background-color: var(--range-bg); border-radius: var(--radius-selector); width: 100%; height: calc(var(--range-thumb-size) * 0.5); } @media (forced-colors: active) { &::-moz-range-track { border: 1px solid; } } &::-moz-range-thumb { box-sizing: border-box; border-radius: calc( var(--radius-selector) + min(var(--range-p), var(--radius-selector-max)) ); height: var(--range-thumb-size); width: var(--range-thumb-size); border: var(--range-p) solid; 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)); background-color: currentColor; position: relative; top: 50%; } &:disabled { cursor: not-allowed; opacity: 0.3; } } } .\32 xl\:range-primary { @layer daisyui.l1.l2 { & { color: var(--color-primary); --range-thumb: var(--color-primary-content); } } } .\32 xl\:range-secondary { @layer daisyui.l1.l2 { & { color: var(--color-secondary); --range-thumb: var(--color-secondary-content); } } } .\32 xl\:range-accent { @layer daisyui.l1.l2 { & { color: var(--color-accent); --range-thumb: var(--color-accent-content); } } } .\32 xl\:range-neutral { @layer daisyui.l1.l2 { & { color: var(--color-neutral); --range-thumb: var(--color-neutral-content); } } } .\32 xl\:range-success { @layer daisyui.l1.l2 { & { color: var(--color-success); --range-thumb: var(--color-success-content); } } } .\32 xl\:range-warning { @layer daisyui.l1.l2 { & { color: var(--color-warning); --range-thumb: var(--color-warning-content); } } } .\32 xl\:range-info { @layer daisyui.l1.l2 { & { color: var(--color-info); --range-thumb: var(--color-info-content); } } } .\32 xl\:range-error { @layer daisyui.l1.l2 { & { color: var(--color-error); --range-thumb: var(--color-error-content); } } } .\32 xl\:range-xs { @layer daisyui.l1.l2 { & { --range-thumb-size: calc(var(--size-selector, 0.25rem) * 4); } } } .\32 xl\:range-sm { @layer daisyui.l1.l2 { & { --range-thumb-size: calc(var(--size-selector, 0.25rem) * 5); } } } .\32 xl\:range-md { @layer daisyui.l1.l2 { & { --range-thumb-size: calc(var(--size-selector, 0.25rem) * 6); } } } .\32 xl\:range-lg { @layer daisyui.l1.l2 { & { --range-thumb-size: calc(var(--size-selector, 0.25rem) * 7); } } } .\32 xl\:range-xl { @layer daisyui.l1.l2 { & { --range-thumb-size: calc(var(--size-selector, 0.25rem) * 8); } } } } .validator { @layer daisyui.l1.l2.l3 { &:user-valid, &:has(:user-valid) { &, &:focus, &:checked, &[aria-checked="true"], &:focus-within { --input-color: var(--color-success); } } &:user-invalid, &:has(:user-invalid), &[aria-invalid]:not([aria-invalid="false"]), &:has([aria-invalid]:not([aria-invalid="false"])) { &, &:focus, &:checked, &[aria-checked="true"], &:focus-within { --input-color: var(--color-error); } & ~ .validator-hint { visibility: visible; color: var(--color-error); } } } } .validator-hint { @layer daisyui.l1.l2.l3 { & { visibility: hidden; margin-top: 0.5rem; font-size: 0.75rem; } } } .validator { &:user-invalid, &:has(:user-invalid), &[aria-invalid]:not([aria-invalid="false"]), &:has([aria-invalid]:not([aria-invalid="false"])) { & ~ .validator-hint { display: revert-layer; } } } .fieldset { @layer daisyui.l1.l2.l3 { & { grid-template-columns: 1fr; grid-auto-rows: max-content; gap: 0.375rem; padding-block: 0.25rem; font-size: 0.75rem; display: grid; } } } .fieldset-legend { @layer daisyui.l1.l2.l3 { & { color: var(--color-base-content); justify-content: space-between; align-items: center; gap: 0.5rem; margin-bottom: -0.25rem; padding-block: 0.5rem; font-weight: 600; display: flex; } } } .fieldset-label { @layer daisyui.l1.l2.l3 { & { color: color-mix(in oklab, var(--color-base-content) 60%, transparent); align-items: center; gap: 0.375rem; display: flex; } &:has(input) { cursor: pointer; } } } @media (width>=640px) { .sm\:fieldset { @layer daisyui.l1.l2.l3 { & { grid-template-columns: 1fr; grid-auto-rows: max-content; gap: 0.375rem; padding-block: 0.25rem; font-size: 0.75rem; display: grid; } } } .sm\:fieldset-legend { @layer daisyui.l1.l2.l3 { & { color: var(--color-base-content); justify-content: space-between; align-items: center; gap: 0.5rem; margin-bottom: -0.25rem; padding-block: 0.5rem; font-weight: 600; display: flex; } } } .sm\:fieldset-label { @layer daisyui.l1.l2.l3 { & { color: color-mix( in oklab, var(--color-base-content) 60%, transparent ); align-items: center; gap: 0.375rem; display: flex; } &:has(input) { cursor: pointer; } } } } @media (width>=768px) { .md\:fieldset { @layer daisyui.l1.l2.l3 { & { grid-template-columns: 1fr; grid-auto-rows: max-content; gap: 0.375rem; padding-block: 0.25rem; font-size: 0.75rem; display: grid; } } } .md\:fieldset-legend { @layer daisyui.l1.l2.l3 { & { color: var(--color-base-content); justify-content: space-between; align-items: center; gap: 0.5rem; margin-bottom: -0.25rem; padding-block: 0.5rem; font-weight: 600; display: flex; } } } .md\:fieldset-label { @layer daisyui.l1.l2.l3 { & { color: color-mix( in oklab, var(--color-base-content) 60%, transparent ); align-items: center; gap: 0.375rem; display: flex; } &:has(input) { cursor: pointer; } } } } @media (width>=1024px) { .lg\:fieldset { @layer daisyui.l1.l2.l3 { & { grid-template-columns: 1fr; grid-auto-rows: max-content; gap: 0.375rem; padding-block: 0.25rem; font-size: 0.75rem; display: grid; } } } .lg\:fieldset-legend { @layer daisyui.l1.l2.l3 { & { color: var(--color-base-content); justify-content: space-between; align-items: center; gap: 0.5rem; margin-bottom: -0.25rem; padding-block: 0.5rem; font-weight: 600; display: flex; } } } .lg\:fieldset-label { @layer daisyui.l1.l2.l3 { & { color: color-mix( in oklab, var(--color-base-content) 60%, transparent ); align-items: center; gap: 0.375rem; display: flex; } &:has(input) { cursor: pointer; } } } } @media (width>=1280px) { .xl\:fieldset { @layer daisyui.l1.l2.l3 { & { grid-template-columns: 1fr; grid-auto-rows: max-content; gap: 0.375rem; padding-block: 0.25rem; font-size: 0.75rem; display: grid; } } } .xl\:fieldset-legend { @layer daisyui.l1.l2.l3 { & { color: var(--color-base-content); justify-content: space-between; align-items: center; gap: 0.5rem; margin-bottom: -0.25rem; padding-block: 0.5rem; font-weight: 600; display: flex; } } } .xl\:fieldset-label { @layer daisyui.l1.l2.l3 { & { color: color-mix( in oklab, var(--color-base-content) 60%, transparent ); align-items: center; gap: 0.375rem; display: flex; } &:has(input) { cursor: pointer; } } } } @media (width>=1536px) { .\32 xl\:fieldset { @layer daisyui.l1.l2.l3 { & { grid-template-columns: 1fr; grid-auto-rows: max-content; gap: 0.375rem; padding-block: 0.25rem; font-size: 0.75rem; display: grid; } } } .\32 xl\:fieldset-legend { @layer daisyui.l1.l2.l3 { & { color: var(--color-base-content); justify-content: space-between; align-items: center; gap: 0.5rem; margin-bottom: -0.25rem; padding-block: 0.5rem; font-weight: 600; display: flex; } } } .\32 xl\:fieldset-label { @layer daisyui.l1.l2.l3 { & { color: color-mix( in oklab, var(--color-base-content) 60%, transparent ); align-items: center; gap: 0.375rem; display: flex; } &:has(input) { cursor: pointer; } } } } .label { @layer daisyui.l1.l2.l3 { & { white-space: nowrap; color: color-mix(in oklab, currentcolor 60%, transparent); align-items: center; gap: 0.375rem; display: inline-flex; } &:has(input) { cursor: pointer; } &:is(.input > *, .select > *) { white-space: nowrap; height: calc(100% - 0.5rem); font-size: inherit; align-items: center; padding-inline: 0.75rem; display: flex; &:first-child { border-inline-end: var(--border) solid color-mix(in oklab, currentColor 10%, #0000); margin-inline: -0.75rem 0.75rem; } &:last-child { border-inline-start: var(--border) solid color-mix(in oklab, currentColor 10%, #0000); margin-inline: 0.75rem -0.75rem; } } } } .floating-label { @layer daisyui.l1.l2.l3 { & { display: block; position: relative; } & input { display: block; &::placeholder { transition: top 0.1s ease-out, translate 0.1s ease-out, scale 0.1s ease-out, opacity 0.1s ease-out; } } & textarea { &::placeholder { transition: top 0.1s ease-out, translate 0.1s ease-out, scale 0.1s ease-out, opacity 0.1s ease-out; } } & > span { z-index: 1; background-color: var(--color-base-100); opacity: 0; inset-inline-start: 0.75rem; top: calc(var(--size-field, 0.25rem) * 10 / 2); pointer-events: none; border-radius: 2px; padding-inline: 0.25rem; font-size: 0.875rem; line-height: 1; transition: top 0.1s ease-out, translate 0.1s ease-out, scale 0.1s ease-out, opacity 0.1s ease-out; position: absolute; translate: 0 -50%; } &:focus-within, &:not(:has(input:placeholder-shown, textarea:placeholder-shown)) { & ::placeholder { opacity: 0; pointer-events: auto; top: 0; translate: -12.5% calc(-50% - 0.125em); scale: 0.75; } & > span { opacity: 1; pointer-events: auto; z-index: 2; top: 0; translate: -12.5% calc(-50% - 0.125em); scale: 0.75; } } &:has(:disabled, [disabled]) { & > span { opacity: 0; } } &:has(.input-xs, .select-xs, .textarea-xs) span { top: calc(var(--size-field, 0.25rem) * 6 / 2); font-size: 0.6875rem; } &:has(.input-sm, .select-sm, .textarea-sm) span { top: calc(var(--size-field, 0.25rem) * 8 / 2); font-size: 0.75rem; } &:has(.input-md, .select-md, .textarea-md) span { top: calc(var(--size-field, 0.25rem) * 10 / 2); font-size: 0.875rem; } &:has(.input-lg, .select-lg, .textarea-lg) span { top: calc(var(--size-field, 0.25rem) * 12 / 2); font-size: 1.125rem; } &:has(.input-xl, .select-xl, .textarea-xl) span { top: calc(var(--size-field, 0.25rem) * 14 / 2); font-size: 1.375rem; } } } @media (width>=640px) { .sm\:label { @layer daisyui.l1.l2.l3 { & { white-space: nowrap; color: color-mix(in oklab, currentcolor 60%, transparent); align-items: center; gap: 0.375rem; display: inline-flex; } &:has(input) { cursor: pointer; } &:is(.input > *, .select > *) { white-space: nowrap; height: calc(100% - 0.5rem); font-size: inherit; align-items: center; padding-inline: 0.75rem; display: flex; &:first-child { border-inline-end: var(--border) solid color-mix(in oklab, currentColor 10%, #0000); margin-inline: -0.75rem 0.75rem; } &:last-child { border-inline-start: var(--border) solid color-mix(in oklab, currentColor 10%, #0000); margin-inline: 0.75rem -0.75rem; } } } } .sm\:floating-label { @layer daisyui.l1.l2.l3 { & { display: block; position: relative; } & input { display: block; &::placeholder { transition: top 0.1s ease-out, translate 0.1s ease-out, scale 0.1s ease-out, opacity 0.1s ease-out; } } & textarea { &::placeholder { transition: top 0.1s ease-out, translate 0.1s ease-out, scale 0.1s ease-out, opacity 0.1s ease-out; } } & > span { z-index: 1; background-color: var(--color-base-100); opacity: 0; inset-inline-start: 0.75rem; top: calc(var(--size-field, 0.25rem) * 10 / 2); pointer-events: none; border-radius: 2px; padding-inline: 0.25rem; font-size: 0.875rem; line-height: 1; transition: top 0.1s ease-out, translate 0.1s ease-out, scale 0.1s ease-out, opacity 0.1s ease-out; position: absolute; translate: 0 -50%; } &:focus-within, &:not(:has(input:placeholder-shown, textarea:placeholder-shown)) { & ::placeholder { opacity: 0; pointer-events: auto; top: 0; translate: -12.5% calc(-50% - 0.125em); scale: 0.75; } & > span { opacity: 1; pointer-events: auto; z-index: 2; top: 0; translate: -12.5% calc(-50% - 0.125em); scale: 0.75; } } &:has(:disabled, [disabled]) { & > span { opacity: 0; } } &:has(.input-xs, .select-xs, .textarea-xs) span { top: calc(var(--size-field, 0.25rem) * 6 / 2); font-size: 0.6875rem; } &:has(.input-sm, .select-sm, .textarea-sm) span { top: calc(var(--size-field, 0.25rem) * 8 / 2); font-size: 0.75rem; } &:has(.input-md, .select-md, .textarea-md) span { top: calc(var(--size-field, 0.25rem) * 10 / 2); font-size: 0.875rem; } &:has(.input-lg, .select-lg, .textarea-lg) span { top: calc(var(--size-field, 0.25rem) * 12 / 2); font-size: 1.125rem; } &:has(.input-xl, .select-xl, .textarea-xl) span { top: calc(var(--size-field, 0.25rem) * 14 / 2); font-size: 1.375rem; } } } } @media (width>=768px) { .md\:label { @layer daisyui.l1.l2.l3 { & { white-space: nowrap; color: color-mix(in oklab, currentcolor 60%, transparent); align-items: center; gap: 0.375rem; display: inline-flex; } &:has(input) { cursor: pointer; } &:is(.input > *, .select > *) { white-space: nowrap; height: calc(100% - 0.5rem); font-size: inherit; align-items: center; padding-inline: 0.75rem; display: flex; &:first-child { border-inline-end: var(--border) solid color-mix(in oklab, currentColor 10%, #0000); margin-inline: -0.75rem 0.75rem; } &:last-child { border-inline-start: var(--border) solid color-mix(in oklab, currentColor 10%, #0000); margin-inline: 0.75rem -0.75rem; } } } } .md\:floating-label { @layer daisyui.l1.l2.l3 { & { display: block; position: relative; } & input { display: block; &::placeholder { transition: top 0.1s ease-out, translate 0.1s ease-out, scale 0.1s ease-out, opacity 0.1s ease-out; } } & textarea { &::placeholder { transition: top 0.1s ease-out, translate 0.1s ease-out, scale 0.1s ease-out, opacity 0.1s ease-out; } } & > span { z-index: 1; background-color: var(--color-base-100); opacity: 0; inset-inline-start: 0.75rem; top: calc(var(--size-field, 0.25rem) * 10 / 2); pointer-events: none; border-radius: 2px; padding-inline: 0.25rem; font-size: 0.875rem; line-height: 1; transition: top 0.1s ease-out, translate 0.1s ease-out, scale 0.1s ease-out, opacity 0.1s ease-out; position: absolute; translate: 0 -50%; } &:focus-within, &:not(:has(input:placeholder-shown, textarea:placeholder-shown)) { & ::placeholder { opacity: 0; pointer-events: auto; top: 0; translate: -12.5% calc(-50% - 0.125em); scale: 0.75; } & > span { opacity: 1; pointer-events: auto; z-index: 2; top: 0; translate: -12.5% calc(-50% - 0.125em); scale: 0.75; } } &:has(:disabled, [disabled]) { & > span { opacity: 0; } } &:has(.input-xs, .select-xs, .textarea-xs) span { top: calc(var(--size-field, 0.25rem) * 6 / 2); font-size: 0.6875rem; } &:has(.input-sm, .select-sm, .textarea-sm) span { top: calc(var(--size-field, 0.25rem) * 8 / 2); font-size: 0.75rem; } &:has(.input-md, .select-md, .textarea-md) span { top: calc(var(--size-field, 0.25rem) * 10 / 2); font-size: 0.875rem; } &:has(.input-lg, .select-lg, .textarea-lg) span { top: calc(var(--size-field, 0.25rem) * 12 / 2); font-size: 1.125rem; } &:has(.input-xl, .select-xl, .textarea-xl) span { top: calc(var(--size-field, 0.25rem) * 14 / 2); font-size: 1.375rem; } } } } @media (width>=1024px) { .lg\:label { @layer daisyui.l1.l2.l3 { & { white-space: nowrap; color: color-mix(in oklab, currentcolor 60%, transparent); align-items: center; gap: 0.375rem; display: inline-flex; } &:has(input) { cursor: pointer; } &:is(.input > *, .select > *) { white-space: nowrap; height: calc(100% - 0.5rem); font-size: inherit; align-items: center; padding-inline: 0.75rem; display: flex; &:first-child { border-inline-end: var(--border) solid color-mix(in oklab, currentColor 10%, #0000); margin-inline: -0.75rem 0.75rem; } &:last-child { border-inline-start: var(--border) solid color-mix(in oklab, currentColor 10%, #0000); margin-inline: 0.75rem -0.75rem; } } } } .lg\:floating-label { @layer daisyui.l1.l2.l3 { & { display: block; position: relative; } & input { display: block; &::placeholder { transition: top 0.1s ease-out, translate 0.1s ease-out, scale 0.1s ease-out, opacity 0.1s ease-out; } } & textarea { &::placeholder { transition: top 0.1s ease-out, translate 0.1s ease-out, scale 0.1s ease-out, opacity 0.1s ease-out; } } & > span { z-index: 1; background-color: var(--color-base-100); opacity: 0; inset-inline-start: 0.75rem; top: calc(var(--size-field, 0.25rem) * 10 / 2); pointer-events: none; border-radius: 2px; padding-inline: 0.25rem; font-size: 0.875rem; line-height: 1; transition: top 0.1s ease-out, translate 0.1s ease-out, scale 0.1s ease-out, opacity 0.1s ease-out; position: absolute; translate: 0 -50%; } &:focus-within, &:not(:has(input:placeholder-shown, textarea:placeholder-shown)) { & ::placeholder { opacity: 0; pointer-events: auto; top: 0; translate: -12.5% calc(-50% - 0.125em); scale: 0.75; } & > span { opacity: 1; pointer-events: auto; z-index: 2; top: 0; translate: -12.5% calc(-50% - 0.125em); scale: 0.75; } } &:has(:disabled, [disabled]) { & > span { opacity: 0; } } &:has(.input-xs, .select-xs, .textarea-xs) span { top: calc(var(--size-field, 0.25rem) * 6 / 2); font-size: 0.6875rem; } &:has(.input-sm, .select-sm, .textarea-sm) span { top: calc(var(--size-field, 0.25rem) * 8 / 2); font-size: 0.75rem; } &:has(.input-md, .select-md, .textarea-md) span { top: calc(var(--size-field, 0.25rem) * 10 / 2); font-size: 0.875rem; } &:has(.input-lg, .select-lg, .textarea-lg) span { top: calc(var(--size-field, 0.25rem) * 12 / 2); font-size: 1.125rem; } &:has(.input-xl, .select-xl, .textarea-xl) span { top: calc(var(--size-field, 0.25rem) * 14 / 2); font-size: 1.375rem; } } } } @media (width>=1280px) { .xl\:label { @layer daisyui.l1.l2.l3 { & { white-space: nowrap; color: color-mix(in oklab, currentcolor 60%, transparent); align-items: center; gap: 0.375rem; display: inline-flex; } &:has(input) { cursor: pointer; } &:is(.input > *, .select > *) { white-space: nowrap; height: calc(100% - 0.5rem); font-size: inherit; align-items: center; padding-inline: 0.75rem; display: flex; &:first-child { border-inline-end: var(--border) solid color-mix(in oklab, currentColor 10%, #0000); margin-inline: -0.75rem 0.75rem; } &:last-child { border-inline-start: var(--border) solid color-mix(in oklab, currentColor 10%, #0000); margin-inline: 0.75rem -0.75rem; } } } } .xl\:floating-label { @layer daisyui.l1.l2.l3 { & { display: block; position: relative; } & input { display: block; &::placeholder { transition: top 0.1s ease-out, translate 0.1s ease-out, scale 0.1s ease-out, opacity 0.1s ease-out; } } & textarea { &::placeholder { transition: top 0.1s ease-out, translate 0.1s ease-out, scale 0.1s ease-out, opacity 0.1s ease-out; } } & > span { z-index: 1; background-color: var(--color-base-100); opacity: 0; inset-inline-start: 0.75rem; top: calc(var(--size-field, 0.25rem) * 10 / 2); pointer-events: none; border-radius: 2px; padding-inline: 0.25rem; font-size: 0.875rem; line-height: 1; transition: top 0.1s ease-out, translate 0.1s ease-out, scale 0.1s ease-out, opacity 0.1s ease-out; position: absolute; translate: 0 -50%; } &:focus-within, &:not(:has(input:placeholder-shown, textarea:placeholder-shown)) { & ::placeholder { opacity: 0; pointer-events: auto; top: 0; translate: -12.5% calc(-50% - 0.125em); scale: 0.75; } & > span { opacity: 1; pointer-events: auto; z-index: 2; top: 0; translate: -12.5% calc(-50% - 0.125em); scale: 0.75; } } &:has(:disabled, [disabled]) { & > span { opacity: 0; } } &:has(.input-xs, .select-xs, .textarea-xs) span { top: calc(var(--size-field, 0.25rem) * 6 / 2); font-size: 0.6875rem; } &:has(.input-sm, .select-sm, .textarea-sm) span { top: calc(var(--size-field, 0.25rem) * 8 / 2); font-size: 0.75rem; } &:has(.input-md, .select-md, .textarea-md) span { top: calc(var(--size-field, 0.25rem) * 10 / 2); font-size: 0.875rem; } &:has(.input-lg, .select-lg, .textarea-lg) span { top: calc(var(--size-field, 0.25rem) * 12 / 2); font-size: 1.125rem; } &:has(.input-xl, .select-xl, .textarea-xl) span { top: calc(var(--size-field, 0.25rem) * 14 / 2); font-size: 1.375rem; } } } } @media (width>=1536px) { .\32 xl\:label { @layer daisyui.l1.l2.l3 { & { white-space: nowrap; color: color-mix(in oklab, currentcolor 60%, transparent); align-items: center; gap: 0.375rem; display: inline-flex; } &:has(input) { cursor: pointer; } &:is(.input > *, .select > *) { white-space: nowrap; height: calc(100% - 0.5rem); font-size: inherit; align-items: center; padding-inline: 0.75rem; display: flex; &:first-child { border-inline-end: var(--border) solid color-mix(in oklab, currentColor 10%, #0000); margin-inline: -0.75rem 0.75rem; } &:last-child { border-inline-start: var(--border) solid color-mix(in oklab, currentColor 10%, #0000); margin-inline: 0.75rem -0.75rem; } } } } .\32 xl\:floating-label { @layer daisyui.l1.l2.l3 { & { display: block; position: relative; } & input { display: block; &::placeholder { transition: top 0.1s ease-out, translate 0.1s ease-out, scale 0.1s ease-out, opacity 0.1s ease-out; } } & textarea { &::placeholder { transition: top 0.1s ease-out, translate 0.1s ease-out, scale 0.1s ease-out, opacity 0.1s ease-out; } } & > span { z-index: 1; background-color: var(--color-base-100); opacity: 0; inset-inline-start: 0.75rem; top: calc(var(--size-field, 0.25rem) * 10 / 2); pointer-events: none; border-radius: 2px; padding-inline: 0.25rem; font-size: 0.875rem; line-height: 1; transition: top 0.1s ease-out, translate 0.1s ease-out, scale 0.1s ease-out, opacity 0.1s ease-out; position: absolute; translate: 0 -50%; } &:focus-within, &:not(:has(input:placeholder-shown, textarea:placeholder-shown)) { & ::placeholder { opacity: 0; pointer-events: auto; top: 0; translate: -12.5% calc(-50% - 0.125em); scale: 0.75; } & > span { opacity: 1; pointer-events: auto; z-index: 2; top: 0; translate: -12.5% calc(-50% - 0.125em); scale: 0.75; } } &:has(:disabled, [disabled]) { & > span { opacity: 0; } } &:has(.input-xs, .select-xs, .textarea-xs) span { top: calc(var(--size-field, 0.25rem) * 6 / 2); font-size: 0.6875rem; } &:has(.input-sm, .select-sm, .textarea-sm) span { top: calc(var(--size-field, 0.25rem) * 8 / 2); font-size: 0.75rem; } &:has(.input-md, .select-md, .textarea-md) span { top: calc(var(--size-field, 0.25rem) * 10 / 2); font-size: 0.875rem; } &:has(.input-lg, .select-lg, .textarea-lg) span { top: calc(var(--size-field, 0.25rem) * 12 / 2); font-size: 1.125rem; } &:has(.input-xl, .select-xl, .textarea-xl) span { top: calc(var(--size-field, 0.25rem) * 14 / 2); font-size: 1.375rem; } } } } .skeleton { @layer daisyui.l1.l2.l3 { & { border-radius: var(--radius-box); background-color: var(--color-base-300); will-change: background-position; background-image: linear-gradient( 105deg, #0000 0% 40%, var(--color-base-100) 50%, #0000 60% 100% ); background-position-x: -50%; background-size: 200%; } @media (prefers-reduced-motion: reduce) { & { transition-duration: 15s; } } @media (prefers-reduced-motion: no-preference) { & { animation: 1.8s ease-in-out infinite skeleton; } } } } .skeleton-text { @layer daisyui.l1.l2 { & { color: #0000; -webkit-background-clip: text; background-clip: text; background-image: linear-gradient( 105deg, color-mix(in oklab, var(--color-base-content) 20%, transparent) 0% 40%, var(--color-base-content) 50%, color-mix(in oklab, var(--color-base-content) 20%, transparent) 60% 100% ); } } } @keyframes skeleton { 0% { background-position: 150%; } to { background-position: -50%; } } .hover-3d { @layer daisyui.l1.l2.l3 { & { perspective: 75rem; --transform: 0, 0; --shine: 100% 100%; --shadow: 0rem 0rem 0rem; --ease: linear( 0, 0.931 13.8%, 1.196 21.4%, 1.343 29.8%, 1.378 36%, 1.365 43.2%, 1.059 78%, 1 ); filter: drop-shadow(var(--shadow) 0.1rem #00000003) drop-shadow(var(--shadow) 0.2rem #00000003) drop-shadow(var(--shadow) 0.3rem #00000003) drop-shadow(var(--shadow) 0.4rem #00000003); transition: filter 0.4s ease-out; display: inline-grid; } & > :nth-child(n + 2) { isolation: isolate; z-index: 1; } & > :first-child { transform: rotate3d(var(--transform), 0, 10deg); transition: transform var(--ease) 0.5s, scale var(--ease) 0.5s, outline-color ease-out 0.5s; outline-offset: -1px; outline: 0.5px solid #0000; grid-area: 1/1/4/4; overflow: hidden; &:before { content: ""; pointer-events: none; z-index: 1; opacity: 0; filter: blur(0.75rem); width: 33.3333%; height: 33.3333%; scale: 500%; translate: var(--shine); background-image: radial-gradient(circle, #fff3 10%, #0000 50%); transition: translate 0.4s ease-out, opacity 0.4s ease-out; position: absolute; } } &:hover { --ease: linear( 0, 0.708 15.2%, 0.927 23.6%, 1.067 33%, 1.12 41%, 1.13 50.2%, 1.019 83.2%, 1 ); & > :first-child { outline-color: #fff1; &:before, &:after { opacity: 1; } } } & > :nth-child(n + 2) { scale: 1.2; } & > :nth-child(2) { grid-area: 1/1/2/2; } & > :nth-child(3) { grid-area: 1/2/2/3; } & > :nth-child(4) { grid-area: 1/3/2/4; } & > :nth-child(5) { grid-area: 2/1/3/2; } & > :nth-child(6) { grid-area: 2/3/3/4; } & > :nth-child(7) { grid-area: 3/1/4/2; } & > :nth-child(8) { grid-area: 3/2/4/3; } & > :nth-child(9) { grid-area: 3/3/4/4; } &:hover { & > :first-child { scale: 1.05; } } &:has(> :nth-child(2):hover) { --transform: -1, 1; --shine: 0% 0%; --shadow: -0.5rem -0.5rem; } &:has(> :nth-child(3):hover) { --transform: -1, 0; --shine: 100% 0%; --shadow: 0rem -0.5rem; } &:has(> :nth-child(4):hover) { --transform: -1, -1; --shine: 200% 0%; --shadow: 0.5rem -0.5rem; } &:has(> :nth-child(5):hover) { --transform: 0, 1; --shine: 0% 100%; --shadow: -0.5rem 0rem; } &:has(> :nth-child(6):hover) { --transform: 0, -1; --shine: 200% 100%; --shadow: 0.5rem 0rem; } &:has(> :nth-child(7):hover) { --transform: 1, 1; --shine: 0% 200%; --shadow: -0.5rem 0.5rem; } &:has(> :nth-child(8):hover) { --transform: 1, 0; --shine: 100% 200%; --shadow: 0rem 0.5rem; } &:has(> :nth-child(9):hover) { --transform: 1, -1; --shine: 200% 200%; --shadow: 0.5rem 0.5rem; } } } .stack { @layer daisyui.l1.l2.l3 { & { grid-template-rows: 3px 4px 1fr 4px 3px; grid-template-columns: 3px 4px 1fr 4px 3px; display: inline-grid; } & > * { width: 100%; height: 100%; &:nth-child(n + 2) { opacity: 0.7; width: 100%; } &:nth-child(2) { z-index: 2; opacity: 0.9; } &:first-child { z-index: 3; width: 100%; } } } @layer daisyui.l1.l2 { &, &.stack-bottom { & > * { grid-area: 3/3/6/4; &:nth-child(2) { grid-area: 2/2/5/5; } &:first-child { grid-area: 1/1/4/6; } } } &.stack-top { & > * { grid-area: 1/3/4/4; &:nth-child(2) { grid-area: 2/2/5/5; } &:first-child { grid-area: 3/1/6/6; } } } &.stack-start { & > * { grid-area: 3/1/4/4; &:nth-child(2) { grid-area: 2/2/5/5; } &:first-child { grid-area: 1/3/6/6; } } } &.stack-end { & > * { grid-area: 3/3/4/6; &:nth-child(2) { grid-area: 2/2/5/5; } &:first-child { grid-area: 1/1/6/4; } } } } } @media (width>=640px) { .sm\:stack { @layer daisyui.l1.l2.l3 { & { grid-template-rows: 3px 4px 1fr 4px 3px; grid-template-columns: 3px 4px 1fr 4px 3px; display: inline-grid; } & > * { width: 100%; height: 100%; &:nth-child(n + 2) { opacity: 0.7; width: 100%; } &:nth-child(2) { z-index: 2; opacity: 0.9; } &:first-child { z-index: 3; width: 100%; } } } @layer daisyui.l1.l2 { &, &.stack-bottom { & > * { grid-area: 3/3/6/4; &:nth-child(2) { grid-area: 2/2/5/5; } &:first-child { grid-area: 1/1/4/6; } } } &.stack-top { & > * { grid-area: 1/3/4/4; &:nth-child(2) { grid-area: 2/2/5/5; } &:first-child { grid-area: 3/1/6/6; } } } &.stack-start { & > * { grid-area: 3/1/4/4; &:nth-child(2) { grid-area: 2/2/5/5; } &:first-child { grid-area: 1/3/6/6; } } } &.stack-end { & > * { grid-area: 3/3/4/6; &:nth-child(2) { grid-area: 2/2/5/5; } &:first-child { grid-area: 1/1/6/4; } } } } } } @media (width>=768px) { .md\:stack { @layer daisyui.l1.l2.l3 { & { grid-template-rows: 3px 4px 1fr 4px 3px; grid-template-columns: 3px 4px 1fr 4px 3px; display: inline-grid; } & > * { width: 100%; height: 100%; &:nth-child(n + 2) { opacity: 0.7; width: 100%; } &:nth-child(2) { z-index: 2; opacity: 0.9; } &:first-child { z-index: 3; width: 100%; } } } @layer daisyui.l1.l2 { &, &.stack-bottom { & > * { grid-area: 3/3/6/4; &:nth-child(2) { grid-area: 2/2/5/5; } &:first-child { grid-area: 1/1/4/6; } } } &.stack-top { & > * { grid-area: 1/3/4/4; &:nth-child(2) { grid-area: 2/2/5/5; } &:first-child { grid-area: 3/1/6/6; } } } &.stack-start { & > * { grid-area: 3/1/4/4; &:nth-child(2) { grid-area: 2/2/5/5; } &:first-child { grid-area: 1/3/6/6; } } } &.stack-end { & > * { grid-area: 3/3/4/6; &:nth-child(2) { grid-area: 2/2/5/5; } &:first-child { grid-area: 1/1/6/4; } } } } } } @media (width>=1024px) { .lg\:stack { @layer daisyui.l1.l2.l3 { & { grid-template-rows: 3px 4px 1fr 4px 3px; grid-template-columns: 3px 4px 1fr 4px 3px; display: inline-grid; } & > * { width: 100%; height: 100%; &:nth-child(n + 2) { opacity: 0.7; width: 100%; } &:nth-child(2) { z-index: 2; opacity: 0.9; } &:first-child { z-index: 3; width: 100%; } } } @layer daisyui.l1.l2 { &, &.stack-bottom { & > * { grid-area: 3/3/6/4; &:nth-child(2) { grid-area: 2/2/5/5; } &:first-child { grid-area: 1/1/4/6; } } } &.stack-top { & > * { grid-area: 1/3/4/4; &:nth-child(2) { grid-area: 2/2/5/5; } &:first-child { grid-area: 3/1/6/6; } } } &.stack-start { & > * { grid-area: 3/1/4/4; &:nth-child(2) { grid-area: 2/2/5/5; } &:first-child { grid-area: 1/3/6/6; } } } &.stack-end { & > * { grid-area: 3/3/4/6; &:nth-child(2) { grid-area: 2/2/5/5; } &:first-child { grid-area: 1/1/6/4; } } } } } } @media (width>=1280px) { .xl\:stack { @layer daisyui.l1.l2.l3 { & { grid-template-rows: 3px 4px 1fr 4px 3px; grid-template-columns: 3px 4px 1fr 4px 3px; display: inline-grid; } & > * { width: 100%; height: 100%; &:nth-child(n + 2) { opacity: 0.7; width: 100%; } &:nth-child(2) { z-index: 2; opacity: 0.9; } &:first-child { z-index: 3; width: 100%; } } } @layer daisyui.l1.l2 { &, &.stack-bottom { & > * { grid-area: 3/3/6/4; &:nth-child(2) { grid-area: 2/2/5/5; } &:first-child { grid-area: 1/1/4/6; } } } &.stack-top { & > * { grid-area: 1/3/4/4; &:nth-child(2) { grid-area: 2/2/5/5; } &:first-child { grid-area: 3/1/6/6; } } } &.stack-start { & > * { grid-area: 3/1/4/4; &:nth-child(2) { grid-area: 2/2/5/5; } &:first-child { grid-area: 1/3/6/6; } } } &.stack-end { & > * { grid-area: 3/3/4/6; &:nth-child(2) { grid-area: 2/2/5/5; } &:first-child { grid-area: 1/1/6/4; } } } } } } @media (width>=1536px) { .\32 xl\:stack { @layer daisyui.l1.l2.l3 { & { grid-template-rows: 3px 4px 1fr 4px 3px; grid-template-columns: 3px 4px 1fr 4px 3px; display: inline-grid; } & > * { width: 100%; height: 100%; &:nth-child(n + 2) { opacity: 0.7; width: 100%; } &:nth-child(2) { z-index: 2; opacity: 0.9; } &:first-child { z-index: 3; width: 100%; } } } @layer daisyui.l1.l2 { &, &.stack-bottom { & > * { grid-area: 3/3/6/4; &:nth-child(2) { grid-area: 2/2/5/5; } &:first-child { grid-area: 1/1/4/6; } } } &.stack-top { & > * { grid-area: 1/3/4/4; &:nth-child(2) { grid-area: 2/2/5/5; } &:first-child { grid-area: 3/1/6/6; } } } &.stack-start { & > * { grid-area: 3/1/4/4; &:nth-child(2) { grid-area: 2/2/5/5; } &:first-child { grid-area: 1/3/6/6; } } } &.stack-end { & > * { grid-area: 3/3/4/6; &:nth-child(2) { grid-area: 2/2/5/5; } &:first-child { grid-area: 1/1/6/4; } } } } } } .footer { @layer daisyui.l1.l2.l3 { & { grid-auto-flow: row; place-items: start; gap: 2.5rem 1rem; width: 100%; font-size: 0.875rem; line-height: 1.25rem; display: grid; } & > * { place-items: start; gap: 0.5rem; display: grid; } &.footer-center { text-align: center; grid-auto-flow: column dense; place-items: center; & > * { place-items: center; } } } } .footer-title { @layer daisyui.l1.l2.l3 { & { text-transform: uppercase; opacity: 0.6; margin-bottom: 0.5rem; font-weight: 600; } } } .footer-horizontal { @layer daisyui.l1.l2 { & { grid-auto-flow: column; } &.footer-center { grid-auto-flow: dense; } } } .footer-vertical { @layer daisyui.l1.l2 { & { grid-auto-flow: row; } &.footer-center { grid-auto-flow: column dense; } } } @media (width>=640px) { .sm\:footer { @layer daisyui.l1.l2.l3 { & { grid-auto-flow: row; place-items: start; gap: 2.5rem 1rem; width: 100%; font-size: 0.875rem; line-height: 1.25rem; display: grid; } & > * { place-items: start; gap: 0.5rem; display: grid; } &.footer-center { text-align: center; grid-auto-flow: column dense; place-items: center; & > * { place-items: center; } } } } .sm\:footer-title { @layer daisyui.l1.l2.l3 { & { text-transform: uppercase; opacity: 0.6; margin-bottom: 0.5rem; font-weight: 600; } } } .sm\:footer-horizontal { @layer daisyui.l1.l2 { & { grid-auto-flow: column; } &.footer-center { grid-auto-flow: dense; } } } .sm\:footer-vertical { @layer daisyui.l1.l2 { & { grid-auto-flow: row; } &.footer-center { grid-auto-flow: column dense; } } } } @media (width>=768px) { .md\:footer { @layer daisyui.l1.l2.l3 { & { grid-auto-flow: row; place-items: start; gap: 2.5rem 1rem; width: 100%; font-size: 0.875rem; line-height: 1.25rem; display: grid; } & > * { place-items: start; gap: 0.5rem; display: grid; } &.footer-center { text-align: center; grid-auto-flow: column dense; place-items: center; & > * { place-items: center; } } } } .md\:footer-title { @layer daisyui.l1.l2.l3 { & { text-transform: uppercase; opacity: 0.6; margin-bottom: 0.5rem; font-weight: 600; } } } .md\:footer-horizontal { @layer daisyui.l1.l2 { & { grid-auto-flow: column; } &.footer-center { grid-auto-flow: dense; } } } .md\:footer-vertical { @layer daisyui.l1.l2 { & { grid-auto-flow: row; } &.footer-center { grid-auto-flow: column dense; } } } } @media (width>=1024px) { .lg\:footer { @layer daisyui.l1.l2.l3 { & { grid-auto-flow: row; place-items: start; gap: 2.5rem 1rem; width: 100%; font-size: 0.875rem; line-height: 1.25rem; display: grid; } & > * { place-items: start; gap: 0.5rem; display: grid; } &.footer-center { text-align: center; grid-auto-flow: column dense; place-items: center; & > * { place-items: center; } } } } .lg\:footer-title { @layer daisyui.l1.l2.l3 { & { text-transform: uppercase; opacity: 0.6; margin-bottom: 0.5rem; font-weight: 600; } } } .lg\:footer-horizontal { @layer daisyui.l1.l2 { & { grid-auto-flow: column; } &.footer-center { grid-auto-flow: dense; } } } .lg\:footer-vertical { @layer daisyui.l1.l2 { & { grid-auto-flow: row; } &.footer-center { grid-auto-flow: column dense; } } } } @media (width>=1280px) { .xl\:footer { @layer daisyui.l1.l2.l3 { & { grid-auto-flow: row; place-items: start; gap: 2.5rem 1rem; width: 100%; font-size: 0.875rem; line-height: 1.25rem; display: grid; } & > * { place-items: start; gap: 0.5rem; display: grid; } &.footer-center { text-align: center; grid-auto-flow: column dense; place-items: center; & > * { place-items: center; } } } } .xl\:footer-title { @layer daisyui.l1.l2.l3 { & { text-transform: uppercase; opacity: 0.6; margin-bottom: 0.5rem; font-weight: 600; } } } .xl\:footer-horizontal { @layer daisyui.l1.l2 { & { grid-auto-flow: column; } &.footer-center { grid-auto-flow: dense; } } } .xl\:footer-vertical { @layer daisyui.l1.l2 { & { grid-auto-flow: row; } &.footer-center { grid-auto-flow: column dense; } } } } @media (width>=1536px) { .\32 xl\:footer { @layer daisyui.l1.l2.l3 { & { grid-auto-flow: row; place-items: start; gap: 2.5rem 1rem; width: 100%; font-size: 0.875rem; line-height: 1.25rem; display: grid; } & > * { place-items: start; gap: 0.5rem; display: grid; } &.footer-center { text-align: center; grid-auto-flow: column dense; place-items: center; & > * { place-items: center; } } } } .\32 xl\:footer-title { @layer daisyui.l1.l2.l3 { & { text-transform: uppercase; opacity: 0.6; margin-bottom: 0.5rem; font-weight: 600; } } } .\32 xl\:footer-horizontal { @layer daisyui.l1.l2 { & { grid-auto-flow: column; } &.footer-center { grid-auto-flow: dense; } } } .\32 xl\:footer-vertical { @layer daisyui.l1.l2 { & { grid-auto-flow: row; } &.footer-center { grid-auto-flow: column dense; } } } } .breadcrumbs { @layer daisyui.l1.l2.l3 { & { max-width: 100%; padding-block: 0.5rem; overflow-x: auto; } & > menu, & > ul, & > ol { white-space: nowrap; align-items: center; min-height: min-content; display: flex; & > li { align-items: center; display: flex; & > * { cursor: pointer; align-items: center; gap: 0.5rem; display: flex; &:hover { @media (hover: hover) { & { text-decoration-line: underline; } } } &:focus { --tw-outline-style: none; outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } &:focus-visible { outline-offset: 2px; outline: 2px solid; } } & + :before { content: ""; opacity: 0.4; background-color: #0000; border-top: 1px solid; border-right: 1px solid; width: 0.375rem; height: 0.375rem; margin-left: 0.5rem; margin-right: 0.75rem; display: block; rotate: 45deg; } [dir="rtl"] & + :before { rotate: -135deg; } } } } } @media (width>=640px) { .sm\:breadcrumbs { @layer daisyui.l1.l2.l3 { & { max-width: 100%; padding-block: 0.5rem; overflow-x: auto; } & > menu, & > ul, & > ol { white-space: nowrap; align-items: center; min-height: min-content; display: flex; & > li { align-items: center; display: flex; & > * { cursor: pointer; align-items: center; gap: 0.5rem; display: flex; &:hover { @media (hover: hover) { & { text-decoration-line: underline; } } } &:focus { --tw-outline-style: none; outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } &:focus-visible { outline-offset: 2px; outline: 2px solid; } } & + :before { content: ""; opacity: 0.4; background-color: #0000; border-top: 1px solid; border-right: 1px solid; width: 0.375rem; height: 0.375rem; margin-left: 0.5rem; margin-right: 0.75rem; display: block; rotate: 45deg; } [dir="rtl"] & + :before { rotate: -135deg; } } } } } } @media (width>=768px) { .md\:breadcrumbs { @layer daisyui.l1.l2.l3 { & { max-width: 100%; padding-block: 0.5rem; overflow-x: auto; } & > menu, & > ul, & > ol { white-space: nowrap; align-items: center; min-height: min-content; display: flex; & > li { align-items: center; display: flex; & > * { cursor: pointer; align-items: center; gap: 0.5rem; display: flex; &:hover { @media (hover: hover) { & { text-decoration-line: underline; } } } &:focus { --tw-outline-style: none; outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } &:focus-visible { outline-offset: 2px; outline: 2px solid; } } & + :before { content: ""; opacity: 0.4; background-color: #0000; border-top: 1px solid; border-right: 1px solid; width: 0.375rem; height: 0.375rem; margin-left: 0.5rem; margin-right: 0.75rem; display: block; rotate: 45deg; } [dir="rtl"] & + :before { rotate: -135deg; } } } } } } @media (width>=1024px) { .lg\:breadcrumbs { @layer daisyui.l1.l2.l3 { & { max-width: 100%; padding-block: 0.5rem; overflow-x: auto; } & > menu, & > ul, & > ol { white-space: nowrap; align-items: center; min-height: min-content; display: flex; & > li { align-items: center; display: flex; & > * { cursor: pointer; align-items: center; gap: 0.5rem; display: flex; &:hover { @media (hover: hover) { & { text-decoration-line: underline; } } } &:focus { --tw-outline-style: none; outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } &:focus-visible { outline-offset: 2px; outline: 2px solid; } } & + :before { content: ""; opacity: 0.4; background-color: #0000; border-top: 1px solid; border-right: 1px solid; width: 0.375rem; height: 0.375rem; margin-left: 0.5rem; margin-right: 0.75rem; display: block; rotate: 45deg; } [dir="rtl"] & + :before { rotate: -135deg; } } } } } } @media (width>=1280px) { .xl\:breadcrumbs { @layer daisyui.l1.l2.l3 { & { max-width: 100%; padding-block: 0.5rem; overflow-x: auto; } & > menu, & > ul, & > ol { white-space: nowrap; align-items: center; min-height: min-content; display: flex; & > li { align-items: center; display: flex; & > * { cursor: pointer; align-items: center; gap: 0.5rem; display: flex; &:hover { @media (hover: hover) { & { text-decoration-line: underline; } } } &:focus { --tw-outline-style: none; outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } &:focus-visible { outline-offset: 2px; outline: 2px solid; } } & + :before { content: ""; opacity: 0.4; background-color: #0000; border-top: 1px solid; border-right: 1px solid; width: 0.375rem; height: 0.375rem; margin-left: 0.5rem; margin-right: 0.75rem; display: block; rotate: 45deg; } [dir="rtl"] & + :before { rotate: -135deg; } } } } } } @media (width>=1536px) { .\32 xl\:breadcrumbs { @layer daisyui.l1.l2.l3 { & { max-width: 100%; padding-block: 0.5rem; overflow-x: auto; } & > menu, & > ul, & > ol { white-space: nowrap; align-items: center; min-height: min-content; display: flex; & > li { align-items: center; display: flex; & > * { cursor: pointer; align-items: center; gap: 0.5rem; display: flex; &:hover { @media (hover: hover) { & { text-decoration-line: underline; } } } &:focus { --tw-outline-style: none; outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } &:focus-visible { outline-offset: 2px; outline: 2px solid; } } & + :before { content: ""; opacity: 0.4; background-color: #0000; border-top: 1px solid; border-right: 1px solid; width: 0.375rem; height: 0.375rem; margin-left: 0.5rem; margin-right: 0.75rem; display: block; rotate: 45deg; } [dir="rtl"] & + :before { rotate: -135deg; } } } } } } .toast { @layer daisyui.l1.l2.l3 { & { inset-inline: auto 1rem; translate: var(--toast-x, 0) var(--toast-y, 0); background-color: #0000; flex-direction: column; gap: 0.5rem; width: max-content; max-width: calc(100vw - 2rem); display: flex; position: fixed; top: auto; bottom: 1rem; } & > * { @media (prefers-reduced-motion: no-preference) { & { animation: 0.25s ease-out toast; } } } } } .toast-start { @layer daisyui.l1.l2 { & { --toast-x: 0; inset-inline: 1rem auto; } } } .toast-center { @layer daisyui.l1.l2 { & { --toast-x: -50%; inset-inline: 50%; } } } .toast-end { @layer daisyui.l1.l2 { & { --toast-x: 0; inset-inline: auto 1rem; } } } .toast-bottom { @layer daisyui.l1.l2 { & { --toast-y: 0; top: auto; bottom: 1rem; } } } .toast-middle { @layer daisyui.l1.l2 { & { --toast-y: -50%; top: 50%; bottom: auto; } } } .toast-top { @layer daisyui.l1.l2 { & { --toast-y: 0; top: 1rem; bottom: auto; } } } @keyframes toast { 0% { opacity: 0; scale: 0.9; } to { opacity: 1; scale: 1; } } @media (width>=640px) { .sm\:toast { @layer daisyui.l1.l2.l3 { & { inset-inline: auto 1rem; translate: var(--toast-x, 0) var(--toast-y, 0); background-color: #0000; flex-direction: column; gap: 0.5rem; width: max-content; max-width: calc(100vw - 2rem); display: flex; position: fixed; top: auto; bottom: 1rem; } & > * { @media (prefers-reduced-motion: no-preference) { & { animation: 0.25s ease-out toast; } } } } } .sm\:toast-start { @layer daisyui.l1.l2 { & { --toast-x: 0; inset-inline: 1rem auto; } } } .sm\:toast-center { @layer daisyui.l1.l2 { & { --toast-x: -50%; inset-inline: 50%; } } } .sm\:toast-end { @layer daisyui.l1.l2 { & { --toast-x: 0; inset-inline: auto 1rem; } } } .sm\:toast-bottom { @layer daisyui.l1.l2 { & { --toast-y: 0; top: auto; bottom: 1rem; } } } .sm\:toast-middle { @layer daisyui.l1.l2 { & { --toast-y: -50%; top: 50%; bottom: auto; } } } .sm\:toast-top { @layer daisyui.l1.l2 { & { --toast-y: 0; top: 1rem; bottom: auto; } } } } @media (width>=768px) { .md\:toast { @layer daisyui.l1.l2.l3 { & { inset-inline: auto 1rem; translate: var(--toast-x, 0) var(--toast-y, 0); background-color: #0000; flex-direction: column; gap: 0.5rem; width: max-content; max-width: calc(100vw - 2rem); display: flex; position: fixed; top: auto; bottom: 1rem; } & > * { @media (prefers-reduced-motion: no-preference) { & { animation: 0.25s ease-out toast; } } } } } .md\:toast-start { @layer daisyui.l1.l2 { & { --toast-x: 0; inset-inline: 1rem auto; } } } .md\:toast-center { @layer daisyui.l1.l2 { & { --toast-x: -50%; inset-inline: 50%; } } } .md\:toast-end { @layer daisyui.l1.l2 { & { --toast-x: 0; inset-inline: auto 1rem; } } } .md\:toast-bottom { @layer daisyui.l1.l2 { & { --toast-y: 0; top: auto; bottom: 1rem; } } } .md\:toast-middle { @layer daisyui.l1.l2 { & { --toast-y: -50%; top: 50%; bottom: auto; } } } .md\:toast-top { @layer daisyui.l1.l2 { & { --toast-y: 0; top: 1rem; bottom: auto; } } } } @media (width>=1024px) { .lg\:toast { @layer daisyui.l1.l2.l3 { & { inset-inline: auto 1rem; translate: var(--toast-x, 0) var(--toast-y, 0); background-color: #0000; flex-direction: column; gap: 0.5rem; width: max-content; max-width: calc(100vw - 2rem); display: flex; position: fixed; top: auto; bottom: 1rem; } & > * { @media (prefers-reduced-motion: no-preference) { & { animation: 0.25s ease-out toast; } } } } } .lg\:toast-start { @layer daisyui.l1.l2 { & { --toast-x: 0; inset-inline: 1rem auto; } } } .lg\:toast-center { @layer daisyui.l1.l2 { & { --toast-x: -50%; inset-inline: 50%; } } } .lg\:toast-end { @layer daisyui.l1.l2 { & { --toast-x: 0; inset-inline: auto 1rem; } } } .lg\:toast-bottom { @layer daisyui.l1.l2 { & { --toast-y: 0; top: auto; bottom: 1rem; } } } .lg\:toast-middle { @layer daisyui.l1.l2 { & { --toast-y: -50%; top: 50%; bottom: auto; } } } .lg\:toast-top { @layer daisyui.l1.l2 { & { --toast-y: 0; top: 1rem; bottom: auto; } } } } @media (width>=1280px) { .xl\:toast { @layer daisyui.l1.l2.l3 { & { inset-inline: auto 1rem; translate: var(--toast-x, 0) var(--toast-y, 0); background-color: #0000; flex-direction: column; gap: 0.5rem; width: max-content; max-width: calc(100vw - 2rem); display: flex; position: fixed; top: auto; bottom: 1rem; } & > * { @media (prefers-reduced-motion: no-preference) { & { animation: 0.25s ease-out toast; } } } } } .xl\:toast-start { @layer daisyui.l1.l2 { & { --toast-x: 0; inset-inline: 1rem auto; } } } .xl\:toast-center { @layer daisyui.l1.l2 { & { --toast-x: -50%; inset-inline: 50%; } } } .xl\:toast-end { @layer daisyui.l1.l2 { & { --toast-x: 0; inset-inline: auto 1rem; } } } .xl\:toast-bottom { @layer daisyui.l1.l2 { & { --toast-y: 0; top: auto; bottom: 1rem; } } } .xl\:toast-middle { @layer daisyui.l1.l2 { & { --toast-y: -50%; top: 50%; bottom: auto; } } } .xl\:toast-top { @layer daisyui.l1.l2 { & { --toast-y: 0; top: 1rem; bottom: auto; } } } } @media (width>=1536px) { .\32 xl\:toast { @layer daisyui.l1.l2.l3 { & { inset-inline: auto 1rem; translate: var(--toast-x, 0) var(--toast-y, 0); background-color: #0000; flex-direction: column; gap: 0.5rem; width: max-content; max-width: calc(100vw - 2rem); display: flex; position: fixed; top: auto; bottom: 1rem; } & > * { @media (prefers-reduced-motion: no-preference) { & { animation: 0.25s ease-out toast; } } } } } .\32 xl\:toast-start { @layer daisyui.l1.l2 { & { --toast-x: 0; inset-inline: 1rem auto; } } } .\32 xl\:toast-center { @layer daisyui.l1.l2 { & { --toast-x: -50%; inset-inline: 50%; } } } .\32 xl\:toast-end { @layer daisyui.l1.l2 { & { --toast-x: 0; inset-inline: auto 1rem; } } } .\32 xl\:toast-bottom { @layer daisyui.l1.l2 { & { --toast-y: 0; top: auto; bottom: 1rem; } } } .\32 xl\:toast-middle { @layer daisyui.l1.l2 { & { --toast-y: -50%; top: 50%; bottom: auto; } } } .\32 xl\:toast-top { @layer daisyui.l1.l2 { & { --toast-y: 0; top: 1rem; bottom: auto; } } } } .stats { @layer daisyui.l1.l2.l3 { & { border-radius: var(--radius-box); grid-auto-flow: column; display: inline-grid; position: relative; overflow-x: auto; } } } .stat { @layer daisyui.l1.l2.l3 { & { grid-template-columns: repeat(1, 1fr); column-gap: 1rem; width: 100%; padding-block: 1rem; padding-inline: 1.5rem; display: inline-grid; } &:not(:last-child) { border-inline-end: var(--border) dashed color-mix(in oklab, currentColor 10%, #0000); border-block-end: none; } } } .stat-figure { @layer daisyui.l1.l2.l3 { & { grid-row: 1 / span 3; grid-column-start: 2; place-self: center flex-end; } } } .stat-title { @layer daisyui.l1.l2.l3 { & { white-space: nowrap; color: color-mix(in oklab, var(--color-base-content) 60%, transparent); grid-column-start: 1; font-size: 0.75rem; } } } .stat-value { @layer daisyui.l1.l2.l3 { & { white-space: nowrap; grid-column-start: 1; font-size: 2rem; font-weight: 800; } } } .stat-desc { @layer daisyui.l1.l2.l3 { & { white-space: nowrap; color: color-mix(in oklab, var(--color-base-content) 60%, transparent); grid-column-start: 1; font-size: 0.75rem; } } } .stat-actions { @layer daisyui.l1.l2.l3 { & { white-space: nowrap; grid-column-start: 1; } } } .stats-horizontal { @layer daisyui.l1.l2 { & { grid-auto-flow: column; overflow-x: auto; } & .stat:not(:last-child) { border-inline-end: var(--border) dashed color-mix(in oklab, currentColor 10%, #0000); border-block-end: none; } } } .stats-vertical { @layer daisyui.l1.l2 { & { grid-auto-flow: row; overflow-y: auto; } & .stat:not(:last-child) { border-inline-end: none; border-block-end: var(--border) dashed color-mix(in oklab, currentColor 10%, #0000); } } } @media (width>=640px) { .sm\:stats { @layer daisyui.l1.l2.l3 { & { border-radius: var(--radius-box); grid-auto-flow: column; display: inline-grid; position: relative; overflow-x: auto; } } } .sm\:stat { @layer daisyui.l1.l2.l3 { & { grid-template-columns: repeat(1, 1fr); column-gap: 1rem; width: 100%; padding-block: 1rem; padding-inline: 1.5rem; display: inline-grid; } &:not(:last-child) { border-inline-end: var(--border) dashed color-mix(in oklab, currentColor 10%, #0000); border-block-end: none; } } } .sm\:stat-figure { @layer daisyui.l1.l2.l3 { & { grid-row: 1 / span 3; grid-column-start: 2; place-self: center flex-end; } } } .sm\:stat-title { @layer daisyui.l1.l2.l3 { & { white-space: nowrap; color: color-mix( in oklab, var(--color-base-content) 60%, transparent ); grid-column-start: 1; font-size: 0.75rem; } } } .sm\:stat-value { @layer daisyui.l1.l2.l3 { & { white-space: nowrap; grid-column-start: 1; font-size: 2rem; font-weight: 800; } } } .sm\:stat-desc { @layer daisyui.l1.l2.l3 { & { white-space: nowrap; color: color-mix( in oklab, var(--color-base-content) 60%, transparent ); grid-column-start: 1; font-size: 0.75rem; } } } .sm\:stat-actions { @layer daisyui.l1.l2.l3 { & { white-space: nowrap; grid-column-start: 1; } } } .sm\:stats-horizontal { @layer daisyui.l1.l2 { & { grid-auto-flow: column; overflow-x: auto; } & .stat:not(:last-child) { border-inline-end: var(--border) dashed color-mix(in oklab, currentColor 10%, #0000); border-block-end: none; } } } .sm\:stats-vertical { @layer daisyui.l1.l2 { & { grid-auto-flow: row; overflow-y: auto; } & .stat:not(:last-child) { border-inline-end: none; border-block-end: var(--border) dashed color-mix(in oklab, currentColor 10%, #0000); } } } } @media (width>=768px) { .md\:stats { @layer daisyui.l1.l2.l3 { & { border-radius: var(--radius-box); grid-auto-flow: column; display: inline-grid; position: relative; overflow-x: auto; } } } .md\:stat { @layer daisyui.l1.l2.l3 { & { grid-template-columns: repeat(1, 1fr); column-gap: 1rem; width: 100%; padding-block: 1rem; padding-inline: 1.5rem; display: inline-grid; } &:not(:last-child) { border-inline-end: var(--border) dashed color-mix(in oklab, currentColor 10%, #0000); border-block-end: none; } } } .md\:stat-figure { @layer daisyui.l1.l2.l3 { & { grid-row: 1 / span 3; grid-column-start: 2; place-self: center flex-end; } } } .md\:stat-title { @layer daisyui.l1.l2.l3 { & { white-space: nowrap; color: color-mix( in oklab, var(--color-base-content) 60%, transparent ); grid-column-start: 1; font-size: 0.75rem; } } } .md\:stat-value { @layer daisyui.l1.l2.l3 { & { white-space: nowrap; grid-column-start: 1; font-size: 2rem; font-weight: 800; } } } .md\:stat-desc { @layer daisyui.l1.l2.l3 { & { white-space: nowrap; color: color-mix( in oklab, var(--color-base-content) 60%, transparent ); grid-column-start: 1; font-size: 0.75rem; } } } .md\:stat-actions { @layer daisyui.l1.l2.l3 { & { white-space: nowrap; grid-column-start: 1; } } } .md\:stats-horizontal { @layer daisyui.l1.l2 { & { grid-auto-flow: column; overflow-x: auto; } & .stat:not(:last-child) { border-inline-end: var(--border) dashed color-mix(in oklab, currentColor 10%, #0000); border-block-end: none; } } } .md\:stats-vertical { @layer daisyui.l1.l2 { & { grid-auto-flow: row; overflow-y: auto; } & .stat:not(:last-child) { border-inline-end: none; border-block-end: var(--border) dashed color-mix(in oklab, currentColor 10%, #0000); } } } } @media (width>=1024px) { .lg\:stats { @layer daisyui.l1.l2.l3 { & { border-radius: var(--radius-box); grid-auto-flow: column; display: inline-grid; position: relative; overflow-x: auto; } } } .lg\:stat { @layer daisyui.l1.l2.l3 { & { grid-template-columns: repeat(1, 1fr); column-gap: 1rem; width: 100%; padding-block: 1rem; padding-inline: 1.5rem; display: inline-grid; } &:not(:last-child) { border-inline-end: var(--border) dashed color-mix(in oklab, currentColor 10%, #0000); border-block-end: none; } } } .lg\:stat-figure { @layer daisyui.l1.l2.l3 { & { grid-row: 1 / span 3; grid-column-start: 2; place-self: center flex-end; } } } .lg\:stat-title { @layer daisyui.l1.l2.l3 { & { white-space: nowrap; color: color-mix( in oklab, var(--color-base-content) 60%, transparent ); grid-column-start: 1; font-size: 0.75rem; } } } .lg\:stat-value { @layer daisyui.l1.l2.l3 { & { white-space: nowrap; grid-column-start: 1; font-size: 2rem; font-weight: 800; } } } .lg\:stat-desc { @layer daisyui.l1.l2.l3 { & { white-space: nowrap; color: color-mix( in oklab, var(--color-base-content) 60%, transparent ); grid-column-start: 1; font-size: 0.75rem; } } } .lg\:stat-actions { @layer daisyui.l1.l2.l3 { & { white-space: nowrap; grid-column-start: 1; } } } .lg\:stats-horizontal { @layer daisyui.l1.l2 { & { grid-auto-flow: column; overflow-x: auto; } & .stat:not(:last-child) { border-inline-end: var(--border) dashed color-mix(in oklab, currentColor 10%, #0000); border-block-end: none; } } } .lg\:stats-vertical { @layer daisyui.l1.l2 { & { grid-auto-flow: row; overflow-y: auto; } & .stat:not(:last-child) { border-inline-end: none; border-block-end: var(--border) dashed color-mix(in oklab, currentColor 10%, #0000); } } } } @media (width>=1280px) { .xl\:stats { @layer daisyui.l1.l2.l3 { & { border-radius: var(--radius-box); grid-auto-flow: column; display: inline-grid; position: relative; overflow-x: auto; } } } .xl\:stat { @layer daisyui.l1.l2.l3 { & { grid-template-columns: repeat(1, 1fr); column-gap: 1rem; width: 100%; padding-block: 1rem; padding-inline: 1.5rem; display: inline-grid; } &:not(:last-child) { border-inline-end: var(--border) dashed color-mix(in oklab, currentColor 10%, #0000); border-block-end: none; } } } .xl\:stat-figure { @layer daisyui.l1.l2.l3 { & { grid-row: 1 / span 3; grid-column-start: 2; place-self: center flex-end; } } } .xl\:stat-title { @layer daisyui.l1.l2.l3 { & { white-space: nowrap; color: color-mix( in oklab, var(--color-base-content) 60%, transparent ); grid-column-start: 1; font-size: 0.75rem; } } } .xl\:stat-value { @layer daisyui.l1.l2.l3 { & { white-space: nowrap; grid-column-start: 1; font-size: 2rem; font-weight: 800; } } } .xl\:stat-desc { @layer daisyui.l1.l2.l3 { & { white-space: nowrap; color: color-mix( in oklab, var(--color-base-content) 60%, transparent ); grid-column-start: 1; font-size: 0.75rem; } } } .xl\:stat-actions { @layer daisyui.l1.l2.l3 { & { white-space: nowrap; grid-column-start: 1; } } } .xl\:stats-horizontal { @layer daisyui.l1.l2 { & { grid-auto-flow: column; overflow-x: auto; } & .stat:not(:last-child) { border-inline-end: var(--border) dashed color-mix(in oklab, currentColor 10%, #0000); border-block-end: none; } } } .xl\:stats-vertical { @layer daisyui.l1.l2 { & { grid-auto-flow: row; overflow-y: auto; } & .stat:not(:last-child) { border-inline-end: none; border-block-end: var(--border) dashed color-mix(in oklab, currentColor 10%, #0000); } } } } @media (width>=1536px) { .\32 xl\:stats { @layer daisyui.l1.l2.l3 { & { border-radius: var(--radius-box); grid-auto-flow: column; display: inline-grid; position: relative; overflow-x: auto; } } } .\32 xl\:stat { @layer daisyui.l1.l2.l3 { & { grid-template-columns: repeat(1, 1fr); column-gap: 1rem; width: 100%; padding-block: 1rem; padding-inline: 1.5rem; display: inline-grid; } &:not(:last-child) { border-inline-end: var(--border) dashed color-mix(in oklab, currentColor 10%, #0000); border-block-end: none; } } } .\32 xl\:stat-figure { @layer daisyui.l1.l2.l3 { & { grid-row: 1 / span 3; grid-column-start: 2; place-self: center flex-end; } } } .\32 xl\:stat-title { @layer daisyui.l1.l2.l3 { & { white-space: nowrap; color: color-mix( in oklab, var(--color-base-content) 60%, transparent ); grid-column-start: 1; font-size: 0.75rem; } } } .\32 xl\:stat-value { @layer daisyui.l1.l2.l3 { & { white-space: nowrap; grid-column-start: 1; font-size: 2rem; font-weight: 800; } } } .\32 xl\:stat-desc { @layer daisyui.l1.l2.l3 { & { white-space: nowrap; color: color-mix( in oklab, var(--color-base-content) 60%, transparent ); grid-column-start: 1; font-size: 0.75rem; } } } .\32 xl\:stat-actions { @layer daisyui.l1.l2.l3 { & { white-space: nowrap; grid-column-start: 1; } } } .\32 xl\:stats-horizontal { @layer daisyui.l1.l2 { & { grid-auto-flow: column; overflow-x: auto; } & .stat:not(:last-child) { border-inline-end: var(--border) dashed color-mix(in oklab, currentColor 10%, #0000); border-block-end: none; } } } .\32 xl\:stats-vertical { @layer daisyui.l1.l2 { & { grid-auto-flow: row; overflow-y: auto; } & .stat:not(:last-child) { border-inline-end: none; border-block-end: var(--border) dashed color-mix(in oklab, currentColor 10%, #0000); } } } } .radial-progress { @layer daisyui.l1.l2.l3 { & { height: var(--size); width: var(--size); vertical-align: middle; box-sizing: content-box; --value: 0; --size: 5rem; --thickness: calc(var(--size) / 10); --radialprogress: calc(var(--value) * 1%); background-color: #0000; border-radius: 3.40282e38px; place-content: center; transition: --radialprogress 0.3s linear; display: inline-grid; position: relative; } &:before { content: ""; background: radial-gradient(farthest-side, currentColor 98%, #0000) top/var(--thickness) var(--thickness) no-repeat, conic-gradient(currentColor var(--radialprogress), #0000 0); -webkit-mask: radial-gradient( farthest-side, #0000 calc(100% - var(--thickness)), #000 calc(100% + 0.5px - var(--thickness)) ); mask: radial-gradient( farthest-side, #0000 calc(100% - var(--thickness)), #000 calc(100% + 0.5px - var(--thickness)) ); border-radius: 3.40282e38px; position: absolute; inset: 0; } &:after { content: ""; inset: calc(50% - var(--thickness) / 2); transform: rotate(calc(var(--value) * 3.6deg - 90deg)) translate(calc(var(--size) / 2 - 50%)); background-color: currentColor; border-radius: 3.40282e38px; transition: transform 0.3s linear; position: absolute; } } } @media (width>=640px) { .sm\:radial-progress { @layer daisyui.l1.l2.l3 { & { height: var(--size); width: var(--size); vertical-align: middle; box-sizing: content-box; --value: 0; --size: 5rem; --thickness: calc(var(--size) / 10); --radialprogress: calc(var(--value) * 1%); background-color: #0000; border-radius: 3.40282e38px; place-content: center; transition: --radialprogress 0.3s linear; display: inline-grid; position: relative; } &:before { content: ""; background: radial-gradient(farthest-side, currentColor 98%, #0000) top/var(--thickness) var(--thickness) no-repeat, conic-gradient(currentColor var(--radialprogress), #0000 0); -webkit-mask: radial-gradient( farthest-side, #0000 calc(100% - var(--thickness)), #000 calc(100% + 0.5px - var(--thickness)) ); mask: radial-gradient( farthest-side, #0000 calc(100% - var(--thickness)), #000 calc(100% + 0.5px - var(--thickness)) ); border-radius: 3.40282e38px; position: absolute; inset: 0; } &:after { content: ""; inset: calc(50% - var(--thickness) / 2); transform: rotate(calc(var(--value) * 3.6deg - 90deg)) translate(calc(var(--size) / 2 - 50%)); background-color: currentColor; border-radius: 3.40282e38px; transition: transform 0.3s linear; position: absolute; } } } } @media (width>=768px) { .md\:radial-progress { @layer daisyui.l1.l2.l3 { & { height: var(--size); width: var(--size); vertical-align: middle; box-sizing: content-box; --value: 0; --size: 5rem; --thickness: calc(var(--size) / 10); --radialprogress: calc(var(--value) * 1%); background-color: #0000; border-radius: 3.40282e38px; place-content: center; transition: --radialprogress 0.3s linear; display: inline-grid; position: relative; } &:before { content: ""; background: radial-gradient(farthest-side, currentColor 98%, #0000) top/var(--thickness) var(--thickness) no-repeat, conic-gradient(currentColor var(--radialprogress), #0000 0); -webkit-mask: radial-gradient( farthest-side, #0000 calc(100% - var(--thickness)), #000 calc(100% + 0.5px - var(--thickness)) ); mask: radial-gradient( farthest-side, #0000 calc(100% - var(--thickness)), #000 calc(100% + 0.5px - var(--thickness)) ); border-radius: 3.40282e38px; position: absolute; inset: 0; } &:after { content: ""; inset: calc(50% - var(--thickness) / 2); transform: rotate(calc(var(--value) * 3.6deg - 90deg)) translate(calc(var(--size) / 2 - 50%)); background-color: currentColor; border-radius: 3.40282e38px; transition: transform 0.3s linear; position: absolute; } } } } @media (width>=1024px) { .lg\:radial-progress { @layer daisyui.l1.l2.l3 { & { height: var(--size); width: var(--size); vertical-align: middle; box-sizing: content-box; --value: 0; --size: 5rem; --thickness: calc(var(--size) / 10); --radialprogress: calc(var(--value) * 1%); background-color: #0000; border-radius: 3.40282e38px; place-content: center; transition: --radialprogress 0.3s linear; display: inline-grid; position: relative; } &:before { content: ""; background: radial-gradient(farthest-side, currentColor 98%, #0000) top/var(--thickness) var(--thickness) no-repeat, conic-gradient(currentColor var(--radialprogress), #0000 0); -webkit-mask: radial-gradient( farthest-side, #0000 calc(100% - var(--thickness)), #000 calc(100% + 0.5px - var(--thickness)) ); mask: radial-gradient( farthest-side, #0000 calc(100% - var(--thickness)), #000 calc(100% + 0.5px - var(--thickness)) ); border-radius: 3.40282e38px; position: absolute; inset: 0; } &:after { content: ""; inset: calc(50% - var(--thickness) / 2); transform: rotate(calc(var(--value) * 3.6deg - 90deg)) translate(calc(var(--size) / 2 - 50%)); background-color: currentColor; border-radius: 3.40282e38px; transition: transform 0.3s linear; position: absolute; } } } } @media (width>=1280px) { .xl\:radial-progress { @layer daisyui.l1.l2.l3 { & { height: var(--size); width: var(--size); vertical-align: middle; box-sizing: content-box; --value: 0; --size: 5rem; --thickness: calc(var(--size) / 10); --radialprogress: calc(var(--value) * 1%); background-color: #0000; border-radius: 3.40282e38px; place-content: center; transition: --radialprogress 0.3s linear; display: inline-grid; position: relative; } &:before { content: ""; background: radial-gradient(farthest-side, currentColor 98%, #0000) top/var(--thickness) var(--thickness) no-repeat, conic-gradient(currentColor var(--radialprogress), #0000 0); -webkit-mask: radial-gradient( farthest-side, #0000 calc(100% - var(--thickness)), #000 calc(100% + 0.5px - var(--thickness)) ); mask: radial-gradient( farthest-side, #0000 calc(100% - var(--thickness)), #000 calc(100% + 0.5px - var(--thickness)) ); border-radius: 3.40282e38px; position: absolute; inset: 0; } &:after { content: ""; inset: calc(50% - var(--thickness) / 2); transform: rotate(calc(var(--value) * 3.6deg - 90deg)) translate(calc(var(--size) / 2 - 50%)); background-color: currentColor; border-radius: 3.40282e38px; transition: transform 0.3s linear; position: absolute; } } } } @media (width>=1536px) { .\32 xl\:radial-progress { @layer daisyui.l1.l2.l3 { & { height: var(--size); width: var(--size); vertical-align: middle; box-sizing: content-box; --value: 0; --size: 5rem; --thickness: calc(var(--size) / 10); --radialprogress: calc(var(--value) * 1%); background-color: #0000; border-radius: 3.40282e38px; place-content: center; transition: --radialprogress 0.3s linear; display: inline-grid; position: relative; } &:before { content: ""; background: radial-gradient(farthest-side, currentColor 98%, #0000) top/var(--thickness) var(--thickness) no-repeat, conic-gradient(currentColor var(--radialprogress), #0000 0); -webkit-mask: radial-gradient( farthest-side, #0000 calc(100% - var(--thickness)), #000 calc(100% + 0.5px - var(--thickness)) ); mask: radial-gradient( farthest-side, #0000 calc(100% - var(--thickness)), #000 calc(100% + 0.5px - var(--thickness)) ); border-radius: 3.40282e38px; position: absolute; inset: 0; } &:after { content: ""; inset: calc(50% - var(--thickness) / 2); transform: rotate(calc(var(--value) * 3.6deg - 90deg)) translate(calc(var(--size) / 2 - 50%)); background-color: currentColor; border-radius: 3.40282e38px; transition: transform 0.3s linear; position: absolute; } } } } .tabs { @layer daisyui.l1.l2.l3 { & { --tabs-height: auto; --tabs-direction: row; --tab-height: calc(var(--size-field, 0.25rem) * 10); height: var(--tabs-height); flex-wrap: wrap; flex-direction: var(--tabs-direction); display: flex; } } } .tab { @layer daisyui.l1.l2.l3 { & { cursor: pointer; appearance: none; text-align: center; -webkit-user-select: none; user-select: none; --tab-p: 0.75rem; --tab-bg: var(--color-base-100); --tab-border-color: var(--color-base-300); --tab-radius-ss: 0; --tab-radius-se: 0; --tab-radius-es: 0; --tab-radius-ee: 0; --tab-order: 0; --tab-radius-min: calc(0.75rem - var(--border)); --tab-radius-limit: min(var(--radius-field), var(--tab-radius-min)); --tab-radius-grad: #0000 calc(69% - var(--border)), var(--tab-border-color) calc(calc(69% - var(--border)) + 0.25px), var(--tab-border-color) calc(calc(69% - var(--border)) + var(--border)), var(--tab-bg) calc(calc(69% - var(--border)) + var(--border) + 0.25px); flex-wrap: wrap; order: var(--tab-order); height: var(--tab-height); border-color: #0000; justify-content: center; align-items: center; padding-inline-start: var(--tab-p); padding-inline-end: var(--tab-p); font-size: 0.875rem; display: inline-flex; position: relative; } &:hover { @media (hover: hover) { & { color: var(--color-base-content); } } } &:is(input[type="radio"]) { min-width: fit-content; &:after { --tw-content: attr(aria-label); content: var(--tw-content); } } &:is(label) { position: relative; & input { cursor: pointer; appearance: none; opacity: 0; position: absolute; inset: 0; } } &:checked, &:is(label:has(:checked)), &:is( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ) { & + .tab-content { display: block; } } &:not( :checked, label:has(:checked), :hover, .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ) { color: color-mix(in oklab, var(--color-base-content) 50%, transparent); } &:not(input):empty { cursor: default; flex-grow: 1; } &:focus { --tw-outline-style: none; outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } &:focus-visible, &:is(label:has(:checked:focus-visible)) { outline-offset: -5px; outline: 2px solid; } &[disabled] { pointer-events: none; opacity: 0.4; } } } .tab-content { @layer daisyui.l1.l2.l3 { & { --tabcontent-radius-ss: var(--radius-box); --tabcontent-radius-se: var(--radius-box); --tabcontent-radius-es: var(--radius-box); --tabcontent-radius-ee: var(--radius-box); --tabcontent-order: 1; width: 100%; height: calc(100% - var(--tab-height) + var(--border)); margin: var(--tabcontent-margin); order: 1; order: var(--tabcontent-order); border-color: #0000; border-width: var(--border); border-start-start-radius: var(--tabcontent-radius-ss); border-start-end-radius: var(--tabcontent-radius-se); border-end-end-radius: var(--tabcontent-radius-ee); border-end-start-radius: var(--tabcontent-radius-es); display: none; } } } .tab-disabled { @layer daisyui.l1.l2 { & { pointer-events: none; opacity: 0.4; } } } .tabs-border { @layer daisyui.l1.l2 { & > .tab { --tab-border-color: #0000 #0000 var(--tab-border-color) #0000; border-radius: var(--radius-field); position: relative; &:before { content: ""; background-color: var(--tab-border-color); border-radius: var(--radius-field); width: 80%; height: 3px; transition: background-color 0.2s; position: absolute; bottom: 0; left: 10%; } &:is( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ):not(.tab-disabled, [disabled]), &:is(input:checked), &:is(label:has(:checked)) { &:before { --tab-border-color: currentColor; border-top: 3px solid; } } } } } .tabs-lift { @layer daisyui.l1.l2 { & { --tabs-height: auto; --tabs-direction: row; } & > .tab { --tab-border: 0 0 var(--border) 0; --tab-radius-ss: var(--tab-radius-limit); --tab-radius-se: var(--tab-radius-limit); --tab-radius-es: 0; --tab-radius-ee: 0; --tab-paddings: var(--border) var(--tab-p) 0 var(--tab-p); --tab-border-colors: #0000 #0000 var(--tab-border-color) #0000; --tab-corner-width: calc(100% + var(--tab-radius-limit) * 2); --tab-corner-height: var(--tab-radius-limit); --tab-corner-position: top left, top right; border-width: var(--tab-border); padding: var(--tab-paddings); border-color: var(--tab-border-colors); border-start-start-radius: var(--tab-radius-ss); border-start-end-radius: var(--tab-radius-se); border-end-end-radius: var(--tab-radius-ee); border-end-start-radius: var(--tab-radius-es); &:is( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ):not(.tab-disabled, [disabled]), &:is(input:checked, label:has(:checked)) { --tab-border: var(--border) var(--border) 0 var(--border); --tab-border-colors: var(--tab-border-color) var(--tab-border-color) #0000 var(--tab-border-color); --tab-paddings: 0 calc(var(--tab-p) - var(--border)) var(--border) calc(var(--tab-p) - var(--border)); --tab-inset: auto auto 0 auto; --radius-start: radial-gradient( circle at top left, var(--tab-radius-grad) ); --radius-end: radial-gradient( circle at top right, var(--tab-radius-grad) ); background-color: var(--tab-bg); &:before { z-index: 1; content: ""; width: var(--tab-corner-width); height: var(--tab-corner-height); background-position: var(--tab-corner-position); background-image: var(--radius-start), var(--radius-end); background-size: var(--tab-radius-limit) var(--tab-radius-limit); inset: var(--tab-inset); background-repeat: no-repeat; display: block; position: absolute; } &:first-child:before { --radius-start: none; } [dir="rtl"] &:first-child:before { transform: rotateY(180deg); } &:last-child:before { --radius-end: none; } [dir="rtl"] &:last-child:before { transform: rotateY(180deg); } } } &:has(> .tab-content) { & > .tab:first-child { &:not( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ) { --tab-border-colors: var(--tab-border-color) var(--tab-border-color) #0000 var(--tab-border-color); } } } & > .tab-content { --tabcontent-margin: calc(-1 * var(--border)) 0 0 0; --tabcontent-radius-ss: 0; --tabcontent-radius-se: var(--radius-box); --tabcontent-radius-es: var(--radius-box); --tabcontent-radius-ee: var(--radius-box); } & :checked, & label:has(:checked), & :is( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ) { & + .tab-content { &:first-child, &:nth-child(n + 3) { --tabcontent-radius-ss: var(--radius-box); } } } } } .tabs-top { @layer daisyui.l1.l2 { & { --tabs-height: auto; --tabs-direction: row; } & > .tab { --tab-order: 0; --tab-border: 0 0 var(--border) 0; --tab-radius-ss: var(--tab-radius-limit); --tab-radius-se: var(--tab-radius-limit); --tab-radius-es: 0; --tab-radius-ee: 0; --tab-paddings: var(--border) var(--tab-p) 0 var(--tab-p); --tab-border-colors: #0000 #0000 var(--tab-border-color) #0000; --tab-corner-width: calc(100% + var(--tab-radius-limit) * 2); --tab-corner-height: var(--tab-radius-limit); --tab-corner-position: top left, top right; &:is( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ):not(.tab-disabled, [disabled]), &:is(input:checked), &:is(label:has(:checked)) { --tab-border: var(--border) var(--border) 0 var(--border); --tab-border-colors: var(--tab-border-color) var(--tab-border-color) #0000 var(--tab-border-color); --tab-paddings: 0 calc(var(--tab-p) - var(--border)) var(--border) calc(var(--tab-p) - var(--border)); --tab-inset: auto auto 0 auto; --radius-start: radial-gradient( circle at top left, var(--tab-radius-grad) ); --radius-end: radial-gradient( circle at top right, var(--tab-radius-grad) ); } } &:has(> .tab-content) { & > .tab:first-child { &:not( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ) { --tab-border-colors: var(--tab-border-color) var(--tab-border-color) #0000 var(--tab-border-color); } } } & > .tab-content { --tabcontent-order: 1; --tabcontent-margin: calc(-1 * var(--border)) 0 0 0; --tabcontent-radius-ss: 0; --tabcontent-radius-se: var(--radius-box); --tabcontent-radius-es: var(--radius-box); --tabcontent-radius-ee: var(--radius-box); } & :checked, & label:has(:checked), & :is( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ) { & + .tab-content { &:first-child, &:nth-child(n + 3) { --tabcontent-radius-ss: var(--radius-box); } } } } } .tabs-bottom { @layer daisyui.l1.l2 { & { --tabs-height: auto; --tabs-direction: row; } & > .tab { --tab-order: 1; --tab-border: var(--border) 0 0 0; --tab-radius-ss: 0; --tab-radius-se: 0; --tab-radius-es: var(--tab-radius-limit); --tab-radius-ee: var(--tab-radius-limit); --tab-border-colors: var(--tab-border-color) #0000 #0000 #0000; --tab-paddings: 0 var(--tab-p) var(--border) var(--tab-p); --tab-corner-width: calc(100% + var(--tab-radius-limit) * 2); --tab-corner-height: var(--tab-radius-limit); --tab-corner-position: top left, top right; &:is( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ):not(.tab-disabled, [disabled]), &:is(input:checked), &:is(label:has(:checked)) { --tab-border: 0 var(--border) var(--border) var(--border); --tab-border-colors: #0000 var(--tab-border-color) var(--tab-border-color) var(--tab-border-color); --tab-paddings: var(--border) calc(var(--tab-p) - var(--border)) 0 calc(var(--tab-p) - var(--border)); --tab-inset: 0 auto auto auto; --radius-start: radial-gradient( circle at bottom left, var(--tab-radius-grad) ); --radius-end: radial-gradient( circle at bottom right, var(--tab-radius-grad) ); } } &:has(> .tab-content) { & > .tab:first-child { &:not( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ) { --tab-border-colors: #0000 var(--tab-border-color) var(--tab-border-color) var(--tab-border-color); } } } & > .tab-content { --tabcontent-order: 0; --tabcontent-margin: 0 0 calc(-1 * var(--border)) 0; --tabcontent-radius-ss: var(--radius-box); --tabcontent-radius-se: var(--radius-box); --tabcontent-radius-es: 0; --tabcontent-radius-ee: var(--radius-box); } & > :checked, & > :is(label:has(:checked)), & > :is( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ) { & + .tab-content:not(:nth-child(2)) { --tabcontent-radius-es: var(--radius-box); } } } } .tabs-box { @layer daisyui.l1.l2 { & { background-color: var(--color-base-200); --tabs-box-radius: calc(3 * var(--radius-field)); border-radius: calc( min(calc(var(--tab-height) / 2), var(--radius-field)) + min(0.25rem, var(--tabs-box-radius)) ); box-shadow: 0 -0.5px oklch(100% 0 0 / calc(var(--depth) * 0.1)) inset, 0 0.5px oklch(0% 0 0 / calc(var(--depth) * 0.05)) inset; padding: 0.25rem; } & > .tab { border-radius: var(--radius-field); border-style: none; &:focus-visible, &:is(label:has(:checked:focus-visible)) { outline-offset: 2px; } } & > :is( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ):not(.tab-disabled, [disabled]), & > :is(input:checked), & > :is(label:has(:checked)) { background-color: var(--tab-bg, var(--color-base-100)); box-shadow: 0 1px oklch(100% 0 0 / calc(var(--depth) * 0.1)) inset, 0 1px 1px -1px color-mix( in oklab, var(--color-neutral) calc(var(--depth) * 50%), #0000 ), 0 1px 6px -4px color-mix( in oklab, var(--color-neutral) calc(var(--depth) * 100%), #0000 ); @media (forced-colors: active) { & { border: 1px solid; } } } & > .tab-content { height: calc(100% - var(--tab-height) + var(--border) - 0.5rem); border-radius: calc( min(calc(var(--tab-height) / 2), var(--radius-field)) + min(0.25rem, var(--tabs-box-radius)) - var(--border) ); margin-top: 0.25rem; } } } .tabs-xs { @layer daisyui.l1.l2 { & { --tab-height: calc(var(--size-field, 0.25rem) * 6); } & > .tab { --tab-p: 0.375rem; --tab-radius-min: calc(0.5rem - var(--border)); font-size: 0.75rem; } } } .tabs-sm { @layer daisyui.l1.l2 { & { --tab-height: calc(var(--size-field, 0.25rem) * 8); } & > .tab { --tab-p: 0.5rem; --tab-radius-min: calc(0.5rem - var(--border)); font-size: 0.875rem; } } } .tabs-md { @layer daisyui.l1.l2 { & { --tab-height: calc(var(--size-field, 0.25rem) * 10); } & > .tab { --tab-p: 0.75rem; --tab-radius-min: calc(0.75rem - var(--border)); font-size: 0.875rem; } } } .tabs-lg { @layer daisyui.l1.l2 { & { --tab-height: calc(var(--size-field, 0.25rem) * 12); } & > .tab { --tab-p: 1rem; --tab-radius-min: calc(1.5rem - var(--border)); font-size: 1.125rem; } } } .tabs-xl { @layer daisyui.l1.l2 { & { --tab-height: calc(var(--size-field, 0.25rem) * 14); } & > .tab { --tab-p: 1.25rem; --tab-radius-min: calc(2rem - var(--border)); font-size: 1.125rem; } } } @media (width>=640px) { .sm\:tabs { @layer daisyui.l1.l2.l3 { & { --tabs-height: auto; --tabs-direction: row; --tab-height: calc(var(--size-field, 0.25rem) * 10); height: var(--tabs-height); flex-wrap: wrap; flex-direction: var(--tabs-direction); display: flex; } } } .sm\:tab { @layer daisyui.l1.l2.l3 { & { cursor: pointer; appearance: none; text-align: center; -webkit-user-select: none; user-select: none; --tab-p: 0.75rem; --tab-bg: var(--color-base-100); --tab-border-color: var(--color-base-300); --tab-radius-ss: 0; --tab-radius-se: 0; --tab-radius-es: 0; --tab-radius-ee: 0; --tab-order: 0; --tab-radius-min: calc(0.75rem - var(--border)); --tab-radius-limit: min(var(--radius-field), var(--tab-radius-min)); --tab-radius-grad: #0000 calc(69% - var(--border)), var(--tab-border-color) calc(calc(69% - var(--border)) + 0.25px), var(--tab-border-color) calc(calc(69% - var(--border)) + var(--border)), var(--tab-bg) calc(calc(69% - var(--border)) + var(--border) + 0.25px); flex-wrap: wrap; order: var(--tab-order); height: var(--tab-height); border-color: #0000; justify-content: center; align-items: center; padding-inline-start: var(--tab-p); padding-inline-end: var(--tab-p); font-size: 0.875rem; display: inline-flex; position: relative; } &:hover { @media (hover: hover) { & { color: var(--color-base-content); } } } &:is(input[type="radio"]) { min-width: fit-content; &:after { --tw-content: attr(aria-label); content: var(--tw-content); } } &:is(label) { position: relative; & input { cursor: pointer; appearance: none; opacity: 0; position: absolute; inset: 0; } } &:checked, &:is(label:has(:checked)), &:is( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ) { & + .tab-content { display: block; } } &:not( :checked, label:has(:checked), :hover, .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ) { color: color-mix( in oklab, var(--color-base-content) 50%, transparent ); } &:not(input):empty { cursor: default; flex-grow: 1; } &:focus { --tw-outline-style: none; outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } &:focus-visible, &:is(label:has(:checked:focus-visible)) { outline-offset: -5px; outline: 2px solid; } &[disabled] { pointer-events: none; opacity: 0.4; } } } .sm\:tab-content { @layer daisyui.l1.l2.l3 { & { --tabcontent-radius-ss: var(--radius-box); --tabcontent-radius-se: var(--radius-box); --tabcontent-radius-es: var(--radius-box); --tabcontent-radius-ee: var(--radius-box); --tabcontent-order: 1; width: 100%; height: calc(100% - var(--tab-height) + var(--border)); margin: var(--tabcontent-margin); order: 1; order: var(--tabcontent-order); border-color: #0000; border-width: var(--border); border-start-start-radius: var(--tabcontent-radius-ss); border-start-end-radius: var(--tabcontent-radius-se); border-end-end-radius: var(--tabcontent-radius-ee); border-end-start-radius: var(--tabcontent-radius-es); display: none; } } } .sm\:tab-disabled { @layer daisyui.l1.l2 { & { pointer-events: none; opacity: 0.4; } } } .sm\:tabs-border { @layer daisyui.l1.l2 { & > .tab { --tab-border-color: #0000 #0000 var(--tab-border-color) #0000; border-radius: var(--radius-field); position: relative; &:before { content: ""; background-color: var(--tab-border-color); border-radius: var(--radius-field); width: 80%; height: 3px; transition: background-color 0.2s; position: absolute; bottom: 0; left: 10%; } &:is( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ):not(.tab-disabled, [disabled]), &:is(input:checked), &:is(label:has(:checked)) { &:before { --tab-border-color: currentColor; border-top: 3px solid; } } } } } .sm\:tabs-lift { @layer daisyui.l1.l2 { & { --tabs-height: auto; --tabs-direction: row; } & > .tab { --tab-border: 0 0 var(--border) 0; --tab-radius-ss: var(--tab-radius-limit); --tab-radius-se: var(--tab-radius-limit); --tab-radius-es: 0; --tab-radius-ee: 0; --tab-paddings: var(--border) var(--tab-p) 0 var(--tab-p); --tab-border-colors: #0000 #0000 var(--tab-border-color) #0000; --tab-corner-width: calc(100% + var(--tab-radius-limit) * 2); --tab-corner-height: var(--tab-radius-limit); --tab-corner-position: top left, top right; border-width: var(--tab-border); padding: var(--tab-paddings); border-color: var(--tab-border-colors); border-start-start-radius: var(--tab-radius-ss); border-start-end-radius: var(--tab-radius-se); border-end-end-radius: var(--tab-radius-ee); border-end-start-radius: var(--tab-radius-es); &:is( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ):not(.tab-disabled, [disabled]), &:is(input:checked, label:has(:checked)) { --tab-border: var(--border) var(--border) 0 var(--border); --tab-border-colors: var(--tab-border-color) var(--tab-border-color) #0000 var(--tab-border-color); --tab-paddings: 0 calc(var(--tab-p) - var(--border)) var(--border) calc(var(--tab-p) - var(--border)); --tab-inset: auto auto 0 auto; --radius-start: radial-gradient( circle at top left, var(--tab-radius-grad) ); --radius-end: radial-gradient( circle at top right, var(--tab-radius-grad) ); background-color: var(--tab-bg); &:before { z-index: 1; content: ""; width: var(--tab-corner-width); height: var(--tab-corner-height); background-position: var(--tab-corner-position); background-image: var(--radius-start), var(--radius-end); background-size: var(--tab-radius-limit) var(--tab-radius-limit); inset: var(--tab-inset); background-repeat: no-repeat; display: block; position: absolute; } &:first-child:before { --radius-start: none; } [dir="rtl"] &:first-child:before { transform: rotateY(180deg); } &:last-child:before { --radius-end: none; } [dir="rtl"] &:last-child:before { transform: rotateY(180deg); } } } &:has(> .tab-content) { & > .tab:first-child { &:not( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ) { --tab-border-colors: var(--tab-border-color) var(--tab-border-color) #0000 var(--tab-border-color); } } } & > .tab-content { --tabcontent-margin: calc(-1 * var(--border)) 0 0 0; --tabcontent-radius-ss: 0; --tabcontent-radius-se: var(--radius-box); --tabcontent-radius-es: var(--radius-box); --tabcontent-radius-ee: var(--radius-box); } & :checked, & label:has(:checked), & :is( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ) { & + .tab-content { &:first-child, &:nth-child(n + 3) { --tabcontent-radius-ss: var(--radius-box); } } } } } .sm\:tabs-top { @layer daisyui.l1.l2 { & { --tabs-height: auto; --tabs-direction: row; } & > .tab { --tab-order: 0; --tab-border: 0 0 var(--border) 0; --tab-radius-ss: var(--tab-radius-limit); --tab-radius-se: var(--tab-radius-limit); --tab-radius-es: 0; --tab-radius-ee: 0; --tab-paddings: var(--border) var(--tab-p) 0 var(--tab-p); --tab-border-colors: #0000 #0000 var(--tab-border-color) #0000; --tab-corner-width: calc(100% + var(--tab-radius-limit) * 2); --tab-corner-height: var(--tab-radius-limit); --tab-corner-position: top left, top right; &:is( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ):not(.tab-disabled, [disabled]), &:is(input:checked), &:is(label:has(:checked)) { --tab-border: var(--border) var(--border) 0 var(--border); --tab-border-colors: var(--tab-border-color) var(--tab-border-color) #0000 var(--tab-border-color); --tab-paddings: 0 calc(var(--tab-p) - var(--border)) var(--border) calc(var(--tab-p) - var(--border)); --tab-inset: auto auto 0 auto; --radius-start: radial-gradient( circle at top left, var(--tab-radius-grad) ); --radius-end: radial-gradient( circle at top right, var(--tab-radius-grad) ); } } &:has(> .tab-content) { & > .tab:first-child { &:not( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ) { --tab-border-colors: var(--tab-border-color) var(--tab-border-color) #0000 var(--tab-border-color); } } } & > .tab-content { --tabcontent-order: 1; --tabcontent-margin: calc(-1 * var(--border)) 0 0 0; --tabcontent-radius-ss: 0; --tabcontent-radius-se: var(--radius-box); --tabcontent-radius-es: var(--radius-box); --tabcontent-radius-ee: var(--radius-box); } & :checked, & label:has(:checked), & :is( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ) { & + .tab-content { &:first-child, &:nth-child(n + 3) { --tabcontent-radius-ss: var(--radius-box); } } } } } .sm\:tabs-bottom { @layer daisyui.l1.l2 { & { --tabs-height: auto; --tabs-direction: row; } & > .tab { --tab-order: 1; --tab-border: var(--border) 0 0 0; --tab-radius-ss: 0; --tab-radius-se: 0; --tab-radius-es: var(--tab-radius-limit); --tab-radius-ee: var(--tab-radius-limit); --tab-border-colors: var(--tab-border-color) #0000 #0000 #0000; --tab-paddings: 0 var(--tab-p) var(--border) var(--tab-p); --tab-corner-width: calc(100% + var(--tab-radius-limit) * 2); --tab-corner-height: var(--tab-radius-limit); --tab-corner-position: top left, top right; &:is( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ):not(.tab-disabled, [disabled]), &:is(input:checked), &:is(label:has(:checked)) { --tab-border: 0 var(--border) var(--border) var(--border); --tab-border-colors: #0000 var(--tab-border-color) var(--tab-border-color) var(--tab-border-color); --tab-paddings: var(--border) calc(var(--tab-p) - var(--border)) 0 calc(var(--tab-p) - var(--border)); --tab-inset: 0 auto auto auto; --radius-start: radial-gradient( circle at bottom left, var(--tab-radius-grad) ); --radius-end: radial-gradient( circle at bottom right, var(--tab-radius-grad) ); } } &:has(> .tab-content) { & > .tab:first-child { &:not( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ) { --tab-border-colors: #0000 var(--tab-border-color) var(--tab-border-color) var(--tab-border-color); } } } & > .tab-content { --tabcontent-order: 0; --tabcontent-margin: 0 0 calc(-1 * var(--border)) 0; --tabcontent-radius-ss: var(--radius-box); --tabcontent-radius-se: var(--radius-box); --tabcontent-radius-es: 0; --tabcontent-radius-ee: var(--radius-box); } & > :checked, & > :is(label:has(:checked)), & > :is( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ) { & + .tab-content:not(:nth-child(2)) { --tabcontent-radius-es: var(--radius-box); } } } } .sm\:tabs-box { @layer daisyui.l1.l2 { & { background-color: var(--color-base-200); --tabs-box-radius: calc(3 * var(--radius-field)); border-radius: calc( min(calc(var(--tab-height) / 2), var(--radius-field)) + min(0.25rem, var(--tabs-box-radius)) ); box-shadow: 0 -0.5px oklch(100% 0 0 / calc(var(--depth) * 0.1)) inset, 0 0.5px oklch(0% 0 0 / calc(var(--depth) * 0.05)) inset; padding: 0.25rem; } & > .tab { border-radius: var(--radius-field); border-style: none; &:focus-visible, &:is(label:has(:checked:focus-visible)) { outline-offset: 2px; } } & > :is( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ):not(.tab-disabled, [disabled]), & > :is(input:checked), & > :is(label:has(:checked)) { background-color: var(--tab-bg, var(--color-base-100)); box-shadow: 0 1px oklch(100% 0 0 / calc(var(--depth) * 0.1)) inset, 0 1px 1px -1px color-mix( in oklab, var(--color-neutral) calc(var(--depth) * 50%), #0000 ), 0 1px 6px -4px color-mix( in oklab, var(--color-neutral) calc(var(--depth) * 100%), #0000 ); @media (forced-colors: active) { & { border: 1px solid; } } } & > .tab-content { height: calc(100% - var(--tab-height) + var(--border) - 0.5rem); border-radius: calc( min(calc(var(--tab-height) / 2), var(--radius-field)) + min(0.25rem, var(--tabs-box-radius)) - var(--border) ); margin-top: 0.25rem; } } } .sm\:tabs-xs { @layer daisyui.l1.l2 { & { --tab-height: calc(var(--size-field, 0.25rem) * 6); } & > .tab { --tab-p: 0.375rem; --tab-radius-min: calc(0.5rem - var(--border)); font-size: 0.75rem; } } } .sm\:tabs-sm { @layer daisyui.l1.l2 { & { --tab-height: calc(var(--size-field, 0.25rem) * 8); } & > .tab { --tab-p: 0.5rem; --tab-radius-min: calc(0.5rem - var(--border)); font-size: 0.875rem; } } } .sm\:tabs-md { @layer daisyui.l1.l2 { & { --tab-height: calc(var(--size-field, 0.25rem) * 10); } & > .tab { --tab-p: 0.75rem; --tab-radius-min: calc(0.75rem - var(--border)); font-size: 0.875rem; } } } .sm\:tabs-lg { @layer daisyui.l1.l2 { & { --tab-height: calc(var(--size-field, 0.25rem) * 12); } & > .tab { --tab-p: 1rem; --tab-radius-min: calc(1.5rem - var(--border)); font-size: 1.125rem; } } } .sm\:tabs-xl { @layer daisyui.l1.l2 { & { --tab-height: calc(var(--size-field, 0.25rem) * 14); } & > .tab { --tab-p: 1.25rem; --tab-radius-min: calc(2rem - var(--border)); font-size: 1.125rem; } } } } @media (width>=768px) { .md\:tabs { @layer daisyui.l1.l2.l3 { & { --tabs-height: auto; --tabs-direction: row; --tab-height: calc(var(--size-field, 0.25rem) * 10); height: var(--tabs-height); flex-wrap: wrap; flex-direction: var(--tabs-direction); display: flex; } } } .md\:tab { @layer daisyui.l1.l2.l3 { & { cursor: pointer; appearance: none; text-align: center; -webkit-user-select: none; user-select: none; --tab-p: 0.75rem; --tab-bg: var(--color-base-100); --tab-border-color: var(--color-base-300); --tab-radius-ss: 0; --tab-radius-se: 0; --tab-radius-es: 0; --tab-radius-ee: 0; --tab-order: 0; --tab-radius-min: calc(0.75rem - var(--border)); --tab-radius-limit: min(var(--radius-field), var(--tab-radius-min)); --tab-radius-grad: #0000 calc(69% - var(--border)), var(--tab-border-color) calc(calc(69% - var(--border)) + 0.25px), var(--tab-border-color) calc(calc(69% - var(--border)) + var(--border)), var(--tab-bg) calc(calc(69% - var(--border)) + var(--border) + 0.25px); flex-wrap: wrap; order: var(--tab-order); height: var(--tab-height); border-color: #0000; justify-content: center; align-items: center; padding-inline-start: var(--tab-p); padding-inline-end: var(--tab-p); font-size: 0.875rem; display: inline-flex; position: relative; } &:hover { @media (hover: hover) { & { color: var(--color-base-content); } } } &:is(input[type="radio"]) { min-width: fit-content; &:after { --tw-content: attr(aria-label); content: var(--tw-content); } } &:is(label) { position: relative; & input { cursor: pointer; appearance: none; opacity: 0; position: absolute; inset: 0; } } &:checked, &:is(label:has(:checked)), &:is( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ) { & + .tab-content { display: block; } } &:not( :checked, label:has(:checked), :hover, .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ) { color: color-mix( in oklab, var(--color-base-content) 50%, transparent ); } &:not(input):empty { cursor: default; flex-grow: 1; } &:focus { --tw-outline-style: none; outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } &:focus-visible, &:is(label:has(:checked:focus-visible)) { outline-offset: -5px; outline: 2px solid; } &[disabled] { pointer-events: none; opacity: 0.4; } } } .md\:tab-content { @layer daisyui.l1.l2.l3 { & { --tabcontent-radius-ss: var(--radius-box); --tabcontent-radius-se: var(--radius-box); --tabcontent-radius-es: var(--radius-box); --tabcontent-radius-ee: var(--radius-box); --tabcontent-order: 1; width: 100%; height: calc(100% - var(--tab-height) + var(--border)); margin: var(--tabcontent-margin); order: 1; order: var(--tabcontent-order); border-color: #0000; border-width: var(--border); border-start-start-radius: var(--tabcontent-radius-ss); border-start-end-radius: var(--tabcontent-radius-se); border-end-end-radius: var(--tabcontent-radius-ee); border-end-start-radius: var(--tabcontent-radius-es); display: none; } } } .md\:tab-disabled { @layer daisyui.l1.l2 { & { pointer-events: none; opacity: 0.4; } } } .md\:tabs-border { @layer daisyui.l1.l2 { & > .tab { --tab-border-color: #0000 #0000 var(--tab-border-color) #0000; border-radius: var(--radius-field); position: relative; &:before { content: ""; background-color: var(--tab-border-color); border-radius: var(--radius-field); width: 80%; height: 3px; transition: background-color 0.2s; position: absolute; bottom: 0; left: 10%; } &:is( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ):not(.tab-disabled, [disabled]), &:is(input:checked), &:is(label:has(:checked)) { &:before { --tab-border-color: currentColor; border-top: 3px solid; } } } } } .md\:tabs-lift { @layer daisyui.l1.l2 { & { --tabs-height: auto; --tabs-direction: row; } & > .tab { --tab-border: 0 0 var(--border) 0; --tab-radius-ss: var(--tab-radius-limit); --tab-radius-se: var(--tab-radius-limit); --tab-radius-es: 0; --tab-radius-ee: 0; --tab-paddings: var(--border) var(--tab-p) 0 var(--tab-p); --tab-border-colors: #0000 #0000 var(--tab-border-color) #0000; --tab-corner-width: calc(100% + var(--tab-radius-limit) * 2); --tab-corner-height: var(--tab-radius-limit); --tab-corner-position: top left, top right; border-width: var(--tab-border); padding: var(--tab-paddings); border-color: var(--tab-border-colors); border-start-start-radius: var(--tab-radius-ss); border-start-end-radius: var(--tab-radius-se); border-end-end-radius: var(--tab-radius-ee); border-end-start-radius: var(--tab-radius-es); &:is( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ):not(.tab-disabled, [disabled]), &:is(input:checked, label:has(:checked)) { --tab-border: var(--border) var(--border) 0 var(--border); --tab-border-colors: var(--tab-border-color) var(--tab-border-color) #0000 var(--tab-border-color); --tab-paddings: 0 calc(var(--tab-p) - var(--border)) var(--border) calc(var(--tab-p) - var(--border)); --tab-inset: auto auto 0 auto; --radius-start: radial-gradient( circle at top left, var(--tab-radius-grad) ); --radius-end: radial-gradient( circle at top right, var(--tab-radius-grad) ); background-color: var(--tab-bg); &:before { z-index: 1; content: ""; width: var(--tab-corner-width); height: var(--tab-corner-height); background-position: var(--tab-corner-position); background-image: var(--radius-start), var(--radius-end); background-size: var(--tab-radius-limit) var(--tab-radius-limit); inset: var(--tab-inset); background-repeat: no-repeat; display: block; position: absolute; } &:first-child:before { --radius-start: none; } [dir="rtl"] &:first-child:before { transform: rotateY(180deg); } &:last-child:before { --radius-end: none; } [dir="rtl"] &:last-child:before { transform: rotateY(180deg); } } } &:has(> .tab-content) { & > .tab:first-child { &:not( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ) { --tab-border-colors: var(--tab-border-color) var(--tab-border-color) #0000 var(--tab-border-color); } } } & > .tab-content { --tabcontent-margin: calc(-1 * var(--border)) 0 0 0; --tabcontent-radius-ss: 0; --tabcontent-radius-se: var(--radius-box); --tabcontent-radius-es: var(--radius-box); --tabcontent-radius-ee: var(--radius-box); } & :checked, & label:has(:checked), & :is( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ) { & + .tab-content { &:first-child, &:nth-child(n + 3) { --tabcontent-radius-ss: var(--radius-box); } } } } } .md\:tabs-top { @layer daisyui.l1.l2 { & { --tabs-height: auto; --tabs-direction: row; } & > .tab { --tab-order: 0; --tab-border: 0 0 var(--border) 0; --tab-radius-ss: var(--tab-radius-limit); --tab-radius-se: var(--tab-radius-limit); --tab-radius-es: 0; --tab-radius-ee: 0; --tab-paddings: var(--border) var(--tab-p) 0 var(--tab-p); --tab-border-colors: #0000 #0000 var(--tab-border-color) #0000; --tab-corner-width: calc(100% + var(--tab-radius-limit) * 2); --tab-corner-height: var(--tab-radius-limit); --tab-corner-position: top left, top right; &:is( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ):not(.tab-disabled, [disabled]), &:is(input:checked), &:is(label:has(:checked)) { --tab-border: var(--border) var(--border) 0 var(--border); --tab-border-colors: var(--tab-border-color) var(--tab-border-color) #0000 var(--tab-border-color); --tab-paddings: 0 calc(var(--tab-p) - var(--border)) var(--border) calc(var(--tab-p) - var(--border)); --tab-inset: auto auto 0 auto; --radius-start: radial-gradient( circle at top left, var(--tab-radius-grad) ); --radius-end: radial-gradient( circle at top right, var(--tab-radius-grad) ); } } &:has(> .tab-content) { & > .tab:first-child { &:not( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ) { --tab-border-colors: var(--tab-border-color) var(--tab-border-color) #0000 var(--tab-border-color); } } } & > .tab-content { --tabcontent-order: 1; --tabcontent-margin: calc(-1 * var(--border)) 0 0 0; --tabcontent-radius-ss: 0; --tabcontent-radius-se: var(--radius-box); --tabcontent-radius-es: var(--radius-box); --tabcontent-radius-ee: var(--radius-box); } & :checked, & label:has(:checked), & :is( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ) { & + .tab-content { &:first-child, &:nth-child(n + 3) { --tabcontent-radius-ss: var(--radius-box); } } } } } .md\:tabs-bottom { @layer daisyui.l1.l2 { & { --tabs-height: auto; --tabs-direction: row; } & > .tab { --tab-order: 1; --tab-border: var(--border) 0 0 0; --tab-radius-ss: 0; --tab-radius-se: 0; --tab-radius-es: var(--tab-radius-limit); --tab-radius-ee: var(--tab-radius-limit); --tab-border-colors: var(--tab-border-color) #0000 #0000 #0000; --tab-paddings: 0 var(--tab-p) var(--border) var(--tab-p); --tab-corner-width: calc(100% + var(--tab-radius-limit) * 2); --tab-corner-height: var(--tab-radius-limit); --tab-corner-position: top left, top right; &:is( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ):not(.tab-disabled, [disabled]), &:is(input:checked), &:is(label:has(:checked)) { --tab-border: 0 var(--border) var(--border) var(--border); --tab-border-colors: #0000 var(--tab-border-color) var(--tab-border-color) var(--tab-border-color); --tab-paddings: var(--border) calc(var(--tab-p) - var(--border)) 0 calc(var(--tab-p) - var(--border)); --tab-inset: 0 auto auto auto; --radius-start: radial-gradient( circle at bottom left, var(--tab-radius-grad) ); --radius-end: radial-gradient( circle at bottom right, var(--tab-radius-grad) ); } } &:has(> .tab-content) { & > .tab:first-child { &:not( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ) { --tab-border-colors: #0000 var(--tab-border-color) var(--tab-border-color) var(--tab-border-color); } } } & > .tab-content { --tabcontent-order: 0; --tabcontent-margin: 0 0 calc(-1 * var(--border)) 0; --tabcontent-radius-ss: var(--radius-box); --tabcontent-radius-se: var(--radius-box); --tabcontent-radius-es: 0; --tabcontent-radius-ee: var(--radius-box); } & > :checked, & > :is(label:has(:checked)), & > :is( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ) { & + .tab-content:not(:nth-child(2)) { --tabcontent-radius-es: var(--radius-box); } } } } .md\:tabs-box { @layer daisyui.l1.l2 { & { background-color: var(--color-base-200); --tabs-box-radius: calc(3 * var(--radius-field)); border-radius: calc( min(calc(var(--tab-height) / 2), var(--radius-field)) + min(0.25rem, var(--tabs-box-radius)) ); box-shadow: 0 -0.5px oklch(100% 0 0 / calc(var(--depth) * 0.1)) inset, 0 0.5px oklch(0% 0 0 / calc(var(--depth) * 0.05)) inset; padding: 0.25rem; } & > .tab { border-radius: var(--radius-field); border-style: none; &:focus-visible, &:is(label:has(:checked:focus-visible)) { outline-offset: 2px; } } & > :is( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ):not(.tab-disabled, [disabled]), & > :is(input:checked), & > :is(label:has(:checked)) { background-color: var(--tab-bg, var(--color-base-100)); box-shadow: 0 1px oklch(100% 0 0 / calc(var(--depth) * 0.1)) inset, 0 1px 1px -1px color-mix( in oklab, var(--color-neutral) calc(var(--depth) * 50%), #0000 ), 0 1px 6px -4px color-mix( in oklab, var(--color-neutral) calc(var(--depth) * 100%), #0000 ); @media (forced-colors: active) { & { border: 1px solid; } } } & > .tab-content { height: calc(100% - var(--tab-height) + var(--border) - 0.5rem); border-radius: calc( min(calc(var(--tab-height) / 2), var(--radius-field)) + min(0.25rem, var(--tabs-box-radius)) - var(--border) ); margin-top: 0.25rem; } } } .md\:tabs-xs { @layer daisyui.l1.l2 { & { --tab-height: calc(var(--size-field, 0.25rem) * 6); } & > .tab { --tab-p: 0.375rem; --tab-radius-min: calc(0.5rem - var(--border)); font-size: 0.75rem; } } } .md\:tabs-sm { @layer daisyui.l1.l2 { & { --tab-height: calc(var(--size-field, 0.25rem) * 8); } & > .tab { --tab-p: 0.5rem; --tab-radius-min: calc(0.5rem - var(--border)); font-size: 0.875rem; } } } .md\:tabs-md { @layer daisyui.l1.l2 { & { --tab-height: calc(var(--size-field, 0.25rem) * 10); } & > .tab { --tab-p: 0.75rem; --tab-radius-min: calc(0.75rem - var(--border)); font-size: 0.875rem; } } } .md\:tabs-lg { @layer daisyui.l1.l2 { & { --tab-height: calc(var(--size-field, 0.25rem) * 12); } & > .tab { --tab-p: 1rem; --tab-radius-min: calc(1.5rem - var(--border)); font-size: 1.125rem; } } } .md\:tabs-xl { @layer daisyui.l1.l2 { & { --tab-height: calc(var(--size-field, 0.25rem) * 14); } & > .tab { --tab-p: 1.25rem; --tab-radius-min: calc(2rem - var(--border)); font-size: 1.125rem; } } } } @media (width>=1024px) { .lg\:tabs { @layer daisyui.l1.l2.l3 { & { --tabs-height: auto; --tabs-direction: row; --tab-height: calc(var(--size-field, 0.25rem) * 10); height: var(--tabs-height); flex-wrap: wrap; flex-direction: var(--tabs-direction); display: flex; } } } .lg\:tab { @layer daisyui.l1.l2.l3 { & { cursor: pointer; appearance: none; text-align: center; -webkit-user-select: none; user-select: none; --tab-p: 0.75rem; --tab-bg: var(--color-base-100); --tab-border-color: var(--color-base-300); --tab-radius-ss: 0; --tab-radius-se: 0; --tab-radius-es: 0; --tab-radius-ee: 0; --tab-order: 0; --tab-radius-min: calc(0.75rem - var(--border)); --tab-radius-limit: min(var(--radius-field), var(--tab-radius-min)); --tab-radius-grad: #0000 calc(69% - var(--border)), var(--tab-border-color) calc(calc(69% - var(--border)) + 0.25px), var(--tab-border-color) calc(calc(69% - var(--border)) + var(--border)), var(--tab-bg) calc(calc(69% - var(--border)) + var(--border) + 0.25px); flex-wrap: wrap; order: var(--tab-order); height: var(--tab-height); border-color: #0000; justify-content: center; align-items: center; padding-inline-start: var(--tab-p); padding-inline-end: var(--tab-p); font-size: 0.875rem; display: inline-flex; position: relative; } &:hover { @media (hover: hover) { & { color: var(--color-base-content); } } } &:is(input[type="radio"]) { min-width: fit-content; &:after { --tw-content: attr(aria-label); content: var(--tw-content); } } &:is(label) { position: relative; & input { cursor: pointer; appearance: none; opacity: 0; position: absolute; inset: 0; } } &:checked, &:is(label:has(:checked)), &:is( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ) { & + .tab-content { display: block; } } &:not( :checked, label:has(:checked), :hover, .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ) { color: color-mix( in oklab, var(--color-base-content) 50%, transparent ); } &:not(input):empty { cursor: default; flex-grow: 1; } &:focus { --tw-outline-style: none; outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } &:focus-visible, &:is(label:has(:checked:focus-visible)) { outline-offset: -5px; outline: 2px solid; } &[disabled] { pointer-events: none; opacity: 0.4; } } } .lg\:tab-content { @layer daisyui.l1.l2.l3 { & { --tabcontent-radius-ss: var(--radius-box); --tabcontent-radius-se: var(--radius-box); --tabcontent-radius-es: var(--radius-box); --tabcontent-radius-ee: var(--radius-box); --tabcontent-order: 1; width: 100%; height: calc(100% - var(--tab-height) + var(--border)); margin: var(--tabcontent-margin); order: 1; order: var(--tabcontent-order); border-color: #0000; border-width: var(--border); border-start-start-radius: var(--tabcontent-radius-ss); border-start-end-radius: var(--tabcontent-radius-se); border-end-end-radius: var(--tabcontent-radius-ee); border-end-start-radius: var(--tabcontent-radius-es); display: none; } } } .lg\:tab-disabled { @layer daisyui.l1.l2 { & { pointer-events: none; opacity: 0.4; } } } .lg\:tabs-border { @layer daisyui.l1.l2 { & > .tab { --tab-border-color: #0000 #0000 var(--tab-border-color) #0000; border-radius: var(--radius-field); position: relative; &:before { content: ""; background-color: var(--tab-border-color); border-radius: var(--radius-field); width: 80%; height: 3px; transition: background-color 0.2s; position: absolute; bottom: 0; left: 10%; } &:is( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ):not(.tab-disabled, [disabled]), &:is(input:checked), &:is(label:has(:checked)) { &:before { --tab-border-color: currentColor; border-top: 3px solid; } } } } } .lg\:tabs-lift { @layer daisyui.l1.l2 { & { --tabs-height: auto; --tabs-direction: row; } & > .tab { --tab-border: 0 0 var(--border) 0; --tab-radius-ss: var(--tab-radius-limit); --tab-radius-se: var(--tab-radius-limit); --tab-radius-es: 0; --tab-radius-ee: 0; --tab-paddings: var(--border) var(--tab-p) 0 var(--tab-p); --tab-border-colors: #0000 #0000 var(--tab-border-color) #0000; --tab-corner-width: calc(100% + var(--tab-radius-limit) * 2); --tab-corner-height: var(--tab-radius-limit); --tab-corner-position: top left, top right; border-width: var(--tab-border); padding: var(--tab-paddings); border-color: var(--tab-border-colors); border-start-start-radius: var(--tab-radius-ss); border-start-end-radius: var(--tab-radius-se); border-end-end-radius: var(--tab-radius-ee); border-end-start-radius: var(--tab-radius-es); &:is( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ):not(.tab-disabled, [disabled]), &:is(input:checked, label:has(:checked)) { --tab-border: var(--border) var(--border) 0 var(--border); --tab-border-colors: var(--tab-border-color) var(--tab-border-color) #0000 var(--tab-border-color); --tab-paddings: 0 calc(var(--tab-p) - var(--border)) var(--border) calc(var(--tab-p) - var(--border)); --tab-inset: auto auto 0 auto; --radius-start: radial-gradient( circle at top left, var(--tab-radius-grad) ); --radius-end: radial-gradient( circle at top right, var(--tab-radius-grad) ); background-color: var(--tab-bg); &:before { z-index: 1; content: ""; width: var(--tab-corner-width); height: var(--tab-corner-height); background-position: var(--tab-corner-position); background-image: var(--radius-start), var(--radius-end); background-size: var(--tab-radius-limit) var(--tab-radius-limit); inset: var(--tab-inset); background-repeat: no-repeat; display: block; position: absolute; } &:first-child:before { --radius-start: none; } [dir="rtl"] &:first-child:before { transform: rotateY(180deg); } &:last-child:before { --radius-end: none; } [dir="rtl"] &:last-child:before { transform: rotateY(180deg); } } } &:has(> .tab-content) { & > .tab:first-child { &:not( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ) { --tab-border-colors: var(--tab-border-color) var(--tab-border-color) #0000 var(--tab-border-color); } } } & > .tab-content { --tabcontent-margin: calc(-1 * var(--border)) 0 0 0; --tabcontent-radius-ss: 0; --tabcontent-radius-se: var(--radius-box); --tabcontent-radius-es: var(--radius-box); --tabcontent-radius-ee: var(--radius-box); } & :checked, & label:has(:checked), & :is( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ) { & + .tab-content { &:first-child, &:nth-child(n + 3) { --tabcontent-radius-ss: var(--radius-box); } } } } } .lg\:tabs-top { @layer daisyui.l1.l2 { & { --tabs-height: auto; --tabs-direction: row; } & > .tab { --tab-order: 0; --tab-border: 0 0 var(--border) 0; --tab-radius-ss: var(--tab-radius-limit); --tab-radius-se: var(--tab-radius-limit); --tab-radius-es: 0; --tab-radius-ee: 0; --tab-paddings: var(--border) var(--tab-p) 0 var(--tab-p); --tab-border-colors: #0000 #0000 var(--tab-border-color) #0000; --tab-corner-width: calc(100% + var(--tab-radius-limit) * 2); --tab-corner-height: var(--tab-radius-limit); --tab-corner-position: top left, top right; &:is( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ):not(.tab-disabled, [disabled]), &:is(input:checked), &:is(label:has(:checked)) { --tab-border: var(--border) var(--border) 0 var(--border); --tab-border-colors: var(--tab-border-color) var(--tab-border-color) #0000 var(--tab-border-color); --tab-paddings: 0 calc(var(--tab-p) - var(--border)) var(--border) calc(var(--tab-p) - var(--border)); --tab-inset: auto auto 0 auto; --radius-start: radial-gradient( circle at top left, var(--tab-radius-grad) ); --radius-end: radial-gradient( circle at top right, var(--tab-radius-grad) ); } } &:has(> .tab-content) { & > .tab:first-child { &:not( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ) { --tab-border-colors: var(--tab-border-color) var(--tab-border-color) #0000 var(--tab-border-color); } } } & > .tab-content { --tabcontent-order: 1; --tabcontent-margin: calc(-1 * var(--border)) 0 0 0; --tabcontent-radius-ss: 0; --tabcontent-radius-se: var(--radius-box); --tabcontent-radius-es: var(--radius-box); --tabcontent-radius-ee: var(--radius-box); } & :checked, & label:has(:checked), & :is( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ) { & + .tab-content { &:first-child, &:nth-child(n + 3) { --tabcontent-radius-ss: var(--radius-box); } } } } } .lg\:tabs-bottom { @layer daisyui.l1.l2 { & { --tabs-height: auto; --tabs-direction: row; } & > .tab { --tab-order: 1; --tab-border: var(--border) 0 0 0; --tab-radius-ss: 0; --tab-radius-se: 0; --tab-radius-es: var(--tab-radius-limit); --tab-radius-ee: var(--tab-radius-limit); --tab-border-colors: var(--tab-border-color) #0000 #0000 #0000; --tab-paddings: 0 var(--tab-p) var(--border) var(--tab-p); --tab-corner-width: calc(100% + var(--tab-radius-limit) * 2); --tab-corner-height: var(--tab-radius-limit); --tab-corner-position: top left, top right; &:is( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ):not(.tab-disabled, [disabled]), &:is(input:checked), &:is(label:has(:checked)) { --tab-border: 0 var(--border) var(--border) var(--border); --tab-border-colors: #0000 var(--tab-border-color) var(--tab-border-color) var(--tab-border-color); --tab-paddings: var(--border) calc(var(--tab-p) - var(--border)) 0 calc(var(--tab-p) - var(--border)); --tab-inset: 0 auto auto auto; --radius-start: radial-gradient( circle at bottom left, var(--tab-radius-grad) ); --radius-end: radial-gradient( circle at bottom right, var(--tab-radius-grad) ); } } &:has(> .tab-content) { & > .tab:first-child { &:not( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ) { --tab-border-colors: #0000 var(--tab-border-color) var(--tab-border-color) var(--tab-border-color); } } } & > .tab-content { --tabcontent-order: 0; --tabcontent-margin: 0 0 calc(-1 * var(--border)) 0; --tabcontent-radius-ss: var(--radius-box); --tabcontent-radius-se: var(--radius-box); --tabcontent-radius-es: 0; --tabcontent-radius-ee: var(--radius-box); } & > :checked, & > :is(label:has(:checked)), & > :is( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ) { & + .tab-content:not(:nth-child(2)) { --tabcontent-radius-es: var(--radius-box); } } } } .lg\:tabs-box { @layer daisyui.l1.l2 { & { background-color: var(--color-base-200); --tabs-box-radius: calc(3 * var(--radius-field)); border-radius: calc( min(calc(var(--tab-height) / 2), var(--radius-field)) + min(0.25rem, var(--tabs-box-radius)) ); box-shadow: 0 -0.5px oklch(100% 0 0 / calc(var(--depth) * 0.1)) inset, 0 0.5px oklch(0% 0 0 / calc(var(--depth) * 0.05)) inset; padding: 0.25rem; } & > .tab { border-radius: var(--radius-field); border-style: none; &:focus-visible, &:is(label:has(:checked:focus-visible)) { outline-offset: 2px; } } & > :is( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ):not(.tab-disabled, [disabled]), & > :is(input:checked), & > :is(label:has(:checked)) { background-color: var(--tab-bg, var(--color-base-100)); box-shadow: 0 1px oklch(100% 0 0 / calc(var(--depth) * 0.1)) inset, 0 1px 1px -1px color-mix( in oklab, var(--color-neutral) calc(var(--depth) * 50%), #0000 ), 0 1px 6px -4px color-mix( in oklab, var(--color-neutral) calc(var(--depth) * 100%), #0000 ); @media (forced-colors: active) { & { border: 1px solid; } } } & > .tab-content { height: calc(100% - var(--tab-height) + var(--border) - 0.5rem); border-radius: calc( min(calc(var(--tab-height) / 2), var(--radius-field)) + min(0.25rem, var(--tabs-box-radius)) - var(--border) ); margin-top: 0.25rem; } } } .lg\:tabs-xs { @layer daisyui.l1.l2 { & { --tab-height: calc(var(--size-field, 0.25rem) * 6); } & > .tab { --tab-p: 0.375rem; --tab-radius-min: calc(0.5rem - var(--border)); font-size: 0.75rem; } } } .lg\:tabs-sm { @layer daisyui.l1.l2 { & { --tab-height: calc(var(--size-field, 0.25rem) * 8); } & > .tab { --tab-p: 0.5rem; --tab-radius-min: calc(0.5rem - var(--border)); font-size: 0.875rem; } } } .lg\:tabs-md { @layer daisyui.l1.l2 { & { --tab-height: calc(var(--size-field, 0.25rem) * 10); } & > .tab { --tab-p: 0.75rem; --tab-radius-min: calc(0.75rem - var(--border)); font-size: 0.875rem; } } } .lg\:tabs-lg { @layer daisyui.l1.l2 { & { --tab-height: calc(var(--size-field, 0.25rem) * 12); } & > .tab { --tab-p: 1rem; --tab-radius-min: calc(1.5rem - var(--border)); font-size: 1.125rem; } } } .lg\:tabs-xl { @layer daisyui.l1.l2 { & { --tab-height: calc(var(--size-field, 0.25rem) * 14); } & > .tab { --tab-p: 1.25rem; --tab-radius-min: calc(2rem - var(--border)); font-size: 1.125rem; } } } } @media (width>=1280px) { .xl\:tabs { @layer daisyui.l1.l2.l3 { & { --tabs-height: auto; --tabs-direction: row; --tab-height: calc(var(--size-field, 0.25rem) * 10); height: var(--tabs-height); flex-wrap: wrap; flex-direction: var(--tabs-direction); display: flex; } } } .xl\:tab { @layer daisyui.l1.l2.l3 { & { cursor: pointer; appearance: none; text-align: center; -webkit-user-select: none; user-select: none; --tab-p: 0.75rem; --tab-bg: var(--color-base-100); --tab-border-color: var(--color-base-300); --tab-radius-ss: 0; --tab-radius-se: 0; --tab-radius-es: 0; --tab-radius-ee: 0; --tab-order: 0; --tab-radius-min: calc(0.75rem - var(--border)); --tab-radius-limit: min(var(--radius-field), var(--tab-radius-min)); --tab-radius-grad: #0000 calc(69% - var(--border)), var(--tab-border-color) calc(calc(69% - var(--border)) + 0.25px), var(--tab-border-color) calc(calc(69% - var(--border)) + var(--border)), var(--tab-bg) calc(calc(69% - var(--border)) + var(--border) + 0.25px); flex-wrap: wrap; order: var(--tab-order); height: var(--tab-height); border-color: #0000; justify-content: center; align-items: center; padding-inline-start: var(--tab-p); padding-inline-end: var(--tab-p); font-size: 0.875rem; display: inline-flex; position: relative; } &:hover { @media (hover: hover) { & { color: var(--color-base-content); } } } &:is(input[type="radio"]) { min-width: fit-content; &:after { --tw-content: attr(aria-label); content: var(--tw-content); } } &:is(label) { position: relative; & input { cursor: pointer; appearance: none; opacity: 0; position: absolute; inset: 0; } } &:checked, &:is(label:has(:checked)), &:is( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ) { & + .tab-content { display: block; } } &:not( :checked, label:has(:checked), :hover, .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ) { color: color-mix( in oklab, var(--color-base-content) 50%, transparent ); } &:not(input):empty { cursor: default; flex-grow: 1; } &:focus { --tw-outline-style: none; outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } &:focus-visible, &:is(label:has(:checked:focus-visible)) { outline-offset: -5px; outline: 2px solid; } &[disabled] { pointer-events: none; opacity: 0.4; } } } .xl\:tab-content { @layer daisyui.l1.l2.l3 { & { --tabcontent-radius-ss: var(--radius-box); --tabcontent-radius-se: var(--radius-box); --tabcontent-radius-es: var(--radius-box); --tabcontent-radius-ee: var(--radius-box); --tabcontent-order: 1; width: 100%; height: calc(100% - var(--tab-height) + var(--border)); margin: var(--tabcontent-margin); order: 1; order: var(--tabcontent-order); border-color: #0000; border-width: var(--border); border-start-start-radius: var(--tabcontent-radius-ss); border-start-end-radius: var(--tabcontent-radius-se); border-end-end-radius: var(--tabcontent-radius-ee); border-end-start-radius: var(--tabcontent-radius-es); display: none; } } } .xl\:tab-disabled { @layer daisyui.l1.l2 { & { pointer-events: none; opacity: 0.4; } } } .xl\:tabs-border { @layer daisyui.l1.l2 { & > .tab { --tab-border-color: #0000 #0000 var(--tab-border-color) #0000; border-radius: var(--radius-field); position: relative; &:before { content: ""; background-color: var(--tab-border-color); border-radius: var(--radius-field); width: 80%; height: 3px; transition: background-color 0.2s; position: absolute; bottom: 0; left: 10%; } &:is( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ):not(.tab-disabled, [disabled]), &:is(input:checked), &:is(label:has(:checked)) { &:before { --tab-border-color: currentColor; border-top: 3px solid; } } } } } .xl\:tabs-lift { @layer daisyui.l1.l2 { & { --tabs-height: auto; --tabs-direction: row; } & > .tab { --tab-border: 0 0 var(--border) 0; --tab-radius-ss: var(--tab-radius-limit); --tab-radius-se: var(--tab-radius-limit); --tab-radius-es: 0; --tab-radius-ee: 0; --tab-paddings: var(--border) var(--tab-p) 0 var(--tab-p); --tab-border-colors: #0000 #0000 var(--tab-border-color) #0000; --tab-corner-width: calc(100% + var(--tab-radius-limit) * 2); --tab-corner-height: var(--tab-radius-limit); --tab-corner-position: top left, top right; border-width: var(--tab-border); padding: var(--tab-paddings); border-color: var(--tab-border-colors); border-start-start-radius: var(--tab-radius-ss); border-start-end-radius: var(--tab-radius-se); border-end-end-radius: var(--tab-radius-ee); border-end-start-radius: var(--tab-radius-es); &:is( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ):not(.tab-disabled, [disabled]), &:is(input:checked, label:has(:checked)) { --tab-border: var(--border) var(--border) 0 var(--border); --tab-border-colors: var(--tab-border-color) var(--tab-border-color) #0000 var(--tab-border-color); --tab-paddings: 0 calc(var(--tab-p) - var(--border)) var(--border) calc(var(--tab-p) - var(--border)); --tab-inset: auto auto 0 auto; --radius-start: radial-gradient( circle at top left, var(--tab-radius-grad) ); --radius-end: radial-gradient( circle at top right, var(--tab-radius-grad) ); background-color: var(--tab-bg); &:before { z-index: 1; content: ""; width: var(--tab-corner-width); height: var(--tab-corner-height); background-position: var(--tab-corner-position); background-image: var(--radius-start), var(--radius-end); background-size: var(--tab-radius-limit) var(--tab-radius-limit); inset: var(--tab-inset); background-repeat: no-repeat; display: block; position: absolute; } &:first-child:before { --radius-start: none; } [dir="rtl"] &:first-child:before { transform: rotateY(180deg); } &:last-child:before { --radius-end: none; } [dir="rtl"] &:last-child:before { transform: rotateY(180deg); } } } &:has(> .tab-content) { & > .tab:first-child { &:not( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ) { --tab-border-colors: var(--tab-border-color) var(--tab-border-color) #0000 var(--tab-border-color); } } } & > .tab-content { --tabcontent-margin: calc(-1 * var(--border)) 0 0 0; --tabcontent-radius-ss: 0; --tabcontent-radius-se: var(--radius-box); --tabcontent-radius-es: var(--radius-box); --tabcontent-radius-ee: var(--radius-box); } & :checked, & label:has(:checked), & :is( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ) { & + .tab-content { &:first-child, &:nth-child(n + 3) { --tabcontent-radius-ss: var(--radius-box); } } } } } .xl\:tabs-top { @layer daisyui.l1.l2 { & { --tabs-height: auto; --tabs-direction: row; } & > .tab { --tab-order: 0; --tab-border: 0 0 var(--border) 0; --tab-radius-ss: var(--tab-radius-limit); --tab-radius-se: var(--tab-radius-limit); --tab-radius-es: 0; --tab-radius-ee: 0; --tab-paddings: var(--border) var(--tab-p) 0 var(--tab-p); --tab-border-colors: #0000 #0000 var(--tab-border-color) #0000; --tab-corner-width: calc(100% + var(--tab-radius-limit) * 2); --tab-corner-height: var(--tab-radius-limit); --tab-corner-position: top left, top right; &:is( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ):not(.tab-disabled, [disabled]), &:is(input:checked), &:is(label:has(:checked)) { --tab-border: var(--border) var(--border) 0 var(--border); --tab-border-colors: var(--tab-border-color) var(--tab-border-color) #0000 var(--tab-border-color); --tab-paddings: 0 calc(var(--tab-p) - var(--border)) var(--border) calc(var(--tab-p) - var(--border)); --tab-inset: auto auto 0 auto; --radius-start: radial-gradient( circle at top left, var(--tab-radius-grad) ); --radius-end: radial-gradient( circle at top right, var(--tab-radius-grad) ); } } &:has(> .tab-content) { & > .tab:first-child { &:not( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ) { --tab-border-colors: var(--tab-border-color) var(--tab-border-color) #0000 var(--tab-border-color); } } } & > .tab-content { --tabcontent-order: 1; --tabcontent-margin: calc(-1 * var(--border)) 0 0 0; --tabcontent-radius-ss: 0; --tabcontent-radius-se: var(--radius-box); --tabcontent-radius-es: var(--radius-box); --tabcontent-radius-ee: var(--radius-box); } & :checked, & label:has(:checked), & :is( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ) { & + .tab-content { &:first-child, &:nth-child(n + 3) { --tabcontent-radius-ss: var(--radius-box); } } } } } .xl\:tabs-bottom { @layer daisyui.l1.l2 { & { --tabs-height: auto; --tabs-direction: row; } & > .tab { --tab-order: 1; --tab-border: var(--border) 0 0 0; --tab-radius-ss: 0; --tab-radius-se: 0; --tab-radius-es: var(--tab-radius-limit); --tab-radius-ee: var(--tab-radius-limit); --tab-border-colors: var(--tab-border-color) #0000 #0000 #0000; --tab-paddings: 0 var(--tab-p) var(--border) var(--tab-p); --tab-corner-width: calc(100% + var(--tab-radius-limit) * 2); --tab-corner-height: var(--tab-radius-limit); --tab-corner-position: top left, top right; &:is( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ):not(.tab-disabled, [disabled]), &:is(input:checked), &:is(label:has(:checked)) { --tab-border: 0 var(--border) var(--border) var(--border); --tab-border-colors: #0000 var(--tab-border-color) var(--tab-border-color) var(--tab-border-color); --tab-paddings: var(--border) calc(var(--tab-p) - var(--border)) 0 calc(var(--tab-p) - var(--border)); --tab-inset: 0 auto auto auto; --radius-start: radial-gradient( circle at bottom left, var(--tab-radius-grad) ); --radius-end: radial-gradient( circle at bottom right, var(--tab-radius-grad) ); } } &:has(> .tab-content) { & > .tab:first-child { &:not( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ) { --tab-border-colors: #0000 var(--tab-border-color) var(--tab-border-color) var(--tab-border-color); } } } & > .tab-content { --tabcontent-order: 0; --tabcontent-margin: 0 0 calc(-1 * var(--border)) 0; --tabcontent-radius-ss: var(--radius-box); --tabcontent-radius-se: var(--radius-box); --tabcontent-radius-es: 0; --tabcontent-radius-ee: var(--radius-box); } & > :checked, & > :is(label:has(:checked)), & > :is( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ) { & + .tab-content:not(:nth-child(2)) { --tabcontent-radius-es: var(--radius-box); } } } } .xl\:tabs-box { @layer daisyui.l1.l2 { & { background-color: var(--color-base-200); --tabs-box-radius: calc(3 * var(--radius-field)); border-radius: calc( min(calc(var(--tab-height) / 2), var(--radius-field)) + min(0.25rem, var(--tabs-box-radius)) ); box-shadow: 0 -0.5px oklch(100% 0 0 / calc(var(--depth) * 0.1)) inset, 0 0.5px oklch(0% 0 0 / calc(var(--depth) * 0.05)) inset; padding: 0.25rem; } & > .tab { border-radius: var(--radius-field); border-style: none; &:focus-visible, &:is(label:has(:checked:focus-visible)) { outline-offset: 2px; } } & > :is( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ):not(.tab-disabled, [disabled]), & > :is(input:checked), & > :is(label:has(:checked)) { background-color: var(--tab-bg, var(--color-base-100)); box-shadow: 0 1px oklch(100% 0 0 / calc(var(--depth) * 0.1)) inset, 0 1px 1px -1px color-mix( in oklab, var(--color-neutral) calc(var(--depth) * 50%), #0000 ), 0 1px 6px -4px color-mix( in oklab, var(--color-neutral) calc(var(--depth) * 100%), #0000 ); @media (forced-colors: active) { & { border: 1px solid; } } } & > .tab-content { height: calc(100% - var(--tab-height) + var(--border) - 0.5rem); border-radius: calc( min(calc(var(--tab-height) / 2), var(--radius-field)) + min(0.25rem, var(--tabs-box-radius)) - var(--border) ); margin-top: 0.25rem; } } } .xl\:tabs-xs { @layer daisyui.l1.l2 { & { --tab-height: calc(var(--size-field, 0.25rem) * 6); } & > .tab { --tab-p: 0.375rem; --tab-radius-min: calc(0.5rem - var(--border)); font-size: 0.75rem; } } } .xl\:tabs-sm { @layer daisyui.l1.l2 { & { --tab-height: calc(var(--size-field, 0.25rem) * 8); } & > .tab { --tab-p: 0.5rem; --tab-radius-min: calc(0.5rem - var(--border)); font-size: 0.875rem; } } } .xl\:tabs-md { @layer daisyui.l1.l2 { & { --tab-height: calc(var(--size-field, 0.25rem) * 10); } & > .tab { --tab-p: 0.75rem; --tab-radius-min: calc(0.75rem - var(--border)); font-size: 0.875rem; } } } .xl\:tabs-lg { @layer daisyui.l1.l2 { & { --tab-height: calc(var(--size-field, 0.25rem) * 12); } & > .tab { --tab-p: 1rem; --tab-radius-min: calc(1.5rem - var(--border)); font-size: 1.125rem; } } } .xl\:tabs-xl { @layer daisyui.l1.l2 { & { --tab-height: calc(var(--size-field, 0.25rem) * 14); } & > .tab { --tab-p: 1.25rem; --tab-radius-min: calc(2rem - var(--border)); font-size: 1.125rem; } } } } @media (width>=1536px) { .\32 xl\:tabs { @layer daisyui.l1.l2.l3 { & { --tabs-height: auto; --tabs-direction: row; --tab-height: calc(var(--size-field, 0.25rem) * 10); height: var(--tabs-height); flex-wrap: wrap; flex-direction: var(--tabs-direction); display: flex; } } } .\32 xl\:tab { @layer daisyui.l1.l2.l3 { & { cursor: pointer; appearance: none; text-align: center; -webkit-user-select: none; user-select: none; --tab-p: 0.75rem; --tab-bg: var(--color-base-100); --tab-border-color: var(--color-base-300); --tab-radius-ss: 0; --tab-radius-se: 0; --tab-radius-es: 0; --tab-radius-ee: 0; --tab-order: 0; --tab-radius-min: calc(0.75rem - var(--border)); --tab-radius-limit: min(var(--radius-field), var(--tab-radius-min)); --tab-radius-grad: #0000 calc(69% - var(--border)), var(--tab-border-color) calc(calc(69% - var(--border)) + 0.25px), var(--tab-border-color) calc(calc(69% - var(--border)) + var(--border)), var(--tab-bg) calc(calc(69% - var(--border)) + var(--border) + 0.25px); flex-wrap: wrap; order: var(--tab-order); height: var(--tab-height); border-color: #0000; justify-content: center; align-items: center; padding-inline-start: var(--tab-p); padding-inline-end: var(--tab-p); font-size: 0.875rem; display: inline-flex; position: relative; } &:hover { @media (hover: hover) { & { color: var(--color-base-content); } } } &:is(input[type="radio"]) { min-width: fit-content; &:after { --tw-content: attr(aria-label); content: var(--tw-content); } } &:is(label) { position: relative; & input { cursor: pointer; appearance: none; opacity: 0; position: absolute; inset: 0; } } &:checked, &:is(label:has(:checked)), &:is( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ) { & + .tab-content { display: block; } } &:not( :checked, label:has(:checked), :hover, .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ) { color: color-mix( in oklab, var(--color-base-content) 50%, transparent ); } &:not(input):empty { cursor: default; flex-grow: 1; } &:focus { --tw-outline-style: none; outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } &:focus-visible, &:is(label:has(:checked:focus-visible)) { outline-offset: -5px; outline: 2px solid; } &[disabled] { pointer-events: none; opacity: 0.4; } } } .\32 xl\:tab-content { @layer daisyui.l1.l2.l3 { & { --tabcontent-radius-ss: var(--radius-box); --tabcontent-radius-se: var(--radius-box); --tabcontent-radius-es: var(--radius-box); --tabcontent-radius-ee: var(--radius-box); --tabcontent-order: 1; width: 100%; height: calc(100% - var(--tab-height) + var(--border)); margin: var(--tabcontent-margin); order: 1; order: var(--tabcontent-order); border-color: #0000; border-width: var(--border); border-start-start-radius: var(--tabcontent-radius-ss); border-start-end-radius: var(--tabcontent-radius-se); border-end-end-radius: var(--tabcontent-radius-ee); border-end-start-radius: var(--tabcontent-radius-es); display: none; } } } .\32 xl\:tab-disabled { @layer daisyui.l1.l2 { & { pointer-events: none; opacity: 0.4; } } } .\32 xl\:tabs-border { @layer daisyui.l1.l2 { & > .tab { --tab-border-color: #0000 #0000 var(--tab-border-color) #0000; border-radius: var(--radius-field); position: relative; &:before { content: ""; background-color: var(--tab-border-color); border-radius: var(--radius-field); width: 80%; height: 3px; transition: background-color 0.2s; position: absolute; bottom: 0; left: 10%; } &:is( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ):not(.tab-disabled, [disabled]), &:is(input:checked), &:is(label:has(:checked)) { &:before { --tab-border-color: currentColor; border-top: 3px solid; } } } } } .\32 xl\:tabs-lift { @layer daisyui.l1.l2 { & { --tabs-height: auto; --tabs-direction: row; } & > .tab { --tab-border: 0 0 var(--border) 0; --tab-radius-ss: var(--tab-radius-limit); --tab-radius-se: var(--tab-radius-limit); --tab-radius-es: 0; --tab-radius-ee: 0; --tab-paddings: var(--border) var(--tab-p) 0 var(--tab-p); --tab-border-colors: #0000 #0000 var(--tab-border-color) #0000; --tab-corner-width: calc(100% + var(--tab-radius-limit) * 2); --tab-corner-height: var(--tab-radius-limit); --tab-corner-position: top left, top right; border-width: var(--tab-border); padding: var(--tab-paddings); border-color: var(--tab-border-colors); border-start-start-radius: var(--tab-radius-ss); border-start-end-radius: var(--tab-radius-se); border-end-end-radius: var(--tab-radius-ee); border-end-start-radius: var(--tab-radius-es); &:is( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ):not(.tab-disabled, [disabled]), &:is(input:checked, label:has(:checked)) { --tab-border: var(--border) var(--border) 0 var(--border); --tab-border-colors: var(--tab-border-color) var(--tab-border-color) #0000 var(--tab-border-color); --tab-paddings: 0 calc(var(--tab-p) - var(--border)) var(--border) calc(var(--tab-p) - var(--border)); --tab-inset: auto auto 0 auto; --radius-start: radial-gradient( circle at top left, var(--tab-radius-grad) ); --radius-end: radial-gradient( circle at top right, var(--tab-radius-grad) ); background-color: var(--tab-bg); &:before { z-index: 1; content: ""; width: var(--tab-corner-width); height: var(--tab-corner-height); background-position: var(--tab-corner-position); background-image: var(--radius-start), var(--radius-end); background-size: var(--tab-radius-limit) var(--tab-radius-limit); inset: var(--tab-inset); background-repeat: no-repeat; display: block; position: absolute; } &:first-child:before { --radius-start: none; } [dir="rtl"] &:first-child:before { transform: rotateY(180deg); } &:last-child:before { --radius-end: none; } [dir="rtl"] &:last-child:before { transform: rotateY(180deg); } } } &:has(> .tab-content) { & > .tab:first-child { &:not( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ) { --tab-border-colors: var(--tab-border-color) var(--tab-border-color) #0000 var(--tab-border-color); } } } & > .tab-content { --tabcontent-margin: calc(-1 * var(--border)) 0 0 0; --tabcontent-radius-ss: 0; --tabcontent-radius-se: var(--radius-box); --tabcontent-radius-es: var(--radius-box); --tabcontent-radius-ee: var(--radius-box); } & :checked, & label:has(:checked), & :is( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ) { & + .tab-content { &:first-child, &:nth-child(n + 3) { --tabcontent-radius-ss: var(--radius-box); } } } } } .\32 xl\:tabs-top { @layer daisyui.l1.l2 { & { --tabs-height: auto; --tabs-direction: row; } & > .tab { --tab-order: 0; --tab-border: 0 0 var(--border) 0; --tab-radius-ss: var(--tab-radius-limit); --tab-radius-se: var(--tab-radius-limit); --tab-radius-es: 0; --tab-radius-ee: 0; --tab-paddings: var(--border) var(--tab-p) 0 var(--tab-p); --tab-border-colors: #0000 #0000 var(--tab-border-color) #0000; --tab-corner-width: calc(100% + var(--tab-radius-limit) * 2); --tab-corner-height: var(--tab-radius-limit); --tab-corner-position: top left, top right; &:is( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ):not(.tab-disabled, [disabled]), &:is(input:checked), &:is(label:has(:checked)) { --tab-border: var(--border) var(--border) 0 var(--border); --tab-border-colors: var(--tab-border-color) var(--tab-border-color) #0000 var(--tab-border-color); --tab-paddings: 0 calc(var(--tab-p) - var(--border)) var(--border) calc(var(--tab-p) - var(--border)); --tab-inset: auto auto 0 auto; --radius-start: radial-gradient( circle at top left, var(--tab-radius-grad) ); --radius-end: radial-gradient( circle at top right, var(--tab-radius-grad) ); } } &:has(> .tab-content) { & > .tab:first-child { &:not( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ) { --tab-border-colors: var(--tab-border-color) var(--tab-border-color) #0000 var(--tab-border-color); } } } & > .tab-content { --tabcontent-order: 1; --tabcontent-margin: calc(-1 * var(--border)) 0 0 0; --tabcontent-radius-ss: 0; --tabcontent-radius-se: var(--radius-box); --tabcontent-radius-es: var(--radius-box); --tabcontent-radius-ee: var(--radius-box); } & :checked, & label:has(:checked), & :is( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ) { & + .tab-content { &:first-child, &:nth-child(n + 3) { --tabcontent-radius-ss: var(--radius-box); } } } } } .\32 xl\:tabs-bottom { @layer daisyui.l1.l2 { & { --tabs-height: auto; --tabs-direction: row; } & > .tab { --tab-order: 1; --tab-border: var(--border) 0 0 0; --tab-radius-ss: 0; --tab-radius-se: 0; --tab-radius-es: var(--tab-radius-limit); --tab-radius-ee: var(--tab-radius-limit); --tab-border-colors: var(--tab-border-color) #0000 #0000 #0000; --tab-paddings: 0 var(--tab-p) var(--border) var(--tab-p); --tab-corner-width: calc(100% + var(--tab-radius-limit) * 2); --tab-corner-height: var(--tab-radius-limit); --tab-corner-position: top left, top right; &:is( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ):not(.tab-disabled, [disabled]), &:is(input:checked), &:is(label:has(:checked)) { --tab-border: 0 var(--border) var(--border) var(--border); --tab-border-colors: #0000 var(--tab-border-color) var(--tab-border-color) var(--tab-border-color); --tab-paddings: var(--border) calc(var(--tab-p) - var(--border)) 0 calc(var(--tab-p) - var(--border)); --tab-inset: 0 auto auto auto; --radius-start: radial-gradient( circle at bottom left, var(--tab-radius-grad) ); --radius-end: radial-gradient( circle at bottom right, var(--tab-radius-grad) ); } } &:has(> .tab-content) { & > .tab:first-child { &:not( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ) { --tab-border-colors: #0000 var(--tab-border-color) var(--tab-border-color) var(--tab-border-color); } } } & > .tab-content { --tabcontent-order: 0; --tabcontent-margin: 0 0 calc(-1 * var(--border)) 0; --tabcontent-radius-ss: var(--radius-box); --tabcontent-radius-se: var(--radius-box); --tabcontent-radius-es: 0; --tabcontent-radius-ee: var(--radius-box); } & > :checked, & > :is(label:has(:checked)), & > :is( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ) { & + .tab-content:not(:nth-child(2)) { --tabcontent-radius-es: var(--radius-box); } } } } .\32 xl\:tabs-box { @layer daisyui.l1.l2 { & { background-color: var(--color-base-200); --tabs-box-radius: calc(3 * var(--radius-field)); border-radius: calc( min(calc(var(--tab-height) / 2), var(--radius-field)) + min(0.25rem, var(--tabs-box-radius)) ); box-shadow: 0 -0.5px oklch(100% 0 0 / calc(var(--depth) * 0.1)) inset, 0 0.5px oklch(0% 0 0 / calc(var(--depth) * 0.05)) inset; padding: 0.25rem; } & > .tab { border-radius: var(--radius-field); border-style: none; &:focus-visible, &:is(label:has(:checked:focus-visible)) { outline-offset: 2px; } } & > :is( .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ):not(.tab-disabled, [disabled]), & > :is(input:checked), & > :is(label:has(:checked)) { background-color: var(--tab-bg, var(--color-base-100)); box-shadow: 0 1px oklch(100% 0 0 / calc(var(--depth) * 0.1)) inset, 0 1px 1px -1px color-mix( in oklab, var(--color-neutral) calc(var(--depth) * 50%), #0000 ), 0 1px 6px -4px color-mix( in oklab, var(--color-neutral) calc(var(--depth) * 100%), #0000 ); @media (forced-colors: active) { & { border: 1px solid; } } } & > .tab-content { height: calc(100% - var(--tab-height) + var(--border) - 0.5rem); border-radius: calc( min(calc(var(--tab-height) / 2), var(--radius-field)) + min(0.25rem, var(--tabs-box-radius)) - var(--border) ); margin-top: 0.25rem; } } } .\32 xl\:tabs-xs { @layer daisyui.l1.l2 { & { --tab-height: calc(var(--size-field, 0.25rem) * 6); } & > .tab { --tab-p: 0.375rem; --tab-radius-min: calc(0.5rem - var(--border)); font-size: 0.75rem; } } } .\32 xl\:tabs-sm { @layer daisyui.l1.l2 { & { --tab-height: calc(var(--size-field, 0.25rem) * 8); } & > .tab { --tab-p: 0.5rem; --tab-radius-min: calc(0.5rem - var(--border)); font-size: 0.875rem; } } } .\32 xl\:tabs-md { @layer daisyui.l1.l2 { & { --tab-height: calc(var(--size-field, 0.25rem) * 10); } & > .tab { --tab-p: 0.75rem; --tab-radius-min: calc(0.75rem - var(--border)); font-size: 0.875rem; } } } .\32 xl\:tabs-lg { @layer daisyui.l1.l2 { & { --tab-height: calc(var(--size-field, 0.25rem) * 12); } & > .tab { --tab-p: 1rem; --tab-radius-min: calc(1.5rem - var(--border)); font-size: 1.125rem; } } } .\32 xl\:tabs-xl { @layer daisyui.l1.l2 { & { --tab-height: calc(var(--size-field, 0.25rem) * 14); } & > .tab { --tab-p: 1.25rem; --tab-radius-min: calc(2rem - var(--border)); font-size: 1.125rem; } } } } .checkbox { @layer daisyui.l1.l2.l3 { & { border: var(--border) solid var( --input-color, color-mix(in oklab, var(--color-base-content) 20%, #0000) ); cursor: pointer; appearance: none; border-radius: var(--radius-selector); 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; --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); flex-shrink: 0; padding: 0.25rem; transition: background-color 0.2s, box-shadow 0.2s; display: inline-block; position: relative; } &:before { --tw-content: ""; content: var(--tw-content); opacity: 0; clip-path: polygon( 20% 100%, 20% 80%, 50% 80%, 50% 80%, 70% 80%, 70% 100% ); width: 100%; height: 100%; box-shadow: 0px 3px 0 0px oklch(100% 0 0 / calc(var(--depth) * 0.1)) inset; background-color: currentColor; font-size: 1rem; line-height: 0.75; transition: clip-path 0.3s 0.1s, opacity 0.1s 0.1s, rotate 0.3s 0.1s, translate 0.3s 0.1s; display: block; rotate: 45deg; } &: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: 1; } @media (forced-colors: active) { &:before { --tw-content: "✔︎"; clip-path: none; background-color: #0000; rotate: none; } } @media print { &:before { --tw-content: "✔︎"; clip-path: none; background-color: #0000; rotate: none; } } } &:indeterminate { background-color: var( --input-color, color-mix(in oklab, var(--color-base-content) 20%, #0000) ); &:before { opacity: 1; clip-path: polygon( 20% 100%, 20% 80%, 50% 80%, 50% 80%, 80% 80%, 80% 100% ); translate: 0 -35%; rotate: none; } } } } .checkbox-primary { @layer daisyui.l1.l2 { & { color: var(--color-primary-content); --input-color: var(--color-primary); } } } .checkbox-secondary { @layer daisyui.l1.l2 { & { color: var(--color-secondary-content); --input-color: var(--color-secondary); } } } .checkbox-accent { @layer daisyui.l1.l2 { & { color: var(--color-accent-content); --input-color: var(--color-accent); } } } .checkbox-neutral { @layer daisyui.l1.l2 { & { color: var(--color-neutral-content); --input-color: var(--color-neutral); } } } .checkbox-info { @layer daisyui.l1.l2 { & { color: var(--color-info-content); --input-color: var(--color-info); } } } .checkbox-success { @layer daisyui.l1.l2 { & { color: var(--color-success-content); --input-color: var(--color-success); } } } .checkbox-warning { @layer daisyui.l1.l2 { & { color: var(--color-warning-content); --input-color: var(--color-warning); } } } .checkbox-error { @layer daisyui.l1.l2 { & { color: var(--color-error-content); --input-color: var(--color-error); } } } .checkbox:disabled { @layer daisyui.l1.l2 { & { cursor: not-allowed; opacity: 0.2; } } } .checkbox-xs { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 4); padding: 0.125rem; } } } .checkbox-sm { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 5); padding: 0.1875rem; } } } .checkbox-md { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 6); padding: 0.25rem; } } } .checkbox-lg { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 7); padding: 0.3125rem; } } } .checkbox-xl { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 8); padding: 0.375rem; } } } @media (width>=640px) { .sm\:checkbox { @layer daisyui.l1.l2.l3 { & { border: var(--border) solid var( --input-color, color-mix(in oklab, var(--color-base-content) 20%, #0000) ); cursor: pointer; appearance: none; border-radius: var(--radius-selector); 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; --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); flex-shrink: 0; padding: 0.25rem; transition: background-color 0.2s, box-shadow 0.2s; display: inline-block; position: relative; } &:before { --tw-content: ""; content: var(--tw-content); opacity: 0; clip-path: polygon( 20% 100%, 20% 80%, 50% 80%, 50% 80%, 70% 80%, 70% 100% ); width: 100%; height: 100%; box-shadow: 0px 3px 0 0px oklch(100% 0 0 / calc(var(--depth) * 0.1)) inset; background-color: currentColor; font-size: 1rem; line-height: 0.75; transition: clip-path 0.3s 0.1s, opacity 0.1s 0.1s, rotate 0.3s 0.1s, translate 0.3s 0.1s; display: block; rotate: 45deg; } &: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: 1; } @media (forced-colors: active) { &:before { --tw-content: "✔︎"; clip-path: none; background-color: #0000; rotate: none; } } @media print { &:before { --tw-content: "✔︎"; clip-path: none; background-color: #0000; rotate: none; } } } &:indeterminate { background-color: var( --input-color, color-mix(in oklab, var(--color-base-content) 20%, #0000) ); &:before { opacity: 1; clip-path: polygon( 20% 100%, 20% 80%, 50% 80%, 50% 80%, 80% 80%, 80% 100% ); translate: 0 -35%; rotate: none; } } } } .sm\:checkbox-primary { @layer daisyui.l1.l2 { & { color: var(--color-primary-content); --input-color: var(--color-primary); } } } .sm\:checkbox-secondary { @layer daisyui.l1.l2 { & { color: var(--color-secondary-content); --input-color: var(--color-secondary); } } } .sm\:checkbox-accent { @layer daisyui.l1.l2 { & { color: var(--color-accent-content); --input-color: var(--color-accent); } } } .sm\:checkbox-neutral { @layer daisyui.l1.l2 { & { color: var(--color-neutral-content); --input-color: var(--color-neutral); } } } .sm\:checkbox-info { @layer daisyui.l1.l2 { & { color: var(--color-info-content); --input-color: var(--color-info); } } } .sm\:checkbox-success { @layer daisyui.l1.l2 { & { color: var(--color-success-content); --input-color: var(--color-success); } } } .sm\:checkbox-warning { @layer daisyui.l1.l2 { & { color: var(--color-warning-content); --input-color: var(--color-warning); } } } .sm\:checkbox-error { @layer daisyui.l1.l2 { & { color: var(--color-error-content); --input-color: var(--color-error); } } } .sm\:checkbox:disabled { @layer daisyui.l1.l2 { & { cursor: not-allowed; opacity: 0.2; } } } .sm\:checkbox-xs { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 4); padding: 0.125rem; } } } .sm\:checkbox-sm { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 5); padding: 0.1875rem; } } } .sm\:checkbox-md { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 6); padding: 0.25rem; } } } .sm\:checkbox-lg { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 7); padding: 0.3125rem; } } } .sm\:checkbox-xl { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 8); padding: 0.375rem; } } } } @media (width>=768px) { .md\:checkbox { @layer daisyui.l1.l2.l3 { & { border: var(--border) solid var( --input-color, color-mix(in oklab, var(--color-base-content) 20%, #0000) ); cursor: pointer; appearance: none; border-radius: var(--radius-selector); 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; --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); flex-shrink: 0; padding: 0.25rem; transition: background-color 0.2s, box-shadow 0.2s; display: inline-block; position: relative; } &:before { --tw-content: ""; content: var(--tw-content); opacity: 0; clip-path: polygon( 20% 100%, 20% 80%, 50% 80%, 50% 80%, 70% 80%, 70% 100% ); width: 100%; height: 100%; box-shadow: 0px 3px 0 0px oklch(100% 0 0 / calc(var(--depth) * 0.1)) inset; background-color: currentColor; font-size: 1rem; line-height: 0.75; transition: clip-path 0.3s 0.1s, opacity 0.1s 0.1s, rotate 0.3s 0.1s, translate 0.3s 0.1s; display: block; rotate: 45deg; } &: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: 1; } @media (forced-colors: active) { &:before { --tw-content: "✔︎"; clip-path: none; background-color: #0000; rotate: none; } } @media print { &:before { --tw-content: "✔︎"; clip-path: none; background-color: #0000; rotate: none; } } } &:indeterminate { background-color: var( --input-color, color-mix(in oklab, var(--color-base-content) 20%, #0000) ); &:before { opacity: 1; clip-path: polygon( 20% 100%, 20% 80%, 50% 80%, 50% 80%, 80% 80%, 80% 100% ); translate: 0 -35%; rotate: none; } } } } .md\:checkbox-primary { @layer daisyui.l1.l2 { & { color: var(--color-primary-content); --input-color: var(--color-primary); } } } .md\:checkbox-secondary { @layer daisyui.l1.l2 { & { color: var(--color-secondary-content); --input-color: var(--color-secondary); } } } .md\:checkbox-accent { @layer daisyui.l1.l2 { & { color: var(--color-accent-content); --input-color: var(--color-accent); } } } .md\:checkbox-neutral { @layer daisyui.l1.l2 { & { color: var(--color-neutral-content); --input-color: var(--color-neutral); } } } .md\:checkbox-info { @layer daisyui.l1.l2 { & { color: var(--color-info-content); --input-color: var(--color-info); } } } .md\:checkbox-success { @layer daisyui.l1.l2 { & { color: var(--color-success-content); --input-color: var(--color-success); } } } .md\:checkbox-warning { @layer daisyui.l1.l2 { & { color: var(--color-warning-content); --input-color: var(--color-warning); } } } .md\:checkbox-error { @layer daisyui.l1.l2 { & { color: var(--color-error-content); --input-color: var(--color-error); } } } .md\:checkbox:disabled { @layer daisyui.l1.l2 { & { cursor: not-allowed; opacity: 0.2; } } } .md\:checkbox-xs { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 4); padding: 0.125rem; } } } .md\:checkbox-sm { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 5); padding: 0.1875rem; } } } .md\:checkbox-md { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 6); padding: 0.25rem; } } } .md\:checkbox-lg { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 7); padding: 0.3125rem; } } } .md\:checkbox-xl { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 8); padding: 0.375rem; } } } } @media (width>=1024px) { .lg\:checkbox { @layer daisyui.l1.l2.l3 { & { border: var(--border) solid var( --input-color, color-mix(in oklab, var(--color-base-content) 20%, #0000) ); cursor: pointer; appearance: none; border-radius: var(--radius-selector); 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; --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); flex-shrink: 0; padding: 0.25rem; transition: background-color 0.2s, box-shadow 0.2s; display: inline-block; position: relative; } &:before { --tw-content: ""; content: var(--tw-content); opacity: 0; clip-path: polygon( 20% 100%, 20% 80%, 50% 80%, 50% 80%, 70% 80%, 70% 100% ); width: 100%; height: 100%; box-shadow: 0px 3px 0 0px oklch(100% 0 0 / calc(var(--depth) * 0.1)) inset; background-color: currentColor; font-size: 1rem; line-height: 0.75; transition: clip-path 0.3s 0.1s, opacity 0.1s 0.1s, rotate 0.3s 0.1s, translate 0.3s 0.1s; display: block; rotate: 45deg; } &: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: 1; } @media (forced-colors: active) { &:before { --tw-content: "✔︎"; clip-path: none; background-color: #0000; rotate: none; } } @media print { &:before { --tw-content: "✔︎"; clip-path: none; background-color: #0000; rotate: none; } } } &:indeterminate { background-color: var( --input-color, color-mix(in oklab, var(--color-base-content) 20%, #0000) ); &:before { opacity: 1; clip-path: polygon( 20% 100%, 20% 80%, 50% 80%, 50% 80%, 80% 80%, 80% 100% ); translate: 0 -35%; rotate: none; } } } } .lg\:checkbox-primary { @layer daisyui.l1.l2 { & { color: var(--color-primary-content); --input-color: var(--color-primary); } } } .lg\:checkbox-secondary { @layer daisyui.l1.l2 { & { color: var(--color-secondary-content); --input-color: var(--color-secondary); } } } .lg\:checkbox-accent { @layer daisyui.l1.l2 { & { color: var(--color-accent-content); --input-color: var(--color-accent); } } } .lg\:checkbox-neutral { @layer daisyui.l1.l2 { & { color: var(--color-neutral-content); --input-color: var(--color-neutral); } } } .lg\:checkbox-info { @layer daisyui.l1.l2 { & { color: var(--color-info-content); --input-color: var(--color-info); } } } .lg\:checkbox-success { @layer daisyui.l1.l2 { & { color: var(--color-success-content); --input-color: var(--color-success); } } } .lg\:checkbox-warning { @layer daisyui.l1.l2 { & { color: var(--color-warning-content); --input-color: var(--color-warning); } } } .lg\:checkbox-error { @layer daisyui.l1.l2 { & { color: var(--color-error-content); --input-color: var(--color-error); } } } .lg\:checkbox:disabled { @layer daisyui.l1.l2 { & { cursor: not-allowed; opacity: 0.2; } } } .lg\:checkbox-xs { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 4); padding: 0.125rem; } } } .lg\:checkbox-sm { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 5); padding: 0.1875rem; } } } .lg\:checkbox-md { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 6); padding: 0.25rem; } } } .lg\:checkbox-lg { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 7); padding: 0.3125rem; } } } .lg\:checkbox-xl { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 8); padding: 0.375rem; } } } } @media (width>=1280px) { .xl\:checkbox { @layer daisyui.l1.l2.l3 { & { border: var(--border) solid var( --input-color, color-mix(in oklab, var(--color-base-content) 20%, #0000) ); cursor: pointer; appearance: none; border-radius: var(--radius-selector); 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; --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); flex-shrink: 0; padding: 0.25rem; transition: background-color 0.2s, box-shadow 0.2s; display: inline-block; position: relative; } &:before { --tw-content: ""; content: var(--tw-content); opacity: 0; clip-path: polygon( 20% 100%, 20% 80%, 50% 80%, 50% 80%, 70% 80%, 70% 100% ); width: 100%; height: 100%; box-shadow: 0px 3px 0 0px oklch(100% 0 0 / calc(var(--depth) * 0.1)) inset; background-color: currentColor; font-size: 1rem; line-height: 0.75; transition: clip-path 0.3s 0.1s, opacity 0.1s 0.1s, rotate 0.3s 0.1s, translate 0.3s 0.1s; display: block; rotate: 45deg; } &: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: 1; } @media (forced-colors: active) { &:before { --tw-content: "✔︎"; clip-path: none; background-color: #0000; rotate: none; } } @media print { &:before { --tw-content: "✔︎"; clip-path: none; background-color: #0000; rotate: none; } } } &:indeterminate { background-color: var( --input-color, color-mix(in oklab, var(--color-base-content) 20%, #0000) ); &:before { opacity: 1; clip-path: polygon( 20% 100%, 20% 80%, 50% 80%, 50% 80%, 80% 80%, 80% 100% ); translate: 0 -35%; rotate: none; } } } } .xl\:checkbox-primary { @layer daisyui.l1.l2 { & { color: var(--color-primary-content); --input-color: var(--color-primary); } } } .xl\:checkbox-secondary { @layer daisyui.l1.l2 { & { color: var(--color-secondary-content); --input-color: var(--color-secondary); } } } .xl\:checkbox-accent { @layer daisyui.l1.l2 { & { color: var(--color-accent-content); --input-color: var(--color-accent); } } } .xl\:checkbox-neutral { @layer daisyui.l1.l2 { & { color: var(--color-neutral-content); --input-color: var(--color-neutral); } } } .xl\:checkbox-info { @layer daisyui.l1.l2 { & { color: var(--color-info-content); --input-color: var(--color-info); } } } .xl\:checkbox-success { @layer daisyui.l1.l2 { & { color: var(--color-success-content); --input-color: var(--color-success); } } } .xl\:checkbox-warning { @layer daisyui.l1.l2 { & { color: var(--color-warning-content); --input-color: var(--color-warning); } } } .xl\:checkbox-error { @layer daisyui.l1.l2 { & { color: var(--color-error-content); --input-color: var(--color-error); } } } .xl\:checkbox:disabled { @layer daisyui.l1.l2 { & { cursor: not-allowed; opacity: 0.2; } } } .xl\:checkbox-xs { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 4); padding: 0.125rem; } } } .xl\:checkbox-sm { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 5); padding: 0.1875rem; } } } .xl\:checkbox-md { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 6); padding: 0.25rem; } } } .xl\:checkbox-lg { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 7); padding: 0.3125rem; } } } .xl\:checkbox-xl { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 8); padding: 0.375rem; } } } } @media (width>=1536px) { .\32 xl\:checkbox { @layer daisyui.l1.l2.l3 { & { border: var(--border) solid var( --input-color, color-mix(in oklab, var(--color-base-content) 20%, #0000) ); cursor: pointer; appearance: none; border-radius: var(--radius-selector); 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; --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); flex-shrink: 0; padding: 0.25rem; transition: background-color 0.2s, box-shadow 0.2s; display: inline-block; position: relative; } &:before { --tw-content: ""; content: var(--tw-content); opacity: 0; clip-path: polygon( 20% 100%, 20% 80%, 50% 80%, 50% 80%, 70% 80%, 70% 100% ); width: 100%; height: 100%; box-shadow: 0px 3px 0 0px oklch(100% 0 0 / calc(var(--depth) * 0.1)) inset; background-color: currentColor; font-size: 1rem; line-height: 0.75; transition: clip-path 0.3s 0.1s, opacity 0.1s 0.1s, rotate 0.3s 0.1s, translate 0.3s 0.1s; display: block; rotate: 45deg; } &: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: 1; } @media (forced-colors: active) { &:before { --tw-content: "✔︎"; clip-path: none; background-color: #0000; rotate: none; } } @media print { &:before { --tw-content: "✔︎"; clip-path: none; background-color: #0000; rotate: none; } } } &:indeterminate { background-color: var( --input-color, color-mix(in oklab, var(--color-base-content) 20%, #0000) ); &:before { opacity: 1; clip-path: polygon( 20% 100%, 20% 80%, 50% 80%, 50% 80%, 80% 80%, 80% 100% ); translate: 0 -35%; rotate: none; } } } } .\32 xl\:checkbox-primary { @layer daisyui.l1.l2 { & { color: var(--color-primary-content); --input-color: var(--color-primary); } } } .\32 xl\:checkbox-secondary { @layer daisyui.l1.l2 { & { color: var(--color-secondary-content); --input-color: var(--color-secondary); } } } .\32 xl\:checkbox-accent { @layer daisyui.l1.l2 { & { color: var(--color-accent-content); --input-color: var(--color-accent); } } } .\32 xl\:checkbox-neutral { @layer daisyui.l1.l2 { & { color: var(--color-neutral-content); --input-color: var(--color-neutral); } } } .\32 xl\:checkbox-info { @layer daisyui.l1.l2 { & { color: var(--color-info-content); --input-color: var(--color-info); } } } .\32 xl\:checkbox-success { @layer daisyui.l1.l2 { & { color: var(--color-success-content); --input-color: var(--color-success); } } } .\32 xl\:checkbox-warning { @layer daisyui.l1.l2 { & { color: var(--color-warning-content); --input-color: var(--color-warning); } } } .\32 xl\:checkbox-error { @layer daisyui.l1.l2 { & { color: var(--color-error-content); --input-color: var(--color-error); } } } .\32 xl\:checkbox:disabled { @layer daisyui.l1.l2 { & { cursor: not-allowed; opacity: 0.2; } } } .\32 xl\:checkbox-xs { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 4); padding: 0.125rem; } } } .\32 xl\:checkbox-sm { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 5); padding: 0.1875rem; } } } .\32 xl\:checkbox-md { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 6); padding: 0.25rem; } } } .\32 xl\:checkbox-lg { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 7); padding: 0.3125rem; } } } .\32 xl\:checkbox-xl { @layer daisyui.l1.l2 { & { --size: calc(var(--size-selector, 0.25rem) * 8); padding: 0.375rem; } } } } .select { @layer daisyui.l1.l2.l3 { & { border: var(--border) solid #0000; appearance: none; background-color: var(--color-base-100); vertical-align: middle; width: clamp(3rem, 20rem, 100%); height: var(--size); touch-action: manipulation; white-space: nowrap; 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); 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-repeat: no-repeat; background-size: 4px 4px, 4px 4px; border-start-start-radius: var(--join-ss, var(--radius-field)); border-start-end-radius: var(--join-se, var(--radius-field)); border-end-end-radius: var(--join-ee, var(--radius-field)); border-end-start-radius: var(--join-es, var(--radius-field)); flex-shrink: 1; align-items: center; gap: 0.375rem; padding-inline: 0.75rem 1.75rem; font-size: 0.875rem; display: inline-flex; position: relative; overflow: hidden; } [dir="rtl"] & { background-position: 12px calc(1px + 50%), 16px calc(1px + 50%); } &[multiple] { background-image: none; height: auto; padding-block: 0.75rem; padding-inline-end: 0.75rem; overflow: auto; } & select { appearance: none; width: calc(100% + 2.75rem); height: calc(100% - calc(var(--border) * 2)); background: inherit; border-radius: inherit; border-style: none; align-items: center; margin-inline: -0.75rem -1.75rem; padding-inline: 0.75rem 1.75rem; &:focus, &:focus-within { --tw-outline-style: none; outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } &:not(:last-child) { background-image: none; margin-inline-end: -1.375rem; } } &: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; z-index: 1; } &:has(> select[disabled]), &:is(:disabled, [disabled]), fieldset: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; } &, & select { @supports (appearance: base-select) { & { appearance: base-select; } } &::picker(select) { color: inherit; border: var(--border) solid var(--color-base-200); border-radius: var(--radius-box); background-color: inherit; max-height: min(24rem, 70dvh); box-shadow: 0 2px calc(var(--depth) * 3px)-2px oklch(0% 0 0/0.2); box-shadow: 0 20px 25px -5px rgb(0 0 0 / calc(var(--depth) * 0.1)), 0 8px 10px -6px rgb(0 0 0 / calc(var(--depth) * 0.1)); margin-block: 0.5rem; margin-inline: 0.5rem; padding: 0.5rem; translate: -0.5rem; } @supports (appearance: base-select) { &::picker(select) { appearance: base-select; } } &::picker-icon { display: none; } & optgroup { padding-top: 0.5em; & option { &:first-child { margin-top: 0.5em; } } } & option { border-radius: var(--radius-field); white-space: normal; padding-block: 0.375rem; padding-inline: 0.75rem; transition-property: color, background-color; transition-duration: 0.2s; transition-timing-function: cubic-bezier(0, 0, 0.2, 1); &:not(:disabled) { &:hover, &:focus-visible { 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-offset: 2px; outline: 2px solid #0000; } } } &:active { background-color: var(--color-neutral); color: var(--color-neutral-content); box-shadow: 0 2px calc(var(--depth) * 3px)-2px var(--color-neutral); } } } } [dir="rtl"] & { &::picker(select), & select::picker(select) { translate: 0.5rem; } } } } .select-ghost { @layer daisyui.l1.l2 { & { box-shadow: none; background-color: #0000; border-color: #0000; transition: background-color 0.2s; } &:focus, &:focus-within { background-color: var(--color-base-100); color: var(--color-base-content); box-shadow: none; border-color: #0000; } } } .select-neutral { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-neutral); } } } .select-primary { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-primary); } } } .select-secondary { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-secondary); } } } .select-accent { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-accent); } } } .select-info { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-info); } } } .select-success { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-success); } } } .select-warning { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-warning); } } } .select-error { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-error); } } } .select-xs { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 6); font-size: 0.6875rem; } & option { padding-block: 0.25rem; padding-inline: 0.5rem; } } } .select-sm { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 8); font-size: 0.75rem; } & option { padding-block: 0.25rem; padding-inline: 0.625rem; } } } .select-md { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 10); font-size: 0.875rem; } & option { padding-block: 0.375rem; padding-inline: 0.75rem; } } } .select-lg { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 12); font-size: 1.125rem; } & option { padding-block: 0.375rem; padding-inline: 1rem; } } } .select-xl { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 14); font-size: 1.375rem; } & option { padding-block: 0.375rem; padding-inline: 1.25rem; } } } @media (width>=640px) { .sm\:select { @layer daisyui.l1.l2.l3 { & { border: var(--border) solid #0000; appearance: none; background-color: var(--color-base-100); vertical-align: middle; width: clamp(3rem, 20rem, 100%); height: var(--size); touch-action: manipulation; white-space: nowrap; 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); 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-repeat: no-repeat; background-size: 4px 4px, 4px 4px; border-start-start-radius: var(--join-ss, var(--radius-field)); border-start-end-radius: var(--join-se, var(--radius-field)); border-end-end-radius: var(--join-ee, var(--radius-field)); border-end-start-radius: var(--join-es, var(--radius-field)); flex-shrink: 1; align-items: center; gap: 0.375rem; padding-inline: 0.75rem 1.75rem; font-size: 0.875rem; display: inline-flex; position: relative; overflow: hidden; } [dir="rtl"] & { background-position: 12px calc(1px + 50%), 16px calc(1px + 50%); } &[multiple] { background-image: none; height: auto; padding-block: 0.75rem; padding-inline-end: 0.75rem; overflow: auto; } & select { appearance: none; width: calc(100% + 2.75rem); height: calc(100% - calc(var(--border) * 2)); background: inherit; border-radius: inherit; border-style: none; align-items: center; margin-inline: -0.75rem -1.75rem; padding-inline: 0.75rem 1.75rem; &:focus, &:focus-within { --tw-outline-style: none; outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } &:not(:last-child) { background-image: none; margin-inline-end: -1.375rem; } } &: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; z-index: 1; } &:has(> select[disabled]), &:is(:disabled, [disabled]), fieldset: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; } &, & select { @supports (appearance: base-select) { & { appearance: base-select; } } &::picker(select) { color: inherit; border: var(--border) solid var(--color-base-200); border-radius: var(--radius-box); background-color: inherit; max-height: min(24rem, 70dvh); box-shadow: 0 2px calc(var(--depth) * 3px)-2px oklch(0% 0 0/0.2); box-shadow: 0 20px 25px -5px rgb(0 0 0 / calc(var(--depth) * 0.1)), 0 8px 10px -6px rgb(0 0 0 / calc(var(--depth) * 0.1)); margin-block: 0.5rem; margin-inline: 0.5rem; padding: 0.5rem; translate: -0.5rem; } @supports (appearance: base-select) { &::picker(select) { appearance: base-select; } } &::picker-icon { display: none; } & optgroup { padding-top: 0.5em; & option { &:first-child { margin-top: 0.5em; } } } & option { border-radius: var(--radius-field); white-space: normal; padding-block: 0.375rem; padding-inline: 0.75rem; transition-property: color, background-color; transition-duration: 0.2s; transition-timing-function: cubic-bezier(0, 0, 0.2, 1); &:not(:disabled) { &:hover, &:focus-visible { 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-offset: 2px; outline: 2px solid #0000; } } } &:active { background-color: var(--color-neutral); color: var(--color-neutral-content); box-shadow: 0 2px calc(var(--depth) * 3px)-2px var(--color-neutral); } } } } [dir="rtl"] & { &::picker(select), & select::picker(select) { translate: 0.5rem; } } } } .sm\:select-ghost { @layer daisyui.l1.l2 { & { box-shadow: none; background-color: #0000; border-color: #0000; transition: background-color 0.2s; } &:focus, &:focus-within { background-color: var(--color-base-100); color: var(--color-base-content); box-shadow: none; border-color: #0000; } } } .sm\:select-neutral { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-neutral); } } } .sm\:select-primary { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-primary); } } } .sm\:select-secondary { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-secondary); } } } .sm\:select-accent { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-accent); } } } .sm\:select-info { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-info); } } } .sm\:select-success { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-success); } } } .sm\:select-warning { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-warning); } } } .sm\:select-error { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-error); } } } .sm\:select-xs { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 6); font-size: 0.6875rem; } & option { padding-block: 0.25rem; padding-inline: 0.5rem; } } } .sm\:select-sm { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 8); font-size: 0.75rem; } & option { padding-block: 0.25rem; padding-inline: 0.625rem; } } } .sm\:select-md { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 10); font-size: 0.875rem; } & option { padding-block: 0.375rem; padding-inline: 0.75rem; } } } .sm\:select-lg { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 12); font-size: 1.125rem; } & option { padding-block: 0.375rem; padding-inline: 1rem; } } } .sm\:select-xl { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 14); font-size: 1.375rem; } & option { padding-block: 0.375rem; padding-inline: 1.25rem; } } } } @media (width>=768px) { .md\:select { @layer daisyui.l1.l2.l3 { & { border: var(--border) solid #0000; appearance: none; background-color: var(--color-base-100); vertical-align: middle; width: clamp(3rem, 20rem, 100%); height: var(--size); touch-action: manipulation; white-space: nowrap; 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); 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-repeat: no-repeat; background-size: 4px 4px, 4px 4px; border-start-start-radius: var(--join-ss, var(--radius-field)); border-start-end-radius: var(--join-se, var(--radius-field)); border-end-end-radius: var(--join-ee, var(--radius-field)); border-end-start-radius: var(--join-es, var(--radius-field)); flex-shrink: 1; align-items: center; gap: 0.375rem; padding-inline: 0.75rem 1.75rem; font-size: 0.875rem; display: inline-flex; position: relative; overflow: hidden; } [dir="rtl"] & { background-position: 12px calc(1px + 50%), 16px calc(1px + 50%); } &[multiple] { background-image: none; height: auto; padding-block: 0.75rem; padding-inline-end: 0.75rem; overflow: auto; } & select { appearance: none; width: calc(100% + 2.75rem); height: calc(100% - calc(var(--border) * 2)); background: inherit; border-radius: inherit; border-style: none; align-items: center; margin-inline: -0.75rem -1.75rem; padding-inline: 0.75rem 1.75rem; &:focus, &:focus-within { --tw-outline-style: none; outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } &:not(:last-child) { background-image: none; margin-inline-end: -1.375rem; } } &: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; z-index: 1; } &:has(> select[disabled]), &:is(:disabled, [disabled]), fieldset: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; } &, & select { @supports (appearance: base-select) { & { appearance: base-select; } } &::picker(select) { color: inherit; border: var(--border) solid var(--color-base-200); border-radius: var(--radius-box); background-color: inherit; max-height: min(24rem, 70dvh); box-shadow: 0 2px calc(var(--depth) * 3px)-2px oklch(0% 0 0/0.2); box-shadow: 0 20px 25px -5px rgb(0 0 0 / calc(var(--depth) * 0.1)), 0 8px 10px -6px rgb(0 0 0 / calc(var(--depth) * 0.1)); margin-block: 0.5rem; margin-inline: 0.5rem; padding: 0.5rem; translate: -0.5rem; } @supports (appearance: base-select) { &::picker(select) { appearance: base-select; } } &::picker-icon { display: none; } & optgroup { padding-top: 0.5em; & option { &:first-child { margin-top: 0.5em; } } } & option { border-radius: var(--radius-field); white-space: normal; padding-block: 0.375rem; padding-inline: 0.75rem; transition-property: color, background-color; transition-duration: 0.2s; transition-timing-function: cubic-bezier(0, 0, 0.2, 1); &:not(:disabled) { &:hover, &:focus-visible { 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-offset: 2px; outline: 2px solid #0000; } } } &:active { background-color: var(--color-neutral); color: var(--color-neutral-content); box-shadow: 0 2px calc(var(--depth) * 3px)-2px var(--color-neutral); } } } } [dir="rtl"] & { &::picker(select), & select::picker(select) { translate: 0.5rem; } } } } .md\:select-ghost { @layer daisyui.l1.l2 { & { box-shadow: none; background-color: #0000; border-color: #0000; transition: background-color 0.2s; } &:focus, &:focus-within { background-color: var(--color-base-100); color: var(--color-base-content); box-shadow: none; border-color: #0000; } } } .md\:select-neutral { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-neutral); } } } .md\:select-primary { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-primary); } } } .md\:select-secondary { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-secondary); } } } .md\:select-accent { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-accent); } } } .md\:select-info { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-info); } } } .md\:select-success { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-success); } } } .md\:select-warning { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-warning); } } } .md\:select-error { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-error); } } } .md\:select-xs { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 6); font-size: 0.6875rem; } & option { padding-block: 0.25rem; padding-inline: 0.5rem; } } } .md\:select-sm { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 8); font-size: 0.75rem; } & option { padding-block: 0.25rem; padding-inline: 0.625rem; } } } .md\:select-md { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 10); font-size: 0.875rem; } & option { padding-block: 0.375rem; padding-inline: 0.75rem; } } } .md\:select-lg { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 12); font-size: 1.125rem; } & option { padding-block: 0.375rem; padding-inline: 1rem; } } } .md\:select-xl { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 14); font-size: 1.375rem; } & option { padding-block: 0.375rem; padding-inline: 1.25rem; } } } } @media (width>=1024px) { .lg\:select { @layer daisyui.l1.l2.l3 { & { border: var(--border) solid #0000; appearance: none; background-color: var(--color-base-100); vertical-align: middle; width: clamp(3rem, 20rem, 100%); height: var(--size); touch-action: manipulation; white-space: nowrap; 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); 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-repeat: no-repeat; background-size: 4px 4px, 4px 4px; border-start-start-radius: var(--join-ss, var(--radius-field)); border-start-end-radius: var(--join-se, var(--radius-field)); border-end-end-radius: var(--join-ee, var(--radius-field)); border-end-start-radius: var(--join-es, var(--radius-field)); flex-shrink: 1; align-items: center; gap: 0.375rem; padding-inline: 0.75rem 1.75rem; font-size: 0.875rem; display: inline-flex; position: relative; overflow: hidden; } [dir="rtl"] & { background-position: 12px calc(1px + 50%), 16px calc(1px + 50%); } &[multiple] { background-image: none; height: auto; padding-block: 0.75rem; padding-inline-end: 0.75rem; overflow: auto; } & select { appearance: none; width: calc(100% + 2.75rem); height: calc(100% - calc(var(--border) * 2)); background: inherit; border-radius: inherit; border-style: none; align-items: center; margin-inline: -0.75rem -1.75rem; padding-inline: 0.75rem 1.75rem; &:focus, &:focus-within { --tw-outline-style: none; outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } &:not(:last-child) { background-image: none; margin-inline-end: -1.375rem; } } &: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; z-index: 1; } &:has(> select[disabled]), &:is(:disabled, [disabled]), fieldset: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; } &, & select { @supports (appearance: base-select) { & { appearance: base-select; } } &::picker(select) { color: inherit; border: var(--border) solid var(--color-base-200); border-radius: var(--radius-box); background-color: inherit; max-height: min(24rem, 70dvh); box-shadow: 0 2px calc(var(--depth) * 3px)-2px oklch(0% 0 0/0.2); box-shadow: 0 20px 25px -5px rgb(0 0 0 / calc(var(--depth) * 0.1)), 0 8px 10px -6px rgb(0 0 0 / calc(var(--depth) * 0.1)); margin-block: 0.5rem; margin-inline: 0.5rem; padding: 0.5rem; translate: -0.5rem; } @supports (appearance: base-select) { &::picker(select) { appearance: base-select; } } &::picker-icon { display: none; } & optgroup { padding-top: 0.5em; & option { &:first-child { margin-top: 0.5em; } } } & option { border-radius: var(--radius-field); white-space: normal; padding-block: 0.375rem; padding-inline: 0.75rem; transition-property: color, background-color; transition-duration: 0.2s; transition-timing-function: cubic-bezier(0, 0, 0.2, 1); &:not(:disabled) { &:hover, &:focus-visible { 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-offset: 2px; outline: 2px solid #0000; } } } &:active { background-color: var(--color-neutral); color: var(--color-neutral-content); box-shadow: 0 2px calc(var(--depth) * 3px)-2px var(--color-neutral); } } } } [dir="rtl"] & { &::picker(select), & select::picker(select) { translate: 0.5rem; } } } } .lg\:select-ghost { @layer daisyui.l1.l2 { & { box-shadow: none; background-color: #0000; border-color: #0000; transition: background-color 0.2s; } &:focus, &:focus-within { background-color: var(--color-base-100); color: var(--color-base-content); box-shadow: none; border-color: #0000; } } } .lg\:select-neutral { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-neutral); } } } .lg\:select-primary { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-primary); } } } .lg\:select-secondary { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-secondary); } } } .lg\:select-accent { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-accent); } } } .lg\:select-info { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-info); } } } .lg\:select-success { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-success); } } } .lg\:select-warning { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-warning); } } } .lg\:select-error { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-error); } } } .lg\:select-xs { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 6); font-size: 0.6875rem; } & option { padding-block: 0.25rem; padding-inline: 0.5rem; } } } .lg\:select-sm { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 8); font-size: 0.75rem; } & option { padding-block: 0.25rem; padding-inline: 0.625rem; } } } .lg\:select-md { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 10); font-size: 0.875rem; } & option { padding-block: 0.375rem; padding-inline: 0.75rem; } } } .lg\:select-lg { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 12); font-size: 1.125rem; } & option { padding-block: 0.375rem; padding-inline: 1rem; } } } .lg\:select-xl { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 14); font-size: 1.375rem; } & option { padding-block: 0.375rem; padding-inline: 1.25rem; } } } } @media (width>=1280px) { .xl\:select { @layer daisyui.l1.l2.l3 { & { border: var(--border) solid #0000; appearance: none; background-color: var(--color-base-100); vertical-align: middle; width: clamp(3rem, 20rem, 100%); height: var(--size); touch-action: manipulation; white-space: nowrap; 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); 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-repeat: no-repeat; background-size: 4px 4px, 4px 4px; border-start-start-radius: var(--join-ss, var(--radius-field)); border-start-end-radius: var(--join-se, var(--radius-field)); border-end-end-radius: var(--join-ee, var(--radius-field)); border-end-start-radius: var(--join-es, var(--radius-field)); flex-shrink: 1; align-items: center; gap: 0.375rem; padding-inline: 0.75rem 1.75rem; font-size: 0.875rem; display: inline-flex; position: relative; overflow: hidden; } [dir="rtl"] & { background-position: 12px calc(1px + 50%), 16px calc(1px + 50%); } &[multiple] { background-image: none; height: auto; padding-block: 0.75rem; padding-inline-end: 0.75rem; overflow: auto; } & select { appearance: none; width: calc(100% + 2.75rem); height: calc(100% - calc(var(--border) * 2)); background: inherit; border-radius: inherit; border-style: none; align-items: center; margin-inline: -0.75rem -1.75rem; padding-inline: 0.75rem 1.75rem; &:focus, &:focus-within { --tw-outline-style: none; outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } &:not(:last-child) { background-image: none; margin-inline-end: -1.375rem; } } &: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; z-index: 1; } &:has(> select[disabled]), &:is(:disabled, [disabled]), fieldset: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; } &, & select { @supports (appearance: base-select) { & { appearance: base-select; } } &::picker(select) { color: inherit; border: var(--border) solid var(--color-base-200); border-radius: var(--radius-box); background-color: inherit; max-height: min(24rem, 70dvh); box-shadow: 0 2px calc(var(--depth) * 3px)-2px oklch(0% 0 0/0.2); box-shadow: 0 20px 25px -5px rgb(0 0 0 / calc(var(--depth) * 0.1)), 0 8px 10px -6px rgb(0 0 0 / calc(var(--depth) * 0.1)); margin-block: 0.5rem; margin-inline: 0.5rem; padding: 0.5rem; translate: -0.5rem; } @supports (appearance: base-select) { &::picker(select) { appearance: base-select; } } &::picker-icon { display: none; } & optgroup { padding-top: 0.5em; & option { &:first-child { margin-top: 0.5em; } } } & option { border-radius: var(--radius-field); white-space: normal; padding-block: 0.375rem; padding-inline: 0.75rem; transition-property: color, background-color; transition-duration: 0.2s; transition-timing-function: cubic-bezier(0, 0, 0.2, 1); &:not(:disabled) { &:hover, &:focus-visible { 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-offset: 2px; outline: 2px solid #0000; } } } &:active { background-color: var(--color-neutral); color: var(--color-neutral-content); box-shadow: 0 2px calc(var(--depth) * 3px)-2px var(--color-neutral); } } } } [dir="rtl"] & { &::picker(select), & select::picker(select) { translate: 0.5rem; } } } } .xl\:select-ghost { @layer daisyui.l1.l2 { & { box-shadow: none; background-color: #0000; border-color: #0000; transition: background-color 0.2s; } &:focus, &:focus-within { background-color: var(--color-base-100); color: var(--color-base-content); box-shadow: none; border-color: #0000; } } } .xl\:select-neutral { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-neutral); } } } .xl\:select-primary { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-primary); } } } .xl\:select-secondary { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-secondary); } } } .xl\:select-accent { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-accent); } } } .xl\:select-info { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-info); } } } .xl\:select-success { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-success); } } } .xl\:select-warning { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-warning); } } } .xl\:select-error { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-error); } } } .xl\:select-xs { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 6); font-size: 0.6875rem; } & option { padding-block: 0.25rem; padding-inline: 0.5rem; } } } .xl\:select-sm { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 8); font-size: 0.75rem; } & option { padding-block: 0.25rem; padding-inline: 0.625rem; } } } .xl\:select-md { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 10); font-size: 0.875rem; } & option { padding-block: 0.375rem; padding-inline: 0.75rem; } } } .xl\:select-lg { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 12); font-size: 1.125rem; } & option { padding-block: 0.375rem; padding-inline: 1rem; } } } .xl\:select-xl { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 14); font-size: 1.375rem; } & option { padding-block: 0.375rem; padding-inline: 1.25rem; } } } } @media (width>=1536px) { .\32 xl\:select { @layer daisyui.l1.l2.l3 { & { border: var(--border) solid #0000; appearance: none; background-color: var(--color-base-100); vertical-align: middle; width: clamp(3rem, 20rem, 100%); height: var(--size); touch-action: manipulation; white-space: nowrap; 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); 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-repeat: no-repeat; background-size: 4px 4px, 4px 4px; border-start-start-radius: var(--join-ss, var(--radius-field)); border-start-end-radius: var(--join-se, var(--radius-field)); border-end-end-radius: var(--join-ee, var(--radius-field)); border-end-start-radius: var(--join-es, var(--radius-field)); flex-shrink: 1; align-items: center; gap: 0.375rem; padding-inline: 0.75rem 1.75rem; font-size: 0.875rem; display: inline-flex; position: relative; overflow: hidden; } [dir="rtl"] & { background-position: 12px calc(1px + 50%), 16px calc(1px + 50%); } &[multiple] { background-image: none; height: auto; padding-block: 0.75rem; padding-inline-end: 0.75rem; overflow: auto; } & select { appearance: none; width: calc(100% + 2.75rem); height: calc(100% - calc(var(--border) * 2)); background: inherit; border-radius: inherit; border-style: none; align-items: center; margin-inline: -0.75rem -1.75rem; padding-inline: 0.75rem 1.75rem; &:focus, &:focus-within { --tw-outline-style: none; outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } &:not(:last-child) { background-image: none; margin-inline-end: -1.375rem; } } &: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; z-index: 1; } &:has(> select[disabled]), &:is(:disabled, [disabled]), fieldset: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; } &, & select { @supports (appearance: base-select) { & { appearance: base-select; } } &::picker(select) { color: inherit; border: var(--border) solid var(--color-base-200); border-radius: var(--radius-box); background-color: inherit; max-height: min(24rem, 70dvh); box-shadow: 0 2px calc(var(--depth) * 3px)-2px oklch(0% 0 0/0.2); box-shadow: 0 20px 25px -5px rgb(0 0 0 / calc(var(--depth) * 0.1)), 0 8px 10px -6px rgb(0 0 0 / calc(var(--depth) * 0.1)); margin-block: 0.5rem; margin-inline: 0.5rem; padding: 0.5rem; translate: -0.5rem; } @supports (appearance: base-select) { &::picker(select) { appearance: base-select; } } &::picker-icon { display: none; } & optgroup { padding-top: 0.5em; & option { &:first-child { margin-top: 0.5em; } } } & option { border-radius: var(--radius-field); white-space: normal; padding-block: 0.375rem; padding-inline: 0.75rem; transition-property: color, background-color; transition-duration: 0.2s; transition-timing-function: cubic-bezier(0, 0, 0.2, 1); &:not(:disabled) { &:hover, &:focus-visible { 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-offset: 2px; outline: 2px solid #0000; } } } &:active { background-color: var(--color-neutral); color: var(--color-neutral-content); box-shadow: 0 2px calc(var(--depth) * 3px)-2px var(--color-neutral); } } } } [dir="rtl"] & { &::picker(select), & select::picker(select) { translate: 0.5rem; } } } } .\32 xl\:select-ghost { @layer daisyui.l1.l2 { & { box-shadow: none; background-color: #0000; border-color: #0000; transition: background-color 0.2s; } &:focus, &:focus-within { background-color: var(--color-base-100); color: var(--color-base-content); box-shadow: none; border-color: #0000; } } } .\32 xl\:select-neutral { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-neutral); } } } .\32 xl\:select-primary { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-primary); } } } .\32 xl\:select-secondary { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-secondary); } } } .\32 xl\:select-accent { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-accent); } } } .\32 xl\:select-info { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-info); } } } .\32 xl\:select-success { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-success); } } } .\32 xl\:select-warning { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-warning); } } } .\32 xl\:select-error { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-error); } } } .\32 xl\:select-xs { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 6); font-size: 0.6875rem; } & option { padding-block: 0.25rem; padding-inline: 0.5rem; } } } .\32 xl\:select-sm { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 8); font-size: 0.75rem; } & option { padding-block: 0.25rem; padding-inline: 0.625rem; } } } .\32 xl\:select-md { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 10); font-size: 0.875rem; } & option { padding-block: 0.375rem; padding-inline: 0.75rem; } } } .\32 xl\:select-lg { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 12); font-size: 1.125rem; } & option { padding-block: 0.375rem; padding-inline: 1rem; } } } .\32 xl\:select-xl { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 14); font-size: 1.375rem; } & option { padding-block: 0.375rem; padding-inline: 1.25rem; } } } } .file-input { @layer daisyui.l1.l2.l3 { & { cursor: pointer; border: var(--border) solid #0000; cursor: pointer; appearance: none; background-color: var(--color-base-100); vertical-align: middle; -webkit-user-select: none; user-select: none; width: clamp(3rem, 20rem, 100%); height: var(--size); 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 ); border-start-start-radius: var(--join-ss, var(--radius-field)); border-start-end-radius: var(--join-se, var(--radius-field)); border-end-end-radius: var(--join-ee, var(--radius-field)); border-end-start-radius: var(--join-es, var(--radius-field)); align-items: center; padding-inline-end: 0.75rem; font-size: 0.875rem; line-height: 2; display: inline-flex; } &::file-selector-button { cursor: pointer; -webkit-user-select: none; user-select: none; height: calc(100% + var(--border) * 2); margin-inline-end: 1rem; margin-block: calc(var(--border) * -1); color: var(--btn-fg); border-width: var(--border); border-style: solid; border-color: var(--btn-border); background-color: var(--btn-bg); background-size: calc(var(--noise) * 100%); background-image: var(--btn-noise); text-shadow: 0 0.5px oklch(1 0 0 / calc(var(--depth) * 0.15)); box-shadow: 0 0.5px 0 0.5px color-mix( in oklab, color-mix(in oklab, white 30%, var(--btn-bg)) calc(var(--depth) * 20%), #0000 ) 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-border: color-mix(in oklab, var(--btn-bg), #000 5%); --btn-shadow: 0 3px 2px -2px color-mix(in oklab, var(--btn-bg) 30%, #0000), 0 4px 3px -2px color-mix(in oklab, var(--btn-bg) 30%, #0000); --btn-noise: var(--fx-noise); border-start-start-radius: calc( var(--join-ss, var(--radius-field) - var(--border)) ); border-end-start-radius: calc( var(--join-es, var(--radius-field) - var(--border)) ); margin-inline-start: calc(var(--border) * -1); padding-inline: 1rem; font-size: 0.875rem; font-weight: 600; } &:focus { --input-color: var(--color-base-content); box-shadow: 0 1px color-mix(in oklab, var(--input-color) 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); box-shadow: none; color: color-mix(in oklch, var(--color-base-content) 20%, #0000); &::placeholder { color: color-mix( in oklab, var(--color-base-content) 20%, transparent ); } &::file-selector-button { cursor: not-allowed; border-color: var(--color-base-200); background-color: var(--color-base-200); --btn-border: #0000; --btn-noise: none; --btn-fg: color-mix(in oklch, var(--color-base-content) 20%, #0000); } } } } .file-input-ghost { @layer daisyui.l1.l2 { & { box-shadow: none; background-color: #0000; border-color: #0000; transition: background-color 0.2s; } &::file-selector-button { cursor: pointer; -webkit-user-select: none; user-select: none; border-start-end-radius: calc( var(--join-ss, var(--radius-field) - var(--border)) ); border-end-end-radius: calc( var(--join-es, var(--radius-field) - var(--border)) ); height: 100%; margin-block: 0; margin-inline: 0 1rem; padding-inline: 1rem; } &:focus, &:focus-within { background-color: var(--color-base-100); color: var(--color-base-content); box-shadow: none; border-color: #0000; } } } .file-input-neutral { @layer daisyui.l1.l2 { & { --btn-color: var(--color-neutral); } &::file-selector-button { color: var(--color-neutral-content); } &, &:focus, &:focus-within { --input-color: var(--color-neutral); } } } .file-input-primary { @layer daisyui.l1.l2 { & { --btn-color: var(--color-primary); } &::file-selector-button { color: var(--color-primary-content); } &, &:focus, &:focus-within { --input-color: var(--color-primary); } } } .file-input-secondary { @layer daisyui.l1.l2 { & { --btn-color: var(--color-secondary); } &::file-selector-button { color: var(--color-secondary-content); } &, &:focus, &:focus-within { --input-color: var(--color-secondary); } } } .file-input-accent { @layer daisyui.l1.l2 { & { --btn-color: var(--color-accent); } &::file-selector-button { color: var(--color-accent-content); } &, &:focus, &:focus-within { --input-color: var(--color-accent); } } } .file-input-info { @layer daisyui.l1.l2 { & { --btn-color: var(--color-info); } &::file-selector-button { color: var(--color-info-content); } &, &:focus, &:focus-within { --input-color: var(--color-info); } } } .file-input-success { @layer daisyui.l1.l2 { & { --btn-color: var(--color-success); } &::file-selector-button { color: var(--color-success-content); } &, &:focus, &:focus-within { --input-color: var(--color-success); } } } .file-input-warning { @layer daisyui.l1.l2 { & { --btn-color: var(--color-warning); } &::file-selector-button { color: var(--color-warning-content); } &, &:focus, &:focus-within { --input-color: var(--color-warning); } } } .file-input-error { @layer daisyui.l1.l2 { & { --btn-color: var(--color-error); } &::file-selector-button { color: var(--color-error-content); } &, &:focus, &:focus-within { --input-color: var(--color-error); } } } .file-input-xs { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 6); font-size: 0.6875rem; line-height: 1rem; } &::file-selector-button { font-size: 0.6875rem; } } } .file-input-sm { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 8); font-size: 0.75rem; line-height: 1.5rem; } &::file-selector-button { font-size: 0.75rem; } } } .file-input-md { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 10); font-size: 0.875rem; line-height: 2; } &::file-selector-button { font-size: 0.875rem; } } } .file-input-lg { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 12); font-size: 1.125rem; line-height: 2.5rem; } &::file-selector-button { font-size: 1.125rem; } } } .file-input-xl { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 14); padding-inline-end: 1.5rem; font-size: 1.125rem; line-height: 3rem; } &::file-selector-button { font-size: 1.375rem; } } } @media (width>=640px) { .sm\:file-input { @layer daisyui.l1.l2.l3 { & { cursor: pointer; border: var(--border) solid #0000; cursor: pointer; appearance: none; background-color: var(--color-base-100); vertical-align: middle; -webkit-user-select: none; user-select: none; width: clamp(3rem, 20rem, 100%); height: var(--size); 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 ); border-start-start-radius: var(--join-ss, var(--radius-field)); border-start-end-radius: var(--join-se, var(--radius-field)); border-end-end-radius: var(--join-ee, var(--radius-field)); border-end-start-radius: var(--join-es, var(--radius-field)); align-items: center; padding-inline-end: 0.75rem; font-size: 0.875rem; line-height: 2; display: inline-flex; } &::file-selector-button { cursor: pointer; -webkit-user-select: none; user-select: none; height: calc(100% + var(--border) * 2); margin-inline-end: 1rem; margin-block: calc(var(--border) * -1); color: var(--btn-fg); border-width: var(--border); border-style: solid; border-color: var(--btn-border); background-color: var(--btn-bg); background-size: calc(var(--noise) * 100%); background-image: var(--btn-noise); text-shadow: 0 0.5px oklch(1 0 0 / calc(var(--depth) * 0.15)); box-shadow: 0 0.5px 0 0.5px color-mix( in oklab, color-mix(in oklab, white 30%, var(--btn-bg)) calc(var(--depth) * 20%), #0000 ) 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-border: color-mix(in oklab, var(--btn-bg), #000 5%); --btn-shadow: 0 3px 2px -2px color-mix(in oklab, var(--btn-bg) 30%, #0000), 0 4px 3px -2px color-mix(in oklab, var(--btn-bg) 30%, #0000); --btn-noise: var(--fx-noise); border-start-start-radius: calc( var(--join-ss, var(--radius-field) - var(--border)) ); border-end-start-radius: calc( var(--join-es, var(--radius-field) - var(--border)) ); margin-inline-start: calc(var(--border) * -1); padding-inline: 1rem; font-size: 0.875rem; font-weight: 600; } &:focus { --input-color: var(--color-base-content); box-shadow: 0 1px color-mix(in oklab, var(--input-color) 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); box-shadow: none; color: color-mix(in oklch, var(--color-base-content) 20%, #0000); &::placeholder { color: color-mix( in oklab, var(--color-base-content) 20%, transparent ); } &::file-selector-button { cursor: not-allowed; border-color: var(--color-base-200); background-color: var(--color-base-200); --btn-border: #0000; --btn-noise: none; --btn-fg: color-mix(in oklch, var(--color-base-content) 20%, #0000); } } } } .sm\:file-input-ghost { @layer daisyui.l1.l2 { & { box-shadow: none; background-color: #0000; border-color: #0000; transition: background-color 0.2s; } &::file-selector-button { cursor: pointer; -webkit-user-select: none; user-select: none; border-start-end-radius: calc( var(--join-ss, var(--radius-field) - var(--border)) ); border-end-end-radius: calc( var(--join-es, var(--radius-field) - var(--border)) ); height: 100%; margin-block: 0; margin-inline: 0 1rem; padding-inline: 1rem; } &:focus, &:focus-within { background-color: var(--color-base-100); color: var(--color-base-content); box-shadow: none; border-color: #0000; } } } .sm\:file-input-neutral { @layer daisyui.l1.l2 { & { --btn-color: var(--color-neutral); } &::file-selector-button { color: var(--color-neutral-content); } &, &:focus, &:focus-within { --input-color: var(--color-neutral); } } } .sm\:file-input-primary { @layer daisyui.l1.l2 { & { --btn-color: var(--color-primary); } &::file-selector-button { color: var(--color-primary-content); } &, &:focus, &:focus-within { --input-color: var(--color-primary); } } } .sm\:file-input-secondary { @layer daisyui.l1.l2 { & { --btn-color: var(--color-secondary); } &::file-selector-button { color: var(--color-secondary-content); } &, &:focus, &:focus-within { --input-color: var(--color-secondary); } } } .sm\:file-input-accent { @layer daisyui.l1.l2 { & { --btn-color: var(--color-accent); } &::file-selector-button { color: var(--color-accent-content); } &, &:focus, &:focus-within { --input-color: var(--color-accent); } } } .sm\:file-input-info { @layer daisyui.l1.l2 { & { --btn-color: var(--color-info); } &::file-selector-button { color: var(--color-info-content); } &, &:focus, &:focus-within { --input-color: var(--color-info); } } } .sm\:file-input-success { @layer daisyui.l1.l2 { & { --btn-color: var(--color-success); } &::file-selector-button { color: var(--color-success-content); } &, &:focus, &:focus-within { --input-color: var(--color-success); } } } .sm\:file-input-warning { @layer daisyui.l1.l2 { & { --btn-color: var(--color-warning); } &::file-selector-button { color: var(--color-warning-content); } &, &:focus, &:focus-within { --input-color: var(--color-warning); } } } .sm\:file-input-error { @layer daisyui.l1.l2 { & { --btn-color: var(--color-error); } &::file-selector-button { color: var(--color-error-content); } &, &:focus, &:focus-within { --input-color: var(--color-error); } } } .sm\:file-input-xs { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 6); font-size: 0.6875rem; line-height: 1rem; } &::file-selector-button { font-size: 0.6875rem; } } } .sm\:file-input-sm { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 8); font-size: 0.75rem; line-height: 1.5rem; } &::file-selector-button { font-size: 0.75rem; } } } .sm\:file-input-md { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 10); font-size: 0.875rem; line-height: 2; } &::file-selector-button { font-size: 0.875rem; } } } .sm\:file-input-lg { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 12); font-size: 1.125rem; line-height: 2.5rem; } &::file-selector-button { font-size: 1.125rem; } } } .sm\:file-input-xl { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 14); padding-inline-end: 1.5rem; font-size: 1.125rem; line-height: 3rem; } &::file-selector-button { font-size: 1.375rem; } } } } @media (width>=768px) { .md\:file-input { @layer daisyui.l1.l2.l3 { & { cursor: pointer; border: var(--border) solid #0000; cursor: pointer; appearance: none; background-color: var(--color-base-100); vertical-align: middle; -webkit-user-select: none; user-select: none; width: clamp(3rem, 20rem, 100%); height: var(--size); 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 ); border-start-start-radius: var(--join-ss, var(--radius-field)); border-start-end-radius: var(--join-se, var(--radius-field)); border-end-end-radius: var(--join-ee, var(--radius-field)); border-end-start-radius: var(--join-es, var(--radius-field)); align-items: center; padding-inline-end: 0.75rem; font-size: 0.875rem; line-height: 2; display: inline-flex; } &::file-selector-button { cursor: pointer; -webkit-user-select: none; user-select: none; height: calc(100% + var(--border) * 2); margin-inline-end: 1rem; margin-block: calc(var(--border) * -1); color: var(--btn-fg); border-width: var(--border); border-style: solid; border-color: var(--btn-border); background-color: var(--btn-bg); background-size: calc(var(--noise) * 100%); background-image: var(--btn-noise); text-shadow: 0 0.5px oklch(1 0 0 / calc(var(--depth) * 0.15)); box-shadow: 0 0.5px 0 0.5px color-mix( in oklab, color-mix(in oklab, white 30%, var(--btn-bg)) calc(var(--depth) * 20%), #0000 ) 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-border: color-mix(in oklab, var(--btn-bg), #000 5%); --btn-shadow: 0 3px 2px -2px color-mix(in oklab, var(--btn-bg) 30%, #0000), 0 4px 3px -2px color-mix(in oklab, var(--btn-bg) 30%, #0000); --btn-noise: var(--fx-noise); border-start-start-radius: calc( var(--join-ss, var(--radius-field) - var(--border)) ); border-end-start-radius: calc( var(--join-es, var(--radius-field) - var(--border)) ); margin-inline-start: calc(var(--border) * -1); padding-inline: 1rem; font-size: 0.875rem; font-weight: 600; } &:focus { --input-color: var(--color-base-content); box-shadow: 0 1px color-mix(in oklab, var(--input-color) 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); box-shadow: none; color: color-mix(in oklch, var(--color-base-content) 20%, #0000); &::placeholder { color: color-mix( in oklab, var(--color-base-content) 20%, transparent ); } &::file-selector-button { cursor: not-allowed; border-color: var(--color-base-200); background-color: var(--color-base-200); --btn-border: #0000; --btn-noise: none; --btn-fg: color-mix(in oklch, var(--color-base-content) 20%, #0000); } } } } .md\:file-input-ghost { @layer daisyui.l1.l2 { & { box-shadow: none; background-color: #0000; border-color: #0000; transition: background-color 0.2s; } &::file-selector-button { cursor: pointer; -webkit-user-select: none; user-select: none; border-start-end-radius: calc( var(--join-ss, var(--radius-field) - var(--border)) ); border-end-end-radius: calc( var(--join-es, var(--radius-field) - var(--border)) ); height: 100%; margin-block: 0; margin-inline: 0 1rem; padding-inline: 1rem; } &:focus, &:focus-within { background-color: var(--color-base-100); color: var(--color-base-content); box-shadow: none; border-color: #0000; } } } .md\:file-input-neutral { @layer daisyui.l1.l2 { & { --btn-color: var(--color-neutral); } &::file-selector-button { color: var(--color-neutral-content); } &, &:focus, &:focus-within { --input-color: var(--color-neutral); } } } .md\:file-input-primary { @layer daisyui.l1.l2 { & { --btn-color: var(--color-primary); } &::file-selector-button { color: var(--color-primary-content); } &, &:focus, &:focus-within { --input-color: var(--color-primary); } } } .md\:file-input-secondary { @layer daisyui.l1.l2 { & { --btn-color: var(--color-secondary); } &::file-selector-button { color: var(--color-secondary-content); } &, &:focus, &:focus-within { --input-color: var(--color-secondary); } } } .md\:file-input-accent { @layer daisyui.l1.l2 { & { --btn-color: var(--color-accent); } &::file-selector-button { color: var(--color-accent-content); } &, &:focus, &:focus-within { --input-color: var(--color-accent); } } } .md\:file-input-info { @layer daisyui.l1.l2 { & { --btn-color: var(--color-info); } &::file-selector-button { color: var(--color-info-content); } &, &:focus, &:focus-within { --input-color: var(--color-info); } } } .md\:file-input-success { @layer daisyui.l1.l2 { & { --btn-color: var(--color-success); } &::file-selector-button { color: var(--color-success-content); } &, &:focus, &:focus-within { --input-color: var(--color-success); } } } .md\:file-input-warning { @layer daisyui.l1.l2 { & { --btn-color: var(--color-warning); } &::file-selector-button { color: var(--color-warning-content); } &, &:focus, &:focus-within { --input-color: var(--color-warning); } } } .md\:file-input-error { @layer daisyui.l1.l2 { & { --btn-color: var(--color-error); } &::file-selector-button { color: var(--color-error-content); } &, &:focus, &:focus-within { --input-color: var(--color-error); } } } .md\:file-input-xs { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 6); font-size: 0.6875rem; line-height: 1rem; } &::file-selector-button { font-size: 0.6875rem; } } } .md\:file-input-sm { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 8); font-size: 0.75rem; line-height: 1.5rem; } &::file-selector-button { font-size: 0.75rem; } } } .md\:file-input-md { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 10); font-size: 0.875rem; line-height: 2; } &::file-selector-button { font-size: 0.875rem; } } } .md\:file-input-lg { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 12); font-size: 1.125rem; line-height: 2.5rem; } &::file-selector-button { font-size: 1.125rem; } } } .md\:file-input-xl { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 14); padding-inline-end: 1.5rem; font-size: 1.125rem; line-height: 3rem; } &::file-selector-button { font-size: 1.375rem; } } } } @media (width>=1024px) { .lg\:file-input { @layer daisyui.l1.l2.l3 { & { cursor: pointer; border: var(--border) solid #0000; cursor: pointer; appearance: none; background-color: var(--color-base-100); vertical-align: middle; -webkit-user-select: none; user-select: none; width: clamp(3rem, 20rem, 100%); height: var(--size); 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 ); border-start-start-radius: var(--join-ss, var(--radius-field)); border-start-end-radius: var(--join-se, var(--radius-field)); border-end-end-radius: var(--join-ee, var(--radius-field)); border-end-start-radius: var(--join-es, var(--radius-field)); align-items: center; padding-inline-end: 0.75rem; font-size: 0.875rem; line-height: 2; display: inline-flex; } &::file-selector-button { cursor: pointer; -webkit-user-select: none; user-select: none; height: calc(100% + var(--border) * 2); margin-inline-end: 1rem; margin-block: calc(var(--border) * -1); color: var(--btn-fg); border-width: var(--border); border-style: solid; border-color: var(--btn-border); background-color: var(--btn-bg); background-size: calc(var(--noise) * 100%); background-image: var(--btn-noise); text-shadow: 0 0.5px oklch(1 0 0 / calc(var(--depth) * 0.15)); box-shadow: 0 0.5px 0 0.5px color-mix( in oklab, color-mix(in oklab, white 30%, var(--btn-bg)) calc(var(--depth) * 20%), #0000 ) 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-border: color-mix(in oklab, var(--btn-bg), #000 5%); --btn-shadow: 0 3px 2px -2px color-mix(in oklab, var(--btn-bg) 30%, #0000), 0 4px 3px -2px color-mix(in oklab, var(--btn-bg) 30%, #0000); --btn-noise: var(--fx-noise); border-start-start-radius: calc( var(--join-ss, var(--radius-field) - var(--border)) ); border-end-start-radius: calc( var(--join-es, var(--radius-field) - var(--border)) ); margin-inline-start: calc(var(--border) * -1); padding-inline: 1rem; font-size: 0.875rem; font-weight: 600; } &:focus { --input-color: var(--color-base-content); box-shadow: 0 1px color-mix(in oklab, var(--input-color) 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); box-shadow: none; color: color-mix(in oklch, var(--color-base-content) 20%, #0000); &::placeholder { color: color-mix( in oklab, var(--color-base-content) 20%, transparent ); } &::file-selector-button { cursor: not-allowed; border-color: var(--color-base-200); background-color: var(--color-base-200); --btn-border: #0000; --btn-noise: none; --btn-fg: color-mix(in oklch, var(--color-base-content) 20%, #0000); } } } } .lg\:file-input-ghost { @layer daisyui.l1.l2 { & { box-shadow: none; background-color: #0000; border-color: #0000; transition: background-color 0.2s; } &::file-selector-button { cursor: pointer; -webkit-user-select: none; user-select: none; border-start-end-radius: calc( var(--join-ss, var(--radius-field) - var(--border)) ); border-end-end-radius: calc( var(--join-es, var(--radius-field) - var(--border)) ); height: 100%; margin-block: 0; margin-inline: 0 1rem; padding-inline: 1rem; } &:focus, &:focus-within { background-color: var(--color-base-100); color: var(--color-base-content); box-shadow: none; border-color: #0000; } } } .lg\:file-input-neutral { @layer daisyui.l1.l2 { & { --btn-color: var(--color-neutral); } &::file-selector-button { color: var(--color-neutral-content); } &, &:focus, &:focus-within { --input-color: var(--color-neutral); } } } .lg\:file-input-primary { @layer daisyui.l1.l2 { & { --btn-color: var(--color-primary); } &::file-selector-button { color: var(--color-primary-content); } &, &:focus, &:focus-within { --input-color: var(--color-primary); } } } .lg\:file-input-secondary { @layer daisyui.l1.l2 { & { --btn-color: var(--color-secondary); } &::file-selector-button { color: var(--color-secondary-content); } &, &:focus, &:focus-within { --input-color: var(--color-secondary); } } } .lg\:file-input-accent { @layer daisyui.l1.l2 { & { --btn-color: var(--color-accent); } &::file-selector-button { color: var(--color-accent-content); } &, &:focus, &:focus-within { --input-color: var(--color-accent); } } } .lg\:file-input-info { @layer daisyui.l1.l2 { & { --btn-color: var(--color-info); } &::file-selector-button { color: var(--color-info-content); } &, &:focus, &:focus-within { --input-color: var(--color-info); } } } .lg\:file-input-success { @layer daisyui.l1.l2 { & { --btn-color: var(--color-success); } &::file-selector-button { color: var(--color-success-content); } &, &:focus, &:focus-within { --input-color: var(--color-success); } } } .lg\:file-input-warning { @layer daisyui.l1.l2 { & { --btn-color: var(--color-warning); } &::file-selector-button { color: var(--color-warning-content); } &, &:focus, &:focus-within { --input-color: var(--color-warning); } } } .lg\:file-input-error { @layer daisyui.l1.l2 { & { --btn-color: var(--color-error); } &::file-selector-button { color: var(--color-error-content); } &, &:focus, &:focus-within { --input-color: var(--color-error); } } } .lg\:file-input-xs { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 6); font-size: 0.6875rem; line-height: 1rem; } &::file-selector-button { font-size: 0.6875rem; } } } .lg\:file-input-sm { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 8); font-size: 0.75rem; line-height: 1.5rem; } &::file-selector-button { font-size: 0.75rem; } } } .lg\:file-input-md { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 10); font-size: 0.875rem; line-height: 2; } &::file-selector-button { font-size: 0.875rem; } } } .lg\:file-input-lg { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 12); font-size: 1.125rem; line-height: 2.5rem; } &::file-selector-button { font-size: 1.125rem; } } } .lg\:file-input-xl { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 14); padding-inline-end: 1.5rem; font-size: 1.125rem; line-height: 3rem; } &::file-selector-button { font-size: 1.375rem; } } } } @media (width>=1280px) { .xl\:file-input { @layer daisyui.l1.l2.l3 { & { cursor: pointer; border: var(--border) solid #0000; cursor: pointer; appearance: none; background-color: var(--color-base-100); vertical-align: middle; -webkit-user-select: none; user-select: none; width: clamp(3rem, 20rem, 100%); height: var(--size); 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 ); border-start-start-radius: var(--join-ss, var(--radius-field)); border-start-end-radius: var(--join-se, var(--radius-field)); border-end-end-radius: var(--join-ee, var(--radius-field)); border-end-start-radius: var(--join-es, var(--radius-field)); align-items: center; padding-inline-end: 0.75rem; font-size: 0.875rem; line-height: 2; display: inline-flex; } &::file-selector-button { cursor: pointer; -webkit-user-select: none; user-select: none; height: calc(100% + var(--border) * 2); margin-inline-end: 1rem; margin-block: calc(var(--border) * -1); color: var(--btn-fg); border-width: var(--border); border-style: solid; border-color: var(--btn-border); background-color: var(--btn-bg); background-size: calc(var(--noise) * 100%); background-image: var(--btn-noise); text-shadow: 0 0.5px oklch(1 0 0 / calc(var(--depth) * 0.15)); box-shadow: 0 0.5px 0 0.5px color-mix( in oklab, color-mix(in oklab, white 30%, var(--btn-bg)) calc(var(--depth) * 20%), #0000 ) 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-border: color-mix(in oklab, var(--btn-bg), #000 5%); --btn-shadow: 0 3px 2px -2px color-mix(in oklab, var(--btn-bg) 30%, #0000), 0 4px 3px -2px color-mix(in oklab, var(--btn-bg) 30%, #0000); --btn-noise: var(--fx-noise); border-start-start-radius: calc( var(--join-ss, var(--radius-field) - var(--border)) ); border-end-start-radius: calc( var(--join-es, var(--radius-field) - var(--border)) ); margin-inline-start: calc(var(--border) * -1); padding-inline: 1rem; font-size: 0.875rem; font-weight: 600; } &:focus { --input-color: var(--color-base-content); box-shadow: 0 1px color-mix(in oklab, var(--input-color) 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); box-shadow: none; color: color-mix(in oklch, var(--color-base-content) 20%, #0000); &::placeholder { color: color-mix( in oklab, var(--color-base-content) 20%, transparent ); } &::file-selector-button { cursor: not-allowed; border-color: var(--color-base-200); background-color: var(--color-base-200); --btn-border: #0000; --btn-noise: none; --btn-fg: color-mix(in oklch, var(--color-base-content) 20%, #0000); } } } } .xl\:file-input-ghost { @layer daisyui.l1.l2 { & { box-shadow: none; background-color: #0000; border-color: #0000; transition: background-color 0.2s; } &::file-selector-button { cursor: pointer; -webkit-user-select: none; user-select: none; border-start-end-radius: calc( var(--join-ss, var(--radius-field) - var(--border)) ); border-end-end-radius: calc( var(--join-es, var(--radius-field) - var(--border)) ); height: 100%; margin-block: 0; margin-inline: 0 1rem; padding-inline: 1rem; } &:focus, &:focus-within { background-color: var(--color-base-100); color: var(--color-base-content); box-shadow: none; border-color: #0000; } } } .xl\:file-input-neutral { @layer daisyui.l1.l2 { & { --btn-color: var(--color-neutral); } &::file-selector-button { color: var(--color-neutral-content); } &, &:focus, &:focus-within { --input-color: var(--color-neutral); } } } .xl\:file-input-primary { @layer daisyui.l1.l2 { & { --btn-color: var(--color-primary); } &::file-selector-button { color: var(--color-primary-content); } &, &:focus, &:focus-within { --input-color: var(--color-primary); } } } .xl\:file-input-secondary { @layer daisyui.l1.l2 { & { --btn-color: var(--color-secondary); } &::file-selector-button { color: var(--color-secondary-content); } &, &:focus, &:focus-within { --input-color: var(--color-secondary); } } } .xl\:file-input-accent { @layer daisyui.l1.l2 { & { --btn-color: var(--color-accent); } &::file-selector-button { color: var(--color-accent-content); } &, &:focus, &:focus-within { --input-color: var(--color-accent); } } } .xl\:file-input-info { @layer daisyui.l1.l2 { & { --btn-color: var(--color-info); } &::file-selector-button { color: var(--color-info-content); } &, &:focus, &:focus-within { --input-color: var(--color-info); } } } .xl\:file-input-success { @layer daisyui.l1.l2 { & { --btn-color: var(--color-success); } &::file-selector-button { color: var(--color-success-content); } &, &:focus, &:focus-within { --input-color: var(--color-success); } } } .xl\:file-input-warning { @layer daisyui.l1.l2 { & { --btn-color: var(--color-warning); } &::file-selector-button { color: var(--color-warning-content); } &, &:focus, &:focus-within { --input-color: var(--color-warning); } } } .xl\:file-input-error { @layer daisyui.l1.l2 { & { --btn-color: var(--color-error); } &::file-selector-button { color: var(--color-error-content); } &, &:focus, &:focus-within { --input-color: var(--color-error); } } } .xl\:file-input-xs { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 6); font-size: 0.6875rem; line-height: 1rem; } &::file-selector-button { font-size: 0.6875rem; } } } .xl\:file-input-sm { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 8); font-size: 0.75rem; line-height: 1.5rem; } &::file-selector-button { font-size: 0.75rem; } } } .xl\:file-input-md { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 10); font-size: 0.875rem; line-height: 2; } &::file-selector-button { font-size: 0.875rem; } } } .xl\:file-input-lg { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 12); font-size: 1.125rem; line-height: 2.5rem; } &::file-selector-button { font-size: 1.125rem; } } } .xl\:file-input-xl { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 14); padding-inline-end: 1.5rem; font-size: 1.125rem; line-height: 3rem; } &::file-selector-button { font-size: 1.375rem; } } } } @media (width>=1536px) { .\32 xl\:file-input { @layer daisyui.l1.l2.l3 { & { cursor: pointer; border: var(--border) solid #0000; cursor: pointer; appearance: none; background-color: var(--color-base-100); vertical-align: middle; -webkit-user-select: none; user-select: none; width: clamp(3rem, 20rem, 100%); height: var(--size); 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 ); border-start-start-radius: var(--join-ss, var(--radius-field)); border-start-end-radius: var(--join-se, var(--radius-field)); border-end-end-radius: var(--join-ee, var(--radius-field)); border-end-start-radius: var(--join-es, var(--radius-field)); align-items: center; padding-inline-end: 0.75rem; font-size: 0.875rem; line-height: 2; display: inline-flex; } &::file-selector-button { cursor: pointer; -webkit-user-select: none; user-select: none; height: calc(100% + var(--border) * 2); margin-inline-end: 1rem; margin-block: calc(var(--border) * -1); color: var(--btn-fg); border-width: var(--border); border-style: solid; border-color: var(--btn-border); background-color: var(--btn-bg); background-size: calc(var(--noise) * 100%); background-image: var(--btn-noise); text-shadow: 0 0.5px oklch(1 0 0 / calc(var(--depth) * 0.15)); box-shadow: 0 0.5px 0 0.5px color-mix( in oklab, color-mix(in oklab, white 30%, var(--btn-bg)) calc(var(--depth) * 20%), #0000 ) 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-border: color-mix(in oklab, var(--btn-bg), #000 5%); --btn-shadow: 0 3px 2px -2px color-mix(in oklab, var(--btn-bg) 30%, #0000), 0 4px 3px -2px color-mix(in oklab, var(--btn-bg) 30%, #0000); --btn-noise: var(--fx-noise); border-start-start-radius: calc( var(--join-ss, var(--radius-field) - var(--border)) ); border-end-start-radius: calc( var(--join-es, var(--radius-field) - var(--border)) ); margin-inline-start: calc(var(--border) * -1); padding-inline: 1rem; font-size: 0.875rem; font-weight: 600; } &:focus { --input-color: var(--color-base-content); box-shadow: 0 1px color-mix(in oklab, var(--input-color) 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); box-shadow: none; color: color-mix(in oklch, var(--color-base-content) 20%, #0000); &::placeholder { color: color-mix( in oklab, var(--color-base-content) 20%, transparent ); } &::file-selector-button { cursor: not-allowed; border-color: var(--color-base-200); background-color: var(--color-base-200); --btn-border: #0000; --btn-noise: none; --btn-fg: color-mix(in oklch, var(--color-base-content) 20%, #0000); } } } } .\32 xl\:file-input-ghost { @layer daisyui.l1.l2 { & { box-shadow: none; background-color: #0000; border-color: #0000; transition: background-color 0.2s; } &::file-selector-button { cursor: pointer; -webkit-user-select: none; user-select: none; border-start-end-radius: calc( var(--join-ss, var(--radius-field) - var(--border)) ); border-end-end-radius: calc( var(--join-es, var(--radius-field) - var(--border)) ); height: 100%; margin-block: 0; margin-inline: 0 1rem; padding-inline: 1rem; } &:focus, &:focus-within { background-color: var(--color-base-100); color: var(--color-base-content); box-shadow: none; border-color: #0000; } } } .\32 xl\:file-input-neutral { @layer daisyui.l1.l2 { & { --btn-color: var(--color-neutral); } &::file-selector-button { color: var(--color-neutral-content); } &, &:focus, &:focus-within { --input-color: var(--color-neutral); } } } .\32 xl\:file-input-primary { @layer daisyui.l1.l2 { & { --btn-color: var(--color-primary); } &::file-selector-button { color: var(--color-primary-content); } &, &:focus, &:focus-within { --input-color: var(--color-primary); } } } .\32 xl\:file-input-secondary { @layer daisyui.l1.l2 { & { --btn-color: var(--color-secondary); } &::file-selector-button { color: var(--color-secondary-content); } &, &:focus, &:focus-within { --input-color: var(--color-secondary); } } } .\32 xl\:file-input-accent { @layer daisyui.l1.l2 { & { --btn-color: var(--color-accent); } &::file-selector-button { color: var(--color-accent-content); } &, &:focus, &:focus-within { --input-color: var(--color-accent); } } } .\32 xl\:file-input-info { @layer daisyui.l1.l2 { & { --btn-color: var(--color-info); } &::file-selector-button { color: var(--color-info-content); } &, &:focus, &:focus-within { --input-color: var(--color-info); } } } .\32 xl\:file-input-success { @layer daisyui.l1.l2 { & { --btn-color: var(--color-success); } &::file-selector-button { color: var(--color-success-content); } &, &:focus, &:focus-within { --input-color: var(--color-success); } } } .\32 xl\:file-input-warning { @layer daisyui.l1.l2 { & { --btn-color: var(--color-warning); } &::file-selector-button { color: var(--color-warning-content); } &, &:focus, &:focus-within { --input-color: var(--color-warning); } } } .\32 xl\:file-input-error { @layer daisyui.l1.l2 { & { --btn-color: var(--color-error); } &::file-selector-button { color: var(--color-error-content); } &, &:focus, &:focus-within { --input-color: var(--color-error); } } } .\32 xl\:file-input-xs { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 6); font-size: 0.6875rem; line-height: 1rem; } &::file-selector-button { font-size: 0.6875rem; } } } .\32 xl\:file-input-sm { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 8); font-size: 0.75rem; line-height: 1.5rem; } &::file-selector-button { font-size: 0.75rem; } } } .\32 xl\:file-input-md { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 10); font-size: 0.875rem; line-height: 2; } &::file-selector-button { font-size: 0.875rem; } } } .\32 xl\:file-input-lg { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 12); font-size: 1.125rem; line-height: 2.5rem; } &::file-selector-button { font-size: 1.125rem; } } } .\32 xl\:file-input-xl { @layer daisyui.l1.l2 { & { --size: calc(var(--size-field, 0.25rem) * 14); padding-inline-end: 1.5rem; font-size: 1.125rem; line-height: 3rem; } &::file-selector-button { font-size: 1.375rem; } } } } .card { @layer daisyui.l1.l2.l3 { & { border-radius: var(--radius-box); outline-offset: 2px; outline: 0 solid #0000; flex-direction: column; transition: outline 0.2s ease-in-out; display: flex; position: relative; } &:focus { --tw-outline-style: none; outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } &:focus-visible { outline-color: currentColor; } & :where(figure:first-child) { border-start-start-radius: inherit; border-start-end-radius: inherit; border-end-end-radius: unset; border-end-start-radius: unset; overflow: hidden; } & :where(figure:last-child) { border-start-start-radius: unset; border-start-end-radius: unset; border-end-end-radius: inherit; border-end-start-radius: inherit; overflow: hidden; } & figure { justify-content: center; align-items: center; display: flex; } &:has(> input:is(input[type="checkbox"], input[type="radio"])) { cursor: pointer; user-select: none; } &:has(> :checked) { outline: 2px solid; } } } .card-border { @layer daisyui.l1.l2 { & { border: var(--border) solid var(--color-base-200); } } } .card-dash { @layer daisyui.l1.l2 { & { border: var(--border) dashed var(--color-base-200); } } } .image-full { @layer daisyui.l1.l2 { & { display: grid; } & > * { grid-row-start: 1; grid-column-start: 1; } & > .card-body { color: var(--color-neutral-content); position: relative; } & :where(figure) { border-radius: inherit; overflow: hidden; } & > figure img { object-fit: cover; filter: brightness(28%); height: 100%; } } } .card-title { @layer daisyui.l1.l2.l3 { & { font-size: var(--cardtitle-fs, 1.125rem); align-items: center; gap: 0.5rem; font-weight: 600; display: flex; } } } .card-body { @layer daisyui.l1.l2.l3 { & { padding: var(--card-p, 1.5rem); font-size: var(--card-fs, 0.875rem); flex-direction: column; flex: auto; gap: 0.5rem; display: flex; } & :where(p) { flex-grow: 1; } } } .card-actions { @layer daisyui.l1.l2.l3 { & { flex-wrap: wrap; align-items: flex-start; gap: 0.5rem; display: flex; } } } .card-xs { @layer daisyui.l1.l2 { & .card-body { --card-p: 0.5rem; --card-fs: 0.6875rem; } & .card-title { --cardtitle-fs: 0.875rem; } } } .card-sm { @layer daisyui.l1.l2 { & .card-body { --card-p: 1rem; --card-fs: 0.75rem; } & .card-title { --cardtitle-fs: 1rem; } } } .card-md { @layer daisyui.l1.l2 { & .card-body { --card-p: 1.5rem; --card-fs: 0.875rem; } & .card-title { --cardtitle-fs: 1.125rem; } } } .card-lg { @layer daisyui.l1.l2 { & .card-body { --card-p: 2rem; --card-fs: 1rem; } & .card-title { --cardtitle-fs: 1.25rem; } } } .card-xl { @layer daisyui.l1.l2 { & .card-body { --card-p: 2.5rem; --card-fs: 1.125rem; } & .card-title { --cardtitle-fs: 1.375rem; } } } .card-side { @layer daisyui.l1.l2 { & { flex-direction: row; align-items: stretch; } & :where(figure:first-child) { border-start-start-radius: inherit; border-start-end-radius: unset; border-end-end-radius: unset; border-end-start-radius: inherit; overflow: hidden; } & :where(figure:last-child) { border-start-start-radius: unset; border-start-end-radius: inherit; border-end-end-radius: inherit; border-end-start-radius: unset; overflow: hidden; } & figure > * { max-width: unset; } & :where(figure > *) { object-fit: cover; width: 100%; height: 100%; } } } @media (width>=640px) { .sm\:card { @layer daisyui.l1.l2.l3 { & { border-radius: var(--radius-box); outline-offset: 2px; outline: 0 solid #0000; flex-direction: column; transition: outline 0.2s ease-in-out; display: flex; position: relative; } &:focus { --tw-outline-style: none; outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } &:focus-visible { outline-color: currentColor; } & :where(figure:first-child) { border-start-start-radius: inherit; border-start-end-radius: inherit; border-end-end-radius: unset; border-end-start-radius: unset; overflow: hidden; } & :where(figure:last-child) { border-start-start-radius: unset; border-start-end-radius: unset; border-end-end-radius: inherit; border-end-start-radius: inherit; overflow: hidden; } & figure { justify-content: center; align-items: center; display: flex; } &:has(> input:is(input[type="checkbox"], input[type="radio"])) { cursor: pointer; user-select: none; } &:has(> :checked) { outline: 2px solid; } } } .sm\:card-border { @layer daisyui.l1.l2 { & { border: var(--border) solid var(--color-base-200); } } } .sm\:card-dash { @layer daisyui.l1.l2 { & { border: var(--border) dashed var(--color-base-200); } } } .sm\:image-full { @layer daisyui.l1.l2 { & { display: grid; } & > * { grid-row-start: 1; grid-column-start: 1; } & > .card-body { color: var(--color-neutral-content); position: relative; } & :where(figure) { border-radius: inherit; overflow: hidden; } & > figure img { object-fit: cover; filter: brightness(28%); height: 100%; } } } .sm\:card-title { @layer daisyui.l1.l2.l3 { & { font-size: var(--cardtitle-fs, 1.125rem); align-items: center; gap: 0.5rem; font-weight: 600; display: flex; } } } .sm\:card-body { @layer daisyui.l1.l2.l3 { & { padding: var(--card-p, 1.5rem); font-size: var(--card-fs, 0.875rem); flex-direction: column; flex: auto; gap: 0.5rem; display: flex; } & :where(p) { flex-grow: 1; } } } .sm\:card-actions { @layer daisyui.l1.l2.l3 { & { flex-wrap: wrap; align-items: flex-start; gap: 0.5rem; display: flex; } } } .sm\:card-xs { @layer daisyui.l1.l2 { & .card-body { --card-p: 0.5rem; --card-fs: 0.6875rem; } & .card-title { --cardtitle-fs: 0.875rem; } } } .sm\:card-sm { @layer daisyui.l1.l2 { & .card-body { --card-p: 1rem; --card-fs: 0.75rem; } & .card-title { --cardtitle-fs: 1rem; } } } .sm\:card-md { @layer daisyui.l1.l2 { & .card-body { --card-p: 1.5rem; --card-fs: 0.875rem; } & .card-title { --cardtitle-fs: 1.125rem; } } } .sm\:card-lg { @layer daisyui.l1.l2 { & .card-body { --card-p: 2rem; --card-fs: 1rem; } & .card-title { --cardtitle-fs: 1.25rem; } } } .sm\:card-xl { @layer daisyui.l1.l2 { & .card-body { --card-p: 2.5rem; --card-fs: 1.125rem; } & .card-title { --cardtitle-fs: 1.375rem; } } } .sm\:card-side { @layer daisyui.l1.l2 { & { flex-direction: row; align-items: stretch; } & :where(figure:first-child) { border-start-start-radius: inherit; border-start-end-radius: unset; border-end-end-radius: unset; border-end-start-radius: inherit; overflow: hidden; } & :where(figure:last-child) { border-start-start-radius: unset; border-start-end-radius: inherit; border-end-end-radius: inherit; border-end-start-radius: unset; overflow: hidden; } & figure > * { max-width: unset; } & :where(figure > *) { object-fit: cover; width: 100%; height: 100%; } } } } @media (width>=768px) { .md\:card { @layer daisyui.l1.l2.l3 { & { border-radius: var(--radius-box); outline-offset: 2px; outline: 0 solid #0000; flex-direction: column; transition: outline 0.2s ease-in-out; display: flex; position: relative; } &:focus { --tw-outline-style: none; outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } &:focus-visible { outline-color: currentColor; } & :where(figure:first-child) { border-start-start-radius: inherit; border-start-end-radius: inherit; border-end-end-radius: unset; border-end-start-radius: unset; overflow: hidden; } & :where(figure:last-child) { border-start-start-radius: unset; border-start-end-radius: unset; border-end-end-radius: inherit; border-end-start-radius: inherit; overflow: hidden; } & figure { justify-content: center; align-items: center; display: flex; } &:has(> input:is(input[type="checkbox"], input[type="radio"])) { cursor: pointer; user-select: none; } &:has(> :checked) { outline: 2px solid; } } } .md\:card-border { @layer daisyui.l1.l2 { & { border: var(--border) solid var(--color-base-200); } } } .md\:card-dash { @layer daisyui.l1.l2 { & { border: var(--border) dashed var(--color-base-200); } } } .md\:image-full { @layer daisyui.l1.l2 { & { display: grid; } & > * { grid-row-start: 1; grid-column-start: 1; } & > .card-body { color: var(--color-neutral-content); position: relative; } & :where(figure) { border-radius: inherit; overflow: hidden; } & > figure img { object-fit: cover; filter: brightness(28%); height: 100%; } } } .md\:card-title { @layer daisyui.l1.l2.l3 { & { font-size: var(--cardtitle-fs, 1.125rem); align-items: center; gap: 0.5rem; font-weight: 600; display: flex; } } } .md\:card-body { @layer daisyui.l1.l2.l3 { & { padding: var(--card-p, 1.5rem); font-size: var(--card-fs, 0.875rem); flex-direction: column; flex: auto; gap: 0.5rem; display: flex; } & :where(p) { flex-grow: 1; } } } .md\:card-actions { @layer daisyui.l1.l2.l3 { & { flex-wrap: wrap; align-items: flex-start; gap: 0.5rem; display: flex; } } } .md\:card-xs { @layer daisyui.l1.l2 { & .card-body { --card-p: 0.5rem; --card-fs: 0.6875rem; } & .card-title { --cardtitle-fs: 0.875rem; } } } .md\:card-sm { @layer daisyui.l1.l2 { & .card-body { --card-p: 1rem; --card-fs: 0.75rem; } & .card-title { --cardtitle-fs: 1rem; } } } .md\:card-md { @layer daisyui.l1.l2 { & .card-body { --card-p: 1.5rem; --card-fs: 0.875rem; } & .card-title { --cardtitle-fs: 1.125rem; } } } .md\:card-lg { @layer daisyui.l1.l2 { & .card-body { --card-p: 2rem; --card-fs: 1rem; } & .card-title { --cardtitle-fs: 1.25rem; } } } .md\:card-xl { @layer daisyui.l1.l2 { & .card-body { --card-p: 2.5rem; --card-fs: 1.125rem; } & .card-title { --cardtitle-fs: 1.375rem; } } } .md\:card-side { @layer daisyui.l1.l2 { & { flex-direction: row; align-items: stretch; } & :where(figure:first-child) { border-start-start-radius: inherit; border-start-end-radius: unset; border-end-end-radius: unset; border-end-start-radius: inherit; overflow: hidden; } & :where(figure:last-child) { border-start-start-radius: unset; border-start-end-radius: inherit; border-end-end-radius: inherit; border-end-start-radius: unset; overflow: hidden; } & figure > * { max-width: unset; } & :where(figure > *) { object-fit: cover; width: 100%; height: 100%; } } } } @media (width>=1024px) { .lg\:card { @layer daisyui.l1.l2.l3 { & { border-radius: var(--radius-box); outline-offset: 2px; outline: 0 solid #0000; flex-direction: column; transition: outline 0.2s ease-in-out; display: flex; position: relative; } &:focus { --tw-outline-style: none; outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } &:focus-visible { outline-color: currentColor; } & :where(figure:first-child) { border-start-start-radius: inherit; border-start-end-radius: inherit; border-end-end-radius: unset; border-end-start-radius: unset; overflow: hidden; } & :where(figure:last-child) { border-start-start-radius: unset; border-start-end-radius: unset; border-end-end-radius: inherit; border-end-start-radius: inherit; overflow: hidden; } & figure { justify-content: center; align-items: center; display: flex; } &:has(> input:is(input[type="checkbox"], input[type="radio"])) { cursor: pointer; user-select: none; } &:has(> :checked) { outline: 2px solid; } } } .lg\:card-border { @layer daisyui.l1.l2 { & { border: var(--border) solid var(--color-base-200); } } } .lg\:card-dash { @layer daisyui.l1.l2 { & { border: var(--border) dashed var(--color-base-200); } } } .lg\:image-full { @layer daisyui.l1.l2 { & { display: grid; } & > * { grid-row-start: 1; grid-column-start: 1; } & > .card-body { color: var(--color-neutral-content); position: relative; } & :where(figure) { border-radius: inherit; overflow: hidden; } & > figure img { object-fit: cover; filter: brightness(28%); height: 100%; } } } .lg\:card-title { @layer daisyui.l1.l2.l3 { & { font-size: var(--cardtitle-fs, 1.125rem); align-items: center; gap: 0.5rem; font-weight: 600; display: flex; } } } .lg\:card-body { @layer daisyui.l1.l2.l3 { & { padding: var(--card-p, 1.5rem); font-size: var(--card-fs, 0.875rem); flex-direction: column; flex: auto; gap: 0.5rem; display: flex; } & :where(p) { flex-grow: 1; } } } .lg\:card-actions { @layer daisyui.l1.l2.l3 { & { flex-wrap: wrap; align-items: flex-start; gap: 0.5rem; display: flex; } } } .lg\:card-xs { @layer daisyui.l1.l2 { & .card-body { --card-p: 0.5rem; --card-fs: 0.6875rem; } & .card-title { --cardtitle-fs: 0.875rem; } } } .lg\:card-sm { @layer daisyui.l1.l2 { & .card-body { --card-p: 1rem; --card-fs: 0.75rem; } & .card-title { --cardtitle-fs: 1rem; } } } .lg\:card-md { @layer daisyui.l1.l2 { & .card-body { --card-p: 1.5rem; --card-fs: 0.875rem; } & .card-title { --cardtitle-fs: 1.125rem; } } } .lg\:card-lg { @layer daisyui.l1.l2 { & .card-body { --card-p: 2rem; --card-fs: 1rem; } & .card-title { --cardtitle-fs: 1.25rem; } } } .lg\:card-xl { @layer daisyui.l1.l2 { & .card-body { --card-p: 2.5rem; --card-fs: 1.125rem; } & .card-title { --cardtitle-fs: 1.375rem; } } } .lg\:card-side { @layer daisyui.l1.l2 { & { flex-direction: row; align-items: stretch; } & :where(figure:first-child) { border-start-start-radius: inherit; border-start-end-radius: unset; border-end-end-radius: unset; border-end-start-radius: inherit; overflow: hidden; } & :where(figure:last-child) { border-start-start-radius: unset; border-start-end-radius: inherit; border-end-end-radius: inherit; border-end-start-radius: unset; overflow: hidden; } & figure > * { max-width: unset; } & :where(figure > *) { object-fit: cover; width: 100%; height: 100%; } } } } @media (width>=1280px) { .xl\:card { @layer daisyui.l1.l2.l3 { & { border-radius: var(--radius-box); outline-offset: 2px; outline: 0 solid #0000; flex-direction: column; transition: outline 0.2s ease-in-out; display: flex; position: relative; } &:focus { --tw-outline-style: none; outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } &:focus-visible { outline-color: currentColor; } & :where(figure:first-child) { border-start-start-radius: inherit; border-start-end-radius: inherit; border-end-end-radius: unset; border-end-start-radius: unset; overflow: hidden; } & :where(figure:last-child) { border-start-start-radius: unset; border-start-end-radius: unset; border-end-end-radius: inherit; border-end-start-radius: inherit; overflow: hidden; } & figure { justify-content: center; align-items: center; display: flex; } &:has(> input:is(input[type="checkbox"], input[type="radio"])) { cursor: pointer; user-select: none; } &:has(> :checked) { outline: 2px solid; } } } .xl\:card-border { @layer daisyui.l1.l2 { & { border: var(--border) solid var(--color-base-200); } } } .xl\:card-dash { @layer daisyui.l1.l2 { & { border: var(--border) dashed var(--color-base-200); } } } .xl\:image-full { @layer daisyui.l1.l2 { & { display: grid; } & > * { grid-row-start: 1; grid-column-start: 1; } & > .card-body { color: var(--color-neutral-content); position: relative; } & :where(figure) { border-radius: inherit; overflow: hidden; } & > figure img { object-fit: cover; filter: brightness(28%); height: 100%; } } } .xl\:card-title { @layer daisyui.l1.l2.l3 { & { font-size: var(--cardtitle-fs, 1.125rem); align-items: center; gap: 0.5rem; font-weight: 600; display: flex; } } } .xl\:card-body { @layer daisyui.l1.l2.l3 { & { padding: var(--card-p, 1.5rem); font-size: var(--card-fs, 0.875rem); flex-direction: column; flex: auto; gap: 0.5rem; display: flex; } & :where(p) { flex-grow: 1; } } } .xl\:card-actions { @layer daisyui.l1.l2.l3 { & { flex-wrap: wrap; align-items: flex-start; gap: 0.5rem; display: flex; } } } .xl\:card-xs { @layer daisyui.l1.l2 { & .card-body { --card-p: 0.5rem; --card-fs: 0.6875rem; } & .card-title { --cardtitle-fs: 0.875rem; } } } .xl\:card-sm { @layer daisyui.l1.l2 { & .card-body { --card-p: 1rem; --card-fs: 0.75rem; } & .card-title { --cardtitle-fs: 1rem; } } } .xl\:card-md { @layer daisyui.l1.l2 { & .card-body { --card-p: 1.5rem; --card-fs: 0.875rem; } & .card-title { --cardtitle-fs: 1.125rem; } } } .xl\:card-lg { @layer daisyui.l1.l2 { & .card-body { --card-p: 2rem; --card-fs: 1rem; } & .card-title { --cardtitle-fs: 1.25rem; } } } .xl\:card-xl { @layer daisyui.l1.l2 { & .card-body { --card-p: 2.5rem; --card-fs: 1.125rem; } & .card-title { --cardtitle-fs: 1.375rem; } } } .xl\:card-side { @layer daisyui.l1.l2 { & { flex-direction: row; align-items: stretch; } & :where(figure:first-child) { border-start-start-radius: inherit; border-start-end-radius: unset; border-end-end-radius: unset; border-end-start-radius: inherit; overflow: hidden; } & :where(figure:last-child) { border-start-start-radius: unset; border-start-end-radius: inherit; border-end-end-radius: inherit; border-end-start-radius: unset; overflow: hidden; } & figure > * { max-width: unset; } & :where(figure > *) { object-fit: cover; width: 100%; height: 100%; } } } } @media (width>=1536px) { .\32 xl\:card { @layer daisyui.l1.l2.l3 { & { border-radius: var(--radius-box); outline-offset: 2px; outline: 0 solid #0000; flex-direction: column; transition: outline 0.2s ease-in-out; display: flex; position: relative; } &:focus { --tw-outline-style: none; outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } &:focus-visible { outline-color: currentColor; } & :where(figure:first-child) { border-start-start-radius: inherit; border-start-end-radius: inherit; border-end-end-radius: unset; border-end-start-radius: unset; overflow: hidden; } & :where(figure:last-child) { border-start-start-radius: unset; border-start-end-radius: unset; border-end-end-radius: inherit; border-end-start-radius: inherit; overflow: hidden; } & figure { justify-content: center; align-items: center; display: flex; } &:has(> input:is(input[type="checkbox"], input[type="radio"])) { cursor: pointer; user-select: none; } &:has(> :checked) { outline: 2px solid; } } } .\32 xl\:card-border { @layer daisyui.l1.l2 { & { border: var(--border) solid var(--color-base-200); } } } .\32 xl\:card-dash { @layer daisyui.l1.l2 { & { border: var(--border) dashed var(--color-base-200); } } } .\32 xl\:image-full { @layer daisyui.l1.l2 { & { display: grid; } & > * { grid-row-start: 1; grid-column-start: 1; } & > .card-body { color: var(--color-neutral-content); position: relative; } & :where(figure) { border-radius: inherit; overflow: hidden; } & > figure img { object-fit: cover; filter: brightness(28%); height: 100%; } } } .\32 xl\:card-title { @layer daisyui.l1.l2.l3 { & { font-size: var(--cardtitle-fs, 1.125rem); align-items: center; gap: 0.5rem; font-weight: 600; display: flex; } } } .\32 xl\:card-body { @layer daisyui.l1.l2.l3 { & { padding: var(--card-p, 1.5rem); font-size: var(--card-fs, 0.875rem); flex-direction: column; flex: auto; gap: 0.5rem; display: flex; } & :where(p) { flex-grow: 1; } } } .\32 xl\:card-actions { @layer daisyui.l1.l2.l3 { & { flex-wrap: wrap; align-items: flex-start; gap: 0.5rem; display: flex; } } } .\32 xl\:card-xs { @layer daisyui.l1.l2 { & .card-body { --card-p: 0.5rem; --card-fs: 0.6875rem; } & .card-title { --cardtitle-fs: 0.875rem; } } } .\32 xl\:card-sm { @layer daisyui.l1.l2 { & .card-body { --card-p: 1rem; --card-fs: 0.75rem; } & .card-title { --cardtitle-fs: 1rem; } } } .\32 xl\:card-md { @layer daisyui.l1.l2 { & .card-body { --card-p: 1.5rem; --card-fs: 0.875rem; } & .card-title { --cardtitle-fs: 1.125rem; } } } .\32 xl\:card-lg { @layer daisyui.l1.l2 { & .card-body { --card-p: 2rem; --card-fs: 1rem; } & .card-title { --cardtitle-fs: 1.25rem; } } } .\32 xl\:card-xl { @layer daisyui.l1.l2 { & .card-body { --card-p: 2.5rem; --card-fs: 1.125rem; } & .card-title { --cardtitle-fs: 1.375rem; } } } .\32 xl\:card-side { @layer daisyui.l1.l2 { & { flex-direction: row; align-items: stretch; } & :where(figure:first-child) { border-start-start-radius: inherit; border-start-end-radius: unset; border-end-end-radius: unset; border-end-start-radius: inherit; overflow: hidden; } & :where(figure:last-child) { border-start-start-radius: unset; border-start-end-radius: inherit; border-end-end-radius: inherit; border-end-start-radius: unset; overflow: hidden; } & figure > * { max-width: unset; } & :where(figure > *) { object-fit: cover; width: 100%; height: 100%; } } } } .textarea { @layer daisyui.l1.l2.l3 { & { border: var(--border) solid #0000; appearance: none; border-radius: var(--radius-field); background-color: var(--color-base-100); vertical-align: middle; width: clamp(3rem, 20rem, 100%); min-height: 5rem; font-size: max(var(--font-size, 0.875rem), 0.875rem); touch-action: manipulation; 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 ); flex-shrink: 1; padding-block: 0.5rem; padding-inline: 0.75rem; } & textarea { appearance: none; background-color: #0000; border: none; &:focus, &:focus-within { --tw-outline-style: none; outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } } &: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; } @media (pointer: coarse) { @supports (-webkit-touch-callout: none) { &:focus, &:focus-within { --font-size: 1rem; } } } &: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); box-shadow: none; &::placeholder { color: color-mix( in oklab, var(--color-base-content) 20%, transparent ); } } &:has(> textarea[disabled]) > textarea[disabled] { cursor: not-allowed; } } } .textarea-ghost { @layer daisyui.l1.l2 { & { box-shadow: none; background-color: #0000; border-color: #0000; } &:focus, &:focus-within { background-color: var(--color-base-100); color: var(--color-base-content); box-shadow: none; border-color: #0000; } } } .textarea-neutral { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-neutral); } } } .textarea-primary { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-primary); } } } .textarea-secondary { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-secondary); } } } .textarea-accent { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-accent); } } } .textarea-info { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-info); } } } .textarea-success { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-success); } } } .textarea-warning { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-warning); } } } .textarea-error { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-error); } } } .textarea-xs { @layer daisyui.l1.l2 { & { font-size: max(var(--font-size, 0.6875rem), 0.6875rem); } } } .textarea-sm { @layer daisyui.l1.l2 { & { font-size: max(var(--font-size, 0.75rem), 0.75rem); } } } .textarea-md { @layer daisyui.l1.l2 { & { font-size: max(var(--font-size, 0.875rem), 0.875rem); } } } .textarea-lg { @layer daisyui.l1.l2 { & { font-size: max(var(--font-size, 1.125rem), 1.125rem); } } } .textarea-xl { @layer daisyui.l1.l2 { & { font-size: max(var(--font-size, 1.375rem), 1.375rem); } } } @media (width>=640px) { .sm\:textarea { @layer daisyui.l1.l2.l3 { & { border: var(--border) solid #0000; appearance: none; border-radius: var(--radius-field); background-color: var(--color-base-100); vertical-align: middle; width: clamp(3rem, 20rem, 100%); min-height: 5rem; font-size: max(var(--font-size, 0.875rem), 0.875rem); touch-action: manipulation; 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 ); flex-shrink: 1; padding-block: 0.5rem; padding-inline: 0.75rem; } & textarea { appearance: none; background-color: #0000; border: none; &:focus, &:focus-within { --tw-outline-style: none; outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } } &: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; } @media (pointer: coarse) { @supports (-webkit-touch-callout: none) { &:focus, &:focus-within { --font-size: 1rem; } } } &: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 ); box-shadow: none; &::placeholder { color: color-mix( in oklab, var(--color-base-content) 20%, transparent ); } } &:has(> textarea[disabled]) > textarea[disabled] { cursor: not-allowed; } } } .sm\:textarea-ghost { @layer daisyui.l1.l2 { & { box-shadow: none; background-color: #0000; border-color: #0000; } &:focus, &:focus-within { background-color: var(--color-base-100); color: var(--color-base-content); box-shadow: none; border-color: #0000; } } } .sm\:textarea-neutral { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-neutral); } } } .sm\:textarea-primary { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-primary); } } } .sm\:textarea-secondary { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-secondary); } } } .sm\:textarea-accent { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-accent); } } } .sm\:textarea-info { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-info); } } } .sm\:textarea-success { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-success); } } } .sm\:textarea-warning { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-warning); } } } .sm\:textarea-error { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-error); } } } .sm\:textarea-xs { @layer daisyui.l1.l2 { & { font-size: max(var(--font-size, 0.6875rem), 0.6875rem); } } } .sm\:textarea-sm { @layer daisyui.l1.l2 { & { font-size: max(var(--font-size, 0.75rem), 0.75rem); } } } .sm\:textarea-md { @layer daisyui.l1.l2 { & { font-size: max(var(--font-size, 0.875rem), 0.875rem); } } } .sm\:textarea-lg { @layer daisyui.l1.l2 { & { font-size: max(var(--font-size, 1.125rem), 1.125rem); } } } .sm\:textarea-xl { @layer daisyui.l1.l2 { & { font-size: max(var(--font-size, 1.375rem), 1.375rem); } } } } @media (width>=768px) { .md\:textarea { @layer daisyui.l1.l2.l3 { & { border: var(--border) solid #0000; appearance: none; border-radius: var(--radius-field); background-color: var(--color-base-100); vertical-align: middle; width: clamp(3rem, 20rem, 100%); min-height: 5rem; font-size: max(var(--font-size, 0.875rem), 0.875rem); touch-action: manipulation; 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 ); flex-shrink: 1; padding-block: 0.5rem; padding-inline: 0.75rem; } & textarea { appearance: none; background-color: #0000; border: none; &:focus, &:focus-within { --tw-outline-style: none; outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } } &: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; } @media (pointer: coarse) { @supports (-webkit-touch-callout: none) { &:focus, &:focus-within { --font-size: 1rem; } } } &: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 ); box-shadow: none; &::placeholder { color: color-mix( in oklab, var(--color-base-content) 20%, transparent ); } } &:has(> textarea[disabled]) > textarea[disabled] { cursor: not-allowed; } } } .md\:textarea-ghost { @layer daisyui.l1.l2 { & { box-shadow: none; background-color: #0000; border-color: #0000; } &:focus, &:focus-within { background-color: var(--color-base-100); color: var(--color-base-content); box-shadow: none; border-color: #0000; } } } .md\:textarea-neutral { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-neutral); } } } .md\:textarea-primary { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-primary); } } } .md\:textarea-secondary { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-secondary); } } } .md\:textarea-accent { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-accent); } } } .md\:textarea-info { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-info); } } } .md\:textarea-success { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-success); } } } .md\:textarea-warning { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-warning); } } } .md\:textarea-error { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-error); } } } .md\:textarea-xs { @layer daisyui.l1.l2 { & { font-size: max(var(--font-size, 0.6875rem), 0.6875rem); } } } .md\:textarea-sm { @layer daisyui.l1.l2 { & { font-size: max(var(--font-size, 0.75rem), 0.75rem); } } } .md\:textarea-md { @layer daisyui.l1.l2 { & { font-size: max(var(--font-size, 0.875rem), 0.875rem); } } } .md\:textarea-lg { @layer daisyui.l1.l2 { & { font-size: max(var(--font-size, 1.125rem), 1.125rem); } } } .md\:textarea-xl { @layer daisyui.l1.l2 { & { font-size: max(var(--font-size, 1.375rem), 1.375rem); } } } } @media (width>=1024px) { .lg\:textarea { @layer daisyui.l1.l2.l3 { & { border: var(--border) solid #0000; appearance: none; border-radius: var(--radius-field); background-color: var(--color-base-100); vertical-align: middle; width: clamp(3rem, 20rem, 100%); min-height: 5rem; font-size: max(var(--font-size, 0.875rem), 0.875rem); touch-action: manipulation; 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 ); flex-shrink: 1; padding-block: 0.5rem; padding-inline: 0.75rem; } & textarea { appearance: none; background-color: #0000; border: none; &:focus, &:focus-within { --tw-outline-style: none; outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } } &: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; } @media (pointer: coarse) { @supports (-webkit-touch-callout: none) { &:focus, &:focus-within { --font-size: 1rem; } } } &: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 ); box-shadow: none; &::placeholder { color: color-mix( in oklab, var(--color-base-content) 20%, transparent ); } } &:has(> textarea[disabled]) > textarea[disabled] { cursor: not-allowed; } } } .lg\:textarea-ghost { @layer daisyui.l1.l2 { & { box-shadow: none; background-color: #0000; border-color: #0000; } &:focus, &:focus-within { background-color: var(--color-base-100); color: var(--color-base-content); box-shadow: none; border-color: #0000; } } } .lg\:textarea-neutral { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-neutral); } } } .lg\:textarea-primary { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-primary); } } } .lg\:textarea-secondary { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-secondary); } } } .lg\:textarea-accent { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-accent); } } } .lg\:textarea-info { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-info); } } } .lg\:textarea-success { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-success); } } } .lg\:textarea-warning { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-warning); } } } .lg\:textarea-error { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-error); } } } .lg\:textarea-xs { @layer daisyui.l1.l2 { & { font-size: max(var(--font-size, 0.6875rem), 0.6875rem); } } } .lg\:textarea-sm { @layer daisyui.l1.l2 { & { font-size: max(var(--font-size, 0.75rem), 0.75rem); } } } .lg\:textarea-md { @layer daisyui.l1.l2 { & { font-size: max(var(--font-size, 0.875rem), 0.875rem); } } } .lg\:textarea-lg { @layer daisyui.l1.l2 { & { font-size: max(var(--font-size, 1.125rem), 1.125rem); } } } .lg\:textarea-xl { @layer daisyui.l1.l2 { & { font-size: max(var(--font-size, 1.375rem), 1.375rem); } } } } @media (width>=1280px) { .xl\:textarea { @layer daisyui.l1.l2.l3 { & { border: var(--border) solid #0000; appearance: none; border-radius: var(--radius-field); background-color: var(--color-base-100); vertical-align: middle; width: clamp(3rem, 20rem, 100%); min-height: 5rem; font-size: max(var(--font-size, 0.875rem), 0.875rem); touch-action: manipulation; 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 ); flex-shrink: 1; padding-block: 0.5rem; padding-inline: 0.75rem; } & textarea { appearance: none; background-color: #0000; border: none; &:focus, &:focus-within { --tw-outline-style: none; outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } } &: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; } @media (pointer: coarse) { @supports (-webkit-touch-callout: none) { &:focus, &:focus-within { --font-size: 1rem; } } } &: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 ); box-shadow: none; &::placeholder { color: color-mix( in oklab, var(--color-base-content) 20%, transparent ); } } &:has(> textarea[disabled]) > textarea[disabled] { cursor: not-allowed; } } } .xl\:textarea-ghost { @layer daisyui.l1.l2 { & { box-shadow: none; background-color: #0000; border-color: #0000; } &:focus, &:focus-within { background-color: var(--color-base-100); color: var(--color-base-content); box-shadow: none; border-color: #0000; } } } .xl\:textarea-neutral { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-neutral); } } } .xl\:textarea-primary { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-primary); } } } .xl\:textarea-secondary { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-secondary); } } } .xl\:textarea-accent { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-accent); } } } .xl\:textarea-info { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-info); } } } .xl\:textarea-success { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-success); } } } .xl\:textarea-warning { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-warning); } } } .xl\:textarea-error { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-error); } } } .xl\:textarea-xs { @layer daisyui.l1.l2 { & { font-size: max(var(--font-size, 0.6875rem), 0.6875rem); } } } .xl\:textarea-sm { @layer daisyui.l1.l2 { & { font-size: max(var(--font-size, 0.75rem), 0.75rem); } } } .xl\:textarea-md { @layer daisyui.l1.l2 { & { font-size: max(var(--font-size, 0.875rem), 0.875rem); } } } .xl\:textarea-lg { @layer daisyui.l1.l2 { & { font-size: max(var(--font-size, 1.125rem), 1.125rem); } } } .xl\:textarea-xl { @layer daisyui.l1.l2 { & { font-size: max(var(--font-size, 1.375rem), 1.375rem); } } } } @media (width>=1536px) { .\32 xl\:textarea { @layer daisyui.l1.l2.l3 { & { border: var(--border) solid #0000; appearance: none; border-radius: var(--radius-field); background-color: var(--color-base-100); vertical-align: middle; width: clamp(3rem, 20rem, 100%); min-height: 5rem; font-size: max(var(--font-size, 0.875rem), 0.875rem); touch-action: manipulation; 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 ); flex-shrink: 1; padding-block: 0.5rem; padding-inline: 0.75rem; } & textarea { appearance: none; background-color: #0000; border: none; &:focus, &:focus-within { --tw-outline-style: none; outline-style: none; @media (forced-colors: active) { & { outline-offset: 2px; outline: 2px solid #0000; } } } } &: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; } @media (pointer: coarse) { @supports (-webkit-touch-callout: none) { &:focus, &:focus-within { --font-size: 1rem; } } } &: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 ); box-shadow: none; &::placeholder { color: color-mix( in oklab, var(--color-base-content) 20%, transparent ); } } &:has(> textarea[disabled]) > textarea[disabled] { cursor: not-allowed; } } } .\32 xl\:textarea-ghost { @layer daisyui.l1.l2 { & { box-shadow: none; background-color: #0000; border-color: #0000; } &:focus, &:focus-within { background-color: var(--color-base-100); color: var(--color-base-content); box-shadow: none; border-color: #0000; } } } .\32 xl\:textarea-neutral { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-neutral); } } } .\32 xl\:textarea-primary { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-primary); } } } .\32 xl\:textarea-secondary { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-secondary); } } } .\32 xl\:textarea-accent { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-accent); } } } .\32 xl\:textarea-info { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-info); } } } .\32 xl\:textarea-success { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-success); } } } .\32 xl\:textarea-warning { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-warning); } } } .\32 xl\:textarea-error { @layer daisyui.l1.l2 { &, &:focus, &:focus-within { --input-color: var(--color-error); } } } .\32 xl\:textarea-xs { @layer daisyui.l1.l2 { & { font-size: max(var(--font-size, 0.6875rem), 0.6875rem); } } } .\32 xl\:textarea-sm { @layer daisyui.l1.l2 { & { font-size: max(var(--font-size, 0.75rem), 0.75rem); } } } .\32 xl\:textarea-md { @layer daisyui.l1.l2 { & { font-size: max(var(--font-size, 0.875rem), 0.875rem); } } } .\32 xl\:textarea-lg { @layer daisyui.l1.l2 { & { font-size: max(var(--font-size, 1.125rem), 1.125rem); } } } .\32 xl\:textarea-xl { @layer daisyui.l1.l2 { & { font-size: max(var(--font-size, 1.375rem), 1.375rem); } } } } :where(.btn) { @layer daisyui.l1.l2.l3 { & { width: unset; } } } .prose :where(.btn-link):not( :where([class~="not-prose"], [class~="not-prose"] *) ) { text-decoration-line: none; } .btn { @layer daisyui.l1.l2.l3 { & { cursor: pointer; 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); outline-color: var(--btn-color, var(--color-base-content)); 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)); touch-action: manipulation; 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); border-start-start-radius: var(--join-ss, var(--radius-field)); border-start-end-radius: var(--join-se, var(--radius-field)); border-end-end-radius: var(--join-ee, var(--radius-field)); border-end-start-radius: var(--join-es, var(--radius-field)); flex-wrap: nowrap; flex-shrink: 0; justify-content: center; align-items: center; gap: 0.375rem; font-weight: 600; transition-property: color, background-color, border-color, box-shadow; transition-duration: 0.2s; transition-timing-function: cubic-bezier(0, 0, 0.2, 1); display: inline-flex; } @media (hover: hover) { &:hover { --btn-bg: color-mix( in oklab, var(--btn-color, var(--color-base-200)), #000 7% ); } } &:focus-visible, &:has(:focus-visible) { isolation: isolate; outline-width: 2px; outline-style: solid; } &:active:not(.btn-active) { --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); translate: 0 0.5px; } &:is(input[type="checkbox"], input[type="radio"]) { appearance: none; &[aria-label]:after { --tw-content: attr(aria-label); content: var(--tw-content); } } &:where(input:checked:not(.filter .btn)) { --btn-color: var(--color-primary); --btn-fg: var(--color-primary-content); isolation: isolate; } } } .btn-disabled, .btn:disabled, .btn[disabled] { @layer daisyui.l1.l2 { & { pointer-events: none; --btn-border: #0000; --btn-noise: none; --btn-fg: color-mix(in oklch, var(--color-base-content) 20%, #0000); } &:not(.btn-link, .btn-ghost) { background-color: color-mix( in oklab, var(--color-base-content) 10%, transparent ); box-shadow: none; } } } .btn-active { @layer daisyui.l1.l2 { & { --btn-bg: 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); isolation: isolate; } } } .btn-primary { @layer daisyui.l1.l2.l3 { & { --btn-color: var(--color-primary); --btn-fg: var(--color-primary-content); } } } .btn-secondary { @layer daisyui.l1.l2.l3 { & { --btn-color: var(--color-secondary); --btn-fg: var(--color-secondary-content); } } } .btn-accent { @layer daisyui.l1.l2.l3 { & { --btn-color: var(--color-accent); --btn-fg: var(--color-accent-content); } } } .btn-neutral { @layer daisyui.l1.l2.l3 { & { --btn-color: var(--color-neutral); --btn-fg: var(--color-neutral-content); } } } .btn-info { @layer daisyui.l1.l2.l3 { & { --btn-color: var(--color-info); --btn-fg: var(--color-info-content); } } } .btn-success { @layer daisyui.l1.l2.l3 { & { --btn-color: var(--color-success); --btn-fg: var(--color-success-content); } } } .btn-warning { @layer daisyui.l1.l2.l3 { & { --btn-color: var(--color-warning); --btn-fg: var(--color-warning-content); } } } .btn-error { @layer daisyui.l1.l2.l3 { & { --btn-color: var(--color-error); --btn-fg: var(--color-error-content); } } } .btn-ghost { @layer daisyui.l1 { &:not( .btn-active, :hover, :active:focus, :focus-visible, input:checked:not(.filter .btn) ) { --btn-shadow: ""; --btn-bg: #0000; --btn-border: #0000; --btn-noise: none; &:not(:disabled, [disabled], .btn-disabled) { --btn-fg: var(--btn-color, currentColor); outline-color: currentColor; } } @media (hover: none) { &:not( .btn-active, :active, :focus-visible, input:checked:not(.filter .btn) ):hover { --btn-shadow: ""; --btn-bg: #0000; --btn-fg: var(--btn-color, currentColor); --btn-border: #0000; --btn-noise: none; outline-color: currentColor; } } } } .btn-link { @layer daisyui.l1 { & { --btn-border: #0000; --btn-bg: #0000; --btn-noise: none; --btn-shadow: ""; outline-color: currentColor; text-decoration-line: underline; } &:not(.btn-disabled, .btn:disabled, .btn[disabled]) { --btn-fg: var(--btn-color, var(--color-primary)); } &:is(.btn-active, :hover, :active:focus, :focus-visible) { --btn-border: #0000; --btn-bg: #0000; } } } .btn-outline, .btn-dash { @layer daisyui.l1 { &:not( .btn-active, :hover, :active:focus, :focus-visible, input:checked:not(.filter .btn), :disabled, [disabled], .btn-disabled ) { --btn-shadow: ""; --btn-bg: #0000; --btn-fg: var(--btn-color); --btn-border: var(--btn-color); --btn-noise: none; } @media (hover: none) { &:not( .btn-active, :active, :focus-visible, input:checked:not(.filter .btn) ):hover { --btn-shadow: ""; --btn-bg: #0000; --btn-fg: var(--btn-color); --btn-border: var(--btn-color); --btn-noise: none; } } } } .btn-dash { border-style: dashed; } .btn-soft { @layer daisyui.l1 { &:not( .btn-active, :hover, :active:focus, :focus-visible, input:checked:not(.filter .btn), :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; } @media (hover: none) { &:not( .btn-active, :active, :focus-visible, input:checked:not(.filter .btn) ):hover { --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; } } } } .btn-xs { @layer daisyui.l1.l2 { & { --fontsize: 0.6875rem; --btn-p: 0.5rem; --size: calc(var(--size-field, 0.25rem) * 6); } } } .btn-sm { @layer daisyui.l1.l2 { & { --fontsize: 0.75rem; --btn-p: 0.75rem; --size: calc(var(--size-field, 0.25rem) * 8); } } } .btn-md { @layer daisyui.l1.l2 { & { --fontsize: 0.875rem; --btn-p: 1rem; --size: calc(var(--size-field, 0.25rem) * 10); } } } .btn-lg { @layer daisyui.l1.l2 { & { --fontsize: 1.125rem; --btn-p: 1.25rem; --size: calc(var(--size-field, 0.25rem) * 12); } } } .btn-xl { @layer daisyui.l1.l2 { & { --fontsize: 1.375rem; --btn-p: 1.5rem; --size: calc(var(--size-field, 0.25rem) * 14); } } } .btn-square { @layer daisyui.l1.l2 { & { width: var(--size); height: var(--size); padding-inline: 0; } } } .btn-circle { @layer daisyui.l1.l2 { & { width: var(--size); height: var(--size); border-radius: 3.40282e38px; padding-inline: 0; } } } .btn-wide { @layer daisyui.l1.l2 { & { width: 100%; max-width: 16rem; } } } .btn-block { @layer daisyui.l1.l2 { & { width: 100%; } } } @media (width>=640px) { :where(.btn) { @layer daisyui.l1.l2.l3 { & { width: unset; } } } .sm\:prose :where(.btn-link):not( :where([class~="not-prose"], [class~="not-prose"] *) ) { text-decoration-line: none; } .sm\:btn { @layer daisyui.l1.l2.l3 { & { cursor: pointer; 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); outline-color: var(--btn-color, var(--color-base-content)); 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)); touch-action: manipulation; 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); border-start-start-radius: var(--join-ss, var(--radius-field)); border-start-end-radius: var(--join-se, var(--radius-field)); border-end-end-radius: var(--join-ee, var(--radius-field)); border-end-start-radius: var(--join-es, var(--radius-field)); flex-wrap: nowrap; flex-shrink: 0; justify-content: center; align-items: center; gap: 0.375rem; font-weight: 600; transition-property: color, background-color, border-color, box-shadow; transition-duration: 0.2s; transition-timing-function: cubic-bezier(0, 0, 0.2, 1); display: inline-flex; } @media (hover: hover) { &:hover { --btn-bg: color-mix( in oklab, var(--btn-color, var(--color-base-200)), #000 7% ); } } &:focus-visible, &:has(:focus-visible) { isolation: isolate; outline-width: 2px; outline-style: solid; } &:active:not(.btn-active) { --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); translate: 0 0.5px; } &:is(input[type="checkbox"], input[type="radio"]) { appearance: none; &[aria-label]:after { --tw-content: attr(aria-label); content: var(--tw-content); } } &:where(input:checked:not(.filter .btn)) { --btn-color: var(--color-primary); --btn-fg: var(--color-primary-content); isolation: isolate; } } } .sm\:btn-disabled, .sm\:btn:disabled, .sm\:btn[disabled] { @layer daisyui.l1.l2 { & { pointer-events: none; --btn-border: #0000; --btn-noise: none; --btn-fg: color-mix(in oklch, var(--color-base-content) 20%, #0000); } &:not(.btn-link, .btn-ghost) { background-color: color-mix( in oklab, var(--color-base-content) 10%, transparent ); box-shadow: none; } } } .sm\:btn-active { @layer daisyui.l1.l2 { & { --btn-bg: 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); isolation: isolate; } } } .sm\:btn-primary { @layer daisyui.l1.l2.l3 { & { --btn-color: var(--color-primary); --btn-fg: var(--color-primary-content); } } } .sm\:btn-secondary { @layer daisyui.l1.l2.l3 { & { --btn-color: var(--color-secondary); --btn-fg: var(--color-secondary-content); } } } .sm\:btn-accent { @layer daisyui.l1.l2.l3 { & { --btn-color: var(--color-accent); --btn-fg: var(--color-accent-content); } } } .sm\:btn-neutral { @layer daisyui.l1.l2.l3 { & { --btn-color: var(--color-neutral); --btn-fg: var(--color-neutral-content); } } } .sm\:btn-info { @layer daisyui.l1.l2.l3 { & { --btn-color: var(--color-info); --btn-fg: var(--color-info-content); } } } .sm\:btn-success { @layer daisyui.l1.l2.l3 { & { --btn-color: var(--color-success); --btn-fg: var(--color-success-content); } } } .sm\:btn-warning { @layer daisyui.l1.l2.l3 { & { --btn-color: var(--color-warning); --btn-fg: var(--color-warning-content); } } } .sm\:btn-error { @layer daisyui.l1.l2.l3 { & { --btn-color: var(--color-error); --btn-fg: var(--color-error-content); } } } .sm\:btn-ghost { @layer daisyui.l1 { &:not( .btn-active, :hover, :active:focus, :focus-visible, input:checked:not(.filter .btn) ) { --btn-shadow: ""; --btn-bg: #0000; --btn-border: #0000; --btn-noise: none; &:not(:disabled, [disabled], .btn-disabled) { --btn-fg: var(--btn-color, currentColor); outline-color: currentColor; } } @media (hover: none) { &:not( .btn-active, :active, :focus-visible, input:checked:not(.filter .btn) ):hover { --btn-shadow: ""; --btn-bg: #0000; --btn-fg: var(--btn-color, currentColor); --btn-border: #0000; --btn-noise: none; outline-color: currentColor; } } } } .sm\:btn-link { @layer daisyui.l1 { & { --btn-border: #0000; --btn-bg: #0000; --btn-noise: none; --btn-shadow: ""; outline-color: currentColor; text-decoration-line: underline; } &:not(.btn-disabled, .btn:disabled, .btn[disabled]) { --btn-fg: var(--btn-color, var(--color-primary)); } &:is(.btn-active, :hover, :active:focus, :focus-visible) { --btn-border: #0000; --btn-bg: #0000; } } } .sm\:btn-outline, .sm\:btn-dash { @layer daisyui.l1 { &:not( .btn-active, :hover, :active:focus, :focus-visible, input:checked:not(.filter .btn), :disabled, [disabled], .btn-disabled ) { --btn-shadow: ""; --btn-bg: #0000; --btn-fg: var(--btn-color); --btn-border: var(--btn-color); --btn-noise: none; } @media (hover: none) { &:not( .btn-active, :active, :focus-visible, input:checked:not(.filter .btn) ):hover { --btn-shadow: ""; --btn-bg: #0000; --btn-fg: var(--btn-color); --btn-border: var(--btn-color); --btn-noise: none; } } } } .sm\:btn-dash { border-style: dashed; } .sm\:btn-soft { @layer daisyui.l1 { &:not( .btn-active, :hover, :active:focus, :focus-visible, input:checked:not(.filter .btn), :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; } @media (hover: none) { &:not( .btn-active, :active, :focus-visible, input:checked:not(.filter .btn) ):hover { --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; } } } } .sm\:btn-xs { @layer daisyui.l1.l2 { & { --fontsize: 0.6875rem; --btn-p: 0.5rem; --size: calc(var(--size-field, 0.25rem) * 6); } } } .sm\:btn-sm { @layer daisyui.l1.l2 { & { --fontsize: 0.75rem; --btn-p: 0.75rem; --size: calc(var(--size-field, 0.25rem) * 8); } } } .sm\:btn-md { @layer daisyui.l1.l2 { & { --fontsize: 0.875rem; --btn-p: 1rem; --size: calc(var(--size-field, 0.25rem) * 10); } } } .sm\:btn-lg { @layer daisyui.l1.l2 { & { --fontsize: 1.125rem; --btn-p: 1.25rem; --size: calc(var(--size-field, 0.25rem) * 12); } } } .sm\:btn-xl { @layer daisyui.l1.l2 { & { --fontsize: 1.375rem; --btn-p: 1.5rem; --size: calc(var(--size-field, 0.25rem) * 14); } } } .sm\:btn-square { @layer daisyui.l1.l2 { & { width: var(--size); height: var(--size); padding-inline: 0; } } } .sm\:btn-circle { @layer daisyui.l1.l2 { & { width: var(--size); height: var(--size); border-radius: 3.40282e38px; padding-inline: 0; } } } .sm\:btn-wide { @layer daisyui.l1.l2 { & { width: 100%; max-width: 16rem; } } } .sm\:btn-block { @layer daisyui.l1.l2 { & { width: 100%; } } } } @media (width>=768px) { :where(.btn) { @layer daisyui.l1.l2.l3 { & { width: unset; } } } .md\:prose :where(.btn-link):not( :where([class~="not-prose"], [class~="not-prose"] *) ) { text-decoration-line: none; } .md\:btn { @layer daisyui.l1.l2.l3 { & { cursor: pointer; 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); outline-color: var(--btn-color, var(--color-base-content)); 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)); touch-action: manipulation; 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); border-start-start-radius: var(--join-ss, var(--radius-field)); border-start-end-radius: var(--join-se, var(--radius-field)); border-end-end-radius: var(--join-ee, var(--radius-field)); border-end-start-radius: var(--join-es, var(--radius-field)); flex-wrap: nowrap; flex-shrink: 0; justify-content: center; align-items: center; gap: 0.375rem; font-weight: 600; transition-property: color, background-color, border-color, box-shadow; transition-duration: 0.2s; transition-timing-function: cubic-bezier(0, 0, 0.2, 1); display: inline-flex; } @media (hover: hover) { &:hover { --btn-bg: color-mix( in oklab, var(--btn-color, var(--color-base-200)), #000 7% ); } } &:focus-visible, &:has(:focus-visible) { isolation: isolate; outline-width: 2px; outline-style: solid; } &:active:not(.btn-active) { --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); translate: 0 0.5px; } &:is(input[type="checkbox"], input[type="radio"]) { appearance: none; &[aria-label]:after { --tw-content: attr(aria-label); content: var(--tw-content); } } &:where(input:checked:not(.filter .btn)) { --btn-color: var(--color-primary); --btn-fg: var(--color-primary-content); isolation: isolate; } } } .md\:btn-disabled, .md\:btn:disabled, .md\:btn[disabled] { @layer daisyui.l1.l2 { & { pointer-events: none; --btn-border: #0000; --btn-noise: none; --btn-fg: color-mix(in oklch, var(--color-base-content) 20%, #0000); } &:not(.btn-link, .btn-ghost) { background-color: color-mix( in oklab, var(--color-base-content) 10%, transparent ); box-shadow: none; } } } .md\:btn-active { @layer daisyui.l1.l2 { & { --btn-bg: 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); isolation: isolate; } } } .md\:btn-primary { @layer daisyui.l1.l2.l3 { & { --btn-color: var(--color-primary); --btn-fg: var(--color-primary-content); } } } .md\:btn-secondary { @layer daisyui.l1.l2.l3 { & { --btn-color: var(--color-secondary); --btn-fg: var(--color-secondary-content); } } } .md\:btn-accent { @layer daisyui.l1.l2.l3 { & { --btn-color: var(--color-accent); --btn-fg: var(--color-accent-content); } } } .md\:btn-neutral { @layer daisyui.l1.l2.l3 { & { --btn-color: var(--color-neutral); --btn-fg: var(--color-neutral-content); } } } .md\:btn-info { @layer daisyui.l1.l2.l3 { & { --btn-color: var(--color-info); --btn-fg: var(--color-info-content); } } } .md\:btn-success { @layer daisyui.l1.l2.l3 { & { --btn-color: var(--color-success); --btn-fg: var(--color-success-content); } } } .md\:btn-warning { @layer daisyui.l1.l2.l3 { & { --btn-color: var(--color-warning); --btn-fg: var(--color-warning-content); } } } .md\:btn-error { @layer daisyui.l1.l2.l3 { & { --btn-color: var(--color-error); --btn-fg: var(--color-error-content); } } } .md\:btn-ghost { @layer daisyui.l1 { &:not( .btn-active, :hover, :active:focus, :focus-visible, input:checked:not(.filter .btn) ) { --btn-shadow: ""; --btn-bg: #0000; --btn-border: #0000; --btn-noise: none; &:not(:disabled, [disabled], .btn-disabled) { --btn-fg: var(--btn-color, currentColor); outline-color: currentColor; } } @media (hover: none) { &:not( .btn-active, :active, :focus-visible, input:checked:not(.filter .btn) ):hover { --btn-shadow: ""; --btn-bg: #0000; --btn-fg: var(--btn-color, currentColor); --btn-border: #0000; --btn-noise: none; outline-color: currentColor; } } } } .md\:btn-link { @layer daisyui.l1 { & { --btn-border: #0000; --btn-bg: #0000; --btn-noise: none; --btn-shadow: ""; outline-color: currentColor; text-decoration-line: underline; } &:not(.btn-disabled, .btn:disabled, .btn[disabled]) { --btn-fg: var(--btn-color, var(--color-primary)); } &:is(.btn-active, :hover, :active:focus, :focus-visible) { --btn-border: #0000; --btn-bg: #0000; } } } .md\:btn-outline, .md\:btn-dash { @layer daisyui.l1 { &:not( .btn-active, :hover, :active:focus, :focus-visible, input:checked:not(.filter .btn), :disabled, [disabled], .btn-disabled ) { --btn-shadow: ""; --btn-bg: #0000; --btn-fg: var(--btn-color); --btn-border: var(--btn-color); --btn-noise: none; } @media (hover: none) { &:not( .btn-active, :active, :focus-visible, input:checked:not(.filter .btn) ):hover { --btn-shadow: ""; --btn-bg: #0000; --btn-fg: var(--btn-color); --btn-border: var(--btn-color); --btn-noise: none; } } } } .md\:btn-dash { border-style: dashed; } .md\:btn-soft { @layer daisyui.l1 { &:not( .btn-active, :hover, :active:focus, :focus-visible, input:checked:not(.filter .btn), :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; } @media (hover: none) { &:not( .btn-active, :active, :focus-visible, input:checked:not(.filter .btn) ):hover { --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; } } } } .md\:btn-xs { @layer daisyui.l1.l2 { & { --fontsize: 0.6875rem; --btn-p: 0.5rem; --size: calc(var(--size-field, 0.25rem) * 6); } } } .md\:btn-sm { @layer daisyui.l1.l2 { & { --fontsize: 0.75rem; --btn-p: 0.75rem; --size: calc(var(--size-field, 0.25rem) * 8); } } } .md\:btn-md { @layer daisyui.l1.l2 { & { --fontsize: 0.875rem; --btn-p: 1rem; --size: calc(var(--size-field, 0.25rem) * 10); } } } .md\:btn-lg { @layer daisyui.l1.l2 { & { --fontsize: 1.125rem; --btn-p: 1.25rem; --size: calc(var(--size-field, 0.25rem) * 12); } } } .md\:btn-xl { @layer daisyui.l1.l2 { & { --fontsize: 1.375rem; --btn-p: 1.5rem; --size: calc(var(--size-field, 0.25rem) * 14); } } } .md\:btn-square { @layer daisyui.l1.l2 { & { width: var(--size); height: var(--size); padding-inline: 0; } } } .md\:btn-circle { @layer daisyui.l1.l2 { & { width: var(--size); height: var(--size); border-radius: 3.40282e38px; padding-inline: 0; } } } .md\:btn-wide { @layer daisyui.l1.l2 { & { width: 100%; max-width: 16rem; } } } .md\:btn-block { @layer daisyui.l1.l2 { & { width: 100%; } } } } @media (width>=1024px) { :where(.btn) { @layer daisyui.l1.l2.l3 { & { width: unset; } } } .lg\:prose :where(.btn-link):not( :where([class~="not-prose"], [class~="not-prose"] *) ) { text-decoration-line: none; } .lg\:btn { @layer daisyui.l1.l2.l3 { & { cursor: pointer; 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); outline-color: var(--btn-color, var(--color-base-content)); 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)); touch-action: manipulation; 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); border-start-start-radius: var(--join-ss, var(--radius-field)); border-start-end-radius: var(--join-se, var(--radius-field)); border-end-end-radius: var(--join-ee, var(--radius-field)); border-end-start-radius: var(--join-es, var(--radius-field)); flex-wrap: nowrap; flex-shrink: 0; justify-content: center; align-items: center; gap: 0.375rem; font-weight: 600; transition-property: color, background-color, border-color, box-shadow; transition-duration: 0.2s; transition-timing-function: cubic-bezier(0, 0, 0.2, 1); display: inline-flex; } @media (hover: hover) { &:hover { --btn-bg: color-mix( in oklab, var(--btn-color, var(--color-base-200)), #000 7% ); } } &:focus-visible, &:has(:focus-visible) { isolation: isolate; outline-width: 2px; outline-style: solid; } &:active:not(.btn-active) { --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); translate: 0 0.5px; } &:is(input[type="checkbox"], input[type="radio"]) { appearance: none; &[aria-label]:after { --tw-content: attr(aria-label); content: var(--tw-content); } } &:where(input:checked:not(.filter .btn)) { --btn-color: var(--color-primary); --btn-fg: var(--color-primary-content); isolation: isolate; } } } .lg\:btn-disabled, .lg\:btn:disabled, .lg\:btn[disabled] { @layer daisyui.l1.l2 { & { pointer-events: none; --btn-border: #0000; --btn-noise: none; --btn-fg: color-mix(in oklch, var(--color-base-content) 20%, #0000); } &:not(.btn-link, .btn-ghost) { background-color: color-mix( in oklab, var(--color-base-content) 10%, transparent ); box-shadow: none; } } } .lg\:btn-active { @layer daisyui.l1.l2 { & { --btn-bg: 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); isolation: isolate; } } } .lg\:btn-primary { @layer daisyui.l1.l2.l3 { & { --btn-color: var(--color-primary); --btn-fg: var(--color-primary-content); } } } .lg\:btn-secondary { @layer daisyui.l1.l2.l3 { & { --btn-color: var(--color-secondary); --btn-fg: var(--color-secondary-content); } } } .lg\:btn-accent { @layer daisyui.l1.l2.l3 { & { --btn-color: var(--color-accent); --btn-fg: var(--color-accent-content); } } } .lg\:btn-neutral { @layer daisyui.l1.l2.l3 { & { --btn-color: var(--color-neutral); --btn-fg: var(--color-neutral-content); } } } .lg\:btn-info { @layer daisyui.l1.l2.l3 { & { --btn-color: var(--color-info); --btn-fg: var(--color-info-content); } } } .lg\:btn-success { @layer daisyui.l1.l2.l3 { & { --btn-color: var(--color-success); --btn-fg: var(--color-success-content); } } } .lg\:btn-warning { @layer daisyui.l1.l2.l3 { & { --btn-color: var(--color-warning); --btn-fg: var(--color-warning-content); } } } .lg\:btn-error { @layer daisyui.l1.l2.l3 { & { --btn-color: var(--color-error); --btn-fg: var(--color-error-content); } } } .lg\:btn-ghost { @layer daisyui.l1 { &:not( .btn-active, :hover, :active:focus, :focus-visible, input:checked:not(.filter .btn) ) { --btn-shadow: ""; --btn-bg: #0000; --btn-border: #0000; --btn-noise: none; &:not(:disabled, [disabled], .btn-disabled) { --btn-fg: var(--btn-color, currentColor); outline-color: currentColor; } } @media (hover: none) { &:not( .btn-active, :active, :focus-visible, input:checked:not(.filter .btn) ):hover { --btn-shadow: ""; --btn-bg: #0000; --btn-fg: var(--btn-color, currentColor); --btn-border: #0000; --btn-noise: none; outline-color: currentColor; } } } } .lg\:btn-link { @layer daisyui.l1 { & { --btn-border: #0000; --btn-bg: #0000; --btn-noise: none; --btn-shadow: ""; outline-color: currentColor; text-decoration-line: underline; } &:not(.btn-disabled, .btn:disabled, .btn[disabled]) { --btn-fg: var(--btn-color, var(--color-primary)); } &:is(.btn-active, :hover, :active:focus, :focus-visible) { --btn-border: #0000; --btn-bg: #0000; } } } .lg\:btn-outline, .lg\:btn-dash { @layer daisyui.l1 { &:not( .btn-active, :hover, :active:focus, :focus-visible, input:checked:not(.filter .btn), :disabled, [disabled], .btn-disabled ) { --btn-shadow: ""; --btn-bg: #0000; --btn-fg: var(--btn-color); --btn-border: var(--btn-color); --btn-noise: none; } @media (hover: none) { &:not( .btn-active, :active, :focus-visible, input:checked:not(.filter .btn) ):hover { --btn-shadow: ""; --btn-bg: #0000; --btn-fg: var(--btn-color); --btn-border: var(--btn-color); --btn-noise: none; } } } } .lg\:btn-dash { border-style: dashed; } .lg\:btn-soft { @layer daisyui.l1 { &:not( .btn-active, :hover, :active:focus, :focus-visible, input:checked:not(.filter .btn), :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; } @media (hover: none) { &:not( .btn-active, :active, :focus-visible, input:checked:not(.filter .btn) ):hover { --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; } } } } .lg\:btn-xs { @layer daisyui.l1.l2 { & { --fontsize: 0.6875rem; --btn-p: 0.5rem; --size: calc(var(--size-field, 0.25rem) * 6); } } } .lg\:btn-sm { @layer daisyui.l1.l2 { & { --fontsize: 0.75rem; --btn-p: 0.75rem; --size: calc(var(--size-field, 0.25rem) * 8); } } } .lg\:btn-md { @layer daisyui.l1.l2 { & { --fontsize: 0.875rem; --btn-p: 1rem; --size: calc(var(--size-field, 0.25rem) * 10); } } } .lg\:btn-lg { @layer daisyui.l1.l2 { & { --fontsize: 1.125rem; --btn-p: 1.25rem; --size: calc(var(--size-field, 0.25rem) * 12); } } } .lg\:btn-xl { @layer daisyui.l1.l2 { & { --fontsize: 1.375rem; --btn-p: 1.5rem; --size: calc(var(--size-field, 0.25rem) * 14); } } } .lg\:btn-square { @layer daisyui.l1.l2 { & { width: var(--size); height: var(--size); padding-inline: 0; } } } .lg\:btn-circle { @layer daisyui.l1.l2 { & { width: var(--size); height: var(--size); border-radius: 3.40282e38px; padding-inline: 0; } } } .lg\:btn-wide { @layer daisyui.l1.l2 { & { width: 100%; max-width: 16rem; } } } .lg\:btn-block { @layer daisyui.l1.l2 { & { width: 100%; } } } } @media (width>=1280px) { :where(.btn) { @layer daisyui.l1.l2.l3 { & { width: unset; } } } .xl\:prose :where(.btn-link):not( :where([class~="not-prose"], [class~="not-prose"] *) ) { text-decoration-line: none; } .xl\:btn { @layer daisyui.l1.l2.l3 { & { cursor: pointer; 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); outline-color: var(--btn-color, var(--color-base-content)); 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)); touch-action: manipulation; 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); border-start-start-radius: var(--join-ss, var(--radius-field)); border-start-end-radius: var(--join-se, var(--radius-field)); border-end-end-radius: var(--join-ee, var(--radius-field)); border-end-start-radius: var(--join-es, var(--radius-field)); flex-wrap: nowrap; flex-shrink: 0; justify-content: center; align-items: center; gap: 0.375rem; font-weight: 600; transition-property: color, background-color, border-color, box-shadow; transition-duration: 0.2s; transition-timing-function: cubic-bezier(0, 0, 0.2, 1); display: inline-flex; } @media (hover: hover) { &:hover { --btn-bg: color-mix( in oklab, var(--btn-color, var(--color-base-200)), #000 7% ); } } &:focus-visible, &:has(:focus-visible) { isolation: isolate; outline-width: 2px; outline-style: solid; } &:active:not(.btn-active) { --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); translate: 0 0.5px; } &:is(input[type="checkbox"], input[type="radio"]) { appearance: none; &[aria-label]:after { --tw-content: attr(aria-label); content: var(--tw-content); } } &:where(input:checked:not(.filter .btn)) { --btn-color: var(--color-primary); --btn-fg: var(--color-primary-content); isolation: isolate; } } } .xl\:btn-disabled, .xl\:btn:disabled, .xl\:btn[disabled] { @layer daisyui.l1.l2 { & { pointer-events: none; --btn-border: #0000; --btn-noise: none; --btn-fg: color-mix(in oklch, var(--color-base-content) 20%, #0000); } &:not(.btn-link, .btn-ghost) { background-color: color-mix( in oklab, var(--color-base-content) 10%, transparent ); box-shadow: none; } } } .xl\:btn-active { @layer daisyui.l1.l2 { & { --btn-bg: 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); isolation: isolate; } } } .xl\:btn-primary { @layer daisyui.l1.l2.l3 { & { --btn-color: var(--color-primary); --btn-fg: var(--color-primary-content); } } } .xl\:btn-secondary { @layer daisyui.l1.l2.l3 { & { --btn-color: var(--color-secondary); --btn-fg: var(--color-secondary-content); } } } .xl\:btn-accent { @layer daisyui.l1.l2.l3 { & { --btn-color: var(--color-accent); --btn-fg: var(--color-accent-content); } } } .xl\:btn-neutral { @layer daisyui.l1.l2.l3 { & { --btn-color: var(--color-neutral); --btn-fg: var(--color-neutral-content); } } } .xl\:btn-info { @layer daisyui.l1.l2.l3 { & { --btn-color: var(--color-info); --btn-fg: var(--color-info-content); } } } .xl\:btn-success { @layer daisyui.l1.l2.l3 { & { --btn-color: var(--color-success); --btn-fg: var(--color-success-content); } } } .xl\:btn-warning { @layer daisyui.l1.l2.l3 { & { --btn-color: var(--color-warning); --btn-fg: var(--color-warning-content); } } } .xl\:btn-error { @layer daisyui.l1.l2.l3 { & { --btn-color: var(--color-error); --btn-fg: var(--color-error-content); } } } .xl\:btn-ghost { @layer daisyui.l1 { &:not( .btn-active, :hover, :active:focus, :focus-visible, input:checked:not(.filter .btn) ) { --btn-shadow: ""; --btn-bg: #0000; --btn-border: #0000; --btn-noise: none; &:not(:disabled, [disabled], .btn-disabled) { --btn-fg: var(--btn-color, currentColor); outline-color: currentColor; } } @media (hover: none) { &:not( .btn-active, :active, :focus-visible, input:checked:not(.filter .btn) ):hover { --btn-shadow: ""; --btn-bg: #0000; --btn-fg: var(--btn-color, currentColor); --btn-border: #0000; --btn-noise: none; outline-color: currentColor; } } } } .xl\:btn-link { @layer daisyui.l1 { & { --btn-border: #0000; --btn-bg: #0000; --btn-noise: none; --btn-shadow: ""; outline-color: currentColor; text-decoration-line: underline; } &:not(.btn-disabled, .btn:disabled, .btn[disabled]) { --btn-fg: var(--btn-color, var(--color-primary)); } &:is(.btn-active, :hover, :active:focus, :focus-visible) { --btn-border: #0000; --btn-bg: #0000; } } } .xl\:btn-outline, .xl\:btn-dash { @layer daisyui.l1 { &:not( .btn-active, :hover, :active:focus, :focus-visible, input:checked:not(.filter .btn), :disabled, [disabled], .btn-disabled ) { --btn-shadow: ""; --btn-bg: #0000; --btn-fg: var(--btn-color); --btn-border: var(--btn-color); --btn-noise: none; } @media (hover: none) { &:not( .btn-active, :active, :focus-visible, input:checked:not(.filter .btn) ):hover { --btn-shadow: ""; --btn-bg: #0000; --btn-fg: var(--btn-color); --btn-border: var(--btn-color); --btn-noise: none; } } } } .xl\:btn-dash { border-style: dashed; } .xl\:btn-soft { @layer daisyui.l1 { &:not( .btn-active, :hover, :active:focus, :focus-visible, input:checked:not(.filter .btn), :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; } @media (hover: none) { &:not( .btn-active, :active, :focus-visible, input:checked:not(.filter .btn) ):hover { --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; } } } } .xl\:btn-xs { @layer daisyui.l1.l2 { & { --fontsize: 0.6875rem; --btn-p: 0.5rem; --size: calc(var(--size-field, 0.25rem) * 6); } } } .xl\:btn-sm { @layer daisyui.l1.l2 { & { --fontsize: 0.75rem; --btn-p: 0.75rem; --size: calc(var(--size-field, 0.25rem) * 8); } } } .xl\:btn-md { @layer daisyui.l1.l2 { & { --fontsize: 0.875rem; --btn-p: 1rem; --size: calc(var(--size-field, 0.25rem) * 10); } } } .xl\:btn-lg { @layer daisyui.l1.l2 { & { --fontsize: 1.125rem; --btn-p: 1.25rem; --size: calc(var(--size-field, 0.25rem) * 12); } } } .xl\:btn-xl { @layer daisyui.l1.l2 { & { --fontsize: 1.375rem; --btn-p: 1.5rem; --size: calc(var(--size-field, 0.25rem) * 14); } } } .xl\:btn-square { @layer daisyui.l1.l2 { & { width: var(--size); height: var(--size); padding-inline: 0; } } } .xl\:btn-circle { @layer daisyui.l1.l2 { & { width: var(--size); height: var(--size); border-radius: 3.40282e38px; padding-inline: 0; } } } .xl\:btn-wide { @layer daisyui.l1.l2 { & { width: 100%; max-width: 16rem; } } } .xl\:btn-block { @layer daisyui.l1.l2 { & { width: 100%; } } } } @media (width>=1536px) { :where(.btn) { @layer daisyui.l1.l2.l3 { & { width: unset; } } } .\32 xl\:prose :where(.btn-link):not( :where([class~="not-prose"], [class~="not-prose"] *) ) { text-decoration-line: none; } .\32 xl\:btn { @layer daisyui.l1.l2.l3 { & { cursor: pointer; 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); outline-color: var(--btn-color, var(--color-base-content)); 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)); touch-action: manipulation; 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); border-start-start-radius: var(--join-ss, var(--radius-field)); border-start-end-radius: var(--join-se, var(--radius-field)); border-end-end-radius: var(--join-ee, var(--radius-field)); border-end-start-radius: var(--join-es, var(--radius-field)); flex-wrap: nowrap; flex-shrink: 0; justify-content: center; align-items: center; gap: 0.375rem; font-weight: 600; transition-property: color, background-color, border-color, box-shadow; transition-duration: 0.2s; transition-timing-function: cubic-bezier(0, 0, 0.2, 1); display: inline-flex; } @media (hover: hover) { &:hover { --btn-bg: color-mix( in oklab, var(--btn-color, var(--color-base-200)), #000 7% ); } } &:focus-visible, &:has(:focus-visible) { isolation: isolate; outline-width: 2px; outline-style: solid; } &:active:not(.btn-active) { --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); translate: 0 0.5px; } &:is(input[type="checkbox"], input[type="radio"]) { appearance: none; &[aria-label]:after { --tw-content: attr(aria-label); content: var(--tw-content); } } &:where(input:checked:not(.filter .btn)) { --btn-color: var(--color-primary); --btn-fg: var(--color-primary-content); isolation: isolate; } } } .\32 xl\:btn-disabled, .\32 xl\:btn:disabled, .\32 xl\:btn[disabled] { @layer daisyui.l1.l2 { & { pointer-events: none; --btn-border: #0000; --btn-noise: none; --btn-fg: color-mix(in oklch, var(--color-base-content) 20%, #0000); } &:not(.btn-link, .btn-ghost) { background-color: color-mix( in oklab, var(--color-base-content) 10%, transparent ); box-shadow: none; } } } .\32 xl\:btn-active { @layer daisyui.l1.l2 { & { --btn-bg: 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); isolation: isolate; } } } .\32 xl\:btn-primary { @layer daisyui.l1.l2.l3 { & { --btn-color: var(--color-primary); --btn-fg: var(--color-primary-content); } } } .\32 xl\:btn-secondary { @layer daisyui.l1.l2.l3 { & { --btn-color: var(--color-secondary); --btn-fg: var(--color-secondary-content); } } } .\32 xl\:btn-accent { @layer daisyui.l1.l2.l3 { & { --btn-color: var(--color-accent); --btn-fg: var(--color-accent-content); } } } .\32 xl\:btn-neutral { @layer daisyui.l1.l2.l3 { & { --btn-color: var(--color-neutral); --btn-fg: var(--color-neutral-content); } } } .\32 xl\:btn-info { @layer daisyui.l1.l2.l3 { & { --btn-color: var(--color-info); --btn-fg: var(--color-info-content); } } } .\32 xl\:btn-success { @layer daisyui.l1.l2.l3 { & { --btn-color: var(--color-success); --btn-fg: var(--color-success-content); } } } .\32 xl\:btn-warning { @layer daisyui.l1.l2.l3 { & { --btn-color: var(--color-warning); --btn-fg: var(--color-warning-content); } } } .\32 xl\:btn-error { @layer daisyui.l1.l2.l3 { & { --btn-color: var(--color-error); --btn-fg: var(--color-error-content); } } } .\32 xl\:btn-ghost { @layer daisyui.l1 { &:not( .btn-active, :hover, :active:focus, :focus-visible, input:checked:not(.filter .btn) ) { --btn-shadow: ""; --btn-bg: #0000; --btn-border: #0000; --btn-noise: none; &:not(:disabled, [disabled], .btn-disabled) { --btn-fg: var(--btn-color, currentColor); outline-color: currentColor; } } @media (hover: none) { &:not( .btn-active, :active, :focus-visible, input:checked:not(.filter .btn) ):hover { --btn-shadow: ""; --btn-bg: #0000; --btn-fg: var(--btn-color, currentColor); --btn-border: #0000; --btn-noise: none; outline-color: currentColor; } } } } .\32 xl\:btn-link { @layer daisyui.l1 { & { --btn-border: #0000; --btn-bg: #0000; --btn-noise: none; --btn-shadow: ""; outline-color: currentColor; text-decoration-line: underline; } &:not(.btn-disabled, .btn:disabled, .btn[disabled]) { --btn-fg: var(--btn-color, var(--color-primary)); } &:is(.btn-active, :hover, :active:focus, :focus-visible) { --btn-border: #0000; --btn-bg: #0000; } } } .\32 xl\:btn-outline, .\32 xl\:btn-dash { @layer daisyui.l1 { &:not( .btn-active, :hover, :active:focus, :focus-visible, input:checked:not(.filter .btn), :disabled, [disabled], .btn-disabled ) { --btn-shadow: ""; --btn-bg: #0000; --btn-fg: var(--btn-color); --btn-border: var(--btn-color); --btn-noise: none; } @media (hover: none) { &:not( .btn-active, :active, :focus-visible, input:checked:not(.filter .btn) ):hover { --btn-shadow: ""; --btn-bg: #0000; --btn-fg: var(--btn-color); --btn-border: var(--btn-color); --btn-noise: none; } } } } .\32 xl\:btn-dash { border-style: dashed; } .\32 xl\:btn-soft { @layer daisyui.l1 { &:not( .btn-active, :hover, :active:focus, :focus-visible, input:checked:not(.filter .btn), :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; } @media (hover: none) { &:not( .btn-active, :active, :focus-visible, input:checked:not(.filter .btn) ):hover { --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; } } } } .\32 xl\:btn-xs { @layer daisyui.l1.l2 { & { --fontsize: 0.6875rem; --btn-p: 0.5rem; --size: calc(var(--size-field, 0.25rem) * 6); } } } .\32 xl\:btn-sm { @layer daisyui.l1.l2 { & { --fontsize: 0.75rem; --btn-p: 0.75rem; --size: calc(var(--size-field, 0.25rem) * 8); } } } .\32 xl\:btn-md { @layer daisyui.l1.l2 { & { --fontsize: 0.875rem; --btn-p: 1rem; --size: calc(var(--size-field, 0.25rem) * 10); } } } .\32 xl\:btn-lg { @layer daisyui.l1.l2 { & { --fontsize: 1.125rem; --btn-p: 1.25rem; --size: calc(var(--size-field, 0.25rem) * 12); } } } .\32 xl\:btn-xl { @layer daisyui.l1.l2 { & { --fontsize: 1.375rem; --btn-p: 1.5rem; --size: calc(var(--size-field, 0.25rem) * 14); } } } .\32 xl\:btn-square { @layer daisyui.l1.l2 { & { width: var(--size); height: var(--size); padding-inline: 0; } } } .\32 xl\:btn-circle { @layer daisyui.l1.l2 { & { width: var(--size); height: var(--size); border-radius: 3.40282e38px; padding-inline: 0; } } } .\32 xl\:btn-wide { @layer daisyui.l1.l2 { & { width: 100%; max-width: 16rem; } } } .\32 xl\:btn-block { @layer daisyui.l1.l2 { & { width: 100%; } } } } .modal { @layer daisyui.l1.l2.l3 { & { pointer-events: none; visibility: hidden; width: 100%; max-width: none; height: 100%; max-height: none; color: inherit; transition: visibility 0.3s allow-discrete, background-color 0.3s ease-out, opacity 0.1s ease-out; overscroll-behavior: contain; z-index: 999; scrollbar-gutter: auto; background-color: #0000; place-items: center; margin: 0; padding: 0; display: grid; position: fixed; inset: 0; overflow: clip; } &::backdrop { display: none; } } @layer daisyui.l1.l2 { &.modal-open, &[open], &:target, .modal-toggle:checked + & { pointer-events: auto; visibility: visible; opacity: 1; transition: visibility 0s allow-discrete, background-color 0.3s ease-out, opacity 0.1s ease-out; background-color: oklch(0% 0 0/0.4); & .modal-box { opacity: 1; translate: 0; scale: 1; } :root:has(&) { --page-has-backdrop: 1; --page-overflow: hidden; --page-scroll-bg: var(--page-scroll-bg-on); --page-scroll-gutter: stable; --page-scroll-transition: var(--page-scroll-transition-on); animation: forwards set-page-has-scroll scroll(); } } @starting-style { &.modal-open, &[open], &:target, .modal-toggle:checked + & { opacity: 0; } } } } .modal-action { @layer daisyui.l1.l2.l3 { & { justify-content: flex-end; gap: 0.5rem; margin-top: 1.5rem; display: flex; } } } .modal-toggle { @layer daisyui.l1.l2.l3 { & { appearance: none; opacity: 0; width: 0; height: 0; position: fixed; } } } .modal-backdrop { @layer daisyui.l1.l2.l3 { & { color: #0000; z-index: -1; grid-row-start: 1; grid-column-start: 1; place-self: stretch stretch; display: grid; } & button { cursor: pointer; } } } .modal-box { @layer daisyui.l1.l2.l3 { & { background-color: var(--color-base-100); border-top-left-radius: var(--modal-tl, var(--radius-box)); border-top-right-radius: var(--modal-tr, var(--radius-box)); border-bottom-left-radius: var(--modal-bl, var(--radius-box)); border-bottom-right-radius: var(--modal-br, var(--radius-box)); opacity: 0; overscroll-behavior: contain; grid-row-start: 1; grid-column-start: 1; width: 91.6667%; max-width: 32rem; max-height: 100vh; padding: 1.5rem; transition: translate 0.3s ease-out, scale 0.3s ease-out, opacity 0.2s ease-out 50ms, box-shadow 0.3s ease-out; overflow-y: auto; scale: 95%; box-shadow: 0 25px 50px -12px oklch(0% 0 0/0.25); } } } .modal-top { @layer daisyui.l1.l2 { & { place-items: start; } & .modal-box { --modal-tl: 0; --modal-tr: 0; --modal-bl: var(--radius-box); --modal-br: var(--radius-box); width: 100%; max-width: none; height: auto; max-height: calc(100vh - 5em); translate: 0 -100%; scale: 1; } } } .modal-middle { @layer daisyui.l1.l2 { & { place-items: center; } & .modal-box { --modal-tl: var(--radius-box); --modal-tr: var(--radius-box); --modal-bl: var(--radius-box); --modal-br: var(--radius-box); width: 91.6667%; max-width: 32rem; height: auto; max-height: calc(100vh - 5em); translate: 0 2%; scale: 98%; } } } .modal-bottom { @layer daisyui.l1.l2 { & { place-items: end; } & .modal-box { --modal-tl: var(--radius-box); --modal-tr: var(--radius-box); --modal-bl: 0; --modal-br: 0; width: 100%; max-width: none; height: auto; max-height: calc(100vh - 5em); translate: 0 100%; scale: 1; } } } .modal-start { @layer daisyui.l1.l2 { & { place-items: start; } & .modal-box { --modal-tl: 0; --modal-tr: var(--radius-box); --modal-bl: 0; --modal-br: var(--radius-box); width: auto; max-width: none; height: 100vh; max-height: none; translate: -100%; scale: 1; } } } .modal-end { @layer daisyui.l1.l2 { & { place-items: end; } & .modal-box { --modal-tl: var(--radius-box); --modal-tr: 0; --modal-bl: var(--radius-box); --modal-br: 0; width: auto; max-width: none; height: 100vh; max-height: none; translate: 100%; scale: 1; } } } @media (width>=640px) { .sm\:modal { @layer daisyui.l1.l2.l3 { & { pointer-events: none; visibility: hidden; width: 100%; max-width: none; height: 100%; max-height: none; color: inherit; transition: visibility 0.3s allow-discrete, background-color 0.3s ease-out, opacity 0.1s ease-out; overscroll-behavior: contain; z-index: 999; scrollbar-gutter: auto; background-color: #0000; place-items: center; margin: 0; padding: 0; display: grid; position: fixed; inset: 0; overflow: clip; } &::backdrop { display: none; } } @layer daisyui.l1.l2 { &.modal-open, &[open], &:target, .modal-toggle:checked + & { pointer-events: auto; visibility: visible; opacity: 1; transition: visibility 0s allow-discrete, background-color 0.3s ease-out, opacity 0.1s ease-out; background-color: oklch(0% 0 0/0.4); & .modal-box { opacity: 1; translate: 0; scale: 1; } :root:has(&) { --page-has-backdrop: 1; --page-overflow: hidden; --page-scroll-bg: var(--page-scroll-bg-on); --page-scroll-gutter: stable; --page-scroll-transition: var(--page-scroll-transition-on); animation: forwards set-page-has-scroll scroll(); } } @starting-style { &.modal-open, &[open], &:target, .modal-toggle:checked + & { opacity: 0; } } } } .sm\:modal-action { @layer daisyui.l1.l2.l3 { & { justify-content: flex-end; gap: 0.5rem; margin-top: 1.5rem; display: flex; } } } .sm\:modal-toggle { @layer daisyui.l1.l2.l3 { & { appearance: none; opacity: 0; width: 0; height: 0; position: fixed; } } } .sm\:modal-backdrop { @layer daisyui.l1.l2.l3 { & { color: #0000; z-index: -1; grid-row-start: 1; grid-column-start: 1; place-self: stretch stretch; display: grid; } & button { cursor: pointer; } } } .sm\:modal-box { @layer daisyui.l1.l2.l3 { & { background-color: var(--color-base-100); border-top-left-radius: var(--modal-tl, var(--radius-box)); border-top-right-radius: var(--modal-tr, var(--radius-box)); border-bottom-left-radius: var(--modal-bl, var(--radius-box)); border-bottom-right-radius: var(--modal-br, var(--radius-box)); opacity: 0; overscroll-behavior: contain; grid-row-start: 1; grid-column-start: 1; width: 91.6667%; max-width: 32rem; max-height: 100vh; padding: 1.5rem; transition: translate 0.3s ease-out, scale 0.3s ease-out, opacity 0.2s ease-out 50ms, box-shadow 0.3s ease-out; overflow-y: auto; scale: 95%; box-shadow: 0 25px 50px -12px oklch(0% 0 0/0.25); } } } .sm\:modal-top { @layer daisyui.l1.l2 { & { place-items: start; } & .modal-box { --modal-tl: 0; --modal-tr: 0; --modal-bl: var(--radius-box); --modal-br: var(--radius-box); width: 100%; max-width: none; height: auto; max-height: calc(100vh - 5em); translate: 0 -100%; scale: 1; } } } .sm\:modal-middle { @layer daisyui.l1.l2 { & { place-items: center; } & .modal-box { --modal-tl: var(--radius-box); --modal-tr: var(--radius-box); --modal-bl: var(--radius-box); --modal-br: var(--radius-box); width: 91.6667%; max-width: 32rem; height: auto; max-height: calc(100vh - 5em); translate: 0 2%; scale: 98%; } } } .sm\:modal-bottom { @layer daisyui.l1.l2 { & { place-items: end; } & .modal-box { --modal-tl: var(--radius-box); --modal-tr: var(--radius-box); --modal-bl: 0; --modal-br: 0; width: 100%; max-width: none; height: auto; max-height: calc(100vh - 5em); translate: 0 100%; scale: 1; } } } .sm\:modal-start { @layer daisyui.l1.l2 { & { place-items: start; } & .modal-box { --modal-tl: 0; --modal-tr: var(--radius-box); --modal-bl: 0; --modal-br: var(--radius-box); width: auto; max-width: none; height: 100vh; max-height: none; translate: -100%; scale: 1; } } } .sm\:modal-end { @layer daisyui.l1.l2 { & { place-items: end; } & .modal-box { --modal-tl: var(--radius-box); --modal-tr: 0; --modal-bl: var(--radius-box); --modal-br: 0; width: auto; max-width: none; height: 100vh; max-height: none; translate: 100%; scale: 1; } } } } @media (width>=768px) { .md\:modal { @layer daisyui.l1.l2.l3 { & { pointer-events: none; visibility: hidden; width: 100%; max-width: none; height: 100%; max-height: none; color: inherit; transition: visibility 0.3s allow-discrete, background-color 0.3s ease-out, opacity 0.1s ease-out; overscroll-behavior: contain; z-index: 999; scrollbar-gutter: auto; background-color: #0000; place-items: center; margin: 0; padding: 0; display: grid; position: fixed; inset: 0; overflow: clip; } &::backdrop { display: none; } } @layer daisyui.l1.l2 { &.modal-open, &[open], &:target, .modal-toggle:checked + & { pointer-events: auto; visibility: visible; opacity: 1; transition: visibility 0s allow-discrete, background-color 0.3s ease-out, opacity 0.1s ease-out; background-color: oklch(0% 0 0/0.4); & .modal-box { opacity: 1; translate: 0; scale: 1; } :root:has(&) { --page-has-backdrop: 1; --page-overflow: hidden; --page-scroll-bg: var(--page-scroll-bg-on); --page-scroll-gutter: stable; --page-scroll-transition: var(--page-scroll-transition-on); animation: forwards set-page-has-scroll scroll(); } } @starting-style { &.modal-open, &[open], &:target, .modal-toggle:checked + & { opacity: 0; } } } } .md\:modal-action { @layer daisyui.l1.l2.l3 { & { justify-content: flex-end; gap: 0.5rem; margin-top: 1.5rem; display: flex; } } } .md\:modal-toggle { @layer daisyui.l1.l2.l3 { & { appearance: none; opacity: 0; width: 0; height: 0; position: fixed; } } } .md\:modal-backdrop { @layer daisyui.l1.l2.l3 { & { color: #0000; z-index: -1; grid-row-start: 1; grid-column-start: 1; place-self: stretch stretch; display: grid; } & button { cursor: pointer; } } } .md\:modal-box { @layer daisyui.l1.l2.l3 { & { background-color: var(--color-base-100); border-top-left-radius: var(--modal-tl, var(--radius-box)); border-top-right-radius: var(--modal-tr, var(--radius-box)); border-bottom-left-radius: var(--modal-bl, var(--radius-box)); border-bottom-right-radius: var(--modal-br, var(--radius-box)); opacity: 0; overscroll-behavior: contain; grid-row-start: 1; grid-column-start: 1; width: 91.6667%; max-width: 32rem; max-height: 100vh; padding: 1.5rem; transition: translate 0.3s ease-out, scale 0.3s ease-out, opacity 0.2s ease-out 50ms, box-shadow 0.3s ease-out; overflow-y: auto; scale: 95%; box-shadow: 0 25px 50px -12px oklch(0% 0 0/0.25); } } } .md\:modal-top { @layer daisyui.l1.l2 { & { place-items: start; } & .modal-box { --modal-tl: 0; --modal-tr: 0; --modal-bl: var(--radius-box); --modal-br: var(--radius-box); width: 100%; max-width: none; height: auto; max-height: calc(100vh - 5em); translate: 0 -100%; scale: 1; } } } .md\:modal-middle { @layer daisyui.l1.l2 { & { place-items: center; } & .modal-box { --modal-tl: var(--radius-box); --modal-tr: var(--radius-box); --modal-bl: var(--radius-box); --modal-br: var(--radius-box); width: 91.6667%; max-width: 32rem; height: auto; max-height: calc(100vh - 5em); translate: 0 2%; scale: 98%; } } } .md\:modal-bottom { @layer daisyui.l1.l2 { & { place-items: end; } & .modal-box { --modal-tl: var(--radius-box); --modal-tr: var(--radius-box); --modal-bl: 0; --modal-br: 0; width: 100%; max-width: none; height: auto; max-height: calc(100vh - 5em); translate: 0 100%; scale: 1; } } } .md\:modal-start { @layer daisyui.l1.l2 { & { place-items: start; } & .modal-box { --modal-tl: 0; --modal-tr: var(--radius-box); --modal-bl: 0; --modal-br: var(--radius-box); width: auto; max-width: none; height: 100vh; max-height: none; translate: -100%; scale: 1; } } } .md\:modal-end { @layer daisyui.l1.l2 { & { place-items: end; } & .modal-box { --modal-tl: var(--radius-box); --modal-tr: 0; --modal-bl: var(--radius-box); --modal-br: 0; width: auto; max-width: none; height: 100vh; max-height: none; translate: 100%; scale: 1; } } } } @media (width>=1024px) { .lg\:modal { @layer daisyui.l1.l2.l3 { & { pointer-events: none; visibility: hidden; width: 100%; max-width: none; height: 100%; max-height: none; color: inherit; transition: visibility 0.3s allow-discrete, background-color 0.3s ease-out, opacity 0.1s ease-out; overscroll-behavior: contain; z-index: 999; scrollbar-gutter: auto; background-color: #0000; place-items: center; margin: 0; padding: 0; display: grid; position: fixed; inset: 0; overflow: clip; } &::backdrop { display: none; } } @layer daisyui.l1.l2 { &.modal-open, &[open], &:target, .modal-toggle:checked + & { pointer-events: auto; visibility: visible; opacity: 1; transition: visibility 0s allow-discrete, background-color 0.3s ease-out, opacity 0.1s ease-out; background-color: oklch(0% 0 0/0.4); & .modal-box { opacity: 1; translate: 0; scale: 1; } :root:has(&) { --page-has-backdrop: 1; --page-overflow: hidden; --page-scroll-bg: var(--page-scroll-bg-on); --page-scroll-gutter: stable; --page-scroll-transition: var(--page-scroll-transition-on); animation: forwards set-page-has-scroll scroll(); } } @starting-style { &.modal-open, &[open], &:target, .modal-toggle:checked + & { opacity: 0; } } } } .lg\:modal-action { @layer daisyui.l1.l2.l3 { & { justify-content: flex-end; gap: 0.5rem; margin-top: 1.5rem; display: flex; } } } .lg\:modal-toggle { @layer daisyui.l1.l2.l3 { & { appearance: none; opacity: 0; width: 0; height: 0; position: fixed; } } } .lg\:modal-backdrop { @layer daisyui.l1.l2.l3 { & { color: #0000; z-index: -1; grid-row-start: 1; grid-column-start: 1; place-self: stretch stretch; display: grid; } & button { cursor: pointer; } } } .lg\:modal-box { @layer daisyui.l1.l2.l3 { & { background-color: var(--color-base-100); border-top-left-radius: var(--modal-tl, var(--radius-box)); border-top-right-radius: var(--modal-tr, var(--radius-box)); border-bottom-left-radius: var(--modal-bl, var(--radius-box)); border-bottom-right-radius: var(--modal-br, var(--radius-box)); opacity: 0; overscroll-behavior: contain; grid-row-start: 1; grid-column-start: 1; width: 91.6667%; max-width: 32rem; max-height: 100vh; padding: 1.5rem; transition: translate 0.3s ease-out, scale 0.3s ease-out, opacity 0.2s ease-out 50ms, box-shadow 0.3s ease-out; overflow-y: auto; scale: 95%; box-shadow: 0 25px 50px -12px oklch(0% 0 0/0.25); } } } .lg\:modal-top { @layer daisyui.l1.l2 { & { place-items: start; } & .modal-box { --modal-tl: 0; --modal-tr: 0; --modal-bl: var(--radius-box); --modal-br: var(--radius-box); width: 100%; max-width: none; height: auto; max-height: calc(100vh - 5em); translate: 0 -100%; scale: 1; } } } .lg\:modal-middle { @layer daisyui.l1.l2 { & { place-items: center; } & .modal-box { --modal-tl: var(--radius-box); --modal-tr: var(--radius-box); --modal-bl: var(--radius-box); --modal-br: var(--radius-box); width: 91.6667%; max-width: 32rem; height: auto; max-height: calc(100vh - 5em); translate: 0 2%; scale: 98%; } } } .lg\:modal-bottom { @layer daisyui.l1.l2 { & { place-items: end; } & .modal-box { --modal-tl: var(--radius-box); --modal-tr: var(--radius-box); --modal-bl: 0; --modal-br: 0; width: 100%; max-width: none; height: auto; max-height: calc(100vh - 5em); translate: 0 100%; scale: 1; } } } .lg\:modal-start { @layer daisyui.l1.l2 { & { place-items: start; } & .modal-box { --modal-tl: 0; --modal-tr: var(--radius-box); --modal-bl: 0; --modal-br: var(--radius-box); width: auto; max-width: none; height: 100vh; max-height: none; translate: -100%; scale: 1; } } } .lg\:modal-end { @layer daisyui.l1.l2 { & { place-items: end; } & .modal-box { --modal-tl: var(--radius-box); --modal-tr: 0; --modal-bl: var(--radius-box); --modal-br: 0; width: auto; max-width: none; height: 100vh; max-height: none; translate: 100%; scale: 1; } } } } @media (width>=1280px) { .xl\:modal { @layer daisyui.l1.l2.l3 { & { pointer-events: none; visibility: hidden; width: 100%; max-width: none; height: 100%; max-height: none; color: inherit; transition: visibility 0.3s allow-discrete, background-color 0.3s ease-out, opacity 0.1s ease-out; overscroll-behavior: contain; z-index: 999; scrollbar-gutter: auto; background-color: #0000; place-items: center; margin: 0; padding: 0; display: grid; position: fixed; inset: 0; overflow: clip; } &::backdrop { display: none; } } @layer daisyui.l1.l2 { &.modal-open, &[open], &:target, .modal-toggle:checked + & { pointer-events: auto; visibility: visible; opacity: 1; transition: visibility 0s allow-discrete, background-color 0.3s ease-out, opacity 0.1s ease-out; background-color: oklch(0% 0 0/0.4); & .modal-box { opacity: 1; translate: 0; scale: 1; } :root:has(&) { --page-has-backdrop: 1; --page-overflow: hidden; --page-scroll-bg: var(--page-scroll-bg-on); --page-scroll-gutter: stable; --page-scroll-transition: var(--page-scroll-transition-on); animation: forwards set-page-has-scroll scroll(); } } @starting-style { &.modal-open, &[open], &:target, .modal-toggle:checked + & { opacity: 0; } } } } .xl\:modal-action { @layer daisyui.l1.l2.l3 { & { justify-content: flex-end; gap: 0.5rem; margin-top: 1.5rem; display: flex; } } } .xl\:modal-toggle { @layer daisyui.l1.l2.l3 { & { appearance: none; opacity: 0; width: 0; height: 0; position: fixed; } } } .xl\:modal-backdrop { @layer daisyui.l1.l2.l3 { & { color: #0000; z-index: -1; grid-row-start: 1; grid-column-start: 1; place-self: stretch stretch; display: grid; } & button { cursor: pointer; } } } .xl\:modal-box { @layer daisyui.l1.l2.l3 { & { background-color: var(--color-base-100); border-top-left-radius: var(--modal-tl, var(--radius-box)); border-top-right-radius: var(--modal-tr, var(--radius-box)); border-bottom-left-radius: var(--modal-bl, var(--radius-box)); border-bottom-right-radius: var(--modal-br, var(--radius-box)); opacity: 0; overscroll-behavior: contain; grid-row-start: 1; grid-column-start: 1; width: 91.6667%; max-width: 32rem; max-height: 100vh; padding: 1.5rem; transition: translate 0.3s ease-out, scale 0.3s ease-out, opacity 0.2s ease-out 50ms, box-shadow 0.3s ease-out; overflow-y: auto; scale: 95%; box-shadow: 0 25px 50px -12px oklch(0% 0 0/0.25); } } } .xl\:modal-top { @layer daisyui.l1.l2 { & { place-items: start; } & .modal-box { --modal-tl: 0; --modal-tr: 0; --modal-bl: var(--radius-box); --modal-br: var(--radius-box); width: 100%; max-width: none; height: auto; max-height: calc(100vh - 5em); translate: 0 -100%; scale: 1; } } } .xl\:modal-middle { @layer daisyui.l1.l2 { & { place-items: center; } & .modal-box { --modal-tl: var(--radius-box); --modal-tr: var(--radius-box); --modal-bl: var(--radius-box); --modal-br: var(--radius-box); width: 91.6667%; max-width: 32rem; height: auto; max-height: calc(100vh - 5em); translate: 0 2%; scale: 98%; } } } .xl\:modal-bottom { @layer daisyui.l1.l2 { & { place-items: end; } & .modal-box { --modal-tl: var(--radius-box); --modal-tr: var(--radius-box); --modal-bl: 0; --modal-br: 0; width: 100%; max-width: none; height: auto; max-height: calc(100vh - 5em); translate: 0 100%; scale: 1; } } } .xl\:modal-start { @layer daisyui.l1.l2 { & { place-items: start; } & .modal-box { --modal-tl: 0; --modal-tr: var(--radius-box); --modal-bl: 0; --modal-br: var(--radius-box); width: auto; max-width: none; height: 100vh; max-height: none; translate: -100%; scale: 1; } } } .xl\:modal-end { @layer daisyui.l1.l2 { & { place-items: end; } & .modal-box { --modal-tl: var(--radius-box); --modal-tr: 0; --modal-bl: var(--radius-box); --modal-br: 0; width: auto; max-width: none; height: 100vh; max-height: none; translate: 100%; scale: 1; } } } } @media (width>=1536px) { .\32 xl\:modal { @layer daisyui.l1.l2.l3 { & { pointer-events: none; visibility: hidden; width: 100%; max-width: none; height: 100%; max-height: none; color: inherit; transition: visibility 0.3s allow-discrete, background-color 0.3s ease-out, opacity 0.1s ease-out; overscroll-behavior: contain; z-index: 999; scrollbar-gutter: auto; background-color: #0000; place-items: center; margin: 0; padding: 0; display: grid; position: fixed; inset: 0; overflow: clip; } &::backdrop { display: none; } } @layer daisyui.l1.l2 { &.modal-open, &[open], &:target, .modal-toggle:checked + & { pointer-events: auto; visibility: visible; opacity: 1; transition: visibility 0s allow-discrete, background-color 0.3s ease-out, opacity 0.1s ease-out; background-color: oklch(0% 0 0/0.4); & .modal-box { opacity: 1; translate: 0; scale: 1; } :root:has(&) { --page-has-backdrop: 1; --page-overflow: hidden; --page-scroll-bg: var(--page-scroll-bg-on); --page-scroll-gutter: stable; --page-scroll-transition: var(--page-scroll-transition-on); animation: forwards set-page-has-scroll scroll(); } } @starting-style { &.modal-open, &[open], &:target, .modal-toggle:checked + & { opacity: 0; } } } } .\32 xl\:modal-action { @layer daisyui.l1.l2.l3 { & { justify-content: flex-end; gap: 0.5rem; margin-top: 1.5rem; display: flex; } } } .\32 xl\:modal-toggle { @layer daisyui.l1.l2.l3 { & { appearance: none; opacity: 0; width: 0; height: 0; position: fixed; } } } .\32 xl\:modal-backdrop { @layer daisyui.l1.l2.l3 { & { color: #0000; z-index: -1; grid-row-start: 1; grid-column-start: 1; place-self: stretch stretch; display: grid; } & button { cursor: pointer; } } } .\32 xl\:modal-box { @layer daisyui.l1.l2.l3 { & { background-color: var(--color-base-100); border-top-left-radius: var(--modal-tl, var(--radius-box)); border-top-right-radius: var(--modal-tr, var(--radius-box)); border-bottom-left-radius: var(--modal-bl, var(--radius-box)); border-bottom-right-radius: var(--modal-br, var(--radius-box)); opacity: 0; overscroll-behavior: contain; grid-row-start: 1; grid-column-start: 1; width: 91.6667%; max-width: 32rem; max-height: 100vh; padding: 1.5rem; transition: translate 0.3s ease-out, scale 0.3s ease-out, opacity 0.2s ease-out 50ms, box-shadow 0.3s ease-out; overflow-y: auto; scale: 95%; box-shadow: 0 25px 50px -12px oklch(0% 0 0/0.25); } } } .\32 xl\:modal-top { @layer daisyui.l1.l2 { & { place-items: start; } & .modal-box { --modal-tl: 0; --modal-tr: 0; --modal-bl: var(--radius-box); --modal-br: var(--radius-box); width: 100%; max-width: none; height: auto; max-height: calc(100vh - 5em); translate: 0 -100%; scale: 1; } } } .\32 xl\:modal-middle { @layer daisyui.l1.l2 { & { place-items: center; } & .modal-box { --modal-tl: var(--radius-box); --modal-tr: var(--radius-box); --modal-bl: var(--radius-box); --modal-br: var(--radius-box); width: 91.6667%; max-width: 32rem; height: auto; max-height: calc(100vh - 5em); translate: 0 2%; scale: 98%; } } } .\32 xl\:modal-bottom { @layer daisyui.l1.l2 { & { place-items: end; } & .modal-box { --modal-tl: var(--radius-box); --modal-tr: var(--radius-box); --modal-bl: 0; --modal-br: 0; width: 100%; max-width: none; height: auto; max-height: calc(100vh - 5em); translate: 0 100%; scale: 1; } } } .\32 xl\:modal-start { @layer daisyui.l1.l2 { & { place-items: start; } & .modal-box { --modal-tl: 0; --modal-tr: var(--radius-box); --modal-bl: 0; --modal-br: var(--radius-box); width: auto; max-width: none; height: 100vh; max-height: none; translate: -100%; scale: 1; } } } .\32 xl\:modal-end { @layer daisyui.l1.l2 { & { place-items: end; } & .modal-box { --modal-tl: var(--radius-box); --modal-tr: 0; --modal-bl: var(--radius-box); --modal-br: 0; width: auto; max-width: none; height: 100vh; max-height: none; translate: 100%; scale: 1; } } } } .tooltip { @layer daisyui.l1.l2.l3 { & { --tt-bg: var(--color-neutral); --tt-off: calc(100% + 0.5rem); --tt-tail: calc(100% + 1px + 0.25rem); display: inline-block; position: relative; } & > .tooltip-content, &[data-tip]:before { border-radius: var(--radius-field); text-align: center; white-space: normal; max-width: 20rem; color: var(--color-neutral-content); opacity: 0; background-color: var(--tt-bg); pointer-events: none; z-index: 2; --tw-content: attr(data-tip); content: var(--tw-content); width: max-content; padding-block: 0.25rem; padding-inline: 0.5rem; font-size: 0.875rem; line-height: 1.25; position: absolute; } &:after { opacity: 0; background-color: var(--tt-bg); content: ""; pointer-events: none; --mask-tooltip: url("data:image/svg+xml,%3Csvg width='10' height='4' viewBox='0 0 8 4' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.500009 1C3.5 1 3.00001 4 5.00001 4C7 4 6.5 1 9.5 1C10 1 10 0.499897 10 0H0C-1.99338e-08 0.5 0 1 0.500009 1Z' fill='black'/%3E%3C/svg%3E%0A"); width: 0.625rem; height: 0.25rem; mask-position: -1px 0; mask-repeat: no-repeat; mask-image: var(--mask-tooltip); display: block; position: absolute; } @media (prefers-reduced-motion: no-preference) { & > .tooltip-content, &[data-tip]:before, &:after { transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1) 75ms, transform 0.2s cubic-bezier(0.4, 0, 0.2, 1) 75ms; } } &:is([data-tip]:not([data-tip=""]), :has(.tooltip-content:not(:empty))) { &.tooltip-open, &:hover, &:has(:focus-visible) { & > .tooltip-content, &[data-tip]:before, &:after { opacity: 1; --tt-pos: 0rem; @media (prefers-reduced-motion: no-preference) { & { transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1); } } } } } } } .tooltip, .tooltip-top { @layer daisyui.l1.l2 { & > .tooltip-content, &[data-tip]:before { transform: translateX(-50%) translateY(var(--tt-pos, 0.25rem)); inset: auto auto var(--tt-off) 50%; } &:after { transform: translateX(-50%) translateY(var(--tt-pos, 0.25rem)); inset: auto auto var(--tt-tail) 50%; } } } .tooltip-bottom { @layer daisyui.l1.l2 { & > .tooltip-content, &[data-tip]:before { transform: translateX(-50%) translateY(var(--tt-pos, -0.25rem)); inset: var(--tt-off) auto auto 50%; } &:after { transform: translateX(-50%) translateY(var(--tt-pos, -0.25rem)) rotate(180deg); inset: var(--tt-tail) auto auto 50%; } } } .tooltip-left { @layer daisyui.l1.l2 { & > .tooltip-content, &[data-tip]:before { transform: translateX(calc(var(--tt-pos, 0.25rem) - 0.25rem)) translateY(-50%); inset: 50% var(--tt-off) auto auto; } &:after { transform: translateX(var(--tt-pos, 0.25rem)) translateY(-50%) rotate(-90deg); inset: 50% calc(var(--tt-tail) + 1px) auto auto; } } } .tooltip-right { @layer daisyui.l1.l2 { & > .tooltip-content, &[data-tip]:before { transform: translateX(calc(var(--tt-pos, -0.25rem) + 0.25rem)) translateY(-50%); inset: 50% auto auto var(--tt-off); } &:after { transform: translateX(var(--tt-pos, -0.25rem)) translateY(-50%) rotate(90deg); inset: 50% auto auto calc(var(--tt-tail) + 1px); } } } .tooltip-primary { @layer daisyui.l1.l2 { & { --tt-bg: var(--color-primary); } & > .tooltip-content, &[data-tip]:before { color: var(--color-primary-content); } } } .tooltip-secondary { @layer daisyui.l1.l2 { & { --tt-bg: var(--color-secondary); } & > .tooltip-content, &[data-tip]:before { color: var(--color-secondary-content); } } } .tooltip-accent { @layer daisyui.l1.l2 { & { --tt-bg: var(--color-accent); } & > .tooltip-content, &[data-tip]:before { color: var(--color-accent-content); } } } .tooltip-info { @layer daisyui.l1.l2 { & { --tt-bg: var(--color-info); } & > .tooltip-content, &[data-tip]:before { color: var(--color-info-content); } } } .tooltip-success { @layer daisyui.l1.l2 { & { --tt-bg: var(--color-success); } & > .tooltip-content, &[data-tip]:before { color: var(--color-success-content); } } } .tooltip-warning { @layer daisyui.l1.l2 { & { --tt-bg: var(--color-warning); } & > .tooltip-content, &[data-tip]:before { color: var(--color-warning-content); } } } .tooltip-error { @layer daisyui.l1.l2 { & { --tt-bg: var(--color-error); } & > .tooltip-content, &[data-tip]:before { color: var(--color-error-content); } } } @media (width>=640px) { .sm\:tooltip { @layer daisyui.l1.l2.l3 { & { --tt-bg: var(--color-neutral); --tt-off: calc(100% + 0.5rem); --tt-tail: calc(100% + 1px + 0.25rem); display: inline-block; position: relative; } & > .tooltip-content, &[data-tip]:before { border-radius: var(--radius-field); text-align: center; white-space: normal; max-width: 20rem; color: var(--color-neutral-content); opacity: 0; background-color: var(--tt-bg); pointer-events: none; z-index: 2; --tw-content: attr(data-tip); content: var(--tw-content); width: max-content; padding-block: 0.25rem; padding-inline: 0.5rem; font-size: 0.875rem; line-height: 1.25; position: absolute; } &:after { opacity: 0; background-color: var(--tt-bg); content: ""; pointer-events: none; --mask-tooltip: url("data:image/svg+xml,%3Csvg width='10' height='4' viewBox='0 0 8 4' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.500009 1C3.5 1 3.00001 4 5.00001 4C7 4 6.5 1 9.5 1C10 1 10 0.499897 10 0H0C-1.99338e-08 0.5 0 1 0.500009 1Z' fill='black'/%3E%3C/svg%3E%0A"); width: 0.625rem; height: 0.25rem; mask-position: -1px 0; mask-repeat: no-repeat; mask-image: var(--mask-tooltip); display: block; position: absolute; } @media (prefers-reduced-motion: no-preference) { & > .tooltip-content, &[data-tip]:before, &:after { transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1) 75ms, transform 0.2s cubic-bezier(0.4, 0, 0.2, 1) 75ms; } } &:is( [data-tip]:not([data-tip=""]), :has(.tooltip-content:not(:empty)) ) { &.tooltip-open, &:hover, &:has(:focus-visible) { & > .tooltip-content, &[data-tip]:before, &:after { opacity: 1; --tt-pos: 0rem; @media (prefers-reduced-motion: no-preference) { & { transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1); } } } } } } } .sm\:tooltip, .sm\:tooltip-top { @layer daisyui.l1.l2 { & > .tooltip-content, &[data-tip]:before { transform: translateX(-50%) translateY(var(--tt-pos, 0.25rem)); inset: auto auto var(--tt-off) 50%; } &:after { transform: translateX(-50%) translateY(var(--tt-pos, 0.25rem)); inset: auto auto var(--tt-tail) 50%; } } } .sm\:tooltip-bottom { @layer daisyui.l1.l2 { & > .tooltip-content, &[data-tip]:before { transform: translateX(-50%) translateY(var(--tt-pos, -0.25rem)); inset: var(--tt-off) auto auto 50%; } &:after { transform: translateX(-50%) translateY(var(--tt-pos, -0.25rem)) rotate(180deg); inset: var(--tt-tail) auto auto 50%; } } } .sm\:tooltip-left { @layer daisyui.l1.l2 { & > .tooltip-content, &[data-tip]:before { transform: translateX(calc(var(--tt-pos, 0.25rem) - 0.25rem)) translateY(-50%); inset: 50% var(--tt-off) auto auto; } &:after { transform: translateX(var(--tt-pos, 0.25rem)) translateY(-50%) rotate(-90deg); inset: 50% calc(var(--tt-tail) + 1px) auto auto; } } } .sm\:tooltip-right { @layer daisyui.l1.l2 { & > .tooltip-content, &[data-tip]:before { transform: translateX(calc(var(--tt-pos, -0.25rem) + 0.25rem)) translateY(-50%); inset: 50% auto auto var(--tt-off); } &:after { transform: translateX(var(--tt-pos, -0.25rem)) translateY(-50%) rotate(90deg); inset: 50% auto auto calc(var(--tt-tail) + 1px); } } } .sm\:tooltip-primary { @layer daisyui.l1.l2 { & { --tt-bg: var(--color-primary); } & > .tooltip-content, &[data-tip]:before { color: var(--color-primary-content); } } } .sm\:tooltip-secondary { @layer daisyui.l1.l2 { & { --tt-bg: var(--color-secondary); } & > .tooltip-content, &[data-tip]:before { color: var(--color-secondary-content); } } } .sm\:tooltip-accent { @layer daisyui.l1.l2 { & { --tt-bg: var(--color-accent); } & > .tooltip-content, &[data-tip]:before { color: var(--color-accent-content); } } } .sm\:tooltip-info { @layer daisyui.l1.l2 { & { --tt-bg: var(--color-info); } & > .tooltip-content, &[data-tip]:before { color: var(--color-info-content); } } } .sm\:tooltip-success { @layer daisyui.l1.l2 { & { --tt-bg: var(--color-success); } & > .tooltip-content, &[data-tip]:before { color: var(--color-success-content); } } } .sm\:tooltip-warning { @layer daisyui.l1.l2 { & { --tt-bg: var(--color-warning); } & > .tooltip-content, &[data-tip]:before { color: var(--color-warning-content); } } } .sm\:tooltip-error { @layer daisyui.l1.l2 { & { --tt-bg: var(--color-error); } & > .tooltip-content, &[data-tip]:before { color: var(--color-error-content); } } } } @media (width>=768px) { .md\:tooltip { @layer daisyui.l1.l2.l3 { & { --tt-bg: var(--color-neutral); --tt-off: calc(100% + 0.5rem); --tt-tail: calc(100% + 1px + 0.25rem); display: inline-block; position: relative; } & > .tooltip-content, &[data-tip]:before { border-radius: var(--radius-field); text-align: center; white-space: normal; max-width: 20rem; color: var(--color-neutral-content); opacity: 0; background-color: var(--tt-bg); pointer-events: none; z-index: 2; --tw-content: attr(data-tip); content: var(--tw-content); width: max-content; padding-block: 0.25rem; padding-inline: 0.5rem; font-size: 0.875rem; line-height: 1.25; position: absolute; } &:after { opacity: 0; background-color: var(--tt-bg); content: ""; pointer-events: none; --mask-tooltip: url("data:image/svg+xml,%3Csvg width='10' height='4' viewBox='0 0 8 4' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.500009 1C3.5 1 3.00001 4 5.00001 4C7 4 6.5 1 9.5 1C10 1 10 0.499897 10 0H0C-1.99338e-08 0.5 0 1 0.500009 1Z' fill='black'/%3E%3C/svg%3E%0A"); width: 0.625rem; height: 0.25rem; mask-position: -1px 0; mask-repeat: no-repeat; mask-image: var(--mask-tooltip); display: block; position: absolute; } @media (prefers-reduced-motion: no-preference) { & > .tooltip-content, &[data-tip]:before, &:after { transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1) 75ms, transform 0.2s cubic-bezier(0.4, 0, 0.2, 1) 75ms; } } &:is( [data-tip]:not([data-tip=""]), :has(.tooltip-content:not(:empty)) ) { &.tooltip-open, &:hover, &:has(:focus-visible) { & > .tooltip-content, &[data-tip]:before, &:after { opacity: 1; --tt-pos: 0rem; @media (prefers-reduced-motion: no-preference) { & { transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1); } } } } } } } .md\:tooltip, .md\:tooltip-top { @layer daisyui.l1.l2 { & > .tooltip-content, &[data-tip]:before { transform: translateX(-50%) translateY(var(--tt-pos, 0.25rem)); inset: auto auto var(--tt-off) 50%; } &:after { transform: translateX(-50%) translateY(var(--tt-pos, 0.25rem)); inset: auto auto var(--tt-tail) 50%; } } } .md\:tooltip-bottom { @layer daisyui.l1.l2 { & > .tooltip-content, &[data-tip]:before { transform: translateX(-50%) translateY(var(--tt-pos, -0.25rem)); inset: var(--tt-off) auto auto 50%; } &:after { transform: translateX(-50%) translateY(var(--tt-pos, -0.25rem)) rotate(180deg); inset: var(--tt-tail) auto auto 50%; } } } .md\:tooltip-left { @layer daisyui.l1.l2 { & > .tooltip-content, &[data-tip]:before { transform: translateX(calc(var(--tt-pos, 0.25rem) - 0.25rem)) translateY(-50%); inset: 50% var(--tt-off) auto auto; } &:after { transform: translateX(var(--tt-pos, 0.25rem)) translateY(-50%) rotate(-90deg); inset: 50% calc(var(--tt-tail) + 1px) auto auto; } } } .md\:tooltip-right { @layer daisyui.l1.l2 { & > .tooltip-content, &[data-tip]:before { transform: translateX(calc(var(--tt-pos, -0.25rem) + 0.25rem)) translateY(-50%); inset: 50% auto auto var(--tt-off); } &:after { transform: translateX(var(--tt-pos, -0.25rem)) translateY(-50%) rotate(90deg); inset: 50% auto auto calc(var(--tt-tail) + 1px); } } } .md\:tooltip-primary { @layer daisyui.l1.l2 { & { --tt-bg: var(--color-primary); } & > .tooltip-content, &[data-tip]:before { color: var(--color-primary-content); } } } .md\:tooltip-secondary { @layer daisyui.l1.l2 { & { --tt-bg: var(--color-secondary); } & > .tooltip-content, &[data-tip]:before { color: var(--color-secondary-content); } } } .md\:tooltip-accent { @layer daisyui.l1.l2 { & { --tt-bg: var(--color-accent); } & > .tooltip-content, &[data-tip]:before { color: var(--color-accent-content); } } } .md\:tooltip-info { @layer daisyui.l1.l2 { & { --tt-bg: var(--color-info); } & > .tooltip-content, &[data-tip]:before { color: var(--color-info-content); } } } .md\:tooltip-success { @layer daisyui.l1.l2 { & { --tt-bg: var(--color-success); } & > .tooltip-content, &[data-tip]:before { color: var(--color-success-content); } } } .md\:tooltip-warning { @layer daisyui.l1.l2 { & { --tt-bg: var(--color-warning); } & > .tooltip-content, &[data-tip]:before { color: var(--color-warning-content); } } } .md\:tooltip-error { @layer daisyui.l1.l2 { & { --tt-bg: var(--color-error); } & > .tooltip-content, &[data-tip]:before { color: var(--color-error-content); } } } } @media (width>=1024px) { .lg\:tooltip { @layer daisyui.l1.l2.l3 { & { --tt-bg: var(--color-neutral); --tt-off: calc(100% + 0.5rem); --tt-tail: calc(100% + 1px + 0.25rem); display: inline-block; position: relative; } & > .tooltip-content, &[data-tip]:before { border-radius: var(--radius-field); text-align: center; white-space: normal; max-width: 20rem; color: var(--color-neutral-content); opacity: 0; background-color: var(--tt-bg); pointer-events: none; z-index: 2; --tw-content: attr(data-tip); content: var(--tw-content); width: max-content; padding-block: 0.25rem; padding-inline: 0.5rem; font-size: 0.875rem; line-height: 1.25; position: absolute; } &:after { opacity: 0; background-color: var(--tt-bg); content: ""; pointer-events: none; --mask-tooltip: url("data:image/svg+xml,%3Csvg width='10' height='4' viewBox='0 0 8 4' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.500009 1C3.5 1 3.00001 4 5.00001 4C7 4 6.5 1 9.5 1C10 1 10 0.499897 10 0H0C-1.99338e-08 0.5 0 1 0.500009 1Z' fill='black'/%3E%3C/svg%3E%0A"); width: 0.625rem; height: 0.25rem; mask-position: -1px 0; mask-repeat: no-repeat; mask-image: var(--mask-tooltip); display: block; position: absolute; } @media (prefers-reduced-motion: no-preference) { & > .tooltip-content, &[data-tip]:before, &:after { transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1) 75ms, transform 0.2s cubic-bezier(0.4, 0, 0.2, 1) 75ms; } } &:is( [data-tip]:not([data-tip=""]), :has(.tooltip-content:not(:empty)) ) { &.tooltip-open, &:hover, &:has(:focus-visible) { & > .tooltip-content, &[data-tip]:before, &:after { opacity: 1; --tt-pos: 0rem; @media (prefers-reduced-motion: no-preference) { & { transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1); } } } } } } } .lg\:tooltip, .lg\:tooltip-top { @layer daisyui.l1.l2 { & > .tooltip-content, &[data-tip]:before { transform: translateX(-50%) translateY(var(--tt-pos, 0.25rem)); inset: auto auto var(--tt-off) 50%; } &:after { transform: translateX(-50%) translateY(var(--tt-pos, 0.25rem)); inset: auto auto var(--tt-tail) 50%; } } } .lg\:tooltip-bottom { @layer daisyui.l1.l2 { & > .tooltip-content, &[data-tip]:before { transform: translateX(-50%) translateY(var(--tt-pos, -0.25rem)); inset: var(--tt-off) auto auto 50%; } &:after { transform: translateX(-50%) translateY(var(--tt-pos, -0.25rem)) rotate(180deg); inset: var(--tt-tail) auto auto 50%; } } } .lg\:tooltip-left { @layer daisyui.l1.l2 { & > .tooltip-content, &[data-tip]:before { transform: translateX(calc(var(--tt-pos, 0.25rem) - 0.25rem)) translateY(-50%); inset: 50% var(--tt-off) auto auto; } &:after { transform: translateX(var(--tt-pos, 0.25rem)) translateY(-50%) rotate(-90deg); inset: 50% calc(var(--tt-tail) + 1px) auto auto; } } } .lg\:tooltip-right { @layer daisyui.l1.l2 { & > .tooltip-content, &[data-tip]:before { transform: translateX(calc(var(--tt-pos, -0.25rem) + 0.25rem)) translateY(-50%); inset: 50% auto auto var(--tt-off); } &:after { transform: translateX(var(--tt-pos, -0.25rem)) translateY(-50%) rotate(90deg); inset: 50% auto auto calc(var(--tt-tail) + 1px); } } } .lg\:tooltip-primary { @layer daisyui.l1.l2 { & { --tt-bg: var(--color-primary); } & > .tooltip-content, &[data-tip]:before { color: var(--color-primary-content); } } } .lg\:tooltip-secondary { @layer daisyui.l1.l2 { & { --tt-bg: var(--color-secondary); } & > .tooltip-content, &[data-tip]:before { color: var(--color-secondary-content); } } } .lg\:tooltip-accent { @layer daisyui.l1.l2 { & { --tt-bg: var(--color-accent); } & > .tooltip-content, &[data-tip]:before { color: var(--color-accent-content); } } } .lg\:tooltip-info { @layer daisyui.l1.l2 { & { --tt-bg: var(--color-info); } & > .tooltip-content, &[data-tip]:before { color: var(--color-info-content); } } } .lg\:tooltip-success { @layer daisyui.l1.l2 { & { --tt-bg: var(--color-success); } & > .tooltip-content, &[data-tip]:before { color: var(--color-success-content); } } } .lg\:tooltip-warning { @layer daisyui.l1.l2 { & { --tt-bg: var(--color-warning); } & > .tooltip-content, &[data-tip]:before { color: var(--color-warning-content); } } } .lg\:tooltip-error { @layer daisyui.l1.l2 { & { --tt-bg: var(--color-error); } & > .tooltip-content, &[data-tip]:before { color: var(--color-error-content); } } } } @media (width>=1280px) { .xl\:tooltip { @layer daisyui.l1.l2.l3 { & { --tt-bg: var(--color-neutral); --tt-off: calc(100% + 0.5rem); --tt-tail: calc(100% + 1px + 0.25rem); display: inline-block; position: relative; } & > .tooltip-content, &[data-tip]:before { border-radius: var(--radius-field); text-align: center; white-space: normal; max-width: 20rem; color: var(--color-neutral-content); opacity: 0; background-color: var(--tt-bg); pointer-events: none; z-index: 2; --tw-content: attr(data-tip); content: var(--tw-content); width: max-content; padding-block: 0.25rem; padding-inline: 0.5rem; font-size: 0.875rem; line-height: 1.25; position: absolute; } &:after { opacity: 0; background-color: var(--tt-bg); content: ""; pointer-events: none; --mask-tooltip: url("data:image/svg+xml,%3Csvg width='10' height='4' viewBox='0 0 8 4' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.500009 1C3.5 1 3.00001 4 5.00001 4C7 4 6.5 1 9.5 1C10 1 10 0.499897 10 0H0C-1.99338e-08 0.5 0 1 0.500009 1Z' fill='black'/%3E%3C/svg%3E%0A"); width: 0.625rem; height: 0.25rem; mask-position: -1px 0; mask-repeat: no-repeat; mask-image: var(--mask-tooltip); display: block; position: absolute; } @media (prefers-reduced-motion: no-preference) { & > .tooltip-content, &[data-tip]:before, &:after { transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1) 75ms, transform 0.2s cubic-bezier(0.4, 0, 0.2, 1) 75ms; } } &:is( [data-tip]:not([data-tip=""]), :has(.tooltip-content:not(:empty)) ) { &.tooltip-open, &:hover, &:has(:focus-visible) { & > .tooltip-content, &[data-tip]:before, &:after { opacity: 1; --tt-pos: 0rem; @media (prefers-reduced-motion: no-preference) { & { transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1); } } } } } } } .xl\:tooltip, .xl\:tooltip-top { @layer daisyui.l1.l2 { & > .tooltip-content, &[data-tip]:before { transform: translateX(-50%) translateY(var(--tt-pos, 0.25rem)); inset: auto auto var(--tt-off) 50%; } &:after { transform: translateX(-50%) translateY(var(--tt-pos, 0.25rem)); inset: auto auto var(--tt-tail) 50%; } } } .xl\:tooltip-bottom { @layer daisyui.l1.l2 { & > .tooltip-content, &[data-tip]:before { transform: translateX(-50%) translateY(var(--tt-pos, -0.25rem)); inset: var(--tt-off) auto auto 50%; } &:after { transform: translateX(-50%) translateY(var(--tt-pos, -0.25rem)) rotate(180deg); inset: var(--tt-tail) auto auto 50%; } } } .xl\:tooltip-left { @layer daisyui.l1.l2 { & > .tooltip-content, &[data-tip]:before { transform: translateX(calc(var(--tt-pos, 0.25rem) - 0.25rem)) translateY(-50%); inset: 50% var(--tt-off) auto auto; } &:after { transform: translateX(var(--tt-pos, 0.25rem)) translateY(-50%) rotate(-90deg); inset: 50% calc(var(--tt-tail) + 1px) auto auto; } } } .xl\:tooltip-right { @layer daisyui.l1.l2 { & > .tooltip-content, &[data-tip]:before { transform: translateX(calc(var(--tt-pos, -0.25rem) + 0.25rem)) translateY(-50%); inset: 50% auto auto var(--tt-off); } &:after { transform: translateX(var(--tt-pos, -0.25rem)) translateY(-50%) rotate(90deg); inset: 50% auto auto calc(var(--tt-tail) + 1px); } } } .xl\:tooltip-primary { @layer daisyui.l1.l2 { & { --tt-bg: var(--color-primary); } & > .tooltip-content, &[data-tip]:before { color: var(--color-primary-content); } } } .xl\:tooltip-secondary { @layer daisyui.l1.l2 { & { --tt-bg: var(--color-secondary); } & > .tooltip-content, &[data-tip]:before { color: var(--color-secondary-content); } } } .xl\:tooltip-accent { @layer daisyui.l1.l2 { & { --tt-bg: var(--color-accent); } & > .tooltip-content, &[data-tip]:before { color: var(--color-accent-content); } } } .xl\:tooltip-info { @layer daisyui.l1.l2 { & { --tt-bg: var(--color-info); } & > .tooltip-content, &[data-tip]:before { color: var(--color-info-content); } } } .xl\:tooltip-success { @layer daisyui.l1.l2 { & { --tt-bg: var(--color-success); } & > .tooltip-content, &[data-tip]:before { color: var(--color-success-content); } } } .xl\:tooltip-warning { @layer daisyui.l1.l2 { & { --tt-bg: var(--color-warning); } & > .tooltip-content, &[data-tip]:before { color: var(--color-warning-content); } } } .xl\:tooltip-error { @layer daisyui.l1.l2 { & { --tt-bg: var(--color-error); } & > .tooltip-content, &[data-tip]:before { color: var(--color-error-content); } } } } @media (width>=1536px) { .\32 xl\:tooltip { @layer daisyui.l1.l2.l3 { & { --tt-bg: var(--color-neutral); --tt-off: calc(100% + 0.5rem); --tt-tail: calc(100% + 1px + 0.25rem); display: inline-block; position: relative; } & > .tooltip-content, &[data-tip]:before { border-radius: var(--radius-field); text-align: center; white-space: normal; max-width: 20rem; color: var(--color-neutral-content); opacity: 0; background-color: var(--tt-bg); pointer-events: none; z-index: 2; --tw-content: attr(data-tip); content: var(--tw-content); width: max-content; padding-block: 0.25rem; padding-inline: 0.5rem; font-size: 0.875rem; line-height: 1.25; position: absolute; } &:after { opacity: 0; background-color: var(--tt-bg); content: ""; pointer-events: none; --mask-tooltip: url("data:image/svg+xml,%3Csvg width='10' height='4' viewBox='0 0 8 4' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.500009 1C3.5 1 3.00001 4 5.00001 4C7 4 6.5 1 9.5 1C10 1 10 0.499897 10 0H0C-1.99338e-08 0.5 0 1 0.500009 1Z' fill='black'/%3E%3C/svg%3E%0A"); width: 0.625rem; height: 0.25rem; mask-position: -1px 0; mask-repeat: no-repeat; mask-image: var(--mask-tooltip); display: block; position: absolute; } @media (prefers-reduced-motion: no-preference) { & > .tooltip-content, &[data-tip]:before, &:after { transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1) 75ms, transform 0.2s cubic-bezier(0.4, 0, 0.2, 1) 75ms; } } &:is( [data-tip]:not([data-tip=""]), :has(.tooltip-content:not(:empty)) ) { &.tooltip-open, &:hover, &:has(:focus-visible) { & > .tooltip-content, &[data-tip]:before, &:after { opacity: 1; --tt-pos: 0rem; @media (prefers-reduced-motion: no-preference) { & { transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1); } } } } } } } .\32 xl\:tooltip, .\32 xl\:tooltip-top { @layer daisyui.l1.l2 { & > .tooltip-content, &[data-tip]:before { transform: translateX(-50%) translateY(var(--tt-pos, 0.25rem)); inset: auto auto var(--tt-off) 50%; } &:after { transform: translateX(-50%) translateY(var(--tt-pos, 0.25rem)); inset: auto auto var(--tt-tail) 50%; } } } .\32 xl\:tooltip-bottom { @layer daisyui.l1.l2 { & > .tooltip-content, &[data-tip]:before { transform: translateX(-50%) translateY(var(--tt-pos, -0.25rem)); inset: var(--tt-off) auto auto 50%; } &:after { transform: translateX(-50%) translateY(var(--tt-pos, -0.25rem)) rotate(180deg); inset: var(--tt-tail) auto auto 50%; } } } .\32 xl\:tooltip-left { @layer daisyui.l1.l2 { & > .tooltip-content, &[data-tip]:before { transform: translateX(calc(var(--tt-pos, 0.25rem) - 0.25rem)) translateY(-50%); inset: 50% var(--tt-off) auto auto; } &:after { transform: translateX(var(--tt-pos, 0.25rem)) translateY(-50%) rotate(-90deg); inset: 50% calc(var(--tt-tail) + 1px) auto auto; } } } .\32 xl\:tooltip-right { @layer daisyui.l1.l2 { & > .tooltip-content, &[data-tip]:before { transform: translateX(calc(var(--tt-pos, -0.25rem) + 0.25rem)) translateY(-50%); inset: 50% auto auto var(--tt-off); } &:after { transform: translateX(var(--tt-pos, -0.25rem)) translateY(-50%) rotate(90deg); inset: 50% auto auto calc(var(--tt-tail) + 1px); } } } .\32 xl\:tooltip-primary { @layer daisyui.l1.l2 { & { --tt-bg: var(--color-primary); } & > .tooltip-content, &[data-tip]:before { color: var(--color-primary-content); } } } .\32 xl\:tooltip-secondary { @layer daisyui.l1.l2 { & { --tt-bg: var(--color-secondary); } & > .tooltip-content, &[data-tip]:before { color: var(--color-secondary-content); } } } .\32 xl\:tooltip-accent { @layer daisyui.l1.l2 { & { --tt-bg: var(--color-accent); } & > .tooltip-content, &[data-tip]:before { color: var(--color-accent-content); } } } .\32 xl\:tooltip-info { @layer daisyui.l1.l2 { & { --tt-bg: var(--color-info); } & > .tooltip-content, &[data-tip]:before { color: var(--color-info-content); } } } .\32 xl\:tooltip-success { @layer daisyui.l1.l2 { & { --tt-bg: var(--color-success); } & > .tooltip-content, &[data-tip]:before { color: var(--color-success-content); } } } .\32 xl\:tooltip-warning { @layer daisyui.l1.l2 { & { --tt-bg: var(--color-warning); } & > .tooltip-content, &[data-tip]:before { color: var(--color-warning-content); } } } .\32 xl\:tooltip-error { @layer daisyui.l1.l2 { & { --tt-bg: var(--color-error); } & > .tooltip-content, &[data-tip]:before { color: var(--color-error-content); } } } } .progress { @layer daisyui.l1.l2.l3 { & { appearance: none; border-radius: var(--radius-box); background-color: color-mix(in oklab, currentcolor 20%, transparent); width: 100%; height: 0.5rem; color: var(--color-base-content); position: relative; overflow: hidden; } &:indeterminate { background-image: repeating-linear-gradient( 90deg, currentColor -1% 10%, #0000 10% 90% ); background-position-x: 15%; background-size: 200%; @media (prefers-reduced-motion: no-preference) { & { animation: 5s ease-in-out infinite progress; } } @supports ((-moz-appearance: none)) { &::-moz-progress-bar { background-color: #0000; @media (prefers-reduced-motion: no-preference) { & { background-image: repeating-linear-gradient( 90deg, currentColor -1% 10%, #0000 10% 90% ); background-position-x: 15%; background-size: 200%; animation: 5s ease-in-out infinite progress; } } } } } @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: #0000; } &::-webkit-progress-value { border-radius: var(--radius-box); background-color: currentColor; } } } } .progress-primary { @layer daisyui.l1.l2 { & { color: var(--color-primary); } } } .progress-secondary { @layer daisyui.l1.l2 { & { color: var(--color-secondary); } } } .progress-accent { @layer daisyui.l1.l2 { & { color: var(--color-accent); } } } .progress-neutral { @layer daisyui.l1.l2 { & { color: var(--color-neutral); } } } .progress-info { @layer daisyui.l1.l2 { & { color: var(--color-info); } } } .progress-success { @layer daisyui.l1.l2 { & { color: var(--color-success); } } } .progress-warning { @layer daisyui.l1.l2 { & { color: var(--color-warning); } } } .progress-error { @layer daisyui.l1.l2 { & { color: var(--color-error); } } } @keyframes progress { 50% { background-position-x: -115%; } } @media (width>=640px) { .sm\:progress { @layer daisyui.l1.l2.l3 { & { appearance: none; border-radius: var(--radius-box); background-color: color-mix(in oklab, currentcolor 20%, transparent); width: 100%; height: 0.5rem; color: var(--color-base-content); position: relative; overflow: hidden; } &:indeterminate { background-image: repeating-linear-gradient( 90deg, currentColor -1% 10%, #0000 10% 90% ); background-position-x: 15%; background-size: 200%; @media (prefers-reduced-motion: no-preference) { & { animation: 5s ease-in-out infinite progress; } } @supports ((-moz-appearance: none)) { &::-moz-progress-bar { background-color: #0000; @media (prefers-reduced-motion: no-preference) { & { background-image: repeating-linear-gradient( 90deg, currentColor -1% 10%, #0000 10% 90% ); background-position-x: 15%; background-size: 200%; animation: 5s ease-in-out infinite progress; } } } } } @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: #0000; } &::-webkit-progress-value { border-radius: var(--radius-box); background-color: currentColor; } } } } .sm\:progress-primary { @layer daisyui.l1.l2 { & { color: var(--color-primary); } } } .sm\:progress-secondary { @layer daisyui.l1.l2 { & { color: var(--color-secondary); } } } .sm\:progress-accent { @layer daisyui.l1.l2 { & { color: var(--color-accent); } } } .sm\:progress-neutral { @layer daisyui.l1.l2 { & { color: var(--color-neutral); } } } .sm\:progress-info { @layer daisyui.l1.l2 { & { color: var(--color-info); } } } .sm\:progress-success { @layer daisyui.l1.l2 { & { color: var(--color-success); } } } .sm\:progress-warning { @layer daisyui.l1.l2 { & { color: var(--color-warning); } } } .sm\:progress-error { @layer daisyui.l1.l2 { & { color: var(--color-error); } } } } @media (width>=768px) { .md\:progress { @layer daisyui.l1.l2.l3 { & { appearance: none; border-radius: var(--radius-box); background-color: color-mix(in oklab, currentcolor 20%, transparent); width: 100%; height: 0.5rem; color: var(--color-base-content); position: relative; overflow: hidden; } &:indeterminate { background-image: repeating-linear-gradient( 90deg, currentColor -1% 10%, #0000 10% 90% ); background-position-x: 15%; background-size: 200%; @media (prefers-reduced-motion: no-preference) { & { animation: 5s ease-in-out infinite progress; } } @supports ((-moz-appearance: none)) { &::-moz-progress-bar { background-color: #0000; @media (prefers-reduced-motion: no-preference) { & { background-image: repeating-linear-gradient( 90deg, currentColor -1% 10%, #0000 10% 90% ); background-position-x: 15%; background-size: 200%; animation: 5s ease-in-out infinite progress; } } } } } @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: #0000; } &::-webkit-progress-value { border-radius: var(--radius-box); background-color: currentColor; } } } } .md\:progress-primary { @layer daisyui.l1.l2 { & { color: var(--color-primary); } } } .md\:progress-secondary { @layer daisyui.l1.l2 { & { color: var(--color-secondary); } } } .md\:progress-accent { @layer daisyui.l1.l2 { & { color: var(--color-accent); } } } .md\:progress-neutral { @layer daisyui.l1.l2 { & { color: var(--color-neutral); } } } .md\:progress-info { @layer daisyui.l1.l2 { & { color: var(--color-info); } } } .md\:progress-success { @layer daisyui.l1.l2 { & { color: var(--color-success); } } } .md\:progress-warning { @layer daisyui.l1.l2 { & { color: var(--color-warning); } } } .md\:progress-error { @layer daisyui.l1.l2 { & { color: var(--color-error); } } } } @media (width>=1024px) { .lg\:progress { @layer daisyui.l1.l2.l3 { & { appearance: none; border-radius: var(--radius-box); background-color: color-mix(in oklab, currentcolor 20%, transparent); width: 100%; height: 0.5rem; color: var(--color-base-content); position: relative; overflow: hidden; } &:indeterminate { background-image: repeating-linear-gradient( 90deg, currentColor -1% 10%, #0000 10% 90% ); background-position-x: 15%; background-size: 200%; @media (prefers-reduced-motion: no-preference) { & { animation: 5s ease-in-out infinite progress; } } @supports ((-moz-appearance: none)) { &::-moz-progress-bar { background-color: #0000; @media (prefers-reduced-motion: no-preference) { & { background-image: repeating-linear-gradient( 90deg, currentColor -1% 10%, #0000 10% 90% ); background-position-x: 15%; background-size: 200%; animation: 5s ease-in-out infinite progress; } } } } } @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: #0000; } &::-webkit-progress-value { border-radius: var(--radius-box); background-color: currentColor; } } } } .lg\:progress-primary { @layer daisyui.l1.l2 { & { color: var(--color-primary); } } } .lg\:progress-secondary { @layer daisyui.l1.l2 { & { color: var(--color-secondary); } } } .lg\:progress-accent { @layer daisyui.l1.l2 { & { color: var(--color-accent); } } } .lg\:progress-neutral { @layer daisyui.l1.l2 { & { color: var(--color-neutral); } } } .lg\:progress-info { @layer daisyui.l1.l2 { & { color: var(--color-info); } } } .lg\:progress-success { @layer daisyui.l1.l2 { & { color: var(--color-success); } } } .lg\:progress-warning { @layer daisyui.l1.l2 { & { color: var(--color-warning); } } } .lg\:progress-error { @layer daisyui.l1.l2 { & { color: var(--color-error); } } } } @media (width>=1280px) { .xl\:progress { @layer daisyui.l1.l2.l3 { & { appearance: none; border-radius: var(--radius-box); background-color: color-mix(in oklab, currentcolor 20%, transparent); width: 100%; height: 0.5rem; color: var(--color-base-content); position: relative; overflow: hidden; } &:indeterminate { background-image: repeating-linear-gradient( 90deg, currentColor -1% 10%, #0000 10% 90% ); background-position-x: 15%; background-size: 200%; @media (prefers-reduced-motion: no-preference) { & { animation: 5s ease-in-out infinite progress; } } @supports ((-moz-appearance: none)) { &::-moz-progress-bar { background-color: #0000; @media (prefers-reduced-motion: no-preference) { & { background-image: repeating-linear-gradient( 90deg, currentColor -1% 10%, #0000 10% 90% ); background-position-x: 15%; background-size: 200%; animation: 5s ease-in-out infinite progress; } } } } } @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: #0000; } &::-webkit-progress-value { border-radius: var(--radius-box); background-color: currentColor; } } } } .xl\:progress-primary { @layer daisyui.l1.l2 { & { color: var(--color-primary); } } } .xl\:progress-secondary { @layer daisyui.l1.l2 { & { color: var(--color-secondary); } } } .xl\:progress-accent { @layer daisyui.l1.l2 { & { color: var(--color-accent); } } } .xl\:progress-neutral { @layer daisyui.l1.l2 { & { color: var(--color-neutral); } } } .xl\:progress-info { @layer daisyui.l1.l2 { & { color: var(--color-info); } } } .xl\:progress-success { @layer daisyui.l1.l2 { & { color: var(--color-success); } } } .xl\:progress-warning { @layer daisyui.l1.l2 { & { color: var(--color-warning); } } } .xl\:progress-error { @layer daisyui.l1.l2 { & { color: var(--color-error); } } } } @media (width>=1536px) { .\32 xl\:progress { @layer daisyui.l1.l2.l3 { & { appearance: none; border-radius: var(--radius-box); background-color: color-mix(in oklab, currentcolor 20%, transparent); width: 100%; height: 0.5rem; color: var(--color-base-content); position: relative; overflow: hidden; } &:indeterminate { background-image: repeating-linear-gradient( 90deg, currentColor -1% 10%, #0000 10% 90% ); background-position-x: 15%; background-size: 200%; @media (prefers-reduced-motion: no-preference) { & { animation: 5s ease-in-out infinite progress; } } @supports ((-moz-appearance: none)) { &::-moz-progress-bar { background-color: #0000; @media (prefers-reduced-motion: no-preference) { & { background-image: repeating-linear-gradient( 90deg, currentColor -1% 10%, #0000 10% 90% ); background-position-x: 15%; background-size: 200%; animation: 5s ease-in-out infinite progress; } } } } } @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: #0000; } &::-webkit-progress-value { border-radius: var(--radius-box); background-color: currentColor; } } } } .\32 xl\:progress-primary { @layer daisyui.l1.l2 { & { color: var(--color-primary); } } } .\32 xl\:progress-secondary { @layer daisyui.l1.l2 { & { color: var(--color-secondary); } } } .\32 xl\:progress-accent { @layer daisyui.l1.l2 { & { color: var(--color-accent); } } } .\32 xl\:progress-neutral { @layer daisyui.l1.l2 { & { color: var(--color-neutral); } } } .\32 xl\:progress-info { @layer daisyui.l1.l2 { & { color: var(--color-info); } } } .\32 xl\:progress-success { @layer daisyui.l1.l2 { & { color: var(--color-success); } } } .\32 xl\:progress-warning { @layer daisyui.l1.l2 { & { color: var(--color-warning); } } } .\32 xl\:progress-error { @layer daisyui.l1.l2 { & { color: var(--color-error); } } } } :root .prose { --tw-prose-body: color-mix(in oklab, var(--color-base-content) 80%, #0000); --tw-prose-headings: var(--color-base-content); --tw-prose-lead: var(--color-base-content); --tw-prose-links: var(--color-base-content); --tw-prose-bold: var(--color-base-content); --tw-prose-counters: var(--color-base-content); --tw-prose-bullets: color-mix( in oklab, var(--color-base-content) 50%, #0000 ); --tw-prose-hr: color-mix(in oklab, var(--color-base-content) 20%, #0000); --tw-prose-quotes: var(--color-base-content); --tw-prose-quote-borders: color-mix( in oklab, var(--color-base-content) 20%, #0000 ); --tw-prose-captions: color-mix( in oklab, var(--color-base-content) 50%, #0000 ); --tw-prose-code: var(--color-base-content); --tw-prose-pre-code: var(--color-neutral-content); --tw-prose-pre-bg: var(--color-neutral); --tw-prose-th-borders: color-mix( in oklab, var(--color-base-content) 50%, #0000 ); --tw-prose-td-borders: color-mix( in oklab, var(--color-base-content) 20%, #0000 ); --tw-prose-kbd: color-mix(in oklab, var(--color-base-content) 80%, #0000); & :where(code):not(pre > code) { background-color: var(--color-base-200); border-radius: var(--radius-selector); border: var(--border) solid var(--color-base-300); font-weight: inherit; padding-block: 0.2em; padding-inline: 0.5em; &:before, &:after { display: none; } } } .rounded-box { border-radius: var(--radius-box); } .rounded-field { border-radius: var(--radius-field); } .rounded-selector { border-radius: var(--radius-selector); } .rounded-t-box { border-top-left-radius: var(--radius-box); border-top-right-radius: var(--radius-box); } .rounded-b-box { border-bottom-left-radius: var(--radius-box); border-bottom-right-radius: var(--radius-box); } .rounded-l-box { border-top-left-radius: var(--radius-box); border-bottom-left-radius: var(--radius-box); } .rounded-r-box { border-top-right-radius: var(--radius-box); border-bottom-right-radius: var(--radius-box); } .rounded-tl-box { border-top-left-radius: var(--radius-box); } .rounded-tr-box { border-top-right-radius: var(--radius-box); } .rounded-br-box { border-bottom-right-radius: var(--radius-box); } .rounded-bl-box { border-bottom-left-radius: var(--radius-box); } .rounded-t-field { border-top-left-radius: var(--radius-field); border-top-right-radius: var(--radius-field); } .rounded-b-field { border-bottom-left-radius: var(--radius-field); border-bottom-right-radius: var(--radius-field); } .rounded-l-field { border-top-left-radius: var(--radius-field); border-bottom-left-radius: var(--radius-field); } .rounded-r-field { border-top-right-radius: var(--radius-field); border-bottom-right-radius: var(--radius-field); } .rounded-tl-field { border-top-left-radius: var(--radius-field); } .rounded-tr-field { border-top-right-radius: var(--radius-field); } .rounded-br-field { border-bottom-right-radius: var(--radius-field); } .rounded-bl-field { border-bottom-left-radius: var(--radius-field); } .rounded-t-selector { border-top-left-radius: var(--radius-selector); border-top-right-radius: var(--radius-selector); } .rounded-b-selector { border-bottom-left-radius: var(--radius-selector); border-bottom-right-radius: var(--radius-selector); } .rounded-l-selector { border-top-left-radius: var(--radius-selector); border-bottom-left-radius: var(--radius-selector); } .rounded-r-selector { border-top-right-radius: var(--radius-selector); border-bottom-right-radius: var(--radius-selector); } .rounded-tl-selector { border-top-left-radius: var(--radius-selector); } .rounded-tr-selector { border-top-right-radius: var(--radius-selector); } .rounded-br-selector { border-bottom-right-radius: var(--radius-selector); } .rounded-bl-selector { border-bottom-left-radius: var(--radius-selector); } @media (width>=640px) { .sm\:rounded-box { border-radius: var(--radius-box); } .sm\:rounded-field { border-radius: var(--radius-field); } .sm\:rounded-selector { border-radius: var(--radius-selector); } .sm\:rounded-t-box { border-top-left-radius: var(--radius-box); border-top-right-radius: var(--radius-box); } .sm\:rounded-b-box { border-bottom-left-radius: var(--radius-box); border-bottom-right-radius: var(--radius-box); } .sm\:rounded-l-box { border-top-left-radius: var(--radius-box); border-bottom-left-radius: var(--radius-box); } .sm\:rounded-r-box { border-top-right-radius: var(--radius-box); border-bottom-right-radius: var(--radius-box); } .sm\:rounded-tl-box { border-top-left-radius: var(--radius-box); } .sm\:rounded-tr-box { border-top-right-radius: var(--radius-box); } .sm\:rounded-br-box { border-bottom-right-radius: var(--radius-box); } .sm\:rounded-bl-box { border-bottom-left-radius: var(--radius-box); } .sm\:rounded-t-field { border-top-left-radius: var(--radius-field); border-top-right-radius: var(--radius-field); } .sm\:rounded-b-field { border-bottom-left-radius: var(--radius-field); border-bottom-right-radius: var(--radius-field); } .sm\:rounded-l-field { border-top-left-radius: var(--radius-field); border-bottom-left-radius: var(--radius-field); } .sm\:rounded-r-field { border-top-right-radius: var(--radius-field); border-bottom-right-radius: var(--radius-field); } .sm\:rounded-tl-field { border-top-left-radius: var(--radius-field); } .sm\:rounded-tr-field { border-top-right-radius: var(--radius-field); } .sm\:rounded-br-field { border-bottom-right-radius: var(--radius-field); } .sm\:rounded-bl-field { border-bottom-left-radius: var(--radius-field); } .sm\:rounded-t-selector { border-top-left-radius: var(--radius-selector); border-top-right-radius: var(--radius-selector); } .sm\:rounded-b-selector { border-bottom-left-radius: var(--radius-selector); border-bottom-right-radius: var(--radius-selector); } .sm\:rounded-l-selector { border-top-left-radius: var(--radius-selector); border-bottom-left-radius: var(--radius-selector); } .sm\:rounded-r-selector { border-top-right-radius: var(--radius-selector); border-bottom-right-radius: var(--radius-selector); } .sm\:rounded-tl-selector { border-top-left-radius: var(--radius-selector); } .sm\:rounded-tr-selector { border-top-right-radius: var(--radius-selector); } .sm\:rounded-br-selector { border-bottom-right-radius: var(--radius-selector); } .sm\:rounded-bl-selector { border-bottom-left-radius: var(--radius-selector); } } @media (width>=768px) { .md\:rounded-box { border-radius: var(--radius-box); } .md\:rounded-field { border-radius: var(--radius-field); } .md\:rounded-selector { border-radius: var(--radius-selector); } .md\:rounded-t-box { border-top-left-radius: var(--radius-box); border-top-right-radius: var(--radius-box); } .md\:rounded-b-box { border-bottom-left-radius: var(--radius-box); border-bottom-right-radius: var(--radius-box); } .md\:rounded-l-box { border-top-left-radius: var(--radius-box); border-bottom-left-radius: var(--radius-box); } .md\:rounded-r-box { border-top-right-radius: var(--radius-box); border-bottom-right-radius: var(--radius-box); } .md\:rounded-tl-box { border-top-left-radius: var(--radius-box); } .md\:rounded-tr-box { border-top-right-radius: var(--radius-box); } .md\:rounded-br-box { border-bottom-right-radius: var(--radius-box); } .md\:rounded-bl-box { border-bottom-left-radius: var(--radius-box); } .md\:rounded-t-field { border-top-left-radius: var(--radius-field); border-top-right-radius: var(--radius-field); } .md\:rounded-b-field { border-bottom-left-radius: var(--radius-field); border-bottom-right-radius: var(--radius-field); } .md\:rounded-l-field { border-top-left-radius: var(--radius-field); border-bottom-left-radius: var(--radius-field); } .md\:rounded-r-field { border-top-right-radius: var(--radius-field); border-bottom-right-radius: var(--radius-field); } .md\:rounded-tl-field { border-top-left-radius: var(--radius-field); } .md\:rounded-tr-field { border-top-right-radius: var(--radius-field); } .md\:rounded-br-field { border-bottom-right-radius: var(--radius-field); } .md\:rounded-bl-field { border-bottom-left-radius: var(--radius-field); } .md\:rounded-t-selector { border-top-left-radius: var(--radius-selector); border-top-right-radius: var(--radius-selector); } .md\:rounded-b-selector { border-bottom-left-radius: var(--radius-selector); border-bottom-right-radius: var(--radius-selector); } .md\:rounded-l-selector { border-top-left-radius: var(--radius-selector); border-bottom-left-radius: var(--radius-selector); } .md\:rounded-r-selector { border-top-right-radius: var(--radius-selector); border-bottom-right-radius: var(--radius-selector); } .md\:rounded-tl-selector { border-top-left-radius: var(--radius-selector); } .md\:rounded-tr-selector { border-top-right-radius: var(--radius-selector); } .md\:rounded-br-selector { border-bottom-right-radius: var(--radius-selector); } .md\:rounded-bl-selector { border-bottom-left-radius: var(--radius-selector); } } @media (width>=1024px) { .lg\:rounded-box { border-radius: var(--radius-box); } .lg\:rounded-field { border-radius: var(--radius-field); } .lg\:rounded-selector { border-radius: var(--radius-selector); } .lg\:rounded-t-box { border-top-left-radius: var(--radius-box); border-top-right-radius: var(--radius-box); } .lg\:rounded-b-box { border-bottom-left-radius: var(--radius-box); border-bottom-right-radius: var(--radius-box); } .lg\:rounded-l-box { border-top-left-radius: var(--radius-box); border-bottom-left-radius: var(--radius-box); } .lg\:rounded-r-box { border-top-right-radius: var(--radius-box); border-bottom-right-radius: var(--radius-box); } .lg\:rounded-tl-box { border-top-left-radius: var(--radius-box); } .lg\:rounded-tr-box { border-top-right-radius: var(--radius-box); } .lg\:rounded-br-box { border-bottom-right-radius: var(--radius-box); } .lg\:rounded-bl-box { border-bottom-left-radius: var(--radius-box); } .lg\:rounded-t-field { border-top-left-radius: var(--radius-field); border-top-right-radius: var(--radius-field); } .lg\:rounded-b-field { border-bottom-left-radius: var(--radius-field); border-bottom-right-radius: var(--radius-field); } .lg\:rounded-l-field { border-top-left-radius: var(--radius-field); border-bottom-left-radius: var(--radius-field); } .lg\:rounded-r-field { border-top-right-radius: var(--radius-field); border-bottom-right-radius: var(--radius-field); } .lg\:rounded-tl-field { border-top-left-radius: var(--radius-field); } .lg\:rounded-tr-field { border-top-right-radius: var(--radius-field); } .lg\:rounded-br-field { border-bottom-right-radius: var(--radius-field); } .lg\:rounded-bl-field { border-bottom-left-radius: var(--radius-field); } .lg\:rounded-t-selector { border-top-left-radius: var(--radius-selector); border-top-right-radius: var(--radius-selector); } .lg\:rounded-b-selector { border-bottom-left-radius: var(--radius-selector); border-bottom-right-radius: var(--radius-selector); } .lg\:rounded-l-selector { border-top-left-radius: var(--radius-selector); border-bottom-left-radius: var(--radius-selector); } .lg\:rounded-r-selector { border-top-right-radius: var(--radius-selector); border-bottom-right-radius: var(--radius-selector); } .lg\:rounded-tl-selector { border-top-left-radius: var(--radius-selector); } .lg\:rounded-tr-selector { border-top-right-radius: var(--radius-selector); } .lg\:rounded-br-selector { border-bottom-right-radius: var(--radius-selector); } .lg\:rounded-bl-selector { border-bottom-left-radius: var(--radius-selector); } } @media (width>=1280px) { .xl\:rounded-box { border-radius: var(--radius-box); } .xl\:rounded-field { border-radius: var(--radius-field); } .xl\:rounded-selector { border-radius: var(--radius-selector); } .xl\:rounded-t-box { border-top-left-radius: var(--radius-box); border-top-right-radius: var(--radius-box); } .xl\:rounded-b-box { border-bottom-left-radius: var(--radius-box); border-bottom-right-radius: var(--radius-box); } .xl\:rounded-l-box { border-top-left-radius: var(--radius-box); border-bottom-left-radius: var(--radius-box); } .xl\:rounded-r-box { border-top-right-radius: var(--radius-box); border-bottom-right-radius: var(--radius-box); } .xl\:rounded-tl-box { border-top-left-radius: var(--radius-box); } .xl\:rounded-tr-box { border-top-right-radius: var(--radius-box); } .xl\:rounded-br-box { border-bottom-right-radius: var(--radius-box); } .xl\:rounded-bl-box { border-bottom-left-radius: var(--radius-box); } .xl\:rounded-t-field { border-top-left-radius: var(--radius-field); border-top-right-radius: var(--radius-field); } .xl\:rounded-b-field { border-bottom-left-radius: var(--radius-field); border-bottom-right-radius: var(--radius-field); } .xl\:rounded-l-field { border-top-left-radius: var(--radius-field); border-bottom-left-radius: var(--radius-field); } .xl\:rounded-r-field { border-top-right-radius: var(--radius-field); border-bottom-right-radius: var(--radius-field); } .xl\:rounded-tl-field { border-top-left-radius: var(--radius-field); } .xl\:rounded-tr-field { border-top-right-radius: var(--radius-field); } .xl\:rounded-br-field { border-bottom-right-radius: var(--radius-field); } .xl\:rounded-bl-field { border-bottom-left-radius: var(--radius-field); } .xl\:rounded-t-selector { border-top-left-radius: var(--radius-selector); border-top-right-radius: var(--radius-selector); } .xl\:rounded-b-selector { border-bottom-left-radius: var(--radius-selector); border-bottom-right-radius: var(--radius-selector); } .xl\:rounded-l-selector { border-top-left-radius: var(--radius-selector); border-bottom-left-radius: var(--radius-selector); } .xl\:rounded-r-selector { border-top-right-radius: var(--radius-selector); border-bottom-right-radius: var(--radius-selector); } .xl\:rounded-tl-selector { border-top-left-radius: var(--radius-selector); } .xl\:rounded-tr-selector { border-top-right-radius: var(--radius-selector); } .xl\:rounded-br-selector { border-bottom-right-radius: var(--radius-selector); } .xl\:rounded-bl-selector { border-bottom-left-radius: var(--radius-selector); } } @media (width>=1536px) { .\32 xl\:rounded-box { border-radius: var(--radius-box); } .\32 xl\:rounded-field { border-radius: var(--radius-field); } .\32 xl\:rounded-selector { border-radius: var(--radius-selector); } .\32 xl\:rounded-t-box { border-top-left-radius: var(--radius-box); border-top-right-radius: var(--radius-box); } .\32 xl\:rounded-b-box { border-bottom-left-radius: var(--radius-box); border-bottom-right-radius: var(--radius-box); } .\32 xl\:rounded-l-box { border-top-left-radius: var(--radius-box); border-bottom-left-radius: var(--radius-box); } .\32 xl\:rounded-r-box { border-top-right-radius: var(--radius-box); border-bottom-right-radius: var(--radius-box); } .\32 xl\:rounded-tl-box { border-top-left-radius: var(--radius-box); } .\32 xl\:rounded-tr-box { border-top-right-radius: var(--radius-box); } .\32 xl\:rounded-br-box { border-bottom-right-radius: var(--radius-box); } .\32 xl\:rounded-bl-box { border-bottom-left-radius: var(--radius-box); } .\32 xl\:rounded-t-field { border-top-left-radius: var(--radius-field); border-top-right-radius: var(--radius-field); } .\32 xl\:rounded-b-field { border-bottom-left-radius: var(--radius-field); border-bottom-right-radius: var(--radius-field); } .\32 xl\:rounded-l-field { border-top-left-radius: var(--radius-field); border-bottom-left-radius: var(--radius-field); } .\32 xl\:rounded-r-field { border-top-right-radius: var(--radius-field); border-bottom-right-radius: var(--radius-field); } .\32 xl\:rounded-tl-field { border-top-left-radius: var(--radius-field); } .\32 xl\:rounded-tr-field { border-top-right-radius: var(--radius-field); } .\32 xl\:rounded-br-field { border-bottom-right-radius: var(--radius-field); } .\32 xl\:rounded-bl-field { border-bottom-left-radius: var(--radius-field); } .\32 xl\:rounded-t-selector { border-top-left-radius: var(--radius-selector); border-top-right-radius: var(--radius-selector); } .\32 xl\:rounded-b-selector { border-bottom-left-radius: var(--radius-selector); border-bottom-right-radius: var(--radius-selector); } .\32 xl\:rounded-l-selector { border-top-left-radius: var(--radius-selector); border-bottom-left-radius: var(--radius-selector); } .\32 xl\:rounded-r-selector { border-top-right-radius: var(--radius-selector); border-bottom-right-radius: var(--radius-selector); } .\32 xl\:rounded-tl-selector { border-top-left-radius: var(--radius-selector); } .\32 xl\:rounded-tr-selector { border-top-right-radius: var(--radius-selector); } .\32 xl\:rounded-br-selector { border-bottom-right-radius: var(--radius-selector); } .\32 xl\:rounded-bl-selector { border-bottom-left-radius: var(--radius-selector); } } .glass { backdrop-filter: blur(var(--glass-blur, 40px)); background-color: #0000; background-image: linear-gradient( 135deg, oklch(100% 0 0 / var(--glass-opacity, 30%)) 0%, oklch(0% 0 0/0) 100% ), linear-gradient( var(--glass-reflect-degree, 100deg), oklch(100% 0 0 / var(--glass-reflect-opacity, 5%)) 25%, oklch(0% 0 0/0) 25% ); box-shadow: 0 0 0 1px oklch(100% 0 0 / var(--glass-border-opacity, 20%)) inset, 0 0 0 2px oklch(0% 0 0/0.05); text-shadow: 0 1px oklch(0% 0 0 / var(--glass-text-shadow-opacity, 5%)); border: none; } .join { --join-ss: 0; --join-se: 0; --join-es: 0; --join-ee: 0; align-items: stretch; display: inline-flex; & :where(.join-item) { border-start-start-radius: var(--join-ss, 0); border-start-end-radius: var(--join-se, 0); border-end-end-radius: var(--join-ee, 0); border-end-start-radius: var(--join-es, 0); & * { --join-ss: var(--radius-field); --join-se: var(--radius-field); --join-es: var(--radius-field); --join-ee: var(--radius-field); } } & > .join-item:where(:first-child) { --join-ss: var(--radius-field); --join-se: 0; --join-es: var(--radius-field); --join-ee: 0; } & :first-child:not(:last-child) { & :where(.join-item) { --join-ss: var(--radius-field); --join-se: 0; --join-es: var(--radius-field); --join-ee: 0; } } & > .join-item:where(:last-child) { --join-ss: 0; --join-se: var(--radius-field); --join-es: 0; --join-ee: var(--radius-field); } & :last-child:not(:first-child) { & :where(.join-item) { --join-ss: 0; --join-se: var(--radius-field); --join-es: 0; --join-ee: var(--radius-field); } } & > .join-item:where(:only-child) { --join-ss: var(--radius-field); --join-se: var(--radius-field); --join-es: var(--radius-field); --join-ee: var(--radius-field); } & :only-child { & :where(.join-item) { --join-ss: var(--radius-field); --join-se: var(--radius-field); --join-es: var(--radius-field); --join-ee: var(--radius-field); } } } .join-item { &:where(:not(:first-child, :disabled, [disabled], .btn-disabled)) { margin-block-start: 0; margin-inline-start: calc(var(--border, 1px) * -1); } &:where(:is(:disabled, [disabled], .btn-disabled)) { border-width: var(--border, 1px) 0 var(--border, 1px) var(--border, 1px); } } .join-vertical { flex-direction: column; & > .join-item:first-child { --join-ss: var(--radius-field); --join-se: var(--radius-field); --join-es: 0; --join-ee: 0; } & :first-child:not(:last-child) { & .join-item { --join-ss: var(--radius-field); --join-se: var(--radius-field); --join-es: 0; --join-ee: 0; } } & > .join-item:last-child { --join-ss: 0; --join-se: 0; --join-es: var(--radius-field); --join-ee: var(--radius-field); } & :last-child:not(:first-child) { & .join-item { --join-ss: 0; --join-se: 0; --join-es: var(--radius-field); --join-ee: var(--radius-field); } } & > .join-item:only-child { --join-ss: var(--radius-field); --join-se: var(--radius-field); --join-es: var(--radius-field); --join-ee: var(--radius-field); } & :only-child { & .join-item { --join-ss: var(--radius-field); --join-se: var(--radius-field); --join-es: var(--radius-field); --join-ee: var(--radius-field); } } & .join-item { &:where(:not(:first-child)) { margin-block-start: calc(var(--border, 1px) * -1); margin-inline-start: 0; } } } .join-horizontal { flex-direction: row; & > .join-item:first-child { --join-ss: var(--radius-field); --join-se: 0; --join-es: var(--radius-field); --join-ee: 0; } & :first-child:not(:last-child) { & .join-item { --join-ss: var(--radius-field); --join-se: 0; --join-es: var(--radius-field); --join-ee: 0; } } & > .join-item:last-child { --join-ss: 0; --join-se: var(--radius-field); --join-es: 0; --join-ee: var(--radius-field); } & :last-child:not(:first-child) { & .join-item { --join-ss: 0; --join-se: var(--radius-field); --join-es: 0; --join-ee: var(--radius-field); } } & > .join-item:only-child { --join-ss: var(--radius-field); --join-se: var(--radius-field); --join-es: var(--radius-field); --join-ee: var(--radius-field); } & :only-child { & .join-item { --join-ss: var(--radius-field); --join-se: var(--radius-field); --join-es: var(--radius-field); --join-ee: var(--radius-field); } } & .join-item { &:where(:not(:first-child)) { margin-block-start: 0; margin-inline-start: calc(var(--border, 1px) * -1); } } } @media (width>=640px) { .sm\:join { --join-ss: 0; --join-se: 0; --join-es: 0; --join-ee: 0; align-items: stretch; display: inline-flex; & :where(.join-item) { border-start-start-radius: var(--join-ss, 0); border-start-end-radius: var(--join-se, 0); border-end-end-radius: var(--join-ee, 0); border-end-start-radius: var(--join-es, 0); & * { --join-ss: var(--radius-field); --join-se: var(--radius-field); --join-es: var(--radius-field); --join-ee: var(--radius-field); } } & > .join-item:where(:first-child) { --join-ss: var(--radius-field); --join-se: 0; --join-es: var(--radius-field); --join-ee: 0; } & :first-child:not(:last-child) { & :where(.join-item) { --join-ss: var(--radius-field); --join-se: 0; --join-es: var(--radius-field); --join-ee: 0; } } & > .join-item:where(:last-child) { --join-ss: 0; --join-se: var(--radius-field); --join-es: 0; --join-ee: var(--radius-field); } & :last-child:not(:first-child) { & :where(.join-item) { --join-ss: 0; --join-se: var(--radius-field); --join-es: 0; --join-ee: var(--radius-field); } } & > .join-item:where(:only-child) { --join-ss: var(--radius-field); --join-se: var(--radius-field); --join-es: var(--radius-field); --join-ee: var(--radius-field); } & :only-child { & :where(.join-item) { --join-ss: var(--radius-field); --join-se: var(--radius-field); --join-es: var(--radius-field); --join-ee: var(--radius-field); } } } .sm\:join-item { &:where(:not(:first-child, :disabled, [disabled], .btn-disabled)) { margin-block-start: 0; margin-inline-start: calc(var(--border, 1px) * -1); } &:where(:is(:disabled, [disabled], .btn-disabled)) { border-width: var(--border, 1px) 0 var(--border, 1px) var(--border, 1px); } } .sm\:join-vertical { flex-direction: column; & > .join-item:first-child { --join-ss: var(--radius-field); --join-se: var(--radius-field); --join-es: 0; --join-ee: 0; } & :first-child:not(:last-child) { & .join-item { --join-ss: var(--radius-field); --join-se: var(--radius-field); --join-es: 0; --join-ee: 0; } } & > .join-item:last-child { --join-ss: 0; --join-se: 0; --join-es: var(--radius-field); --join-ee: var(--radius-field); } & :last-child:not(:first-child) { & .join-item { --join-ss: 0; --join-se: 0; --join-es: var(--radius-field); --join-ee: var(--radius-field); } } & > .join-item:only-child { --join-ss: var(--radius-field); --join-se: var(--radius-field); --join-es: var(--radius-field); --join-ee: var(--radius-field); } & :only-child { & .join-item { --join-ss: var(--radius-field); --join-se: var(--radius-field); --join-es: var(--radius-field); --join-ee: var(--radius-field); } } & .join-item { &:where(:not(:first-child)) { margin-block-start: calc(var(--border, 1px) * -1); margin-inline-start: 0; } } } .sm\:join-horizontal { flex-direction: row; & > .join-item:first-child { --join-ss: var(--radius-field); --join-se: 0; --join-es: var(--radius-field); --join-ee: 0; } & :first-child:not(:last-child) { & .join-item { --join-ss: var(--radius-field); --join-se: 0; --join-es: var(--radius-field); --join-ee: 0; } } & > .join-item:last-child { --join-ss: 0; --join-se: var(--radius-field); --join-es: 0; --join-ee: var(--radius-field); } & :last-child:not(:first-child) { & .join-item { --join-ss: 0; --join-se: var(--radius-field); --join-es: 0; --join-ee: var(--radius-field); } } & > .join-item:only-child { --join-ss: var(--radius-field); --join-se: var(--radius-field); --join-es: var(--radius-field); --join-ee: var(--radius-field); } & :only-child { & .join-item { --join-ss: var(--radius-field); --join-se: var(--radius-field); --join-es: var(--radius-field); --join-ee: var(--radius-field); } } & .join-item { &:where(:not(:first-child)) { margin-block-start: 0; margin-inline-start: calc(var(--border, 1px) * -1); } } } } @media (width>=768px) { .md\:join { --join-ss: 0; --join-se: 0; --join-es: 0; --join-ee: 0; align-items: stretch; display: inline-flex; & :where(.join-item) { border-start-start-radius: var(--join-ss, 0); border-start-end-radius: var(--join-se, 0); border-end-end-radius: var(--join-ee, 0); border-end-start-radius: var(--join-es, 0); & * { --join-ss: var(--radius-field); --join-se: var(--radius-field); --join-es: var(--radius-field); --join-ee: var(--radius-field); } } & > .join-item:where(:first-child) { --join-ss: var(--radius-field); --join-se: 0; --join-es: var(--radius-field); --join-ee: 0; } & :first-child:not(:last-child) { & :where(.join-item) { --join-ss: var(--radius-field); --join-se: 0; --join-es: var(--radius-field); --join-ee: 0; } } & > .join-item:where(:last-child) { --join-ss: 0; --join-se: var(--radius-field); --join-es: 0; --join-ee: var(--radius-field); } & :last-child:not(:first-child) { & :where(.join-item) { --join-ss: 0; --join-se: var(--radius-field); --join-es: 0; --join-ee: var(--radius-field); } } & > .join-item:where(:only-child) { --join-ss: var(--radius-field); --join-se: var(--radius-field); --join-es: var(--radius-field); --join-ee: var(--radius-field); } & :only-child { & :where(.join-item) { --join-ss: var(--radius-field); --join-se: var(--radius-field); --join-es: var(--radius-field); --join-ee: var(--radius-field); } } } .md\:join-item { &:where(:not(:first-child, :disabled, [disabled], .btn-disabled)) { margin-block-start: 0; margin-inline-start: calc(var(--border, 1px) * -1); } &:where(:is(:disabled, [disabled], .btn-disabled)) { border-width: var(--border, 1px) 0 var(--border, 1px) var(--border, 1px); } } .md\:join-vertical { flex-direction: column; & > .join-item:first-child { --join-ss: var(--radius-field); --join-se: var(--radius-field); --join-es: 0; --join-ee: 0; } & :first-child:not(:last-child) { & .join-item { --join-ss: var(--radius-field); --join-se: var(--radius-field); --join-es: 0; --join-ee: 0; } } & > .join-item:last-child { --join-ss: 0; --join-se: 0; --join-es: var(--radius-field); --join-ee: var(--radius-field); } & :last-child:not(:first-child) { & .join-item { --join-ss: 0; --join-se: 0; --join-es: var(--radius-field); --join-ee: var(--radius-field); } } & > .join-item:only-child { --join-ss: var(--radius-field); --join-se: var(--radius-field); --join-es: var(--radius-field); --join-ee: var(--radius-field); } & :only-child { & .join-item { --join-ss: var(--radius-field); --join-se: var(--radius-field); --join-es: var(--radius-field); --join-ee: var(--radius-field); } } & .join-item { &:where(:not(:first-child)) { margin-block-start: calc(var(--border, 1px) * -1); margin-inline-start: 0; } } } .md\:join-horizontal { flex-direction: row; & > .join-item:first-child { --join-ss: var(--radius-field); --join-se: 0; --join-es: var(--radius-field); --join-ee: 0; } & :first-child:not(:last-child) { & .join-item { --join-ss: var(--radius-field); --join-se: 0; --join-es: var(--radius-field); --join-ee: 0; } } & > .join-item:last-child { --join-ss: 0; --join-se: var(--radius-field); --join-es: 0; --join-ee: var(--radius-field); } & :last-child:not(:first-child) { & .join-item { --join-ss: 0; --join-se: var(--radius-field); --join-es: 0; --join-ee: var(--radius-field); } } & > .join-item:only-child { --join-ss: var(--radius-field); --join-se: var(--radius-field); --join-es: var(--radius-field); --join-ee: var(--radius-field); } & :only-child { & .join-item { --join-ss: var(--radius-field); --join-se: var(--radius-field); --join-es: var(--radius-field); --join-ee: var(--radius-field); } } & .join-item { &:where(:not(:first-child)) { margin-block-start: 0; margin-inline-start: calc(var(--border, 1px) * -1); } } } } @media (width>=1024px) { .lg\:join { --join-ss: 0; --join-se: 0; --join-es: 0; --join-ee: 0; align-items: stretch; display: inline-flex; & :where(.join-item) { border-start-start-radius: var(--join-ss, 0); border-start-end-radius: var(--join-se, 0); border-end-end-radius: var(--join-ee, 0); border-end-start-radius: var(--join-es, 0); & * { --join-ss: var(--radius-field); --join-se: var(--radius-field); --join-es: var(--radius-field); --join-ee: var(--radius-field); } } & > .join-item:where(:first-child) { --join-ss: var(--radius-field); --join-se: 0; --join-es: var(--radius-field); --join-ee: 0; } & :first-child:not(:last-child) { & :where(.join-item) { --join-ss: var(--radius-field); --join-se: 0; --join-es: var(--radius-field); --join-ee: 0; } } & > .join-item:where(:last-child) { --join-ss: 0; --join-se: var(--radius-field); --join-es: 0; --join-ee: var(--radius-field); } & :last-child:not(:first-child) { & :where(.join-item) { --join-ss: 0; --join-se: var(--radius-field); --join-es: 0; --join-ee: var(--radius-field); } } & > .join-item:where(:only-child) { --join-ss: var(--radius-field); --join-se: var(--radius-field); --join-es: var(--radius-field); --join-ee: var(--radius-field); } & :only-child { & :where(.join-item) { --join-ss: var(--radius-field); --join-se: var(--radius-field); --join-es: var(--radius-field); --join-ee: var(--radius-field); } } } .lg\:join-item { &:where(:not(:first-child, :disabled, [disabled], .btn-disabled)) { margin-block-start: 0; margin-inline-start: calc(var(--border, 1px) * -1); } &:where(:is(:disabled, [disabled], .btn-disabled)) { border-width: var(--border, 1px) 0 var(--border, 1px) var(--border, 1px); } } .lg\:join-vertical { flex-direction: column; & > .join-item:first-child { --join-ss: var(--radius-field); --join-se: var(--radius-field); --join-es: 0; --join-ee: 0; } & :first-child:not(:last-child) { & .join-item { --join-ss: var(--radius-field); --join-se: var(--radius-field); --join-es: 0; --join-ee: 0; } } & > .join-item:last-child { --join-ss: 0; --join-se: 0; --join-es: var(--radius-field); --join-ee: var(--radius-field); } & :last-child:not(:first-child) { & .join-item { --join-ss: 0; --join-se: 0; --join-es: var(--radius-field); --join-ee: var(--radius-field); } } & > .join-item:only-child { --join-ss: var(--radius-field); --join-se: var(--radius-field); --join-es: var(--radius-field); --join-ee: var(--radius-field); } & :only-child { & .join-item { --join-ss: var(--radius-field); --join-se: var(--radius-field); --join-es: var(--radius-field); --join-ee: var(--radius-field); } } & .join-item { &:where(:not(:first-child)) { margin-block-start: calc(var(--border, 1px) * -1); margin-inline-start: 0; } } } .lg\:join-horizontal { flex-direction: row; & > .join-item:first-child { --join-ss: var(--radius-field); --join-se: 0; --join-es: var(--radius-field); --join-ee: 0; } & :first-child:not(:last-child) { & .join-item { --join-ss: var(--radius-field); --join-se: 0; --join-es: var(--radius-field); --join-ee: 0; } } & > .join-item:last-child { --join-ss: 0; --join-se: var(--radius-field); --join-es: 0; --join-ee: var(--radius-field); } & :last-child:not(:first-child) { & .join-item { --join-ss: 0; --join-se: var(--radius-field); --join-es: 0; --join-ee: var(--radius-field); } } & > .join-item:only-child { --join-ss: var(--radius-field); --join-se: var(--radius-field); --join-es: var(--radius-field); --join-ee: var(--radius-field); } & :only-child { & .join-item { --join-ss: var(--radius-field); --join-se: var(--radius-field); --join-es: var(--radius-field); --join-ee: var(--radius-field); } } & .join-item { &:where(:not(:first-child)) { margin-block-start: 0; margin-inline-start: calc(var(--border, 1px) * -1); } } } } @media (width>=1280px) { .xl\:join { --join-ss: 0; --join-se: 0; --join-es: 0; --join-ee: 0; align-items: stretch; display: inline-flex; & :where(.join-item) { border-start-start-radius: var(--join-ss, 0); border-start-end-radius: var(--join-se, 0); border-end-end-radius: var(--join-ee, 0); border-end-start-radius: var(--join-es, 0); & * { --join-ss: var(--radius-field); --join-se: var(--radius-field); --join-es: var(--radius-field); --join-ee: var(--radius-field); } } & > .join-item:where(:first-child) { --join-ss: var(--radius-field); --join-se: 0; --join-es: var(--radius-field); --join-ee: 0; } & :first-child:not(:last-child) { & :where(.join-item) { --join-ss: var(--radius-field); --join-se: 0; --join-es: var(--radius-field); --join-ee: 0; } } & > .join-item:where(:last-child) { --join-ss: 0; --join-se: var(--radius-field); --join-es: 0; --join-ee: var(--radius-field); } & :last-child:not(:first-child) { & :where(.join-item) { --join-ss: 0; --join-se: var(--radius-field); --join-es: 0; --join-ee: var(--radius-field); } } & > .join-item:where(:only-child) { --join-ss: var(--radius-field); --join-se: var(--radius-field); --join-es: var(--radius-field); --join-ee: var(--radius-field); } & :only-child { & :where(.join-item) { --join-ss: var(--radius-field); --join-se: var(--radius-field); --join-es: var(--radius-field); --join-ee: var(--radius-field); } } } .xl\:join-item { &:where(:not(:first-child, :disabled, [disabled], .btn-disabled)) { margin-block-start: 0; margin-inline-start: calc(var(--border, 1px) * -1); } &:where(:is(:disabled, [disabled], .btn-disabled)) { border-width: var(--border, 1px) 0 var(--border, 1px) var(--border, 1px); } } .xl\:join-vertical { flex-direction: column; & > .join-item:first-child { --join-ss: var(--radius-field); --join-se: var(--radius-field); --join-es: 0; --join-ee: 0; } & :first-child:not(:last-child) { & .join-item { --join-ss: var(--radius-field); --join-se: var(--radius-field); --join-es: 0; --join-ee: 0; } } & > .join-item:last-child { --join-ss: 0; --join-se: 0; --join-es: var(--radius-field); --join-ee: var(--radius-field); } & :last-child:not(:first-child) { & .join-item { --join-ss: 0; --join-se: 0; --join-es: var(--radius-field); --join-ee: var(--radius-field); } } & > .join-item:only-child { --join-ss: var(--radius-field); --join-se: var(--radius-field); --join-es: var(--radius-field); --join-ee: var(--radius-field); } & :only-child { & .join-item { --join-ss: var(--radius-field); --join-se: var(--radius-field); --join-es: var(--radius-field); --join-ee: var(--radius-field); } } & .join-item { &:where(:not(:first-child)) { margin-block-start: calc(var(--border, 1px) * -1); margin-inline-start: 0; } } } .xl\:join-horizontal { flex-direction: row; & > .join-item:first-child { --join-ss: var(--radius-field); --join-se: 0; --join-es: var(--radius-field); --join-ee: 0; } & :first-child:not(:last-child) { & .join-item { --join-ss: var(--radius-field); --join-se: 0; --join-es: var(--radius-field); --join-ee: 0; } } & > .join-item:last-child { --join-ss: 0; --join-se: var(--radius-field); --join-es: 0; --join-ee: var(--radius-field); } & :last-child:not(:first-child) { & .join-item { --join-ss: 0; --join-se: var(--radius-field); --join-es: 0; --join-ee: var(--radius-field); } } & > .join-item:only-child { --join-ss: var(--radius-field); --join-se: var(--radius-field); --join-es: var(--radius-field); --join-ee: var(--radius-field); } & :only-child { & .join-item { --join-ss: var(--radius-field); --join-se: var(--radius-field); --join-es: var(--radius-field); --join-ee: var(--radius-field); } } & .join-item { &:where(:not(:first-child)) { margin-block-start: 0; margin-inline-start: calc(var(--border, 1px) * -1); } } } } @media (width>=1536px) { .\32 xl\:join { --join-ss: 0; --join-se: 0; --join-es: 0; --join-ee: 0; align-items: stretch; display: inline-flex; & :where(.join-item) { border-start-start-radius: var(--join-ss, 0); border-start-end-radius: var(--join-se, 0); border-end-end-radius: var(--join-ee, 0); border-end-start-radius: var(--join-es, 0); & * { --join-ss: var(--radius-field); --join-se: var(--radius-field); --join-es: var(--radius-field); --join-ee: var(--radius-field); } } & > .join-item:where(:first-child) { --join-ss: var(--radius-field); --join-se: 0; --join-es: var(--radius-field); --join-ee: 0; } & :first-child:not(:last-child) { & :where(.join-item) { --join-ss: var(--radius-field); --join-se: 0; --join-es: var(--radius-field); --join-ee: 0; } } & > .join-item:where(:last-child) { --join-ss: 0; --join-se: var(--radius-field); --join-es: 0; --join-ee: var(--radius-field); } & :last-child:not(:first-child) { & :where(.join-item) { --join-ss: 0; --join-se: var(--radius-field); --join-es: 0; --join-ee: var(--radius-field); } } & > .join-item:where(:only-child) { --join-ss: var(--radius-field); --join-se: var(--radius-field); --join-es: var(--radius-field); --join-ee: var(--radius-field); } & :only-child { & :where(.join-item) { --join-ss: var(--radius-field); --join-se: var(--radius-field); --join-es: var(--radius-field); --join-ee: var(--radius-field); } } } .\32 xl\:join-item { &:where(:not(:first-child, :disabled, [disabled], .btn-disabled)) { margin-block-start: 0; margin-inline-start: calc(var(--border, 1px) * -1); } &:where(:is(:disabled, [disabled], .btn-disabled)) { border-width: var(--border, 1px) 0 var(--border, 1px) var(--border, 1px); } } .\32 xl\:join-vertical { flex-direction: column; & > .join-item:first-child { --join-ss: var(--radius-field); --join-se: var(--radius-field); --join-es: 0; --join-ee: 0; } & :first-child:not(:last-child) { & .join-item { --join-ss: var(--radius-field); --join-se: var(--radius-field); --join-es: 0; --join-ee: 0; } } & > .join-item:last-child { --join-ss: 0; --join-se: 0; --join-es: var(--radius-field); --join-ee: var(--radius-field); } & :last-child:not(:first-child) { & .join-item { --join-ss: 0; --join-se: 0; --join-es: var(--radius-field); --join-ee: var(--radius-field); } } & > .join-item:only-child { --join-ss: var(--radius-field); --join-se: var(--radius-field); --join-es: var(--radius-field); --join-ee: var(--radius-field); } & :only-child { & .join-item { --join-ss: var(--radius-field); --join-se: var(--radius-field); --join-es: var(--radius-field); --join-ee: var(--radius-field); } } & .join-item { &:where(:not(:first-child)) { margin-block-start: calc(var(--border, 1px) * -1); margin-inline-start: 0; } } } .\32 xl\:join-horizontal { flex-direction: row; & > .join-item:first-child { --join-ss: var(--radius-field); --join-se: 0; --join-es: var(--radius-field); --join-ee: 0; } & :first-child:not(:last-child) { & .join-item { --join-ss: var(--radius-field); --join-se: 0; --join-es: var(--radius-field); --join-ee: 0; } } & > .join-item:last-child { --join-ss: 0; --join-se: var(--radius-field); --join-es: 0; --join-ee: var(--radius-field); } & :last-child:not(:first-child) { & .join-item { --join-ss: 0; --join-se: var(--radius-field); --join-es: 0; --join-ee: var(--radius-field); } } & > .join-item:only-child { --join-ss: var(--radius-field); --join-se: var(--radius-field); --join-es: var(--radius-field); --join-ee: var(--radius-field); } & :only-child { & .join-item { --join-ss: var(--radius-field); --join-se: var(--radius-field); --join-es: var(--radius-field); --join-ee: var(--radius-field); } } & .join-item { &:where(:not(:first-child)) { margin-block-start: 0; margin-inline-start: calc(var(--border, 1px) * -1); } } } } @media (width>=40rem) { .sm\:bg-base-100 { background-color: var(--color-base-100); } .sm\:text-base-100 { color: var(--color-base-100); } .sm\:border-base-100 { border-color: var(--color-base-100); } .sm\:bg-base-200 { background-color: var(--color-base-200); } .sm\:text-base-200 { color: var(--color-base-200); } .sm\:border-base-200 { border-color: var(--color-base-200); } .sm\:bg-base-300 { background-color: var(--color-base-300); } .sm\:text-base-300 { color: var(--color-base-300); } .sm\:border-base-300 { border-color: var(--color-base-300); } .sm\:bg-base-content { background-color: var(--color-base-content); } .sm\:text-base-content { color: var(--color-base-content); } .sm\:border-base-content { border-color: var(--color-base-content); } .sm\:bg-primary { background-color: var(--color-primary); } .sm\:text-primary { color: var(--color-primary); } .sm\:border-primary { border-color: var(--color-primary); } .sm\:bg-primary-content { background-color: var(--color-primary-content); } .sm\:text-primary-content { color: var(--color-primary-content); } .sm\:border-primary-content { border-color: var(--color-primary-content); } .sm\:bg-secondary { background-color: var(--color-secondary); } .sm\:text-secondary { color: var(--color-secondary); } .sm\:border-secondary { border-color: var(--color-secondary); } .sm\:bg-secondary-content { background-color: var(--color-secondary-content); } .sm\:text-secondary-content { color: var(--color-secondary-content); } .sm\:border-secondary-content { border-color: var(--color-secondary-content); } .sm\:bg-accent { background-color: var(--color-accent); } .sm\:text-accent { color: var(--color-accent); } .sm\:border-accent { border-color: var(--color-accent); } .sm\:bg-accent-content { background-color: var(--color-accent-content); } .sm\:text-accent-content { color: var(--color-accent-content); } .sm\:border-accent-content { border-color: var(--color-accent-content); } .sm\:bg-neutral { background-color: var(--color-neutral); } .sm\:text-neutral { color: var(--color-neutral); } .sm\:border-neutral { border-color: var(--color-neutral); } .sm\:bg-neutral-content { background-color: var(--color-neutral-content); } .sm\:text-neutral-content { color: var(--color-neutral-content); } .sm\:border-neutral-content { border-color: var(--color-neutral-content); } .sm\:bg-info { background-color: var(--color-info); } .sm\:text-info { color: var(--color-info); } .sm\:border-info { border-color: var(--color-info); } .sm\:bg-info-content { background-color: var(--color-info-content); } .sm\:text-info-content { color: var(--color-info-content); } .sm\:border-info-content { border-color: var(--color-info-content); } .sm\:bg-success { background-color: var(--color-success); } .sm\:text-success { color: var(--color-success); } .sm\:border-success { border-color: var(--color-success); } .sm\:bg-success-content { background-color: var(--color-success-content); } .sm\:text-success-content { color: var(--color-success-content); } .sm\:border-success-content { border-color: var(--color-success-content); } .sm\:bg-warning { background-color: var(--color-warning); } .sm\:text-warning { color: var(--color-warning); } .sm\:border-warning { border-color: var(--color-warning); } .sm\:bg-warning-content { background-color: var(--color-warning-content); } .sm\:text-warning-content { color: var(--color-warning-content); } .sm\:border-warning-content { border-color: var(--color-warning-content); } .sm\:bg-error { background-color: var(--color-error); } .sm\:text-error { color: var(--color-error); } .sm\:border-error { border-color: var(--color-error); } .sm\:bg-error-content { background-color: var(--color-error-content); } .sm\:text-error-content { color: var(--color-error-content); } .sm\:border-error-content { border-color: var(--color-error-content); } } @media (width>=48rem) { .md\:bg-base-100 { background-color: var(--color-base-100); } .md\:text-base-100 { color: var(--color-base-100); } .md\:border-base-100 { border-color: var(--color-base-100); } .md\:bg-base-200 { background-color: var(--color-base-200); } .md\:text-base-200 { color: var(--color-base-200); } .md\:border-base-200 { border-color: var(--color-base-200); } .md\:bg-base-300 { background-color: var(--color-base-300); } .md\:text-base-300 { color: var(--color-base-300); } .md\:border-base-300 { border-color: var(--color-base-300); } .md\:bg-base-content { background-color: var(--color-base-content); } .md\:text-base-content { color: var(--color-base-content); } .md\:border-base-content { border-color: var(--color-base-content); } .md\:bg-primary { background-color: var(--color-primary); } .md\:text-primary { color: var(--color-primary); } .md\:border-primary { border-color: var(--color-primary); } .md\:bg-primary-content { background-color: var(--color-primary-content); } .md\:text-primary-content { color: var(--color-primary-content); } .md\:border-primary-content { border-color: var(--color-primary-content); } .md\:bg-secondary { background-color: var(--color-secondary); } .md\:text-secondary { color: var(--color-secondary); } .md\:border-secondary { border-color: var(--color-secondary); } .md\:bg-secondary-content { background-color: var(--color-secondary-content); } .md\:text-secondary-content { color: var(--color-secondary-content); } .md\:border-secondary-content { border-color: var(--color-secondary-content); } .md\:bg-accent { background-color: var(--color-accent); } .md\:text-accent { color: var(--color-accent); } .md\:border-accent { border-color: var(--color-accent); } .md\:bg-accent-content { background-color: var(--color-accent-content); } .md\:text-accent-content { color: var(--color-accent-content); } .md\:border-accent-content { border-color: var(--color-accent-content); } .md\:bg-neutral { background-color: var(--color-neutral); } .md\:text-neutral { color: var(--color-neutral); } .md\:border-neutral { border-color: var(--color-neutral); } .md\:bg-neutral-content { background-color: var(--color-neutral-content); } .md\:text-neutral-content { color: var(--color-neutral-content); } .md\:border-neutral-content { border-color: var(--color-neutral-content); } .md\:bg-info { background-color: var(--color-info); } .md\:text-info { color: var(--color-info); } .md\:border-info { border-color: var(--color-info); } .md\:bg-info-content { background-color: var(--color-info-content); } .md\:text-info-content { color: var(--color-info-content); } .md\:border-info-content { border-color: var(--color-info-content); } .md\:bg-success { background-color: var(--color-success); } .md\:text-success { color: var(--color-success); } .md\:border-success { border-color: var(--color-success); } .md\:bg-success-content { background-color: var(--color-success-content); } .md\:text-success-content { color: var(--color-success-content); } .md\:border-success-content { border-color: var(--color-success-content); } .md\:bg-warning { background-color: var(--color-warning); } .md\:text-warning { color: var(--color-warning); } .md\:border-warning { border-color: var(--color-warning); } .md\:bg-warning-content { background-color: var(--color-warning-content); } .md\:text-warning-content { color: var(--color-warning-content); } .md\:border-warning-content { border-color: var(--color-warning-content); } .md\:bg-error { background-color: var(--color-error); } .md\:text-error { color: var(--color-error); } .md\:border-error { border-color: var(--color-error); } .md\:bg-error-content { background-color: var(--color-error-content); } .md\:text-error-content { color: var(--color-error-content); } .md\:border-error-content { border-color: var(--color-error-content); } } @media (width>=64rem) { .lg\:bg-base-100 { background-color: var(--color-base-100); } .lg\:text-base-100 { color: var(--color-base-100); } .lg\:border-base-100 { border-color: var(--color-base-100); } .lg\:bg-base-200 { background-color: var(--color-base-200); } .lg\:text-base-200 { color: var(--color-base-200); } .lg\:border-base-200 { border-color: var(--color-base-200); } .lg\:bg-base-300 { background-color: var(--color-base-300); } .lg\:text-base-300 { color: var(--color-base-300); } .lg\:border-base-300 { border-color: var(--color-base-300); } .lg\:bg-base-content { background-color: var(--color-base-content); } .lg\:text-base-content { color: var(--color-base-content); } .lg\:border-base-content { border-color: var(--color-base-content); } .lg\:bg-primary { background-color: var(--color-primary); } .lg\:text-primary { color: var(--color-primary); } .lg\:border-primary { border-color: var(--color-primary); } .lg\:bg-primary-content { background-color: var(--color-primary-content); } .lg\:text-primary-content { color: var(--color-primary-content); } .lg\:border-primary-content { border-color: var(--color-primary-content); } .lg\:bg-secondary { background-color: var(--color-secondary); } .lg\:text-secondary { color: var(--color-secondary); } .lg\:border-secondary { border-color: var(--color-secondary); } .lg\:bg-secondary-content { background-color: var(--color-secondary-content); } .lg\:text-secondary-content { color: var(--color-secondary-content); } .lg\:border-secondary-content { border-color: var(--color-secondary-content); } .lg\:bg-accent { background-color: var(--color-accent); } .lg\:text-accent { color: var(--color-accent); } .lg\:border-accent { border-color: var(--color-accent); } .lg\:bg-accent-content { background-color: var(--color-accent-content); } .lg\:text-accent-content { color: var(--color-accent-content); } .lg\:border-accent-content { border-color: var(--color-accent-content); } .lg\:bg-neutral { background-color: var(--color-neutral); } .lg\:text-neutral { color: var(--color-neutral); } .lg\:border-neutral { border-color: var(--color-neutral); } .lg\:bg-neutral-content { background-color: var(--color-neutral-content); } .lg\:text-neutral-content { color: var(--color-neutral-content); } .lg\:border-neutral-content { border-color: var(--color-neutral-content); } .lg\:bg-info { background-color: var(--color-info); } .lg\:text-info { color: var(--color-info); } .lg\:border-info { border-color: var(--color-info); } .lg\:bg-info-content { background-color: var(--color-info-content); } .lg\:text-info-content { color: var(--color-info-content); } .lg\:border-info-content { border-color: var(--color-info-content); } .lg\:bg-success { background-color: var(--color-success); } .lg\:text-success { color: var(--color-success); } .lg\:border-success { border-color: var(--color-success); } .lg\:bg-success-content { background-color: var(--color-success-content); } .lg\:text-success-content { color: var(--color-success-content); } .lg\:border-success-content { border-color: var(--color-success-content); } .lg\:bg-warning { background-color: var(--color-warning); } .lg\:text-warning { color: var(--color-warning); } .lg\:border-warning { border-color: var(--color-warning); } .lg\:bg-warning-content { background-color: var(--color-warning-content); } .lg\:text-warning-content { color: var(--color-warning-content); } .lg\:border-warning-content { border-color: var(--color-warning-content); } .lg\:bg-error { background-color: var(--color-error); } .lg\:text-error { color: var(--color-error); } .lg\:border-error { border-color: var(--color-error); } .lg\:bg-error-content { background-color: var(--color-error-content); } .lg\:text-error-content { color: var(--color-error-content); } .lg\:border-error-content { border-color: var(--color-error-content); } } @media (width>=80rem) { .xl\:bg-base-100 { background-color: var(--color-base-100); } .xl\:text-base-100 { color: var(--color-base-100); } .xl\:border-base-100 { border-color: var(--color-base-100); } .xl\:bg-base-200 { background-color: var(--color-base-200); } .xl\:text-base-200 { color: var(--color-base-200); } .xl\:border-base-200 { border-color: var(--color-base-200); } .xl\:bg-base-300 { background-color: var(--color-base-300); } .xl\:text-base-300 { color: var(--color-base-300); } .xl\:border-base-300 { border-color: var(--color-base-300); } .xl\:bg-base-content { background-color: var(--color-base-content); } .xl\:text-base-content { color: var(--color-base-content); } .xl\:border-base-content { border-color: var(--color-base-content); } .xl\:bg-primary { background-color: var(--color-primary); } .xl\:text-primary { color: var(--color-primary); } .xl\:border-primary { border-color: var(--color-primary); } .xl\:bg-primary-content { background-color: var(--color-primary-content); } .xl\:text-primary-content { color: var(--color-primary-content); } .xl\:border-primary-content { border-color: var(--color-primary-content); } .xl\:bg-secondary { background-color: var(--color-secondary); } .xl\:text-secondary { color: var(--color-secondary); } .xl\:border-secondary { border-color: var(--color-secondary); } .xl\:bg-secondary-content { background-color: var(--color-secondary-content); } .xl\:text-secondary-content { color: var(--color-secondary-content); } .xl\:border-secondary-content { border-color: var(--color-secondary-content); } .xl\:bg-accent { background-color: var(--color-accent); } .xl\:text-accent { color: var(--color-accent); } .xl\:border-accent { border-color: var(--color-accent); } .xl\:bg-accent-content { background-color: var(--color-accent-content); } .xl\:text-accent-content { color: var(--color-accent-content); } .xl\:border-accent-content { border-color: var(--color-accent-content); } .xl\:bg-neutral { background-color: var(--color-neutral); } .xl\:text-neutral { color: var(--color-neutral); } .xl\:border-neutral { border-color: var(--color-neutral); } .xl\:bg-neutral-content { background-color: var(--color-neutral-content); } .xl\:text-neutral-content { color: var(--color-neutral-content); } .xl\:border-neutral-content { border-color: var(--color-neutral-content); } .xl\:bg-info { background-color: var(--color-info); } .xl\:text-info { color: var(--color-info); } .xl\:border-info { border-color: var(--color-info); } .xl\:bg-info-content { background-color: var(--color-info-content); } .xl\:text-info-content { color: var(--color-info-content); } .xl\:border-info-content { border-color: var(--color-info-content); } .xl\:bg-success { background-color: var(--color-success); } .xl\:text-success { color: var(--color-success); } .xl\:border-success { border-color: var(--color-success); } .xl\:bg-success-content { background-color: var(--color-success-content); } .xl\:text-success-content { color: var(--color-success-content); } .xl\:border-success-content { border-color: var(--color-success-content); } .xl\:bg-warning { background-color: var(--color-warning); } .xl\:text-warning { color: var(--color-warning); } .xl\:border-warning { border-color: var(--color-warning); } .xl\:bg-warning-content { background-color: var(--color-warning-content); } .xl\:text-warning-content { color: var(--color-warning-content); } .xl\:border-warning-content { border-color: var(--color-warning-content); } .xl\:bg-error { background-color: var(--color-error); } .xl\:text-error { color: var(--color-error); } .xl\:border-error { border-color: var(--color-error); } .xl\:bg-error-content { background-color: var(--color-error-content); } .xl\:text-error-content { color: var(--color-error-content); } .xl\:border-error-content { border-color: var(--color-error-content); } } @media (width>=96rem) { .\32 xl\:bg-base-100 { background-color: var(--color-base-100); } .\32 xl\:text-base-100 { color: var(--color-base-100); } .\32 xl\:border-base-100 { border-color: var(--color-base-100); } .\32 xl\:bg-base-200 { background-color: var(--color-base-200); } .\32 xl\:text-base-200 { color: var(--color-base-200); } .\32 xl\:border-base-200 { border-color: var(--color-base-200); } .\32 xl\:bg-base-300 { background-color: var(--color-base-300); } .\32 xl\:text-base-300 { color: var(--color-base-300); } .\32 xl\:border-base-300 { border-color: var(--color-base-300); } .\32 xl\:bg-base-content { background-color: var(--color-base-content); } .\32 xl\:text-base-content { color: var(--color-base-content); } .\32 xl\:border-base-content { border-color: var(--color-base-content); } .\32 xl\:bg-primary { background-color: var(--color-primary); } .\32 xl\:text-primary { color: var(--color-primary); } .\32 xl\:border-primary { border-color: var(--color-primary); } .\32 xl\:bg-primary-content { background-color: var(--color-primary-content); } .\32 xl\:text-primary-content { color: var(--color-primary-content); } .\32 xl\:border-primary-content { border-color: var(--color-primary-content); } .\32 xl\:bg-secondary { background-color: var(--color-secondary); } .\32 xl\:text-secondary { color: var(--color-secondary); } .\32 xl\:border-secondary { border-color: var(--color-secondary); } .\32 xl\:bg-secondary-content { background-color: var(--color-secondary-content); } .\32 xl\:text-secondary-content { color: var(--color-secondary-content); } .\32 xl\:border-secondary-content { border-color: var(--color-secondary-content); } .\32 xl\:bg-accent { background-color: var(--color-accent); } .\32 xl\:text-accent { color: var(--color-accent); } .\32 xl\:border-accent { border-color: var(--color-accent); } .\32 xl\:bg-accent-content { background-color: var(--color-accent-content); } .\32 xl\:text-accent-content { color: var(--color-accent-content); } .\32 xl\:border-accent-content { border-color: var(--color-accent-content); } .\32 xl\:bg-neutral { background-color: var(--color-neutral); } .\32 xl\:text-neutral { color: var(--color-neutral); } .\32 xl\:border-neutral { border-color: var(--color-neutral); } .\32 xl\:bg-neutral-content { background-color: var(--color-neutral-content); } .\32 xl\:text-neutral-content { color: var(--color-neutral-content); } .\32 xl\:border-neutral-content { border-color: var(--color-neutral-content); } .\32 xl\:bg-info { background-color: var(--color-info); } .\32 xl\:text-info { color: var(--color-info); } .\32 xl\:border-info { border-color: var(--color-info); } .\32 xl\:bg-info-content { background-color: var(--color-info-content); } .\32 xl\:text-info-content { color: var(--color-info-content); } .\32 xl\:border-info-content { border-color: var(--color-info-content); } .\32 xl\:bg-success { background-color: var(--color-success); } .\32 xl\:text-success { color: var(--color-success); } .\32 xl\:border-success { border-color: var(--color-success); } .\32 xl\:bg-success-content { background-color: var(--color-success-content); } .\32 xl\:text-success-content { color: var(--color-success-content); } .\32 xl\:border-success-content { border-color: var(--color-success-content); } .\32 xl\:bg-warning { background-color: var(--color-warning); } .\32 xl\:text-warning { color: var(--color-warning); } .\32 xl\:border-warning { border-color: var(--color-warning); } .\32 xl\:bg-warning-content { background-color: var(--color-warning-content); } .\32 xl\:text-warning-content { color: var(--color-warning-content); } .\32 xl\:border-warning-content { border-color: var(--color-warning-content); } .\32 xl\:bg-error { background-color: var(--color-error); } .\32 xl\:text-error { color: var(--color-error); } .\32 xl\:border-error { border-color: var(--color-error); } .\32 xl\:bg-error-content { background-color: var(--color-error-content); } .\32 xl\:text-error-content { color: var(--color-error-content); } .\32 xl\:border-error-content { border-color: var(--color-error-content); } } .hover\:bg-base-100:hover { &:hover { @media (hover: hover) { & { background-color: var(--color-base-100); } } } } .hover\:text-base-100:hover { &:hover { @media (hover: hover) { & { color: var(--color-base-100); } } } } .hover\:border-base-100:hover { &:hover { @media (hover: hover) { & { border-color: var(--color-base-100); } } } } .hover\:bg-base-200:hover { &:hover { @media (hover: hover) { & { background-color: var(--color-base-200); } } } } .hover\:text-base-200:hover { &:hover { @media (hover: hover) { & { color: var(--color-base-200); } } } } .hover\:border-base-200:hover { &:hover { @media (hover: hover) { & { border-color: var(--color-base-200); } } } } .hover\:bg-base-300:hover { &:hover { @media (hover: hover) { & { background-color: var(--color-base-300); } } } } .hover\:text-base-300:hover { &:hover { @media (hover: hover) { & { color: var(--color-base-300); } } } } .hover\:border-base-300:hover { &:hover { @media (hover: hover) { & { border-color: var(--color-base-300); } } } } .hover\:bg-base-content:hover { &:hover { @media (hover: hover) { & { background-color: var(--color-base-content); } } } } .hover\:text-base-content:hover { &:hover { @media (hover: hover) { & { color: var(--color-base-content); } } } } .hover\:border-base-content:hover { &:hover { @media (hover: hover) { & { border-color: var(--color-base-content); } } } } .hover\:bg-primary:hover { &:hover { @media (hover: hover) { & { background-color: var(--color-primary); } } } } .hover\:text-primary:hover { &:hover { @media (hover: hover) { & { color: var(--color-primary); } } } } .hover\:border-primary:hover { &:hover { @media (hover: hover) { & { border-color: var(--color-primary); } } } } .hover\:bg-primary-content:hover { &:hover { @media (hover: hover) { & { background-color: var(--color-primary-content); } } } } .hover\:text-primary-content:hover { &:hover { @media (hover: hover) { & { color: var(--color-primary-content); } } } } .hover\:border-primary-content:hover { &:hover { @media (hover: hover) { & { border-color: var(--color-primary-content); } } } } .hover\:bg-secondary:hover { &:hover { @media (hover: hover) { & { background-color: var(--color-secondary); } } } } .hover\:text-secondary:hover { &:hover { @media (hover: hover) { & { color: var(--color-secondary); } } } } .hover\:border-secondary:hover { &:hover { @media (hover: hover) { & { border-color: var(--color-secondary); } } } } .hover\:bg-secondary-content:hover { &:hover { @media (hover: hover) { & { background-color: var(--color-secondary-content); } } } } .hover\:text-secondary-content:hover { &:hover { @media (hover: hover) { & { color: var(--color-secondary-content); } } } } .hover\:border-secondary-content:hover { &:hover { @media (hover: hover) { & { border-color: var(--color-secondary-content); } } } } .hover\:bg-accent:hover { &:hover { @media (hover: hover) { & { background-color: var(--color-accent); } } } } .hover\:text-accent:hover { &:hover { @media (hover: hover) { & { color: var(--color-accent); } } } } .hover\:border-accent:hover { &:hover { @media (hover: hover) { & { border-color: var(--color-accent); } } } } .hover\:bg-accent-content:hover { &:hover { @media (hover: hover) { & { background-color: var(--color-accent-content); } } } } .hover\:text-accent-content:hover { &:hover { @media (hover: hover) { & { color: var(--color-accent-content); } } } } .hover\:border-accent-content:hover { &:hover { @media (hover: hover) { & { border-color: var(--color-accent-content); } } } } .hover\:bg-neutral:hover { &:hover { @media (hover: hover) { & { background-color: var(--color-neutral); } } } } .hover\:text-neutral:hover { &:hover { @media (hover: hover) { & { color: var(--color-neutral); } } } } .hover\:border-neutral:hover { &:hover { @media (hover: hover) { & { border-color: var(--color-neutral); } } } } .hover\:bg-neutral-content:hover { &:hover { @media (hover: hover) { & { background-color: var(--color-neutral-content); } } } } .hover\:text-neutral-content:hover { &:hover { @media (hover: hover) { & { color: var(--color-neutral-content); } } } } .hover\:border-neutral-content:hover { &:hover { @media (hover: hover) { & { border-color: var(--color-neutral-content); } } } } .hover\:bg-info:hover { &:hover { @media (hover: hover) { & { background-color: var(--color-info); } } } } .hover\:text-info:hover { &:hover { @media (hover: hover) { & { color: var(--color-info); } } } } .hover\:border-info:hover { &:hover { @media (hover: hover) { & { border-color: var(--color-info); } } } } .hover\:bg-info-content:hover { &:hover { @media (hover: hover) { & { background-color: var(--color-info-content); } } } } .hover\:text-info-content:hover { &:hover { @media (hover: hover) { & { color: var(--color-info-content); } } } } .hover\:border-info-content:hover { &:hover { @media (hover: hover) { & { border-color: var(--color-info-content); } } } } .hover\:bg-success:hover { &:hover { @media (hover: hover) { & { background-color: var(--color-success); } } } } .hover\:text-success:hover { &:hover { @media (hover: hover) { & { color: var(--color-success); } } } } .hover\:border-success:hover { &:hover { @media (hover: hover) { & { border-color: var(--color-success); } } } } .hover\:bg-success-content:hover { &:hover { @media (hover: hover) { & { background-color: var(--color-success-content); } } } } .hover\:text-success-content:hover { &:hover { @media (hover: hover) { & { color: var(--color-success-content); } } } } .hover\:border-success-content:hover { &:hover { @media (hover: hover) { & { border-color: var(--color-success-content); } } } } .hover\:bg-warning:hover { &:hover { @media (hover: hover) { & { background-color: var(--color-warning); } } } } .hover\:text-warning:hover { &:hover { @media (hover: hover) { & { color: var(--color-warning); } } } } .hover\:border-warning:hover { &:hover { @media (hover: hover) { & { border-color: var(--color-warning); } } } } .hover\:bg-warning-content:hover { &:hover { @media (hover: hover) { & { background-color: var(--color-warning-content); } } } } .hover\:text-warning-content:hover { &:hover { @media (hover: hover) { & { color: var(--color-warning-content); } } } } .hover\:border-warning-content:hover { &:hover { @media (hover: hover) { & { border-color: var(--color-warning-content); } } } } .hover\:bg-error:hover { &:hover { @media (hover: hover) { & { background-color: var(--color-error); } } } } .hover\:text-error:hover { &:hover { @media (hover: hover) { & { color: var(--color-error); } } } } .hover\:border-error:hover { &:hover { @media (hover: hover) { & { border-color: var(--color-error); } } } } .hover\:bg-error-content:hover { &:hover { @media (hover: hover) { & { background-color: var(--color-error-content); } } } } .hover\:text-error-content:hover { &:hover { @media (hover: hover) { & { color: var(--color-error-content); } } } } .hover\:border-error-content:hover { &:hover { @media (hover: hover) { & { border-color: var(--color-error-content); } } } } .bg-base-100 { background-color: var(--color-base-100); } .bg-base-100\/10 { background-color: var(--color-base-100); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-base-100) 10%, #0000); } } } .bg-base-100\/20 { background-color: var(--color-base-100); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-base-100) 20%, #0000); } } } .bg-base-100\/30 { background-color: var(--color-base-100); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-base-100) 30%, #0000); } } } .bg-base-100\/40 { background-color: var(--color-base-100); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-base-100) 40%, #0000); } } } .bg-base-100\/50 { background-color: var(--color-base-100); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-base-100) 50%, #0000); } } } .bg-base-100\/60 { background-color: var(--color-base-100); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-base-100) 60%, #0000); } } } .bg-base-100\/70 { background-color: var(--color-base-100); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-base-100) 70%, #0000); } } } .bg-base-100\/80 { background-color: var(--color-base-100); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-base-100) 80%, #0000); } } } .bg-base-100\/90 { background-color: var(--color-base-100); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-base-100) 90%, #0000); } } } .text-base-100 { color: var(--color-base-100); } .text-base-100\/10 { color: var(--color-base-100); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-base-100) 10%, #0000); } } } .text-base-100\/20 { color: var(--color-base-100); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-base-100) 20%, #0000); } } } .text-base-100\/30 { color: var(--color-base-100); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-base-100) 30%, #0000); } } } .text-base-100\/40 { color: var(--color-base-100); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-base-100) 40%, #0000); } } } .text-base-100\/50 { color: var(--color-base-100); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-base-100) 50%, #0000); } } } .text-base-100\/60 { color: var(--color-base-100); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-base-100) 60%, #0000); } } } .text-base-100\/70 { color: var(--color-base-100); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-base-100) 70%, #0000); } } } .text-base-100\/80 { color: var(--color-base-100); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-base-100) 80%, #0000); } } } .text-base-100\/90 { color: var(--color-base-100); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-base-100) 90%, #0000); } } } .border-base-100 { border-color: var(--color-base-100); } .border-base-100\/10 { border-color: var(--color-base-100); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-base-100) 10%, #0000); } } } .border-base-100\/20 { border-color: var(--color-base-100); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-base-100) 20%, #0000); } } } .border-base-100\/30 { border-color: var(--color-base-100); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-base-100) 30%, #0000); } } } .border-base-100\/40 { border-color: var(--color-base-100); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-base-100) 40%, #0000); } } } .border-base-100\/50 { border-color: var(--color-base-100); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-base-100) 50%, #0000); } } } .border-base-100\/60 { border-color: var(--color-base-100); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-base-100) 60%, #0000); } } } .border-base-100\/70 { border-color: var(--color-base-100); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-base-100) 70%, #0000); } } } .border-base-100\/80 { border-color: var(--color-base-100); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-base-100) 80%, #0000); } } } .border-base-100\/90 { border-color: var(--color-base-100); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-base-100) 90%, #0000); } } } .bg-base-200 { background-color: var(--color-base-200); } .bg-base-200\/10 { background-color: var(--color-base-200); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-base-200) 10%, #0000); } } } .bg-base-200\/20 { background-color: var(--color-base-200); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-base-200) 20%, #0000); } } } .bg-base-200\/30 { background-color: var(--color-base-200); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-base-200) 30%, #0000); } } } .bg-base-200\/40 { background-color: var(--color-base-200); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-base-200) 40%, #0000); } } } .bg-base-200\/50 { background-color: var(--color-base-200); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-base-200) 50%, #0000); } } } .bg-base-200\/60 { background-color: var(--color-base-200); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-base-200) 60%, #0000); } } } .bg-base-200\/70 { background-color: var(--color-base-200); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-base-200) 70%, #0000); } } } .bg-base-200\/80 { background-color: var(--color-base-200); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-base-200) 80%, #0000); } } } .bg-base-200\/90 { background-color: var(--color-base-200); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-base-200) 90%, #0000); } } } .text-base-200 { color: var(--color-base-200); } .text-base-200\/10 { color: var(--color-base-200); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-base-200) 10%, #0000); } } } .text-base-200\/20 { color: var(--color-base-200); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-base-200) 20%, #0000); } } } .text-base-200\/30 { color: var(--color-base-200); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-base-200) 30%, #0000); } } } .text-base-200\/40 { color: var(--color-base-200); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-base-200) 40%, #0000); } } } .text-base-200\/50 { color: var(--color-base-200); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-base-200) 50%, #0000); } } } .text-base-200\/60 { color: var(--color-base-200); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-base-200) 60%, #0000); } } } .text-base-200\/70 { color: var(--color-base-200); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-base-200) 70%, #0000); } } } .text-base-200\/80 { color: var(--color-base-200); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-base-200) 80%, #0000); } } } .text-base-200\/90 { color: var(--color-base-200); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-base-200) 90%, #0000); } } } .border-base-200 { border-color: var(--color-base-200); } .border-base-200\/10 { border-color: var(--color-base-200); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-base-200) 10%, #0000); } } } .border-base-200\/20 { border-color: var(--color-base-200); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-base-200) 20%, #0000); } } } .border-base-200\/30 { border-color: var(--color-base-200); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-base-200) 30%, #0000); } } } .border-base-200\/40 { border-color: var(--color-base-200); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-base-200) 40%, #0000); } } } .border-base-200\/50 { border-color: var(--color-base-200); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-base-200) 50%, #0000); } } } .border-base-200\/60 { border-color: var(--color-base-200); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-base-200) 60%, #0000); } } } .border-base-200\/70 { border-color: var(--color-base-200); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-base-200) 70%, #0000); } } } .border-base-200\/80 { border-color: var(--color-base-200); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-base-200) 80%, #0000); } } } .border-base-200\/90 { border-color: var(--color-base-200); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-base-200) 90%, #0000); } } } .bg-base-300 { background-color: var(--color-base-300); } .bg-base-300\/10 { background-color: var(--color-base-300); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-base-300) 10%, #0000); } } } .bg-base-300\/20 { background-color: var(--color-base-300); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-base-300) 20%, #0000); } } } .bg-base-300\/30 { background-color: var(--color-base-300); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-base-300) 30%, #0000); } } } .bg-base-300\/40 { background-color: var(--color-base-300); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-base-300) 40%, #0000); } } } .bg-base-300\/50 { background-color: var(--color-base-300); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-base-300) 50%, #0000); } } } .bg-base-300\/60 { background-color: var(--color-base-300); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-base-300) 60%, #0000); } } } .bg-base-300\/70 { background-color: var(--color-base-300); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-base-300) 70%, #0000); } } } .bg-base-300\/80 { background-color: var(--color-base-300); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-base-300) 80%, #0000); } } } .bg-base-300\/90 { background-color: var(--color-base-300); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-base-300) 90%, #0000); } } } .text-base-300 { color: var(--color-base-300); } .text-base-300\/10 { color: var(--color-base-300); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-base-300) 10%, #0000); } } } .text-base-300\/20 { color: var(--color-base-300); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-base-300) 20%, #0000); } } } .text-base-300\/30 { color: var(--color-base-300); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-base-300) 30%, #0000); } } } .text-base-300\/40 { color: var(--color-base-300); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-base-300) 40%, #0000); } } } .text-base-300\/50 { color: var(--color-base-300); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-base-300) 50%, #0000); } } } .text-base-300\/60 { color: var(--color-base-300); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-base-300) 60%, #0000); } } } .text-base-300\/70 { color: var(--color-base-300); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-base-300) 70%, #0000); } } } .text-base-300\/80 { color: var(--color-base-300); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-base-300) 80%, #0000); } } } .text-base-300\/90 { color: var(--color-base-300); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-base-300) 90%, #0000); } } } .border-base-300 { border-color: var(--color-base-300); } .border-base-300\/10 { border-color: var(--color-base-300); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-base-300) 10%, #0000); } } } .border-base-300\/20 { border-color: var(--color-base-300); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-base-300) 20%, #0000); } } } .border-base-300\/30 { border-color: var(--color-base-300); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-base-300) 30%, #0000); } } } .border-base-300\/40 { border-color: var(--color-base-300); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-base-300) 40%, #0000); } } } .border-base-300\/50 { border-color: var(--color-base-300); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-base-300) 50%, #0000); } } } .border-base-300\/60 { border-color: var(--color-base-300); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-base-300) 60%, #0000); } } } .border-base-300\/70 { border-color: var(--color-base-300); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-base-300) 70%, #0000); } } } .border-base-300\/80 { border-color: var(--color-base-300); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-base-300) 80%, #0000); } } } .border-base-300\/90 { border-color: var(--color-base-300); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-base-300) 90%, #0000); } } } .bg-base-content { background-color: var(--color-base-content); } .bg-base-content\/10 { background-color: var(--color-base-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-base-content) 10%, #0000 ); } } } .bg-base-content\/20 { background-color: var(--color-base-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-base-content) 20%, #0000 ); } } } .bg-base-content\/30 { background-color: var(--color-base-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-base-content) 30%, #0000 ); } } } .bg-base-content\/40 { background-color: var(--color-base-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-base-content) 40%, #0000 ); } } } .bg-base-content\/50 { background-color: var(--color-base-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-base-content) 50%, #0000 ); } } } .bg-base-content\/60 { background-color: var(--color-base-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-base-content) 60%, #0000 ); } } } .bg-base-content\/70 { background-color: var(--color-base-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-base-content) 70%, #0000 ); } } } .bg-base-content\/80 { background-color: var(--color-base-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-base-content) 80%, #0000 ); } } } .bg-base-content\/90 { background-color: var(--color-base-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-base-content) 90%, #0000 ); } } } .text-base-content { color: var(--color-base-content); } .text-base-content\/10 { color: var(--color-base-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-base-content) 10%, #0000); } } } .text-base-content\/20 { color: var(--color-base-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-base-content) 20%, #0000); } } } .text-base-content\/30 { color: var(--color-base-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-base-content) 30%, #0000); } } } .text-base-content\/40 { color: var(--color-base-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-base-content) 40%, #0000); } } } .text-base-content\/50 { color: var(--color-base-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-base-content) 50%, #0000); } } } .text-base-content\/60 { color: var(--color-base-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-base-content) 60%, #0000); } } } .text-base-content\/70 { color: var(--color-base-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-base-content) 70%, #0000); } } } .text-base-content\/80 { color: var(--color-base-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-base-content) 80%, #0000); } } } .text-base-content\/90 { color: var(--color-base-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-base-content) 90%, #0000); } } } .border-base-content { border-color: var(--color-base-content); } .border-base-content\/10 { border-color: var(--color-base-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-base-content) 10%, #0000); } } } .border-base-content\/20 { border-color: var(--color-base-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-base-content) 20%, #0000); } } } .border-base-content\/30 { border-color: var(--color-base-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-base-content) 30%, #0000); } } } .border-base-content\/40 { border-color: var(--color-base-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-base-content) 40%, #0000); } } } .border-base-content\/50 { border-color: var(--color-base-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-base-content) 50%, #0000); } } } .border-base-content\/60 { border-color: var(--color-base-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-base-content) 60%, #0000); } } } .border-base-content\/70 { border-color: var(--color-base-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-base-content) 70%, #0000); } } } .border-base-content\/80 { border-color: var(--color-base-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-base-content) 80%, #0000); } } } .border-base-content\/90 { border-color: var(--color-base-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-base-content) 90%, #0000); } } } .bg-primary { background-color: var(--color-primary); } .bg-primary\/10 { background-color: var(--color-primary); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-primary) 10%, #0000); } } } .bg-primary\/20 { background-color: var(--color-primary); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-primary) 20%, #0000); } } } .bg-primary\/30 { background-color: var(--color-primary); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-primary) 30%, #0000); } } } .bg-primary\/40 { background-color: var(--color-primary); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-primary) 40%, #0000); } } } .bg-primary\/50 { background-color: var(--color-primary); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-primary) 50%, #0000); } } } .bg-primary\/60 { background-color: var(--color-primary); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-primary) 60%, #0000); } } } .bg-primary\/70 { background-color: var(--color-primary); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-primary) 70%, #0000); } } } .bg-primary\/80 { background-color: var(--color-primary); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-primary) 80%, #0000); } } } .bg-primary\/90 { background-color: var(--color-primary); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-primary) 90%, #0000); } } } .text-primary { color: var(--color-primary); } .text-primary\/10 { color: var(--color-primary); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-primary) 10%, #0000); } } } .text-primary\/20 { color: var(--color-primary); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-primary) 20%, #0000); } } } .text-primary\/30 { color: var(--color-primary); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-primary) 30%, #0000); } } } .text-primary\/40 { color: var(--color-primary); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-primary) 40%, #0000); } } } .text-primary\/50 { color: var(--color-primary); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-primary) 50%, #0000); } } } .text-primary\/60 { color: var(--color-primary); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-primary) 60%, #0000); } } } .text-primary\/70 { color: var(--color-primary); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-primary) 70%, #0000); } } } .text-primary\/80 { color: var(--color-primary); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-primary) 80%, #0000); } } } .text-primary\/90 { color: var(--color-primary); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-primary) 90%, #0000); } } } .border-primary { border-color: var(--color-primary); } .border-primary\/10 { border-color: var(--color-primary); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-primary) 10%, #0000); } } } .border-primary\/20 { border-color: var(--color-primary); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-primary) 20%, #0000); } } } .border-primary\/30 { border-color: var(--color-primary); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-primary) 30%, #0000); } } } .border-primary\/40 { border-color: var(--color-primary); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-primary) 40%, #0000); } } } .border-primary\/50 { border-color: var(--color-primary); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-primary) 50%, #0000); } } } .border-primary\/60 { border-color: var(--color-primary); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-primary) 60%, #0000); } } } .border-primary\/70 { border-color: var(--color-primary); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-primary) 70%, #0000); } } } .border-primary\/80 { border-color: var(--color-primary); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-primary) 80%, #0000); } } } .border-primary\/90 { border-color: var(--color-primary); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-primary) 90%, #0000); } } } .bg-primary-content { background-color: var(--color-primary-content); } .bg-primary-content\/10 { background-color: var(--color-primary-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-primary-content) 10%, #0000 ); } } } .bg-primary-content\/20 { background-color: var(--color-primary-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-primary-content) 20%, #0000 ); } } } .bg-primary-content\/30 { background-color: var(--color-primary-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-primary-content) 30%, #0000 ); } } } .bg-primary-content\/40 { background-color: var(--color-primary-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-primary-content) 40%, #0000 ); } } } .bg-primary-content\/50 { background-color: var(--color-primary-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-primary-content) 50%, #0000 ); } } } .bg-primary-content\/60 { background-color: var(--color-primary-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-primary-content) 60%, #0000 ); } } } .bg-primary-content\/70 { background-color: var(--color-primary-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-primary-content) 70%, #0000 ); } } } .bg-primary-content\/80 { background-color: var(--color-primary-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-primary-content) 80%, #0000 ); } } } .bg-primary-content\/90 { background-color: var(--color-primary-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-primary-content) 90%, #0000 ); } } } .text-primary-content { color: var(--color-primary-content); } .text-primary-content\/10 { color: var(--color-primary-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-primary-content) 10%, #0000); } } } .text-primary-content\/20 { color: var(--color-primary-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-primary-content) 20%, #0000); } } } .text-primary-content\/30 { color: var(--color-primary-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-primary-content) 30%, #0000); } } } .text-primary-content\/40 { color: var(--color-primary-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-primary-content) 40%, #0000); } } } .text-primary-content\/50 { color: var(--color-primary-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-primary-content) 50%, #0000); } } } .text-primary-content\/60 { color: var(--color-primary-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-primary-content) 60%, #0000); } } } .text-primary-content\/70 { color: var(--color-primary-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-primary-content) 70%, #0000); } } } .text-primary-content\/80 { color: var(--color-primary-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-primary-content) 80%, #0000); } } } .text-primary-content\/90 { color: var(--color-primary-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-primary-content) 90%, #0000); } } } .border-primary-content { border-color: var(--color-primary-content); } .border-primary-content\/10 { border-color: var(--color-primary-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-primary-content) 10%, #0000 ); } } } .border-primary-content\/20 { border-color: var(--color-primary-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-primary-content) 20%, #0000 ); } } } .border-primary-content\/30 { border-color: var(--color-primary-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-primary-content) 30%, #0000 ); } } } .border-primary-content\/40 { border-color: var(--color-primary-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-primary-content) 40%, #0000 ); } } } .border-primary-content\/50 { border-color: var(--color-primary-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-primary-content) 50%, #0000 ); } } } .border-primary-content\/60 { border-color: var(--color-primary-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-primary-content) 60%, #0000 ); } } } .border-primary-content\/70 { border-color: var(--color-primary-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-primary-content) 70%, #0000 ); } } } .border-primary-content\/80 { border-color: var(--color-primary-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-primary-content) 80%, #0000 ); } } } .border-primary-content\/90 { border-color: var(--color-primary-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-primary-content) 90%, #0000 ); } } } .bg-secondary { background-color: var(--color-secondary); } .bg-secondary\/10 { background-color: var(--color-secondary); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-secondary) 10%, #0000 ); } } } .bg-secondary\/20 { background-color: var(--color-secondary); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-secondary) 20%, #0000 ); } } } .bg-secondary\/30 { background-color: var(--color-secondary); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-secondary) 30%, #0000 ); } } } .bg-secondary\/40 { background-color: var(--color-secondary); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-secondary) 40%, #0000 ); } } } .bg-secondary\/50 { background-color: var(--color-secondary); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-secondary) 50%, #0000 ); } } } .bg-secondary\/60 { background-color: var(--color-secondary); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-secondary) 60%, #0000 ); } } } .bg-secondary\/70 { background-color: var(--color-secondary); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-secondary) 70%, #0000 ); } } } .bg-secondary\/80 { background-color: var(--color-secondary); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-secondary) 80%, #0000 ); } } } .bg-secondary\/90 { background-color: var(--color-secondary); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-secondary) 90%, #0000 ); } } } .text-secondary { color: var(--color-secondary); } .text-secondary\/10 { color: var(--color-secondary); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-secondary) 10%, #0000); } } } .text-secondary\/20 { color: var(--color-secondary); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-secondary) 20%, #0000); } } } .text-secondary\/30 { color: var(--color-secondary); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-secondary) 30%, #0000); } } } .text-secondary\/40 { color: var(--color-secondary); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-secondary) 40%, #0000); } } } .text-secondary\/50 { color: var(--color-secondary); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-secondary) 50%, #0000); } } } .text-secondary\/60 { color: var(--color-secondary); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-secondary) 60%, #0000); } } } .text-secondary\/70 { color: var(--color-secondary); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-secondary) 70%, #0000); } } } .text-secondary\/80 { color: var(--color-secondary); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-secondary) 80%, #0000); } } } .text-secondary\/90 { color: var(--color-secondary); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-secondary) 90%, #0000); } } } .border-secondary { border-color: var(--color-secondary); } .border-secondary\/10 { border-color: var(--color-secondary); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-secondary) 10%, #0000); } } } .border-secondary\/20 { border-color: var(--color-secondary); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-secondary) 20%, #0000); } } } .border-secondary\/30 { border-color: var(--color-secondary); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-secondary) 30%, #0000); } } } .border-secondary\/40 { border-color: var(--color-secondary); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-secondary) 40%, #0000); } } } .border-secondary\/50 { border-color: var(--color-secondary); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-secondary) 50%, #0000); } } } .border-secondary\/60 { border-color: var(--color-secondary); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-secondary) 60%, #0000); } } } .border-secondary\/70 { border-color: var(--color-secondary); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-secondary) 70%, #0000); } } } .border-secondary\/80 { border-color: var(--color-secondary); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-secondary) 80%, #0000); } } } .border-secondary\/90 { border-color: var(--color-secondary); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-secondary) 90%, #0000); } } } .bg-secondary-content { background-color: var(--color-secondary-content); } .bg-secondary-content\/10 { background-color: var(--color-secondary-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-secondary-content) 10%, #0000 ); } } } .bg-secondary-content\/20 { background-color: var(--color-secondary-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-secondary-content) 20%, #0000 ); } } } .bg-secondary-content\/30 { background-color: var(--color-secondary-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-secondary-content) 30%, #0000 ); } } } .bg-secondary-content\/40 { background-color: var(--color-secondary-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-secondary-content) 40%, #0000 ); } } } .bg-secondary-content\/50 { background-color: var(--color-secondary-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-secondary-content) 50%, #0000 ); } } } .bg-secondary-content\/60 { background-color: var(--color-secondary-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-secondary-content) 60%, #0000 ); } } } .bg-secondary-content\/70 { background-color: var(--color-secondary-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-secondary-content) 70%, #0000 ); } } } .bg-secondary-content\/80 { background-color: var(--color-secondary-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-secondary-content) 80%, #0000 ); } } } .bg-secondary-content\/90 { background-color: var(--color-secondary-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-secondary-content) 90%, #0000 ); } } } .text-secondary-content { color: var(--color-secondary-content); } .text-secondary-content\/10 { color: var(--color-secondary-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-secondary-content) 10%, #0000); } } } .text-secondary-content\/20 { color: var(--color-secondary-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-secondary-content) 20%, #0000); } } } .text-secondary-content\/30 { color: var(--color-secondary-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-secondary-content) 30%, #0000); } } } .text-secondary-content\/40 { color: var(--color-secondary-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-secondary-content) 40%, #0000); } } } .text-secondary-content\/50 { color: var(--color-secondary-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-secondary-content) 50%, #0000); } } } .text-secondary-content\/60 { color: var(--color-secondary-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-secondary-content) 60%, #0000); } } } .text-secondary-content\/70 { color: var(--color-secondary-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-secondary-content) 70%, #0000); } } } .text-secondary-content\/80 { color: var(--color-secondary-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-secondary-content) 80%, #0000); } } } .text-secondary-content\/90 { color: var(--color-secondary-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-secondary-content) 90%, #0000); } } } .border-secondary-content { border-color: var(--color-secondary-content); } .border-secondary-content\/10 { border-color: var(--color-secondary-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-secondary-content) 10%, #0000 ); } } } .border-secondary-content\/20 { border-color: var(--color-secondary-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-secondary-content) 20%, #0000 ); } } } .border-secondary-content\/30 { border-color: var(--color-secondary-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-secondary-content) 30%, #0000 ); } } } .border-secondary-content\/40 { border-color: var(--color-secondary-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-secondary-content) 40%, #0000 ); } } } .border-secondary-content\/50 { border-color: var(--color-secondary-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-secondary-content) 50%, #0000 ); } } } .border-secondary-content\/60 { border-color: var(--color-secondary-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-secondary-content) 60%, #0000 ); } } } .border-secondary-content\/70 { border-color: var(--color-secondary-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-secondary-content) 70%, #0000 ); } } } .border-secondary-content\/80 { border-color: var(--color-secondary-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-secondary-content) 80%, #0000 ); } } } .border-secondary-content\/90 { border-color: var(--color-secondary-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-secondary-content) 90%, #0000 ); } } } .bg-accent { background-color: var(--color-accent); } .bg-accent\/10 { background-color: var(--color-accent); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-accent) 10%, #0000); } } } .bg-accent\/20 { background-color: var(--color-accent); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-accent) 20%, #0000); } } } .bg-accent\/30 { background-color: var(--color-accent); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-accent) 30%, #0000); } } } .bg-accent\/40 { background-color: var(--color-accent); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-accent) 40%, #0000); } } } .bg-accent\/50 { background-color: var(--color-accent); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-accent) 50%, #0000); } } } .bg-accent\/60 { background-color: var(--color-accent); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-accent) 60%, #0000); } } } .bg-accent\/70 { background-color: var(--color-accent); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-accent) 70%, #0000); } } } .bg-accent\/80 { background-color: var(--color-accent); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-accent) 80%, #0000); } } } .bg-accent\/90 { background-color: var(--color-accent); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-accent) 90%, #0000); } } } .text-accent { color: var(--color-accent); } .text-accent\/10 { color: var(--color-accent); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-accent) 10%, #0000); } } } .text-accent\/20 { color: var(--color-accent); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-accent) 20%, #0000); } } } .text-accent\/30 { color: var(--color-accent); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-accent) 30%, #0000); } } } .text-accent\/40 { color: var(--color-accent); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-accent) 40%, #0000); } } } .text-accent\/50 { color: var(--color-accent); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-accent) 50%, #0000); } } } .text-accent\/60 { color: var(--color-accent); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-accent) 60%, #0000); } } } .text-accent\/70 { color: var(--color-accent); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-accent) 70%, #0000); } } } .text-accent\/80 { color: var(--color-accent); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-accent) 80%, #0000); } } } .text-accent\/90 { color: var(--color-accent); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-accent) 90%, #0000); } } } .border-accent { border-color: var(--color-accent); } .border-accent\/10 { border-color: var(--color-accent); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-accent) 10%, #0000); } } } .border-accent\/20 { border-color: var(--color-accent); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-accent) 20%, #0000); } } } .border-accent\/30 { border-color: var(--color-accent); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-accent) 30%, #0000); } } } .border-accent\/40 { border-color: var(--color-accent); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-accent) 40%, #0000); } } } .border-accent\/50 { border-color: var(--color-accent); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-accent) 50%, #0000); } } } .border-accent\/60 { border-color: var(--color-accent); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-accent) 60%, #0000); } } } .border-accent\/70 { border-color: var(--color-accent); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-accent) 70%, #0000); } } } .border-accent\/80 { border-color: var(--color-accent); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-accent) 80%, #0000); } } } .border-accent\/90 { border-color: var(--color-accent); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-accent) 90%, #0000); } } } .bg-accent-content { background-color: var(--color-accent-content); } .bg-accent-content\/10 { background-color: var(--color-accent-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-accent-content) 10%, #0000 ); } } } .bg-accent-content\/20 { background-color: var(--color-accent-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-accent-content) 20%, #0000 ); } } } .bg-accent-content\/30 { background-color: var(--color-accent-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-accent-content) 30%, #0000 ); } } } .bg-accent-content\/40 { background-color: var(--color-accent-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-accent-content) 40%, #0000 ); } } } .bg-accent-content\/50 { background-color: var(--color-accent-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-accent-content) 50%, #0000 ); } } } .bg-accent-content\/60 { background-color: var(--color-accent-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-accent-content) 60%, #0000 ); } } } .bg-accent-content\/70 { background-color: var(--color-accent-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-accent-content) 70%, #0000 ); } } } .bg-accent-content\/80 { background-color: var(--color-accent-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-accent-content) 80%, #0000 ); } } } .bg-accent-content\/90 { background-color: var(--color-accent-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-accent-content) 90%, #0000 ); } } } .text-accent-content { color: var(--color-accent-content); } .text-accent-content\/10 { color: var(--color-accent-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-accent-content) 10%, #0000); } } } .text-accent-content\/20 { color: var(--color-accent-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-accent-content) 20%, #0000); } } } .text-accent-content\/30 { color: var(--color-accent-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-accent-content) 30%, #0000); } } } .text-accent-content\/40 { color: var(--color-accent-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-accent-content) 40%, #0000); } } } .text-accent-content\/50 { color: var(--color-accent-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-accent-content) 50%, #0000); } } } .text-accent-content\/60 { color: var(--color-accent-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-accent-content) 60%, #0000); } } } .text-accent-content\/70 { color: var(--color-accent-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-accent-content) 70%, #0000); } } } .text-accent-content\/80 { color: var(--color-accent-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-accent-content) 80%, #0000); } } } .text-accent-content\/90 { color: var(--color-accent-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-accent-content) 90%, #0000); } } } .border-accent-content { border-color: var(--color-accent-content); } .border-accent-content\/10 { border-color: var(--color-accent-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-accent-content) 10%, #0000 ); } } } .border-accent-content\/20 { border-color: var(--color-accent-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-accent-content) 20%, #0000 ); } } } .border-accent-content\/30 { border-color: var(--color-accent-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-accent-content) 30%, #0000 ); } } } .border-accent-content\/40 { border-color: var(--color-accent-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-accent-content) 40%, #0000 ); } } } .border-accent-content\/50 { border-color: var(--color-accent-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-accent-content) 50%, #0000 ); } } } .border-accent-content\/60 { border-color: var(--color-accent-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-accent-content) 60%, #0000 ); } } } .border-accent-content\/70 { border-color: var(--color-accent-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-accent-content) 70%, #0000 ); } } } .border-accent-content\/80 { border-color: var(--color-accent-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-accent-content) 80%, #0000 ); } } } .border-accent-content\/90 { border-color: var(--color-accent-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-accent-content) 90%, #0000 ); } } } .bg-neutral { background-color: var(--color-neutral); } .bg-neutral\/10 { background-color: var(--color-neutral); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-neutral) 10%, #0000); } } } .bg-neutral\/20 { background-color: var(--color-neutral); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-neutral) 20%, #0000); } } } .bg-neutral\/30 { background-color: var(--color-neutral); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-neutral) 30%, #0000); } } } .bg-neutral\/40 { background-color: var(--color-neutral); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-neutral) 40%, #0000); } } } .bg-neutral\/50 { background-color: var(--color-neutral); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-neutral) 50%, #0000); } } } .bg-neutral\/60 { background-color: var(--color-neutral); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-neutral) 60%, #0000); } } } .bg-neutral\/70 { background-color: var(--color-neutral); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-neutral) 70%, #0000); } } } .bg-neutral\/80 { background-color: var(--color-neutral); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-neutral) 80%, #0000); } } } .bg-neutral\/90 { background-color: var(--color-neutral); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-neutral) 90%, #0000); } } } .text-neutral { color: var(--color-neutral); } .text-neutral\/10 { color: var(--color-neutral); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-neutral) 10%, #0000); } } } .text-neutral\/20 { color: var(--color-neutral); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-neutral) 20%, #0000); } } } .text-neutral\/30 { color: var(--color-neutral); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-neutral) 30%, #0000); } } } .text-neutral\/40 { color: var(--color-neutral); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-neutral) 40%, #0000); } } } .text-neutral\/50 { color: var(--color-neutral); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-neutral) 50%, #0000); } } } .text-neutral\/60 { color: var(--color-neutral); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-neutral) 60%, #0000); } } } .text-neutral\/70 { color: var(--color-neutral); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-neutral) 70%, #0000); } } } .text-neutral\/80 { color: var(--color-neutral); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-neutral) 80%, #0000); } } } .text-neutral\/90 { color: var(--color-neutral); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-neutral) 90%, #0000); } } } .border-neutral { border-color: var(--color-neutral); } .border-neutral\/10 { border-color: var(--color-neutral); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-neutral) 10%, #0000); } } } .border-neutral\/20 { border-color: var(--color-neutral); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-neutral) 20%, #0000); } } } .border-neutral\/30 { border-color: var(--color-neutral); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-neutral) 30%, #0000); } } } .border-neutral\/40 { border-color: var(--color-neutral); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-neutral) 40%, #0000); } } } .border-neutral\/50 { border-color: var(--color-neutral); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-neutral) 50%, #0000); } } } .border-neutral\/60 { border-color: var(--color-neutral); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-neutral) 60%, #0000); } } } .border-neutral\/70 { border-color: var(--color-neutral); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-neutral) 70%, #0000); } } } .border-neutral\/80 { border-color: var(--color-neutral); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-neutral) 80%, #0000); } } } .border-neutral\/90 { border-color: var(--color-neutral); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-neutral) 90%, #0000); } } } .bg-neutral-content { background-color: var(--color-neutral-content); } .bg-neutral-content\/10 { background-color: var(--color-neutral-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-neutral-content) 10%, #0000 ); } } } .bg-neutral-content\/20 { background-color: var(--color-neutral-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-neutral-content) 20%, #0000 ); } } } .bg-neutral-content\/30 { background-color: var(--color-neutral-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-neutral-content) 30%, #0000 ); } } } .bg-neutral-content\/40 { background-color: var(--color-neutral-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-neutral-content) 40%, #0000 ); } } } .bg-neutral-content\/50 { background-color: var(--color-neutral-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-neutral-content) 50%, #0000 ); } } } .bg-neutral-content\/60 { background-color: var(--color-neutral-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-neutral-content) 60%, #0000 ); } } } .bg-neutral-content\/70 { background-color: var(--color-neutral-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-neutral-content) 70%, #0000 ); } } } .bg-neutral-content\/80 { background-color: var(--color-neutral-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-neutral-content) 80%, #0000 ); } } } .bg-neutral-content\/90 { background-color: var(--color-neutral-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-neutral-content) 90%, #0000 ); } } } .text-neutral-content { color: var(--color-neutral-content); } .text-neutral-content\/10 { color: var(--color-neutral-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-neutral-content) 10%, #0000); } } } .text-neutral-content\/20 { color: var(--color-neutral-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-neutral-content) 20%, #0000); } } } .text-neutral-content\/30 { color: var(--color-neutral-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-neutral-content) 30%, #0000); } } } .text-neutral-content\/40 { color: var(--color-neutral-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-neutral-content) 40%, #0000); } } } .text-neutral-content\/50 { color: var(--color-neutral-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-neutral-content) 50%, #0000); } } } .text-neutral-content\/60 { color: var(--color-neutral-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-neutral-content) 60%, #0000); } } } .text-neutral-content\/70 { color: var(--color-neutral-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-neutral-content) 70%, #0000); } } } .text-neutral-content\/80 { color: var(--color-neutral-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-neutral-content) 80%, #0000); } } } .text-neutral-content\/90 { color: var(--color-neutral-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-neutral-content) 90%, #0000); } } } .border-neutral-content { border-color: var(--color-neutral-content); } .border-neutral-content\/10 { border-color: var(--color-neutral-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-neutral-content) 10%, #0000 ); } } } .border-neutral-content\/20 { border-color: var(--color-neutral-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-neutral-content) 20%, #0000 ); } } } .border-neutral-content\/30 { border-color: var(--color-neutral-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-neutral-content) 30%, #0000 ); } } } .border-neutral-content\/40 { border-color: var(--color-neutral-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-neutral-content) 40%, #0000 ); } } } .border-neutral-content\/50 { border-color: var(--color-neutral-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-neutral-content) 50%, #0000 ); } } } .border-neutral-content\/60 { border-color: var(--color-neutral-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-neutral-content) 60%, #0000 ); } } } .border-neutral-content\/70 { border-color: var(--color-neutral-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-neutral-content) 70%, #0000 ); } } } .border-neutral-content\/80 { border-color: var(--color-neutral-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-neutral-content) 80%, #0000 ); } } } .border-neutral-content\/90 { border-color: var(--color-neutral-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-neutral-content) 90%, #0000 ); } } } .bg-info { background-color: var(--color-info); } .bg-info\/10 { background-color: var(--color-info); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-info) 10%, #0000); } } } .bg-info\/20 { background-color: var(--color-info); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-info) 20%, #0000); } } } .bg-info\/30 { background-color: var(--color-info); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-info) 30%, #0000); } } } .bg-info\/40 { background-color: var(--color-info); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-info) 40%, #0000); } } } .bg-info\/50 { background-color: var(--color-info); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-info) 50%, #0000); } } } .bg-info\/60 { background-color: var(--color-info); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-info) 60%, #0000); } } } .bg-info\/70 { background-color: var(--color-info); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-info) 70%, #0000); } } } .bg-info\/80 { background-color: var(--color-info); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-info) 80%, #0000); } } } .bg-info\/90 { background-color: var(--color-info); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-info) 90%, #0000); } } } .text-info { color: var(--color-info); } .text-info\/10 { color: var(--color-info); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-info) 10%, #0000); } } } .text-info\/20 { color: var(--color-info); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-info) 20%, #0000); } } } .text-info\/30 { color: var(--color-info); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-info) 30%, #0000); } } } .text-info\/40 { color: var(--color-info); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-info) 40%, #0000); } } } .text-info\/50 { color: var(--color-info); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-info) 50%, #0000); } } } .text-info\/60 { color: var(--color-info); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-info) 60%, #0000); } } } .text-info\/70 { color: var(--color-info); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-info) 70%, #0000); } } } .text-info\/80 { color: var(--color-info); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-info) 80%, #0000); } } } .text-info\/90 { color: var(--color-info); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-info) 90%, #0000); } } } .border-info { border-color: var(--color-info); } .border-info\/10 { border-color: var(--color-info); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-info) 10%, #0000); } } } .border-info\/20 { border-color: var(--color-info); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-info) 20%, #0000); } } } .border-info\/30 { border-color: var(--color-info); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-info) 30%, #0000); } } } .border-info\/40 { border-color: var(--color-info); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-info) 40%, #0000); } } } .border-info\/50 { border-color: var(--color-info); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-info) 50%, #0000); } } } .border-info\/60 { border-color: var(--color-info); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-info) 60%, #0000); } } } .border-info\/70 { border-color: var(--color-info); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-info) 70%, #0000); } } } .border-info\/80 { border-color: var(--color-info); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-info) 80%, #0000); } } } .border-info\/90 { border-color: var(--color-info); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-info) 90%, #0000); } } } .bg-info-content { background-color: var(--color-info-content); } .bg-info-content\/10 { background-color: var(--color-info-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-info-content) 10%, #0000 ); } } } .bg-info-content\/20 { background-color: var(--color-info-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-info-content) 20%, #0000 ); } } } .bg-info-content\/30 { background-color: var(--color-info-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-info-content) 30%, #0000 ); } } } .bg-info-content\/40 { background-color: var(--color-info-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-info-content) 40%, #0000 ); } } } .bg-info-content\/50 { background-color: var(--color-info-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-info-content) 50%, #0000 ); } } } .bg-info-content\/60 { background-color: var(--color-info-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-info-content) 60%, #0000 ); } } } .bg-info-content\/70 { background-color: var(--color-info-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-info-content) 70%, #0000 ); } } } .bg-info-content\/80 { background-color: var(--color-info-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-info-content) 80%, #0000 ); } } } .bg-info-content\/90 { background-color: var(--color-info-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-info-content) 90%, #0000 ); } } } .text-info-content { color: var(--color-info-content); } .text-info-content\/10 { color: var(--color-info-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-info-content) 10%, #0000); } } } .text-info-content\/20 { color: var(--color-info-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-info-content) 20%, #0000); } } } .text-info-content\/30 { color: var(--color-info-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-info-content) 30%, #0000); } } } .text-info-content\/40 { color: var(--color-info-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-info-content) 40%, #0000); } } } .text-info-content\/50 { color: var(--color-info-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-info-content) 50%, #0000); } } } .text-info-content\/60 { color: var(--color-info-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-info-content) 60%, #0000); } } } .text-info-content\/70 { color: var(--color-info-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-info-content) 70%, #0000); } } } .text-info-content\/80 { color: var(--color-info-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-info-content) 80%, #0000); } } } .text-info-content\/90 { color: var(--color-info-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-info-content) 90%, #0000); } } } .border-info-content { border-color: var(--color-info-content); } .border-info-content\/10 { border-color: var(--color-info-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-info-content) 10%, #0000); } } } .border-info-content\/20 { border-color: var(--color-info-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-info-content) 20%, #0000); } } } .border-info-content\/30 { border-color: var(--color-info-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-info-content) 30%, #0000); } } } .border-info-content\/40 { border-color: var(--color-info-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-info-content) 40%, #0000); } } } .border-info-content\/50 { border-color: var(--color-info-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-info-content) 50%, #0000); } } } .border-info-content\/60 { border-color: var(--color-info-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-info-content) 60%, #0000); } } } .border-info-content\/70 { border-color: var(--color-info-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-info-content) 70%, #0000); } } } .border-info-content\/80 { border-color: var(--color-info-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-info-content) 80%, #0000); } } } .border-info-content\/90 { border-color: var(--color-info-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-info-content) 90%, #0000); } } } .bg-success { background-color: var(--color-success); } .bg-success\/10 { background-color: var(--color-success); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-success) 10%, #0000); } } } .bg-success\/20 { background-color: var(--color-success); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-success) 20%, #0000); } } } .bg-success\/30 { background-color: var(--color-success); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-success) 30%, #0000); } } } .bg-success\/40 { background-color: var(--color-success); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-success) 40%, #0000); } } } .bg-success\/50 { background-color: var(--color-success); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-success) 50%, #0000); } } } .bg-success\/60 { background-color: var(--color-success); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-success) 60%, #0000); } } } .bg-success\/70 { background-color: var(--color-success); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-success) 70%, #0000); } } } .bg-success\/80 { background-color: var(--color-success); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-success) 80%, #0000); } } } .bg-success\/90 { background-color: var(--color-success); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-success) 90%, #0000); } } } .text-success { color: var(--color-success); } .text-success\/10 { color: var(--color-success); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-success) 10%, #0000); } } } .text-success\/20 { color: var(--color-success); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-success) 20%, #0000); } } } .text-success\/30 { color: var(--color-success); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-success) 30%, #0000); } } } .text-success\/40 { color: var(--color-success); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-success) 40%, #0000); } } } .text-success\/50 { color: var(--color-success); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-success) 50%, #0000); } } } .text-success\/60 { color: var(--color-success); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-success) 60%, #0000); } } } .text-success\/70 { color: var(--color-success); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-success) 70%, #0000); } } } .text-success\/80 { color: var(--color-success); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-success) 80%, #0000); } } } .text-success\/90 { color: var(--color-success); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-success) 90%, #0000); } } } .border-success { border-color: var(--color-success); } .border-success\/10 { border-color: var(--color-success); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-success) 10%, #0000); } } } .border-success\/20 { border-color: var(--color-success); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-success) 20%, #0000); } } } .border-success\/30 { border-color: var(--color-success); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-success) 30%, #0000); } } } .border-success\/40 { border-color: var(--color-success); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-success) 40%, #0000); } } } .border-success\/50 { border-color: var(--color-success); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-success) 50%, #0000); } } } .border-success\/60 { border-color: var(--color-success); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-success) 60%, #0000); } } } .border-success\/70 { border-color: var(--color-success); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-success) 70%, #0000); } } } .border-success\/80 { border-color: var(--color-success); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-success) 80%, #0000); } } } .border-success\/90 { border-color: var(--color-success); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-success) 90%, #0000); } } } .bg-success-content { background-color: var(--color-success-content); } .bg-success-content\/10 { background-color: var(--color-success-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-success-content) 10%, #0000 ); } } } .bg-success-content\/20 { background-color: var(--color-success-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-success-content) 20%, #0000 ); } } } .bg-success-content\/30 { background-color: var(--color-success-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-success-content) 30%, #0000 ); } } } .bg-success-content\/40 { background-color: var(--color-success-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-success-content) 40%, #0000 ); } } } .bg-success-content\/50 { background-color: var(--color-success-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-success-content) 50%, #0000 ); } } } .bg-success-content\/60 { background-color: var(--color-success-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-success-content) 60%, #0000 ); } } } .bg-success-content\/70 { background-color: var(--color-success-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-success-content) 70%, #0000 ); } } } .bg-success-content\/80 { background-color: var(--color-success-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-success-content) 80%, #0000 ); } } } .bg-success-content\/90 { background-color: var(--color-success-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-success-content) 90%, #0000 ); } } } .text-success-content { color: var(--color-success-content); } .text-success-content\/10 { color: var(--color-success-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-success-content) 10%, #0000); } } } .text-success-content\/20 { color: var(--color-success-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-success-content) 20%, #0000); } } } .text-success-content\/30 { color: var(--color-success-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-success-content) 30%, #0000); } } } .text-success-content\/40 { color: var(--color-success-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-success-content) 40%, #0000); } } } .text-success-content\/50 { color: var(--color-success-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-success-content) 50%, #0000); } } } .text-success-content\/60 { color: var(--color-success-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-success-content) 60%, #0000); } } } .text-success-content\/70 { color: var(--color-success-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-success-content) 70%, #0000); } } } .text-success-content\/80 { color: var(--color-success-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-success-content) 80%, #0000); } } } .text-success-content\/90 { color: var(--color-success-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-success-content) 90%, #0000); } } } .border-success-content { border-color: var(--color-success-content); } .border-success-content\/10 { border-color: var(--color-success-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-success-content) 10%, #0000 ); } } } .border-success-content\/20 { border-color: var(--color-success-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-success-content) 20%, #0000 ); } } } .border-success-content\/30 { border-color: var(--color-success-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-success-content) 30%, #0000 ); } } } .border-success-content\/40 { border-color: var(--color-success-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-success-content) 40%, #0000 ); } } } .border-success-content\/50 { border-color: var(--color-success-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-success-content) 50%, #0000 ); } } } .border-success-content\/60 { border-color: var(--color-success-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-success-content) 60%, #0000 ); } } } .border-success-content\/70 { border-color: var(--color-success-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-success-content) 70%, #0000 ); } } } .border-success-content\/80 { border-color: var(--color-success-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-success-content) 80%, #0000 ); } } } .border-success-content\/90 { border-color: var(--color-success-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-success-content) 90%, #0000 ); } } } .bg-warning { background-color: var(--color-warning); } .bg-warning\/10 { background-color: var(--color-warning); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-warning) 10%, #0000); } } } .bg-warning\/20 { background-color: var(--color-warning); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-warning) 20%, #0000); } } } .bg-warning\/30 { background-color: var(--color-warning); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-warning) 30%, #0000); } } } .bg-warning\/40 { background-color: var(--color-warning); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-warning) 40%, #0000); } } } .bg-warning\/50 { background-color: var(--color-warning); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-warning) 50%, #0000); } } } .bg-warning\/60 { background-color: var(--color-warning); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-warning) 60%, #0000); } } } .bg-warning\/70 { background-color: var(--color-warning); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-warning) 70%, #0000); } } } .bg-warning\/80 { background-color: var(--color-warning); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-warning) 80%, #0000); } } } .bg-warning\/90 { background-color: var(--color-warning); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-warning) 90%, #0000); } } } .text-warning { color: var(--color-warning); } .text-warning\/10 { color: var(--color-warning); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-warning) 10%, #0000); } } } .text-warning\/20 { color: var(--color-warning); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-warning) 20%, #0000); } } } .text-warning\/30 { color: var(--color-warning); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-warning) 30%, #0000); } } } .text-warning\/40 { color: var(--color-warning); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-warning) 40%, #0000); } } } .text-warning\/50 { color: var(--color-warning); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-warning) 50%, #0000); } } } .text-warning\/60 { color: var(--color-warning); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-warning) 60%, #0000); } } } .text-warning\/70 { color: var(--color-warning); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-warning) 70%, #0000); } } } .text-warning\/80 { color: var(--color-warning); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-warning) 80%, #0000); } } } .text-warning\/90 { color: var(--color-warning); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-warning) 90%, #0000); } } } .border-warning { border-color: var(--color-warning); } .border-warning\/10 { border-color: var(--color-warning); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-warning) 10%, #0000); } } } .border-warning\/20 { border-color: var(--color-warning); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-warning) 20%, #0000); } } } .border-warning\/30 { border-color: var(--color-warning); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-warning) 30%, #0000); } } } .border-warning\/40 { border-color: var(--color-warning); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-warning) 40%, #0000); } } } .border-warning\/50 { border-color: var(--color-warning); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-warning) 50%, #0000); } } } .border-warning\/60 { border-color: var(--color-warning); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-warning) 60%, #0000); } } } .border-warning\/70 { border-color: var(--color-warning); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-warning) 70%, #0000); } } } .border-warning\/80 { border-color: var(--color-warning); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-warning) 80%, #0000); } } } .border-warning\/90 { border-color: var(--color-warning); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-warning) 90%, #0000); } } } .bg-warning-content { background-color: var(--color-warning-content); } .bg-warning-content\/10 { background-color: var(--color-warning-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-warning-content) 10%, #0000 ); } } } .bg-warning-content\/20 { background-color: var(--color-warning-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-warning-content) 20%, #0000 ); } } } .bg-warning-content\/30 { background-color: var(--color-warning-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-warning-content) 30%, #0000 ); } } } .bg-warning-content\/40 { background-color: var(--color-warning-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-warning-content) 40%, #0000 ); } } } .bg-warning-content\/50 { background-color: var(--color-warning-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-warning-content) 50%, #0000 ); } } } .bg-warning-content\/60 { background-color: var(--color-warning-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-warning-content) 60%, #0000 ); } } } .bg-warning-content\/70 { background-color: var(--color-warning-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-warning-content) 70%, #0000 ); } } } .bg-warning-content\/80 { background-color: var(--color-warning-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-warning-content) 80%, #0000 ); } } } .bg-warning-content\/90 { background-color: var(--color-warning-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-warning-content) 90%, #0000 ); } } } .text-warning-content { color: var(--color-warning-content); } .text-warning-content\/10 { color: var(--color-warning-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-warning-content) 10%, #0000); } } } .text-warning-content\/20 { color: var(--color-warning-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-warning-content) 20%, #0000); } } } .text-warning-content\/30 { color: var(--color-warning-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-warning-content) 30%, #0000); } } } .text-warning-content\/40 { color: var(--color-warning-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-warning-content) 40%, #0000); } } } .text-warning-content\/50 { color: var(--color-warning-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-warning-content) 50%, #0000); } } } .text-warning-content\/60 { color: var(--color-warning-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-warning-content) 60%, #0000); } } } .text-warning-content\/70 { color: var(--color-warning-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-warning-content) 70%, #0000); } } } .text-warning-content\/80 { color: var(--color-warning-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-warning-content) 80%, #0000); } } } .text-warning-content\/90 { color: var(--color-warning-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-warning-content) 90%, #0000); } } } .border-warning-content { border-color: var(--color-warning-content); } .border-warning-content\/10 { border-color: var(--color-warning-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-warning-content) 10%, #0000 ); } } } .border-warning-content\/20 { border-color: var(--color-warning-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-warning-content) 20%, #0000 ); } } } .border-warning-content\/30 { border-color: var(--color-warning-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-warning-content) 30%, #0000 ); } } } .border-warning-content\/40 { border-color: var(--color-warning-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-warning-content) 40%, #0000 ); } } } .border-warning-content\/50 { border-color: var(--color-warning-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-warning-content) 50%, #0000 ); } } } .border-warning-content\/60 { border-color: var(--color-warning-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-warning-content) 60%, #0000 ); } } } .border-warning-content\/70 { border-color: var(--color-warning-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-warning-content) 70%, #0000 ); } } } .border-warning-content\/80 { border-color: var(--color-warning-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-warning-content) 80%, #0000 ); } } } .border-warning-content\/90 { border-color: var(--color-warning-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-warning-content) 90%, #0000 ); } } } .bg-error { background-color: var(--color-error); } .bg-error\/10 { background-color: var(--color-error); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-error) 10%, #0000); } } } .bg-error\/20 { background-color: var(--color-error); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-error) 20%, #0000); } } } .bg-error\/30 { background-color: var(--color-error); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-error) 30%, #0000); } } } .bg-error\/40 { background-color: var(--color-error); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-error) 40%, #0000); } } } .bg-error\/50 { background-color: var(--color-error); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-error) 50%, #0000); } } } .bg-error\/60 { background-color: var(--color-error); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-error) 60%, #0000); } } } .bg-error\/70 { background-color: var(--color-error); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-error) 70%, #0000); } } } .bg-error\/80 { background-color: var(--color-error); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-error) 80%, #0000); } } } .bg-error\/90 { background-color: var(--color-error); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix(in oklab, var(--color-error) 90%, #0000); } } } .text-error { color: var(--color-error); } .text-error\/10 { color: var(--color-error); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-error) 10%, #0000); } } } .text-error\/20 { color: var(--color-error); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-error) 20%, #0000); } } } .text-error\/30 { color: var(--color-error); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-error) 30%, #0000); } } } .text-error\/40 { color: var(--color-error); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-error) 40%, #0000); } } } .text-error\/50 { color: var(--color-error); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-error) 50%, #0000); } } } .text-error\/60 { color: var(--color-error); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-error) 60%, #0000); } } } .text-error\/70 { color: var(--color-error); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-error) 70%, #0000); } } } .text-error\/80 { color: var(--color-error); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-error) 80%, #0000); } } } .text-error\/90 { color: var(--color-error); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-error) 90%, #0000); } } } .border-error { border-color: var(--color-error); } .border-error\/10 { border-color: var(--color-error); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-error) 10%, #0000); } } } .border-error\/20 { border-color: var(--color-error); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-error) 20%, #0000); } } } .border-error\/30 { border-color: var(--color-error); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-error) 30%, #0000); } } } .border-error\/40 { border-color: var(--color-error); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-error) 40%, #0000); } } } .border-error\/50 { border-color: var(--color-error); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-error) 50%, #0000); } } } .border-error\/60 { border-color: var(--color-error); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-error) 60%, #0000); } } } .border-error\/70 { border-color: var(--color-error); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-error) 70%, #0000); } } } .border-error\/80 { border-color: var(--color-error); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-error) 80%, #0000); } } } .border-error\/90 { border-color: var(--color-error); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix(in oklab, var(--color-error) 90%, #0000); } } } .bg-error-content { background-color: var(--color-error-content); } .bg-error-content\/10 { background-color: var(--color-error-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-error-content) 10%, #0000 ); } } } .bg-error-content\/20 { background-color: var(--color-error-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-error-content) 20%, #0000 ); } } } .bg-error-content\/30 { background-color: var(--color-error-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-error-content) 30%, #0000 ); } } } .bg-error-content\/40 { background-color: var(--color-error-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-error-content) 40%, #0000 ); } } } .bg-error-content\/50 { background-color: var(--color-error-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-error-content) 50%, #0000 ); } } } .bg-error-content\/60 { background-color: var(--color-error-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-error-content) 60%, #0000 ); } } } .bg-error-content\/70 { background-color: var(--color-error-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-error-content) 70%, #0000 ); } } } .bg-error-content\/80 { background-color: var(--color-error-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-error-content) 80%, #0000 ); } } } .bg-error-content\/90 { background-color: var(--color-error-content); @supports (color: color-mix(in lab, red, red)) { & { background-color: color-mix( in oklab, var(--color-error-content) 90%, #0000 ); } } } .text-error-content { color: var(--color-error-content); } .text-error-content\/10 { color: var(--color-error-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-error-content) 10%, #0000); } } } .text-error-content\/20 { color: var(--color-error-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-error-content) 20%, #0000); } } } .text-error-content\/30 { color: var(--color-error-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-error-content) 30%, #0000); } } } .text-error-content\/40 { color: var(--color-error-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-error-content) 40%, #0000); } } } .text-error-content\/50 { color: var(--color-error-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-error-content) 50%, #0000); } } } .text-error-content\/60 { color: var(--color-error-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-error-content) 60%, #0000); } } } .text-error-content\/70 { color: var(--color-error-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-error-content) 70%, #0000); } } } .text-error-content\/80 { color: var(--color-error-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-error-content) 80%, #0000); } } } .text-error-content\/90 { color: var(--color-error-content); @supports (color: color-mix(in lab, red, red)) { & { color: color-mix(in oklab, var(--color-error-content) 90%, #0000); } } } .border-error-content { border-color: var(--color-error-content); } .border-error-content\/10 { border-color: var(--color-error-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-error-content) 10%, #0000 ); } } } .border-error-content\/20 { border-color: var(--color-error-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-error-content) 20%, #0000 ); } } } .border-error-content\/30 { border-color: var(--color-error-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-error-content) 30%, #0000 ); } } } .border-error-content\/40 { border-color: var(--color-error-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-error-content) 40%, #0000 ); } } } .border-error-content\/50 { border-color: var(--color-error-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-error-content) 50%, #0000 ); } } } .border-error-content\/60 { border-color: var(--color-error-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-error-content) 60%, #0000 ); } } } .border-error-content\/70 { border-color: var(--color-error-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-error-content) 70%, #0000 ); } } } .border-error-content\/80 { border-color: var(--color-error-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-error-content) 80%, #0000 ); } } } .border-error-content\/90 { border-color: var(--color-error-content); @supports (color: color-mix(in lab, red, red)) { & { border-color: color-mix( in oklab, var(--color-error-content) 90%, #0000 ); } } } } /*! 🌼 daisyUI 5.5.4 - MIT License */ :root, :root:has(input.theme-controller[value="light"]:checked), [data-theme="light"] { color-scheme: light; --color-base-100: oklch(100% 0 0); --color-base-200: oklch(98% 0 0); --color-base-300: oklch(95% 0 0); --color-base-content: oklch(21% 0.006 285.885); --color-primary: oklch(45% 0.24 277.023); --color-primary-content: oklch(93% 0.034 272.788); --color-secondary: oklch(65% 0.241 354.308); --color-secondary-content: oklch(94% 0.028 342.258); --color-accent: oklch(77% 0.152 181.912); --color-accent-content: oklch(38% 0.063 188.416); --color-neutral: oklch(14% 0.005 285.823); --color-neutral-content: oklch(92% 0.004 286.32); --color-info: oklch(74% 0.16 232.661); --color-info-content: oklch(29% 0.066 243.157); --color-success: oklch(76% 0.177 163.223); --color-success-content: oklch(37% 0.077 168.94); --color-warning: oklch(82% 0.189 84.429); --color-warning-content: oklch(41% 0.112 45.904); --color-error: oklch(71% 0.194 13.428); --color-error-content: oklch(27% 0.105 12.094); --radius-selector: 0.5rem; --radius-field: 0.25rem; --radius-box: 0.5rem; --size-selector: 0.25rem; --size-field: 0.25rem; --border: 1px; --depth: 1; --noise: 0; } :root:has(input.theme-controller[value="dark"]:checked), [data-theme="dark"] { color-scheme: dark; --color-base-100: oklch(25.33% 0.016 252.42); --color-base-200: oklch(23.26% 0.014 253.1); --color-base-300: oklch(21.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(65% 0.241 354.308); --color-secondary-content: oklch(94% 0.028 342.258); --color-accent: oklch(77% 0.152 181.912); --color-accent-content: oklch(38% 0.063 188.416); --color-neutral: oklch(14% 0.005 285.823); --color-neutral-content: oklch(92% 0.004 286.32); --color-info: oklch(74% 0.16 232.661); --color-info-content: oklch(29% 0.066 243.157); --color-success: oklch(76% 0.177 163.223); --color-success-content: oklch(37% 0.077 168.94); --color-warning: oklch(82% 0.189 84.429); --color-warning-content: oklch(41% 0.112 45.904); --color-error: oklch(71% 0.194 13.428); --color-error-content: oklch(27% 0.105 12.094); --radius-selector: 0.5rem; --radius-field: 0.25rem; --radius-box: 0.5rem; --size-selector: 0.25rem; --size-field: 0.25rem; --border: 1px; --depth: 1; --noise: 0; } :root:has(input.theme-controller[value="cupcake"]:checked), [data-theme="cupcake"] { color-scheme: light; --color-base-100: oklch(97.788% 0.004 56.375); --color-base-200: oklch(93.982% 0.007 61.449); --color-base-300: oklch(91.586% 0.006 53.44); --color-base-content: oklch(23.574% 0.066 313.189); --color-primary: oklch(85% 0.138 181.071); --color-primary-content: oklch(43% 0.078 188.216); --color-secondary: oklch(89% 0.061 343.231); --color-secondary-content: oklch(45% 0.187 3.815); --color-accent: oklch(90% 0.076 70.697); --color-accent-content: oklch(47% 0.157 37.304); --color-neutral: oklch(27% 0.006 286.033); --color-neutral-content: oklch(92% 0.004 286.32); --color-info: oklch(68% 0.169 237.323); --color-info-content: oklch(29% 0.066 243.157); --color-success: oklch(69% 0.17 162.48); --color-success-content: oklch(26% 0.051 172.552); --color-warning: oklch(79% 0.184 86.047); --color-warning-content: oklch(28% 0.066 53.813); --color-error: oklch(64% 0.246 16.439); --color-error-content: oklch(27% 0.105 12.094); --radius-selector: 1rem; --radius-field: 2rem; --radius-box: 1rem; --size-selector: 0.25rem; --size-field: 0.25rem; --border: 2px; --depth: 1; --noise: 0; } :root:has(input.theme-controller[value="bumblebee"]:checked), [data-theme="bumblebee"] { color-scheme: light; --color-base-100: oklch(100% 0 0); --color-base-200: oklch(97% 0 0); --color-base-300: oklch(92% 0 0); --color-base-content: oklch(20% 0 0); --color-primary: oklch(85% 0.199 91.936); --color-primary-content: oklch(42% 0.095 57.708); --color-secondary: oklch(75% 0.183 55.934); --color-secondary-content: oklch(40% 0.123 38.172); --color-accent: oklch(0% 0 0); --color-accent-content: oklch(100% 0 0); --color-neutral: oklch(37% 0.01 67.558); --color-neutral-content: oklch(92% 0.003 48.717); --color-info: oklch(74% 0.16 232.661); --color-info-content: oklch(39% 0.09 240.876); --color-success: oklch(76% 0.177 163.223); --color-success-content: oklch(37% 0.077 168.94); --color-warning: oklch(82% 0.189 84.429); --color-warning-content: oklch(41% 0.112 45.904); --color-error: oklch(70% 0.191 22.216); --color-error-content: oklch(39% 0.141 25.723); --radius-selector: 1rem; --radius-field: 0.5rem; --radius-box: 1rem; --size-selector: 0.25rem; --size-field: 0.25rem; --border: 1px; --depth: 1; --noise: 0; } :root:has(input.theme-controller[value="emerald"]:checked), [data-theme="emerald"] { color-scheme: light; --color-base-100: oklch(100% 0 0); --color-base-200: oklch(93% 0 0); --color-base-300: oklch(86% 0 0); --color-base-content: oklch(35.519% 0.032 262.988); --color-primary: oklch(76.662% 0.135 153.45); --color-primary-content: oklch(33.387% 0.04 162.24); --color-secondary: oklch(61.302% 0.202 261.294); --color-secondary-content: oklch(100% 0 0); --color-accent: oklch(72.772% 0.149 33.2); --color-accent-content: oklch(0% 0 0); --color-neutral: oklch(35.519% 0.032 262.988); --color-neutral-content: oklch(98.462% 0.001 247.838); --color-info: oklch(72.06% 0.191 231.6); --color-info-content: oklch(0% 0 0); --color-success: oklch(64.8% 0.15 160); --color-success-content: oklch(0% 0 0); --color-warning: oklch(84.71% 0.199 83.87); --color-warning-content: oklch(0% 0 0); --color-error: oklch(71.76% 0.221 22.18); --color-error-content: oklch(0% 0 0); --radius-selector: 1rem; --radius-field: 0.5rem; --radius-box: 1rem; --size-selector: 0.25rem; --size-field: 0.25rem; --border: 1px; --depth: 0; --noise: 0; } :root:has(input.theme-controller[value="corporate"]:checked), [data-theme="corporate"] { color-scheme: light; --color-base-100: oklch(100% 0 0); --color-base-200: oklch(93% 0 0); --color-base-300: oklch(86% 0 0); --color-base-content: oklch(22.389% 0.031 278.072); --color-primary: oklch(58% 0.158 241.966); --color-primary-content: oklch(100% 0 0); --color-secondary: oklch(55% 0.046 257.417); --color-secondary-content: oklch(100% 0 0); --color-accent: oklch(60% 0.118 184.704); --color-accent-content: oklch(100% 0 0); --color-neutral: oklch(0% 0 0); --color-neutral-content: oklch(100% 0 0); --color-info: oklch(60% 0.126 221.723); --color-info-content: oklch(100% 0 0); --color-success: oklch(62% 0.194 149.214); --color-success-content: oklch(100% 0 0); --color-warning: oklch(85% 0.199 91.936); --color-warning-content: oklch(0% 0 0); --color-error: oklch(70% 0.191 22.216); --color-error-content: oklch(0% 0 0); --radius-selector: 0.25rem; --radius-field: 0.25rem; --radius-box: 0.25rem; --size-selector: 0.25rem; --size-field: 0.25rem; --border: 1px; --depth: 0; --noise: 0; } :root:has(input.theme-controller[value="synthwave"]:checked), [data-theme="synthwave"] { color-scheme: dark; --color-base-100: oklch(15% 0.09 281.288); --color-base-200: oklch(20% 0.09 281.288); --color-base-300: oklch(25% 0.09 281.288); --color-base-content: oklch(78% 0.115 274.713); --color-primary: oklch(71% 0.202 349.761); --color-primary-content: oklch(28% 0.109 3.907); --color-secondary: oklch(82% 0.111 230.318); --color-secondary-content: oklch(29% 0.066 243.157); --color-accent: oklch(75% 0.183 55.934); --color-accent-content: oklch(26% 0.079 36.259); --color-neutral: oklch(45% 0.24 277.023); --color-neutral-content: oklch(87% 0.065 274.039); --color-info: oklch(74% 0.16 232.661); --color-info-content: oklch(29% 0.066 243.157); --color-success: oklch(77% 0.152 181.912); --color-success-content: oklch(27% 0.046 192.524); --color-warning: oklch(90% 0.182 98.111); --color-warning-content: oklch(42% 0.095 57.708); --color-error: oklch(73.7% 0.121 32.639); --color-error-content: oklch(23.501% 0.096 290.329); --radius-selector: 1rem; --radius-field: 0.5rem; --radius-box: 1rem; --size-selector: 0.25rem; --size-field: 0.25rem; --border: 1px; --depth: 0; --noise: 0; } :root:has(input.theme-controller[value="retro"]:checked), [data-theme="retro"] { color-scheme: light; --color-base-100: oklch(91.637% 0.034 90.515); --color-base-200: oklch(88.272% 0.049 91.774); --color-base-300: oklch(84.133% 0.065 90.856); --color-base-content: oklch(41% 0.112 45.904); --color-primary: oklch(80% 0.114 19.571); --color-primary-content: oklch(39% 0.141 25.723); --color-secondary: oklch(92% 0.084 155.995); --color-secondary-content: oklch(44% 0.119 151.328); --color-accent: oklch(68% 0.162 75.834); --color-accent-content: oklch(41% 0.112 45.904); --color-neutral: oklch(44% 0.011 73.639); --color-neutral-content: oklch(86% 0.005 56.366); --color-info: oklch(58% 0.158 241.966); --color-info-content: oklch(96% 0.059 95.617); --color-success: oklch(51% 0.096 186.391); --color-success-content: oklch(96% 0.059 95.617); --color-warning: oklch(64% 0.222 41.116); --color-warning-content: oklch(96% 0.059 95.617); --color-error: oklch(70% 0.191 22.216); --color-error-content: oklch(40% 0.123 38.172); --radius-selector: 0.25rem; --radius-field: 0.25rem; --radius-box: 0.5rem; --size-selector: 0.25rem; --size-field: 0.25rem; --border: 1px; --depth: 0; --noise: 0; } :root:has(input.theme-controller[value="cyberpunk"]:checked), [data-theme="cyberpunk"] { color-scheme: light; --color-base-100: oklch(94.51% 0.179 104.32); --color-base-200: oklch(91.51% 0.179 104.32); --color-base-300: oklch(85.51% 0.179 104.32); --color-base-content: oklch(0% 0 0); --color-primary: oklch(74.22% 0.209 6.35); --color-primary-content: oklch(14.844% 0.041 6.35); --color-secondary: oklch(83.33% 0.184 204.72); --color-secondary-content: oklch(16.666% 0.036 204.72); --color-accent: oklch(71.86% 0.217 310.43); --color-accent-content: oklch(14.372% 0.043 310.43); --color-neutral: oklch(23.04% 0.065 269.31); --color-neutral-content: oklch(94.51% 0.179 104.32); --color-info: oklch(72.06% 0.191 231.6); --color-info-content: oklch(0% 0 0); --color-success: oklch(64.8% 0.15 160); --color-success-content: oklch(0% 0 0); --color-warning: oklch(84.71% 0.199 83.87); --color-warning-content: oklch(0% 0 0); --color-error: oklch(71.76% 0.221 22.18); --color-error-content: oklch(0% 0 0); --radius-selector: 0rem; --radius-field: 0rem; --radius-box: 0rem; --size-selector: 0.25rem; --size-field: 0.25rem; --border: 1px; --depth: 0; --noise: 0; } :root:has(input.theme-controller[value="valentine"]:checked), [data-theme="valentine"] { color-scheme: light; --color-base-100: oklch(97% 0.014 343.198); --color-base-200: oklch(94% 0.028 342.258); --color-base-300: oklch(89% 0.061 343.231); --color-base-content: oklch(52% 0.223 3.958); --color-primary: oklch(65% 0.241 354.308); --color-primary-content: oklch(100% 0 0); --color-secondary: oklch(62% 0.265 303.9); --color-secondary-content: oklch(97% 0.014 308.299); --color-accent: oklch(82% 0.111 230.318); --color-accent-content: oklch(39% 0.09 240.876); --color-neutral: oklch(40% 0.153 2.432); --color-neutral-content: oklch(89% 0.061 343.231); --color-info: oklch(86% 0.127 207.078); --color-info-content: oklch(44% 0.11 240.79); --color-success: oklch(84% 0.143 164.978); --color-success-content: oklch(43% 0.095 166.913); --color-warning: oklch(75% 0.183 55.934); --color-warning-content: oklch(26% 0.079 36.259); --color-error: oklch(63% 0.237 25.331); --color-error-content: oklch(97% 0.013 17.38); --radius-selector: 1rem; --radius-field: 2rem; --radius-box: 1rem; --size-selector: 0.25rem; --size-field: 0.25rem; --border: 1px; --depth: 0; --noise: 0; } :root:has(input.theme-controller[value="halloween"]:checked), [data-theme="halloween"] { color-scheme: dark; --color-base-100: oklch(21% 0.006 56.043); --color-base-200: oklch(14% 0.004 49.25); --color-base-300: oklch(0% 0 0); --color-base-content: oklch(84.955% 0 0); --color-primary: oklch(77.48% 0.204 60.62); --color-primary-content: oklch(19.693% 0.004 196.779); --color-secondary: oklch(45.98% 0.248 305.03); --color-secondary-content: oklch(89.196% 0.049 305.03); --color-accent: oklch(64.8% 0.223 136.073); --color-accent-content: oklch(0% 0 0); --color-neutral: oklch(24.371% 0.046 65.681); --color-neutral-content: oklch(84.874% 0.009 65.681); --color-info: oklch(54.615% 0.215 262.88); --color-info-content: oklch(90.923% 0.043 262.88); --color-success: oklch(62.705% 0.169 149.213); --color-success-content: oklch(12.541% 0.033 149.213); --color-warning: oklch(66.584% 0.157 58.318); --color-warning-content: oklch(13.316% 0.031 58.318); --color-error: oklch(65.72% 0.199 27.33); --color-error-content: oklch(13.144% 0.039 27.33); --radius-selector: 1rem; --radius-field: 0.5rem; --radius-box: 1rem; --size-selector: 0.25rem; --size-field: 0.25rem; --border: 1px; --depth: 1; --noise: 0; } :root:has(input.theme-controller[value="garden"]:checked), [data-theme="garden"] { color-scheme: light; --color-base-100: oklch(92.951% 0.002 17.197); --color-base-200: oklch(86.445% 0.002 17.197); --color-base-300: oklch(79.938% 0.001 17.197); --color-base-content: oklch(16.961% 0.001 17.32); --color-primary: oklch(62.45% 0.278 3.836); --color-primary-content: oklch(100% 0 0); --color-secondary: oklch(48.495% 0.11 355.095); --color-secondary-content: oklch(89.699% 0.022 355.095); --color-accent: oklch(56.273% 0.054 154.39); --color-accent-content: oklch(100% 0 0); --color-neutral: oklch(24.155% 0.049 89.07); --color-neutral-content: oklch(92.951% 0.002 17.197); --color-info: oklch(72.06% 0.191 231.6); --color-info-content: oklch(0% 0 0); --color-success: oklch(64.8% 0.15 160); --color-success-content: oklch(0% 0 0); --color-warning: oklch(84.71% 0.199 83.87); --color-warning-content: oklch(0% 0 0); --color-error: oklch(71.76% 0.221 22.18); --color-error-content: oklch(0% 0 0); --radius-selector: 1rem; --radius-field: 0.5rem; --radius-box: 1rem; --size-selector: 0.25rem; --size-field: 0.25rem; --border: 1px; --depth: 0; --noise: 0; } :root:has(input.theme-controller[value="forest"]:checked), [data-theme="forest"] { color-scheme: dark; --color-base-100: oklch(20.84% 0.008 17.911); --color-base-200: oklch(18.522% 0.007 17.911); --color-base-300: oklch(16.203% 0.007 17.911); --color-base-content: oklch(83.768% 0.001 17.911); --color-primary: oklch(68.628% 0.185 148.958); --color-primary-content: oklch(0% 0 0); --color-secondary: oklch(69.776% 0.135 168.327); --color-secondary-content: oklch(13.955% 0.027 168.327); --color-accent: oklch(70.628% 0.119 185.713); --color-accent-content: oklch(14.125% 0.023 185.713); --color-neutral: oklch(30.698% 0.039 171.364); --color-neutral-content: oklch(86.139% 0.007 171.364); --color-info: oklch(72.06% 0.191 231.6); --color-info-content: oklch(0% 0 0); --color-success: oklch(64.8% 0.15 160); --color-success-content: oklch(0% 0 0); --color-warning: oklch(84.71% 0.199 83.87); --color-warning-content: oklch(0% 0 0); --color-error: oklch(71.76% 0.221 22.18); --color-error-content: oklch(0% 0 0); --radius-selector: 1rem; --radius-field: 2rem; --radius-box: 1rem; --size-selector: 0.25rem; --size-field: 0.25rem; --border: 1px; --depth: 0; --noise: 0; } :root:has(input.theme-controller[value="aqua"]:checked), [data-theme="aqua"] { color-scheme: dark; --color-base-100: oklch(37% 0.146 265.522); --color-base-200: oklch(28% 0.091 267.935); --color-base-300: oklch(22% 0.091 267.935); --color-base-content: oklch(90% 0.058 230.902); --color-primary: oklch(85.661% 0.144 198.645); --color-primary-content: oklch(40.124% 0.068 197.603); --color-secondary: oklch(60.682% 0.108 309.782); --color-secondary-content: oklch(96% 0.016 293.756); --color-accent: oklch(93.426% 0.102 94.555); --color-accent-content: oklch(18.685% 0.02 94.555); --color-neutral: oklch(27% 0.146 265.522); --color-neutral-content: oklch(80% 0.146 265.522); --color-info: oklch(54.615% 0.215 262.88); --color-info-content: oklch(90.923% 0.043 262.88); --color-success: oklch(62.705% 0.169 149.213); --color-success-content: oklch(12.541% 0.033 149.213); --color-warning: oklch(66.584% 0.157 58.318); --color-warning-content: oklch(27% 0.077 45.635); --color-error: oklch(73.95% 0.19 27.33); --color-error-content: oklch(14.79% 0.038 27.33); --radius-selector: 1rem; --radius-field: 0.5rem; --radius-box: 1rem; --size-selector: 0.25rem; --size-field: 0.25rem; --border: 1px; --depth: 1; --noise: 0; } :root:has(input.theme-controller[value="lofi"]:checked), [data-theme="lofi"] { color-scheme: light; --color-base-100: oklch(100% 0 0); --color-base-200: oklch(97% 0 0); --color-base-300: oklch(94% 0 0); --color-base-content: oklch(0% 0 0); --color-primary: oklch(15.906% 0 0); --color-primary-content: oklch(100% 0 0); --color-secondary: oklch(21.455% 0.001 17.278); --color-secondary-content: oklch(100% 0 0); --color-accent: oklch(26.861% 0 0); --color-accent-content: oklch(100% 0 0); --color-neutral: oklch(0% 0 0); --color-neutral-content: oklch(100% 0 0); --color-info: oklch(79.54% 0.103 205.9); --color-info-content: oklch(15.908% 0.02 205.9); --color-success: oklch(90.13% 0.153 164.14); --color-success-content: oklch(18.026% 0.03 164.14); --color-warning: oklch(88.37% 0.135 79.94); --color-warning-content: oklch(17.674% 0.027 79.94); --color-error: oklch(78.66% 0.15 28.47); --color-error-content: oklch(15.732% 0.03 28.47); --radius-selector: 2rem; --radius-field: 0.25rem; --radius-box: 0.5rem; --size-selector: 0.25rem; --size-field: 0.25rem; --border: 1px; --depth: 0; --noise: 0; } :root:has(input.theme-controller[value="pastel"]:checked), [data-theme="pastel"] { color-scheme: light; --color-base-100: oklch(100% 0 0); --color-base-200: oklch(98.462% 0.001 247.838); --color-base-300: oklch(92.462% 0.001 247.838); --color-base-content: oklch(20% 0 0); --color-primary: oklch(90% 0.063 306.703); --color-primary-content: oklch(49% 0.265 301.924); --color-secondary: oklch(89% 0.058 10.001); --color-secondary-content: oklch(51% 0.222 16.935); --color-accent: oklch(90% 0.093 164.15); --color-accent-content: oklch(50% 0.118 165.612); --color-neutral: oklch(55% 0.046 257.417); --color-neutral-content: oklch(92% 0.013 255.508); --color-info: oklch(86% 0.127 207.078); --color-info-content: oklch(52% 0.105 223.128); --color-success: oklch(87% 0.15 154.449); --color-success-content: oklch(52% 0.154 150.069); --color-warning: oklch(83% 0.128 66.29); --color-warning-content: oklch(55% 0.195 38.402); --color-error: oklch(80% 0.114 19.571); --color-error-content: oklch(50% 0.213 27.518); --radius-selector: 1rem; --radius-field: 2rem; --radius-box: 1rem; --size-selector: 0.25rem; --size-field: 0.25rem; --border: 2px; --depth: 0; --noise: 0; } :root:has(input.theme-controller[value="fantasy"]:checked), [data-theme="fantasy"] { color-scheme: light; --color-base-100: oklch(100% 0 0); --color-base-200: oklch(93% 0 0); --color-base-300: oklch(86% 0 0); --color-base-content: oklch(27.807% 0.029 256.847); --color-primary: oklch(37.45% 0.189 325.02); --color-primary-content: oklch(87.49% 0.037 325.02); --color-secondary: oklch(53.92% 0.162 241.36); --color-secondary-content: oklch(90.784% 0.032 241.36); --color-accent: oklch(75.98% 0.204 56.72); --color-accent-content: oklch(15.196% 0.04 56.72); --color-neutral: oklch(27.807% 0.029 256.847); --color-neutral-content: oklch(85.561% 0.005 256.847); --color-info: oklch(72.06% 0.191 231.6); --color-info-content: oklch(0% 0 0); --color-success: oklch(64.8% 0.15 160); --color-success-content: oklch(0% 0 0); --color-warning: oklch(84.71% 0.199 83.87); --color-warning-content: oklch(0% 0 0); --color-error: oklch(71.76% 0.221 22.18); --color-error-content: oklch(0% 0 0); --radius-selector: 1rem; --radius-field: 0.5rem; --radius-box: 1rem; --size-selector: 0.25rem; --size-field: 0.25rem; --border: 1px; --depth: 1; --noise: 0; } :root:has(input.theme-controller[value="wireframe"]:checked), [data-theme="wireframe"] { color-scheme: light; --color-base-100: oklch(100% 0 0); --color-base-200: oklch(97% 0 0); --color-base-300: oklch(94% 0 0); --color-base-content: oklch(20% 0 0); --color-primary: oklch(87% 0 0); --color-primary-content: oklch(26% 0 0); --color-secondary: oklch(87% 0 0); --color-secondary-content: oklch(26% 0 0); --color-accent: oklch(87% 0 0); --color-accent-content: oklch(26% 0 0); --color-neutral: oklch(87% 0 0); --color-neutral-content: oklch(26% 0 0); --color-info: oklch(44% 0.11 240.79); --color-info-content: oklch(90% 0.058 230.902); --color-success: oklch(43% 0.095 166.913); --color-success-content: oklch(90% 0.093 164.15); --color-warning: oklch(47% 0.137 46.201); --color-warning-content: oklch(92% 0.12 95.746); --color-error: oklch(44% 0.177 26.899); --color-error-content: oklch(88% 0.062 18.334); --radius-selector: 0rem; --radius-field: 0.25rem; --radius-box: 0.25rem; --size-selector: 0.25rem; --size-field: 0.25rem; --border: 1px; --depth: 0; --noise: 0; } :root:has(input.theme-controller[value="black"]:checked), [data-theme="black"] { color-scheme: dark; --color-base-100: oklch(0% 0 0); --color-base-200: oklch(19% 0 0); --color-base-300: oklch(22% 0 0); --color-base-content: oklch(87.609% 0 0); --color-primary: oklch(35% 0 0); --color-primary-content: oklch(100% 0 0); --color-secondary: oklch(35% 0 0); --color-secondary-content: oklch(100% 0 0); --color-accent: oklch(35% 0 0); --color-accent-content: oklch(100% 0 0); --color-neutral: oklch(35% 0 0); --color-neutral-content: oklch(100% 0 0); --color-info: oklch(45.201% 0.313 264.052); --color-info-content: oklch(89.04% 0.062 264.052); --color-success: oklch(51.975% 0.176 142.495); --color-success-content: oklch(90.395% 0.035 142.495); --color-warning: oklch(96.798% 0.211 109.769); --color-warning-content: oklch(19.359% 0.042 109.769); --color-error: oklch(62.795% 0.257 29.233); --color-error-content: oklch(12.559% 0.051 29.233); --radius-selector: 0rem; --radius-field: 0rem; --radius-box: 0rem; --size-selector: 0.25rem; --size-field: 0.25rem; --border: 1px; --depth: 0; --noise: 0; } :root:has(input.theme-controller[value="luxury"]:checked), [data-theme="luxury"] { color-scheme: dark; --color-base-100: oklch(14.076% 0.004 285.822); --color-base-200: oklch(20.219% 0.004 308.229); --color-base-300: oklch(23.219% 0.004 308.229); --color-base-content: oklch(75.687% 0.123 76.89); --color-primary: oklch(100% 0 0); --color-primary-content: oklch(20% 0 0); --color-secondary: oklch(27.581% 0.064 261.069); --color-secondary-content: oklch(85.516% 0.012 261.069); --color-accent: oklch(36.674% 0.051 338.825); --color-accent-content: oklch(87.334% 0.01 338.825); --color-neutral: oklch(24.27% 0.057 59.825); --color-neutral-content: oklch(93.203% 0.089 90.861); --color-info: oklch(79.061% 0.121 237.133); --color-info-content: oklch(15.812% 0.024 237.133); --color-success: oklch(78.119% 0.192 132.154); --color-success-content: oklch(15.623% 0.038 132.154); --color-warning: oklch(86.127% 0.136 102.891); --color-warning-content: oklch(17.225% 0.027 102.891); --color-error: oklch(71.753% 0.176 22.568); --color-error-content: oklch(14.35% 0.035 22.568); --radius-selector: 1rem; --radius-field: 0.5rem; --radius-box: 1rem; --size-selector: 0.25rem; --size-field: 0.25rem; --border: 1px; --depth: 1; --noise: 0; } :root:has(input.theme-controller[value="dracula"]:checked), [data-theme="dracula"] { color-scheme: dark; --color-base-100: oklch(28.822% 0.022 277.508); --color-base-200: oklch(26.805% 0.02 277.508); --color-base-300: oklch(24.787% 0.019 277.508); --color-base-content: oklch(97.747% 0.007 106.545); --color-primary: oklch(75.461% 0.183 346.812); --color-primary-content: oklch(15.092% 0.036 346.812); --color-secondary: oklch(74.202% 0.148 301.883); --color-secondary-content: oklch(14.84% 0.029 301.883); --color-accent: oklch(83.392% 0.124 66.558); --color-accent-content: oklch(16.678% 0.024 66.558); --color-neutral: oklch(39.445% 0.032 275.524); --color-neutral-content: oklch(87.889% 0.006 275.524); --color-info: oklch(88.263% 0.093 212.846); --color-info-content: oklch(17.652% 0.018 212.846); --color-success: oklch(87.099% 0.219 148.024); --color-success-content: oklch(17.419% 0.043 148.024); --color-warning: oklch(95.533% 0.134 112.757); --color-warning-content: oklch(19.106% 0.026 112.757); --color-error: oklch(68.22% 0.206 24.43); --color-error-content: oklch(13.644% 0.041 24.43); --radius-selector: 1rem; --radius-field: 0.5rem; --radius-box: 1rem; --size-selector: 0.25rem; --size-field: 0.25rem; --border: 1px; --depth: 0; --noise: 0; } :root:has(input.theme-controller[value="cmyk"]:checked), [data-theme="cmyk"] { color-scheme: light; --color-base-100: oklch(100% 0 0); --color-base-200: oklch(95% 0 0); --color-base-300: oklch(90% 0 0); --color-base-content: oklch(20% 0 0); --color-primary: oklch(71.772% 0.133 239.443); --color-primary-content: oklch(14.354% 0.026 239.443); --color-secondary: oklch(64.476% 0.202 359.339); --color-secondary-content: oklch(12.895% 0.04 359.339); --color-accent: oklch(94.228% 0.189 105.306); --color-accent-content: oklch(18.845% 0.037 105.306); --color-neutral: oklch(21.778% 0 0); --color-neutral-content: oklch(84.355% 0 0); --color-info: oklch(68.475% 0.094 217.284); --color-info-content: oklch(13.695% 0.018 217.284); --color-success: oklch(46.949% 0.162 321.406); --color-success-content: oklch(89.389% 0.032 321.406); --color-warning: oklch(71.236% 0.159 52.023); --color-warning-content: oklch(14.247% 0.031 52.023); --color-error: oklch(62.013% 0.208 28.717); --color-error-content: oklch(12.402% 0.041 28.717); --radius-selector: 1rem; --radius-field: 0.5rem; --radius-box: 1rem; --size-selector: 0.25rem; --size-field: 0.25rem; --border: 1px; --depth: 0; --noise: 0; } :root:has(input.theme-controller[value="autumn"]:checked), [data-theme="autumn"] { color-scheme: light; --color-base-100: oklch(95.814% 0 0); --color-base-200: oklch(89.107% 0 0); --color-base-300: oklch(82.4% 0 0); --color-base-content: oklch(19.162% 0 0); --color-primary: oklch(40.723% 0.161 17.53); --color-primary-content: oklch(88.144% 0.032 17.53); --color-secondary: oklch(61.676% 0.169 23.865); --color-secondary-content: oklch(12.335% 0.033 23.865); --color-accent: oklch(73.425% 0.094 60.729); --color-accent-content: oklch(14.685% 0.018 60.729); --color-neutral: oklch(54.367% 0.037 51.902); --color-neutral-content: oklch(90.873% 0.007 51.902); --color-info: oklch(69.224% 0.097 207.284); --color-info-content: oklch(13.844% 0.019 207.284); --color-success: oklch(60.995% 0.08 174.616); --color-success-content: oklch(12.199% 0.016 174.616); --color-warning: oklch(70.081% 0.164 56.844); --color-warning-content: oklch(14.016% 0.032 56.844); --color-error: oklch(53.07% 0.241 24.16); --color-error-content: oklch(90.614% 0.048 24.16); --radius-selector: 1rem; --radius-field: 0.5rem; --radius-box: 1rem; --size-selector: 0.25rem; --size-field: 0.25rem; --border: 1px; --depth: 1; --noise: 0; } :root:has(input.theme-controller[value="business"]:checked), [data-theme="business"] { color-scheme: dark; --color-base-100: oklch(24.353% 0 0); --color-base-200: oklch(22.648% 0 0); --color-base-300: oklch(20.944% 0 0); --color-base-content: oklch(84.87% 0 0); --color-primary: oklch(41.703% 0.099 251.473); --color-primary-content: oklch(88.34% 0.019 251.473); --color-secondary: oklch(64.092% 0.027 229.389); --color-secondary-content: oklch(12.818% 0.005 229.389); --color-accent: oklch(67.271% 0.167 35.791); --color-accent-content: oklch(13.454% 0.033 35.791); --color-neutral: oklch(27.441% 0.013 253.041); --color-neutral-content: oklch(85.488% 0.002 253.041); --color-info: oklch(62.616% 0.143 240.033); --color-info-content: oklch(12.523% 0.028 240.033); --color-success: oklch(70.226% 0.094 156.596); --color-success-content: oklch(14.045% 0.018 156.596); --color-warning: oklch(77.482% 0.115 81.519); --color-warning-content: oklch(15.496% 0.023 81.519); --color-error: oklch(51.61% 0.146 29.674); --color-error-content: oklch(90.322% 0.029 29.674); --radius-selector: 0rem; --radius-field: 0.25rem; --radius-box: 0.25rem; --size-selector: 0.25rem; --size-field: 0.25rem; --border: 1px; --depth: 0; --noise: 0; } :root:has(input.theme-controller[value="acid"]:checked), [data-theme="acid"] { color-scheme: light; --color-base-100: oklch(98% 0 0); --color-base-200: oklch(95% 0 0); --color-base-300: oklch(91% 0 0); --color-base-content: oklch(0% 0 0); --color-primary: oklch(71.9% 0.357 330.759); --color-primary-content: oklch(14.38% 0.071 330.759); --color-secondary: oklch(73.37% 0.224 48.25); --color-secondary-content: oklch(14.674% 0.044 48.25); --color-accent: oklch(92.78% 0.264 122.962); --color-accent-content: oklch(18.556% 0.052 122.962); --color-neutral: oklch(21.31% 0.128 278.68); --color-neutral-content: oklch(84.262% 0.025 278.68); --color-info: oklch(60.72% 0.227 252.05); --color-info-content: oklch(12.144% 0.045 252.05); --color-success: oklch(85.72% 0.266 158.53); --color-success-content: oklch(17.144% 0.053 158.53); --color-warning: oklch(91.01% 0.212 100.5); --color-warning-content: oklch(18.202% 0.042 100.5); --color-error: oklch(64.84% 0.293 29.349); --color-error-content: oklch(12.968% 0.058 29.349); --radius-selector: 1rem; --radius-field: 1rem; --radius-box: 1rem; --size-selector: 0.25rem; --size-field: 0.25rem; --border: 1px; --depth: 1; --noise: 0; } :root:has(input.theme-controller[value="lemonade"]:checked), [data-theme="lemonade"] { color-scheme: light; --color-base-100: oklch(98.71% 0.02 123.72); --color-base-200: oklch(91.8% 0.018 123.72); --color-base-300: oklch(84.89% 0.017 123.72); --color-base-content: oklch(19.742% 0.004 123.72); --color-primary: oklch(58.92% 0.199 134.6); --color-primary-content: oklch(11.784% 0.039 134.6); --color-secondary: oklch(77.75% 0.196 111.09); --color-secondary-content: oklch(15.55% 0.039 111.09); --color-accent: oklch(85.39% 0.201 100.73); --color-accent-content: oklch(17.078% 0.04 100.73); --color-neutral: oklch(30.98% 0.075 108.6); --color-neutral-content: oklch(86.196% 0.015 108.6); --color-info: oklch(86.19% 0.047 224.14); --color-info-content: oklch(17.238% 0.009 224.14); --color-success: oklch(86.19% 0.047 157.85); --color-success-content: oklch(17.238% 0.009 157.85); --color-warning: oklch(86.19% 0.047 102.15); --color-warning-content: oklch(17.238% 0.009 102.15); --color-error: oklch(86.19% 0.047 25.85); --color-error-content: oklch(17.238% 0.009 25.85); --radius-selector: 1rem; --radius-field: 0.5rem; --radius-box: 1rem; --size-selector: 0.25rem; --size-field: 0.25rem; --border: 1px; --depth: 0; --noise: 0; } :root:has(input.theme-controller[value="night"]:checked), [data-theme="night"] { color-scheme: dark; --color-base-100: oklch(20.768% 0.039 265.754); --color-base-200: oklch(19.314% 0.037 265.754); --color-base-300: oklch(17.86% 0.034 265.754); --color-base-content: oklch(84.153% 0.007 265.754); --color-primary: oklch(75.351% 0.138 232.661); --color-primary-content: oklch(15.07% 0.027 232.661); --color-secondary: oklch(68.011% 0.158 276.934); --color-secondary-content: oklch(13.602% 0.031 276.934); --color-accent: oklch(72.36% 0.176 350.048); --color-accent-content: oklch(14.472% 0.035 350.048); --color-neutral: oklch(27.949% 0.036 260.03); --color-neutral-content: oklch(85.589% 0.007 260.03); --color-info: oklch(68.455% 0.148 237.251); --color-info-content: oklch(0% 0 0); --color-success: oklch(78.452% 0.132 181.911); --color-success-content: oklch(15.69% 0.026 181.911); --color-warning: oklch(83.242% 0.139 82.95); --color-warning-content: oklch(16.648% 0.027 82.95); --color-error: oklch(71.785% 0.17 13.118); --color-error-content: oklch(14.357% 0.034 13.118); --radius-selector: 1rem; --radius-field: 0.5rem; --radius-box: 1rem; --size-selector: 0.25rem; --size-field: 0.25rem; --border: 1px; --depth: 0; --noise: 0; } :root:has(input.theme-controller[value="coffee"]:checked), [data-theme="coffee"] { color-scheme: dark; --color-base-100: oklch(24% 0.023 329.708); --color-base-200: oklch(21% 0.021 329.708); --color-base-300: oklch(16% 0.019 329.708); --color-base-content: oklch(72.354% 0.092 79.129); --color-primary: oklch(71.996% 0.123 62.756); --color-primary-content: oklch(14.399% 0.024 62.756); --color-secondary: oklch(34.465% 0.029 199.194); --color-secondary-content: oklch(86.893% 0.005 199.194); --color-accent: oklch(42.621% 0.074 224.389); --color-accent-content: oklch(88.524% 0.014 224.389); --color-neutral: oklch(16.51% 0.015 326.261); --color-neutral-content: oklch(83.302% 0.003 326.261); --color-info: oklch(79.49% 0.063 184.558); --color-info-content: oklch(15.898% 0.012 184.558); --color-success: oklch(74.722% 0.072 131.116); --color-success-content: oklch(14.944% 0.014 131.116); --color-warning: oklch(88.15% 0.14 87.722); --color-warning-content: oklch(17.63% 0.028 87.722); --color-error: oklch(77.318% 0.128 31.871); --color-error-content: oklch(15.463% 0.025 31.871); --radius-selector: 1rem; --radius-field: 0.5rem; --radius-box: 1rem; --size-selector: 0.25rem; --size-field: 0.25rem; --border: 1px; --depth: 0; --noise: 0; } :root:has(input.theme-controller[value="winter"]:checked), [data-theme="winter"] { color-scheme: light; --color-base-100: oklch(100% 0 0); --color-base-200: oklch(97.466% 0.011 259.822); --color-base-300: oklch(93.268% 0.016 262.751); --color-base-content: oklch(41.886% 0.053 255.824); --color-primary: oklch(56.86% 0.255 257.57); --color-primary-content: oklch(91.372% 0.051 257.57); --color-secondary: oklch(42.551% 0.161 282.339); --color-secondary-content: oklch(88.51% 0.032 282.339); --color-accent: oklch(59.939% 0.191 335.171); --color-accent-content: oklch(11.988% 0.038 335.171); --color-neutral: oklch(19.616% 0.063 257.651); --color-neutral-content: oklch(83.923% 0.012 257.651); --color-info: oklch(88.127% 0.085 214.515); --color-info-content: oklch(17.625% 0.017 214.515); --color-success: oklch(80.494% 0.077 197.823); --color-success-content: oklch(16.098% 0.015 197.823); --color-warning: oklch(89.172% 0.045 71.47); --color-warning-content: oklch(17.834% 0.009 71.47); --color-error: oklch(73.092% 0.11 20.076); --color-error-content: oklch(14.618% 0.022 20.076); --radius-selector: 1rem; --radius-field: 0.5rem; --radius-box: 1rem; --size-selector: 0.25rem; --size-field: 0.25rem; --border: 1px; --depth: 0; --noise: 0; } :root:has(input.theme-controller[value="dim"]:checked), [data-theme="dim"] { color-scheme: dark; --color-base-100: oklch(30.857% 0.023 264.149); --color-base-200: oklch(28.036% 0.019 264.182); --color-base-300: oklch(26.346% 0.018 262.177); --color-base-content: oklch(82.901% 0.031 222.959); --color-primary: oklch(86.133% 0.141 139.549); --color-primary-content: oklch(17.226% 0.028 139.549); --color-secondary: oklch(73.375% 0.165 35.353); --color-secondary-content: oklch(14.675% 0.033 35.353); --color-accent: oklch(74.229% 0.133 311.379); --color-accent-content: oklch(14.845% 0.026 311.379); --color-neutral: oklch(24.731% 0.02 264.094); --color-neutral-content: oklch(82.901% 0.031 222.959); --color-info: oklch(86.078% 0.142 206.182); --color-info-content: oklch(17.215% 0.028 206.182); --color-success: oklch(86.171% 0.142 166.534); --color-success-content: oklch(17.234% 0.028 166.534); --color-warning: oklch(86.163% 0.142 94.818); --color-warning-content: oklch(17.232% 0.028 94.818); --color-error: oklch(82.418% 0.099 33.756); --color-error-content: oklch(16.483% 0.019 33.756); --radius-selector: 1rem; --radius-field: 0.5rem; --radius-box: 1rem; --size-selector: 0.25rem; --size-field: 0.25rem; --border: 1px; --depth: 0; --noise: 0; } :root:has(input.theme-controller[value="nord"]:checked), [data-theme="nord"] { color-scheme: light; --color-base-100: oklch(95.127% 0.007 260.731); --color-base-200: oklch(93.299% 0.01 261.788); --color-base-300: oklch(89.925% 0.016 262.749); --color-base-content: oklch(32.437% 0.022 264.182); --color-primary: oklch(59.435% 0.077 254.027); --color-primary-content: oklch(11.887% 0.015 254.027); --color-secondary: oklch(69.651% 0.059 248.687); --color-secondary-content: oklch(13.93% 0.011 248.687); --color-accent: oklch(77.464% 0.062 217.469); --color-accent-content: oklch(15.492% 0.012 217.469); --color-neutral: oklch(45.229% 0.035 264.131); --color-neutral-content: oklch(89.925% 0.016 262.749); --color-info: oklch(69.207% 0.062 332.664); --color-info-content: oklch(13.841% 0.012 332.664); --color-success: oklch(76.827% 0.074 131.063); --color-success-content: oklch(15.365% 0.014 131.063); --color-warning: oklch(85.486% 0.089 84.093); --color-warning-content: oklch(17.097% 0.017 84.093); --color-error: oklch(60.61% 0.12 15.341); --color-error-content: oklch(12.122% 0.024 15.341); --radius-selector: 1rem; --radius-field: 0.25rem; --radius-box: 0.5rem; --size-selector: 0.25rem; --size-field: 0.25rem; --border: 1px; --depth: 0; --noise: 0; } :root:has(input.theme-controller[value="sunset"]:checked), [data-theme="sunset"] { color-scheme: dark; --color-base-100: oklch(22% 0.019 237.69); --color-base-200: oklch(20% 0.019 237.69); --color-base-300: oklch(18% 0.019 237.69); --color-base-content: oklch(77.383% 0.043 245.096); --color-primary: oklch(74.703% 0.158 39.947); --color-primary-content: oklch(14.94% 0.031 39.947); --color-secondary: oklch(72.537% 0.177 2.72); --color-secondary-content: oklch(14.507% 0.035 2.72); --color-accent: oklch(71.294% 0.166 299.844); --color-accent-content: oklch(14.258% 0.033 299.844); --color-neutral: oklch(26% 0.019 237.69); --color-neutral-content: oklch(70% 0.019 237.69); --color-info: oklch(85.559% 0.085 206.015); --color-info-content: oklch(17.111% 0.017 206.015); --color-success: oklch(85.56% 0.085 144.778); --color-success-content: oklch(17.112% 0.017 144.778); --color-warning: oklch(85.569% 0.084 74.427); --color-warning-content: oklch(17.113% 0.016 74.427); --color-error: oklch(85.511% 0.078 16.886); --color-error-content: oklch(17.102% 0.015 16.886); --radius-selector: 1rem; --radius-field: 0.5rem; --radius-box: 1rem; --size-selector: 0.25rem; --size-field: 0.25rem; --border: 1px; --depth: 0; --noise: 0; } :root:has(input.theme-controller[value="caramellatte"]:checked), [data-theme="caramellatte"] { color-scheme: light; --color-base-100: oklch(98% 0.016 73.684); --color-base-200: oklch(95% 0.038 75.164); --color-base-300: oklch(90% 0.076 70.697); --color-base-content: oklch(40% 0.123 38.172); --color-primary: oklch(0% 0 0); --color-primary-content: oklch(100% 0 0); --color-secondary: oklch(22.45% 0.075 37.85); --color-secondary-content: oklch(90% 0.076 70.697); --color-accent: oklch(46.44% 0.111 37.85); --color-accent-content: oklch(90% 0.076 70.697); --color-neutral: oklch(55% 0.195 38.402); --color-neutral-content: oklch(98% 0.016 73.684); --color-info: oklch(42% 0.199 265.638); --color-info-content: oklch(90% 0.076 70.697); --color-success: oklch(43% 0.095 166.913); --color-success-content: oklch(90% 0.076 70.697); --color-warning: oklch(82% 0.189 84.429); --color-warning-content: oklch(41% 0.112 45.904); --color-error: oklch(70% 0.191 22.216); --color-error-content: oklch(39% 0.141 25.723); --radius-selector: 2rem; --radius-field: 0.5rem; --radius-box: 1rem; --size-selector: 0.25rem; --size-field: 0.25rem; --border: 2px; --depth: 1; --noise: 1; } :root:has(input.theme-controller[value="abyss"]:checked), [data-theme="abyss"] { color-scheme: dark; --color-base-100: oklch(20% 0.08 209); --color-base-200: oklch(15% 0.08 209); --color-base-300: oklch(10% 0.08 209); --color-base-content: oklch(90% 0.076 70.697); --color-primary: oklch(92% 0.2653 125); --color-primary-content: oklch(50% 0.2653 125); --color-secondary: oklch(83.27% 0.0764 298.3); --color-secondary-content: oklch(43.27% 0.0764 298.3); --color-accent: oklch(43% 0 0); --color-accent-content: oklch(98% 0 0); --color-neutral: oklch(30% 0.08 209); --color-neutral-content: oklch(90% 0.076 70.697); --color-info: oklch(74% 0.16 232.661); --color-info-content: oklch(29% 0.066 243.157); --color-success: oklch(79% 0.209 151.711); --color-success-content: oklch(26% 0.065 152.934); --color-warning: oklch(84.8% 0.1962 84.62); --color-warning-content: oklch(44.8% 0.1962 84.62); --color-error: oklch(65% 0.1985 24.22); --color-error-content: oklch(27% 0.1985 24.22); --radius-selector: 2rem; --radius-field: 0.25rem; --radius-box: 0.5rem; --size-selector: 0.25rem; --size-field: 0.25rem; --border: 1px; --depth: 1; --noise: 0; } :root:has(input.theme-controller[value="silk"]:checked), [data-theme="silk"] { color-scheme: light; --color-base-100: oklch(97% 0.0035 67.78); --color-base-200: oklch(95% 0.0081 61.42); --color-base-300: oklch(90% 0.0081 61.42); --color-base-content: oklch(40% 0.0081 61.42); --color-primary: oklch(23.27% 0.0249 284.3); --color-primary-content: oklch(94.22% 0.2505 117.44); --color-secondary: oklch(23.27% 0.0249 284.3); --color-secondary-content: oklch(73.92% 0.2135 50.94); --color-accent: oklch(23.27% 0.0249 284.3); --color-accent-content: oklch(88.92% 0.2061 189.9); --color-neutral: oklch(20% 0 0); --color-neutral-content: oklch(80% 0.0081 61.42); --color-info: oklch(80.39% 0.1148 241.68); --color-info-content: oklch(30.39% 0.1148 241.68); --color-success: oklch(83.92% 0.0901 136.87); --color-success-content: oklch(23.92% 0.0901 136.87); --color-warning: oklch(83.92% 0.1085 80); --color-warning-content: oklch(43.92% 0.1085 80); --color-error: oklch(75.1% 0.1814 22.37); --color-error-content: oklch(35.1% 0.1814 22.37); --radius-selector: 2rem; --radius-field: 0.5rem; --radius-box: 1rem; --size-selector: 0.25rem; --size-field: 0.25rem; --border: 2px; --depth: 1; --noise: 0; }