This commit adds the complete Tailwind CSS framework, including base styles, utility classes, and theme definitions, to facilitate modern and efficient UI development.
* **New Features**
* **Tailwind CSS Integration**: Added the `tailwind.css` file, bringing the full Tailwind CSS framework into the project.
* **Base Styling**: Included a comprehensive CSS reset and foundational styles for standard HTML elements.
* **UI Component Utilities**: Provided utility classes for core UI components such as buttons (`.btn`), collapsible sections (`.collapse`), lists (`.list`), input fields (`.input`), steps indicators (`.steps`), select dropdowns (`.select`), avatars (`.avatar`), cards (`.card`), and progress bars (`.progress`).
* **Theme System**: Implemented light and dark mode themes with Oklch color definitions and CSS variables for extensible styling.
* **Animation Utilities**: Introduced various keyframe animations for interactive elements like ratings, dropdowns, toasts, and progress indicators.
* **Enhancements & Refinements**
* **Modern CSS Practices**: Utilized `@layer` directives for structured styling, `@property` for custom CSS variable definitions, and `color-mix` for dynamic color calculations.
* **Accessibility Improvements**: Enhanced focus states and user-select behaviors for interactive elements to improve usability.
* **Responsive Layout Foundations**: Defined responsive container widths and utility classes for consistent layouts across different screen sizes.
1565 lines
48 KiB
CSS
1565 lines
48 KiB
CSS
/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */
|
||
@layer properties;
|
||
@layer theme, base, components, utilities;
|
||
@layer theme {
|
||
:root, :host {
|
||
--font-sans: ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
||
'Noto Color Emoji';
|
||
--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New',
|
||
monospace;
|
||
--color-black: #000;
|
||
--spacing: 0.25rem;
|
||
--container-sm: 24rem;
|
||
--radius-md: 0.375rem;
|
||
--default-font-family: var(--font-sans);
|
||
--default-mono-font-family: var(--font-mono);
|
||
}
|
||
}
|
||
@layer base {
|
||
*, ::after, ::before, ::backdrop, ::file-selector-button {
|
||
box-sizing: border-box;
|
||
margin: 0;
|
||
padding: 0;
|
||
border: 0 solid;
|
||
}
|
||
html, :host {
|
||
line-height: 1.5;
|
||
-webkit-text-size-adjust: 100%;
|
||
tab-size: 4;
|
||
font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji');
|
||
font-feature-settings: var(--default-font-feature-settings, normal);
|
||
font-variation-settings: var(--default-font-variation-settings, normal);
|
||
-webkit-tap-highlight-color: transparent;
|
||
}
|
||
hr {
|
||
height: 0;
|
||
color: inherit;
|
||
border-top-width: 1px;
|
||
}
|
||
abbr:where([title]) {
|
||
-webkit-text-decoration: underline dotted;
|
||
text-decoration: underline dotted;
|
||
}
|
||
h1, h2, h3, h4, h5, h6 {
|
||
font-size: inherit;
|
||
font-weight: inherit;
|
||
}
|
||
a {
|
||
color: inherit;
|
||
-webkit-text-decoration: inherit;
|
||
text-decoration: inherit;
|
||
}
|
||
b, strong {
|
||
font-weight: bolder;
|
||
}
|
||
code, kbd, samp, pre {
|
||
font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace);
|
||
font-feature-settings: var(--default-mono-font-feature-settings, normal);
|
||
font-variation-settings: var(--default-mono-font-variation-settings, normal);
|
||
font-size: 1em;
|
||
}
|
||
small {
|
||
font-size: 80%;
|
||
}
|
||
sub, sup {
|
||
font-size: 75%;
|
||
line-height: 0;
|
||
position: relative;
|
||
vertical-align: baseline;
|
||
}
|
||
sub {
|
||
bottom: -0.25em;
|
||
}
|
||
sup {
|
||
top: -0.5em;
|
||
}
|
||
table {
|
||
text-indent: 0;
|
||
border-color: inherit;
|
||
border-collapse: collapse;
|
||
}
|
||
:-moz-focusring {
|
||
outline: auto;
|
||
}
|
||
progress {
|
||
vertical-align: baseline;
|
||
}
|
||
summary {
|
||
display: list-item;
|
||
}
|
||
ol, ul, menu {
|
||
list-style: none;
|
||
}
|
||
img, svg, video, canvas, audio, iframe, embed, object {
|
||
display: block;
|
||
vertical-align: middle;
|
||
}
|
||
img, video {
|
||
max-width: 100%;
|
||
height: auto;
|
||
}
|
||
button, input, select, optgroup, textarea, ::file-selector-button {
|
||
font: inherit;
|
||
font-feature-settings: inherit;
|
||
font-variation-settings: inherit;
|
||
letter-spacing: inherit;
|
||
color: inherit;
|
||
border-radius: 0;
|
||
background-color: transparent;
|
||
opacity: 1;
|
||
}
|
||
:where(select:is([multiple], [size])) optgroup {
|
||
font-weight: bolder;
|
||
}
|
||
:where(select:is([multiple], [size])) optgroup option {
|
||
padding-inline-start: 20px;
|
||
}
|
||
::file-selector-button {
|
||
margin-inline-end: 4px;
|
||
}
|
||
::placeholder {
|
||
opacity: 1;
|
||
}
|
||
@supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {
|
||
::placeholder {
|
||
color: currentcolor;
|
||
@supports (color: color-mix(in lab, red, red)) {
|
||
color: color-mix(in oklab, currentcolor 50%, transparent);
|
||
}
|
||
}
|
||
}
|
||
textarea {
|
||
resize: vertical;
|
||
}
|
||
::-webkit-search-decoration {
|
||
-webkit-appearance: none;
|
||
}
|
||
::-webkit-date-and-time-value {
|
||
min-height: 1lh;
|
||
text-align: inherit;
|
||
}
|
||
::-webkit-datetime-edit {
|
||
display: inline-flex;
|
||
}
|
||
::-webkit-datetime-edit-fields-wrapper {
|
||
padding: 0;
|
||
}
|
||
::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
|
||
padding-block: 0;
|
||
}
|
||
::-webkit-calendar-picker-indicator {
|
||
line-height: 1;
|
||
}
|
||
:-moz-ui-invalid {
|
||
box-shadow: none;
|
||
}
|
||
button, input:where([type='button'], [type='reset'], [type='submit']), ::file-selector-button {
|
||
appearance: button;
|
||
}
|
||
::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
|
||
height: auto;
|
||
}
|
||
[hidden]:where(:not([hidden='until-found'])) {
|
||
display: none !important;
|
||
}
|
||
}
|
||
@layer utilities {
|
||
.btn {
|
||
:where(&) {
|
||
@layer daisyui.l1.l2.l3 {
|
||
width: unset;
|
||
}
|
||
}
|
||
@layer daisyui.l1.l2.l3 {
|
||
display: inline-flex;
|
||
flex-shrink: 0;
|
||
cursor: pointer;
|
||
flex-wrap: nowrap;
|
||
align-items: center;
|
||
justify-content: center;
|
||
gap: calc(0.25rem * 1.5);
|
||
text-align: center;
|
||
vertical-align: middle;
|
||
outline-offset: 2px;
|
||
webkit-user-select: none;
|
||
user-select: none;
|
||
padding-inline: var(--btn-p);
|
||
color: var(--btn-fg);
|
||
--tw-prose-links: var(--btn-fg);
|
||
height: var(--size);
|
||
font-size: var(--fontsize, 0.875rem);
|
||
font-weight: 600;
|
||
outline-color: var(--btn-color, var(--color-base-content));
|
||
transition-property: color, background-color, border-color, box-shadow;
|
||
transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
||
transition-duration: 0.2s;
|
||
border-start-start-radius: var(--join-ss, var(--radius-field));
|
||
border-start-end-radius: var(--join-se, var(--radius-field));
|
||
border-end-start-radius: var(--join-es, var(--radius-field));
|
||
border-end-end-radius: var(--join-ee, var(--radius-field));
|
||
background-color: var(--btn-bg);
|
||
background-size: auto, calc(var(--noise) * 100%);
|
||
background-image: none, var(--btn-noise);
|
||
border-width: var(--border);
|
||
border-style: solid;
|
||
border-color: var(--btn-border);
|
||
text-shadow: 0 0.5px oklch(100% 0 0 / calc(var(--depth) * 0.15));
|
||
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: var(--btn-bg);
|
||
@supports (color: color-mix(in lab, red, red)) {
|
||
--btn-border: color-mix(in oklab, var(--btn-bg), #000 calc(var(--depth) * 5%));
|
||
}
|
||
--btn-shadow: 0 3px 2px -2px var(--btn-bg),
|
||
0 4px 3px -2px var(--btn-bg);
|
||
@supports (color: color-mix(in lab, red, red)) {
|
||
--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);
|
||
@media (hover: hover) {
|
||
&:hover {
|
||
--btn-bg: var(--btn-color, var(--color-base-200));
|
||
@supports (color: color-mix(in lab, red, red)) {
|
||
--btn-bg: color-mix(in oklab, var(--btn-color, var(--color-base-200)), #000 7%);
|
||
}
|
||
}
|
||
}
|
||
&:focus-visible, &:has(:focus-visible) {
|
||
outline-width: 2px;
|
||
outline-style: solid;
|
||
isolation: isolate;
|
||
}
|
||
&:active:not(.btn-active) {
|
||
translate: 0 0.5px;
|
||
--btn-bg: var(--btn-color, var(--color-base-200));
|
||
@supports (color: color-mix(in lab, red, red)) {
|
||
--btn-bg: color-mix(in oklab, var(--btn-color, var(--color-base-200)), #000 5%);
|
||
}
|
||
--btn-border: var(--btn-color, var(--color-base-200));
|
||
@supports (color: color-mix(in lab, red, red)) {
|
||
--btn-border: color-mix(in oklab, var(--btn-color, var(--color-base-200)), #000 7%);
|
||
}
|
||
--btn-shadow: 0 0 0 0 oklch(0% 0 0/0), 0 0 0 0 oklch(0% 0 0/0);
|
||
}
|
||
&:is(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;
|
||
}
|
||
}
|
||
&:disabled {
|
||
@layer daisyui.l1.l2 {
|
||
&:not(.btn-link, .btn-ghost) {
|
||
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%, transparent);
|
||
}
|
||
box-shadow: none;
|
||
}
|
||
pointer-events: none;
|
||
--btn-border: #0000;
|
||
--btn-noise: none;
|
||
--btn-fg: var(--color-base-content);
|
||
@supports (color: color-mix(in lab, red, red)) {
|
||
--btn-fg: color-mix(in oklch, var(--color-base-content) 20%, #0000);
|
||
}
|
||
}
|
||
}
|
||
&[disabled] {
|
||
@layer daisyui.l1.l2 {
|
||
&:not(.btn-link, .btn-ghost) {
|
||
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%, transparent);
|
||
}
|
||
box-shadow: none;
|
||
}
|
||
pointer-events: none;
|
||
--btn-border: #0000;
|
||
--btn-noise: none;
|
||
--btn-fg: var(--color-base-content);
|
||
@supports (color: color-mix(in lab, red, red)) {
|
||
--btn-fg: color-mix(in oklch, var(--color-base-content) 20%, #0000);
|
||
}
|
||
}
|
||
}
|
||
}
|
||
.collapse {
|
||
&:not(td, tr, colgroup) {
|
||
visibility: revert-layer;
|
||
}
|
||
@layer daisyui.l1.l2.l3 {
|
||
display: grid;
|
||
position: relative;
|
||
overflow: hidden;
|
||
border-radius: var(--radius-box, 1rem);
|
||
width: 100%;
|
||
grid-template-rows: max-content 0fr;
|
||
grid-template-columns: minmax(0, 1fr);
|
||
isolation: isolate;
|
||
@media (prefers-reduced-motion: no-preference) {
|
||
transition: grid-template-rows 0.2s;
|
||
}
|
||
> input:is([type="checkbox"], [type="radio"]) {
|
||
grid-column-start: 1;
|
||
grid-row-start: 1;
|
||
appearance: none;
|
||
opacity: 0;
|
||
z-index: 1;
|
||
width: 100%;
|
||
padding: 1rem;
|
||
padding-inline-end: 3rem;
|
||
min-height: 1lh;
|
||
transition: background-color 0.2s ease-out;
|
||
}
|
||
&: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-style: solid;
|
||
outline-width: 2px;
|
||
outline-offset: 2px;
|
||
}
|
||
&: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;
|
||
}
|
||
}
|
||
@layer daisyui.l1.l2 {
|
||
&:is([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);
|
||
}
|
||
}
|
||
}
|
||
&.collapse-plus {
|
||
> .collapse-title:after {
|
||
--tw-content: "−";
|
||
content: var(--tw-content);
|
||
}
|
||
}
|
||
}
|
||
&[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);
|
||
}
|
||
}
|
||
}
|
||
&[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);
|
||
}
|
||
}
|
||
}
|
||
&: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, min-height 0.2s ease-out allow-discrete, padding 0.1s ease-out 20ms, background-color 0.2s ease-out, height 0.2s;
|
||
height: 0;
|
||
interpolate-size: allow-keywords;
|
||
}
|
||
&:where([open])::details-content {
|
||
height: auto;
|
||
}
|
||
}
|
||
& summary {
|
||
position: relative;
|
||
display: block;
|
||
&::-webkit-details-marker {
|
||
display: none;
|
||
}
|
||
}
|
||
& > .collapse-content {
|
||
content-visibility: visible;
|
||
}
|
||
}
|
||
}
|
||
&:is(details) summary {
|
||
@layer daisyui.l1.l2.l3 {
|
||
outline: none;
|
||
}
|
||
}
|
||
}
|
||
.collapse {
|
||
visibility: collapse;
|
||
}
|
||
.list {
|
||
@layer daisyui.l1.l2.l3 {
|
||
display: flex;
|
||
flex-direction: column;
|
||
font-size: 0.875rem;
|
||
.list-row {
|
||
--list-grid-cols: minmax(0, auto) 1fr;
|
||
position: relative;
|
||
display: grid;
|
||
grid-auto-flow: column;
|
||
gap: calc(0.25rem * 4);
|
||
border-radius: var(--radius-box);
|
||
padding: calc(0.25rem * 4);
|
||
word-break: break-word;
|
||
grid-template-columns: var(--list-grid-cols);
|
||
}
|
||
& > :not(:last-child) {
|
||
&.list-row, .list-row {
|
||
&:after {
|
||
content: "";
|
||
border-bottom: var(--border) solid;
|
||
inset-inline: var(--radius-box);
|
||
position: absolute;
|
||
bottom: calc(0.25rem * 0);
|
||
border-color: var(--color-base-content);
|
||
@supports (color: color-mix(in lab, red, red)) {
|
||
border-color: color-mix(in oklab, var(--color-base-content) 5%, transparent);
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
@layer daisyui.l1.l2 {
|
||
.list-row {
|
||
&:has(.list-col-grow:nth-child(1)) {
|
||
--list-grid-cols: 1fr;
|
||
}
|
||
&:has(.list-col-grow:nth-child(2)) {
|
||
--list-grid-cols: minmax(0, auto) 1fr;
|
||
}
|
||
&:has(.list-col-grow:nth-child(3)) {
|
||
--list-grid-cols: minmax(0, auto) minmax(0, auto) 1fr;
|
||
}
|
||
&:has(.list-col-grow:nth-child(4)) {
|
||
--list-grid-cols: minmax(0, auto) minmax(0, auto) minmax(0, auto) 1fr;
|
||
}
|
||
&:has(.list-col-grow:nth-child(5)) {
|
||
--list-grid-cols: minmax(0, auto) minmax(0, auto) minmax(0, auto) minmax(0, auto) 1fr;
|
||
}
|
||
&:has(.list-col-grow:nth-child(6)) {
|
||
--list-grid-cols: minmax(0, auto) minmax(0, auto) minmax(0, auto) minmax(0, auto)
|
||
minmax(0, auto) 1fr;
|
||
}
|
||
> * {
|
||
grid-row-start: 1;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
.input {
|
||
@layer daisyui.l1.l2.l3 {
|
||
cursor: text;
|
||
border: var(--border) solid #0000;
|
||
position: relative;
|
||
display: inline-flex;
|
||
flex-shrink: 1;
|
||
appearance: none;
|
||
align-items: center;
|
||
gap: calc(0.25rem * 2);
|
||
background-color: var(--color-base-100);
|
||
padding-inline: calc(0.25rem * 3);
|
||
vertical-align: middle;
|
||
white-space: nowrap;
|
||
width: clamp(3rem, 20rem, 100%);
|
||
height: var(--size);
|
||
font-size: max(var(--font-size, 0.875rem), 0.875rem);
|
||
touch-action: manipulation;
|
||
border-start-start-radius: var(--join-ss, var(--radius-field));
|
||
border-start-end-radius: var(--join-se, var(--radius-field));
|
||
border-end-start-radius: var(--join-es, var(--radius-field));
|
||
border-end-end-radius: var(--join-ee, var(--radius-field));
|
||
border-color: var(--input-color);
|
||
box-shadow: 0 1px var(--input-color) inset, 0 -1px oklch(100% 0 0 / calc(var(--depth) * 0.1)) inset;
|
||
@supports (color: color-mix(in lab, red, red)) {
|
||
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: var(--color-base-content);
|
||
@supports (color: color-mix(in lab, red, red)) {
|
||
--input-color: color-mix(in oklab, var(--color-base-content) 20%, #0000);
|
||
}
|
||
&:where(input) {
|
||
display: inline-flex;
|
||
}
|
||
:where(input) {
|
||
display: inline-flex;
|
||
height: 100%;
|
||
width: 100%;
|
||
appearance: none;
|
||
background-color: transparent;
|
||
border: none;
|
||
&:focus, &:focus-within {
|
||
--tw-outline-style: none;
|
||
outline-style: none;
|
||
@media (forced-colors: active) {
|
||
outline: 2px solid transparent;
|
||
outline-offset: 2px;
|
||
}
|
||
}
|
||
}
|
||
: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 var(--input-color);
|
||
@supports (color: color-mix(in lab, red, red)) {
|
||
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: var(--color-base-content);
|
||
@supports (color: color-mix(in lab, red, red)) {
|
||
color: color-mix(in oklab, var(--color-base-content) 40%, transparent);
|
||
}
|
||
&::placeholder {
|
||
color: var(--color-base-content);
|
||
@supports (color: color-mix(in lab, red, red)) {
|
||
color: color-mix(in oklab, var(--color-base-content) 20%, transparent);
|
||
}
|
||
}
|
||
box-shadow: none;
|
||
}
|
||
&:has(> input[disabled]) > input[disabled] {
|
||
cursor: not-allowed;
|
||
}
|
||
&::-webkit-date-and-time-value {
|
||
text-align: inherit;
|
||
}
|
||
&[type="number"] {
|
||
&::-webkit-inner-spin-button {
|
||
margin-block: calc(0.25rem * -3);
|
||
margin-inline-end: calc(0.25rem * -3);
|
||
}
|
||
}
|
||
&::-webkit-calendar-picker-indicator {
|
||
position: absolute;
|
||
inset-inline-end: 0.75em;
|
||
}
|
||
&:has(> input[type="date"]) {
|
||
:where(input[type="date"]) {
|
||
display: inline-flex;
|
||
webkit-appearance: none;
|
||
appearance: none;
|
||
}
|
||
input[type="date"]::-webkit-calendar-picker-indicator {
|
||
position: absolute;
|
||
inset-inline-end: 0.75em;
|
||
width: 1em;
|
||
height: 1em;
|
||
cursor: pointer;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
.steps {
|
||
@layer daisyui.l1.l2.l3 {
|
||
display: inline-grid;
|
||
grid-auto-flow: column;
|
||
overflow: hidden;
|
||
overflow-x: auto;
|
||
counter-reset: step;
|
||
grid-auto-columns: 1fr;
|
||
.step {
|
||
display: grid;
|
||
grid-template-columns: repeat(1, minmax(0, 1fr));
|
||
grid-template-columns: auto;
|
||
grid-template-rows: repeat(2, minmax(0, 1fr));
|
||
grid-template-rows: 40px 1fr;
|
||
place-items: center;
|
||
text-align: center;
|
||
min-width: 4rem;
|
||
--step-bg: var(--color-base-300);
|
||
--step-fg: var(--color-base-content);
|
||
&:before {
|
||
top: calc(0.25rem * 0);
|
||
grid-column-start: 1;
|
||
grid-row-start: 1;
|
||
height: calc(0.25rem * 2);
|
||
width: 100%;
|
||
border: 1px solid;
|
||
color: var(--step-bg);
|
||
background-color: var(--step-bg);
|
||
content: "";
|
||
margin-inline-start: -100%;
|
||
}
|
||
> .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);
|
||
position: relative;
|
||
grid-column-start: 1;
|
||
grid-row-start: 1;
|
||
display: grid;
|
||
height: calc(0.25rem * 8);
|
||
width: calc(0.25rem * 8);
|
||
place-items: center;
|
||
place-self: center;
|
||
border-radius: calc(infinity * 1px);
|
||
}
|
||
&: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);
|
||
}
|
||
}
|
||
}
|
||
}
|
||
.select {
|
||
@layer daisyui.l1.l2.l3 {
|
||
border: var(--border) solid #0000;
|
||
position: relative;
|
||
display: inline-flex;
|
||
flex-shrink: 1;
|
||
appearance: none;
|
||
align-items: center;
|
||
gap: calc(0.25rem * 1.5);
|
||
background-color: var(--color-base-100);
|
||
padding-inline-start: calc(0.25rem * 3);
|
||
padding-inline-end: calc(0.25rem * 7);
|
||
vertical-align: middle;
|
||
width: clamp(3rem, 20rem, 100%);
|
||
height: var(--size);
|
||
font-size: 0.875rem;
|
||
touch-action: manipulation;
|
||
border-start-start-radius: var(--join-ss, var(--radius-field));
|
||
border-start-end-radius: var(--join-se, var(--radius-field));
|
||
border-end-start-radius: var(--join-es, var(--radius-field));
|
||
border-end-end-radius: var(--join-ee, var(--radius-field));
|
||
background-image: linear-gradient(45deg, #0000 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, #0000 50%);
|
||
background-position: calc(100% - 20px) calc(1px + 50%), calc(100% - 16.1px) calc(1px + 50%);
|
||
background-size: 4px 4px, 4px 4px;
|
||
background-repeat: no-repeat;
|
||
white-space: nowrap;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
box-shadow: 0 1px var(--input-color) inset, 0 -1px oklch(100% 0 0 / calc(var(--depth) * 0.1)) inset;
|
||
@supports (color: color-mix(in lab, red, red)) {
|
||
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: var(--color-base-content);
|
||
@supports (color: color-mix(in lab, red, red)) {
|
||
--input-color: color-mix(in oklab, var(--color-base-content) 20%, #0000);
|
||
}
|
||
--size: calc(var(--size-field, 0.25rem) * 10);
|
||
[dir="rtl"] & {
|
||
background-position: calc(0% + 12px) calc(1px + 50%), calc(0% + 16px) calc(1px + 50%);
|
||
&::picker(select), select::picker(select) {
|
||
translate: 0.5rem 0;
|
||
}
|
||
}
|
||
&[multiple] {
|
||
height: auto;
|
||
overflow: auto;
|
||
padding-block: calc(0.25rem * 3);
|
||
padding-inline-end: calc(0.25rem * 3);
|
||
background-image: none;
|
||
}
|
||
select {
|
||
margin-inline-start: calc(0.25rem * -3);
|
||
margin-inline-end: calc(0.25rem * -7);
|
||
width: calc(100% + 2.75rem);
|
||
appearance: none;
|
||
padding-inline-start: calc(0.25rem * 3);
|
||
padding-inline-end: calc(0.25rem * 7);
|
||
height: calc(100% - calc(var(--border) * 2));
|
||
align-items: center;
|
||
background: inherit;
|
||
border-radius: inherit;
|
||
border-style: none;
|
||
&:focus, &:focus-within {
|
||
--tw-outline-style: none;
|
||
outline-style: none;
|
||
@media (forced-colors: active) {
|
||
outline: 2px solid transparent;
|
||
outline-offset: 2px;
|
||
}
|
||
}
|
||
&:not(:last-child) {
|
||
margin-inline-end: calc(0.25rem * -5.5);
|
||
background-image: none;
|
||
}
|
||
}
|
||
&:focus, &:focus-within {
|
||
--input-color: var(--color-base-content);
|
||
box-shadow: 0 1px var(--input-color);
|
||
@supports (color: color-mix(in lab, red, red)) {
|
||
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: var(--color-base-content);
|
||
@supports (color: color-mix(in lab, red, red)) {
|
||
color: color-mix(in oklab, var(--color-base-content) 40%, transparent);
|
||
}
|
||
&::placeholder {
|
||
color: var(--color-base-content);
|
||
@supports (color: color-mix(in lab, red, red)) {
|
||
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;
|
||
}
|
||
@supports (appearance: base-select) {
|
||
&::picker(select) {
|
||
appearance: base-select;
|
||
}
|
||
}
|
||
&::picker(select) {
|
||
color: inherit;
|
||
max-height: min(24rem, 70dvh);
|
||
margin-inline: 0.5rem;
|
||
translate: -0.5rem 0;
|
||
border: var(--border) solid var(--color-base-200);
|
||
margin-block: calc(0.25rem * 2);
|
||
border-radius: var(--radius-box);
|
||
padding: calc(0.25rem * 2);
|
||
background-color: inherit;
|
||
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));
|
||
}
|
||
&::picker-icon {
|
||
display: none;
|
||
}
|
||
optgroup {
|
||
padding-top: 0.5em;
|
||
option {
|
||
&:nth-child(1) {
|
||
margin-top: 0.5em;
|
||
}
|
||
}
|
||
}
|
||
option {
|
||
border-radius: var(--radius-field);
|
||
padding-inline: calc(0.25rem * 3);
|
||
padding-block: calc(0.25rem * 1.5);
|
||
transition-property: color, background-color;
|
||
transition-duration: 0.2s;
|
||
transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
||
white-space: normal;
|
||
&:not(:disabled) {
|
||
&:hover, &:focus-visible {
|
||
cursor: pointer;
|
||
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%, transparent);
|
||
}
|
||
--tw-outline-style: none;
|
||
outline-style: none;
|
||
@media (forced-colors: active) {
|
||
outline: 2px solid transparent;
|
||
outline-offset: 2px;
|
||
}
|
||
}
|
||
&:active {
|
||
background-color: var(--color-neutral);
|
||
color: var(--color-neutral-content);
|
||
box-shadow: 0 2px calc(var(--depth) * 3px) -2px var(--color-neutral);
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
.avatar {
|
||
@layer daisyui.l1.l2.l3 {
|
||
position: relative;
|
||
display: inline-flex;
|
||
vertical-align: middle;
|
||
& > div {
|
||
display: block;
|
||
aspect-ratio: 1 / 1;
|
||
overflow: hidden;
|
||
}
|
||
img {
|
||
height: 100%;
|
||
width: 100%;
|
||
object-fit: cover;
|
||
}
|
||
}
|
||
}
|
||
.card {
|
||
@layer daisyui.l1.l2.l3 {
|
||
position: relative;
|
||
display: flex;
|
||
flex-direction: column;
|
||
border-radius: var(--radius-box);
|
||
outline-width: 2px;
|
||
transition: outline 0.2s ease-in-out;
|
||
outline: 0 solid #0000;
|
||
outline-offset: 2px;
|
||
&:focus {
|
||
--tw-outline-style: none;
|
||
outline-style: none;
|
||
@media (forced-colors: active) {
|
||
outline: 2px solid transparent;
|
||
outline-offset: 2px;
|
||
}
|
||
}
|
||
&:focus-visible {
|
||
outline-color: currentColor;
|
||
}
|
||
:where(figure:first-child) {
|
||
overflow: hidden;
|
||
border-start-start-radius: inherit;
|
||
border-start-end-radius: inherit;
|
||
border-end-start-radius: unset;
|
||
border-end-end-radius: unset;
|
||
}
|
||
:where(figure:last-child) {
|
||
overflow: hidden;
|
||
border-start-start-radius: unset;
|
||
border-start-end-radius: unset;
|
||
border-end-start-radius: inherit;
|
||
border-end-end-radius: inherit;
|
||
}
|
||
figure {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
}
|
||
&:has(> input:is(input[type="checkbox"], input[type="radio"])) {
|
||
cursor: pointer;
|
||
user-select: none;
|
||
}
|
||
&:has(> :checked) {
|
||
outline: 2px solid currentColor;
|
||
}
|
||
}
|
||
}
|
||
.progress {
|
||
@layer daisyui.l1.l2.l3 {
|
||
position: relative;
|
||
height: calc(0.25rem * 2);
|
||
width: 100%;
|
||
appearance: none;
|
||
overflow: hidden;
|
||
border-radius: var(--radius-box);
|
||
background-color: currentcolor;
|
||
@supports (color: color-mix(in lab, red, red)) {
|
||
background-color: color-mix(in oklab, currentcolor 20%, transparent);
|
||
}
|
||
color: var(--color-base-content);
|
||
&:indeterminate {
|
||
background-image: repeating-linear-gradient( 90deg, currentColor -1%, currentColor 10%, #0000 10%, #0000 90% );
|
||
background-size: 200%;
|
||
background-position-x: 15%;
|
||
@media (prefers-reduced-motion: no-preference) {
|
||
animation: progress 5s ease-in-out infinite;
|
||
}
|
||
@supports (-moz-appearance: none) {
|
||
&::-moz-progress-bar {
|
||
background-color: transparent;
|
||
@media (prefers-reduced-motion: no-preference) {
|
||
animation: progress 5s ease-in-out infinite;
|
||
background-image: repeating-linear-gradient( 90deg, currentColor -1%, currentColor 10%, #0000 10%, #0000 90% );
|
||
background-size: 200%;
|
||
background-position-x: 15%;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
@supports (-moz-appearance: none) {
|
||
&::-moz-progress-bar {
|
||
border-radius: var(--radius-box);
|
||
background-color: currentcolor;
|
||
}
|
||
}
|
||
@supports (-webkit-appearance: none) {
|
||
&::-webkit-progress-bar {
|
||
border-radius: var(--radius-box);
|
||
background-color: transparent;
|
||
}
|
||
&::-webkit-progress-value {
|
||
border-radius: var(--radius-box);
|
||
background-color: currentColor;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
.static {
|
||
position: static;
|
||
}
|
||
.hero-content {
|
||
@layer daisyui.l1.l2.l3 {
|
||
isolation: isolate;
|
||
display: flex;
|
||
max-width: 80rem;
|
||
align-items: center;
|
||
justify-content: center;
|
||
gap: calc(0.25rem * 4);
|
||
padding: calc(0.25rem * 4);
|
||
}
|
||
}
|
||
.hero {
|
||
@layer daisyui.l1.l2.l3 {
|
||
display: grid;
|
||
width: 100%;
|
||
place-items: center;
|
||
background-size: cover;
|
||
background-position: center;
|
||
& > * {
|
||
grid-column-start: 1;
|
||
grid-row-start: 1;
|
||
}
|
||
}
|
||
}
|
||
.container {
|
||
width: 100%;
|
||
@media (width >= 40rem) {
|
||
max-width: 40rem;
|
||
}
|
||
@media (width >= 48rem) {
|
||
max-width: 48rem;
|
||
}
|
||
@media (width >= 64rem) {
|
||
max-width: 64rem;
|
||
}
|
||
@media (width >= 80rem) {
|
||
max-width: 80rem;
|
||
}
|
||
@media (width >= 96rem) {
|
||
max-width: 96rem;
|
||
}
|
||
}
|
||
.mx-auto {
|
||
margin-inline: auto;
|
||
}
|
||
.label {
|
||
@layer daisyui.l1.l2.l3 {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: calc(0.25rem * 1.5);
|
||
white-space: nowrap;
|
||
color: currentcolor;
|
||
@supports (color: color-mix(in lab, red, red)) {
|
||
color: color-mix(in oklab, currentcolor 60%, transparent);
|
||
}
|
||
&:has(input) {
|
||
cursor: pointer;
|
||
}
|
||
&:is(.input > *, .select > *) {
|
||
display: flex;
|
||
height: calc(100% - 0.5rem);
|
||
align-items: center;
|
||
padding-inline: calc(0.25rem * 3);
|
||
white-space: nowrap;
|
||
font-size: inherit;
|
||
&:first-child {
|
||
margin-inline-start: calc(0.25rem * -3);
|
||
margin-inline-end: calc(0.25rem * 3);
|
||
border-inline-end: var(--border) solid currentColor;
|
||
@supports (color: color-mix(in lab, red, red)) {
|
||
border-inline-end: var(--border) solid color-mix(in oklab, currentColor 10%, #0000);
|
||
}
|
||
}
|
||
&:last-child {
|
||
margin-inline-start: calc(0.25rem * 3);
|
||
margin-inline-end: calc(0.25rem * -3);
|
||
border-inline-start: var(--border) solid currentColor;
|
||
@supports (color: color-mix(in lab, red, red)) {
|
||
border-inline-start: var(--border) solid color-mix(in oklab, currentColor 10%, #0000);
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
.mt-4 {
|
||
margin-top: calc(var(--spacing) * 4);
|
||
}
|
||
.mb-2 {
|
||
margin-bottom: calc(var(--spacing) * 2);
|
||
}
|
||
.status {
|
||
@layer daisyui.l1.l2.l3 {
|
||
display: inline-block;
|
||
aspect-ratio: 1 / 1;
|
||
width: calc(0.25rem * 2);
|
||
height: calc(0.25rem * 2);
|
||
border-radius: var(--radius-selector);
|
||
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%, transparent);
|
||
}
|
||
background-position: center;
|
||
background-repeat: no-repeat;
|
||
vertical-align: middle;
|
||
color: color-mix(in srgb, #000 30%, transparent);
|
||
@supports (color: color-mix(in lab, red, red)) {
|
||
color: color-mix(in oklab, var(--color-black) 30%, transparent);
|
||
}
|
||
background-image: radial-gradient( circle at 35% 30%, oklch(1 0 0 / calc(var(--depth) * 0.5)), #0000 );
|
||
box-shadow: 0 2px 3px -1px currentColor;
|
||
@supports (color: color-mix(in lab, red, red)) {
|
||
box-shadow: 0 2px 3px -1px color-mix(in oklab, currentColor calc(var(--depth) * 100%), #0000);
|
||
}
|
||
}
|
||
}
|
||
.card-body {
|
||
@layer daisyui.l1.l2.l3 {
|
||
display: flex;
|
||
flex: auto;
|
||
flex-direction: column;
|
||
gap: calc(0.25rem * 2);
|
||
padding: var(--card-p, 1.5rem);
|
||
font-size: var(--card-fs, 0.875rem);
|
||
:where(p) {
|
||
flex-grow: 1;
|
||
}
|
||
}
|
||
}
|
||
.fieldset {
|
||
@layer daisyui.l1.l2.l3 {
|
||
display: grid;
|
||
gap: calc(0.25rem * 1.5);
|
||
padding-block: calc(0.25rem * 1);
|
||
font-size: 0.75rem;
|
||
grid-template-columns: 1fr;
|
||
grid-auto-rows: max-content;
|
||
}
|
||
}
|
||
.block {
|
||
display: block;
|
||
}
|
||
.h-32 {
|
||
height: calc(var(--spacing) * 32);
|
||
}
|
||
.min-h-screen {
|
||
min-height: 100vh;
|
||
}
|
||
.w-full {
|
||
width: 100%;
|
||
}
|
||
.max-w-sm {
|
||
max-width: var(--container-sm);
|
||
}
|
||
.shrink-0 {
|
||
flex-shrink: 0;
|
||
}
|
||
.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: 2px solid transparent;
|
||
outline-offset: 2px;
|
||
}
|
||
}
|
||
&:focus-visible {
|
||
outline: 2px solid currentColor;
|
||
outline-offset: 2px;
|
||
}
|
||
}
|
||
}
|
||
.flex-col {
|
||
flex-direction: column;
|
||
}
|
||
.rounded-md {
|
||
border-radius: var(--radius-md);
|
||
}
|
||
.bg-base-100 {
|
||
background-color: var(--color-base-100);
|
||
}
|
||
.bg-base-200 {
|
||
background-color: var(--color-base-200);
|
||
}
|
||
.px-4 {
|
||
padding-inline: calc(var(--spacing) * 4);
|
||
}
|
||
.py-2 {
|
||
padding-block: calc(var(--spacing) * 2);
|
||
}
|
||
.text-center {
|
||
text-align: center;
|
||
}
|
||
.shadow-2xl {
|
||
--tw-shadow: 0 25px 50px -12px var(--tw-shadow-color, rgb(0 0 0 / 0.25));
|
||
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
||
}
|
||
.btn-neutral {
|
||
@layer daisyui.l1.l2.l3 {
|
||
--btn-color: var(--color-neutral);
|
||
--btn-fg: var(--color-neutral-content);
|
||
}
|
||
}
|
||
}
|
||
@layer base {
|
||
:where(: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;
|
||
}
|
||
}
|
||
@layer base {
|
||
@media (prefers-color-scheme: dark) {
|
||
:root:not([data-theme]) {
|
||
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;
|
||
}
|
||
}
|
||
}
|
||
@layer base {
|
||
: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;
|
||
}
|
||
}
|
||
@layer base {
|
||
: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;
|
||
}
|
||
}
|
||
@layer base {
|
||
: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");
|
||
}
|
||
}
|
||
@layer base {
|
||
:root {
|
||
scrollbar-color: currentColor #0000;
|
||
@supports (color: color-mix(in lab, red, red)) {
|
||
scrollbar-color: color-mix(in oklch, currentColor 35%, #0000) #0000;
|
||
}
|
||
}
|
||
}
|
||
@layer base {
|
||
@property --radialprogress {
|
||
syntax: "<percentage>";
|
||
inherits: true;
|
||
initial-value: 0%;
|
||
}
|
||
}
|
||
@layer base {
|
||
:root:not(span) {
|
||
overflow: var(--page-overflow);
|
||
}
|
||
}
|
||
@layer base {
|
||
:root {
|
||
background: var(--page-scroll-bg, var(--root-bg));
|
||
--page-scroll-bg-on: linear-gradient(var(--root-bg, #0000), var(--root-bg, #0000))
|
||
var(--root-bg, #0000);
|
||
@supports (color: color-mix(in lab, red, red)) {
|
||
--page-scroll-bg-on: linear-gradient(var(--root-bg, #0000), var(--root-bg, #0000))
|
||
color-mix(in srgb, var(--root-bg, #0000), 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);
|
||
}
|
||
@keyframes set-page-has-scroll {
|
||
0%, to {
|
||
--page-has-scroll: 1;
|
||
}
|
||
}
|
||
}
|
||
@layer base {
|
||
:root, [data-theme] {
|
||
background: var(--page-scroll-bg, var(--root-bg));
|
||
color: var(--color-base-content);
|
||
}
|
||
:where(:root, [data-theme]) {
|
||
--root-bg: var(--color-base-100);
|
||
}
|
||
}
|
||
@keyframes rating {
|
||
0%, 40% {
|
||
scale: 1.1;
|
||
filter: brightness(1.05) contrast(1.05);
|
||
}
|
||
}
|
||
@keyframes dropdown {
|
||
0% {
|
||
opacity: 0;
|
||
}
|
||
}
|
||
@keyframes radio {
|
||
0% {
|
||
padding: 5px;
|
||
}
|
||
50% {
|
||
padding: 3px;
|
||
}
|
||
}
|
||
@keyframes toast {
|
||
0% {
|
||
scale: 0.9;
|
||
opacity: 0;
|
||
}
|
||
100% {
|
||
scale: 1;
|
||
opacity: 1;
|
||
}
|
||
}
|
||
@keyframes rotator {
|
||
89.9999%, 100% {
|
||
--first-item-position: 0 0%;
|
||
}
|
||
90%, 99.9999% {
|
||
--first-item-position: 0 calc(var(--items) * 100%);
|
||
}
|
||
100% {
|
||
translate: 0 -100%;
|
||
}
|
||
}
|
||
@keyframes skeleton {
|
||
0% {
|
||
background-position: 150%;
|
||
}
|
||
100% {
|
||
background-position: -50%;
|
||
}
|
||
}
|
||
@keyframes menu {
|
||
0% {
|
||
opacity: 0;
|
||
}
|
||
}
|
||
@keyframes progress {
|
||
50% {
|
||
background-position-x: -115%;
|
||
}
|
||
}
|
||
@property --tw-shadow {
|
||
syntax: "*";
|
||
inherits: false;
|
||
initial-value: 0 0 #0000;
|
||
}
|
||
@property --tw-shadow-color {
|
||
syntax: "*";
|
||
inherits: false;
|
||
}
|
||
@property --tw-shadow-alpha {
|
||
syntax: "<percentage>";
|
||
inherits: false;
|
||
initial-value: 100%;
|
||
}
|
||
@property --tw-inset-shadow {
|
||
syntax: "*";
|
||
inherits: false;
|
||
initial-value: 0 0 #0000;
|
||
}
|
||
@property --tw-inset-shadow-color {
|
||
syntax: "*";
|
||
inherits: false;
|
||
}
|
||
@property --tw-inset-shadow-alpha {
|
||
syntax: "<percentage>";
|
||
inherits: false;
|
||
initial-value: 100%;
|
||
}
|
||
@property --tw-ring-color {
|
||
syntax: "*";
|
||
inherits: false;
|
||
}
|
||
@property --tw-ring-shadow {
|
||
syntax: "*";
|
||
inherits: false;
|
||
initial-value: 0 0 #0000;
|
||
}
|
||
@property --tw-inset-ring-color {
|
||
syntax: "*";
|
||
inherits: false;
|
||
}
|
||
@property --tw-inset-ring-shadow {
|
||
syntax: "*";
|
||
inherits: false;
|
||
initial-value: 0 0 #0000;
|
||
}
|
||
@property --tw-ring-inset {
|
||
syntax: "*";
|
||
inherits: false;
|
||
}
|
||
@property --tw-ring-offset-width {
|
||
syntax: "<length>";
|
||
inherits: false;
|
||
initial-value: 0px;
|
||
}
|
||
@property --tw-ring-offset-color {
|
||
syntax: "*";
|
||
inherits: false;
|
||
initial-value: #fff;
|
||
}
|
||
@property --tw-ring-offset-shadow {
|
||
syntax: "*";
|
||
inherits: false;
|
||
initial-value: 0 0 #0000;
|
||
}
|
||
@layer properties {
|
||
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
|
||
*, ::before, ::after, ::backdrop {
|
||
--tw-shadow: 0 0 #0000;
|
||
--tw-shadow-color: initial;
|
||
--tw-shadow-alpha: 100%;
|
||
--tw-inset-shadow: 0 0 #0000;
|
||
--tw-inset-shadow-color: initial;
|
||
--tw-inset-shadow-alpha: 100%;
|
||
--tw-ring-color: initial;
|
||
--tw-ring-shadow: 0 0 #0000;
|
||
--tw-inset-ring-color: initial;
|
||
--tw-inset-ring-shadow: 0 0 #0000;
|
||
--tw-ring-inset: initial;
|
||
--tw-ring-offset-width: 0px;
|
||
--tw-ring-offset-color: #fff;
|
||
--tw-ring-offset-shadow: 0 0 #0000;
|
||
}
|
||
}
|
||
}
|