@panphora/bevel 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +16 -0
- package/README.md +226 -0
- package/bevel-fonts.css +16 -0
- package/bevel.css +3075 -0
- package/bevel.js +2126 -0
- package/dist/react/components/activity-feed.d.ts +89 -0
- package/dist/react/components/activity-feed.js +54 -0
- package/dist/react/components/alert-dialog.d.ts +14 -0
- package/dist/react/components/alert-dialog.js +19 -0
- package/dist/react/components/app-shell.d.ts +98 -0
- package/dist/react/components/app-shell.js +86 -0
- package/dist/react/components/app-toolbar.d.ts +19 -0
- package/dist/react/components/app-toolbar.js +22 -0
- package/dist/react/components/avatar-group.d.ts +67 -0
- package/dist/react/components/avatar-group.js +49 -0
- package/dist/react/components/badge-and-pill.d.ts +34 -0
- package/dist/react/components/badge-and-pill.js +12 -0
- package/dist/react/components/breadcrumbs.d.ts +56 -0
- package/dist/react/components/breadcrumbs.js +44 -0
- package/dist/react/components/bulk-bar.d.ts +22 -0
- package/dist/react/components/bulk-bar.js +59 -0
- package/dist/react/components/button.d.ts +15 -0
- package/dist/react/components/button.js +20 -0
- package/dist/react/components/callout-and-hint.d.ts +17 -0
- package/dist/react/components/callout-and-hint.js +8 -0
- package/dist/react/components/checkbox.d.ts +5 -0
- package/dist/react/components/checkbox.js +13 -0
- package/dist/react/components/chip.d.ts +149 -0
- package/dist/react/components/chip.js +29 -0
- package/dist/react/components/code-block.d.ts +50 -0
- package/dist/react/components/code-block.js +77 -0
- package/dist/react/components/code-editor.d.ts +122 -0
- package/dist/react/components/code-editor.js +695 -0
- package/dist/react/components/column-manager.d.ts +28 -0
- package/dist/react/components/column-manager.js +85 -0
- package/dist/react/components/combobox.d.ts +32 -0
- package/dist/react/components/combobox.js +37 -0
- package/dist/react/components/data-grid.d.ts +108 -0
- package/dist/react/components/data-grid.js +159 -0
- package/dist/react/components/data-table.d.ts +2 -0
- package/dist/react/components/data-table.js +6 -0
- package/dist/react/components/date.d.ts +23 -0
- package/dist/react/components/date.js +11 -0
- package/dist/react/components/details.d.ts +13 -0
- package/dist/react/components/details.js +20 -0
- package/dist/react/components/dialog.d.ts +74 -0
- package/dist/react/components/dialog.js +31 -0
- package/dist/react/components/diff-view.d.ts +73 -0
- package/dist/react/components/diff-view.js +68 -0
- package/dist/react/components/documents.d.ts +70 -0
- package/dist/react/components/documents.js +10 -0
- package/dist/react/components/drawer.d.ts +45 -0
- package/dist/react/components/drawer.js +35 -0
- package/dist/react/components/editable-grid-cells.d.ts +32 -0
- package/dist/react/components/editable-grid-cells.js +116 -0
- package/dist/react/components/eyebrow-kicker-lede-pull-quote.d.ts +39 -0
- package/dist/react/components/eyebrow-kicker-lede-pull-quote.js +12 -0
- package/dist/react/components/field.d.ts +32 -0
- package/dist/react/components/field.js +27 -0
- package/dist/react/components/file-tree.d.ts +75 -0
- package/dist/react/components/file-tree.js +247 -0
- package/dist/react/components/file.d.ts +43 -0
- package/dist/react/components/file.js +73 -0
- package/dist/react/components/files-table.d.ts +174 -0
- package/dist/react/components/files-table.js +237 -0
- package/dist/react/components/filter-builder.d.ts +37 -0
- package/dist/react/components/filter-builder.js +109 -0
- package/dist/react/components/form-error-summary.d.ts +16 -0
- package/dist/react/components/form-error-summary.js +49 -0
- package/dist/react/components/icon-button.d.ts +8 -0
- package/dist/react/components/icon-button.js +14 -0
- package/dist/react/components/icon.d.ts +7 -0
- package/dist/react/components/icon.js +15 -0
- package/dist/react/components/image.d.ts +72 -0
- package/dist/react/components/image.js +24 -0
- package/dist/react/components/inline-edit.d.ts +70 -0
- package/dist/react/components/inline-edit.js +149 -0
- package/dist/react/components/input.d.ts +29 -0
- package/dist/react/components/input.js +20 -0
- package/dist/react/components/kanban-board.d.ts +140 -0
- package/dist/react/components/kanban-board.js +374 -0
- package/dist/react/components/layout.d.ts +51 -0
- package/dist/react/components/layout.js +28 -0
- package/dist/react/components/list.d.ts +28 -0
- package/dist/react/components/list.js +6 -0
- package/dist/react/components/masthead-and-verdict.d.ts +60 -0
- package/dist/react/components/masthead-and-verdict.js +8 -0
- package/dist/react/components/menu.d.ts +26 -0
- package/dist/react/components/menu.js +31 -0
- package/dist/react/components/multi-select-picker.d.ts +49 -0
- package/dist/react/components/multi-select-picker.js +20 -0
- package/dist/react/components/note.d.ts +33 -0
- package/dist/react/components/note.js +8 -0
- package/dist/react/components/number-field.d.ts +16 -0
- package/dist/react/components/number-field.js +17 -0
- package/dist/react/components/pagination.d.ts +45 -0
- package/dist/react/components/pagination.js +87 -0
- package/dist/react/components/persistent-action-banner.d.ts +71 -0
- package/dist/react/components/persistent-action-banner.js +39 -0
- package/dist/react/components/popconfirm.d.ts +42 -0
- package/dist/react/components/popconfirm.js +59 -0
- package/dist/react/components/popover.d.ts +16 -0
- package/dist/react/components/popover.js +21 -0
- package/dist/react/components/progress-and-gauge.d.ts +44 -0
- package/dist/react/components/progress-and-gauge.js +19 -0
- package/dist/react/components/radio.d.ts +7 -0
- package/dist/react/components/radio.js +13 -0
- package/dist/react/components/rich-text-toolbar.d.ts +26 -0
- package/dist/react/components/rich-text-toolbar.js +64 -0
- package/dist/react/components/rows-and-card.d.ts +88 -0
- package/dist/react/components/rows-and-card.js +10 -0
- package/dist/react/components/save-status-indicator.d.ts +11 -0
- package/dist/react/components/save-status-indicator.js +33 -0
- package/dist/react/components/segmented-control.d.ts +21 -0
- package/dist/react/components/segmented-control.js +15 -0
- package/dist/react/components/select.d.ts +29 -0
- package/dist/react/components/select.js +29 -0
- package/dist/react/components/selectable-cards.d.ts +30 -0
- package/dist/react/components/selectable-cards.js +29 -0
- package/dist/react/components/settings-rows.d.ts +51 -0
- package/dist/react/components/settings-rows.js +8 -0
- package/dist/react/components/sidebar-nav.d.ts +77 -0
- package/dist/react/components/sidebar-nav.js +41 -0
- package/dist/react/components/skeleton-and-empty.d.ts +51 -0
- package/dist/react/components/skeleton-and-empty.js +14 -0
- package/dist/react/components/slider.d.ts +19 -0
- package/dist/react/components/slider.js +17 -0
- package/dist/react/components/small-charts.d.ts +60 -0
- package/dist/react/components/small-charts.js +76 -0
- package/dist/react/components/sortable.d.ts +30 -0
- package/dist/react/components/sortable.js +85 -0
- package/dist/react/components/split-button.d.ts +38 -0
- package/dist/react/components/split-button.js +43 -0
- package/dist/react/components/split-panes.d.ts +35 -0
- package/dist/react/components/split-panes.js +102 -0
- package/dist/react/components/stat-tiles.d.ts +54 -0
- package/dist/react/components/stat-tiles.js +8 -0
- package/dist/react/components/steps.d.ts +11 -0
- package/dist/react/components/steps.js +13 -0
- package/dist/react/components/switch.d.ts +6 -0
- package/dist/react/components/switch.js +13 -0
- package/dist/react/components/table.d.ts +61 -0
- package/dist/react/components/table.js +6 -0
- package/dist/react/components/tabs.d.ts +7 -0
- package/dist/react/components/tabs.js +13 -0
- package/dist/react/components/tags.d.ts +33 -0
- package/dist/react/components/tags.js +83 -0
- package/dist/react/components/textarea.d.ts +10 -0
- package/dist/react/components/textarea.js +6 -0
- package/dist/react/components/toast.d.ts +35 -0
- package/dist/react/components/toast.js +90 -0
- package/dist/react/components/tooltip-and-key.d.ts +20 -0
- package/dist/react/components/tooltip-and-key.js +20 -0
- package/dist/react/components/tree-view.d.ts +34 -0
- package/dist/react/components/tree-view.js +118 -0
- package/dist/react/components/upload-dropzone.d.ts +92 -0
- package/dist/react/components/upload-dropzone.js +116 -0
- package/dist/react/components/wizard-shell.d.ts +78 -0
- package/dist/react/components/wizard-shell.js +176 -0
- package/dist/react/fonts.css.d.ts +1 -0
- package/dist/react/index.d.ts +76 -0
- package/dist/react/index.js +77 -0
- package/dist/react/integrations/quickcrop.d.ts +58 -0
- package/dist/react/integrations/quickcrop.js +137 -0
- package/dist/react/integrations/richclay.d.ts +43 -0
- package/dist/react/integrations/richclay.js +129 -0
- package/dist/react/internal/classes.d.ts +3 -0
- package/dist/react/internal/classes.js +10 -0
- package/dist/react/internal/close-mark.d.ts +1 -0
- package/dist/react/internal/close-mark.js +10 -0
- package/dist/react/internal/controllable-state.d.ts +9 -0
- package/dist/react/internal/controllable-state.js +22 -0
- package/dist/react/internal/drop-effect.d.ts +28 -0
- package/dist/react/internal/drop-effect.js +8 -0
- package/dist/react/internal/form-reset.d.ts +2 -0
- package/dist/react/internal/form-reset.js +22 -0
- package/dist/react/internal/format.d.ts +1 -0
- package/dist/react/internal/format.js +14 -0
- package/dist/react/internal/link.d.ts +2 -0
- package/dist/react/internal/link.js +8 -0
- package/dist/react/internal/part.d.ts +20 -0
- package/dist/react/internal/part.js +47 -0
- package/dist/react/internal/pointer-session.d.ts +8 -0
- package/dist/react/internal/pointer-session.js +60 -0
- package/dist/react/internal/refs.d.ts +2 -0
- package/dist/react/internal/refs.js +22 -0
- package/dist/react/internal/rich-text.d.ts +28 -0
- package/dist/react/internal/rich-text.js +4 -0
- package/dist/react/internal/table-context.d.ts +39 -0
- package/dist/react/internal/table-context.js +12 -0
- package/dist/react/internal/use-object-url.d.ts +1 -0
- package/dist/react/internal/use-object-url.js +15 -0
- package/dist/react/layout.css +274 -0
- package/dist/react/layout.css.d.ts +1 -0
- package/dist/react/models/filter.d.ts +31 -0
- package/dist/react/models/filter.js +79 -0
- package/dist/react/models/kanban.d.ts +51 -0
- package/dist/react/models/kanban.js +35 -0
- package/dist/react/models/reorder.d.ts +9 -0
- package/dist/react/models/reorder.js +23 -0
- package/dist/react/models/table.d.ts +85 -0
- package/dist/react/models/table.js +144 -0
- package/dist/react/models/tree.d.ts +16 -0
- package/dist/react/models/tree.js +26 -0
- package/dist/react/provider.d.ts +18 -0
- package/dist/react/provider.js +31 -0
- package/dist/react/recipes/context-hypercms.d.ts +17 -0
- package/dist/react/recipes/context-hypercms.js +71 -0
- package/dist/react/recipes/context-quickcrop.d.ts +8 -0
- package/dist/react/recipes/context-quickcrop.js +49 -0
- package/dist/react/theme.css +8004 -0
- package/dist/react/theme.css.d.ts +1 -0
- package/examples/README.md +34 -0
- package/examples/components/activity-feed.html +28 -0
- package/examples/components/app-shell.html +12 -0
- package/examples/components/app-toolbar.html +38 -0
- package/examples/components/avatar-group.html +27 -0
- package/examples/components/breadcrumbs.html +26 -0
- package/examples/components/bulk-bar.html +22 -0
- package/examples/components/code-block.html +12 -0
- package/examples/components/code-editor.html +25 -0
- package/examples/components/column-manager.html +9 -0
- package/examples/components/combobox.html +13 -0
- package/examples/components/context-hypercms.css +41 -0
- package/examples/components/context-hypercms.html +40 -0
- package/examples/components/context-hypercms.js +62 -0
- package/examples/components/context-quickcrop.html +137 -0
- package/examples/components/diff-view.html +9 -0
- package/examples/components/drawer.html +11 -0
- package/examples/components/editable-grid-cells.html +9 -0
- package/examples/components/file-browser.html +53 -0
- package/examples/components/file-tree.html +34 -0
- package/examples/components/files-table.html +80 -0
- package/examples/components/filter-builder.html +11 -0
- package/examples/components/form-error-summary.html +11 -0
- package/examples/components/index.html +51 -0
- package/examples/components/inline-edit.html +42 -0
- package/examples/components/kanban-board.html +42 -0
- package/examples/components/manifest.json +3279 -0
- package/examples/components/modal.html +11 -0
- package/examples/components/multi-select-picker.html +13 -0
- package/examples/components/pagination.html +32 -0
- package/examples/components/persistent-action-banner.html +23 -0
- package/examples/components/popconfirm.html +13 -0
- package/examples/components/popover-menu.html +13 -0
- package/examples/components/reference/baseline/DECISIONS.md +85 -0
- package/examples/components/reference/baseline/README.md +58 -0
- package/examples/components/reference/baseline/bevel-fonts.css +16 -0
- package/examples/components/reference/baseline/bevel.css +1339 -0
- package/examples/components/reference/baseline/bevel.js +496 -0
- package/examples/components/reference/baseline/fonts/LICENSE-ibm-plex-mono.txt +93 -0
- package/examples/components/reference/baseline/fonts/LICENSE-ibm-plex-sans.txt +93 -0
- package/examples/components/reference/baseline/fonts/LICENSE-newsreader.txt +93 -0
- package/examples/components/reference/baseline/fonts/ibm-plex-mono-latin-400-normal.woff2 +0 -0
- package/examples/components/reference/baseline/fonts/ibm-plex-mono-latin-500-normal.woff2 +0 -0
- package/examples/components/reference/baseline/fonts/ibm-plex-mono-latin-600-normal.woff2 +0 -0
- package/examples/components/reference/baseline/fonts/ibm-plex-sans-latin-400-italic.woff2 +0 -0
- package/examples/components/reference/baseline/fonts/ibm-plex-sans-latin-400-normal.woff2 +0 -0
- package/examples/components/reference/baseline/fonts/ibm-plex-sans-latin-500-normal.woff2 +0 -0
- package/examples/components/reference/baseline/fonts/ibm-plex-sans-latin-600-normal.woff2 +0 -0
- package/examples/components/reference/baseline/fonts/newsreader-latin-opsz-italic.woff2 +0 -0
- package/examples/components/reference/baseline/fonts/newsreader-latin-opsz-normal.woff2 +0 -0
- package/examples/components/reference/fable/IMPROVEMENTS.md +106 -0
- package/examples/components/reference/fable/PARENT-REPAIRS.md +17 -0
- package/examples/components/reference/fable/__pycache__/build_repairs.cpython-311.pyc +0 -0
- package/examples/components/reference/fable/__pycache__/kanban.cpython-311.pyc +0 -0
- package/examples/components/reference/fable/as-authored/IMPROVEMENTS-completed.md +106 -0
- package/examples/components/reference/fable/as-authored/base-astra.css +17 -0
- package/examples/components/reference/fable/as-authored/base-parent.css +416 -0
- package/examples/components/reference/fable/as-authored/build.py +858 -0
- package/examples/components/reference/fable/as-authored/fable.css +823 -0
- package/examples/components/reference/fable/as-authored/kanban-completed.css +235 -0
- package/examples/components/reference/fable/as-authored/kanban-completed.html +53 -0
- package/examples/components/reference/fable/as-authored/kanban-completed.py +212 -0
- package/examples/components/reference/fable/as-authored/kanban.py +207 -0
- package/examples/components/reference/fable/base-astra.css +17 -0
- package/examples/components/reference/fable/base-parent.css +416 -0
- package/examples/components/reference/fable/build.py +858 -0
- package/examples/components/reference/fable/build_repairs.py +25 -0
- package/examples/components/reference/fable/components/activity-feed.html +3 -0
- package/examples/components/reference/fable/components/app-toolbar.html +3 -0
- package/examples/components/reference/fable/components/avatar-group.html +4 -0
- package/examples/components/reference/fable/components/breadcrumbs.html +3 -0
- package/examples/components/reference/fable/components/code-block.html +9 -0
- package/examples/components/reference/fable/components/column-manager.html +3 -0
- package/examples/components/reference/fable/components/combobox.html +6 -0
- package/examples/components/reference/fable/components/context-hypercms.html +3 -0
- package/examples/components/reference/fable/components/context-quickcrop.html +4 -0
- package/examples/components/reference/fable/components/diff-view.html +13 -0
- package/examples/components/reference/fable/components/drawer.html +3 -0
- package/examples/components/reference/fable/components/editable-grid-cells.html +3 -0
- package/examples/components/reference/fable/components/filter-builder.html +3 -0
- package/examples/components/reference/fable/components/form-error-summary.html +4 -0
- package/examples/components/reference/fable/components/inline-edit.html +3 -0
- package/examples/components/reference/fable/components/kanban-board.html +53 -0
- package/examples/components/reference/fable/components/modal.html +3 -0
- package/examples/components/reference/fable/components/multi-select-picker.html +5 -0
- package/examples/components/reference/fable/components/pagination.html +3 -0
- package/examples/components/reference/fable/components/persistent-action-banner.html +4 -0
- package/examples/components/reference/fable/components/popconfirm.html +5 -0
- package/examples/components/reference/fable/components/popover-menu.html +3 -0
- package/examples/components/reference/fable/components/rich-text-toolbar.html +3 -0
- package/examples/components/reference/fable/components/save-status-indicator.html +2 -0
- package/examples/components/reference/fable/components/selectable-cards.html +3 -0
- package/examples/components/reference/fable/components/settings-rows.html +3 -0
- package/examples/components/reference/fable/components/sidebar-nav.html +4 -0
- package/examples/components/reference/fable/components/small-charts.html +5 -0
- package/examples/components/reference/fable/components/split-button.html +4 -0
- package/examples/components/reference/fable/components/split-panes.html +8 -0
- package/examples/components/reference/fable/components/stat-tiles.html +3 -0
- package/examples/components/reference/fable/components/toast-stack.html +5 -0
- package/examples/components/reference/fable/components/tree-view.html +4 -0
- package/examples/components/reference/fable/components/upload-dropzone.html +6 -0
- package/examples/components/reference/fable/components/wizard-shell.html +3 -0
- package/examples/components/reference/fable/coverage.json +414 -0
- package/examples/components/reference/fable/fable.css +823 -0
- package/examples/components/reference/fable/index.html +5 -0
- package/examples/components/reference/fable/kanban.css +237 -0
- package/examples/components/reference/fable/kanban.py +212 -0
- package/examples/components/reference/fable/parent-repairs.css +9 -0
- package/examples/components/reference/fixtures/data.json +102 -0
- package/examples/components/reference/fixtures/host.js +47 -0
- package/examples/components/reference/fixtures/static-host.js +39 -0
- package/examples/components/reference/fixtures/workspace.jpg +0 -0
- package/examples/components/reference/parent/CHANGES.md +179 -0
- package/examples/components/reference/parent/__pycache__/kanban.cpython-311.pyc +0 -0
- package/examples/components/reference/parent/base-astra.css +17 -0
- package/examples/components/reference/parent/base-parent.css +416 -0
- package/examples/components/reference/parent/build.py +148 -0
- package/examples/components/reference/parent/components/activity-feed.html +2 -0
- package/examples/components/reference/parent/components/app-toolbar.html +2 -0
- package/examples/components/reference/parent/components/avatar-group.html +4 -0
- package/examples/components/reference/parent/components/breadcrumbs.html +2 -0
- package/examples/components/reference/parent/components/code-block.html +8 -0
- package/examples/components/reference/parent/components/column-manager.html +2 -0
- package/examples/components/reference/parent/components/combobox.html +6 -0
- package/examples/components/reference/parent/components/context-hypercms.html +2 -0
- package/examples/components/reference/parent/components/context-quickcrop.html +4 -0
- package/examples/components/reference/parent/components/diff-view.html +4 -0
- package/examples/components/reference/parent/components/drawer.html +2 -0
- package/examples/components/reference/parent/components/editable-grid-cells.html +2 -0
- package/examples/components/reference/parent/components/filter-builder.html +2 -0
- package/examples/components/reference/parent/components/form-error-summary.html +2 -0
- package/examples/components/reference/parent/components/inline-edit.html +2 -0
- package/examples/components/reference/parent/components/kanban-board.html +84 -0
- package/examples/components/reference/parent/components/modal.html +2 -0
- package/examples/components/reference/parent/components/multi-select-picker.html +5 -0
- package/examples/components/reference/parent/components/pagination.html +2 -0
- package/examples/components/reference/parent/components/persistent-action-banner.html +4 -0
- package/examples/components/reference/parent/components/popconfirm.html +5 -0
- package/examples/components/reference/parent/components/popover-menu.html +2 -0
- package/examples/components/reference/parent/components/rich-text-toolbar.html +2 -0
- package/examples/components/reference/parent/components/save-status-indicator.html +2 -0
- package/examples/components/reference/parent/components/selectable-cards.html +2 -0
- package/examples/components/reference/parent/components/settings-rows.html +2 -0
- package/examples/components/reference/parent/components/sidebar-nav.html +4 -0
- package/examples/components/reference/parent/components/small-charts.html +2 -0
- package/examples/components/reference/parent/components/split-button.html +5 -0
- package/examples/components/reference/parent/components/split-panes.html +8 -0
- package/examples/components/reference/parent/components/stat-tiles.html +2 -0
- package/examples/components/reference/parent/components/toast-stack.html +5 -0
- package/examples/components/reference/parent/components/tree-view.html +4 -0
- package/examples/components/reference/parent/components/upload-dropzone.html +6 -0
- package/examples/components/reference/parent/components/wizard-shell.html +2 -0
- package/examples/components/reference/parent/coverage.json +414 -0
- package/examples/components/reference/parent/index.html +1 -0
- package/examples/components/reference/parent/kanban.css +114 -0
- package/examples/components/reference/parent/kanban.py +55 -0
- package/examples/components/reference/parent/refinement.css +53 -0
- package/examples/components/reference/selected/build.py +70 -0
- package/examples/components/reference/selected/components/activity-feed.html +3 -0
- package/examples/components/reference/selected/components/app-toolbar.html +3 -0
- package/examples/components/reference/selected/components/avatar-group.html +4 -0
- package/examples/components/reference/selected/components/breadcrumbs.html +3 -0
- package/examples/components/reference/selected/components/code-block.html +9 -0
- package/examples/components/reference/selected/components/column-manager.html +3 -0
- package/examples/components/reference/selected/components/combobox.html +6 -0
- package/examples/components/reference/selected/components/context-hypercms.html +3 -0
- package/examples/components/reference/selected/components/context-quickcrop.html +4 -0
- package/examples/components/reference/selected/components/diff-view.html +13 -0
- package/examples/components/reference/selected/components/drawer.html +3 -0
- package/examples/components/reference/selected/components/editable-grid-cells.html +3 -0
- package/examples/components/reference/selected/components/filter-builder.html +3 -0
- package/examples/components/reference/selected/components/form-error-summary.html +4 -0
- package/examples/components/reference/selected/components/inline-edit.html +3 -0
- package/examples/components/reference/selected/components/kanban-board.html +53 -0
- package/examples/components/reference/selected/components/modal.html +2 -0
- package/examples/components/reference/selected/components/multi-select-picker.html +5 -0
- package/examples/components/reference/selected/components/pagination.html +3 -0
- package/examples/components/reference/selected/components/persistent-action-banner.html +4 -0
- package/examples/components/reference/selected/components/popconfirm.html +5 -0
- package/examples/components/reference/selected/components/popover-menu.html +3 -0
- package/examples/components/reference/selected/components/rich-text-toolbar.html +3 -0
- package/examples/components/reference/selected/components/save-status-indicator.html +2 -0
- package/examples/components/reference/selected/components/selectable-cards.html +3 -0
- package/examples/components/reference/selected/components/settings-rows.html +3 -0
- package/examples/components/reference/selected/components/sidebar-nav.html +4 -0
- package/examples/components/reference/selected/components/small-charts.html +5 -0
- package/examples/components/reference/selected/components/split-button.html +4 -0
- package/examples/components/reference/selected/components/split-panes.html +8 -0
- package/examples/components/reference/selected/components/stat-tiles.html +3 -0
- package/examples/components/reference/selected/components/toast-stack.html +5 -0
- package/examples/components/reference/selected/components/tree-view.html +4 -0
- package/examples/components/reference/selected/components/upload-dropzone.html +6 -0
- package/examples/components/reference/selected/components/wizard-shell.html +3 -0
- package/examples/components/reference/selected/corrections.css +11 -0
- package/examples/components/reference/selected/coverage.json +413 -0
- package/examples/components/reference/selected/gallery-build.mjs +49 -0
- package/examples/components/reference/selected/gallery-spec.json +12 -0
- package/examples/components/reference/selected/index.html +1 -0
- package/examples/components/reference/selected/kanban-comparison.json +6 -0
- package/examples/components/reference/selected/manifest.json +476 -0
- package/examples/components/reference/sha256.json +142 -0
- package/examples/components/reference/sources/diagonal-close.svg +1 -0
- package/examples/components/reference/sources/hyperclay/public-assets/css/hyperclay-app-source.css +614 -0
- package/examples/components/reference/sources/hyperclay/public-assets/js/app.js +94 -0
- package/examples/components/reference/sources/hyperclayjs/src/ui/theModal.js +897 -0
- package/examples/components/reference/sources/hypercms/scripts/build-theme.js +203 -0
- package/examples/components/reference/sources/hypercms/src/anchor.js +24 -0
- package/examples/components/reference/sources/hypercms/src/apply-loop.js +167 -0
- package/examples/components/reference/sources/hypercms/src/diagnostics.js +44 -0
- package/examples/components/reference/sources/hypercms/src/enhance.js +173 -0
- package/examples/components/reference/sources/hypercms/src/events.js +955 -0
- package/examples/components/reference/sources/hypercms/src/form-builder.js +518 -0
- package/examples/components/reference/sources/hypercms/src/form-rules.js +208 -0
- package/examples/components/reference/sources/hypercms/src/hooks.js +100 -0
- package/examples/components/reference/sources/hypercms/src/hypercms-bundle.js +10 -0
- package/examples/components/reference/sources/hypercms/src/hypercms.js +347 -0
- package/examples/components/reference/sources/hypercms/src/morph.js +10 -0
- package/examples/components/reference/sources/hypercms/src/path.js +61 -0
- package/examples/components/reference/sources/hypercms/src/place.js +131 -0
- package/examples/components/reference/sources/hypercms/src/platform.js +131 -0
- package/examples/components/reference/sources/hypercms/src/refresh.js +87 -0
- package/examples/components/reference/sources/hypercms/src/richclay-bridge.js +140 -0
- package/examples/components/reference/sources/hypercms/src/row-identity.js +111 -0
- package/examples/components/reference/sources/hypercms/src/scaffold.js +10 -0
- package/examples/components/reference/sources/hypercms/src/session.js +303 -0
- package/examples/components/reference/sources/hypercms/src/shell.js +248 -0
- package/examples/components/reference/sources/hypercms/src/styles.css +298 -0
- package/examples/components/reference/sources/hypercms/src/targets.js +144 -0
- package/examples/components/reference/sources/hypercms/src/templates.js +656 -0
- package/examples/components/reference/sources/hypercms/src/theme/pixel-quiet.overrides.css +761 -0
- package/examples/components/reference/sources/hypercms/src/theme.generated.css +1772 -0
- package/examples/components/reference/sources/hypercms/src/toggle.js +666 -0
- package/examples/components/reference/sources/hypercms/src/unresolved.js +211 -0
- package/examples/components/reference/sources/hypercms/src/vendor/mirk.vendor.js +212 -0
- package/examples/components/reference/sources/hypercms/src/views/inline-layer.js +421 -0
- package/examples/components/reference/sources/hypercms/src/views/inline.js +1072 -0
- package/examples/components/reference/sources/hypercms/src/views/sidebar.js +97 -0
- package/examples/components/reference/sources/modal-reference.html +301 -0
- package/examples/components/reference/sources/quickcrop/quickcrop.css +124 -0
- package/examples/components/reference/sources/quickcrop/quickcrop.js +400 -0
- package/examples/components/reference/sources/richclay/richclay.css +416 -0
- package/examples/components/reference/sources/richclay/richclay.js +2962 -0
- package/examples/components/reference/sources/richclay/src/a11y.js +67 -0
- package/examples/components/reference/sources/richclay/src/browser-global.js +7 -0
- package/examples/components/reference/sources/richclay/src/buttons.js +254 -0
- package/examples/components/reference/sources/richclay/src/hyperclay.js +470 -0
- package/examples/components/reference/sources/richclay/src/normalize.js +380 -0
- package/examples/components/reference/sources/richclay/src/richclay.js +1356 -0
- package/examples/components/reference/sources/richclay/src/sanitize.js +189 -0
- package/examples/components/reference/sources/richclay/src/styles.js +23 -0
- package/examples/components/reference/sources/richclay/src/toolbar-float.js +175 -0
- package/examples/components/reference/sources/richclay/src/toolbar.js +394 -0
- package/examples/components/reference/sources/richclay/src/vendor-bundle.js +15 -0
- package/examples/components/reference/sources/richclay/vendor/DOMPURIFY-LICENSE +202 -0
- package/examples/components/reference/sources/richclay/vendor/DOMPURIFY-LICENSE-MPL +373 -0
- package/examples/components/reference/sources/richclay/vendor/SQUIRE-LICENSE +21 -0
- package/examples/components/reference/sources/richclay/vendor/purify.es.mjs +2249 -0
- package/examples/components/reference/sources/richclay/vendor/purify.min.js +3 -0
- package/examples/components/reference/sources/richclay/vendor/squire.js +22 -0
- package/examples/components/reference/sources/richclay/vendor/squire.mjs +22 -0
- package/examples/components/reference/sources/richclay/vendor/squire.provenance.json +19 -0
- package/examples/components/rich-text-toolbar.html +43 -0
- package/examples/components/save-status-indicator.html +11 -0
- package/examples/components/selectable-cards.html +9 -0
- package/examples/components/settings-rows.html +10 -0
- package/examples/components/sidebar-nav.html +9 -0
- package/examples/components/small-charts.html +21 -0
- package/examples/components/split-button.html +13 -0
- package/examples/components/split-panes-editor.html +6 -0
- package/examples/components/split-panes.html +9 -0
- package/examples/components/stat-tiles.html +23 -0
- package/examples/components/toast-stack.html +21 -0
- package/examples/components/tree-view.html +9 -0
- package/examples/components/upload-dropzone.html +88 -0
- package/examples/components/wizard-shell.html +50 -0
- package/examples/datastar/index.html +38 -0
- package/examples/datastar/server.mjs +31 -0
- package/examples/fixtures/field-guide.pdf +14 -0
- package/examples/fixtures/workspace.jpg +0 -0
- package/examples/setup-peers.mjs +35 -0
- package/fonts/LICENSE-ibm-plex-mono.txt +93 -0
- package/fonts/LICENSE-ibm-plex-sans.txt +93 -0
- package/fonts/LICENSE-newsreader.txt +93 -0
- package/fonts/ibm-plex-mono-latin-400-normal.woff2 +0 -0
- package/fonts/ibm-plex-mono-latin-500-normal.woff2 +0 -0
- package/fonts/ibm-plex-mono-latin-600-normal.woff2 +0 -0
- package/fonts/ibm-plex-sans-latin-400-italic.woff2 +0 -0
- package/fonts/ibm-plex-sans-latin-400-normal.woff2 +0 -0
- package/fonts/ibm-plex-sans-latin-500-normal.woff2 +0 -0
- package/fonts/ibm-plex-sans-latin-600-normal.woff2 +0 -0
- package/fonts/newsreader-latin-opsz-italic.woff2 +0 -0
- package/fonts/newsreader-latin-opsz-normal.woff2 +0 -0
- package/icons/LICENSE +21 -0
- package/icons/house.json +71 -0
- package/icons/icons.d.ts +17 -0
- package/icons/icons.js +648 -0
- package/icons/icons.svg +126 -0
- package/icons/marks/build-tray.source.mjs +45 -0
- package/icons/marks/hyperclay-local.svg +11 -0
- package/icons/phosphor.json +53 -0
- package/icons/round.json +8 -0
- package/integrations/datastar.js +202 -0
- package/integrations/quickcrop.css +26 -0
- package/integrations/quickcrop.js +56 -0
- package/integrations/richclay.css +100 -0
- package/integrations/richclay.js +131 -0
- package/package.json +630 -0
- package/react/README.md +244 -0
- package/src/README.md +83 -0
- package/vendor/datastar/datastar-1.0.3.js +10 -0
- package/vendor/datastar/provenance.json +6 -0
- package/vendor/floating-ui/LICENSE-core +20 -0
- package/vendor/floating-ui/LICENSE-dom +20 -0
- package/vendor/floating-ui/floating-ui.core.umd.min.js +1 -0
- package/vendor/floating-ui/floating-ui.dom.umd.min.js +1 -0
- package/vendor/floating-ui/provenance.json +17 -0
- package/vendor/richclay/LICENSE +16 -0
- package/vendor/richclay/THIRD-PARTY-NOTICES.md +45 -0
- package/vendor/richclay/provenance.json +17 -0
- package/vendor/richclay/richclay.css +404 -0
- package/vendor/richclay/richclay.js +2940 -0
- package/vendor/richclay/vendor/DOMPURIFY-LICENSE +202 -0
- package/vendor/richclay/vendor/DOMPURIFY-LICENSE-MPL +373 -0
- package/vendor/richclay/vendor/SQUIRE-LICENSE +21 -0
- package/vendor/richclay/vendor/purify.min.js +3 -0
- package/vendor/richclay/vendor/squire.js +22 -0
- package/vendor/richclay/vendor/squire.provenance.json +30 -0
package/bevel.css
ADDED
|
@@ -0,0 +1,3075 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* bevel.css — the bevel UI kit, 0.1.0.
|
|
3
|
+
* Hand-written, no build. Beveled controls in an editorial page: IBM Plex Sans
|
|
4
|
+
* body, Newsreader headings, IBM Plex Mono for anything with a digit. Every
|
|
5
|
+
* component is a semantic BEM class in @layer components, so utilities and
|
|
6
|
+
* unlayered consumer rules always win with zero !important.
|
|
7
|
+
*
|
|
8
|
+
* Two hinges (inherited from mirk-interface):
|
|
9
|
+
* 1. Components live in @layer components → utilities win.
|
|
10
|
+
* 2. State serializes into the DOM (native attrs, :has(), inline --bevel-value)
|
|
11
|
+
* so document.documentElement.outerHTML round-trips every visible state.
|
|
12
|
+
*
|
|
13
|
+
* Fonts are declared by family name only; bevel-fonts.css loads the files.
|
|
14
|
+
* Without it the fallbacks are Georgia, system-ui and ui-monospace.
|
|
15
|
+
*/
|
|
16
|
+
@layer base, components;
|
|
17
|
+
|
|
18
|
+
@layer base {
|
|
19
|
+
*, ::before, ::after { box-sizing: border-box; }
|
|
20
|
+
button, input, optgroup, select, textarea { margin: 0; font: inherit; color: inherit; }
|
|
21
|
+
html { -webkit-text-size-adjust: 100%; }
|
|
22
|
+
|
|
23
|
+
/* 27 colour tokens, one light-dark() each: cream by day, navy by night (mirk's
|
|
24
|
+
Pixel Quiet palette), plus the three that draw the bevel, the three that
|
|
25
|
+
draw a pressed-in control, the two that draw the switch knob and the four
|
|
26
|
+
that draw the danger button. Every in-between state on the page is a
|
|
27
|
+
color-mix() of two of these. */
|
|
28
|
+
:root {
|
|
29
|
+
color-scheme: light dark;
|
|
30
|
+
|
|
31
|
+
--bevel-split-size: 50%;
|
|
32
|
+
--bevel-kanban-lane: 274px;
|
|
33
|
+
--bevel-kanban-gap: 14px;
|
|
34
|
+
--bevel-ground: light-dark(#FDF8F0, #0B0C13);
|
|
35
|
+
--bevel-surface: light-dark(#FFFCF6, #11131E);
|
|
36
|
+
--bevel-sunk: light-dark(#F4ECDF, #1A1D2C);
|
|
37
|
+
--bevel-ink: light-dark(#2B241B, #ECEAF2);
|
|
38
|
+
--bevel-ink-2: light-dark(#4A4033, #C9CDE0);
|
|
39
|
+
--bevel-muted: light-dark(#6B5942, #8A90AB);
|
|
40
|
+
--bevel-faint: light-dark(#9A8A70, #6A7090);
|
|
41
|
+
--bevel-line: light-dark(#E8DCC6, #262B42);
|
|
42
|
+
--bevel-line-2: light-dark(#D8C8AF, #353B52);
|
|
43
|
+
--bevel-line-3: light-dark(#C4B192, #46506E);
|
|
44
|
+
--bevel-brass: light-dark(#8F6310, #D9A445);
|
|
45
|
+
--bevel-brass-soft: light-dark(#F0E4CC, #3A2F17);
|
|
46
|
+
--bevel-ox: light-dark(#A83A2C, #FF5566);
|
|
47
|
+
--bevel-ox-soft: light-dark(#F6DED6, #3A2226);
|
|
48
|
+
--bevel-teal: light-dark(#256056, #63AE9E);
|
|
49
|
+
--bevel-teal-soft: light-dark(#DCEBE7, #17332E);
|
|
50
|
+
|
|
51
|
+
/* Source colour. Five roles borrow a page hue so a code surface still reads
|
|
52
|
+
as a Bevel surface; attribute names and numbers need two hues the page
|
|
53
|
+
does not have, or they collapse into the tag and string colours. */
|
|
54
|
+
--bevel-syn-tag: var(--bevel-brass);
|
|
55
|
+
--bevel-syn-string: var(--bevel-teal);
|
|
56
|
+
--bevel-syn-comment: var(--bevel-faint);
|
|
57
|
+
--bevel-syn-punct: var(--bevel-muted);
|
|
58
|
+
--bevel-syn-invalid: var(--bevel-ox);
|
|
59
|
+
--bevel-syn-plum: light-dark(#6E4076, #C39BD8);
|
|
60
|
+
--bevel-syn-rust: light-dark(#8A4A28, #E0906A);
|
|
61
|
+
|
|
62
|
+
/* The software keyboard inset. iOS does not shrink the layout viewport when
|
|
63
|
+
the keyboard opens, so a bar pinned to the bottom lands underneath it. The
|
|
64
|
+
code editor measures the visual viewport and writes this on its own root. */
|
|
65
|
+
--bevel-keyboard-inset: 0px;
|
|
66
|
+
--bevel-available-height: calc(100dvh - 32px);
|
|
67
|
+
|
|
68
|
+
/* The raised face is a material of its own, a step off the page in both
|
|
69
|
+
modes (bone on cream, slate on navy), so a resting control reads as a
|
|
70
|
+
closed shape on the ground and on a card. The shadow wall clears the
|
|
71
|
+
navy ground at night while staying darker than the raised face. */
|
|
72
|
+
--bevel-face: light-dark(#F1E7D4, #22273E);
|
|
73
|
+
--bevel-edge-hi: light-dark(#FFF9ED, #3C4260);
|
|
74
|
+
--bevel-edge-lo: light-dark(#D6C3A5, #1B2033);
|
|
75
|
+
|
|
76
|
+
/* A pressed-in control is a body, not a lip: a floor, the wall the light
|
|
77
|
+
misses (top, left) and the wall it reaches (bottom, right). In light all
|
|
78
|
+
three sit below the cream; in dark all three sit above the navy, so no
|
|
79
|
+
side of the perimeter can vanish into the ground. Literal stops, never a
|
|
80
|
+
mix: a mix between a navy face and a near-black edge lands on gray. */
|
|
81
|
+
--bevel-face-in: light-dark(#E3D0B3, #28304D);
|
|
82
|
+
--bevel-edge-in: light-dark(#B89F7B, #1F2339);
|
|
83
|
+
--bevel-edge-in-hi: light-dark(#F0E1C9, #4D587A);
|
|
84
|
+
|
|
85
|
+
/* The switch knob is lighter than its on channel in both modes, so an on
|
|
86
|
+
switch never reads as a hole. In light it sits a step above the face,
|
|
87
|
+
so it also clears its own channel. */
|
|
88
|
+
--bevel-knob: light-dark(#FCF8F1, #4A5275);
|
|
89
|
+
--bevel-knob-hi: light-dark(#FFF9ED, #6C759A);
|
|
90
|
+
|
|
91
|
+
/* The danger button is a solid block like the primary, so it carries its
|
|
92
|
+
own face, its own two edges and the cream that sits on it. A dark red
|
|
93
|
+
nearing brown, brighter by a step at night so it still reads as red on
|
|
94
|
+
navy. Literal stops: no neutral token is dark in both modes. */
|
|
95
|
+
--bevel-ox-face: light-dark(#7A2A1F, #842E22);
|
|
96
|
+
--bevel-ox-edge-hi: light-dark(#AE4F3E, #B85A47);
|
|
97
|
+
--bevel-ox-edge-lo: light-dark(#451510, #3E1410);
|
|
98
|
+
--bevel-ox-ink: light-dark(#FBEEE8, #FBEEE8);
|
|
99
|
+
|
|
100
|
+
--bevel-font-sans: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
|
|
101
|
+
--bevel-font-serif: Newsreader, Georgia, "Times New Roman", serif;
|
|
102
|
+
--bevel-font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
|
|
103
|
+
|
|
104
|
+
--bevel-shadow: 0 1px 2px rgba(23, 28, 36, .05), 0 8px 24px -12px rgba(23, 28, 36, .14);
|
|
105
|
+
|
|
106
|
+
background: var(--bevel-ground);
|
|
107
|
+
color: var(--bevel-ink);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/* The one non-colour token, so it cannot ride light-dark(): a media default
|
|
111
|
+
for the OS, then explicit forced-mode overrides. */
|
|
112
|
+
@media (prefers-color-scheme: dark) {
|
|
113
|
+
:root { --bevel-shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 28px -14px rgba(0, 0, 0, .6); }
|
|
114
|
+
}
|
|
115
|
+
[data-theme="light"], .light {
|
|
116
|
+
color-scheme: light;
|
|
117
|
+
--bevel-shadow: 0 1px 2px rgba(23, 28, 36, .05), 0 8px 24px -12px rgba(23, 28, 36, .14);
|
|
118
|
+
background: var(--bevel-ground); color: var(--bevel-ink);
|
|
119
|
+
}
|
|
120
|
+
[data-theme="dark"], .dark {
|
|
121
|
+
color-scheme: dark;
|
|
122
|
+
--bevel-shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 28px -14px rgba(0, 0, 0, .6);
|
|
123
|
+
background: var(--bevel-ground); color: var(--bevel-ink);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
body {
|
|
127
|
+
margin: 0;
|
|
128
|
+
font-family: var(--bevel-font-sans);
|
|
129
|
+
font-size: 17px; line-height: 1.6;
|
|
130
|
+
-webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
|
|
131
|
+
font-variant-numeric: tabular-nums;
|
|
132
|
+
accent-color: var(--bevel-brass);
|
|
133
|
+
}
|
|
134
|
+
::selection { background: var(--bevel-brass-soft); color: var(--bevel-ink); }
|
|
135
|
+
:focus-visible { outline: 2px solid var(--bevel-brass); outline-offset: 2px; }
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
@media (max-width: 640px) {
|
|
139
|
+
.bevel-app-shell > .bevel-sidebar { display: none; }
|
|
140
|
+
.bevel-button.bevel-sidebar-mobile-trigger { display: inline-flex; margin-block-end: 12px; }
|
|
141
|
+
.bevel-app-content { padding: 18px 14px; }
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
@layer components {
|
|
147
|
+
.bevel-modal,
|
|
148
|
+
.bevel-drawer,
|
|
149
|
+
.bevel-menu,
|
|
150
|
+
.bevel-popconfirm,
|
|
151
|
+
.bevel-combobox__listbox,
|
|
152
|
+
.bevel-multiselect__panel {
|
|
153
|
+
color: var(--bevel-ink);
|
|
154
|
+
background: var(--bevel-surface);
|
|
155
|
+
border: 1px solid var(--bevel-line-2);
|
|
156
|
+
border-radius: 0;
|
|
157
|
+
box-shadow: 6px 6px 0 color-mix(in srgb, var(--bevel-ink) 10%, transparent);
|
|
158
|
+
padding: 0;
|
|
159
|
+
max-height: var(--bevel-available-height, calc(100dvh - 32px));
|
|
160
|
+
}
|
|
161
|
+
.bevel-modal { inline-size: min(620px, calc(100vw - 32px)); }
|
|
162
|
+
.bevel-modal::backdrop,
|
|
163
|
+
.bevel-drawer::backdrop { background: color-mix(in srgb, var(--bevel-ground) 72%, transparent); }
|
|
164
|
+
.bevel-modal__header,
|
|
165
|
+
.bevel-drawer__header { border-bottom: 1px solid var(--bevel-line-2); padding: 20px 68px 16px 22px; margin-block-end: 0; position: relative; }
|
|
166
|
+
.bevel-modal__body,
|
|
167
|
+
.bevel-drawer__body { overflow: auto; padding: 20px 22px; }
|
|
168
|
+
.bevel-modal__footer,
|
|
169
|
+
.bevel-drawer__footer { border-top: 1px solid var(--bevel-line-2); padding: 14px 22px; display: flex; justify-content: flex-end; gap: 10px; }
|
|
170
|
+
.bevel-modal__close,
|
|
171
|
+
.bevel-drawer__close { position: absolute; inset: 0 0 auto auto; inline-size: 68px; block-size: 68px; color: var(--bevel-ink); background: var(--bevel-face); border: 0; border-left: 1px solid var(--bevel-line-2); border-bottom: 1px solid var(--bevel-line-2); }
|
|
172
|
+
.bevel-drawer { margin: 0 0 0 auto; inline-size: min(460px, 100vw); block-size: 100dvh; max-block-size: 100dvh; }
|
|
173
|
+
.bevel-menu,
|
|
174
|
+
.bevel-popconfirm,
|
|
175
|
+
.bevel-combobox__listbox,
|
|
176
|
+
.bevel-multiselect__panel { position: fixed; margin: 0; inline-size: max-content; min-inline-size: 220px; padding: 6px; overflow: auto; }
|
|
177
|
+
.bevel-menu [role="menuitem"],
|
|
178
|
+
.bevel-combobox [role="option"] { display: flex; inline-size: 100%; padding: 8px 10px; border: 0; background: transparent; color: var(--bevel-ink); text-align: left; }
|
|
179
|
+
.bevel-menu [role="menuitem"]:focus,
|
|
180
|
+
.bevel-combobox [role="option"][aria-selected="true"] { outline: 2px solid var(--bevel-brass); outline-offset: -2px; }
|
|
181
|
+
.bevel-popconfirm { max-inline-size: 310px; padding: 18px; }
|
|
182
|
+
.bevel-popconfirm__actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
|
|
183
|
+
.bevel-combobox,
|
|
184
|
+
.bevel-multiselect { position: relative; }
|
|
185
|
+
.bevel-multiselect__summary,
|
|
186
|
+
.bevel-inline-edit__value,
|
|
187
|
+
.bevel-inline-edit__input,
|
|
188
|
+
.bevel-pagination__range,
|
|
189
|
+
.bevel-kanban__search,
|
|
190
|
+
.bevel-kanban__count,
|
|
191
|
+
.bevel-kanban__title,
|
|
192
|
+
.bevel-kanban__description { min-inline-size: 0; }
|
|
193
|
+
.bevel-multiselect__tags { display: flex; flex-wrap: wrap; gap: 6px; }
|
|
194
|
+
.bevel-choice-card { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; padding: 18px 22px; background: var(--bevel-surface); border: 1px solid var(--bevel-line-2); cursor: pointer; }
|
|
195
|
+
.bevel-choice-cards { display:grid; gap:16px; }
|
|
196
|
+
.bevel-choice-cards .bevel-choice-card { inline-size:100%; }
|
|
197
|
+
.bevel-choice-card:has(input:checked) { border-color: var(--bevel-brass); background: color-mix(in srgb,var(--bevel-brass-soft) 60%,var(--bevel-surface)); box-shadow: inset 3px 0 var(--bevel-brass); }
|
|
198
|
+
.bevel-choice-card:has(:disabled) { opacity: .7; cursor: not-allowed; }
|
|
199
|
+
.bevel-choice-card__copy strong { display:block; font-size:15.5px; font-weight:500; }
|
|
200
|
+
.bevel-choice-card__copy p { margin:5px 0 10px; color:var(--bevel-ink-2); font-size:13.5px; }
|
|
201
|
+
.bevel-choice-card .bevel-badge { text-transform: none; }
|
|
202
|
+
.bevel-dropzone { background: transparent; }
|
|
203
|
+
.bevel-dropzone__target { display:grid; justify-items:center; gap:8px; padding:32px; border:1px dashed var(--bevel-line-2); text-align:center; background:var(--bevel-surface); }
|
|
204
|
+
.bevel-dropzone__target svg { inline-size:28px; block-size:28px; color:var(--bevel-brass); }
|
|
205
|
+
.bevel-dropzone__title { margin:0; font:500 15.5px/1.3 var(--bevel-font-sans); }
|
|
206
|
+
.bevel-dropzone__hint { margin:0 0 8px; color:var(--bevel-muted); font-size:13px; }
|
|
207
|
+
.bevel-dropzone__target .bevel-button { position:relative; }
|
|
208
|
+
.bevel-dropzone[data-bevel-dragging] { outline: 3px solid var(--bevel-brass); outline-offset: -4px; }
|
|
209
|
+
.bevel-upload { display:grid; grid-template-columns:minmax(0, 1fr); margin-top:0; }
|
|
210
|
+
.bevel-upload__row { display:flex; gap:12px; align-items:center; padding:15px 0; border-bottom:1px solid var(--bevel-line); background:transparent; }
|
|
211
|
+
.bevel-upload__preview { display:grid; flex:0 0 auto; place-items:center; inline-size:50px; block-size:44px; color:var(--bevel-muted); }
|
|
212
|
+
.bevel-upload__preview img { inline-size:100%; block-size:100%; object-fit:cover; }
|
|
213
|
+
.bevel-upload__preview svg { inline-size:26px; block-size:26px; }
|
|
214
|
+
.bevel-upload__preview img:not([hidden]) + svg,
|
|
215
|
+
.bevel-upload__preview:has(img:not([hidden])) > svg { display:none; }
|
|
216
|
+
.bevel-upload__copy { display:block; flex:1; min-inline-size:0; text-align:left; }
|
|
217
|
+
.bevel-upload__name { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:13px; font-weight:500; }
|
|
218
|
+
.bevel-upload__meta,
|
|
219
|
+
.bevel-upload__status { color:var(--bevel-muted); font-size:12px; }
|
|
220
|
+
.bevel-upload__meta + .bevel-upload__status::before { content:" · "; }
|
|
221
|
+
.bevel-upload__row[data-bevel-status="error"] .bevel-upload__status,
|
|
222
|
+
.bevel-upload__rejection { color:var(--bevel-ox); }
|
|
223
|
+
.bevel-upload__progress { display:block; inline-size:100%; block-size:4px; margin-top:8px; border:0; border-radius:0; background:var(--bevel-line); appearance:none; }
|
|
224
|
+
.bevel-upload__progress::-webkit-progress-bar { background:var(--bevel-line); }
|
|
225
|
+
.bevel-upload__progress::-webkit-progress-value { background:var(--bevel-brass); }
|
|
226
|
+
.bevel-upload__progress::-moz-progress-bar { background:var(--bevel-brass); }
|
|
227
|
+
.bevel-upload__row:not([data-bevel-status="uploading"]) .bevel-upload__progress { display:none; }
|
|
228
|
+
.bevel-upload__state { flex:0 0 auto; color:var(--bevel-ink); font:500 12px/1 var(--bevel-font-mono); }
|
|
229
|
+
.bevel-upload__row[data-bevel-status="uploading"] .bevel-upload__state { padding:3px 7px; color:var(--bevel-brass); background:var(--bevel-brass-soft); }
|
|
230
|
+
.bevel-upload__row[data-bevel-status="uploaded"] .bevel-upload__state { color:var(--bevel-teal); }
|
|
231
|
+
.bevel-upload__row[data-bevel-status="error"] .bevel-upload__state { color:var(--bevel-ox); font-size:10px; text-transform:uppercase; letter-spacing:.05em; }
|
|
232
|
+
.bevel-upload__actions { display:flex; flex:0 0 auto; flex-wrap:wrap; align-items:center; gap:8px; }
|
|
233
|
+
.bevel-upload__actions .bevel-button { min-height:30px; }
|
|
234
|
+
.bevel-upload__actions .bevel-button[hidden] { display:none; }
|
|
235
|
+
.bevel-upload__row:not([data-bevel-status="selected"]) [data-bevel-upload-select-action] { display:none; }
|
|
236
|
+
.bevel-upload__row[data-bevel-status="uploaded"] [data-bevel-upload-retry],
|
|
237
|
+
.bevel-upload__row[data-bevel-status="uploading"] [data-bevel-upload-retry] { display:none; }
|
|
238
|
+
.bevel-upload__link { color:var(--bevel-brass); font-size:12px; }
|
|
239
|
+
.bevel-upload__rejection { margin:0; padding:10px 12px; border-inline-start:3px solid var(--bevel-ox); background:var(--bevel-surface); font-size:12px; text-align:left; }
|
|
240
|
+
.bevel-dropzone__transport { margin:12px 0 0; color:var(--bevel-muted); font-size:12px; }
|
|
241
|
+
@media (max-width:540px) {
|
|
242
|
+
.bevel-dropzone__target { padding:24px 18px; }
|
|
243
|
+
.bevel-upload__row { flex-wrap:wrap; }
|
|
244
|
+
.bevel-upload__preview { inline-size:50px; block-size:44px; }
|
|
245
|
+
.bevel-upload__actions { justify-content:flex-start; }
|
|
246
|
+
}
|
|
247
|
+
.bevel-inline-edit__editor { display: none; }
|
|
248
|
+
.bevel-inline-edit[data-bevel-editing] > .bevel-inline-edit__editor { display: flex; gap: 8px; }
|
|
249
|
+
.bevel-inline-edit[data-bevel-editing] > .bevel-inline-edit__display { display: none; }
|
|
250
|
+
.bevel-inline-edit--title { max-inline-size:520px; margin:38px auto 0; }
|
|
251
|
+
.bevel-inline-edit__eyebrow { font:500 10px/1.6 var(--bevel-font-mono); letter-spacing:.14em; text-transform:uppercase; color:var(--bevel-muted); }
|
|
252
|
+
.bevel-inline-edit__hint .bevel-inline-edit__eyebrow { color:var(--bevel-brass); }
|
|
253
|
+
.bevel-inline-edit__row { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:18px 0; margin-top:22px; border-block:1px solid var(--bevel-line); }
|
|
254
|
+
.bevel-inline-edit--title .bevel-inline-edit__value { margin:0; font:400 32px/1.1 var(--bevel-font-serif); overflow-wrap:anywhere; }
|
|
255
|
+
.bevel-inline-edit__note { margin:12px 0 0; font-size:13px; color:var(--bevel-muted); }
|
|
256
|
+
.bevel-inline-edit--title[data-bevel-editing] > .bevel-inline-edit__editor { display:block; }
|
|
257
|
+
.bevel-inline-edit__hint { display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:12px; margin-top:22px; }
|
|
258
|
+
.bevel-inline-edit__keys { color:var(--bevel-muted); font-size:11px; }
|
|
259
|
+
.bevel-inline-edit__keys kbd { font-family:var(--bevel-font-mono); border:1px solid var(--bevel-line-2); padding:1px 4px; }
|
|
260
|
+
.bevel-inline-edit--title .bevel-inline-edit__input { position:relative; margin:0; padding:18px 0 16px; min-height:0; font:400 32px/1.1 var(--bevel-font-serif); border:0; border-top:1px solid var(--bevel-line); border-bottom:2px solid var(--bevel-brass); color:var(--bevel-ink); background:transparent; outline:0; overflow-wrap:anywhere; }
|
|
261
|
+
.bevel-inline-edit--title .bevel-inline-edit__input[aria-invalid="true"] { border-bottom-color:var(--bevel-ox); color:var(--bevel-ox); }
|
|
262
|
+
.bevel-inline-edit--title .bevel-inline-edit__input::before { position:absolute; inset:18px 0 auto; font-style:italic; }
|
|
263
|
+
.bevel-inline-edit__error { display:flex; align-items:center; gap:6px; color:var(--bevel-ox); font-size:12.5px; margin:8px 0; }
|
|
264
|
+
.bevel-inline-edit__error[hidden] { display:none; }
|
|
265
|
+
.bevel-inline-edit__actions { display:flex; justify-content:flex-end; gap:10px; margin-top:18px; }
|
|
266
|
+
.bevel-inline-edit--title .bevel-button { min-height:36px; }
|
|
267
|
+
@media (max-width:540px) {
|
|
268
|
+
.bevel-inline-edit--title { margin-top:24px; }
|
|
269
|
+
.bevel-inline-edit--title .bevel-inline-edit__input,
|
|
270
|
+
.bevel-inline-edit--title .bevel-inline-edit__value { font-size:27px; }
|
|
271
|
+
}
|
|
272
|
+
.bevel-settings { max-inline-size:880px; border:1px solid var(--bevel-line-2); background:var(--bevel-surface); }
|
|
273
|
+
.bevel-settings__row { display:grid; grid-template-columns:1fr 190px; gap:24px; align-items:center; padding:15px 18px; border-block-end:1px solid var(--bevel-line); }
|
|
274
|
+
.bevel-settings > .bevel-settings__row:last-child { border-block-end:0; }
|
|
275
|
+
@media (min-width: 641px) { .bevel-settings__row { grid-template-columns:1fr auto; } }
|
|
276
|
+
.bevel-settings__label { font-weight:500; font-size:14px; }
|
|
277
|
+
.bevel-settings__description { margin-block-start:3px; font-size:12.5px; color:var(--bevel-muted); }
|
|
278
|
+
.bevel-settings .bevel-button { min-height:26px; height:26px; padding:0 9px; font-size:12.5px; }
|
|
279
|
+
.bevel-settings__copy strong { font-size:15px; font-weight:500; }
|
|
280
|
+
.bevel-settings__copy p { margin:4px 0 0; max-width:44ch; color:var(--bevel-ink-2); font-size:13px; }
|
|
281
|
+
.bevel-settings__copy .bevel-settings__description { margin-block-start:3px; font-size:12.5px; color:var(--bevel-muted); }
|
|
282
|
+
.bevel-settings__control { justify-self:end; width:190px; }
|
|
283
|
+
.bevel-settings__row > .bevel-button.bevel-settings__control { min-width:120px; width:auto; }
|
|
284
|
+
.bevel-settings .bevel-select__field { min-height:36px; height:36px; padding:0 26px 0 10px; font-size:13.5px; }
|
|
285
|
+
|
|
286
|
+
.bevel-errors { display:flex; align-items:flex-start; gap:12px; border:0; border-left:3px solid var(--bevel-ox); background:var(--bevel-ox-soft); padding:14px 16px; font-size:13.5px; line-height:1.5; }
|
|
287
|
+
.bevel-errors[hidden] { display:none; }
|
|
288
|
+
.bevel-errors__list { margin:6px 0 0; padding-left:18px; display:grid; gap:3px; }
|
|
289
|
+
.bevel-errors__list a { color:var(--bevel-ox); font-weight:500; }
|
|
290
|
+
.bevel-errors > svg { flex:none; margin-top:2px; color:var(--bevel-ox); }
|
|
291
|
+
.bevel-field-error { display:flex; align-items:center; gap:6px; margin-top:6px; color:var(--bevel-ox); font-size:12.5px; }
|
|
292
|
+
.bevel-field-error[hidden] { display:none; }
|
|
293
|
+
.bevel-field-error svg { flex:none; }
|
|
294
|
+
.bevel-validation-form__fields { display:grid; gap:16px; margin-top:18px; }
|
|
295
|
+
.bevel-validation-form__fields > .bevel-field + .bevel-field { margin-block-start: 0; }
|
|
296
|
+
.bevel-validation-form__field { display:grid; gap:4px; color:var(--bevel-ink); font-size:14px; }
|
|
297
|
+
.bevel-validation-form__field:has(input[aria-invalid="true"]) { color:var(--bevel-ox); }
|
|
298
|
+
.bevel-validation-form .bevel-input { color:var(--bevel-ink); }
|
|
299
|
+
.bevel-validation-form .bevel-input[aria-invalid="true"] { min-height:38px; height:38px; background:color-mix(in srgb, var(--bevel-ox-soft) 32%, var(--bevel-ground)); color:var(--bevel-ink); border-color:var(--bevel-ox); outline:1px solid var(--bevel-ox); outline-offset:-1px; }
|
|
300
|
+
.bevel-validation-form__field > small[hidden] { display:none; }
|
|
301
|
+
.bevel-validation-form__actions .bevel-button { min-height:36px; }
|
|
302
|
+
.bevel-validation-form__actions { display:flex; justify-content:flex-end; gap:10px; margin-top:16px; padding-top:14px; border-top:1px solid var(--bevel-line); }
|
|
303
|
+
.bevel-split-button { display:inline-flex; align-items:stretch; height:36px; border:2px solid; border-color:var(--bevel-edge-hi) var(--bevel-edge-lo) var(--bevel-edge-lo) var(--bevel-edge-hi); background:var(--bevel-face); position:relative; }
|
|
304
|
+
.bevel-split-button[hidden], .bevel-edge-cases[hidden] { display:none; }
|
|
305
|
+
.bevel-split-button > button { height:32px; min-height:0; border:0; background:var(--bevel-face); color:var(--bevel-ink); box-shadow:none; transform:none; font-size:13.5px; }
|
|
306
|
+
.bevel-split-button > .bevel-button .bevel-button__label { display:inline-flex; align-items:center; }
|
|
307
|
+
.bevel-split-button > .bevel-split-button__caret { display:inline-grid; place-items:center; width:30px; padding:0; border-left:1px solid var(--bevel-edge-lo); box-shadow:inset 1px 0 var(--bevel-edge-hi); }
|
|
308
|
+
.bevel-split-button__caret[aria-expanded="true"] svg { transform:rotate(180deg); }
|
|
309
|
+
.bevel-split-button:has(:disabled) { opacity:.5; }
|
|
310
|
+
.bevel-split-button .bevel-menu { inset:auto; }
|
|
311
|
+
.bevel-document-panel { min-height:345px; padding:24px; border:1px solid var(--bevel-line-2); background:var(--bevel-surface); }
|
|
312
|
+
.bevel-document-panel__label { margin:0 0 16px; color:var(--bevel-muted); font:11px var(--bevel-font-mono); letter-spacing:.04em; }
|
|
313
|
+
.bevel-document-panel__row { display:flex; align-items:center; justify-content:space-between; gap:24px; }
|
|
314
|
+
.bevel-document-panel h2 { margin:0; font:400 26px var(--bevel-font-serif); }
|
|
315
|
+
.bevel-document-panel__description { margin:6px 0 0; color:var(--bevel-muted); font-size:13px; }
|
|
316
|
+
.bevel-document-panel__note { margin:38px 0 0; color:var(--bevel-muted); font-size:13px; }
|
|
317
|
+
.bevel-app-shell { display: flex; min-block-size: 380px; border: 1px solid var(--bevel-line-2); background: var(--bevel-surface); }
|
|
318
|
+
.bevel-navigation-example { max-inline-size: 1120px; margin-inline: auto; padding: 48px 38px; }
|
|
319
|
+
.bevel-navigation-example > .bevel-example__header { max-width: none; margin-bottom: 26px; padding-block-end: 18px; border-bottom: 1px solid var(--bevel-line-2); }
|
|
320
|
+
.bevel-navigation-example > .bevel-example__header .bevel-eyebrow { margin-bottom: 10px; padding: 0; border: 0; font-size: 10px; line-height: 1.6; letter-spacing: .16em; }
|
|
321
|
+
.bevel-navigation-example > .bevel-example__header h1 { font-size: 36px; line-height: 1.08; letter-spacing: -.022em; }
|
|
322
|
+
.bevel-navigation-example > .bevel-example__header p { margin: 8px 0 0; color: var(--bevel-ink-2); font-size: 14px; }
|
|
323
|
+
.bevel-sidebar { position: relative; display: flex; flex: 0 0 212px; flex-direction: column; inline-size: 212px; background: var(--bevel-sunk); border-right: 1px solid var(--bevel-line-2); transition: inline-size 160ms ease, flex-basis 160ms ease; }
|
|
324
|
+
.bevel-sidebar[data-bevel-collapsed] { flex-basis: 68px; inline-size: 68px; }
|
|
325
|
+
.bevel-sidebar__brand { display: flex; align-items: center; gap: 9px; min-block-size: 64px; padding: 16px 12px 16px 16px; border-bottom: 1px solid var(--bevel-line); }
|
|
326
|
+
.bevel-sidebar__brand > svg { width: 18px; height: 18px; color: var(--bevel-brass); }
|
|
327
|
+
.bevel-sidebar__brand strong { flex: 1; overflow: hidden; font: 400 18px var(--bevel-font-serif); text-overflow: ellipsis; white-space: nowrap; }
|
|
328
|
+
.bevel-sidebar__collapse { display: grid; flex: 0 0 26px; place-items: center; inline-size: 26px; block-size: 26px; margin-inline-start: auto; padding: 0; border: 2px solid; border-color: var(--bevel-edge-hi) var(--bevel-edge-lo) var(--bevel-edge-lo) var(--bevel-edge-hi); background: var(--bevel-face); color: var(--bevel-ink); }
|
|
329
|
+
.bevel-sidebar__collapse svg { transition: transform 160ms ease; }
|
|
330
|
+
.bevel-sidebar[data-bevel-collapsed] .bevel-sidebar__collapse svg { transform: rotate(180deg); }
|
|
331
|
+
.bevel-sidebar__links { flex: 1; padding: 14px 9px; }
|
|
332
|
+
.bevel-sidebar__section { padding: 0 9px 8px; color: var(--bevel-muted); font: 500 10px/1.6 var(--bevel-font-mono); letter-spacing: .14em; text-transform: uppercase; }
|
|
333
|
+
.bevel-sidebar__link { display: flex; align-items: center; gap: 9px; inline-size: 100%; min-block-size: 36px; margin: 2px 0; padding: 8px 9px; color: var(--bevel-ink-2); font-size: 13.5px; text-decoration: none; }
|
|
334
|
+
.bevel-sidebar__link[aria-current="page"] { color: var(--bevel-ink); background: var(--bevel-surface); box-shadow: inset 2px 0 var(--bevel-brass), 0 0 0 1px var(--bevel-line); }
|
|
335
|
+
.bevel-sidebar__count { margin-inline-start: auto; padding: 1px 5px; border: 1px solid var(--bevel-line); background: var(--bevel-surface); color: var(--bevel-muted); font: 500 10.5px var(--bevel-font-mono); }
|
|
336
|
+
.bevel-sidebar__identity { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 14px; border-top: 1px solid var(--bevel-line-2); font-size: 12px; }
|
|
337
|
+
.bevel-sidebar__avatar { display: grid; flex: 0 0 34px; place-items: center; inline-size: 34px; block-size: 34px; border: 1px solid var(--bevel-line); background: var(--bevel-ink); color: var(--bevel-ground); font: 500 11px var(--bevel-font-mono); }
|
|
338
|
+
.bevel-sidebar__identity-copy { flex: 1; min-inline-size: 0; }
|
|
339
|
+
.bevel-sidebar__identity-copy strong, .bevel-sidebar__identity-copy small { display: block; white-space: nowrap; }
|
|
340
|
+
.bevel-sidebar__identity-copy strong { font-size: 13px; font-weight: 500; }
|
|
341
|
+
.bevel-sidebar__identity-copy small { color: var(--bevel-muted); margin-top: 1px; font-size: 11px; }
|
|
342
|
+
.bevel-sidebar__account { display: inline-grid; place-items: center; width: 22px; height: 22px; padding: 0; border: 0; background: none; color: var(--bevel-muted); }
|
|
343
|
+
.bevel-sidebar[data-bevel-collapsed] .bevel-sidebar__account { display: none; }
|
|
344
|
+
.bevel-sidebar__link svg { color: var(--bevel-muted); }
|
|
345
|
+
.bevel-sidebar__link[aria-current="page"] svg { color: var(--bevel-ink); }
|
|
346
|
+
.bevel-sidebar__link[aria-current="page"] .bevel-sidebar__count { color: var(--bevel-ink); background: var(--bevel-brass-soft); border-color: color-mix(in srgb, var(--bevel-brass) 25%, var(--bevel-brass-soft)); }
|
|
347
|
+
.bevel-sidebar[data-bevel-collapsed] .bevel-sidebar__brand { flex-direction: column; gap: 12px; padding: 16px 8px; }
|
|
348
|
+
.bevel-sidebar[data-bevel-collapsed] .bevel-sidebar__collapse { margin: 0; }
|
|
349
|
+
.bevel-sidebar[data-bevel-collapsed] .bevel-sidebar__label, .bevel-sidebar[data-bevel-collapsed] .bevel-sidebar__section, .bevel-sidebar[data-bevel-collapsed] .bevel-sidebar__count, .bevel-sidebar[data-bevel-collapsed] .bevel-sidebar__identity-copy { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
|
|
350
|
+
.bevel-sidebar[data-bevel-collapsed] .bevel-sidebar__link, .bevel-sidebar[data-bevel-collapsed] .bevel-sidebar__identity { justify-content: center; padding-inline: 0; }
|
|
351
|
+
.bevel-app-content { flex: 1; min-inline-size: 0; padding: 22px 26px; }
|
|
352
|
+
.bevel-app-content > .bevel-eyebrow { border: 0; padding: 0; color: var(--bevel-muted); font-size: 10px; line-height: 1.6; }
|
|
353
|
+
.bevel-app-content h2 { margin: 2px 0 0; font: 400 27px/1.15 var(--bevel-font-serif); }
|
|
354
|
+
.bevel-app-content > p { margin: 8px 0 14px; color: var(--bevel-muted); font-size: 13px; }
|
|
355
|
+
.bevel-document-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--bevel-line); color: var(--bevel-ink); text-decoration: none; }
|
|
356
|
+
.bevel-document-row > div { flex: 1; min-width: 0; }
|
|
357
|
+
.bevel-document-row strong { font-size: 14px; font-weight: 500; }
|
|
358
|
+
.bevel-document-row p { margin: 2px 0 0; font-size: 12px; color: var(--bevel-muted); }
|
|
359
|
+
.bevel-document-row > svg { color: var(--bevel-muted); }
|
|
360
|
+
.bevel-document-row > svg:last-child { color: var(--bevel-faint); }
|
|
361
|
+
.bevel-button.bevel-sidebar-mobile-trigger { display: none; }
|
|
362
|
+
.bevel-toolbar { display:flex; align-items:center; flex-wrap:wrap; gap:8px; padding:10px 12px; border:1px solid var(--bevel-line-2); background:var(--bevel-surface); }
|
|
363
|
+
.bevel-toolbar__group { display:inline-flex; align-items:center; }
|
|
364
|
+
.bevel-toolbar__icon { display:inline-grid; flex:0 0 auto; place-items:center; inline-size:34px; block-size:34px; padding:0; border:2px solid; border-color:var(--bevel-edge-hi) var(--bevel-edge-lo) var(--bevel-edge-lo) var(--bevel-edge-hi); background:var(--bevel-face); color:var(--bevel-ink); cursor:pointer; }
|
|
365
|
+
.bevel-toolbar__icon:hover:not(:disabled) { background:color-mix(in srgb,var(--bevel-face),var(--bevel-edge-hi) 45%); }
|
|
366
|
+
.bevel-toolbar__icon[aria-pressed="true"], .bevel-toolbar__icon[aria-expanded="true"] { position:relative; z-index:1; border-color:var(--bevel-edge-in) var(--bevel-edge-in-hi) var(--bevel-edge-in-hi) var(--bevel-edge-in); background:var(--bevel-face-in); }
|
|
367
|
+
.bevel-toolbar__icon[aria-pressed="true"] svg, .bevel-toolbar__icon[aria-expanded="true"] svg { translate:1px 1px; }
|
|
368
|
+
.bevel-toolbar__icon:disabled { opacity:.45; cursor:not-allowed; }
|
|
369
|
+
.bevel-toolbar__group .bevel-toolbar__icon + .bevel-toolbar__icon { margin-inline-start:-2px; }
|
|
370
|
+
.bevel-toolbar__separator { inline-size:1px; block-size:24px; margin-inline:2px; background:var(--bevel-line-2); }
|
|
371
|
+
.bevel-toolbar__spacer { flex:1; }
|
|
372
|
+
.bevel-toolbar__search { display:flex; align-items:center; gap:8px; inline-size:220px; block-size:34px; padding:0 8px 0 10px; border:1px solid var(--bevel-line-2); background:var(--bevel-ground); color:var(--bevel-muted); }
|
|
373
|
+
.bevel-toolbar__search:focus-within { border-color:var(--bevel-brass); outline:2px solid var(--bevel-brass); outline-offset:1px; }
|
|
374
|
+
.bevel-toolbar__search .bevel-input { flex:1; min-inline-size:0; block-size:100%; padding:0; border:0; outline:0; background:transparent; font-size:13.5px; line-height:1.5; min-block-size:auto; }
|
|
375
|
+
.bevel-toolbar__search kbd { padding:2.5px 5px; border:1px solid var(--bevel-line-2); background:var(--bevel-sunk); color:var(--bevel-muted); font:500 10px/1 var(--bevel-font-mono); white-space:nowrap; }
|
|
376
|
+
.bevel-toolbar__menu { inline-size:230px; }
|
|
377
|
+
.bevel-toolbar-example__list { margin-block-start:22px; border-top:1px solid var(--bevel-line); }
|
|
378
|
+
.bevel-toolbar-example__summary { display:flex; justify-content:space-between; gap:12px; padding-block:18px 4px; }
|
|
379
|
+
.bevel-toolbar-example__summary span { color:var(--bevel-muted); font:11px var(--bevel-font-mono); }
|
|
380
|
+
.bevel-toolbar-example__row { display:flex; align-items:center; gap:14px; padding:12px 0; border-bottom:1px solid var(--bevel-line); }
|
|
381
|
+
.bevel-toolbar-example__file { display:inline-grid; flex:0 0 auto; place-items:center; inline-size:34px; block-size:34px; border:1px solid var(--bevel-line); background:var(--bevel-sunk); color:var(--bevel-muted); }
|
|
382
|
+
.bevel-toolbar-example__row strong { font-size:14px; font-weight:500; }
|
|
383
|
+
.bevel-toolbar-example__row small { color:var(--bevel-muted); font-size:12px; }
|
|
384
|
+
.bevel-local-result { display:block; min-block-size:1.5em; margin-block-start:14px; color:var(--bevel-muted); font:12px var(--bevel-font-mono); }
|
|
385
|
+
.bevel-breadcrumbs { margin-inline-start:-5px; padding:0; border-bottom:0; font-size:13.5px; }
|
|
386
|
+
.bevel-breadcrumbs ol { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin:0; padding:0; list-style:none; }
|
|
387
|
+
.bevel-breadcrumbs li { display:inline-flex; align-items:center; gap:8px; min-inline-size:0; }
|
|
388
|
+
.bevel-breadcrumbs a { padding:2px 5px; color:var(--bevel-brass); text-decoration:underline; text-decoration-color:var(--bevel-line-2); text-underline-offset:2px; }
|
|
389
|
+
.bevel-breadcrumbs a:hover { background:var(--bevel-sunk); }
|
|
390
|
+
.bevel-breadcrumbs [aria-hidden="true"] { display:inline-grid; flex:0 0 auto; color:var(--bevel-faint); }
|
|
391
|
+
.bevel-breadcrumbs [aria-current="page"] { min-inline-size:0; overflow:hidden; padding:2px 5px; color:var(--bevel-ink-2); font-weight:400; text-decoration:none; text-overflow:ellipsis; white-space:nowrap; }
|
|
392
|
+
.bevel-breadcrumbs__overflow { display:none; position:relative; }
|
|
393
|
+
.bevel-breadcrumbs__overflow summary { display:inline-grid; place-items:center; min-inline-size:30px; min-block-size:24px; padding:3px 7px 5px; border:1px solid var(--bevel-line-2); background:var(--bevel-surface); color:var(--bevel-muted); font:600 13px/1 var(--bevel-font-mono); cursor:pointer; list-style:none; }
|
|
394
|
+
.bevel-breadcrumbs__overflow summary::-webkit-details-marker { display:none; }
|
|
395
|
+
.bevel-breadcrumbs__overflow-links { position:absolute; z-index:2; inset:calc(100% + 6px) auto auto 0; display:grid; min-inline-size:200px; padding:6px; border:1px solid var(--bevel-line-2); background:var(--bevel-surface); border-radius:0; box-shadow:6px 6px 0 color-mix(in srgb, var(--bevel-ink) 10%, transparent); }
|
|
396
|
+
.bevel-breadcrumbs__overflow-links a { padding:8px 10px; color:var(--bevel-ink); }
|
|
397
|
+
.bevel-breadcrumbs .bevel-breadcrumbs__overflow-links a { padding:2px 5px; color:var(--bevel-brass); }
|
|
398
|
+
.bevel-breadcrumb-example__article > .bevel-eyebrow { color: var(--bevel-muted); font-size: 10px; margin-bottom: 12px; }
|
|
399
|
+
.bevel-breadcrumb-example__article { padding-block-start:32px; }
|
|
400
|
+
.bevel-breadcrumb-example__article h1 { margin:0; font:400 40px/1.1 var(--bevel-font-serif); }
|
|
401
|
+
.bevel-breadcrumb-example__article p { max-inline-size:420px; margin:20px 0 0; color:var(--bevel-ink-2); font-size:15px; }
|
|
402
|
+
.bevel-breadcrumb-example__byline { display:flex; align-items:center; gap:12px; margin-block-start:24px; padding-block-start:18px; border-top:1px solid var(--bevel-line); }
|
|
403
|
+
.bevel-breadcrumb-example__avatar { display:inline-grid; flex:0 0 auto; place-items:center; inline-size:34px; block-size:34px; border:1px solid color-mix(in srgb,var(--bevel-brass) 30%,var(--bevel-brass-soft)); background:var(--bevel-brass-soft); color:var(--bevel-brass); font:500 11px/1 var(--bevel-font-mono); }
|
|
404
|
+
.bevel-breadcrumb-example__byline small { color:var(--bevel-muted); }
|
|
405
|
+
.bevel-pagination { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:14px; margin-block-start:18px; padding-block-start:16px; border-top:1px solid var(--bevel-line); }
|
|
406
|
+
.bevel-pagination__range { color:var(--bevel-muted); font:12px var(--bevel-font-mono); font-variant-numeric:tabular-nums; }
|
|
407
|
+
.bevel-pagination__pages { display:inline-flex; align-items:center; gap:4px; margin-inline-start:auto; }
|
|
408
|
+
.bevel-pagination__pages .bevel-button { min-inline-size:34px; block-size:34px; padding:0 8px; font:500 13px var(--bevel-font-mono); }
|
|
409
|
+
.bevel-pagination__pages .bevel-button svg { color:var(--bevel-ink); }
|
|
410
|
+
.bevel-pagination__pages .bevel-button:disabled svg { color:var(--bevel-muted); }
|
|
411
|
+
.bevel-pagination__page[aria-current="page"] { position:relative; z-index:1; border-color:var(--bevel-edge-in) var(--bevel-edge-in-hi) var(--bevel-edge-in-hi) var(--bevel-edge-in); background:var(--bevel-face-in); color:var(--bevel-ink); }
|
|
412
|
+
.bevel-pagination__page[aria-current="page"] .bevel-button__label { translate:1px 1px; }
|
|
413
|
+
.bevel-pagination__gap { display:inline-grid; place-items:center; min-inline-size:24px; block-size:34px; color:var(--bevel-faint); font:13px var(--bevel-font-mono); letter-spacing:.1em; }
|
|
414
|
+
.bevel-pagination__size { display:flex; flex:0 0 100%; align-items:center; justify-content:flex-end; gap:8px; color:var(--bevel-muted); font-size:12px; }
|
|
415
|
+
.bevel-pagination__size .bevel-select__field { inline-size:auto; min-block-size:32px; block-size:auto; padding:3px 36px 3px 12px; font-size:12px; line-height:1.5; }
|
|
416
|
+
.bevel-pagination-example__table { inline-size:100%; border-collapse:collapse; font-size:13px; }
|
|
417
|
+
.bevel-pagination-example__table th { padding:13px 12px; background:var(--bevel-sunk); color:var(--bevel-muted); font-size:11px; font-weight:500; letter-spacing:.055em; text-align:left; text-transform:uppercase; }
|
|
418
|
+
.bevel-pagination-example__table td { padding:12px; border-bottom:1px solid var(--bevel-line); }
|
|
419
|
+
.bevel-pagination-example__table th:nth-child(3), .bevel-pagination-example__table td:nth-child(3) { text-align:right; }
|
|
420
|
+
.bevel-pagination-example__table td:first-child, .bevel-pagination-example__table td:nth-child(3) { font-family:var(--bevel-font-mono); white-space:nowrap; }
|
|
421
|
+
.bevel-pagination-example__table .bevel-badge[data-bevel-tone="good"] { border-color:color-mix(in srgb,var(--bevel-teal) 28%,var(--bevel-teal-soft)); background:var(--bevel-teal-soft); color:var(--bevel-teal); }
|
|
422
|
+
.bevel-pagination-example__table .bevel-badge[data-bevel-tone="bad"] { border-color:color-mix(in srgb,var(--bevel-ox) 28%,var(--bevel-ox-soft)); background:var(--bevel-ox-soft); color:var(--bevel-ox); }
|
|
423
|
+
.bevel-pagination-example__table .bevel-badge { text-transform:none; }
|
|
424
|
+
.bevel-pagination-example__table-wrap { overflow:auto; }
|
|
425
|
+
@media (max-width:640px) {
|
|
426
|
+
.bevel-toolbar { gap:6px; }
|
|
427
|
+
.bevel-toolbar__search { order:9; inline-size:100%; }
|
|
428
|
+
.bevel-toolbar__spacer { display:none; }
|
|
429
|
+
.bevel-toolbar__more { margin-inline-start:auto; }
|
|
430
|
+
.bevel-breadcrumbs li.bevel-breadcrumbs__middle { display:none; }
|
|
431
|
+
.bevel-breadcrumbs__overflow { display:inline-block; }
|
|
432
|
+
.bevel-breadcrumb-example__article h1 { font-size:32px; }
|
|
433
|
+
.bevel-pagination { align-items:flex-start; flex-direction:column; }
|
|
434
|
+
.bevel-pagination__pages { margin-inline-start:0; }
|
|
435
|
+
.bevel-pagination__size { justify-content:flex-start; }
|
|
436
|
+
}
|
|
437
|
+
@media (max-width:540px) {
|
|
438
|
+
.bevel-navigation-example > .bevel-example__header h1 { font-size:31px; }
|
|
439
|
+
.bevel-toolbar__icon { inline-size:32px; block-size:32px; }
|
|
440
|
+
.bevel-pagination-example__table th, .bevel-pagination-example__table td { padding:10px 8px; }
|
|
441
|
+
}
|
|
442
|
+
.bevel-tree { max-inline-size: 480px; padding: 6px 8px 8px; border: 1px solid var(--bevel-line-2); background: var(--bevel-surface); }
|
|
443
|
+
.bevel-tree__head { display: flex; justify-content: space-between; align-items: center; margin-block-end: 6px; padding: 12px 10px; border-bottom: 1px solid var(--bevel-line); }
|
|
444
|
+
.bevel-tree__head strong { color: var(--bevel-muted); font: 500 10px/1.6 var(--bevel-font-mono); letter-spacing: .14em; text-transform: uppercase; }
|
|
445
|
+
.bevel-tree .bevel-badge { background: transparent; }
|
|
446
|
+
.bevel-tree summary .bevel-badge { margin-left: 2px; }
|
|
447
|
+
.bevel-tree summary, .bevel-tree__item { display: flex; align-items: center; gap: 8px; inline-size: 100%; block-size: 28px; margin: 8px 0; padding: 0 8px; border: 0; border-left: 2px solid transparent; background: transparent; color: var(--bevel-ink-2); font: 500 13.5px/1 var(--bevel-font-sans); text-align: left; list-style: none; }
|
|
448
|
+
.bevel-tree summary::-webkit-details-marker { display: none; }
|
|
449
|
+
.bevel-tree summary { border-left: 0; color: var(--bevel-ink); font-size: 14px; }
|
|
450
|
+
.bevel-tree__item { position: relative; margin: 0; padding-left: 10px; border-left-width: 0; gap: 6px; color: var(--bevel-ink-2); font-size: 13px; font-weight: 400; }
|
|
451
|
+
.bevel-tree .bevel-tree__item { color: var(--bevel-ink-2); }
|
|
452
|
+
.bevel-tree summary svg, .bevel-tree__item svg { flex-shrink: 0; color: var(--bevel-muted); }
|
|
453
|
+
.bevel-tree__item[aria-selected="true"] svg { color: var(--bevel-brass); }
|
|
454
|
+
.bevel-tree summary:hover, .bevel-tree__item:hover { background: var(--bevel-sunk); }
|
|
455
|
+
.bevel-tree__item:hover { color: var(--bevel-ink); }
|
|
456
|
+
.bevel-tree [aria-selected="true"] { border-left-color: var(--bevel-brass); background: var(--bevel-brass-soft); color: var(--bevel-ink); }
|
|
457
|
+
.bevel-tree__item[aria-selected="true"] { border-left-color: transparent; background: var(--bevel-sunk); color: var(--bevel-ink); font-weight: 500; box-shadow: inset 2px 0 0 var(--bevel-brass); }
|
|
458
|
+
.bevel-tree [aria-disabled="true"], .bevel-tree :disabled { opacity: .45; cursor: not-allowed; }
|
|
459
|
+
.bevel-tree__caret { display: grid; flex: 0 0 14px; place-items: center; inline-size: 14px; block-size: 14px; color: var(--bevel-muted); transition: transform 120ms ease; }
|
|
460
|
+
.bevel-tree details[open] > summary .bevel-tree__caret { transform: rotate(90deg); }
|
|
461
|
+
.bevel-tree__group { margin-inline-start: 15px; padding-inline-start: 12px; border-left: 1px solid var(--bevel-line); }
|
|
462
|
+
.bevel-tree__empty { display: flex; gap: 8px; margin: 6px 8px 10px 34px; color: var(--bevel-muted); font-size: 12px; }
|
|
463
|
+
/* ============================ FILE TREE ============================ */
|
|
464
|
+
/* The sidebar file tree. The panel carries two things at once: the classic
|
|
465
|
+
rows below, and every documented --trees-*-override that @pierre/trees
|
|
466
|
+
reads. Custom properties inherit across a shadow boundary, so the React
|
|
467
|
+
adapter mounts pierre inside this element and its shadow root draws with
|
|
468
|
+
Bevel tokens without a second palette. Same rule as integrations/richclay.css:
|
|
469
|
+
a peer's variables are mapped onto tokens, never onto literals. */
|
|
470
|
+
.bevel-file-tree {
|
|
471
|
+
display: flex; flex-direction: column; flex: 1 1 auto; min-block-size: 0; overflow: auto;
|
|
472
|
+
background: var(--bevel-ground); color: var(--bevel-ink-2);
|
|
473
|
+
font-family: var(--bevel-font-sans); font-size: 13px;
|
|
474
|
+
|
|
475
|
+
--trees-font-family-override: var(--bevel-font-sans);
|
|
476
|
+
--trees-font-size-override: 13px;
|
|
477
|
+
--trees-font-weight-regular-override: 400;
|
|
478
|
+
|
|
479
|
+
--trees-bg-override: var(--bevel-ground);
|
|
480
|
+
--trees-fg-override: var(--bevel-ink-2);
|
|
481
|
+
--trees-fg-muted-override: var(--bevel-muted);
|
|
482
|
+
--trees-bg-muted-override: var(--bevel-sunk);
|
|
483
|
+
--trees-border-color-override: var(--bevel-line-2);
|
|
484
|
+
--trees-indent-guide-bg-override: var(--bevel-line-2);
|
|
485
|
+
|
|
486
|
+
--trees-accent-override: var(--bevel-brass);
|
|
487
|
+
--trees-selected-bg-override: var(--bevel-sunk);
|
|
488
|
+
--trees-selected-fg-override: var(--bevel-ink);
|
|
489
|
+
--trees-selected-focused-border-color-override: var(--bevel-brass);
|
|
490
|
+
--trees-focus-ring-color-override: var(--bevel-brass);
|
|
491
|
+
--trees-focus-ring-width-override: 1px;
|
|
492
|
+
|
|
493
|
+
--trees-border-radius-override: 0px;
|
|
494
|
+
--trees-item-margin-x-override: 0px;
|
|
495
|
+
--trees-item-padding-x-override: 8px;
|
|
496
|
+
--trees-padding-inline-override: 0px;
|
|
497
|
+
--trees-item-row-gap-override: 6px;
|
|
498
|
+
--trees-icon-width-override: 16px;
|
|
499
|
+
/* 4.5px lands each nesting level exactly 18px right of its parent, given
|
|
500
|
+
icon-width 16 and row-gap 6: pierre advances a level by
|
|
501
|
+
level-gap + row-gap + icon-width / 2 - 0.5. */
|
|
502
|
+
--trees-level-gap-override: 4.5px;
|
|
503
|
+
|
|
504
|
+
--trees-search-bg-override: var(--bevel-surface);
|
|
505
|
+
--trees-search-fg-override: var(--bevel-ink);
|
|
506
|
+
--trees-search-font-weight-override: 500;
|
|
507
|
+
--trees-scrollbar-thumb-override: color-mix(in srgb, var(--bevel-line-2), var(--bevel-muted) 25%);
|
|
508
|
+
--trees-scrollbar-gutter-override: 0px;
|
|
509
|
+
}
|
|
510
|
+
/* The classic rows. Flat, full bleed, 28px, one 16px icon lane. Depth is a
|
|
511
|
+
run of indent spacers inside the row rather than padding on the group, so
|
|
512
|
+
the hover tint and the brass selection bar still reach the panel edge. */
|
|
513
|
+
.bevel-file-tree__group { display: block; flex: none; }
|
|
514
|
+
.bevel-file-tree__group[hidden] { display: none; }
|
|
515
|
+
.bevel-file-tree__row {
|
|
516
|
+
display: flex; flex: none; align-items: center; gap: 6px; inline-size: 100%; block-size: 28px;
|
|
517
|
+
padding: 0 14px; border: 0; background: transparent; color: inherit;
|
|
518
|
+
font: 400 13px/1 var(--bevel-font-sans); text-align: left; text-decoration: none;
|
|
519
|
+
white-space: nowrap; cursor: pointer;
|
|
520
|
+
}
|
|
521
|
+
.bevel-file-tree__row[hidden] { display: none; }
|
|
522
|
+
.bevel-file-tree__row:hover { background: var(--bevel-sunk); }
|
|
523
|
+
.bevel-file-tree__row:focus-visible { outline: 1px solid var(--bevel-brass); outline-offset: -1px; }
|
|
524
|
+
.bevel-file-tree__row[aria-selected="true"] {
|
|
525
|
+
position: relative; background: var(--bevel-sunk); color: var(--bevel-ink); font-weight: 500;
|
|
526
|
+
}
|
|
527
|
+
.bevel-file-tree__row[aria-selected="true"]::after {
|
|
528
|
+
content: ""; position: absolute; inset-block: 0; inset-inline-start: 0;
|
|
529
|
+
inline-size: 2px; background: var(--bevel-brass); pointer-events: none;
|
|
530
|
+
}
|
|
531
|
+
.bevel-file-tree__row[aria-selected="true"] .bevel-file-tree__icon { color: var(--bevel-brass); }
|
|
532
|
+
.bevel-file-tree__row[data-bevel-drop-target] {
|
|
533
|
+
background: var(--bevel-brass-soft); box-shadow: inset 0 0 0 1px var(--bevel-brass);
|
|
534
|
+
}
|
|
535
|
+
.bevel-file-tree__row--upload { color: var(--bevel-faint); }
|
|
536
|
+
.bevel-file-tree__row--upload .bevel-file-tree__icon { color: var(--bevel-faint); }
|
|
537
|
+
/* 12px plus the 6px row gap advances each level by 18px, and the guides land
|
|
538
|
+
18px apart with it. */
|
|
539
|
+
.bevel-file-tree__indent {
|
|
540
|
+
flex: none; align-self: stretch; inline-size: 12px;
|
|
541
|
+
border-inline-start: 1px solid var(--bevel-line-2); opacity: .75;
|
|
542
|
+
}
|
|
543
|
+
.bevel-file-tree__caret {
|
|
544
|
+
display: grid; flex: none; place-items: center; inline-size: 16px; block-size: 16px;
|
|
545
|
+
color: var(--bevel-muted); transition: rotate 120ms ease;
|
|
546
|
+
}
|
|
547
|
+
.bevel-file-tree__caret svg { display: block; }
|
|
548
|
+
.bevel-file-tree__row[aria-expanded="true"] > .bevel-file-tree__caret { rotate: 90deg; }
|
|
549
|
+
.bevel-file-tree__icon {
|
|
550
|
+
display: grid; flex: none; place-items: center; inline-size: 16px; block-size: 16px;
|
|
551
|
+
color: var(--bevel-muted);
|
|
552
|
+
}
|
|
553
|
+
.bevel-file-tree__icon svg { display: block; grid-area: 1 / 1; }
|
|
554
|
+
.bevel-file-tree__icon .bevel-file-tree__folder-open { display: none; }
|
|
555
|
+
.bevel-file-tree__row[aria-expanded="true"] .bevel-file-tree__icon .bevel-file-tree__folder-open { display: block; }
|
|
556
|
+
.bevel-file-tree__row[aria-expanded="true"] .bevel-file-tree__icon .bevel-file-tree__folder-shut { display: none; }
|
|
557
|
+
.bevel-file-tree__name { overflow: hidden; min-inline-size: 0; text-overflow: ellipsis; }
|
|
558
|
+
.bevel-file-tree__empty { padding: 6px 14px; color: var(--bevel-muted); font-size: 12px; }
|
|
559
|
+
.bevel-file-tree__empty[hidden] { display: none; }
|
|
560
|
+
@media (prefers-reduced-motion: reduce) {
|
|
561
|
+
.bevel-file-tree__caret { transition: none; }
|
|
562
|
+
}
|
|
563
|
+
.bevel-tree__item .bevel-badge { margin-inline-start: auto; color: var(--bevel-brass); border-color: color-mix(in srgb, var(--bevel-brass) 40%, transparent); }
|
|
564
|
+
.bevel-wizard { display:grid; grid-template-columns:176px minmax(0, 1fr); gap:34px; }
|
|
565
|
+
.bevel-wizard__steps { border-right:1px solid var(--bevel-line); padding-right:22px; position:relative; }
|
|
566
|
+
.bevel-wizard__step { position:relative; display:block; width:100%; min-height:56px; padding:0 0 26px 40px; border:0; background:none; color:var(--bevel-muted); text-align:left; font:400 13px/1.35 var(--bevel-font-sans); }
|
|
567
|
+
.bevel-wizard__step::before { content:""; position:absolute; left:14px; top:30px; bottom:-2px; width:1px; background:var(--bevel-line-2); }
|
|
568
|
+
.bevel-wizard__step:last-child::before { display:none; }
|
|
569
|
+
.bevel-wizard__marker { position:absolute; left:0; top:-1px; display:grid; place-items:center; width:30px; height:30px; border:1px solid var(--bevel-line-2); background:var(--bevel-surface); color:var(--bevel-muted); font:500 12px/1 var(--bevel-font-mono); }
|
|
570
|
+
.bevel-wizard__marker svg { display:none; }
|
|
571
|
+
.bevel-wizard__step[data-bevel-state="done"] { color:var(--bevel-ink-2); }
|
|
572
|
+
.bevel-wizard__step[data-bevel-state="done"]::before { background:var(--bevel-teal); }
|
|
573
|
+
.bevel-wizard__step[data-bevel-state="done"] .bevel-wizard__marker { color:var(--bevel-teal); border-color:color-mix(in srgb,var(--bevel-teal) 45%,var(--bevel-line-2)); background:var(--bevel-teal-soft); }
|
|
574
|
+
.bevel-wizard__step[data-bevel-state="done"] .bevel-wizard__marker span { display:none; }
|
|
575
|
+
.bevel-wizard__step[data-bevel-state="done"] .bevel-wizard__marker svg { display:block; }
|
|
576
|
+
.bevel-wizard__step[data-bevel-state="current"] { color:var(--bevel-ink); font-weight:600; }
|
|
577
|
+
.bevel-wizard__step[data-bevel-state="current"] .bevel-wizard__marker { background:var(--bevel-ink); color:var(--bevel-ground); border-color:var(--bevel-ink); }
|
|
578
|
+
.bevel-wizard__step:disabled { cursor:not-allowed; opacity:.5; }
|
|
579
|
+
.bevel-wizard__step-note { display:block; margin-top:3px; color:var(--bevel-muted); font:400 11px var(--bevel-font-mono); letter-spacing:.02em; }
|
|
580
|
+
.bevel-wizard__step[data-bevel-state="done"] .bevel-wizard__step-note { color:var(--bevel-teal); }
|
|
581
|
+
.bevel-wizard__step[data-bevel-state="current"] .bevel-wizard__step-note { color:var(--bevel-brass); }
|
|
582
|
+
.bevel-wizard__panel > .bevel-overlay__eyebrow { color:var(--bevel-brass); }
|
|
583
|
+
.bevel-wizard__panel h2 { margin:6px 0 0; font:400 27px/1.15 var(--bevel-font-serif); }
|
|
584
|
+
.bevel-wizard__lede { margin:10px 0 22px; color:var(--bevel-ink-2); font-size:14px; }
|
|
585
|
+
.bevel-wizard__panel .bevel-validation-form__field { gap:7px; font-size:13px; font-weight:500; }
|
|
586
|
+
.bevel-wizard__panel .bevel-validation-form__field + .bevel-validation-form__field { margin-top:16px; }
|
|
587
|
+
.bevel-wizard__actions { display:flex; justify-content:flex-end; align-items:center; flex-wrap:wrap; gap:10px; margin-top:22px; padding-top:18px; border-top:1px solid var(--bevel-line); }
|
|
588
|
+
.bevel-wizard__actions .bevel-button { min-height:36px; }
|
|
589
|
+
.bevel-wizard__note { margin:14px 0 0; color:var(--bevel-muted); font-size:12px; }
|
|
590
|
+
.bevel-wizard__complete-card { display:flex; align-items:center; gap:14px; padding:14px 16px; background:var(--bevel-sunk); border:1px solid var(--bevel-line); }
|
|
591
|
+
.bevel-wizard__complete-card > svg { flex-shrink:0; color:var(--bevel-muted); }
|
|
592
|
+
.bevel-wizard__complete-card > div { flex:1; min-width:0; }
|
|
593
|
+
.bevel-wizard__complete-card strong, .bevel-wizard__complete-card small { display:block; }
|
|
594
|
+
.bevel-wizard__complete-card strong { font-size:14px; font-weight:500; }
|
|
595
|
+
.bevel-wizard__complete-card small { margin-top:2px; color:var(--bevel-muted); }
|
|
596
|
+
.bevel-anchor-example:has(.bevel-wizard) .bevel-anchor-example__header { padding-bottom:18px; border-bottom-color:var(--bevel-line-2); }
|
|
597
|
+
.bevel-toast-stage { display:flex; flex-direction:column; justify-content:flex-end; align-items:flex-end; min-height:330px; padding:22px; border:1px solid var(--bevel-line); background:var(--bevel-sunk); }
|
|
598
|
+
.bevel-toasts { display:grid; gap:10px; inline-size:min(330px,100%); }
|
|
599
|
+
body > .bevel-toasts { position:fixed; inset:auto 18px 18px auto; inline-size:min(330px,calc(100vw - 2rem)); z-index:1000; }
|
|
600
|
+
.bevel-toast { display:flex; align-items:flex-start; gap:12px; flex-wrap:nowrap; inline-size:100%; padding:13px 12px 13px 15px; box-shadow:var(--bevel-shadow); background:var(--bevel-surface); border:1px solid var(--bevel-line-2); border-inline-start:3px solid var(--bevel-brass); }
|
|
601
|
+
.bevel-toast[data-bevel-tone="success"] { border-inline-start-color:var(--bevel-teal); }
|
|
602
|
+
.bevel-toast[data-bevel-tone="error"] { border-inline-start-color:var(--bevel-ox); }
|
|
603
|
+
.bevel-toast__icon { padding-top:1px; color:var(--bevel-brass); }
|
|
604
|
+
.bevel-toast[data-bevel-tone="success"] .bevel-toast__icon { color:var(--bevel-teal); }
|
|
605
|
+
.bevel-toast[data-bevel-tone="error"] .bevel-toast__icon { color:var(--bevel-ox); }
|
|
606
|
+
.bevel-toast__icon svg { inline-size:16px; block-size:16px; }
|
|
607
|
+
.bevel-toast__body { flex:1; min-inline-size:120px; }
|
|
608
|
+
.bevel-toast__title { margin:0; font:600 13.5px/1.3 var(--bevel-font-sans); }
|
|
609
|
+
.bevel-toast__message { margin:2px 0 0; color:var(--bevel-ink-2); font-size:12.5px; }
|
|
610
|
+
.bevel-toast .bevel-toast__action { height:26px; min-height:26px; margin-top:9px; padding:0 9px; font-size:12.5px; }
|
|
611
|
+
.bevel-toast__action svg { color:var(--bevel-muted); inline-size:15px; block-size:15px; }
|
|
612
|
+
.bevel-toast__close { flex-shrink:0; cursor:pointer; margin:-2px -2px 0 0; display:inline-grid; place-items:center; inline-size:24px; block-size:24px; padding:0; border:0; background:transparent; color:var(--bevel-muted); }
|
|
613
|
+
.bevel-toast__close svg { inline-size:14px; block-size:14px; }
|
|
614
|
+
.bevel-toast__close:hover { color:var(--bevel-ink); background:var(--bevel-sunk); }
|
|
615
|
+
.bevel-action-banner { display:flex; align-items:flex-start; flex-wrap:wrap; gap:16px; padding:20px; background:var(--bevel-brass-soft); border-inline-start:3px solid var(--bevel-brass); }
|
|
616
|
+
.bevel-action-banner[hidden] { display:none; }
|
|
617
|
+
.bevel-action-banner__icon { color:var(--bevel-brass); }
|
|
618
|
+
.bevel-action-banner__icon svg { inline-size:23px; block-size:23px; }
|
|
619
|
+
.bevel-action-banner__body { flex:1; min-inline-size:200px; }
|
|
620
|
+
.bevel-action-banner__body h2 { margin:0; font:500 16px/1.3 var(--bevel-font-sans); }
|
|
621
|
+
.bevel-action-banner__body p { margin:5px 0 0; color:var(--bevel-ink-2); font-size:13px; }
|
|
622
|
+
.bevel-action-banner__actions { display:flex; align-items:center; gap:8px; }
|
|
623
|
+
.bevel-action-banner__dismiss { border:0; background:transparent; color:var(--bevel-muted); font-size:18px; }
|
|
624
|
+
.bevel-action-banner__dismiss svg { inline-size:14px; block-size:14px; }
|
|
625
|
+
.bevel-action-banner[data-bevel-condition="resolved"] { border-inline-start-color:var(--bevel-teal); }
|
|
626
|
+
.bevel-action-banner[data-bevel-condition="resolved"] .bevel-action-banner__icon { color:var(--bevel-teal); }
|
|
627
|
+
.bevel-action-banner--running, .bevel-action-banner--uncertain { flex-wrap:nowrap; gap:12px; padding:13px 16px; background:var(--bevel-surface); border:1px solid var(--bevel-line-2); border-inline-start:3px solid var(--bevel-brass); }
|
|
628
|
+
.bevel-action-banner--running .bevel-action-banner__icon, .bevel-action-banner--uncertain .bevel-action-banner__icon { padding-top:1px; }
|
|
629
|
+
.bevel-action-banner--running .bevel-action-banner__icon svg, .bevel-action-banner--uncertain .bevel-action-banner__icon svg { display:block; inline-size:16px; block-size:16px; }
|
|
630
|
+
.bevel-action-banner--running .bevel-action-banner__icon svg { rotate:-35deg; animation:bevel-spin 1.2s linear infinite; }
|
|
631
|
+
.bevel-action-banner--running .bevel-action-banner__body, .bevel-action-banner--uncertain .bevel-action-banner__body { min-inline-size:0; }
|
|
632
|
+
.bevel-action-banner--running .bevel-action-banner__body h2, .bevel-action-banner--uncertain .bevel-action-banner__body h2 { font:600 14px/1.35 var(--bevel-font-sans); }
|
|
633
|
+
.bevel-action-banner--running .bevel-action-banner__body p, .bevel-action-banner--uncertain .bevel-action-banner__body p { margin-top:3px; font-size:12.5px; }
|
|
634
|
+
.bevel-action-banner--uncertain .bevel-action-banner__body .bevel-action-banner__observation { margin-top:6px; padding:7px 9px; color:var(--bevel-muted); background:var(--bevel-sunk); border:1px solid var(--bevel-line); font:11.5px/1.5 var(--bevel-font-mono); overflow-wrap:anywhere; }
|
|
635
|
+
.bevel-action-banner--uncertain .bevel-action-banner__actions { flex-wrap:wrap; margin-top:11px; }
|
|
636
|
+
.bevel-action-banner__meta { margin-inline-start:auto; color:var(--bevel-muted); font:11px/1.4 var(--bevel-font-mono); }
|
|
637
|
+
.bevel-action-banner__head { display:flex; align-items:baseline; gap:12px; }
|
|
638
|
+
.bevel-action-banner__head h2 { min-inline-size:0; }
|
|
639
|
+
.bevel-action-banner__count { flex:0 0 auto; margin-inline-start:auto; color:var(--bevel-muted); font:12px/1.35 var(--bevel-font-mono); white-space:nowrap; }
|
|
640
|
+
.bevel-action-banner__progress { display:block; inline-size:100%; block-size:4px; margin:7px 0; border:0; border-radius:0; background:var(--bevel-line); appearance:none; }
|
|
641
|
+
.bevel-action-banner__progress::-webkit-progress-bar { background:var(--bevel-line); }
|
|
642
|
+
.bevel-action-banner__progress::-webkit-progress-value { background:var(--bevel-brass); }
|
|
643
|
+
.bevel-action-banner__progress::-moz-progress-bar { background:var(--bevel-brass); }
|
|
644
|
+
.bevel-action-banner__body .bevel-action-banner__status { color:var(--bevel-ink-2); }
|
|
645
|
+
@keyframes bevel-spin { from { rotate:-35deg; } to { rotate:325deg; } }
|
|
646
|
+
@media (prefers-reduced-motion: reduce) { .bevel-action-banner--running .bevel-action-banner__icon svg { animation:none; } }
|
|
647
|
+
.bevel-bulk-bar { display:flex; align-items:center; gap:4px; inline-size:max-content; max-inline-size:100%; block-size:44px; padding:0 8px 0 16px; color:var(--bevel-ink); background:var(--bevel-surface); border:1px solid var(--bevel-line-3); box-shadow:6px 6px 0 color-mix(in srgb,var(--bevel-ink) 10%,transparent); font-family:var(--bevel-font-sans); }
|
|
648
|
+
.bevel-bulk-bar[hidden] { display:none; }
|
|
649
|
+
.bevel-bulk-bar--floating { position:fixed; inset-block-end:26px; inset-inline-start:50%; z-index:50; translate:-50% 0; }
|
|
650
|
+
.bevel-bulk-bar__count { margin-inline-end:6px; font:500 12px/1 var(--bevel-font-mono); letter-spacing:.04em; white-space:nowrap; }
|
|
651
|
+
.bevel-bulk-bar__rule { align-self:stretch; flex:0 0 auto; inline-size:1px; block-size:auto; margin-inline:6px; background:var(--bevel-line-2); }
|
|
652
|
+
.bevel-bulk-bar__action { display:inline-flex; flex:0 0 auto; align-items:center; gap:7px; block-size:30px; padding:0 10px; border:0; background:transparent; color:var(--bevel-ink); font:500 13px/1 var(--bevel-font-sans); white-space:nowrap; cursor:pointer; }
|
|
653
|
+
.bevel-bulk-bar__action:hover:not(:disabled,[aria-disabled="true"]) { background:var(--bevel-sunk); }
|
|
654
|
+
.bevel-bulk-bar__action:is(:disabled,[aria-disabled="true"]) { opacity:.45; cursor:not-allowed; }
|
|
655
|
+
.bevel-bulk-bar__action--danger { color:var(--bevel-ox); }
|
|
656
|
+
.bevel-bulk-bar__action svg, .bevel-bulk-bar__clear svg { flex:0 0 auto; inline-size:14px; block-size:14px; }
|
|
657
|
+
.bevel-bulk-bar__clear { display:inline-grid; flex:0 0 auto; place-items:center; inline-size:28px; block-size:28px; padding:0; border:0; background:transparent; color:var(--bevel-muted); cursor:pointer; }
|
|
658
|
+
.bevel-bulk-bar__clear:hover { background:var(--bevel-sunk); color:var(--bevel-ink); }
|
|
659
|
+
|
|
660
|
+
@media (max-width: 640px) {
|
|
661
|
+
.bevel-bulk-bar--floating { inset-inline:0; inset-block-end:0; inline-size:auto; block-size:46px; padding:0 6px 0 12px; gap:2px; translate:none; border-width:1px 0 0; box-shadow:0 -6px 0 color-mix(in srgb,var(--bevel-ink) 10%,transparent); }
|
|
662
|
+
.bevel-bulk-bar--floating .bevel-bulk-bar__action { padding:0 8px; font-size:12.5px; }
|
|
663
|
+
.bevel-bulk-bar--floating .bevel-bulk-bar__rule:has(+ .bevel-bulk-bar__clear) { display:none; }
|
|
664
|
+
.bevel-bulk-bar--floating .bevel-bulk-bar__clear { margin-inline-start:auto; }
|
|
665
|
+
}
|
|
666
|
+
.bevel-bulk-bar-example { contain:layout; min-block-size:300px; padding:22px 22px 96px; border:1px solid var(--bevel-line); background:var(--bevel-sunk); }
|
|
667
|
+
.bevel-bulk-bar-example__list { display:grid; margin:0; padding:0; list-style:none; border:1px solid var(--bevel-line-2); background:var(--bevel-surface); }
|
|
668
|
+
.bevel-bulk-bar-example__list li { padding:10px 14px; border-top:1px solid var(--bevel-line); }
|
|
669
|
+
.bevel-bulk-bar-example__list li:first-child { border-top:0; }
|
|
670
|
+
.bevel-bulk-bar-example__list li:has(input:checked) { background:color-mix(in srgb,var(--bevel-brass-soft) 55%,var(--bevel-surface)); }
|
|
671
|
+
.bevel-bulk-bar-example__list .bevel-checkbox { font-size:14px; }
|
|
672
|
+
.bevel-action-banner-example__panel ~ .bevel-action-banner { margin-top:12px; }
|
|
673
|
+
.bevel-action-banner-example__panel + .bevel-action-banner { margin-top:20px; }
|
|
674
|
+
.bevel-action-banner-example__panel ~ .bevel-buttons { margin-top:12px; }
|
|
675
|
+
.bevel-bulk-bar-example ~ output { display:block; min-block-size:1.5em; margin-top:8px; color:var(--bevel-muted); font:500 11px/1.4 var(--bevel-font-mono); }
|
|
676
|
+
.bevel-action-banner-example__panel { margin-top:20px; padding:22px; border:1px solid var(--bevel-line); background:var(--bevel-surface); }
|
|
677
|
+
.bevel-action-banner-example__panel > div { display:flex; align-items:center; justify-content:space-between; gap:16px; }
|
|
678
|
+
.bevel-action-banner-example__panel h2 { margin:0; font:400 25px/1.15 var(--bevel-font-serif); }
|
|
679
|
+
.bevel-action-banner-example__panel p { margin:14px 0 0; color:var(--bevel-muted); }
|
|
680
|
+
.bevel-action-banner-example__badge { padding:3px 7px; border:1px solid var(--bevel-line-2); color:var(--bevel-muted); font:600 10px/1.2 var(--bevel-font-mono); letter-spacing:.08em; text-transform:uppercase; }
|
|
681
|
+
.bevel-action-banner-example__transport { display:block; margin-top:8px; color:var(--bevel-muted); font:500 10px/1.3 var(--bevel-font-mono); }
|
|
682
|
+
.bevel-saved { position:fixed; inset:auto 18px 18px auto; z-index:1000; padding:7px 11px; border:1px solid var(--bevel-teal); border-radius:8px; color:var(--bevel-teal); background:var(--bevel-teal-soft); font:500 12px/1.2 var(--bevel-font-mono); }
|
|
683
|
+
.bevel-saved-page { min-height:100dvh; padding:30px 38px; }
|
|
684
|
+
.bevel-saved-page > header { display:flex; justify-content:space-between; padding-bottom:18px; border-bottom:1px solid var(--bevel-line); }
|
|
685
|
+
.bevel-saved-page article { max-inline-size:650px; margin:84px auto 0; }
|
|
686
|
+
.bevel-saved-page h1 { margin:12px 0 22px; font:400 42px/1.08 var(--bevel-font-serif); }
|
|
687
|
+
.bevel-saved-page p { color:var(--bevel-ink-2); line-height:1.7; }
|
|
688
|
+
.bevel-saved-page .bevel-button { margin-top:18px; }
|
|
689
|
+
.bevel-grid-example { margin:auto; padding:32px 36px 36px; font-size:15px; line-height:1.5; }
|
|
690
|
+
.bevel-grid-example__header { margin-bottom:26px; padding-bottom:18px; border-bottom:1px solid var(--bevel-line-2); }
|
|
691
|
+
.bevel-grid-example__header h1 { margin:0; font:400 36px/1.08 var(--bevel-font-serif); letter-spacing:-.022em; }
|
|
692
|
+
.bevel-grid-example__header p { margin:8px 0 0; color:var(--bevel-ink-2); font-size:14px; }
|
|
693
|
+
.bevel-grid-example__header .bevel-overlay__eyebrow { margin-bottom:10px; color:var(--bevel-brass); font:500 10px/1.6 var(--bevel-font-mono); letter-spacing:.16em; }
|
|
694
|
+
.bevel-filter-panel,.bevel-columns-panel { border:1px solid var(--bevel-line-2); background:var(--bevel-surface); }
|
|
695
|
+
.bevel-filter-panel { padding:20px 22px; }
|
|
696
|
+
.bevel-filter__heading { display:flex; justify-content:space-between; align-items:center; margin-bottom:18px; }
|
|
697
|
+
.bevel-filter__heading strong { font-size:15px; font-weight:500; }
|
|
698
|
+
.bevel-filter__mode,.bevel-grid-result__label { color:var(--bevel-muted); font:600 10px var(--bevel-font-mono); letter-spacing:.1em; text-transform:uppercase; }
|
|
699
|
+
.bevel-filter__rules,.bevel-filter__draft { display:grid; gap:10px; }
|
|
700
|
+
.bevel-filter__rules[hidden],.bevel-filter__draft[hidden] { display:none; }
|
|
701
|
+
.bevel-filter__rule { display:grid; grid-template-columns:52px 1fr 1fr 1.1fr 32px; align-items:center; gap:8px; }
|
|
702
|
+
.bevel-filter__rule > span:first-child { color:var(--bevel-muted); font:500 10.5px var(--bevel-font-mono); letter-spacing:.1em; text-align:right; padding-right:4px; text-transform:uppercase; }
|
|
703
|
+
.bevel-filter__rule .bevel-select__field { font-size:13px; padding:7px 28px 7px 10px; height:auto; line-height:1.5; }
|
|
704
|
+
.bevel-filter__rule [data-bevel-filter-value] { min-width:0; }
|
|
705
|
+
.bevel-filter__rule .bevel-input { font-size:13px; padding:7px 10px; height:auto; min-height:auto; line-height:1.5; }
|
|
706
|
+
.bevel-filter__actions { display:flex; justify-content:flex-end; align-items:center; flex-wrap:wrap; gap:8px; margin-top:18px; padding-top:16px; border-top:1px solid var(--bevel-line); }
|
|
707
|
+
.bevel-filter__actions [data-bevel-filter-add] { margin-right:auto; }
|
|
708
|
+
.bevel-filter__rule [data-bevel-filter-remove] { border:0; background:transparent; color:var(--bevel-muted); }
|
|
709
|
+
.bevel-filter:not([data-bevel-editing]) [data-bevel-filter-apply],.bevel-filter:not([data-bevel-editing]) [data-bevel-filter-cancel],.bevel-filter[data-bevel-editing] [data-bevel-filter-edit] { display:none; }
|
|
710
|
+
.bevel-filter[data-bevel-invalid] { border-color:var(--bevel-ox); }
|
|
711
|
+
.bevel-grid-result { margin-top:20px; padding-top:18px; border-top:1px solid var(--bevel-line); }
|
|
712
|
+
.bevel-grid-result__label { display:block; margin-bottom:6px; color:var(--bevel-muted); font-weight:500; }
|
|
713
|
+
.bevel-grid-result .bevel-grid { border:0; box-shadow:none; background:transparent; }
|
|
714
|
+
.bevel-grid-result .bevel-grid__table { background:transparent; }
|
|
715
|
+
.bevel-grid-result .bevel-grid__table thead { display:none; }
|
|
716
|
+
.bevel-grid-result .bevel-grid .bevel-grid__row { display:flex; align-items:center; justify-content:space-between; padding:16px 0; border:0; }
|
|
717
|
+
.bevel-grid-result .bevel-grid .bevel-grid__row[hidden] { display:none; }
|
|
718
|
+
.bevel-grid-result .bevel-grid .bevel-grid__row td { padding:0; border:0; background:transparent; }
|
|
719
|
+
.bevel-grid-result .bevel-grid [data-bevel-column="invoice"],.bevel-grid-result .bevel-grid [data-bevel-column="status"] { display:none; }
|
|
720
|
+
.bevel-grid-result .bevel-grid [data-bevel-column="client"] { width:auto; }
|
|
721
|
+
.bevel-grid-result .bevel-grid [data-bevel-column="client"] strong { display:block; font-size:14.5px; font-weight:500; }
|
|
722
|
+
.bevel-grid-result .bevel-grid [data-bevel-column="client"] small { display:block; margin-top:3px; color:var(--bevel-muted); font-size:12px; font-weight:400; }
|
|
723
|
+
.bevel-grid-result .bevel-grid [data-bevel-column="amount"] { width:auto; font:15px var(--bevel-font-mono); }
|
|
724
|
+
.bevel-columns-panel { max-inline-size:470px; margin-inline:auto; }
|
|
725
|
+
.bevel-columns__heading { padding:16px 20px; border-bottom:1px solid var(--bevel-line); }
|
|
726
|
+
.bevel-columns__heading h2 { margin:0; font:400 26px/1.1 var(--bevel-font-serif); }
|
|
727
|
+
.bevel-columns__heading p { margin:8px 0 0; color:var(--bevel-muted); font-size:12.5px; }
|
|
728
|
+
.bevel-columns { display:block; }
|
|
729
|
+
.bevel-columns__item { display:flex; align-items:center; gap:10px; padding:8px 12px 8px 10px; border-bottom:1px solid var(--bevel-line); }
|
|
730
|
+
.bevel-columns__item label { flex:1; }
|
|
731
|
+
.bevel-columns__item .bevel-checkbox__label { font-size:14px; color:var(--bevel-ink); }
|
|
732
|
+
.bevel-columns__item:has(:disabled) .bevel-checkbox__label { color:var(--bevel-ink-2); }
|
|
733
|
+
.bevel-columns__item:has(input:not(:checked)) .bevel-checkbox__label { color:var(--bevel-muted); }
|
|
734
|
+
.bevel-columns__grip { display:inline-grid; place-items:center; width:16px; color:var(--bevel-faint); cursor:grab; touch-action:none; }
|
|
735
|
+
.bevel-columns__position { min-width:18px; text-align:right; font:500 11px var(--bevel-font-mono); color:var(--bevel-muted); }
|
|
736
|
+
.bevel-columns__badge { font:500 9.5px/1.4 var(--bevel-font-mono); padding:2px 6px; background:var(--bevel-sunk); color:var(--bevel-muted); border:1px solid var(--bevel-line); }
|
|
737
|
+
.bevel-columns__button { display:inline-grid; place-items:center; flex-shrink:0; width:28px; height:28px; padding:0; border:2px solid; border-color:var(--bevel-edge-hi) var(--bevel-edge-lo) var(--bevel-edge-lo) var(--bevel-edge-hi); background:var(--bevel-face); color:var(--bevel-ink); cursor:pointer; }
|
|
738
|
+
.bevel-columns__button:disabled { opacity:.45; cursor:not-allowed; }
|
|
739
|
+
.bevel-columns__item[data-bevel-drop-target] { box-shadow:inset 0 2px var(--bevel-brass); }
|
|
740
|
+
.bevel-columns__item[data-bevel-drop-target="after"] { box-shadow:inset 0 -2px var(--bevel-brass); }
|
|
741
|
+
.bevel-columns__footer { display:flex; align-items:center; gap:8px; padding:16px 20px; background:var(--bevel-sunk); color:var(--bevel-muted); font-size:12px; }
|
|
742
|
+
.bevel-columns__footer svg { color:var(--bevel-faint); flex-shrink:0; }
|
|
743
|
+
.bevel-columns__spacer { flex:1; }
|
|
744
|
+
.bevel-columns__footer small { font-size:12px; }
|
|
745
|
+
.bevel-columns__footer .bevel-columns__summary { font:11px var(--bevel-font-mono); }
|
|
746
|
+
.bevel-grid-preview { margin-top:20px; }
|
|
747
|
+
.bevel-grid__table { width:100%; border-collapse:collapse; background:var(--bevel-surface); }
|
|
748
|
+
.bevel-grid__table th,.bevel-grid__table td { padding:12px 14px; border-bottom:1px solid var(--bevel-line); text-align:left; }
|
|
749
|
+
.bevel-grid__row[hidden] { display:none; }
|
|
750
|
+
.bevel-grid__table th { color:var(--bevel-muted); font:600 10px var(--bevel-font-mono); text-transform:uppercase; }
|
|
751
|
+
.bevel-grid__table [data-bevel-pinned] { position:sticky; z-index:1; background:var(--bevel-surface); }
|
|
752
|
+
.bevel-grid__resize { position:absolute; inset:0 -4px 0 auto; width:8px; padding:0; border:0; background:transparent; cursor:col-resize; }
|
|
753
|
+
.bevel-grid__table th:has(.bevel-grid__resize) { position:relative; }
|
|
754
|
+
.bevel-grid__table th[data-bevel-pinned] { position:sticky; }
|
|
755
|
+
.bevel-grid__cell { position:relative; text-align:right; }
|
|
756
|
+
.bevel-grid__cell > [data-bevel-cell-edit] { width:100%; border:0; background:transparent; color:var(--bevel-ink); text-align:right; }
|
|
757
|
+
.bevel-grid__cell-value { white-space:nowrap; }
|
|
758
|
+
.bevel-grid__cell-editor { display:flex; align-items:center; }
|
|
759
|
+
.bevel-grid__cell-input { width:100%; min-height:32px; border:0; border-bottom:2px solid var(--bevel-brass); background:transparent; color:var(--bevel-ink); text-align:right; }
|
|
760
|
+
.bevel-grid__cell[data-bevel-editing] > [data-bevel-cell-edit] { display:none; }
|
|
761
|
+
.bevel-grid__cell-error { display:block; color:var(--bevel-ox); font-size:11px; }
|
|
762
|
+
.bevel-grid__cell-error[hidden] { display:none; }
|
|
763
|
+
.bevel-grid__cell[data-bevel-invalid] { background:var(--bevel-ox-soft); }
|
|
764
|
+
.bevel-grid-edit-note { display:flex; align-items:center; gap:8px; margin-top:16px; color:var(--bevel-muted); font-size:12.5px; }
|
|
765
|
+
.bevel-grid-edit-note > svg { color:var(--bevel-faint); }
|
|
766
|
+
.bevel-grid.bevel-grid-edit-example { box-shadow:none; border:0; background:transparent; }
|
|
767
|
+
.bevel-grid-edit-example .bevel-grid__table { background:transparent; }
|
|
768
|
+
.bevel-grid-edit-example .bevel-grid__table thead th { font-weight:400; background:var(--bevel-sunk); }
|
|
769
|
+
.bevel-grid-edit-example .bevel-grid__row > td { height:48px; padding:0 12px; background:transparent; }
|
|
770
|
+
.bevel-grid-edit-example [data-bevel-column="invoice"],.bevel-grid-edit-example td[data-bevel-column="amount"] { font:13px var(--bevel-font-mono); }
|
|
771
|
+
.bevel-grid-edit-example .bevel-badge { text-transform:none; }
|
|
772
|
+
.bevel-grid-edit-example .bevel-grid__cell > [data-bevel-cell-edit] { display:inline-flex; justify-content:flex-end; align-items:center; gap:8px; margin-right:-8px; padding:4px 8px; border:1px dashed transparent; font:inherit; cursor:text; }
|
|
773
|
+
.bevel-grid-edit-example .bevel-grid__cell > [data-bevel-cell-edit] svg { color:var(--bevel-faint); display:none; }
|
|
774
|
+
.bevel-grid-edit-example tr[data-bevel-key="0432"] [data-bevel-cell-edit] svg,.bevel-grid-edit-example [data-bevel-cell-edit]:is(:hover,:focus-visible) svg { display:block; }
|
|
775
|
+
.bevel-grid-edit-example tr[data-bevel-key="0432"] .bevel-grid__cell-value,.bevel-grid-edit-example [data-bevel-cell-edit]:is(:hover,:focus-visible) .bevel-grid__cell-value { text-decoration:underline dotted var(--bevel-faint); text-underline-offset:4px; }
|
|
776
|
+
.bevel-grid-edit-example .bevel-grid__cell[data-bevel-editing] > [data-bevel-cell-edit] { display:none; }
|
|
777
|
+
.bevel-grid__cell-editor { display:inline-flex; height:32px; border:1px solid var(--bevel-brass); outline:2px solid var(--bevel-brass); outline-offset:1px; background:var(--bevel-surface); }
|
|
778
|
+
.bevel-grid__cell-input { min-height:0; width:92px; min-width:0; padding:0 6px; font:13px var(--bevel-font-mono); border:0; outline:0; }
|
|
779
|
+
.bevel-grid__cell-action { display:grid; place-items:center; width:28px; padding:0; border:0; border-left:1px solid var(--bevel-line); background:var(--bevel-sunk); color:var(--bevel-teal); }
|
|
780
|
+
.bevel-grid__cell-action[data-bevel-cell-action="cancel"] { color:var(--bevel-ox); }
|
|
781
|
+
.bevel-grid__cell[data-bevel-invalid] .bevel-grid__cell-editor { border-color:var(--bevel-ox); outline-color:var(--bevel-ox); }
|
|
782
|
+
|
|
783
|
+
@media(max-width:540px){.bevel-grid-example{padding:24px 20px 28px}.bevel-grid-example__header h1{font-size:31px}.bevel-grid-example__header{margin-bottom:20px;padding-bottom:14px}.bevel-filter__rule{grid-template-columns:1fr 1fr 28px}.bevel-filter__rule>span:first-child{grid-column:1/-1;text-align:left;padding:0}.bevel-filter__rule .bevel-input,.bevel-filter__rule .bevel-select:has([data-bevel-filter-value]){grid-column:1/3}.bevel-filter__rule [data-bevel-filter-remove]{grid-column:3;grid-row:2/4}.bevel-columns__item{grid-template-columns:20px 1fr 58px 28px 28px;padding-inline:10px}.bevel-grid{overflow:auto}.bevel-grid-result .bevel-grid__table thead{display:none}.bevel-grid-result .bevel-grid__row{display:flex;justify-content:space-between;flex-wrap:wrap}.bevel-grid-result .bevel-grid__row[hidden]{display:none}.bevel-grid-result .bevel-grid__row td{border:0;padding:3px}.bevel-grid-result .bevel-grid__row [data-bevel-column="client"]{order:-2;width:70%;font-weight:500}.bevel-grid-result .bevel-grid__row [data-bevel-column="amount"]{order:-1;width:30%;text-align:right}.bevel-grid-result .bevel-grid__row [data-bevel-column="invoice"],.bevel-grid-result .bevel-grid__row [data-bevel-column="status"]{color:var(--bevel-muted);font-size:11px}}
|
|
784
|
+
@media (max-width:540px) {
|
|
785
|
+
.bevel-toast-stage { padding:14px; min-height:0; }
|
|
786
|
+
.bevel-action-banner__body { min-inline-size:150px; }
|
|
787
|
+
.bevel-saved-page { padding:24px 20px; }
|
|
788
|
+
.bevel-saved-page article { margin-top:58px; }
|
|
789
|
+
.bevel-saved-page h1 { font-size:34px; }
|
|
790
|
+
}
|
|
791
|
+
.bevel-reference-example { padding: 32px 36px 36px; }
|
|
792
|
+
.bevel-reference-example > .bevel-example__header { max-width: none; margin-bottom: 26px; padding-bottom: 18px; border-bottom: 1px solid var(--bevel-line-2); }
|
|
793
|
+
.bevel-reference-example > .bevel-example__header .bevel-eyebrow { margin: 0 0 10px; padding: 0; border: 0; font-size: 10px; line-height: 1.6; letter-spacing: .16em; }
|
|
794
|
+
.bevel-reference-example > .bevel-example__header h1 { font-size: 36px; line-height: 1.08; letter-spacing: -.022em; }
|
|
795
|
+
.bevel-reference-example > .bevel-example__header p { margin: 8px 0 0; color: var(--bevel-ink-2); font-size: 14px; }
|
|
796
|
+
.bevel-reference-note { margin: 14px 0 0; color: var(--bevel-muted); font-size: 12.5px; }
|
|
797
|
+
@media (max-width: 640px) {
|
|
798
|
+
.bevel-reference-example > .bevel-example__header h1 { font-size: 31px; }
|
|
799
|
+
.bevel-reference-example > .bevel-example__header { margin-bottom: 20px; }
|
|
800
|
+
.bevel-code .bevel-code__header { padding: 10px 12px; }
|
|
801
|
+
.bevel-code .bevel-code__meta { display: none; }
|
|
802
|
+
}
|
|
803
|
+
.bevel-code { min-width: 0; border: 1px solid var(--bevel-line-2); background: var(--bevel-sunk); }
|
|
804
|
+
.bevel-code__header { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 10px 12px 10px 16px; border-bottom: 1px solid var(--bevel-line-2); background: var(--bevel-surface); }
|
|
805
|
+
.bevel-code__name { display: inline-flex; align-items: center; gap: 8px; font: 500 12.5px var(--bevel-font-mono); }
|
|
806
|
+
.bevel-code__header svg { flex-shrink: 0; color: var(--bevel-muted); }
|
|
807
|
+
.bevel-code__meta { color: var(--bevel-muted); font: 11px var(--bevel-font-mono); }
|
|
808
|
+
.bevel-code__language { padding: 3px 7px; border: 1px solid var(--bevel-line); background: var(--bevel-sunk); color: var(--bevel-muted); font: 500 11px/1.4 var(--bevel-font-mono); }
|
|
809
|
+
.bevel-code__spacer { flex: 1; }
|
|
810
|
+
.bevel-code__header .bevel-button[aria-pressed="true"] { background: var(--bevel-face-in); border-color: var(--bevel-edge-in) var(--bevel-edge-in-hi) var(--bevel-edge-in-hi) var(--bevel-edge-in); }
|
|
811
|
+
.bevel-code pre { overflow: auto; margin: 0; padding: 14px 0; font: 12.5px/1.9 var(--bevel-font-mono); scrollbar-width: thin; scrollbar-color: var(--bevel-line-2) transparent; }
|
|
812
|
+
.bevel-code pre code { font: inherit; }
|
|
813
|
+
.bevel-code__line { position: relative; display: inline-block; min-width: 100%; padding: 0 18px 0 44px; vertical-align: top; }
|
|
814
|
+
.bevel-code__line::before { content: attr(data-line) / ""; position: absolute; top: 0; bottom: 0; left: 0; width: 30px; padding-right: 14px; border-right: 1px solid var(--bevel-line); color: var(--bevel-faint); text-align: right; user-select: none; }
|
|
815
|
+
.bevel-code__line:hover { background: color-mix(in srgb, var(--bevel-surface) 50%, var(--bevel-sunk)); }
|
|
816
|
+
.bevel-code[data-bevel-wrap] pre { white-space: pre-wrap; overflow-wrap: anywhere; }
|
|
817
|
+
.bevel-code[data-bevel-wrap] .bevel-code__line { width: 100%; min-width: 0; }
|
|
818
|
+
.bevel-code__tag { color: var(--bevel-teal); }
|
|
819
|
+
.bevel-code__attribute { color: var(--bevel-brass); }
|
|
820
|
+
.bevel-code__string { color: var(--bevel-ink-2); }
|
|
821
|
+
.bevel-code__notice { margin: 0; padding: 10px 16px; color: var(--bevel-ink-2); font-size: 13px; }
|
|
822
|
+
.bevel-code__fallback { display: block; width: calc(100% - 32px); min-height: 120px; margin: 0 16px 16px; padding: 10px; border: 1px solid var(--bevel-line-2); background: var(--bevel-surface); color: var(--bevel-ink); font: 12px/1.6 var(--bevel-font-mono); }
|
|
823
|
+
.bevel-diff { min-width: 0; overflow: hidden; border: 1px solid var(--bevel-line-2); background: var(--bevel-surface); }
|
|
824
|
+
.bevel-diff__header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; padding: 10px 12px 10px 16px; border-bottom: 1px solid var(--bevel-line-2); font: 500 12.5px var(--bevel-font-mono); }
|
|
825
|
+
.bevel-diff__group, .bevel-diff__controls { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
|
|
826
|
+
.bevel-diff__header svg { color: var(--bevel-muted); }
|
|
827
|
+
.bevel-diff__count { padding: 2px 7px; border: 1px solid var(--bevel-line); font: 500 10.5px/1.3 var(--bevel-font-mono); }
|
|
828
|
+
.bevel-diff__count[data-bevel-kind="add"] { color: var(--bevel-teal); background: var(--bevel-teal-soft); }
|
|
829
|
+
.bevel-diff__count[data-bevel-kind="remove"] { color: var(--bevel-ox); background: var(--bevel-ox-soft); }
|
|
830
|
+
.bevel-diff__controls { gap: 0; }
|
|
831
|
+
.bevel-diff__controls .bevel-button { padding: 3px 10px; font-size: 12.5px; height: auto; }
|
|
832
|
+
.bevel-diff__controls .bevel-button[aria-pressed="true"] { background: var(--bevel-face-in); border-color: var(--bevel-edge-in) var(--bevel-edge-in-hi) var(--bevel-edge-in-hi) var(--bevel-edge-in); }
|
|
833
|
+
.bevel-diff__hunk { padding: 7px 16px; border-block: 1px solid var(--bevel-line); background: var(--bevel-sunk); color: var(--bevel-muted); font: 11px var(--bevel-font-mono); }
|
|
834
|
+
.bevel-diff__line { display: flex; gap: 10px; padding: 6px 12px; color: var(--bevel-ink); font: 12px/1.7 var(--bevel-font-mono); }
|
|
835
|
+
.bevel-diff__line > span:first-child { flex: 0 0 22px; color: var(--bevel-faint); text-align: right; }
|
|
836
|
+
.bevel-diff__line > span:nth-child(2) { flex: 0 0 12px; text-align: center; font-weight: 600; }
|
|
837
|
+
.bevel-diff__line code { min-width: 0; overflow-wrap: anywhere; white-space: pre-wrap; font: inherit; }
|
|
838
|
+
.bevel-diff__line[data-bevel-kind="add"] { background: color-mix(in srgb, var(--bevel-teal-soft) 70%, var(--bevel-surface)); }
|
|
839
|
+
.bevel-diff__line[data-bevel-kind="remove"] { background: color-mix(in srgb, var(--bevel-ox-soft) 70%, var(--bevel-surface)); }
|
|
840
|
+
.bevel-diff__line[data-bevel-kind="add"] > span:nth-child(2) { color: var(--bevel-teal); }
|
|
841
|
+
.bevel-diff__line[data-bevel-kind="remove"] > span:nth-child(2) { color: var(--bevel-ox); }
|
|
842
|
+
.bevel-diff__line mark { color: inherit; }
|
|
843
|
+
.bevel-diff__line[data-bevel-kind="add"] mark { background: color-mix(in srgb, var(--bevel-teal) 32%, transparent); }
|
|
844
|
+
.bevel-diff__line[data-bevel-kind="remove"] mark { background: color-mix(in srgb, var(--bevel-ox) 30%, transparent); text-decoration: line-through; }
|
|
845
|
+
.bevel-diff[data-bevel-layout="split"] .bevel-diff__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
|
|
846
|
+
.bevel-diff__body section + section { border-left: 1px solid var(--bevel-line-2); }
|
|
847
|
+
.bevel-diff__body h3 { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin: 0; padding: 9px 16px; border-bottom: 1px solid var(--bevel-line); background: var(--bevel-sunk); color: var(--bevel-ink-2); text-transform: uppercase; letter-spacing: .1em; font: 500 10.5px/1.4 var(--bevel-font-mono); }
|
|
848
|
+
.bevel-diff__body h3 small { color: var(--bevel-faint); font-size: 10px; text-transform: none; letter-spacing: 0; }
|
|
849
|
+
.bevel-diff > footer { padding: 10px 16px; border-top: 1px solid var(--bevel-line); color: var(--bevel-muted); font: 11px var(--bevel-font-mono); }
|
|
850
|
+
.bevel-display-example { min-block-size: 100dvh; padding: 32px 36px 36px; font-size: 15px; line-height: 1.5; }
|
|
851
|
+
.bevel-display-example > .bevel-example__header { max-inline-size: none; margin-block-end: 26px; padding-block-end: 18px; }
|
|
852
|
+
.bevel-display-example > .bevel-example__header h1 { font-size: 36px; line-height: 1.08; letter-spacing: -.022em; }
|
|
853
|
+
.bevel-display-example > .bevel-example__header .bevel-eyebrow,
|
|
854
|
+
.bevel-chart__header .bevel-eyebrow { display: block; margin-block-end: 12px; padding: 0; border: 0; color: var(--bevel-muted); font-size: 10px; letter-spacing: .13em; }
|
|
855
|
+
.bevel-display-example > .bevel-example__header .bevel-eyebrow { margin-block-end: 10px; color: var(--bevel-brass); font-weight: 500; letter-spacing: .16em; }
|
|
856
|
+
.bevel-display-example > .bevel-example__header p { max-inline-size: 520px; margin: 8px 0 0; color: var(--bevel-ink-2); font-size: 14px; }
|
|
857
|
+
.bevel-display-example:has(.bevel-activity) > .bevel-example__header,
|
|
858
|
+
.bevel-display-example:has(.bevel-avatars) > .bevel-example__header { border-bottom: 1px solid var(--bevel-line-2); }
|
|
859
|
+
.bevel-display-example__foot { display: flex; justify-content: space-between; gap: 18px; margin-block-start: 18px; padding-block-start: 14px; color: var(--bevel-ink-2); font-size: 12.5px; }
|
|
860
|
+
.bevel-display-example__foot time { color: var(--bevel-muted); font: 11px var(--bevel-font-mono); letter-spacing: .04em; }
|
|
861
|
+
.bevel-activity__day { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; color: var(--bevel-brass); font: 500 10px var(--bevel-font-mono); letter-spacing: .13em; text-transform: uppercase; }
|
|
862
|
+
.bevel-activity__day::after { content: ""; flex: 1; block-size: 1px; background: var(--bevel-line); }
|
|
863
|
+
.bevel-activity__day:not(:first-child) { margin-block-start: 24px; }
|
|
864
|
+
.bevel-activity:is(ol) { padding-inline-start: 18px; border-left: 1px solid var(--bevel-line-2); }
|
|
865
|
+
.bevel-activity__list { margin: 0 0 0 17px; padding: 0 0 0 28px; border-left: 1px solid var(--bevel-line-2); list-style: none; }
|
|
866
|
+
.bevel-activity > .bevel-activity__item { padding: 10px 0; }
|
|
867
|
+
.bevel-activity__item { position: relative; min-block-size: 34px; padding: 0 0 20px; }
|
|
868
|
+
.bevel-activity__avatar { position: absolute; inset: -2px auto auto -46px; display: grid; place-items: center; inline-size: 34px; block-size: 34px; border: 1px solid var(--bevel-line-2); background: var(--bevel-sunk); box-shadow: 0 0 0 4px var(--bevel-ground); color: var(--bevel-ink-2); font: 500 11px/1 var(--bevel-font-mono); letter-spacing: .02em; }
|
|
869
|
+
.bevel-activity__avatar[data-bevel-person="mira"] { border-color: color-mix(in srgb, var(--bevel-brass) 30%, var(--bevel-brass-soft)); background: var(--bevel-brass-soft); color: var(--bevel-brass); }
|
|
870
|
+
.bevel-activity__avatar[data-bevel-person="alex"] { border-color: color-mix(in srgb, var(--bevel-teal) 30%, var(--bevel-teal-soft)); background: var(--bevel-teal-soft); color: var(--bevel-teal); }
|
|
871
|
+
.bevel-activity__avatar[data-bevel-person="jules"] { border-color: var(--bevel-ink); background: var(--bevel-ink); color: var(--bevel-ground); }
|
|
872
|
+
.bevel-activity__head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
|
|
873
|
+
.bevel-activity__head p { margin: 0; color: var(--bevel-ink-2); font-size: 14px; }
|
|
874
|
+
.bevel-activity__head strong { color: var(--bevel-ink); font-weight: 500; }
|
|
875
|
+
.bevel-activity__head time { color: var(--bevel-muted); font: 11px var(--bevel-font-mono); }
|
|
876
|
+
.bevel-activity__detail { margin: 4px 0 0; color: var(--bevel-muted); font-size: 13px; }
|
|
877
|
+
.bevel-activity__more { margin-block-start: 4px; }
|
|
878
|
+
.bevel-activity__more svg { color: var(--bevel-muted); }
|
|
879
|
+
.bevel-activity__more[aria-expanded="true"] svg { transform: rotate(180deg); }
|
|
880
|
+
.bevel-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-block: 1px solid var(--bevel-line-2); }
|
|
881
|
+
.bevel-stats__tile { min-inline-size: 0; padding: 22px 22px 20px; }
|
|
882
|
+
.bevel-stats__tile + .bevel-stats__tile { border-left: 1px solid var(--bevel-line-2); }
|
|
883
|
+
.bevel-stats__tile dd { margin: 0; }
|
|
884
|
+
.bevel-stats__label { margin: 0; color: var(--bevel-muted); font: 500 10px var(--bevel-font-mono); letter-spacing: .13em; text-transform: uppercase; }
|
|
885
|
+
.bevel-stats__value { margin: 10px 0 6px; overflow-wrap: anywhere; color: var(--bevel-ink); font: 38px/1 var(--bevel-font-mono); letter-spacing: -.05em; }
|
|
886
|
+
.bevel-stats__delta { display: inline-flex; align-items: center; gap: 4px; color: var(--bevel-muted); font: 500 11.5px var(--bevel-font-mono); }
|
|
887
|
+
.bevel-stats__delta[data-bevel-direction="up"] { color: var(--bevel-teal); }
|
|
888
|
+
.bevel-stats__delta[data-bevel-direction="down"] { color: var(--bevel-ox); }
|
|
889
|
+
.bevel-stats__delta[data-bevel-tone="bad"] { color: var(--bevel-ox); }
|
|
890
|
+
.bevel-stats__spark { display: block; inline-size: 100%; block-size: 40px; margin-block-start: 20px; color: var(--bevel-brass); }
|
|
891
|
+
.bevel-avatars { position: relative; }
|
|
892
|
+
.bevel-avatars:has(.bevel-avatars__stack) { padding: 22px 24px; border: 1px solid var(--bevel-line-2); background: var(--bevel-surface); }
|
|
893
|
+
.bevel-avatars > .bevel-chart__header { align-items: center; margin-block-end: 0; }
|
|
894
|
+
.bevel-avatars > .bevel-chart__header h2 { margin: 0; }
|
|
895
|
+
.bevel-avatars > .bevel-chart__header h2 { font-size: 26px; }
|
|
896
|
+
.bevel-avatars > .bevel-chart__header p { margin: 7px 0 0; color: var(--bevel-muted); font-size: 13px; }
|
|
897
|
+
.bevel-avatars > .bevel-chart__header .bevel-badge { border-color: var(--bevel-line-2); background: transparent; color: var(--bevel-ink); text-transform: none; }
|
|
898
|
+
.bevel-avatars:not(:has(.bevel-avatars__stack)) { display: flex; align-items: center; padding-inline-start: 10px; }
|
|
899
|
+
.bevel-avatars:not(:has(.bevel-avatars__stack)) > .bevel-avatars__avatar { inline-size: 36px; block-size: 36px; margin-inline-start: -10px; border: 2px solid var(--bevel-ground); border-radius: 50%; }
|
|
900
|
+
.bevel-avatars__stack { isolation: isolate; display: flex; align-items: center; margin: 24px 0; padding-inline-start: 5px; }
|
|
901
|
+
.bevel-avatars__person { position: relative; display: inline-flex; flex: 0 0 auto; margin-inline-start: -5px; box-shadow: 0 0 0 3px var(--bevel-surface); }
|
|
902
|
+
.bevel-avatars__avatar,
|
|
903
|
+
.bevel-avatars__image { display: grid; place-items: center; inline-size: 42px; block-size: 42px; border: 1px solid var(--bevel-line-2); background: var(--bevel-sunk); color: var(--bevel-ink-2); font: 500 11px/1 var(--bevel-font-mono); letter-spacing: .02em; object-fit: cover; }
|
|
904
|
+
.bevel-avatars__avatar { position: relative; }
|
|
905
|
+
.bevel-avatars__avatar[data-bevel-person="mira"] { border-color: color-mix(in srgb, var(--bevel-brass) 30%, var(--bevel-brass-soft)); background: var(--bevel-brass-soft); color: var(--bevel-brass); }
|
|
906
|
+
.bevel-avatars__avatar[data-bevel-person="alex"] { border-color: color-mix(in srgb, var(--bevel-teal) 30%, var(--bevel-teal-soft)); background: var(--bevel-teal-soft); color: var(--bevel-teal); }
|
|
907
|
+
.bevel-avatars__fallback[hidden],
|
|
908
|
+
.bevel-avatars__image[hidden] { display: none; }
|
|
909
|
+
.bevel-avatars__status { position: absolute; z-index: 2; inset: auto -3px -3px auto; inline-size: 10px; block-size: 10px; background: var(--bevel-teal); box-shadow: 0 0 0 2px var(--bevel-surface); }
|
|
910
|
+
.bevel-avatars__overflow,
|
|
911
|
+
.bevel-avatars__count { position: relative; z-index: 1; display: grid; flex: 0 0 auto; place-items: center; inline-size: 42px; block-size: 42px; margin-inline-start: 3px; padding: 0; border: 1px dashed var(--bevel-line-2); background: var(--bevel-surface); color: var(--bevel-muted); font: 500 11px/1 var(--bevel-font-mono); }
|
|
912
|
+
.bevel-avatars__directory { display: grid; margin: 6px 0 0; padding: 6px 0 0; border-top: 1px solid var(--bevel-line); list-style: none; }
|
|
913
|
+
.bevel-avatars__directory .bevel-avatars__avatar,
|
|
914
|
+
.bevel-avatars__directory .bevel-avatars__overflow { inline-size: 34px; block-size: 34px; }
|
|
915
|
+
.bevel-avatars__member { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--bevel-line); }
|
|
916
|
+
.bevel-avatars__member:last-child { border-bottom: 0; }
|
|
917
|
+
.bevel-avatars__member strong { display: block; color: var(--bevel-ink); font-size: 13.5px; font-weight: 500; }
|
|
918
|
+
.bevel-avatars__member p { margin: 1px 0 0; color: var(--bevel-muted); font-size: 12px; }
|
|
919
|
+
.bevel-avatars__presence-dot { display: inline-block; inline-size: 7px; block-size: 7px; margin-inline-end: 6px; background: var(--bevel-teal); vertical-align: 1px; }
|
|
920
|
+
.bevel-avatars__members { min-inline-size: min(310px, calc(100vw - 32px)); padding: 14px; }
|
|
921
|
+
.bevel-avatars__members h3 { margin: 0 0 8px; font: 400 20px var(--bevel-font-serif); }
|
|
922
|
+
.bevel-avatars__members .bevel-avatars__directory { margin: 0; padding: 0; border-top: 0; }
|
|
923
|
+
.bevel-chart { position: relative; color: var(--bevel-ink); }
|
|
924
|
+
.bevel-chart:is(svg) { display: block; inline-size: 100%; block-size: auto; }
|
|
925
|
+
.bevel-chart:is(svg) text { fill: var(--bevel-muted); font: 500 11px var(--bevel-font-mono); }
|
|
926
|
+
.bevel-chart + .bevel-chart { margin-block-start: 42px; }
|
|
927
|
+
.bevel-chart__header { display: flex; align-items: start; justify-content: space-between; gap: 18px; margin-block-end: 24px; }
|
|
928
|
+
.bevel-chart__header h2 { margin: 0; color: var(--bevel-ink); font: 400 30px/1.2 var(--bevel-font-serif); }
|
|
929
|
+
.bevel-chart > .bevel-chart__header .bevel-badge { text-transform: none; }
|
|
930
|
+
.bevel-chart__plot { display: block; inline-size: 100%; block-size: auto; overflow: visible; color: var(--bevel-brass); }
|
|
931
|
+
.bevel-chart__plot text { fill: var(--bevel-muted); font: 500 11px var(--bevel-font-mono); }
|
|
932
|
+
.bevel-chart__grid { stroke: var(--bevel-line); }
|
|
933
|
+
.bevel-chart__data { fill: var(--bevel-brass); }
|
|
934
|
+
.bevel-chart__line { fill: none; stroke: var(--bevel-brass); stroke-width: 2.5; }
|
|
935
|
+
.bevel-chart [data-bevel-series-key][hidden] { display: none; }
|
|
936
|
+
.bevel-chart__legend { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-block-start: 16px; padding-block-start: 14px; border-top: 1px solid var(--bevel-line); color: var(--bevel-ink-2); font-size: 12.5px; }
|
|
937
|
+
.bevel-chart__series { display: inline-flex; align-items: center; gap: 8px; padding: 2px 0; border: 0; background: transparent; color: var(--bevel-ink-2); }
|
|
938
|
+
.bevel-chart__series[aria-pressed="false"] { color: var(--bevel-muted); text-decoration: line-through; }
|
|
939
|
+
.bevel-chart__swatch { display: inline-block; inline-size: 9px; block-size: 9px; background: var(--bevel-brass); }
|
|
940
|
+
.bevel-chart__total { color: var(--bevel-ink); font: 12px var(--bevel-font-mono); }
|
|
941
|
+
.bevel-chart__table { position: absolute; inset: 0 auto auto 0; inline-size: 1px; block-size: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
|
|
942
|
+
.bevel-chart__spark { display: flex; align-items: flex-end; gap: 36px; }
|
|
943
|
+
.bevel-chart__spark-value { flex: 0 0 auto; }
|
|
944
|
+
.bevel-chart__spark-value strong { display: block; margin-block-end: 6px; color: var(--bevel-ink); font: 34px var(--bevel-font-mono); letter-spacing: -.06em; }
|
|
945
|
+
.bevel-chart__spark-body { flex: 1; min-inline-size: 0; }
|
|
946
|
+
.bevel-chart__spark-body .bevel-chart__plot { block-size: 64px; }
|
|
947
|
+
.bevel-chart__days { display: grid; grid-template-columns: repeat(7, 1fr); margin-block-start: 8px; padding-block-start: 8px; border-top: 1px solid var(--bevel-line); }
|
|
948
|
+
.bevel-chart__days span { display: grid; justify-items: center; gap: 2px; color: var(--bevel-faint); font: 10px var(--bevel-font-mono); letter-spacing: .06em; text-transform: uppercase; }
|
|
949
|
+
.bevel-chart__days b { color: var(--bevel-ink); font-size: 12px; font-weight: 500; letter-spacing: 0; }
|
|
950
|
+
.bevel-chart__days [data-bevel-peak] b { color: var(--bevel-brass); }
|
|
951
|
+
@media (max-width: 520px) {
|
|
952
|
+
.bevel-display-example { padding: 24px 20px 28px; }
|
|
953
|
+
.bevel-display-example > .bevel-example__header { margin-block-end: 20px; padding-block-end: 14px; }
|
|
954
|
+
.bevel-display-example > .bevel-example__header h1 { font-size: 31px; }
|
|
955
|
+
.bevel-activity__list { margin-inline-start: 14px; padding-inline-start: 24px; }
|
|
956
|
+
.bevel-activity__avatar { inset-inline-start: -41px; inline-size: 30px; block-size: 30px; font-size: 10px; }
|
|
957
|
+
.bevel-stats { grid-template-columns: 1fr; }
|
|
958
|
+
.bevel-stats__tile { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 14px 0; }
|
|
959
|
+
.bevel-stats__tile + .bevel-stats__tile { border-top: 1px solid var(--bevel-line); border-left: 0; }
|
|
960
|
+
.bevel-stats__value { margin: 4px 0 0; font-size: 30px; }
|
|
961
|
+
.bevel-stats__delta { grid-column: 2; grid-row: 1 / 3; justify-self: end; text-align: right; }
|
|
962
|
+
.bevel-stats__spark { display: none; }
|
|
963
|
+
.bevel-chart__spark { flex-direction: column; align-items: stretch; gap: 16px; }
|
|
964
|
+
.bevel-chart__days span { font-size: 9px; }
|
|
965
|
+
}
|
|
966
|
+
.bevel-grid__cell[data-bevel-edit] { position: relative; }
|
|
967
|
+
.bevel-split { display: grid; grid-template-columns: minmax(0, var(--bevel-split-size)) 10px minmax(0, 1fr); min-block-size: 300px; border: 1px solid var(--bevel-line-2); background: var(--bevel-surface); }
|
|
968
|
+
.bevel-split__pane { min-inline-size: 0; min-block-size: 0; overflow: auto; padding: 18px 14px; }
|
|
969
|
+
.bevel-split__pane:first-child { background: var(--bevel-sunk); }
|
|
970
|
+
.bevel-split__divider { display: flex; align-items: center; justify-content: center; cursor: col-resize; touch-action: none; border-inline: 1px solid var(--bevel-line-2); background: var(--bevel-face); color: var(--bevel-muted); }
|
|
971
|
+
.bevel-split__divider > svg { flex-shrink: 0; }
|
|
972
|
+
.bevel-split__divider[hidden] { display: none; }
|
|
973
|
+
.bevel-split__divider[aria-disabled="true"] { cursor: default; }
|
|
974
|
+
.bevel-split__divider:focus-visible { outline-offset: -2px; }
|
|
975
|
+
.bevel-split__eyebrow { margin-bottom: 7px; padding: 0 7px 8px; color: var(--bevel-muted); font: 500 10px/1.6 var(--bevel-font-mono); letter-spacing: .14em; text-transform: uppercase; }
|
|
976
|
+
.bevel-split__item { display: flex; align-items: center; gap: 9px; margin: 2px 0; padding: 8px; border-left: 2px solid transparent; color: var(--bevel-ink-2); font-size: 13.5px; line-height: 1.5; }
|
|
977
|
+
.bevel-split__item svg { color: var(--bevel-muted); flex-shrink: 0; }
|
|
978
|
+
.bevel-split__item[aria-current] { background: var(--bevel-surface); border-left-color: var(--bevel-brass); color: var(--bevel-ink); font-weight: 500; }
|
|
979
|
+
.bevel-split__item[aria-current] svg { color: var(--bevel-brass); }
|
|
980
|
+
.bevel-split__pane pre { margin: 0; padding: 6px 8px; white-space: pre-wrap; overflow-wrap: anywhere; font: 12px/1.8 var(--bevel-font-mono); }
|
|
981
|
+
.bevel-split__pane--detail { padding: 22px 26px; }
|
|
982
|
+
.bevel-split__pane--detail h2 { margin: 2px 0 0; font: 400 27px/1.15 var(--bevel-font-serif); }
|
|
983
|
+
.bevel-split__pane--detail p { margin: 12px 0 0; color: var(--bevel-ink-2); font-size: 14px; }
|
|
984
|
+
.bevel-split__byline { display: flex; align-items: center; gap: 10px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--bevel-line); }
|
|
985
|
+
.bevel-split__avatar { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--bevel-line); background: var(--bevel-brass-soft); color: var(--bevel-brass); font: 500 10px var(--bevel-font-mono); }
|
|
986
|
+
.bevel-split__time { color: var(--bevel-muted); font-size: 12px; }
|
|
987
|
+
.bevel-split__caption { display: flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--bevel-muted); font: 11px var(--bevel-font-mono); }
|
|
988
|
+
.bevel-split[data-bevel-orientation="vertical"] { height: 420px; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, var(--bevel-split-size)) 10px minmax(0, 1fr); }
|
|
989
|
+
.bevel-split[data-bevel-orientation="vertical"] > .bevel-split__divider { cursor: row-resize; border-inline: 0; border-block: 1px solid var(--bevel-line-2); }
|
|
990
|
+
@media (max-width: 640px) {
|
|
991
|
+
.bevel-split, .bevel-split[data-bevel-orientation="vertical"] { height: auto; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; }
|
|
992
|
+
.bevel-split > .bevel-split__divider { display: none; }
|
|
993
|
+
.bevel-split > .bevel-split__pane { padding: 16px 12px; }
|
|
994
|
+
.bevel-split__pane--detail h2 { font-size: 22px; }
|
|
995
|
+
.bevel-split__caption { display: none; }
|
|
996
|
+
}
|
|
997
|
+
.bevel-richtext { border: 1px solid var(--bevel-line-2); }
|
|
998
|
+
.bevel-richtext__toolbar { display: flex; gap: 4px; padding: 7px; border-bottom: 1px solid var(--bevel-line-2); }
|
|
999
|
+
.bevel-kanban { overflow-x: auto; }
|
|
1000
|
+
.bevel-kanban__toolbar { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; }
|
|
1001
|
+
.bevel-kanban__columns { display: grid; grid-template-columns: repeat(4, minmax(250px, 1fr)); gap: 12px; min-inline-size: 1060px; }
|
|
1002
|
+
.bevel-kanban__column { background: var(--bevel-sunk); border: 1px solid var(--bevel-line-2); }
|
|
1003
|
+
.bevel-kanban__column-header { padding: 12px; border-bottom: 1px solid var(--bevel-line-2); }
|
|
1004
|
+
.bevel-kanban__list { display: grid; gap: 8px; padding: 8px; min-block-size: 120px; }
|
|
1005
|
+
.bevel-kanban__card { padding: 12px; background: var(--bevel-surface); border: 1px solid var(--bevel-line-2); }
|
|
1006
|
+
.bevel-kanban__card[aria-selected="true"] { outline: 2px solid var(--bevel-brass); }
|
|
1007
|
+
[data-bevel-pending] { opacity: .72; }
|
|
1008
|
+
@media (max-width: 640px) {
|
|
1009
|
+
.bevel-settings__row { grid-template-columns:1fr; gap:12px; }
|
|
1010
|
+
.bevel-settings__control { justify-self:start; }
|
|
1011
|
+
.bevel-settings__row .bevel-select.bevel-settings__control { width:100%; }
|
|
1012
|
+
.bevel-choice-card { padding:16px; }
|
|
1013
|
+
.bevel-document-panel__row { align-items:flex-start; flex-wrap:wrap; }
|
|
1014
|
+
.bevel-document-panel__note { margin-top:24px; }
|
|
1015
|
+
.bevel-drawer { inline-size: 100vw; max-inline-size: none; box-sizing: border-box; }
|
|
1016
|
+
.bevel-wizard { grid-template-columns:1fr; gap:18px; }
|
|
1017
|
+
.bevel-wizard__steps { display:flex; gap:6px; border-right:0; border-bottom:1px solid var(--bevel-line); padding:0 0 14px; }
|
|
1018
|
+
.bevel-wizard__step { flex:1; min-height:0; padding:0 0 0 36px; font-size:11.5px; }
|
|
1019
|
+
.bevel-wizard__step::before { display:none; }
|
|
1020
|
+
.bevel-wizard__marker { top:0; width:28px; height:28px; }
|
|
1021
|
+
.bevel-wizard__step-note { display:none; }
|
|
1022
|
+
.bevel-wizard__actions { margin-top:18px; }
|
|
1023
|
+
.bevel-anchor-example:has(.bevel-wizard) .bevel-anchor-example__header { margin-bottom:20px; padding-bottom:14px; }
|
|
1024
|
+
.bevel-settings__row { grid-template-columns: 1fr; }
|
|
1025
|
+
}
|
|
1026
|
+
/* Visually hidden, still focusable and announced. The hidden native input
|
|
1027
|
+
behind every drawn control relies on it. */
|
|
1028
|
+
.bevel-sr-only {
|
|
1029
|
+
position: absolute; width: 1px; height: 1px;
|
|
1030
|
+
padding: 0; margin: -1px; overflow: hidden;
|
|
1031
|
+
clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0;
|
|
1032
|
+
}
|
|
1033
|
+
|
|
1034
|
+
/* ============================ BUTTON ============================ */
|
|
1035
|
+
/* The raised bevel: light top+left, dark right+bottom, real borders so the
|
|
1036
|
+
corners mitre. Press it and the edges swap and the label sinks 1px. */
|
|
1037
|
+
.bevel-button {
|
|
1038
|
+
display: inline-flex; align-items: center; justify-content: center; gap: 7px;
|
|
1039
|
+
font-family: var(--bevel-font-sans); font-size: 13.5px; font-weight: 500; line-height: 1.5;
|
|
1040
|
+
cursor: pointer; user-select: none; text-align: center; text-decoration: none;
|
|
1041
|
+
color: var(--bevel-ink);
|
|
1042
|
+
background: var(--bevel-face);
|
|
1043
|
+
border: 2px solid;
|
|
1044
|
+
border-color: var(--bevel-edge-hi) var(--bevel-edge-lo) var(--bevel-edge-lo) var(--bevel-edge-hi);
|
|
1045
|
+
border-radius: 0;
|
|
1046
|
+
padding: 0 12px;
|
|
1047
|
+
height: 32px;
|
|
1048
|
+
outline: none;
|
|
1049
|
+
}
|
|
1050
|
+
.bevel-button__label { white-space: nowrap; user-select: none; display: inline-block; }
|
|
1051
|
+
.bevel-button__label:has(> svg) { display: inline-flex; align-items: center; gap: 7px; }
|
|
1052
|
+
.bevel-button:hover { background: color-mix(in srgb, var(--bevel-face), var(--bevel-edge-hi) 45%); }
|
|
1053
|
+
.bevel-button:active:where(:not(:disabled, [aria-disabled="true"])) {
|
|
1054
|
+
border-color: var(--bevel-edge-lo) var(--bevel-edge-hi) var(--bevel-edge-hi) var(--bevel-edge-lo);
|
|
1055
|
+
}
|
|
1056
|
+
.bevel-button:active:where(:not(:disabled, [aria-disabled="true"])) .bevel-button__label { translate: 1px 1px; }
|
|
1057
|
+
.bevel-button:focus-visible,
|
|
1058
|
+
.bevel-button:has(:focus-visible) { outline: 2px solid var(--bevel-brass); outline-offset: 2px; }
|
|
1059
|
+
.bevel-button:disabled, .bevel-button[aria-disabled="true"] {
|
|
1060
|
+
--bevel-face: var(--bevel-sunk); --bevel-edge-hi: var(--bevel-surface); --bevel-edge-lo: var(--bevel-line-2);
|
|
1061
|
+
color: var(--bevel-faint); cursor: default; opacity: 1;
|
|
1062
|
+
}
|
|
1063
|
+
.bevel-button:disabled:hover, .bevel-button[aria-disabled="true"]:hover { background: var(--bevel-sunk); }
|
|
1064
|
+
.bevel-button:disabled .bevel-button__label { translate: none; }
|
|
1065
|
+
|
|
1066
|
+
.bevel-button--small { height: 26px; font-size: 12.5px; padding: 0 9px; }
|
|
1067
|
+
|
|
1068
|
+
/* Primary: ink acts. The bevel is derived from the ink so it embosses in
|
|
1069
|
+
both modes. Exactly one per view. */
|
|
1070
|
+
.bevel-button--primary {
|
|
1071
|
+
--bevel-face: var(--bevel-ink);
|
|
1072
|
+
--bevel-edge-hi: color-mix(in srgb, var(--bevel-ink), white 24%);
|
|
1073
|
+
--bevel-edge-lo: color-mix(in srgb, var(--bevel-ink), black 32%);
|
|
1074
|
+
color: var(--bevel-ground);
|
|
1075
|
+
}
|
|
1076
|
+
.bevel-button--primary:hover { background: color-mix(in srgb, var(--bevel-ink), var(--bevel-ground) 12%); }
|
|
1077
|
+
|
|
1078
|
+
/* Danger: ox destroys. A solid dark-red block with its own three stops, so
|
|
1079
|
+
the base rules for hover and press work unchanged on it. */
|
|
1080
|
+
.bevel-button--danger {
|
|
1081
|
+
--bevel-face: var(--bevel-ox-face);
|
|
1082
|
+
--bevel-edge-hi: var(--bevel-ox-edge-hi);
|
|
1083
|
+
--bevel-edge-lo: var(--bevel-ox-edge-lo);
|
|
1084
|
+
color: var(--bevel-ox-ink);
|
|
1085
|
+
}
|
|
1086
|
+
.bevel-button--danger:hover { background: color-mix(in srgb, var(--bevel-ox-face), var(--bevel-ox-edge-hi) 40%); }
|
|
1087
|
+
|
|
1088
|
+
/* Quiet: a link wearing padding. Transparent border keeps the hit area and
|
|
1089
|
+
the baseline aligned with neighbouring bevel buttons. */
|
|
1090
|
+
.bevel-button--quiet {
|
|
1091
|
+
background: none; border-color: transparent; color: var(--bevel-brass);
|
|
1092
|
+
}
|
|
1093
|
+
.bevel-button--quiet:hover { background: var(--bevel-sunk); color: var(--bevel-brass); }
|
|
1094
|
+
.bevel-button--quiet:active { border-color: transparent; }
|
|
1095
|
+
.bevel-button--quiet-bevel,
|
|
1096
|
+
.bevel-button--quiet-bevel:hover,
|
|
1097
|
+
.bevel-button--quiet-bevel:active,
|
|
1098
|
+
.bevel-button--quiet-bevel[aria-pressed="true"] {
|
|
1099
|
+
background: var(--bevel-face);
|
|
1100
|
+
border-color: var(--bevel-edge-hi) var(--bevel-edge-lo) var(--bevel-edge-lo) var(--bevel-edge-hi);
|
|
1101
|
+
box-shadow: none;
|
|
1102
|
+
color: var(--bevel-muted);
|
|
1103
|
+
}
|
|
1104
|
+
.bevel-button--quiet-bevel:hover,
|
|
1105
|
+
.bevel-button--quiet-bevel[aria-pressed="true"] {
|
|
1106
|
+
color: var(--bevel-ink);
|
|
1107
|
+
}
|
|
1108
|
+
.bevel-button--quiet-bevel .bevel-button__label,
|
|
1109
|
+
.bevel-button--quiet-bevel:active .bevel-button__label {
|
|
1110
|
+
translate: none;
|
|
1111
|
+
}
|
|
1112
|
+
|
|
1113
|
+
|
|
1114
|
+
/* ============================ TEXT INPUT ============================ */
|
|
1115
|
+
/* Flat and recessed: a hairline on the surface. Typed text is sans because
|
|
1116
|
+
most of it is language; --mono for a figure, a hex, an id. */
|
|
1117
|
+
.bevel-input {
|
|
1118
|
+
width: 100%; display: block;
|
|
1119
|
+
font-family: var(--bevel-font-sans); font-size: 13.5px; font-weight: 400; line-height: normal;
|
|
1120
|
+
color: var(--bevel-ink); background: var(--bevel-ground);
|
|
1121
|
+
border: 1px solid var(--bevel-line-2); border-radius: 0;
|
|
1122
|
+
padding: 0 10px; block-size: 34px; outline: none;
|
|
1123
|
+
transition: border-color .14s, background-color .14s;
|
|
1124
|
+
}
|
|
1125
|
+
.bevel-input::placeholder { color: var(--bevel-faint); }
|
|
1126
|
+
.bevel-input:hover:not(:disabled) { border-color: var(--bevel-faint); }
|
|
1127
|
+
.bevel-input:focus-visible { outline: 2px solid var(--bevel-brass); outline-offset: 1px; border-color: var(--bevel-brass); }
|
|
1128
|
+
.bevel-input:disabled { background: var(--bevel-sunk); color: var(--bevel-faint); border-color: var(--bevel-line); cursor: not-allowed; }
|
|
1129
|
+
.bevel-input--mono { font-family: var(--bevel-font-mono); font-size: 13px; }
|
|
1130
|
+
.bevel-input--small { block-size: 28px; min-block-size: 28px; padding: 0 8px; font-size: 12.5px; }
|
|
1131
|
+
input[type="search"].bevel-input { -webkit-appearance: none; appearance: none; }
|
|
1132
|
+
input[type="search"].bevel-input::-webkit-search-cancel-button { -webkit-appearance: none; }
|
|
1133
|
+
|
|
1134
|
+
/* ============================ TEXTAREA ============================ */
|
|
1135
|
+
.bevel-textarea {
|
|
1136
|
+
width: 100%; display: block; min-height: 104px; resize: vertical;
|
|
1137
|
+
font-family: var(--bevel-font-sans); font-size: 13.5px; font-weight: 400; line-height: 1.5;
|
|
1138
|
+
color: var(--bevel-ink); background: var(--bevel-ground);
|
|
1139
|
+
border: 1px solid var(--bevel-line-2); border-radius: 0;
|
|
1140
|
+
padding: 8px 10px; outline: none;
|
|
1141
|
+
transition: border-color .14s, background-color .14s;
|
|
1142
|
+
}
|
|
1143
|
+
.bevel-textarea::placeholder { color: var(--bevel-faint); }
|
|
1144
|
+
.bevel-textarea:hover:not(:disabled) { border-color: var(--bevel-faint); }
|
|
1145
|
+
.bevel-textarea:focus-visible { outline: 2px solid var(--bevel-brass); outline-offset: 1px; border-color: var(--bevel-brass); }
|
|
1146
|
+
.bevel-textarea:disabled { background: var(--bevel-sunk); color: var(--bevel-faint); border-color: var(--bevel-line); cursor: not-allowed; }
|
|
1147
|
+
.bevel-textarea--small { font-size: 14px; padding: 5px 10px; min-height: 80px; }
|
|
1148
|
+
|
|
1149
|
+
/* ============================ NUMBER ============================ */
|
|
1150
|
+
/* A flat field with two beveled steps stacked at its right edge. */
|
|
1151
|
+
.bevel-number {
|
|
1152
|
+
display: flex; align-items: stretch; width: 100%;
|
|
1153
|
+
background: var(--bevel-ground);
|
|
1154
|
+
border: 1px solid var(--bevel-line-2); border-radius: 0;
|
|
1155
|
+
transition: border-color .14s;
|
|
1156
|
+
}
|
|
1157
|
+
.bevel-number:hover { border-color: var(--bevel-faint); }
|
|
1158
|
+
.bevel-number:has(:focus-visible) { outline: 2px solid var(--bevel-brass); outline-offset: 1px; border-color: var(--bevel-brass); }
|
|
1159
|
+
.bevel-number__input {
|
|
1160
|
+
flex: 1; min-width: 0; background: transparent; color: var(--bevel-ink);
|
|
1161
|
+
font-family: var(--bevel-font-mono); font-size: 15px; line-height: 1.5;
|
|
1162
|
+
padding: 7px 10px 7px 12px; border: 0; outline: none;
|
|
1163
|
+
appearance: textfield; -webkit-appearance: textfield;
|
|
1164
|
+
}
|
|
1165
|
+
.bevel-number__input::-webkit-outer-spin-button,
|
|
1166
|
+
.bevel-number__input::-webkit-inner-spin-button { -webkit-appearance: none; appearance: none; }
|
|
1167
|
+
.bevel-number__steps { display: flex; flex-direction: column; padding: 2px; gap: 2px; }
|
|
1168
|
+
.bevel-number__step {
|
|
1169
|
+
flex: 1; position: relative; width: 26px; cursor: pointer; padding: 0; line-height: 0;
|
|
1170
|
+
background: var(--bevel-face); outline: none; color: var(--bevel-ink-2);
|
|
1171
|
+
border: 2px solid;
|
|
1172
|
+
border-color: var(--bevel-edge-hi) var(--bevel-edge-lo) var(--bevel-edge-lo) var(--bevel-edge-hi);
|
|
1173
|
+
border-radius: 0; font-size: 0;
|
|
1174
|
+
}
|
|
1175
|
+
/* The step glyph is a hairline chevron drawn from two borders. */
|
|
1176
|
+
.bevel-number__step::before {
|
|
1177
|
+
content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px;
|
|
1178
|
+
border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
|
|
1179
|
+
}
|
|
1180
|
+
.bevel-number__step[data-step="up"]::before { transform: translate(-50%, -25%) rotate(-135deg); }
|
|
1181
|
+
.bevel-number__step[data-step="down"]::before { transform: translate(-50%, -75%) rotate(45deg); }
|
|
1182
|
+
.bevel-number__step:hover { background: color-mix(in srgb, var(--bevel-face), var(--bevel-edge-hi) 45%); color: var(--bevel-ink); }
|
|
1183
|
+
.bevel-number__step:active {
|
|
1184
|
+
border-color: var(--bevel-edge-lo) var(--bevel-edge-hi) var(--bevel-edge-hi) var(--bevel-edge-lo);
|
|
1185
|
+
}
|
|
1186
|
+
.bevel-number__step:focus-visible { outline: 2px solid var(--bevel-brass); outline-offset: 1px; }
|
|
1187
|
+
.bevel-number--small .bevel-number__input { font-size: 13px; padding: 4px 8px 4px 10px; }
|
|
1188
|
+
.bevel-number--small .bevel-number__step { width: 22px; }
|
|
1189
|
+
|
|
1190
|
+
/* ============================ SELECT ============================ */
|
|
1191
|
+
/* Native <select>, OS arrow hidden, a hairline chevron drawn on the wrapper
|
|
1192
|
+
and kept out of the click path. */
|
|
1193
|
+
.bevel-select { position: relative; display: block; }
|
|
1194
|
+
.bevel-select__field {
|
|
1195
|
+
width: 100%; appearance: none; -webkit-appearance: none; cursor: pointer;
|
|
1196
|
+
font-family: var(--bevel-font-sans); font-size: 13.5px; line-height: normal;
|
|
1197
|
+
color: var(--bevel-ink); background: var(--bevel-ground);
|
|
1198
|
+
border: 1px solid var(--bevel-line-2); border-radius: 0;
|
|
1199
|
+
padding: 0 26px 0 10px; block-size: 34px; outline: none;
|
|
1200
|
+
transition: border-color .14s;
|
|
1201
|
+
}
|
|
1202
|
+
.bevel-select__field:hover:not(:disabled) { border-color: var(--bevel-faint); }
|
|
1203
|
+
.bevel-select__field:focus-visible { outline: 2px solid var(--bevel-brass); outline-offset: 1px; border-color: var(--bevel-brass); }
|
|
1204
|
+
.bevel-select__field:disabled { background: var(--bevel-sunk); color: var(--bevel-faint); cursor: not-allowed; }
|
|
1205
|
+
.bevel-select::after {
|
|
1206
|
+
content: ""; position: absolute; right: 14px; top: 50%; width: 7px; height: 7px;
|
|
1207
|
+
border-right: 1.5px solid var(--bevel-muted); border-bottom: 1.5px solid var(--bevel-muted);
|
|
1208
|
+
transform: translateY(-65%) rotate(45deg); pointer-events: none;
|
|
1209
|
+
}
|
|
1210
|
+
.bevel-select--small .bevel-select__field { block-size: 28px; font-size: 12.5px; padding: 0 24px 0 8px; }
|
|
1211
|
+
.bevel-select--small::after { right: 11px; width: 6px; height: 6px; }
|
|
1212
|
+
|
|
1213
|
+
/* ============================ CHECKBOX ============================ */
|
|
1214
|
+
/* Hidden native input, a beveled box, a mark drawn from two borders.
|
|
1215
|
+
Checked is the PROVISIONAL shallow recess (DECISIONS 0001): the edges swap
|
|
1216
|
+
but the dark one sits at half depth and the face keeps its colour. */
|
|
1217
|
+
.bevel-checkbox {
|
|
1218
|
+
display: inline-flex; align-items: flex-start; gap: 10px; cursor: pointer; width: fit-content;
|
|
1219
|
+
position: relative; font-size: 17px; line-height: 1.5; user-select: none;
|
|
1220
|
+
}
|
|
1221
|
+
.bevel-checkbox__box {
|
|
1222
|
+
position: relative; flex-shrink: 0; width: 20px; height: 20px; margin-top: 3px;
|
|
1223
|
+
background: var(--bevel-face); border-radius: 0;
|
|
1224
|
+
border: 2px solid;
|
|
1225
|
+
border-color: var(--bevel-edge-hi) var(--bevel-edge-lo) var(--bevel-edge-lo) var(--bevel-edge-hi);
|
|
1226
|
+
}
|
|
1227
|
+
.bevel-checkbox__box::after {
|
|
1228
|
+
content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px;
|
|
1229
|
+
border-right: 2px solid var(--bevel-ink); border-bottom: 2px solid var(--bevel-ink);
|
|
1230
|
+
transform: rotate(42deg); opacity: 0;
|
|
1231
|
+
}
|
|
1232
|
+
.bevel-checkbox__label { color: var(--bevel-ink); }
|
|
1233
|
+
.bevel-checkbox:hover .bevel-checkbox__box { background: color-mix(in srgb, var(--bevel-face), var(--bevel-edge-hi) 45%); }
|
|
1234
|
+
.bevel-checkbox:has(:checked) .bevel-checkbox__box {
|
|
1235
|
+
background: var(--bevel-face-in);
|
|
1236
|
+
border-color: var(--bevel-edge-in) var(--bevel-edge-in-hi) var(--bevel-edge-in-hi) var(--bevel-edge-in);
|
|
1237
|
+
}
|
|
1238
|
+
.bevel-checkbox:has(:checked) .bevel-checkbox__box::after { opacity: 1; translate: 1px 1px; }
|
|
1239
|
+
.bevel-checkbox:has(:focus-visible) .bevel-checkbox__box { outline: 2px solid var(--bevel-brass); outline-offset: 2px; }
|
|
1240
|
+
.bevel-checkbox:has(:disabled) { color: var(--bevel-faint); cursor: not-allowed; }
|
|
1241
|
+
.bevel-checkbox:has(:disabled) .bevel-checkbox__box { opacity: .5; }
|
|
1242
|
+
.bevel-checkbox--small { font-size: 14px; gap: 8px; }
|
|
1243
|
+
.bevel-checkbox--small .bevel-checkbox__box { width: 16px; height: 16px; margin-top: 2px; }
|
|
1244
|
+
.bevel-checkbox--small .bevel-checkbox__box::after { left: 3.5px; top: 0; width: 4px; height: 8px; border-width: 1.5px; }
|
|
1245
|
+
/* Mixed (the JS indeterminate flag, which a grid's select-all derives from
|
|
1246
|
+
its rows): the same recess, the mark a sunk dash instead of a tick. */
|
|
1247
|
+
.bevel-checkbox:has(:indeterminate) .bevel-checkbox__box {
|
|
1248
|
+
background: var(--bevel-face-in);
|
|
1249
|
+
border-color: var(--bevel-edge-in) var(--bevel-edge-in-hi) var(--bevel-edge-in-hi) var(--bevel-edge-in);
|
|
1250
|
+
}
|
|
1251
|
+
.bevel-checkbox:has(:indeterminate) .bevel-checkbox__box::after {
|
|
1252
|
+
opacity: 1; transform: none; translate: 1px 1px;
|
|
1253
|
+
left: 4px; top: 7px; width: 8px; height: 0; border-right: 0;
|
|
1254
|
+
}
|
|
1255
|
+
.bevel-checkbox--small:has(:indeterminate) .bevel-checkbox__box::after { left: 3px; top: 5px; width: 6px; }
|
|
1256
|
+
|
|
1257
|
+
/* ============================ RADIO ============================ */
|
|
1258
|
+
/* Round, so the two edge colours come as inset shadows: a lit rim on a
|
|
1259
|
+
circle. Checked is the recess body with only its shadow wall: on a circle
|
|
1260
|
+
the lit lower lip read as a highlight, not an edge, so it is left off.
|
|
1261
|
+
The dot does not sink: with one wall the well is already off centre, and
|
|
1262
|
+
a 1px sink on top of it read as a misplaced dot. It is centred in the
|
|
1263
|
+
ring, wall included. */
|
|
1264
|
+
.bevel-radio {
|
|
1265
|
+
display: inline-flex; align-items: flex-start; gap: 10px; cursor: pointer; width: fit-content;
|
|
1266
|
+
position: relative; font-size: 17px; line-height: 1.5; user-select: none;
|
|
1267
|
+
}
|
|
1268
|
+
.bevel-radio__ring {
|
|
1269
|
+
position: relative; flex-shrink: 0; width: 22px; height: 22px; margin-top: 2px;
|
|
1270
|
+
border-radius: 50%; background: var(--bevel-face);
|
|
1271
|
+
box-shadow: inset 2px 2px 0 var(--bevel-edge-hi), inset -2px -2px 0 var(--bevel-edge-lo);
|
|
1272
|
+
}
|
|
1273
|
+
.bevel-radio__ring::after {
|
|
1274
|
+
content: ""; position: absolute; inset: 7px; border-radius: 50%;
|
|
1275
|
+
background: var(--bevel-ink); opacity: 0;
|
|
1276
|
+
}
|
|
1277
|
+
.bevel-radio__label { color: var(--bevel-ink); }
|
|
1278
|
+
.bevel-radio:hover .bevel-radio__ring { background: color-mix(in srgb, var(--bevel-face), var(--bevel-edge-hi) 45%); }
|
|
1279
|
+
.bevel-radio:has(:checked) .bevel-radio__ring {
|
|
1280
|
+
background: var(--bevel-face-in);
|
|
1281
|
+
box-shadow: inset 2px 2px 0 var(--bevel-edge-in);
|
|
1282
|
+
}
|
|
1283
|
+
.bevel-radio:has(:checked) .bevel-radio__ring::after { opacity: 1; }
|
|
1284
|
+
.bevel-radio:has(:focus-visible) .bevel-radio__ring { outline: 2px solid var(--bevel-brass); outline-offset: 2px; }
|
|
1285
|
+
.bevel-radio:has(:disabled) { color: var(--bevel-faint); cursor: not-allowed; }
|
|
1286
|
+
.bevel-radio:has(:disabled) .bevel-radio__ring { opacity: .5; }
|
|
1287
|
+
.bevel-radio--small { font-size: 14px; gap: 8px; }
|
|
1288
|
+
.bevel-radio--small .bevel-radio__ring { width: 18px; height: 18px; margin-top: 1px; }
|
|
1289
|
+
.bevel-radio--small .bevel-radio__ring::after { inset: 6px; }
|
|
1290
|
+
|
|
1291
|
+
/* ============================ TOGGLE ============================ */
|
|
1292
|
+
/* A recessed channel and a beveled thumb. On is a lighter track, never an
|
|
1293
|
+
accent. Switches are for settings that apply immediately. The thumb has
|
|
1294
|
+
its own two tokens so it stays lighter than the on channel in dark. */
|
|
1295
|
+
.bevel-toggle {
|
|
1296
|
+
display: inline-flex; align-items: center; gap: 10px; cursor: pointer; width: fit-content;
|
|
1297
|
+
position: relative; font-size: 17px; line-height: 1.5; user-select: none;
|
|
1298
|
+
}
|
|
1299
|
+
.bevel-toggle__track {
|
|
1300
|
+
position: relative; flex-shrink: 0; width: 44px; height: 24px; border-radius: 0;
|
|
1301
|
+
background: var(--bevel-sunk); border: 1px solid var(--bevel-line-2);
|
|
1302
|
+
transition: background-color .14s, border-color .14s;
|
|
1303
|
+
}
|
|
1304
|
+
.bevel-toggle__thumb {
|
|
1305
|
+
position: absolute; top: 2px; left: 2px; width: 18px; height: 18px;
|
|
1306
|
+
background: var(--bevel-knob);
|
|
1307
|
+
border: 2px solid;
|
|
1308
|
+
border-color: var(--bevel-knob-hi) var(--bevel-edge-lo) var(--bevel-edge-lo) var(--bevel-knob-hi);
|
|
1309
|
+
transition: translate .15s cubic-bezier(.4, 0, .2, 1);
|
|
1310
|
+
}
|
|
1311
|
+
.bevel-toggle__label { color: var(--bevel-ink); }
|
|
1312
|
+
.bevel-toggle:hover .bevel-toggle__track { border-color: var(--bevel-faint); }
|
|
1313
|
+
.bevel-toggle:has(:checked) .bevel-toggle__track { background: var(--bevel-line-2); border-color: var(--bevel-faint); }
|
|
1314
|
+
.bevel-toggle:has(:checked) .bevel-toggle__thumb { translate: 20px 0; }
|
|
1315
|
+
.bevel-toggle:has(:focus-visible) .bevel-toggle__track { outline: 2px solid var(--bevel-brass); outline-offset: 2px; }
|
|
1316
|
+
.bevel-toggle:has(:disabled) { color: var(--bevel-faint); cursor: not-allowed; }
|
|
1317
|
+
.bevel-toggle:has(:disabled) .bevel-toggle__track { opacity: .5; }
|
|
1318
|
+
.bevel-toggle--small { font-size: 14px; gap: 8px; }
|
|
1319
|
+
.bevel-toggle--small .bevel-toggle__track { width: 38px; height: 20px; }
|
|
1320
|
+
.bevel-toggle--small .bevel-toggle__thumb { width: 14px; height: 14px; }
|
|
1321
|
+
.bevel-toggle--small:has(:checked) .bevel-toggle__thumb { translate: 18px 0; }
|
|
1322
|
+
|
|
1323
|
+
/* ============================ SLIDER ============================ */
|
|
1324
|
+
/* Hidden native range over a drawn track, fill and nub. The wrapper's
|
|
1325
|
+
inline --bevel-value matches value= so the fill is right before any script. */
|
|
1326
|
+
.bevel-slider { position: relative; height: 32px; width: 100%; --bevel-value: 0%; }
|
|
1327
|
+
.bevel-slider__input {
|
|
1328
|
+
position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
|
|
1329
|
+
opacity: 0; cursor: pointer; z-index: 10;
|
|
1330
|
+
}
|
|
1331
|
+
.bevel-slider__track {
|
|
1332
|
+
position: absolute; left: 0; right: 0; top: 50%; translate: 0 -50%; height: 8px;
|
|
1333
|
+
background: var(--bevel-sunk); border: 1px solid var(--bevel-line-2); overflow: hidden;
|
|
1334
|
+
}
|
|
1335
|
+
.bevel-slider__fill { height: 100%; width: var(--bevel-value); background: var(--bevel-line-2); }
|
|
1336
|
+
.bevel-slider__nub {
|
|
1337
|
+
position: absolute; top: 50%; left: var(--bevel-value); translate: -50% -50%;
|
|
1338
|
+
width: 20px; height: 20px; pointer-events: none;
|
|
1339
|
+
background: var(--bevel-face);
|
|
1340
|
+
border: 2px solid;
|
|
1341
|
+
border-color: var(--bevel-edge-hi) var(--bevel-edge-lo) var(--bevel-edge-lo) var(--bevel-edge-hi);
|
|
1342
|
+
}
|
|
1343
|
+
.bevel-slider__input:active ~ .bevel-slider__nub {
|
|
1344
|
+
border-color: var(--bevel-edge-lo) var(--bevel-edge-hi) var(--bevel-edge-hi) var(--bevel-edge-lo);
|
|
1345
|
+
}
|
|
1346
|
+
.bevel-slider__input:focus-visible ~ .bevel-slider__nub { outline: 2px solid var(--bevel-brass); outline-offset: 2px; }
|
|
1347
|
+
.bevel-slider__input:disabled { cursor: not-allowed; }
|
|
1348
|
+
.bevel-slider__input:disabled ~ .bevel-slider__nub { opacity: .5; }
|
|
1349
|
+
.bevel-slider--small { height: 24px; }
|
|
1350
|
+
.bevel-slider--small .bevel-slider__track { height: 6px; }
|
|
1351
|
+
.bevel-slider--small .bevel-slider__nub { width: 16px; height: 16px; }
|
|
1352
|
+
/* A slider beside its readout: <output> in mono, kept honest by bevel.js. */
|
|
1353
|
+
.bevel-sliderrow { display: flex; align-items: center; gap: 14px; }
|
|
1354
|
+
.bevel-sliderrow .bevel-slider { flex: 1; }
|
|
1355
|
+
.bevel-sliderrow__value {
|
|
1356
|
+
font-family: var(--bevel-font-mono); font-size: 13.5px; font-weight: 600;
|
|
1357
|
+
min-width: 44px; text-align: right; color: var(--bevel-ink);
|
|
1358
|
+
}
|
|
1359
|
+
|
|
1360
|
+
/* ============================ DATE ============================ */
|
|
1361
|
+
.bevel-date { position: relative; display: block; }
|
|
1362
|
+
.bevel-date__field {
|
|
1363
|
+
width: 100%;
|
|
1364
|
+
font-family: var(--bevel-font-mono); font-size: 15px; line-height: 1.5;
|
|
1365
|
+
color: var(--bevel-ink); background: var(--bevel-ground);
|
|
1366
|
+
border: 1px solid var(--bevel-line-2); border-radius: 0;
|
|
1367
|
+
padding: 7px 44px 7px 12px; outline: none;
|
|
1368
|
+
transition: border-color .14s;
|
|
1369
|
+
}
|
|
1370
|
+
.bevel-date__field:hover:not(:disabled) { border-color: var(--bevel-faint); }
|
|
1371
|
+
.bevel-date__field:focus-visible { outline: 2px solid var(--bevel-brass); outline-offset: 1px; border-color: var(--bevel-brass); }
|
|
1372
|
+
.bevel-date__field:disabled { background: var(--bevel-sunk); color: var(--bevel-faint); cursor: not-allowed; }
|
|
1373
|
+
.bevel-date__field::-webkit-calendar-picker-indicator {
|
|
1374
|
+
opacity: 0; position: absolute; right: 0; top: 0; bottom: 0; width: 44px; margin: 0; cursor: pointer;
|
|
1375
|
+
}
|
|
1376
|
+
.bevel-date__field::-webkit-inner-spin-button,
|
|
1377
|
+
.bevel-date__field::-webkit-clear-button { -webkit-appearance: none; appearance: none; }
|
|
1378
|
+
.bevel-date__icon {
|
|
1379
|
+
pointer-events: none; position: absolute; right: 13px; top: 50%; translate: 0 -50%;
|
|
1380
|
+
width: 18px; height: 18px; color: var(--bevel-muted); line-height: 0;
|
|
1381
|
+
}
|
|
1382
|
+
.bevel-date__icon svg { width: 100%; height: 100%; display: block; }
|
|
1383
|
+
.bevel-date--small .bevel-date__field { font-size: 13px; padding: 4px 36px 4px 10px; }
|
|
1384
|
+
.bevel-date--small .bevel-date__field::-webkit-calendar-picker-indicator { width: 36px; }
|
|
1385
|
+
.bevel-date--small .bevel-date__icon { right: 10px; width: 16px; height: 16px; }
|
|
1386
|
+
|
|
1387
|
+
/* The native file and image inputs are visually hidden; their styled label
|
|
1388
|
+
drives them, and the focus ring rides :has(:focus-visible) on the button. */
|
|
1389
|
+
.bevel-file__input, .bevel-image__input {
|
|
1390
|
+
position: absolute; width: 1px; height: 1px;
|
|
1391
|
+
padding: 0; margin: -1px; overflow: hidden;
|
|
1392
|
+
clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0;
|
|
1393
|
+
}
|
|
1394
|
+
|
|
1395
|
+
/* ============================ FILE ============================ */
|
|
1396
|
+
.bevel-file { display: flex; align-items: center; gap: 12px; width: 100%; }
|
|
1397
|
+
.bevel-file__name {
|
|
1398
|
+
font-family: var(--bevel-font-mono); font-size: 14px; line-height: 1.5;
|
|
1399
|
+
color: var(--bevel-muted);
|
|
1400
|
+
min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
|
|
1401
|
+
}
|
|
1402
|
+
.bevel-file__name[data-filled] { color: var(--bevel-ink); }
|
|
1403
|
+
a.bevel-file__name { text-decoration: underline; text-underline-offset: 2px; }
|
|
1404
|
+
.bevel-file--compact {
|
|
1405
|
+
padding: 4px 8px 4px 4px; background: var(--bevel-surface);
|
|
1406
|
+
border: 1px solid var(--bevel-line-2); border-radius: 0;
|
|
1407
|
+
}
|
|
1408
|
+
.bevel-file--compact:has(:focus-visible) { outline: 2px solid var(--bevel-brass); outline-offset: 1px; }
|
|
1409
|
+
.bevel-file--compact .bevel-button:focus-visible,
|
|
1410
|
+
.bevel-file--compact .bevel-button:has(:focus-visible) { outline: none; }
|
|
1411
|
+
.bevel-file__remove {
|
|
1412
|
+
appearance: none; -webkit-appearance: none; flex-shrink: 0;
|
|
1413
|
+
width: 18px; height: 18px; border-radius: 50%;
|
|
1414
|
+
display: inline-flex; align-items: center; justify-content: center;
|
|
1415
|
+
margin: 0; padding: 0; cursor: pointer; line-height: 0;
|
|
1416
|
+
color: var(--bevel-ink); background: var(--bevel-face);
|
|
1417
|
+
box-shadow: inset 1px 1px 0 var(--bevel-edge-hi), inset -1px -1px 0 var(--bevel-edge-lo);
|
|
1418
|
+
border: 0;
|
|
1419
|
+
}
|
|
1420
|
+
.bevel-file__remove svg { display: block; width: 60%; height: 60%; }
|
|
1421
|
+
.bevel-file__remove:hover { color: var(--bevel-ox); }
|
|
1422
|
+
.bevel-file--small { gap: 8px; }
|
|
1423
|
+
.bevel-file--small .bevel-file__name { font-size: 12.5px; }
|
|
1424
|
+
|
|
1425
|
+
/* ============================ IMAGE ============================ */
|
|
1426
|
+
.bevel-image { display: flex; flex-direction: column; gap: 8px; }
|
|
1427
|
+
.bevel-image__frame {
|
|
1428
|
+
position: relative; width: 120px; height: 120px; overflow: hidden; border-radius: 0;
|
|
1429
|
+
display: flex; align-items: center; justify-content: center;
|
|
1430
|
+
background: var(--bevel-sunk); border: 1px solid var(--bevel-line-2);
|
|
1431
|
+
color: var(--bevel-faint); font-size: 13.5px; line-height: 1.5;
|
|
1432
|
+
}
|
|
1433
|
+
.bevel-image__preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
|
|
1434
|
+
.bevel-image__placeholder { padding: 0 8px; text-align: center; }
|
|
1435
|
+
.bevel-image .bevel-button { width: fit-content; }
|
|
1436
|
+
.bevel-image--compact { flex-direction: row; align-items: center; gap: 0; }
|
|
1437
|
+
.bevel-image__thumb { position: relative; display: inline-block; width: fit-content; margin: 0; line-height: 0; }
|
|
1438
|
+
.bevel-image--compact .bevel-image__frame { width: 56px; height: 56px; }
|
|
1439
|
+
.bevel-image--compact .bevel-image__preview { position: static; inset: auto; display: block; }
|
|
1440
|
+
.bevel-image__remove {
|
|
1441
|
+
position: absolute; top: -7px; right: -7px;
|
|
1442
|
+
width: 18px; height: 18px; border-radius: 50%; padding: 0; border: 0;
|
|
1443
|
+
display: inline-flex; align-items: center; justify-content: center;
|
|
1444
|
+
appearance: none; -webkit-appearance: none; cursor: pointer; line-height: 0;
|
|
1445
|
+
color: var(--bevel-ink); background: var(--bevel-face);
|
|
1446
|
+
box-shadow: inset 1px 1px 0 var(--bevel-edge-hi), inset -1px -1px 0 var(--bevel-edge-lo);
|
|
1447
|
+
}
|
|
1448
|
+
.bevel-image__remove svg { display: block; width: 10px; height: 10px; }
|
|
1449
|
+
.bevel-image__remove:hover { color: var(--bevel-ox); }
|
|
1450
|
+
|
|
1451
|
+
/* ============================ TAGS ============================ */
|
|
1452
|
+
/* A flat field holding beveled chips. Chips are real DOM with a hidden
|
|
1453
|
+
input each, so the tag set round-trips. */
|
|
1454
|
+
.bevel-tags {
|
|
1455
|
+
display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 6px 8px;
|
|
1456
|
+
background: var(--bevel-ground); border: 1px solid var(--bevel-line-2);
|
|
1457
|
+
border-radius: 0; cursor: text; transition: border-color .14s;
|
|
1458
|
+
}
|
|
1459
|
+
.bevel-tags:hover { border-color: var(--bevel-faint); }
|
|
1460
|
+
.bevel-tags:has(:focus-visible) { outline: 2px solid var(--bevel-brass); outline-offset: 1px; border-color: var(--bevel-brass); }
|
|
1461
|
+
.bevel-tags__chip {
|
|
1462
|
+
display: inline-flex; align-items: center; gap: 6px;
|
|
1463
|
+
padding: 1px 6px 1px 9px; font-size: 14px; line-height: 1.5; font-weight: 500;
|
|
1464
|
+
color: var(--bevel-ink); background: var(--bevel-face);
|
|
1465
|
+
border: 2px solid;
|
|
1466
|
+
border-color: var(--bevel-edge-hi) var(--bevel-edge-lo) var(--bevel-edge-lo) var(--bevel-edge-hi);
|
|
1467
|
+
}
|
|
1468
|
+
.bevel-tags__remove {
|
|
1469
|
+
appearance: none; -webkit-appearance: none;
|
|
1470
|
+
margin: 0; padding: 0 2px; border: 0; background: none; color: var(--bevel-muted);
|
|
1471
|
+
cursor: pointer; font-size: 15px; line-height: 1;
|
|
1472
|
+
}
|
|
1473
|
+
.bevel-tags__remove:hover { color: var(--bevel-ox); }
|
|
1474
|
+
.bevel-tags__input {
|
|
1475
|
+
appearance: none; -webkit-appearance: none; border: 0; padding: 4px 4px;
|
|
1476
|
+
flex: 1; min-width: 120px; background: transparent; color: var(--bevel-ink);
|
|
1477
|
+
outline: none; font-size: 17px; line-height: 1.5;
|
|
1478
|
+
}
|
|
1479
|
+
.bevel-tags__input::placeholder { color: var(--bevel-faint); }
|
|
1480
|
+
.bevel-tags--small { gap: 4px; padding: 4px 6px; }
|
|
1481
|
+
.bevel-tags--small .bevel-tags__chip { font-size: 12.5px; padding: 0 5px 0 8px; }
|
|
1482
|
+
.bevel-tags--small .bevel-tags__input { font-size: 14px; min-width: 90px; padding: 2px 4px; }
|
|
1483
|
+
|
|
1484
|
+
/* ============================ SORTABLE ============================ */
|
|
1485
|
+
.bevel-sortable { display: flex; flex-direction: column; gap: 8px; }
|
|
1486
|
+
.bevel-sortable__item {
|
|
1487
|
+
display: flex; flex-direction: row; width: 100%;
|
|
1488
|
+
background: var(--bevel-surface); border: 1px solid var(--bevel-line-2);
|
|
1489
|
+
}
|
|
1490
|
+
.bevel-sortable__grip {
|
|
1491
|
+
width: 28px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
|
|
1492
|
+
cursor: grab; touch-action: none; border-right: 1px solid var(--bevel-line-2); background: var(--bevel-sunk);
|
|
1493
|
+
}
|
|
1494
|
+
.bevel-sortable__grip:active { cursor: grabbing; }
|
|
1495
|
+
.bevel-sortable__item.is-dragging { position: relative; z-index: 1; border-color: var(--bevel-faint); box-shadow: var(--bevel-shadow); }
|
|
1496
|
+
.bevel-sortable__dots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px; }
|
|
1497
|
+
.bevel-sortable__dot {
|
|
1498
|
+
display: block; width: 4px; height: 4px; background: var(--bevel-line-2);
|
|
1499
|
+
box-shadow: 1px 1px 0 0 var(--bevel-edge-lo);
|
|
1500
|
+
}
|
|
1501
|
+
.bevel-sortable__body { display: flex; flex-direction: column; flex: 1; min-width: 0; }
|
|
1502
|
+
.bevel-sortable__row { padding: 8px 14px 9px; }
|
|
1503
|
+
.bevel-sortable__row:not(:last-child) { border-bottom: 1px solid var(--bevel-line); }
|
|
1504
|
+
.bevel-sortable__label {
|
|
1505
|
+
display: block; margin-bottom: 2px;
|
|
1506
|
+
font-family: var(--bevel-font-mono); font-size: 10.5px; font-weight: 500;
|
|
1507
|
+
letter-spacing: .13em; text-transform: uppercase; color: var(--bevel-muted);
|
|
1508
|
+
}
|
|
1509
|
+
.bevel-sortable__field {
|
|
1510
|
+
width: 100%; background: transparent; color: var(--bevel-ink); border: 0; padding: 0;
|
|
1511
|
+
font-family: var(--bevel-font-sans); font-size: 17px; line-height: 1.5; outline: none;
|
|
1512
|
+
}
|
|
1513
|
+
.bevel-sortable__field::placeholder { color: var(--bevel-faint); }
|
|
1514
|
+
.bevel-sortable__field:focus-visible { outline: 2px solid var(--bevel-brass); outline-offset: 3px; }
|
|
1515
|
+
.bevel-sortable--small { gap: 6px; }
|
|
1516
|
+
.bevel-sortable--small .bevel-sortable__grip { width: 24px; }
|
|
1517
|
+
.bevel-sortable--small .bevel-sortable__row { padding: 5px 11px 6px; }
|
|
1518
|
+
.bevel-sortable--small .bevel-sortable__label { font-size: 10px; margin-bottom: 1px; }
|
|
1519
|
+
.bevel-sortable--small .bevel-sortable__field { font-size: 14px; }
|
|
1520
|
+
|
|
1521
|
+
/* ============================ CHIP ============================ */
|
|
1522
|
+
/* A collapsible recovery prompt: a small bevel button that expands into the
|
|
1523
|
+
kit's one raised panel. State lives in classes so it round-trips. In a
|
|
1524
|
+
Hyperclay app, mark the block save-remove. */
|
|
1525
|
+
.bevel-chip { display: inline-flex; flex-direction: column; align-items: flex-start; }
|
|
1526
|
+
.bevel-chip__panel { display: none; }
|
|
1527
|
+
.bevel-chip--open .bevel-chip__trigger { display: none; }
|
|
1528
|
+
.bevel-chip--open .bevel-chip__panel { display: flex; }
|
|
1529
|
+
.bevel-chip__trigger .bevel-button__label { display: inline-flex; align-items: center; }
|
|
1530
|
+
.bevel-chip__trigger { box-shadow: var(--bevel-shadow); }
|
|
1531
|
+
.bevel-chip__warn { color: var(--bevel-ox); fill: currentColor; }
|
|
1532
|
+
.bevel-chip__trigger .bevel-chip__warn { vertical-align: -2px; }
|
|
1533
|
+
.bevel-chip__panel {
|
|
1534
|
+
width: 320px; max-width: calc(100vw - 44px);
|
|
1535
|
+
background: var(--bevel-surface); color: var(--bevel-ink);
|
|
1536
|
+
border: 1px solid var(--bevel-line-2); border-radius: 0;
|
|
1537
|
+
box-shadow: 6px 6px 0 color-mix(in srgb, var(--bevel-ink) 10%, transparent);
|
|
1538
|
+
padding: 14px 16px 14px; flex-direction: column; gap: 12px;
|
|
1539
|
+
}
|
|
1540
|
+
.bevel-chip__head { display: flex; gap: 10px; align-items: flex-start; }
|
|
1541
|
+
.bevel-chip__icon { flex-shrink: 0; line-height: 0; margin-top: 1px; }
|
|
1542
|
+
.bevel-chip__headtext { min-width: 0; }
|
|
1543
|
+
.bevel-chip__eyebrow {
|
|
1544
|
+
font-family: var(--bevel-font-mono); font-size: 10.5px; font-weight: 500;
|
|
1545
|
+
text-transform: uppercase; letter-spacing: .14em; color: var(--bevel-muted); margin-bottom: 3px;
|
|
1546
|
+
}
|
|
1547
|
+
.bevel-chip__title { margin: 0; font-family: var(--bevel-font-sans); font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--bevel-ink); }
|
|
1548
|
+
.bevel-chip__collapse {
|
|
1549
|
+
margin-left: auto; flex-shrink: 0; width: 24px; height: 24px;
|
|
1550
|
+
display: inline-flex; align-items: center; justify-content: center;
|
|
1551
|
+
background: none; border: 0; cursor: pointer; padding: 0; color: var(--bevel-muted);
|
|
1552
|
+
}
|
|
1553
|
+
.bevel-chip__collapse:hover { color: var(--bevel-ink); }
|
|
1554
|
+
.bevel-chip__collapse svg { display: block; }
|
|
1555
|
+
.bevel-chip__meta { font-family: var(--bevel-font-mono); font-size: 12px; color: var(--bevel-muted); }
|
|
1556
|
+
.bevel-chip__changes-toggle {
|
|
1557
|
+
background: none; border: 0; cursor: pointer; font: inherit; padding: 0 0 0 4px;
|
|
1558
|
+
color: var(--bevel-brass); text-decoration: underline; text-underline-offset: 2px;
|
|
1559
|
+
}
|
|
1560
|
+
.bevel-chip__changes-toggle:hover { color: var(--bevel-ink); }
|
|
1561
|
+
.bevel-chip__preview {
|
|
1562
|
+
display: none; flex-direction: column; gap: 10px;
|
|
1563
|
+
background: var(--bevel-sunk); border: 1px solid var(--bevel-line);
|
|
1564
|
+
padding: 10px 11px;
|
|
1565
|
+
}
|
|
1566
|
+
.bevel-chip__panel.is-changes .bevel-chip__preview { display: flex; }
|
|
1567
|
+
.bevel-chip__row { display: flex; flex-direction: column; gap: 2px; }
|
|
1568
|
+
.bevel-chip__key {
|
|
1569
|
+
font-family: var(--bevel-font-mono); font-size: 10.5px; font-weight: 500;
|
|
1570
|
+
text-transform: uppercase; letter-spacing: .1em; color: var(--bevel-muted);
|
|
1571
|
+
}
|
|
1572
|
+
.bevel-chip__old, .bevel-chip__new { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13.5px; }
|
|
1573
|
+
.bevel-chip__old { color: var(--bevel-ox); text-decoration: line-through; opacity: .85; }
|
|
1574
|
+
.bevel-chip__new { color: var(--bevel-ink); }
|
|
1575
|
+
.bevel-chip__actions { display: flex; flex-direction: column; gap: 8px; margin-top: 1px; }
|
|
1576
|
+
.bevel-chip__actions .bevel-button { width: 100%; }
|
|
1577
|
+
|
|
1578
|
+
/* ============================ FIELD ============================ */
|
|
1579
|
+
/* Label, control, one line of small print. The label is mono caps like every
|
|
1580
|
+
other label on the page, and it follows the control's state. */
|
|
1581
|
+
.bevel-field { display: flex; flex-direction: column; gap: 0; }
|
|
1582
|
+
.bevel-field__label, .bevel-fieldset > legend {
|
|
1583
|
+
font-family: var(--bevel-font-mono); font-size: 11px; font-weight: 500;
|
|
1584
|
+
letter-spacing: .13em; text-transform: uppercase; color: var(--bevel-muted);
|
|
1585
|
+
}
|
|
1586
|
+
.bevel-field__label { line-height: 1.4; letter-spacing: .1em; margin-bottom: 7px; }
|
|
1587
|
+
.bevel-field > .bevel-hint { margin-top: 7px; font-size: 12px; }
|
|
1588
|
+
.bevel-field + .bevel-field { margin-block-start: 16px; }
|
|
1589
|
+
.bevel-field:has(:user-invalid) .bevel-field__label,
|
|
1590
|
+
.bevel-field:has([aria-invalid="true"]) .bevel-field__label { color: var(--bevel-ox); }
|
|
1591
|
+
.bevel-field:has(:disabled) .bevel-field__label { color: var(--bevel-faint); }
|
|
1592
|
+
.bevel-field .bevel-hint--alert { display: none; }
|
|
1593
|
+
.bevel-field:has(:user-invalid) .bevel-hint--alert,
|
|
1594
|
+
.bevel-field:has([aria-invalid="true"]) .bevel-hint--alert { display: block; }
|
|
1595
|
+
.bevel-fieldset { border: 1px solid var(--bevel-line); border-radius: 0; padding: 16px 20px 18px; margin: 0; min-width: 0; }
|
|
1596
|
+
.bevel-fieldset > legend { padding: 0 8px; margin-left: -8px; }
|
|
1597
|
+
.bevel-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
|
|
1598
|
+
.bevel-form__full { grid-column: 1 / -1; }
|
|
1599
|
+
@media (max-width: 640px) { .bevel-form { grid-template-columns: 1fr; } }
|
|
1600
|
+
.bevel-choices { display: flex; flex-wrap: wrap; gap: 12px 26px; }
|
|
1601
|
+
.bevel-buttons { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
|
|
1602
|
+
|
|
1603
|
+
/* ============================ INPUT GROUP ============================ */
|
|
1604
|
+
.bevel-igroup {
|
|
1605
|
+
display: flex; flex-wrap: nowrap; align-items: stretch; gap: 0;
|
|
1606
|
+
background: var(--bevel-ground); border: 1px solid var(--bevel-line-2); border-radius: 0;
|
|
1607
|
+
transition: border-color .14s;
|
|
1608
|
+
}
|
|
1609
|
+
.bevel-igroup:hover { border-color: var(--bevel-faint); }
|
|
1610
|
+
.bevel-igroup > .bevel-input { border: 0; flex: 1; min-width: 0; }
|
|
1611
|
+
.bevel-igroup > .bevel-input:focus-visible { outline: 0; }
|
|
1612
|
+
.bevel-igroup:focus-within { outline: 2px solid var(--bevel-brass); outline-offset: 1px; border-color: var(--bevel-brass); }
|
|
1613
|
+
.bevel-igroup__affix {
|
|
1614
|
+
display: grid; place-items: center; padding: 0 11px; background: var(--bevel-sunk);
|
|
1615
|
+
font-family: var(--bevel-font-mono); font-size: 12.5px; line-height: normal; color: var(--bevel-faint); white-space: nowrap;
|
|
1616
|
+
}
|
|
1617
|
+
.bevel-igroup__affix:first-child { border-inline-end: 1px solid var(--bevel-line-2); }
|
|
1618
|
+
.bevel-igroup__affix:last-child { border-inline-start: 1px solid var(--bevel-line-2); }
|
|
1619
|
+
|
|
1620
|
+
/* ============================ INVALID ============================ */
|
|
1621
|
+
/* Native constraint validation, styled. :user-invalid fires only after the
|
|
1622
|
+
person interacts. aria-invalid="true" covers server-side errors. */
|
|
1623
|
+
.bevel-input:user-invalid, .bevel-input[aria-invalid="true"],
|
|
1624
|
+
.bevel-textarea:user-invalid, .bevel-textarea[aria-invalid="true"],
|
|
1625
|
+
.bevel-date__field:user-invalid, .bevel-date__field[aria-invalid="true"],
|
|
1626
|
+
.bevel-select__field:user-invalid, .bevel-select__field[aria-invalid="true"],
|
|
1627
|
+
.bevel-number:has(.bevel-number__input:user-invalid),
|
|
1628
|
+
.bevel-number:has(.bevel-number__input[aria-invalid="true"]),
|
|
1629
|
+
.bevel-tags:has(:user-invalid), .bevel-igroup:has([aria-invalid="true"]) {
|
|
1630
|
+
border-color: var(--bevel-ox);
|
|
1631
|
+
background: color-mix(in srgb, var(--bevel-ox-soft) 32%, var(--bevel-surface));
|
|
1632
|
+
}
|
|
1633
|
+
.bevel-input:user-invalid:focus-visible, .bevel-input[aria-invalid="true"]:focus-visible,
|
|
1634
|
+
.bevel-textarea:user-invalid:focus-visible, .bevel-textarea[aria-invalid="true"]:focus-visible { outline-color: var(--bevel-ox); }
|
|
1635
|
+
.bevel-checkbox:has(:user-invalid) .bevel-checkbox__box,
|
|
1636
|
+
.bevel-toggle:has(:user-invalid) .bevel-toggle__track { border-color: var(--bevel-ox); }
|
|
1637
|
+
.bevel-radio:has(:user-invalid) .bevel-radio__ring { box-shadow: inset 0 0 0 2px var(--bevel-ox); }
|
|
1638
|
+
|
|
1639
|
+
/* ============================ PROGRESS ============================ */
|
|
1640
|
+
/* A native <progress> in the slider's clothes: ink by default (a bar in a
|
|
1641
|
+
broadsheet is a black bar), recoloured only when the reading is a judgement.
|
|
1642
|
+
Keep the -webkit and -moz rules in separate blocks. */
|
|
1643
|
+
.bevel-progress {
|
|
1644
|
+
appearance: none; -webkit-appearance: none;
|
|
1645
|
+
display: block; width: 100%; height: 8px;
|
|
1646
|
+
border: 1px solid var(--bevel-line-2); background: var(--bevel-sunk); border-radius: 0;
|
|
1647
|
+
}
|
|
1648
|
+
.bevel-progress::-webkit-progress-bar { background: transparent; }
|
|
1649
|
+
.bevel-progress::-webkit-progress-value { background: var(--bevel-ink); }
|
|
1650
|
+
.bevel-progress::-moz-progress-bar { background: var(--bevel-ink); }
|
|
1651
|
+
.bevel-progress--small { height: 6px; }
|
|
1652
|
+
.bevel-progress--ok::-webkit-progress-value { background: var(--bevel-teal); }
|
|
1653
|
+
.bevel-progress--ok::-moz-progress-bar { background: var(--bevel-teal); }
|
|
1654
|
+
.bevel-progress--warn::-webkit-progress-value { background: var(--bevel-brass); }
|
|
1655
|
+
.bevel-progress--warn::-moz-progress-bar { background: var(--bevel-brass); }
|
|
1656
|
+
.bevel-progress--bad::-webkit-progress-value { background: var(--bevel-ox); }
|
|
1657
|
+
.bevel-progress--bad::-moz-progress-bar { background: var(--bevel-ox); }
|
|
1658
|
+
.bevel-progress--blocks::-webkit-progress-value {
|
|
1659
|
+
background: repeating-linear-gradient(to right, var(--bevel-ink) 0 6px, transparent 6px 8px);
|
|
1660
|
+
}
|
|
1661
|
+
.bevel-progress--blocks::-moz-progress-bar {
|
|
1662
|
+
background: repeating-linear-gradient(to right, var(--bevel-ink) 0 6px, transparent 6px 8px);
|
|
1663
|
+
}
|
|
1664
|
+
|
|
1665
|
+
/* ============================ GAUGE ============================ */
|
|
1666
|
+
/* A label, a bar, a mono value on one hairline row. */
|
|
1667
|
+
.bevel-gauges { border-top: 1px solid var(--bevel-line); }
|
|
1668
|
+
.bevel-gauge {
|
|
1669
|
+
display: grid; grid-template-columns: 170px 1fr auto; gap: 16px; align-items: center;
|
|
1670
|
+
padding: 12px 0; border-bottom: 1px solid var(--bevel-line);
|
|
1671
|
+
}
|
|
1672
|
+
.bevel-gauge__label {
|
|
1673
|
+
font-family: var(--bevel-font-mono); font-size: 11px; font-weight: 500;
|
|
1674
|
+
letter-spacing: .1em; text-transform: uppercase; color: var(--bevel-muted);
|
|
1675
|
+
}
|
|
1676
|
+
.bevel-gauge__value {
|
|
1677
|
+
font-family: var(--bevel-font-mono); font-size: 13px; font-weight: 600;
|
|
1678
|
+
min-width: 56px; text-align: right; color: var(--bevel-ink);
|
|
1679
|
+
}
|
|
1680
|
+
.bevel-gauge--ok .bevel-gauge__value { color: var(--bevel-teal); }
|
|
1681
|
+
.bevel-gauge--warn .bevel-gauge__value { color: color-mix(in srgb, var(--bevel-brass) 80%, var(--bevel-ink)); }
|
|
1682
|
+
.bevel-gauge--bad .bevel-gauge__value { color: var(--bevel-ox); }
|
|
1683
|
+
@media (max-width: 560px) {
|
|
1684
|
+
.bevel-gauge { grid-template-columns: 1fr auto; gap: 6px 16px; }
|
|
1685
|
+
.bevel-gauge__label { grid-column: 1 / -1; }
|
|
1686
|
+
}
|
|
1687
|
+
|
|
1688
|
+
/* ============================ NOTE ============================ */
|
|
1689
|
+
/* A callout with a grade. Flat on purpose: bevel means pressable, a note is
|
|
1690
|
+
content. Tints mix the soft accent nearly away so a stack stays readable. */
|
|
1691
|
+
.bevel-note {
|
|
1692
|
+
display: flex; align-items: flex-start; gap: 10px;
|
|
1693
|
+
padding: 11px 12px; background: var(--bevel-sunk);
|
|
1694
|
+
border: 1px solid var(--bevel-line); border-radius: 0;
|
|
1695
|
+
font-size: 12.5px; line-height: 1.45; color: var(--bevel-ink-2);
|
|
1696
|
+
}
|
|
1697
|
+
.bevel-note__tag {
|
|
1698
|
+
font-family: var(--bevel-font-mono); font-size: 10.5px; font-weight: 600;
|
|
1699
|
+
letter-spacing: .12em; text-transform: uppercase; color: var(--bevel-muted); white-space: nowrap; border: 0; padding: 2px 0 0;
|
|
1700
|
+
}
|
|
1701
|
+
.bevel-note__body { margin: 0; }
|
|
1702
|
+
.bevel-note__body p { margin: 0; }
|
|
1703
|
+
.bevel-note__body p + p { margin-top: 5px; }
|
|
1704
|
+
.bevel-note--ok { background: var(--bevel-teal-soft); border-color: color-mix(in srgb, var(--bevel-teal) 26%, var(--bevel-teal-soft)); border-inline-start: 3px solid var(--bevel-teal); }
|
|
1705
|
+
.bevel-note--ok .bevel-note__tag { color: var(--bevel-teal); }
|
|
1706
|
+
.bevel-note--warn { background: var(--bevel-brass-soft); border-color: color-mix(in srgb, var(--bevel-brass) 26%, var(--bevel-brass-soft)); }
|
|
1707
|
+
.bevel-note--warn .bevel-note__tag { color: var(--bevel-brass); }
|
|
1708
|
+
.bevel-note--bad { background: var(--bevel-ox-soft); border-color: color-mix(in srgb, var(--bevel-ox) 26%, var(--bevel-ox-soft)); border-inline-start: 3px solid var(--bevel-ox); }
|
|
1709
|
+
.bevel-note--bad .bevel-note__tag { color: var(--bevel-ox); }
|
|
1710
|
+
.bevel-note--stack { flex-direction: column; gap: 6px; }
|
|
1711
|
+
.bevel-notes { display: grid; gap: 10px; }
|
|
1712
|
+
@media (max-width: 480px) { .bevel-note--stack { gap: 3px; } }
|
|
1713
|
+
|
|
1714
|
+
/* ============================ CALLOUT ============================ */
|
|
1715
|
+
/* A recessed aside for the paragraph the reader must not skim. No accent. */
|
|
1716
|
+
.bevel-callout {
|
|
1717
|
+
padding: 16px 18px; background: var(--bevel-sunk);
|
|
1718
|
+
border: 1px solid var(--bevel-line); border-radius: 0;
|
|
1719
|
+
font-size: 15.5px; line-height: 1.6; color: var(--bevel-ink-2);
|
|
1720
|
+
}
|
|
1721
|
+
.bevel-callout p { margin: 0; }
|
|
1722
|
+
.bevel-callout p + p { margin-top: 10px; }
|
|
1723
|
+
|
|
1724
|
+
/* ============================ HINT ============================ */
|
|
1725
|
+
.bevel-hint { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--bevel-muted); }
|
|
1726
|
+
.bevel-hint--alert { color: var(--bevel-ox); font-weight: 500; }
|
|
1727
|
+
|
|
1728
|
+
/* ============================ LIST ============================ */
|
|
1729
|
+
/* Square markers for a set of rules, zero-padded mono counters for a sequence. */
|
|
1730
|
+
.bevel-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 17px; line-height: 1.6; }
|
|
1731
|
+
.bevel-list li { position: relative; padding-left: 22px; }
|
|
1732
|
+
ul.bevel-list > li::before {
|
|
1733
|
+
content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px;
|
|
1734
|
+
background: var(--bevel-ink-2);
|
|
1735
|
+
}
|
|
1736
|
+
ol.bevel-list { counter-reset: bevel-li; }
|
|
1737
|
+
ol.bevel-list > li { counter-increment: bevel-li; padding-left: 38px; }
|
|
1738
|
+
ol.bevel-list > li::before {
|
|
1739
|
+
content: counter(bevel-li, decimal-leading-zero);
|
|
1740
|
+
position: absolute; left: 0; top: .1em;
|
|
1741
|
+
font-family: var(--bevel-font-mono); font-size: 13px; font-weight: 500; color: var(--bevel-muted);
|
|
1742
|
+
}
|
|
1743
|
+
.bevel-list ul { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
|
|
1744
|
+
.bevel-list ul > li::before {
|
|
1745
|
+
content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px;
|
|
1746
|
+
background: transparent; border: 1.5px solid var(--bevel-ink-2);
|
|
1747
|
+
}
|
|
1748
|
+
.bevel-list--small { font-size: 14px; gap: 4px; }
|
|
1749
|
+
.bevel-list--small li { padding-left: 18px; }
|
|
1750
|
+
ul.bevel-list--small > li::before, .bevel-list--small ul > li::before { width: 5px; height: 5px; }
|
|
1751
|
+
ol.bevel-list--small > li { padding-left: 32px; }
|
|
1752
|
+
ol.bevel-list--small > li::before { font-size: 11px; }
|
|
1753
|
+
|
|
1754
|
+
/* ============================ BADGE ============================ */
|
|
1755
|
+
/* A static label in mono caps. Grades judge a claim: --for confirms,
|
|
1756
|
+
--against contradicts, --note is unresolved; --alert is ox. */
|
|
1757
|
+
.bevel-badge {
|
|
1758
|
+
display: inline-flex; align-items: center; gap: 6px;
|
|
1759
|
+
font: 600 10px/1 var(--bevel-font-mono);
|
|
1760
|
+
letter-spacing: .09em; text-transform: uppercase; white-space: nowrap;
|
|
1761
|
+
padding: 4px 7px; border-radius: 0; vertical-align: 2px;
|
|
1762
|
+
background: var(--bevel-sunk); color: var(--bevel-muted);
|
|
1763
|
+
border: 1px solid var(--bevel-line);
|
|
1764
|
+
}
|
|
1765
|
+
.bevel-badge--for { background: var(--bevel-teal-soft); color: var(--bevel-teal); border-color: color-mix(in srgb, var(--bevel-teal) 28%, var(--bevel-teal-soft)); }
|
|
1766
|
+
.bevel-badge--against { background: var(--bevel-brass-soft); color: color-mix(in srgb, var(--bevel-brass) 80%, var(--bevel-ink)); border-color: color-mix(in srgb, var(--bevel-brass) 28%, var(--bevel-brass-soft)); }
|
|
1767
|
+
.bevel-badge--note { background: var(--bevel-sunk); color: var(--bevel-muted); }
|
|
1768
|
+
.bevel-badge--alert { background: var(--bevel-ox-soft); color: var(--bevel-ox); border-color: color-mix(in srgb, var(--bevel-ox) 28%, var(--bevel-ox-soft)); }
|
|
1769
|
+
.bevel-badge--accent { background: var(--bevel-brass-soft); color: color-mix(in srgb, var(--bevel-brass) 80%, var(--bevel-ink)); border-color: color-mix(in srgb, var(--bevel-brass) 28%, var(--bevel-brass-soft)); }
|
|
1770
|
+
|
|
1771
|
+
/* ============================ PILL ============================ */
|
|
1772
|
+
/* Operational status: a square marker in a tinted box. Pills grade things,
|
|
1773
|
+
badges grade claims. --live breathes. */
|
|
1774
|
+
.bevel-pill {
|
|
1775
|
+
display: inline-flex; align-items: center; gap: 5px;
|
|
1776
|
+
font: 600 10px/1 var(--bevel-font-mono);
|
|
1777
|
+
letter-spacing: .09em; text-transform: uppercase; white-space: nowrap;
|
|
1778
|
+
min-block-size: 20px; padding: 4px 7px; margin-inline-end: 6px; border-radius: 0; vertical-align: middle;
|
|
1779
|
+
background: var(--bevel-sunk); color: var(--bevel-muted); border: 1px solid var(--bevel-line);
|
|
1780
|
+
}
|
|
1781
|
+
.bevel-pill::before { content: ""; inline-size: 4px; block-size: 4px; background: currentColor; flex-shrink: 0; }
|
|
1782
|
+
.bevel-pill:has(svg)::before { display: none; }
|
|
1783
|
+
.bevel-pill--live { background: var(--bevel-teal-soft); color: var(--bevel-teal); border-color: color-mix(in srgb, var(--bevel-teal) 28%, var(--bevel-teal-soft)); }
|
|
1784
|
+
.bevel-pill--live::before { animation: bevel-pulse 2.4s ease-in-out infinite; }
|
|
1785
|
+
.bevel-pill--warn { background: var(--bevel-brass-soft); color: color-mix(in srgb, var(--bevel-brass) 80%, var(--bevel-ink)); border-color: color-mix(in srgb, var(--bevel-brass) 28%, var(--bevel-brass-soft)); }
|
|
1786
|
+
.bevel-pill--down { background: var(--bevel-ox-soft); color: var(--bevel-ox); border-color: color-mix(in srgb, var(--bevel-ox) 28%, var(--bevel-ox-soft)); }
|
|
1787
|
+
.bevel-pills { display: flex; flex-wrap: wrap; gap: 10px; }
|
|
1788
|
+
@keyframes bevel-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
|
|
1789
|
+
|
|
1790
|
+
/* ============================ TABLE ============================ */
|
|
1791
|
+
/* Always mono, always inside .bevel-scroll, opened by a caption in the sans.
|
|
1792
|
+
<b> is a cell's value and <i> its context. State helpers by descent:
|
|
1793
|
+
win, lose, nil, dn, sel. */
|
|
1794
|
+
.bevel-scroll { overflow-x: auto; border: 1px solid var(--bevel-line); border-radius: 0; background: var(--bevel-surface); box-shadow: var(--bevel-shadow); }
|
|
1795
|
+
.bevel-table { border-collapse: collapse; width: 100%; font-family: var(--bevel-font-sans); font-size: 13px; line-height: 1.5; }
|
|
1796
|
+
.bevel-table caption { padding-block-end: 8px; text-align: left; font-family: var(--bevel-font-sans); font-size: 13.5px; color: var(--bevel-muted); line-height: 1.5; caption-side: top; }
|
|
1797
|
+
.bevel-table caption.bevel-sr-only { padding: 0; }
|
|
1798
|
+
.bevel-table thead th {
|
|
1799
|
+
position: sticky; top: 0; height: 38px; padding: 0 12px; font: 500 11px/1.4 var(--bevel-font-mono);
|
|
1800
|
+
letter-spacing: .1em; text-transform: uppercase; color: var(--bevel-muted); text-align: left;
|
|
1801
|
+
background: var(--bevel-ground); border-bottom: 1px solid var(--bevel-line-2); white-space: nowrap;
|
|
1802
|
+
}
|
|
1803
|
+
.bevel-table thead th span { display: block; font-size: 10px; font-weight: 400; color: var(--bevel-faint); letter-spacing: .1em; margin-top: 2px; }
|
|
1804
|
+
.bevel-table thead th:first-child { text-align: left; }
|
|
1805
|
+
.bevel-table tbody th { height: 46px; text-align: left; font-weight: 500; padding: 0 12px; border-bottom: 1px solid var(--bevel-line); white-space: nowrap; background: var(--bevel-surface); vertical-align: middle; }
|
|
1806
|
+
.bevel-table tbody th b { font-weight: 600; }
|
|
1807
|
+
.bevel-table tbody th i { display: block; font-style: normal; font-size: 10.5px; color: var(--bevel-faint); letter-spacing: .04em; }
|
|
1808
|
+
.bevel-table td { height: 46px; text-align: left; padding: 0 12px; border-bottom: 1px solid var(--bevel-line); white-space: nowrap; vertical-align: middle; }
|
|
1809
|
+
.bevel-table td b { display: block; font-weight: 600; font-size: 13.5px; }
|
|
1810
|
+
.bevel-table td i { display: block; font-style: normal; font-size: 10.5px; color: var(--bevel-faint); letter-spacing: .03em; margin-top: 1px; }
|
|
1811
|
+
.bevel-table tbody tr:last-child th, .bevel-table tbody tr:last-child td { border-bottom: 0; }
|
|
1812
|
+
.bevel-table tfoot th, .bevel-table tfoot td { border-top: 1px solid var(--bevel-line-2); border-bottom: 0; white-space: nowrap; background: var(--bevel-surface); }
|
|
1813
|
+
.bevel-table tfoot th { text-align: left; font-weight: 600; padding: 10px 12px 10px 14px; }
|
|
1814
|
+
.bevel-table tfoot td { height: 46px; padding: 0 12px; text-align: left; vertical-align: middle; color: var(--bevel-ink-2); }
|
|
1815
|
+
.bevel-table td.nil { color: var(--bevel-faint); }
|
|
1816
|
+
.bevel-table td.win { background: var(--bevel-teal-soft); }
|
|
1817
|
+
.bevel-table td.win b { color: var(--bevel-teal); }
|
|
1818
|
+
.bevel-table td.lose { background: var(--bevel-sunk); }
|
|
1819
|
+
.bevel-table td.lose b { color: var(--bevel-faint); }
|
|
1820
|
+
.bevel-table .dn { color: var(--bevel-ox); }
|
|
1821
|
+
.bevel-table tr.sel th { box-shadow: inset 3px 0 0 var(--bevel-ox); }
|
|
1822
|
+
.bevel-table tr.sel th b { color: var(--bevel-ox); }
|
|
1823
|
+
.bevel-table--striped tbody tr:nth-child(even) td { background: color-mix(in srgb, var(--bevel-sunk) 55%, var(--bevel-surface)); }
|
|
1824
|
+
.bevel-table--hover tbody tr { transition: background-color .12s; }
|
|
1825
|
+
.bevel-table--interactive tbody tr { cursor: pointer; transition: background-color .12s; }
|
|
1826
|
+
.bevel-table--interactive tbody tr:hover :is(th, td) { background: var(--bevel-sunk); }
|
|
1827
|
+
.bevel-table tbody tr:has(.bevel-table__pick input:checked) :is(th, td) { background: color-mix(in srgb, var(--bevel-sunk) 85%, var(--bevel-surface)); }
|
|
1828
|
+
.bevel-table__pick { width: 38px; text-align: center; }
|
|
1829
|
+
.bevel-table__pick .bevel-checkbox { display: inline-grid; vertical-align: middle; }
|
|
1830
|
+
.bevel-table__pick .bevel-checkbox__box { margin-top: 0; }
|
|
1831
|
+
.bevel-table--small { font-size: 13px; }
|
|
1832
|
+
.bevel-table--small thead th { padding: 0 12px; font-size: 11px; }
|
|
1833
|
+
.bevel-table--small td, .bevel-table--small tbody th { padding: 0 12px; }
|
|
1834
|
+
.bevel-table--left td { text-align: left; }
|
|
1835
|
+
|
|
1836
|
+
/* ============================ FILES TABLE ============================ */
|
|
1837
|
+
.bevel-files { min-width: 0; container: bevel-files / inline-size; color: var(--bevel-ink); font-family: var(--bevel-font-sans); background: var(--bevel-surface); border: 1px solid var(--bevel-line-2); }
|
|
1838
|
+
.bevel-files__scroll { position: relative; overflow-x: auto; }
|
|
1839
|
+
.bevel-files__table { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.4; }
|
|
1840
|
+
.bevel-files__table th {
|
|
1841
|
+
height: 38px; padding: 0 12px; text-align: left; white-space: nowrap;
|
|
1842
|
+
font: 500 11px/1.4 var(--bevel-font-mono); letter-spacing: .1em; text-transform: uppercase;
|
|
1843
|
+
color: var(--bevel-muted); background: var(--bevel-ground); border-bottom: 1px solid var(--bevel-line-2);
|
|
1844
|
+
}
|
|
1845
|
+
.bevel-files__table td { height: 46px; padding: 0 12px; vertical-align: middle; border-bottom: 1px solid var(--bevel-line); }
|
|
1846
|
+
.bevel-files__table tbody > tr:last-child:not([data-bevel-drop-target]) > td { border-bottom: 0; }
|
|
1847
|
+
.bevel-files__sort {
|
|
1848
|
+
display: inline-flex; align-items: center; gap: 5px; height: 38px; margin: 0; padding: 0;
|
|
1849
|
+
font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit;
|
|
1850
|
+
background: none; border: 0; border-radius: 0; cursor: pointer;
|
|
1851
|
+
}
|
|
1852
|
+
.bevel-files__sort:hover, .bevel-files__table th:is([aria-sort="ascending"], [aria-sort="descending"]) .bevel-files__sort { color: var(--bevel-ink); }
|
|
1853
|
+
.bevel-files__sort:focus-visible { outline: 2px solid var(--bevel-brass); outline-offset: -2px; }
|
|
1854
|
+
.bevel-files__arrow { display: none; flex-shrink: 0; }
|
|
1855
|
+
.bevel-files__table th:is([aria-sort="ascending"], [aria-sort="descending"]) .bevel-files__arrow { display: block; }
|
|
1856
|
+
.bevel-files__table th[aria-sort="descending"] .bevel-files__arrow { rotate: 180deg; }
|
|
1857
|
+
|
|
1858
|
+
.bevel-files__table .bevel-files__pick { width: 44px; padding-right: 0; }
|
|
1859
|
+
.bevel-files__pick .bevel-checkbox { display: flex; }
|
|
1860
|
+
.bevel-files__pick .bevel-checkbox__box { width: 16px; height: 16px; margin-top: 0; }
|
|
1861
|
+
.bevel-files__table .bevel-files__name { min-width: min(320px, 100%); }
|
|
1862
|
+
.bevel-files__table .bevel-files__status { width: 230px; }
|
|
1863
|
+
.bevel-files__table .bevel-files__editor { width: 110px; }
|
|
1864
|
+
.bevel-files__table .bevel-files__updated { width: 120px; }
|
|
1865
|
+
.bevel-files__table .bevel-files__size { width: 90px; text-align: right; }
|
|
1866
|
+
.bevel-files__table .bevel-files__actions { width: 112px; text-align: right; }
|
|
1867
|
+
.bevel-files__table td:is(.bevel-files__updated, .bevel-files__size) { font: 12.5px/1.4 var(--bevel-font-mono); color: var(--bevel-muted); }
|
|
1868
|
+
|
|
1869
|
+
.bevel-files__row { cursor: pointer; }
|
|
1870
|
+
.bevel-files__row:hover td { background: var(--bevel-sunk); }
|
|
1871
|
+
.bevel-files__row:is([data-bevel-selected], :has(:checked)) td { background: color-mix(in srgb, var(--bevel-brass-soft) 55%, var(--bevel-surface)); }
|
|
1872
|
+
.bevel-files__row[data-bevel-drop-target] td { background: var(--bevel-brass-soft); border-top: 2px dashed var(--bevel-brass); border-bottom: 2px dashed var(--bevel-brass); }
|
|
1873
|
+
.bevel-files__row[data-bevel-drop-target] td:first-child { border-left: 2px dashed var(--bevel-brass); }
|
|
1874
|
+
.bevel-files__row[data-bevel-drop-target] td:last-child { border-right: 2px dashed var(--bevel-brass); }
|
|
1875
|
+
|
|
1876
|
+
.bevel-files__anchor { display: flex; align-items: center; gap: 12px; min-width: 0; }
|
|
1877
|
+
.bevel-files__kind { display: inline-grid; place-items: center; flex-shrink: 0; width: 28px; height: 28px; color: var(--bevel-muted); background: var(--bevel-sunk); border: 1px solid var(--bevel-line); }
|
|
1878
|
+
.bevel-files__row:hover .bevel-files__kind { background: var(--bevel-surface); }
|
|
1879
|
+
.bevel-files__label { display: flex; flex-direction: column; flex: 1 1 0; width: 0; line-height: 1.25; }
|
|
1880
|
+
.bevel-files__title {
|
|
1881
|
+
display: block; width: fit-content; max-width: 100%; margin: 0; padding: 0;
|
|
1882
|
+
font: inherit; font-weight: 500; color: var(--bevel-ink); text-align: left; text-decoration: none;
|
|
1883
|
+
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
|
|
1884
|
+
background: none; border: 0; border-radius: 0; cursor: pointer;
|
|
1885
|
+
}
|
|
1886
|
+
.bevel-files__title:focus-visible { outline: 2px solid var(--bevel-brass); outline-offset: 2px; }
|
|
1887
|
+
.bevel-files__detail { margin-top: 3px; font: 11.5px/1.25 var(--bevel-font-mono); color: var(--bevel-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
1888
|
+
.bevel-files__detail--location { color: var(--bevel-muted); }
|
|
1889
|
+
.bevel-files__detail--location a { text-decoration: none; }
|
|
1890
|
+
.bevel-files__detail--location a:hover { text-decoration: underline; }
|
|
1891
|
+
.bevel-files__detail:empty { display: none; }
|
|
1892
|
+
|
|
1893
|
+
.bevel-files__pill {
|
|
1894
|
+
display: inline-flex; align-items: center; gap: 5px; margin-right: 6px; padding: 4px 7px; vertical-align: middle; white-space: nowrap;
|
|
1895
|
+
font: 600 10px/1 var(--bevel-font-mono); letter-spacing: .09em; text-transform: uppercase;
|
|
1896
|
+
color: var(--bevel-muted); background: var(--bevel-sunk); border: 1px solid var(--bevel-line);
|
|
1897
|
+
}
|
|
1898
|
+
.bevel-files__pill::before { content: ""; width: 4px; height: 4px; background: currentColor; }
|
|
1899
|
+
.bevel-files__pill:has(svg)::before { display: none; }
|
|
1900
|
+
.bevel-files__pill--accent { color: color-mix(in srgb, var(--bevel-brass) 80%, var(--bevel-ink)); background: var(--bevel-brass-soft); border-color: color-mix(in srgb, var(--bevel-brass) 28%, var(--bevel-brass-soft)); }
|
|
1901
|
+
.bevel-files__pill--good { color: var(--bevel-teal); background: var(--bevel-teal-soft); border-color: color-mix(in srgb, var(--bevel-teal) 28%, var(--bevel-teal-soft)); }
|
|
1902
|
+
.bevel-files__pill--alert { color: var(--bevel-ox); background: var(--bevel-ox-soft); border-color: color-mix(in srgb, var(--bevel-ox) 28%, var(--bevel-ox-soft)); }
|
|
1903
|
+
.bevel-files__drop-hint { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font: 500 11px/1 var(--bevel-font-mono); letter-spacing: .06em; text-transform: uppercase; color: color-mix(in srgb, var(--bevel-brass) 82%, var(--bevel-ink)); }
|
|
1904
|
+
|
|
1905
|
+
.bevel-files__avatar { display: inline-grid; place-items: center; width: 26px; height: 26px; font: 500 9.5px/1 var(--bevel-font-mono); letter-spacing: .02em; color: var(--bevel-ink-2); background: var(--bevel-sunk); border: 1px solid var(--bevel-line-2); }
|
|
1906
|
+
.bevel-files__avatar--accent { color: color-mix(in srgb, var(--bevel-brass) 80%, var(--bevel-ink)); background: var(--bevel-brass-soft); border-color: color-mix(in srgb, var(--bevel-brass) 30%, var(--bevel-brass-soft)); }
|
|
1907
|
+
.bevel-files__avatar--good { color: var(--bevel-teal); background: var(--bevel-teal-soft); border-color: color-mix(in srgb, var(--bevel-teal) 30%, var(--bevel-teal-soft)); }
|
|
1908
|
+
|
|
1909
|
+
.bevel-files__tools { display: inline-flex; align-items: center; gap: 2px; vertical-align: middle; }
|
|
1910
|
+
.bevel-files__tool { display: inline-grid; place-items: center; width: 28px; height: 28px; margin: 0; padding: 0; color: var(--bevel-muted); text-decoration: none; background: none; border: 0; border-radius: 0; cursor: pointer; }
|
|
1911
|
+
.bevel-files__tool:hover { color: var(--bevel-ink); background: var(--bevel-sunk); }
|
|
1912
|
+
.bevel-files__tool:focus-visible { outline: 2px solid var(--bevel-brass); outline-offset: -2px; }
|
|
1913
|
+
.bevel-files__tool--reveal { opacity: 0; }
|
|
1914
|
+
.bevel-files__row:is(:hover, :focus-within) .bevel-files__tool--reveal { opacity: 1; }
|
|
1915
|
+
@media (hover: none) {
|
|
1916
|
+
.bevel-files__tool--reveal { opacity: 1; }
|
|
1917
|
+
}
|
|
1918
|
+
|
|
1919
|
+
.bevel-files__skeleton { cursor: default; }
|
|
1920
|
+
.bevel-files__table .bevel-files__skeleton > td { border-bottom: 0; }
|
|
1921
|
+
.bevel-files__lines { display: grid; gap: 6px; min-width: 0; }
|
|
1922
|
+
.bevel-files__bar { display: block; max-width: 100%; height: 9px; background: var(--bevel-sunk); border: 1px solid var(--bevel-line); animation: bevel-skel 1.5s ease-in-out infinite; }
|
|
1923
|
+
.bevel-files__bar--short { height: 7px; opacity: .7; animation-delay: .12s; }
|
|
1924
|
+
.bevel-files__size .bevel-files__bar { margin-left: auto; }
|
|
1925
|
+
.bevel-files__table .bevel-files__notice > td { height: auto; padding: 4px 12px 16px; text-align: center; font-size: 12.5px; color: var(--bevel-muted); }
|
|
1926
|
+
.bevel-files__table .bevel-files__empty > td { height: auto; padding: 44px 16px; }
|
|
1927
|
+
.bevel-files__blank { display: flex; flex-direction: column; align-items: center; gap: 8px; max-width: 30ch; margin: 0 auto; text-align: center; }
|
|
1928
|
+
.bevel-files__blank-tile { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 2px; color: var(--bevel-muted); background: var(--bevel-sunk); border: 1px solid var(--bevel-line); }
|
|
1929
|
+
.bevel-files__blank-title { margin: 0; font: 500 14.5px/1.3 var(--bevel-font-sans); color: var(--bevel-ink); }
|
|
1930
|
+
.bevel-files__blank-text { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--bevel-muted); }
|
|
1931
|
+
.bevel-files__blank .bevel-button { margin-top: 6px; }
|
|
1932
|
+
|
|
1933
|
+
.bevel-files__foot {
|
|
1934
|
+
display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 18px; padding: 9px 14px;
|
|
1935
|
+
font: 11.5px/1.5 var(--bevel-font-mono); color: var(--bevel-faint); background: var(--bevel-ground); border-top: 1px solid var(--bevel-line-2);
|
|
1936
|
+
}
|
|
1937
|
+
.bevel-files__foot:has(.bevel-files__more) { padding: 8px 12px; }
|
|
1938
|
+
.bevel-files__spacer { flex: 1; }
|
|
1939
|
+
.bevel-files__more { padding: 2px 9px; font-family: var(--bevel-font-sans); font-size: 12.5px; }
|
|
1940
|
+
.bevel-files__foot > .bevel-button { padding-block: 0; }
|
|
1941
|
+
|
|
1942
|
+
@container bevel-files (max-width: 800px) {
|
|
1943
|
+
.bevel-files__table, .bevel-files__table > tbody { display: block; }
|
|
1944
|
+
.bevel-files__table > thead { display: none; }
|
|
1945
|
+
.bevel-files__table td { height: auto; padding: 0; border-bottom: 0; }
|
|
1946
|
+
.bevel-files__row {
|
|
1947
|
+
display: grid; grid-template-columns: auto auto minmax(0, max-content) max-content 1fr auto; grid-template-rows: auto auto;
|
|
1948
|
+
align-items: center; column-gap: 10px; padding: 8px 4px 8px 10px; border-bottom: 1px solid var(--bevel-line);
|
|
1949
|
+
}
|
|
1950
|
+
.bevel-files__table tbody > tr:last-child:not([data-bevel-drop-target]) { border-bottom: 0; }
|
|
1951
|
+
.bevel-files__row > .bevel-files__name, .bevel-files__row .bevel-files__anchor, .bevel-files__row .bevel-files__label { display: contents; }
|
|
1952
|
+
.bevel-files__table .bevel-files__pick { grid-column: 1; grid-row: 1 / 3; width: auto; }
|
|
1953
|
+
.bevel-files__row .bevel-files__kind { grid-column: 2; grid-row: 1 / 3; }
|
|
1954
|
+
.bevel-files__row .bevel-files__title { grid-column: 3; grid-row: 1; min-width: 0; font-size: 13.5px; }
|
|
1955
|
+
.bevel-files__table .bevel-files__status { grid-column: 4; grid-row: 1; width: auto; min-width: 0; }
|
|
1956
|
+
.bevel-files__row .bevel-files__detail { grid-column: 3 / 6; grid-row: 2; min-width: 0; font-size: 11px; }
|
|
1957
|
+
.bevel-files__table .bevel-files__actions { grid-column: 6; grid-row: 1 / 3; width: auto; }
|
|
1958
|
+
.bevel-files__table :is(.bevel-files__editor, .bevel-files__updated, .bevel-files__size) { display: none; }
|
|
1959
|
+
.bevel-files__tool--reveal { display: none; }
|
|
1960
|
+
.bevel-files__row .bevel-files__detail:empty { display: block; }
|
|
1961
|
+
.bevel-files__detail::after { content: attr(data-fold); }
|
|
1962
|
+
.bevel-files__row:hover { background: var(--bevel-sunk); }
|
|
1963
|
+
.bevel-files__row:is([data-bevel-selected], :has(:checked)) { background: color-mix(in srgb, var(--bevel-brass-soft) 55%, var(--bevel-surface)); }
|
|
1964
|
+
.bevel-files__row[data-bevel-drop-target] { background: var(--bevel-brass-soft); border: 2px dashed var(--bevel-brass); }
|
|
1965
|
+
.bevel-files__row:is(:hover, [data-bevel-selected], :has(:checked), [data-bevel-drop-target]) td { background: none; }
|
|
1966
|
+
.bevel-files__row[data-bevel-drop-target] td, .bevel-files__row[data-bevel-drop-target] td:is(:first-child, :last-child) { border: 0; }
|
|
1967
|
+
.bevel-files__skeleton { display: flex; align-items: center; gap: 10px; padding: 9px 12px; }
|
|
1968
|
+
.bevel-files__table .bevel-files__skeleton > .bevel-files__pick { width: 16px; }
|
|
1969
|
+
.bevel-files__notice, .bevel-files__empty { display: block; }
|
|
1970
|
+
.bevel-files__table :is(.bevel-files__notice, .bevel-files__empty) > td { display: block; }
|
|
1971
|
+
}
|
|
1972
|
+
@media (max-width: 640px) {
|
|
1973
|
+
.bevel-files__foot, .bevel-files__foot:has(.bevel-files__more) { padding: 8px 10px; }
|
|
1974
|
+
}
|
|
1975
|
+
.bevel-files-example__section { margin-block-start: 40px; }
|
|
1976
|
+
.bevel-files-example__section > .bevel-kicker { margin-block-end: 12px; }
|
|
1977
|
+
|
|
1978
|
+
/* ============================ GRID ============================ */
|
|
1979
|
+
/* The data table. bevel-table is content, a grid is a tool: a frame holding
|
|
1980
|
+
a toolbar, a scroll box with a sticky head, a sticky spine (pick, row
|
|
1981
|
+
number, anchor) and a sticky aggregate strip, then a status bar with the
|
|
1982
|
+
pages. Language is sans, anything with a digit is mono, and alignment
|
|
1983
|
+
follows the type: text left, figures right. Every state is an attribute:
|
|
1984
|
+
aria-sort on the head, checked on the pick, aria-expanded on the toggle,
|
|
1985
|
+
data-page on the frame, value on the search. Column heads sort flat, like
|
|
1986
|
+
tabs: a row of twelve bevels would out-shout the data. The table is
|
|
1987
|
+
border-collapse: separate because a collapsed border does not travel with
|
|
1988
|
+
a sticky cell. */
|
|
1989
|
+
.bevel-grid {
|
|
1990
|
+
display: flex; flex-direction: column;
|
|
1991
|
+
background: var(--bevel-surface); border: 1px solid var(--bevel-line-2); border-radius: 0;
|
|
1992
|
+
box-shadow: var(--bevel-shadow); font-size: 14px; line-height: 1.5; color: var(--bevel-ink);
|
|
1993
|
+
}
|
|
1994
|
+
.bevel-grid__masthead { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 20px; padding: 26px 26px 22px; }
|
|
1995
|
+
.bevel-grid__masthead .bevel-grid__title { display: block; margin: 7px 0 6px; font-family: var(--bevel-font-serif); font-size: 42px; font-weight: 500; line-height: 1.08; letter-spacing: -.025em; }
|
|
1996
|
+
.bevel-grid__description { margin: 0; font-size: 14px; line-height: 1.5; color: var(--bevel-muted); }
|
|
1997
|
+
.bevel-grid__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-block: 1px solid var(--bevel-line-2); background: var(--bevel-ground); }
|
|
1998
|
+
.bevel-grid__stat { padding: 15px 24px 17px; border-right: 1px solid var(--bevel-line); }
|
|
1999
|
+
.bevel-grid__stat:last-child { border-right: 0; }
|
|
2000
|
+
.bevel-grid__stat dt { font-family: var(--bevel-font-mono); font-size: 10px; font-weight: 500; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; color: var(--bevel-muted); }
|
|
2001
|
+
.bevel-grid__stat dd { margin: 5px 0 0; font-family: var(--bevel-font-mono); font-size: clamp(18px, 2.2vw, 28px); font-weight: 500; line-height: 1.2; letter-spacing: -.06em; }
|
|
2002
|
+
.bevel-grid__views { display: flex; overflow-x: auto; padding: 0 18px; gap: 14px; border-bottom: 1px solid var(--bevel-line); }
|
|
2003
|
+
.bevel-grid__view { appearance: none; background: none; color: var(--bevel-muted); border: 0; border-bottom: 3px solid transparent; padding: 14px 8px 11px; cursor: pointer; font-family: var(--bevel-font-sans); font-size: 13px; font-weight: 500; line-height: 1.5; white-space: nowrap; }
|
|
2004
|
+
.bevel-grid__view span { margin-left: 8px; font-family: var(--bevel-font-mono); font-size: 11px; }
|
|
2005
|
+
.bevel-grid__view[aria-pressed="true"] { border-bottom-color: var(--bevel-brass); color: var(--bevel-ink); }
|
|
2006
|
+
.bevel-grid__view:hover { color: var(--bevel-ink); }
|
|
2007
|
+
.bevel-grid__view:focus-visible { outline: 2px solid var(--bevel-brass); outline-offset: -4px; }
|
|
2008
|
+
.bevel-grid__masthead > .bevel-grid__id { font-size: 11px; color: var(--bevel-muted); }
|
|
2009
|
+
@media (max-width: 640px) {
|
|
2010
|
+
.bevel-grid__masthead { padding: 20px; }
|
|
2011
|
+
.bevel-grid__masthead .bevel-grid__title { font-size: 34px; }
|
|
2012
|
+
.bevel-grid__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
2013
|
+
.bevel-grid__stat { padding: 14px 18px; }
|
|
2014
|
+
.bevel-grid__stat:nth-child(-n+2) { border-bottom: 1px solid var(--bevel-line); }
|
|
2015
|
+
.bevel-grid__stat:nth-child(2) { border-right: 0; }
|
|
2016
|
+
}
|
|
2017
|
+
.bevel-grid__bar {
|
|
2018
|
+
display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px;
|
|
2019
|
+
padding: 12px 16px; border-bottom: 1px solid var(--bevel-line);
|
|
2020
|
+
}
|
|
2021
|
+
.bevel-grid__title { margin: 0; display: flex; align-items: baseline; gap: 10px; font-family: var(--bevel-font-sans); font-size: 16px; font-weight: 600; line-height: 1.5; color: var(--bevel-ink); }
|
|
2022
|
+
.bevel-grid__count { font-family: var(--bevel-font-mono); font-size: 11px; font-weight: 500; letter-spacing: .06em; color: var(--bevel-muted); }
|
|
2023
|
+
.bevel-grid__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
|
|
2024
|
+
.bevel-grid__search { width: 220px; }
|
|
2025
|
+
.bevel-grid__scroll { overflow: auto; scrollbar-width: thin; }
|
|
2026
|
+
.bevel-grid__table { border-collapse: separate; border-spacing: 0; width: 100%; font-family: var(--bevel-font-sans); font-size: 14px; line-height: 1.5; }
|
|
2027
|
+
|
|
2028
|
+
/* Head: mono caps, sticky, a line-2 rule under it. */
|
|
2029
|
+
.bevel-grid__table thead th {
|
|
2030
|
+
position: sticky; top: 0; z-index: 2;
|
|
2031
|
+
background: var(--bevel-surface); text-align: left; vertical-align: bottom;
|
|
2032
|
+
font-family: var(--bevel-font-mono); font-size: 11px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; line-height: 1.5;
|
|
2033
|
+
color: var(--bevel-muted); padding: 10px 12px 9px; border-bottom: 1px solid var(--bevel-line-2); white-space: nowrap;
|
|
2034
|
+
}
|
|
2035
|
+
.bevel-grid__head { text-align: left; }
|
|
2036
|
+
.bevel-grid__head--num { text-align: right; }
|
|
2037
|
+
.bevel-grid__head--center { text-align: center; }
|
|
2038
|
+
.bevel-grid__sort {
|
|
2039
|
+
appearance: none; -webkit-appearance: none; border: 0; background: none; padding: 0; margin: 0; cursor: pointer;
|
|
2040
|
+
font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; line-height: inherit;
|
|
2041
|
+
display: inline-flex; align-items: center; gap: 7px; transition: color .14s;
|
|
2042
|
+
}
|
|
2043
|
+
.bevel-grid__sort::after {
|
|
2044
|
+
content: ""; width: 5px; height: 5px; flex-shrink: 0;
|
|
2045
|
+
border-right: 1.5px solid var(--bevel-brass); border-bottom: 1.5px solid var(--bevel-brass);
|
|
2046
|
+
transform: translateY(-2px) rotate(45deg); opacity: 0; transition: opacity .14s;
|
|
2047
|
+
}
|
|
2048
|
+
.bevel-grid__sort:hover { color: var(--bevel-ink); }
|
|
2049
|
+
.bevel-grid__sort:hover::after { opacity: .45; }
|
|
2050
|
+
.bevel-grid__sort:focus-visible { outline: 2px solid var(--bevel-brass); outline-offset: 3px; }
|
|
2051
|
+
[aria-sort="ascending"] > .bevel-grid__sort, [aria-sort="descending"] > .bevel-grid__sort { color: var(--bevel-ink); }
|
|
2052
|
+
[aria-sort="ascending"] > .bevel-grid__sort::after, [aria-sort="descending"] > .bevel-grid__sort::after { opacity: 1; }
|
|
2053
|
+
[aria-sort="ascending"] > .bevel-grid__sort::after { transform: translateY(1px) rotate(-135deg); }
|
|
2054
|
+
|
|
2055
|
+
/* Cells paint their own surface so the sticky ones cover what scrolls under them. */
|
|
2056
|
+
.bevel-grid__table td, .bevel-grid__table tbody th {
|
|
2057
|
+
padding: 8px 12px; border-bottom: 1px solid var(--bevel-line); vertical-align: middle; white-space: nowrap;
|
|
2058
|
+
background: var(--bevel-surface); text-align: left; font-weight: 400;
|
|
2059
|
+
}
|
|
2060
|
+
.bevel-grid__num { text-align: right; font-family: var(--bevel-font-mono); font-size: 13px; font-variant-numeric: tabular-nums; }
|
|
2061
|
+
.bevel-grid__id { font-family: var(--bevel-font-mono); font-size: 13px; }
|
|
2062
|
+
.bevel-grid__date { font-family: var(--bevel-font-mono); font-size: 13px; color: var(--bevel-ink-2); }
|
|
2063
|
+
.bevel-grid__center { text-align: center; }
|
|
2064
|
+
.bevel-grid__center .bevel-checkbox { display: inline-grid; vertical-align: middle; }
|
|
2065
|
+
.bevel-grid__center .bevel-checkbox__box { margin-top: 0; }
|
|
2066
|
+
.bevel-grid__actor { display: inline-flex; align-items: center; gap: 8px; vertical-align: middle; }
|
|
2067
|
+
.bevel-grid__avatar {
|
|
2068
|
+
display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 22px; height: 22px;
|
|
2069
|
+
font-family: var(--bevel-font-mono); font-size: 9.5px; font-weight: 600; font-style: normal; letter-spacing: .04em; line-height: 1;
|
|
2070
|
+
color: var(--bevel-muted); background: var(--bevel-sunk); border: 1px solid var(--bevel-line-2);
|
|
2071
|
+
}
|
|
2072
|
+
.bevel-grid__meter { display: inline-flex; align-items: center; gap: 8px; vertical-align: middle; }
|
|
2073
|
+
.bevel-grid__meter .bevel-progress { width: 64px; }
|
|
2074
|
+
.bevel-grid__meter b { font-family: var(--bevel-font-mono); font-size: 12px; font-weight: 500; min-width: 34px; text-align: right; }
|
|
2075
|
+
.bevel-grid__tags { display: inline-flex; gap: 4px; vertical-align: middle; }
|
|
2076
|
+
.bevel-grid__tags .bevel-badge { vertical-align: 0; }
|
|
2077
|
+
|
|
2078
|
+
/* The spine: pick at 0, the row number beside it, the anchor after both,
|
|
2079
|
+
each sticky at the sum of the widths before it. */
|
|
2080
|
+
.bevel-grid__pick, .bevel-grid__n, .bevel-grid__anchor { position: sticky; left: 0; z-index: 1; }
|
|
2081
|
+
.bevel-grid__table thead :is(.bevel-grid__pick, .bevel-grid__n, .bevel-grid__anchor) { z-index: 3; }
|
|
2082
|
+
.bevel-grid__pick { width: 44px; min-width: 44px; padding-right: 0; padding-left: 12px; text-align: center; }
|
|
2083
|
+
.bevel-grid__pick .bevel-checkbox { display: inline-grid; vertical-align: middle; }
|
|
2084
|
+
.bevel-grid__pick .bevel-checkbox__box { margin-top: 0; }
|
|
2085
|
+
.bevel-grid__n { width: 48px; min-width: 48px; padding-right: 10px; text-align: right; font-family: var(--bevel-font-mono); font-size: 11.5px; color: var(--bevel-faint); }
|
|
2086
|
+
.bevel-grid__table tbody { counter-reset: bevel-row; }
|
|
2087
|
+
.bevel-grid__row { counter-increment: bevel-row; }
|
|
2088
|
+
.bevel-grid__table tbody > .bevel-grid__row > .bevel-grid__n::before { content: counter(bevel-row); }
|
|
2089
|
+
.bevel-grid__table:has(.bevel-grid__pick) .bevel-grid__n { left: 44px; }
|
|
2090
|
+
.bevel-grid__anchor { font-weight: 500; border-right: 1px solid var(--bevel-line-2); }
|
|
2091
|
+
.bevel-grid__table:has(.bevel-grid__pick):not(:has(.bevel-grid__n)) .bevel-grid__anchor { left: 44px; }
|
|
2092
|
+
.bevel-grid__table:has(.bevel-grid__n):not(:has(.bevel-grid__pick)) .bevel-grid__anchor { left: 48px; }
|
|
2093
|
+
.bevel-grid__table:has(.bevel-grid__pick):has(.bevel-grid__n) .bevel-grid__anchor { left: 92px; }
|
|
2094
|
+
|
|
2095
|
+
/* Row states. Selected takes a brass tint and a brass bar on the spine,
|
|
2096
|
+
hover the sunk tint, changed a brass dog-ear on its first cell. */
|
|
2097
|
+
.bevel-grid__row:hover > :is(td, th) { background: color-mix(in srgb, var(--bevel-sunk) 55%, var(--bevel-surface)); }
|
|
2098
|
+
.bevel-grid__row:has(.bevel-grid__pick input:checked) > :is(td, th) { background: color-mix(in srgb, var(--bevel-brass-soft) 55%, var(--bevel-surface)); }
|
|
2099
|
+
.bevel-grid__row:has(.bevel-grid__pick input:checked) > :first-child { box-shadow: inset 3px 0 0 var(--bevel-brass); }
|
|
2100
|
+
.bevel-grid__row--changed > :first-child { position: sticky; }
|
|
2101
|
+
.bevel-grid__row--changed > :first-child::after {
|
|
2102
|
+
content: ""; position: absolute; left: 0; top: 0; border: 5px solid var(--bevel-brass);
|
|
2103
|
+
border-right-color: transparent; border-bottom-color: transparent;
|
|
2104
|
+
}
|
|
2105
|
+
.bevel-grid__row--disabled > :is(td, th) { color: var(--bevel-faint); }
|
|
2106
|
+
.bevel-grid__row--disabled:hover > :is(td, th) { background: var(--bevel-surface); }
|
|
2107
|
+
.bevel-grid__row:has(.bevel-grid__expand[aria-expanded="true"]) > :is(td, th) { background: color-mix(in srgb, var(--bevel-sunk) 55%, var(--bevel-surface)); border-bottom-color: transparent; }
|
|
2108
|
+
.bevel-grid__detail > td { padding: 0; background: var(--bevel-sunk); border-bottom: 1px solid var(--bevel-line-2); white-space: normal; }
|
|
2109
|
+
.bevel-grid__panel { position: sticky; left: 0; width: fit-content; max-width: 100%; padding: 12px 16px 16px 16px; color: var(--bevel-ink-2); font-size: 14px; }
|
|
2110
|
+
.bevel-grid__panel p { margin: 0; }
|
|
2111
|
+
.bevel-grid__panel p + p { margin-top: 6px; }
|
|
2112
|
+
.bevel-grid__group > th {
|
|
2113
|
+
position: sticky; left: 0; padding: 6px 12px; background: var(--bevel-sunk); text-align: left;
|
|
2114
|
+
border-top: 1px solid var(--bevel-line-2); border-bottom: 1px solid var(--bevel-line);
|
|
2115
|
+
font-family: var(--bevel-font-mono); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--bevel-muted);
|
|
2116
|
+
}
|
|
2117
|
+
.bevel-grid__group > th > span { position: sticky; left: 12px; display: inline-flex; gap: 8px; align-items: baseline; }
|
|
2118
|
+
|
|
2119
|
+
/* The expander is the details latch as a button; the menu is a raised
|
|
2120
|
+
square carrying three dots. Both are pressable, so both get the bevel. */
|
|
2121
|
+
.bevel-grid__expand, .bevel-grid__more {
|
|
2122
|
+
appearance: none; -webkit-appearance: none; position: relative; cursor: pointer; padding: 0; line-height: 0;
|
|
2123
|
+
width: 22px; height: 22px; vertical-align: middle; color: var(--bevel-ink);
|
|
2124
|
+
background: var(--bevel-face); border: 2px solid;
|
|
2125
|
+
border-color: var(--bevel-edge-hi) var(--bevel-edge-lo) var(--bevel-edge-lo) var(--bevel-edge-hi);
|
|
2126
|
+
border-radius: 0; outline: none;
|
|
2127
|
+
}
|
|
2128
|
+
.bevel-grid__expand { margin-right: 10px; }
|
|
2129
|
+
.bevel-grid__expand:hover, .bevel-grid__more:hover { background: color-mix(in srgb, var(--bevel-face), var(--bevel-edge-hi) 45%); }
|
|
2130
|
+
.bevel-grid__expand:active, .bevel-grid__more:active { border-color: var(--bevel-edge-lo) var(--bevel-edge-hi) var(--bevel-edge-hi) var(--bevel-edge-lo); }
|
|
2131
|
+
.bevel-grid__expand:focus-visible, .bevel-grid__more:focus-visible { outline: 2px solid var(--bevel-brass); outline-offset: 2px; }
|
|
2132
|
+
.bevel-grid__expand::before {
|
|
2133
|
+
content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px;
|
|
2134
|
+
border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
|
|
2135
|
+
transform: translate(-65%, -50%) rotate(-45deg); transition: transform .14s;
|
|
2136
|
+
}
|
|
2137
|
+
.bevel-grid__expand[aria-expanded="true"] {
|
|
2138
|
+
background: var(--bevel-face-in);
|
|
2139
|
+
border-color: var(--bevel-edge-in) var(--bevel-edge-in-hi) var(--bevel-edge-in-hi) var(--bevel-edge-in);
|
|
2140
|
+
}
|
|
2141
|
+
.bevel-grid__expand[aria-expanded="true"]::before { transform: translate(calc(-50% + 1px), calc(-65% + 1px)) rotate(45deg); }
|
|
2142
|
+
.bevel-grid__more::before {
|
|
2143
|
+
content: ""; position: absolute; left: 50%; top: 50%; width: 3px; height: 3px; translate: -50% -50%;
|
|
2144
|
+
background: currentColor; box-shadow: -5px 0 0 currentColor, 5px 0 0 currentColor;
|
|
2145
|
+
}
|
|
2146
|
+
.bevel-grid__menu { width: 44px; text-align: center; padding-left: 8px; padding-right: 8px; }
|
|
2147
|
+
|
|
2148
|
+
/* The aggregate strip: sticky at the foot of the scroll box, sunk, a mono
|
|
2149
|
+
figure under a faint label. */
|
|
2150
|
+
.bevel-grid__table tfoot :is(th, td) {
|
|
2151
|
+
position: sticky; bottom: 0; z-index: 2; background: var(--bevel-sunk);
|
|
2152
|
+
border-top: 1px solid var(--bevel-line-2); border-bottom: 0; padding: 6px 12px 7px; text-align: left;
|
|
2153
|
+
font-family: var(--bevel-font-mono); font-size: 12.5px; font-weight: 500; color: var(--bevel-ink-2); white-space: nowrap;
|
|
2154
|
+
}
|
|
2155
|
+
.bevel-grid__table tfoot :is(.bevel-grid__pick, .bevel-grid__n, .bevel-grid__anchor) { z-index: 3; }
|
|
2156
|
+
.bevel-grid__table tfoot i { display: block; font-style: normal; font-size: 9.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--bevel-faint); }
|
|
2157
|
+
|
|
2158
|
+
/* The status bar: selection and range in mono, pages as adjacent small
|
|
2159
|
+
bevel buttons with the current one pressed in. */
|
|
2160
|
+
.bevel-grid__foot {
|
|
2161
|
+
display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px;
|
|
2162
|
+
padding: 10px 16px; border-top: 1px solid var(--bevel-line);
|
|
2163
|
+
}
|
|
2164
|
+
.bevel-grid__status { margin: 0; display: flex; flex-wrap: wrap; gap: 16px; font-family: var(--bevel-font-mono); font-size: 11.5px; letter-spacing: .04em; color: var(--bevel-muted); }
|
|
2165
|
+
.bevel-grid__status b, .bevel-grid__selected { font-weight: 600; color: var(--bevel-ink); }
|
|
2166
|
+
.bevel-grid__range { font-variant-numeric: tabular-nums; }
|
|
2167
|
+
.bevel-grid__pages { display: inline-flex; align-items: center; }
|
|
2168
|
+
.bevel-grid__pages > .bevel-button { font-family: var(--bevel-font-mono); font-size: 11px; font-weight: 500; letter-spacing: .04em; padding: 3px 6px; min-width: 30px; height: auto; }
|
|
2169
|
+
.bevel-grid__pages > .bevel-button + .bevel-button { margin-left: -2px; }
|
|
2170
|
+
.bevel-grid__page[aria-current="page"] {
|
|
2171
|
+
background: var(--bevel-face-in);
|
|
2172
|
+
border-color: var(--bevel-edge-in) var(--bevel-edge-in-hi) var(--bevel-edge-in-hi) var(--bevel-edge-in);
|
|
2173
|
+
position: relative; z-index: 1;
|
|
2174
|
+
}
|
|
2175
|
+
.bevel-grid__page[aria-current="page"] .bevel-button__label { translate: 1px 1px; }
|
|
2176
|
+
.bevel-grid__gap { min-width: 26px; text-align: center; font-family: var(--bevel-font-mono); font-size: 11px; color: var(--bevel-faint); }
|
|
2177
|
+
|
|
2178
|
+
/* Empty and loading rows live in the body so the head and the frame stay. */
|
|
2179
|
+
.bevel-grid__empty > td { padding: 34px 24px; text-align: center; white-space: normal; color: var(--bevel-ink-2); border-bottom: 0; }
|
|
2180
|
+
.bevel-grid__empty p { margin: 0; }
|
|
2181
|
+
.bevel-grid__empty .bevel-kicker { margin-bottom: 6px; }
|
|
2182
|
+
.bevel-grid__skel > td { padding: 12px; }
|
|
2183
|
+
.bevel-grid__skel i { display: block; height: 11px; width: 72%; background: var(--bevel-sunk); animation: bevel-skel 1.5s ease-in-out infinite; }
|
|
2184
|
+
.bevel-grid__skel:nth-child(even) i { width: 52%; animation-delay: .12s; }
|
|
2185
|
+
.bevel-grid__skel:nth-child(3n) i { width: 88%; animation-delay: .24s; }
|
|
2186
|
+
|
|
2187
|
+
.bevel-grid--dense { font-size: 13px; }
|
|
2188
|
+
.bevel-grid--dense .bevel-grid__table { font-size: 13px; }
|
|
2189
|
+
.bevel-grid--dense .bevel-grid__table td, .bevel-grid--dense .bevel-grid__table tbody th { padding-top: 4px; padding-bottom: 4px; }
|
|
2190
|
+
.bevel-grid--dense .bevel-grid__table thead th { padding: 7px 12px 6px; font-size: 10.5px; }
|
|
2191
|
+
.bevel-grid--dense .bevel-grid__num, .bevel-grid--dense .bevel-grid__id, .bevel-grid--dense .bevel-grid__date { font-size: 12.5px; }
|
|
2192
|
+
.bevel-grid--ruled .bevel-grid__table :is(td, th):not(:last-child) { border-right: 1px solid var(--bevel-line); }
|
|
2193
|
+
.bevel-grid--ruled .bevel-grid__anchor { border-right-color: var(--bevel-line-2); }
|
|
2194
|
+
.bevel-grid--striped .bevel-grid__row:nth-child(even of .bevel-grid__row) > :is(td, th) { background: color-mix(in srgb, var(--bevel-sunk) 40%, var(--bevel-surface)); }
|
|
2195
|
+
|
|
2196
|
+
/* ============================ SKELETON, EMPTY ============================ */
|
|
2197
|
+
.bevel-skel { background: var(--bevel-surface); border: 1px solid var(--bevel-line); border-radius: 0; padding: 20px 22px; display: grid; gap: 11px; }
|
|
2198
|
+
.bevel-skel i { display: block; height: 12px; background: var(--bevel-sunk); animation: bevel-skel 1.5s ease-in-out infinite; }
|
|
2199
|
+
.bevel-skel i.hd { height: 17px; }
|
|
2200
|
+
.bevel-skel i:nth-child(2) { animation-delay: .12s; }
|
|
2201
|
+
.bevel-skel i:nth-child(3) { animation-delay: .24s; }
|
|
2202
|
+
.bevel-skel i:nth-child(4) { animation-delay: .36s; }
|
|
2203
|
+
@keyframes bevel-skel { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
|
|
2204
|
+
.bevel-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; max-inline-size: 30ch; margin-inline: auto; border: 0; border-radius: 0; padding: 0; text-align: center; }
|
|
2205
|
+
.bevel-empty > p { font-size: 14.5px; color: var(--bevel-ink-2); max-width: 46ch; margin: 8px auto 16px; }
|
|
2206
|
+
.bevel-empty > .bevel-empty__description { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--bevel-muted); }
|
|
2207
|
+
.bevel-empty .bevel-buttons > * { margin-block-start: 6px; }
|
|
2208
|
+
.bevel-empty > .bevel-kicker { margin: 0; font: 500 14.5px/1.3 var(--bevel-font-sans); letter-spacing: 0; text-transform: none; color: var(--bevel-ink); }
|
|
2209
|
+
|
|
2210
|
+
/* ============================ ROWS ============================ */
|
|
2211
|
+
/* Labeled rows record decisions; evidence rows test claims. */
|
|
2212
|
+
.bevel-rev { display: grid; gap: 14px; }
|
|
2213
|
+
.bevel-rev__row {
|
|
2214
|
+
display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: baseline;
|
|
2215
|
+
padding: 14px 16px; background: var(--bevel-surface); border: 1px solid var(--bevel-line); border-radius: 0;
|
|
2216
|
+
}
|
|
2217
|
+
.bevel-rev__k { font-family: var(--bevel-font-mono); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--bevel-muted); white-space: nowrap; }
|
|
2218
|
+
.bevel-rev__row p { margin: 0; font-size: 15px; }
|
|
2219
|
+
.bevel-rev__row p b { font-family: var(--bevel-font-mono); font-size: 14px; color: var(--bevel-ox); }
|
|
2220
|
+
.bevel-ev { border-top: 1px solid var(--bevel-line); }
|
|
2221
|
+
.bevel-ev__row { display: grid; grid-template-columns: 132px 1fr; gap: 22px; padding: 19px 0; border-bottom: 1px solid var(--bevel-line); align-items: start; }
|
|
2222
|
+
.bevel-ev__row > h4, .bevel-ev__row > p { grid-column: 2; }
|
|
2223
|
+
.bevel-ev__row h4 { margin: 0; font-family: var(--bevel-font-sans); font-size: 15.5px; font-weight: 600; letter-spacing: -.005em; }
|
|
2224
|
+
.bevel-ev__row p { margin: 5px 0 0; font-size: 15px; color: var(--bevel-ink-2); }
|
|
2225
|
+
@media (max-width: 640px) {
|
|
2226
|
+
.bevel-ev__row { grid-template-columns: 1fr; gap: 9px; }
|
|
2227
|
+
.bevel-ev__row > h4, .bevel-ev__row > p { grid-column: auto; }
|
|
2228
|
+
}
|
|
2229
|
+
|
|
2230
|
+
/* ============================ TABS ============================ */
|
|
2231
|
+
/* Mono caps on a shared hairline; the selected tab re-inks and takes a 2px
|
|
2232
|
+
brass underline. A tab is a place, not a press, so it stays flat. */
|
|
2233
|
+
.bevel-tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--bevel-line); overflow-x: auto; scrollbar-width: thin; }
|
|
2234
|
+
.bevel-tabs__tab {
|
|
2235
|
+
appearance: none; border: 0; background: none; cursor: pointer; white-space: nowrap;
|
|
2236
|
+
font-family: var(--bevel-font-mono); font-size: 11.5px; font-weight: 500; line-height: 1.5;
|
|
2237
|
+
letter-spacing: .09em; text-transform: uppercase; color: var(--bevel-muted);
|
|
2238
|
+
padding: 10px 12px 9px; margin-bottom: -1px; border-bottom: 2px solid transparent;
|
|
2239
|
+
transition: color .14s, border-color .14s;
|
|
2240
|
+
}
|
|
2241
|
+
.bevel-tabs__tab:hover { color: var(--bevel-ink); }
|
|
2242
|
+
.bevel-tabs__tab[aria-selected="true"] { color: var(--bevel-ink); border-bottom-color: var(--bevel-brass); }
|
|
2243
|
+
.bevel-tabs__tab:focus-visible { outline: 2px solid var(--bevel-brass); outline-offset: -2px; }
|
|
2244
|
+
.bevel-tabpanel { padding-top: 16px; }
|
|
2245
|
+
.bevel-tabpanel[hidden] { display: none; }
|
|
2246
|
+
|
|
2247
|
+
/* ============================ DETAILS ============================ */
|
|
2248
|
+
/* A boxed stack of drawers. The summary is pressable, so it carries a
|
|
2249
|
+
beveled latch that takes the checked recess while the drawer is open.
|
|
2250
|
+
Native details, so it works without script and the open attribute
|
|
2251
|
+
round-trips. */
|
|
2252
|
+
.bevel-details { background: var(--bevel-surface); border: 1px solid var(--bevel-line-2); border-radius: 0; }
|
|
2253
|
+
.bevel-details + .bevel-details { margin-block-start: 16px; }
|
|
2254
|
+
.bevel-details > summary {
|
|
2255
|
+
list-style: none; cursor: pointer; position: relative; user-select: none;
|
|
2256
|
+
display: flex; align-items: center; gap: 9px; padding: 11px 14px 11px 12px;
|
|
2257
|
+
font-size: 13.5px; font-weight: 500; line-height: 1.5; color: var(--bevel-ink);
|
|
2258
|
+
}
|
|
2259
|
+
.bevel-details > summary::-webkit-details-marker { display: none; }
|
|
2260
|
+
.bevel-details > summary:hover { background: var(--bevel-sunk); }
|
|
2261
|
+
.bevel-details > summary::before {
|
|
2262
|
+
content: ""; flex-shrink: 0; width: 22px; height: 22px;
|
|
2263
|
+
background: var(--bevel-face); border: 2px solid;
|
|
2264
|
+
border-color: var(--bevel-edge-hi) var(--bevel-edge-lo) var(--bevel-edge-lo) var(--bevel-edge-hi);
|
|
2265
|
+
}
|
|
2266
|
+
/* The chevron sits on the latch and points where the body will open. */
|
|
2267
|
+
.bevel-details > summary::after {
|
|
2268
|
+
content: ""; position: absolute; left: 23px; top: 50%; width: 6px; height: 6px;
|
|
2269
|
+
border-right: 1.5px solid var(--bevel-ink); border-bottom: 1.5px solid var(--bevel-ink);
|
|
2270
|
+
transform: translate(-65%, -50%) rotate(-45deg); transition: transform .14s;
|
|
2271
|
+
}
|
|
2272
|
+
.bevel-details[open] > summary::before {
|
|
2273
|
+
background: var(--bevel-face-in);
|
|
2274
|
+
border-color: var(--bevel-edge-in) var(--bevel-edge-in-hi) var(--bevel-edge-in-hi) var(--bevel-edge-in);
|
|
2275
|
+
}
|
|
2276
|
+
.bevel-details[open] > summary::after { transform: translate(calc(-50% + 1px), calc(-65% + 1px)) rotate(45deg); }
|
|
2277
|
+
.bevel-details[open] > summary { border-block-end: 1px solid var(--bevel-line); }
|
|
2278
|
+
.bevel-details > summary:focus-visible { outline: 2px solid var(--bevel-brass); outline-offset: -2px; }
|
|
2279
|
+
.bevel-details__body {
|
|
2280
|
+
display: grid; gap: 9px; justify-items: start;
|
|
2281
|
+
padding: 14px; border-top: 0;
|
|
2282
|
+
background: var(--bevel-surface); font-size: 13px; line-height: 1.5; color: var(--bevel-ink-2);
|
|
2283
|
+
}
|
|
2284
|
+
.bevel-details__body p { margin: 0; }
|
|
2285
|
+
|
|
2286
|
+
|
|
2287
|
+
/* ============================ SEGMENTED ============================ */
|
|
2288
|
+
/* Adjacent bevel buttons; the pressed one takes the checked recess. */
|
|
2289
|
+
.bevel-seg { display: inline-flex; }
|
|
2290
|
+
.bevel-seg > .bevel-button { font-family: var(--bevel-font-mono); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; height: auto; color: var(--bevel-ink); }
|
|
2291
|
+
.bevel-seg > .bevel-button + .bevel-button { margin-left: -2px; }
|
|
2292
|
+
.bevel-seg > .bevel-button[aria-pressed="true"] {
|
|
2293
|
+
background: var(--bevel-face-in);
|
|
2294
|
+
border-color: var(--bevel-edge-in) var(--bevel-edge-in-hi) var(--bevel-edge-in-hi) var(--bevel-edge-in);
|
|
2295
|
+
color: var(--bevel-ink); position: relative; z-index: 1;
|
|
2296
|
+
}
|
|
2297
|
+
.bevel-seg > .bevel-button[aria-pressed="true"] .bevel-button__label { translate: 1px 1px; }
|
|
2298
|
+
.bevel-seg--links { gap: 0; }
|
|
2299
|
+
.bevel-seg--links > .bevel-button { padding: 5px 13px; color: var(--bevel-muted); }
|
|
2300
|
+
.bevel-seg--links > .bevel-button:hover { background: var(--bevel-face); color: var(--bevel-ink); }
|
|
2301
|
+
.bevel-seg--links > .bevel-button[aria-current="page"] {
|
|
2302
|
+
background: var(--bevel-face-in);
|
|
2303
|
+
border-color: var(--bevel-edge-in) var(--bevel-edge-in-hi) var(--bevel-edge-in-hi) var(--bevel-edge-in);
|
|
2304
|
+
color: var(--bevel-ink); position: relative; z-index: 1;
|
|
2305
|
+
}
|
|
2306
|
+
.bevel-seg--links > .bevel-button[aria-current="page"] .bevel-button__label { translate: 1px 1px; }
|
|
2307
|
+
|
|
2308
|
+
/* ============================ STEPS ============================ */
|
|
2309
|
+
.bevel-steps { list-style: none; margin: 0; padding: 0; position: relative; }
|
|
2310
|
+
.bevel-steps::before { content: ""; position: absolute; left: 12px; top: 8px; bottom: 8px; width: 1px; background: var(--bevel-line); }
|
|
2311
|
+
.bevel-steps > li { position: relative; padding: 0 0 22px 44px; counter-increment: bevel-step; }
|
|
2312
|
+
.bevel-steps > li:last-child { padding-bottom: 0; }
|
|
2313
|
+
.bevel-steps > li::before {
|
|
2314
|
+
content: counter(bevel-step); position: absolute; left: 0; top: 0; width: 25px; height: 25px;
|
|
2315
|
+
display: flex; align-items: center; justify-content: center;
|
|
2316
|
+
font-family: var(--bevel-font-mono); font-size: 11.5px; font-weight: 600;
|
|
2317
|
+
background: var(--bevel-surface); border: 1px solid var(--bevel-line-2); color: var(--bevel-muted);
|
|
2318
|
+
}
|
|
2319
|
+
.bevel-steps > li.done::before { content: "\2713"; background: var(--bevel-teal-soft); border-color: color-mix(in srgb, var(--bevel-teal) 40%, var(--bevel-teal-soft)); color: var(--bevel-teal); }
|
|
2320
|
+
.bevel-steps > li.now::before { border-color: var(--bevel-brass); color: var(--bevel-brass); box-shadow: 0 0 0 2px var(--bevel-brass-soft); }
|
|
2321
|
+
.bevel-steps > li h4 { margin: 0; font-family: var(--bevel-font-sans); font-size: 16px; font-weight: 600; line-height: 1.5; }
|
|
2322
|
+
.bevel-steps > li.now h4::after { content: "now"; margin-left: 10px; font-family: var(--bevel-font-mono); font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--bevel-brass); }
|
|
2323
|
+
.bevel-steps > li p { margin: 3px 0 0; font-size: 15px; color: var(--bevel-muted); }
|
|
2324
|
+
.bevel-steps > li:not(.done):not(.now) h4 { color: var(--bevel-muted); }
|
|
2325
|
+
|
|
2326
|
+
/* ============================ TIP, KBD ============================ */
|
|
2327
|
+
.bevel-tip { font-style: normal; text-decoration: underline dotted; text-decoration-color: var(--bevel-faint); text-underline-offset: 3px; cursor: help; position: relative; }
|
|
2328
|
+
.bevel-tip::after {
|
|
2329
|
+
content: attr(data-tip); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%);
|
|
2330
|
+
background: var(--bevel-ink); color: var(--bevel-ground);
|
|
2331
|
+
font-family: var(--bevel-font-mono); font-size: 11px; font-weight: 500; letter-spacing: .02em;
|
|
2332
|
+
padding: 5px 9px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .14s; z-index: 5;
|
|
2333
|
+
}
|
|
2334
|
+
.bevel-tip:hover::after, .bevel-tip:focus-visible::after { opacity: 1; }
|
|
2335
|
+
.bevel-kbd, .bevel-page :where(kbd) {
|
|
2336
|
+
font-family: var(--bevel-font-mono); font-size: 11px; font-weight: 500; line-height: 1;
|
|
2337
|
+
background: var(--bevel-sunk); border: 1px solid var(--bevel-line-2); border-radius: 0;
|
|
2338
|
+
padding: 2.5px 5.5px; color: var(--bevel-muted); white-space: nowrap;
|
|
2339
|
+
}
|
|
2340
|
+
|
|
2341
|
+
/* ============================ EYEBROW, KICKER, PROSE ============================ */
|
|
2342
|
+
.bevel-eyebrow {
|
|
2343
|
+
display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 0;
|
|
2344
|
+
font-family: var(--bevel-font-mono); font-size: 11px; font-weight: 500;
|
|
2345
|
+
letter-spacing: .17em; text-transform: uppercase; color: var(--bevel-brass);
|
|
2346
|
+
padding-bottom: 9px; border-bottom: 1px solid var(--bevel-line);
|
|
2347
|
+
}
|
|
2348
|
+
.bevel-eyebrow span { color: var(--bevel-faint); letter-spacing: .09em; }
|
|
2349
|
+
.bevel-eyebrow--bare { border-bottom: 0; padding-bottom: 0; display: block; }
|
|
2350
|
+
.bevel-kicker { margin: 0; font-family: var(--bevel-font-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--bevel-muted); }
|
|
2351
|
+
.bevel-lede { font-size: 18.5px; line-height: 1.58; color: var(--bevel-ink-2); }
|
|
2352
|
+
.bevel-measure { max-width: 70ch; }
|
|
2353
|
+
.bevel-pull {
|
|
2354
|
+
font-family: var(--bevel-font-serif); font-size: clamp(22px, 3vw, 27px); font-style: italic; font-weight: 400;
|
|
2355
|
+
line-height: 1.35; letter-spacing: -.012em; color: var(--bevel-ink); text-wrap: balance; margin: 0;
|
|
2356
|
+
border-top: 1px solid var(--bevel-line); border-bottom: 1px solid var(--bevel-line); padding: 26px 0;
|
|
2357
|
+
}
|
|
2358
|
+
.bevel-pull cite { display: block; margin-top: 12px; font-family: var(--bevel-font-mono); font-size: 11px; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; color: var(--bevel-muted); font-style: normal; }
|
|
2359
|
+
|
|
2360
|
+
/* ============================ MASTHEAD, VERDICT ============================ */
|
|
2361
|
+
.bevel-mast { border-bottom: 1px solid var(--bevel-line); padding: 46px 0 30px; }
|
|
2362
|
+
.bevel-mast__row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
|
|
2363
|
+
.bevel-mast h1 { margin: 14px 0 0; font-family: var(--bevel-font-serif); font-weight: 500; font-size: clamp(38px, 5.6vw, 62px); line-height: 1.02; letter-spacing: -.022em; text-wrap: balance; }
|
|
2364
|
+
.bevel-mast h1 em { font-style: normal; font-weight: 600; }
|
|
2365
|
+
.bevel-mast__dek { margin: 20px 0 0; font-size: 18.5px; line-height: 1.58; color: var(--bevel-ink-2); max-width: 62ch; }
|
|
2366
|
+
.bevel-mast__tape { display: flex; flex-wrap: wrap; gap: 0; margin: 30px 0 0; border: 1px solid var(--bevel-line); border-radius: 0; overflow: hidden; background: var(--bevel-surface); }
|
|
2367
|
+
.bevel-mast__tape > div { flex: 1 1 128px; padding: 12px 16px; border-right: 1px solid var(--bevel-line); }
|
|
2368
|
+
.bevel-mast__tape > div:last-child { border-right: 0; }
|
|
2369
|
+
.bevel-mast__tape dt { margin: 0; font-family: var(--bevel-font-mono); font-size: 10.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--bevel-faint); }
|
|
2370
|
+
.bevel-mast__tape dd { margin: 3px 0 0; font-family: var(--bevel-font-mono); font-size: 19px; font-weight: 500; letter-spacing: -.02em; }
|
|
2371
|
+
.bevel-mast__tape dd small { font-size: 12px; font-weight: 400; color: var(--bevel-muted); letter-spacing: 0; }
|
|
2372
|
+
.bevel-mast__tape .dn { color: var(--bevel-ox); }
|
|
2373
|
+
.bevel-verdict { background: var(--bevel-surface); border: 1px solid var(--bevel-line); border-radius: 0; padding: 30px 32px; box-shadow: var(--bevel-shadow); }
|
|
2374
|
+
.bevel-verdict h2 { margin: 0 0 14px; font-family: var(--bevel-font-serif); font-weight: 500; font-size: 27px; line-height: 1.2; letter-spacing: -.015em; text-wrap: balance; }
|
|
2375
|
+
.bevel-verdict p { margin: 0; max-width: 74ch; }
|
|
2376
|
+
.bevel-verdict p + p { margin-top: 13px; }
|
|
2377
|
+
.bevel-card { background: var(--bevel-surface); border: 1px solid var(--bevel-line); border-radius: 0; padding: 20px 22px; box-shadow: var(--bevel-shadow); }
|
|
2378
|
+
|
|
2379
|
+
/* ============================ PAGE ============================ */
|
|
2380
|
+
/* The scaffold: bevel-page on <body> gives a centered column and the
|
|
2381
|
+
typographic defaults. Every rule rides :where() (zero specificity) so any
|
|
2382
|
+
class beats it. Flow rhythm targets direct children only. */
|
|
2383
|
+
.bevel-page { max-width: 768px; margin-inline: auto; padding: 48px 24px 96px; }
|
|
2384
|
+
.bevel-page--wide { max-width: 1080px; }
|
|
2385
|
+
.bevel-page :where(h1, h2, h3, h4) { margin: 0; font-family: var(--bevel-font-serif); font-weight: 400; line-height: 1.15; text-wrap: balance; }
|
|
2386
|
+
.bevel-page :where(h1) { font-size: clamp(32px, 4.4vw, 44px); line-height: 1.1; letter-spacing: -.012em; }
|
|
2387
|
+
.bevel-page :where(h2) { font-size: 29px; line-height: 1.18; letter-spacing: -.016em; }
|
|
2388
|
+
.bevel-page :where(h3) { font-size: 20px; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; }
|
|
2389
|
+
.bevel-page :where(h4) { font-family: var(--bevel-font-sans); font-size: 16px; font-weight: 600; line-height: 1.5; }
|
|
2390
|
+
.bevel-page :where(h1 em, h2 em, h3 em) { font-style: normal; font-weight: 600; }
|
|
2391
|
+
.bevel-page :where(p) { margin: 0; text-wrap: pretty; }
|
|
2392
|
+
.bevel-page :where(p + p) { margin-block-start: 13px; }
|
|
2393
|
+
.bevel-page :where(a) { color: var(--bevel-brass); text-underline-offset: 3px; text-decoration-thickness: 1px; text-decoration-color: color-mix(in srgb, var(--bevel-brass) 40%, transparent); transition: text-decoration-color .14s; }
|
|
2394
|
+
.bevel-page :where(a:hover) { text-decoration-color: var(--bevel-brass); }
|
|
2395
|
+
.bevel-page :where(b, strong) { font-weight: 600; color: var(--bevel-ink); }
|
|
2396
|
+
.bevel-page :where(code) { font-family: var(--bevel-font-mono); font-size: .85em; padding: 1px 5px; background: var(--bevel-sunk); border: 1px solid var(--bevel-line); color: var(--bevel-ink); }
|
|
2397
|
+
.bevel-page :where(pre) { margin: 0; padding: 14px 16px; font-family: var(--bevel-font-mono); font-size: 13px; line-height: 1.55; overflow-x: auto; background: var(--bevel-sunk); border: 1px solid var(--bevel-line); color: var(--bevel-ink); scrollbar-width: thin; }
|
|
2398
|
+
.bevel-page :where(pre code) { padding: 0; border: 0; background: none; font-size: inherit; }
|
|
2399
|
+
.bevel-page :where(hr) { border: 0; border-top: 1px solid var(--bevel-line); margin: 0; }
|
|
2400
|
+
.bevel-page :where(blockquote) { margin: 0; padding: 2px 0 2px 16px; border-left: 2px solid var(--bevel-line-2); color: var(--bevel-ink-2); }
|
|
2401
|
+
|
|
2402
|
+
.bevel-page > :where(* + *) { margin-block-start: 14px; }
|
|
2403
|
+
.bevel-page > :where(h1, h2, h3, h4):where(* + *) { margin-block-start: 40px; }
|
|
2404
|
+
.bevel-page > :where(section + section) { margin-block-start: 56px; }
|
|
2405
|
+
.bevel-page > :where(.bevel-eyebrow + *), .bevel-page > :where(* + .bevel-hint) { margin-block-start: 8px; }
|
|
2406
|
+
.bevel-page > :where(.bevel-mast + *) { margin-block-start: 44px; }
|
|
2407
|
+
.bevel-page > :where(.bevel-verdict + *) { margin-block-start: 56px; }
|
|
2408
|
+
.bevel-section > :where(* + *) { margin-block-start: 14px; }
|
|
2409
|
+
.bevel-section > :where(.bevel-eyebrow + *) { margin-block-start: 22px; }
|
|
2410
|
+
.bevel-section > :where(h3):where(* + *) { margin-block-start: 30px; }
|
|
2411
|
+
.bevel-section > :where(h3 + *) { margin-block-start: 9px; }
|
|
2412
|
+
|
|
2413
|
+
.bevel-example-page { min-height: 100dvh; background: var(--bevel-ground); }
|
|
2414
|
+
.bevel-example { min-height: 100dvh; padding: 38px; }
|
|
2415
|
+
.bevel-example__header { max-width: 560px; margin-bottom: 30px; }
|
|
2416
|
+
.bevel-example__header h1 { margin: 0; font: 400 38px/1.1 var(--bevel-font-serif); letter-spacing: -.025em; }
|
|
2417
|
+
.bevel-example__header p { color: var(--bevel-muted); }
|
|
2418
|
+
.bevel-example__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
|
|
2419
|
+
.bevel-drawer-context { min-block-size: 100dvh; padding: 35px 26px; background: var(--bevel-sunk); }
|
|
2420
|
+
.bevel-drawer-context__title { margin: 0; font: 400 30px/1.1 var(--bevel-font-serif); }
|
|
2421
|
+
.bevel-drawer-context__note { margin: 10px 0 18px; color: var(--bevel-muted); font-size: 12px; }
|
|
2422
|
+
.bevel-drawer-context__list { max-inline-size: 420px; border-block: 1px solid var(--bevel-line); }
|
|
2423
|
+
.bevel-drawer-context__row { display: grid; grid-template-columns: 76px 1fr; gap: 0; padding: 13px 10px; border-bottom: 1px solid var(--bevel-line); font-size: 13px; }
|
|
2424
|
+
.bevel-drawer-context__row[data-current] { border-left: 2px solid var(--bevel-brass); background: var(--bevel-surface); }
|
|
2425
|
+
.bevel-modal,
|
|
2426
|
+
.bevel-drawer { color: var(--bevel-ink); background: var(--bevel-surface); border-radius: 0; padding: 0; overflow: visible; }
|
|
2427
|
+
.bevel-modal { inline-size: 600px; max-inline-size: min(600px, calc(100vw - 36px)); max-block-size: calc(100dvh - 36px); border: 1px solid var(--bevel-line-2); box-shadow: 6px 6px 0 color-mix(in srgb, var(--bevel-ink) 10%, transparent); }
|
|
2428
|
+
.bevel-modal__inner { display: flex; flex-direction: column; max-block-size: calc(100dvh - 40px); }
|
|
2429
|
+
.bevel-modal__heading,
|
|
2430
|
+
.bevel-drawer__heading { margin: 0; font: 400 24px/1.15 var(--bevel-font-serif); letter-spacing: normal; }
|
|
2431
|
+
.bevel-modal__description { margin: 4px 0 0; color: var(--bevel-muted); font-size: 13px; line-height: 1.5; }
|
|
2432
|
+
.bevel-modal:has(.bevel-overlay__close) .bevel-modal__heading:first-child { padding-inline-end: 0; }
|
|
2433
|
+
.bevel-modal__body { min-block-size: 0; overflow: auto; padding: 20px 22px; }
|
|
2434
|
+
.bevel-modal .bevel-validation-form__fields { margin-block-start: 0; }
|
|
2435
|
+
.bevel-modal > .bevel-form { gap: 0; }
|
|
2436
|
+
.bevel-modal__footer { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin: 0; padding: 14px 22px; border-top: 1px solid var(--bevel-line-2); }
|
|
2437
|
+
.bevel-modal__header + .bevel-modal__footer { border-top: 0; }
|
|
2438
|
+
.bevel-modal__scroll { max-block-size: 250px; overflow: auto; padding-right: 14px; }
|
|
2439
|
+
.bevel-modal__scroll h3 { margin: 12px 0 0; font: 400 23px/1.1 var(--bevel-font-serif); }
|
|
2440
|
+
.bevel-modal__scroll p { margin: 12px 0; color: var(--bevel-muted); }
|
|
2441
|
+
.bevel-overlay__close {
|
|
2442
|
+
position: absolute; inset: -1px -1px auto auto; z-index: 2; display: grid; place-items: center;
|
|
2443
|
+
inline-size: 62px; block-size: 62px; padding: 0; border: 0; border-left: 1px solid var(--bevel-line-2);
|
|
2444
|
+
border-bottom: 1px solid var(--bevel-line-2); background: var(--bevel-face); color: var(--bevel-ink);
|
|
2445
|
+
clip-path: none; cursor: pointer;
|
|
2446
|
+
}
|
|
2447
|
+
:is(.bevel-modal__header, .bevel-drawer__header) > .bevel-overlay__close { block-size: calc(100% + 1px); border-bottom: 0; }
|
|
2448
|
+
|
|
2449
|
+
.bevel-overlay__close svg { display: block; inline-size: 16px; block-size: 16px; }
|
|
2450
|
+
.bevel-overlay__close:hover { background: color-mix(in srgb, var(--bevel-face), var(--bevel-edge-hi) 45%); }
|
|
2451
|
+
.bevel-overlay__close:focus-visible { outline: 2px solid var(--bevel-brass); outline-offset: -4px; }
|
|
2452
|
+
|
|
2453
|
+
.bevel-overlay__eyebrow { margin-bottom: 12px; color: var(--bevel-muted); font: 500 10px var(--bevel-font-mono); letter-spacing: .13em; text-transform: uppercase; }
|
|
2454
|
+
.bevel-modal :where(.bevel-button:not(.bevel-button--small)),
|
|
2455
|
+
.bevel-drawer :where(.bevel-button:not(.bevel-button--small)) { block-size: 32px; padding: 0 12px; font-size: 13.5px; }
|
|
2456
|
+
.bevel-overlay__stack { display: grid; gap: 16px; }
|
|
2457
|
+
.bevel-overlay__field { display: grid; gap: 7px; font-size: 13px; font-weight: 500; }
|
|
2458
|
+
.bevel-overlay__well { display: flex; align-items: center; gap: 12px; padding: 18px; background: var(--bevel-sunk); }
|
|
2459
|
+
.bevel-overlay__mono { font-family: var(--bevel-font-mono); }
|
|
2460
|
+
.bevel-overlay__badge { display: inline-flex; padding: 3px 7px; font-size: 11px; }
|
|
2461
|
+
.bevel-overlay__badge--bad { color: var(--bevel-ox); background: var(--bevel-ox-soft); border: 1px solid var(--bevel-ox); }
|
|
2462
|
+
.bevel-overlay__bad { color: var(--bevel-ox); }
|
|
2463
|
+
.bevel-drawer { margin: 0 0 0 auto; inline-size: min(430px, 100vw); block-size: 100dvh; max-block-size: 100dvh; border: 0; border-left: 1px solid var(--bevel-line-2); box-shadow: -6px 0 0 color-mix(in srgb, var(--bevel-ink) 10%, transparent); }
|
|
2464
|
+
.bevel-drawer__inner { display: flex; flex-direction: column; block-size: 100%; }
|
|
2465
|
+
.bevel-drawer__header { position: relative; padding: 20px 68px 16px 22px; border-bottom: 1px solid var(--bevel-line-2); }
|
|
2466
|
+
|
|
2467
|
+
.bevel-drawer:has(.bevel-overlay__close) .bevel-drawer__heading:first-child { padding-inline-end: 0; }
|
|
2468
|
+
.bevel-drawer__amount { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 14px; }
|
|
2469
|
+
.bevel-drawer__amount .bevel-overlay__mono { font-size: 26px; letter-spacing: -.03em; }
|
|
2470
|
+
.bevel-drawer__body { flex: 1; min-block-size: 0; overflow: auto; padding: 20px 22px; }
|
|
2471
|
+
.bevel-drawer__details { display: grid; grid-template-columns: 96px 1fr; gap: 12px 16px; margin: 0; font-size: 13.5px; }
|
|
2472
|
+
.bevel-drawer__details dt { color: var(--bevel-muted); font: 500 10px/1.8 var(--bevel-font-mono); letter-spacing: .12em; text-transform: uppercase; }
|
|
2473
|
+
.bevel-drawer__details dd { margin: 0; }
|
|
2474
|
+
.bevel-drawer__section { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--bevel-line); }
|
|
2475
|
+
.bevel-drawer__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--bevel-line); font-size: 13.5px; }
|
|
2476
|
+
.bevel-drawer__row:last-child { border-bottom: 0; }
|
|
2477
|
+
.bevel-drawer__row small,
|
|
2478
|
+
.bevel-drawer__footer small { color: var(--bevel-muted); }
|
|
2479
|
+
.bevel-drawer__footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 22px; border-top: 1px solid var(--bevel-line-2); }
|
|
2480
|
+
|
|
2481
|
+
@media (max-width: 520px) {
|
|
2482
|
+
.bevel-example { padding: 26px 20px; }
|
|
2483
|
+
.bevel-drawer { inline-size: 100vw; }
|
|
2484
|
+
}
|
|
2485
|
+
|
|
2486
|
+
.bevel-anchor-example { min-height: 100dvh; padding: 34px 38px; }
|
|
2487
|
+
.bevel-anchor-example__header { margin-bottom: 26px; padding-bottom: 20px; border-bottom: 1px solid var(--bevel-line); }
|
|
2488
|
+
.bevel-anchor-example__header h1 { margin: 0; font: 400 38px/1.1 var(--bevel-font-serif); letter-spacing: -.025em; }
|
|
2489
|
+
.bevel-anchor-example__header p { margin: 10px 0 0; color: var(--bevel-muted); }
|
|
2490
|
+
.bevel-anchor-example__header > .bevel-overlay__eyebrow { color:var(--bevel-brass); }
|
|
2491
|
+
.bevel-anchor-example__header p { font-size:13.5px; }
|
|
2492
|
+
.bevel-anchor-stage { position: relative; min-height: 360px; padding: 24px; background: var(--bevel-sunk); }
|
|
2493
|
+
.bevel-anchor-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
|
|
2494
|
+
.bevel-icon-button { display: inline-grid; place-items: center; width: 32px; height: 32px; padding: 0; color: var(--bevel-ink); background: var(--bevel-face); border: 2px solid; border-color: var(--bevel-edge-hi) var(--bevel-edge-lo) var(--bevel-edge-lo) var(--bevel-edge-hi); }
|
|
2495
|
+
.bevel-icon-button--flat { width: 28px; height: 28px; color: var(--bevel-muted); background: none; border: 0; cursor: pointer; }
|
|
2496
|
+
.bevel-icon-button--flat:hover { background: var(--bevel-sunk); color: var(--bevel-ink); }
|
|
2497
|
+
.bevel-icon-button--flat:disabled, .bevel-icon-button--flat[aria-disabled="true"] { opacity: .5; cursor: not-allowed; background: none; color: var(--bevel-muted); }
|
|
2498
|
+
.bevel-app-shell:has(> .bevel-app-shell__bar) { flex-direction: column; }
|
|
2499
|
+
.bevel-app-shell__bar { display: flex; flex-shrink: 0; align-items: center; gap: 14px; min-block-size: 54px; padding: 0 18px 0 20px; border-bottom: 1px solid var(--bevel-line-2); background: var(--bevel-ground); color: var(--bevel-ink); }
|
|
2500
|
+
.bevel-app-shell__brand { display: inline-flex; flex-shrink: 0; align-items: center; gap: 9px; color: var(--bevel-ink); text-decoration: none; }
|
|
2501
|
+
.bevel-app-shell__mark { display: inline-grid; flex-shrink: 0; place-items: center; inline-size: 26px; block-size: 26px; color: var(--bevel-brass); }
|
|
2502
|
+
.bevel-app-shell__mark > svg { display: block; inline-size: 100%; block-size: 100%; }
|
|
2503
|
+
.bevel-app-shell__word { font: 500 19px/1 var(--bevel-font-serif); letter-spacing: -.005em; white-space: nowrap; }
|
|
2504
|
+
.bevel-app-shell__rule { flex-shrink: 0; inline-size: 1px; block-size: 22px; margin: 0 2px; background: var(--bevel-line-2); }
|
|
2505
|
+
.bevel-app-shell__switcher { display: inline-flex; align-items: center; gap: 7px; min-inline-size: 0; block-size: 30px; padding: 0 9px 0 8px; border: 0; background: none; color: var(--bevel-ink); font-size: 13.5px; font-weight: 500; line-height: 1.5; cursor: pointer; }
|
|
2506
|
+
.bevel-app-shell__switcher:hover { background: var(--bevel-sunk); }
|
|
2507
|
+
.bevel-app-shell__switcher:focus-visible { outline: 2px solid var(--bevel-brass); outline-offset: 2px; }
|
|
2508
|
+
.bevel-app-shell__switcher:disabled, .bevel-app-shell__switcher[aria-disabled="true"] { background: none; cursor: default; }
|
|
2509
|
+
.bevel-app-shell__switcher-icon, .bevel-app-shell__caret { display: inline-grid; flex-shrink: 0; place-items: center; }
|
|
2510
|
+
.bevel-app-shell__switcher-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
2511
|
+
.bevel-app-shell__caret { color: var(--bevel-muted); }
|
|
2512
|
+
.bevel-app-shell__tabs { flex-shrink: 0; margin-left: 6px; }
|
|
2513
|
+
.bevel-app-shell__spacer { flex: 1; }
|
|
2514
|
+
.bevel-app-shell__nav-toggle { display: none; }
|
|
2515
|
+
.bevel-app-shell__account { flex-shrink: 0; width: 32px; height: 32px; }
|
|
2516
|
+
.bevel-app-shell__body { display: flex; flex: 1; min-block-size: 0; }
|
|
2517
|
+
.bevel-app-shell__side { display: flex; flex: 0 0 256px; flex-direction: column; min-inline-size: 0; border-right: 1px solid var(--bevel-line-2); background: var(--bevel-ground); }
|
|
2518
|
+
.bevel-app-shell__side-head { display: flex; align-items: center; gap: 6px; padding: 10px 8px 10px 12px; border-bottom: 1px solid var(--bevel-line); }
|
|
2519
|
+
.bevel-app-shell__side-toggle { flex-shrink: 0; margin-inline-start: auto; }
|
|
2520
|
+
.bevel-app-shell__main { flex: 1; min-inline-size: 0; background: var(--bevel-surface); }
|
|
2521
|
+
.bevel-app-shell__content { max-inline-size: 1600px; margin-inline: auto; padding: 26px 32px 40px; }
|
|
2522
|
+
@media (min-width: 641px) {
|
|
2523
|
+
.bevel-app-shell__side[data-bevel-collapsed] { flex-basis: 45px; }
|
|
2524
|
+
.bevel-app-shell__side[data-bevel-collapsed] > *, .bevel-app-shell__side[data-bevel-collapsed] .bevel-app-shell__side-head > * { display: none; }
|
|
2525
|
+
.bevel-app-shell__side[data-bevel-collapsed] > .bevel-app-shell__side-head { display: flex; padding-inline: 8px; }
|
|
2526
|
+
.bevel-app-shell__side[data-bevel-collapsed] .bevel-app-shell__side-head > .bevel-app-shell__side-toggle { display: inline-grid; }
|
|
2527
|
+
}
|
|
2528
|
+
@media (max-width: 640px) {
|
|
2529
|
+
.bevel-app-shell__bar { flex-wrap: wrap; align-content: flex-start; gap: 9px 8px; min-block-size: 50px; padding: 9px 8px 0 12px; }
|
|
2530
|
+
.bevel-app-shell__mark { inline-size: 24px; block-size: 24px; }
|
|
2531
|
+
.bevel-app-shell__word { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); }
|
|
2532
|
+
.bevel-app-shell__rule, .bevel-app-shell__switcher-icon, .bevel-app-shell__side-toggle { display: none; }
|
|
2533
|
+
.bevel-app-shell__switcher { padding: 0 6px; }
|
|
2534
|
+
.bevel-app-shell__tabs { flex: 1 0 100%; order: 1; margin: 0 -8px 0 -12px; padding: 8px 12px; border-top: 1px solid var(--bevel-line-2); background: var(--bevel-ground); }
|
|
2535
|
+
.bevel-app-shell__tabs > .bevel-button { flex: 1; }
|
|
2536
|
+
.bevel-app-shell__nav-toggle { display: inline-grid; }
|
|
2537
|
+
.bevel-app-shell__side { display: none; }
|
|
2538
|
+
.bevel-app-shell[data-bevel-nav-open] .bevel-app-shell__side { position: static; display: flex; flex: 1; min-block-size: 0; overflow-y: auto; border-right: 0; }
|
|
2539
|
+
.bevel-app-shell[data-bevel-nav-open] .bevel-app-shell__main { display: none; }
|
|
2540
|
+
.bevel-app-shell__content { padding: 14px 12px 22px; }
|
|
2541
|
+
}
|
|
2542
|
+
.bevel-app-shell-example__tree { max-inline-size: none; padding: 4px 6px; border: 0; background: none; }
|
|
2543
|
+
.bevel-app-shell-example__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; margin-bottom: 18px; }
|
|
2544
|
+
.bevel-app-shell-example__head h2 { margin: 0; font: 400 28px/1.1 var(--bevel-font-serif); letter-spacing: -.005em; }
|
|
2545
|
+
.bevel-app-shell-example__rows { border: 1px solid var(--bevel-line-2); background: var(--bevel-surface); }
|
|
2546
|
+
.bevel-app-shell-example__rows > .bevel-document-row { gap: 12px; padding: 8px 8px 8px 12px; }
|
|
2547
|
+
.bevel-app-shell-example__rows > .bevel-document-row:last-child { border-bottom: 0; }
|
|
2548
|
+
.bevel-file-tree-example__frame { display: flex; block-size: 460px; border: 1px solid var(--bevel-line-2); background: var(--bevel-surface); }
|
|
2549
|
+
.bevel-file-tree-example__side { display: flex; flex: 0 0 256px; flex-direction: column; min-inline-size: 0; border-inline-end: 1px solid var(--bevel-line-2); background: var(--bevel-ground); }
|
|
2550
|
+
.bevel-file-tree-example__head { display: flex; flex: none; align-items: center; gap: 6px; padding: 10px 8px 10px 12px; border-bottom: 1px solid var(--bevel-line); }
|
|
2551
|
+
.bevel-file-tree-example__main { flex: 1; min-inline-size: 0; padding: 22px 26px; color: var(--bevel-ink-2); font-size: 13px; }
|
|
2552
|
+
.bevel-file-tree-example__main h2 { margin: 0 0 10px; font: 400 22px/1.2 var(--bevel-font-serif); color: var(--bevel-ink); }
|
|
2553
|
+
.bevel-file-tree-example__facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; }
|
|
2554
|
+
.bevel-file-tree-example__facts dt { color: var(--bevel-muted); font: 500 11px/1.6 var(--bevel-font-mono); letter-spacing: .08em; text-transform: uppercase; }
|
|
2555
|
+
.bevel-file-tree-example__facts dd { margin: 0; }
|
|
2556
|
+
@media (max-width: 640px) {
|
|
2557
|
+
.bevel-file-tree-example__frame { flex-direction: column; block-size: auto; }
|
|
2558
|
+
.bevel-file-tree-example__side { flex: none; border-inline-end: 0; border-bottom: 1px solid var(--bevel-line-2); }
|
|
2559
|
+
.bevel-file-tree-example__side > .bevel-file-tree { flex: none; block-size: 300px; }
|
|
2560
|
+
}
|
|
2561
|
+
.bevel-menu { inline-size: max-content; min-inline-size: 224px; max-inline-size: min(320px, calc(100vw - 32px)); margin: 0; padding: 6px; border: 1px solid var(--bevel-line-2); border-radius: 0; box-shadow: 6px 6px 0 color-mix(in srgb, var(--bevel-ink) 10%, transparent); font-size: 13.5px; max-block-size: min(var(--bevel-available-height, 100dvh), calc(100dvh - 24px)); overflow-y: auto; overscroll-behavior: contain; }
|
|
2562
|
+
.bevel-menu__title { padding: 6px 10px 8px; margin-bottom: 4px; border-bottom: 1px solid var(--bevel-line); color: var(--bevel-muted); font: 500 10.5px/1.4 var(--bevel-font-mono); letter-spacing: .08em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
2563
|
+
.bevel-menu__title { text-transform: uppercase; }
|
|
2564
|
+
.bevel-menu [role^="menuitem"] { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; font-size: 13.5px; border: 0; background: transparent; color: var(--bevel-ink); text-align: left; }
|
|
2565
|
+
.bevel-menu a[role^="menuitem"] { text-decoration: none; }
|
|
2566
|
+
.bevel-menu [role^="menuitem"] > span:first-child { display: inline-grid; place-items: center; inline-size: auto; color: var(--bevel-muted); }
|
|
2567
|
+
.bevel-menu [role^="menuitem"]:hover,
|
|
2568
|
+
.bevel-menu [role^="menuitem"]:focus { background: var(--bevel-sunk); outline: 0; }
|
|
2569
|
+
.bevel-menu [role^="menuitem"][disabled] { color: var(--bevel-faint); }
|
|
2570
|
+
.bevel-menu [role^="menuitem"][data-tone="danger"] { color: var(--bevel-ox); }
|
|
2571
|
+
.bevel-menu [role^="menuitem"][data-tone="danger"] > span:first-child { color: var(--bevel-ox); }
|
|
2572
|
+
.bevel-menu kbd { margin-left: auto; padding: 2px 5px; border: 1px solid var(--bevel-line-2); color: var(--bevel-muted); font: 10px var(--bevel-font-mono); }
|
|
2573
|
+
.bevel-menu__state { margin-left: auto; color: var(--bevel-muted); font: 10px var(--bevel-font-mono); }
|
|
2574
|
+
.bevel-menu hr, .bevel-menu [role="separator"] { margin: 5px 4px; border: 0; border-top: 1px solid var(--bevel-line); }
|
|
2575
|
+
|
|
2576
|
+
.bevel-document-card { padding: 22px; border: 1px solid var(--bevel-line-2); background: var(--bevel-surface); }
|
|
2577
|
+
.bevel-document-card__identity { display: flex; align-items: center; gap: 13px; }
|
|
2578
|
+
.bevel-document-card__status { display: flex; align-items: center; gap: 10px; margin-top: 18px; color: var(--bevel-muted); }
|
|
2579
|
+
.bevel-document-card__status--good { color: var(--bevel-teal); }
|
|
2580
|
+
.bevel-document-card__status .bevel-button { margin-left: auto; }
|
|
2581
|
+
.bevel-popconfirm { width: min(340px, calc(100vw - 24px)); max-width: 340px; padding: 18px 20px 16px; overflow: visible; }
|
|
2582
|
+
.bevel-popconfirm__arrow { position: absolute; width: 12px; height: 12px; background: var(--bevel-surface); border-top: 1px solid var(--bevel-line-2); border-left: 1px solid var(--bevel-line-2); transform: rotate(45deg); }
|
|
2583
|
+
.bevel-popconfirm[data-bevel-actual-placement^="bottom"] .bevel-popconfirm__arrow { top: -7px; }
|
|
2584
|
+
.bevel-popconfirm[data-bevel-actual-placement^="top"] .bevel-popconfirm__arrow { bottom: -7px; transform: rotate(225deg); }
|
|
2585
|
+
.bevel-popconfirm[data-bevel-actual-placement^="left"] .bevel-popconfirm__arrow { right: -7px; transform: rotate(135deg); }
|
|
2586
|
+
.bevel-popconfirm[data-bevel-actual-placement^="right"] .bevel-popconfirm__arrow { left: -7px; transform: rotate(-45deg); }
|
|
2587
|
+
.bevel-popconfirm__head { display: flex; align-items: center; gap: 9px; }
|
|
2588
|
+
.bevel-popconfirm__head { color: var(--bevel-ox); }
|
|
2589
|
+
.bevel-popconfirm__head h3 { margin: 0; color: var(--bevel-ink); font: 600 15.5px/1.1 var(--bevel-font-sans); }
|
|
2590
|
+
.bevel-popconfirm__description { margin: 8px 0 0; color: var(--bevel-ink-2); font-size: 13.5px; line-height: 1.5; }
|
|
2591
|
+
.bevel-popconfirm__actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }
|
|
2592
|
+
|
|
2593
|
+
.bevel-combobox,
|
|
2594
|
+
.bevel-multiselect { width: min(440px, 100%); margin: 0; }
|
|
2595
|
+
.bevel-picker__label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 500; }
|
|
2596
|
+
.bevel-combobox__control,
|
|
2597
|
+
.bevel-multiselect__control { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--bevel-line-2); background: var(--bevel-ground); }
|
|
2598
|
+
.bevel-combobox__control { min-height: 42px; padding: 0 4px 0 12px; }
|
|
2599
|
+
.bevel-combobox__toggle { width: 30px; height: 30px; border-color: transparent; background: transparent; }
|
|
2600
|
+
.bevel-combobox__control > .bevel-icon-button:not(.bevel-combobox__toggle), .bevel-multiselect__control > .bevel-icon-button { width: 36px; height: 36px; }
|
|
2601
|
+
.bevel-combobox__toggle svg { transition: none; }
|
|
2602
|
+
.bevel-combobox__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
|
|
2603
|
+
.bevel-combobox:has(.bevel-combobox__listbox:popover-open) .bevel-combobox__toggle svg { transform: rotate(180deg); }
|
|
2604
|
+
.bevel-combobox__control:focus-within,
|
|
2605
|
+
.bevel-multiselect__control:focus-within { border-color: var(--bevel-brass); }
|
|
2606
|
+
.bevel-combobox__control:focus-within,
|
|
2607
|
+
.bevel-multiselect:has(.bevel-multiselect__panel:popover-open) > .bevel-multiselect__control { outline: 2px solid var(--bevel-brass); outline-offset: 1px; }
|
|
2608
|
+
.bevel-combobox__control input,
|
|
2609
|
+
.bevel-multiselect__search { min-width: 0; flex: 1; padding: 0; border: 0; outline: 0; background: transparent; }
|
|
2610
|
+
.bevel-combobox__listbox,
|
|
2611
|
+
.bevel-multiselect__panel { width: min(440px, calc(100vw - 16px)); padding: 6px; }
|
|
2612
|
+
.bevel-multiselect__search-row { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 12px; border-bottom: 1px solid var(--bevel-line-2); color: var(--bevel-muted); }
|
|
2613
|
+
.bevel-combobox__option { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 10px; border: 0; background: transparent; color: var(--bevel-ink); text-align: left; }
|
|
2614
|
+
.bevel-combobox__option[hidden],
|
|
2615
|
+
.bevel-multiselect__option[hidden],
|
|
2616
|
+
.bevel-combobox [role="option"][data-bevel-filtered],
|
|
2617
|
+
.bevel-multiselect__option[data-bevel-filtered] { display: none; }
|
|
2618
|
+
.bevel-combobox__option[aria-selected="true"],
|
|
2619
|
+
.bevel-combobox__option:hover { background: var(--bevel-sunk); }
|
|
2620
|
+
.bevel-combobox__option[aria-selected="true"] { box-shadow: inset 2px 0 var(--bevel-brass); outline: 0; }
|
|
2621
|
+
.bevel-combobox .bevel-combobox__option[aria-selected="true"] { outline: 0; }
|
|
2622
|
+
.bevel-combobox__option > svg { margin-left: auto; color: var(--bevel-brass); opacity: 0; }
|
|
2623
|
+
.bevel-combobox__option[aria-selected="true"] > svg { opacity: 1; }
|
|
2624
|
+
.bevel-combobox__option[aria-disabled="true"] { color: var(--bevel-faint); }
|
|
2625
|
+
.bevel-picker__avatar { display: inline-grid; place-items: center; width: 26px; height: 26px; flex: none; border: 1px solid var(--bevel-line-2); background: var(--bevel-brass-soft); color: var(--bevel-brass); font: 9.5px var(--bevel-font-mono); }
|
|
2626
|
+
.bevel-picker__avatar--teal { background: var(--bevel-teal-soft); color: var(--bevel-teal); }
|
|
2627
|
+
.bevel-picker__avatar--ink { background: var(--bevel-ink); color: var(--bevel-ground); }
|
|
2628
|
+
.bevel-picker__person { display: grid; }
|
|
2629
|
+
.bevel-picker__person strong { color: var(--bevel-ink); font-size: 14px; font-weight: 500; }
|
|
2630
|
+
.bevel-picker__person small { color: var(--bevel-muted); }
|
|
2631
|
+
.bevel-picker__person small { font-size: 12px; }
|
|
2632
|
+
.bevel-combobox__empty,
|
|
2633
|
+
.bevel-multiselect__empty { padding: 24px 12px; color: var(--bevel-muted); text-align: center; }
|
|
2634
|
+
.bevel-picker__foot { margin-top: 10px; color: var(--bevel-muted); font: 10px var(--bevel-font-mono); }
|
|
2635
|
+
.bevel-multiselect__tags { display: flex; flex-wrap: wrap; gap: 8px; }
|
|
2636
|
+
.bevel-multiselect__toggle { opacity: 0; }
|
|
2637
|
+
.bevel-multiselect__tag { display: inline-flex; align-items: center; gap: 7px; padding: 3px 8px; border: 1px solid var(--bevel-line-2); background: var(--bevel-sunk); font-size: 12px; }
|
|
2638
|
+
.bevel-multiselect__tag:has(.bevel-label-dot--brass) { background: var(--bevel-brass-soft); }
|
|
2639
|
+
.bevel-multiselect__tag:has(.bevel-label-dot--teal) { background: var(--bevel-teal-soft); }
|
|
2640
|
+
.bevel-multiselect__tag button { padding: 0; border: 0; background: transparent; color: var(--bevel-muted); font-size: 17px; }
|
|
2641
|
+
.bevel-multiselect__option { display: flex; align-items: center; gap: 10px; width: 100%; padding: 7px 10px; font-size: 14px; }
|
|
2642
|
+
.bevel-multiselect .bevel-multiselect__option[hidden] { display: none; }
|
|
2643
|
+
.bevel-multiselect__option:has(input:checked) { background: transparent; }
|
|
2644
|
+
.bevel-multiselect__option:has(input:disabled) { color: var(--bevel-faint); }
|
|
2645
|
+
.bevel-label-dot { width: 8px; height: 8px; flex: none; background: var(--bevel-faint); }
|
|
2646
|
+
.bevel-label-dot--brass { background: var(--bevel-brass); }
|
|
2647
|
+
.bevel-label-dot--teal { background: var(--bevel-teal); }
|
|
2648
|
+
.bevel-label-dot--blue { background: var(--bevel-muted); }
|
|
2649
|
+
.bevel-label-dot--ox { background: var(--bevel-ox); }
|
|
2650
|
+
.bevel-combobox__listbox:has(.bevel-picker__foot--panel),
|
|
2651
|
+
.bevel-multiselect__panel:has(.bevel-picker__foot--panel) { overflow: visible; }
|
|
2652
|
+
.bevel-picker__foot--panel { position: absolute; top: 100%; left: 0; width: 100%; margin: 0; padding: 10px 12px; border: 0; }
|
|
2653
|
+
.bevel-combobox:has(.bevel-combobox__listbox:popover-open) > .bevel-picker__foot,
|
|
2654
|
+
.bevel-multiselect:has(.bevel-multiselect__panel:popover-open) > .bevel-picker__foot { visibility: hidden; }
|
|
2655
|
+
|
|
2656
|
+
@media (max-width: 520px) {
|
|
2657
|
+
.bevel-anchor-example { padding: 26px 20px; }
|
|
2658
|
+
.bevel-anchor-example__header h1 { font-size: 29px; }
|
|
2659
|
+
.bevel-anchor-stage { padding: 20px; }
|
|
2660
|
+
.bevel-popconfirm { width: calc(100vw - 87px); }
|
|
2661
|
+
.bevel-document-card:has(.bevel-popconfirm:popover-open) { min-height: 255px; }
|
|
2662
|
+
}
|
|
2663
|
+
|
|
2664
|
+
/* Kanban board */
|
|
2665
|
+
/* kanban.css — Fable's independent Kanban board. Four open lanes drawn on
|
|
2666
|
+
the ground with a ruled top edge instead of lane containers, dense sans
|
|
2667
|
+
cards, the blocking dependency shown on both ends, an aggregate tape, a
|
|
2668
|
+
filter bar and a task panel that pushes the board into a scrollable strip.
|
|
2669
|
+
Loads after fable.css. Every colour is a Bevel token. */
|
|
2670
|
+
|
|
2671
|
+
/* ------------------------------ frame ------------------------------ */
|
|
2672
|
+
.bevel-avatar{display:inline-grid;place-items:center;width:34px;height:34px;flex-shrink:0;font:500 11px/1 var(--bevel-font-mono);letter-spacing:.02em;border:1px solid var(--bevel-line-2);background:var(--bevel-sunk);color:var(--bevel-ink-2)}
|
|
2673
|
+
.bevel-avatar--small{width:26px;height:26px;font-size:9.5px}
|
|
2674
|
+
.bevel-avatar[data-who="MC"]{background:var(--bevel-brass-soft);color:var(--bevel-brass);border-color:color-mix(in srgb,var(--bevel-brass) 30%,var(--bevel-brass-soft))}
|
|
2675
|
+
.bevel-avatar[data-who="AR"]{background:var(--bevel-teal-soft);color:var(--bevel-teal);border-color:color-mix(in srgb,var(--bevel-teal) 30%,var(--bevel-teal-soft))}
|
|
2676
|
+
.bevel-avatar[data-who="JP"]{background:var(--bevel-ink);color:var(--bevel-ground);border-color:var(--bevel-ink)}
|
|
2677
|
+
|
|
2678
|
+
.bevel-kanban{--bevel-kanban-lane:248px;--bevel-kanban-gap:18px;padding:26px 32px 24px;min-height:580px;font-size:13.5px;line-height:1.45;color:var(--bevel-ink);background:var(--bevel-ground)}
|
|
2679
|
+
.bevel-kanban svg{flex-shrink:0}
|
|
2680
|
+
.bevel-kanban h1,.bevel-kanban h2,.bevel-kanban h3,.bevel-kanban h4,.bevel-kanban p{margin:0}
|
|
2681
|
+
.bevel-kanban .bevel-kanban__people{display:inline-flex}
|
|
2682
|
+
.bevel-kanban .bevel-kanban__people .bevel-avatar{box-shadow:0 0 0 2px var(--bevel-ground)}
|
|
2683
|
+
.bevel-kanban .bevel-kanban__people .bevel-avatar+.bevel-avatar{margin-left:-7px}
|
|
2684
|
+
.bevel-kanban__spacer{flex:1}
|
|
2685
|
+
.bevel-kanban__icon{display:inline-grid;place-items:center;width:26px;height:26px;padding:0;border:1px solid transparent;background:none;color:var(--bevel-muted);cursor:pointer}
|
|
2686
|
+
.bevel-kanban__icon:hover{color:var(--bevel-ink);background:var(--bevel-sunk);border-color:var(--bevel-line)}
|
|
2687
|
+
.bevel-kanban__id{font:500 11px/1 var(--bevel-font-mono);letter-spacing:.04em;color:var(--bevel-muted)}
|
|
2688
|
+
|
|
2689
|
+
/* ---------------------------- masthead ----------------------------- */
|
|
2690
|
+
.bevel-kanban__mast{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding-bottom:18px;border-bottom:2px solid var(--bevel-ink)}
|
|
2691
|
+
.bevel-kanban__kicker{display:flex;align-items:center;gap:8px;font:500 10.5px/1 var(--bevel-font-mono);letter-spacing:.14em;text-transform:uppercase;color:var(--bevel-brass);margin-bottom:12px}
|
|
2692
|
+
.bevel-kanban__kicker i{font-style:normal;color:var(--bevel-faint)}
|
|
2693
|
+
.bevel-kanban__mast h1{font:400 40px/1 var(--bevel-font-serif);letter-spacing:-.024em}
|
|
2694
|
+
.bevel-kanban__mast-title p{margin-top:10px;font-size:14px;color:var(--bevel-ink-2);max-width:54ch}
|
|
2695
|
+
.bevel-kanban__mast-side{display:flex;align-items:center;gap:10px;flex-shrink:0;padding-bottom:2px}
|
|
2696
|
+
.bevel-kanban__team{display:flex;align-items:center;gap:10px;margin-right:8px}
|
|
2697
|
+
.bevel-kanban__team small{font:11px var(--bevel-font-mono);color:var(--bevel-muted);white-space:nowrap}
|
|
2698
|
+
.bevel-kanban .bevel-button{white-space:nowrap}
|
|
2699
|
+
|
|
2700
|
+
/* ------------------------------ views ------------------------------ */
|
|
2701
|
+
.bevel-kanban__views{display:flex;align-items:center;gap:2px;border-bottom:1px solid var(--bevel-line-2)}
|
|
2702
|
+
.bevel-kanban__views a{display:inline-flex;align-items:center;gap:7px;padding:13px 12px 11px;margin-bottom:-1px;font-size:13.5px;color:var(--bevel-ink-2);text-decoration:none;border-bottom:2px solid transparent}
|
|
2703
|
+
.bevel-kanban__views a b{font:500 10.5px/1 var(--bevel-font-mono);padding:3px 5px;background:var(--bevel-sunk);color:var(--bevel-muted)}
|
|
2704
|
+
.bevel-kanban__views a[aria-current="page"]{color:var(--bevel-ink);border-bottom-color:var(--bevel-brass)}
|
|
2705
|
+
.bevel-kanban__views a[aria-current="page"] b{background:var(--bevel-brass-soft);color:var(--bevel-brass)}
|
|
2706
|
+
.bevel-kanban__views a[aria-current="page"] svg{color:var(--bevel-brass)}
|
|
2707
|
+
.bevel-kanban__views-note{display:inline-flex;align-items:center;gap:6px;margin-left:auto;font:11px var(--bevel-font-mono);color:var(--bevel-muted);white-space:nowrap}
|
|
2708
|
+
|
|
2709
|
+
/* ------------------------------ tools ------------------------------ */
|
|
2710
|
+
.bevel-kanban__tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:14px 0 0}
|
|
2711
|
+
.bevel-kanban__search{display:flex;align-items:center;gap:8px;flex:0 1 250px;min-width:180px;height:32px;padding:0 8px 0 10px;background:var(--bevel-surface);border:1px solid var(--bevel-line-2);box-shadow:inset 0 1px 0 var(--bevel-edge-in);color:var(--bevel-muted)}
|
|
2712
|
+
.bevel-kanban__search input{flex:1;min-width:0;border:0;background:none;padding:0;font-size:13.5px;color:var(--bevel-ink)}
|
|
2713
|
+
.bevel-kanban__search input::placeholder{color:var(--bevel-muted)}
|
|
2714
|
+
.bevel-kanban__search kbd{border-color:var(--bevel-line);background:var(--bevel-sunk)}
|
|
2715
|
+
.bevel-kanban__chip{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 10px;font-size:12.5px;font-weight:500;color:var(--bevel-ink-2);background:var(--bevel-face);border:2px solid;border-color:var(--bevel-edge-hi) var(--bevel-edge-lo) var(--bevel-edge-lo) var(--bevel-edge-hi);cursor:pointer;white-space:nowrap}
|
|
2716
|
+
.bevel-kanban__chip:hover{background:color-mix(in srgb,var(--bevel-face),var(--bevel-edge-hi) 45%)}
|
|
2717
|
+
.bevel-kanban__chip[aria-pressed="true"]{color:var(--bevel-ink);background:var(--bevel-face-in);border-color:var(--bevel-edge-in) var(--bevel-edge-in-hi) var(--bevel-edge-in-hi) var(--bevel-edge-in)}
|
|
2718
|
+
.bevel-kanban__chip[aria-pressed="true"] svg:first-child{color:var(--bevel-brass)}
|
|
2719
|
+
.bevel-kanban__chip[aria-pressed="true"] svg:last-child{color:var(--bevel-muted);margin-left:2px}
|
|
2720
|
+
.bevel-kanban__chip-quiet{background:none;border-color:transparent;color:var(--bevel-muted);font-weight:400}
|
|
2721
|
+
.bevel-kanban__chip-quiet:hover{background:var(--bevel-sunk);border-color:transparent;color:var(--bevel-ink)}
|
|
2722
|
+
|
|
2723
|
+
/* ------------------------------- tape ------------------------------ */
|
|
2724
|
+
.bevel-kanban__tape{display:flex;align-items:stretch;margin:14px 0 0;padding:0;border-top:1px solid var(--bevel-line);border-bottom:1px solid var(--bevel-line)}
|
|
2725
|
+
.bevel-kanban__tape>div{display:flex;flex-direction:column;gap:5px;padding:10px 18px 11px 0;margin-right:18px;border-right:1px solid var(--bevel-line)}
|
|
2726
|
+
.bevel-kanban__tape>div:last-child{border-right:0;margin-right:0}
|
|
2727
|
+
.bevel-kanban__tape dt{font:500 10px/1 var(--bevel-font-mono);letter-spacing:.14em;text-transform:uppercase;color:var(--bevel-muted)}
|
|
2728
|
+
.bevel-kanban__tape dd{margin:0;font:400 22px/1 var(--bevel-font-serif);letter-spacing:-.01em;color:var(--bevel-ink)}
|
|
2729
|
+
.bevel-kanban__tape dd small{font:11px var(--bevel-font-mono);color:var(--bevel-muted);margin-left:5px}
|
|
2730
|
+
.bevel-kanban__tape dd[data-tone="ox"]{color:var(--bevel-ox)}
|
|
2731
|
+
.bevel-kanban__tape-meter{flex:1;min-width:160px}
|
|
2732
|
+
.bevel-kanban__tape-meter dd{display:flex;align-items:center;gap:12px;font:500 12px/1 var(--bevel-font-mono);color:var(--bevel-ink-2);padding-top:6px}
|
|
2733
|
+
.bevel-kanban__tape-meter .bevel-kanban__check-bar{flex:1;height:8px}
|
|
2734
|
+
|
|
2735
|
+
/* ---------------------------- empty note --------------------------- */
|
|
2736
|
+
.bevel-kanban__empty-note{margin-top:16px;padding:12px 14px;font-size:13.5px;color:var(--bevel-ink-2);background:var(--bevel-sunk);border-left:3px solid var(--bevel-brass)}
|
|
2737
|
+
.bevel-kanban__empty-note strong{font-weight:500;color:var(--bevel-ink)}
|
|
2738
|
+
|
|
2739
|
+
/* ------------------------------- work ------------------------------ */
|
|
2740
|
+
.bevel-kanban__work{display:flex;align-items:flex-start;gap:0;margin-top:22px}
|
|
2741
|
+
.bevel-kanban__board{display:grid;grid-template-columns:repeat(4,minmax(var(--bevel-kanban-lane),1fr));gap:0 var(--bevel-kanban-gap);flex:1;min-width:0;align-items:start}
|
|
2742
|
+
.bevel-kanban__board:focus-visible{outline:2px solid var(--bevel-brass);outline-offset:6px}
|
|
2743
|
+
|
|
2744
|
+
/* lanes: no containers, a ruled head on the ground */
|
|
2745
|
+
.bevel-kanban__column{min-width:0}
|
|
2746
|
+
.bevel-kanban__board>.bevel-kanban__column{background:none;border:0}
|
|
2747
|
+
.bevel-kanban__column-head{display:flex;align-items:center;gap:8px;padding:0 0 10px;border-bottom:1px solid var(--bevel-ink);margin-bottom:12px}
|
|
2748
|
+
.bevel-kanban__column-head h2{font:500 13.5px/1 var(--bevel-font-sans);letter-spacing:.01em;color:var(--bevel-ink)}
|
|
2749
|
+
.bevel-kanban__column-mark{width:8px;height:8px;background:var(--bevel-faint)}
|
|
2750
|
+
.bevel-kanban__column-mark[data-bevel-column-key="next"]{background:var(--bevel-brass)}
|
|
2751
|
+
.bevel-kanban__column-mark[data-bevel-column-key="progress"]{background:var(--bevel-teal)}
|
|
2752
|
+
.bevel-kanban__column-mark[data-bevel-column-key="done"]{background:var(--bevel-ink)}
|
|
2753
|
+
.bevel-kanban__count{font:500 11px/1 var(--bevel-font-mono);padding:4px 6px;background:var(--bevel-sunk);color:var(--bevel-ink-2);border:1px solid var(--bevel-line)}
|
|
2754
|
+
.bevel-kanban__wip{font:500 10px/1 var(--bevel-font-mono);letter-spacing:.06em;text-transform:uppercase;color:var(--bevel-muted);white-space:nowrap}
|
|
2755
|
+
.bevel-kanban__wip[data-full="true"]{color:var(--bevel-ox)}
|
|
2756
|
+
.bevel-kanban__column-head .bevel-kanban__icon{margin-left:auto;width:24px;height:24px}
|
|
2757
|
+
.bevel-kanban__board .bevel-kanban__list{display:flex;flex-direction:column;gap:10px;padding:0;min-block-size:0}
|
|
2758
|
+
.bevel-kanban__add{display:flex;align-items:center;gap:6px;width:100%;padding:8px 10px;border:1px dashed var(--bevel-line-2);background:none;color:var(--bevel-muted);font-size:12.5px;cursor:pointer;text-align:left}
|
|
2759
|
+
.bevel-kanban__add:hover{color:var(--bevel-ink);border-color:var(--bevel-muted);background:var(--bevel-sunk)}
|
|
2760
|
+
|
|
2761
|
+
/* cards */
|
|
2762
|
+
.bevel-kanban__card{position:relative;display:flex;flex-direction:column;gap:8px;padding:12px 13px 11px;background:var(--bevel-surface);border:1px solid var(--bevel-line-2);border-bottom-color:color-mix(in srgb,var(--bevel-line-2) 60%,var(--bevel-ink));box-shadow:var(--bevel-shadow)}
|
|
2763
|
+
.bevel-kanban__card-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
|
|
2764
|
+
.bevel-kanban__card h3{font:500 14px/1.3 var(--bevel-font-sans);letter-spacing:-.005em;color:var(--bevel-ink)}
|
|
2765
|
+
.bevel-kanban__desc{font-size:12.5px;line-height:1.45;color:var(--bevel-ink-2);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
|
|
2766
|
+
.bevel-kanban__labels{display:flex;flex-wrap:wrap;gap:5px}
|
|
2767
|
+
.bevel-kanban__label{display:inline-flex;align-items:center;gap:5px;padding:2px 7px 2px 6px;font:500 10.5px/1.4 var(--bevel-font-mono);letter-spacing:.03em;color:var(--bevel-ink-2);background:var(--tone-soft,var(--bevel-sunk));border:1px solid color-mix(in srgb,var(--tone,var(--bevel-muted)) 26%,var(--tone-soft,var(--bevel-sunk)))}
|
|
2768
|
+
.bevel-kanban__label::before{content:"";width:6px;height:6px;background:var(--tone,var(--bevel-muted))}
|
|
2769
|
+
.bevel-kanban__label[data-bevel-label="design"]{--tone:var(--bevel-brass);--tone-soft:var(--bevel-brass-soft)}
|
|
2770
|
+
.bevel-kanban__label[data-bevel-label="editorial"]{--tone:var(--bevel-teal);--tone-soft:var(--bevel-teal-soft)}
|
|
2771
|
+
.bevel-kanban__label[data-bevel-label="engineering"]{--tone:var(--bevel-ink-2);--tone-soft:var(--bevel-sunk)}
|
|
2772
|
+
.bevel-kanban__label[data-bevel-label="launch"]{--tone:var(--bevel-ox);--tone-soft:var(--bevel-ox-soft)}
|
|
2773
|
+
.bevel-kanban__label[data-bevel-label="studio"]{--tone:var(--bevel-ink);--tone-soft:var(--bevel-sunk)}
|
|
2774
|
+
.bevel-kanban__priority{display:inline-flex;align-items:center;gap:4px;font:500 10.5px/1 var(--bevel-font-mono);letter-spacing:.06em;text-transform:uppercase;color:var(--bevel-muted)}
|
|
2775
|
+
.bevel-kanban__priority[data-bevel-priority="high"]{color:var(--bevel-brass)}
|
|
2776
|
+
.bevel-kanban__priority[data-bevel-priority="urgent"]{color:var(--bevel-ox-ink);background:var(--bevel-ox);padding:3px 6px 3px 5px}
|
|
2777
|
+
.bevel-kanban__priority[data-bevel-priority="urgent"] svg{color:var(--bevel-ox-ink)}
|
|
2778
|
+
.bevel-kanban__priority[data-bevel-priority="normal"] svg{display:none}
|
|
2779
|
+
.bevel-kanban__cover{margin:-12px -13px 2px;border-bottom:1px solid var(--bevel-line-2);position:relative}
|
|
2780
|
+
.bevel-kanban__cover img{display:block;width:100%;height:84px;object-fit:cover}
|
|
2781
|
+
.bevel-kanban__cover figcaption{position:absolute;left:8px;bottom:8px;padding:2px 6px;font:500 10px/1.4 var(--bevel-font-mono);letter-spacing:.06em;text-transform:uppercase;background:var(--bevel-ink);color:var(--bevel-ground)}
|
|
2782
|
+
.bevel-kanban__dep{display:flex;align-items:center;gap:7px;padding:6px 8px;font-size:11.5px;line-height:1.3;color:var(--bevel-ink-2);background:var(--bevel-sunk);border-left:2px solid var(--bevel-muted)}
|
|
2783
|
+
.bevel-kanban__dep b{font-weight:500;font-family:var(--bevel-font-mono);font-size:11px;color:var(--bevel-ink)}
|
|
2784
|
+
.bevel-kanban__dep span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
|
2785
|
+
.bevel-kanban__dep.bevel-kanban--blocked{color:var(--bevel-ox);background:var(--bevel-ox-soft);border-left-color:var(--bevel-ox)}
|
|
2786
|
+
.bevel-kanban__dep.bevel-kanban--blocked b{color:var(--bevel-ox)}
|
|
2787
|
+
.bevel-kanban__check{display:flex;align-items:center;gap:8px}
|
|
2788
|
+
.bevel-kanban__check-bar{display:block;flex:1;height:5px;background:var(--bevel-sunk);border:1px solid var(--bevel-line);font-style:normal}
|
|
2789
|
+
.bevel-kanban__check-bar b{display:block;height:100%;background:var(--bevel-teal)}
|
|
2790
|
+
.bevel-kanban__check-count{font:500 11px/1 var(--bevel-font-mono);color:var(--bevel-muted)}
|
|
2791
|
+
.bevel-kanban__card-foot{display:flex;align-items:center;gap:10px;margin-top:2px;padding-top:9px;border-top:1px solid var(--bevel-line)}
|
|
2792
|
+
.bevel-kanban__due{display:inline-flex;align-items:center;gap:5px;font:500 11px/1 var(--bevel-font-mono);color:var(--bevel-muted);white-space:nowrap}
|
|
2793
|
+
.bevel-kanban__due[data-bevel-due="today"]{color:var(--bevel-brass)}
|
|
2794
|
+
.bevel-kanban__due[data-bevel-due="overdue"]{color:var(--bevel-ox)}
|
|
2795
|
+
.bevel-kanban__due[data-bevel-due="done"]{color:var(--bevel-teal)}
|
|
2796
|
+
.bevel-kanban__meta{display:inline-flex;gap:9px;margin-left:auto}
|
|
2797
|
+
.bevel-kanban__meta span{display:inline-flex;align-items:center;gap:4px;font:11px/1 var(--bevel-font-mono);color:var(--bevel-muted)}
|
|
2798
|
+
.bevel-kanban__card-foot .bevel-kanban__people .bevel-avatar{width:22px;height:22px;font-size:8.5px}
|
|
2799
|
+
.bevel-kanban__card-foot .bevel-kanban__people .bevel-avatar+.bevel-avatar{margin-left:-6px}
|
|
2800
|
+
|
|
2801
|
+
/* card states */
|
|
2802
|
+
.bevel-kanban__card.bevel-kanban--blocked{border-left:3px solid var(--bevel-ox);padding-left:11px}
|
|
2803
|
+
.bevel-kanban__card.bevel-kanban--blocked .bevel-kanban__cover{margin-left:-11px}
|
|
2804
|
+
.bevel-kanban__card.bevel-kanban--done{background:var(--bevel-ground);box-shadow:none;border-color:var(--bevel-line)}
|
|
2805
|
+
.bevel-kanban__card.bevel-kanban--done h3{color:var(--bevel-ink-2);text-decoration:line-through;text-decoration-color:var(--bevel-faint);text-decoration-thickness:1px}
|
|
2806
|
+
.bevel-kanban__card.bevel-kanban--done .bevel-kanban__check-bar b{background:var(--bevel-muted)}
|
|
2807
|
+
.bevel-kanban__card.bevel-kanban--selected{border-color:var(--bevel-brass);border-top:3px solid var(--bevel-brass);padding-top:10px;box-shadow:0 0 0 1px var(--bevel-brass),var(--bevel-shadow)}
|
|
2808
|
+
.bevel-kanban__card.bevel-kanban--selected.bevel-kanban--blocked{border-left-color:var(--bevel-ox)}
|
|
2809
|
+
|
|
2810
|
+
/* empty lane */
|
|
2811
|
+
.bevel-kanban__column-empty{padding:18px 14px 20px;border:1px dashed var(--bevel-line-2);color:var(--bevel-muted);text-align:left}
|
|
2812
|
+
.bevel-kanban__column-empty strong{display:block;font:500 13.5px/1.3 var(--bevel-font-sans);color:var(--bevel-ink-2)}
|
|
2813
|
+
.bevel-kanban__column-empty p{margin-top:5px;font-size:12.5px;line-height:1.45}
|
|
2814
|
+
.bevel-kanban__empty-actions{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin-top:14px}
|
|
2815
|
+
.bevel-kanban[data-state="empty"] .bevel-kanban__column[data-bevel-column-key="backlog"] .bevel-kanban__column-empty{border-style:solid;border-color:var(--bevel-brass);background:var(--bevel-surface);color:var(--bevel-ink-2)}
|
|
2816
|
+
.bevel-kanban[data-state="empty"] .bevel-kanban__column[data-bevel-column-key="backlog"] .bevel-kanban__column-empty strong{color:var(--bevel-ink)}
|
|
2817
|
+
|
|
2818
|
+
/* --------------------------- board + panel ------------------------- */
|
|
2819
|
+
.bevel-kanban__board-wrap{flex:1;min-width:0}
|
|
2820
|
+
.bevel-kanban__work.bevel-kanban--has-panel{--bevel-kanban-lane:204px;--bevel-kanban-gap:14px}
|
|
2821
|
+
.bevel-kanban__work.bevel-kanban--has-panel .bevel-kanban__board{display:flex;gap:var(--bevel-kanban-gap);overflow-x:auto;overscroll-behavior-x:contain;padding:0 2px 10px 2px;margin:0 -2px;scroll-snap-type:x proximity;scrollbar-width:none}
|
|
2822
|
+
.bevel-kanban__work.bevel-kanban--has-panel .bevel-kanban__board::-webkit-scrollbar{display:none}
|
|
2823
|
+
.bevel-kanban__scroll-rail{height:7px;background:var(--bevel-sunk);border:1px solid var(--bevel-line)}
|
|
2824
|
+
.bevel-kanban__scroll-rail b{display:block;height:100%;background:var(--bevel-muted)}
|
|
2825
|
+
.bevel-kanban__work.bevel-kanban--has-panel .bevel-kanban__column{flex:0 0 var(--bevel-kanban-lane);scroll-snap-align:start}
|
|
2826
|
+
.bevel-kanban__work.bevel-kanban--has-panel .bevel-kanban__column-head h2{white-space:nowrap}
|
|
2827
|
+
.bevel-kanban__work.bevel-kanban--has-panel .bevel-kanban__wip{display:none}
|
|
2828
|
+
.bevel-kanban__board-wrap>.bevel-kanban__scroll-hint{margin-top:7px;font:11px/1.6 var(--bevel-font-mono);color:var(--bevel-muted)}
|
|
2829
|
+
.bevel-kanban__scroll-hint svg{vertical-align:-2px;margin-right:6px}
|
|
2830
|
+
.bevel-kanban__scroll-hint b{font-weight:500;color:var(--bevel-ink-2)}
|
|
2831
|
+
.bevel-kanban__panel{flex:0 0 352px;margin-left:20px;padding:0 0 0 20px;border-left:2px solid var(--bevel-ink);font-size:13px}
|
|
2832
|
+
.bevel-kanban__panel-head{display:flex;align-items:center;gap:10px;margin-bottom:12px}
|
|
2833
|
+
.bevel-kanban__status{display:inline-flex;align-items:center;gap:5px;padding:4px 7px 4px 8px;font:500 11px/1 var(--bevel-font-mono);color:var(--bevel-teal);background:var(--bevel-teal-soft);border:1px solid color-mix(in srgb,var(--bevel-teal) 30%,var(--bevel-teal-soft));white-space:nowrap}
|
|
2834
|
+
.bevel-kanban__status svg{color:var(--bevel-teal)}
|
|
2835
|
+
.bevel-kanban__panel h2{font:400 25px/1.12 var(--bevel-font-serif);letter-spacing:-.015em;color:var(--bevel-ink)}
|
|
2836
|
+
.bevel-kanban__panel-lede{margin-top:8px;font-size:13.5px;line-height:1.5;color:var(--bevel-ink-2)}
|
|
2837
|
+
.bevel-kanban__props{display:grid;grid-template-columns:82px 1fr;gap:0;margin:16px 0 0;border-top:1px solid var(--bevel-line)}
|
|
2838
|
+
.bevel-kanban__props dt{padding:8px 0;font:500 10px/1.6 var(--bevel-font-mono);letter-spacing:.12em;text-transform:uppercase;color:var(--bevel-muted);border-bottom:1px solid var(--bevel-line)}
|
|
2839
|
+
.bevel-kanban__props dd{display:flex;align-items:center;gap:8px;margin:0;padding:6px 0;min-height:32px;border-bottom:1px solid var(--bevel-line);color:var(--bevel-ink);font-size:13px}
|
|
2840
|
+
.bevel-kanban__props dd.bevel-kanban__labels{gap:5px}
|
|
2841
|
+
.bevel-kanban__props .bevel-kanban__due{font-size:12px;color:var(--bevel-brass)}
|
|
2842
|
+
.bevel-kanban__props .bevel-kanban__mono{color:var(--bevel-ink-2)}
|
|
2843
|
+
.bevel-kanban__panel-section{margin-top:18px}
|
|
2844
|
+
.bevel-kanban__panel-section h4{display:flex;align-items:center;gap:8px;margin-bottom:9px;font:500 12.5px/1 var(--bevel-font-sans);color:var(--bevel-ink)}
|
|
2845
|
+
.bevel-kanban__panel-section h4 .bevel-kanban__check-count{padding:3px 5px;background:var(--bevel-sunk);border:1px solid var(--bevel-line);color:var(--bevel-ink-2)}
|
|
2846
|
+
.bevel-kanban__panel-section>.bevel-kanban__check-bar{height:6px;margin-bottom:10px}
|
|
2847
|
+
.bevel-kanban__check-item{display:flex;padding:5px 0;font-size:13px}
|
|
2848
|
+
.bevel-kanban__check-item:has(:checked) .bevel-checkbox__label{color:var(--bevel-muted);text-decoration:line-through;text-decoration-color:var(--bevel-faint)}
|
|
2849
|
+
.bevel-kanban__dep-row{display:flex;align-items:center;gap:10px;padding:9px 10px;background:var(--bevel-ox-soft);border-left:2px solid var(--bevel-ox);color:var(--bevel-ox)}
|
|
2850
|
+
.bevel-kanban__dep-row>div{flex:1;min-width:0;color:var(--bevel-ink);line-height:1.35}
|
|
2851
|
+
.bevel-kanban__dep-row b{font:500 11px/1 var(--bevel-font-mono);color:var(--bevel-ox);margin-right:6px}
|
|
2852
|
+
.bevel-kanban__dep-row small{display:block;margin-top:3px;font:11px var(--bevel-font-mono);color:var(--bevel-muted)}
|
|
2853
|
+
.bevel-kanban__dep-row .bevel-kanban__due{display:inline;font-size:11px}
|
|
2854
|
+
.bevel-kanban__files{display:flex;flex-direction:column;gap:6px}
|
|
2855
|
+
.bevel-kanban__file{display:flex;align-items:center;gap:10px;padding:6px 8px;text-decoration:none;color:var(--bevel-ink);background:var(--bevel-surface);border:1px solid var(--bevel-line)}
|
|
2856
|
+
.bevel-kanban__file:hover{border-color:var(--bevel-line-2);background:var(--bevel-sunk)}
|
|
2857
|
+
.bevel-kanban__file img{width:38px;height:28px;object-fit:cover;border:1px solid var(--bevel-line-2)}
|
|
2858
|
+
.bevel-kanban__file>svg{width:38px;height:28px;padding:5px 0;color:var(--bevel-muted);background:var(--bevel-sunk);border:1px solid var(--bevel-line-2)}
|
|
2859
|
+
.bevel-kanban__file span{display:flex;align-items:baseline;gap:8px;font:12.5px/1.2 var(--bevel-font-mono)}
|
|
2860
|
+
.bevel-kanban__file small{font-size:11px;color:var(--bevel-muted)}
|
|
2861
|
+
.bevel-kanban__comment{display:flex;gap:10px;padding:8px 0}
|
|
2862
|
+
.bevel-kanban__comment>div{flex:1;min-width:0}
|
|
2863
|
+
.bevel-kanban__comment b{display:flex;align-items:baseline;gap:8px;font-weight:500;font-size:13px}
|
|
2864
|
+
.bevel-kanban__comment b small{font:11px var(--bevel-font-mono);color:var(--bevel-muted)}
|
|
2865
|
+
.bevel-kanban__comment p{margin-top:3px;font-size:13px;line-height:1.45;color:var(--bevel-ink-2)}
|
|
2866
|
+
.bevel-kanban__event{position:relative;display:flex;align-items:baseline;flex-wrap:wrap;gap:0 5px;padding:7px 0 7px 36px;font-size:12.5px;color:var(--bevel-ink-2)}
|
|
2867
|
+
.bevel-kanban__event b{font-weight:500;color:var(--bevel-ink)}
|
|
2868
|
+
.bevel-kanban__event small{width:100%;font:11px var(--bevel-font-mono);color:var(--bevel-muted)}
|
|
2869
|
+
.bevel-kanban__event-dot{position:absolute;left:10px;top:12px;width:6px;height:6px;background:var(--bevel-brass)}
|
|
2870
|
+
.bevel-kanban__composer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px;padding:8px 10px;color:var(--bevel-muted);font-size:13px;background:var(--bevel-surface);border:1px solid var(--bevel-line-2);box-shadow:inset 0 1px 0 var(--bevel-edge-in)}
|
|
2871
|
+
.bevel-kanban__panel-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:18px;padding-top:12px;border-top:1px solid var(--bevel-line)}
|
|
2872
|
+
.bevel-kanban__panel-foot .bevel-kanban__mono{color:var(--bevel-muted)}
|
|
2873
|
+
|
|
2874
|
+
/* ------------------------------- foot ------------------------------ */
|
|
2875
|
+
.bevel-kanban__foot{display:flex;justify-content:space-between;gap:12px;margin-top:22px;padding-top:12px;border-top:1px solid var(--bevel-line);font:11px var(--bevel-font-mono);color:var(--bevel-muted)}
|
|
2876
|
+
.bevel-kanban__foot span{display:inline-flex;align-items:center;gap:6px}
|
|
2877
|
+
|
|
2878
|
+
/* ------------------------------ narrow ----------------------------- */
|
|
2879
|
+
@media(max-width:960px){
|
|
2880
|
+
.bevel-kanban__board,.bevel-kanban__work.bevel-kanban--has-panel .bevel-kanban__board{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));row-gap:26px;overflow:visible;margin:0;padding:0}
|
|
2881
|
+
.bevel-kanban__scroll-hint,.bevel-kanban__scroll-rail{display:none}
|
|
2882
|
+
.bevel-kanban__work.bevel-kanban--has-panel{flex-direction:column;--bevel-kanban-lane:248px;--bevel-kanban-gap:18px}
|
|
2883
|
+
.bevel-kanban__board-wrap{width:100%}
|
|
2884
|
+
.bevel-kanban__panel{flex:none;width:auto;margin:20px 0 0;padding:20px 0 0;border-left:0;border-top:2px solid var(--bevel-ink)}
|
|
2885
|
+
}
|
|
2886
|
+
@media(max-width:600px){
|
|
2887
|
+
.bevel-kanban{padding:20px 18px 20px;--bevel-kanban-lane:100%}
|
|
2888
|
+
.bevel-kanban__mast{flex-direction:column;align-items:stretch;gap:16px}
|
|
2889
|
+
.bevel-kanban__mast h1{font-size:32px}
|
|
2890
|
+
.bevel-kanban__mast-side{flex-wrap:wrap;gap:8px}
|
|
2891
|
+
.bevel-kanban__team{flex-basis:100%;margin-right:0}
|
|
2892
|
+
.bevel-kanban__mast-side .bevel-button{flex:1;justify-content:center}
|
|
2893
|
+
.bevel-kanban__scroll-hint,.bevel-kanban__scroll-rail{display:none}
|
|
2894
|
+
.bevel-kanban__views{overflow-x:auto;scrollbar-width:none}
|
|
2895
|
+
.bevel-kanban__views a{padding:11px 9px 9px;white-space:nowrap}
|
|
2896
|
+
.bevel-kanban__views-note{display:none}
|
|
2897
|
+
.bevel-kanban__search{flex-basis:100%}
|
|
2898
|
+
.bevel-kanban__tools{gap:6px}
|
|
2899
|
+
.bevel-kanban__tape{flex-wrap:wrap;border-bottom:0}
|
|
2900
|
+
.bevel-kanban__tape>div{flex:1 1 40%;padding:10px 12px 10px 0;margin-right:12px;border-bottom:1px solid var(--bevel-line)}
|
|
2901
|
+
.bevel-kanban__tape>div:nth-child(2n){border-right:0;margin-right:0}
|
|
2902
|
+
.bevel-kanban__tape-meter{flex-basis:100%;border-right:0;margin-right:0}
|
|
2903
|
+
.bevel-kanban__board{display:flex;flex-direction:column;align-items:stretch;gap:26px}
|
|
2904
|
+
.bevel-kanban__work.bevel-kanban--has-panel .bevel-kanban__board{display:flex;flex-direction:column;align-items:stretch;overflow:visible;padding:0;margin:0}
|
|
2905
|
+
.bevel-kanban__work.bevel-kanban--has-panel .bevel-kanban__column{flex:none}
|
|
2906
|
+
.bevel-kanban__column-head{position:sticky;top:0;background:var(--bevel-ground);z-index:1}
|
|
2907
|
+
.bevel-kanban__foot{flex-direction:column;gap:6px}
|
|
2908
|
+
}
|
|
2909
|
+
|
|
2910
|
+
|
|
2911
|
+
[data-bevel-transient="kanban-inspector-body"]{display:contents}
|
|
2912
|
+
.bevel-kanban__chip select{min-width:0;max-width:145px;border:0;background:transparent;color:inherit;font:inherit;padding:0}
|
|
2913
|
+
.bevel-kanban__chip option{background:var(--bevel-surface);color:var(--bevel-ink)}
|
|
2914
|
+
.bevel-kanban [data-bevel-check-row]{display:flex;align-items:center;gap:8px}
|
|
2915
|
+
.bevel-kanban [data-bevel-check-row] .bevel-kanban__check-item{flex:1;min-width:0}
|
|
2916
|
+
.bevel-kanban [data-bevel-kanban-check-remove]{flex:none;opacity:.55}
|
|
2917
|
+
.bevel-kanban [data-bevel-kanban-check-remove]:is(:hover,:focus-visible){opacity:1}
|
|
2918
|
+
.bevel-kanban [data-bevel-kanban-check-remove] svg{width:12px;height:12px}
|
|
2919
|
+
.bevel-kanban span.bevel-kanban__chip-quiet{cursor:default}
|
|
2920
|
+
.bevel-kanban [data-bevel-kanban-check-add]{margin-left:auto}
|
|
2921
|
+
.bevel-kanban [data-bevel-kanban-check-form]{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
|
|
2922
|
+
.bevel-kanban [data-bevel-kanban-check-form] label{flex:1 0 100%;font-size:13px}
|
|
2923
|
+
.bevel-kanban [data-bevel-kanban-check-form] input{width:100%;margin-top:5px}
|
|
2924
|
+
.bevel-kanban [data-bevel-kanban-editor] label{display:grid;gap:6px;margin-bottom:12px}
|
|
2925
|
+
.bevel-kanban [data-bevel-kanban-editor] :is(input,textarea,select){font:inherit;color:var(--bevel-ink);background:var(--bevel-surface);border:1px solid var(--bevel-line-2);padding:8px;min-width:0}
|
|
2926
|
+
.bevel-kanban [data-bevel-kanban-filter="due-from"],.bevel-kanban [data-bevel-kanban-filter="due-to"]{display:block;margin:6px 0 12px;width:100%}
|
|
2927
|
+
.bevel-kanban .bevel-kanban__composer{width:100%;text-align:left;cursor:pointer}
|
|
2928
|
+
|
|
2929
|
+
.bevel-kanban__card[data-bevel-dragging]{opacity:.58}
|
|
2930
|
+
.bevel-kanban__card[data-bevel-drop-target="before"]{box-shadow:0 -3px 0 var(--bevel-brass)}
|
|
2931
|
+
.bevel-kanban__card[data-bevel-drop-target="after"]{box-shadow:0 3px 0 var(--bevel-brass)}
|
|
2932
|
+
.bevel-kanban__card[hidden],.bevel-kanban__card[data-bevel-archived],.bevel-kanban__checklist-data[hidden],.bevel-kanban__panel[hidden]{display:none}
|
|
2933
|
+
.bevel-kanban [hidden]{display:none}
|
|
2934
|
+
.bevel-kanban__panel-foot{display:grid;grid-template-columns:1fr auto}
|
|
2935
|
+
.bevel-kanban__panel-actions{grid-column:1/-1;grid-row:2;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
|
|
2936
|
+
.bevel-kanban__panel-actions select{max-width:140px;min-height:28px;padding:3px 6px;background:var(--bevel-surface);color:var(--bevel-ink);border:1px solid var(--bevel-line-2);font:12px var(--bevel-font-sans)}
|
|
2937
|
+
.bevel-kanban__editor .bevel-modal__body{display:grid;gap:12px}
|
|
2938
|
+
.bevel-kanban__editor label{display:grid;gap:5px;font-size:12px;color:var(--bevel-muted)}
|
|
2939
|
+
.bevel-kanban[data-bevel-zero-results] .bevel-kanban__board::after{content:"No tasks match these filters.";display:block;padding:24px;border:1px dashed var(--bevel-line-2);color:var(--bevel-muted)}
|
|
2940
|
+
|
|
2941
|
+
/* ============================ CODE EDITOR ============================ */
|
|
2942
|
+
/* The chrome around a mounted editor: a file tab, a tool row, the editor
|
|
2943
|
+
surface, a status strip, and the bar that rides above a phone keyboard.
|
|
2944
|
+
The surface itself is drawn by the editor, so the frame only owns the
|
|
2945
|
+
border, the height and the scroll containment. */
|
|
2946
|
+
.bevel-code-editor { --bevel-syn-comment: var(--bevel-muted); --bevel-syn-plum: var(--bevel-ink-2); display: flex; flex-direction: column; min-block-size: 0; min-inline-size: 0; border: 1px solid var(--bevel-line-2); background: var(--bevel-surface); font-family: var(--bevel-font-sans); }
|
|
2947
|
+
.bevel-code-editor__tab { display: flex; align-items: center; gap: 10px; block-size: 34px; padding: 0 12px 0 0; border-block-end: 1px solid var(--bevel-line-2); background: var(--bevel-ground); }
|
|
2948
|
+
.bevel-code-editor__name { display: inline-flex; align-items: center; gap: 8px; block-size: 34px; padding: 0 14px; font: 500 13px/1 var(--bevel-font-sans); color: var(--bevel-ink); background: var(--bevel-surface); border-inline-end: 1px solid var(--bevel-line-2); box-shadow: inset 0 2px 0 var(--bevel-brass); }
|
|
2949
|
+
.bevel-code-editor__dot { flex: 0 0 auto; inline-size: 6px; block-size: 6px; border-radius: 0; background: var(--bevel-brass); }
|
|
2950
|
+
.bevel-code-editor__host { font: 11px/1.4 var(--bevel-font-mono); color: var(--bevel-muted); }
|
|
2951
|
+
.bevel-code-editor__spacer { flex: 1 1 auto; min-inline-size: 0; }
|
|
2952
|
+
|
|
2953
|
+
.bevel-code-editor__toolbar { display: flex; align-items: center; gap: 2px; block-size: 40px; padding: 0 8px 0 6px; border-block-end: 1px solid var(--bevel-line-2); background: var(--bevel-surface); }
|
|
2954
|
+
.bevel-code-editor__tool { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 6px; min-inline-size: 30px; block-size: 28px; padding: 0 8px; cursor: pointer; user-select: none; color: var(--bevel-ink); background: var(--bevel-face); border: 2px solid; border-color: var(--bevel-edge-hi) var(--bevel-edge-lo) var(--bevel-edge-lo) var(--bevel-edge-hi); border-radius: 0; font: 500 11px/1 var(--bevel-font-mono); letter-spacing: .06em; text-transform: uppercase; }
|
|
2955
|
+
.bevel-code-editor__tool:hover { background: color-mix(in srgb, var(--bevel-face), var(--bevel-edge-hi) 45%); }
|
|
2956
|
+
.bevel-code-editor__tool:active, .bevel-code-editor__tool[aria-pressed="true"] { background: var(--bevel-face-in); border-color: var(--bevel-edge-in) var(--bevel-edge-in-hi) var(--bevel-edge-in-hi) var(--bevel-edge-in); }
|
|
2957
|
+
.bevel-code-editor__toolbar .bevel-code-editor__tool { min-inline-size: 28px; padding: 0; color: var(--bevel-muted); background: transparent; border: 0; }
|
|
2958
|
+
.bevel-code-editor__toolbar .bevel-code-editor__tool:hover { background: var(--bevel-sunk); }
|
|
2959
|
+
.bevel-code-editor__toolbar .bevel-code-editor__tool:is(:active, [aria-pressed="true"]) {
|
|
2960
|
+
background: var(--bevel-face-in);
|
|
2961
|
+
box-shadow: inset 2px 2px 0 var(--bevel-edge-in), inset -2px -2px 0 var(--bevel-edge-in-hi);
|
|
2962
|
+
}
|
|
2963
|
+
@supports (flex-basis: calc-size(max-content, size - 4px)) {
|
|
2964
|
+
.bevel-code-editor__toolbar .bevel-code-editor__tool:is(:active, [aria-pressed="true"]) {
|
|
2965
|
+
flex-basis: calc-size(max-content, size - 4px);
|
|
2966
|
+
border: 2px solid;
|
|
2967
|
+
border-color: var(--bevel-edge-in) var(--bevel-edge-in-hi) var(--bevel-edge-in-hi) var(--bevel-edge-in);
|
|
2968
|
+
box-shadow: none;
|
|
2969
|
+
}
|
|
2970
|
+
}
|
|
2971
|
+
.bevel-code-editor__tool:disabled { opacity: .45; cursor: not-allowed; }
|
|
2972
|
+
.bevel-code-editor__tool > span { display: inline-block; font-size: 14px; line-height: 1; }
|
|
2973
|
+
|
|
2974
|
+
.bevel-code-editor__surface { position: relative; flex: 1 1 auto; min-block-size: 0; min-inline-size: 0; overflow: hidden; background: var(--bevel-surface); }
|
|
2975
|
+
|
|
2976
|
+
.bevel-code-editor__status { display: flex; align-items: center; gap: 8px; block-size: 30px; padding: 0 12px; border-block-start: 1px solid var(--bevel-line-2); background: var(--bevel-ground); color: var(--bevel-faint); font: 11.5px var(--bevel-font-mono); }
|
|
2977
|
+
.bevel-code-editor__meta { min-inline-size: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
|
|
2978
|
+
|
|
2979
|
+
/* The bar rides above the software keyboard. iOS keeps the layout viewport at
|
|
2980
|
+
full height while the keyboard is open, so the bar is lifted by the measured
|
|
2981
|
+
inset instead of trusting the bottom edge, and the frame gives that height
|
|
2982
|
+
back so the caret is never parked behind the keys. */
|
|
2983
|
+
.bevel-code-editor__bar { position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 50; display: none; align-items: center; gap: 6px; padding: 6px 8px; border-block-start: 1px solid var(--bevel-line-2); background: var(--bevel-surface); translate: 0 calc(-1 * var(--bevel-keyboard-inset, 0px)); }
|
|
2984
|
+
.bevel-code-editor__bar-tools { display: flex; flex: 1 1 auto; align-items: center; gap: 6px; min-inline-size: 0; overflow-x: auto; scrollbar-width: none; }
|
|
2985
|
+
|
|
2986
|
+
/* A still of what the editor draws, so the source palette is documented in
|
|
2987
|
+
both themes without loading an editor into the page. */
|
|
2988
|
+
.bevel-code-editor__sample { margin: 0; padding: 10px 0; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--bevel-ink); font: 13.5px/1.65 var(--bevel-font-mono); }
|
|
2989
|
+
.bevel-code-editor__line { position: relative; display: block; padding-inline: 46px 12px; }
|
|
2990
|
+
.bevel-code-editor__line::before { content: attr(data-line) / ""; position: absolute; inset-block: 0; inset-inline-start: 0; inline-size: 30px; padding-inline-end: 8px; border-inline-end: 1px solid var(--bevel-line); color: var(--bevel-faint); text-align: right; text-indent: 0; user-select: none; }
|
|
2991
|
+
.bevel-code-editor__tag { color: var(--bevel-syn-tag); font-weight: 500; }
|
|
2992
|
+
.bevel-code-editor__attr { color: var(--bevel-syn-plum); }
|
|
2993
|
+
.bevel-code-editor__string { color: var(--bevel-syn-string); }
|
|
2994
|
+
.bevel-code-editor__comment { color: var(--bevel-syn-comment); font-style: italic; }
|
|
2995
|
+
.bevel-code-editor__punct { color: var(--bevel-syn-punct); }
|
|
2996
|
+
.bevel-code-editor__number { color: var(--bevel-syn-rust); }
|
|
2997
|
+
.bevel-code-editor__invalid { color: var(--bevel-syn-invalid); text-decoration: underline wavy var(--bevel-syn-invalid); }
|
|
2998
|
+
|
|
2999
|
+
/* The bar is fixed so an application can ride it above the keyboard. On the shared
|
|
3000
|
+
showcase that would pin it to the viewport for every other family's section too,
|
|
3001
|
+
so the example stage becomes its containing block. */
|
|
3002
|
+
.bevel-code-editor-example { contain: layout; }
|
|
3003
|
+
.bevel-code-editor-example .bevel-code-editor { block-size: 420px; }
|
|
3004
|
+
|
|
3005
|
+
@media (max-width: 640px) {
|
|
3006
|
+
.bevel-code-editor__toolbar { display: none; }
|
|
3007
|
+
.bevel-code-editor__host { display: none; }
|
|
3008
|
+
.bevel-code-editor__bar { display: flex; }
|
|
3009
|
+
/* The host sets this attribute and --bevel-keyboard-inset; no Bevel code writes it on the
|
|
3010
|
+
classic side. React's useKeyboardInset does it automatically via data-bevel-react-keyboard,
|
|
3011
|
+
which the CSS projection generates from this line. */
|
|
3012
|
+
.bevel-code-editor[data-bevel-keyboard] { block-size: calc(100% - var(--bevel-keyboard-inset, 0px)); }
|
|
3013
|
+
.bevel-code-editor-example { padding-block-end: 64px; }
|
|
3014
|
+
.bevel-code-editor-example .bevel-code-editor { block-size: 340px; }
|
|
3015
|
+
}
|
|
3016
|
+
|
|
3017
|
+
}
|
|
3018
|
+
|
|
3019
|
+
/* Respect the machine. Unlayered, so it beats every layered rule without !important. */
|
|
3020
|
+
@media (prefers-reduced-motion: reduce) {
|
|
3021
|
+
*, ::before, ::after { transition-duration: .01ms; animation-duration: .01ms; animation-iteration-count: 1; }
|
|
3022
|
+
.bevel-button:active .bevel-button__label { translate: none; }
|
|
3023
|
+
}
|
|
3024
|
+
@media (forced-colors: active) {
|
|
3025
|
+
.bevel-button, .bevel-checkbox__box, .bevel-radio__ring, .bevel-toggle__track, .bevel-slider__nub, .bevel-tags__chip, .bevel-details > summary::before, .bevel-grid__expand, .bevel-grid__more { border: 1px solid ButtonText; }
|
|
3026
|
+
.bevel-radio__ring::after { background: ButtonText; }
|
|
3027
|
+
.bevel-progress { forced-color-adjust: none; background: Canvas; border: 1px solid ButtonText; }
|
|
3028
|
+
.bevel-progress::-webkit-progress-bar { background: Canvas; }
|
|
3029
|
+
.bevel-progress::-webkit-progress-value, .bevel-progress::-moz-progress-bar { background: ButtonText; }
|
|
3030
|
+
}
|
|
3031
|
+
@media print {
|
|
3032
|
+
:root { color-scheme: light; --bevel-shadow: none; }
|
|
3033
|
+
.bevel-page { max-width: none; padding: 0; }
|
|
3034
|
+
.bevel-verdict, .bevel-note, .bevel-card, .bevel-scroll { break-inside: avoid; }
|
|
3035
|
+
}
|
|
3036
|
+
@media (pointer: coarse) {
|
|
3037
|
+
:root:root :is(input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"], [type="color"], [type="hidden"]), select, textarea) {
|
|
3038
|
+
font-size: 16px;
|
|
3039
|
+
}
|
|
3040
|
+
:root:root :is(.bevel-input, .bevel-select__field, .bevel-date__field, .bevel-textarea) {
|
|
3041
|
+
font-size: 16px;
|
|
3042
|
+
}
|
|
3043
|
+
:root:root :is(.bevel-input, .bevel-select__field, .bevel-date__field) {
|
|
3044
|
+
block-size: 40px;
|
|
3045
|
+
min-block-size: 40px;
|
|
3046
|
+
padding-inline: 12px;
|
|
3047
|
+
}
|
|
3048
|
+
:root:root .bevel-input.bevel-input--small {
|
|
3049
|
+
block-size: 36px;
|
|
3050
|
+
min-block-size: 36px;
|
|
3051
|
+
padding-inline: 10px;
|
|
3052
|
+
}
|
|
3053
|
+
:root:root .bevel-textarea {
|
|
3054
|
+
padding: 10px 12px;
|
|
3055
|
+
}
|
|
3056
|
+
:root:root :is(.bevel-igroup, .bevel-number, .bevel-tags, .bevel-combobox__control, .bevel-multiselect__control, .bevel-toolbar__search) {
|
|
3057
|
+
min-block-size: 40px;
|
|
3058
|
+
}
|
|
3059
|
+
:root:root .bevel-button:not(.bevel-icon-button, :is(.bevel-seg, .bevel-diff__controls, .bevel-pagination, .bevel-grid__pages) *) {
|
|
3060
|
+
block-size: 40px;
|
|
3061
|
+
min-block-size: 40px;
|
|
3062
|
+
padding-inline: 14px;
|
|
3063
|
+
font-size: 15px;
|
|
3064
|
+
}
|
|
3065
|
+
:root:root .bevel-button.bevel-button--small:not(.bevel-icon-button, :is(.bevel-seg, .bevel-diff__controls, .bevel-pagination, .bevel-grid__pages) *) {
|
|
3066
|
+
block-size: 34px;
|
|
3067
|
+
min-block-size: 34px;
|
|
3068
|
+
padding-inline: 11px;
|
|
3069
|
+
font-size: 14px;
|
|
3070
|
+
}
|
|
3071
|
+
:root:root .bevel-icon-button:not(.bevel-icon-button--flat) {
|
|
3072
|
+
inline-size: 40px;
|
|
3073
|
+
block-size: 40px;
|
|
3074
|
+
}
|
|
3075
|
+
}
|