2981 lines
88 KiB
CSS
2981 lines
88 KiB
CSS
/*! tailwindcss v4.1.7 | MIT License | https://tailwindcss.com */
|
||
@layer properties;
|
||
@layer theme, base, components, utilities;
|
||
@layer theme {
|
||
:root, :host {
|
||
--font-sans: "Raleway", sans-serif;
|
||
--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
|
||
"Courier New", monospace;
|
||
--color-blue-400: oklch(70.7% 0.165 254.624);
|
||
--color-slate-300: oklch(86.9% 0.022 252.894);
|
||
--color-slate-900: oklch(20.8% 0.042 265.755);
|
||
--color-gray-200: oklch(92.8% 0.006 264.531);
|
||
--color-gray-400: oklch(70.7% 0.022 261.325);
|
||
--color-gray-800: oklch(27.8% 0.033 256.848);
|
||
--color-black: oklch(0% 0 0);
|
||
--color-white: oklch(100% 0 0);
|
||
--spacing: 0.25rem;
|
||
--text-xs: 0.75rem;
|
||
--text-xs--line-height: calc(1 / 0.75);
|
||
--text-base: 1rem;
|
||
--text-base--line-height: calc(1.5 / 1);
|
||
--font-weight-normal: 400;
|
||
--font-weight-bold: 700;
|
||
--radius-sm: 0.25rem;
|
||
--ease-out: cubic-bezier(0, 0, 0.2, 1);
|
||
--ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
|
||
--default-transition-duration: 150ms;
|
||
--default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
||
--default-font-family: var(--font-sans);
|
||
--default-mono-font-family: var(--font-mono);
|
||
--color-primary: oklch(0.57 0.203362 257.1706);
|
||
--color-secondary: oklch(0.56 0.0176 257.23);
|
||
--color-bodylinks: oklch(0.48 0.0789 211.58);
|
||
--color-success: oklch(64.01% 0.1751 146.7);
|
||
--color-info: oklch(0.55 0.0922 211.57);
|
||
--color-warning: oklch(84.42% 0.1722 84.93);
|
||
--text-18px: clamp(0.875rem, 0.9375vw, 1.9rem);
|
||
--text-25px: clamp(1.125rem, 1.3021vw, 2.2rem);
|
||
--h1: calc(var(--text-base) * 2.25);
|
||
--h2: calc(var(--text-base) * 1.75);
|
||
--h3: calc(var(--text-base) * 1.5);
|
||
--h4: calc(var(--text-base) * 1.25);
|
||
--h5: calc(var(--text-base) * 1.125);
|
||
--h6: calc(var(--text-base) * 1.05);
|
||
}
|
||
}
|
||
@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;
|
||
}
|
||
:-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 {
|
||
.drawer-side {
|
||
pointer-events: none;
|
||
visibility: hidden;
|
||
position: fixed;
|
||
inset-inline-start: calc(0.25rem * 0);
|
||
top: calc(0.25rem * 0);
|
||
z-index: 1;
|
||
grid-column-start: 1;
|
||
grid-row-start: 1;
|
||
display: grid;
|
||
width: 100%;
|
||
grid-template-columns: repeat(1, minmax(0, 1fr));
|
||
grid-template-rows: repeat(1, minmax(0, 1fr));
|
||
align-items: flex-start;
|
||
justify-items: start;
|
||
overflow-x: hidden;
|
||
overflow-y: hidden;
|
||
overscroll-behavior: contain;
|
||
opacity: 0%;
|
||
transition: opacity 0.2s ease-out 0.1s allow-discrete, visibility 0.3s ease-out 0.1s allow-discrete;
|
||
height: 100vh;
|
||
height: 100dvh;
|
||
> .drawer-overlay {
|
||
position: sticky;
|
||
top: calc(0.25rem * 0);
|
||
cursor: pointer;
|
||
place-self: stretch;
|
||
background-color: oklch(0% 0 0 / 40%);
|
||
}
|
||
> * {
|
||
grid-column-start: 1;
|
||
grid-row-start: 1;
|
||
}
|
||
> *:not(.drawer-overlay) {
|
||
will-change: transform;
|
||
transition: translate 0.3s ease-out;
|
||
translate: -100%;
|
||
[dir="rtl"] & {
|
||
translate: 100%;
|
||
}
|
||
}
|
||
}
|
||
.drawer-open {
|
||
> .drawer-side {
|
||
overflow-y: auto;
|
||
}
|
||
> .drawer-toggle {
|
||
display: none;
|
||
& ~ .drawer-side {
|
||
pointer-events: auto;
|
||
visibility: visible;
|
||
position: sticky;
|
||
display: block;
|
||
width: auto;
|
||
overscroll-behavior: auto;
|
||
opacity: 100%;
|
||
& > .drawer-overlay {
|
||
cursor: default;
|
||
background-color: transparent;
|
||
}
|
||
& > *:not(.drawer-overlay) {
|
||
translate: 0%;
|
||
[dir="rtl"] & {
|
||
translate: 0%;
|
||
}
|
||
}
|
||
}
|
||
&:checked ~ .drawer-side {
|
||
pointer-events: auto;
|
||
visibility: visible;
|
||
}
|
||
}
|
||
}
|
||
.drawer-toggle {
|
||
position: fixed;
|
||
height: calc(0.25rem * 0);
|
||
width: calc(0.25rem * 0);
|
||
appearance: none;
|
||
opacity: 0%;
|
||
&:checked {
|
||
& ~ .drawer-side {
|
||
pointer-events: auto;
|
||
visibility: visible;
|
||
overflow-y: auto;
|
||
opacity: 100%;
|
||
& > *:not(.drawer-overlay) {
|
||
translate: 0%;
|
||
}
|
||
}
|
||
}
|
||
&:focus-visible ~ .drawer-content label.drawer-button {
|
||
outline: 2px solid;
|
||
outline-offset: 2px;
|
||
}
|
||
}
|
||
.menu {
|
||
display: flex;
|
||
width: fit-content;
|
||
flex-direction: column;
|
||
flex-wrap: wrap;
|
||
padding: calc(0.25rem * 2);
|
||
--menu-active-fg: var(--color-neutral-content);
|
||
--menu-active-bg: var(--color-neutral);
|
||
font-size: 0.875rem;
|
||
:where(li ul) {
|
||
position: relative;
|
||
margin-inline-start: calc(0.25rem * 4);
|
||
padding-inline-start: calc(0.25rem * 2);
|
||
white-space: nowrap;
|
||
&:before {
|
||
position: absolute;
|
||
inset-inline-start: calc(0.25rem * 0);
|
||
top: calc(0.25rem * 3);
|
||
bottom: calc(0.25rem * 3);
|
||
background-color: var(--color-base-content);
|
||
opacity: 10%;
|
||
width: var(--border);
|
||
content: "";
|
||
}
|
||
}
|
||
:where(li > .menu-dropdown:not(.menu-dropdown-show)) {
|
||
display: none;
|
||
}
|
||
:where(li:not(.menu-title) > *:not(ul, details, .menu-title, .btn)), :where(li:not(.menu-title) > details > summary:not(.menu-title)) {
|
||
display: grid;
|
||
grid-auto-flow: column;
|
||
align-content: flex-start;
|
||
align-items: center;
|
||
gap: calc(0.25rem * 2);
|
||
border-radius: var(--radius-field);
|
||
padding-inline: calc(0.25rem * 3);
|
||
padding-block: calc(0.25rem * 1.5);
|
||
text-align: start;
|
||
transition-property: color, background-color, box-shadow;
|
||
transition-duration: 0.2s;
|
||
transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
||
grid-auto-columns: minmax(auto, max-content) auto max-content;
|
||
text-wrap: balance;
|
||
user-select: none;
|
||
}
|
||
:where(li > details > summary) {
|
||
--tw-outline-style: none;
|
||
outline-style: none;
|
||
@media (forced-colors: active) {
|
||
outline: 2px solid transparent;
|
||
outline-offset: 2px;
|
||
}
|
||
&::-webkit-details-marker {
|
||
display: none;
|
||
}
|
||
}
|
||
:where(li > details > summary), :where(li > .menu-dropdown-toggle) {
|
||
&:after {
|
||
justify-self: flex-end;
|
||
display: block;
|
||
height: 0.375rem;
|
||
width: 0.375rem;
|
||
rotate: -135deg;
|
||
translate: 0 -1px;
|
||
transition-property: rotate, translate;
|
||
transition-duration: 0.2s;
|
||
content: "";
|
||
transform-origin: 50% 50%;
|
||
box-shadow: 2px 2px inset;
|
||
pointer-events: none;
|
||
}
|
||
}
|
||
:where(li > details[open] > summary):after, :where(li > .menu-dropdown-toggle.menu-dropdown-show):after {
|
||
rotate: 45deg;
|
||
translate: 0 1px;
|
||
}
|
||
:where( li:not(.menu-title, .disabled) > *:not(ul, details, .menu-title), li:not(.menu-title, .disabled) > details > summary:not(.menu-title) ):not(.menu-active, :active, .btn) {
|
||
&.menu-focus, &:focus-visible {
|
||
cursor: pointer;
|
||
background-color: var(--color-base-content);
|
||
@supports (color: color-mix(in lab, red, red)) {
|
||
background-color: color-mix(in oklab, var(--color-base-content) 10%, transparent);
|
||
}
|
||
color: var(--color-base-content);
|
||
--tw-outline-style: none;
|
||
outline-style: none;
|
||
@media (forced-colors: active) {
|
||
outline: 2px solid transparent;
|
||
outline-offset: 2px;
|
||
}
|
||
}
|
||
}
|
||
:where( li:not(.menu-title, .disabled) > *:not(ul, details, .menu-title):not(.menu-active, :active, .btn):hover, li:not(.menu-title, .disabled) > details > summary:not(.menu-title):not(.menu-active, :active, .btn):hover ) {
|
||
cursor: pointer;
|
||
background-color: 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;
|
||
}
|
||
box-shadow: 0 1px oklch(0% 0 0 / 0.01) inset, 0 -1px oklch(100% 0 0 / 0.01) inset;
|
||
}
|
||
:where(li:empty) {
|
||
background-color: var(--color-base-content);
|
||
opacity: 10%;
|
||
margin: 0.5rem 1rem;
|
||
height: 1px;
|
||
}
|
||
:where(li) {
|
||
position: relative;
|
||
display: flex;
|
||
flex-shrink: 0;
|
||
flex-direction: column;
|
||
flex-wrap: wrap;
|
||
align-items: stretch;
|
||
.badge {
|
||
justify-self: flex-end;
|
||
}
|
||
& > *:not(ul, .menu-title, details, .btn):active, & > *:not(ul, .menu-title, details, .btn).menu-active, & > details > summary:active {
|
||
--tw-outline-style: none;
|
||
outline-style: none;
|
||
@media (forced-colors: active) {
|
||
outline: 2px solid transparent;
|
||
outline-offset: 2px;
|
||
}
|
||
color: var(--menu-active-fg);
|
||
background-color: var(--menu-active-bg);
|
||
background-size: auto, calc(var(--noise) * 100%);
|
||
background-image: none, var(--fx-noise);
|
||
&:not(&:active) {
|
||
box-shadow: 0 2px calc(var(--depth) * 3px) -2px var(--menu-active-bg);
|
||
}
|
||
}
|
||
&.menu-disabled {
|
||
pointer-events: none;
|
||
color: var(--color-base-content);
|
||
@supports (color: color-mix(in lab, red, red)) {
|
||
color: color-mix(in oklab, var(--color-base-content) 20%, transparent);
|
||
}
|
||
}
|
||
}
|
||
.dropdown:focus-within {
|
||
.menu-dropdown-toggle:after {
|
||
rotate: 45deg;
|
||
translate: 0 1px;
|
||
}
|
||
}
|
||
.dropdown-content {
|
||
margin-top: calc(0.25rem * 2);
|
||
padding: calc(0.25rem * 2);
|
||
&:before {
|
||
display: none;
|
||
}
|
||
}
|
||
}
|
||
.dropdown {
|
||
position: relative;
|
||
display: inline-block;
|
||
position-area: var(--anchor-v, bottom) var(--anchor-h, span-right);
|
||
& > *:not(summary):focus {
|
||
--tw-outline-style: none;
|
||
outline-style: none;
|
||
@media (forced-colors: active) {
|
||
outline: 2px solid transparent;
|
||
outline-offset: 2px;
|
||
}
|
||
}
|
||
.dropdown-content {
|
||
position: absolute;
|
||
}
|
||
&:not(details, .dropdown-open, .dropdown-hover:hover, :focus-within) {
|
||
.dropdown-content {
|
||
display: none;
|
||
transform-origin: top;
|
||
opacity: 0%;
|
||
scale: 95%;
|
||
}
|
||
}
|
||
&[popover], .dropdown-content {
|
||
z-index: 999;
|
||
animation: dropdown 0.2s;
|
||
transition-property: opacity, scale, display;
|
||
transition-behavior: allow-discrete;
|
||
transition-duration: 0.2s;
|
||
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
||
}
|
||
@starting-style {
|
||
&[popover], .dropdown-content {
|
||
scale: 95%;
|
||
opacity: 0;
|
||
}
|
||
}
|
||
&.dropdown-open, &:not(.dropdown-hover):focus, &:focus-within {
|
||
> [tabindex]:first-child {
|
||
pointer-events: none;
|
||
}
|
||
.dropdown-content {
|
||
opacity: 100%;
|
||
}
|
||
}
|
||
&.dropdown-hover:hover {
|
||
.dropdown-content {
|
||
opacity: 100%;
|
||
scale: 100%;
|
||
}
|
||
}
|
||
&:is(details) {
|
||
summary {
|
||
&::-webkit-details-marker {
|
||
display: none;
|
||
}
|
||
}
|
||
}
|
||
&.dropdown-open, &:focus, &:focus-within {
|
||
.dropdown-content {
|
||
scale: 100%;
|
||
}
|
||
}
|
||
&:where([popover]) {
|
||
background: #0000;
|
||
}
|
||
&[popover] {
|
||
position: fixed;
|
||
color: inherit;
|
||
@supports not (position-area: bottom) {
|
||
margin: auto;
|
||
&.dropdown-open:not(:popover-open) {
|
||
display: none;
|
||
transform-origin: top;
|
||
opacity: 0%;
|
||
scale: 95%;
|
||
}
|
||
&::backdrop {
|
||
background-color: color-mix(in oklab, #000 30%, #0000);
|
||
}
|
||
}
|
||
&:not(.dropdown-open, :popover-open) {
|
||
display: none;
|
||
transform-origin: top;
|
||
opacity: 0%;
|
||
scale: 95%;
|
||
}
|
||
}
|
||
}
|
||
.btn {
|
||
:where(&) {
|
||
width: unset;
|
||
}
|
||
display: inline-flex;
|
||
flex-shrink: 0;
|
||
cursor: pointer;
|
||
flex-wrap: nowrap;
|
||
align-items: center;
|
||
justify-content: center;
|
||
gap: calc(0.25rem * 1.5);
|
||
text-align: center;
|
||
vertical-align: middle;
|
||
outline-offset: 2px;
|
||
webkit-user-select: none;
|
||
user-select: none;
|
||
padding-inline: var(--btn-p);
|
||
color: var(--btn-fg);
|
||
--tw-prose-links: var(--btn-fg);
|
||
height: var(--size);
|
||
font-size: var(--fontsize, 0.875rem);
|
||
font-weight: 600;
|
||
outline-color: var(--btn-color, var(--color-base-content));
|
||
transition-property: color, background-color, border-color, box-shadow;
|
||
transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
||
transition-duration: 0.2s;
|
||
border-start-start-radius: var(--join-ss, var(--radius-field));
|
||
border-start-end-radius: var(--join-se, var(--radius-field));
|
||
border-end-start-radius: var(--join-es, var(--radius-field));
|
||
border-end-end-radius: var(--join-ee, var(--radius-field));
|
||
background-color: var(--btn-bg);
|
||
background-size: auto, calc(var(--noise) * 100%);
|
||
background-image: none, var(--btn-noise);
|
||
border-width: var(--border);
|
||
border-style: solid;
|
||
border-color: var(--btn-border);
|
||
text-shadow: 0 0.5px oklch(100% 0 0 / calc(var(--depth) * 0.15));
|
||
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);
|
||
.prose & {
|
||
text-decoration-line: none;
|
||
}
|
||
@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 {
|
||
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(:disabled, [disabled], .btn-disabled) {
|
||
&: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);
|
||
}
|
||
@media (hover: hover) {
|
||
&:hover {
|
||
pointer-events: none;
|
||
background-color: var(--color-neutral);
|
||
@supports (color: color-mix(in lab, red, red)) {
|
||
background-color: color-mix(in oklab, var(--color-neutral) 20%, transparent);
|
||
}
|
||
--btn-border: #0000;
|
||
--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);
|
||
}
|
||
}
|
||
}
|
||
}
|
||
&:is(input[type="checkbox"], input[type="radio"]) {
|
||
appearance: none;
|
||
&::after {
|
||
content: attr(aria-label);
|
||
}
|
||
}
|
||
&:where(input:checked:not(.filter .btn)) {
|
||
--btn-color: var(--color-primary);
|
||
--btn-fg: var(--color-primary-content);
|
||
isolation: isolate;
|
||
}
|
||
}
|
||
.list {
|
||
display: flex;
|
||
flex-direction: column;
|
||
font-size: 0.875rem;
|
||
:where(.list-row) {
|
||
--list-grid-cols: minmax(0, auto) 1fr;
|
||
position: relative;
|
||
display: grid;
|
||
grid-auto-flow: column;
|
||
gap: calc(0.25rem * 4);
|
||
border-radius: var(--radius-box);
|
||
padding: calc(0.25rem * 4);
|
||
word-break: break-word;
|
||
grid-template-columns: var(--list-grid-cols);
|
||
&:has(.list-col-grow:nth-child(1)) {
|
||
--list-grid-cols: 1fr;
|
||
}
|
||
&:has(.list-col-grow:nth-child(2)) {
|
||
--list-grid-cols: minmax(0, auto) 1fr;
|
||
}
|
||
&:has(.list-col-grow:nth-child(3)) {
|
||
--list-grid-cols: minmax(0, auto) minmax(0, auto) 1fr;
|
||
}
|
||
&:has(.list-col-grow:nth-child(4)) {
|
||
--list-grid-cols: minmax(0, auto) minmax(0, auto) minmax(0, auto) 1fr;
|
||
}
|
||
&:has(.list-col-grow:nth-child(5)) {
|
||
--list-grid-cols: minmax(0, auto) minmax(0, auto) minmax(0, auto) minmax(0, auto) 1fr;
|
||
}
|
||
&:has(.list-col-grow:nth-child(6)) {
|
||
--list-grid-cols: minmax(0, auto) minmax(0, auto) minmax(0, auto) minmax(0, auto)
|
||
minmax(0, auto) 1fr;
|
||
}
|
||
:not(.list-col-wrap) {
|
||
grid-row-start: 1;
|
||
}
|
||
}
|
||
& > :not(:last-child) {
|
||
&.list-row, .list-row {
|
||
&:after {
|
||
content: "";
|
||
border-bottom: var(--border) solid;
|
||
inset-inline: var(--radius-box);
|
||
position: absolute;
|
||
bottom: calc(0.25rem * 0);
|
||
border-color: var(--color-base-content);
|
||
@supports (color: color-mix(in lab, red, red)) {
|
||
border-color: color-mix(in oklab, var(--color-base-content) 5%, transparent);
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
.toast {
|
||
position: fixed;
|
||
inset-inline-start: auto;
|
||
inset-inline-end: calc(0.25rem * 4);
|
||
top: auto;
|
||
bottom: calc(0.25rem * 4);
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: calc(0.25rem * 2);
|
||
background-color: transparent;
|
||
translate: var(--toast-x, 0) var(--toast-y, 0);
|
||
width: max-content;
|
||
max-width: calc(100vw - 2rem);
|
||
& > * {
|
||
animation: toast 0.25s ease-out;
|
||
}
|
||
&:where(.toast-start) {
|
||
inset-inline-start: calc(0.25rem * 4);
|
||
inset-inline-end: auto;
|
||
--toast-x: 0;
|
||
}
|
||
&:where(.toast-center) {
|
||
inset-inline-start: calc(1/2 * 100%);
|
||
inset-inline-end: calc(1/2 * 100%);
|
||
--toast-x: -50%;
|
||
}
|
||
&:where(.toast-end) {
|
||
inset-inline-start: auto;
|
||
inset-inline-end: calc(0.25rem * 4);
|
||
--toast-x: 0;
|
||
}
|
||
&:where(.toast-bottom) {
|
||
top: auto;
|
||
bottom: calc(0.25rem * 4);
|
||
--toast-y: 0;
|
||
}
|
||
&:where(.toast-middle) {
|
||
top: calc(1/2 * 100%);
|
||
bottom: auto;
|
||
--toast-y: -50%;
|
||
}
|
||
&:where(.toast-top) {
|
||
top: calc(0.25rem * 4);
|
||
bottom: auto;
|
||
--toast-y: 0;
|
||
}
|
||
}
|
||
.input {
|
||
cursor: text;
|
||
border: var(--border) solid #0000;
|
||
position: relative;
|
||
display: inline-flex;
|
||
flex-shrink: 1;
|
||
appearance: none;
|
||
align-items: center;
|
||
gap: calc(0.25rem * 2);
|
||
background-color: var(--color-base-100);
|
||
padding-inline: calc(0.25rem * 3);
|
||
vertical-align: middle;
|
||
white-space: nowrap;
|
||
width: clamp(3rem, 20rem, 100%);
|
||
height: var(--size);
|
||
font-size: 0.875rem;
|
||
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-block;
|
||
}
|
||
&: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(> input[disabled]), &:is(:disabled, [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;
|
||
}
|
||
}
|
||
.table {
|
||
font-size: 0.875rem;
|
||
position: relative;
|
||
width: 100%;
|
||
border-radius: var(--radius-box);
|
||
text-align: left;
|
||
&:where(:dir(rtl), [dir="rtl"], [dir="rtl"] *) {
|
||
text-align: right;
|
||
}
|
||
tr.row-hover {
|
||
&, &:nth-child(even) {
|
||
&:hover {
|
||
@media (hover: hover) {
|
||
background-color: var(--color-base-200);
|
||
}
|
||
}
|
||
}
|
||
}
|
||
:where(th, td) {
|
||
padding-inline: calc(0.25rem * 4);
|
||
padding-block: calc(0.25rem * 3);
|
||
vertical-align: middle;
|
||
}
|
||
:where(thead, tfoot) {
|
||
white-space: nowrap;
|
||
color: var(--color-base-content);
|
||
@supports (color: color-mix(in lab, red, red)) {
|
||
color: color-mix(in oklab, var(--color-base-content) 60%, transparent);
|
||
}
|
||
font-size: 0.875rem;
|
||
font-weight: 600;
|
||
}
|
||
:where(tfoot) {
|
||
border-top: var(--border) solid var(--color-base-content);
|
||
@supports (color: color-mix(in lab, red, red)) {
|
||
border-top: var(--border) solid color-mix(in oklch, var(--color-base-content) 5%, #0000);
|
||
}
|
||
}
|
||
:where(.table-pin-rows thead tr) {
|
||
position: sticky;
|
||
top: calc(0.25rem * 0);
|
||
z-index: 1;
|
||
background-color: var(--color-base-100);
|
||
}
|
||
:where(.table-pin-rows tfoot tr) {
|
||
position: sticky;
|
||
bottom: calc(0.25rem * 0);
|
||
z-index: 1;
|
||
background-color: var(--color-base-100);
|
||
}
|
||
:where(.table-pin-cols tr th) {
|
||
position: sticky;
|
||
right: calc(0.25rem * 0);
|
||
left: calc(0.25rem * 0);
|
||
background-color: var(--color-base-100);
|
||
}
|
||
:where(thead tr, tbody tr:not(:last-child)) {
|
||
border-bottom: var(--border) solid var(--color-base-content);
|
||
@supports (color: color-mix(in lab, red, red)) {
|
||
border-bottom: var(--border) solid color-mix(in oklch, var(--color-base-content) 5%, #0000);
|
||
}
|
||
}
|
||
}
|
||
.select {
|
||
border: var(--border) solid #0000;
|
||
position: relative;
|
||
display: inline-flex;
|
||
flex-shrink: 1;
|
||
appearance: none;
|
||
align-items: center;
|
||
gap: calc(0.25rem * 1.5);
|
||
background-color: var(--color-base-100);
|
||
padding-inline-start: calc(0.25rem * 4);
|
||
padding-inline-end: calc(0.25rem * 7);
|
||
vertical-align: middle;
|
||
width: clamp(3rem, 20rem, 100%);
|
||
height: var(--size);
|
||
font-size: 0.875rem;
|
||
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;
|
||
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%);
|
||
}
|
||
select {
|
||
margin-inline-start: calc(0.25rem * -4);
|
||
margin-inline-end: calc(0.25rem * -7);
|
||
width: calc(100% + 2.75rem);
|
||
appearance: none;
|
||
padding-inline-start: calc(0.25rem * 4);
|
||
padding-inline-end: calc(0.25rem * 7);
|
||
height: calc(100% - 2px);
|
||
background: inherit;
|
||
border-radius: inherit;
|
||
border-style: none;
|
||
&:focus, &:focus-within {
|
||
--tw-outline-style: none;
|
||
outline-style: none;
|
||
@media (forced-colors: active) {
|
||
outline: 2px solid transparent;
|
||
outline-offset: 2px;
|
||
}
|
||
}
|
||
&:not(:last-child) {
|
||
margin-inline-end: calc(0.25rem * -5.5);
|
||
background-image: none;
|
||
}
|
||
}
|
||
&:focus, &:focus-within {
|
||
--input-color: var(--color-base-content);
|
||
box-shadow: 0 1px 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]) {
|
||
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;
|
||
}
|
||
}
|
||
.card {
|
||
position: relative;
|
||
display: flex;
|
||
flex-direction: column;
|
||
border-radius: var(--radius-box);
|
||
outline-width: 2px;
|
||
transition: outline 0.2s ease-in-out;
|
||
outline: 0 solid #0000;
|
||
outline-offset: 2px;
|
||
&:focus {
|
||
--tw-outline-style: none;
|
||
outline-style: none;
|
||
@media (forced-colors: active) {
|
||
outline: 2px solid transparent;
|
||
outline-offset: 2px;
|
||
}
|
||
}
|
||
&:focus-visible {
|
||
outline-color: currentColor;
|
||
}
|
||
:where(figure:first-child) {
|
||
overflow: hidden;
|
||
border-start-start-radius: inherit;
|
||
border-start-end-radius: inherit;
|
||
border-end-start-radius: unset;
|
||
border-end-end-radius: unset;
|
||
}
|
||
:where(figure:last-child) {
|
||
overflow: hidden;
|
||
border-start-start-radius: unset;
|
||
border-start-end-radius: unset;
|
||
border-end-start-radius: inherit;
|
||
border-end-end-radius: inherit;
|
||
}
|
||
&:where(.card-border) {
|
||
border: var(--border) solid var(--color-base-200);
|
||
}
|
||
&:where(.card-dash) {
|
||
border: var(--border) dashed var(--color-base-200);
|
||
}
|
||
&.image-full {
|
||
display: grid;
|
||
> * {
|
||
grid-column-start: 1;
|
||
grid-row-start: 1;
|
||
}
|
||
> .card-body {
|
||
position: relative;
|
||
color: var(--color-neutral-content);
|
||
}
|
||
:where(figure) {
|
||
overflow: hidden;
|
||
border-radius: inherit;
|
||
}
|
||
> figure img {
|
||
height: 100%;
|
||
object-fit: cover;
|
||
filter: brightness(28%);
|
||
}
|
||
}
|
||
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;
|
||
}
|
||
}
|
||
.checkbox {
|
||
border: var(--border) solid var(--input-color, var(--color-base-content));
|
||
@supports (color: color-mix(in lab, red, red)) {
|
||
border: var(--border) solid var(--input-color, color-mix(in oklab, var(--color-base-content) 20%, #0000));
|
||
}
|
||
position: relative;
|
||
flex-shrink: 0;
|
||
cursor: pointer;
|
||
appearance: none;
|
||
border-radius: var(--radius-selector);
|
||
padding: calc(0.25rem * 1);
|
||
vertical-align: middle;
|
||
color: var(--color-base-content);
|
||
box-shadow: 0 1px oklch(0% 0 0 / calc(var(--depth) * 0.1)) inset, 0 0 #0000 inset, 0 0 #0000;
|
||
transition: background-color 0.2s, box-shadow 0.2s;
|
||
--size: calc(var(--size-selector, 0.25rem) * 6);
|
||
width: var(--size);
|
||
height: var(--size);
|
||
background-size: auto, calc(var(--noise) * 100%);
|
||
background-image: none, var(--fx-noise);
|
||
&:before {
|
||
--tw-content: "";
|
||
content: var(--tw-content);
|
||
display: block;
|
||
width: 100%;
|
||
height: 100%;
|
||
rotate: 45deg;
|
||
background-color: currentColor;
|
||
opacity: 0%;
|
||
transition: clip-path 0.3s, opacity 0.1s, rotate 0.3s, translate 0.3s;
|
||
transition-delay: 0.1s;
|
||
clip-path: polygon(20% 100%, 20% 80%, 50% 80%, 50% 80%, 70% 80%, 70% 100%);
|
||
box-shadow: 0px 3px 0 0px oklch(100% 0 0 / calc(var(--depth) * 0.1)) inset;
|
||
font-size: 1rem;
|
||
line-height: 0.75;
|
||
}
|
||
&:focus-visible {
|
||
outline: 2px solid var(--input-color, currentColor);
|
||
outline-offset: 2px;
|
||
}
|
||
&:checked, &[aria-checked="true"] {
|
||
background-color: var(--input-color, #0000);
|
||
box-shadow: 0 0 #0000 inset, 0 8px 0 -4px oklch(100% 0 0 / calc(var(--depth) * 0.1)) inset, 0 1px oklch(0% 0 0 / calc(var(--depth) * 0.1));
|
||
&:before {
|
||
clip-path: polygon(20% 100%, 20% 80%, 50% 80%, 50% 0%, 70% 0%, 70% 100%);
|
||
opacity: 100%;
|
||
}
|
||
@media (forced-colors: active) {
|
||
&:before {
|
||
rotate: 0deg;
|
||
background-color: transparent;
|
||
--tw-content: "✔︎";
|
||
clip-path: none;
|
||
}
|
||
}
|
||
@media print {
|
||
&:before {
|
||
rotate: 0deg;
|
||
background-color: transparent;
|
||
--tw-content: "✔︎";
|
||
clip-path: none;
|
||
}
|
||
}
|
||
}
|
||
&:indeterminate {
|
||
&:before {
|
||
rotate: 0deg;
|
||
opacity: 100%;
|
||
translate: 0 -35%;
|
||
clip-path: polygon(20% 100%, 20% 80%, 50% 80%, 50% 80%, 80% 80%, 80% 100%);
|
||
}
|
||
}
|
||
&:disabled {
|
||
cursor: not-allowed;
|
||
opacity: 20%;
|
||
}
|
||
}
|
||
.radio {
|
||
position: relative;
|
||
flex-shrink: 0;
|
||
cursor: pointer;
|
||
appearance: none;
|
||
border-radius: calc(infinity * 1px);
|
||
padding: calc(0.25rem * 1);
|
||
vertical-align: middle;
|
||
border: var(--border) solid var(--input-color, currentColor);
|
||
@supports (color: color-mix(in lab, red, red)) {
|
||
border: var(--border) solid var(--input-color, color-mix(in srgb, currentColor 20%, #0000));
|
||
}
|
||
box-shadow: 0 1px oklch(0% 0 0 / calc(var(--depth) * 0.1)) inset;
|
||
--size: calc(var(--size-selector, 0.25rem) * 6);
|
||
width: var(--size);
|
||
height: var(--size);
|
||
color: var(--input-color, currentColor);
|
||
&:before {
|
||
display: block;
|
||
width: 100%;
|
||
height: 100%;
|
||
border-radius: calc(infinity * 1px);
|
||
--tw-content: "";
|
||
content: var(--tw-content);
|
||
background-size: auto, calc(var(--noise) * 100%);
|
||
background-image: none, var(--fx-noise);
|
||
}
|
||
&:focus-visible {
|
||
outline: 2px solid currentColor;
|
||
}
|
||
&:checked, &[aria-checked="true"] {
|
||
animation: radio 0.2s ease-out;
|
||
border-color: currentColor;
|
||
background-color: var(--color-base-100);
|
||
&:before {
|
||
background-color: currentColor;
|
||
box-shadow: 0 -1px oklch(0% 0 0 / calc(var(--depth) * 0.1)) inset, 0 8px 0 -4px oklch(100% 0 0 / calc(var(--depth) * 0.1)) inset, 0 1px oklch(0% 0 0 / calc(var(--depth) * 0.1));
|
||
}
|
||
@media (forced-colors: active) {
|
||
&:before {
|
||
outline-style: var(--tw-outline-style);
|
||
outline-width: 1px;
|
||
outline-offset: calc(1px * -1);
|
||
}
|
||
}
|
||
@media print {
|
||
&:before {
|
||
outline: 0.25rem solid;
|
||
outline-offset: -1rem;
|
||
}
|
||
}
|
||
}
|
||
&:disabled {
|
||
cursor: not-allowed;
|
||
opacity: 20%;
|
||
}
|
||
}
|
||
.rating {
|
||
position: relative;
|
||
display: inline-flex;
|
||
vertical-align: middle;
|
||
& input {
|
||
border: none;
|
||
appearance: none;
|
||
}
|
||
:where(*) {
|
||
animation: rating 0.25s ease-out;
|
||
height: calc(0.25rem * 6);
|
||
width: calc(0.25rem * 6);
|
||
border-radius: 0;
|
||
background-color: var(--color-base-content);
|
||
opacity: 20%;
|
||
&:is(input) {
|
||
cursor: pointer;
|
||
}
|
||
}
|
||
& .rating-hidden {
|
||
width: calc(0.25rem * 2);
|
||
background-color: transparent;
|
||
}
|
||
input[type="radio"]:checked {
|
||
background-image: none;
|
||
}
|
||
* {
|
||
&:checked, &[aria-checked="true"], &[aria-current="true"], &:has(~ *:checked, ~ *[aria-checked="true"], ~ *[aria-current="true"]) {
|
||
opacity: 100%;
|
||
}
|
||
&:focus-visible {
|
||
transition: scale 0.2s ease-out;
|
||
scale: 1.1;
|
||
}
|
||
}
|
||
& *:active:focus {
|
||
animation: none;
|
||
scale: 1.1;
|
||
}
|
||
&.rating-xs :where(*:not(.rating-hidden)) {
|
||
width: calc(0.25rem * 4);
|
||
height: calc(0.25rem * 4);
|
||
}
|
||
&.rating-sm :where(*:not(.rating-hidden)) {
|
||
width: calc(0.25rem * 5);
|
||
height: calc(0.25rem * 5);
|
||
}
|
||
&.rating-md :where(*:not(.rating-hidden)) {
|
||
width: calc(0.25rem * 6);
|
||
height: calc(0.25rem * 6);
|
||
}
|
||
&.rating-lg :where(*:not(.rating-hidden)) {
|
||
width: calc(0.25rem * 7);
|
||
height: calc(0.25rem * 7);
|
||
}
|
||
&.rating-xl :where(*:not(.rating-hidden)) {
|
||
width: calc(0.25rem * 8);
|
||
height: calc(0.25rem * 8);
|
||
}
|
||
}
|
||
.progress {
|
||
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%;
|
||
animation: progress 5s ease-in-out infinite;
|
||
@supports (-moz-appearance: none) {
|
||
&::-moz-progress-bar {
|
||
background-color: transparent;
|
||
background-image: repeating-linear-gradient( 90deg, currentColor -1%, currentColor 10%, #0000 10%, #0000 90% );
|
||
background-size: 200%;
|
||
background-position-x: 15%;
|
||
animation: progress 5s ease-in-out infinite;
|
||
}
|
||
}
|
||
}
|
||
@supports (-moz-appearance: none) {
|
||
&::-moz-progress-bar {
|
||
border-radius: var(--radius-box);
|
||
background-color: currentColor;
|
||
}
|
||
}
|
||
@supports (-webkit-appearance: none) {
|
||
&::-webkit-progress-bar {
|
||
border-radius: var(--radius-box);
|
||
background-color: transparent;
|
||
}
|
||
&::-webkit-progress-value {
|
||
border-radius: var(--radius-box);
|
||
background-color: currentColor;
|
||
}
|
||
}
|
||
}
|
||
.static {
|
||
position: static;
|
||
}
|
||
.textarea {
|
||
border: var(--border) solid #0000;
|
||
min-height: calc(0.25rem * 20);
|
||
flex-shrink: 1;
|
||
appearance: none;
|
||
border-radius: var(--radius-field);
|
||
background-color: var(--color-base-100);
|
||
padding-block: calc(0.25rem * 2);
|
||
vertical-align: middle;
|
||
width: clamp(3rem, 20rem, 100%);
|
||
padding-inline-start: 0.75rem;
|
||
padding-inline-end: 0.75rem;
|
||
font-size: 0.875rem;
|
||
touch-action: manipulation;
|
||
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;
|
||
}
|
||
--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);
|
||
}
|
||
textarea {
|
||
appearance: none;
|
||
background-color: transparent;
|
||
border: none;
|
||
&:focus, &:focus-within {
|
||
--tw-outline-style: none;
|
||
outline-style: none;
|
||
@media (forced-colors: active) {
|
||
outline: 2px solid transparent;
|
||
outline-offset: 2px;
|
||
}
|
||
}
|
||
}
|
||
&:focus, &:focus-within {
|
||
--input-color: var(--color-base-content);
|
||
box-shadow: 0 1px 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;
|
||
}
|
||
&:has(> textarea[disabled]), &:is(:disabled, [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(> textarea[disabled]) > textarea[disabled] {
|
||
cursor: not-allowed;
|
||
}
|
||
}
|
||
.stack {
|
||
display: inline-grid;
|
||
grid-template-columns: 3px 4px 1fr 4px 3px;
|
||
grid-template-rows: 3px 4px 1fr 4px 3px;
|
||
& > * {
|
||
height: 100%;
|
||
width: 100%;
|
||
&:nth-child(n + 2) {
|
||
width: 100%;
|
||
opacity: 70%;
|
||
}
|
||
&:nth-child(2) {
|
||
z-index: 2;
|
||
opacity: 90%;
|
||
}
|
||
&:nth-child(1) {
|
||
z-index: 3;
|
||
width: 100%;
|
||
}
|
||
}
|
||
&, &.stack-bottom {
|
||
> * {
|
||
grid-column: 3 / 4;
|
||
grid-row: 3 / 6;
|
||
&:nth-child(2) {
|
||
grid-column: 2 / 5;
|
||
grid-row: 2 / 5;
|
||
}
|
||
&:nth-child(1) {
|
||
grid-column: 1 / 6;
|
||
grid-row: 1 / 4;
|
||
}
|
||
}
|
||
}
|
||
&.stack-top {
|
||
> * {
|
||
grid-column: 3 / 4;
|
||
grid-row: 1 / 4;
|
||
&:nth-child(2) {
|
||
grid-column: 2 / 5;
|
||
grid-row: 2 / 5;
|
||
}
|
||
&:nth-child(1) {
|
||
grid-column: 1 / 6;
|
||
grid-row: 3 / 6;
|
||
}
|
||
}
|
||
}
|
||
&.stack-start {
|
||
> * {
|
||
grid-column: 1 / 4;
|
||
grid-row: 3 / 4;
|
||
&:nth-child(2) {
|
||
grid-column: 2 / 5;
|
||
grid-row: 2 / 5;
|
||
}
|
||
&:nth-child(1) {
|
||
grid-column: 3 / 6;
|
||
grid-row: 1 / 6;
|
||
}
|
||
}
|
||
}
|
||
&.stack-end {
|
||
> * {
|
||
grid-column: 3 / 6;
|
||
grid-row: 3 / 4;
|
||
&:nth-child(2) {
|
||
grid-column: 2 / 5;
|
||
grid-row: 2 / 5;
|
||
}
|
||
&:nth-child(1) {
|
||
grid-column: 1 / 4;
|
||
grid-row: 1 / 6;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
.drawer-content {
|
||
grid-column-start: 2;
|
||
grid-row-start: 1;
|
||
min-width: calc(0.25rem * 0);
|
||
}
|
||
.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;
|
||
}
|
||
}
|
||
.m-0 {
|
||
margin: calc(var(--spacing) * 0);
|
||
}
|
||
.filter {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
input[type="radio"] {
|
||
width: auto;
|
||
}
|
||
input {
|
||
overflow: hidden;
|
||
opacity: 100%;
|
||
scale: 1;
|
||
transition: margin 0.1s, opacity 0.3s, padding 0.3s, border-width 0.1s;
|
||
&:not(:last-child) {
|
||
margin-inline-end: calc(0.25rem * 1);
|
||
}
|
||
&.filter-reset {
|
||
aspect-ratio: 1 / 1;
|
||
&::after {
|
||
content: "×";
|
||
}
|
||
}
|
||
}
|
||
&:not(:has(input:checked:not(.filter-reset))) {
|
||
.filter-reset, input[type="reset"] {
|
||
scale: 0;
|
||
border-width: 0;
|
||
margin-inline: calc(0.25rem * 0);
|
||
width: calc(0.25rem * 0);
|
||
padding-inline: calc(0.25rem * 0);
|
||
opacity: 0%;
|
||
}
|
||
}
|
||
&:has(input:checked:not(.filter-reset)) {
|
||
input:not(:checked, .filter-reset, input[type="reset"]) {
|
||
scale: 0;
|
||
border-width: 0;
|
||
margin-inline: calc(0.25rem * 0);
|
||
width: calc(0.25rem * 0);
|
||
padding-inline: calc(0.25rem * 0);
|
||
opacity: 0%;
|
||
}
|
||
}
|
||
}
|
||
.mx-auto {
|
||
margin-inline: auto;
|
||
}
|
||
.label {
|
||
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);
|
||
}
|
||
}
|
||
}
|
||
}
|
||
.prose {
|
||
color: var(--tw-prose-body);
|
||
max-width: 65ch;
|
||
:where(p):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
margin-top: 1.25em;
|
||
margin-bottom: 1.25em;
|
||
}
|
||
:where([class~="lead"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
color: var(--tw-prose-lead);
|
||
font-size: 1.25em;
|
||
line-height: 1.6;
|
||
margin-top: 1.2em;
|
||
margin-bottom: 1.2em;
|
||
}
|
||
:where(a):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
color: var(--tw-prose-links);
|
||
text-decoration: underline;
|
||
font-weight: 500;
|
||
}
|
||
:where(strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
color: var(--tw-prose-bold);
|
||
font-weight: 600;
|
||
}
|
||
:where(a strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
color: inherit;
|
||
}
|
||
:where(blockquote strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
color: inherit;
|
||
}
|
||
:where(thead th strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
color: inherit;
|
||
}
|
||
:where(ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
list-style-type: decimal;
|
||
margin-top: 1.25em;
|
||
margin-bottom: 1.25em;
|
||
padding-inline-start: 1.625em;
|
||
}
|
||
:where(ol[type="A"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
list-style-type: upper-alpha;
|
||
}
|
||
:where(ol[type="a"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
list-style-type: lower-alpha;
|
||
}
|
||
:where(ol[type="A" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
list-style-type: upper-alpha;
|
||
}
|
||
:where(ol[type="a" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
list-style-type: lower-alpha;
|
||
}
|
||
:where(ol[type="I"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
list-style-type: upper-roman;
|
||
}
|
||
:where(ol[type="i"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
list-style-type: lower-roman;
|
||
}
|
||
:where(ol[type="I" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
list-style-type: upper-roman;
|
||
}
|
||
:where(ol[type="i" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
list-style-type: lower-roman;
|
||
}
|
||
:where(ol[type="1"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
list-style-type: decimal;
|
||
}
|
||
:where(ul):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
list-style-type: disc;
|
||
margin-top: 1.25em;
|
||
margin-bottom: 1.25em;
|
||
padding-inline-start: 1.625em;
|
||
}
|
||
:where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *))::marker {
|
||
font-weight: 400;
|
||
color: var(--tw-prose-counters);
|
||
}
|
||
:where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *))::marker {
|
||
color: var(--tw-prose-bullets);
|
||
}
|
||
:where(dt):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
color: var(--tw-prose-headings);
|
||
font-weight: 600;
|
||
margin-top: 1.25em;
|
||
}
|
||
:where(hr):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
border-color: var(--tw-prose-hr);
|
||
border-top-width: 1;
|
||
margin-top: 3em;
|
||
margin-bottom: 3em;
|
||
}
|
||
:where(blockquote):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
font-weight: 500;
|
||
font-style: italic;
|
||
color: var(--tw-prose-quotes);
|
||
border-inline-start-width: 0.25rem;
|
||
border-inline-start-color: var(--tw-prose-quote-borders);
|
||
quotes: "\201C""\201D""\2018""\2019";
|
||
margin-top: 1.6em;
|
||
margin-bottom: 1.6em;
|
||
padding-inline-start: 1em;
|
||
}
|
||
:where(blockquote p:first-of-type):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
|
||
content: open-quote;
|
||
}
|
||
:where(blockquote p:last-of-type):not(:where([class~="not-prose"],[class~="not-prose"] *))::after {
|
||
content: close-quote;
|
||
}
|
||
:where(h1):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
color: var(--tw-prose-headings);
|
||
font-weight: 800;
|
||
font-size: 2.25em;
|
||
margin-top: 0;
|
||
margin-bottom: 0.8888889em;
|
||
line-height: 1.1111111;
|
||
}
|
||
:where(h1 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
font-weight: 900;
|
||
color: inherit;
|
||
}
|
||
:where(h2):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
color: var(--tw-prose-headings);
|
||
font-weight: 700;
|
||
font-size: 1.5em;
|
||
margin-top: 2em;
|
||
margin-bottom: 1em;
|
||
line-height: 1.3333333;
|
||
}
|
||
:where(h2 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
font-weight: 800;
|
||
color: inherit;
|
||
}
|
||
:where(h3):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
color: var(--tw-prose-headings);
|
||
font-weight: 600;
|
||
font-size: 1.25em;
|
||
margin-top: 1.6em;
|
||
margin-bottom: 0.6em;
|
||
line-height: 1.6;
|
||
}
|
||
:where(h3 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
font-weight: 700;
|
||
color: inherit;
|
||
}
|
||
:where(h4):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
color: var(--tw-prose-headings);
|
||
font-weight: 600;
|
||
margin-top: 1.5em;
|
||
margin-bottom: 0.5em;
|
||
line-height: 1.5;
|
||
}
|
||
:where(h4 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
font-weight: 700;
|
||
color: inherit;
|
||
}
|
||
:where(img):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
margin-top: 2em;
|
||
margin-bottom: 2em;
|
||
}
|
||
:where(picture):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
display: block;
|
||
margin-top: 2em;
|
||
margin-bottom: 2em;
|
||
}
|
||
:where(video):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
margin-top: 2em;
|
||
margin-bottom: 2em;
|
||
}
|
||
:where(kbd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
font-weight: 500;
|
||
font-family: inherit;
|
||
color: var(--tw-prose-kbd);
|
||
box-shadow: 0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%), 0 3px 0 rgb(var(--tw-prose-kbd-shadows) / 10%);
|
||
font-size: 0.875em;
|
||
border-radius: 0.3125rem;
|
||
padding-top: 0.1875em;
|
||
padding-inline-end: 0.375em;
|
||
padding-bottom: 0.1875em;
|
||
padding-inline-start: 0.375em;
|
||
}
|
||
:where(code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
color: var(--tw-prose-code);
|
||
font-weight: 600;
|
||
font-size: 0.875em;
|
||
}
|
||
:where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
|
||
content: "`";
|
||
}
|
||
:where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))::after {
|
||
content: "`";
|
||
}
|
||
:where(a code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
color: inherit;
|
||
}
|
||
:where(h1 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
color: inherit;
|
||
}
|
||
:where(h2 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
color: inherit;
|
||
font-size: 0.875em;
|
||
}
|
||
:where(h3 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
color: inherit;
|
||
font-size: 0.9em;
|
||
}
|
||
:where(h4 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
color: inherit;
|
||
}
|
||
:where(blockquote code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
color: inherit;
|
||
}
|
||
:where(thead th code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
color: inherit;
|
||
}
|
||
:where(pre):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
color: var(--tw-prose-pre-code);
|
||
background-color: var(--tw-prose-pre-bg);
|
||
overflow-x: auto;
|
||
font-weight: 400;
|
||
font-size: 0.875em;
|
||
line-height: 1.7142857;
|
||
margin-top: 1.7142857em;
|
||
margin-bottom: 1.7142857em;
|
||
border-radius: 0.375rem;
|
||
padding-top: 0.8571429em;
|
||
padding-inline-end: 1.1428571em;
|
||
padding-bottom: 0.8571429em;
|
||
padding-inline-start: 1.1428571em;
|
||
}
|
||
:where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
background-color: transparent;
|
||
border-width: 0;
|
||
border-radius: 0;
|
||
padding: 0;
|
||
font-weight: inherit;
|
||
color: inherit;
|
||
font-size: inherit;
|
||
font-family: inherit;
|
||
line-height: inherit;
|
||
}
|
||
:where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
|
||
content: none;
|
||
}
|
||
:where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *))::after {
|
||
content: none;
|
||
}
|
||
:where(table):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
width: 100%;
|
||
table-layout: auto;
|
||
margin-top: 2em;
|
||
margin-bottom: 2em;
|
||
font-size: 0.875em;
|
||
line-height: 1.7142857;
|
||
}
|
||
:where(thead):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
border-bottom-width: 1px;
|
||
border-bottom-color: var(--tw-prose-th-borders);
|
||
}
|
||
:where(thead th):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
color: var(--tw-prose-headings);
|
||
font-weight: 600;
|
||
vertical-align: bottom;
|
||
padding-inline-end: 0.5714286em;
|
||
padding-bottom: 0.5714286em;
|
||
padding-inline-start: 0.5714286em;
|
||
}
|
||
:where(tbody tr):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
border-bottom-width: 1px;
|
||
border-bottom-color: var(--tw-prose-td-borders);
|
||
}
|
||
:where(tbody tr:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
border-bottom-width: 0;
|
||
}
|
||
:where(tbody td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
vertical-align: baseline;
|
||
}
|
||
:where(tfoot):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
border-top-width: 1px;
|
||
border-top-color: var(--tw-prose-th-borders);
|
||
}
|
||
:where(tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
vertical-align: top;
|
||
}
|
||
:where(th, td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
text-align: start;
|
||
}
|
||
:where(figure > *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
margin-top: 0;
|
||
margin-bottom: 0;
|
||
}
|
||
:where(figcaption):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
color: var(--tw-prose-captions);
|
||
font-size: 0.875em;
|
||
line-height: 1.4285714;
|
||
margin-top: 0.8571429em;
|
||
}
|
||
--tw-prose-body: oklch(37.3% 0.034 259.733);
|
||
--tw-prose-headings: oklch(21% 0.034 264.665);
|
||
--tw-prose-lead: oklch(44.6% 0.03 256.802);
|
||
--tw-prose-links: oklch(21% 0.034 264.665);
|
||
--tw-prose-bold: oklch(21% 0.034 264.665);
|
||
--tw-prose-counters: oklch(55.1% 0.027 264.364);
|
||
--tw-prose-bullets: oklch(87.2% 0.01 258.338);
|
||
--tw-prose-hr: oklch(92.8% 0.006 264.531);
|
||
--tw-prose-quotes: oklch(21% 0.034 264.665);
|
||
--tw-prose-quote-borders: oklch(92.8% 0.006 264.531);
|
||
--tw-prose-captions: oklch(55.1% 0.027 264.364);
|
||
--tw-prose-kbd: oklch(21% 0.034 264.665);
|
||
--tw-prose-kbd-shadows: NaN NaN NaN;
|
||
--tw-prose-code: oklch(21% 0.034 264.665);
|
||
--tw-prose-pre-code: oklch(92.8% 0.006 264.531);
|
||
--tw-prose-pre-bg: oklch(27.8% 0.033 256.848);
|
||
--tw-prose-th-borders: oklch(87.2% 0.01 258.338);
|
||
--tw-prose-td-borders: oklch(92.8% 0.006 264.531);
|
||
--tw-prose-invert-body: oklch(87.2% 0.01 258.338);
|
||
--tw-prose-invert-headings: #fff;
|
||
--tw-prose-invert-lead: oklch(70.7% 0.022 261.325);
|
||
--tw-prose-invert-links: #fff;
|
||
--tw-prose-invert-bold: #fff;
|
||
--tw-prose-invert-counters: oklch(70.7% 0.022 261.325);
|
||
--tw-prose-invert-bullets: oklch(44.6% 0.03 256.802);
|
||
--tw-prose-invert-hr: oklch(37.3% 0.034 259.733);
|
||
--tw-prose-invert-quotes: oklch(96.7% 0.003 264.542);
|
||
--tw-prose-invert-quote-borders: oklch(37.3% 0.034 259.733);
|
||
--tw-prose-invert-captions: oklch(70.7% 0.022 261.325);
|
||
--tw-prose-invert-kbd: #fff;
|
||
--tw-prose-invert-kbd-shadows: 255 255 255;
|
||
--tw-prose-invert-code: #fff;
|
||
--tw-prose-invert-pre-code: oklch(87.2% 0.01 258.338);
|
||
--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);
|
||
--tw-prose-invert-th-borders: oklch(44.6% 0.03 256.802);
|
||
--tw-prose-invert-td-borders: oklch(37.3% 0.034 259.733);
|
||
font-size: 1rem;
|
||
line-height: 1.75;
|
||
:where(picture > img):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
margin-top: 0;
|
||
margin-bottom: 0;
|
||
}
|
||
:where(li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
margin-top: 0.5em;
|
||
margin-bottom: 0.5em;
|
||
}
|
||
:where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
padding-inline-start: 0.375em;
|
||
}
|
||
:where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
padding-inline-start: 0.375em;
|
||
}
|
||
:where(.prose > ul > li p):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
margin-top: 0.75em;
|
||
margin-bottom: 0.75em;
|
||
}
|
||
:where(.prose > ul > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
margin-top: 1.25em;
|
||
}
|
||
:where(.prose > ul > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
margin-bottom: 1.25em;
|
||
}
|
||
:where(.prose > ol > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
margin-top: 1.25em;
|
||
}
|
||
:where(.prose > ol > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
margin-bottom: 1.25em;
|
||
}
|
||
:where(ul ul, ul ol, ol ul, ol ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
margin-top: 0.75em;
|
||
margin-bottom: 0.75em;
|
||
}
|
||
:where(dl):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
margin-top: 1.25em;
|
||
margin-bottom: 1.25em;
|
||
}
|
||
:where(dd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
margin-top: 0.5em;
|
||
padding-inline-start: 1.625em;
|
||
}
|
||
:where(hr + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
margin-top: 0;
|
||
}
|
||
:where(h2 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
margin-top: 0;
|
||
}
|
||
:where(h3 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
margin-top: 0;
|
||
}
|
||
:where(h4 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
margin-top: 0;
|
||
}
|
||
:where(thead th:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
padding-inline-start: 0;
|
||
}
|
||
:where(thead th:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
padding-inline-end: 0;
|
||
}
|
||
:where(tbody td, tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
padding-top: 0.5714286em;
|
||
padding-inline-end: 0.5714286em;
|
||
padding-bottom: 0.5714286em;
|
||
padding-inline-start: 0.5714286em;
|
||
}
|
||
:where(tbody td:first-child, tfoot td:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
padding-inline-start: 0;
|
||
}
|
||
:where(tbody td:last-child, tfoot td:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
padding-inline-end: 0;
|
||
}
|
||
:where(figure):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
margin-top: 2em;
|
||
margin-bottom: 2em;
|
||
}
|
||
:where(.prose > :first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
margin-top: 0;
|
||
}
|
||
:where(.prose > :last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
||
margin-bottom: 0;
|
||
}
|
||
}
|
||
.mt-8 {
|
||
margin-top: calc(var(--spacing) * 8);
|
||
}
|
||
.mr-2 {
|
||
margin-right: calc(var(--spacing) * 2);
|
||
}
|
||
.fieldset-legend {
|
||
margin-bottom: calc(0.25rem * -1);
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
gap: calc(0.25rem * 2);
|
||
padding-block: calc(0.25rem * 2);
|
||
color: var(--color-base-content);
|
||
font-weight: 600;
|
||
}
|
||
.mb-4 {
|
||
margin-bottom: calc(var(--spacing) * 4);
|
||
}
|
||
.status {
|
||
display: inline-block;
|
||
aspect-ratio: 1 / 1;
|
||
width: calc(0.25rem * 2);
|
||
height: calc(0.25rem * 2);
|
||
border-radius: var(--radius-selector);
|
||
background-color: 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 srgb, oklch(0% 0 0) 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);
|
||
}
|
||
}
|
||
.badge {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
gap: calc(0.25rem * 2);
|
||
border-radius: var(--radius-selector);
|
||
vertical-align: middle;
|
||
color: var(--badge-fg);
|
||
border: var(--border) solid var(--badge-color, var(--color-base-200));
|
||
font-size: 0.875rem;
|
||
width: fit-content;
|
||
padding-inline: calc(0.25rem * 3 - var(--border));
|
||
background-size: auto, calc(var(--noise) * 100%);
|
||
background-image: none, var(--fx-noise);
|
||
background-color: var(--badge-bg);
|
||
--badge-bg: var(--badge-color, var(--color-base-100));
|
||
--badge-fg: var(--color-base-content);
|
||
--size: calc(var(--size-selector, 0.25rem) * 6);
|
||
height: var(--size);
|
||
&.badge-outline {
|
||
--badge-fg: var(--badge-color);
|
||
--badge-bg: #0000;
|
||
background-image: none;
|
||
border-color: currentColor;
|
||
}
|
||
&.badge-dash {
|
||
--badge-fg: var(--badge-color);
|
||
--badge-bg: #0000;
|
||
background-image: none;
|
||
border-color: currentColor;
|
||
border-style: dashed;
|
||
}
|
||
&.badge-soft {
|
||
color: var(--badge-color, var(--color-base-content));
|
||
background-color: var(--badge-color, var(--color-base-content));
|
||
@supports (color: color-mix(in lab, red, red)) {
|
||
background-color: color-mix( in oklab, var(--badge-color, var(--color-base-content)) 8%, var(--color-base-100) );
|
||
}
|
||
border-color: var(--badge-color, var(--color-base-content));
|
||
@supports (color: color-mix(in lab, red, red)) {
|
||
border-color: color-mix( in oklab, var(--badge-color, var(--color-base-content)) 10%, var(--color-base-100) );
|
||
}
|
||
background-image: none;
|
||
}
|
||
}
|
||
.footer {
|
||
display: grid;
|
||
width: 100%;
|
||
grid-auto-flow: row;
|
||
place-items: start;
|
||
column-gap: calc(0.25rem * 4);
|
||
row-gap: calc(0.25rem * 10);
|
||
font-size: 0.875rem;
|
||
line-height: 1.25rem;
|
||
& > * {
|
||
display: grid;
|
||
place-items: start;
|
||
gap: calc(0.25rem * 2);
|
||
}
|
||
&.footer-center {
|
||
grid-auto-flow: column dense;
|
||
place-items: center;
|
||
text-align: center;
|
||
& > * {
|
||
place-items: center;
|
||
}
|
||
}
|
||
}
|
||
.card-body {
|
||
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 {
|
||
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;
|
||
}
|
||
.card-actions {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
align-items: flex-start;
|
||
gap: calc(0.25rem * 2);
|
||
}
|
||
.card-title {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: calc(0.25rem * 2);
|
||
font-size: var(--cardtitle-fs, 1.125rem);
|
||
font-weight: 600;
|
||
}
|
||
.chat {
|
||
display: grid;
|
||
column-gap: calc(0.25rem * 3);
|
||
padding-block: calc(0.25rem * 1);
|
||
}
|
||
.prose {
|
||
:root & {
|
||
--tw-prose-body: var(--color-base-content);
|
||
@supports (color: color-mix(in lab, red, red)) {
|
||
--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: var(--color-base-content);
|
||
@supports (color: color-mix(in lab, red, red)) {
|
||
--tw-prose-bullets: color-mix(in oklab, var(--color-base-content) 50%, #0000);
|
||
}
|
||
--tw-prose-hr: var(--color-base-content);
|
||
@supports (color: color-mix(in lab, red, red)) {
|
||
--tw-prose-hr: color-mix(in oklab, var(--color-base-content) 20%, #0000);
|
||
}
|
||
--tw-prose-quotes: var(--color-base-content);
|
||
--tw-prose-quote-borders: var(--color-base-content);
|
||
@supports (color: color-mix(in lab, red, red)) {
|
||
--tw-prose-quote-borders: color-mix(in oklab, var(--color-base-content) 20%, #0000);
|
||
}
|
||
--tw-prose-captions: var(--color-base-content);
|
||
@supports (color: color-mix(in lab, red, red)) {
|
||
--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: var(--color-base-content);
|
||
@supports (color: color-mix(in lab, red, red)) {
|
||
--tw-prose-th-borders: color-mix(in oklab, var(--color-base-content) 50%, #0000);
|
||
}
|
||
--tw-prose-td-borders: var(--color-base-content);
|
||
@supports (color: color-mix(in lab, red, red)) {
|
||
--tw-prose-td-borders: color-mix(in oklab, var(--color-base-content) 20%, #0000);
|
||
}
|
||
--tw-prose-kbd: var(--color-base-content);
|
||
@supports (color: color-mix(in lab, red, red)) {
|
||
--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);
|
||
padding-inline: 0.5em;
|
||
font-weight: inherit;
|
||
&:before, &:after {
|
||
display: none;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
.flex {
|
||
display: flex;
|
||
}
|
||
.grid {
|
||
display: grid;
|
||
}
|
||
.table {
|
||
display: table;
|
||
}
|
||
.h-8 {
|
||
height: calc(var(--spacing) * 8);
|
||
}
|
||
.min-h-\[70dvh\] {
|
||
min-height: 70dvh;
|
||
}
|
||
.w-96 {
|
||
width: calc(var(--spacing) * 96);
|
||
}
|
||
.w-fit {
|
||
width: fit-content;
|
||
}
|
||
.w-full {
|
||
width: 100%;
|
||
}
|
||
.flex-shrink {
|
||
flex-shrink: 1;
|
||
}
|
||
.flex-grow {
|
||
flex-grow: 1;
|
||
}
|
||
.flex-grow-1 {
|
||
flex-grow: 1;
|
||
}
|
||
.border-collapse {
|
||
border-collapse: collapse;
|
||
}
|
||
.skeleton {
|
||
border-radius: var(--radius-box);
|
||
background-color: var(--color-base-300);
|
||
@media (prefers-reduced-motion: reduce) {
|
||
transition-duration: 15s;
|
||
}
|
||
will-change: background-position;
|
||
animation: skeleton 1.8s ease-in-out infinite;
|
||
background-image: linear-gradient( 105deg, #0000 0% 40%, var(--color-base-100) 50%, #0000 60% 100% );
|
||
background-size: 200% auto;
|
||
background-repeat: no-repeat;
|
||
background-position-x: -50%;
|
||
}
|
||
.link {
|
||
cursor: pointer;
|
||
text-decoration-line: underline;
|
||
&:focus {
|
||
--tw-outline-style: none;
|
||
outline-style: none;
|
||
@media (forced-colors: active) {
|
||
outline: 2px solid transparent;
|
||
outline-offset: 2px;
|
||
}
|
||
}
|
||
&:focus-visible {
|
||
outline: 2px solid currentColor;
|
||
outline-offset: 2px;
|
||
}
|
||
}
|
||
.resize {
|
||
resize: both;
|
||
}
|
||
.list-none {
|
||
list-style-type: none;
|
||
}
|
||
.grid-cols-1 {
|
||
grid-template-columns: repeat(1, minmax(0, 1fr));
|
||
}
|
||
.flex-wrap {
|
||
flex-wrap: wrap;
|
||
}
|
||
.items-center {
|
||
align-items: center;
|
||
}
|
||
.justify-between {
|
||
justify-content: space-between;
|
||
}
|
||
.justify-center {
|
||
justify-content: center;
|
||
}
|
||
.justify-end {
|
||
justify-content: flex-end;
|
||
}
|
||
.gap-0 {
|
||
gap: calc(var(--spacing) * 0);
|
||
}
|
||
.gap-6 {
|
||
gap: calc(var(--spacing) * 6);
|
||
}
|
||
.gap-8 {
|
||
gap: calc(var(--spacing) * 8);
|
||
}
|
||
.space-x-4 {
|
||
:where(& > :not(:last-child)) {
|
||
--tw-space-x-reverse: 0;
|
||
margin-inline-start: calc(calc(var(--spacing) * 4) * var(--tw-space-x-reverse));
|
||
margin-inline-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-x-reverse)));
|
||
}
|
||
}
|
||
.rounded-box {
|
||
border-radius: var(--radius-box);
|
||
}
|
||
.rounded-box {
|
||
border-radius: var(--radius-box);
|
||
}
|
||
.rounded-r-none {
|
||
border-top-right-radius: 0;
|
||
border-bottom-right-radius: 0;
|
||
}
|
||
.border {
|
||
border-style: var(--tw-border-style);
|
||
border-width: 1px;
|
||
}
|
||
.border-r-0 {
|
||
border-right-style: var(--tw-border-style);
|
||
border-right-width: 0px;
|
||
}
|
||
.bg-base-100 {
|
||
background-color: var(--color-base-100);
|
||
}
|
||
.bg-gray-200 {
|
||
background-color: var(--color-gray-200);
|
||
}
|
||
.bg-gray-800 {
|
||
background-color: var(--color-gray-800);
|
||
}
|
||
.p-0 {
|
||
padding: calc(var(--spacing) * 0);
|
||
}
|
||
.p-4 {
|
||
padding: calc(var(--spacing) * 4);
|
||
}
|
||
.px-4 {
|
||
padding-inline: calc(var(--spacing) * 4);
|
||
}
|
||
.px-8 {
|
||
padding-inline: calc(var(--spacing) * 8);
|
||
}
|
||
.py-4 {
|
||
padding-block: calc(var(--spacing) * 4);
|
||
}
|
||
.text-center {
|
||
text-align: center;
|
||
}
|
||
.text-18px {
|
||
font-size: var(--text-18px);
|
||
}
|
||
.text-25px {
|
||
font-size: var(--text-25px);
|
||
}
|
||
.font-bold {
|
||
--tw-font-weight: var(--font-weight-bold);
|
||
font-weight: var(--font-weight-bold);
|
||
}
|
||
.font-normal {
|
||
--tw-font-weight: var(--font-weight-normal);
|
||
font-weight: var(--font-weight-normal);
|
||
}
|
||
.text-wrap {
|
||
text-wrap: wrap;
|
||
}
|
||
.text-blue-400 {
|
||
color: var(--color-blue-400);
|
||
}
|
||
.text-bodylinks {
|
||
color: var(--color-bodylinks);
|
||
}
|
||
.text-gray-800 {
|
||
color: var(--color-gray-800);
|
||
}
|
||
.text-slate-300 {
|
||
color: var(--color-slate-300);
|
||
}
|
||
.text-white {
|
||
color: var(--color-white);
|
||
}
|
||
.underline {
|
||
text-decoration-line: underline;
|
||
}
|
||
.shadow-md {
|
||
--tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
|
||
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
||
}
|
||
.shadow-sm {
|
||
--tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
|
||
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
||
}
|
||
.outline {
|
||
outline-style: var(--tw-outline-style);
|
||
outline-width: 1px;
|
||
}
|
||
.filter {
|
||
filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
|
||
}
|
||
.transition {
|
||
transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, visibility, content-visibility, overlay, pointer-events;
|
||
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
||
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
||
}
|
||
.ease-in-out {
|
||
--tw-ease: var(--ease-in-out);
|
||
transition-timing-function: var(--ease-in-out);
|
||
}
|
||
.ease-out {
|
||
--tw-ease: var(--ease-out);
|
||
transition-timing-function: var(--ease-out);
|
||
}
|
||
.card-lg {
|
||
.card-body {
|
||
--card-p: 2rem;
|
||
--card-fs: 1rem;
|
||
}
|
||
.card-title {
|
||
--cardtitle-fs: 1.25rem;
|
||
}
|
||
}
|
||
.badge-info {
|
||
--badge-color: var(--color-info);
|
||
--badge-fg: var(--color-info-content);
|
||
}
|
||
.btn-info {
|
||
--btn-color: var(--color-info);
|
||
--btn-fg: var(--color-info-content);
|
||
}
|
||
.btn-primary {
|
||
--btn-color: var(--color-primary);
|
||
--btn-fg: var(--color-primary-content);
|
||
}
|
||
.hover\:text-gray-400 {
|
||
&:hover {
|
||
@media (hover: hover) {
|
||
color: var(--color-gray-400);
|
||
}
|
||
}
|
||
}
|
||
.hover\:text-white {
|
||
&:hover {
|
||
@media (hover: hover) {
|
||
color: var(--color-white);
|
||
}
|
||
}
|
||
}
|
||
.hover\:text-white\! {
|
||
&:hover {
|
||
@media (hover: hover) {
|
||
color: var(--color-white) !important;
|
||
}
|
||
}
|
||
}
|
||
.sm\:grid-cols-2 {
|
||
@media (width >= 40rem) {
|
||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||
}
|
||
}
|
||
.md\:grid-cols-3 {
|
||
@media (width >= 48rem) {
|
||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||
}
|
||
}
|
||
.lg\:grid-cols-4 {
|
||
@media (width >= 64rem) {
|
||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||
}
|
||
}
|
||
}
|
||
body {
|
||
background-color: var(--color-slate-900);
|
||
font-family: var(--font-sans);
|
||
font-size: var(--text-base);
|
||
line-height: var(--tw-leading, var(--text-base--line-height));
|
||
color: var(--color-gray-200);
|
||
}
|
||
::selection {
|
||
background: var(--color-warning);
|
||
}
|
||
@layer components {
|
||
h1, h2, h3, h4, h5, h6 {
|
||
font-weight: 700;
|
||
margin: 0 0 1rem;
|
||
}
|
||
h1, .h1 {
|
||
font-size: var(--h1);
|
||
line-height: 1.2;
|
||
}
|
||
h2, .h2 {
|
||
font-size: var(--h2);
|
||
line-height: 1.3;
|
||
}
|
||
h3, .h3 {
|
||
font-size: var(--h3);
|
||
line-height: 1.4;
|
||
}
|
||
h4, .h4 {
|
||
font-size: var(--h4);
|
||
line-height: 1.5;
|
||
}
|
||
h5, .h5 {
|
||
font-size: var(--h5);
|
||
}
|
||
h6, .h6 {
|
||
font-size: var(--h6);
|
||
}
|
||
}
|
||
a, .link {
|
||
color: var(--color-bodylinks);
|
||
text-decoration: none;
|
||
transition: color 200ms;
|
||
cursor: pointer;
|
||
&:hover {
|
||
color: var(--color-primary);
|
||
}
|
||
}
|
||
h1 a, .h1 a, h2 a, .h2 a, h3 a, .h3 a {
|
||
color: inherit;
|
||
text-decoration: underline;
|
||
}
|
||
p {
|
||
margin-top: 0;
|
||
margin-bottom: 1rem;
|
||
}
|
||
li ul, li ol {
|
||
margin: 0 1rem;
|
||
}
|
||
ul {
|
||
list-style-type: disc;
|
||
}
|
||
ol {
|
||
list-style-type: decimal;
|
||
}
|
||
ol ol {
|
||
list-style: lower-alpha;
|
||
}
|
||
ol ol ol {
|
||
list-style: lower-roman;
|
||
}
|
||
ol ol ol ol {
|
||
list-style: lower-alpha;
|
||
}
|
||
pre, code, samp, style {
|
||
font-family: monospace;
|
||
}
|
||
pre {
|
||
font-size: 0.875rem;
|
||
overflow: auto;
|
||
padding: 1.5rem;
|
||
}
|
||
pre code {
|
||
background-color: inherit;
|
||
border-radius: 0;
|
||
color: inherit;
|
||
padding: 0;
|
||
}
|
||
code {
|
||
border-radius: var(--radius-sm);
|
||
background-color: color-mix(in srgb, oklch(0% 0 0) 30%, transparent);
|
||
@supports (color: color-mix(in lab, red, red)) {
|
||
background-color: color-mix(in oklab, var(--color-black) 30%, transparent);
|
||
}
|
||
padding-inline: 3px;
|
||
padding-block: 2px;
|
||
font-family: var(--font-mono);
|
||
font-size: var(--text-xs);
|
||
line-height: var(--tw-leading, var(--text-xs--line-height));
|
||
color: var(--color-black);
|
||
}
|
||
hr {
|
||
background-color: black;
|
||
border: none;
|
||
display: block;
|
||
height: 1px;
|
||
margin: 1rem 0;
|
||
width: 100%;
|
||
}
|
||
@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 {
|
||
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 {
|
||
@property --radialprogress {
|
||
syntax: "<percentage>";
|
||
inherits: true;
|
||
initial-value: 0%;
|
||
}
|
||
}
|
||
@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 {
|
||
:root {
|
||
--fx-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='a'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.34' numOctaves='4' stitchTiles='stitch'%3E%3C/feTurbulence%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23a)' opacity='0.2'%3E%3C/rect%3E%3C/svg%3E");
|
||
}
|
||
.chat {
|
||
--mask-chat: url("data:image/svg+xml,%3csvg width='13' height='13' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill='black' d='M0 11.5004C0 13.0004 2 13.0004 2 13.0004H12H13V0.00036329L12.5 0C12.5 0 11.977 2.09572 11.8581 2.50033C11.6075 3.35237 10.9149 4.22374 9 5.50036C6 7.50036 0 10.0004 0 11.5004Z'/%3e%3c/svg%3e");
|
||
}
|
||
}
|
||
@layer base {
|
||
:root:has( .modal-open, .modal[open], .modal:target, .modal-toggle:checked, .drawer:not([class*="drawer-open"]) > .drawer-toggle:checked ) {
|
||
overflow: hidden;
|
||
}
|
||
}
|
||
@layer base {
|
||
:where( :root:has( .modal-open, .modal[open], .modal:target, .modal-toggle:checked, .drawer:not(.drawer-open) > .drawer-toggle:checked ) ) {
|
||
scrollbar-gutter: stable;
|
||
background-image: linear-gradient(var(--color-base-100), var(--color-base-100));
|
||
--root-bg: var(--color-base-100);
|
||
@supports (color: color-mix(in lab, red, red)) {
|
||
--root-bg: color-mix(in srgb, var(--color-base-100), oklch(0% 0 0) 40%);
|
||
}
|
||
}
|
||
:where(.modal[open], .modal-open, .modal-toggle:checked + .modal):not(.modal-start, .modal-end) {
|
||
scrollbar-gutter: stable;
|
||
}
|
||
}
|
||
@layer base {
|
||
:root, [data-theme] {
|
||
background-color: var(--root-bg, var(--color-base-100));
|
||
color: var(--color-base-content);
|
||
}
|
||
}
|
||
@keyframes radio {
|
||
0% {
|
||
padding: 5px;
|
||
}
|
||
50% {
|
||
padding: 3px;
|
||
}
|
||
}
|
||
@keyframes skeleton {
|
||
0% {
|
||
background-position: 150%;
|
||
}
|
||
100% {
|
||
background-position: -50%;
|
||
}
|
||
}
|
||
@keyframes progress {
|
||
50% {
|
||
background-position-x: -115%;
|
||
}
|
||
}
|
||
@keyframes toast {
|
||
0% {
|
||
scale: 0.9;
|
||
opacity: 0;
|
||
}
|
||
100% {
|
||
scale: 1;
|
||
opacity: 1;
|
||
}
|
||
}
|
||
@keyframes dropdown {
|
||
0% {
|
||
opacity: 0;
|
||
}
|
||
}
|
||
@keyframes rating {
|
||
0%, 40% {
|
||
scale: 1.1;
|
||
filter: brightness(1.05) contrast(1.05);
|
||
}
|
||
}
|
||
@property --tw-space-x-reverse {
|
||
syntax: "*";
|
||
inherits: false;
|
||
initial-value: 0;
|
||
}
|
||
@property --tw-border-style {
|
||
syntax: "*";
|
||
inherits: false;
|
||
initial-value: solid;
|
||
}
|
||
@property --tw-font-weight {
|
||
syntax: "*";
|
||
inherits: false;
|
||
}
|
||
@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;
|
||
}
|
||
@property --tw-outline-style {
|
||
syntax: "*";
|
||
inherits: false;
|
||
initial-value: solid;
|
||
}
|
||
@property --tw-blur {
|
||
syntax: "*";
|
||
inherits: false;
|
||
}
|
||
@property --tw-brightness {
|
||
syntax: "*";
|
||
inherits: false;
|
||
}
|
||
@property --tw-contrast {
|
||
syntax: "*";
|
||
inherits: false;
|
||
}
|
||
@property --tw-grayscale {
|
||
syntax: "*";
|
||
inherits: false;
|
||
}
|
||
@property --tw-hue-rotate {
|
||
syntax: "*";
|
||
inherits: false;
|
||
}
|
||
@property --tw-invert {
|
||
syntax: "*";
|
||
inherits: false;
|
||
}
|
||
@property --tw-opacity {
|
||
syntax: "*";
|
||
inherits: false;
|
||
}
|
||
@property --tw-saturate {
|
||
syntax: "*";
|
||
inherits: false;
|
||
}
|
||
@property --tw-sepia {
|
||
syntax: "*";
|
||
inherits: false;
|
||
}
|
||
@property --tw-drop-shadow {
|
||
syntax: "*";
|
||
inherits: false;
|
||
}
|
||
@property --tw-drop-shadow-color {
|
||
syntax: "*";
|
||
inherits: false;
|
||
}
|
||
@property --tw-drop-shadow-alpha {
|
||
syntax: "<percentage>";
|
||
inherits: false;
|
||
initial-value: 100%;
|
||
}
|
||
@property --tw-drop-shadow-size {
|
||
syntax: "*";
|
||
inherits: false;
|
||
}
|
||
@property --tw-ease {
|
||
syntax: "*";
|
||
inherits: false;
|
||
}
|
||
@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-space-x-reverse: 0;
|
||
--tw-border-style: solid;
|
||
--tw-font-weight: initial;
|
||
--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;
|
||
--tw-outline-style: solid;
|
||
--tw-blur: initial;
|
||
--tw-brightness: initial;
|
||
--tw-contrast: initial;
|
||
--tw-grayscale: initial;
|
||
--tw-hue-rotate: initial;
|
||
--tw-invert: initial;
|
||
--tw-opacity: initial;
|
||
--tw-saturate: initial;
|
||
--tw-sepia: initial;
|
||
--tw-drop-shadow: initial;
|
||
--tw-drop-shadow-color: initial;
|
||
--tw-drop-shadow-alpha: 100%;
|
||
--tw-drop-shadow-size: initial;
|
||
--tw-ease: initial;
|
||
}
|
||
}
|
||
}
|