@sypnia/ui 0.0.0-stage → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +95 -2
- package/astro/ActionCard.astro +17 -0
- package/astro/ActionCardSkeleton.astro +10 -0
- package/astro/Actions.astro +6 -0
- package/astro/AgentInstall.astro +13 -0
- package/astro/Alert.astro +20 -0
- package/astro/Announcement.astro +7 -0
- package/astro/ApiReference.astro +29 -0
- package/astro/ArticleHead.astro +24 -0
- package/astro/Aside.astro +17 -0
- package/astro/AspectRatio.astro +7 -0
- package/astro/AuthLayout.astro +31 -0
- package/astro/AuthLayoutSkeleton.astro +19 -0
- package/astro/Avatar.astro +7 -0
- package/astro/AvatarGroup.astro +16 -0
- package/astro/AvatarGroupSkeleton.astro +7 -0
- package/astro/AvatarSkeleton.astro +6 -0
- package/astro/Badge.astro +8 -0
- package/astro/BadgeSkeleton.astro +6 -0
- package/astro/Banner.astro +6 -0
- package/astro/Button.astro +26 -0
- package/astro/ButtonGroup.astro +6 -0
- package/astro/CallToAction.astro +10 -0
- package/astro/Callout.astro +13 -0
- package/astro/CalloutSkeleton.astro +10 -0
- package/astro/Card.astro +11 -0
- package/astro/CardGrid.astro +9 -0
- package/astro/CardGridSkeleton.astro +7 -0
- package/astro/CardSkeleton.astro +11 -0
- package/astro/Cards.astro +16 -0
- package/astro/CardsSkeleton.astro +5 -0
- package/astro/CaseMap.astro +72 -0
- package/astro/Center.astro +7 -0
- package/astro/Changelog.astro +23 -0
- package/astro/Character.astro +7 -0
- package/astro/Checklist.astro +27 -0
- package/astro/ChecklistSkeleton.astro +10 -0
- package/astro/Chip.astro +10 -0
- package/astro/ChipSkeleton.astro +4 -0
- package/astro/Cli.astro +10 -0
- package/astro/CodeBlock.astro +20 -0
- package/astro/CodeBlockSkeleton.astro +9 -0
- package/astro/CodeTabs.astro +31 -0
- package/astro/Columns.astro +7 -0
- package/astro/Compare.astro +16 -0
- package/astro/CompareTable.astro +29 -0
- package/astro/CompareTableSkeleton.astro +12 -0
- package/astro/Container.astro +6 -0
- package/astro/CopyButton.astro +15 -0
- package/astro/Count.astro +9 -0
- package/astro/CountSkeleton.astro +4 -0
- package/astro/Delta.astro +20 -0
- package/astro/DeltaSkeleton.astro +4 -0
- package/astro/DescriptionList.astro +8 -0
- package/astro/DescriptionListSkeleton.astro +7 -0
- package/astro/Divider.astro +6 -0
- package/astro/DocsArticleSkeleton.astro +25 -0
- package/astro/DocsHead.astro +78 -0
- package/astro/DocsHeader.astro +45 -0
- package/astro/DocsHero.astro +13 -0
- package/astro/DocsShell.astro +103 -0
- package/astro/EditLink.astro +9 -0
- package/astro/EmptyState.astro +14 -0
- package/astro/Endpoint.astro +21 -0
- package/astro/ErrorItem.astro +5 -0
- package/astro/ErrorList.astro +8 -0
- package/astro/Expected.astro +8 -0
- package/astro/Faq.astro +11 -0
- package/astro/FeatureGrid.astro +11 -0
- package/astro/FeatureGridSkeleton.astro +8 -0
- package/astro/FeatureList.astro +18 -0
- package/astro/FeatureListSkeleton.astro +7 -0
- package/astro/Figure.astro +17 -0
- package/astro/FigureSkeleton.astro +9 -0
- package/astro/Fireflies.astro +8 -0
- package/astro/Glossary.astro +8 -0
- package/astro/Grid.astro +7 -0
- package/astro/Heading.astro +7 -0
- package/astro/Hero.astro +21 -0
- package/astro/Icon.astro +17 -0
- package/astro/IconButton.astro +21 -0
- package/astro/Identity.astro +7 -0
- package/astro/IdentitySkeleton.astro +10 -0
- package/astro/Install.astro +7 -0
- package/astro/Kbd.astro +4 -0
- package/astro/KeyValue.astro +6 -0
- package/astro/KeyValueSkeleton.astro +7 -0
- package/astro/Ledger.astro +6 -0
- package/astro/Logo.astro +9 -0
- package/astro/Mark.astro +1 -0
- package/astro/McpTool.astro +13 -0
- package/astro/NewCard.astro +7 -0
- package/astro/Option.astro +6 -0
- package/astro/Options.astro +6 -0
- package/astro/PackageTabs.astro +12 -0
- package/astro/Page.astro +5 -0
- package/astro/PageFeedback.astro +20 -0
- package/astro/PageHeader.astro +14 -0
- package/astro/PageHeaderSkeleton.astro +12 -0
- package/astro/PageSkeleton.astro +19 -0
- package/astro/PaginationSkeleton.astro +17 -0
- package/astro/Panel.astro +11 -0
- package/astro/PanelSkeleton.astro +10 -0
- package/astro/Param.astro +15 -0
- package/astro/Params.astro +12 -0
- package/astro/ParamsSkeleton.astro +5 -0
- package/astro/Phone.astro +6 -0
- package/astro/PlanCard.astro +27 -0
- package/astro/PlanCardSkeleton.astro +13 -0
- package/astro/PrevNext.astro +15 -0
- package/astro/PricingTable.astro +41 -0
- package/astro/PricingTableSkeleton.astro +9 -0
- package/astro/ProductGrid.astro +10 -0
- package/astro/ProductMark.astro +10 -0
- package/astro/Progress.astro +12 -0
- package/astro/ProgressSkeleton.astro +9 -0
- package/astro/Prose.astro +7 -0
- package/astro/Quote.astro +10 -0
- package/astro/QuoteSkeleton.astro +10 -0
- package/astro/Releases.astro +6 -0
- package/astro/RequestExample.astro +8 -0
- package/astro/ResponseExample.astro +9 -0
- package/astro/Row.astro +7 -0
- package/astro/Says.astro +6 -0
- package/astro/ScrollArea.astro +7 -0
- package/astro/Search.astro +37 -0
- package/astro/SearchResult.astro +8 -0
- package/astro/SearchResultSkeleton.astro +5 -0
- package/astro/Section.astro +17 -0
- package/astro/SectionSkeleton.astro +9 -0
- package/astro/Setting.astro +19 -0
- package/astro/Show.astro +6 -0
- package/astro/SideNav.astro +65 -0
- package/astro/SideNavSkeleton.astro +13 -0
- package/astro/SiteFooter.astro +14 -0
- package/astro/SiteHeader.astro +28 -0
- package/astro/Skeleton.astro +8 -0
- package/astro/SkeletonText.astro +6 -0
- package/astro/Spacer.astro +7 -0
- package/astro/Split.astro +17 -0
- package/astro/Stack.astro +7 -0
- package/astro/Stage.astro +12 -0
- package/astro/Stat.astro +10 -0
- package/astro/StatGroup.astro +1 -0
- package/astro/StatGroupSkeleton.astro +7 -0
- package/astro/StatSkeleton.astro +10 -0
- package/astro/Status.astro +6 -0
- package/astro/StatusSkeleton.astro +4 -0
- package/astro/Step.astro +5 -0
- package/astro/Steps.astro +4 -0
- package/astro/Sticky.astro +7 -0
- package/astro/TableOfContents.astro +16 -0
- package/astro/TableOfContentsSkeleton.astro +5 -0
- package/astro/TableSkeleton.astro +16 -0
- package/astro/Tabs.astro +31 -0
- package/astro/TabsSkeleton.astro +6 -0
- package/astro/Term.astro +8 -0
- package/astro/Terms.astro +4 -0
- package/astro/Text.astro +6 -0
- package/astro/TextSkeleton.astro +9 -0
- package/astro/Toolbar.astro +7 -0
- package/astro/ToolbarGroup.astro +5 -0
- package/astro/ToolbarSeparator.astro +1 -0
- package/astro/ToolbarSkeleton.astro +6 -0
- package/astro/VersionBadge.astro +8 -0
- package/astro/_gap.ts +5 -0
- package/astro/_id.ts +3 -0
- package/astro/_locale.ts +9 -0
- package/css/base.css +92 -0
- package/css/components/actions.css +36 -0
- package/css/components/brand.css +28 -0
- package/css/components/button.css +84 -0
- package/css/components/charts-more.css +89 -0
- package/css/components/charts.css +83 -0
- package/css/components/code-editor.css +14 -0
- package/css/components/code.css +86 -0
- package/css/components/data-display.css +105 -0
- package/css/components/data-more.css +323 -0
- package/css/components/data-table.css +146 -0
- package/css/components/docs.css +466 -0
- package/css/components/feedback.css +103 -0
- package/css/components/field.css +92 -0
- package/css/components/fields-advanced.css +158 -0
- package/css/components/fields-more.css +93 -0
- package/css/components/floating.css +55 -0
- package/css/components/forms.css +109 -0
- package/css/components/layout.css +97 -0
- package/css/components/nav.css +107 -0
- package/css/components/navigation.css +133 -0
- package/css/components/overlay.css +112 -0
- package/css/components/primitives.css +15 -0
- package/css/components/screens.css +42 -0
- package/css/components/shell.css +118 -0
- package/css/components/site.css +114 -0
- package/css/components/status.css +81 -0
- package/css/components/surface.css +69 -0
- package/css/components/table.css +49 -0
- package/css/components/viz.css +117 -0
- package/css/fonts.css +8 -0
- package/css/index.css +35 -0
- package/css/tokens.css +409 -0
- package/dist/chunk-AXIJDECU.js +97 -0
- package/dist/chunk-P7RZ7TCP.js +108 -0
- package/dist/chunk-PGPCLRLZ.js +701 -0
- package/dist/chunk-UM27QNJ7.js +412 -0
- package/dist/dom/elements.d.ts +2 -0
- package/dist/dom/elements.js +558 -0
- package/dist/dom/index.d.ts +53 -0
- package/dist/dom/index.js +2 -0
- package/dist/i18n/index.d.ts +661 -0
- package/dist/i18n/index.js +1 -0
- package/dist/react/code-editor.d.ts +25 -0
- package/dist/react/code-editor.js +89 -0
- package/dist/react/index.d.ts +4461 -0
- package/dist/react/index.js +7807 -0
- package/dist/tokens/index.d.ts +64 -0
- package/dist/tokens/index.js +49 -0
- package/fonts/LICENSE-instrument-sans.txt +93 -0
- package/fonts/LICENSE-literata.txt +93 -0
- package/fonts/LICENSE-martian-mono.txt +93 -0
- package/fonts/instrument-sans.woff2 +0 -0
- package/fonts/literata-italic.woff2 +0 -0
- package/fonts/literata-roman.woff2 +0 -0
- package/fonts/martian-mono.woff2 +0 -0
- package/icons/sprite.svg +1 -0
- package/icons/svg/accessibility.svg +1 -0
- package/icons/svg/agent.svg +1 -0
- package/icons/svg/alert.svg +1 -0
- package/icons/svg/align-center.svg +1 -0
- package/icons/svg/align-left.svg +1 -0
- package/icons/svg/align-right.svg +1 -0
- package/icons/svg/api.svg +1 -0
- package/icons/svg/archive.svg +1 -0
- package/icons/svg/arrow-down-left.svg +1 -0
- package/icons/svg/arrow-down-right.svg +1 -0
- package/icons/svg/arrow-down.svg +1 -0
- package/icons/svg/arrow-left.svg +1 -0
- package/icons/svg/arrow-right.svg +1 -0
- package/icons/svg/arrow-up-left.svg +1 -0
- package/icons/svg/arrow-up-right.svg +1 -0
- package/icons/svg/arrow-up.svg +1 -0
- package/icons/svg/at.svg +1 -0
- package/icons/svg/audit.svg +1 -0
- package/icons/svg/award.svg +1 -0
- package/icons/svg/backend.svg +1 -0
- package/icons/svg/backup.svg +1 -0
- package/icons/svg/bag.svg +1 -0
- package/icons/svg/ban.svg +1 -0
- package/icons/svg/bank.svg +1 -0
- package/icons/svg/bell-off.svg +1 -0
- package/icons/svg/bell.svg +1 -0
- package/icons/svg/bold.svg +1 -0
- package/icons/svg/bolt.svg +1 -0
- package/icons/svg/book-open.svg +1 -0
- package/icons/svg/book.svg +1 -0
- package/icons/svg/bookmark.svg +1 -0
- package/icons/svg/box.svg +1 -0
- package/icons/svg/braces.svg +1 -0
- package/icons/svg/brackets.svg +1 -0
- package/icons/svg/browser.svg +1 -0
- package/icons/svg/brush.svg +1 -0
- package/icons/svg/bug.svg +1 -0
- package/icons/svg/calendar-check.svg +1 -0
- package/icons/svg/calendar-plus.svg +1 -0
- package/icons/svg/calendar.svg +1 -0
- package/icons/svg/camera.svg +1 -0
- package/icons/svg/cards.svg +1 -0
- package/icons/svg/cart.svg +1 -0
- package/icons/svg/certificate.svg +1 -0
- package/icons/svg/chart-area.svg +1 -0
- package/icons/svg/chart-bar.svg +1 -0
- package/icons/svg/chart-line.svg +1 -0
- package/icons/svg/chart-parts.svg +1 -0
- package/icons/svg/chart-scatter.svg +1 -0
- package/icons/svg/chat.svg +1 -0
- package/icons/svg/chats.svg +1 -0
- package/icons/svg/check-small.svg +1 -0
- package/icons/svg/check.svg +1 -0
- package/icons/svg/chevron-down.svg +1 -0
- package/icons/svg/chevron-left.svg +1 -0
- package/icons/svg/chevron-right.svg +1 -0
- package/icons/svg/chevron-up.svg +1 -0
- package/icons/svg/chevrons-down.svg +1 -0
- package/icons/svg/chevrons-left.svg +1 -0
- package/icons/svg/chevrons-right.svg +1 -0
- package/icons/svg/chevrons-up-down.svg +1 -0
- package/icons/svg/chevrons-up.svg +1 -0
- package/icons/svg/clipboard-check.svg +1 -0
- package/icons/svg/clipboard.svg +1 -0
- package/icons/svg/clock.svg +1 -0
- package/icons/svg/close-small.svg +1 -0
- package/icons/svg/close.svg +1 -0
- package/icons/svg/cloud-download.svg +1 -0
- package/icons/svg/cloud-off.svg +1 -0
- package/icons/svg/cloud-upload.svg +1 -0
- package/icons/svg/cloud.svg +1 -0
- package/icons/svg/code.svg +1 -0
- package/icons/svg/coins.svg +1 -0
- package/icons/svg/collapse.svg +1 -0
- package/icons/svg/columns.svg +1 -0
- package/icons/svg/comment.svg +1 -0
- package/icons/svg/commit.svg +1 -0
- package/icons/svg/compass.svg +1 -0
- package/icons/svg/contact.svg +1 -0
- package/icons/svg/container.svg +1 -0
- package/icons/svg/copy.svg +1 -0
- package/icons/svg/cpu.svg +1 -0
- package/icons/svg/credit-card.svg +1 -0
- package/icons/svg/cron.svg +1 -0
- package/icons/svg/crop.svg +1 -0
- package/icons/svg/crown.svg +1 -0
- package/icons/svg/csv.svg +1 -0
- package/icons/svg/cursor.svg +1 -0
- package/icons/svg/dark-mode.svg +1 -0
- package/icons/svg/dashboard.svg +1 -0
- package/icons/svg/data.svg +1 -0
- package/icons/svg/dead-click.svg +1 -0
- package/icons/svg/density.svg +1 -0
- package/icons/svg/deploy.svg +1 -0
- package/icons/svg/desktop.svg +1 -0
- package/icons/svg/disk.svg +1 -0
- package/icons/svg/dns.svg +1 -0
- package/icons/svg/dollar.svg +1 -0
- package/icons/svg/domain.svg +1 -0
- package/icons/svg/dot-off.svg +1 -0
- package/icons/svg/dot.svg +1 -0
- package/icons/svg/download.svg +1 -0
- package/icons/svg/duplicate.svg +1 -0
- package/icons/svg/edit.svg +1 -0
- package/icons/svg/engine.svg +1 -0
- package/icons/svg/enter.svg +1 -0
- package/icons/svg/environment.svg +1 -0
- package/icons/svg/equal.svg +1 -0
- package/icons/svg/eraser.svg +1 -0
- package/icons/svg/error.svg +1 -0
- package/icons/svg/expand.svg +1 -0
- package/icons/svg/export.svg +1 -0
- package/icons/svg/external.svg +1 -0
- package/icons/svg/eye-off.svg +1 -0
- package/icons/svg/failure.svg +1 -0
- package/icons/svg/fast-forward.svg +1 -0
- package/icons/svg/file-check.svg +1 -0
- package/icons/svg/file-code.svg +1 -0
- package/icons/svg/file-lock.svg +1 -0
- package/icons/svg/file-plus.svg +1 -0
- package/icons/svg/file-table.svg +1 -0
- package/icons/svg/file-text.svg +1 -0
- package/icons/svg/file.svg +1 -0
- package/icons/svg/files.svg +1 -0
- package/icons/svg/filter.svg +1 -0
- package/icons/svg/fingerprint.svg +1 -0
- package/icons/svg/fire.svg +1 -0
- package/icons/svg/firewall.svg +1 -0
- package/icons/svg/fix.svg +1 -0
- package/icons/svg/flag.svg +1 -0
- package/icons/svg/folder-open.svg +1 -0
- package/icons/svg/folder-plus.svg +1 -0
- package/icons/svg/folder.svg +1 -0
- package/icons/svg/fork.svg +1 -0
- package/icons/svg/fullscreen-exit.svg +1 -0
- package/icons/svg/fullscreen.svg +1 -0
- package/icons/svg/function.svg +1 -0
- package/icons/svg/funnel.svg +1 -0
- package/icons/svg/gauge.svg +1 -0
- package/icons/svg/gift.svg +1 -0
- package/icons/svg/git-branch.svg +1 -0
- package/icons/svg/globe.svg +1 -0
- package/icons/svg/grid.svg +1 -0
- package/icons/svg/grip.svg +1 -0
- package/icons/svg/hand.svg +1 -0
- package/icons/svg/handshake.svg +1 -0
- package/icons/svg/hash.svg +1 -0
- package/icons/svg/heading.svg +1 -0
- package/icons/svg/heart.svg +1 -0
- package/icons/svg/heatmap.svg +1 -0
- package/icons/svg/help.svg +1 -0
- package/icons/svg/highlight.svg +1 -0
- package/icons/svg/history.svg +1 -0
- package/icons/svg/home.svg +1 -0
- package/icons/svg/hourglass.svg +1 -0
- package/icons/svg/id-card.svg +1 -0
- package/icons/svg/idea.svg +1 -0
- package/icons/svg/image.svg +1 -0
- package/icons/svg/import.svg +1 -0
- package/icons/svg/inbox.svg +1 -0
- package/icons/svg/incognito.svg +1 -0
- package/icons/svg/indent.svg +1 -0
- package/icons/svg/index.svg +1 -0
- package/icons/svg/info.svg +1 -0
- package/icons/svg/invoice.svg +1 -0
- package/icons/svg/italic.svg +1 -0
- package/icons/svg/json.svg +1 -0
- package/icons/svg/kanban.svg +1 -0
- package/icons/svg/key.svg +1 -0
- package/icons/svg/keyboard.svg +1 -0
- package/icons/svg/laptop.svg +1 -0
- package/icons/svg/layers.svg +1 -0
- package/icons/svg/layout.svg +1 -0
- package/icons/svg/leaf.svg +1 -0
- package/icons/svg/light.svg +1 -0
- package/icons/svg/link.svg +1 -0
- package/icons/svg/list-checks.svg +1 -0
- package/icons/svg/list-ordered.svg +1 -0
- package/icons/svg/list.svg +1 -0
- package/icons/svg/load-balancer.svg +1 -0
- package/icons/svg/lock.svg +1 -0
- package/icons/svg/log-in.svg +1 -0
- package/icons/svg/logs.svg +1 -0
- package/icons/svg/mail-open.svg +1 -0
- package/icons/svg/mail.svg +1 -0
- package/icons/svg/map.svg +1 -0
- package/icons/svg/mcp.svg +1 -0
- package/icons/svg/megaphone.svg +1 -0
- package/icons/svg/memory.svg +1 -0
- package/icons/svg/menu.svg +1 -0
- package/icons/svg/merge.svg +1 -0
- package/icons/svg/mic-off.svg +1 -0
- package/icons/svg/mic.svg +1 -0
- package/icons/svg/migrate.svg +1 -0
- package/icons/svg/minus-circle.svg +1 -0
- package/icons/svg/minus.svg +1 -0
- package/icons/svg/mobile.svg +1 -0
- package/icons/svg/moon.svg +1 -0
- package/icons/svg/more-vertical.svg +1 -0
- package/icons/svg/more.svg +1 -0
- package/icons/svg/mouse.svg +1 -0
- package/icons/svg/move.svg +1 -0
- package/icons/svg/mute.svg +1 -0
- package/icons/svg/network.svg +1 -0
- package/icons/svg/notebook.svg +1 -0
- package/icons/svg/null.svg +1 -0
- package/icons/svg/open-source.svg +1 -0
- package/icons/svg/organization.svg +1 -0
- package/icons/svg/outdent.svg +1 -0
- package/icons/svg/p-agent.svg +1 -0
- package/icons/svg/p-ai.svg +1 -0
- package/icons/svg/p-app.svg +1 -0
- package/icons/svg/p-cases.svg +1 -0
- package/icons/svg/p-data.svg +1 -0
- package/icons/svg/p-design.svg +1 -0
- package/icons/svg/p-domains.svg +1 -0
- package/icons/svg/p-files.svg +1 -0
- package/icons/svg/p-git.svg +1 -0
- package/icons/svg/p-learn.svg +1 -0
- package/icons/svg/p-mail.svg +1 -0
- package/icons/svg/p-run.svg +1 -0
- package/icons/svg/p-skills.svg +1 -0
- package/icons/svg/p-telemetry.svg +1 -0
- package/icons/svg/p-ui.svg +1 -0
- package/icons/svg/palette.svg +1 -0
- package/icons/svg/panel-bottom.svg +1 -0
- package/icons/svg/paperclip.svg +1 -0
- package/icons/svg/paragraph.svg +1 -0
- package/icons/svg/password.svg +1 -0
- package/icons/svg/paste.svg +1 -0
- package/icons/svg/pause.svg +1 -0
- package/icons/svg/pending.svg +1 -0
- package/icons/svg/percent.svg +1 -0
- package/icons/svg/performance.svg +1 -0
- package/icons/svg/phone.svg +1 -0
- package/icons/svg/picture-in-picture.svg +1 -0
- package/icons/svg/pin.svg +1 -0
- package/icons/svg/pipeline.svg +1 -0
- package/icons/svg/plan.svg +1 -0
- package/icons/svg/play.svg +1 -0
- package/icons/svg/plug.svg +1 -0
- package/icons/svg/plus-circle.svg +1 -0
- package/icons/svg/plus.svg +1 -0
- package/icons/svg/pointer.svg +1 -0
- package/icons/svg/policy.svg +1 -0
- package/icons/svg/power.svg +1 -0
- package/icons/svg/primary-key.svg +1 -0
- package/icons/svg/print.svg +1 -0
- package/icons/svg/prompt.svg +1 -0
- package/icons/svg/pull-request.svg +1 -0
- package/icons/svg/puzzle.svg +1 -0
- package/icons/svg/qr-code.svg +1 -0
- package/icons/svg/query.svg +1 -0
- package/icons/svg/queue.svg +1 -0
- package/icons/svg/quote.svg +1 -0
- package/icons/svg/rage-click.svg +1 -0
- package/icons/svg/receipt.svg +1 -0
- package/icons/svg/record.svg +1 -0
- package/icons/svg/redo.svg +1 -0
- package/icons/svg/refresh.svg +1 -0
- package/icons/svg/region.svg +1 -0
- package/icons/svg/relation.svg +1 -0
- package/icons/svg/release.svg +1 -0
- package/icons/svg/replay.svg +1 -0
- package/icons/svg/rewind.svg +1 -0
- package/icons/svg/robot.svg +1 -0
- package/icons/svg/rocket.svg +1 -0
- package/icons/svg/role.svg +1 -0
- package/icons/svg/rollback.svg +1 -0
- package/icons/svg/route.svg +1 -0
- package/icons/svg/rows.svg +1 -0
- package/icons/svg/rss.svg +1 -0
- package/icons/svg/ruler.svg +1 -0
- package/icons/svg/save.svg +1 -0
- package/icons/svg/scan.svg +1 -0
- package/icons/svg/scissors.svg +1 -0
- package/icons/svg/sdk.svg +1 -0
- package/icons/svg/search.svg +1 -0
- package/icons/svg/secret.svg +1 -0
- package/icons/svg/seed.svg +1 -0
- package/icons/svg/select.svg +1 -0
- package/icons/svg/self-host.svg +1 -0
- package/icons/svg/send.svg +1 -0
- package/icons/svg/server.svg +1 -0
- package/icons/svg/settings.svg +1 -0
- package/icons/svg/share.svg +1 -0
- package/icons/svg/shield-alert.svg +1 -0
- package/icons/svg/shield-off.svg +1 -0
- package/icons/svg/shield-user.svg +1 -0
- package/icons/svg/shield.svg +1 -0
- package/icons/svg/sidebar-left.svg +1 -0
- package/icons/svg/sidebar-right.svg +1 -0
- package/icons/svg/sign-out.svg +1 -0
- package/icons/svg/signals-in.svg +1 -0
- package/icons/svg/skip-back.svg +1 -0
- package/icons/svg/skip-forward.svg +1 -0
- package/icons/svg/slash.svg +1 -0
- package/icons/svg/sleep.svg +1 -0
- package/icons/svg/sliders.svg +1 -0
- package/icons/svg/sort.svg +1 -0
- package/icons/svg/sparkle.svg +1 -0
- package/icons/svg/sparkline.svg +1 -0
- package/icons/svg/split.svg +1 -0
- package/icons/svg/star.svg +1 -0
- package/icons/svg/stop.svg +1 -0
- package/icons/svg/strikethrough.svg +1 -0
- package/icons/svg/success.svg +1 -0
- package/icons/svg/suggestion.svg +1 -0
- package/icons/svg/sum.svg +1 -0
- package/icons/svg/summary.svg +1 -0
- package/icons/svg/sun.svg +1 -0
- package/icons/svg/support.svg +1 -0
- package/icons/svg/swap-vertical.svg +1 -0
- package/icons/svg/swap.svg +1 -0
- package/icons/svg/table.svg +1 -0
- package/icons/svg/tablet.svg +1 -0
- package/icons/svg/tag.svg +1 -0
- package/icons/svg/target.svg +1 -0
- package/icons/svg/team.svg +1 -0
- package/icons/svg/terminal.svg +1 -0
- package/icons/svg/test.svg +1 -0
- package/icons/svg/text.svg +1 -0
- package/icons/svg/theme.svg +1 -0
- package/icons/svg/thumbs-down.svg +1 -0
- package/icons/svg/thumbs-up.svg +1 -0
- package/icons/svg/timer.svg +1 -0
- package/icons/svg/toggle.svg +1 -0
- package/icons/svg/traces.svg +1 -0
- package/icons/svg/translate.svg +1 -0
- package/icons/svg/trash.svg +1 -0
- package/icons/svg/trend-down.svg +1 -0
- package/icons/svg/trend-up.svg +1 -0
- package/icons/svg/two-factor.svg +1 -0
- package/icons/svg/underline.svg +1 -0
- package/icons/svg/undo.svg +1 -0
- package/icons/svg/unlink.svg +1 -0
- package/icons/svg/unlock.svg +1 -0
- package/icons/svg/upgrade.svg +1 -0
- package/icons/svg/upload.svg +1 -0
- package/icons/svg/uptime.svg +1 -0
- package/icons/svg/usage.svg +1 -0
- package/icons/svg/user-check.svg +1 -0
- package/icons/svg/user-circle.svg +1 -0
- package/icons/svg/user-minus.svg +1 -0
- package/icons/svg/user-plus.svg +1 -0
- package/icons/svg/user-x.svg +1 -0
- package/icons/svg/user.svg +1 -0
- package/icons/svg/users.svg +1 -0
- package/icons/svg/variable.svg +1 -0
- package/icons/svg/verified.svg +1 -0
- package/icons/svg/video.svg +1 -0
- package/icons/svg/volume.svg +1 -0
- package/icons/svg/wallet.svg +1 -0
- package/icons/svg/wand.svg +1 -0
- package/icons/svg/warning.svg +1 -0
- package/icons/svg/watch.svg +1 -0
- package/icons/svg/wave.svg +1 -0
- package/icons/svg/web.svg +1 -0
- package/icons/svg/webhook.svg +1 -0
- package/icons/svg/wifi-off.svg +1 -0
- package/icons/svg/wifi.svg +1 -0
- package/icons/svg/window.svg +1 -0
- package/icons/svg/zoom-in.svg +1 -0
- package/icons/svg/zoom-out.svg +1 -0
- package/package.json +119 -4
- package/src/characters/data.ts +13 -0
- package/src/characters/index.ts +23 -0
- package/src/dom/search.ts +78 -0
- package/src/i18n/index.ts +140 -0
- package/src/icons/data.ts +760 -0
- package/tokens/tokens.json +625 -0
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
/* Tabs, SegmentedControl, Pagination, Breadcrumb, Stepper. */
|
|
2
|
+
@layer sypnia.components {
|
|
3
|
+
/* Tabs: views of the same thing. The light moves to the active one. On phones the list wraps two by two. */
|
|
4
|
+
.sy-tabs { display: flex; gap: var(--s-5); border-bottom: 1px solid var(--line); min-width: 0; }
|
|
5
|
+
.sy-tab { position: relative; display: inline-flex; align-items: center; gap: 0.45em; padding: 0.65rem 0; border: 0; background: none; color: var(--fg-muted); font-weight: 600; font-size: var(--text-sm); text-decoration: none; cursor: pointer; white-space: nowrap; outline-offset: 4px; transition: color var(--dur-1); }
|
|
6
|
+
.sy-tab:hover { color: var(--fg); }
|
|
7
|
+
.sy-tab:is([aria-selected='true'], [aria-current='page'], [data-selected]) { color: var(--fg); }
|
|
8
|
+
.sy-tab::after { content: ''; position: absolute; left: 50%; bottom: -4px; width: 7px; height: 7px; border-radius: 50%; translate: -50% 0; background: var(--light-fill); box-shadow: 0 0 0 1.5px var(--light-ring), 0 0 0 4px var(--bg); scale: 0; transition: scale var(--dur-2) var(--ease-out); }
|
|
9
|
+
.sy-tab:is([aria-selected='true'], [aria-current='page'], [data-selected])::after { scale: 1; }
|
|
10
|
+
.sy-tab:disabled, .sy-tab[data-disabled] { opacity: 0.45; cursor: not-allowed; }
|
|
11
|
+
.sy-tabpanel { padding-top: var(--s-5); outline-offset: 4px; }
|
|
12
|
+
@media (max-width: 40rem) {
|
|
13
|
+
.sy-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); border-bottom: 0; }
|
|
14
|
+
.sy-tab { justify-content: center; min-height: var(--ctl-h); padding: 0 var(--s-3); border: 1px solid var(--line); border-radius: var(--r-2); }
|
|
15
|
+
.sy-tab:is([aria-selected='true'], [aria-current='page'], [data-selected]) { border-color: var(--light); background: var(--state-selected); }
|
|
16
|
+
.sy-tab::after { display: none; }
|
|
17
|
+
.sy-tabs > .sy-tab:last-child:nth-child(odd) { grid-column: 1 / -1; }
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/* SegmentedControl: two to four views or modes, all visible, one chosen. */
|
|
21
|
+
.sy-seg { display: inline-grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); padding: 3px; border-radius: var(--r-2); background: var(--bg-inset); box-shadow: inset 0 0 0 1px var(--line); }
|
|
22
|
+
.sy-seg__item { display: inline-flex; align-items: center; justify-content: center; gap: 0.4em; min-height: calc(var(--ctl-h-sm) - 2px); padding: 0 0.8rem; border: 0; border-radius: 6px; background: none; color: var(--fg-muted); font-size: var(--text-xs); font-weight: 600; white-space: nowrap; cursor: pointer; transition: background var(--dur-1), color var(--dur-1); }
|
|
23
|
+
.sy-seg__item:hover { color: var(--fg); }
|
|
24
|
+
.sy-seg__item:is([aria-pressed='true'], [aria-checked='true'], [aria-selected='true']), .sy-seg__item:has(input:checked) { background: var(--bg-raised); color: var(--fg); box-shadow: var(--shadow-1), 0 0 0 1px var(--line); }
|
|
25
|
+
.sy-seg__item input { position: absolute; opacity: 0; pointer-events: none; }
|
|
26
|
+
.sy-seg__item:has(input:disabled) { color: var(--fg-muted); opacity: 0.55; cursor: not-allowed; }
|
|
27
|
+
.sy-seg__item:has(input:disabled):hover { color: var(--fg-muted); }
|
|
28
|
+
.sy-seg__item:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
|
|
29
|
+
@media (max-width: 40rem) { .sy-seg { display: grid; grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; } }
|
|
30
|
+
|
|
31
|
+
/* Pagination: every list or table longer than a page says how many there are, which ones you see, and lets you move.
|
|
32
|
+
On phones: previous, «page 3 of 12», next. */
|
|
33
|
+
.sy-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); font-size: var(--text-xs); color: var(--fg-muted); min-width: 0; }
|
|
34
|
+
.sy-pagination__pages { display: flex; align-items: center; gap: 0.2rem; list-style: none; margin: 0; padding: 0; }
|
|
35
|
+
.sy-pagination__page { display: inline-grid; place-content: center; min-width: var(--ctl-h-sm); height: var(--ctl-h-sm); padding: 0 0.4rem; border: 0; border-radius: 7px; background: none; color: var(--fg-soft); font-size: var(--text-xs); font-weight: 600; font-variant-numeric: tabular-nums; text-decoration: none; cursor: pointer; }
|
|
36
|
+
.sy-pagination__page:hover { background: var(--state-hover); color: var(--fg); }
|
|
37
|
+
.sy-pagination__page[aria-current='page'] { background: var(--light-fill); color: var(--on-light); box-shadow: 0 0 0 1.5px var(--light-ring); }
|
|
38
|
+
.sy-pagination__gap { min-width: 1.5rem; text-align: center; }
|
|
39
|
+
.sy-pagination__size { display: inline-flex; align-items: center; gap: 0.5rem; }
|
|
40
|
+
.sy-pagination__size .sy-input { width: auto; }
|
|
41
|
+
.sy-pagination__now { display: none; font-variant-numeric: tabular-nums; }
|
|
42
|
+
@media (max-width: 40rem) {
|
|
43
|
+
.sy-pagination { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
44
|
+
/* The list sits inside <nav>: the nav is what spans the bar. */
|
|
45
|
+
.sy-pagination > nav { grid-column: 1 / -1; min-width: 0; }
|
|
46
|
+
.sy-pagination__pages { display: grid; grid-template-columns: auto 1fr auto; }
|
|
47
|
+
.sy-pagination__pages > li:not(.sy-pagination__prev, .sy-pagination__next, .sy-pagination__now) { display: none; }
|
|
48
|
+
.sy-pagination__now { display: block; text-align: center; }
|
|
49
|
+
.sy-pagination__summary { grid-column: 1 / -1; }
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/* Breadcrumb: where this page sits. The last item is the page itself. */
|
|
53
|
+
.sy-breadcrumb { display: flex; align-items: center; gap: 0.15rem; min-width: 0; font-size: var(--text-sm); list-style: none; margin: 0; padding: 0; }
|
|
54
|
+
.sy-breadcrumb > li { display: flex; align-items: center; gap: 0.15rem; min-width: 0; }
|
|
55
|
+
.sy-breadcrumb > li + li::before { content: '/'; color: var(--line-strong); padding-inline: 0.2rem; }
|
|
56
|
+
.sy-breadcrumb a, .sy-breadcrumb button { display: inline-flex; align-items: center; gap: 0.4em; max-width: 14rem; min-height: var(--ctl-h-sm); padding: 0 0.45rem; border: 0; border-radius: 7px; background: none; color: var(--fg-muted); text-decoration: none; font: inherit; font-weight: 500; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
57
|
+
.sy-breadcrumb :is(a, button):hover { background: var(--state-hover); color: var(--fg); }
|
|
58
|
+
.sy-breadcrumb [aria-current='page'] { color: var(--fg); font-weight: 600; padding-inline: 0.45rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
59
|
+
@media (max-width: 40rem) { .sy-breadcrumb > li:not(:nth-last-child(-n + 2)) { display: none; } .sy-breadcrumb > li:nth-last-child(2)::before { display: none; } }
|
|
60
|
+
|
|
61
|
+
/* Stepper: a task in a few steps, in order. It shows where you are and what is left. */
|
|
62
|
+
.sy-stepper { display: flex; gap: var(--s-2); list-style: none; margin: 0; padding: 0; counter-reset: sy-step; min-width: 0; }
|
|
63
|
+
.sy-stepper__step { flex: 1 1 0; min-width: 0; display: grid; gap: 0.4rem; counter-increment: sy-step; font-size: var(--text-xs); color: var(--fg-muted); font-weight: 600; }
|
|
64
|
+
.sy-stepper__step::before { content: ''; height: 3px; border-radius: 99px; background: var(--line); transition: background var(--dur-2); }
|
|
65
|
+
.sy-stepper__step[data-state='done']::before { background: var(--light); }
|
|
66
|
+
.sy-stepper__step[aria-current='step'] { color: var(--fg); }
|
|
67
|
+
.sy-stepper__step[aria-current='step']::before { background: var(--light-fill); box-shadow: 0 0 0 1px var(--light-ring), 0 0 0.7rem 0 color-mix(in oklab, var(--glow) 45%, transparent); }
|
|
68
|
+
.sy-stepper__label::before { content: counter(sy-step) '. '; font-variant-numeric: tabular-nums; }
|
|
69
|
+
.sy-stepper__label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
70
|
+
@media (max-width: 40rem) { .sy-stepper__step:not([aria-current='step']) .sy-stepper__label { display: none; } .sy-stepper__step:not([aria-current='step']) { flex: 0 1 2.5rem; }
|
|
71
|
+
/* Finished: no step is current, so all of them share the width again. */
|
|
72
|
+
.sy-stepper:not(:has([aria-current='step'])) .sy-stepper__step { flex: 1 1 0; } }
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/* Skeletons of the navigation pieces: the real boxes; only the widths of the bars are set here. */
|
|
76
|
+
@layer sypnia.components {
|
|
77
|
+
.sy-tabs[data-skeleton] .sy-tab .sy-skeleton { width: 5rem; }
|
|
78
|
+
.sy-tabs[data-skeleton] .sy-tab:nth-child(2n) .sy-skeleton { width: 6.5rem; }
|
|
79
|
+
.sy-tabs[data-skeleton] .sy-tab:first-child .sy-skeleton { width: 4rem; }
|
|
80
|
+
@media (max-width: 40rem) { .sy-tabs[data-skeleton] .sy-tab .sy-skeleton { width: 60%; } }
|
|
81
|
+
.sy-breadcrumb__item { display: inline-flex; align-items: center; min-height: var(--ctl-h-sm); padding: 0 0.45rem; }
|
|
82
|
+
.sy-breadcrumb[data-skeleton] .sy-skeleton { width: 5.5rem; }
|
|
83
|
+
.sy-breadcrumb[data-skeleton] li:last-child .sy-skeleton { width: 8rem; }
|
|
84
|
+
.sy-stepper[data-skeleton] .sy-stepper__label::before { content: none; }
|
|
85
|
+
.sy-stepper[data-skeleton] .sy-stepper__label { display: block; }
|
|
86
|
+
.sy-stepper[data-skeleton] .sy-stepper__label .sy-skeleton { width: 60%; }
|
|
87
|
+
@media (max-width: 40rem) { .sy-stepper[data-skeleton] .sy-stepper__label { display: none; } .sy-stepper[data-skeleton] .sy-stepper__step { flex: 1 1 0; } }
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/* PaginationSkeleton: the same bar; bars where the summary, the page size, the pages and previous/next go. */
|
|
91
|
+
@layer sypnia.components {
|
|
92
|
+
.sy-pagination[data-skeleton] .sy-skeleton { display: inline-block; vertical-align: middle; }
|
|
93
|
+
.sy-pagination[data-skeleton] .sy-pagination__summary .sy-skeleton { width: 5.5rem; }
|
|
94
|
+
.sy-pagination[data-skeleton] .sy-pagination__size > .sy-skeleton--text { width: 3.5rem; }
|
|
95
|
+
.sy-pagination[data-skeleton] .sy-pagination__size > .sy-skeleton--ctl-sm { width: 4.5rem; }
|
|
96
|
+
.sy-pagination[data-skeleton] .sy-pagination__page { cursor: default; }
|
|
97
|
+
.sy-pagination[data-skeleton] .sy-pagination__page .sy-skeleton { width: 0.8rem; }
|
|
98
|
+
.sy-pagination[data-skeleton] :is(.sy-pagination__prev, .sy-pagination__next) .sy-skeleton { width: 4.5rem; }
|
|
99
|
+
.sy-pagination[data-skeleton] .sy-pagination__now .sy-skeleton { display: block; width: 6rem; margin-inline: auto; }
|
|
100
|
+
@media (max-width: 40rem) { .sy-pagination[data-skeleton] > div { grid-column: 1 / -1; min-width: 0; } }
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
@layer sypnia.components {
|
|
104
|
+
/* The label of a tab panel, shown only while the tabs are not running. */
|
|
105
|
+
.sy-tabpanel__label { display: none; }
|
|
106
|
+
sy-tabs:not(:defined) > [role='tabpanel'] > .sy-tabpanel__label { display: block; padding: 0.6rem 1rem 0; font-size: var(--text-xs); font-weight: 600; color: var(--fg-muted); }
|
|
107
|
+
}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
/* Navigation of an app: switchers, the account menu, notifications, VerticalTabs, Wizard, the pages of a list, the
|
|
2
|
+
parts of the shell on their own, and the small helpers of a page. Shell parts reuse shell.css; here only what is new. */
|
|
3
|
+
@layer sypnia.components {
|
|
4
|
+
.sy-contents { display: contents; }
|
|
5
|
+
|
|
6
|
+
/* Switchers: the current one in a quiet button; the list with marks, details and a check. */
|
|
7
|
+
.sy-switcher { gap: 0.5rem; max-width: 16rem; padding-inline: 0.45rem; }
|
|
8
|
+
.sy-switcher .sy-avatar { width: 1.35rem; height: 1.35rem; font-size: 0.6rem; }
|
|
9
|
+
.sy-switcher__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
|
|
10
|
+
.sy-switcher > .sy-icon:last-child { width: 0.9rem; height: 0.9rem; color: var(--fg-muted); flex: none; }
|
|
11
|
+
.sy-switcher--compact { max-width: 11rem; }
|
|
12
|
+
.sy-switcher__light { width: 0.5rem; height: 0.5rem; border-radius: 50%; flex: none; background: var(--fg-muted); }
|
|
13
|
+
.sy-switcher__light--warn { background: var(--warn); box-shadow: 0 0 0 3px color-mix(in oklab, var(--warn) 25%, transparent); }
|
|
14
|
+
.sy-switcher__light--ok { background: var(--ok); }
|
|
15
|
+
.sy-switcher__popover { min-width: 15rem; }
|
|
16
|
+
.sy-switcher__filter { padding: var(--s-2) var(--s-2) 0; }
|
|
17
|
+
.sy-switcher__item .sy-avatar { width: 1.5rem; height: 1.5rem; font-size: 0.6rem; }
|
|
18
|
+
.sy-switcher__text { display: grid; min-width: 0; flex: 1 1 auto; }
|
|
19
|
+
.sy-switcher__text > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
20
|
+
.sy-switcher__text small { color: var(--fg-muted); font-size: var(--text-2xs); }
|
|
21
|
+
.sy-switcher__item > .sy-icon:last-child { color: var(--fg); margin-inline-start: auto; }
|
|
22
|
+
.sy-switcher__empty { padding: var(--s-3); color: var(--fg-muted); font-size: var(--text-xs); }
|
|
23
|
+
.sy-switcher[data-skeleton] .sy-skeleton--text { width: 7rem; }
|
|
24
|
+
@media (max-width: 40rem) { .sy-switcher { max-width: 9rem; } }
|
|
25
|
+
|
|
26
|
+
/* UserMenu: the avatar as the button; the menu opens with who is signed in. */
|
|
27
|
+
.sy-usermenu { padding: 0; width: var(--ctl-h); border-radius: 50%; }
|
|
28
|
+
.sy-usermenu__menu { min-width: 15rem; }
|
|
29
|
+
.sy-usermenu__head { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-2) var(--s-3) var(--s-3); }
|
|
30
|
+
.sy-usermenu__head > span { display: grid; min-width: 0; }
|
|
31
|
+
.sy-usermenu__head b { font-weight: 600; }
|
|
32
|
+
.sy-usermenu__head small { color: var(--fg-muted); font-size: var(--text-xs); overflow: hidden; text-overflow: ellipsis; }
|
|
33
|
+
|
|
34
|
+
/* NotificationBell and NotificationList. */
|
|
35
|
+
.sy-bell { position: relative; }
|
|
36
|
+
.sy-bell__count { position: absolute; top: 2px; right: 2px; min-width: 1.05rem; height: 1.05rem; padding: 0 0.25rem; border-radius: 99px; background: var(--light-fill); box-shadow: 0 0 0 1.5px var(--light-ring), 0 0 0 3px var(--bg); color: var(--on-light); font-size: 0.625rem; font-weight: 700; line-height: 1.05rem; text-align: center; font-variant-numeric: tabular-nums; }
|
|
37
|
+
.sy-bell__popover { width: min(22rem, calc(100vw - 1rem)); max-width: none; }
|
|
38
|
+
.sy-bell__dialog { outline: none; max-height: min(28rem, 70dvh); overflow-y: auto; overscroll-behavior: contain; }
|
|
39
|
+
.sy-notifs { display: grid; min-width: 0; }
|
|
40
|
+
.sy-notifs__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); padding: var(--s-2) var(--s-2) var(--s-2) var(--s-4); border-bottom: 1px solid var(--line); }
|
|
41
|
+
.sy-notifs__count { font-size: var(--text-xs); font-weight: 600; color: var(--fg-soft); }
|
|
42
|
+
.sy-notifs__empty { margin: 0; padding: var(--s-6) var(--s-4); text-align: center; color: var(--fg-muted); font-size: var(--text-sm); }
|
|
43
|
+
.sy-notifs__list { list-style: none; margin: 0; padding: var(--s-1); display: grid; gap: 1px; }
|
|
44
|
+
.sy-notifs__item > :is(a, button, .sy-notifs__row) {
|
|
45
|
+
display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: var(--s-3); width: 100%; padding: var(--s-3);
|
|
46
|
+
border: 0; border-radius: var(--r-2); background: none; color: inherit; font: inherit; text-align: start; text-decoration: none; cursor: pointer;
|
|
47
|
+
}
|
|
48
|
+
.sy-notifs__item > :is(a, button):hover { background: var(--state-hover); }
|
|
49
|
+
.sy-notifs__item > :is(a, button):focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
|
|
50
|
+
.sy-notifs__icon { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: var(--r-2); background: var(--bg-inset); color: var(--fg-soft); }
|
|
51
|
+
.sy-notifs__icon .sy-icon { width: 1.1rem; height: 1.1rem; }
|
|
52
|
+
.sy-notifs__icon--fail { color: var(--fail-text); background: var(--fail-bg); }
|
|
53
|
+
.sy-notifs__icon--warn { color: var(--warn-text, var(--fg)); background: color-mix(in oklab, var(--warn) 16%, transparent); }
|
|
54
|
+
.sy-notifs__icon--ok { color: var(--ok-text); background: var(--ok-bg); }
|
|
55
|
+
.sy-notifs__text { display: grid; gap: 0.15rem; min-width: 0; font-size: var(--text-sm); }
|
|
56
|
+
.sy-notifs__text b { font-weight: 600; }
|
|
57
|
+
.sy-notifs__text > span { color: var(--fg-soft); font-size: var(--text-xs); line-height: 1.45; }
|
|
58
|
+
.sy-notifs__text time { color: var(--fg-muted); font-size: var(--text-2xs); }
|
|
59
|
+
.sy-notifs__item--unread .sy-notifs__text b { color: var(--fg); }
|
|
60
|
+
.sy-notifs__dot { width: 0.5rem; height: 0.5rem; margin-top: 0.4rem; border-radius: 50%; background: var(--light-fill); box-shadow: 0 0 0 1.5px var(--light-ring); }
|
|
61
|
+
.sy-notifs[data-skeleton] .sy-notifs__text .sy-skeleton:first-child { width: 70%; }
|
|
62
|
+
.sy-notifs[data-skeleton] .sy-notifs__text .sy-skeleton:last-child { width: 45%; }
|
|
63
|
+
|
|
64
|
+
/* VerticalTabs: the list down the side, the light on the current one; on phones on top, two by two. */
|
|
65
|
+
.sy-vtabs { display: grid; grid-template-columns: minmax(10rem, 13rem) minmax(0, 1fr); gap: var(--s-6); min-width: 0; }
|
|
66
|
+
.sy-vtabs__list { display: flex; flex-direction: column; gap: 2px; }
|
|
67
|
+
.sy-vtab { position: relative; display: flex; align-items: center; gap: 0.6rem; min-height: var(--ctl-h-sm); padding: 0.35rem 0.7rem; border-radius: 7px; color: var(--fg-soft); font-size: var(--text-sm); font-weight: 500; cursor: pointer; outline: none; }
|
|
68
|
+
.sy-vtab .sy-icon { width: 1.1rem; height: 1.1rem; color: var(--fg-muted); }
|
|
69
|
+
.sy-vtab[data-hovered] { background: var(--state-hover); color: var(--fg); }
|
|
70
|
+
.sy-vtab[data-selected] { background: var(--state-selected); color: var(--fg); font-weight: 600; }
|
|
71
|
+
.sy-vtab[data-selected]::before { content: ''; position: absolute; left: -0.6rem; top: 50%; width: 6px; height: 6px; border-radius: 50%; translate: 0 -50%; background: var(--light-fill); box-shadow: 0 0 0 1.5px var(--light-ring); }
|
|
72
|
+
.sy-vtab[data-focus-visible] { outline: 2px solid var(--focus); outline-offset: 2px; }
|
|
73
|
+
.sy-vtab[data-disabled] { opacity: 0.45; cursor: not-allowed; }
|
|
74
|
+
.sy-vtabs__panel { min-width: 0; outline: none; }
|
|
75
|
+
.sy-vtabs[data-skeleton] .sy-vtab .sy-skeleton--text { width: 6rem; }
|
|
76
|
+
.sy-vtabs[data-skeleton] .sy-vtabs__panel .sy-skeleton:last-child { width: 60%; }
|
|
77
|
+
@media (max-width: 40rem) {
|
|
78
|
+
.sy-vtabs { grid-template-columns: minmax(0, 1fr); gap: var(--s-4); }
|
|
79
|
+
.sy-vtabs__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); }
|
|
80
|
+
.sy-vtab { justify-content: center; min-height: var(--ctl-h); border: 1px solid var(--line); border-radius: var(--r-2); }
|
|
81
|
+
.sy-vtab[data-selected] { border-color: var(--light); }
|
|
82
|
+
.sy-vtab[data-selected]::before { display: none; }
|
|
83
|
+
.sy-vtabs__list > .sy-vtab:last-child:nth-child(odd) { grid-column: 1 / -1; }
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
/* Wizard. */
|
|
87
|
+
.sy-wizard { display: grid; gap: var(--gap-stack); min-width: 0; }
|
|
88
|
+
.sy-wizard__title { margin: var(--s-2) 0 0; font-family: var(--font-voice); font-size: var(--text-xl); font-weight: 500; line-height: 1.2; outline: none; }
|
|
89
|
+
.sy-wizard__body { min-width: 0; }
|
|
90
|
+
|
|
91
|
+
/* Pages of a list without a total, and loading more. */
|
|
92
|
+
.sy-cursor-pages { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); font-size: var(--text-xs); color: var(--fg-muted); }
|
|
93
|
+
.sy-cursor-pages__buttons { display: flex; gap: var(--s-2); margin-inline-start: auto; }
|
|
94
|
+
@media (max-width: 40rem) { .sy-cursor-pages__buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; } .sy-cursor-pages__buttons .sy-btn { width: 100%; } }
|
|
95
|
+
.sy-loadmore { display: grid; justify-items: center; padding-block: var(--s-3); }
|
|
96
|
+
.sy-loadmore__end { font-size: var(--text-xs); color: var(--fg-muted); }
|
|
97
|
+
@media (max-width: 40rem) { .sy-loadmore > .sy-btn { width: 100%; } }
|
|
98
|
+
|
|
99
|
+
.sy-navgroup__chev { margin-inline-start: auto; width: 0.9rem !important; height: 0.9rem !important; transition: rotate var(--dur-1); }
|
|
100
|
+
.sy-navgroup--open .sy-navgroup__chev { rotate: 180deg; }
|
|
101
|
+
.sy-navgroup__head > span { flex: 1 1 0; }
|
|
102
|
+
.sy-navgroup__items { display: grid; gap: 2px; padding-inline-start: 1.15rem; margin-inline-start: 0.65rem; border-inline-start: 1px solid var(--line); }
|
|
103
|
+
|
|
104
|
+
/* Small helpers of a page. */
|
|
105
|
+
.sy-backtotop { position: fixed; right: var(--s-5); bottom: var(--s-5); z-index: var(--z-sticky); border-radius: 50%; box-shadow: var(--shadow-2); animation: sy-enter var(--dur-2) var(--ease-out) both; --shift: 0.5rem; }
|
|
106
|
+
@media (max-width: 40rem) { .sy-backtotop { bottom: calc(var(--s-4) + 3.5rem); right: var(--s-4); } }
|
|
107
|
+
.sy-anchornav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-inline-start: 1px solid var(--line); }
|
|
108
|
+
.sy-anchornav a { position: relative; display: block; padding: 0.3rem 0.8rem; color: var(--fg-muted); font-size: var(--text-xs); text-decoration: none; border-radius: 0 var(--r-1) var(--r-1) 0; }
|
|
109
|
+
.sy-anchornav a:hover { color: var(--fg); }
|
|
110
|
+
.sy-anchornav a[aria-current] { color: var(--fg); font-weight: 600; }
|
|
111
|
+
.sy-anchornav a[aria-current]::before { content: ''; position: absolute; left: -4px; top: 50%; width: 7px; height: 7px; border-radius: 50%; translate: 0 -50%; background: var(--light-fill); box-shadow: 0 0 0 1.5px var(--light-ring); }
|
|
112
|
+
.sy-linkcard { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--s-3); padding: var(--pad-panel); border: 1px solid var(--line); border-radius: var(--r-3); background: var(--bg-raised); color: inherit; text-decoration: none; transition: border-color var(--dur-1), translate var(--dur-1); }
|
|
113
|
+
.sy-linkcard:hover { border-color: var(--line-strong); }
|
|
114
|
+
.sy-linkcard:hover .sy-linkcard__arrow { translate: 3px 0; }
|
|
115
|
+
.sy-linkcard:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
|
|
116
|
+
.sy-linkcard__icon { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: var(--r-2); background: var(--bg-inset); }
|
|
117
|
+
.sy-linkcard__text { display: grid; gap: 0.2rem; min-width: 0; grid-column: 2; }
|
|
118
|
+
.sy-linkcard__text b { font-weight: 600; }
|
|
119
|
+
.sy-linkcard__text > span { color: var(--fg-soft); font-size: var(--text-sm); }
|
|
120
|
+
.sy-linkcard__arrow { color: var(--fg-muted); transition: translate var(--dur-1); }
|
|
121
|
+
.sy-linkcard[data-skeleton] .sy-skeleton:first-child { width: 9rem; }
|
|
122
|
+
.sy-linkcard[data-skeleton] .sy-skeleton:last-child { width: 70%; }
|
|
123
|
+
.sy-langswitch { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--fg-muted); }
|
|
124
|
+
.sy-langswitch .sy-input { width: auto; }
|
|
125
|
+
.sy-productswitch { width: min(20rem, calc(100vw - 1rem)); max-width: none; }
|
|
126
|
+
.sy-productswitch__body { padding: var(--s-2); outline: none; }
|
|
127
|
+
.sy-productswitch__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; }
|
|
128
|
+
.sy-productswitch__grid a { display: grid; justify-items: center; gap: 0.3rem; padding: var(--s-3) var(--s-1); border-radius: var(--r-2); color: var(--fg-soft); text-decoration: none; text-align: center; font-size: var(--text-xs); }
|
|
129
|
+
.sy-productswitch__grid a:hover { background: var(--state-hover); color: var(--fg); }
|
|
130
|
+
.sy-productswitch__grid a[aria-current] { background: var(--state-selected); color: var(--fg); }
|
|
131
|
+
.sy-productswitch__grid b { font-weight: 600; }
|
|
132
|
+
.sy-productswitch__grid small { color: var(--fg-muted); font-size: var(--text-2xs); }
|
|
133
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
/* Floating layers: Dialog, ConfirmDialog, Drawer, Sheet, Popover, Menu, Tooltip, Toast.
|
|
2
|
+
All of them live in one layer on <body>, never inside the page: a transformed or animated ancestor would make
|
|
3
|
+
`position: fixed` relative to the content. The layer root has no transform, filter or contain of its own. */
|
|
4
|
+
@layer sypnia.components {
|
|
5
|
+
html.sy-locked, html.sy-locked body { overflow: hidden; }
|
|
6
|
+
html.sy-locked { padding-inline-end: var(--sy-scroll-gap, 0); }
|
|
7
|
+
|
|
8
|
+
.sy-scrim { position: fixed; inset: 0; z-index: var(--z-layer); background: var(--scrim); display: grid; place-items: center; padding: var(--s-4); overflow-y: auto; overscroll-behavior: contain; animation: sy-fade var(--dur-2) var(--ease-out) both; }
|
|
9
|
+
/* Leaving needs its own keyframes: the same animation name with «reverse» does not run again, the exit never ends,
|
|
10
|
+
and React Aria keeps an invisible scrim over the page that eats every click. */
|
|
11
|
+
@keyframes sy-fade-out { to { opacity: 0; } }
|
|
12
|
+
.sy-scrim[data-exiting] { animation: sy-fade-out var(--dur-1) var(--ease-in) both; }
|
|
13
|
+
.sy-scrim--drawer { place-items: stretch end; padding: 0; overflow: hidden; }
|
|
14
|
+
.sy-scrim--sheet { place-items: end stretch; padding: 0; overflow: hidden; }
|
|
15
|
+
.sy-scrim--top { place-items: start center; padding-top: min(14vh, 8rem); }
|
|
16
|
+
|
|
17
|
+
/* Dialog: a decision or a short task that needs the person now. If it scrolls a lot or has many fields, use a Drawer. */
|
|
18
|
+
@keyframes sy-dialog-in { from { opacity: 0; scale: 0.97; translate: 0 var(--shift); } }
|
|
19
|
+
.sy-dialog { position: relative; width: min(100%, var(--_w, 30rem)); max-height: calc(100dvh - 2 * var(--s-4)); display: flex; flex-direction: column; background: var(--bg-raised); color: var(--fg); border: 1px solid var(--line); border-radius: var(--r-3); box-shadow: var(--shadow-3); outline: none; animation: sy-dialog-in var(--dur-2) var(--ease-out) both; }
|
|
20
|
+
.sy-dialog--sm { --_w: 24rem; } .sy-dialog--lg { --_w: 44rem; } .sy-dialog--xl { --_w: 64rem; }
|
|
21
|
+
[data-exiting] > .sy-dialog { animation: sy-fade-out var(--dur-1) var(--ease-in) both; }
|
|
22
|
+
.sy-dialog__head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s-3); padding: var(--s-4) var(--s-4) 0 var(--s-5); }
|
|
23
|
+
.sy-dialog__title { font-family: var(--font-voice); font-weight: 400; font-size: var(--text-lg); letter-spacing: var(--track-voice); word-spacing: 0; line-height: 1.25; padding-top: 0.25rem; text-wrap: balance; }
|
|
24
|
+
.sy-dialog__body { padding: var(--s-3) var(--s-5) var(--s-5); overflow-y: auto; overscroll-behavior: contain; display: grid; gap: var(--gap-stack); font-size: var(--text-sm); color: var(--fg-soft); line-height: 1.5; }
|
|
25
|
+
.sy-dialog__foot { padding: var(--s-4) var(--s-5); border-top: 1px solid var(--line); }
|
|
26
|
+
.sy-dialog__head + .sy-dialog__foot { border-top: 0; }
|
|
27
|
+
@media (max-width: 40rem) { .sy-dialog { align-self: end; } .sy-scrim:has(> .sy-dialog) { place-items: end center; } }
|
|
28
|
+
|
|
29
|
+
/* Drawer: a longer task beside the page (create, edit, inspect) without losing the place. On phones it fills the screen. */
|
|
30
|
+
@keyframes sy-drawer-in { from { translate: 100% 0; } }
|
|
31
|
+
.sy-drawer { width: min(100vw, var(--_w, 32rem)); height: 100dvh; display: flex; flex-direction: column; background: var(--bg-raised); color: var(--fg); border-inline-start: 1px solid var(--line); box-shadow: var(--shadow-3); outline: none; animation: sy-drawer-in var(--dur-2) var(--ease-out) both; }
|
|
32
|
+
.sy-drawer--lg { --_w: 46rem; }
|
|
33
|
+
@keyframes sy-drawer-out { to { translate: 100% 0; } }
|
|
34
|
+
[data-exiting] > .sy-drawer { animation: sy-drawer-out var(--dur-1) var(--ease-in) both; }
|
|
35
|
+
.sy-drawer__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding: var(--s-3) var(--s-3) var(--s-3) var(--s-5); border-bottom: 1px solid var(--line); min-height: 3.5rem; }
|
|
36
|
+
.sy-drawer__title { font-size: var(--text-md); font-weight: 600; }
|
|
37
|
+
.sy-drawer__body { flex: 1 1 0; overflow-y: auto; overscroll-behavior: contain; padding: var(--s-5); display: grid; gap: var(--gap-stack); align-content: start; }
|
|
38
|
+
.sy-drawer__foot { padding: var(--s-3) var(--s-5); border-top: 1px solid var(--line); }
|
|
39
|
+
|
|
40
|
+
/* Sheet: on phones, options that come up from the bottom edge (the «More» of the navigation, a menu). */
|
|
41
|
+
@keyframes sy-sheet-in { from { translate: 0 100%; } }
|
|
42
|
+
.sy-sheet { width: 100%; max-height: 85dvh; display: flex; flex-direction: column; background: var(--bg-raised); color: var(--fg); border-top: 1px solid var(--line); border-radius: var(--r-3) var(--r-3) 0 0; box-shadow: var(--shadow-3); padding-bottom: env(safe-area-inset-bottom); outline: none; animation: sy-sheet-in var(--dur-2) var(--ease-out) both; }
|
|
43
|
+
.sy-sheet::before { content: ''; width: 2.25rem; height: 0.25rem; border-radius: 99px; background: var(--line-strong); margin: 0.5rem auto 0; flex: none; }
|
|
44
|
+
@keyframes sy-sheet-out { to { translate: 0 100%; } }
|
|
45
|
+
[data-exiting] > .sy-sheet { animation: sy-sheet-out var(--dur-1) var(--ease-in) both; }
|
|
46
|
+
.sy-sheet__body { overflow-y: auto; padding: var(--s-4); display: grid; gap: var(--s-3); }
|
|
47
|
+
|
|
48
|
+
/* Popover and Menu: anchored to what opened them. */
|
|
49
|
+
@keyframes sy-pop-in { from { opacity: 0; scale: 0.97; } }
|
|
50
|
+
.sy-popover { min-width: 10rem; max-width: min(24rem, calc(100vw - 1.5rem)); background: var(--bg-raised); color: var(--fg); border: 1px solid var(--line); border-radius: var(--r-2); box-shadow: var(--shadow-2); outline: none; font-size: var(--text-sm); animation: sy-pop-in var(--dur-1) var(--ease-out) both; transform-origin: var(--trigger-anchor-point, top); }
|
|
51
|
+
.sy-popover[data-exiting] { animation: sy-fade-out var(--dur-0) both; }
|
|
52
|
+
.sy-popover__body { padding: var(--s-4); display: grid; gap: var(--s-3); }
|
|
53
|
+
.sy-menu { padding: 0.3rem; margin: 0; list-style: none; outline: none; max-height: min(24rem, 60dvh); overflow-y: auto; min-width: 11rem; }
|
|
54
|
+
.sy-menu__item { display: flex; align-items: center; gap: 0.6rem; min-height: var(--ctl-h-sm); padding: 0.3rem 0.6rem; border: 0; border-radius: 6px; background: none; color: var(--fg); font-size: var(--text-sm); text-align: start; text-decoration: none; cursor: pointer; outline: none; width: 100%; }
|
|
55
|
+
.sy-menu__item:is(:hover, [data-focused], :focus-visible) { background: var(--state-hover); }
|
|
56
|
+
.sy-menu__item:is([data-pressed], :active) { background: var(--state-press); }
|
|
57
|
+
.sy-menu__item:is([data-disabled], :disabled) { opacity: 0.45; cursor: not-allowed; }
|
|
58
|
+
.sy-menu__item[data-selected], .sy-menu__item[aria-checked='true'], .sy-menu__item[aria-current] { background: var(--state-selected); }
|
|
59
|
+
.sy-menu__item--danger { color: var(--fail-text); }
|
|
60
|
+
.sy-menu__item > .sy-icon { color: var(--fg-muted); width: 1.1rem; height: 1.1rem; }
|
|
61
|
+
.sy-menu__item--danger > .sy-icon { color: inherit; }
|
|
62
|
+
.sy-menu__item > .sy-kbd, .sy-menu__item > .sy-menu__end { margin-inline-start: auto; }
|
|
63
|
+
.sy-menu__label { padding: 0.5rem 0.6rem 0.25rem; font-size: var(--text-2xs); font-weight: 600; color: var(--fg-muted); }
|
|
64
|
+
.sy-menu__sep { height: 1px; margin: 0.3rem -0.3rem; background: var(--line); border: 0; }
|
|
65
|
+
|
|
66
|
+
/* Tooltip: the name of an icon button or the full text of something cut. Never the only place for information. */
|
|
67
|
+
.sy-tooltip { max-width: 18rem; padding: 0.35rem 0.55rem; border-radius: var(--r-1); background: var(--fg); color: var(--bg); font-size: var(--text-xs); font-weight: 500; line-height: 1.35; box-shadow: var(--shadow-2); animation: sy-fade var(--dur-1) both; pointer-events: none; }
|
|
68
|
+
/* Without JavaScript (docs, landings): data-tip on a focusable element. */
|
|
69
|
+
[data-tip] { position: relative; }
|
|
70
|
+
[data-tip]::after { content: attr(data-tip); position: absolute; z-index: var(--z-sticky); bottom: calc(100% + 0.4rem); left: 50%; translate: -50% 0; width: max-content; max-width: 16rem; padding: 0.35rem 0.55rem; border-radius: var(--r-1); background: var(--fg); color: var(--bg); font-size: var(--text-xs); font-weight: 500; line-height: 1.35; white-space: normal; opacity: 0; pointer-events: none; transition: opacity var(--dur-1) 0s; }
|
|
71
|
+
[data-tip]:is(:hover, :focus-visible)::after { opacity: 1; transition-delay: 0.35s; }
|
|
72
|
+
|
|
73
|
+
/* Toast: the answer to something the person just did («Saved», «Copied»). It leaves by itself; it never asks. */
|
|
74
|
+
.sy-toasts { position: fixed; z-index: var(--z-toast); inset-inline: 0; bottom: 0; display: flex; flex-direction: column; align-items: center; gap: var(--s-2); padding: var(--s-4); pointer-events: none; }
|
|
75
|
+
@media (min-width: 40rem) { .sy-toasts { align-items: flex-end; padding: var(--s-5); } }
|
|
76
|
+
.sy-toast { pointer-events: auto; display: flex; align-items: flex-start; gap: 0.65rem; width: min(100%, 24rem); padding: 0.7rem 0.75rem 0.7rem 0.9rem; background: var(--bg-raised); color: var(--fg); border: 1px solid var(--line); border-radius: var(--r-2); box-shadow: var(--shadow-2); font-size: var(--text-sm); line-height: 1.4; animation: sy-enter var(--dur-2) var(--ease-out) both; }
|
|
77
|
+
.sy-toast[data-exiting] { animation: sy-fade-out var(--dur-1) var(--ease-in) both; }
|
|
78
|
+
.sy-toast > .sy-icon { margin-top: 0.1rem; color: var(--ok-text); }
|
|
79
|
+
.sy-toast--fail > .sy-icon { color: var(--fail-text); } .sy-toast--info > .sy-icon { color: var(--info-text); }
|
|
80
|
+
.sy-toast__text { flex: 1 1 0; min-width: 0; }
|
|
81
|
+
.sy-toast__text small { display: block; color: var(--fg-muted); font-size: var(--text-xs); }
|
|
82
|
+
.sy-toast .sy-btn { margin: -0.25rem 0; }
|
|
83
|
+
}
|
|
84
|
+
@layer sypnia.components {
|
|
85
|
+
/* The dialog element inside a Dialog, Drawer or Sheet: it only carries the role. */
|
|
86
|
+
.sy-overlay__content { display: flex; flex-direction: column; min-height: 0; flex: 1 1 auto; outline: none; }
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/* MenuSkeleton: the menu's own rows; only the widths of the bars are set here. */
|
|
90
|
+
@layer sypnia.components {
|
|
91
|
+
.sy-menu[data-skeleton] { min-width: 12rem; }
|
|
92
|
+
.sy-menu[data-skeleton] .sy-menu__item .sy-skeleton--text { width: 7rem; margin-block: 0; }
|
|
93
|
+
.sy-menu[data-skeleton] .sy-menu__item:nth-child(2n) .sy-skeleton--text { width: 9rem; }
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/* A press outside a panel that cannot close (unsaved changes, a confirm at work) nudges it instead; with unsaved
|
|
97
|
+
changes a line above the buttons says how to close it. */
|
|
98
|
+
@layer sypnia.components {
|
|
99
|
+
@keyframes sy-nudge { 30% { scale: 1.015; } 60% { scale: 0.995; } }
|
|
100
|
+
.sy-nudge, .sy-nudge-2 { animation: sy-nudge var(--dur-2) var(--ease-out); }
|
|
101
|
+
.sy-nudge-2 { animation-name: sy-nudge-b; }
|
|
102
|
+
@keyframes sy-nudge-b { 30% { scale: 1.015; } 60% { scale: 0.995; } }
|
|
103
|
+
@media (prefers-reduced-motion: reduce) { .sy-nudge, .sy-nudge-2 { animation: none; } }
|
|
104
|
+
.sy-overlay__keep { margin: 0; }
|
|
105
|
+
.sy-overlay__keep:empty { display: none; }
|
|
106
|
+
.sy-overlay__keep--on { display: flex; gap: 0.5em; margin: 0 var(--pad-panel) var(--s-3); padding: var(--s-2) var(--s-3); border-radius: var(--r-2); background: var(--warn-bg); color: var(--fg); font-size: var(--text-xs); font-weight: 600; }
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
@layer sypnia.components {
|
|
110
|
+
/* Lightbox scrim. */
|
|
111
|
+
.sy-scrim--lightbox { background: color-mix(in oklab, var(--bg) 94%, black); padding: 0; place-items: stretch; }
|
|
112
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* Primitives: the little look some behaviours need. */
|
|
2
|
+
@layer sypnia.components {
|
|
3
|
+
.sy-sr-only--focusable:focus, .sy-sr-only--focusable:focus-within { position: static; width: auto; height: auto; margin: 0; clip: auto; white-space: normal; overflow: visible; }
|
|
4
|
+
.sy-layer { position: fixed; z-index: var(--z-layer); }
|
|
5
|
+
.sy-layer--inset { inset: 0; }
|
|
6
|
+
.sy-positioned { position: fixed; z-index: var(--z-layer); }
|
|
7
|
+
.sy-collapsible { border-bottom: 1px solid var(--line); }
|
|
8
|
+
.sy-collapsible__head { margin: 0; font: inherit; }
|
|
9
|
+
.sy-collapsible__trigger { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); width: 100%; min-height: var(--ctl-h); padding: var(--s-3) 0; border: 0; background: none; color: var(--fg); font-size: var(--text-md); font-weight: 600; text-align: start; cursor: pointer; border-radius: var(--r-1); }
|
|
10
|
+
.sy-collapsible__trigger:hover { color: var(--fg); }
|
|
11
|
+
.sy-collapsible__icon { color: var(--fg-muted); transition: rotate var(--dur-2) var(--ease-out); }
|
|
12
|
+
.sy-collapsible[data-expanded] .sy-collapsible__icon { rotate: 180deg; }
|
|
13
|
+
.sy-collapsible__body { padding: 0 0 var(--s-4); color: var(--fg-soft); font-size: var(--text-sm); line-height: 1.6; }
|
|
14
|
+
.sy-hotkey { display: inline-flex; align-items: center; gap: 0.25em; white-space: nowrap; }
|
|
15
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* Screens: the frames of whole pages that live outside the console shell (AuthLayout). They adapt to their own width
|
|
2
|
+
with a container query, so they look the same full screen, in a dialog or in a gallery frame. */
|
|
3
|
+
@layer sypnia.components {
|
|
4
|
+
.sy-auth { container: sy-auth / inline-size; min-height: var(--sy-auth-h, 100dvh); display: grid; grid-template-rows: auto 1fr auto; background: var(--bg); color: var(--fg); }
|
|
5
|
+
.sy-auth__top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--s-3) var(--s-4); padding: var(--s-4) var(--pad-page); }
|
|
6
|
+
.sy-auth__home { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--fg); text-decoration: none; border-radius: var(--r-1); }
|
|
7
|
+
.sy-auth__tools { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; }
|
|
8
|
+
.sy-auth__body { display: grid; align-items: center; gap: var(--s-7); padding: var(--s-3) var(--pad-page) var(--s-6); min-width: 0; }
|
|
9
|
+
.sy-auth__main { display: grid; gap: var(--s-4); width: min(100%, var(--_w, 26rem)); margin-inline: auto; min-width: 0; }
|
|
10
|
+
.sy-auth--md .sy-auth__main { --_w: 34rem; }
|
|
11
|
+
.sy-auth--plain .sy-auth__main { --_w: 36rem; }
|
|
12
|
+
.sy-auth__card { display: grid; gap: var(--s-5); padding: calc(var(--pad-panel) * 1.6); border: 1px solid var(--line); border-radius: var(--r-3); background: var(--bg-raised); box-shadow: var(--shadow-1); min-width: 0; }
|
|
13
|
+
.sy-auth--plain .sy-auth__card { padding: 0; border: 0; background: none; box-shadow: none; }
|
|
14
|
+
.sy-auth__head { display: grid; gap: 0.4rem; }
|
|
15
|
+
.sy-auth__title { font-family: var(--font-voice); font-weight: 400; font-size: var(--display-xs); letter-spacing: var(--track-voice); word-spacing: 0; line-height: 1.15; text-wrap: balance; }
|
|
16
|
+
.sy-auth__title:focus { outline: none; }
|
|
17
|
+
.sy-auth__title:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; border-radius: var(--r-1); }
|
|
18
|
+
.sy-auth__lead { color: var(--fg-muted); font-size: var(--text-sm); text-wrap: pretty; }
|
|
19
|
+
.sy-auth__after { text-align: center; font-size: var(--text-sm); color: var(--fg-muted); text-wrap: balance; }
|
|
20
|
+
.sy-auth__aside { display: none; }
|
|
21
|
+
.sy-auth__foot { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-1) var(--s-5); padding: var(--s-3) var(--pad-page) var(--s-4); font-size: var(--text-xs); color: var(--fg-muted); }
|
|
22
|
+
.sy-auth__foot a { color: inherit; display: inline-flex; align-items: center; min-height: 2.75rem; }
|
|
23
|
+
.sy-auth__foot a:hover { color: var(--fg); }
|
|
24
|
+
.sy-auth[data-skeleton] .sy-auth__head > span { display: block; }
|
|
25
|
+
|
|
26
|
+
/* Wide enough for the aside: the task on one side, what the person gets on the other. */
|
|
27
|
+
@container sy-auth (min-width: 60rem) {
|
|
28
|
+
.sy-auth--aside .sy-auth__body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
|
|
29
|
+
.sy-auth--aside .sy-auth__main { align-content: center; }
|
|
30
|
+
.sy-auth--aside .sy-auth__aside { display: grid; align-content: center; gap: var(--s-5); padding: var(--s-7); border-radius: var(--r-4); background: var(--bg-inset); border: 1px solid var(--line); min-width: 0; }
|
|
31
|
+
}
|
|
32
|
+
/* Phone width: the card becomes the page. */
|
|
33
|
+
@container sy-auth (max-width: 36rem) {
|
|
34
|
+
.sy-auth__card { padding: 0; border: 0; background: none; box-shadow: none; }
|
|
35
|
+
.sy-auth__body { align-items: start; padding-block: var(--s-2) var(--s-5); }
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
@layer sypnia.components {
|
|
39
|
+
/* In the card, the form's buttons take the whole width: one task, one way forward. */
|
|
40
|
+
.sy-auth__card .sy-form > .sy-actions { display: grid; grid-template-columns: minmax(0, 1fr); justify-content: stretch; }
|
|
41
|
+
.sy-auth__card .sy-form > .sy-actions > [type="submit"] { order: -1; }
|
|
42
|
+
}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
/* AppShell: the frame of every signed-in page. Top bar (brand, where you are, search, account), side navigation,
|
|
2
|
+
content. On phones the side navigation becomes a bottom bar with five named items and «More». */
|
|
3
|
+
@layer sypnia.components {
|
|
4
|
+
.sy-shell { --_top: 3.5rem; --_side: 14.5rem; display: grid; grid-template-columns: var(--_side) minmax(0, 1fr); grid-template-rows: auto var(--_top) minmax(0, 1fr); grid-template-areas: 'banner banner' 'top top' 'side main'; height: var(--sy-shell-h, 100dvh); background: var(--bg); color: var(--fg); }
|
|
5
|
+
.sy-shell--no-side { grid-template-columns: 0 minmax(0, 1fr); }
|
|
6
|
+
.sy-shell__banner { grid-area: banner; }
|
|
7
|
+
.sy-skip { position: absolute; left: var(--s-4); top: -5rem; z-index: var(--z-layer); padding: 0.5rem 0.9rem; border-radius: var(--r-2); background: var(--light-fill); color: var(--on-light); font-weight: 600; font-size: var(--text-sm); text-decoration: none; box-shadow: 0 0 0 1.5px var(--light-ring); }
|
|
8
|
+
.sy-skip:focus { top: 0.6rem; }
|
|
9
|
+
|
|
10
|
+
.sy-topbar { grid-area: top; display: flex; align-items: center; gap: var(--s-3); padding-inline: var(--s-4); border-bottom: 1px solid var(--line); background: var(--bg); min-width: 0; z-index: var(--z-shell); }
|
|
11
|
+
.sy-topbar__brand { display: inline-flex; align-items: center; flex: none; color: inherit; text-decoration: none; border-radius: var(--r-1); }
|
|
12
|
+
.sy-topbar__where { flex: 0 1 auto; min-width: 0; }
|
|
13
|
+
.sy-topbar__spacer { flex: 1 1 0; }
|
|
14
|
+
.sy-topbar__tools { display: flex; align-items: center; gap: var(--s-2); flex: none; }
|
|
15
|
+
/* The search button: looks like a field, opens the command palette. */
|
|
16
|
+
.sy-search-btn { display: inline-flex; align-items: center; gap: 0.55rem; min-height: var(--ctl-h-sm); min-width: 13rem; padding: 0 0.45rem 0 0.7rem; border: 1px solid var(--line-strong); border-radius: var(--r-2); background: var(--bg-inset); color: var(--fg-muted); font-size: var(--text-xs); cursor: pointer; transition: border-color var(--dur-1), color var(--dur-1); }
|
|
17
|
+
.sy-search-btn:hover { border-color: var(--fg-muted); color: var(--fg); }
|
|
18
|
+
.sy-search-btn > span { flex: 1 1 0; text-align: start; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
19
|
+
|
|
20
|
+
/* Logo: the mark, the name, and the product it belongs to. */
|
|
21
|
+
.sy-logo { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-voice); font-size: 1.2rem; letter-spacing: var(--track-voice); word-spacing: 0; line-height: 1; white-space: nowrap; color: var(--fg); }
|
|
22
|
+
.sy-logo svg { width: 1.85rem; height: 1.85rem; flex: none; }
|
|
23
|
+
.sy-logo__light { fill: var(--glow); stroke: var(--light-ring); stroke-width: 1.4; }
|
|
24
|
+
.sy-logo small { font-family: var(--font-ui); font-size: var(--text-xs); font-weight: 600; letter-spacing: 0; color: var(--fg-muted); padding: 0.25em 0.5em; border: 1px solid var(--line); border-radius: var(--r-1); }
|
|
25
|
+
|
|
26
|
+
.sy-sidebar { grid-area: side; display: flex; flex-direction: column; gap: 2px; padding: var(--s-3) var(--s-2); border-inline-end: 1px solid var(--line); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; min-width: 0; }
|
|
27
|
+
.sy-shell--no-side .sy-sidebar { display: none; }
|
|
28
|
+
.sy-sidebar__label { padding: var(--s-3) 0.65rem 0.3rem; font-size: var(--text-2xs); font-weight: 600; color: var(--fg-muted); }
|
|
29
|
+
.sy-sidebar__foot { margin-top: auto; display: flex; flex-direction: column; gap: 2px; padding-top: var(--s-3); }
|
|
30
|
+
.sy-nav-item { position: relative; display: flex; align-items: center; gap: 0.65rem; min-height: var(--ctl-h-sm); padding: 0.3rem 0.65rem; border: 0; border-radius: 7px; background: none; color: var(--fg-soft); font-size: var(--text-sm); font-weight: 500; text-decoration: none; text-align: start; cursor: pointer; transition: background var(--dur-1), color var(--dur-1); }
|
|
31
|
+
.sy-nav-item .sy-icon { width: 1.15rem; height: 1.15rem; color: var(--fg-muted); transition: color var(--dur-1); }
|
|
32
|
+
.sy-nav-item > span { flex: 1 1 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
33
|
+
.sy-nav-item > .sy-nav-item__badge { flex: none; min-width: 1.25rem; padding: 0 0.35rem; border-radius: var(--r-full); background: var(--bg-inset); box-shadow: inset 0 0 0 1px var(--line); color: var(--fg-muted); font-size: var(--text-2xs); font-weight: 600; line-height: 1.25rem; text-align: center; font-variant-numeric: tabular-nums; }
|
|
34
|
+
.sy-nav-item:hover { background: var(--state-hover); color: var(--fg); }
|
|
35
|
+
.sy-nav-item[aria-current] { background: var(--state-press); color: var(--fg); font-weight: 600; }
|
|
36
|
+
.sy-nav-item[aria-current] .sy-icon { color: var(--fg); }
|
|
37
|
+
/* The light sits beside the current place. */
|
|
38
|
+
.sy-nav-item[aria-current]::before { content: ''; position: absolute; left: -0.3rem; top: 50%; width: 6px; height: 6px; border-radius: 50%; translate: 0 -50%; background: var(--light-fill); box-shadow: 0 0 0 1.5px var(--light-ring), 0 0 0.6rem 0 color-mix(in oklab, var(--glow) 55%, transparent); }
|
|
39
|
+
|
|
40
|
+
.sy-shell__main { grid-area: main; overflow-y: auto; overscroll-behavior: contain; min-width: 0; outline: none; scrollbar-gutter: stable; }
|
|
41
|
+
|
|
42
|
+
/* Phones: five named items and «More», at the bottom, within reach of the thumb. */
|
|
43
|
+
.sy-mobile-nav { display: none; }
|
|
44
|
+
@media (max-width: 56rem) {
|
|
45
|
+
.sy-shell { --_top: 3.25rem; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto var(--_top) minmax(0, 1fr) auto; grid-template-areas: 'banner' 'top' 'main' 'nav'; }
|
|
46
|
+
.sy-shell > .sy-sidebar { display: none; }
|
|
47
|
+
.sy-topbar { padding-inline: var(--s-3); gap: var(--s-2); }
|
|
48
|
+
.sy-search-btn { min-width: 0; padding: 0; width: var(--ctl-h-sm); justify-content: center; border-color: transparent; background: none; }
|
|
49
|
+
.sy-search-btn > span, .sy-search-btn > .sy-kbd { display: none; }
|
|
50
|
+
.sy-logo small { display: none; }
|
|
51
|
+
.sy-mobile-nav { grid-area: nav; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); border-top: 1px solid var(--line); background: var(--bg-raised); padding-bottom: env(safe-area-inset-bottom); z-index: var(--z-shell); }
|
|
52
|
+
.sy-mobile-nav__item { position: relative; display: grid; justify-items: center; align-content: center; gap: 0.2rem; min-height: 3.5rem; padding: 0.35rem 0.1rem; border: 0; background: none; color: var(--fg-muted); font-size: 0.6875rem; font-weight: 600; line-height: 1.1; letter-spacing: 0; word-spacing: 0; text-decoration: none; text-align: center; cursor: pointer; min-width: 0; }
|
|
53
|
+
.sy-mobile-nav__item .sy-icon { width: 1.35rem; height: 1.35rem; }
|
|
54
|
+
.sy-mobile-nav__item > span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
55
|
+
.sy-mobile-nav__item[aria-current], .sy-mobile-nav__item[aria-expanded='true'] { color: var(--fg); }
|
|
56
|
+
.sy-mobile-nav__item[aria-current]::before { content: ''; position: absolute; top: -3px; left: 50%; width: 6px; height: 6px; border-radius: 50%; translate: -50% 0; background: var(--light-fill); box-shadow: 0 0 0 1.5px var(--light-ring), 0 0 0.6rem 0 color-mix(in oklab, var(--glow) 55%, transparent); }
|
|
57
|
+
.sy-more-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); }
|
|
58
|
+
.sy-more-grid .sy-nav-item { min-height: 3rem; border: 1px solid var(--line); border-radius: var(--r-2); }
|
|
59
|
+
.sy-more-grid .sy-nav-item[aria-current]::before { display: none; }
|
|
60
|
+
.sy-more-grid .sy-nav-item[aria-current] { border-color: var(--light); background: var(--state-selected); }
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/* CommandPalette: search everything and go there. Opens with ⌘K or Ctrl K. */
|
|
64
|
+
.sy-palette { width: min(100%, 36rem); max-height: min(70dvh, 32rem); display: flex; flex-direction: column; background: var(--bg-raised); color: var(--fg); border: 1px solid var(--line); border-radius: var(--r-3); box-shadow: var(--shadow-3); outline: none; overflow: hidden; animation: sy-dialog-in var(--dur-2) var(--ease-out) both; }
|
|
65
|
+
.sy-palette__input { display: flex; align-items: center; gap: 0.7rem; padding: 0 var(--s-4); border-bottom: 1px solid var(--line); color: var(--fg-muted); }
|
|
66
|
+
.sy-palette__input input { flex: 1 1 0; min-width: 0; height: 3.25rem; border: 0; background: none; outline: none; font-size: var(--text-md); color: var(--fg); }
|
|
67
|
+
.sy-palette__input input::placeholder { color: var(--fg-muted); }
|
|
68
|
+
.sy-palette__list { overflow-y: auto; overscroll-behavior: contain; padding: 0.4rem; margin: 0; list-style: none; }
|
|
69
|
+
.sy-palette__group { padding: 0.6rem 0.6rem 0.25rem; font-size: var(--text-2xs); font-weight: 600; color: var(--fg-muted); }
|
|
70
|
+
.sy-palette__item { display: flex; align-items: center; gap: 0.7rem; width: 100%; min-height: var(--ctl-h); padding: 0.3rem 0.6rem; border: 0; border-radius: 7px; background: none; color: var(--fg); font-size: var(--text-sm); text-align: start; cursor: pointer; }
|
|
71
|
+
.sy-palette__item .sy-icon { color: var(--fg-muted); }
|
|
72
|
+
.sy-palette__item small { margin-inline-start: auto; color: var(--fg-muted); font-size: var(--text-xs); white-space: nowrap; }
|
|
73
|
+
.sy-palette__item[aria-selected='true'] { background: var(--state-selected); }
|
|
74
|
+
.sy-palette__none { padding: var(--s-5) var(--s-4); text-align: center; color: var(--fg-muted); font-size: var(--text-sm); }
|
|
75
|
+
.sy-palette__foot { display: flex; gap: var(--s-4); padding: 0.5rem var(--s-4); border-top: 1px solid var(--line); font-size: var(--text-2xs); color: var(--fg-muted); }
|
|
76
|
+
.sy-palette__foot span { display: inline-flex; align-items: center; gap: 0.35rem; }
|
|
77
|
+
@media (max-width: 40rem) { .sy-palette__foot { display: none; } .sy-scrim--top { padding-top: var(--s-4); } }
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/* AppShellSkeleton: the real frame; only the bars are drawn here. */
|
|
81
|
+
@layer sypnia.components {
|
|
82
|
+
.sy-shell[data-skeleton] .sy-topbar__where { flex: 0 1 12rem; min-width: 0; }
|
|
83
|
+
.sy-shell[data-skeleton] .sy-topbar__where .sy-skeleton { width: 100%; }
|
|
84
|
+
.sy-shell[data-skeleton] .sy-topbar__tools { display: flex; gap: var(--s-2); }
|
|
85
|
+
.sy-shell[data-skeleton] .sy-nav-item { cursor: default; }
|
|
86
|
+
.sy-shell[data-skeleton] .sy-nav-item .sy-skeleton--text { width: 70%; }
|
|
87
|
+
.sy-shell[data-skeleton] .sy-nav-item:nth-child(3n + 2) .sy-skeleton--text { width: 50%; }
|
|
88
|
+
.sy-shell[data-skeleton] .sy-mobile-nav__item .sy-skeleton--icon-xs { width: 1.35rem; height: 1.35rem; }
|
|
89
|
+
.sy-shell[data-skeleton] .sy-mobile-nav__item .sy-skeleton--text { width: 2.5rem; height: 0.6rem; margin-block: 0.08rem; }
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
@layer sypnia.components {
|
|
93
|
+
/* Shell parts on their own: a TopBar or Sidebar outside AppShell takes its own box. */
|
|
94
|
+
.sy-topbar--standalone { min-height: 3.5rem; }
|
|
95
|
+
/* Where the person is (organization / project) stays on one line and shrinks; it never wraps the bar to three rows. */
|
|
96
|
+
.sy-topbar__where > :is(.sy-row, div) { flex-wrap: nowrap; min-width: 0; }
|
|
97
|
+
.sy-topbar__where .sy-switcher { flex: 0 1 auto; min-width: 2.75rem; }
|
|
98
|
+
/* On phones the organization shows only its initials (its name stays in the button's label and in the menu), and the
|
|
99
|
+
project takes the room that is left, so neither shrinks to a sliver. */
|
|
100
|
+
@media (max-width: 40rem) {
|
|
101
|
+
.sy-topbar__where { flex: 1 1 auto; }
|
|
102
|
+
.sy-topbar__where > :is(.sy-row, div) { gap: var(--s-1); }
|
|
103
|
+
.sy-topbar__where .sy-switcher { max-width: none; }
|
|
104
|
+
.sy-topbar__where .sy-switcher:has(> .sy-avatar) { flex: none; min-width: 2.75rem; justify-content: center; }
|
|
105
|
+
.sy-topbar__where .sy-switcher:has(> .sy-avatar) > :is(.sy-switcher__name, .sy-icon:last-child) { display: none; }
|
|
106
|
+
.sy-topbar__where .sy-switcher:not(:has(> .sy-avatar)) { flex: 0 1 auto; min-width: 4.5rem; }
|
|
107
|
+
}
|
|
108
|
+
.sy-sidebar--standalone { border: 1px solid var(--line); border-radius: var(--r-3); max-width: 16rem; }
|
|
109
|
+
.sy-sidebar__section { display: grid; gap: 2px; }
|
|
110
|
+
.sy-sidebar__section + .sy-sidebar__section { margin-top: var(--s-3); }
|
|
111
|
+
.sy-nav-item__badge { flex: none; min-width: 1.25rem; padding: 0 0.35rem; border-radius: 99px; background: var(--bg-inset); color: var(--fg-soft); font-size: var(--text-2xs); font-weight: 600; text-align: center; }
|
|
112
|
+
.sy-mobile-nav--standalone { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); border: 1px solid var(--line); border-radius: var(--r-3); background: var(--bg-raised); }
|
|
113
|
+
@media (min-width: 40.01rem) {
|
|
114
|
+
.sy-mobile-nav--standalone .sy-mobile-nav__item { position: relative; display: grid; justify-items: center; align-content: center; gap: 0.2rem; min-height: 3.5rem; padding: 0.35rem 0.1rem; border: 0; background: none; color: var(--fg-muted); font-size: 0.6875rem; font-weight: 600; line-height: 1.1; text-decoration: none; cursor: pointer; min-width: 0; }
|
|
115
|
+
.sy-mobile-nav--standalone .sy-mobile-nav__item .sy-icon { width: 1.35rem; height: 1.35rem; }
|
|
116
|
+
.sy-mobile-nav--standalone .sy-mobile-nav__item[aria-current] { color: var(--fg); }
|
|
117
|
+
}
|
|
118
|
+
}
|