diff --git a/assets/style.css b/assets/style.css index 6071af4..051f9c0 100644 --- a/assets/style.css +++ b/assets/style.css @@ -738,244 +738,6 @@ } } } - .drawer-side { - pointer-events: none; - visibility: hidden; - position: fixed; - inset-inline-start: calc(0.25rem * 0); - top: calc(0.25rem * 0); - 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%; - } - } - } - .modal { - pointer-events: none; - visibility: hidden; - position: fixed; - inset: calc(0.25rem * 0); - margin: calc(0.25rem * 0); - display: grid; - height: 100%; - max-height: none; - width: 100%; - max-width: none; - align-items: center; - justify-items: center; - background-color: transparent; - padding: calc(0.25rem * 0); - color: inherit; - overflow-x: hidden; - transition: transform 0.3s ease-out allow-discrete, visibility 0.3s ease-out allow-discrete, opacity 0.1s ease-out allow-discrete; - overflow-y: hidden; - overscroll-behavior: contain; - z-index: 999; - &:not(dialog:not(.modal-open)), &::backdrop { - opacity: 100%; - @starting-style { - visibility: hidden; - } - @starting-style { - opacity: 0%; - } - background-color: oklch(0% 0 0/ 0.4); - transition: display 0.3s ease-out allow-discrete, opacity 0.3s ease-out allow-discrete, visibility 0.3s ease-out allow-discrete; - } - &.modal-open, &[open], &:target { - pointer-events: auto; - visibility: visible; - opacity: 100%; - @starting-style { - visibility: hidden; - } - @starting-style { - opacity: 0%; - } - .modal-box { - translate: 0 0; - scale: 1; - opacity: 1; - } - } - } - .tab { - position: relative; - display: inline-flex; - cursor: pointer; - appearance: none; - flex-wrap: wrap; - align-items: center; - justify-content: center; - text-align: center; - webkit-user-select: none; - user-select: none; - &:hover { - @media (hover: hover) { - color: var(--color-base-content); - } - } - --tab-p: 1rem; - --tab-bg: var(--color-base-100); - --tab-border-color: var(--color-base-300); - --tab-radius-ss: 0; - --tab-radius-se: 0; - --tab-radius-es: 0; - --tab-radius-ee: 0; - --tab-order: 0; - --tab-radius-min: calc(0.75rem - var(--border)); - border-color: transparent; - order: var(--tab-order); - height: calc(var(--size-field, 0.25rem) * 10); - font-size: 0.875rem; - padding-inline-start: var(--tab-p); - padding-inline-end: var(--tab-p); - &:is(input[type="radio"]) { - min-width: fit-content; - &:after { - content: attr(aria-label); - } - } - &:checked, &:is(.tab-active, [aria-selected="true"]) { - & + .tab-content { - display: block; - height: 100%; - } - } - &:not(:checked, :hover, .tab-active, [aria-selected="true"]) { - color: color-mix(in oklab, var(--color-base-content) 50%, transparent); - } - &:not(input):empty { - flex-grow: 1; - cursor: default; - } - &:focus { - outline: 2px solid transparent; - outline-offset: 2px; - } - &:focus-visible { - outline: 2px solid currentColor; - outline-offset: -5px; - } - &[disabled] { - pointer-events: none; - opacity: 40%; - } - } - .dropdown { - position: relative; - display: inline-block; - position-area: var(--anchor-v, bottom) var(--anchor-h, span-right); - & > *:not(summary):focus { - 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 { - @starting-style { - scale: 95%; - } - @starting-style { - opacity: 0; - } - 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); - } - &.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: transparent; - } - &[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, black 30%, transparent); - } - } - &:not(.dropdown-open, :popover-open) { - display: none; - transform-origin: top; - opacity: 0%; - scale: 95%; - } - } - } .floating-label { position: relative; display: block; @@ -1023,92 +785,6 @@ font-size: 1.375rem; } } - .collapse-arrow { - > .collapse-title:after { - position: absolute; - display: block; - height: 0.5rem; - width: 0.5rem; - transform: translateY(-100%) rotate(45deg); - transition-property: all; - transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); - transition-duration: 0.2s; - top: 1.9rem; - inset-inline-end: 1.4rem; - content: ""; - transform-origin: 75% 75%; - box-shadow: 2px 2px; - pointer-events: none; - } - } - .collapse-plus { - > .collapse-title:after { - position: absolute; - display: block; - height: 0.5rem; - width: 0.5rem; - transition-property: all; - transition-duration: 300ms; - transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); - top: 0.9rem; - inset-inline-end: 1.4rem; - content: "+"; - pointer-events: none; - } - } - .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; - } - } .loading { pointer-events: none; display: inline-block; @@ -1121,134 +797,6 @@ mask-position: center; mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' stroke='black' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg transform-origin='center'%3E%3Ccircle cx='12' cy='12' r='9.5' fill='none' stroke-width='3' stroke-linecap='round'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 12 12' to='360 12 12' dur='2s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dasharray' values='0,150;42,150;42,150' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dashoffset' values='0;-16;-59' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/g%3E%3C/svg%3E"); } - .collapse { - &:not(td, tr, colgroup) { - visibility: visible; - } - position: relative; - display: grid; - overflow: hidden; - border-radius: var(--rounded-box, 1rem); - width: 100%; - grid-template-rows: max-content 0fr; - 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: 3.75rem; - transition: background-color 0.2s ease-out; - } - &:is([open], .collapse-open, :focus:not(.collapse-close)), - &:not(.collapse-close):has(> input:is([type="checkbox"], [type="radio"]):checked) { - grid-template-rows: max-content 1fr; - } - &:is([open], .collapse-open, :focus:not(.collapse-close)) > .collapse-content, - &:not(.collapse-close) - > :where(input:is([type="checkbox"], [type="radio"]):checked ~ .collapse-content) { - visibility: visible; - min-height: fit-content; - } - &, - &:has(.collapse-title, > input:is([type="checkbox"], [type="radio"])) { - &:focus-visible { - outline-color: var(--color-base-content); - outline-style: solid; - outline-width: 2px; - outline-offset: 2px; - } - } - &:not(.collapse-open, .collapse-close) { - > input[type="checkbox"], - > input[type="radio"]:not(:checked), - > .collapse-title { - cursor: pointer; - } - } - &:focus:not(.collapse-open, .collapse-close, .collapse[open]) > .collapse-title { - cursor: unset; - } - &:is([open], .collapse-open, :focus:not(.collapse-close)) > :where(.collapse-content), - &:not(.collapse-close) - > :where(input:is([type="checkbox"], [type="radio"]):checked ~ .collapse-content) { - padding-bottom: 1rem; - transition: padding 0.2s ease-out, - background-color 0.2s ease-out; - } - &:is([open], .collapse-open) { - &.collapse-arrow { - > .collapse-title:after { - transform: translateY(-50%) rotate(225deg); - } - } - } - &.collapse-arrow:focus: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 { - content: "−"; - } - } - } - &.collapse-open { - &.collapse-plus { - > .collapse-title:after { - content: "−"; - } - } - } - &.collapse-plus:focus:not(.collapse-close) { - > .collapse-title:after { - content: "−"; - } - } - &.collapse-plus:not(.collapse-close) { - > input:is([type="checkbox"], [type="radio"]):checked ~ .collapse-title:after { - content: "−"; - } - } - &:is(details) { - width: 100%; - & summary { - position: relative; - display: block; - &::-webkit-details-marker { - display: none; - } - } - } - &:is(details) summary { - outline: none; - } - } - .collapse-content { - grid-column-start: 1; - grid-row-start: 1; - visibility: hidden; - grid-column-start: 1; - grid-row-start: 2; - min-height: 0; - transition: visibility 0.2s; - transition: padding 0.2s ease-out, - background-color 0.2s ease-out; - padding-left: 1rem; - padding-right: 1rem; - cursor: unset; - } .validator { &:user-valid, &:has(:user-valid) { &, &:focus, &:checked, &[aria-checked="true"], &:focus-within { @@ -1269,12 +817,6 @@ visibility: hidden; } } - .collapse { - visibility: collapse; - } - .visible { - visibility: visible; - } .select { border: var(--border) solid transparent; position: relative; @@ -1658,83 +1200,6 @@ opacity: 20%; } } - .range { - appearance: none; - webkit-appearance: none; - --range-thumb: var(--color-base-100); - --range-thumb-size: calc(var(--size-selector, 0.25rem) * 6); - --range-progress: currentColor; - --range-fill: 1; - --range-p: 0.25rem; - --range-bg: color-mix(in oklab, currentColor 10%, transparent); - cursor: pointer; - overflow: hidden; - background-color: transparent; - vertical-align: middle; - width: clamp(3rem, 20rem, 100%); - border-radius: calc(var(--radius-selector) + var(--range-p) + 1px); - border: none; - height: var(--range-thumb-size); - [dir="rtl"] & { - --range-dir: -1; - } - &:focus { - outline: none; - } - &:focus-visible { - outline: 2px solid; - outline-offset: 2px; - } - &::-webkit-slider-runnable-track { - width: 100%; - background-color: var(--range-bg); - border-radius: var(--radius-selector); - height: calc(var(--range-thumb-size) * 0.5); - @media (forced-colors: active) { - border: 1px solid; - } - } - &::-webkit-slider-thumb { - position: relative; - box-sizing: border-box; - border-radius: calc(var(--radius-selector) + var(--range-p) + 1px); - background-color: currentColor; - height: var(--range-thumb-size); - width: var(--range-thumb-size); - border: var(--range-p) solid; - appearance: none; - webkit-appearance: none; - top: 50%; - color: var(--range-progress); - transform: translateY(-50%); - box-shadow: 0 -1px oklch(0% 0 0 / calc(var(--depth) * 0.1)) inset, 0 8px 0 -4px oklch(100% 0 0 / calc(var(--depth) * 0.1)) inset, 0 1px color-mix(in oklab, currentColor calc(var(--depth) * 10%), transparent), 0 0 0 2rem var(--range-thumb) inset, calc((var(--range-dir, 1) * -100rem) - (var(--range-dir, 1) * var(--range-thumb-size) / 2)) 0 0 calc(100rem * var(--range-fill)); - } - &::-moz-range-track { - width: 100%; - background-color: var(--range-bg); - border-radius: var(--radius-selector); - height: calc(var(--range-thumb-size) * 0.5); - @media (forced-colors: active) { - border: 1px solid; - } - } - &::-moz-range-thumb { - position: relative; - box-sizing: border-box; - border-radius: calc(var(--radius-selector) + var(--range-p) + 1px); - background-color: currentColor; - height: var(--range-thumb-size); - width: var(--range-thumb-size); - border: var(--range-p) solid; - top: 50%; - color: var(--range-progress); - box-shadow: 0 -1px oklch(0% 0 0 / calc(var(--depth) * 0.1)) inset, 0 8px 0 -4px oklch(100% 0 0 / calc(var(--depth) * 0.1)) inset, 0 1px color-mix(in oklab, currentColor calc(var(--depth) * 10%), transparent), 0 0 0 2rem var(--range-thumb) inset, calc((var(--range-dir, 1) * -100rem) - (var(--range-dir, 1) * var(--range-thumb-size) / 2)) 0 0 calc(100rem * var(--range-fill)); - } - &:disabled { - cursor: not-allowed; - opacity: 30%; - } - } .table { font-size: 0.875rem; position: relative; @@ -1862,54 +1327,6 @@ mask-size: 13px; } } - .toast { - position: fixed; - inset-inline-start: auto; - inset-inline-end: calc(0.25rem * 0); - top: auto; - bottom: calc(0.25rem * 0); - margin: calc(0.25rem * 4); - display: flex; - min-width: fit-content; - flex-direction: column; - gap: calc(0.25rem * 2); - background-color: transparent; - white-space: nowrap; - translate: var(--toast-x, 0) var(--toast-y, 0); - & > * { - animation: toast 0.25s ease-out; - } - &:where(.toast-start) { - inset-inline-start: calc(0.25rem * 0); - inset-inline-end: auto; - --toast-x: 0; - } - &:where(.toast-center) { - inset-inline-start: calc(1/2 * 100%); - inset-inline-end: calc(1/2 * 100%); - --toast-x: -50%; - } - &:where(.toast-end) { - inset-inline-start: auto; - inset-inline-end: calc(0.25rem * 0); - --toast-x: 0; - } - &:where(.toast-bottom) { - top: auto; - bottom: calc(0.25rem * 0); - --toast-y: 0; - } - &:where(.toast-middle) { - top: calc(1/2 * 100%); - bottom: auto; - --toast-y: -50%; - } - &:where(.toast-top) { - top: calc(0.25rem * 0); - bottom: auto; - --toast-y: 0; - } - } .rating { position: relative; display: inline-flex; @@ -2063,16 +1480,6 @@ } } } - .collapse-title { - grid-column-start: 1; - grid-row-start: 1; - position: relative; - width: 100%; - padding: 1rem; - padding-inline-end: 3rem; - min-height: 3.75rem; - transition: background-color 0.2s ease-out; - } .stats { position: relative; display: inline-grid; @@ -2080,21 +1487,12 @@ overflow-x: auto; border-radius: var(--radius-box); } - .absolute { - position: absolute; - } .fixed { position: fixed; } - .relative { - position: relative; - } .static { position: static; } - .sticky { - position: sticky; - } .inset-x-0 { inset-inline: calc(var(--spacing) * 0); } @@ -2326,125 +1724,8 @@ cursor: not-allowed; } } - .isolate { - isolation: isolate; - } - .stack { - display: inline-grid; - grid-template-columns: 3px 4px 1fr 4px 3px; - grid-template-rows: 3px 4px 1fr 4px 3px; - & > * { - height: 100%; - width: 100%; - &:not(:nth-child(1)) { - 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; - } - } - } - } - .z-4 { - z-index: 4; - } - .tab-content { - order { - } - order: var(--tabcontent-order); - display: none; - border-color: transparent; - --tabcontent-radius-ss: 0; - --tabcontent-radius-se: 0; - --tabcontent-radius-es: 0; - --tabcontent-radius-ee: 0; - --tabcontent-order: 1; - width: 100%; - margin: var(--tabcontent-margin); - border-width: var(--border); - border-start-start-radius: var(--tabcontent-radius-ss); - border-start-end-radius: var(--tabcontent-radius-se); - border-end-start-radius: var(--tabcontent-radius-es); - border-end-end-radius: var(--tabcontent-radius-ee); - } - .modal-box { - grid-column-start: 1; - grid-row-start: 1; - width: calc(11/12 * 100%); - max-width: 32rem; - background-color: var(--color-base-100); - padding: calc(0.25rem * 6); - transition: translate 0.3s ease-out, scale 0.3s ease-out, opacity 0.2s ease-out 0.05s, box-shadow 0.3s ease-out; - border-top-left-radius: var(--modal-tl, var(--radius-box)); - border-top-right-radius: var(--modal-tr, var(--radius-box)); - border-bottom-left-radius: var(--modal-bl, var(--radius-box)); - border-bottom-right-radius: var(--modal-br, var(--radius-box)); - scale: 95%; - opacity: 0; - box-shadow: oklch(0% 0 0/ 0.25) 0px 25px 50px -12px; - overflow-y: auto; - overscroll-behavior: contain; + .z-50 { + z-index: 50; } .hero { display: grid; @@ -2475,27 +1756,6 @@ font-size: 2rem; font-weight: 800; } - .drawer-content { - grid-column-start: 2; - grid-row-start: 1; - min-width: calc(0.25rem * 0); - } - .chat-image { - grid-row: span 2 / span 2; - align-self: flex-end; - } - .chat-footer { - grid-row-start: 3; - display: flex; - gap: calc(0.25rem * 1); - font-size: 0.6875rem; - } - .chat-header { - grid-row-start: 1; - display: flex; - gap: calc(0.25rem * 1); - font-size: 0.6875rem; - } .list-col-wrap { grid-row-start: 2; } @@ -2517,15 +1777,6 @@ max-width: 96rem; } } - .m-0 { - margin: calc(var(--spacing) * 0); - } - .m-6 { - margin: calc(var(--spacing) * 6); - } - .m-8 { - margin: calc(var(--spacing) * 8); - } .filter { display: flex; flex-wrap: wrap; @@ -2593,16 +1844,6 @@ gap: calc(0.25rem * 4); } } - .input-lg { - --size: calc(var(--size-field, 0.25rem) * 12); - font-size: 1.125rem; - &[type="number"] { - &::-webkit-inner-spin-button { - margin-block: calc(0.25rem * -3); - margin-inline-end: calc(0.25rem * -3); - } - } - } .input-md { --size: calc(var(--size-field, 0.25rem) * 10); font-size: 0.875rem; @@ -2613,36 +1854,6 @@ } } } - .input-sm { - --size: calc(var(--size-field, 0.25rem) * 8); - font-size: 0.75rem; - &[type="number"] { - &::-webkit-inner-spin-button { - margin-block: calc(0.25rem * -2); - margin-inline-end: calc(0.25rem * -3); - } - } - } - .input-xl { - --size: calc(var(--size-field, 0.25rem) * 14); - font-size: 1.375rem; - &[type="number"] { - &::-webkit-inner-spin-button { - margin-block: calc(0.25rem * -4); - margin-inline-end: calc(0.25rem * -3); - } - } - } - .input-xs { - --size: calc(var(--size-field, 0.25rem) * 6); - font-size: 0.6875rem; - &[type="number"] { - &::-webkit-inner-spin-button { - margin-block: calc(0.25rem * -1); - margin-inline-end: calc(0.25rem * -3); - } - } - } .my-4 { margin-block: calc(var(--spacing) * 4); } @@ -2690,12 +1901,6 @@ } } } - .join-item { - &:where(*:not(:first-child)) { - margin-inline-start: calc(var(--border, 1px) * -1); - margin-block-start: 0; - } - } .prose { color: var(--tw-prose-body); max-width: 90ch; @@ -3128,9 +2333,6 @@ .mt-8 { margin-top: calc(var(--spacing) * 8); } - .mt-10 { - margin-top: calc(var(--spacing) * 10); - } .mr-1 { margin-right: calc(var(--spacing) * 1); } @@ -3147,95 +2349,11 @@ .mb-2 { margin-bottom: calc(var(--spacing) * 2); } - .mb-4 { - margin-bottom: calc(var(--spacing) * 4); - } .mb-8 { margin-bottom: calc(var(--spacing) * 8); } - .mb-10 { - margin-bottom: calc(var(--spacing) * 10); - } - .alert { - display: grid; - width: 100%; - align-items: center; - gap: calc(0.25rem * 4); - border-radius: var(--radius-box); - padding-inline: calc(0.25rem * 4); - padding-block: calc(0.25rem * 3); - color: var(--color-base-content); - background-color: var(--alert-color, var(--color-base-200)); - justify-content: start; - justify-items: start; - grid-auto-flow: column; - grid-template-columns: auto minmax(auto, 1fr); - text-align: start; - border: var(--border) solid var(--color-base-200); - font-size: 0.875rem; - line-height: 1.25rem; - background-size: calc(var(--noise) * 1000px); - background-image: 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"); - box-shadow: 0 3px 0 -2px oklch(100% 0 0 / calc(var(--depth) * 0.08)) inset, 0 1px color-mix( in oklab, color-mix(in oklab, black 20%, var(--alert-color, var(--color-base-200))) calc(var(--depth) * 20%), transparent ), 0 4px 3px -2px oklch(0% 0 0 / calc(var(--depth) * 0.08)); - &.alert-outline { - background-color: transparent; - color: var(--alert-color); - box-shadow: none; - background-image: none; - } - &.alert-dash { - background-color: transparent; - color: var(--alert-color); - border-style: dashed; - box-shadow: none; - background-image: none; - } - &.alert-soft { - color: var(--alert-color, var(--color-base-content)); - background: color-mix( in oklab, var(--alert-color, var(--color-base-content)) 8%, var(--color-base-100) ); - border-color: color-mix( in oklab, var(--alert-color, var(--color-base-content)) 10%, var(--color-base-100) ); - box-shadow: none; - background-image: none; - } - } - .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(--color-base-content); - 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: calc(var(--noise) * 1000px); - background-image: 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"); - background-color: var(--badge-color, var(--color-base-100)); - --size: calc(var(--size-selector, 0.25rem) * 6); - height: var(--size); - &.badge-outline { - color: var(--badge-color, var(--color-base-content)); - border-color: currentColor; - background-color: transparent; - background-image: none; - box-shadow: none; - } - &.badge-dash { - color: var(--badge-color, var(--color-base-content)); - background-color: transparent; - border-style: dashed; - background-image: none; - box-shadow: none; - } - &.badge-soft { - color: var(--badge-color, var(--color-base-content)); - background-color: color-mix( in oklab, var(--badge-color, var(--color-base-content)) 8%, var(--color-base-100) ); - border-color: color-mix( in oklab, var(--badge-color, var(--color-base-content)) 10%, var(--color-base-100) ); - background-image: none; - box-shadow: none; - } + .box-border { + box-sizing: border-box; } .status { display: inline-block; @@ -3265,22 +2383,6 @@ background-image: radial-gradient( circle at 35% 30%, oklch(1 0 0 / calc(var(--depth) * 0.5)), transparent ) !important; box-shadow: 0 2px 3px -1px color-mix(in oklab, currentColor calc(var(--depth) * 100%), transparent) !important; } - .kbd { - display: inline-flex; - align-items: center; - justify-content: center; - border-radius: var(--radius-field); - background-color: var(--color-base-200); - vertical-align: middle; - padding-left: 0.5em; - padding-right: 0.5em; - border: var(--border) solid color-mix(in srgb, var(--color-base-content) 20%, transparent); - border-bottom: calc(var(--border) + 1px) solid color-mix(in srgb, var(--color-base-content) 20%, transparent); - --size: calc(var(--size-selector, 0.25rem) * 6); - font-size: 0.875rem; - height: var(--size); - min-width: var(--size); - } .footer { display: grid; width: 100%; @@ -3365,6 +2467,48 @@ } } } + .join\! { + display: inline-flex !important; + align-items: stretch !important; + --join-ss: 0 !important; + --join-se: 0 !important; + --join-es: 0 !important; + --join-ee: 0 !important; + :where(.join-item) { + border-start-start-radius: var(--join-ss, 0) !important; + border-start-end-radius: var(--join-se, 0) !important; + border-end-start-radius: var(--join-es, 0) !important; + border-end-end-radius: var(--join-ee, 0) !important; + } + > .join-item:where(:first-child) { + --join-ss: var(--radius-field) !important; + --join-se: 0 !important; + --join-es: var(--radius-field) !important; + --join-ee: 0 !important; + } + :first-child:not(:last-child) { + :where(.join-item) { + --join-ss: var(--radius-field) !important; + --join-se: 0 !important; + --join-es: var(--radius-field) !important; + --join-ee: 0 !important; + } + } + > .join-item:where(:last-child) { + --join-ss: 0 !important; + --join-se: var(--radius-field) !important; + --join-es: 0 !important; + --join-ee: var(--radius-field) !important; + } + :last-child:not(:first-child) { + :where(.join-item) { + --join-ss: 0 !important; + --join-se: var(--radius-field) !important; + --join-es: 0 !important; + --join-ee: var(--radius-field) !important; + } + } + } .stat { display: inline-grid; width: 100%; @@ -3427,13 +2571,6 @@ column-gap: calc(0.25rem * 3); padding-block: calc(0.25rem * 1); } - .mask { - display: inline-block; - vertical-align: middle; - mask-size: contain; - mask-repeat: no-repeat; - mask-position: center; - } .block { display: block; } @@ -3449,21 +2586,6 @@ .hidden { display: none; } - .inline { - display: inline; - } - .inline-block { - display: inline-block; - } - .inline-flex { - display: inline-flex; - } - .inline-grid { - display: inline-grid; - } - .list-item { - display: list-item; - } .table { display: table; } @@ -3472,14 +2594,6 @@ width: var(--size); height: var(--size); } - .size-2 { - width: calc(var(--spacing) * 2); - height: calc(var(--spacing) * 2); - } - .size-4 { - width: calc(var(--spacing) * 4); - height: calc(var(--spacing) * 4); - } .size-5 { width: calc(var(--spacing) * 5); height: calc(var(--spacing) * 5); @@ -3488,27 +2602,13 @@ width: calc(var(--spacing) * 6); height: calc(var(--spacing) * 6); } - .size-8 { - width: calc(var(--spacing) * 8); - height: calc(var(--spacing) * 8); - } .size-10 { width: calc(var(--spacing) * 10); height: calc(var(--spacing) * 10); } - .size-\[1\.2em\] { - width: 1.2em; - height: 1.2em; - } - .h-1 { - height: calc(var(--spacing) * 1); - } .h-5 { height: calc(var(--spacing) * 5); } - .h-6 { - height: calc(var(--spacing) * 6); - } .h-32 { height: calc(var(--spacing) * 32); } @@ -3518,51 +2618,30 @@ .min-h-screen { min-height: 100vh; } - .w-2 { - width: calc(var(--spacing) * 2); - } .w-5 { width: calc(var(--spacing) * 5); } .w-32 { width: calc(var(--spacing) * 32); } - .w-200 { - width: calc(var(--spacing) * 200); - } .w-full { width: 100%; } .max-w-\(--breakpoint-sm\) { max-width: var(--breakpoint-sm); } - .max-w-\[150px\] { - max-width: 150px; - } .max-w-\[160px\] { max-width: 160px; } - .max-w-\[200px\] { - max-width: 200px; - } .flex-1 { flex: 1; } - .flex-shrink { - flex-shrink: 1; - } - .shrink { - flex-shrink: 1; - } .flex-grow { flex-grow: 1; } .grow { flex-grow: 1; } - .border-collapse { - border-collapse: collapse; - } .swap-rotate { .swap-on, .swap-indeterminate, input:indeterminate ~ .swap-on { rotate: 45deg; @@ -3584,9 +2663,6 @@ } } } - .transform { - transform: var(--tw-rotate-x) var(--tw-rotate-y) var(--tw-rotate-z) var(--tw-skew-x) var(--tw-skew-y); - } .skeleton { border-radius: var(--radius-box); background-color: var(--color-base-300); @@ -3615,9 +2691,6 @@ .cursor-pointer { cursor: pointer; } - .resize { - resize: both; - } .stats-vertical { grid-auto-flow: row; overflow-y: auto; @@ -3629,24 +2702,12 @@ .grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); } - .\!flex-col { - flex-direction: column !important; - } .flex-col { flex-direction: column; } - .flex-row { - flex-direction: row; - } - .flex-wrap { - flex-wrap: wrap; - } .items-center { align-items: center; } - .justify-between { - justify-content: space-between; - } .justify-center { justify-content: center; } @@ -3665,13 +2726,6 @@ .gap-6 { gap: calc(var(--spacing) * 6); } - .space-y-2 { - :where(& > :not(:last-child)) { - --tw-space-y-reverse: 0; - margin-block-start: calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse)); - margin-block-end: calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse))); - } - } .space-y-4 { :where(& > :not(:last-child)) { --tw-space-y-reverse: 0; @@ -3698,12 +2752,6 @@ text-overflow: ellipsis; white-space: nowrap; } - .overflow-clip { - overflow: clip; - } - .overflow-hidden { - overflow: hidden; - } .rounded-box { border-radius: var(--radius-box); } @@ -3724,11 +2772,6 @@ border-style: var(--tw-border-style); border-width: 1px; } - .alert-info { - border-color: var(--color-info); - color: var(--color-info-content); - --alert-color: var(--color-info); - } .border-transparent { border-color: transparent; } @@ -3741,9 +2784,6 @@ .bg-base-200 { background-color: var(--color-base-200); } - .bg-primary { - background-color: var(--color-primary); - } .bg-secondary { background-color: var(--color-secondary); } @@ -3765,9 +2805,6 @@ .fill-current { fill: currentColor; } - .p-0 { - padding: calc(var(--spacing) * 0); - } .p-2 { padding: calc(var(--spacing) * 2); } @@ -3780,13 +2817,6 @@ .p-6 { padding: calc(var(--spacing) * 6); } - .menu-title { - padding-inline: calc(0.25rem * 3); - padding-block: calc(0.25rem * 2); - color: color-mix(in oklab, var(--color-base-content) 40%, transparent); - font-size: 0.875rem; - font-weight: 600; - } .container { padding-inline: 1rem; @media (width >= 40rem) { @@ -3862,10 +2892,6 @@ --tw-font-weight: var(--font-weight-bold); font-weight: var(--font-weight-bold); } - .font-medium { - --tw-font-weight: var(--font-weight-medium); - font-weight: var(--font-weight-medium); - } .font-semibold { --tw-font-weight: var(--font-weight-semibold); font-weight: var(--font-weight-semibold); @@ -3874,27 +2900,6 @@ --tw-tracking: var(--tracking-wide); letter-spacing: var(--tracking-wide); } - .\!text-nowrap { - text-wrap: nowrap !important; - } - .text-nowrap { - text-wrap: nowrap; - } - .text-wrap { - text-wrap: wrap; - } - .break-all { - word-break: break-all; - } - .overflow-ellipsis { - text-overflow: ellipsis; - } - .text-ellipsis { - text-overflow: ellipsis; - } - .whitespace-nowrap { - white-space: nowrap; - } .link-primary { color: var(--color-primary); &:hover { @@ -3919,9 +2924,6 @@ .text-error { color: var(--color-error); } - .text-gray-500 { - color: var(--color-gray-500); - } .text-primary { color: var(--color-primary); } @@ -3937,56 +2939,15 @@ .text-transparent { color: transparent; } - .capitalize { - text-transform: capitalize; - } .lowercase { text-transform: lowercase; } .uppercase { text-transform: uppercase; } - .italic { - font-style: italic; - } - .ordinal { - --tw-ordinal: ordinal; - font-variant-numeric: var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,); - } - .btn-link { - text-decoration-line: underline; - outline-color: currentColor; - --btn-border: transparent; - --btn-bg: transparent; - --btn-fg: var(--color-primary); - --btn-noise: none; - --btn-shadow: ""; - &:is(.btn-active, :hover, :active:focus, :focus-visible) { - text-decoration-line: underline; - --btn-border: transparent; - --btn-bg: transparent; - } - } - .underline { - text-decoration-line: underline; - } - .accent-accent { - accent-color: var(--color-accent); - } - .accent-accent-content { - accent-color: var(--color-accent-content); - } .opacity-60 { opacity: 60%; } - .swap-active { - .swap-off { - opacity: 0%; - } - .swap-on { - opacity: 100%; - } - } .shadow { --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); @@ -3999,10 +2960,6 @@ --tw-shadow: 0 20px 25px -5px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 8px 10px -6px 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; - } .btn-ghost { &:not(.btn-active, :hover, :active:focus, :focus-visible) { --btn-shadow: ""; @@ -4018,10 +2975,6 @@ .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,); } - .backdrop-filter { - -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,); - backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,); - } .transition { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter; transition-timing-function: var(--tw-ease, var(--default-transition-timing-function)); @@ -4031,14 +2984,6 @@ --tw-ease: var(--ease-in); transition-timing-function: var(--ease-in); } - .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); - } .\[a-zA-Z\:\\-\] { a-zA-Z: \-; } @@ -4107,11 +3052,6 @@ grid-template-columns: repeat(2, minmax(0, 1fr)); } } - .sm\:flex-col { - @media (width >= 40rem) { - flex-direction: column; - } - } .sm\:flex-row { @media (width >= 40rem) { flex-direction: row; @@ -4153,11 +3093,6 @@ grid-template-columns: auto 1fr; } } - .\[\&\:before\]\:normal-case { - &:before { - text-transform: none; - } - } .\[\&\:before\]\:uppercase { &:before { text-transform: uppercase; @@ -4168,11 +3103,6 @@ opacity: 60%; } } - .\[\&\:before\]\:opacity-100 { - &:before { - opacity: 100%; - } - } .\[\&\:before\]\:content-\[\'Content\:_\'\] { &:before { --tw-content: 'Content: '; @@ -4185,30 +3115,6 @@ content: var(--tw-content); } } - .\[\&\:before\]\:content-\[\'Status\:_\'\] { - &:before { - --tw-content: 'Status: '; - content: var(--tw-content); - } - } - .\[\&\:before\]\:content-\[\'Text\:_\'\] { - &:before { - --tw-content: 'Text: '; - content: var(--tw-content); - } - } - .\[\&\:before\]\:content-\[\'Url\:_\'\] { - &:before { - --tw-content: 'Url: '; - content: var(--tw-content); - } - } - .\[\&\:before\]\:content-\[\'source\:_\'\] { - &:before { - --tw-content: 'source: '; - content: var(--tw-content); - } - } } @layer base { *, ::after, ::before, ::backdrop, ::file-selector-button { @@ -4547,11 +3453,6 @@ video { @supports (-moz-orient: inline) { @layer base { *, ::before, ::after, ::backdrop { - --tw-rotate-x: rotateX(0); - --tw-rotate-y: rotateY(0); - --tw-rotate-z: rotateZ(0); - --tw-skew-x: skewX(0); - --tw-skew-y: skewY(0); --tw-space-y-reverse: 0; --tw-border-style: solid; --tw-gradient-position: initial; @@ -4565,11 +3466,6 @@ video { --tw-gradient-to-position: 100%; --tw-font-weight: initial; --tw-tracking: initial; - --tw-ordinal: initial; - --tw-slashed-zero: initial; - --tw-numeric-figure: initial; - --tw-numeric-spacing: initial; - --tw-numeric-fraction: initial; --tw-shadow: 0 0 #0000; --tw-shadow-color: initial; --tw-inset-shadow: 0 0 #0000; @@ -4582,7 +3478,6 @@ video { --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; @@ -4592,15 +3487,6 @@ video { --tw-opacity: initial; --tw-saturate: initial; --tw-sepia: initial; - --tw-backdrop-blur: initial; - --tw-backdrop-brightness: initial; - --tw-backdrop-contrast: initial; - --tw-backdrop-grayscale: initial; - --tw-backdrop-hue-rotate: initial; - --tw-backdrop-invert: initial; - --tw-backdrop-opacity: initial; - --tw-backdrop-saturate: initial; - --tw-backdrop-sepia: initial; --tw-ease: initial; --tw-content: ""; } @@ -4632,31 +3518,6 @@ video { animation-timing-function: cubic-bezier(0, 0, 0.2, 1); } } -@property --tw-rotate-x { - syntax: "*"; - inherits: false; - initial-value: rotateX(0); -} -@property --tw-rotate-y { - syntax: "*"; - inherits: false; - initial-value: rotateY(0); -} -@property --tw-rotate-z { - syntax: "*"; - inherits: false; - initial-value: rotateZ(0); -} -@property --tw-skew-x { - syntax: "*"; - inherits: false; - initial-value: skewX(0); -} -@property --tw-skew-y { - syntax: "*"; - inherits: false; - initial-value: skewY(0); -} @property --tw-space-y-reverse { syntax: "*"; inherits: false; @@ -4717,26 +3578,6 @@ video { syntax: "*"; inherits: false; } -@property --tw-ordinal { - syntax: "*"; - inherits: false; -} -@property --tw-slashed-zero { - syntax: "*"; - inherits: false; -} -@property --tw-numeric-figure { - syntax: "*"; - inherits: false; -} -@property --tw-numeric-spacing { - syntax: "*"; - inherits: false; -} -@property --tw-numeric-fraction { - syntax: "*"; - inherits: false; -} @property --tw-shadow { syntax: "*"; inherits: false; @@ -4792,11 +3633,6 @@ video { inherits: false; initial-value: 0 0 #0000; } -@property --tw-outline-style { - syntax: "*"; - inherits: false; - initial-value: solid; -} @property --tw-blur { syntax: "*"; inherits: false; @@ -4833,42 +3669,6 @@ video { syntax: "*"; inherits: false; } -@property --tw-backdrop-blur { - syntax: "*"; - inherits: false; -} -@property --tw-backdrop-brightness { - syntax: "*"; - inherits: false; -} -@property --tw-backdrop-contrast { - syntax: "*"; - inherits: false; -} -@property --tw-backdrop-grayscale { - syntax: "*"; - inherits: false; -} -@property --tw-backdrop-hue-rotate { - syntax: "*"; - inherits: false; -} -@property --tw-backdrop-invert { - syntax: "*"; - inherits: false; -} -@property --tw-backdrop-opacity { - syntax: "*"; - inherits: false; -} -@property --tw-backdrop-saturate { - syntax: "*"; - inherits: false; -} -@property --tw-backdrop-sepia { - syntax: "*"; - inherits: false; -} @property --tw-ease { syntax: "*"; inherits: false; diff --git a/templates/body_base.html b/templates/body_base.html index 17b7483..b63df9b 100644 --- a/templates/body_base.html +++ b/templates/body_base.html @@ -17,10 +17,10 @@
  • Account -