diff options
Diffstat (limited to 'cmd/mirum-server/web/shadcn.css')
| -rw-r--r-- | cmd/mirum-server/web/shadcn.css | 104 | +0 −104 |
1 files changed, 0 insertions, 104 deletions
diff --git a/cmd/mirum-server/web/shadcn.css b/cmd/mirum-server/web/shadcn.css deleted file mode 100644 --- a/cmd/mirum-server/web/shadcn.css +++ /dev/null @@ -1,104 +0,0 @@ -/* SPDX-FileCopyrightText: 2023 shadcn - * SPDX-License-Identifier: MIT - * - * Inlined from `shadcn/tailwind.css` (npm package `shadcn`, MIT). Kept in - * tree so the shadcn CLI can stay in devDependencies — importing the npm - * package at build time would re-introduce its runtime dep chain (which, - * transitively, pulls a Python-2.0 licensed package that conflicts with - * the mirum commercial license). */ - -@theme inline { - @keyframes accordion-down { - from { - height: 0; - } - to { - height: var( - --radix-accordion-content-height, - var(--accordion-panel-height, auto) - ); - } - } - - @keyframes accordion-up { - from { - height: var( - --radix-accordion-content-height, - var(--accordion-panel-height, auto) - ); - } - to { - height: 0; - } - } -} - -/* Custom variants */ -@custom-variant data-open { - &:where([data-state="open"]), - &:where([data-open]:not([data-open="false"])) { - @slot; - } -} - -@custom-variant data-closed { - &:where([data-state="closed"]), - &:where([data-closed]:not([data-closed="false"])) { - @slot; - } -} - -@custom-variant data-checked { - &:where([data-state="checked"]), - &:where([data-checked]:not([data-checked="false"])) { - @slot; - } -} - -@custom-variant data-unchecked { - &:where([data-state="unchecked"]), - &:where([data-unchecked]:not([data-unchecked="false"])) { - @slot; - } -} - -@custom-variant data-selected { - &:where([data-selected="true"]) { - @slot; - } -} - -@custom-variant data-disabled { - &:where([data-disabled="true"]), - &:where([data-disabled]:not([data-disabled="false"])) { - @slot; - } -} - -@custom-variant data-active { - &:where([data-state="active"]), - &:where([data-active]:not([data-active="false"])) { - @slot; - } -} - -@custom-variant data-horizontal { - &:where([data-orientation="horizontal"]) { - @slot; - } -} - -@custom-variant data-vertical { - &:where([data-orientation="vertical"]) { - @slot; - } -} - -@utility no-scrollbar { - -ms-overflow-style: none; - scrollbar-width: none; - - &::-webkit-scrollbar { - display: none; - } -} |
