@deweb.id/ui-kit 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +90 -2
- package/css/ui-kit.css +901 -0
- package/dist/chunk-028rzptn.js +253 -0
- package/dist/chunk-028rzptn.js.map +10 -0
- package/dist/chunk-0x0et52k.js +82 -0
- package/dist/chunk-0x0et52k.js.map +10 -0
- package/dist/chunk-17gmkyd1.js +195 -0
- package/dist/chunk-17gmkyd1.js.map +10 -0
- package/dist/chunk-19jsevr8.js +17 -0
- package/dist/chunk-19jsevr8.js.map +10 -0
- package/dist/chunk-1t1fbbme.js +171 -0
- package/dist/chunk-1t1fbbme.js.map +10 -0
- package/dist/chunk-26ban96z.js +151 -0
- package/dist/chunk-26ban96z.js.map +10 -0
- package/dist/chunk-39hey5ns.js +2034 -0
- package/dist/chunk-39hey5ns.js.map +19 -0
- package/dist/chunk-3f0bjycv.js +481 -0
- package/dist/chunk-3f0bjycv.js.map +10 -0
- package/dist/chunk-3zpf64v4.js +108 -0
- package/dist/chunk-3zpf64v4.js.map +10 -0
- package/dist/chunk-4jrq15v9.js +919 -0
- package/dist/chunk-4jrq15v9.js.map +10 -0
- package/dist/chunk-8dacesjp.js +289 -0
- package/dist/chunk-8dacesjp.js.map +10 -0
- package/dist/chunk-8een770x.js +2546 -0
- package/dist/chunk-8een770x.js.map +29 -0
- package/dist/chunk-8jv2g2ne.js +371 -0
- package/dist/chunk-8jv2g2ne.js.map +10 -0
- package/dist/chunk-abdqb4e5.js +156 -0
- package/dist/chunk-abdqb4e5.js.map +10 -0
- package/dist/chunk-af27xdf2.js +891 -0
- package/dist/chunk-af27xdf2.js.map +11 -0
- package/dist/chunk-amsyqyh9.js +23 -0
- package/dist/chunk-amsyqyh9.js.map +9 -0
- package/dist/chunk-czbcw9e1.js +503 -0
- package/dist/chunk-czbcw9e1.js.map +11 -0
- package/dist/chunk-dar8mz91.js +73 -0
- package/dist/chunk-dar8mz91.js.map +10 -0
- package/dist/chunk-dsddmmdk.js +136 -0
- package/dist/chunk-dsddmmdk.js.map +10 -0
- package/dist/chunk-edx7tas6.js +89 -0
- package/dist/chunk-edx7tas6.js.map +10 -0
- package/dist/chunk-es4tgmvr.js +1686 -0
- package/dist/chunk-es4tgmvr.js.map +12 -0
- package/dist/chunk-f2aqj672.js +240 -0
- package/dist/chunk-f2aqj672.js.map +11 -0
- package/dist/chunk-h6k57hyd.js +146 -0
- package/dist/chunk-h6k57hyd.js.map +10 -0
- package/dist/chunk-hkx78qgj.js +1548 -0
- package/dist/chunk-hkx78qgj.js.map +12 -0
- package/dist/chunk-hq57r97c.js +770 -0
- package/dist/chunk-hq57r97c.js.map +11 -0
- package/dist/chunk-jct2e2h1.js +139 -0
- package/dist/chunk-jct2e2h1.js.map +10 -0
- package/dist/chunk-je0j5sn4.js +246 -0
- package/dist/chunk-je0j5sn4.js.map +10 -0
- package/dist/chunk-k2b698v5.js +754 -0
- package/dist/chunk-k2b698v5.js.map +12 -0
- package/dist/chunk-kv58555q.js +267 -0
- package/dist/chunk-kv58555q.js.map +11 -0
- package/dist/chunk-m0msvrte.js +15 -0
- package/dist/chunk-m0msvrte.js.map +10 -0
- package/dist/chunk-m3t14v77.js +30 -0
- package/dist/chunk-m3t14v77.js.map +10 -0
- package/dist/chunk-mctp30cp.js +1466 -0
- package/dist/chunk-mctp30cp.js.map +10 -0
- package/dist/chunk-n37qb5m5.js +1408 -0
- package/dist/chunk-n37qb5m5.js.map +10 -0
- package/dist/chunk-nhhgsdt3.js +570 -0
- package/dist/chunk-nhhgsdt3.js.map +11 -0
- package/dist/chunk-pxydj130.js +28 -0
- package/dist/chunk-pxydj130.js.map +10 -0
- package/dist/chunk-qmbwp4k7.js +3275 -0
- package/dist/chunk-qmbwp4k7.js.map +13 -0
- package/dist/chunk-qzxf0aa2.js +149 -0
- package/dist/chunk-qzxf0aa2.js.map +10 -0
- package/dist/chunk-rbjyp9ff.js +47 -0
- package/dist/chunk-rbjyp9ff.js.map +10 -0
- package/dist/chunk-rbkc50xg.js +103 -0
- package/dist/chunk-rbkc50xg.js.map +10 -0
- package/dist/chunk-rn6f0s6x.js +66 -0
- package/dist/chunk-rn6f0s6x.js.map +9 -0
- package/dist/chunk-rswzbfa2.js +422 -0
- package/dist/chunk-rswzbfa2.js.map +10 -0
- package/dist/chunk-rzns0reg.js +157 -0
- package/dist/chunk-rzns0reg.js.map +10 -0
- package/dist/chunk-s851vtje.js +90 -0
- package/dist/chunk-s851vtje.js.map +10 -0
- package/dist/chunk-vak164kx.js +15 -0
- package/dist/chunk-vak164kx.js.map +9 -0
- package/dist/chunk-vpvnvegz.js +480 -0
- package/dist/chunk-vpvnvegz.js.map +10 -0
- package/dist/chunk-x4pk7vxm.js +10 -0
- package/dist/chunk-x4pk7vxm.js.map +10 -0
- package/dist/chunk-xd2fwgek.js +53 -0
- package/dist/chunk-xd2fwgek.js.map +10 -0
- package/dist/chunk-y71rd8qf.js +499 -0
- package/dist/chunk-y71rd8qf.js.map +10 -0
- package/dist/chunk-zjmt193s.js +34 -0
- package/dist/chunk-zjmt193s.js.map +9 -0
- package/dist/components/blocks/CustomHtmlBlock.d.ts +14 -0
- package/dist/components/blocks/LoginFormBlock.d.ts +16 -0
- package/dist/components/blocks/SidebarMenuBlock.d.ts +11 -0
- package/dist/components/blocks/SliderBlock.d.ts +13 -0
- package/dist/components/code/code-editor.d.ts +58 -0
- package/dist/components/code/code-preview.d.ts +18 -0
- package/dist/components/code/index.d.ts +4 -0
- package/dist/components/code/validator.d.ts +10 -0
- package/dist/components/code/vsc-themes.d.ts +6 -0
- package/dist/components/dashboard/compound/context.d.ts +14 -0
- package/dist/components/dashboard/compound/dashboard.d.ts +14 -0
- package/dist/components/dashboard/compound/index.d.ts +18 -0
- package/dist/components/dashboard/compound/main.d.ts +25 -0
- package/dist/components/dashboard/compound/sidebar.d.ts +5 -0
- package/dist/components/dashboard/dashboard-head-info.d.ts +38 -0
- package/dist/components/dashboard/dashboard-head.d.ts +19 -0
- package/dist/components/dashboard/dataview.d.ts +19 -0
- package/dist/components/dashboard/detailview.d.ts +1 -0
- package/dist/components/dashboard/formview.d.ts +265 -0
- package/dist/components/dashboard/pageformview.d.ts +79 -0
- package/dist/components/dashboard/styling/background-color-control.d.ts +34 -0
- package/dist/components/dashboard/styling/background-control.d.ts +45 -0
- package/dist/components/dashboard/styling/border-control.d.ts +14 -0
- package/dist/components/dashboard/styling/color-control.d.ts +22 -0
- package/dist/components/dashboard/styling/index.d.ts +7 -0
- package/dist/components/dashboard/styling/radius-control.d.ts +15 -0
- package/dist/components/dashboard/styling/spacing-control.d.ts +17 -0
- package/dist/components/dashboard/styling/types.d.ts +50 -0
- package/dist/components/document/index.d.ts +25 -0
- package/dist/components/ecommerce/commerce-cards.d.ts +37 -0
- package/dist/components/effect/action-animation.d.ts +14 -0
- package/dist/components/effect/element-animation.d.ts +41 -0
- package/dist/components/effect/page-transition.d.ts +10 -0
- package/dist/components/layout/BlockPalette.d.ts +14 -0
- package/dist/components/layout/DynamicLayout.d.ts +56 -0
- package/dist/components/layout/GridRow.d.ts +37 -0
- package/dist/components/layout/LayoutBuilder.d.ts +52 -0
- package/dist/components/layout/WidgetFieldsForm.d.ts +15 -0
- package/dist/components/ui/accordion.d.ts +36 -0
- package/dist/components/ui/action-bar.d.ts +46 -0
- package/dist/components/ui/alert.d.ts +25 -0
- package/dist/components/ui/animated.d.ts +41 -0
- package/dist/components/ui/app-shell.d.ts +53 -0
- package/dist/components/ui/avatar.d.ts +18 -0
- package/dist/components/ui/badge.d.ts +15 -0
- package/dist/components/ui/breadcrumb.d.ts +20 -0
- package/dist/components/ui/button-icon.d.ts +9 -0
- package/dist/components/ui/button.d.ts +37 -0
- package/dist/components/ui/calendar.d.ts +14 -0
- package/dist/components/ui/card-skeleton-aware.d.ts +2 -0
- package/dist/components/ui/card.d.ts +36 -0
- package/dist/components/ui/chart.d.ts +75 -0
- package/dist/components/ui/chat-bubble.d.ts +74 -0
- package/dist/components/ui/code.d.ts +85 -0
- package/dist/components/ui/code.js +21 -0
- package/dist/components/ui/code.js.map +9 -0
- package/dist/components/ui/collapsible.d.ts +25 -0
- package/dist/components/ui/control-group.d.ts +39 -0
- package/dist/components/ui/dashboard-grid/DashboardDropSlot.d.ts +10 -0
- package/dist/components/ui/dashboard-grid/DashboardGrid.d.ts +5 -0
- package/dist/components/ui/dashboard-grid/DashboardWidgetCard.d.ts +43 -0
- package/dist/components/ui/dashboard-grid/useDashboardDnd.d.ts +36 -0
- package/dist/components/ui/data-empty.d.ts +24 -0
- package/dist/components/ui/data-list.d.ts +16 -0
- package/dist/components/ui/data-table.d.ts +48 -0
- package/dist/components/ui/data-view/DataView.d.ts +46 -0
- package/dist/components/ui/data-view/DataViewCalendar.d.ts +18 -0
- package/dist/components/ui/data-view/DataViewContent.d.ts +5 -0
- package/dist/components/ui/data-view/DataViewFilter.d.ts +8 -0
- package/dist/components/ui/data-view/DataViewGrid.d.ts +32 -0
- package/dist/components/ui/data-view/DataViewHeader.d.ts +22 -0
- package/dist/components/ui/data-view/DataViewKanban.d.ts +16 -0
- package/dist/components/ui/data-view/DataViewPivot.d.ts +15 -0
- package/dist/components/ui/data-view/DataViewTable.d.ts +33 -0
- package/dist/components/ui/data-view/index.d.ts +9 -0
- package/dist/components/ui/date-time-picker.d.ts +205 -0
- package/dist/components/ui/drawer.d.ts +71 -0
- package/dist/components/ui/dropdown-animation.d.ts +7 -0
- package/dist/components/ui/dropdown.d.ts +71 -0
- package/dist/components/ui/error-state.d.ts +15 -0
- package/dist/components/ui/filter-bar.d.ts +50 -0
- package/dist/components/ui/filter-bar.js +19 -0
- package/dist/components/ui/filter-bar.js.map +9 -0
- package/dist/components/ui/font.d.ts +24 -0
- package/dist/components/ui/form-advanced.d.ts +198 -0
- package/dist/components/ui/form-compound.d.ts +58 -0
- package/dist/components/ui/form-context.d.ts +19 -0
- package/dist/components/ui/form.d.ts +451 -0
- package/dist/components/ui/format-currency.d.ts +10 -0
- package/dist/components/ui/format-date.d.ts +28 -0
- package/dist/components/ui/format-number.d.ts +22 -0
- package/dist/components/ui/format-time.d.ts +5 -0
- package/dist/components/ui/grid.d.ts +30 -0
- package/dist/components/ui/heading.d.ts +9 -0
- package/dist/components/ui/indicator.d.ts +17 -0
- package/dist/components/ui/initial-icon.d.ts +11 -0
- package/dist/components/ui/input-code.d.ts +27 -0
- package/dist/components/ui/input-grid.d.ts +54 -0
- package/dist/components/ui/input.d.ts +37 -0
- package/dist/components/ui/invoice-blocks.d.ts +124 -0
- package/dist/components/ui/invoice-document.d.ts +63 -0
- package/dist/components/ui/kanban.d.ts +16 -0
- package/dist/components/ui/label.d.ts +4 -0
- package/dist/components/ui/lazy-load.d.ts +13 -0
- package/dist/components/ui/lightbox.d.ts +15 -0
- package/dist/components/ui/list.d.ts +33 -0
- package/dist/components/ui/loading.d.ts +79 -0
- package/dist/components/ui/media-card.d.ts +50 -0
- package/dist/components/ui/media-player.d.ts +47 -0
- package/dist/components/ui/menu.d.ts +24 -0
- package/dist/components/ui/modal.d.ts +233 -0
- package/dist/components/ui/page.d.ts +51 -0
- package/dist/components/ui/pagination.d.ts +16 -0
- package/dist/components/ui/print.d.ts +173 -0
- package/dist/components/ui/project-card.d.ts +43 -0
- package/dist/components/ui/radius-control.d.ts +36 -0
- package/dist/components/ui/rich-text-editor.d.ts +32 -0
- package/dist/components/ui/select-card.d.ts +56 -0
- package/dist/components/ui/sidebar-logo.d.ts +11 -0
- package/dist/components/ui/sidebar-menu.d.ts +82 -0
- package/dist/components/ui/sidebar-search.d.ts +7 -0
- package/dist/components/ui/skeletons.d.ts +46 -0
- package/dist/components/ui/surface.d.ts +13 -0
- package/dist/components/ui/table-pivot.d.ts +10 -0
- package/dist/components/ui/table.d.ts +258 -0
- package/dist/components/ui/tabs.d.ts +79 -0
- package/dist/components/ui/task-board.d.ts +29 -0
- package/dist/components/ui/terminal.d.ts +51 -0
- package/dist/components/ui/text-sensor.d.ts +9 -0
- package/dist/components/ui/theme-styler.d.ts +3 -0
- package/dist/components/ui/theme-toggle.d.ts +23 -0
- package/dist/components/ui/tooltip.d.ts +11 -0
- package/dist/components/website/account-banner.d.ts +11 -0
- package/dist/components/website/account-layout.d.ts +20 -0
- package/dist/components/website/account.d.ts +46 -0
- package/dist/components/website/ambient.d.ts +19 -0
- package/dist/components/website/auth.d.ts +35 -0
- package/dist/components/website/blog/blog-list-custom.d.ts +3 -0
- package/dist/components/website/blog/blog-list-gallery.d.ts +2 -0
- package/dist/components/website/blog/blog-list-grid.d.ts +2 -0
- package/dist/components/website/blog/blog-list-list.d.ts +2 -0
- package/dist/components/website/blog.d.ts +50 -0
- package/dist/components/website/carousel.d.ts +58 -0
- package/dist/components/website/cart.d.ts +31 -0
- package/dist/components/website/catalogue-view.d.ts +81 -0
- package/dist/components/website/catalogue.d.ts +96 -0
- package/dist/components/website/comment.d.ts +52 -0
- package/dist/components/website/eclipse.d.ts +15 -0
- package/dist/components/website/feature-grid.d.ts +58 -0
- package/dist/components/website/filter.d.ts +109 -0
- package/dist/components/website/hero.d.ts +89 -0
- package/dist/components/website/localize.d.ts +36 -0
- package/dist/components/website/logo.d.ts +24 -0
- package/dist/components/website/megamenu.d.ts +10 -0
- package/dist/components/website/navbar.d.ts +42 -0
- package/dist/components/website/notification.d.ts +58 -0
- package/dist/components/website/price.d.ts +26 -0
- package/dist/components/website/pricing.d.ts +21 -0
- package/dist/components/website/product.d.ts +32 -0
- package/dist/components/website/rating.d.ts +36 -0
- package/dist/components/website/review-form.d.ts +54 -0
- package/dist/components/website/reviews.d.ts +119 -0
- package/dist/components/website/search.d.ts +30 -0
- package/dist/entries/accordion.d.ts +1 -0
- package/dist/entries/accordion.js +9 -0
- package/dist/entries/accordion.js.map +9 -0
- package/dist/entries/alert.d.ts +1 -0
- package/dist/entries/alert.js +10 -0
- package/dist/entries/alert.js.map +9 -0
- package/dist/entries/badge.d.ts +1 -0
- package/dist/entries/badge.js +11 -0
- package/dist/entries/badge.js.map +9 -0
- package/dist/entries/breadcrumb.d.ts +1 -0
- package/dist/entries/breadcrumb.js +10 -0
- package/dist/entries/breadcrumb.js.map +9 -0
- package/dist/entries/button.d.ts +1 -0
- package/dist/entries/button.js +12 -0
- package/dist/entries/button.js.map +9 -0
- package/dist/entries/card.d.ts +1 -0
- package/dist/entries/card.js +25 -0
- package/dist/entries/card.js.map +9 -0
- package/dist/entries/chart.d.ts +1 -0
- package/dist/entries/chart.js +130 -0
- package/dist/entries/chart.js.map +10 -0
- package/dist/entries/components.d.ts +53 -0
- package/dist/entries/components.js +643 -0
- package/dist/entries/components.js.map +9 -0
- package/dist/entries/dashboard/dataview.d.ts +1 -0
- package/dist/entries/dashboard/dataview.js +82 -0
- package/dist/entries/dashboard/dataview.js.map +10 -0
- package/dist/entries/dashboard/pageformview.d.ts +1 -0
- package/dist/entries/dashboard/pageformview.js +34 -0
- package/dist/entries/dashboard/pageformview.js.map +9 -0
- package/dist/entries/data-table.d.ts +1 -0
- package/dist/entries/data-table.js +22 -0
- package/dist/entries/data-table.js.map +9 -0
- package/dist/entries/date-time-picker.d.ts +1 -0
- package/dist/entries/date-time-picker.js +28 -0
- package/dist/entries/date-time-picker.js.map +9 -0
- package/dist/entries/document.d.ts +1 -0
- package/dist/entries/document.js +69 -0
- package/dist/entries/document.js.map +10 -0
- package/dist/entries/drawer.d.ts +1 -0
- package/dist/entries/drawer.js +20 -0
- package/dist/entries/drawer.js.map +9 -0
- package/dist/entries/dropdown.d.ts +1 -0
- package/dist/entries/dropdown.js +29 -0
- package/dist/entries/dropdown.js.map +9 -0
- package/dist/entries/error-state.d.ts +1 -0
- package/dist/entries/error-state.js +14 -0
- package/dist/entries/error-state.js.map +9 -0
- package/dist/entries/favorite-button.d.ts +1 -0
- package/dist/entries/favorite-button.js +7 -0
- package/dist/entries/favorite-button.js.map +10 -0
- package/dist/entries/font.d.ts +1 -0
- package/dist/entries/font.js +10 -0
- package/dist/entries/font.js.map +9 -0
- package/dist/entries/form-advanced.d.ts +1 -0
- package/dist/entries/form-advanced.js +39 -0
- package/dist/entries/form-advanced.js.map +9 -0
- package/dist/entries/form.d.ts +1 -0
- package/dist/entries/form.js +74 -0
- package/dist/entries/form.js.map +9 -0
- package/dist/entries/heading.d.ts +1 -0
- package/dist/entries/heading.js +8 -0
- package/dist/entries/heading.js.map +9 -0
- package/dist/entries/input.d.ts +1 -0
- package/dist/entries/input.js +11 -0
- package/dist/entries/input.js.map +9 -0
- package/dist/entries/layout.d.ts +4 -0
- package/dist/entries/layout.js +101 -0
- package/dist/entries/layout.js.map +9 -0
- package/dist/entries/lazy-load.d.ts +1 -0
- package/dist/entries/lazy-load.js +9 -0
- package/dist/entries/lazy-load.js.map +9 -0
- package/dist/entries/list.d.ts +1 -0
- package/dist/entries/list.js +13 -0
- package/dist/entries/list.js.map +9 -0
- package/dist/entries/loading.d.ts +1 -0
- package/dist/entries/loading.js +18 -0
- package/dist/entries/loading.js.map +9 -0
- package/dist/entries/menu.d.ts +1 -0
- package/dist/entries/menu.js +17 -0
- package/dist/entries/menu.js.map +9 -0
- package/dist/entries/modal.d.ts +1 -0
- package/dist/entries/modal.js +33 -0
- package/dist/entries/modal.js.map +9 -0
- package/dist/entries/product.d.ts +2 -0
- package/dist/entries/product.js +10 -0
- package/dist/entries/product.js.map +9 -0
- package/dist/entries/select-card.d.ts +1 -0
- package/dist/entries/select-card.js +13 -0
- package/dist/entries/select-card.js.map +9 -0
- package/dist/entries/skeletons.d.ts +1 -0
- package/dist/entries/skeletons.js +35 -0
- package/dist/entries/skeletons.js.map +9 -0
- package/dist/entries/surface.d.ts +1 -0
- package/dist/entries/surface.js +10 -0
- package/dist/entries/surface.js.map +9 -0
- package/dist/entries/table.d.ts +1 -0
- package/dist/entries/table.js +65 -0
- package/dist/entries/table.js.map +9 -0
- package/dist/entries/tabs.d.ts +1 -0
- package/dist/entries/tabs.js +20 -0
- package/dist/entries/tabs.js.map +9 -0
- package/dist/entries/theme-styler.d.ts +1 -0
- package/dist/entries/theme-styler.js +26 -0
- package/dist/entries/theme-styler.js.map +9 -0
- package/dist/entries/toast.d.ts +1 -0
- package/dist/entries/toast.js +13 -0
- package/dist/entries/toast.js.map +9 -0
- package/dist/index.d.ts +163 -0
- package/dist/index.js +19864 -0
- package/dist/index.js.map +92 -0
- package/dist/lib/color/className.d.ts +14 -0
- package/dist/lib/color/config.d.ts +82 -0
- package/dist/lib/color/engine.d.ts +221 -0
- package/dist/lib/color/generator.d.ts +45 -0
- package/dist/lib/color/index.d.ts +5 -0
- package/dist/lib/color/safelist.d.ts +1 -0
- package/dist/lib/color/types.d.ts +12 -0
- package/dist/lib/font/config.d.ts +13 -0
- package/dist/lib/font/engine.d.ts +77 -0
- package/dist/lib/font/index.d.ts +3 -0
- package/dist/lib/font/types.d.ts +27 -0
- package/dist/lib/icon/config.d.ts +37 -0
- package/dist/lib/icon/engine.d.ts +84 -0
- package/dist/lib/icon/index.d.ts +3 -0
- package/dist/lib/icon/presets.d.ts +71 -0
- package/dist/lib/layout/config.d.ts +7 -0
- package/dist/lib/layout/engine.d.ts +224 -0
- package/dist/lib/layout/types.d.ts +151 -0
- package/dist/lib/layout/useActiveBreakpoint.d.ts +14 -0
- package/dist/lib/layout/useBlockDrag.d.ts +47 -0
- package/dist/lib/layout/useSectionDrag.d.ts +30 -0
- package/dist/lib/layout/useSpanResize.d.ts +31 -0
- package/dist/lib/localize/data.d.ts +9 -0
- package/dist/lib/product-utils.d.ts +7 -0
- package/dist/lib/sanitize/sanitizeHtml.d.ts +52 -0
- package/dist/lib/theme/motion.d.ts +27 -0
- package/dist/lib/theme/motion.js +12 -0
- package/dist/lib/theme/motion.js.map +9 -0
- package/dist/lib/theme/types.d.ts +133 -0
- package/dist/lib/useUndoRedo.d.ts +21 -0
- package/dist/lib/utils.d.ts +2 -0
- package/dist/types/product.d.ts +27 -0
- package/package.json +442 -4
package/css/ui-kit.css
ADDED
|
@@ -0,0 +1,901 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Deweb UI Kit -- shared design tokens + keyframes.
|
|
3
|
+
* SOURCE OF TRUTH -- edit di sini, lalu jalankan sync-ui-kit.sh untuk
|
|
4
|
+
* menyalin ke deweb-portal-admin & deweb-portal-web. Lihat README.md.
|
|
5
|
+
*
|
|
6
|
+
* Diimport lewat @import "../../deweb-ui-kit/css/ui-kit.css" di index.css
|
|
7
|
+
* masing-masing project, SEBELUM aturan project-specific (mis. dashboard
|
|
8
|
+
* drag keyframes di admin yang tidak relevan untuk client).
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
@custom-variant dark (&:where(.deweb-dark-scope, .deweb-dark-scope *));
|
|
12
|
+
|
|
13
|
+
@theme {
|
|
14
|
+
--font-sans: var(--font-body, 'Inter', system-ui, sans-serif);
|
|
15
|
+
--font-heading: var(--font-heading, 'Plus Jakarta Sans', system-ui, sans-serif);
|
|
16
|
+
--font-serif: var(--font-accent, 'Playfair Display', Georgia, serif);
|
|
17
|
+
--font-mono: var(--font-mono, 'JetBrains Mono', monospace);
|
|
18
|
+
--text-2xs: 0.65rem;
|
|
19
|
+
--text-2xs--line-height: 0.85rem;
|
|
20
|
+
--default-transition-duration: var(--motion-speed, var(--ui-animation-speed, 200ms));
|
|
21
|
+
--default-transition-timing-function: var(--motion-ease, var(--ui-animation-timing, cubic-bezier(0.16, 1, 0.3, 1)));
|
|
22
|
+
|
|
23
|
+
/* Box tokens mapped to dynamic CSS variables */
|
|
24
|
+
--radius-sm: var(--ui-radius-sm, 6px);
|
|
25
|
+
--radius-md: var(--ui-radius-md, 8px);
|
|
26
|
+
--radius-lg: var(--ui-radius-lg, 12px);
|
|
27
|
+
--radius-xl: var(--ui-radius-xl, 16px);
|
|
28
|
+
|
|
29
|
+
--shadow-sm: var(--ui-shadow-sm, 0 1px 2px 0 rgb(0 0 0 / 0.06));
|
|
30
|
+
--shadow-md: var(--ui-shadow-md, 0 4px 6px -1px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.06));
|
|
31
|
+
--shadow-lg: var(--ui-shadow-lg, 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.06));
|
|
32
|
+
--shadow-high-lg: 0 20px 28px -6px rgb(0 0 0 / 0.16), 0 8px 10px -6px rgb(0 0 0 / 0.10);
|
|
33
|
+
|
|
34
|
+
/* Border contrast tokens (low, normal, high) have been moved to dynamic JS engine in color.json */
|
|
35
|
+
|
|
36
|
+
/* Layout & Brand colors di-inject secara dinamis oleh lib/color/config.ts di runtime
|
|
37
|
+
(JS-first). Nilai di bawah ini WAJIB tetap ada di @theme agar Tailwind men-generate
|
|
38
|
+
utility class (seperti bg-background, text-foreground), dan ini juga berfungsi sebagai
|
|
39
|
+
fallback sebelum JS berjalan. */
|
|
40
|
+
--color-background: #fafafa;
|
|
41
|
+
--color-foreground: #18181b;
|
|
42
|
+
--color-card: #ffffff;
|
|
43
|
+
--color-card-foreground: #18181b;
|
|
44
|
+
--color-border: #e4e4e7;
|
|
45
|
+
--color-input: var(--ui-border-input, #d4d4d8);
|
|
46
|
+
--color-tooltip: #ffffff;
|
|
47
|
+
--color-tooltip-foreground: #18181b;
|
|
48
|
+
--color-loading: #3377bb;
|
|
49
|
+
--color-loading-foreground: #ffffff;
|
|
50
|
+
/* Component color resmi -- didaftarkan di deweb-ui.json (elements.skeleton =
|
|
51
|
+
"gray-light", SAMA alias dengan --color-border) supaya skeleton punya
|
|
52
|
+
referensi warna sendiri lewat sistem token, bukan pinjam token lain yang
|
|
53
|
+
maknanya beda (mis. border-field-normal) atau hex hardcode lepas. Lihat
|
|
54
|
+
src/lib/color/types.ts (ThemeColorKey) untuk daftar lengkap component color. */
|
|
55
|
+
--color-skeleton: #e4e4e7;
|
|
56
|
+
--color-skeleton-foreground: #18181b;
|
|
57
|
+
--color-tab: #3377bb;
|
|
58
|
+
--color-tab-foreground: #ffffff;
|
|
59
|
+
--color-datetime: #3377bb;
|
|
60
|
+
--color-datetime-foreground: #ffffff;
|
|
61
|
+
--color-filter: #3377bb;
|
|
62
|
+
--color-filter-foreground: #ffffff;
|
|
63
|
+
|
|
64
|
+
--color-primary: #3377bb;
|
|
65
|
+
--color-primary-foreground: #ffffff;
|
|
66
|
+
--color-primary-safe: #1d5b96;
|
|
67
|
+
--color-secondary: #f4f4f5;
|
|
68
|
+
--color-secondary-foreground: #18181b;
|
|
69
|
+
--color-hover: color-mix(in srgb, var(--color-foreground) 5%, transparent);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/*
|
|
73
|
+
* Deweb UI Kit Auto-Contrast Fallback
|
|
74
|
+
* :where() digunakan agar specificity-nya 0. Artinya, jika developer
|
|
75
|
+
* secara eksplisit memakai class teks lain (misal: text-red-500),
|
|
76
|
+
* Tailwind class tersebut akan dengan mudah menimpa auto-contrast ini.
|
|
77
|
+
*/
|
|
78
|
+
:where(.bg-primary) {
|
|
79
|
+
color: var(--color-primary-foreground);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
:where(.bg-secondary) {
|
|
83
|
+
color: var(--color-secondary-foreground);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
:where(.bg-success) {
|
|
87
|
+
color: var(--color-success-foreground);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
:where(.bg-warning) {
|
|
91
|
+
color: var(--color-warning-foreground);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
:where(.bg-danger) {
|
|
95
|
+
color: var(--color-danger-foreground);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
:where(.bg-info) {
|
|
99
|
+
color: var(--color-info-foreground);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
:where(.bg-danger) {
|
|
103
|
+
color: var(--color-danger-foreground);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
@theme {
|
|
107
|
+
--color-brand: #3377bb;
|
|
108
|
+
--color-brand-dark: #2a6299;
|
|
109
|
+
--color-muted: #f4f4f5;
|
|
110
|
+
--color-muted-light: color-mix(in srgb, var(--color-muted) 50%, transparent);
|
|
111
|
+
--color-muted-foreground: #71717a;
|
|
112
|
+
--color-accent: #f4f4f5;
|
|
113
|
+
--color-accent-foreground: #18181b;
|
|
114
|
+
--color-danger: #dc2626;
|
|
115
|
+
--color-danger-foreground: #fef2f2;
|
|
116
|
+
|
|
117
|
+
/* success/warning/danger/info -- dipertahankan untuk backward-compat & class utilities.
|
|
118
|
+
Nilainya SAMA PERSIS dengan tingkat "asli" di palet semantik. */
|
|
119
|
+
--color-success: #16a34a;
|
|
120
|
+
--color-success-foreground: #ffffff;
|
|
121
|
+
--color-warning: #ffe135;
|
|
122
|
+
--color-warning-foreground: #18181b;
|
|
123
|
+
--color-danger: #ef4444;
|
|
124
|
+
--color-danger-foreground: #ffffff;
|
|
125
|
+
--color-destructive: var(--color-danger);
|
|
126
|
+
--color-destructive-foreground: var(--color-danger-foreground);
|
|
127
|
+
--color-info: #2563eb;
|
|
128
|
+
--color-info-foreground: #ffffff;
|
|
129
|
+
|
|
130
|
+
--color-ring: #a1a1aa;
|
|
131
|
+
|
|
132
|
+
/* Sidebar (dark, sesuai CMS Dashboard.dc.html) */
|
|
133
|
+
--color-sidebar: #18181b;
|
|
134
|
+
--color-sidebar-foreground: #fafafa;
|
|
135
|
+
--color-sidebar-border: #27272a;
|
|
136
|
+
--color-sidebar-accent: #27272a;
|
|
137
|
+
|
|
138
|
+
/* Sidebar Dimensions */
|
|
139
|
+
--sidebar-menu-height: 36px;
|
|
140
|
+
--sidebar-sub-menu-height: 32px;
|
|
141
|
+
--sidebar-icon-size: 18px;
|
|
142
|
+
--sidebar-icon-sub-size: 14px;
|
|
143
|
+
--sidebar-text-size: 13px;
|
|
144
|
+
--sidebar-text-sub-size: 13px;
|
|
145
|
+
--sidebar-indent: 18px;
|
|
146
|
+
|
|
147
|
+
--color-purple-dimmy: #faf5ff;
|
|
148
|
+
--color-purple: #9333ea;
|
|
149
|
+
--color-purple-text: #7e22ce;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
html {
|
|
153
|
+
/* Reservasi lebar scrollbar permanen -- tanpa ini, saat Modal buka
|
|
154
|
+
Headless UI menyuntik inline style `overflow: hidden; padding-right: Npx`
|
|
155
|
+
langsung ke <html> untuk kunci scroll body. Itu MENIMPA `overflow-y`
|
|
156
|
+
apapun yang di-set lewat CSS class (inline style menang, `scrollbar-
|
|
157
|
+
gutter: stable` jadi tidak berlaku karena overflow bukan scroll/auto
|
|
158
|
+
lagi saat itu) -- viewport jadi lebih lebar pas modal terbuka, dan
|
|
159
|
+
modal ber-`justify-center` (bottom/top slide) kelihatan "geser"/goyang
|
|
160
|
+
horizontal di tengah animasi karena titik tengahnya ikut bergeser.
|
|
161
|
+
Root cause ditemukan 2026-07-27.
|
|
162
|
+
Fix: paksa overflow-y & scrollbar-gutter dengan !important supaya
|
|
163
|
+
TIDAK BISA ditimpa inline style Headless UI. */
|
|
164
|
+
overflow-y: scroll !important;
|
|
165
|
+
scrollbar-gutter: stable !important;
|
|
166
|
+
/* Headless UI TETAP menghitung & menyuntik `padding-right: Npx` (kompensasi
|
|
167
|
+
scrollbar) terpisah dari mekanisme di atas -- begitu scrollbar-gutter
|
|
168
|
+
SUDAH mereservasi ruang itu sendiri, padding-right tambahan dari
|
|
169
|
+
Headless UI jadi DOUBLE-COMPENSATION: konten bergeser ekstra ke kiri
|
|
170
|
+
tiap kali Modal buka/tutup (dilaporkan 2026-07-27: "body kerasa
|
|
171
|
+
bergeser, tidak diam"). Netralkan dengan !important -- gutter sendirian
|
|
172
|
+
sudah cukup untuk menjaga lebar viewport konstan. */
|
|
173
|
+
padding-right: 0px !important;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
/* Persis dari Design/CMS Dashboard.dc.html -- scrollbar tipis (4px),
|
|
177
|
+
transparan by default, baru terlihat abu-abu saat hover area yang bisa
|
|
178
|
+
di-scroll. Tanpa ini scrollbar pakai default browser (tebal ~15-17px,
|
|
179
|
+
selalu terlihat) yang jauh lebih "berat" dari referensi, terutama
|
|
180
|
+
kentara di sidebar Pages Kit (Panel & Portal) yang sempit. Ditemukan
|
|
181
|
+
2026-07-27 saat Pages Kit dibandingkan langsung dengan referensi asli.
|
|
182
|
+
CATATAN: warna thumb referensi asli (#e4e4e7/#d4d4d8) diperkuat ke
|
|
183
|
+
#a1a1aa/#71717a -- kontras terlalu rendah di atas card putih, nyaris tak
|
|
184
|
+
kelihatan sama sekali walau CSS-nya sudah persis sama (dilaporkan
|
|
185
|
+
2026-07-27 lewat demo box Component Kit § Scrollbar). */
|
|
186
|
+
::-webkit-scrollbar {
|
|
187
|
+
width: 4px;
|
|
188
|
+
height: 4px;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
::-webkit-scrollbar-track {
|
|
192
|
+
background: transparent;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
::-webkit-scrollbar-thumb {
|
|
196
|
+
background: transparent;
|
|
197
|
+
border-radius: 8px;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
*:hover::-webkit-scrollbar-thumb {
|
|
201
|
+
background: #a1a1aa;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
::-webkit-scrollbar-thumb:hover {
|
|
205
|
+
background: #71717a;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
body {
|
|
209
|
+
margin: 0;
|
|
210
|
+
font-family: var(--font-body, var(--font-sans));
|
|
211
|
+
font-size: var(--font-base-size, clamp(13px, 10px + 0.156vw, 14.5px));
|
|
212
|
+
line-height: 1.5;
|
|
213
|
+
background: var(--color-background);
|
|
214
|
+
color: var(--color-foreground);
|
|
215
|
+
-webkit-font-smoothing: antialiased;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
h1, h2, h3, h4, h5, h6 {
|
|
219
|
+
font-family: var(--font-heading, var(--font-body, var(--font-sans)));
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
@layer base {
|
|
223
|
+
h1 {
|
|
224
|
+
font-size: var(--font-size-2xl, clamp(28px, 22px + 0.35vw, 34px));
|
|
225
|
+
font-weight: 700;
|
|
226
|
+
line-height: 1.25;
|
|
227
|
+
}
|
|
228
|
+
h2 {
|
|
229
|
+
font-size: var(--font-size-xl, clamp(22px, 18px + 0.25vw, 25px));
|
|
230
|
+
font-weight: 700;
|
|
231
|
+
line-height: 1.3;
|
|
232
|
+
}
|
|
233
|
+
h3 {
|
|
234
|
+
font-size: var(--font-size-lg, clamp(17px, 13px + 0.2vw, 19px));
|
|
235
|
+
font-weight: 600;
|
|
236
|
+
line-height: 1.35;
|
|
237
|
+
}
|
|
238
|
+
/* Normalisasi tag native <code> agar ringkas dan kontras tinggi di semua tema */
|
|
239
|
+
code:not(pre code) {
|
|
240
|
+
font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace);
|
|
241
|
+
font-size: 0.85em;
|
|
242
|
+
line-height: 1.15;
|
|
243
|
+
padding: 0.05em 0.35em;
|
|
244
|
+
border-radius: var(--ui-radius, 4px);
|
|
245
|
+
background-color: color-mix(in srgb, var(--color-foreground) 6%, transparent);
|
|
246
|
+
color: var(--color-primary-safe, #1d5b96);
|
|
247
|
+
border: 1px solid var(--color-border, rgba(0, 0, 0, 0.1));
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
.dark code:not(pre code),
|
|
251
|
+
[data-theme="dark"] code:not(pre code) {
|
|
252
|
+
color: var(--color-primary, #3377bb);
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
/* TaskBoard.dc.html -- bounce-settle saat kartu kanban di-drop (hooks/useKanbanDnd.ts). */
|
|
257
|
+
@keyframes cardDrop {
|
|
258
|
+
0% {
|
|
259
|
+
transform: translateY(-4px) scale(1.02);
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
60% {
|
|
263
|
+
transform: translateY(1px) scale(1);
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
100% {
|
|
267
|
+
transform: translateY(0) scale(1);
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
* {
|
|
272
|
+
box-sizing: border-box;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
/* Semua tombol (dan label yang bertindak sebagai trigger, mis. Checkbox/Radio yang
|
|
276
|
+
membungkus <input> tersembunyi) selalu cursor: pointer -- request eksplisit 2026-07-28
|
|
277
|
+
"label atau button cursornya buat pointer, jangan ke default". Global (bukan diedit
|
|
278
|
+
manual per-komponen) supaya otomatis berlaku ke SEMUA tombol termasuk yang akan
|
|
279
|
+
ditambah nanti, tidak perlu diingat-ingat tiap bikin komponen baru. :disabled/
|
|
280
|
+
aria-disabled dikecualikan -- elemen nonaktif TETAP cursor-not-allowed/default, klik
|
|
281
|
+
memang tidak boleh terasa "bisa" secara visual. */
|
|
282
|
+
button:not(:disabled):not([aria-disabled='true']),
|
|
283
|
+
[role='button']:not([aria-disabled='true']),
|
|
284
|
+
label:has(input:not(:disabled)) {
|
|
285
|
+
cursor: pointer;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
/* ProgressBarWithValue -- efek komet di handle (2026-07-28): serpihan kecil menyebar ke
|
|
291
|
+
KIRI (arah ekor, berlawanan arah gerak progress ke kanan) sambil mengecil & fade, loop
|
|
292
|
+
terus-menerus dengan delay berbeda per partikel supaya trail terasa kontinyu (bukan
|
|
293
|
+
1 ledakan sekali seperti fav-particle-burst). Jarak & tinggi acak kecil (translateY
|
|
294
|
+
berbeda tiap partikel) supaya serpihannya tidak baris lurus kaku. */
|
|
295
|
+
@keyframes comet-particle {
|
|
296
|
+
0% {
|
|
297
|
+
transform: translate(0, 0) scale(1);
|
|
298
|
+
opacity: 0.9;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
100% {
|
|
302
|
+
transform: translate(-14px, var(--comet-y, 0px)) scale(0);
|
|
303
|
+
opacity: 0;
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
/* Fill putih + border biru (BUKAN fill biru solid) -- request eksplisit 2026-07-28: "yang
|
|
308
|
+
bordir biru, fill putih itu efek meteorid nya (partikel), bukan lingkaran nya (bola
|
|
309
|
+
utama)". z-index 1 -- request eksplisit "efeknya berada di depan bola titik" supaya
|
|
310
|
+
serpihan tidak ketutup, bola utama TIDAK diberi z-index (default auto, di belakang). */
|
|
311
|
+
.comet-particle {
|
|
312
|
+
position: absolute;
|
|
313
|
+
z-index: 1;
|
|
314
|
+
border-radius: 9999px;
|
|
315
|
+
background-color: white;
|
|
316
|
+
border: 1px solid var(--color-brand);
|
|
317
|
+
pointer-events: none;
|
|
318
|
+
animation: comet-particle 0.9s ease-out infinite;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
/* ProgressBarWithValue animation="spinning" -- awalnya marching-ants (dashed border
|
|
322
|
+
bergerak), diganti 2026-07-28 karena "jelek sekali, tidak modern sama sekali". Shimmer
|
|
323
|
+
sweep: highlight putih semi-transparan menyapu terus-menerus dari kiri ke kanan DI DALAM
|
|
324
|
+
area fill yang sudah terisi -- pola umum dipakai loading bar modern (LinkedIn dan
|
|
325
|
+
sejenisnya). background-size 200% + posisi start di luar kiri (-150%) supaya sweep mulai
|
|
326
|
+
dari off-screen, bukan muncul tiba-tiba di tengah. */
|
|
327
|
+
/* opacity 0.55 -> 0.3 -- dilaporkan 2026-07-28 "terlalu mengkilat", highlight lebih subtle. */
|
|
328
|
+
@keyframes shimmer-sweep {
|
|
329
|
+
from {
|
|
330
|
+
background-position: -150% 0;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
to {
|
|
334
|
+
background-position: 250% 0;
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
.shimmer-sweep {
|
|
339
|
+
background-image: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
|
|
340
|
+
background-size: 60% 100%;
|
|
341
|
+
background-repeat: no-repeat;
|
|
342
|
+
animation: shimmer-sweep 1.4s ease-in-out infinite;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
/* Skeleton block -- dipakai skeletons.tsx (TableSkeleton/StatCardSkeleton/dst). Base
|
|
346
|
+
--color-skeleton (component color resmi, lihat definisi di atas) supaya jelas
|
|
347
|
+
terlihat "sedang loading" -- --color-muted terlalu terang (nyaris putih),
|
|
348
|
+
animate-pulse opacity dari warna sepucat itu nyaris tidak kebaca di atas Card
|
|
349
|
+
putih (dilaporkan 2026-07-29: "ga tau kalo lg loading atau skletonya").
|
|
350
|
+
Base color dipisah dari animasi -- 2 varian animasi (pulse/shimmer) dipasang
|
|
351
|
+
via class terpisah supaya developer bisa pilih lewat prop `animation` di
|
|
352
|
+
skeletons.tsx (dilaporkan 2026-07-29: shimmer "kayak metal/kilat", terlalu
|
|
353
|
+
seragam karena semua elemen sweep bareng di detik yang sama -- pulse jadi
|
|
354
|
+
default yang lebih tenang, shimmer opsional). */
|
|
355
|
+
.skeleton-block {
|
|
356
|
+
background-color: var(--color-skeleton);
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
/* Pulse -- opacity naik-turun perlahan ("napas"), TIDAK ada gerakan sweep sama
|
|
360
|
+
sekali. Default paling umum dipakai (mirip skeleton Facebook/LinkedIn lama). */
|
|
361
|
+
@keyframes skeletonPulse {
|
|
362
|
+
|
|
363
|
+
0%,
|
|
364
|
+
100% {
|
|
365
|
+
opacity: 1;
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
50% {
|
|
369
|
+
opacity: 0.45;
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
.skeleton-pulse {
|
|
374
|
+
animation: skeletonPulse 1.6s ease-in-out infinite;
|
|
375
|
+
/* animation-delay di-override inline per elemen (lihat skeletons.tsx) supaya
|
|
376
|
+
tiap blok tidak "napas" bebarengan -- kesan lebih natural/tidak seragam. */
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
/* Shimmer -- efek sweep cahaya (varian lama, sekarang opsional lewat animation="shimmer").
|
|
380
|
+
Highlight DIHITUNG dari --color-skeleton sendiri (color-mix ke putih 55%) --
|
|
381
|
+
BUKAN token warna terpisah -- supaya kalau --color-skeleton diubah (theme
|
|
382
|
+
editor/rebrand), highlight otomatis ikut menyesuaikan, selalu harmonis.
|
|
383
|
+
Versi awal pakai white solid opacity 0.5, kontrasnya terlalu tinggi di atas
|
|
384
|
+
--color-skeleton, kesannya "berkilau metal" (dilaporkan 2026-07-29) -- warna
|
|
385
|
+
campuran (bukan overlay opacity) + sweep diperlambat jauh lebih lembut. */
|
|
386
|
+
.skeleton-shimmer {
|
|
387
|
+
background-image: linear-gradient(90deg, transparent, color-mix(in srgb, var(--color-skeleton) 45%, white), transparent);
|
|
388
|
+
background-size: 60% 100%;
|
|
389
|
+
background-repeat: no-repeat;
|
|
390
|
+
animation: shimmer-sweep 2s ease-in-out infinite;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
/* ScrollWheel/CalendarInput -- sembunyikan scrollbar wheel picker. */
|
|
394
|
+
.hide-scrollbar::-webkit-scrollbar {
|
|
395
|
+
display: none;
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
.hide-scrollbar {
|
|
399
|
+
-ms-overflow-style: none;
|
|
400
|
+
scrollbar-width: none;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
/* FileInput (dropzone) preview -- pola checkerboard standar industri (Figma/Photoshop) untuk
|
|
404
|
+
preview gambar/video transparan atau berwarna senada BG. Fix 2026-07-28: bingkai solid putih
|
|
405
|
+
TIDAK cukup -- gambar/PNG dengan warna dominan putih/abu terang (mis. logo abu-abu) tetap
|
|
406
|
+
"menyatu" dengan card putih di sekitarnya, terkesan tidak ada file ter-upload. Checkerboard
|
|
407
|
+
menjamin kontras tepi gambar selalu terlihat APAPUN warna dominan file-nya, tanpa perlu
|
|
408
|
+
analisis pixel/kontras gambar (yang jauh lebih kompleks & tidak perlu untuk kasus ini). */
|
|
409
|
+
.checkerboard-bg {
|
|
410
|
+
background-image:
|
|
411
|
+
linear-gradient(45deg, #e4e4e7 25%, transparent 25%),
|
|
412
|
+
linear-gradient(-45deg, #e4e4e7 25%, transparent 25%),
|
|
413
|
+
linear-gradient(45deg, transparent 75%, #e4e4e7 75%),
|
|
414
|
+
linear-gradient(-45deg, transparent 75%, #e4e4e7 75%);
|
|
415
|
+
background-size: 16px 16px;
|
|
416
|
+
background-position: 0 0, 0 8px, 8px -8px, -8px 0px;
|
|
417
|
+
background-color: #fafafa;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
/* Hide default browser password reveal icon since we use our own */
|
|
421
|
+
input::-ms-reveal,
|
|
422
|
+
input::-ms-clear,
|
|
423
|
+
input::-webkit-credentials-auto-fill-button {
|
|
424
|
+
display: none !important;
|
|
425
|
+
}
|
|
426
|
+
/* Fix dimmy colors in dark mode to not be overly bright/contrasting.
|
|
427
|
+
Since engine.ts sets inline variables on :root for dimmy (which are very light),
|
|
428
|
+
we forcefully override them here in .deweb-dark-scope using color-mix. */
|
|
429
|
+
:root.deweb-dark-scope, :root.dark, html.deweb-dark-scope, html.dark, .deweb-dark-scope, .deweb-dark-scope-portal {
|
|
430
|
+
--color-background: var(--color-dark, #09090b);
|
|
431
|
+
--color-card: var(--color-zinc-dark, #18181b);
|
|
432
|
+
--color-input: var(--color-zinc, #27272a);
|
|
433
|
+
--color-tooltip: var(--color-dark, #09090b);
|
|
434
|
+
--color-muted: var(--color-zinc, #27272a);
|
|
435
|
+
--color-secondary: var(--color-zinc, #27272a);
|
|
436
|
+
--color-secondary-foreground: var(--color-dark-foreground, #fafafa);
|
|
437
|
+
|
|
438
|
+
--color-foreground: var(--color-dark-foreground, #fafafa);
|
|
439
|
+
--color-background-foreground: var(--color-dark-foreground, #fafafa);
|
|
440
|
+
--color-card-foreground: var(--color-dark-foreground, #fafafa);
|
|
441
|
+
--color-input-foreground: var(--color-dark-foreground, #fafafa);
|
|
442
|
+
--color-tooltip-foreground: var(--color-dark-foreground, #fafafa);
|
|
443
|
+
--color-text-color: color-mix(in srgb, var(--color-dark-foreground, #fafafa) 80%, transparent);
|
|
444
|
+
--color-muted-foreground: color-mix(in srgb, var(--color-dark-foreground, #fafafa) 70%, transparent);
|
|
445
|
+
|
|
446
|
+
--color-border: color-mix(in srgb, var(--color-dark-foreground, #fafafa) 8%, transparent);
|
|
447
|
+
--color-border-field-low: color-mix(in srgb, var(--color-dark-foreground, #fafafa) 5%, transparent);
|
|
448
|
+
--color-border-field-normal: color-mix(in srgb, var(--color-dark-foreground, #fafafa) 12%, transparent);
|
|
449
|
+
--color-border-field-high: color-mix(in srgb, var(--color-dark-foreground, #fafafa) 20%, transparent);
|
|
450
|
+
--color-border-hover: color-mix(in srgb, var(--color-dark-foreground, #fafafa) 25%, transparent);
|
|
451
|
+
--ui-border-input: color-mix(in srgb, var(--color-dark-foreground, #fafafa) 14%, transparent);
|
|
452
|
+
|
|
453
|
+
--color-primary-dimmy: color-mix(in srgb, var(--color-primary) 40%, transparent) !important;
|
|
454
|
+
--color-primary-text: var(--color-primary-light) !important;
|
|
455
|
+
--color-secondary-dimmy: color-mix(in srgb, var(--color-secondary) 40%, transparent) !important;
|
|
456
|
+
--color-secondary-text: var(--color-secondary-light) !important;
|
|
457
|
+
--color-accent-dimmy: color-mix(in srgb, var(--color-accent) 40%, transparent) !important;
|
|
458
|
+
--color-accent-text: var(--color-accent-light) !important;
|
|
459
|
+
--color-danger-dimmy: color-mix(in srgb, var(--color-danger) 40%, transparent) !important;
|
|
460
|
+
--color-danger-text: var(--color-danger-light) !important;
|
|
461
|
+
--color-success-dimmy: color-mix(in srgb, var(--color-success) 40%, transparent) !important;
|
|
462
|
+
--color-success-text: var(--color-success-light) !important;
|
|
463
|
+
--color-warning-dimmy: color-mix(in srgb, var(--color-warning) 40%, transparent) !important;
|
|
464
|
+
--color-warning-text: var(--color-warning-light) !important;
|
|
465
|
+
--color-info-dimmy: color-mix(in srgb, var(--color-info) 40%, transparent) !important;
|
|
466
|
+
--color-info-text: var(--color-info-light) !important;
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
|
|
470
|
+
@layer base {
|
|
471
|
+
/* Box Fallbacks */
|
|
472
|
+
:root {
|
|
473
|
+
--ui-radius-sm: 6px;
|
|
474
|
+
--ui-radius-md: 8px;
|
|
475
|
+
--ui-radius-lg: 12px;
|
|
476
|
+
--ui-radius-xl: 16px;
|
|
477
|
+
--ui-btn-radius: var(--ui-button-radius, var(--ui-radius-md, 8px));
|
|
478
|
+
--ui-input-radius: var(--ui-radius-md, 8px);
|
|
479
|
+
|
|
480
|
+
--ui-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.06);
|
|
481
|
+
--ui-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.06);
|
|
482
|
+
--ui-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.06);
|
|
483
|
+
|
|
484
|
+
--ui-border-input: color-mix(in srgb, var(--color-foreground) 14%, transparent);
|
|
485
|
+
|
|
486
|
+
/* Motion Engine Speed & Easing Tokens (0 - 10 Scale) */
|
|
487
|
+
--motion-dur-none: 0ms;
|
|
488
|
+
--motion-dur-instant: 75ms;
|
|
489
|
+
--motion-dur-fast: 150ms;
|
|
490
|
+
--motion-dur-normal: 250ms;
|
|
491
|
+
--motion-dur-slow: 450ms;
|
|
492
|
+
--motion-dur-gentle: 700ms;
|
|
493
|
+
|
|
494
|
+
--motion-ease-natural: cubic-bezier(0.16, 1, 0.3, 1);
|
|
495
|
+
--motion-ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
|
496
|
+
--motion-ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
|
|
497
|
+
--motion-ease-linear: linear;
|
|
498
|
+
|
|
499
|
+
--motion-speed: var(--motion-dur-normal);
|
|
500
|
+
--motion-ease: var(--motion-ease-natural);
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
/*
|
|
505
|
+
* -------------------------------------------------------------
|
|
506
|
+
* Enforce Global Animation Config
|
|
507
|
+
* -------------------------------------------------------------
|
|
508
|
+
* Memastikan Tailwind classes seperti transition-all mengikuti konfigurasi Styler
|
|
509
|
+
*/
|
|
510
|
+
@layer utilities {
|
|
511
|
+
.transition-all, .transition-colors, .transition-transform, .transition-opacity, .transition {
|
|
512
|
+
transition-duration: var(--ui-animation-speed, 200ms) !important;
|
|
513
|
+
transition-timing-function: var(--ui-animation-timing, ease-out) !important;
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
/* Animated wrapper animations (Outside layer utilities so they don't get purged due to dynamic class names) */
|
|
518
|
+
.deweb-anim-zoom {
|
|
519
|
+
animation: action-zoom var(--anim-duration, 400ms) cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
|
520
|
+
}
|
|
521
|
+
@keyframes action-zoom {
|
|
522
|
+
0% { transform: scale(1); opacity: 1; }
|
|
523
|
+
40% { transform: scale(1.2); opacity: 1; }
|
|
524
|
+
100% { transform: scale(1); opacity: 1; }
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
.deweb-anim-bounce {
|
|
528
|
+
animation: action-bounce var(--anim-duration, 600ms) ease-in-out;
|
|
529
|
+
}
|
|
530
|
+
@keyframes action-bounce {
|
|
531
|
+
0% { transform: translateY(0); }
|
|
532
|
+
20% { transform: translateY(-10px); }
|
|
533
|
+
40% { transform: translateY(0); }
|
|
534
|
+
60% { transform: translateY(-4px); }
|
|
535
|
+
75% { transform: translateY(0); }
|
|
536
|
+
85% { transform: translateY(-2px); }
|
|
537
|
+
100% { transform: translateY(0); }
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
.deweb-anim-spin {
|
|
541
|
+
animation: action-spin var(--anim-duration, 600ms) cubic-bezier(0.4, 0, 0.2, 1);
|
|
542
|
+
}
|
|
543
|
+
@keyframes action-spin {
|
|
544
|
+
0% { transform: rotate(0deg); }
|
|
545
|
+
100% { transform: rotate(720deg); }
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
.deweb-anim-drop {
|
|
549
|
+
animation: action-drop var(--anim-duration, 400ms) cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
|
550
|
+
}
|
|
551
|
+
@keyframes action-drop {
|
|
552
|
+
0% { transform: translateY(-20px); opacity: 0; }
|
|
553
|
+
60% { transform: translateY(5px); opacity: 1; }
|
|
554
|
+
100% { transform: translateY(0); opacity: 1; }
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
.deweb-anim-shake {
|
|
558
|
+
animation: action-shake var(--anim-duration, 400ms) ease-in-out;
|
|
559
|
+
}
|
|
560
|
+
@keyframes action-shake {
|
|
561
|
+
0%, 100% { transform: rotate(0deg); }
|
|
562
|
+
20% { transform: rotate(-15deg); }
|
|
563
|
+
40% { transform: rotate(15deg); }
|
|
564
|
+
60% { transform: rotate(-15deg); }
|
|
565
|
+
80% { transform: rotate(15deg); }
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
.deweb-anim-dip {
|
|
569
|
+
animation: action-dip var(--anim-duration, 600ms) ease-in-out;
|
|
570
|
+
}
|
|
571
|
+
@keyframes action-dip {
|
|
572
|
+
0% { transform: translateY(0); }
|
|
573
|
+
20% { transform: translateY(10px); }
|
|
574
|
+
40% { transform: translateY(0); }
|
|
575
|
+
60% { transform: translateY(4px); }
|
|
576
|
+
75% { transform: translateY(0); }
|
|
577
|
+
85% { transform: translateY(2px); }
|
|
578
|
+
100% { transform: translateY(0); }
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
.deweb-anim-shrink {
|
|
582
|
+
animation: action-shrink var(--anim-duration, 400ms) cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
|
583
|
+
}
|
|
584
|
+
@keyframes action-shrink {
|
|
585
|
+
0% { transform: scale(1) translateY(0); }
|
|
586
|
+
40% { transform: scale(0.8) translateY(4px); }
|
|
587
|
+
100% { transform: scale(1) translateY(0); }
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
.deweb-anim-split {
|
|
591
|
+
animation: action-split var(--anim-duration, 400ms) ease-in-out;
|
|
592
|
+
}
|
|
593
|
+
@keyframes action-split {
|
|
594
|
+
0% { transform: scale(1) rotate(0deg); opacity: 1; }
|
|
595
|
+
20% { transform: scale(1.1) rotate(-10deg); opacity: 0.8; }
|
|
596
|
+
50% { transform: scale(0.8) rotate(15deg) translateY(2px); opacity: 0.5; }
|
|
597
|
+
100% { transform: scale(1) rotate(0deg); opacity: 1; }
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
/* Particles for sparkle */
|
|
601
|
+
.deweb-anim-sparkle {
|
|
602
|
+
animation: action-zoom var(--anim-duration, 400ms) cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
|
603
|
+
}
|
|
604
|
+
.deweb-anim-sparkle .sparkle-particle {
|
|
605
|
+
position: absolute;
|
|
606
|
+
width: 4px;
|
|
607
|
+
height: 4px;
|
|
608
|
+
background-color: currentColor;
|
|
609
|
+
border-radius: 50%;
|
|
610
|
+
animation: sparkle-shoot var(--anim-duration, 500ms) ease-out forwards;
|
|
611
|
+
}
|
|
612
|
+
.deweb-anim-sparkle .p1 { --shoot-angle: 0deg; }
|
|
613
|
+
.deweb-anim-sparkle .p2 { --shoot-angle: 45deg; }
|
|
614
|
+
.deweb-anim-sparkle .p3 { --shoot-angle: 90deg; }
|
|
615
|
+
.deweb-anim-sparkle .p4 { --shoot-angle: 135deg; }
|
|
616
|
+
.deweb-anim-sparkle .p5 { --shoot-angle: 180deg; }
|
|
617
|
+
.deweb-anim-sparkle .p6 { --shoot-angle: 225deg; }
|
|
618
|
+
.deweb-anim-sparkle .p7 { --shoot-angle: 270deg; }
|
|
619
|
+
.deweb-anim-sparkle .p8 { --shoot-angle: 315deg; }
|
|
620
|
+
|
|
621
|
+
@keyframes sparkle-shoot {
|
|
622
|
+
0% { transform: rotate(var(--shoot-angle)) translateY(0) scale(1); opacity: 1; }
|
|
623
|
+
100% { transform: rotate(var(--shoot-angle)) translateY(-20px) scale(0); opacity: 0; }
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
/* Particles for confetti */
|
|
627
|
+
.deweb-anim-confetti {
|
|
628
|
+
animation: action-bounce var(--anim-duration, 500ms) ease-in-out;
|
|
629
|
+
}
|
|
630
|
+
.deweb-anim-confetti .confetti-particle {
|
|
631
|
+
position: absolute;
|
|
632
|
+
width: 6px;
|
|
633
|
+
height: 4px;
|
|
634
|
+
border-radius: 2px;
|
|
635
|
+
animation: confetti-shoot var(--anim-duration, 600ms) ease-out forwards;
|
|
636
|
+
}
|
|
637
|
+
.deweb-anim-confetti .c1 { background-color: var(--color-danger); --shoot-angle: 15deg; }
|
|
638
|
+
.deweb-anim-confetti .c2 { background-color: var(--color-primary); --shoot-angle: 75deg; }
|
|
639
|
+
.deweb-anim-confetti .c3 { background-color: var(--color-success); --shoot-angle: 135deg; }
|
|
640
|
+
.deweb-anim-confetti .c4 { background-color: var(--color-warning); --shoot-angle: 195deg; }
|
|
641
|
+
.deweb-anim-confetti .c5 { background-color: var(--color-info); --shoot-angle: 255deg; }
|
|
642
|
+
.deweb-anim-confetti .c6 { background-color: var(--color-brand, #3377bb); --shoot-angle: 315deg; }
|
|
643
|
+
|
|
644
|
+
@keyframes confetti-shoot {
|
|
645
|
+
0% { transform: rotate(var(--shoot-angle)) translateY(0) scale(1); opacity: 1; }
|
|
646
|
+
50% { opacity: 1; }
|
|
647
|
+
100% { transform: rotate(var(--shoot-angle)) translateY(-35px) scale(0); opacity: 0; }
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
/* Animated Icon Button Auto Styling (replaces ActionIcon) */
|
|
651
|
+
.deweb-animated-icon-btn {
|
|
652
|
+
border-radius: 9999px;
|
|
653
|
+
padding: 0.5rem;
|
|
654
|
+
transition: background-color 200ms ease-out, color 200ms ease-out, fill 200ms ease-out;
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
/* Inactive */
|
|
658
|
+
.deweb-animated-icon-btn.inactive {
|
|
659
|
+
color: var(--color-muted-foreground);
|
|
660
|
+
fill: transparent;
|
|
661
|
+
background-color: transparent;
|
|
662
|
+
}
|
|
663
|
+
.deweb-animated-icon-btn.inactive:hover {
|
|
664
|
+
background-color: color-mix(in srgb, var(--color-foreground) 8%, transparent);
|
|
665
|
+
color: var(--color-foreground);
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
/* Active Theme: Danger */
|
|
669
|
+
.deweb-animated-icon-btn.active-danger {
|
|
670
|
+
color: var(--color-danger);
|
|
671
|
+
fill: color-mix(in srgb, var(--color-danger) 25%, transparent);
|
|
672
|
+
background-color: color-mix(in srgb, var(--color-danger) 10%, transparent);
|
|
673
|
+
}
|
|
674
|
+
.deweb-animated-icon-btn.active-danger:hover {
|
|
675
|
+
background-color: color-mix(in srgb, var(--color-danger) 18%, transparent);
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
/* Active Theme: Primary */
|
|
679
|
+
.deweb-animated-icon-btn.active-primary {
|
|
680
|
+
color: var(--color-primary);
|
|
681
|
+
fill: color-mix(in srgb, var(--color-primary) 25%, transparent);
|
|
682
|
+
background-color: color-mix(in srgb, var(--color-primary) 10%, transparent);
|
|
683
|
+
}
|
|
684
|
+
.deweb-animated-icon-btn.active-primary:hover {
|
|
685
|
+
background-color: color-mix(in srgb, var(--color-primary) 18%, transparent);
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
/* Active Theme: Success */
|
|
689
|
+
.deweb-animated-icon-btn.active-success {
|
|
690
|
+
color: var(--color-success);
|
|
691
|
+
fill: color-mix(in srgb, var(--color-success) 25%, transparent);
|
|
692
|
+
background-color: color-mix(in srgb, var(--color-success) 10%, transparent);
|
|
693
|
+
}
|
|
694
|
+
.deweb-animated-icon-btn.active-success:hover {
|
|
695
|
+
background-color: color-mix(in srgb, var(--color-success) 18%, transparent);
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
/* Active Theme: Warning */
|
|
699
|
+
.deweb-animated-icon-btn.active-warning {
|
|
700
|
+
color: var(--color-warning);
|
|
701
|
+
fill: color-mix(in srgb, var(--color-warning) 25%, transparent);
|
|
702
|
+
background-color: color-mix(in srgb, var(--color-warning) 10%, transparent);
|
|
703
|
+
}
|
|
704
|
+
.deweb-animated-icon-btn.active-warning:hover {
|
|
705
|
+
background-color: color-mix(in srgb, var(--color-warning) 18%, transparent);
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
/* Active Theme: Info */
|
|
709
|
+
.deweb-animated-icon-btn.active-info {
|
|
710
|
+
color: var(--color-info);
|
|
711
|
+
fill: color-mix(in srgb, var(--color-info) 25%, transparent);
|
|
712
|
+
background-color: color-mix(in srgb, var(--color-info) 10%, transparent);
|
|
713
|
+
}
|
|
714
|
+
.deweb-animated-icon-btn.active-info:hover {
|
|
715
|
+
background-color: color-mix(in srgb, var(--color-info) 18%, transparent);
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
/* Active Theme: Default */
|
|
719
|
+
.deweb-animated-icon-btn.active-default {
|
|
720
|
+
color: var(--color-foreground);
|
|
721
|
+
fill: color-mix(in srgb, var(--color-foreground) 25%, transparent);
|
|
722
|
+
background-color: color-mix(in srgb, var(--color-foreground) 10%, transparent);
|
|
723
|
+
}
|
|
724
|
+
.deweb-animated-icon-btn.active-default:hover {
|
|
725
|
+
background-color: color-mix(in srgb, var(--color-foreground) 18%, transparent);
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
/* Variants */
|
|
729
|
+
.deweb-animated-icon-btn.variant-ghost {
|
|
730
|
+
background-color: transparent !important;
|
|
731
|
+
}
|
|
732
|
+
.deweb-animated-icon-btn.variant-outline {
|
|
733
|
+
background-color: transparent !important;
|
|
734
|
+
border: 1px solid currentColor;
|
|
735
|
+
}
|
|
736
|
+
.deweb-animated-icon-btn.variant-outline.inactive {
|
|
737
|
+
border-color: var(--color-border);
|
|
738
|
+
}
|
|
739
|
+
|
|
740
|
+
/* Button Ripple Effect */
|
|
741
|
+
@keyframes deweb-ripple-anim {
|
|
742
|
+
to {
|
|
743
|
+
transform: scale(4);
|
|
744
|
+
opacity: 0;
|
|
745
|
+
}
|
|
746
|
+
}
|
|
747
|
+
.deweb-ripple {
|
|
748
|
+
position: absolute;
|
|
749
|
+
border-radius: 50%;
|
|
750
|
+
transform: scale(0);
|
|
751
|
+
animation: deweb-ripple-anim 600ms linear;
|
|
752
|
+
background-color: currentColor;
|
|
753
|
+
opacity: 0.2;
|
|
754
|
+
pointer-events: none;
|
|
755
|
+
}
|
|
756
|
+
|
|
757
|
+
/* Dropdown Animations (Library) */
|
|
758
|
+
@keyframes deweb-dropdown-slide-down {
|
|
759
|
+
from { opacity: 0; translate: 0 -8px; }
|
|
760
|
+
to { opacity: 1; translate: 0 0; }
|
|
761
|
+
}
|
|
762
|
+
@keyframes deweb-dropdown-slide-up {
|
|
763
|
+
from { opacity: 0; translate: 0 8px; }
|
|
764
|
+
to { opacity: 1; translate: 0 0; }
|
|
765
|
+
}
|
|
766
|
+
@keyframes deweb-dropdown-zoom {
|
|
767
|
+
from { opacity: 0; scale: 0.95; }
|
|
768
|
+
to { opacity: 1; scale: 1; }
|
|
769
|
+
}
|
|
770
|
+
@keyframes deweb-dropdown-bounce-down {
|
|
771
|
+
from { opacity: 0; translate: 0 -32px; }
|
|
772
|
+
to { opacity: 1; translate: 0 0; }
|
|
773
|
+
}
|
|
774
|
+
@keyframes deweb-dropdown-bounce-up {
|
|
775
|
+
from { opacity: 0; translate: 0 32px; }
|
|
776
|
+
to { opacity: 1; translate: 0 0; }
|
|
777
|
+
}
|
|
778
|
+
@keyframes deweb-dropdown-fade {
|
|
779
|
+
from { opacity: 0; }
|
|
780
|
+
to { opacity: 1; }
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
.deweb-anim-slide-down { animation: deweb-dropdown-slide-down var(--ui-animation-speed, 200ms) var(--ui-animation-timing, cubic-bezier(0.16, 1, 0.3, 1)) forwards; }
|
|
784
|
+
.deweb-anim-slide-up { animation: deweb-dropdown-slide-up var(--ui-animation-speed, 200ms) var(--ui-animation-timing, cubic-bezier(0.16, 1, 0.3, 1)) forwards; }
|
|
785
|
+
.deweb-anim-zoom { animation: deweb-dropdown-zoom var(--ui-animation-speed, 200ms) var(--ui-animation-timing, cubic-bezier(0.16, 1, 0.3, 1)) forwards; }
|
|
786
|
+
.deweb-anim-bounce-down { animation: deweb-dropdown-bounce-down 500ms cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
|
|
787
|
+
.deweb-anim-bounce-up { animation: deweb-dropdown-bounce-up 500ms cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
|
|
788
|
+
.deweb-anim-fade { animation: deweb-dropdown-fade var(--ui-animation-speed, 200ms) var(--ui-animation-timing, ease) forwards; }
|
|
789
|
+
|
|
790
|
+
/* Pattern Overlays & Frosted Glass Surfaces */
|
|
791
|
+
.bg-pattern-dot,
|
|
792
|
+
.bg-pattern-grid,
|
|
793
|
+
.bg-pattern-orbit,
|
|
794
|
+
.bg-pattern-diagonal,
|
|
795
|
+
.bg-pattern-cross,
|
|
796
|
+
.bg-pattern-checker,
|
|
797
|
+
.bg-pattern-waves,
|
|
798
|
+
.bg-pattern-wave,
|
|
799
|
+
.bg-pattern-spotlight {
|
|
800
|
+
position: relative;
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
.bg-pattern-dot::before,
|
|
804
|
+
.bg-pattern-grid::before,
|
|
805
|
+
.bg-pattern-orbit::before,
|
|
806
|
+
.bg-pattern-diagonal::before,
|
|
807
|
+
.bg-pattern-cross::before,
|
|
808
|
+
.bg-pattern-checker::before,
|
|
809
|
+
.bg-pattern-waves::before,
|
|
810
|
+
.bg-pattern-wave::before,
|
|
811
|
+
.bg-pattern-spotlight::before {
|
|
812
|
+
content: "";
|
|
813
|
+
position: absolute;
|
|
814
|
+
inset: 0;
|
|
815
|
+
pointer-events: none;
|
|
816
|
+
z-index: 0;
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
.bg-pattern-dot::before {
|
|
820
|
+
background-image: radial-gradient(color-mix(in srgb, currentColor 24%, transparent) 1.5px, transparent 1.5px);
|
|
821
|
+
background-size: 18px 18px;
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
.bg-pattern-grid::before {
|
|
825
|
+
background-image:
|
|
826
|
+
linear-gradient(to right, color-mix(in srgb, currentColor 14%, transparent) 1px, transparent 1px),
|
|
827
|
+
linear-gradient(to bottom, color-mix(in srgb, currentColor 14%, transparent) 1px, transparent 1px);
|
|
828
|
+
background-size: 24px 24px;
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
.bg-pattern-orbit::before {
|
|
832
|
+
background-image: repeating-radial-gradient(
|
|
833
|
+
circle at 50% 50%,
|
|
834
|
+
transparent 0,
|
|
835
|
+
transparent 34px,
|
|
836
|
+
color-mix(in srgb, currentColor 15%, transparent) 35px,
|
|
837
|
+
transparent 36px
|
|
838
|
+
);
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
.bg-pattern-diagonal::before {
|
|
842
|
+
background-image: repeating-linear-gradient(
|
|
843
|
+
-45deg,
|
|
844
|
+
transparent,
|
|
845
|
+
transparent 12px,
|
|
846
|
+
color-mix(in srgb, currentColor 12%, transparent) 12px,
|
|
847
|
+
color-mix(in srgb, currentColor 12%, transparent) 13px
|
|
848
|
+
);
|
|
849
|
+
}
|
|
850
|
+
|
|
851
|
+
.bg-pattern-cross::before {
|
|
852
|
+
background-image:
|
|
853
|
+
repeating-linear-gradient(45deg, color-mix(in srgb, currentColor 10%, transparent) 0 1px, transparent 1px 16px),
|
|
854
|
+
repeating-linear-gradient(-45deg, color-mix(in srgb, currentColor 10%, transparent) 0 1px, transparent 1px 16px);
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
.bg-pattern-checker::before {
|
|
858
|
+
background-image: repeating-conic-gradient(
|
|
859
|
+
color-mix(in srgb, currentColor 8%, transparent) 0% 25%,
|
|
860
|
+
transparent 0% 50%
|
|
861
|
+
);
|
|
862
|
+
background-size: 28px 28px;
|
|
863
|
+
}
|
|
864
|
+
|
|
865
|
+
.bg-pattern-waves::before {
|
|
866
|
+
background-image:
|
|
867
|
+
radial-gradient(circle at 100% 50%, transparent 20%, color-mix(in srgb, currentColor 12%, transparent) 21%, color-mix(in srgb, currentColor 12%, transparent) 24%, transparent 25%),
|
|
868
|
+
radial-gradient(circle at 0% 50%, transparent 20%, color-mix(in srgb, currentColor 12%, transparent) 21%, color-mix(in srgb, currentColor 12%, transparent) 24%, transparent 25%);
|
|
869
|
+
background-size: 36px 36px;
|
|
870
|
+
}
|
|
871
|
+
|
|
872
|
+
.bg-pattern-wave::before {
|
|
873
|
+
background-color: color-mix(in srgb, currentColor 18%, transparent);
|
|
874
|
+
-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='24' viewBox='0 0 80 24'%3E%3Cpath d='M0 12 Q 20 0, 40 12 T 80 12' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E");
|
|
875
|
+
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='24' viewBox='0 0 80 24'%3E%3Cpath d='M0 12 Q 20 0, 40 12 T 80 12' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E");
|
|
876
|
+
-webkit-mask-size: 80px 24px;
|
|
877
|
+
mask-size: 80px 24px;
|
|
878
|
+
}
|
|
879
|
+
|
|
880
|
+
.bg-pattern-spotlight::before {
|
|
881
|
+
background-image:
|
|
882
|
+
radial-gradient(circle at 50% 35%, color-mix(in srgb, currentColor 22%, transparent), transparent 65%),
|
|
883
|
+
radial-gradient(color-mix(in srgb, currentColor 14%, transparent) 1px, transparent 1px);
|
|
884
|
+
background-size: 100% 100%, 14px 14px;
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
.surface-glass {
|
|
888
|
+
background-color: color-mix(in srgb, var(--color-card) 72%, transparent);
|
|
889
|
+
color: var(--color-foreground);
|
|
890
|
+
backdrop-filter: blur(16px);
|
|
891
|
+
-webkit-backdrop-filter: blur(16px);
|
|
892
|
+
border: 1px solid color-mix(in srgb, var(--color-border) 70%, transparent);
|
|
893
|
+
}
|
|
894
|
+
|
|
895
|
+
.surface-glass-tint {
|
|
896
|
+
background-color: color-mix(in srgb, var(--color-card) 88%, transparent);
|
|
897
|
+
color: var(--color-foreground);
|
|
898
|
+
backdrop-filter: blur(8px);
|
|
899
|
+
-webkit-backdrop-filter: blur(8px);
|
|
900
|
+
border: 1px solid color-mix(in srgb, var(--color-border) 75%, transparent);
|
|
901
|
+
}
|