@leonardaustin/ui 0.24.0 → 0.26.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/README.md +183 -2
- package/dist/components/app-shell/AppShell.d.ts +3 -4
- package/dist/components/app-shell/AppShell.js +82 -0
- package/dist/components/app-shell/AuthLayout.d.ts +3 -4
- package/dist/components/app-shell/AuthLayout.js +16 -0
- package/dist/components/app-shell/BackLink.d.ts +3 -4
- package/dist/components/app-shell/BackLink.js +19 -0
- package/dist/components/app-shell/BottomNav.d.ts +3 -3
- package/dist/components/app-shell/BottomNav.js +37 -0
- package/dist/components/app-shell/Breadcrumbs.d.ts +3 -3
- package/dist/components/app-shell/Breadcrumbs.js +46 -0
- package/dist/components/app-shell/CommandPalette.d.ts +3 -3
- package/dist/components/app-shell/CommandPalette.js +119 -0
- package/dist/components/app-shell/MobileDrawer.d.ts +3 -4
- package/dist/components/app-shell/MobileDrawer.js +128 -0
- package/dist/components/app-shell/Sidebar.d.ts +3 -4
- package/dist/components/app-shell/Sidebar.js +355 -0
- package/dist/components/app-shell/ThemeMenu.d.ts +3 -3
- package/dist/components/app-shell/ThemeMenu.js +273 -0
- package/dist/components/app-shell/TopBar.d.ts +3 -4
- package/dist/components/app-shell/TopBar.js +129 -0
- package/dist/components/app-shell/commandPaletteEvents.d.ts +0 -1
- package/dist/components/app-shell/commandPaletteEvents.js +16 -0
- package/dist/components/app-shell/navigation.d.ts +0 -1
- package/dist/components/app-shell/navigation.js +21 -0
- package/dist/components/app-shell/themeMenuEvents.d.ts +0 -1
- package/dist/components/app-shell/themeMenuEvents.js +7 -0
- package/dist/components/app-shell/types.d.ts +0 -1
- package/dist/components/charts/AreaChart.d.ts +4 -4
- package/dist/components/charts/AreaChart.js +217 -0
- package/dist/components/charts/BarChart.d.ts +4 -4
- package/dist/components/charts/BarChart.js +91 -0
- package/dist/components/charts/DonutChart.d.ts +4 -4
- package/dist/components/charts/DonutChart.js +172 -0
- package/dist/components/charts/RadarChart.d.ts +4 -4
- package/dist/components/charts/RadarChart.js +142 -0
- package/dist/components/charts/RadialBarChart.d.ts +4 -4
- package/dist/components/charts/RadialBarChart.js +219 -0
- package/dist/components/charts/SparkLine.d.ts +4 -4
- package/dist/components/charts/SparkLine.js +39 -0
- package/dist/components/charts/StackedBarChart.d.ts +4 -4
- package/dist/components/charts/StackedBarChart.js +249 -0
- package/dist/components/charts/VerticalBarChart.d.ts +4 -4
- package/dist/components/charts/VerticalBarChart.js +143 -0
- package/dist/components/charts/chartUtils.d.ts +0 -1
- package/dist/components/charts/chartUtils.js +68 -0
- package/dist/components/tables/ColumnPicker.d.ts +3 -4
- package/dist/components/tables/ColumnPicker.js +59 -0
- package/dist/components/tables/Pagination.d.ts +3 -5
- package/dist/components/tables/Pagination.js +56 -0
- package/dist/components/tables/ResourceTable.d.ts +3 -4
- package/dist/components/tables/ResourceTable.js +88 -0
- package/dist/components/tables/Table.d.ts +0 -1
- package/dist/components/tables/Table.js +95 -0
- package/dist/components/tables/sortRows.d.ts +0 -1
- package/dist/components/tables/sortRows.js +11 -0
- package/dist/components/ui/Accordion.d.ts +9 -2
- package/dist/components/ui/Accordion.js +35 -0
- package/dist/components/ui/Alert.d.ts +8 -6
- package/dist/components/ui/Alert.js +51 -0
- package/dist/components/ui/AttachmentList.d.ts +5 -6
- package/dist/components/ui/AttachmentList.js +90 -0
- package/dist/components/ui/AudioPlayer.d.ts +7 -4
- package/dist/components/ui/AudioPlayer.js +447 -0
- package/dist/components/ui/AuthCard.d.ts +3 -4
- package/dist/components/ui/AuthCard.js +39 -0
- package/dist/components/ui/AuthorByline.d.ts +5 -6
- package/dist/components/ui/AuthorByline.js +23 -0
- package/dist/components/ui/Avatar.d.ts +5 -4
- package/dist/components/ui/Avatar.js +36 -0
- package/dist/components/ui/Badge.d.ts +3 -3
- package/dist/components/ui/Badge.js +47 -0
- package/dist/components/ui/Button.d.ts +9 -9
- package/dist/components/ui/Button.js +83 -0
- package/dist/components/ui/Calendar.d.ts +3 -4
- package/dist/components/ui/Calendar.js +344 -0
- package/dist/components/ui/CalendarGrid.d.ts +3 -4
- package/dist/components/ui/CalendarGrid.js +136 -0
- package/dist/components/ui/Card.d.ts +6 -6
- package/dist/components/ui/Card.js +53 -0
- package/dist/components/ui/CharacterCount.d.ts +3 -4
- package/dist/components/ui/CharacterCount.js +27 -0
- package/dist/components/ui/Checkbox.d.ts +10 -9
- package/dist/components/ui/Checkbox.js +52 -0
- package/dist/components/ui/CodeInput.d.ts +7 -5
- package/dist/components/ui/CodeInput.js +96 -0
- package/dist/components/ui/Combobox.d.ts +8 -7
- package/dist/components/ui/Combobox.js +213 -0
- package/dist/components/ui/CopyButton.d.ts +6 -2
- package/dist/components/ui/CopyButton.js +57 -0
- package/dist/components/ui/DangerZone.d.ts +3 -5
- package/dist/components/ui/DangerZone.js +23 -0
- package/dist/components/ui/DatePartsInput.d.ts +6 -5
- package/dist/components/ui/DatePartsInput.js +138 -0
- package/dist/components/ui/DatePicker.d.ts +9 -5
- package/dist/components/ui/DatePicker.js +84 -0
- package/dist/components/ui/DateRangePicker.d.ts +7 -6
- package/dist/components/ui/DateRangePicker.js +143 -0
- package/dist/components/ui/DateTimePicker.d.ts +7 -5
- package/dist/components/ui/DateTimePicker.js +267 -0
- package/dist/components/ui/DetailPanel.d.ts +3 -4
- package/dist/components/ui/DetailPanel.js +183 -0
- package/dist/components/ui/Dialog.d.ts +3 -4
- package/dist/components/ui/Dialog.js +411 -0
- package/dist/components/ui/DialogActions.d.ts +3 -4
- package/dist/components/ui/DialogActions.js +35 -0
- package/dist/components/ui/Disclosure.d.ts +7 -4
- package/dist/components/ui/Disclosure.js +45 -0
- package/dist/components/ui/DividerLabel.d.ts +3 -4
- package/dist/components/ui/DividerLabel.js +20 -0
- package/dist/components/ui/DropdownMenu.d.ts +4 -5
- package/dist/components/ui/DropdownMenu.js +229 -0
- package/dist/components/ui/EmptyState.d.ts +3 -5
- package/dist/components/ui/EmptyState.js +31 -0
- package/dist/components/ui/ErrorBoundary.d.ts +3 -3
- package/dist/components/ui/ErrorBoundary.js +46 -0
- package/dist/components/ui/FieldContext.d.ts +0 -1
- package/dist/components/ui/FieldContext.js +8 -0
- package/dist/components/ui/Fieldset.d.ts +2 -3
- package/dist/components/ui/Fieldset.js +39 -0
- package/dist/components/ui/FilterButton.d.ts +4 -9
- package/dist/components/ui/FilterButton.js +17 -0
- package/dist/components/ui/FilterDropdown.d.ts +4 -6
- package/dist/components/ui/FilterDropdown.js +18 -0
- package/dist/components/ui/FormField.d.ts +4 -5
- package/dist/components/ui/FormField.js +68 -0
- package/dist/components/ui/Grid.d.ts +1 -2
- package/dist/components/ui/Grid.js +19 -0
- package/dist/components/ui/GridItem.d.ts +1 -2
- package/dist/components/ui/GridItem.js +16 -0
- package/dist/components/ui/Inline.d.ts +1 -2
- package/dist/components/ui/Inline.js +24 -0
- package/dist/components/ui/Kbd.d.ts +3 -4
- package/dist/components/ui/Kbd.js +13 -0
- package/dist/components/ui/ListItemLink.d.ts +3 -4
- package/dist/components/ui/ListItemLink.js +44 -0
- package/dist/components/ui/LoadingSpinner.d.ts +5 -5
- package/dist/components/ui/LoadingSpinner.js +19 -0
- package/dist/components/ui/MessageBubble.d.ts +5 -3
- package/dist/components/ui/MessageBubble.js +41 -0
- package/dist/components/ui/MetadataGrid.d.ts +5 -4
- package/dist/components/ui/MetadataGrid.js +76 -0
- package/dist/components/ui/MetricCard.d.ts +3 -4
- package/dist/components/ui/MetricCard.js +51 -0
- package/dist/components/ui/NavTabs.d.ts +2 -3
- package/dist/components/ui/NavTabs.js +29 -0
- package/dist/components/ui/OAuthButton.d.ts +2 -3
- package/dist/components/ui/OAuthButton.js +55 -0
- package/dist/components/ui/OverlineLabel.d.ts +3 -4
- package/dist/components/ui/OverlineLabel.js +13 -0
- package/dist/components/ui/PageHeader.d.ts +3 -4
- package/dist/components/ui/PageHeader.js +33 -0
- package/dist/components/ui/PageSection.d.ts +3 -4
- package/dist/components/ui/PageSection.js +31 -0
- package/dist/components/ui/PaginationBar.d.ts +3 -4
- package/dist/components/ui/PaginationBar.js +62 -0
- package/dist/components/ui/PasswordInput.d.ts +3 -5
- package/dist/components/ui/PasswordInput.js +62 -0
- package/dist/components/ui/PasswordRequirements.d.ts +3 -3
- package/dist/components/ui/PasswordRequirements.js +34 -0
- package/dist/components/ui/Popover.d.ts +5 -4
- package/dist/components/ui/Popover.js +53 -0
- package/dist/components/ui/ProfileHeader.d.ts +3 -4
- package/dist/components/ui/ProfileHeader.js +54 -0
- package/dist/components/ui/ProgressBar.d.ts +3 -4
- package/dist/components/ui/ProgressBar.js +42 -0
- package/dist/components/ui/ProseContent.d.ts +3 -4
- package/dist/components/ui/ProseContent.js +13 -0
- package/dist/components/ui/QrCode.d.ts +3 -4
- package/dist/components/ui/QrCode.js +47 -0
- package/dist/components/ui/Radio.d.ts +9 -7
- package/dist/components/ui/Radio.js +58 -0
- package/dist/components/ui/RadioPill.d.ts +10 -8
- package/dist/components/ui/RadioPill.js +53 -0
- package/dist/components/ui/ReorderList.d.ts +3 -4
- package/dist/components/ui/ReorderList.js +123 -0
- package/dist/components/ui/SearchInput.d.ts +7 -6
- package/dist/components/ui/SearchInput.js +49 -0
- package/dist/components/ui/SectionHeader.d.ts +3 -5
- package/dist/components/ui/SectionHeader.js +13 -0
- package/dist/components/ui/Select.d.ts +4 -6
- package/dist/components/ui/Select.js +117 -0
- package/dist/components/ui/SelectDropdown.d.ts +10 -6
- package/dist/components/ui/SelectDropdown.js +206 -0
- package/dist/components/ui/SettingRow.d.ts +5 -7
- package/dist/components/ui/SettingRow.js +25 -0
- package/dist/components/ui/SideSheet.d.ts +3 -4
- package/dist/components/ui/SideSheet.js +164 -0
- package/dist/components/ui/Skeleton.d.ts +3 -4
- package/dist/components/ui/Skeleton.js +18 -0
- package/dist/components/ui/Slider.d.ts +11 -7
- package/dist/components/ui/Slider.js +58 -0
- package/dist/components/ui/SplitPaneLayout.d.ts +6 -6
- package/dist/components/ui/SplitPaneLayout.js +22 -0
- package/dist/components/ui/Stack.d.ts +1 -2
- package/dist/components/ui/Stack.js +18 -0
- package/dist/components/ui/StatusDot.d.ts +3 -3
- package/dist/components/ui/StatusDot.js +24 -0
- package/dist/components/ui/StepProgress.d.ts +3 -3
- package/dist/components/ui/StepProgress.js +33 -0
- package/dist/components/ui/Tabs.d.ts +5 -6
- package/dist/components/ui/Tabs.js +63 -0
- package/dist/components/ui/TextInput.d.ts +3 -5
- package/dist/components/ui/TextInput.js +57 -0
- package/dist/components/ui/Textarea.d.ts +3 -5
- package/dist/components/ui/Textarea.js +59 -0
- package/dist/components/ui/ThemePreview.d.ts +3 -4
- package/dist/components/ui/ThemePreview.js +28 -0
- package/dist/components/ui/TimeInput.d.ts +7 -7
- package/dist/components/ui/TimeInput.js +22 -0
- package/dist/components/ui/Timeline.d.ts +3 -3
- package/dist/components/ui/Timeline.js +29 -0
- package/dist/components/ui/Toast.d.ts +0 -1
- package/dist/components/ui/Toast.js +121 -0
- package/dist/components/ui/Toggle.d.ts +10 -5
- package/dist/components/ui/Toggle.js +34 -0
- package/dist/components/ui/Toolbar.d.ts +3 -4
- package/dist/components/ui/Toolbar.js +70 -0
- package/dist/components/ui/Tooltip.d.ts +0 -1
- package/dist/components/ui/Tooltip.js +91 -0
- package/dist/components/ui/TranscriptLine.d.ts +5 -4
- package/dist/components/ui/TranscriptLine.js +40 -0
- package/dist/components/ui/UploadDropzone.d.ts +3 -6
- package/dist/components/ui/UploadDropzone.js +55 -0
- package/dist/components/ui/badgeColors.d.ts +0 -1
- package/dist/components/ui/badgeColors.js +5 -0
- package/dist/components/ui/calendar/AgendaView.d.ts +0 -1
- package/dist/components/ui/calendar/AgendaView.js +140 -0
- package/dist/components/ui/calendar/MonthView.d.ts +0 -1
- package/dist/components/ui/calendar/MonthView.js +321 -0
- package/dist/components/ui/calendar/TimeGrid.d.ts +0 -1
- package/dist/components/ui/calendar/TimeGrid.js +501 -0
- package/dist/components/ui/calendar/TimelineView.d.ts +0 -1
- package/dist/components/ui/calendar/TimelineView.js +311 -0
- package/dist/components/ui/calendar/context.d.ts +0 -1
- package/dist/components/ui/calendar/context.js +10 -0
- package/dist/components/ui/calendar/items.d.ts +0 -1
- package/dist/components/ui/calendar/items.js +152 -0
- package/dist/components/ui/calendar/types.d.ts +0 -1
- package/dist/components/ui/calendar/types.js +38 -0
- package/dist/components/ui/calendar/useGridInteraction.d.ts +0 -1
- package/dist/components/ui/calendar/useGridInteraction.js +393 -0
- package/dist/components/ui/useFieldControl.d.ts +1 -2
- package/dist/components/ui/useFieldControl.js +17 -0
- package/dist/config/theme.d.ts +0 -1
- package/dist/config/theme.js +219 -0
- package/dist/core.css +2933 -0
- package/dist/hooks/useAnchoredPopup.d.ts +0 -1
- package/dist/hooks/useAnchoredPopup.js +162 -0
- package/dist/hooks/useApplyTheme.d.ts +0 -1
- package/dist/hooks/useApplyTheme.js +16 -0
- package/dist/hooks/useControllableState.d.ts +14 -0
- package/dist/hooks/useControllableState.js +10 -0
- package/dist/hooks/useDismiss.d.ts +0 -1
- package/dist/hooks/useDismiss.js +24 -0
- package/dist/hooks/useFocusTrap.d.ts +0 -1
- package/dist/hooks/useFocusTrap.js +42 -0
- package/dist/hooks/useOverlayStack.d.ts +0 -1
- package/dist/hooks/useOverlayStack.js +23 -0
- package/dist/hooks/usePopover.d.ts +0 -1
- package/dist/hooks/usePopover.js +47 -0
- package/dist/hooks/usePortalContainer.d.ts +0 -1
- package/dist/hooks/usePortalContainer.js +14 -0
- package/dist/hooks/useSettings.d.ts +0 -1
- package/dist/hooks/useSettings.js +8 -0
- package/dist/hooks/useTheme.d.ts +0 -1
- package/dist/hooks/useTheme.js +8 -0
- package/dist/hooks/useTypeahead.d.ts +0 -1
- package/dist/hooks/useTypeahead.js +19 -0
- package/dist/index.d.ts +0 -1
- package/dist/index.js +133 -12866
- package/dist/lib/anchorPlacement.d.ts +0 -1
- package/dist/lib/anchorPlacement.js +75 -0
- package/dist/lib/calendar.d.ts +0 -1
- package/dist/lib/calendar.js +666 -0
- package/dist/lib/cn.d.ts +0 -1
- package/dist/lib/cn.js +228 -0
- package/dist/lib/codeInput.d.ts +0 -1
- package/dist/lib/codeInput.js +51 -0
- package/dist/lib/dateParts.d.ts +0 -1
- package/dist/lib/dateParts.js +31 -0
- package/dist/lib/dialogDrag.d.ts +0 -1
- package/dist/lib/dialogDrag.js +45 -0
- package/dist/lib/dialogResize.d.ts +0 -1
- package/dist/lib/dialogResize.js +47 -0
- package/dist/lib/formatDate.d.ts +0 -1
- package/dist/lib/formatDate.js +29 -0
- package/dist/lib/formatMediaTime.d.ts +0 -1
- package/dist/lib/formatMediaTime.js +7 -0
- package/dist/lib/keyboardStep.d.ts +0 -1
- package/dist/lib/layout.d.ts +0 -1
- package/dist/lib/layout.js +29 -0
- package/dist/lib/math.d.ts +0 -1
- package/dist/lib/math.js +6 -0
- package/dist/lib/mergeRefs.d.ts +6 -0
- package/dist/lib/mergeRefs.js +17 -0
- package/dist/lib/months.d.ts +0 -1
- package/dist/lib/months.js +30 -0
- package/dist/lib/overlayStack.d.ts +0 -1
- package/dist/lib/overlayStack.js +47 -0
- package/dist/lib/panelResize.d.ts +0 -1
- package/dist/lib/panelResize.js +8 -0
- package/dist/lib/passwordRequirements.d.ts +0 -1
- package/dist/lib/passwordRequirements.js +23 -0
- package/dist/lib/qrCode.d.ts +0 -1
- package/dist/lib/qrCode.js +570 -0
- package/dist/lib/rect.d.ts +0 -1
- package/dist/lib/tones.d.ts +0 -1
- package/dist/lib/tones.js +104 -0
- package/dist/lib/typeahead.d.ts +0 -1
- package/dist/lib/typeahead.js +31 -0
- package/dist/providers/ControlSizeContext.d.ts +0 -1
- package/dist/providers/ControlSizeContext.js +9 -0
- package/dist/providers/ControlSizeProvider.d.ts +0 -1
- package/dist/providers/ControlSizeProvider.js +11 -0
- package/dist/providers/SettingsContext.d.ts +0 -1
- package/dist/providers/SettingsContext.js +53 -0
- package/dist/providers/SettingsProvider.d.ts +0 -1
- package/dist/providers/SettingsProvider.js +249 -0
- package/dist/providers/ThemeContext.d.ts +0 -1
- package/dist/providers/ThemeContext.js +5 -0
- package/dist/providers/ThemeProvider.d.ts +0 -1
- package/dist/providers/ThemeProvider.js +17 -0
- package/dist/providers/accentColors.d.ts +0 -1
- package/dist/providers/accentColors.js +75 -0
- package/dist/providers/themeClasses.d.ts +1 -1
- package/dist/providers/themeClasses.js +20 -0
- package/dist/styles.css +263 -176
- package/dist/themes/cyber-brutal-dark.css +53 -0
- package/dist/themes/cyber-brutal-light.css +75 -0
- package/dist/themes/glass-dark.css +217 -0
- package/dist/themes/glass-light.css +215 -0
- package/dist/themes/hashi.css +66 -0
- package/dist/themes/light-inverted.css +32 -0
- package/dist/themes/light.css +1 -0
- package/dist/themes/monokai.css +51 -0
- package/dist/themes/solarized.css +55 -0
- package/package.json +3 -1
- package/dist/components/app-shell/AppShell.d.ts.map +0 -1
- package/dist/components/app-shell/AuthLayout.d.ts.map +0 -1
- package/dist/components/app-shell/BackLink.d.ts.map +0 -1
- package/dist/components/app-shell/BottomNav.d.ts.map +0 -1
- package/dist/components/app-shell/Breadcrumbs.d.ts.map +0 -1
- package/dist/components/app-shell/CommandPalette.d.ts.map +0 -1
- package/dist/components/app-shell/MobileDrawer.d.ts.map +0 -1
- package/dist/components/app-shell/Sidebar.d.ts.map +0 -1
- package/dist/components/app-shell/ThemeMenu.d.ts.map +0 -1
- package/dist/components/app-shell/TopBar.d.ts.map +0 -1
- package/dist/components/app-shell/commandPaletteEvents.d.ts.map +0 -1
- package/dist/components/app-shell/navigation.d.ts.map +0 -1
- package/dist/components/app-shell/themeMenuEvents.d.ts.map +0 -1
- package/dist/components/app-shell/types.d.ts.map +0 -1
- package/dist/components/charts/AreaChart.d.ts.map +0 -1
- package/dist/components/charts/BarChart.d.ts.map +0 -1
- package/dist/components/charts/DonutChart.d.ts.map +0 -1
- package/dist/components/charts/RadarChart.d.ts.map +0 -1
- package/dist/components/charts/RadialBarChart.d.ts.map +0 -1
- package/dist/components/charts/SparkLine.d.ts.map +0 -1
- package/dist/components/charts/StackedBarChart.d.ts.map +0 -1
- package/dist/components/charts/VerticalBarChart.d.ts.map +0 -1
- package/dist/components/charts/chartUtils.d.ts.map +0 -1
- package/dist/components/tables/ColumnPicker.d.ts.map +0 -1
- package/dist/components/tables/Pagination.d.ts.map +0 -1
- package/dist/components/tables/ResourceTable.d.ts.map +0 -1
- package/dist/components/tables/Table.d.ts.map +0 -1
- package/dist/components/tables/sortRows.d.ts.map +0 -1
- package/dist/components/ui/Accordion.d.ts.map +0 -1
- package/dist/components/ui/Alert.d.ts.map +0 -1
- package/dist/components/ui/AttachmentList.d.ts.map +0 -1
- package/dist/components/ui/AudioPlayer.d.ts.map +0 -1
- package/dist/components/ui/AuthCard.d.ts.map +0 -1
- package/dist/components/ui/AuthorByline.d.ts.map +0 -1
- package/dist/components/ui/Avatar.d.ts.map +0 -1
- package/dist/components/ui/Badge.d.ts.map +0 -1
- package/dist/components/ui/Button.d.ts.map +0 -1
- package/dist/components/ui/Calendar.d.ts.map +0 -1
- package/dist/components/ui/CalendarGrid.d.ts.map +0 -1
- package/dist/components/ui/Card.d.ts.map +0 -1
- package/dist/components/ui/CharacterCount.d.ts.map +0 -1
- package/dist/components/ui/Checkbox.d.ts.map +0 -1
- package/dist/components/ui/CodeInput.d.ts.map +0 -1
- package/dist/components/ui/Combobox.d.ts.map +0 -1
- package/dist/components/ui/CopyButton.d.ts.map +0 -1
- package/dist/components/ui/DangerZone.d.ts.map +0 -1
- package/dist/components/ui/DatePartsInput.d.ts.map +0 -1
- package/dist/components/ui/DatePicker.d.ts.map +0 -1
- package/dist/components/ui/DateRangePicker.d.ts.map +0 -1
- package/dist/components/ui/DateTimePicker.d.ts.map +0 -1
- package/dist/components/ui/DetailPanel.d.ts.map +0 -1
- package/dist/components/ui/Dialog.d.ts.map +0 -1
- package/dist/components/ui/DialogActions.d.ts.map +0 -1
- package/dist/components/ui/Disclosure.d.ts.map +0 -1
- package/dist/components/ui/DividerLabel.d.ts.map +0 -1
- package/dist/components/ui/DropdownMenu.d.ts.map +0 -1
- package/dist/components/ui/EmptyState.d.ts.map +0 -1
- package/dist/components/ui/ErrorBoundary.d.ts.map +0 -1
- package/dist/components/ui/FieldContext.d.ts.map +0 -1
- package/dist/components/ui/Fieldset.d.ts.map +0 -1
- package/dist/components/ui/FilterButton.d.ts.map +0 -1
- package/dist/components/ui/FilterDropdown.d.ts.map +0 -1
- package/dist/components/ui/FormField.d.ts.map +0 -1
- package/dist/components/ui/Grid.d.ts.map +0 -1
- package/dist/components/ui/GridItem.d.ts.map +0 -1
- package/dist/components/ui/Inline.d.ts.map +0 -1
- package/dist/components/ui/Kbd.d.ts.map +0 -1
- package/dist/components/ui/ListItemLink.d.ts.map +0 -1
- package/dist/components/ui/LoadingSpinner.d.ts.map +0 -1
- package/dist/components/ui/MessageBubble.d.ts.map +0 -1
- package/dist/components/ui/MetadataGrid.d.ts.map +0 -1
- package/dist/components/ui/MetricCard.d.ts.map +0 -1
- package/dist/components/ui/NavTabs.d.ts.map +0 -1
- package/dist/components/ui/OAuthButton.d.ts.map +0 -1
- package/dist/components/ui/OverlineLabel.d.ts.map +0 -1
- package/dist/components/ui/PageHeader.d.ts.map +0 -1
- package/dist/components/ui/PageSection.d.ts.map +0 -1
- package/dist/components/ui/PaginationBar.d.ts.map +0 -1
- package/dist/components/ui/PasswordInput.d.ts.map +0 -1
- package/dist/components/ui/PasswordRequirements.d.ts.map +0 -1
- package/dist/components/ui/Popover.d.ts.map +0 -1
- package/dist/components/ui/ProfileHeader.d.ts.map +0 -1
- package/dist/components/ui/ProgressBar.d.ts.map +0 -1
- package/dist/components/ui/ProseContent.d.ts.map +0 -1
- package/dist/components/ui/QrCode.d.ts.map +0 -1
- package/dist/components/ui/Radio.d.ts.map +0 -1
- package/dist/components/ui/RadioPill.d.ts.map +0 -1
- package/dist/components/ui/ReorderList.d.ts.map +0 -1
- package/dist/components/ui/SearchInput.d.ts.map +0 -1
- package/dist/components/ui/SectionHeader.d.ts.map +0 -1
- package/dist/components/ui/Select.d.ts.map +0 -1
- package/dist/components/ui/SelectDropdown.d.ts.map +0 -1
- package/dist/components/ui/SettingRow.d.ts.map +0 -1
- package/dist/components/ui/SideSheet.d.ts.map +0 -1
- package/dist/components/ui/Skeleton.d.ts.map +0 -1
- package/dist/components/ui/Slider.d.ts.map +0 -1
- package/dist/components/ui/SplitPaneLayout.d.ts.map +0 -1
- package/dist/components/ui/Stack.d.ts.map +0 -1
- package/dist/components/ui/StatusDot.d.ts.map +0 -1
- package/dist/components/ui/StepProgress.d.ts.map +0 -1
- package/dist/components/ui/Tabs.d.ts.map +0 -1
- package/dist/components/ui/TextInput.d.ts.map +0 -1
- package/dist/components/ui/Textarea.d.ts.map +0 -1
- package/dist/components/ui/ThemePreview.d.ts.map +0 -1
- package/dist/components/ui/TimeInput.d.ts.map +0 -1
- package/dist/components/ui/Timeline.d.ts.map +0 -1
- package/dist/components/ui/Toast.d.ts.map +0 -1
- package/dist/components/ui/Toggle.d.ts.map +0 -1
- package/dist/components/ui/Toolbar.d.ts.map +0 -1
- package/dist/components/ui/Tooltip.d.ts.map +0 -1
- package/dist/components/ui/TranscriptLine.d.ts.map +0 -1
- package/dist/components/ui/UploadDropzone.d.ts.map +0 -1
- package/dist/components/ui/badgeColors.d.ts.map +0 -1
- package/dist/components/ui/calendar/AgendaView.d.ts.map +0 -1
- package/dist/components/ui/calendar/MonthView.d.ts.map +0 -1
- package/dist/components/ui/calendar/TimeGrid.d.ts.map +0 -1
- package/dist/components/ui/calendar/TimelineView.d.ts.map +0 -1
- package/dist/components/ui/calendar/context.d.ts.map +0 -1
- package/dist/components/ui/calendar/items.d.ts.map +0 -1
- package/dist/components/ui/calendar/types.d.ts.map +0 -1
- package/dist/components/ui/calendar/useGridInteraction.d.ts.map +0 -1
- package/dist/components/ui/useFieldControl.d.ts.map +0 -1
- package/dist/config/theme.d.ts.map +0 -1
- package/dist/hooks/useAnchoredPopup.d.ts.map +0 -1
- package/dist/hooks/useApplyTheme.d.ts.map +0 -1
- package/dist/hooks/useDismiss.d.ts.map +0 -1
- package/dist/hooks/useFocusTrap.d.ts.map +0 -1
- package/dist/hooks/useOverlayStack.d.ts.map +0 -1
- package/dist/hooks/usePopover.d.ts.map +0 -1
- package/dist/hooks/usePortalContainer.d.ts.map +0 -1
- package/dist/hooks/useSettings.d.ts.map +0 -1
- package/dist/hooks/useTheme.d.ts.map +0 -1
- package/dist/hooks/useTypeahead.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/lib/anchorPlacement.d.ts.map +0 -1
- package/dist/lib/calendar.d.ts.map +0 -1
- package/dist/lib/cn.d.ts.map +0 -1
- package/dist/lib/codeInput.d.ts.map +0 -1
- package/dist/lib/dateParts.d.ts.map +0 -1
- package/dist/lib/dialogDrag.d.ts.map +0 -1
- package/dist/lib/dialogResize.d.ts.map +0 -1
- package/dist/lib/formatDate.d.ts.map +0 -1
- package/dist/lib/formatMediaTime.d.ts.map +0 -1
- package/dist/lib/keyboardStep.d.ts.map +0 -1
- package/dist/lib/layout.d.ts.map +0 -1
- package/dist/lib/math.d.ts.map +0 -1
- package/dist/lib/months.d.ts.map +0 -1
- package/dist/lib/overlayStack.d.ts.map +0 -1
- package/dist/lib/panelResize.d.ts.map +0 -1
- package/dist/lib/passwordRequirements.d.ts.map +0 -1
- package/dist/lib/qrCode.d.ts.map +0 -1
- package/dist/lib/rect.d.ts.map +0 -1
- package/dist/lib/tones.d.ts.map +0 -1
- package/dist/lib/typeahead.d.ts.map +0 -1
- package/dist/providers/ControlSizeContext.d.ts.map +0 -1
- package/dist/providers/ControlSizeProvider.d.ts.map +0 -1
- package/dist/providers/SettingsContext.d.ts.map +0 -1
- package/dist/providers/SettingsProvider.d.ts.map +0 -1
- package/dist/providers/ThemeContext.d.ts.map +0 -1
- package/dist/providers/ThemeProvider.d.ts.map +0 -1
- package/dist/providers/accentColors.d.ts.map +0 -1
- package/dist/providers/themeClasses.d.ts.map +0 -1
package/dist/core.css
ADDED
|
@@ -0,0 +1,2933 @@
|
|
|
1
|
+
/* Fix the layer order up front: a bundler that hoists the bare
|
|
2
|
+
"@layer components;" statement from the imported utilities would otherwise
|
|
3
|
+
put component defaults below the base reset. */
|
|
4
|
+
@layer properties, theme, base, components, utilities;
|
|
5
|
+
|
|
6
|
+
/* Generated first-party utility stylesheet. Keep this file out of Prettier. */
|
|
7
|
+
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--utility-translate-x:0;--utility-translate-y:0;--utility-translate-z:0;--utility-scale-x:1;--utility-scale-y:1;--utility-scale-z:1;--utility-rotate-x:initial;--utility-rotate-y:initial;--utility-rotate-z:initial;--utility-skew-x:initial;--utility-skew-y:initial;--utility-space-y-reverse:0;--utility-divide-y-reverse:0;--utility-border-style:solid;--utility-leading:initial;--utility-font-weight:initial;--utility-tracking:initial;--utility-ordinal:initial;--utility-slashed-zero:initial;--utility-numeric-figure:initial;--utility-numeric-spacing:initial;--utility-numeric-fraction:initial;--utility-shadow:0 0 #0000;--utility-shadow-color:initial;--utility-shadow-alpha:100%;--utility-inset-shadow:0 0 #0000;--utility-inset-shadow-color:initial;--utility-inset-shadow-alpha:100%;--utility-ring-color:initial;--utility-ring-shadow:0 0 #0000;--utility-inset-ring-color:initial;--utility-inset-ring-shadow:0 0 #0000;--utility-ring-inset:initial;--utility-ring-offset-width:0px;--utility-ring-offset-color:#fff;--utility-ring-offset-shadow:0 0 #0000;--utility-outline-style:solid;--utility-blur:initial;--utility-brightness:initial;--utility-contrast:initial;--utility-grayscale:initial;--utility-hue-rotate:initial;--utility-invert:initial;--utility-opacity:initial;--utility-saturate:initial;--utility-sepia:initial;--utility-drop-shadow:initial;--utility-drop-shadow-color:initial;--utility-drop-shadow-alpha:100%;--utility-drop-shadow-size:initial;--utility-duration:initial;--utility-ease:initial}}}@layer theme{:root,:host{--font-sans:var(--font-ui);--font-mono:var(--font-code);--color-blue-500:oklch(62.3% .214 259.815);--spacing:var(--ui-density);--container-xs:20rem;--container-sm:24rem;--container-md:28rem;--container-xl:36rem;--container-2xl:42rem;--container-3xl:48rem;--container-4xl:56rem;--container-5xl:64rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height:calc(1.5 / 1);--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75 / 1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2 / 1.5);--text-5xl:3rem;--text-5xl--line-height:1;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-wider:var(--ui-tracking);--leading-tight:1.25;--leading-snug:1.375;--leading-relaxed:1.625;--radius-sm:var(--ui-radius);--radius-md:var(--ui-radius-md);--radius-lg:var(--ui-radius-lg);--radius-xl:var(--ui-radius-xl);--ease-out:cubic-bezier(0, 0, .2, 1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--aspect-video:16 / 9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--radius:var(--ui-radius);--text-2xs:.625rem;--text-2xs--line-height:1.4;--text-2xs-f:.6875rem;--text-2xs-f--line-height:1.4;--text-body:.8125rem;--text-body--line-height:1.45;--color-bg-primary:var(--bg-primary);--color-bg-secondary:var(--bg-secondary);--color-bg-tertiary:var(--bg-tertiary);--color-bg-hover:var(--bg-hover);--color-bg-active:var(--bg-active);--color-bg-overlay:var(--bg-overlay);--color-bg-sidebar:var(--bg-sidebar);--color-bg-media-badge:var(--bg-media-badge);--color-control-knob:var(--control-knob);--color-text-primary:var(--text-primary);--color-text-secondary:var(--text-secondary);--color-text-tertiary:var(--text-tertiary);--color-text-disabled:var(--text-disabled);--color-text-on-accent:var(--text-on-accent);--color-text-on-avatar:var(--text-on-avatar);--color-text-on-media:var(--text-on-media);--color-text-on-media-muted:var(--text-on-media-muted);--color-border:var(--border);--color-border-strong:var(--border-strong);--color-accent:var(--accent);--color-accent-hover:var(--accent-hover);--color-accent-active:var(--accent-active);--color-accent-muted:var(--accent-muted);--color-accent-subtle:var(--accent-subtle);--color-green:var(--green);--color-green-muted:var(--green-muted);--color-success:var(--success);--color-success-muted:var(--success-muted);--color-yellow:var(--yellow);--color-yellow-muted:var(--yellow-muted);--color-warning:var(--warning);--color-warning-muted:var(--warning-muted);--color-red:var(--red);--color-red-muted:var(--red-muted);--color-danger:var(--danger);--color-danger-muted:var(--danger-muted);--color-blue:var(--blue);--color-blue-muted:var(--blue-muted);--color-info:var(--info);--color-info-muted:var(--info-muted);--color-purple:var(--purple);--color-purple-muted:var(--purple-muted);--animate-fade-in:fade-in .12s ease-out;--animate-scale-in:scale-in .1s ease-out;--animate-slide-down:slide-in-down .15s ease-out;--animate-slide-in-right:slide-in-right .2s ease-out;--animate-slide-in-left:slide-in-left .2s ease-out;--animate-pulse-subtle:pulse-subtle 2s ease-in-out infinite}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing) * 0)}.inset-y-0{inset-block:calc(var(--spacing) * 0)}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.top-0{top:calc(var(--spacing) * 0)}.top-1\.5{top:calc(var(--spacing) * 1.5)}.top-1\/2{top:50%}.top-3{top:calc(var(--spacing) * 3)}.top-\[30px\]{top:30px}.top-full{top:100%}.-right-9{right:calc(var(--spacing) * -9)}.right-0{right:calc(var(--spacing) * 0)}.right-0\.5{right:calc(var(--spacing) * .5)}.right-1\.5{right:calc(var(--spacing) * 1.5)}.right-2{right:calc(var(--spacing) * 2)}.right-2\.5{right:calc(var(--spacing) * 2.5)}.right-3{right:calc(var(--spacing) * 3)}.right-full{right:100%}.-bottom-9{bottom:calc(var(--spacing) * -9)}.bottom-0{bottom:calc(var(--spacing) * 0)}.bottom-0\.5{bottom:calc(var(--spacing) * .5)}.bottom-1\.5{bottom:calc(var(--spacing) * 1.5)}.bottom-3{bottom:calc(var(--spacing) * 3)}.bottom-full{bottom:100%}.left-0{left:calc(var(--spacing) * 0)}.left-1\/2{left:50%}.left-2{left:calc(var(--spacing) * 2)}.left-2\.5{left:calc(var(--spacing) * 2.5)}.left-full{left:100%}.z-0{z-index:0}.z-10{z-index:10}.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}.z-\[100\]{z-index:100}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.-m-1{margin:calc(var(--spacing) * -1)}.-m-4{margin:calc(var(--spacing) * -4)}.-m-6{margin:calc(var(--spacing) * -6)}.-mx-3{margin-inline:calc(var(--spacing) * -3)}.mx-1{margin-inline:calc(var(--spacing) * 1)}.mx-2{margin-inline:calc(var(--spacing) * 2)}.mx-3{margin-inline:calc(var(--spacing) * 3)}.mx-4{margin-inline:calc(var(--spacing) * 4)}.mx-auto{margin-inline:auto}.my-1{margin-block:calc(var(--spacing) * 1)}.my-1\.5{margin-block:calc(var(--spacing) * 1.5)}.my-6{margin-block:calc(var(--spacing) * 6)}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:calc(var(--spacing) * 1)}.mt-1\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-2\.5{margin-top:calc(var(--spacing) * 2.5)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-6{margin-top:calc(var(--spacing) * 6)}.mt-8{margin-top:calc(var(--spacing) * 8)}.mr-2{margin-right:calc(var(--spacing) * 2)}.mb-0\.5{margin-bottom:calc(var(--spacing) * .5)}.mb-1{margin-bottom:calc(var(--spacing) * 1)}.mb-1\.5{margin-bottom:calc(var(--spacing) * 1.5)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.mb-8{margin-bottom:calc(var(--spacing) * 8)}.ml-1{margin-left:calc(var(--spacing) * 1)}.ml-2{margin-left:calc(var(--spacing) * 2)}.ml-4{margin-left:calc(var(--spacing) * 4)}.ml-auto{margin-left:auto}.line-clamp-1{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.aspect-square{aspect-ratio:1}.aspect-video{aspect-ratio:var(--aspect-video)}.h-0\.5{height:calc(var(--spacing) * .5)}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-2{height:calc(var(--spacing) * 2)}.h-2\.5{height:calc(var(--spacing) * 2.5)}.h-3{height:calc(var(--spacing) * 3)}.h-3\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-4\.5{height:calc(var(--spacing) * 4.5)}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-11{height:calc(var(--spacing) * 11)}.h-12{height:calc(var(--spacing) * 12)}.h-16{height:calc(var(--spacing) * 16)}.h-20{height:calc(var(--spacing) * 20)}.h-24{height:calc(var(--spacing) * 24)}.h-32{height:calc(var(--spacing) * 32)}.h-36{height:calc(var(--spacing) * 36)}.h-40{height:calc(var(--spacing) * 40)}.h-44{height:calc(var(--spacing) * 44)}.h-48{height:calc(var(--spacing) * 48)}.h-\[3px\]{height:3px}.h-\[calc\(100vh-var\(--topbar-height\)\)\]{height:calc(100vh - var(--topbar-height))}.h-\[calc\(100vh-var\(--topbar-height\)-var\(--bottomnav-height\)\)\]{height:calc(100vh - var(--topbar-height) - var(--bottomnav-height))}.h-full{height:100%}.h-svh{height:100svh}.max-h-48{max-height:calc(var(--spacing) * 48)}.max-h-\[320px\]{max-height:320px}.min-h-0{min-height:calc(var(--spacing) * 0)}.min-h-\[60vh\]{min-height:60vh}.min-h-\[72px\]{min-height:72px}.min-h-\[120px\]{min-height:120px}.min-h-\[200px\]{min-height:200px}.min-h-svh{min-height:100svh}.w-0\.5{width:calc(var(--spacing) * .5)}.w-1{width:calc(var(--spacing) * 1)}.w-1\.5{width:calc(var(--spacing) * 1.5)}.w-1\/2{width:50%}.w-2{width:calc(var(--spacing) * 2)}.w-2\.5{width:calc(var(--spacing) * 2.5)}.w-3{width:calc(var(--spacing) * 3)}.w-3\.5{width:calc(var(--spacing) * 3.5)}.w-4{width:calc(var(--spacing) * 4)}.w-4\.5{width:calc(var(--spacing) * 4.5)}.w-4\/5{width:80%}.w-5{width:calc(var(--spacing) * 5)}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-8{width:calc(var(--spacing) * 8)}.w-9{width:calc(var(--spacing) * 9)}.w-10{width:calc(var(--spacing) * 10)}.w-12{width:calc(var(--spacing) * 12)}.w-14{width:calc(var(--spacing) * 14)}.w-16{width:calc(var(--spacing) * 16)}.w-20{width:calc(var(--spacing) * 20)}.w-24{width:calc(var(--spacing) * 24)}.w-28{width:calc(var(--spacing) * 28)}.w-44{width:calc(var(--spacing) * 44)}.w-48{width:calc(var(--spacing) * 48)}.w-56{width:calc(var(--spacing) * 56)}.w-64{width:calc(var(--spacing) * 64)}.w-80{width:calc(var(--spacing) * 80)}.w-\[1\%\]{width:1%}.w-\[2em\]{width:2em}.w-\[3px\]{width:3px}.w-\[110px\]{width:110px}.w-\[120px\]{width:120px}.w-\[252px\]{width:252px}.w-\[360px\]{width:360px}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-px{width:1px}.max-w-2xl{max-width:var(--container-2xl)}.max-w-3xl{max-width:var(--container-3xl)}.max-w-4xl{max-width:var(--container-4xl)}.max-w-5xl{max-width:var(--container-5xl)}.max-w-40{max-width:calc(var(--spacing) * 40)}.max-w-48{max-width:calc(var(--spacing) * 48)}.max-w-\[300px\]{max-width:300px}.max-w-\[320px\]{max-width:320px}.max-w-\[340px\]{max-width:340px}.max-w-\[400px\]{max-width:400px}.max-w-\[520px\]{max-width:520px}.max-w-\[560px\]{max-width:560px}.max-w-\[640px\]{max-width:640px}.max-w-md{max-width:var(--container-md)}.max-w-sm{max-width:var(--container-sm)}.max-w-xl{max-width:var(--container-xl)}.max-w-xs{max-width:var(--container-xs)}.min-w-0{min-width:calc(var(--spacing) * 0)}.min-w-\[18px\]{min-width:18px}.min-w-\[280px\]{min-width:280px}.order-first{order:-9999}.flex-1{flex:1}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.border-collapse{border-collapse:collapse}.-translate-x-1\/2{--utility-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--utility-translate-x) var(--utility-translate-y)}.-translate-y-1\/2{--utility-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--utility-translate-x) var(--utility-translate-y)}.scale-110{--utility-scale-x:110%;--utility-scale-y:110%;--utility-scale-z:110%;scale:var(--utility-scale-x) var(--utility-scale-y)}.-rotate-45{rotate:-45deg}.-rotate-90{rotate:-90deg}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.transform{transform:var(--utility-rotate-x,) var(--utility-rotate-y,) var(--utility-rotate-z,) var(--utility-skew-x,) var(--utility-skew-y,)}.animate-fade-in{animation:var(--animate-fade-in)}.animate-pulse{animation:var(--animate-pulse)}.animate-pulse-subtle{animation:var(--animate-pulse-subtle)}.animate-scale-in{animation:var(--animate-scale-in)}.animate-slide-down{animation:var(--animate-slide-down)}.animate-slide-in-left{animation:var(--animate-slide-in-left)}.animate-slide-in-right{animation:var(--animate-slide-in-right)}.animate-spin{animation:var(--animate-spin)}.cursor-col-resize{cursor:col-resize}.cursor-default{cursor:default}.cursor-grab{cursor:grab}.cursor-not-allowed{cursor:not-allowed}.cursor-nwse-resize{cursor:nwse-resize}.cursor-pointer{cursor:pointer}.resize{resize:both}.resize-y{resize:vertical}.list-inside{list-style-position:inside}.list-\[circle\]{list-style-type:circle}.list-\[lower-alpha\]{list-style-type:lower-alpha}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.appearance-none{appearance:none}.columns-1{columns:1}.break-inside-avoid{break-inside:avoid}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.grid-cols-\[1fr_auto_1fr\]{grid-template-columns:1fr auto 1fr}.grid-cols-\[100px_1fr\]{grid-template-columns:100px 1fr}.grid-cols-\[auto_1fr\]{grid-template-columns:auto 1fr}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-around{justify-content:space-around}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-0{gap:calc(var(--spacing) * 0)}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:calc(var(--spacing) * 1)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}:where(.space-y-0>:not(:last-child)){--utility-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 0) * var(--utility-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 0) * calc(1 - var(--utility-space-y-reverse)))}:where(.space-y-0\.5>:not(:last-child)){--utility-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * .5) * var(--utility-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * .5) * calc(1 - var(--utility-space-y-reverse)))}:where(.space-y-1>:not(:last-child)){--utility-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 1) * var(--utility-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 1) * calc(1 - var(--utility-space-y-reverse)))}:where(.space-y-1\.5>:not(:last-child)){--utility-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 1.5) * var(--utility-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 1.5) * calc(1 - var(--utility-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--utility-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 2) * var(--utility-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 2) * calc(1 - var(--utility-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--utility-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 3) * var(--utility-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 3) * calc(1 - var(--utility-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--utility-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 4) * var(--utility-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 4) * calc(1 - var(--utility-space-y-reverse)))}:where(.space-y-5>:not(:last-child)){--utility-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 5) * var(--utility-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 5) * calc(1 - var(--utility-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--utility-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 6) * var(--utility-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 6) * calc(1 - var(--utility-space-y-reverse)))}:where(.space-y-8>:not(:last-child)){--utility-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 8) * var(--utility-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 8) * calc(1 - var(--utility-space-y-reverse)))}:where(.space-y-px>:not(:last-child)){--utility-space-y-reverse:0;margin-block-start:calc(1px * var(--utility-space-y-reverse));margin-block-end:calc(1px * calc(1 - var(--utility-space-y-reverse)))}.gap-x-2{column-gap:calc(var(--spacing) * 2)}.gap-x-3{column-gap:calc(var(--spacing) * 3)}.gap-x-4{column-gap:calc(var(--spacing) * 4)}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-y-1{row-gap:calc(var(--spacing) * 1)}.gap-y-1\.5{row-gap:calc(var(--spacing) * 1.5)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}:where(.divide-y>:not(:last-child)){--utility-divide-y-reverse:0;border-bottom-style:var(--utility-border-style);border-top-style:var(--utility-border-style);border-top-width:calc(1px * var(--utility-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--utility-divide-y-reverse)))}:where(.divide-border>:not(:last-child)){border-color:var(--color-border)}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overscroll-contain{overscroll-behavior:contain}.rounded{border-radius:var(--radius)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-b-lg{border-bottom-right-radius:var(--radius-lg);border-bottom-left-radius:var(--radius-lg)}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.border{border-style:var(--utility-border-style);border-width:1px}.border-2{border-style:var(--utility-border-style);border-width:2px}.border-t{border-top-style:var(--utility-border-style);border-top-width:1px}.border-r{border-right-style:var(--utility-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--utility-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--utility-border-style);border-left-width:1px}.border-l-2{border-left-style:var(--utility-border-style);border-left-width:2px}.border-l-\[3px\]{border-left-style:var(--utility-border-style);border-left-width:3px}.border-dashed{--utility-border-style:dashed;border-style:dashed}.border-accent{border-color:var(--color-accent)}.border-blue\/30{border-color:var(--color-blue)}@supports (color:color-mix(in lab, red, red)){.border-blue\/30{border-color:color-mix(in oklab, var(--color-blue) 30%, transparent)}}.border-info\/30{border-color:var(--color-info)}@supports (color:color-mix(in lab, red, red)){.border-info\/30{border-color:color-mix(in oklab, var(--color-info) 30%, transparent)}}.border-blue{border-color:var(--color-blue)}.border-info{border-color:var(--color-info)}.border-green{border-color:var(--color-green)}.border-success{border-color:var(--color-success)}.border-purple{border-color:var(--color-purple)}.border-yellow{border-color:var(--color-yellow)}.border-warning{border-color:var(--color-warning)}.border-border{border-color:var(--color-border)}.border-border-strong,.border-border-strong\/20{border-color:var(--color-border-strong)}@supports (color:color-mix(in lab, red, red)){.border-border-strong\/20{border-color:color-mix(in oklab, var(--color-border-strong) 20%, transparent)}}.border-green\/30{border-color:var(--color-green)}@supports (color:color-mix(in lab, red, red)){.border-green\/30{border-color:color-mix(in oklab, var(--color-green) 30%, transparent)}}.border-success\/30{border-color:var(--color-success)}@supports (color:color-mix(in lab, red, red)){.border-success\/30{border-color:color-mix(in oklab, var(--color-success) 30%, transparent)}}.border-red,.border-red\/30{border-color:var(--color-red)}@supports (color:color-mix(in lab, red, red)){.border-red\/30{border-color:color-mix(in oklab, var(--color-red) 30%, transparent)}}.border-danger,.border-danger\/30{border-color:var(--color-danger)}@supports (color:color-mix(in lab, red, red)){.border-danger\/30{border-color:color-mix(in oklab, var(--color-danger) 30%, transparent)}}.border-transparent{border-color:#0000}.border-yellow\/30{border-color:var(--color-yellow)}@supports (color:color-mix(in lab, red, red)){.border-yellow\/30{border-color:color-mix(in oklab, var(--color-yellow) 30%, transparent)}}.border-warning\/30{border-color:var(--color-warning)}@supports (color:color-mix(in lab, red, red)){.border-warning\/30{border-color:color-mix(in oklab, var(--color-warning) 30%, transparent)}}.border-b-transparent{border-bottom-color:#0000}.border-l-blue{border-left-color:var(--color-blue)}.border-l-border{border-left-color:var(--color-border)}.border-l-red{border-left-color:var(--color-red)}.border-l-yellow{border-left-color:var(--color-yellow)}.bg-accent{background-color:var(--color-accent)}.bg-accent-muted{background-color:var(--color-accent-muted)}.bg-accent-subtle{background-color:var(--color-accent-subtle)}.bg-accent\/15{background-color:var(--color-accent)}@supports (color:color-mix(in lab, red, red)){.bg-accent\/15{background-color:color-mix(in oklab, var(--color-accent) 15%, transparent)}}.bg-bg-hover{background-color:var(--color-bg-hover)}.bg-bg-media-badge{background-color:var(--color-bg-media-badge)}.bg-bg-overlay{background-color:var(--color-bg-overlay)}.bg-bg-primary,.bg-bg-primary\/50{background-color:var(--color-bg-primary)}@supports (color:color-mix(in lab, red, red)){.bg-bg-primary\/50{background-color:color-mix(in oklab, var(--color-bg-primary) 50%, transparent)}}.bg-bg-secondary{background-color:var(--color-bg-secondary)}.bg-bg-sidebar{background-color:var(--color-bg-sidebar)}.bg-bg-tertiary{background-color:var(--color-bg-tertiary)}.bg-blue{background-color:var(--color-blue)}.bg-info{background-color:var(--color-info)}.bg-blue-muted{background-color:var(--color-blue-muted)}.bg-info-muted{background-color:var(--color-info-muted)}.bg-border{background-color:var(--color-border)}.bg-control-knob{background-color:var(--color-control-knob)}.bg-green{background-color:var(--color-green)}.bg-success{background-color:var(--color-success)}.bg-green-muted{background-color:var(--color-green-muted)}.bg-success-muted{background-color:var(--color-success-muted)}.bg-purple{background-color:var(--color-purple)}.bg-purple-muted{background-color:var(--color-purple-muted)}.bg-red{background-color:var(--color-red)}.bg-danger{background-color:var(--color-danger)}.bg-red-muted,.bg-red-muted\/30{background-color:var(--color-red-muted)}@supports (color:color-mix(in lab, red, red)){.bg-red-muted\/30{background-color:color-mix(in oklab, var(--color-red-muted) 30%, transparent)}}.bg-danger-muted,.bg-danger-muted\/30{background-color:var(--color-danger-muted)}@supports (color:color-mix(in lab, red, red)){.bg-danger-muted\/30{background-color:color-mix(in oklab, var(--color-danger-muted) 30%, transparent)}}.bg-text-tertiary{background-color:var(--color-text-tertiary)}.bg-transparent{background-color:#0000}.bg-yellow{background-color:var(--color-yellow)}.bg-warning{background-color:var(--color-warning)}.bg-yellow-muted{background-color:var(--color-yellow-muted)}.bg-warning-muted{background-color:var(--color-warning-muted)}.fill-yellow{fill:var(--color-yellow)}.object-cover{object-fit:cover}.p-0\.5{padding:calc(var(--spacing) * .5)}.p-1\.5{padding:calc(var(--spacing) * 1.5)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.p-8{padding:calc(var(--spacing) * 8)}.px-0{padding-inline:calc(var(--spacing) * 0)}.px-0\.5{padding-inline:calc(var(--spacing) * .5)}.px-1{padding-inline:calc(var(--spacing) * 1)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:calc(var(--spacing) * 1)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-6{padding-block:calc(var(--spacing) * 6)}.py-8{padding-block:calc(var(--spacing) * 8)}.py-12{padding-block:calc(var(--spacing) * 12)}.py-\[8px\]{padding-block:8px}.py-px{padding-block:1px}.pt-0\.5{padding-top:calc(var(--spacing) * .5)}.pt-1{padding-top:calc(var(--spacing) * 1)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-6{padding-top:calc(var(--spacing) * 6)}.pt-\[20vh\]{padding-top:20vh}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pr-4{padding-right:calc(var(--spacing) * 4)}.pr-6{padding-right:calc(var(--spacing) * 6)}.pr-7{padding-right:calc(var(--spacing) * 7)}.pr-8{padding-right:calc(var(--spacing) * 8)}.pb-0{padding-bottom:calc(var(--spacing) * 0)}.pb-1{padding-bottom:calc(var(--spacing) * 1)}.pb-2{padding-bottom:calc(var(--spacing) * 2)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-20{padding-bottom:calc(var(--spacing) * 20)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-3\.5{padding-left:calc(var(--spacing) * 3.5)}.pl-4{padding-left:calc(var(--spacing) * 4)}.pl-7{padding-left:calc(var(--spacing) * 7)}.pl-12{padding-left:calc(var(--spacing) * 12)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.align-top{vertical-align:top}.font-mono{font-family:var(--font-mono)}.text-2xl{font-size:var(--text-2xl);line-height:var(--utility-leading,var(--text-2xl--line-height))}.text-2xs{font-size:var(--text-2xs);line-height:var(--utility-leading,var(--text-2xs--line-height))}.text-2xs-f{font-size:var(--text-2xs-f);line-height:var(--utility-leading,var(--text-2xs-f--line-height))}.text-5xl{font-size:var(--text-5xl);line-height:var(--utility-leading,var(--text-5xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--utility-leading,var(--text-base--line-height))}.text-body{font-size:var(--text-body);line-height:var(--utility-leading,var(--text-body--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--utility-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--utility-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--utility-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--utility-leading,var(--text-xs--line-height))}.leading-5{--utility-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-none{--utility-leading:1;line-height:1}.leading-relaxed{--utility-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.leading-snug{--utility-leading:var(--leading-snug);line-height:var(--leading-snug)}.leading-tight{--utility-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--utility-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--utility-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--utility-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--utility-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-wider{--utility-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-accent{color:var(--color-accent)}.text-blue{color:var(--color-blue)}.text-info{color:var(--color-info)}.text-blue-500{color:var(--color-blue-500)}.text-green{color:var(--color-green)}.text-success{color:var(--color-success)}.text-purple{color:var(--color-purple)}.text-red{color:var(--color-red)}.text-danger{color:var(--color-danger)}.text-text-disabled{color:var(--color-text-disabled)}.text-text-on-accent{color:var(--color-text-on-accent)}.text-text-on-avatar{color:var(--color-text-on-avatar)}.text-text-on-media{color:var(--color-text-on-media)}.text-text-on-media-muted{color:var(--color-text-on-media-muted)}.text-text-primary{color:var(--color-text-primary)}.text-text-secondary{color:var(--color-text-secondary)}.text-text-tertiary{color:var(--color-text-tertiary)}.text-yellow{color:var(--color-yellow)}.text-warning{color:var(--color-warning)}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.italic{font-style:italic}.tabular-nums{--utility-numeric-spacing:tabular-nums;font-variant-numeric:var(--utility-ordinal,) var(--utility-slashed-zero,) var(--utility-numeric-figure,) var(--utility-numeric-spacing,) var(--utility-numeric-fraction,)}.line-through{text-decoration-line:line-through}.underline{text-decoration-line:underline}.accent-\[var\(--accent\)\]{accent-color:var(--accent)}.opacity-0{opacity:0}.opacity-30{opacity:.3}.opacity-40{opacity:.4}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-\[0\.06\]{opacity:.06}.shadow-lg{--utility-shadow:0 10px 15px -3px var(--utility-shadow-color,#0000001a), 0 4px 6px -4px var(--utility-shadow-color,#0000001a);box-shadow:var(--utility-inset-shadow), var(--utility-inset-ring-shadow), var(--utility-ring-offset-shadow), var(--utility-ring-shadow), var(--utility-shadow)}.shadow-md{--utility-shadow:0 4px 6px -1px var(--utility-shadow-color,#0000001a), 0 2px 4px -2px var(--utility-shadow-color,#0000001a);box-shadow:var(--utility-inset-shadow), var(--utility-inset-ring-shadow), var(--utility-ring-offset-shadow), var(--utility-ring-shadow), var(--utility-shadow)}.ring{--utility-ring-shadow:var(--utility-ring-inset,) 0 0 0 calc(1px + var(--utility-ring-offset-width)) var(--utility-ring-color,currentcolor);box-shadow:var(--utility-inset-shadow), var(--utility-inset-ring-shadow), var(--utility-ring-offset-shadow), var(--utility-ring-shadow), var(--utility-shadow)}.ring-2{--utility-ring-shadow:var(--utility-ring-inset,) 0 0 0 calc(2px + var(--utility-ring-offset-width)) var(--utility-ring-color,currentcolor);box-shadow:var(--utility-inset-shadow), var(--utility-inset-ring-shadow), var(--utility-ring-offset-shadow), var(--utility-ring-shadow), var(--utility-shadow)}.ring-offset-1{--utility-ring-offset-width:1px;--utility-ring-offset-shadow:var(--utility-ring-inset,) 0 0 0 var(--utility-ring-offset-width) var(--utility-ring-offset-color)}.ring-offset-2{--utility-ring-offset-width:2px;--utility-ring-offset-shadow:var(--utility-ring-inset,) 0 0 0 var(--utility-ring-offset-width) var(--utility-ring-offset-color)}.ring-offset-bg-primary{--utility-ring-offset-color:var(--color-bg-primary)}.ring-offset-bg-tertiary{--utility-ring-offset-color:var(--color-bg-tertiary)}.outline{outline-style:var(--utility-outline-style);outline-width:1px}.filter{filter:var(--utility-blur,) var(--utility-brightness,) var(--utility-contrast,) var(--utility-grayscale,) var(--utility-hue-rotate,) var(--utility-invert,) var(--utility-saturate,) var(--utility-sepia,) var(--utility-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--utility-gradient-from,--utility-gradient-via,--utility-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--utility-ease,var(--default-transition-timing-function));transition-duration:var(--utility-duration,var(--default-transition-duration))}.transition-\[left\]{transition-property:left;transition-timing-function:var(--utility-ease,var(--default-transition-timing-function));transition-duration:var(--utility-duration,var(--default-transition-duration))}.transition-\[width\]{transition-property:width;transition-timing-function:var(--utility-ease,var(--default-transition-timing-function));transition-duration:var(--utility-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--utility-ease,var(--default-transition-timing-function));transition-duration:var(--utility-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--utility-gradient-from,--utility-gradient-via,--utility-gradient-to;transition-timing-function:var(--utility-ease,var(--default-transition-timing-function));transition-duration:var(--utility-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--utility-ease,var(--default-transition-timing-function));transition-duration:var(--utility-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--utility-ease,var(--default-transition-timing-function));transition-duration:var(--utility-duration,var(--default-transition-duration))}.transition-none{transition-property:none}.duration-\[100ms\]{--utility-duration:.1s;transition-duration:.1s}.duration-\[200ms\]{--utility-duration:.2s;transition-duration:.2s}.duration-\[250ms\]{--utility-duration:.25s;transition-duration:.25s}.ease-out{--utility-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.select-none{-webkit-user-select:none;user-select:none}@media (hover:hover){.group-hover\:underline:is(:where(.group):hover *){text-decoration-line:underline}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.placeholder\:text-text-disabled::placeholder{color:var(--color-text-disabled)}.first\:pl-3:first-child{padding-left:calc(var(--spacing) * 3)}.last\:border-b-0:last-child{border-bottom-style:var(--utility-border-style);border-bottom-width:0}@media (hover:hover){.hover\:scale-110:hover{--utility-scale-x:110%;--utility-scale-y:110%;--utility-scale-z:110%;scale:var(--utility-scale-x) var(--utility-scale-y)}.hover\:border-border-strong:hover{border-color:var(--color-border-strong)}.hover\:bg-accent-hover:hover{background-color:var(--color-accent-hover)}.hover\:bg-accent\/30:hover{background-color:var(--color-accent)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-accent\/30:hover{background-color:color-mix(in oklab, var(--color-accent) 30%, transparent)}}.hover\:bg-bg-active:hover{background-color:var(--color-bg-active)}.hover\:bg-bg-hover:hover,.hover\:bg-bg-hover\/50:hover{background-color:var(--color-bg-hover)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-bg-hover\/50:hover{background-color:color-mix(in oklab, var(--color-bg-hover) 50%, transparent)}}.hover\:bg-red-muted:hover{background-color:var(--color-red-muted)}.hover\:bg-danger-muted:hover{background-color:var(--color-danger-muted)}.hover\:bg-red\/20:hover{background-color:var(--color-red)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-red\/20:hover{background-color:color-mix(in oklab, var(--color-red) 20%, transparent)}}.hover\:bg-danger\/20:hover{background-color:var(--color-danger)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-danger\/20:hover{background-color:color-mix(in oklab, var(--color-danger) 20%, transparent)}}.hover\:text-accent-hover:hover{color:var(--color-accent-hover)}.hover\:text-text-primary:hover{color:var(--color-text-primary)}.hover\:text-text-secondary:hover{color:var(--color-text-secondary)}.hover\:text-yellow:hover{color:var(--color-yellow)}.hover\:underline:hover{text-decoration-line:underline}}.focus\:border-accent:focus{border-color:var(--color-accent)}.focus\:border-border:focus{border-color:var(--color-border)}.focus\:border-red:focus{border-color:var(--color-red)}.focus\:border-danger:focus{border-color:var(--color-danger)}.focus\:bg-accent\/50:focus{background-color:var(--color-accent)}@supports (color:color-mix(in lab, red, red)){.focus\:bg-accent\/50:focus{background-color:color-mix(in oklab, var(--color-accent) 50%, transparent)}}.focus\:bg-bg-hover:focus{background-color:var(--color-bg-hover)}.focus\:bg-red-muted:focus{background-color:var(--color-red-muted)}.focus\:bg-danger-muted:focus{background-color:var(--color-danger-muted)}.focus\:text-text-primary:focus{color:var(--color-text-primary)}.focus\:outline-none:focus{--utility-outline-style:none;outline-style:none}.focus-visible\:outline-2:focus-visible{outline-style:var(--utility-outline-style);outline-width:2px}.focus-visible\:outline-offset-0:focus-visible{outline-offset:0}.focus-visible\:outline-offset-2:focus-visible{outline-offset:2px}.focus-visible\:outline-offset-\[-2px\]:focus-visible{outline-offset:-2px}.focus-visible\:outline-accent:focus-visible{outline-color:var(--color-accent)}.active\:cursor-grabbing:active{cursor:grabbing}.active\:bg-accent-active:active{background-color:var(--color-accent-active)}.active\:bg-accent\/40:active{background-color:var(--color-accent)}@supports (color:color-mix(in lab, red, red)){.active\:bg-accent\/40:active{background-color:color-mix(in oklab, var(--color-accent) 40%, transparent)}}.active\:bg-accent\/50:active{background-color:var(--color-accent)}@supports (color:color-mix(in lab, red, red)){.active\:bg-accent\/50:active{background-color:color-mix(in oklab, var(--color-accent) 50%, transparent)}}.active\:opacity-50:active{opacity:.5}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-30:disabled{opacity:.3}.disabled\:opacity-40:disabled{opacity:.4}@media (width>=40rem){.sm\:col-span-1{grid-column:span 1/span 1}.sm\:col-span-2{grid-column:span 2/span 2}.sm\:block{display:block}.sm\:flex{display:flex}.sm\:inline{display:inline}.sm\:inline-flex{display:inline-flex}.sm\:w-\[110px\]{width:110px}.sm\:columns-2{columns:2}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:items-start{align-items:flex-start}.sm\:justify-between{justify-content:space-between}.sm\:px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.sm\:px-3{padding-inline:calc(var(--spacing) * 3)}.sm\:px-4{padding-inline:calc(var(--spacing) * 4)}}@media (width>=48rem){.md\:-m-6{margin:calc(var(--spacing) * -6)}.md\:block{display:block}.md\:flex{display:flex}.md\:hidden{display:none}.md\:inline{display:inline}.md\:h-\[calc\(100vh-var\(--topbar-height\)\)\]{height:calc(100vh - var(--topbar-height))}.md\:w-28{width:calc(var(--spacing) * 28)}.md\:max-w-56{max-width:calc(var(--spacing) * 56)}.md\:max-w-64{max-width:calc(var(--spacing) * 64)}.md\:flex-col{flex-direction:column}.md\:cursor-move{cursor:move}.md\:touch-none{touch-action:none}.md\:select-none{-webkit-user-select:none;user-select:none}.md\:p-6{padding:calc(var(--spacing) * 6)}.md\:px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.md\:px-3{padding-inline:calc(var(--spacing) * 3)}.md\:px-4{padding-inline:calc(var(--spacing) * 4)}.md\:pr-6{padding-right:calc(var(--spacing) * 6)}.md\:pt-\[5vh\]{padding-top:5vh}.md\:pb-6{padding-bottom:calc(var(--spacing) * 6)}}@media (width>=64rem){.lg\:flex{display:flex}.lg\:inline{display:inline}.lg\:columns-4{columns:4}.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:grid-cols-\[1fr_280px\]{grid-template-columns:1fr 280px}.lg\:flex-row{flex-direction:row}.lg\:items-center{align-items:center}.lg\:justify-between{justify-content:space-between}.lg\:px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.lg\:px-3{padding-inline:calc(var(--spacing) * 3)}.lg\:px-4{padding-inline:calc(var(--spacing) * 4)}}@media (width>=80rem){.xl\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}.\[\&\:\:-webkit-slider-thumb\]\:h-4::-webkit-slider-thumb{height:calc(var(--spacing) * 4)}.\[\&\:\:-webkit-slider-thumb\]\:w-4::-webkit-slider-thumb{width:calc(var(--spacing) * 4)}.\[\&\:\:-webkit-slider-thumb\]\:cursor-pointer::-webkit-slider-thumb{cursor:pointer}.\[\&\:\:-webkit-slider-thumb\]\:appearance-none::-webkit-slider-thumb{appearance:none}.\[\&\:\:-webkit-slider-thumb\]\:rounded-full::-webkit-slider-thumb{border-radius:3.40282e38px}.\[\&\:\:-webkit-slider-thumb\]\:bg-accent::-webkit-slider-thumb{background-color:var(--color-accent)}.\[\&\:\:-webkit-slider-thumb\]\:shadow-sm::-webkit-slider-thumb{--utility-shadow:0 1px 3px 0 var(--utility-shadow-color,#0000001a), 0 1px 2px -1px var(--utility-shadow-color,#0000001a);box-shadow:var(--utility-inset-shadow), var(--utility-inset-ring-shadow), var(--utility-ring-offset-shadow), var(--utility-ring-shadow), var(--utility-shadow)}.\[\&\:\:-webkit-slider-thumb\]\:transition-transform::-webkit-slider-thumb{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--utility-ease,var(--default-transition-timing-function));transition-duration:var(--utility-duration,var(--default-transition-duration))}.\[\&\:\:-webkit-slider-thumb\]\:duration-\[100ms\]::-webkit-slider-thumb{--utility-duration:.1s;transition-duration:.1s}@media (hover:hover){.\[\&\:\:-webkit-slider-thumb\]\:hover\:scale-110::-webkit-slider-thumb:hover{--utility-scale-x:110%;--utility-scale-y:110%;--utility-scale-z:110%;scale:var(--utility-scale-x) var(--utility-scale-y)}}}@property --utility-translate-x{syntax:"*";inherits:false;initial-value:0}@property --utility-translate-y{syntax:"*";inherits:false;initial-value:0}@property --utility-translate-z{syntax:"*";inherits:false;initial-value:0}@property --utility-scale-x{syntax:"*";inherits:false;initial-value:1}@property --utility-scale-y{syntax:"*";inherits:false;initial-value:1}@property --utility-scale-z{syntax:"*";inherits:false;initial-value:1}@property --utility-rotate-x{syntax:"*";inherits:false}@property --utility-rotate-y{syntax:"*";inherits:false}@property --utility-rotate-z{syntax:"*";inherits:false}@property --utility-skew-x{syntax:"*";inherits:false}@property --utility-skew-y{syntax:"*";inherits:false}@property --utility-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --utility-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --utility-border-style{syntax:"*";inherits:false;initial-value:solid}@property --utility-leading{syntax:"*";inherits:false}@property --utility-font-weight{syntax:"*";inherits:false}@property --utility-tracking{syntax:"*";inherits:false}@property --utility-ordinal{syntax:"*";inherits:false}@property --utility-slashed-zero{syntax:"*";inherits:false}@property --utility-numeric-figure{syntax:"*";inherits:false}@property --utility-numeric-spacing{syntax:"*";inherits:false}@property --utility-numeric-fraction{syntax:"*";inherits:false}@property --utility-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --utility-shadow-color{syntax:"*";inherits:false}@property --utility-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --utility-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --utility-inset-shadow-color{syntax:"*";inherits:false}@property --utility-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --utility-ring-color{syntax:"*";inherits:false}@property --utility-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --utility-inset-ring-color{syntax:"*";inherits:false}@property --utility-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --utility-ring-inset{syntax:"*";inherits:false}@property --utility-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --utility-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --utility-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --utility-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --utility-blur{syntax:"*";inherits:false}@property --utility-brightness{syntax:"*";inherits:false}@property --utility-contrast{syntax:"*";inherits:false}@property --utility-grayscale{syntax:"*";inherits:false}@property --utility-hue-rotate{syntax:"*";inherits:false}@property --utility-invert{syntax:"*";inherits:false}@property --utility-opacity{syntax:"*";inherits:false}@property --utility-saturate{syntax:"*";inherits:false}@property --utility-sepia{syntax:"*";inherits:false}@property --utility-drop-shadow{syntax:"*";inherits:false}@property --utility-drop-shadow-color{syntax:"*";inherits:false}@property --utility-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --utility-drop-shadow-size{syntax:"*";inherits:false}@property --utility-duration{syntax:"*";inherits:false}@property --utility-ease{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}
|
|
8
|
+
@layer utilities{.group-focus-within\:block:is(:where(.group):focus-within *){display:block}@media (hover:hover){.group-hover\:block:is(:where(.group):hover *){display:block}}}
|
|
9
|
+
@layer utilities{.min-h-24{min-height:calc(var(--spacing) * 24)}.min-h-full{min-height:100%}.min-w-5{min-width:calc(var(--spacing) * 5)}.p-1{padding:calc(var(--spacing) * 1)}.pl-1{padding-left:calc(var(--spacing) * 1)}.self-start{align-self:flex-start}.focus-visible\:outline-none:focus-visible{--utility-outline-style:none;outline-style:none}}
|
|
10
|
+
@layer utilities{.focus-visible\:opacity-100:focus-visible{opacity:1}}
|
|
11
|
+
@layer utilities{.max-w-\[576px\]{max-width:576px}.max-w-\[768px\]{max-width:768px}.max-w-\[1024px\]{max-width:1024px}.self-center{align-self:center}}
|
|
12
|
+
@layer utilities {
|
|
13
|
+
.underline-offset-2 {
|
|
14
|
+
text-underline-offset: 2px;
|
|
15
|
+
}}
|
|
16
|
+
@layer utilities {
|
|
17
|
+
.text-green-fg { color: var(--green-fg); }
|
|
18
|
+
.text-success-fg { color: var(--success-fg); }
|
|
19
|
+
.text-yellow-fg { color: var(--yellow-fg); }
|
|
20
|
+
.text-warning-fg { color: var(--warning-fg); }
|
|
21
|
+
.text-red-fg { color: var(--red-fg); }
|
|
22
|
+
.text-danger-fg { color: var(--danger-fg); }
|
|
23
|
+
.text-blue-fg { color: var(--blue-fg); }
|
|
24
|
+
.text-info-fg { color: var(--info-fg); }
|
|
25
|
+
.text-purple-fg { color: var(--purple-fg); }
|
|
26
|
+
.text-teal-fg { color: var(--teal-fg); }
|
|
27
|
+
.text-rose-fg { color: var(--rose-fg); }
|
|
28
|
+
.text-accent-fg { color: var(--accent-fg); }
|
|
29
|
+
.text-text-placeholder,
|
|
30
|
+
.placeholder\:text-text-placeholder::placeholder { color: var(--text-placeholder); }}
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
/* ─── Theme: CSS Custom Properties ─── */
|
|
34
|
+
|
|
35
|
+
:root {
|
|
36
|
+
--bg-primary: #0d0f12;
|
|
37
|
+
--bg-secondary: #13151a;
|
|
38
|
+
--bg-tertiary: #1a1d24;
|
|
39
|
+
--bg-hover: #262a33;
|
|
40
|
+
--bg-active: #2c313b;
|
|
41
|
+
--bg-sidebar: #111318;
|
|
42
|
+
--bg-media-badge: rgba(0, 0, 0, 0.2);
|
|
43
|
+
--control-knob: #ffffff;
|
|
44
|
+
/* QR codes stay dark-on-light in every theme: many scanners can't read an
|
|
45
|
+
inverted code. Override per theme only with a high-contrast pair. */
|
|
46
|
+
--qr-foreground: #000000;
|
|
47
|
+
--qr-background: #ffffff;
|
|
48
|
+
|
|
49
|
+
--text-primary: #e8eaed;
|
|
50
|
+
--text-secondary: #909092;
|
|
51
|
+
--text-tertiary: #7e8590;
|
|
52
|
+
--text-disabled: #4a4f5a;
|
|
53
|
+
--text-inverse: #0d0f12;
|
|
54
|
+
--text-on-accent: #ffffff;
|
|
55
|
+
--text-on-avatar: #ffffff;
|
|
56
|
+
--text-on-media: #ffffff;
|
|
57
|
+
--text-on-media-muted: rgba(255, 255, 255, 0.8);
|
|
58
|
+
|
|
59
|
+
--border: #2a2e38;
|
|
60
|
+
--border-strong: #3a3f4a;
|
|
61
|
+
|
|
62
|
+
--accent: #7a59fc;
|
|
63
|
+
--accent-fg: color-mix(in srgb, var(--accent), white 28%);
|
|
64
|
+
--accent-hover: #6b4aeb;
|
|
65
|
+
--accent-active: #5a39da;
|
|
66
|
+
--accent-muted: rgba(124, 92, 252, 0.15);
|
|
67
|
+
--accent-subtle: rgba(124, 92, 252, 0.08);
|
|
68
|
+
|
|
69
|
+
--shadow-focus: 0 0 0 2px rgba(124, 92, 252, 0.25);
|
|
70
|
+
|
|
71
|
+
--transition-fast: 100ms ease;
|
|
72
|
+
--transition-base: 150ms ease;
|
|
73
|
+
--transition-slow: 250ms ease;
|
|
74
|
+
|
|
75
|
+
--sidebar-width: 220px;
|
|
76
|
+
--sidebar-collapsed: 48px;
|
|
77
|
+
--topbar-height: 36px;
|
|
78
|
+
--bottomnav-height: 56px;
|
|
79
|
+
|
|
80
|
+
color-scheme: dark;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
/* Shared declarations repeated in the themes below. */
|
|
84
|
+
:root,
|
|
85
|
+
.theme-monokai,
|
|
86
|
+
.theme-solarized {
|
|
87
|
+
--bg-overlay: rgba(0, 0, 0, 0.5);
|
|
88
|
+
--shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
|
|
89
|
+
--shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5);
|
|
90
|
+
--shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/* Shared declarations repeated in the themes below. */
|
|
94
|
+
:root,
|
|
95
|
+
.theme-light,
|
|
96
|
+
.theme-light-inverted,
|
|
97
|
+
.theme-hashi,
|
|
98
|
+
.theme-monokai,
|
|
99
|
+
.theme-solarized,
|
|
100
|
+
.theme-cyber-brutal-dark,
|
|
101
|
+
.theme-cyber-brutal-light {
|
|
102
|
+
--text-placeholder: var(--text-tertiary);
|
|
103
|
+
--shadow-knob: 0 0 1px rgba(0, 0, 0, 0.1), 2px 0 4px rgba(0, 0, 0, 0.35);
|
|
104
|
+
--ui-border-width: 1px;
|
|
105
|
+
--font-code: "JetBrains Mono", Menlo, Monaco, Consolas, monospace;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
/* Shared declarations repeated in the themes below. */
|
|
109
|
+
:root,
|
|
110
|
+
.theme-monokai,
|
|
111
|
+
.theme-solarized,
|
|
112
|
+
.theme-cyber-brutal-dark,
|
|
113
|
+
.theme-cyber-brutal-light {
|
|
114
|
+
--border-focus: var(--accent);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
/* Shared declarations repeated in the themes below. */
|
|
118
|
+
:root,
|
|
119
|
+
.theme-cyber-brutal-dark {
|
|
120
|
+
--green: #4ade80;
|
|
121
|
+
--green-muted: rgba(74, 222, 128, 0.15);
|
|
122
|
+
--yellow: #fbbf24;
|
|
123
|
+
--yellow-muted: rgba(251, 191, 36, 0.15);
|
|
124
|
+
--red: #f87171;
|
|
125
|
+
--red-fg: var(--red);
|
|
126
|
+
--red-muted: rgba(248, 113, 113, 0.15);
|
|
127
|
+
--blue: #60a5fa;
|
|
128
|
+
--blue-muted: rgba(96, 165, 250, 0.15);
|
|
129
|
+
--purple: #a78bfa;
|
|
130
|
+
--purple-muted: rgba(167, 139, 250, 0.15);
|
|
131
|
+
--teal: #2dd4bf;
|
|
132
|
+
--teal-muted: rgba(45, 212, 191, 0.15);
|
|
133
|
+
--rose: #fb7185;
|
|
134
|
+
--rose-fg: var(--rose);
|
|
135
|
+
--rose-muted: rgba(251, 113, 133, 0.15);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
/* Shared declarations repeated in the themes below. */
|
|
139
|
+
:root,
|
|
140
|
+
.theme-monokai,
|
|
141
|
+
.theme-cyber-brutal-dark {
|
|
142
|
+
--green-fg: var(--green);
|
|
143
|
+
--yellow-fg: var(--yellow);
|
|
144
|
+
--blue-fg: var(--blue);
|
|
145
|
+
--teal-fg: var(--teal);
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
/* Shared declarations repeated in the themes below. */
|
|
149
|
+
:root,
|
|
150
|
+
.theme-hashi,
|
|
151
|
+
.theme-cyber-brutal-dark {
|
|
152
|
+
--purple-fg: var(--purple);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
/* Shared declarations repeated in the themes below. */
|
|
156
|
+
:root,
|
|
157
|
+
.theme-light,
|
|
158
|
+
.theme-light-inverted,
|
|
159
|
+
.theme-hashi,
|
|
160
|
+
.theme-monokai,
|
|
161
|
+
.theme-solarized {
|
|
162
|
+
--ui-radius: 0.25rem;
|
|
163
|
+
--ui-radius-md: 0.375rem;
|
|
164
|
+
--ui-radius-lg: 0.5rem;
|
|
165
|
+
--ui-radius-xl: 0.75rem;
|
|
166
|
+
--ui-line-height: 1.45;
|
|
167
|
+
--ui-density: 0.25rem;
|
|
168
|
+
--font-ui: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
|
|
169
|
+
--font-control:
|
|
170
|
+
"Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
|
|
171
|
+
--font-label:
|
|
172
|
+
"Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
|
|
173
|
+
--font-navigation:
|
|
174
|
+
"Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
|
|
175
|
+
--font-data:
|
|
176
|
+
"Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
/* Shared declarations repeated in the themes below. */
|
|
180
|
+
:root,
|
|
181
|
+
.theme-light,
|
|
182
|
+
.theme-light-inverted,
|
|
183
|
+
.theme-monokai,
|
|
184
|
+
.theme-solarized {
|
|
185
|
+
--ui-tracking: 0.05em;
|
|
186
|
+
--font-heading:
|
|
187
|
+
"Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
|
|
188
|
+
--font-prose:
|
|
189
|
+
"Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
/* Roles re-resolve on every themed element. */
|
|
193
|
+
:root,
|
|
194
|
+
.theme-light,
|
|
195
|
+
.theme-light-inverted,
|
|
196
|
+
.theme-hashi,
|
|
197
|
+
.theme-monokai,
|
|
198
|
+
.theme-solarized,
|
|
199
|
+
.theme-cyber-brutal-dark,
|
|
200
|
+
.theme-cyber-brutal-light,
|
|
201
|
+
.theme-glass-dark,
|
|
202
|
+
.theme-glass-light,
|
|
203
|
+
.theme-glass {
|
|
204
|
+
--success: var(--green);
|
|
205
|
+
--success-muted: var(--green-muted);
|
|
206
|
+
--success-fg: var(--green-fg);
|
|
207
|
+
--warning: var(--yellow);
|
|
208
|
+
--warning-muted: var(--yellow-muted);
|
|
209
|
+
--warning-fg: var(--yellow-fg);
|
|
210
|
+
--danger: var(--red);
|
|
211
|
+
--danger-muted: var(--red-muted);
|
|
212
|
+
--danger-fg: var(--red-fg);
|
|
213
|
+
--info: var(--blue);
|
|
214
|
+
--info-muted: var(--blue-muted);
|
|
215
|
+
--info-fg: var(--blue-fg);
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
/* ─── Light Theme ─── */
|
|
219
|
+
|
|
220
|
+
.theme-light,
|
|
221
|
+
.theme-light-inverted {
|
|
222
|
+
--bg-primary: #f9fafb;
|
|
223
|
+
--bg-secondary: #f5f5f5;
|
|
224
|
+
--bg-tertiary: #ffffff;
|
|
225
|
+
--bg-hover: #e8e8ec;
|
|
226
|
+
--bg-active: #dddde3;
|
|
227
|
+
--bg-overlay: rgba(0, 0, 0, 0.3);
|
|
228
|
+
--bg-sidebar: #f5f5f5;
|
|
229
|
+
|
|
230
|
+
--text-primary: #18181b;
|
|
231
|
+
--text-secondary: #686870;
|
|
232
|
+
--text-tertiary: #707077;
|
|
233
|
+
--text-disabled: #8a8a94;
|
|
234
|
+
--text-inverse: #fafafa;
|
|
235
|
+
--text-on-accent: #fafafa;
|
|
236
|
+
|
|
237
|
+
--border: #d4d4d8;
|
|
238
|
+
--border-strong: #c4c4cc;
|
|
239
|
+
|
|
240
|
+
--accent: #6d4aed;
|
|
241
|
+
--accent-fg: color-mix(in srgb, var(--accent), black 39%);
|
|
242
|
+
--accent-hover: #5c39dc;
|
|
243
|
+
--accent-active: #4b28cb;
|
|
244
|
+
--accent-muted: rgba(109, 74, 237, 0.12);
|
|
245
|
+
--accent-subtle: rgba(109, 74, 237, 0.06);
|
|
246
|
+
|
|
247
|
+
--green: #22c55e;
|
|
248
|
+
--green-fg: #167a3b;
|
|
249
|
+
--green-muted: rgba(34, 197, 94, 0.12);
|
|
250
|
+
--yellow: #eab308;
|
|
251
|
+
--yellow-fg: #876705;
|
|
252
|
+
--yellow-muted: rgba(234, 179, 8, 0.12);
|
|
253
|
+
--red: #ef4444;
|
|
254
|
+
--red-fg: #bb3535;
|
|
255
|
+
--red-muted: rgba(239, 68, 68, 0.12);
|
|
256
|
+
--blue: #3b82f6;
|
|
257
|
+
--blue-fg: #2e65bf;
|
|
258
|
+
--blue-muted: rgba(59, 130, 246, 0.12);
|
|
259
|
+
--purple: #8b5cf6;
|
|
260
|
+
--purple-fg: #744cd2;
|
|
261
|
+
--purple-muted: rgba(139, 92, 246, 0.12);
|
|
262
|
+
--teal: #14b8a6;
|
|
263
|
+
--teal-fg: #0d766c;
|
|
264
|
+
--teal-muted: rgba(20, 184, 166, 0.12);
|
|
265
|
+
--rose: #f43f5e;
|
|
266
|
+
--rose-fg: #bc3149;
|
|
267
|
+
--rose-muted: rgba(244, 63, 94, 0.12);
|
|
268
|
+
|
|
269
|
+
--shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
|
|
270
|
+
--shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
|
|
271
|
+
--shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
|
|
272
|
+
--shadow-focus: 0 0 0 2px rgba(109, 74, 237, 0.2);
|
|
273
|
+
|
|
274
|
+
color-scheme: light;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
@keyframes fade-in {
|
|
278
|
+
from {
|
|
279
|
+
opacity: 0;
|
|
280
|
+
}
|
|
281
|
+
to {
|
|
282
|
+
opacity: 1;
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
@keyframes fade-out {
|
|
286
|
+
from {
|
|
287
|
+
opacity: 1;
|
|
288
|
+
}
|
|
289
|
+
to {
|
|
290
|
+
opacity: 0;
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
@keyframes scale-in {
|
|
294
|
+
from {
|
|
295
|
+
opacity: 0;
|
|
296
|
+
transform: scale(0.96);
|
|
297
|
+
}
|
|
298
|
+
to {
|
|
299
|
+
opacity: 1;
|
|
300
|
+
transform: scale(1);
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
@keyframes slide-in-down {
|
|
304
|
+
from {
|
|
305
|
+
opacity: 0;
|
|
306
|
+
transform: translateY(-6px);
|
|
307
|
+
}
|
|
308
|
+
to {
|
|
309
|
+
opacity: 1;
|
|
310
|
+
transform: translateY(0);
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
@keyframes slide-in-up {
|
|
314
|
+
from {
|
|
315
|
+
opacity: 0;
|
|
316
|
+
transform: translateY(6px);
|
|
317
|
+
}
|
|
318
|
+
to {
|
|
319
|
+
opacity: 1;
|
|
320
|
+
transform: translateY(0);
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
@keyframes slide-in-right {
|
|
324
|
+
from {
|
|
325
|
+
transform: translateX(100%);
|
|
326
|
+
}
|
|
327
|
+
to {
|
|
328
|
+
transform: translateX(0);
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
@keyframes slide-in-left {
|
|
332
|
+
from {
|
|
333
|
+
transform: translateX(-100%);
|
|
334
|
+
}
|
|
335
|
+
to {
|
|
336
|
+
transform: translateX(0);
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
@keyframes pulse-subtle {
|
|
340
|
+
0%,
|
|
341
|
+
100% {
|
|
342
|
+
opacity: 1;
|
|
343
|
+
}
|
|
344
|
+
50% {
|
|
345
|
+
opacity: 0.5;
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
@keyframes status-dot-ring {
|
|
350
|
+
from {
|
|
351
|
+
opacity: 0.6;
|
|
352
|
+
transform: scale(1);
|
|
353
|
+
}
|
|
354
|
+
to {
|
|
355
|
+
opacity: 0;
|
|
356
|
+
transform: scale(2.25);
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
.status-dot-pulse::after {
|
|
361
|
+
content: "";
|
|
362
|
+
position: absolute;
|
|
363
|
+
inset: 0;
|
|
364
|
+
border: 1px solid currentColor;
|
|
365
|
+
border-radius: inherit;
|
|
366
|
+
animation: status-dot-ring 1.6s ease-out infinite;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
@layer components {
|
|
370
|
+
.search-input-invalid {
|
|
371
|
+
padding-right: 3rem;
|
|
372
|
+
}}
|
|
373
|
+
|
|
374
|
+
.search-input-warning {
|
|
375
|
+
right: 1.75rem;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
/* ─── Base Styles ─── */
|
|
379
|
+
|
|
380
|
+
* {
|
|
381
|
+
box-sizing: border-box;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
html {
|
|
385
|
+
font-feature-settings: "cv02", "cv03", "cv04", "cv11";
|
|
386
|
+
-webkit-font-smoothing: antialiased;
|
|
387
|
+
-moz-osx-font-smoothing: grayscale;
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
h1,
|
|
391
|
+
h2,
|
|
392
|
+
h3,
|
|
393
|
+
h4,
|
|
394
|
+
h5,
|
|
395
|
+
h6 {
|
|
396
|
+
font-family: var(--font-heading);
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
button,
|
|
400
|
+
input,
|
|
401
|
+
textarea,
|
|
402
|
+
select,
|
|
403
|
+
[role="button"],
|
|
404
|
+
[role="tab"],
|
|
405
|
+
[role="menuitem"],
|
|
406
|
+
[role="option"] {
|
|
407
|
+
font-family: var(--font-control);
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
label,
|
|
411
|
+
figcaption,
|
|
412
|
+
caption,
|
|
413
|
+
dt,
|
|
414
|
+
th {
|
|
415
|
+
font-family: var(--font-label);
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
td,
|
|
419
|
+
.tabular-nums {
|
|
420
|
+
font-family: var(--font-data);
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
body {
|
|
424
|
+
margin: 0;
|
|
425
|
+
font-family: var(--font-ui);
|
|
426
|
+
font-size: 0.8125rem; /* 13px at default 16px root */
|
|
427
|
+
line-height: var(--ui-line-height);
|
|
428
|
+
color: var(--text-primary);
|
|
429
|
+
background-color: var(--bg-primary);
|
|
430
|
+
transition:
|
|
431
|
+
background-color var(--transition-base),
|
|
432
|
+
color var(--transition-base);
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
.font-ui {
|
|
436
|
+
font-family: var(--font-ui);
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
.font-heading {
|
|
440
|
+
font-family: var(--font-heading);
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
.font-prose {
|
|
444
|
+
font-family: var(--font-prose);
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
.font-control {
|
|
448
|
+
font-family: var(--font-control);
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
.font-label {
|
|
452
|
+
font-family: var(--font-label);
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
/* Let an embedded label (e.g. a Badge count inside a tab) take its parent's
|
|
456
|
+
font and colour. Unlayered and after .font-label so it wins. */
|
|
457
|
+
.font-inherit {
|
|
458
|
+
font-family: inherit;
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
.text-inherit {
|
|
462
|
+
color: inherit;
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
.font-navigation {
|
|
466
|
+
font-family: var(--font-navigation);
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
.font-data {
|
|
470
|
+
font-family: var(--font-data);
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
/* ─── Shiki code blocks ─── */
|
|
474
|
+
|
|
475
|
+
/* Shiki emits dual-theme tokens (--shiki-light/--shiki-dark vars on each
|
|
476
|
+
span); pick the palette matching the active theme. */
|
|
477
|
+
pre.shiki,
|
|
478
|
+
pre.shiki span {
|
|
479
|
+
color: var(--shiki-dark, var(--text-primary));
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
.theme-light pre.shiki,
|
|
483
|
+
.theme-light pre.shiki span,
|
|
484
|
+
.theme-light-inverted pre.shiki,
|
|
485
|
+
.theme-light-inverted pre.shiki span,
|
|
486
|
+
.theme-cyber-brutal-light pre.shiki,
|
|
487
|
+
.theme-cyber-brutal-light pre.shiki span,
|
|
488
|
+
.theme-glass-light pre.shiki,
|
|
489
|
+
.theme-glass-light pre.shiki span,
|
|
490
|
+
.theme-hashi pre.shiki,
|
|
491
|
+
.theme-hashi pre.shiki span {
|
|
492
|
+
color: var(--shiki-light, var(--text-primary));
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
/* Reading areas and grouped controls become islands on the inverted canvas.
|
|
496
|
+
The marker keeps existing themes' spacing and backgrounds unchanged. */
|
|
497
|
+
.theme-light-inverted .ui-content-surface {
|
|
498
|
+
background-color: var(--bg-content);
|
|
499
|
+
border: var(--ui-border-width) solid var(--border);
|
|
500
|
+
border-radius: var(--ui-radius-md);
|
|
501
|
+
padding: clamp(1rem, 2vw, 1.5rem);
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
.theme-light-inverted .ui-content-surface-flush {
|
|
505
|
+
padding: 0;
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
.theme-light-inverted .ui-content-inset {
|
|
509
|
+
padding: 1rem;
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
@media (width < 40rem) {
|
|
513
|
+
.theme-light-inverted .ui-email-header {
|
|
514
|
+
flex-wrap: wrap;
|
|
515
|
+
}}
|
|
516
|
+
|
|
517
|
+
/* Accent lettering needs contrast on the canvas, panels and selected rows. */
|
|
518
|
+
.theme-glass .ui-prose a {
|
|
519
|
+
color: var(--glass-accent-text);
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
@layer utilities {
|
|
523
|
+
:where(.theme-glass) .text-accent {
|
|
524
|
+
color: var(--glass-accent-text);
|
|
525
|
+
}}
|
|
526
|
+
|
|
527
|
+
/* Keep the canvas fixed as individual app panes scroll. */
|
|
528
|
+
.theme-glass body {
|
|
529
|
+
background-image: var(--glass-canvas);
|
|
530
|
+
background-attachment: fixed;
|
|
531
|
+
background-size: cover;
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
@layer components {
|
|
535
|
+
.bg-bg-card {
|
|
536
|
+
background-color: var(--bg-secondary);
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
.theme-glass .bg-bg-card {
|
|
540
|
+
background-color: var(--glass-card-bg);
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
/* Only establish a positioning context when the component has none of its
|
|
544
|
+
own. Fixed/absolute utility classes and consumers' positioning still win. */
|
|
545
|
+
:where(.theme-glass) :where(.ui-glass),
|
|
546
|
+
:where(.theme-glass)
|
|
547
|
+
:where(.ui-glass:not(.ui-glass-popover, [aria-modal="true"]))
|
|
548
|
+
> * {
|
|
549
|
+
position: relative;
|
|
550
|
+
}}
|
|
551
|
+
|
|
552
|
+
/* Clear only the shell's default fill. cn removes that default utility when a
|
|
553
|
+
caller supplies another background; hover/focus utilities also still win. */
|
|
554
|
+
@layer utilities {
|
|
555
|
+
.theme-glass :where(.ui-glass-shell.bg-bg-primary) {
|
|
556
|
+
background-color: transparent;
|
|
557
|
+
}}
|
|
558
|
+
|
|
559
|
+
/* A separate decorative layer avoids making fixed menus in a Card, Dialog or
|
|
560
|
+
top bar relative to that surface (backdrop-filter on the parent would).
|
|
561
|
+
The parent's normal background utilities retain precedence, including hover
|
|
562
|
+
and caller overrides. Only an explicit --ui-glass-bg adds a pane tint. */
|
|
563
|
+
.theme-glass .ui-glass::before {
|
|
564
|
+
content: "";
|
|
565
|
+
position: absolute;
|
|
566
|
+
inset: 0;
|
|
567
|
+
pointer-events: none;
|
|
568
|
+
border-radius: inherit;
|
|
569
|
+
background-color: var(--ui-glass-bg, transparent);
|
|
570
|
+
-webkit-backdrop-filter: var(--glass-filter);
|
|
571
|
+
backdrop-filter: var(--glass-filter);
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
/* Muting the button itself creates a backdrop root that blocks its pane blur.
|
|
575
|
+
Keep the root opaque and dim only its content in glass themes. */
|
|
576
|
+
.theme-glass button.ui-glass:disabled {
|
|
577
|
+
opacity: 1;
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
.theme-glass button.ui-glass:disabled > * {
|
|
581
|
+
opacity: 0.4;
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
/* Opacity below one creates a backdrop root and cuts the pseudo-element off
|
|
585
|
+
from the canvas. Glass entrances move without fading the whole surface. */
|
|
586
|
+
.theme-glass .ui-glass.animate-fade-in {
|
|
587
|
+
animation-name: none;
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
.theme-glass .ui-glass.animate-scale-in {
|
|
591
|
+
animation-name: ui-scale-without-fade;
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
.theme-glass .ui-glass.animate-slide-down {
|
|
595
|
+
animation-name: ui-slide-without-fade;
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
@keyframes ui-scale-without-fade {
|
|
599
|
+
from {
|
|
600
|
+
transform: scale(0.96);
|
|
601
|
+
}
|
|
602
|
+
to {
|
|
603
|
+
transform: scale(1);
|
|
604
|
+
}
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
@keyframes ui-slide-without-fade {
|
|
608
|
+
from {
|
|
609
|
+
transform: translateY(-6px);
|
|
610
|
+
}
|
|
611
|
+
to {
|
|
612
|
+
transform: translateY(0);
|
|
613
|
+
}
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
/* Scroll the theme settings inside the glass panel. This keeps its backdrop
|
|
617
|
+
in place and lets the inline fixed font pickers extend past the panel. */
|
|
618
|
+
.theme-glass .ui-theme-menu {
|
|
619
|
+
overflow: visible;
|
|
620
|
+
padding: 0;
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
.theme-glass .ui-theme-menu > div {
|
|
624
|
+
overflow-y: auto;
|
|
625
|
+
border-radius: inherit;
|
|
626
|
+
padding: calc(var(--spacing) * 3);
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
/* Keep role utilities in the same layer as hover/focus and consumer utilities. */
|
|
630
|
+
@layer utilities {
|
|
631
|
+
/* Pinned panels and headers must hide content scrolling beneath them. */
|
|
632
|
+
.bg-bg-pinned {
|
|
633
|
+
background-color: var(--bg-pinned, var(--bg-secondary));
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
/* Content roles fall back to the original backgrounds in existing themes. */
|
|
637
|
+
.bg-bg-content {
|
|
638
|
+
background-color: var(--bg-content, var(--bg-primary));
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
.bg-bg-content-raised {
|
|
642
|
+
background-color: var(--bg-content, var(--bg-tertiary));
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
/* Table roles fall back to the original appearance in existing themes. */
|
|
646
|
+
.bg-bg-table {
|
|
647
|
+
background-color: var(--bg-table, transparent);
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
.bg-bg-table-header {
|
|
651
|
+
background-color: var(--bg-table-header, var(--bg-secondary));
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
.text-text-table-header {
|
|
655
|
+
color: var(--text-table-header, var(--text-tertiary));
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
/* Teal and rose status colours, defined by every theme. */
|
|
659
|
+
.bg-teal {
|
|
660
|
+
background-color: var(--teal);
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
.bg-teal-muted {
|
|
664
|
+
background-color: var(--teal-muted);
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
.text-teal {
|
|
668
|
+
color: var(--teal);
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
.bg-rose {
|
|
672
|
+
background-color: var(--rose);
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
.bg-rose-muted {
|
|
676
|
+
background-color: var(--rose-muted);
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
.text-rose {
|
|
680
|
+
color: var(--rose);
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
.border-teal {
|
|
684
|
+
border-color: var(--teal);
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
.border-rose {
|
|
688
|
+
border-color: var(--rose);
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
/* Low-contrast tone borders (tones[*].border in lib/tones.ts) for colours
|
|
692
|
+
the generated utilities don't cover. Same shape as the generated
|
|
693
|
+
border-green/30: the plain colour as a fallback, the 30% mix where
|
|
694
|
+
color-mix is supported. */
|
|
695
|
+
.border-purple\/30 {
|
|
696
|
+
border-color: var(--purple);
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
.border-teal\/30 {
|
|
700
|
+
border-color: var(--teal);
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
.border-rose\/30 {
|
|
704
|
+
border-color: var(--rose);
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
.border-accent\/30 {
|
|
708
|
+
border-color: var(--accent);
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
712
|
+
.border-purple\/30 {
|
|
713
|
+
border-color: color-mix(in oklab, var(--purple) 30%, transparent);
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
.border-teal\/30 {
|
|
717
|
+
border-color: color-mix(in oklab, var(--teal) 30%, transparent);
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
.border-rose\/30 {
|
|
721
|
+
border-color: color-mix(in oklab, var(--rose) 30%, transparent);
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
.border-accent\/30 {
|
|
725
|
+
border-color: color-mix(in oklab, var(--accent) 30%, transparent);
|
|
726
|
+
}}
|
|
727
|
+
|
|
728
|
+
@media (hover: hover) {
|
|
729
|
+
.hover\:text-text-table-header-hover:hover {
|
|
730
|
+
color: var(--text-table-header-hover, var(--text-secondary));
|
|
731
|
+
}}}
|
|
732
|
+
|
|
733
|
+
/* ─── Shared prose content ─── */
|
|
734
|
+
|
|
735
|
+
.ui-prose {
|
|
736
|
+
color: var(--text-secondary);
|
|
737
|
+
font-family: var(--font-prose);
|
|
738
|
+
font-size: 0.8125rem;
|
|
739
|
+
line-height: var(--ui-line-height);
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
.ui-prose p,
|
|
743
|
+
.ui-prose ul,
|
|
744
|
+
.ui-prose ol,
|
|
745
|
+
.ui-prose pre,
|
|
746
|
+
.ui-prose table {
|
|
747
|
+
margin-bottom: 1rem;
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
.ui-prose h2 {
|
|
751
|
+
margin-top: 1.5rem;
|
|
752
|
+
margin-bottom: 0.75rem;
|
|
753
|
+
color: var(--text-primary);
|
|
754
|
+
font-size: 0.875rem;
|
|
755
|
+
font-weight: 600;
|
|
756
|
+
}
|
|
757
|
+
|
|
758
|
+
.ui-prose h3 {
|
|
759
|
+
margin-top: 1.25rem;
|
|
760
|
+
margin-bottom: 0.5rem;
|
|
761
|
+
color: var(--text-primary);
|
|
762
|
+
font-size: 0.75rem;
|
|
763
|
+
font-weight: 600;
|
|
764
|
+
}
|
|
765
|
+
|
|
766
|
+
.ui-prose a {
|
|
767
|
+
color: var(--accent-fg);
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
.ui-prose a:hover {
|
|
771
|
+
text-decoration: underline;
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
.ui-prose strong {
|
|
775
|
+
color: var(--text-primary);
|
|
776
|
+
font-weight: 600;
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
.ui-prose code {
|
|
780
|
+
border-radius: var(--ui-radius);
|
|
781
|
+
background: var(--bg-tertiary);
|
|
782
|
+
color: var(--text-primary);
|
|
783
|
+
padding: 0.125rem 0.375rem;
|
|
784
|
+
font-family: var(--font-code);
|
|
785
|
+
font-size: 0.75rem;
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
.ui-prose pre {
|
|
789
|
+
overflow-x: auto;
|
|
790
|
+
border: var(--ui-border-width) solid var(--border);
|
|
791
|
+
border-radius: var(--ui-radius-md);
|
|
792
|
+
background: var(--bg-tertiary);
|
|
793
|
+
padding: 0.75rem;
|
|
794
|
+
}
|
|
795
|
+
|
|
796
|
+
.ui-prose pre code {
|
|
797
|
+
background: transparent;
|
|
798
|
+
padding: 0;
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
.ui-prose blockquote {
|
|
802
|
+
border-left: 2px solid var(--accent);
|
|
803
|
+
padding: 0.25rem 0 0.25rem 1rem;
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
.ui-prose ul,
|
|
807
|
+
.ui-prose ol {
|
|
808
|
+
list-style-position: inside;
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
.ui-prose ul {
|
|
812
|
+
list-style-type: disc;
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
.ui-prose ol {
|
|
816
|
+
list-style-type: decimal;
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
.ui-prose li {
|
|
820
|
+
line-height: 1.625;
|
|
821
|
+
}
|
|
822
|
+
|
|
823
|
+
.ui-prose table {
|
|
824
|
+
width: 100%;
|
|
825
|
+
overflow: hidden;
|
|
826
|
+
border: var(--ui-border-width) solid var(--border);
|
|
827
|
+
border-radius: var(--ui-radius-md);
|
|
828
|
+
}
|
|
829
|
+
|
|
830
|
+
.ui-prose thead {
|
|
831
|
+
background: var(--bg-tertiary);
|
|
832
|
+
}
|
|
833
|
+
|
|
834
|
+
.ui-prose th,
|
|
835
|
+
.ui-prose td {
|
|
836
|
+
border-bottom: var(--ui-border-width) solid var(--border);
|
|
837
|
+
padding: 0.5rem 0.75rem;
|
|
838
|
+
font-size: 0.75rem;
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
.ui-prose th {
|
|
842
|
+
color: var(--text-tertiary);
|
|
843
|
+
text-align: left;
|
|
844
|
+
font-size: 0.625rem;
|
|
845
|
+
font-weight: 500;
|
|
846
|
+
letter-spacing: var(--ui-tracking);
|
|
847
|
+
text-transform: uppercase;
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
/* ─── Theme-configurable border width ─── */
|
|
851
|
+
|
|
852
|
+
.border {
|
|
853
|
+
border-width: var(--ui-border-width);
|
|
854
|
+
}
|
|
855
|
+
.border-t {
|
|
856
|
+
border-top-width: var(--ui-border-width);
|
|
857
|
+
}
|
|
858
|
+
.border-b {
|
|
859
|
+
border-bottom-width: var(--ui-border-width);
|
|
860
|
+
}
|
|
861
|
+
.border-l {
|
|
862
|
+
border-left-width: var(--ui-border-width);
|
|
863
|
+
}
|
|
864
|
+
.border-r {
|
|
865
|
+
border-right-width: var(--ui-border-width);
|
|
866
|
+
}
|
|
867
|
+
|
|
868
|
+
#root {
|
|
869
|
+
min-height: 100svh;
|
|
870
|
+
}
|
|
871
|
+
|
|
872
|
+
/* ─── Scrollbar ─── */
|
|
873
|
+
|
|
874
|
+
::-webkit-scrollbar {
|
|
875
|
+
width: 6px;
|
|
876
|
+
height: 6px;
|
|
877
|
+
}
|
|
878
|
+
::-webkit-scrollbar-track {
|
|
879
|
+
background: transparent;
|
|
880
|
+
}
|
|
881
|
+
::-webkit-scrollbar-thumb {
|
|
882
|
+
background: var(--border);
|
|
883
|
+
border-radius: 3px;
|
|
884
|
+
}
|
|
885
|
+
::-webkit-scrollbar-thumb:hover {
|
|
886
|
+
background: var(--border-strong);
|
|
887
|
+
}
|
|
888
|
+
|
|
889
|
+
* {
|
|
890
|
+
scrollbar-width: thin;
|
|
891
|
+
scrollbar-color: var(--border) transparent;
|
|
892
|
+
}
|
|
893
|
+
|
|
894
|
+
/* ─── Selection ─── */
|
|
895
|
+
|
|
896
|
+
::selection {
|
|
897
|
+
background: var(--accent-muted);
|
|
898
|
+
color: var(--text-primary);
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
/* ─── Reduced Motion ─── */
|
|
902
|
+
|
|
903
|
+
@media (prefers-reduced-motion: reduce) {
|
|
904
|
+
.status-dot-pulse::after,
|
|
905
|
+
.animate-pulse-subtle {
|
|
906
|
+
animation: none !important;
|
|
907
|
+
}
|
|
908
|
+
|
|
909
|
+
*,
|
|
910
|
+
*::before,
|
|
911
|
+
*::after {
|
|
912
|
+
animation-duration: 0.01ms !important;
|
|
913
|
+
animation-iteration-count: 1 !important;
|
|
914
|
+
transition-duration: 0.01ms !important;
|
|
915
|
+
}}
|
|
916
|
+
|
|
917
|
+
.reduced-motion .status-dot-pulse::after,
|
|
918
|
+
.reduced-motion .animate-pulse-subtle {
|
|
919
|
+
animation: none !important;
|
|
920
|
+
}
|
|
921
|
+
|
|
922
|
+
.reduced-motion *,
|
|
923
|
+
.reduced-motion *::before,
|
|
924
|
+
.reduced-motion *::after {
|
|
925
|
+
animation-duration: 0.01ms !important;
|
|
926
|
+
animation-iteration-count: 1 !important;
|
|
927
|
+
transition-duration: 0.01ms !important;
|
|
928
|
+
}
|
|
929
|
+
|
|
930
|
+
/* ─── Cursor pointer on all interactive elements ─── */
|
|
931
|
+
|
|
932
|
+
a,
|
|
933
|
+
button,
|
|
934
|
+
[role="button"],
|
|
935
|
+
input[type="checkbox"],
|
|
936
|
+
input[type="radio"],
|
|
937
|
+
select,
|
|
938
|
+
label[for],
|
|
939
|
+
summary,
|
|
940
|
+
[tabindex]:not([tabindex="-1"]) {
|
|
941
|
+
cursor: pointer;
|
|
942
|
+
}
|
|
943
|
+
|
|
944
|
+
/* The Dialog's move and resize handles are buttons: keep their own cursors,
|
|
945
|
+
which the unlayered rule above would otherwise beat. */
|
|
946
|
+
[data-dialog-grip] {
|
|
947
|
+
cursor: grab;
|
|
948
|
+
}
|
|
949
|
+
[data-dialog-resize] {
|
|
950
|
+
cursor: nwse-resize;
|
|
951
|
+
}
|
|
952
|
+
|
|
953
|
+
input[type="text"],
|
|
954
|
+
input[type="email"],
|
|
955
|
+
input[type="password"],
|
|
956
|
+
input[type="number"],
|
|
957
|
+
input[type="search"],
|
|
958
|
+
input[type="url"],
|
|
959
|
+
input[type="tel"],
|
|
960
|
+
input[type="date"],
|
|
961
|
+
textarea {
|
|
962
|
+
cursor: text;
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
input:disabled,
|
|
966
|
+
button:disabled,
|
|
967
|
+
select:disabled,
|
|
968
|
+
textarea:disabled {
|
|
969
|
+
cursor: not-allowed;
|
|
970
|
+
}
|
|
971
|
+
|
|
972
|
+
/* ─── Skip to content ─── */
|
|
973
|
+
|
|
974
|
+
.skip-link {
|
|
975
|
+
position: absolute;
|
|
976
|
+
width: 1px;
|
|
977
|
+
height: 1px;
|
|
978
|
+
padding: 0;
|
|
979
|
+
margin: -1px;
|
|
980
|
+
overflow: hidden;
|
|
981
|
+
clip: rect(0, 0, 0, 0);
|
|
982
|
+
white-space: nowrap;
|
|
983
|
+
border-width: 0;
|
|
984
|
+
}
|
|
985
|
+
|
|
986
|
+
.skip-link:focus {
|
|
987
|
+
position: fixed;
|
|
988
|
+
top: 0;
|
|
989
|
+
left: 0;
|
|
990
|
+
width: auto;
|
|
991
|
+
height: auto;
|
|
992
|
+
padding: 8px 16px;
|
|
993
|
+
margin: 0;
|
|
994
|
+
overflow: visible;
|
|
995
|
+
clip: auto;
|
|
996
|
+
white-space: normal;
|
|
997
|
+
background: var(--accent);
|
|
998
|
+
color: white;
|
|
999
|
+
z-index: 9999;
|
|
1000
|
+
font-size: 14px;
|
|
1001
|
+
font-weight: 600;
|
|
1002
|
+
}
|
|
1003
|
+
|
|
1004
|
+
/* ─── Calendar ─── */
|
|
1005
|
+
|
|
1006
|
+
/* Colour variants: every calendar item reads --cal-c (solid) and --cal-m
|
|
1007
|
+
(muted) so events, chips and availability share one mapping onto the
|
|
1008
|
+
theme's semantic colours. */
|
|
1009
|
+
.ui-cal-c-accent {
|
|
1010
|
+
--cal-c: var(--accent);
|
|
1011
|
+
--cal-m: var(--accent-muted);
|
|
1012
|
+
}
|
|
1013
|
+
.ui-cal-c-blue {
|
|
1014
|
+
--cal-c: var(--blue);
|
|
1015
|
+
--cal-m: var(--blue-muted);
|
|
1016
|
+
}
|
|
1017
|
+
.ui-cal-c-green {
|
|
1018
|
+
--cal-c: var(--green);
|
|
1019
|
+
--cal-m: var(--green-muted);
|
|
1020
|
+
}
|
|
1021
|
+
.ui-cal-c-yellow {
|
|
1022
|
+
--cal-c: var(--yellow);
|
|
1023
|
+
--cal-m: var(--yellow-muted);
|
|
1024
|
+
}
|
|
1025
|
+
.ui-cal-c-red {
|
|
1026
|
+
--cal-c: var(--red);
|
|
1027
|
+
--cal-m: var(--red-muted);
|
|
1028
|
+
}
|
|
1029
|
+
.ui-cal-c-purple {
|
|
1030
|
+
--cal-c: var(--purple);
|
|
1031
|
+
--cal-m: var(--purple-muted);
|
|
1032
|
+
}
|
|
1033
|
+
.ui-cal-c-gray {
|
|
1034
|
+
--cal-c: var(--text-tertiary);
|
|
1035
|
+
--cal-m: var(--bg-hover);
|
|
1036
|
+
}
|
|
1037
|
+
|
|
1038
|
+
.ui-cal {
|
|
1039
|
+
--cal-gutter: 3.5rem;
|
|
1040
|
+
--cal-hatch: color-mix(in srgb, var(--text-tertiary) 16%, transparent);
|
|
1041
|
+
background: var(--bg-content, var(--bg-primary));
|
|
1042
|
+
color: var(--text-primary);
|
|
1043
|
+
}
|
|
1044
|
+
|
|
1045
|
+
.ui-cal-scroll {
|
|
1046
|
+
overscroll-behavior: contain;
|
|
1047
|
+
}
|
|
1048
|
+
|
|
1049
|
+
/* Hour and half-hour lines, drawn as backgrounds so a 13-hour week costs no
|
|
1050
|
+
DOM. --cal-hour is the hour height; --cal-offset aligns the lines when the
|
|
1051
|
+
grid starts mid-hour. */
|
|
1052
|
+
.ui-cal-lines {
|
|
1053
|
+
background-image:
|
|
1054
|
+
linear-gradient(to bottom, var(--border) 1px, transparent 1px),
|
|
1055
|
+
linear-gradient(
|
|
1056
|
+
to bottom,
|
|
1057
|
+
color-mix(in srgb, var(--border) 45%, transparent) 1px,
|
|
1058
|
+
transparent 1px
|
|
1059
|
+
);
|
|
1060
|
+
background-size:
|
|
1061
|
+
100% var(--cal-hour),
|
|
1062
|
+
100% calc(var(--cal-hour) / 2);
|
|
1063
|
+
background-position:
|
|
1064
|
+
0 var(--cal-offset, 0),
|
|
1065
|
+
0 var(--cal-offset, 0);
|
|
1066
|
+
}
|
|
1067
|
+
|
|
1068
|
+
.ui-cal-lines-x {
|
|
1069
|
+
background-image:
|
|
1070
|
+
linear-gradient(to right, var(--border) 1px, transparent 1px),
|
|
1071
|
+
linear-gradient(
|
|
1072
|
+
to right,
|
|
1073
|
+
color-mix(in srgb, var(--border) 45%, transparent) 1px,
|
|
1074
|
+
transparent 1px
|
|
1075
|
+
);
|
|
1076
|
+
background-size:
|
|
1077
|
+
var(--cal-hour) 100%,
|
|
1078
|
+
calc(var(--cal-hour) / 2) 100%;
|
|
1079
|
+
background-position:
|
|
1080
|
+
var(--cal-offset, 0) 0,
|
|
1081
|
+
var(--cal-offset, 0) 0;
|
|
1082
|
+
}
|
|
1083
|
+
|
|
1084
|
+
.ui-cal-col {
|
|
1085
|
+
position: relative;
|
|
1086
|
+
min-width: 0;
|
|
1087
|
+
border-left: var(--ui-border-width) solid var(--border);
|
|
1088
|
+
}
|
|
1089
|
+
|
|
1090
|
+
.ui-cal-col[data-subcol] {
|
|
1091
|
+
border-left-color: color-mix(in srgb, var(--border) 50%, transparent);
|
|
1092
|
+
}
|
|
1093
|
+
|
|
1094
|
+
.ui-cal-col[data-today] {
|
|
1095
|
+
background: color-mix(in srgb, var(--accent) 3%, transparent);
|
|
1096
|
+
}
|
|
1097
|
+
|
|
1098
|
+
/* Background layer: time outside availability, absences, available blocks. */
|
|
1099
|
+
.ui-cal-outside {
|
|
1100
|
+
position: absolute;
|
|
1101
|
+
pointer-events: none;
|
|
1102
|
+
/* Busy, like an absence (.ui-cal-avail[data-kind="unavailable"]). */
|
|
1103
|
+
background: repeating-linear-gradient(
|
|
1104
|
+
135deg,
|
|
1105
|
+
var(--cal-hatch) 0 4px,
|
|
1106
|
+
transparent 4px 9px
|
|
1107
|
+
);
|
|
1108
|
+
}
|
|
1109
|
+
|
|
1110
|
+
.ui-cal-avail {
|
|
1111
|
+
position: absolute;
|
|
1112
|
+
overflow: hidden;
|
|
1113
|
+
pointer-events: none;
|
|
1114
|
+
background: color-mix(in srgb, var(--cal-c) 7%, transparent);
|
|
1115
|
+
border-left: 2px solid color-mix(in srgb, var(--cal-c) 55%, transparent);
|
|
1116
|
+
color: var(--text-secondary);
|
|
1117
|
+
font-size: var(--text-2xs);
|
|
1118
|
+
line-height: 1.3;
|
|
1119
|
+
padding: 2px 4px;
|
|
1120
|
+
}
|
|
1121
|
+
|
|
1122
|
+
.ui-cal-avail[data-kind="unavailable"] {
|
|
1123
|
+
background: repeating-linear-gradient(
|
|
1124
|
+
135deg,
|
|
1125
|
+
var(--cal-hatch) 0 4px,
|
|
1126
|
+
transparent 4px 9px
|
|
1127
|
+
);
|
|
1128
|
+
border-left-color: var(--text-tertiary);
|
|
1129
|
+
}
|
|
1130
|
+
|
|
1131
|
+
.ui-cal-timeline .ui-cal-avail {
|
|
1132
|
+
border-left-width: 0;
|
|
1133
|
+
border-top: 2px solid color-mix(in srgb, var(--cal-c) 55%, transparent);
|
|
1134
|
+
}
|
|
1135
|
+
|
|
1136
|
+
.ui-cal-timeline .ui-cal-avail[data-kind="unavailable"] {
|
|
1137
|
+
border-top-color: var(--text-tertiary);
|
|
1138
|
+
}
|
|
1139
|
+
|
|
1140
|
+
/* Availability editing: blocks become solid, grabbable cards above events. */
|
|
1141
|
+
.ui-cal-avail[data-edit] {
|
|
1142
|
+
pointer-events: auto;
|
|
1143
|
+
cursor: pointer;
|
|
1144
|
+
z-index: 3;
|
|
1145
|
+
border-radius: var(--ui-radius-md);
|
|
1146
|
+
border: var(--ui-border-width) solid
|
|
1147
|
+
color-mix(in srgb, var(--cal-c) 60%, transparent);
|
|
1148
|
+
border-left-width: 3px;
|
|
1149
|
+
background:
|
|
1150
|
+
linear-gradient(
|
|
1151
|
+
color-mix(in srgb, var(--cal-c) 16%, transparent),
|
|
1152
|
+
color-mix(in srgb, var(--cal-c) 16%, transparent)
|
|
1153
|
+
),
|
|
1154
|
+
var(--bg-content, var(--bg-primary));
|
|
1155
|
+
color: var(--text-primary);
|
|
1156
|
+
transition:
|
|
1157
|
+
box-shadow 100ms ease,
|
|
1158
|
+
opacity 100ms ease;
|
|
1159
|
+
}
|
|
1160
|
+
|
|
1161
|
+
.ui-cal-avail[data-edit][data-kind="unavailable"] {
|
|
1162
|
+
border-color: var(--border-strong);
|
|
1163
|
+
background:
|
|
1164
|
+
repeating-linear-gradient(
|
|
1165
|
+
135deg,
|
|
1166
|
+
var(--cal-hatch) 0 4px,
|
|
1167
|
+
transparent 4px 9px
|
|
1168
|
+
),
|
|
1169
|
+
var(--bg-secondary);
|
|
1170
|
+
}
|
|
1171
|
+
|
|
1172
|
+
.ui-cal-avail[data-edit]:hover {
|
|
1173
|
+
box-shadow: var(--shadow-sm);
|
|
1174
|
+
}
|
|
1175
|
+
|
|
1176
|
+
.ui-cal-avail:focus-visible,
|
|
1177
|
+
.ui-cal-event:focus-visible,
|
|
1178
|
+
.ui-cal-chip:focus-visible {
|
|
1179
|
+
outline: 2px solid var(--accent);
|
|
1180
|
+
outline-offset: 1px;
|
|
1181
|
+
z-index: 6;
|
|
1182
|
+
}
|
|
1183
|
+
|
|
1184
|
+
/* While editing availability, bookings float above the session cards,
|
|
1185
|
+
dimmed and click-through, so you can see what a change would affect. */
|
|
1186
|
+
.ui-cal-muted-layer {
|
|
1187
|
+
z-index: 4;
|
|
1188
|
+
opacity: 0.55;
|
|
1189
|
+
pointer-events: none;
|
|
1190
|
+
}
|
|
1191
|
+
|
|
1192
|
+
.ui-cal-muted-layer * {
|
|
1193
|
+
pointer-events: none !important;
|
|
1194
|
+
}
|
|
1195
|
+
|
|
1196
|
+
/* Keep the session label readable beside the dimmed bookings. */
|
|
1197
|
+
.ui-cal-col > .ui-cal-muted-layer {
|
|
1198
|
+
left: 40%;
|
|
1199
|
+
}
|
|
1200
|
+
|
|
1201
|
+
/* Events. The muted tint sits over an opaque base so grid lines and
|
|
1202
|
+
availability don't show through. */
|
|
1203
|
+
.ui-cal-event {
|
|
1204
|
+
position: absolute;
|
|
1205
|
+
z-index: 2;
|
|
1206
|
+
display: flex;
|
|
1207
|
+
flex-direction: column;
|
|
1208
|
+
/* A line that doesn't fit wraps into a hidden second column, so short
|
|
1209
|
+
boxes drop whole lines instead of squashing or half-showing them. */
|
|
1210
|
+
flex-wrap: wrap;
|
|
1211
|
+
align-content: flex-start;
|
|
1212
|
+
/* The column gap keeps that hidden column out of the right padding. */
|
|
1213
|
+
gap: 0 12px;
|
|
1214
|
+
overflow: hidden;
|
|
1215
|
+
border-radius: var(--ui-radius-md);
|
|
1216
|
+
border: var(--ui-border-width) solid
|
|
1217
|
+
color-mix(in srgb, var(--cal-c) 35%, transparent);
|
|
1218
|
+
border-left: 3px solid var(--cal-c);
|
|
1219
|
+
background:
|
|
1220
|
+
linear-gradient(var(--cal-m), var(--cal-m)),
|
|
1221
|
+
var(--bg-content, var(--bg-primary));
|
|
1222
|
+
color: var(--text-primary);
|
|
1223
|
+
padding: 2px 6px;
|
|
1224
|
+
font-size: var(--text-2xs);
|
|
1225
|
+
line-height: 1.2;
|
|
1226
|
+
cursor: pointer;
|
|
1227
|
+
user-select: none;
|
|
1228
|
+
transition:
|
|
1229
|
+
box-shadow 100ms ease,
|
|
1230
|
+
opacity 100ms ease;
|
|
1231
|
+
}
|
|
1232
|
+
|
|
1233
|
+
.ui-cal-event > :not([data-cal-resize]) {
|
|
1234
|
+
flex-shrink: 0;
|
|
1235
|
+
width: 100%;
|
|
1236
|
+
}
|
|
1237
|
+
|
|
1238
|
+
.ui-cal-event:hover {
|
|
1239
|
+
box-shadow: var(--shadow-sm);
|
|
1240
|
+
z-index: 4;
|
|
1241
|
+
}
|
|
1242
|
+
|
|
1243
|
+
.ui-cal-event[data-status="tentative"] {
|
|
1244
|
+
background: var(--bg-content, var(--bg-primary));
|
|
1245
|
+
border-style: dashed;
|
|
1246
|
+
border-color: var(--cal-c);
|
|
1247
|
+
}
|
|
1248
|
+
|
|
1249
|
+
.ui-cal-event[data-status="held"] {
|
|
1250
|
+
background:
|
|
1251
|
+
repeating-linear-gradient(135deg, var(--cal-m) 0 6px, transparent 6px 12px),
|
|
1252
|
+
var(--bg-content, var(--bg-primary));
|
|
1253
|
+
border-style: dashed;
|
|
1254
|
+
border-left-style: solid;
|
|
1255
|
+
}
|
|
1256
|
+
|
|
1257
|
+
.ui-cal-event[data-status="cancelled"] {
|
|
1258
|
+
background: var(--bg-secondary);
|
|
1259
|
+
border-color: var(--border);
|
|
1260
|
+
border-left-color: var(--text-tertiary);
|
|
1261
|
+
color: var(--text-tertiary);
|
|
1262
|
+
}
|
|
1263
|
+
|
|
1264
|
+
.ui-cal-event[data-status="cancelled"] .ui-cal-title {
|
|
1265
|
+
text-decoration: line-through;
|
|
1266
|
+
}
|
|
1267
|
+
|
|
1268
|
+
.ui-cal-event[data-continues-before] {
|
|
1269
|
+
border-top-left-radius: 0;
|
|
1270
|
+
border-top-right-radius: 0;
|
|
1271
|
+
}
|
|
1272
|
+
|
|
1273
|
+
.ui-cal-event[data-continues-after] {
|
|
1274
|
+
border-bottom-left-radius: 0;
|
|
1275
|
+
border-bottom-right-radius: 0;
|
|
1276
|
+
}
|
|
1277
|
+
|
|
1278
|
+
.ui-cal-event[data-dragging],
|
|
1279
|
+
.ui-cal-avail[data-dragging],
|
|
1280
|
+
.ui-cal-chip[data-dragging] {
|
|
1281
|
+
opacity: 0.35;
|
|
1282
|
+
}
|
|
1283
|
+
|
|
1284
|
+
.ui-cal-title {
|
|
1285
|
+
overflow: hidden;
|
|
1286
|
+
font-weight: 600;
|
|
1287
|
+
text-overflow: ellipsis;
|
|
1288
|
+
white-space: nowrap;
|
|
1289
|
+
}
|
|
1290
|
+
|
|
1291
|
+
.ui-cal-inline-time {
|
|
1292
|
+
color: var(--text-secondary);
|
|
1293
|
+
font-weight: 400;
|
|
1294
|
+
}
|
|
1295
|
+
|
|
1296
|
+
.ui-cal-meta {
|
|
1297
|
+
overflow: hidden;
|
|
1298
|
+
color: var(--text-secondary);
|
|
1299
|
+
text-overflow: ellipsis;
|
|
1300
|
+
white-space: nowrap;
|
|
1301
|
+
}
|
|
1302
|
+
|
|
1303
|
+
.ui-cal-event[data-status="cancelled"] .ui-cal-meta {
|
|
1304
|
+
color: var(--text-tertiary);
|
|
1305
|
+
}
|
|
1306
|
+
|
|
1307
|
+
.ui-cal-badge {
|
|
1308
|
+
display: inline-block;
|
|
1309
|
+
border-radius: var(--ui-radius-md);
|
|
1310
|
+
background: var(--bg-hover);
|
|
1311
|
+
color: var(--text-secondary);
|
|
1312
|
+
font-size: 0.5625rem;
|
|
1313
|
+
font-weight: 600;
|
|
1314
|
+
letter-spacing: 0.02em;
|
|
1315
|
+
line-height: 1.4;
|
|
1316
|
+
padding: 0 4px;
|
|
1317
|
+
text-transform: uppercase;
|
|
1318
|
+
}
|
|
1319
|
+
|
|
1320
|
+
/* Resize handles: bottom edge in the time grid, right edge in the timeline. */
|
|
1321
|
+
.ui-cal-resize {
|
|
1322
|
+
position: absolute;
|
|
1323
|
+
right: 0;
|
|
1324
|
+
bottom: 0;
|
|
1325
|
+
left: 0;
|
|
1326
|
+
height: 7px;
|
|
1327
|
+
cursor: ns-resize;
|
|
1328
|
+
}
|
|
1329
|
+
|
|
1330
|
+
.ui-cal-resize::after {
|
|
1331
|
+
content: "";
|
|
1332
|
+
position: absolute;
|
|
1333
|
+
bottom: 2px;
|
|
1334
|
+
left: 50%;
|
|
1335
|
+
width: 16px;
|
|
1336
|
+
height: 2px;
|
|
1337
|
+
margin-left: -8px;
|
|
1338
|
+
border-radius: var(--ui-radius);
|
|
1339
|
+
background: var(--cal-c);
|
|
1340
|
+
opacity: 0;
|
|
1341
|
+
transition: opacity 100ms ease;
|
|
1342
|
+
}
|
|
1343
|
+
|
|
1344
|
+
.ui-cal-event:hover .ui-cal-resize::after,
|
|
1345
|
+
.ui-cal-avail:hover .ui-cal-resize::after {
|
|
1346
|
+
opacity: 0.7;
|
|
1347
|
+
}
|
|
1348
|
+
|
|
1349
|
+
.ui-cal-resize[data-edge="right"] {
|
|
1350
|
+
top: 0;
|
|
1351
|
+
right: 0;
|
|
1352
|
+
bottom: 0;
|
|
1353
|
+
left: auto;
|
|
1354
|
+
width: 7px;
|
|
1355
|
+
height: auto;
|
|
1356
|
+
cursor: ew-resize;
|
|
1357
|
+
}
|
|
1358
|
+
|
|
1359
|
+
.ui-cal-resize[data-edge="right"]::after {
|
|
1360
|
+
top: 50%;
|
|
1361
|
+
right: 2px;
|
|
1362
|
+
bottom: auto;
|
|
1363
|
+
left: auto;
|
|
1364
|
+
width: 2px;
|
|
1365
|
+
height: 16px;
|
|
1366
|
+
margin: -8px 0 0;
|
|
1367
|
+
}
|
|
1368
|
+
|
|
1369
|
+
/* Placeholder: a stand-in such as the slot behind an open create dialog.
|
|
1370
|
+
Raised and filled in its own colour so it reads through the backdrop. */
|
|
1371
|
+
.ui-cal-event[data-placeholder],
|
|
1372
|
+
.ui-cal-avail[data-placeholder],
|
|
1373
|
+
.ui-cal-chip[data-placeholder] {
|
|
1374
|
+
z-index: 5;
|
|
1375
|
+
pointer-events: none;
|
|
1376
|
+
border-color: var(--cal-c);
|
|
1377
|
+
background: color-mix(
|
|
1378
|
+
in srgb,
|
|
1379
|
+
var(--cal-c) 28%,
|
|
1380
|
+
var(--bg-content, var(--bg-primary))
|
|
1381
|
+
);
|
|
1382
|
+
box-shadow: var(--shadow-md);
|
|
1383
|
+
}
|
|
1384
|
+
|
|
1385
|
+
/* Empty time shows the plain arrow and items show the pointer. The grids are
|
|
1386
|
+
focusable for keyboard creation, so this overrides the global [tabindex]
|
|
1387
|
+
pointer rule. */
|
|
1388
|
+
.ui-cal .ui-cal-surface,
|
|
1389
|
+
.ui-cal .ui-cal-month-cell {
|
|
1390
|
+
cursor: default;
|
|
1391
|
+
}
|
|
1392
|
+
|
|
1393
|
+
/* Hold one cursor for the whole drag, whatever is under the pointer. */
|
|
1394
|
+
.ui-cal-scroll[data-cal-drag],
|
|
1395
|
+
.ui-cal-scroll[data-cal-drag] * {
|
|
1396
|
+
cursor: default !important;
|
|
1397
|
+
}
|
|
1398
|
+
|
|
1399
|
+
.ui-cal-scroll[data-cal-drag="move"],
|
|
1400
|
+
.ui-cal-scroll[data-cal-drag="move"] * {
|
|
1401
|
+
cursor: grabbing !important;
|
|
1402
|
+
}
|
|
1403
|
+
|
|
1404
|
+
.ui-cal-scroll[data-cal-drag="resize"],
|
|
1405
|
+
.ui-cal-scroll[data-cal-drag="resize"] * {
|
|
1406
|
+
cursor: ns-resize !important;
|
|
1407
|
+
}
|
|
1408
|
+
|
|
1409
|
+
.ui-cal-timeline[data-cal-drag="resize"],
|
|
1410
|
+
.ui-cal-timeline[data-cal-drag="resize"] * {
|
|
1411
|
+
cursor: ew-resize !important;
|
|
1412
|
+
}
|
|
1413
|
+
|
|
1414
|
+
/* Drag preview and keyboard cursor. */
|
|
1415
|
+
.ui-cal-ghost {
|
|
1416
|
+
position: absolute;
|
|
1417
|
+
z-index: 7;
|
|
1418
|
+
overflow: hidden;
|
|
1419
|
+
pointer-events: none;
|
|
1420
|
+
border-radius: var(--ui-radius-md);
|
|
1421
|
+
border: 1px dashed var(--accent);
|
|
1422
|
+
background: color-mix(
|
|
1423
|
+
in srgb,
|
|
1424
|
+
var(--accent) 18%,
|
|
1425
|
+
var(--bg-content, var(--bg-primary))
|
|
1426
|
+
);
|
|
1427
|
+
box-shadow: var(--shadow-md);
|
|
1428
|
+
color: var(--text-primary);
|
|
1429
|
+
font-size: var(--text-2xs);
|
|
1430
|
+
line-height: 1.3;
|
|
1431
|
+
padding: 2px 6px;
|
|
1432
|
+
}
|
|
1433
|
+
|
|
1434
|
+
.ui-cal-ghost[data-invalid] {
|
|
1435
|
+
border-color: var(--red);
|
|
1436
|
+
background: color-mix(
|
|
1437
|
+
in srgb,
|
|
1438
|
+
var(--red) 16%,
|
|
1439
|
+
var(--bg-content, var(--bg-primary))
|
|
1440
|
+
);
|
|
1441
|
+
}
|
|
1442
|
+
|
|
1443
|
+
.ui-cal-cursor {
|
|
1444
|
+
position: absolute;
|
|
1445
|
+
z-index: 5;
|
|
1446
|
+
pointer-events: none;
|
|
1447
|
+
border-radius: var(--ui-radius-md);
|
|
1448
|
+
outline: 2px solid var(--accent);
|
|
1449
|
+
outline-offset: -2px;
|
|
1450
|
+
background: var(--accent-subtle);
|
|
1451
|
+
}
|
|
1452
|
+
|
|
1453
|
+
/* Current time. */
|
|
1454
|
+
.ui-cal-now {
|
|
1455
|
+
position: absolute;
|
|
1456
|
+
z-index: 6;
|
|
1457
|
+
pointer-events: none;
|
|
1458
|
+
background: var(--red);
|
|
1459
|
+
}
|
|
1460
|
+
|
|
1461
|
+
.ui-cal-now[data-axis="y"] {
|
|
1462
|
+
right: 0;
|
|
1463
|
+
left: 0;
|
|
1464
|
+
height: 2px;
|
|
1465
|
+
margin-top: -1px;
|
|
1466
|
+
}
|
|
1467
|
+
|
|
1468
|
+
.ui-cal-now[data-axis="x"] {
|
|
1469
|
+
top: 0;
|
|
1470
|
+
bottom: 0;
|
|
1471
|
+
width: 2px;
|
|
1472
|
+
margin-left: -1px;
|
|
1473
|
+
}
|
|
1474
|
+
|
|
1475
|
+
.ui-cal-now[data-dot]::before {
|
|
1476
|
+
content: "";
|
|
1477
|
+
position: absolute;
|
|
1478
|
+
top: -4px;
|
|
1479
|
+
left: -5px;
|
|
1480
|
+
width: 10px;
|
|
1481
|
+
height: 10px;
|
|
1482
|
+
border-radius: 9999px;
|
|
1483
|
+
background: var(--red);
|
|
1484
|
+
}
|
|
1485
|
+
|
|
1486
|
+
/* Month chips and the "+N more" popover. */
|
|
1487
|
+
.ui-cal-chip {
|
|
1488
|
+
display: flex;
|
|
1489
|
+
align-items: center;
|
|
1490
|
+
gap: 4px;
|
|
1491
|
+
width: 100%;
|
|
1492
|
+
min-width: 0;
|
|
1493
|
+
min-height: 18px;
|
|
1494
|
+
flex-shrink: 0;
|
|
1495
|
+
border-radius: var(--ui-radius-md);
|
|
1496
|
+
color: var(--text-primary);
|
|
1497
|
+
font-size: var(--text-2xs);
|
|
1498
|
+
line-height: 1.5;
|
|
1499
|
+
padding: 0 4px;
|
|
1500
|
+
text-align: left;
|
|
1501
|
+
cursor: pointer;
|
|
1502
|
+
user-select: none;
|
|
1503
|
+
transition: background-color 100ms ease;
|
|
1504
|
+
}
|
|
1505
|
+
|
|
1506
|
+
.ui-cal-chip:hover {
|
|
1507
|
+
background: var(--bg-hover);
|
|
1508
|
+
}
|
|
1509
|
+
|
|
1510
|
+
.ui-cal-chip[data-all-day] {
|
|
1511
|
+
background: var(--cal-m);
|
|
1512
|
+
box-shadow: inset 3px 0 0 var(--cal-c);
|
|
1513
|
+
padding-left: 6px;
|
|
1514
|
+
}
|
|
1515
|
+
|
|
1516
|
+
.ui-cal-chip[data-status="tentative"][data-all-day] {
|
|
1517
|
+
background: transparent;
|
|
1518
|
+
box-shadow: inset 0 0 0 1px var(--cal-c);
|
|
1519
|
+
}
|
|
1520
|
+
|
|
1521
|
+
.ui-cal-chip[data-status="cancelled"] {
|
|
1522
|
+
color: var(--text-tertiary);
|
|
1523
|
+
}
|
|
1524
|
+
|
|
1525
|
+
.ui-cal-chip[data-status="cancelled"] .ui-cal-title {
|
|
1526
|
+
text-decoration: line-through;
|
|
1527
|
+
}
|
|
1528
|
+
|
|
1529
|
+
.ui-cal-dot {
|
|
1530
|
+
flex-shrink: 0;
|
|
1531
|
+
width: 6px;
|
|
1532
|
+
height: 6px;
|
|
1533
|
+
border-radius: 9999px;
|
|
1534
|
+
background: var(--cal-c);
|
|
1535
|
+
}
|
|
1536
|
+
|
|
1537
|
+
.ui-cal-chip[data-status="tentative"] .ui-cal-dot,
|
|
1538
|
+
.ui-cal-chip[data-status="held"] .ui-cal-dot {
|
|
1539
|
+
background: transparent;
|
|
1540
|
+
box-shadow: inset 0 0 0 1.5px var(--cal-c);
|
|
1541
|
+
}
|
|
1542
|
+
|
|
1543
|
+
.ui-cal-month-cell {
|
|
1544
|
+
position: relative;
|
|
1545
|
+
min-width: 0;
|
|
1546
|
+
min-height: 0;
|
|
1547
|
+
border-left: var(--ui-border-width) solid var(--border);
|
|
1548
|
+
border-top: var(--ui-border-width) solid var(--border);
|
|
1549
|
+
}
|
|
1550
|
+
|
|
1551
|
+
.ui-cal-month-cell:first-child {
|
|
1552
|
+
border-left: 0;
|
|
1553
|
+
}
|
|
1554
|
+
|
|
1555
|
+
.ui-cal-month-cell[data-outside-month] {
|
|
1556
|
+
background: color-mix(in srgb, var(--bg-secondary) 60%, transparent);
|
|
1557
|
+
}
|
|
1558
|
+
|
|
1559
|
+
.ui-cal-month-cell[data-unavailable] {
|
|
1560
|
+
background-image: repeating-linear-gradient(
|
|
1561
|
+
135deg,
|
|
1562
|
+
var(--cal-hatch) 0 4px,
|
|
1563
|
+
transparent 4px 9px
|
|
1564
|
+
);
|
|
1565
|
+
}
|
|
1566
|
+
|
|
1567
|
+
.ui-cal-month-cell[data-drop-target] {
|
|
1568
|
+
background: var(--accent-subtle);
|
|
1569
|
+
outline: 2px dashed var(--accent);
|
|
1570
|
+
outline-offset: -2px;
|
|
1571
|
+
}
|
|
1572
|
+
|
|
1573
|
+
.ui-cal-month-cell:focus-visible {
|
|
1574
|
+
outline: 2px solid var(--accent);
|
|
1575
|
+
outline-offset: -2px;
|
|
1576
|
+
}
|
|
1577
|
+
|
|
1578
|
+
.ui-cal-popover {
|
|
1579
|
+
position: fixed;
|
|
1580
|
+
z-index: 45;
|
|
1581
|
+
max-height: min(24rem, calc(100vh - 16px));
|
|
1582
|
+
overflow-y: auto;
|
|
1583
|
+
border-radius: var(--ui-radius-lg);
|
|
1584
|
+
border: var(--ui-border-width) solid var(--border-strong);
|
|
1585
|
+
background: var(--bg-tertiary);
|
|
1586
|
+
box-shadow: var(--shadow-lg);
|
|
1587
|
+
padding: 6px;
|
|
1588
|
+
}
|
|
1589
|
+
|
|
1590
|
+
.ui-cal-popover-scroll {
|
|
1591
|
+
display: contents;
|
|
1592
|
+
}
|
|
1593
|
+
|
|
1594
|
+
/* Keep the pane and its blur stationary. Its max-height bounds the inner list. */
|
|
1595
|
+
.theme-glass .ui-cal-popover {
|
|
1596
|
+
overflow: visible;
|
|
1597
|
+
padding: 0;
|
|
1598
|
+
}
|
|
1599
|
+
|
|
1600
|
+
.theme-glass .ui-cal-popover-scroll {
|
|
1601
|
+
display: flex;
|
|
1602
|
+
flex-direction: column;
|
|
1603
|
+
gap: inherit;
|
|
1604
|
+
min-height: 0;
|
|
1605
|
+
overflow-y: auto;
|
|
1606
|
+
border-radius: inherit;
|
|
1607
|
+
padding: 6px;
|
|
1608
|
+
}
|
|
1609
|
+
|
|
1610
|
+
.ui-cal-loading {
|
|
1611
|
+
position: absolute;
|
|
1612
|
+
inset: 0;
|
|
1613
|
+
z-index: 40;
|
|
1614
|
+
display: flex;
|
|
1615
|
+
align-items: center;
|
|
1616
|
+
justify-content: center;
|
|
1617
|
+
background: color-mix(
|
|
1618
|
+
in srgb,
|
|
1619
|
+
var(--bg-content, var(--bg-primary)) 55%,
|
|
1620
|
+
transparent
|
|
1621
|
+
);
|
|
1622
|
+
}
|
|
1623
|
+
|
|
1624
|
+
/* Printing: show the whole schedule, drop the controls. */
|
|
1625
|
+
@media print {
|
|
1626
|
+
.ui-cal-noprint {
|
|
1627
|
+
display: none !important;
|
|
1628
|
+
}
|
|
1629
|
+
.ui-cal-scroll {
|
|
1630
|
+
overflow: visible !important;
|
|
1631
|
+
height: auto !important;
|
|
1632
|
+
}
|
|
1633
|
+
.ui-cal-event,
|
|
1634
|
+
.ui-cal-chip {
|
|
1635
|
+
break-inside: avoid;
|
|
1636
|
+
}}
|
|
1637
|
+
|
|
1638
|
+
/* Calendar layout: sticky header, hour gutter and timeline row labels. */
|
|
1639
|
+
.ui-cal-head {
|
|
1640
|
+
position: sticky;
|
|
1641
|
+
top: 0;
|
|
1642
|
+
z-index: 20;
|
|
1643
|
+
background: var(--bg-pinned, var(--bg-content, var(--bg-primary)));
|
|
1644
|
+
}
|
|
1645
|
+
|
|
1646
|
+
.ui-cal-corner,
|
|
1647
|
+
.ui-cal-gutter {
|
|
1648
|
+
flex-shrink: 0;
|
|
1649
|
+
width: var(--cal-gutter);
|
|
1650
|
+
}
|
|
1651
|
+
|
|
1652
|
+
.ui-cal-corner {
|
|
1653
|
+
position: sticky;
|
|
1654
|
+
left: 0;
|
|
1655
|
+
z-index: 21;
|
|
1656
|
+
align-self: stretch;
|
|
1657
|
+
background: var(--bg-pinned, var(--bg-content, var(--bg-primary)));
|
|
1658
|
+
}
|
|
1659
|
+
|
|
1660
|
+
.ui-cal-gutter {
|
|
1661
|
+
position: sticky;
|
|
1662
|
+
left: 0;
|
|
1663
|
+
z-index: 10;
|
|
1664
|
+
background: var(--bg-pinned, var(--bg-content, var(--bg-primary)));
|
|
1665
|
+
}
|
|
1666
|
+
|
|
1667
|
+
.ui-cal-subhead {
|
|
1668
|
+
border-left-color: color-mix(in srgb, var(--border) 50%, transparent);
|
|
1669
|
+
}
|
|
1670
|
+
|
|
1671
|
+
.ui-cal-overflow {
|
|
1672
|
+
position: absolute;
|
|
1673
|
+
right: 4px;
|
|
1674
|
+
z-index: 5;
|
|
1675
|
+
pointer-events: none;
|
|
1676
|
+
border-radius: var(--ui-radius-md);
|
|
1677
|
+
background: var(--bg-tooltip, var(--bg-tertiary));
|
|
1678
|
+
color: var(--text-secondary);
|
|
1679
|
+
font-size: var(--text-2xs);
|
|
1680
|
+
line-height: 1.4;
|
|
1681
|
+
padding: 0 4px;
|
|
1682
|
+
}
|
|
1683
|
+
|
|
1684
|
+
.ui-cal-overflow[data-edge="top"] {
|
|
1685
|
+
top: 2px;
|
|
1686
|
+
}
|
|
1687
|
+
|
|
1688
|
+
.ui-cal-overflow[data-edge="bottom"] {
|
|
1689
|
+
bottom: 2px;
|
|
1690
|
+
}
|
|
1691
|
+
|
|
1692
|
+
.ui-cal-timeline {
|
|
1693
|
+
--cal-row-head: 10rem;
|
|
1694
|
+
}
|
|
1695
|
+
|
|
1696
|
+
.ui-cal-row-head {
|
|
1697
|
+
position: sticky;
|
|
1698
|
+
left: 0;
|
|
1699
|
+
z-index: 10;
|
|
1700
|
+
flex-shrink: 0;
|
|
1701
|
+
width: var(--cal-row-head);
|
|
1702
|
+
min-width: 0;
|
|
1703
|
+
border-right: var(--ui-border-width) solid var(--border);
|
|
1704
|
+
background: var(--bg-pinned, var(--bg-content, var(--bg-primary)));
|
|
1705
|
+
}
|
|
1706
|
+
|
|
1707
|
+
.ui-cal-corner-x {
|
|
1708
|
+
z-index: 21;
|
|
1709
|
+
}
|
|
1710
|
+
|
|
1711
|
+
.ui-cal-group {
|
|
1712
|
+
background-color: var(--bg-pinned, transparent);
|
|
1713
|
+
position: sticky;
|
|
1714
|
+
left: 0;
|
|
1715
|
+
}
|
|
1716
|
+
|
|
1717
|
+
.ui-cal-agenda-day {
|
|
1718
|
+
position: sticky;
|
|
1719
|
+
top: 0;
|
|
1720
|
+
z-index: 2;
|
|
1721
|
+
background: var(--bg-pinned, var(--bg-secondary));
|
|
1722
|
+
}
|
|
1723
|
+
|
|
1724
|
+
.ui-cal-agenda-row[data-status="cancelled"] .ui-cal-title {
|
|
1725
|
+
color: var(--text-tertiary);
|
|
1726
|
+
text-decoration: line-through;
|
|
1727
|
+
}
|
|
1728
|
+
|
|
1729
|
+
.ui-cal-agenda-swatch {
|
|
1730
|
+
flex-shrink: 0;
|
|
1731
|
+
width: 6px;
|
|
1732
|
+
height: 10px;
|
|
1733
|
+
border-radius: var(--ui-radius);
|
|
1734
|
+
background: color-mix(in srgb, var(--cal-c) 45%, transparent);
|
|
1735
|
+
}
|
|
1736
|
+
|
|
1737
|
+
.ui-cal-agenda-swatch-off {
|
|
1738
|
+
background: repeating-linear-gradient(
|
|
1739
|
+
135deg,
|
|
1740
|
+
var(--cal-hatch) 0 2px,
|
|
1741
|
+
transparent 2px 4px
|
|
1742
|
+
);
|
|
1743
|
+
box-shadow: inset 0 0 0 1px var(--border-strong);
|
|
1744
|
+
}
|
|
1745
|
+
|
|
1746
|
+
/* Audited convenience primitives: native semantics and semantic theme tokens. */
|
|
1747
|
+
.ui-upload-dropzone:focus-within {
|
|
1748
|
+
outline: 2px solid var(--accent);
|
|
1749
|
+
outline-offset: 2px;
|
|
1750
|
+
}
|
|
1751
|
+
.ui-date-parts {
|
|
1752
|
+
display: grid;
|
|
1753
|
+
grid-template-columns: minmax(0, 5rem) minmax(0, 5rem) minmax(0, 7rem);
|
|
1754
|
+
gap: 0.75rem;
|
|
1755
|
+
}
|
|
1756
|
+
.ui-skeleton {
|
|
1757
|
+
min-height: 1rem;
|
|
1758
|
+
}
|
|
1759
|
+
.ui-nav-tab:focus-visible {
|
|
1760
|
+
outline: 2px solid var(--accent);
|
|
1761
|
+
outline-offset: 2px;
|
|
1762
|
+
}
|
|
1763
|
+
.ui-nav-tabs {
|
|
1764
|
+
overflow-x: auto;
|
|
1765
|
+
}
|
|
1766
|
+
.ui-nav-tabs-list {
|
|
1767
|
+
display: flex;
|
|
1768
|
+
list-style: none;
|
|
1769
|
+
margin: 0;
|
|
1770
|
+
padding: 0;
|
|
1771
|
+
width: max-content;
|
|
1772
|
+
min-width: 100%;
|
|
1773
|
+
}
|
|
1774
|
+
.ui-nav-tab {
|
|
1775
|
+
display: flex;
|
|
1776
|
+
align-items: center;
|
|
1777
|
+
gap: 0.5rem;
|
|
1778
|
+
white-space: nowrap;
|
|
1779
|
+
text-decoration: none;
|
|
1780
|
+
border-bottom: 2px solid transparent;
|
|
1781
|
+
}
|
|
1782
|
+
.ui-nav-tab[aria-current="page"] {
|
|
1783
|
+
border-bottom-color: var(--accent);
|
|
1784
|
+
}
|
|
1785
|
+
.ui-attachment-item {
|
|
1786
|
+
overflow-wrap: anywhere;
|
|
1787
|
+
}
|
|
1788
|
+
@media (max-width: 480px) {
|
|
1789
|
+
.ui-attachment-item {
|
|
1790
|
+
align-items: flex-start;
|
|
1791
|
+
flex-direction: column;
|
|
1792
|
+
}}
|
|
1793
|
+
|
|
1794
|
+
/* Explicit-zone calendar columns label elapsed axes independently on DST days. */
|
|
1795
|
+
.ui-cal[data-time-zone] {
|
|
1796
|
+
--cal-gutter: 0px;
|
|
1797
|
+
}
|
|
1798
|
+
.ui-cal[data-time-zone][data-shared-axis] {
|
|
1799
|
+
--cal-gutter: 3.5rem;
|
|
1800
|
+
}
|
|
1801
|
+
.ui-cal-zone-label {
|
|
1802
|
+
position: absolute;
|
|
1803
|
+
left: 2px;
|
|
1804
|
+
z-index: 1;
|
|
1805
|
+
color: var(--text-tertiary);
|
|
1806
|
+
background: var(--bg-primary);
|
|
1807
|
+
font-family: var(--font-code);
|
|
1808
|
+
font-size: var(--text-2xs);
|
|
1809
|
+
line-height: 12px;
|
|
1810
|
+
pointer-events: none;
|
|
1811
|
+
}
|
|
1812
|
+
|
|
1813
|
+
/* Form participation and opt-in comfortable control sizing. */
|
|
1814
|
+
.ui-checkbox-control {
|
|
1815
|
+
position: relative;
|
|
1816
|
+
display: inline-flex;
|
|
1817
|
+
width: 1rem;
|
|
1818
|
+
height: 1rem;
|
|
1819
|
+
flex-shrink: 0;
|
|
1820
|
+
}
|
|
1821
|
+
.ui-checkbox-input {
|
|
1822
|
+
position: absolute;
|
|
1823
|
+
inset: 0;
|
|
1824
|
+
z-index: 1;
|
|
1825
|
+
width: 100%;
|
|
1826
|
+
height: 100%;
|
|
1827
|
+
margin: 0;
|
|
1828
|
+
opacity: 0;
|
|
1829
|
+
cursor: inherit;
|
|
1830
|
+
}
|
|
1831
|
+
.ui-checkbox-decoration {
|
|
1832
|
+
display: inline-flex;
|
|
1833
|
+
align-items: center;
|
|
1834
|
+
justify-content: center;
|
|
1835
|
+
width: 100%;
|
|
1836
|
+
height: 100%;
|
|
1837
|
+
border: 1px solid var(--control-border, var(--border));
|
|
1838
|
+
border-radius: var(--ui-radius, 4px);
|
|
1839
|
+
background: var(--bg-secondary);
|
|
1840
|
+
color: var(--text-on-accent);
|
|
1841
|
+
pointer-events: none;
|
|
1842
|
+
transition:
|
|
1843
|
+
background-color 100ms,
|
|
1844
|
+
border-color 100ms;
|
|
1845
|
+
}
|
|
1846
|
+
.ui-checkbox-input:checked + .ui-checkbox-decoration,
|
|
1847
|
+
.ui-checkbox-input:indeterminate + .ui-checkbox-decoration {
|
|
1848
|
+
background: var(--accent);
|
|
1849
|
+
border-color: var(--accent);
|
|
1850
|
+
}
|
|
1851
|
+
.ui-checkbox-input:focus-visible + .ui-checkbox-decoration,
|
|
1852
|
+
.ui-native-choice:focus-visible {
|
|
1853
|
+
outline: 2px solid var(--accent);
|
|
1854
|
+
outline-offset: 2px;
|
|
1855
|
+
}
|
|
1856
|
+
.ui-native-choice {
|
|
1857
|
+
flex-shrink: 0;
|
|
1858
|
+
width: 1rem;
|
|
1859
|
+
height: 1rem;
|
|
1860
|
+
margin: 0;
|
|
1861
|
+
accent-color: var(--accent);
|
|
1862
|
+
}
|
|
1863
|
+
.ui-choice:has(input:disabled) {
|
|
1864
|
+
cursor: not-allowed;
|
|
1865
|
+
opacity: 0.4;
|
|
1866
|
+
}
|
|
1867
|
+
/* Card, Dialog and SideSheet header/footer bars share one minimum height: a
|
|
1868
|
+
sm control (or a comfortable 44px one) plus the bar's py-2.5 padding and
|
|
1869
|
+
its 1px divider, so a bar of text lines up with a bar of buttons. */
|
|
1870
|
+
.ui-bar {
|
|
1871
|
+
min-height: calc(var(--spacing) * 12 + 1px);
|
|
1872
|
+
}
|
|
1873
|
+
.ui-bar[data-control-size="compact"] {
|
|
1874
|
+
min-height: calc(
|
|
1875
|
+
var(--spacing) * 7 + 2 * var(--ui-bar-padding-y, var(--spacing) * 2.5) + 1px
|
|
1876
|
+
);
|
|
1877
|
+
}
|
|
1878
|
+
.ui-bar[data-control-size="comfortable"] {
|
|
1879
|
+
min-height: calc(44px + var(--spacing) * 5 + 1px);
|
|
1880
|
+
}
|
|
1881
|
+
.ui-sized-control[data-control-size="comfortable"] {
|
|
1882
|
+
min-height: 44px;
|
|
1883
|
+
height: auto;
|
|
1884
|
+
font-size: 1rem;
|
|
1885
|
+
padding: 0.5rem 0.75rem;
|
|
1886
|
+
}
|
|
1887
|
+
button.ui-sized-control[data-control-size="comfortable"] {
|
|
1888
|
+
min-width: 44px;
|
|
1889
|
+
}
|
|
1890
|
+
.ui-sized-control[data-control-size="comfortable"]:focus-visible {
|
|
1891
|
+
outline: 2px solid var(--accent);
|
|
1892
|
+
outline-offset: 2px;
|
|
1893
|
+
}
|
|
1894
|
+
.ui-choice[data-control-size="comfortable"] {
|
|
1895
|
+
min-height: 44px;
|
|
1896
|
+
}
|
|
1897
|
+
.ui-choice[data-control-size="comfortable"] > span,
|
|
1898
|
+
.ui-choice[data-control-size="comfortable"] > label {
|
|
1899
|
+
font-size: 1rem;
|
|
1900
|
+
}
|
|
1901
|
+
.ui-choice[data-control-size="comfortable"] .ui-checkbox-control {
|
|
1902
|
+
width: 44px;
|
|
1903
|
+
height: 44px;
|
|
1904
|
+
}
|
|
1905
|
+
.ui-choice[data-control-size="comfortable"] .ui-checkbox-decoration {
|
|
1906
|
+
position: absolute;
|
|
1907
|
+
width: 20px;
|
|
1908
|
+
height: 20px;
|
|
1909
|
+
top: 12px;
|
|
1910
|
+
left: 12px;
|
|
1911
|
+
}
|
|
1912
|
+
.ui-choice[data-control-size="comfortable"] .ui-native-choice {
|
|
1913
|
+
width: 20px;
|
|
1914
|
+
height: 20px;
|
|
1915
|
+
margin-top: 0.25rem;
|
|
1916
|
+
}
|
|
1917
|
+
@media (forced-colors: active) {
|
|
1918
|
+
.ui-checkbox-input {
|
|
1919
|
+
appearance: auto;
|
|
1920
|
+
opacity: 1;
|
|
1921
|
+
}
|
|
1922
|
+
.ui-checkbox-decoration {
|
|
1923
|
+
display: none;
|
|
1924
|
+
}}
|
|
1925
|
+
|
|
1926
|
+
/* Preserve adornment clearances when comfortable control padding is applied. */
|
|
1927
|
+
.ui-sized-control[data-control-size="comfortable"][data-has-icon="true"] {
|
|
1928
|
+
padding-inline-start: 2.25rem;
|
|
1929
|
+
}
|
|
1930
|
+
select.ui-sized-control[data-control-size="comfortable"] {
|
|
1931
|
+
padding-inline-end: 2.25rem;
|
|
1932
|
+
}
|
|
1933
|
+
.ui-select-placeholder {
|
|
1934
|
+
left: calc(var(--spacing) * 2);
|
|
1935
|
+
right: calc(var(--spacing) * 7);
|
|
1936
|
+
font-size: 0.75rem;
|
|
1937
|
+
}
|
|
1938
|
+
[data-control-size="compact"] > .ui-select-placeholder {
|
|
1939
|
+
left: var(--ui-control-padding-x, calc(var(--spacing) * 2));
|
|
1940
|
+
font-size: var(--ui-control-font-size, 0.75rem);
|
|
1941
|
+
}
|
|
1942
|
+
[data-control-size="comfortable"] > .ui-select-placeholder {
|
|
1943
|
+
left: 0.75rem;
|
|
1944
|
+
right: 2.25rem;
|
|
1945
|
+
font-size: 1rem;
|
|
1946
|
+
}
|
|
1947
|
+
select:disabled + .ui-select-placeholder {
|
|
1948
|
+
opacity: 0.4;
|
|
1949
|
+
}
|
|
1950
|
+
.ui-password-input[data-control-size="comfortable"] {
|
|
1951
|
+
padding-inline-end: 44px;
|
|
1952
|
+
}
|
|
1953
|
+
.ui-password-toggle[data-control-size="comfortable"] {
|
|
1954
|
+
display: inline-flex;
|
|
1955
|
+
align-items: center;
|
|
1956
|
+
justify-content: center;
|
|
1957
|
+
width: 44px;
|
|
1958
|
+
height: 44px;
|
|
1959
|
+
right: 0;
|
|
1960
|
+
}
|
|
1961
|
+
|
|
1962
|
+
/* Theme hooks. Every token below is optional: when a theme leaves it unset
|
|
1963
|
+
the rule falls back to the component's own utility classes (revert-layer)
|
|
1964
|
+
or to the previous value, so existing themes look exactly as before.
|
|
1965
|
+
|
|
1966
|
+
Field labels: --ui-label-transform, --ui-label-tracking, --ui-label-color. */
|
|
1967
|
+
.ui-field-label {
|
|
1968
|
+
color: var(--ui-label-color, var(--text-secondary));
|
|
1969
|
+
text-transform: var(--ui-label-transform, inherit);
|
|
1970
|
+
letter-spacing: var(--ui-label-tracking, inherit);
|
|
1971
|
+
}
|
|
1972
|
+
|
|
1973
|
+
.ui-alert-dismiss {
|
|
1974
|
+
width: 24px;
|
|
1975
|
+
height: 24px;
|
|
1976
|
+
}
|
|
1977
|
+
|
|
1978
|
+
/* Unchecked switch edge (--control-border) and knob (--control-knob-checked). */
|
|
1979
|
+
.ui-switch {
|
|
1980
|
+
--ui-switch-knob-size: 14px;
|
|
1981
|
+
--ui-switch-knob-inset: 3px;
|
|
1982
|
+
--ui-switch-knob-checked-inset: 19px;
|
|
1983
|
+
width: 36px;
|
|
1984
|
+
height: 20px;
|
|
1985
|
+
}
|
|
1986
|
+
.ui-switch[data-control-size="comfortable"] {
|
|
1987
|
+
--ui-switch-knob-size: 18px;
|
|
1988
|
+
--ui-switch-knob-inset: 3px;
|
|
1989
|
+
--ui-switch-knob-checked-inset: 23px;
|
|
1990
|
+
width: 44px;
|
|
1991
|
+
height: 24px;
|
|
1992
|
+
margin-block: 10px;
|
|
1993
|
+
}
|
|
1994
|
+
.ui-switch[data-control-size="comfortable"]::before {
|
|
1995
|
+
content: "";
|
|
1996
|
+
position: absolute;
|
|
1997
|
+
/* Cover the border and extend 10px past the top and bottom. */
|
|
1998
|
+
inset: -11px -1px;
|
|
1999
|
+
}
|
|
2000
|
+
.ui-switch[data-control-size="comfortable"] > .ui-switch-knob {
|
|
2001
|
+
/* Measure horizontal insets from the outside of the track border. */
|
|
2002
|
+
margin-left: -1px;
|
|
2003
|
+
}
|
|
2004
|
+
.ui-switch-off {
|
|
2005
|
+
border-color: var(--control-border, var(--border));
|
|
2006
|
+
}
|
|
2007
|
+
.ui-switch-knob {
|
|
2008
|
+
background-color: var(--control-knob);
|
|
2009
|
+
box-shadow: var(--shadow-knob);
|
|
2010
|
+
width: var(--ui-switch-knob-size);
|
|
2011
|
+
height: var(--ui-switch-knob-size);
|
|
2012
|
+
margin-top: calc(var(--ui-switch-knob-size) / -2);
|
|
2013
|
+
left: var(--ui-switch-knob-inset);
|
|
2014
|
+
}
|
|
2015
|
+
[role="switch"][aria-checked="true"] > .ui-switch-knob {
|
|
2016
|
+
left: var(--ui-switch-knob-checked-inset);
|
|
2017
|
+
background-color: var(--control-knob-checked, var(--control-knob));
|
|
2018
|
+
}
|
|
2019
|
+
|
|
2020
|
+
/* Compact control sizing: --ui-control-height, --ui-control-font-size and
|
|
2021
|
+
--ui-control-padding-x. These beat the size utilities on the control, so
|
|
2022
|
+
they apply only to compact controls; Button sm/lg, icon buttons and
|
|
2023
|
+
buttons whose label hides responsively, and Button xs/sm/lg keep their own sizing. */
|
|
2024
|
+
.ui-sized-control[data-control-size="compact"]:not(textarea):not(
|
|
2025
|
+
[data-variant="icon"]
|
|
2026
|
+
):not([data-size="xs"]):not([data-size="sm"]):not([data-size="lg"]):not(
|
|
2027
|
+
[data-hide-label]
|
|
2028
|
+
) {
|
|
2029
|
+
height: var(--ui-control-height, revert-layer);
|
|
2030
|
+
}
|
|
2031
|
+
.ui-sized-control[data-control-size="compact"]:not([data-variant="icon"]):not(
|
|
2032
|
+
[data-size="xs"]
|
|
2033
|
+
):not([data-size="sm"]):not([data-size="lg"]):not([data-hide-label]) {
|
|
2034
|
+
font-size: var(--ui-control-font-size, revert-layer);
|
|
2035
|
+
}
|
|
2036
|
+
.ui-sized-control[data-control-size="compact"]:not([data-variant="icon"]):not(
|
|
2037
|
+
[data-size="xs"]
|
|
2038
|
+
):not([data-size="sm"]):not([data-size="lg"]):not([data-hide-label]):not(
|
|
2039
|
+
[data-has-icon="true"]
|
|
2040
|
+
) {
|
|
2041
|
+
padding-inline-start: var(--ui-control-padding-x, revert-layer);
|
|
2042
|
+
}
|
|
2043
|
+
:is(
|
|
2044
|
+
button.ui-sized-control[data-variant],
|
|
2045
|
+
input.ui-sized-control:not(.ui-password-input),
|
|
2046
|
+
textarea.ui-sized-control
|
|
2047
|
+
)[data-control-size="compact"]:not([data-variant="icon"]):not(
|
|
2048
|
+
[data-size="xs"]
|
|
2049
|
+
):not([data-size="sm"]):not([data-size="lg"]):not([data-hide-label]) {
|
|
2050
|
+
padding-inline-end: var(--ui-control-padding-x, revert-layer);
|
|
2051
|
+
}
|
|
2052
|
+
|
|
2053
|
+
/* Card, Dialog and SideSheet padding: --ui-surface-padding for bodies,
|
|
2054
|
+
--ui-bar-padding-x and --ui-bar-padding-y for header and footer bars. */
|
|
2055
|
+
.ui-surface-body {
|
|
2056
|
+
padding: var(--ui-surface-padding, revert-layer);
|
|
2057
|
+
}
|
|
2058
|
+
.ui-bar[data-control-size="compact"] {
|
|
2059
|
+
padding-inline: var(--ui-bar-padding-x, revert-layer);
|
|
2060
|
+
padding-block: var(--ui-bar-padding-y, revert-layer);
|
|
2061
|
+
}
|
|
2062
|
+
|
|
2063
|
+
/* Native progress supplies semantics; the decorative fill supports stripes in all browsers. */
|
|
2064
|
+
.ui-progress-track {
|
|
2065
|
+
--progress-color: var(--accent);
|
|
2066
|
+
position: relative;
|
|
2067
|
+
height: 0.625rem;
|
|
2068
|
+
overflow: hidden;
|
|
2069
|
+
border-radius: var(--ui-radius);
|
|
2070
|
+
background: var(--bg-tertiary);
|
|
2071
|
+
}
|
|
2072
|
+
.ui-progress-track[data-color="green"] {
|
|
2073
|
+
--progress-color: var(--green);
|
|
2074
|
+
}
|
|
2075
|
+
.ui-progress-track[data-color="blue"] {
|
|
2076
|
+
--progress-color: var(--blue);
|
|
2077
|
+
}
|
|
2078
|
+
.ui-progress-track[data-color="yellow"] {
|
|
2079
|
+
--progress-color: var(--yellow);
|
|
2080
|
+
}
|
|
2081
|
+
.ui-progress-track[data-color="red"] {
|
|
2082
|
+
--progress-color: var(--red);
|
|
2083
|
+
}
|
|
2084
|
+
.ui-progress-fill {
|
|
2085
|
+
display: block;
|
|
2086
|
+
height: 100%;
|
|
2087
|
+
border-radius: inherit;
|
|
2088
|
+
background-color: var(--progress-color);
|
|
2089
|
+
}
|
|
2090
|
+
.ui-progress-bar {
|
|
2091
|
+
position: absolute;
|
|
2092
|
+
width: 100%;
|
|
2093
|
+
height: 100%;
|
|
2094
|
+
inset: 0;
|
|
2095
|
+
opacity: 0;
|
|
2096
|
+
}
|
|
2097
|
+
.ui-progress-track[data-striped] .ui-progress-fill {
|
|
2098
|
+
background-image: repeating-linear-gradient(
|
|
2099
|
+
135deg,
|
|
2100
|
+
transparent 0 0.5rem,
|
|
2101
|
+
color-mix(in srgb, var(--bg-primary) 35%, transparent) 0.5rem 1rem
|
|
2102
|
+
);
|
|
2103
|
+
background-size: 1.414214rem 1.414214rem;
|
|
2104
|
+
}
|
|
2105
|
+
.ui-progress-track[data-animated][data-striped] .ui-progress-fill {
|
|
2106
|
+
animation: ui-progress-stripes 1s linear infinite;
|
|
2107
|
+
}
|
|
2108
|
+
.ui-progress-track[data-indeterminate] .ui-progress-fill {
|
|
2109
|
+
margin-left: 32.5%;
|
|
2110
|
+
}
|
|
2111
|
+
.ui-progress-track[data-animated][data-indeterminate] .ui-progress-fill {
|
|
2112
|
+
margin-left: 0;
|
|
2113
|
+
animation: ui-progress-travel 1.5s ease-in-out infinite alternate;
|
|
2114
|
+
}
|
|
2115
|
+
.ui-progress-track[data-animated][data-indeterminate][data-striped]
|
|
2116
|
+
.ui-progress-fill {
|
|
2117
|
+
animation:
|
|
2118
|
+
ui-progress-travel 1.5s ease-in-out infinite alternate,
|
|
2119
|
+
ui-progress-stripes 1s linear infinite;
|
|
2120
|
+
}
|
|
2121
|
+
@keyframes ui-progress-stripes {
|
|
2122
|
+
to {
|
|
2123
|
+
background-position: 1.414214rem 0;
|
|
2124
|
+
}
|
|
2125
|
+
}
|
|
2126
|
+
@keyframes ui-progress-travel {
|
|
2127
|
+
to {
|
|
2128
|
+
transform: translateX(185.714%);
|
|
2129
|
+
}
|
|
2130
|
+
}
|
|
2131
|
+
@media (prefers-reduced-motion: reduce) {
|
|
2132
|
+
.ui-progress-track .ui-progress-fill {
|
|
2133
|
+
animation: none !important;
|
|
2134
|
+
}}
|
|
2135
|
+
@media (forced-colors: active) {
|
|
2136
|
+
.ui-progress-bar {
|
|
2137
|
+
opacity: 1;
|
|
2138
|
+
}
|
|
2139
|
+
.ui-progress-fill {
|
|
2140
|
+
visibility: hidden;
|
|
2141
|
+
}}
|
|
2142
|
+
.ui-date-part {
|
|
2143
|
+
position: relative;
|
|
2144
|
+
}
|
|
2145
|
+
.ui-date-part input {
|
|
2146
|
+
padding-right: 2rem;
|
|
2147
|
+
}
|
|
2148
|
+
.ui-date-part-selector {
|
|
2149
|
+
position: absolute;
|
|
2150
|
+
right: 0;
|
|
2151
|
+
bottom: 0;
|
|
2152
|
+
width: 2rem;
|
|
2153
|
+
height: 1.75rem;
|
|
2154
|
+
display: flex;
|
|
2155
|
+
align-items: center;
|
|
2156
|
+
justify-content: center;
|
|
2157
|
+
color: var(--text-secondary);
|
|
2158
|
+
}
|
|
2159
|
+
.ui-date-part:has([data-control-size="comfortable"]) .ui-date-part-selector {
|
|
2160
|
+
height: 44px;
|
|
2161
|
+
}
|
|
2162
|
+
.ui-date-part-selector select {
|
|
2163
|
+
position: absolute;
|
|
2164
|
+
inset: 0;
|
|
2165
|
+
width: 100%;
|
|
2166
|
+
height: 100%;
|
|
2167
|
+
opacity: 0;
|
|
2168
|
+
cursor: pointer;
|
|
2169
|
+
}
|
|
2170
|
+
.ui-date-part-selector:focus-within {
|
|
2171
|
+
outline: 2px solid var(--accent);
|
|
2172
|
+
outline-offset: -2px;
|
|
2173
|
+
border-radius: var(--ui-radius);
|
|
2174
|
+
}
|
|
2175
|
+
|
|
2176
|
+
.reduced-motion .ui-progress-track .ui-progress-fill {
|
|
2177
|
+
animation: none !important;
|
|
2178
|
+
}
|
|
2179
|
+
|
|
2180
|
+
/* Component defaults stay below consumer utilities in the cascade. */
|
|
2181
|
+
@layer components {
|
|
2182
|
+
.ui-stack,
|
|
2183
|
+
.ui-inline,
|
|
2184
|
+
.ui-grid {
|
|
2185
|
+
column-gap: var(--ui-gap-x, var(--ui-gap, 0px));
|
|
2186
|
+
row-gap: var(--ui-gap-y, var(--ui-gap, 0px));
|
|
2187
|
+
align-items: var(--ui-align, stretch);
|
|
2188
|
+
}
|
|
2189
|
+
.ui-stack,
|
|
2190
|
+
.ui-inline {
|
|
2191
|
+
display: flex;
|
|
2192
|
+
justify-content: var(--ui-justify, flex-start);
|
|
2193
|
+
}
|
|
2194
|
+
.ui-stack {
|
|
2195
|
+
flex-direction: column;
|
|
2196
|
+
}
|
|
2197
|
+
.ui-inline {
|
|
2198
|
+
display: var(--ui-display, flex);
|
|
2199
|
+
flex-wrap: var(--ui-wrap, nowrap);
|
|
2200
|
+
flex-direction: var(--ui-direction-base, row);
|
|
2201
|
+
}
|
|
2202
|
+
.ui-grid {
|
|
2203
|
+
--ui-align: stretch;
|
|
2204
|
+
--ui-justify: stretch;
|
|
2205
|
+
display: grid;
|
|
2206
|
+
grid-template-columns: var(--ui-columns-base, repeat(1, minmax(0, 1fr)));
|
|
2207
|
+
justify-items: var(--ui-justify, stretch);
|
|
2208
|
+
}
|
|
2209
|
+
.ui-grid-item {
|
|
2210
|
+
grid-column: var(--ui-span-base, span 1 / span 1);
|
|
2211
|
+
}
|
|
2212
|
+
@media (min-width: 40rem) {
|
|
2213
|
+
.ui-grid {
|
|
2214
|
+
grid-template-columns: var(
|
|
2215
|
+
--ui-columns-sm,
|
|
2216
|
+
var(--ui-columns-base, repeat(1, minmax(0, 1fr)))
|
|
2217
|
+
);
|
|
2218
|
+
}
|
|
2219
|
+
.ui-grid-item {
|
|
2220
|
+
grid-column: var(--ui-span-sm, var(--ui-span-base, span 1 / span 1));
|
|
2221
|
+
}
|
|
2222
|
+
.ui-inline {
|
|
2223
|
+
flex-direction: var(--ui-direction-sm, var(--ui-direction-base, row));
|
|
2224
|
+
}}
|
|
2225
|
+
@media (min-width: 48rem) {
|
|
2226
|
+
.ui-grid {
|
|
2227
|
+
grid-template-columns: var(
|
|
2228
|
+
--ui-columns-md,
|
|
2229
|
+
var(--ui-columns-sm, var(--ui-columns-base, repeat(1, minmax(0, 1fr))))
|
|
2230
|
+
);
|
|
2231
|
+
}
|
|
2232
|
+
.ui-grid-item {
|
|
2233
|
+
grid-column: var(
|
|
2234
|
+
--ui-span-md,
|
|
2235
|
+
var(--ui-span-sm, var(--ui-span-base, span 1 / span 1))
|
|
2236
|
+
);
|
|
2237
|
+
}
|
|
2238
|
+
.ui-inline {
|
|
2239
|
+
flex-direction: var(
|
|
2240
|
+
--ui-direction-md,
|
|
2241
|
+
var(--ui-direction-sm, var(--ui-direction-base, row))
|
|
2242
|
+
);
|
|
2243
|
+
}}
|
|
2244
|
+
@media (min-width: 64rem) {
|
|
2245
|
+
.ui-grid {
|
|
2246
|
+
grid-template-columns: var(
|
|
2247
|
+
--ui-columns-lg,
|
|
2248
|
+
var(
|
|
2249
|
+
--ui-columns-md,
|
|
2250
|
+
var(
|
|
2251
|
+
--ui-columns-sm,
|
|
2252
|
+
var(--ui-columns-base, repeat(1, minmax(0, 1fr)))
|
|
2253
|
+
)
|
|
2254
|
+
)
|
|
2255
|
+
);
|
|
2256
|
+
}
|
|
2257
|
+
.ui-grid-item {
|
|
2258
|
+
grid-column: var(
|
|
2259
|
+
--ui-span-lg,
|
|
2260
|
+
var(
|
|
2261
|
+
--ui-span-md,
|
|
2262
|
+
var(--ui-span-sm, var(--ui-span-base, span 1 / span 1))
|
|
2263
|
+
)
|
|
2264
|
+
);
|
|
2265
|
+
}
|
|
2266
|
+
.ui-inline {
|
|
2267
|
+
flex-direction: var(
|
|
2268
|
+
--ui-direction-lg,
|
|
2269
|
+
var(
|
|
2270
|
+
--ui-direction-md,
|
|
2271
|
+
var(--ui-direction-sm, var(--ui-direction-base, row))
|
|
2272
|
+
)
|
|
2273
|
+
);
|
|
2274
|
+
}}
|
|
2275
|
+
@media (min-width: 80rem) {
|
|
2276
|
+
.ui-grid {
|
|
2277
|
+
grid-template-columns: var(
|
|
2278
|
+
--ui-columns-xl,
|
|
2279
|
+
var(
|
|
2280
|
+
--ui-columns-lg,
|
|
2281
|
+
var(
|
|
2282
|
+
--ui-columns-md,
|
|
2283
|
+
var(
|
|
2284
|
+
--ui-columns-sm,
|
|
2285
|
+
var(--ui-columns-base, repeat(1, minmax(0, 1fr)))
|
|
2286
|
+
)
|
|
2287
|
+
)
|
|
2288
|
+
)
|
|
2289
|
+
);
|
|
2290
|
+
}
|
|
2291
|
+
.ui-grid-item {
|
|
2292
|
+
grid-column: var(
|
|
2293
|
+
--ui-span-xl,
|
|
2294
|
+
var(
|
|
2295
|
+
--ui-span-lg,
|
|
2296
|
+
var(
|
|
2297
|
+
--ui-span-md,
|
|
2298
|
+
var(--ui-span-sm, var(--ui-span-base, span 1 / span 1))
|
|
2299
|
+
)
|
|
2300
|
+
)
|
|
2301
|
+
);
|
|
2302
|
+
}
|
|
2303
|
+
.ui-inline {
|
|
2304
|
+
flex-direction: var(
|
|
2305
|
+
--ui-direction-xl,
|
|
2306
|
+
var(
|
|
2307
|
+
--ui-direction-lg,
|
|
2308
|
+
var(
|
|
2309
|
+
--ui-direction-md,
|
|
2310
|
+
var(--ui-direction-sm, var(--ui-direction-base, row))
|
|
2311
|
+
)
|
|
2312
|
+
)
|
|
2313
|
+
);
|
|
2314
|
+
}}
|
|
2315
|
+
|
|
2316
|
+
/* MetadataGrid striped rows. Each row carries --ui-stripe-<breakpoint>
|
|
2317
|
+
set to the stripe colour or transparent for the visual row it lands on
|
|
2318
|
+
at that breakpoint; "initial" falls back to the next smaller one, the
|
|
2319
|
+
same chain .ui-grid uses for its columns. */
|
|
2320
|
+
.ui-metadata-stripe {
|
|
2321
|
+
background-color: var(--ui-stripe-base, transparent);
|
|
2322
|
+
}
|
|
2323
|
+
@media (min-width: 40rem) {
|
|
2324
|
+
.ui-metadata-stripe {
|
|
2325
|
+
background-color: var(--ui-stripe-sm, var(--ui-stripe-base, transparent));
|
|
2326
|
+
}}
|
|
2327
|
+
@media (min-width: 48rem) {
|
|
2328
|
+
.ui-metadata-stripe {
|
|
2329
|
+
background-color: var(
|
|
2330
|
+
--ui-stripe-md,
|
|
2331
|
+
var(--ui-stripe-sm, var(--ui-stripe-base, transparent))
|
|
2332
|
+
);
|
|
2333
|
+
}}
|
|
2334
|
+
@media (min-width: 64rem) {
|
|
2335
|
+
.ui-metadata-stripe {
|
|
2336
|
+
background-color: var(
|
|
2337
|
+
--ui-stripe-lg,
|
|
2338
|
+
var(
|
|
2339
|
+
--ui-stripe-md,
|
|
2340
|
+
var(--ui-stripe-sm, var(--ui-stripe-base, transparent))
|
|
2341
|
+
)
|
|
2342
|
+
);
|
|
2343
|
+
}}
|
|
2344
|
+
@media (min-width: 80rem) {
|
|
2345
|
+
.ui-metadata-stripe {
|
|
2346
|
+
background-color: var(
|
|
2347
|
+
--ui-stripe-xl,
|
|
2348
|
+
var(
|
|
2349
|
+
--ui-stripe-lg,
|
|
2350
|
+
var(
|
|
2351
|
+
--ui-stripe-md,
|
|
2352
|
+
var(--ui-stripe-sm, var(--ui-stripe-base, transparent))
|
|
2353
|
+
)
|
|
2354
|
+
)
|
|
2355
|
+
);
|
|
2356
|
+
}}
|
|
2357
|
+
|
|
2358
|
+
.ui-table-wrap {
|
|
2359
|
+
overflow-x: auto;
|
|
2360
|
+
border: var(--ui-border-width, 1px) solid var(--border);
|
|
2361
|
+
border-radius: var(--ui-radius-md);
|
|
2362
|
+
background-color: var(--bg-table, transparent);
|
|
2363
|
+
}
|
|
2364
|
+
.ui-table {
|
|
2365
|
+
width: 100%;
|
|
2366
|
+
border-collapse: collapse;
|
|
2367
|
+
font-size: inherit;
|
|
2368
|
+
}
|
|
2369
|
+
.ui-table-head {
|
|
2370
|
+
border-bottom: var(--ui-border-width, 1px) solid var(--border);
|
|
2371
|
+
background-color: var(--bg-table-header, var(--bg-secondary));
|
|
2372
|
+
}
|
|
2373
|
+
.ui-table-header-cell {
|
|
2374
|
+
color: var(--text-table-header, var(--text-tertiary));
|
|
2375
|
+
font-family: var(--font-label);
|
|
2376
|
+
font-size: var(--text-2xs);
|
|
2377
|
+
font-weight: 600;
|
|
2378
|
+
letter-spacing: var(--ui-tracking);
|
|
2379
|
+
text-transform: uppercase;
|
|
2380
|
+
}
|
|
2381
|
+
.ui-table-sort-button {
|
|
2382
|
+
display: inline-flex;
|
|
2383
|
+
align-items: center;
|
|
2384
|
+
gap: calc(var(--spacing) * 1);
|
|
2385
|
+
padding: 0;
|
|
2386
|
+
border: 0;
|
|
2387
|
+
background: none;
|
|
2388
|
+
color: inherit;
|
|
2389
|
+
font: inherit;
|
|
2390
|
+
letter-spacing: inherit;
|
|
2391
|
+
text-align: inherit;
|
|
2392
|
+
text-transform: inherit;
|
|
2393
|
+
cursor: pointer;
|
|
2394
|
+
}
|
|
2395
|
+
.ui-table-sort-button:focus-visible {
|
|
2396
|
+
outline: 2px solid var(--accent);
|
|
2397
|
+
outline-offset: 2px;
|
|
2398
|
+
}
|
|
2399
|
+
.ui-table-sort-indicator {
|
|
2400
|
+
display: inline-flex;
|
|
2401
|
+
width: 0.75rem;
|
|
2402
|
+
height: 0.75rem;
|
|
2403
|
+
}
|
|
2404
|
+
.ui-table-sort-indicator svg {
|
|
2405
|
+
width: 100%;
|
|
2406
|
+
height: 100%;
|
|
2407
|
+
}
|
|
2408
|
+
.ui-table-header-cell,
|
|
2409
|
+
.ui-table-cell {
|
|
2410
|
+
padding-inline: var(--ui-table-cell-padding-x, calc(var(--spacing) * 3));
|
|
2411
|
+
padding-block: var(--ui-table-cell-padding-y, calc(var(--spacing) * 2));
|
|
2412
|
+
text-align: left;
|
|
2413
|
+
}
|
|
2414
|
+
.ui-table-cell {
|
|
2415
|
+
color: var(--text-primary);
|
|
2416
|
+
}
|
|
2417
|
+
.ui-table-body > tr + tr {
|
|
2418
|
+
border-top: var(--ui-border-width, 1px) solid var(--border);
|
|
2419
|
+
}
|
|
2420
|
+
.ui-table-row {
|
|
2421
|
+
transition: none;
|
|
2422
|
+
}
|
|
2423
|
+
/* Selected rows keep their tint on hover; touch devices never get a
|
|
2424
|
+
sticky hover tint after a tap. */
|
|
2425
|
+
@media (hover: hover) {
|
|
2426
|
+
.ui-table-body
|
|
2427
|
+
> .ui-table-row:not([data-selected]):not([aria-selected="true"]):hover {
|
|
2428
|
+
background-color: var(--bg-hover);
|
|
2429
|
+
}}
|
|
2430
|
+
.ui-table-row[aria-selected="true"],
|
|
2431
|
+
.ui-table-row[data-selected] {
|
|
2432
|
+
background-color: var(--accent-muted);
|
|
2433
|
+
}
|
|
2434
|
+
.ui-table-interactive {
|
|
2435
|
+
cursor: pointer;
|
|
2436
|
+
}
|
|
2437
|
+
.ui-table-numeric {
|
|
2438
|
+
text-align: right;
|
|
2439
|
+
font-variant-numeric: tabular-nums;
|
|
2440
|
+
}
|
|
2441
|
+
.ui-table-nowrap {
|
|
2442
|
+
white-space: nowrap;
|
|
2443
|
+
}
|
|
2444
|
+
/* Stick the whole thead so multi-row headers stay together; the divider is
|
|
2445
|
+
a shadow because a collapsed border would scroll away. */
|
|
2446
|
+
.ui-table-sticky > thead {
|
|
2447
|
+
position: sticky;
|
|
2448
|
+
top: 0;
|
|
2449
|
+
z-index: 1;
|
|
2450
|
+
box-shadow: inset 0 calc(-1 * var(--ui-border-width, 1px)) var(--border);
|
|
2451
|
+
}
|
|
2452
|
+
.ui-table-empty-cell {
|
|
2453
|
+
padding: calc(var(--spacing) * 8) calc(var(--spacing) * 3);
|
|
2454
|
+
text-align: left;
|
|
2455
|
+
color: var(--text-tertiary);
|
|
2456
|
+
}
|
|
2457
|
+
@media (min-width: 40rem) {
|
|
2458
|
+
.ui-table-empty-cell {
|
|
2459
|
+
text-align: center;
|
|
2460
|
+
}}
|
|
2461
|
+
.ui-table-empty-row {
|
|
2462
|
+
transition: none;
|
|
2463
|
+
}}
|
|
2464
|
+
|
|
2465
|
+
/* AudioPlayer: native-style controls with a transparent seek input. */
|
|
2466
|
+
/* Local reset: a consumer without Tailwind's preflight still gets correct controls. */
|
|
2467
|
+
:where(.ui-audio, .ui-audio *, .ui-audio *::before, .ui-audio *::after) {
|
|
2468
|
+
box-sizing: border-box;
|
|
2469
|
+
}
|
|
2470
|
+
:where(.ui-audio button, .ui-audio select, .ui-audio input) {
|
|
2471
|
+
font: inherit;
|
|
2472
|
+
color: inherit;
|
|
2473
|
+
margin: 0;
|
|
2474
|
+
}
|
|
2475
|
+
:where(.ui-audio button) {
|
|
2476
|
+
border: 0;
|
|
2477
|
+
background: none;
|
|
2478
|
+
padding: 0;
|
|
2479
|
+
}
|
|
2480
|
+
:where(.ui-audio p) {
|
|
2481
|
+
margin: 0;
|
|
2482
|
+
}
|
|
2483
|
+
|
|
2484
|
+
.ui-audio {
|
|
2485
|
+
display: flex;
|
|
2486
|
+
flex-direction: column;
|
|
2487
|
+
gap: 8px;
|
|
2488
|
+
}
|
|
2489
|
+
.ui-audio-row {
|
|
2490
|
+
display: flex;
|
|
2491
|
+
align-items: center;
|
|
2492
|
+
}
|
|
2493
|
+
.ui-audio-card {
|
|
2494
|
+
padding: 0.75rem;
|
|
2495
|
+
border: 1px solid var(--border);
|
|
2496
|
+
border-radius: var(--ui-radius-md);
|
|
2497
|
+
background: var(--bg-secondary);
|
|
2498
|
+
}
|
|
2499
|
+
.ui-audio-title {
|
|
2500
|
+
font-size: 0.8125rem;
|
|
2501
|
+
font-weight: 500;
|
|
2502
|
+
color: var(--text-primary);
|
|
2503
|
+
}
|
|
2504
|
+
.ui-audio audio {
|
|
2505
|
+
display: none;
|
|
2506
|
+
}
|
|
2507
|
+
|
|
2508
|
+
/* Progress: drawn track, fill and thumb under a transparent native range */
|
|
2509
|
+
.ui-audio-progress {
|
|
2510
|
+
flex: 1 1 0%;
|
|
2511
|
+
min-width: 0;
|
|
2512
|
+
}
|
|
2513
|
+
.ui-audio-track {
|
|
2514
|
+
position: relative;
|
|
2515
|
+
height: 4px;
|
|
2516
|
+
border-radius: 9999px;
|
|
2517
|
+
background: var(--ui-audio-rest);
|
|
2518
|
+
}
|
|
2519
|
+
.ui-audio-track:has(.ui-audio-seek:focus-visible) {
|
|
2520
|
+
outline: 2px solid var(--accent);
|
|
2521
|
+
outline-offset: 2px;
|
|
2522
|
+
}
|
|
2523
|
+
.ui-audio-fill,
|
|
2524
|
+
.ui-audio-thumb {
|
|
2525
|
+
position: absolute;
|
|
2526
|
+
pointer-events: none;
|
|
2527
|
+
background: var(--ui-audio-fill);
|
|
2528
|
+
}
|
|
2529
|
+
.ui-audio-fill {
|
|
2530
|
+
top: 0;
|
|
2531
|
+
left: 0;
|
|
2532
|
+
height: 100%;
|
|
2533
|
+
border-radius: 9999px;
|
|
2534
|
+
transition: none;
|
|
2535
|
+
}
|
|
2536
|
+
.ui-audio-thumb {
|
|
2537
|
+
top: 50%;
|
|
2538
|
+
width: var(--ui-audio-thumb);
|
|
2539
|
+
height: var(--ui-audio-thumb);
|
|
2540
|
+
border-radius: 9999px;
|
|
2541
|
+
transform: translateY(-50%);
|
|
2542
|
+
opacity: 0;
|
|
2543
|
+
transition: opacity 100ms;
|
|
2544
|
+
}
|
|
2545
|
+
.ui-audio-track:hover .ui-audio-seek:not(:disabled) ~ .ui-audio-thumb,
|
|
2546
|
+
.ui-audio-seek:is(:focus-visible, :active):not(:disabled) ~ .ui-audio-thumb {
|
|
2547
|
+
opacity: 1;
|
|
2548
|
+
}
|
|
2549
|
+
.ui-audio-seek {
|
|
2550
|
+
position: absolute;
|
|
2551
|
+
z-index: 1;
|
|
2552
|
+
top: -0.5rem;
|
|
2553
|
+
left: calc(var(--ui-audio-thumb) / -2);
|
|
2554
|
+
width: calc(100% + var(--ui-audio-thumb));
|
|
2555
|
+
height: 1.5rem;
|
|
2556
|
+
margin: 0;
|
|
2557
|
+
padding: 0;
|
|
2558
|
+
border: 0;
|
|
2559
|
+
appearance: none;
|
|
2560
|
+
background: transparent;
|
|
2561
|
+
cursor: pointer;
|
|
2562
|
+
opacity: 0;
|
|
2563
|
+
}
|
|
2564
|
+
.ui-audio-seek::-webkit-slider-thumb {
|
|
2565
|
+
width: var(--ui-audio-thumb);
|
|
2566
|
+
height: var(--ui-audio-thumb);
|
|
2567
|
+
appearance: none;
|
|
2568
|
+
}
|
|
2569
|
+
.ui-audio-seek::-moz-range-thumb {
|
|
2570
|
+
width: var(--ui-audio-thumb);
|
|
2571
|
+
height: var(--ui-audio-thumb);
|
|
2572
|
+
border: 0;
|
|
2573
|
+
}
|
|
2574
|
+
.ui-audio-seek:focus-visible {
|
|
2575
|
+
outline: none;
|
|
2576
|
+
}
|
|
2577
|
+
.ui-audio-seek:disabled {
|
|
2578
|
+
cursor: not-allowed;
|
|
2579
|
+
}
|
|
2580
|
+
|
|
2581
|
+
.ui-audio-play,
|
|
2582
|
+
.ui-audio-icon-btn {
|
|
2583
|
+
display: inline-flex;
|
|
2584
|
+
flex-shrink: 0;
|
|
2585
|
+
align-items: center;
|
|
2586
|
+
justify-content: center;
|
|
2587
|
+
cursor: pointer;
|
|
2588
|
+
text-decoration: none;
|
|
2589
|
+
}
|
|
2590
|
+
.ui-audio-icon-btn:disabled {
|
|
2591
|
+
cursor: not-allowed;
|
|
2592
|
+
opacity: 0.5;
|
|
2593
|
+
}
|
|
2594
|
+
.ui-audio-play:disabled {
|
|
2595
|
+
cursor: not-allowed;
|
|
2596
|
+
}
|
|
2597
|
+
.ui-audio-select {
|
|
2598
|
+
flex-shrink: 0;
|
|
2599
|
+
}
|
|
2600
|
+
.ui-audio-select select {
|
|
2601
|
+
cursor: pointer;
|
|
2602
|
+
font-family: inherit;
|
|
2603
|
+
}
|
|
2604
|
+
.ui-audio-select select:disabled {
|
|
2605
|
+
cursor: not-allowed;
|
|
2606
|
+
opacity: 0.4;
|
|
2607
|
+
}
|
|
2608
|
+
.ui-audio-icon-btn:focus-visible,
|
|
2609
|
+
.ui-audio-play:focus-visible,
|
|
2610
|
+
.ui-audio-select select:focus-visible,
|
|
2611
|
+
.ui-audio-volume-slider:focus-visible {
|
|
2612
|
+
outline: 2px solid var(--accent);
|
|
2613
|
+
outline-offset: 2px;
|
|
2614
|
+
}
|
|
2615
|
+
.ui-audio-mute {
|
|
2616
|
+
display: inline-flex;
|
|
2617
|
+
flex-shrink: 0;
|
|
2618
|
+
}
|
|
2619
|
+
/* States */
|
|
2620
|
+
.ui-audio-status {
|
|
2621
|
+
display: flex;
|
|
2622
|
+
align-items: center;
|
|
2623
|
+
gap: 0.5rem;
|
|
2624
|
+
font-size: 0.75rem;
|
|
2625
|
+
color: var(--text-secondary);
|
|
2626
|
+
}
|
|
2627
|
+
.ui-audio-spinner {
|
|
2628
|
+
width: 0.875rem;
|
|
2629
|
+
height: 0.875rem;
|
|
2630
|
+
border-radius: 9999px;
|
|
2631
|
+
border: 2px solid var(--border-strong);
|
|
2632
|
+
border-top-color: var(--accent);
|
|
2633
|
+
animation: ui-audio-spin 1s linear infinite;
|
|
2634
|
+
}
|
|
2635
|
+
.ui-audio-error {
|
|
2636
|
+
padding: 1rem;
|
|
2637
|
+
text-align: center;
|
|
2638
|
+
font-size: 0.875rem;
|
|
2639
|
+
line-height: 1.25rem;
|
|
2640
|
+
color: var(--red);
|
|
2641
|
+
background: var(--red-muted);
|
|
2642
|
+
border: 1px solid var(--red);
|
|
2643
|
+
border-radius: var(--ui-radius-lg);
|
|
2644
|
+
}
|
|
2645
|
+
@keyframes ui-audio-spin {
|
|
2646
|
+
to {
|
|
2647
|
+
transform: rotate(360deg);
|
|
2648
|
+
}
|
|
2649
|
+
}
|
|
2650
|
+
.ui-audio-clock {
|
|
2651
|
+
flex-shrink: 0;
|
|
2652
|
+
white-space: nowrap;
|
|
2653
|
+
font-variant-numeric: tabular-nums;
|
|
2654
|
+
}
|
|
2655
|
+
.ui-audio-pill {
|
|
2656
|
+
--ui-audio-thumb: 12px;
|
|
2657
|
+
--ui-audio-bg: light-dark(#f1f3f4, #38393a);
|
|
2658
|
+
--ui-audio-fg: light-dark(#000, #fff);
|
|
2659
|
+
--ui-audio-fill: light-dark(#0b0b0b, #f5f5f5);
|
|
2660
|
+
--ui-audio-rest: light-dark(#585959, #b5b6b6);
|
|
2661
|
+
--ui-audio-hover: light-dark(rgb(0 0 0 / 0.1), rgb(255 255 255 / 0.15));
|
|
2662
|
+
gap: 8px;
|
|
2663
|
+
}
|
|
2664
|
+
.ui-audio-pill .ui-audio-row {
|
|
2665
|
+
flex-wrap: nowrap;
|
|
2666
|
+
gap: 0;
|
|
2667
|
+
height: var(--ui-audio-height, 54px);
|
|
2668
|
+
padding: 0 11px 0 9.5px;
|
|
2669
|
+
border-radius: 9999px;
|
|
2670
|
+
background: var(--ui-audio-bg);
|
|
2671
|
+
color: var(--ui-audio-fg);
|
|
2672
|
+
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
2673
|
+
}
|
|
2674
|
+
.ui-audio-pill .ui-audio-clock {
|
|
2675
|
+
font-size: 14px;
|
|
2676
|
+
line-height: 16px;
|
|
2677
|
+
color: var(--ui-audio-fg);
|
|
2678
|
+
font-variant-numeric: normal;
|
|
2679
|
+
margin-left: 5px;
|
|
2680
|
+
}
|
|
2681
|
+
.ui-audio-pill .ui-audio-clock + .ui-audio-clock {
|
|
2682
|
+
margin-left: 0;
|
|
2683
|
+
}
|
|
2684
|
+
.ui-audio-pill .ui-audio-progress {
|
|
2685
|
+
min-width: 0;
|
|
2686
|
+
margin: 0 16px 0 16px;
|
|
2687
|
+
}
|
|
2688
|
+
.ui-audio-pill .ui-audio-track {
|
|
2689
|
+
height: 4px;
|
|
2690
|
+
border-radius: 2px;
|
|
2691
|
+
background: var(--ui-audio-rest);
|
|
2692
|
+
}
|
|
2693
|
+
.ui-audio-pill .ui-audio-fill {
|
|
2694
|
+
border-radius: 2px;
|
|
2695
|
+
background: var(--ui-audio-fill);
|
|
2696
|
+
transition: none;
|
|
2697
|
+
}
|
|
2698
|
+
.ui-audio-pill .ui-audio-thumb {
|
|
2699
|
+
background: var(--ui-audio-fill);
|
|
2700
|
+
transition: none;
|
|
2701
|
+
}
|
|
2702
|
+
.ui-audio-pill .ui-audio-play,
|
|
2703
|
+
.ui-audio-pill .ui-audio-icon-btn,
|
|
2704
|
+
.ui-audio-pill .ui-audio-select select {
|
|
2705
|
+
width: 32px;
|
|
2706
|
+
height: 32px;
|
|
2707
|
+
border-radius: 9999px;
|
|
2708
|
+
background: transparent;
|
|
2709
|
+
color: var(--ui-audio-fg);
|
|
2710
|
+
}
|
|
2711
|
+
.ui-audio-pill .ui-audio-play:hover:not(:disabled),
|
|
2712
|
+
.ui-audio-pill .ui-audio-icon-btn:hover:not(:disabled),
|
|
2713
|
+
.ui-audio-pill .ui-audio-select select:hover:not(:disabled) {
|
|
2714
|
+
background: var(--ui-audio-hover);
|
|
2715
|
+
}
|
|
2716
|
+
.ui-audio-pill .ui-audio-play:disabled {
|
|
2717
|
+
background: transparent;
|
|
2718
|
+
opacity: 0.4;
|
|
2719
|
+
}
|
|
2720
|
+
.ui-audio-pill .ui-audio-icon-btn {
|
|
2721
|
+
color: var(--ui-audio-fg);
|
|
2722
|
+
}
|
|
2723
|
+
.ui-audio-pill .ui-audio-select select {
|
|
2724
|
+
appearance: none;
|
|
2725
|
+
width: 32px;
|
|
2726
|
+
padding: 0;
|
|
2727
|
+
border: 0;
|
|
2728
|
+
text-align: center;
|
|
2729
|
+
text-align-last: center;
|
|
2730
|
+
font-size: 12px;
|
|
2731
|
+
letter-spacing: -0.02em;
|
|
2732
|
+
font-family: inherit;
|
|
2733
|
+
line-height: 32px;
|
|
2734
|
+
}
|
|
2735
|
+
|
|
2736
|
+
.ui-audio-glass {
|
|
2737
|
+
--ui-audio-thumb: 9px;
|
|
2738
|
+
--ui-audio-fg: #fff;
|
|
2739
|
+
--ui-audio-hover: rgb(255 255 255 / 0.18);
|
|
2740
|
+
gap: 8px;
|
|
2741
|
+
}
|
|
2742
|
+
.ui-audio-glass .ui-audio-row {
|
|
2743
|
+
flex-wrap: nowrap;
|
|
2744
|
+
gap: 16px;
|
|
2745
|
+
height: var(--ui-audio-height, 31px);
|
|
2746
|
+
padding: 0 16px 0 15.5px;
|
|
2747
|
+
border-radius: 6px;
|
|
2748
|
+
/* Darker in light schemes so white text keeps about 6:1 contrast. */
|
|
2749
|
+
background: light-dark(rgb(0 0 0 / 0.62), rgb(0 0 0 / 0.4));
|
|
2750
|
+
color: var(--ui-audio-fg);
|
|
2751
|
+
font-family:
|
|
2752
|
+
system-ui,
|
|
2753
|
+
-apple-system,
|
|
2754
|
+
"Helvetica Neue",
|
|
2755
|
+
Arial,
|
|
2756
|
+
sans-serif;
|
|
2757
|
+
}
|
|
2758
|
+
.ui-audio-glass .ui-audio-clock {
|
|
2759
|
+
font-size: 13px;
|
|
2760
|
+
line-height: 16px;
|
|
2761
|
+
font-weight: 500;
|
|
2762
|
+
letter-spacing: -0.6px;
|
|
2763
|
+
color: var(--ui-audio-fg);
|
|
2764
|
+
}
|
|
2765
|
+
|
|
2766
|
+
.ui-audio-glass .ui-audio-skip,
|
|
2767
|
+
.ui-audio-glass .ui-audio-play {
|
|
2768
|
+
margin: 0 -2.6px;
|
|
2769
|
+
}
|
|
2770
|
+
.ui-audio-glass
|
|
2771
|
+
.ui-audio-icon-btn:not(.ui-audio-skip)
|
|
2772
|
+
svg[viewBox="0 0 22 16"] {
|
|
2773
|
+
margin: 0 -2px;
|
|
2774
|
+
}
|
|
2775
|
+
.ui-audio-glass .ui-audio-select {
|
|
2776
|
+
margin: 0 -7px;
|
|
2777
|
+
}
|
|
2778
|
+
.ui-audio-glass .ui-audio-progress {
|
|
2779
|
+
min-width: 0;
|
|
2780
|
+
}
|
|
2781
|
+
.ui-audio-glass .ui-audio-clock + .ui-audio-progress {
|
|
2782
|
+
margin-left: -10px;
|
|
2783
|
+
}
|
|
2784
|
+
.ui-audio-glass .ui-audio-progress + .ui-audio-clock {
|
|
2785
|
+
margin-left: -10px;
|
|
2786
|
+
}
|
|
2787
|
+
.ui-audio-glass .ui-audio-track {
|
|
2788
|
+
height: 4.5px;
|
|
2789
|
+
border-radius: 3px;
|
|
2790
|
+
background: rgb(255 255 255 / 0.1);
|
|
2791
|
+
}
|
|
2792
|
+
.ui-audio-glass .ui-audio-fill {
|
|
2793
|
+
border-radius: 3px;
|
|
2794
|
+
background: rgb(255 255 255 / 0.42);
|
|
2795
|
+
transition: none;
|
|
2796
|
+
}
|
|
2797
|
+
.ui-audio-glass .ui-audio-thumb {
|
|
2798
|
+
background: #fff;
|
|
2799
|
+
opacity: 1;
|
|
2800
|
+
transition: none;
|
|
2801
|
+
}
|
|
2802
|
+
.ui-audio-glass .ui-audio-play,
|
|
2803
|
+
.ui-audio-glass .ui-audio-icon-btn,
|
|
2804
|
+
.ui-audio-glass .ui-audio-select select {
|
|
2805
|
+
width: auto;
|
|
2806
|
+
height: auto;
|
|
2807
|
+
min-width: 0;
|
|
2808
|
+
padding: 0;
|
|
2809
|
+
border-radius: 3px;
|
|
2810
|
+
background: transparent;
|
|
2811
|
+
color: var(--ui-audio-fg);
|
|
2812
|
+
display: inline-flex;
|
|
2813
|
+
align-items: center;
|
|
2814
|
+
justify-content: center;
|
|
2815
|
+
}
|
|
2816
|
+
.ui-audio-glass .ui-audio-play:hover:not(:disabled),
|
|
2817
|
+
.ui-audio-glass .ui-audio-icon-btn:hover:not(:disabled),
|
|
2818
|
+
.ui-audio-glass .ui-audio-select select:hover:not(:disabled) {
|
|
2819
|
+
background: transparent;
|
|
2820
|
+
opacity: 0.7;
|
|
2821
|
+
}
|
|
2822
|
+
.ui-audio-glass .ui-audio-play:disabled {
|
|
2823
|
+
background: transparent;
|
|
2824
|
+
opacity: 0.4;
|
|
2825
|
+
}
|
|
2826
|
+
.ui-audio-glass .ui-audio-icon-btn {
|
|
2827
|
+
color: var(--ui-audio-fg);
|
|
2828
|
+
}
|
|
2829
|
+
.ui-audio-glass .ui-audio-select select {
|
|
2830
|
+
appearance: none;
|
|
2831
|
+
border: 0;
|
|
2832
|
+
width: 30px;
|
|
2833
|
+
font-size: 12px;
|
|
2834
|
+
letter-spacing: -0.02em;
|
|
2835
|
+
font-weight: 500;
|
|
2836
|
+
font-family: inherit;
|
|
2837
|
+
text-align: center;
|
|
2838
|
+
text-align-last: center;
|
|
2839
|
+
}
|
|
2840
|
+
|
|
2841
|
+
.ui-audio-pill .ui-audio-track:has(.ui-audio-seek:focus-visible),
|
|
2842
|
+
.ui-audio-glass .ui-audio-track:has(.ui-audio-seek:focus-visible) {
|
|
2843
|
+
outline-offset: 3px;
|
|
2844
|
+
}
|
|
2845
|
+
.ui-audio-pill .ui-audio-select option,
|
|
2846
|
+
.ui-audio-glass .ui-audio-select option {
|
|
2847
|
+
color: initial;
|
|
2848
|
+
}
|
|
2849
|
+
|
|
2850
|
+
/* Collapsed rather than hidden so Tab can reach the native volume slider. */
|
|
2851
|
+
.ui-audio-volume {
|
|
2852
|
+
display: inline-flex;
|
|
2853
|
+
align-items: center;
|
|
2854
|
+
flex-shrink: 0;
|
|
2855
|
+
color: var(--ui-audio-fg);
|
|
2856
|
+
}
|
|
2857
|
+
.ui-audio-volume-popup {
|
|
2858
|
+
width: 0;
|
|
2859
|
+
overflow: hidden;
|
|
2860
|
+
display: flex;
|
|
2861
|
+
align-items: center;
|
|
2862
|
+
transition: width 100ms;
|
|
2863
|
+
}
|
|
2864
|
+
.ui-audio-volume:hover .ui-audio-volume-popup,
|
|
2865
|
+
.ui-audio-volume:focus-within .ui-audio-volume-popup {
|
|
2866
|
+
width: 72px;
|
|
2867
|
+
}
|
|
2868
|
+
.ui-audio-volume-slider {
|
|
2869
|
+
appearance: none;
|
|
2870
|
+
flex-shrink: 0;
|
|
2871
|
+
width: 60px;
|
|
2872
|
+
height: 4px;
|
|
2873
|
+
margin: 6px;
|
|
2874
|
+
padding: 0;
|
|
2875
|
+
border: 0;
|
|
2876
|
+
border-radius: 2px;
|
|
2877
|
+
background: var(--ui-audio-fg);
|
|
2878
|
+
cursor: pointer;
|
|
2879
|
+
}
|
|
2880
|
+
.ui-audio-volume-slider::-webkit-slider-thumb {
|
|
2881
|
+
appearance: none;
|
|
2882
|
+
width: 9px;
|
|
2883
|
+
height: 9px;
|
|
2884
|
+
border: 0;
|
|
2885
|
+
border-radius: 50%;
|
|
2886
|
+
background: var(--ui-audio-fg);
|
|
2887
|
+
}
|
|
2888
|
+
.ui-audio-volume-slider::-moz-range-thumb {
|
|
2889
|
+
width: 9px;
|
|
2890
|
+
height: 9px;
|
|
2891
|
+
border: 0;
|
|
2892
|
+
border-radius: 50%;
|
|
2893
|
+
background: var(--ui-audio-fg);
|
|
2894
|
+
}
|
|
2895
|
+
@media (prefers-reduced-motion: reduce) {
|
|
2896
|
+
.ui-audio-fill,
|
|
2897
|
+
.ui-audio-thumb,
|
|
2898
|
+
.ui-audio-play,
|
|
2899
|
+
.ui-audio-icon-btn,
|
|
2900
|
+
.ui-audio-spinner,
|
|
2901
|
+
.ui-audio-volume-popup {
|
|
2902
|
+
transition: none;
|
|
2903
|
+
animation: none;
|
|
2904
|
+
}}
|
|
2905
|
+
|
|
2906
|
+
/* Text toggles use an accent tint and ring; icon toggles use a neutral
|
|
2907
|
+
surface so caller-supplied icon colors remain intact. */
|
|
2908
|
+
button.ui-sized-control:is(
|
|
2909
|
+
[data-variant="secondary"],
|
|
2910
|
+
[data-variant="ghost"]
|
|
2911
|
+
)[aria-pressed="true"] {
|
|
2912
|
+
background-color: var(--accent-muted);
|
|
2913
|
+
border-color: var(--accent);
|
|
2914
|
+
box-shadow: inset 0 0 0 1px var(--accent);
|
|
2915
|
+
}
|
|
2916
|
+
button.ui-sized-control[data-variant="icon"][aria-pressed="true"] {
|
|
2917
|
+
background-color: var(--bg-hover);
|
|
2918
|
+
}
|
|
2919
|
+
/* Primary darkens its fill's edge rather than ringing it in the label colour,
|
|
2920
|
+
which drew a white border wherever the on-accent label is white. */
|
|
2921
|
+
button[data-pressed="true"][data-variant="primary"] {
|
|
2922
|
+
box-shadow: inset 0 0 0 2px rgb(0 0 0 / 0.25);
|
|
2923
|
+
}
|
|
2924
|
+
button[data-pressed="true"][data-variant="danger"] {
|
|
2925
|
+
box-shadow: inset 0 0 0 2px currentColor;
|
|
2926
|
+
}
|
|
2927
|
+
button[data-pressed="true"][data-variant="link"] {
|
|
2928
|
+
text-decoration: underline;
|
|
2929
|
+
text-underline-offset: 2px;
|
|
2930
|
+
}
|
|
2931
|
+
button[data-variant="link"]:disabled:hover {
|
|
2932
|
+
text-decoration: none;
|
|
2933
|
+
}
|