ontrackd 0.0.1 → 0.11.1
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 +14 -0
- package/README.md +133 -2
- package/dist/cli/build.d.ts +1 -0
- package/dist/cli/build.js +172 -0
- package/dist/cli/build.js.map +1 -0
- package/dist/cli/cloud.d.ts +20 -0
- package/dist/cli/cloud.js +395 -0
- package/dist/cli/cloud.js.map +1 -0
- package/dist/cli/feedback.d.ts +4 -0
- package/dist/cli/feedback.js +90 -0
- package/dist/cli/feedback.js.map +1 -0
- package/dist/cli/hugo.d.ts +1 -0
- package/dist/cli/hugo.js +396 -0
- package/dist/cli/hugo.js.map +1 -0
- package/dist/cli/init.d.ts +8 -0
- package/dist/cli/init.js +346 -0
- package/dist/cli/init.js.map +1 -0
- package/dist/cli/invite.d.ts +2 -0
- package/dist/cli/invite.js +65 -0
- package/dist/cli/invite.js.map +1 -0
- package/dist/cli/link.d.ts +20 -0
- package/dist/cli/link.js +287 -0
- package/dist/cli/link.js.map +1 -0
- package/dist/cli/pull.d.ts +31 -0
- package/dist/cli/pull.js +273 -0
- package/dist/cli/pull.js.map +1 -0
- package/dist/cli/push.d.ts +9 -0
- package/dist/cli/push.js +57 -0
- package/dist/cli/push.js.map +1 -0
- package/dist/cli/remote.d.ts +1 -0
- package/dist/cli/remote.js +114 -0
- package/dist/cli/remote.js.map +1 -0
- package/dist/cli/serve.d.ts +1 -0
- package/dist/cli/serve.js +178 -0
- package/dist/cli/serve.js.map +1 -0
- package/dist/cli/sidecar.d.ts +9 -0
- package/dist/cli/sidecar.js +23 -0
- package/dist/cli/sidecar.js.map +1 -0
- package/dist/core/anchorId.d.ts +42 -0
- package/dist/core/anchorId.js +50 -0
- package/dist/core/anchorId.js.map +1 -0
- package/dist/core/apiKind.d.ts +42 -0
- package/dist/core/apiKind.js +83 -0
- package/dist/core/apiKind.js.map +1 -0
- package/dist/core/astroAnchors.d.ts +39 -0
- package/dist/core/astroAnchors.js +217 -0
- package/dist/core/astroAnchors.js.map +1 -0
- package/dist/core/attachmentTypes.d.ts +74 -0
- package/dist/core/attachmentTypes.js +199 -0
- package/dist/core/attachmentTypes.js.map +1 -0
- package/dist/core/elementHints.d.ts +40 -0
- package/dist/core/elementHints.js +116 -0
- package/dist/core/elementHints.js.map +1 -0
- package/dist/core/exportTaskDoc.d.ts +81 -0
- package/dist/core/exportTaskDoc.js +828 -0
- package/dist/core/exportTaskDoc.js.map +1 -0
- package/dist/core/feedbackTypes.d.ts +241 -0
- package/dist/core/feedbackTypes.js +2 -0
- package/dist/core/feedbackTypes.js.map +1 -0
- package/dist/core/fingerprint.d.ts +12 -0
- package/dist/core/fingerprint.js +24 -0
- package/dist/core/fingerprint.js.map +1 -0
- package/dist/core/htmlAnchors.d.ts +18 -0
- package/dist/core/htmlAnchors.js +157 -0
- package/dist/core/htmlAnchors.js.map +1 -0
- package/dist/core/imageSniff.d.ts +7 -0
- package/dist/core/imageSniff.js +12 -0
- package/dist/core/imageSniff.js.map +1 -0
- package/dist/core/ordering.d.ts +16 -0
- package/dist/core/ordering.js +10 -0
- package/dist/core/ordering.js.map +1 -0
- package/dist/core/oxcAst.d.ts +39 -0
- package/dist/core/oxcAst.js +147 -0
- package/dist/core/oxcAst.js.map +1 -0
- package/dist/core/pageUrl.d.ts +10 -0
- package/dist/core/pageUrl.js +27 -0
- package/dist/core/pageUrl.js.map +1 -0
- package/dist/core/participants.d.ts +14 -0
- package/dist/core/participants.js +38 -0
- package/dist/core/participants.js.map +1 -0
- package/dist/core/ports.d.ts +86 -0
- package/dist/core/ports.js +2 -0
- package/dist/core/ports.js.map +1 -0
- package/dist/core/projectSecret.d.ts +9 -0
- package/dist/core/projectSecret.js +57 -0
- package/dist/core/projectSecret.js.map +1 -0
- package/dist/core/recipe.d.ts +117 -0
- package/dist/core/recipe.js +181 -0
- package/dist/core/recipe.js.map +1 -0
- package/dist/core/recordingSummary.d.ts +12 -0
- package/dist/core/recordingSummary.js +150 -0
- package/dist/core/recordingSummary.js.map +1 -0
- package/dist/core/resolveAnchors.d.ts +70 -0
- package/dist/core/resolveAnchors.js +101 -0
- package/dist/core/resolveAnchors.js.map +1 -0
- package/dist/core/scriptImport.d.ts +10 -0
- package/dist/core/scriptImport.js +18 -0
- package/dist/core/scriptImport.js.map +1 -0
- package/dist/core/sourceAnchors.d.ts +62 -0
- package/dist/core/sourceAnchors.js +82 -0
- package/dist/core/sourceAnchors.js.map +1 -0
- package/dist/core/sourceContext.d.ts +62 -0
- package/dist/core/sourceContext.js +182 -0
- package/dist/core/sourceContext.js.map +1 -0
- package/dist/core/sourcePath.d.ts +2 -0
- package/dist/core/sourcePath.js +11 -0
- package/dist/core/sourcePath.js.map +1 -0
- package/dist/core/staleness.d.ts +118 -0
- package/dist/core/staleness.js +155 -0
- package/dist/core/staleness.js.map +1 -0
- package/dist/core/styleOrigin.d.ts +98 -0
- package/dist/core/styleOrigin.js +142 -0
- package/dist/core/styleOrigin.js.map +1 -0
- package/dist/core/svelteAnchors.d.ts +18 -0
- package/dist/core/svelteAnchors.js +125 -0
- package/dist/core/svelteAnchors.js.map +1 -0
- package/dist/core/taskFiles.d.ts +31 -0
- package/dist/core/taskFiles.js +55 -0
- package/dist/core/taskFiles.js.map +1 -0
- package/dist/core/untrusted.d.ts +57 -0
- package/dist/core/untrusted.js +268 -0
- package/dist/core/untrusted.js.map +1 -0
- package/dist/core/vueAnchors.d.ts +21 -0
- package/dist/core/vueAnchors.js +130 -0
- package/dist/core/vueAnchors.js.map +1 -0
- package/dist/expo/app/Avatar.d.ts +6 -0
- package/dist/expo/app/Avatar.js +12 -0
- package/dist/expo/app/Avatar.js.map +1 -0
- package/dist/expo/app/Bars.d.ts +9 -0
- package/dist/expo/app/Bars.js +38 -0
- package/dist/expo/app/Bars.js.map +1 -0
- package/dist/expo/app/CommentThreadSheet.d.ts +35 -0
- package/dist/expo/app/CommentThreadSheet.js +200 -0
- package/dist/expo/app/CommentThreadSheet.js.map +1 -0
- package/dist/expo/app/CommentsSheet.d.ts +22 -0
- package/dist/expo/app/CommentsSheet.js +76 -0
- package/dist/expo/app/CommentsSheet.js.map +1 -0
- package/dist/expo/app/Files.d.ts +16 -0
- package/dist/expo/app/Files.js +62 -0
- package/dist/expo/app/Files.js.map +1 -0
- package/dist/expo/app/Highlight.d.ts +5 -0
- package/dist/expo/app/Highlight.js +12 -0
- package/dist/expo/app/Highlight.js.map +1 -0
- package/dist/expo/app/Icon.d.ts +9 -0
- package/dist/expo/app/Icon.js +22 -0
- package/dist/expo/app/Icon.js.map +1 -0
- package/dist/expo/app/MarkerPins.d.ts +10 -0
- package/dist/expo/app/MarkerPins.js +70 -0
- package/dist/expo/app/MarkerPins.js.map +1 -0
- package/dist/expo/app/Provider.d.ts +13 -0
- package/dist/expo/app/Provider.js +597 -0
- package/dist/expo/app/Provider.js.map +1 -0
- package/dist/expo/app/Sheet.d.ts +53 -0
- package/dist/expo/app/Sheet.js +106 -0
- package/dist/expo/app/Sheet.js.map +1 -0
- package/dist/expo/app/Toolbar.d.ts +26 -0
- package/dist/expo/app/Toolbar.js +71 -0
- package/dist/expo/app/Toolbar.js.map +1 -0
- package/dist/expo/app/adapter.d.ts +55 -0
- package/dist/expo/app/adapter.js +145 -0
- package/dist/expo/app/adapter.js.map +1 -0
- package/dist/expo/app/api.d.ts +68 -0
- package/dist/expo/app/api.js +86 -0
- package/dist/expo/app/api.js.map +1 -0
- package/dist/expo/app/assets/attach.png +0 -0
- package/dist/expo/app/assets/close.png +0 -0
- package/dist/expo/app/assets/comment.png +0 -0
- package/dist/expo/app/assets/edit.png +0 -0
- package/dist/expo/app/assets/file.png +0 -0
- package/dist/expo/app/assets/narrow.png +0 -0
- package/dist/expo/app/assets/panel.png +0 -0
- package/dist/expo/app/assets/pins.png +0 -0
- package/dist/expo/app/assets/pinsOff.png +0 -0
- package/dist/expo/app/assets/remove.png +0 -0
- package/dist/expo/app/assets/reopen.png +0 -0
- package/dist/expo/app/assets/resolve.png +0 -0
- package/dist/expo/app/assets/send.png +0 -0
- package/dist/expo/app/assets/widen.png +0 -0
- package/dist/expo/app/attachments.d.ts +93 -0
- package/dist/expo/app/attachments.js +181 -0
- package/dist/expo/app/attachments.js.map +1 -0
- package/dist/expo/app/cloudApi.d.ts +63 -0
- package/dist/expo/app/cloudApi.js +330 -0
- package/dist/expo/app/cloudApi.js.map +1 -0
- package/dist/expo/app/cloudAuth.d.ts +20 -0
- package/dist/expo/app/cloudAuth.js +71 -0
- package/dist/expo/app/cloudAuth.js.map +1 -0
- package/dist/expo/app/cloudHttp.d.ts +20 -0
- package/dist/expo/app/cloudHttp.js +46 -0
- package/dist/expo/app/cloudHttp.js.map +1 -0
- package/dist/expo/app/cloudSession.d.ts +30 -0
- package/dist/expo/app/cloudSession.js +72 -0
- package/dist/expo/app/cloudSession.js.map +1 -0
- package/dist/expo/app/comments.d.ts +20 -0
- package/dist/expo/app/comments.js +131 -0
- package/dist/expo/app/comments.js.map +1 -0
- package/dist/expo/app/devMenuNone.d.ts +5 -0
- package/dist/expo/app/devMenuNone.js +3 -0
- package/dist/expo/app/devMenuNone.js.map +1 -0
- package/dist/expo/app/devServerNone.d.ts +4 -0
- package/dist/expo/app/devServerNone.js +4 -0
- package/dist/expo/app/devServerNone.js.map +1 -0
- package/dist/expo/app/embeddedConfig.d.ts +1 -0
- package/dist/expo/app/embeddedConfig.js +12 -0
- package/dist/expo/app/embeddedConfig.js.map +1 -0
- package/dist/expo/app/embeddedConfigCloud.d.ts +2 -0
- package/dist/expo/app/embeddedConfigCloud.js +8 -0
- package/dist/expo/app/embeddedConfigCloud.js.map +1 -0
- package/dist/expo/app/embeddedConfigNone.d.ts +2 -0
- package/dist/expo/app/embeddedConfigNone.js +3 -0
- package/dist/expo/app/embeddedConfigNone.js.map +1 -0
- package/dist/expo/app/expo.d.ts +4 -0
- package/dist/expo/app/expo.js +35 -0
- package/dist/expo/app/expo.js.map +1 -0
- package/dist/expo/app/expoGo.d.ts +4 -0
- package/dist/expo/app/expoGo.js +33 -0
- package/dist/expo/app/expoGo.js.map +1 -0
- package/dist/expo/app/expoPickers.d.ts +11 -0
- package/dist/expo/app/expoPickers.js +91 -0
- package/dist/expo/app/expoPickers.js.map +1 -0
- package/dist/expo/app/expoRandom.d.ts +6 -0
- package/dist/expo/app/expoRandom.js +21 -0
- package/dist/expo/app/expoRandom.js.map +1 -0
- package/dist/expo/app/idle.d.ts +4 -0
- package/dist/expo/app/idle.js +7 -0
- package/dist/expo/app/idle.js.map +1 -0
- package/dist/expo/app/index.d.ts +3 -0
- package/dist/expo/app/index.js +3 -0
- package/dist/expo/app/index.js.map +1 -0
- package/dist/expo/app/interactions.d.ts +38 -0
- package/dist/expo/app/interactions.js +40 -0
- package/dist/expo/app/interactions.js.map +1 -0
- package/dist/expo/app/markers.d.ts +28 -0
- package/dist/expo/app/markers.js +187 -0
- package/dist/expo/app/markers.js.map +1 -0
- package/dist/expo/app/movedAnchors.d.ts +46 -0
- package/dist/expo/app/movedAnchors.js +39 -0
- package/dist/expo/app/movedAnchors.js.map +1 -0
- package/dist/expo/app/native.d.ts +12 -0
- package/dist/expo/app/native.js +78 -0
- package/dist/expo/app/native.js.map +1 -0
- package/dist/expo/app/panel.d.ts +27 -0
- package/dist/expo/app/panel.js +37 -0
- package/dist/expo/app/panel.js.map +1 -0
- package/dist/expo/app/payload.d.ts +43 -0
- package/dist/expo/app/payload.js +22 -0
- package/dist/expo/app/payload.js.map +1 -0
- package/dist/expo/app/pick.d.ts +14 -0
- package/dist/expo/app/pick.js +124 -0
- package/dist/expo/app/pick.js.map +1 -0
- package/dist/expo/app/pickerNone.d.ts +1 -0
- package/dist/expo/app/pickerNone.js +2 -0
- package/dist/expo/app/pickerNone.js.map +1 -0
- package/dist/expo/app/placement.d.ts +53 -0
- package/dist/expo/app/placement.js +100 -0
- package/dist/expo/app/placement.js.map +1 -0
- package/dist/expo/app/random.d.ts +13 -0
- package/dist/expo/app/random.js +56 -0
- package/dist/expo/app/random.js.map +1 -0
- package/dist/expo/app/reactNative.d.ts +2 -0
- package/dist/expo/app/reactNative.js +3 -0
- package/dist/expo/app/reactNative.js.map +1 -0
- package/dist/expo/app/runtimeConfig.d.ts +30 -0
- package/dist/expo/app/runtimeConfig.js +104 -0
- package/dist/expo/app/runtimeConfig.js.map +1 -0
- package/dist/expo/app/sheetMotion.d.ts +22 -0
- package/dist/expo/app/sheetMotion.js +39 -0
- package/dist/expo/app/sheetMotion.js.map +1 -0
- package/dist/expo/app/signIn.d.ts +32 -0
- package/dist/expo/app/signIn.js +28 -0
- package/dist/expo/app/signIn.js.map +1 -0
- package/dist/expo/app/state.d.ts +45 -0
- package/dist/expo/app/state.js +32 -0
- package/dist/expo/app/state.js.map +1 -0
- package/dist/expo/app/theme.d.ts +15 -0
- package/dist/expo/app/theme.js +9 -0
- package/dist/expo/app/theme.js.map +1 -0
- package/dist/expo/app/types.d.ts +87 -0
- package/dist/expo/app/types.js +2 -0
- package/dist/expo/app/types.js.map +1 -0
- package/dist/expo/app/useCloudReviewer.d.ts +75 -0
- package/dist/expo/app/useCloudReviewer.js +211 -0
- package/dist/expo/app/useCloudReviewer.js.map +1 -0
- package/dist/expo/app/useComments.d.ts +64 -0
- package/dist/expo/app/useComments.js +156 -0
- package/dist/expo/app/useComments.js.map +1 -0
- package/dist/expo/app/useUploads.d.ts +32 -0
- package/dist/expo/app/useUploads.js +106 -0
- package/dist/expo/app/useUploads.js.map +1 -0
- package/dist/expo/expoGoMetro.cjs +83 -0
- package/dist/expo/expoMetro.cjs +86 -0
- package/dist/expo/metro.cjs +304 -0
- package/dist/expo/metroBuild.d.ts +22 -0
- package/dist/expo/metroBuild.js +169 -0
- package/dist/expo/metroBuild.js.map +1 -0
- package/dist/expo/middleware.d.ts +11 -0
- package/dist/expo/middleware.js +26 -0
- package/dist/expo/middleware.js.map +1 -0
- package/dist/expo/mode.d.ts +20 -0
- package/dist/expo/mode.js +37 -0
- package/dist/expo/mode.js.map +1 -0
- package/dist/expo/publicConfig.d.ts +37 -0
- package/dist/expo/publicConfig.js +87 -0
- package/dist/expo/publicConfig.js.map +1 -0
- package/dist/expo/transform.d.ts +22 -0
- package/dist/expo/transform.js +38 -0
- package/dist/expo/transform.js.map +1 -0
- package/dist/expo/transformer.cjs +73 -0
- package/dist/index.d.ts +21 -0
- package/dist/index.js +17 -0
- package/dist/index.js.map +1 -0
- package/dist/integration/apiRoutes.d.ts +2 -0
- package/dist/integration/apiRoutes.js +3 -0
- package/dist/integration/apiRoutes.js.map +1 -0
- package/dist/integration/buildCredentials.d.ts +12 -0
- package/dist/integration/buildCredentials.js +97 -0
- package/dist/integration/buildCredentials.js.map +1 -0
- package/dist/integration/buildSession.d.ts +8 -0
- package/dist/integration/buildSession.js +96 -0
- package/dist/integration/buildSession.js.map +1 -0
- package/dist/integration/bundleCheck.d.ts +43 -0
- package/dist/integration/bundleCheck.js +111 -0
- package/dist/integration/bundleCheck.js.map +1 -0
- package/dist/integration/commentPull.d.ts +134 -0
- package/dist/integration/commentPull.js +260 -0
- package/dist/integration/commentPull.js.map +1 -0
- package/dist/integration/configuredApi.d.ts +7 -0
- package/dist/integration/configuredApi.js +24 -0
- package/dist/integration/configuredApi.js.map +1 -0
- package/dist/integration/devCloud.d.ts +27 -0
- package/dist/integration/devCloud.js +56 -0
- package/dist/integration/devCloud.js.map +1 -0
- package/dist/integration/devReviewLinks.d.ts +2 -0
- package/dist/integration/devReviewLinks.js +10 -0
- package/dist/integration/devReviewLinks.js.map +1 -0
- package/dist/integration/gitBranch.d.ts +19 -0
- package/dist/integration/gitBranch.js +56 -0
- package/dist/integration/gitBranch.js.map +1 -0
- package/dist/integration/importPlan.d.ts +19 -0
- package/dist/integration/importPlan.js +90 -0
- package/dist/integration/importPlan.js.map +1 -0
- package/dist/integration/index.d.ts +14 -0
- package/dist/integration/index.js +13 -0
- package/dist/integration/index.js.map +1 -0
- package/dist/integration/manifest.d.ts +120 -0
- package/dist/integration/manifest.js +147 -0
- package/dist/integration/manifest.js.map +1 -0
- package/dist/integration/manifestParts.d.ts +29 -0
- package/dist/integration/manifestParts.js +65 -0
- package/dist/integration/manifestParts.js.map +1 -0
- package/dist/integration/manifestSink.d.ts +75 -0
- package/dist/integration/manifestSink.js +157 -0
- package/dist/integration/manifestSink.js.map +1 -0
- package/dist/integration/manifestUpload.d.ts +64 -0
- package/dist/integration/manifestUpload.js +177 -0
- package/dist/integration/manifestUpload.js.map +1 -0
- package/dist/integration/middleware.d.ts +55 -0
- package/dist/integration/middleware.js +379 -0
- package/dist/integration/middleware.js.map +1 -0
- package/dist/integration/nextStyles.d.ts +4 -0
- package/dist/integration/nextStyles.js +121 -0
- package/dist/integration/nextStyles.js.map +1 -0
- package/dist/integration/requestGuards.d.ts +71 -0
- package/dist/integration/requestGuards.js +255 -0
- package/dist/integration/requestGuards.js.map +1 -0
- package/dist/integration/sharedBuild.d.ts +71 -0
- package/dist/integration/sharedBuild.js +105 -0
- package/dist/integration/sharedBuild.js.map +1 -0
- package/dist/integration/sharedInject.d.ts +88 -0
- package/dist/integration/sharedInject.js +164 -0
- package/dist/integration/sharedInject.js.map +1 -0
- package/dist/integration/sidecarProcess.d.ts +26 -0
- package/dist/integration/sidecarProcess.js +137 -0
- package/dist/integration/sidecarProcess.js.map +1 -0
- package/dist/integration/styleCollector.d.ts +49 -0
- package/dist/integration/styleCollector.js +220 -0
- package/dist/integration/styleCollector.js.map +1 -0
- package/dist/integration/transform.d.ts +24 -0
- package/dist/integration/transform.js +36 -0
- package/dist/integration/transform.js.map +1 -0
- package/dist/integration/tunnelClient.d.ts +44 -0
- package/dist/integration/tunnelClient.js +148 -0
- package/dist/integration/tunnelClient.js.map +1 -0
- package/dist/integration/tunnelProtocol.d.ts +152 -0
- package/dist/integration/tunnelProtocol.js +110 -0
- package/dist/integration/tunnelProtocol.js.map +1 -0
- package/dist/mcp/cli.d.ts +2 -0
- package/dist/mcp/cli.js +327 -0
- package/dist/mcp/cli.js.map +1 -0
- package/dist/mcp/cloudRefresh.d.ts +36 -0
- package/dist/mcp/cloudRefresh.js +52 -0
- package/dist/mcp/cloudRefresh.js.map +1 -0
- package/dist/mcp/context.d.ts +7 -0
- package/dist/mcp/context.js +18 -0
- package/dist/mcp/context.js.map +1 -0
- package/dist/mcp/files.d.ts +66 -0
- package/dist/mcp/files.js +157 -0
- package/dist/mcp/files.js.map +1 -0
- package/dist/mcp/search.d.ts +3 -0
- package/dist/mcp/search.js +9 -0
- package/dist/mcp/search.js.map +1 -0
- package/dist/mcp/server.d.ts +50 -0
- package/dist/mcp/server.js +555 -0
- package/dist/mcp/server.js.map +1 -0
- package/dist/overlay/anchors.d.ts +130 -0
- package/dist/overlay/anchors.js +365 -0
- package/dist/overlay/anchors.js.map +1 -0
- package/dist/overlay/api.d.ts +150 -0
- package/dist/overlay/api.js +259 -0
- package/dist/overlay/api.js.map +1 -0
- package/dist/overlay/attachments.d.ts +60 -0
- package/dist/overlay/attachments.js +163 -0
- package/dist/overlay/attachments.js.map +1 -0
- package/dist/overlay/browser.d.ts +1 -0
- package/dist/overlay/browser.js +203 -0
- package/dist/overlay/browser.js.map +1 -0
- package/dist/overlay/chip.d.ts +27 -0
- package/dist/overlay/chip.js +31 -0
- package/dist/overlay/chip.js.map +1 -0
- package/dist/overlay/compact.d.ts +11 -0
- package/dist/overlay/compact.js +21 -0
- package/dist/overlay/compact.js.map +1 -0
- package/dist/overlay/cssScope.d.ts +46 -0
- package/dist/overlay/cssScope.js +180 -0
- package/dist/overlay/cssScope.js.map +1 -0
- package/dist/overlay/cursor.d.ts +2 -0
- package/dist/overlay/cursor.js +68 -0
- package/dist/overlay/cursor.js.map +1 -0
- package/dist/overlay/devBrowser.d.ts +1 -0
- package/dist/overlay/devBrowser.js +18 -0
- package/dist/overlay/devBrowser.js.map +1 -0
- package/dist/overlay/devReview.d.ts +4 -0
- package/dist/overlay/devReview.js +18 -0
- package/dist/overlay/devReview.js.map +1 -0
- package/dist/overlay/directReviewer.d.ts +149 -0
- package/dist/overlay/directReviewer.js +448 -0
- package/dist/overlay/directReviewer.js.map +1 -0
- package/dist/overlay/elementDescription.d.ts +10 -0
- package/dist/overlay/elementDescription.js +251 -0
- package/dist/overlay/elementDescription.js.map +1 -0
- package/dist/overlay/icons.d.ts +8 -0
- package/dist/overlay/icons.js +36 -0
- package/dist/overlay/icons.js.map +1 -0
- package/dist/overlay/identity.d.ts +48 -0
- package/dist/overlay/identity.js +125 -0
- package/dist/overlay/identity.js.map +1 -0
- package/dist/overlay/localMachine.d.ts +23 -0
- package/dist/overlay/localMachine.js +40 -0
- package/dist/overlay/localMachine.js.map +1 -0
- package/dist/overlay/magicLink.d.ts +10 -0
- package/dist/overlay/magicLink.js +87 -0
- package/dist/overlay/magicLink.js.map +1 -0
- package/dist/overlay/modern-screenshot.js +1676 -0
- package/dist/overlay/movedAnchors.d.ts +30 -0
- package/dist/overlay/movedAnchors.js +128 -0
- package/dist/overlay/movedAnchors.js.map +1 -0
- package/dist/overlay/notificationGroups.d.ts +2 -0
- package/dist/overlay/notificationGroups.js +41 -0
- package/dist/overlay/notificationGroups.js.map +1 -0
- package/dist/overlay/permissions.d.ts +10 -0
- package/dist/overlay/permissions.js +9 -0
- package/dist/overlay/permissions.js.map +1 -0
- package/dist/overlay/pinGroups.d.ts +16 -0
- package/dist/overlay/pinGroups.js +17 -0
- package/dist/overlay/pinGroups.js.map +1 -0
- package/dist/overlay/presence.d.ts +50 -0
- package/dist/overlay/presence.js +258 -0
- package/dist/overlay/presence.js.map +1 -0
- package/dist/overlay/projectChannel.d.ts +11 -0
- package/dist/overlay/projectChannel.js +111 -0
- package/dist/overlay/projectChannel.js.map +1 -0
- package/dist/overlay/recorder.d.ts +56 -0
- package/dist/overlay/recorder.js +130 -0
- package/dist/overlay/recorder.js.map +1 -0
- package/dist/overlay/reviewMode.d.ts +21 -0
- package/dist/overlay/reviewMode.js +59 -0
- package/dist/overlay/reviewMode.js.map +1 -0
- package/dist/overlay/reviewerAuth.d.ts +131 -0
- package/dist/overlay/reviewerAuth.js +279 -0
- package/dist/overlay/reviewerAuth.js.map +1 -0
- package/dist/overlay/route.d.ts +18 -0
- package/dist/overlay/route.js +56 -0
- package/dist/overlay/route.js.map +1 -0
- package/dist/overlay/rrweb-record.js +63 -0
- package/dist/overlay/runtime.d.ts +1 -0
- package/dist/overlay/runtime.js +4857 -0
- package/dist/overlay/runtime.js.map +1 -0
- package/dist/overlay/session.d.ts +32 -0
- package/dist/overlay/session.js +76 -0
- package/dist/overlay/session.js.map +1 -0
- package/dist/overlay/sharedMode.d.ts +38 -0
- package/dist/overlay/sharedMode.js +37 -0
- package/dist/overlay/sharedMode.js.map +1 -0
- package/dist/overlay/sheet.d.ts +73 -0
- package/dist/overlay/sheet.js +278 -0
- package/dist/overlay/sheet.js.map +1 -0
- package/dist/overlay/snapshot.d.ts +26 -0
- package/dist/overlay/snapshot.js +185 -0
- package/dist/overlay/snapshot.js.map +1 -0
- package/dist/overlay/state.d.ts +63 -0
- package/dist/overlay/state.js +241 -0
- package/dist/overlay/state.js.map +1 -0
- package/dist/overlay/steps.d.ts +22 -0
- package/dist/overlay/steps.js +34 -0
- package/dist/overlay/steps.js.map +1 -0
- package/dist/overlay/styles.d.ts +7 -0
- package/dist/overlay/styles.js +1449 -0
- package/dist/overlay/styles.js.map +1 -0
- package/dist/overlay/trace.d.ts +19 -0
- package/dist/overlay/trace.js +29 -0
- package/dist/overlay/trace.js.map +1 -0
- package/dist/overlay/upload.d.ts +35 -0
- package/dist/overlay/upload.js +99 -0
- package/dist/overlay/upload.js.map +1 -0
- package/dist/plugin/astro.d.ts +31 -0
- package/dist/plugin/astro.js +22 -0
- package/dist/plugin/astro.js.map +1 -0
- package/dist/plugin/eleventy.d.ts +44 -0
- package/dist/plugin/eleventy.js +186 -0
- package/dist/plugin/eleventy.js.map +1 -0
- package/dist/plugin/next-loader.cjs +11 -0
- package/dist/plugin/next.d.ts +29 -0
- package/dist/plugin/next.js +176 -0
- package/dist/plugin/next.js.map +1 -0
- package/dist/plugin/nextOverlay.d.ts +2 -0
- package/dist/plugin/nextOverlay.js +22 -0
- package/dist/plugin/nextOverlay.js.map +1 -0
- package/dist/plugin/nextTransform.d.ts +19 -0
- package/dist/plugin/nextTransform.js +29 -0
- package/dist/plugin/nextTransform.js.map +1 -0
- package/dist/plugin/rsbuild.d.ts +25 -0
- package/dist/plugin/rsbuild.js +56 -0
- package/dist/plugin/rsbuild.js.map +1 -0
- package/dist/plugin/vite.d.ts +40 -0
- package/dist/plugin/vite.js +585 -0
- package/dist/plugin/vite.js.map +1 -0
- package/dist/plugin/webpack.d.ts +69 -0
- package/dist/plugin/webpack.js +192 -0
- package/dist/plugin/webpack.js.map +1 -0
- package/dist/remote/account.d.ts +41 -0
- package/dist/remote/account.js +177 -0
- package/dist/remote/account.js.map +1 -0
- package/dist/remote/base64url.d.ts +14 -0
- package/dist/remote/base64url.js +71 -0
- package/dist/remote/base64url.js.map +1 -0
- package/dist/remote/branchLabel.d.ts +12 -0
- package/dist/remote/branchLabel.js +20 -0
- package/dist/remote/branchLabel.js.map +1 -0
- package/dist/remote/client.d.ts +340 -0
- package/dist/remote/client.js +424 -0
- package/dist/remote/client.js.map +1 -0
- package/dist/remote/cloudApi.d.ts +72 -0
- package/dist/remote/cloudApi.js +72 -0
- package/dist/remote/cloudApi.js.map +1 -0
- package/dist/remote/codec.d.ts +54 -0
- package/dist/remote/codec.js +62 -0
- package/dist/remote/codec.js.map +1 -0
- package/dist/remote/config.d.ts +30 -0
- package/dist/remote/config.js +112 -0
- package/dist/remote/config.js.map +1 -0
- package/dist/remote/content-schema.d.ts +428 -0
- package/dist/remote/content-schema.js +209 -0
- package/dist/remote/content-schema.js.map +1 -0
- package/dist/remote/content.d.ts +44 -0
- package/dist/remote/content.js +75 -0
- package/dist/remote/content.js.map +1 -0
- package/dist/remote/envelope.d.ts +76 -0
- package/dist/remote/envelope.js +109 -0
- package/dist/remote/envelope.js.map +1 -0
- package/dist/remote/errors.d.ts +55 -0
- package/dist/remote/errors.js +63 -0
- package/dist/remote/errors.js.map +1 -0
- package/dist/remote/ids.d.ts +8 -0
- package/dist/remote/ids.js +25 -0
- package/dist/remote/ids.js.map +1 -0
- package/dist/remote/index.d.ts +7 -0
- package/dist/remote/index.js +8 -0
- package/dist/remote/index.js.map +1 -0
- package/dist/remote/keys.d.ts +62 -0
- package/dist/remote/keys.js +162 -0
- package/dist/remote/keys.js.map +1 -0
- package/dist/remote/localAnchors.d.ts +4 -0
- package/dist/remote/localAnchors.js +23 -0
- package/dist/remote/localAnchors.js.map +1 -0
- package/dist/remote/mapping.d.ts +11 -0
- package/dist/remote/mapping.js +22 -0
- package/dist/remote/mapping.js.map +1 -0
- package/dist/remote/presence.d.ts +63 -0
- package/dist/remote/presence.js +143 -0
- package/dist/remote/presence.js.map +1 -0
- package/dist/remote/realtime.d.ts +142 -0
- package/dist/remote/realtime.js +326 -0
- package/dist/remote/realtime.js.map +1 -0
- package/dist/remote/store.d.ts +183 -0
- package/dist/remote/store.js +907 -0
- package/dist/remote/store.js.map +1 -0
- package/dist/remote/sync.d.ts +113 -0
- package/dist/remote/sync.js +370 -0
- package/dist/remote/sync.js.map +1 -0
- package/dist/remote/types.d.ts +99 -0
- package/dist/remote/types.js +6 -0
- package/dist/remote/types.js.map +1 -0
- package/dist/setup/agents.d.ts +23 -0
- package/dist/setup/agents.js +80 -0
- package/dist/setup/agents.js.map +1 -0
- package/dist/setup/configure.d.ts +27 -0
- package/dist/setup/configure.js +201 -0
- package/dist/setup/configure.js.map +1 -0
- package/dist/setup/connect.d.ts +60 -0
- package/dist/setup/connect.js +244 -0
- package/dist/setup/connect.js.map +1 -0
- package/dist/setup/detect.d.ts +67 -0
- package/dist/setup/detect.js +168 -0
- package/dist/setup/detect.js.map +1 -0
- package/dist/setup/frameworks.d.ts +41 -0
- package/dist/setup/frameworks.js +81 -0
- package/dist/setup/frameworks.js.map +1 -0
- package/dist/sidecar/cli.d.ts +1 -0
- package/dist/sidecar/cli.js +70 -0
- package/dist/sidecar/cli.js.map +1 -0
- package/dist/sidecar/cloudSync.d.ts +33 -0
- package/dist/sidecar/cloudSync.js +139 -0
- package/dist/sidecar/cloudSync.js.map +1 -0
- package/dist/sidecar/commentFiles.d.ts +59 -0
- package/dist/sidecar/commentFiles.js +217 -0
- package/dist/sidecar/commentFiles.js.map +1 -0
- package/dist/sidecar/cssAttribution.d.ts +26 -0
- package/dist/sidecar/cssAttribution.js +114 -0
- package/dist/sidecar/cssAttribution.js.map +1 -0
- package/dist/sidecar/exportTasks.d.ts +38 -0
- package/dist/sidecar/exportTasks.js +249 -0
- package/dist/sidecar/exportTasks.js.map +1 -0
- package/dist/sidecar/http.d.ts +20 -0
- package/dist/sidecar/http.js +904 -0
- package/dist/sidecar/http.js.map +1 -0
- package/dist/sidecar/inviteTarget.d.ts +4 -0
- package/dist/sidecar/inviteTarget.js +32 -0
- package/dist/sidecar/inviteTarget.js.map +1 -0
- package/dist/sidecar/presence.d.ts +4 -0
- package/dist/sidecar/presence.js +92 -0
- package/dist/sidecar/presence.js.map +1 -0
- package/dist/storage/cliSession.d.ts +8 -0
- package/dist/storage/cliSession.js +41 -0
- package/dist/storage/cliSession.js.map +1 -0
- package/dist/storage/devStyleMap.d.ts +12 -0
- package/dist/storage/devStyleMap.js +31 -0
- package/dist/storage/devStyleMap.js.map +1 -0
- package/dist/storage/fileCache.d.ts +34 -0
- package/dist/storage/fileCache.js +122 -0
- package/dist/storage/fileCache.js.map +1 -0
- package/dist/storage/localAttachments.d.ts +82 -0
- package/dist/storage/localAttachments.js +276 -0
- package/dist/storage/localAttachments.js.map +1 -0
- package/dist/storage/localComments.d.ts +31 -0
- package/dist/storage/localComments.js +159 -0
- package/dist/storage/localComments.js.map +1 -0
- package/dist/storage/localCredentials.d.ts +74 -0
- package/dist/storage/localCredentials.js +210 -0
- package/dist/storage/localCredentials.js.map +1 -0
- package/dist/storage/localParticipants.d.ts +33 -0
- package/dist/storage/localParticipants.js +110 -0
- package/dist/storage/localParticipants.js.map +1 -0
- package/dist/storage/localRecipe.d.ts +22 -0
- package/dist/storage/localRecipe.js +46 -0
- package/dist/storage/localRecipe.js.map +1 -0
- package/dist/storage/localScreenshots.d.ts +23 -0
- package/dist/storage/localScreenshots.js +55 -0
- package/dist/storage/localScreenshots.js.map +1 -0
- package/dist/storage/localSource.d.ts +31 -0
- package/dist/storage/localSource.js +175 -0
- package/dist/storage/localSource.js.map +1 -0
- package/dist/storage/pulledComments.d.ts +81 -0
- package/dist/storage/pulledComments.js +107 -0
- package/dist/storage/pulledComments.js.map +1 -0
- package/dist/storage/remoteRecipe.d.ts +7 -0
- package/dist/storage/remoteRecipe.js +85 -0
- package/dist/storage/remoteRecipe.js.map +1 -0
- package/dist/storage/savedRemote.d.ts +2 -0
- package/dist/storage/savedRemote.js +22 -0
- package/dist/storage/savedRemote.js.map +1 -0
- package/dist/storage/sidecarAccess.d.ts +7 -0
- package/dist/storage/sidecarAccess.js +68 -0
- package/dist/storage/sidecarAccess.js.map +1 -0
- package/package.json +306 -4
|
@@ -0,0 +1,1449 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* All overlay CSS, scoped by the Shadow DOM root so nothing leaks in either direction.
|
|
3
|
+
*
|
|
4
|
+
* Dark throughout: the overlay sits on top of someone else's app, and a dark surface reads
|
|
5
|
+
* as "tooling" rather than as part of the page, whatever the host's own theme is.
|
|
6
|
+
*/
|
|
7
|
+
export function overlayStyles() {
|
|
8
|
+
return `<style>
|
|
9
|
+
:host {
|
|
10
|
+
--fb-bg: #2b2b2b;
|
|
11
|
+
--fb-bg-raised: #363636;
|
|
12
|
+
--fb-line: rgba(255, 255, 255, 0.11);
|
|
13
|
+
--fb-text: #f2f2f2;
|
|
14
|
+
--fb-muted: rgba(242, 242, 242, 0.52);
|
|
15
|
+
--fb-accent: #3b82f6;
|
|
16
|
+
/* Outlines sit on the host app's background, so they cannot borrow its colours. An
|
|
17
|
+
opaque grey, close to the separator inside the comment card, stays legible against
|
|
18
|
+
both a white page and a dark one. Pure white is harsh on a dark site; a translucent
|
|
19
|
+
white disappears entirely on a light one, because it is over the page, not the card. */
|
|
20
|
+
--fb-edge: #4a4a4a;
|
|
21
|
+
--fb-danger: #ef4444;
|
|
22
|
+
--fb-warn: #d98b45;
|
|
23
|
+
color-scheme: dark;
|
|
24
|
+
font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
* { box-sizing: border-box; }
|
|
28
|
+
|
|
29
|
+
/* The pin cursor is forced from the host document by a rule on every element, marked
|
|
30
|
+
important. That selector cannot reach inside the shadow tree, but it does match the
|
|
31
|
+
host element - and cursor is inherited, so the whole overlay picked up the pin and its
|
|
32
|
+
own chrome read as somewhere you could leave a comment. A :host rule cannot fix it: on
|
|
33
|
+
the host element an outer important rule wins. The shadow root's own children are the
|
|
34
|
+
first thing nothing outside can target, so the overlay states its cursor there and
|
|
35
|
+
everything inside inherits from it. */
|
|
36
|
+
:host { cursor: default; }
|
|
37
|
+
:host > * { cursor: default; }
|
|
38
|
+
textarea, input { cursor: text; }
|
|
39
|
+
button { cursor: pointer; }
|
|
40
|
+
|
|
41
|
+
button {
|
|
42
|
+
display: inline-flex;
|
|
43
|
+
align-items: center;
|
|
44
|
+
justify-content: center;
|
|
45
|
+
border: 0;
|
|
46
|
+
background: transparent;
|
|
47
|
+
color: var(--fb-text);
|
|
48
|
+
font: inherit;
|
|
49
|
+
cursor: pointer;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
svg { display: block; flex: none; }
|
|
53
|
+
|
|
54
|
+
/* ---------------- avatars ---------------- */
|
|
55
|
+
|
|
56
|
+
.fb-avatar {
|
|
57
|
+
display: grid;
|
|
58
|
+
place-items: center;
|
|
59
|
+
flex: none;
|
|
60
|
+
border-radius: 999px;
|
|
61
|
+
color: #fff;
|
|
62
|
+
font-weight: 650;
|
|
63
|
+
letter-spacing: 0.01em;
|
|
64
|
+
line-height: 1;
|
|
65
|
+
user-select: none;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.fb-avatar[data-pending="true"] { background: rgba(255, 255, 255, 0.14); }
|
|
69
|
+
/* Same as the avatar inside a pin, so a face is the same size wherever it appears. */
|
|
70
|
+
.fb-avatar[data-size="sm"] { width: 26px; height: 26px; font-size: 11px; }
|
|
71
|
+
.fb-avatar[data-size="md"] { width: 34px; height: 34px; font-size: 13px; }
|
|
72
|
+
.fb-avatar[data-size="lg"] { width: 38px; height: 38px; font-size: 15px; }
|
|
73
|
+
|
|
74
|
+
/* ---------------- toolbar ---------------- */
|
|
75
|
+
|
|
76
|
+
.fb-bar {
|
|
77
|
+
position: fixed;
|
|
78
|
+
right: 20px;
|
|
79
|
+
bottom: 20px;
|
|
80
|
+
z-index: 2147483647;
|
|
81
|
+
display: flex;
|
|
82
|
+
align-items: center;
|
|
83
|
+
gap: 2px;
|
|
84
|
+
padding: 5px;
|
|
85
|
+
border: 1px solid var(--fb-line);
|
|
86
|
+
border-radius: 999px;
|
|
87
|
+
background: var(--fb-bg);
|
|
88
|
+
box-shadow: 0 10px 34px rgba(0, 0, 0, 0.42);
|
|
89
|
+
cursor: grab;
|
|
90
|
+
touch-action: none;
|
|
91
|
+
user-select: none;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.fb-bar:active { cursor: grabbing; }
|
|
95
|
+
|
|
96
|
+
.fb-bar button {
|
|
97
|
+
position: relative;
|
|
98
|
+
width: 34px;
|
|
99
|
+
height: 34px;
|
|
100
|
+
border-radius: 999px;
|
|
101
|
+
color: rgba(242, 242, 242, 0.72);
|
|
102
|
+
transition: background 120ms ease, color 120ms ease;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.fb-bar button:hover { background: rgba(255, 255, 255, 0.09); color: var(--fb-text); }
|
|
106
|
+
.fb-bar button[data-fb-action="toggle-mode"][aria-pressed="true"] {
|
|
107
|
+
background: var(--fb-accent);
|
|
108
|
+
color: #fff;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
/* The open panel is its own evidence, so the button only brightens rather than
|
|
112
|
+
lighting up: a filled control next to an open sidebar says the same thing twice. */
|
|
113
|
+
.fb-bar button[data-fb-action="toggle-panel"][aria-pressed="true"] { color: #fff; }
|
|
114
|
+
.fb-bar button[data-fb-action="toggle-chips"][aria-pressed="false"] { color: rgba(242, 242, 242, 0.38); }
|
|
115
|
+
.fb-bar .fb-sep { width: 1px; height: 18px; margin: 0 3px; background: var(--fb-line); }
|
|
116
|
+
|
|
117
|
+
/* Count rides on the comment button rather than taking a slot of its own. */
|
|
118
|
+
.fb-badge {
|
|
119
|
+
position: absolute;
|
|
120
|
+
top: -1px;
|
|
121
|
+
right: -1px;
|
|
122
|
+
min-width: 16px;
|
|
123
|
+
height: 16px;
|
|
124
|
+
padding: 0 4px;
|
|
125
|
+
border-radius: 999px;
|
|
126
|
+
border: 2px solid var(--fb-bg);
|
|
127
|
+
background: var(--fb-accent);
|
|
128
|
+
color: #fff;
|
|
129
|
+
font-size: 9.5px;
|
|
130
|
+
font-weight: 700;
|
|
131
|
+
line-height: 12px;
|
|
132
|
+
text-align: center;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
/* Placed inline by placeBar(): offsets from the nearest edges, clear of an open panel. */
|
|
136
|
+
.fb-bar[data-dragging="true"] { cursor: grabbing; box-shadow: 0 16px 44px rgba(0, 0, 0, 0.5); }
|
|
137
|
+
.fb-bar[data-dragging="true"] button { pointer-events: none; }
|
|
138
|
+
|
|
139
|
+
/* The bar's own tooltips: the bar's colours, the shortcut as keys. */
|
|
140
|
+
.fb-tip {
|
|
141
|
+
position: fixed;
|
|
142
|
+
z-index: 2147483647;
|
|
143
|
+
display: none;
|
|
144
|
+
align-items: center;
|
|
145
|
+
gap: 6px;
|
|
146
|
+
padding: 6px 8px 6px 10px;
|
|
147
|
+
border: 1px solid var(--fb-line);
|
|
148
|
+
border-radius: 9px;
|
|
149
|
+
background: var(--fb-bg);
|
|
150
|
+
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
|
|
151
|
+
color: var(--fb-text);
|
|
152
|
+
font-size: 12px;
|
|
153
|
+
font-weight: 500;
|
|
154
|
+
line-height: 1.2;
|
|
155
|
+
white-space: nowrap;
|
|
156
|
+
pointer-events: none;
|
|
157
|
+
}
|
|
158
|
+
.fb-tip[data-open="true"] { display: flex; animation: fb-tip-in 120ms ease-out; }
|
|
159
|
+
.fb-tip kbd {
|
|
160
|
+
min-width: 18px;
|
|
161
|
+
padding: 2px 5px;
|
|
162
|
+
border: 1px solid rgba(255, 255, 255, 0.14);
|
|
163
|
+
border-radius: 5px;
|
|
164
|
+
background: rgba(255, 255, 255, 0.07);
|
|
165
|
+
color: rgba(242, 242, 242, 0.82);
|
|
166
|
+
font-family: inherit;
|
|
167
|
+
font-size: 11px;
|
|
168
|
+
font-weight: 600;
|
|
169
|
+
line-height: 1.2;
|
|
170
|
+
text-align: center;
|
|
171
|
+
}
|
|
172
|
+
.fb-tip kbd:first-of-type { margin-left: 4px; }
|
|
173
|
+
/* A file's: its whole name, wrapped if long, then its size and what a click does. */
|
|
174
|
+
.fb-tip[data-kind="file"] { max-width: 280px; padding: 7px 10px; white-space: normal; }
|
|
175
|
+
.fb-tip[data-kind="file"]::after {
|
|
176
|
+
content: ''; position: absolute; left: var(--fb-tip-arrow, 50%); width: 8px; height: 8px; margin-left: -5px;
|
|
177
|
+
background: var(--fb-bg); border: 1px solid var(--fb-line); transform: rotate(45deg);
|
|
178
|
+
}
|
|
179
|
+
.fb-tip[data-side="above"]::after { bottom: -5px; border-top: 0; border-left: 0; }
|
|
180
|
+
.fb-tip[data-side="below"]::after { top: -5px; border-bottom: 0; border-right: 0; }
|
|
181
|
+
.fb-tip__file { display: grid; gap: 2px; min-width: 0; }
|
|
182
|
+
.fb-tip__name { font-weight: 600; overflow-wrap: anywhere; }
|
|
183
|
+
.fb-tip__meta { color: var(--fb-muted); font-size: 11px; font-weight: 500; }
|
|
184
|
+
@keyframes fb-tip-in { from { opacity: 0; transform: translateY(2px); } }
|
|
185
|
+
|
|
186
|
+
@media (max-width: 760px) {
|
|
187
|
+
.fb-bar[data-panel-open="true"] { display: none; }
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
/* ---------------- hover highlight ---------------- */
|
|
191
|
+
|
|
192
|
+
.fb-highlight {
|
|
193
|
+
position: fixed;
|
|
194
|
+
z-index: 2147483640;
|
|
195
|
+
display: none;
|
|
196
|
+
border: 2px solid var(--fb-accent);
|
|
197
|
+
border-radius: 6px;
|
|
198
|
+
background: rgba(59, 130, 246, 0.1);
|
|
199
|
+
pointer-events: none;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
/* Echoes of the other elements a comment would cover. Deliberately quieter than the
|
|
203
|
+
main highlight: they are consequence, not selection. */
|
|
204
|
+
.fb-echo__box {
|
|
205
|
+
position: fixed;
|
|
206
|
+
z-index: 2147483639;
|
|
207
|
+
border: 1px dashed var(--fb-accent);
|
|
208
|
+
border-radius: 4px;
|
|
209
|
+
background: rgba(59, 130, 246, 0.06);
|
|
210
|
+
pointer-events: none;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
/* The selection chip, on a phone (spec: Choosing an element). Placed by runtime.ts positionChip. */
|
|
214
|
+
.fb-chip {
|
|
215
|
+
position: fixed;
|
|
216
|
+
z-index: 2147483645;
|
|
217
|
+
display: none;
|
|
218
|
+
width: min(420px, calc(100vw - 16px));
|
|
219
|
+
padding: 6px;
|
|
220
|
+
border: 1px solid var(--fb-line);
|
|
221
|
+
border-radius: 999px;
|
|
222
|
+
background: var(--fb-bg);
|
|
223
|
+
box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
|
|
224
|
+
color: var(--fb-text);
|
|
225
|
+
}
|
|
226
|
+
.fb-chip[data-open="true"] { display: block; }
|
|
227
|
+
.fb-chip__actions { display: flex; align-items: center; gap: 4px; }
|
|
228
|
+
.fb-chip__actions button { gap: 6px; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; font-size: 14px; }
|
|
229
|
+
.fb-chip__actions button.fb-icon-btn { width: 44px; padding: 0; }
|
|
230
|
+
/* The narrowest phones keep the four targets at 44px: Parent and Child keep their arrows only. */
|
|
231
|
+
@media (max-width: 374px) { .fb-chip__label { display: none; } }
|
|
232
|
+
.fb-chip__actions button:disabled { opacity: 0.35; }
|
|
233
|
+
.fb-chip__go { margin-left: auto; background: var(--fb-accent) !important; color: #fff !important; font-weight: 600; }
|
|
234
|
+
|
|
235
|
+
/* A send that failed. Deliberately not a toast: it sits with the draft it belongs to,
|
|
236
|
+
and stays until the reviewer acts, because the alternative is their words vanishing. */
|
|
237
|
+
.fb-savefail {
|
|
238
|
+
align-self: stretch;
|
|
239
|
+
margin: 8px 8px 0;
|
|
240
|
+
padding: 6px 10px;
|
|
241
|
+
border: 1px solid var(--fb-danger);
|
|
242
|
+
border-radius: 8px;
|
|
243
|
+
background: rgba(239, 68, 68, 0.12);
|
|
244
|
+
color: var(--fb-text);
|
|
245
|
+
font-size: 11px;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
/* ---------------- scope question ---------------- */
|
|
249
|
+
|
|
250
|
+
/* An optional widening of the comment's scope. The unchecked default means the element
|
|
251
|
+
the reviewer clicked; the checkbox makes applying it elsewhere an explicit act. */
|
|
252
|
+
.fb-scopeask {
|
|
253
|
+
display: inline-flex;
|
|
254
|
+
align-items: center;
|
|
255
|
+
gap: 6px;
|
|
256
|
+
min-width: 0;
|
|
257
|
+
color: var(--fb-muted);
|
|
258
|
+
font-size: 10px;
|
|
259
|
+
line-height: 14px;
|
|
260
|
+
letter-spacing: 0.01em;
|
|
261
|
+
cursor: pointer;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
.fb-scopeask input {
|
|
265
|
+
appearance: none;
|
|
266
|
+
display: grid;
|
|
267
|
+
flex: none;
|
|
268
|
+
place-content: center;
|
|
269
|
+
width: 14px;
|
|
270
|
+
height: 14px;
|
|
271
|
+
margin: 0;
|
|
272
|
+
border: 1px solid rgba(255, 255, 255, 0.32);
|
|
273
|
+
border-radius: 4px;
|
|
274
|
+
background: rgba(255, 255, 255, 0.04);
|
|
275
|
+
color: #fff;
|
|
276
|
+
cursor: pointer;
|
|
277
|
+
transition: background 120ms ease, border-color 120ms ease;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
.fb-scopeask input::after {
|
|
281
|
+
content: '';
|
|
282
|
+
width: 7px;
|
|
283
|
+
height: 4px;
|
|
284
|
+
border: solid currentColor;
|
|
285
|
+
border-width: 0 0 1.5px 1.5px;
|
|
286
|
+
opacity: 0;
|
|
287
|
+
transform: translateY(-1px) rotate(-45deg);
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
.fb-scopeask input:checked {
|
|
291
|
+
border-color: var(--fb-accent);
|
|
292
|
+
background: var(--fb-accent);
|
|
293
|
+
}
|
|
294
|
+
.fb-scopeask input:checked::after { opacity: 1; }
|
|
295
|
+
.fb-scopeask:hover { color: var(--fb-text); }
|
|
296
|
+
.fb-scopeask:hover input { border-color: rgba(255, 255, 255, 0.55); }
|
|
297
|
+
.fb-scopeask input:focus-visible { outline: 2px solid var(--fb-accent); outline-offset: 2px; }
|
|
298
|
+
|
|
299
|
+
/* ---------------- scope picker ---------------- */
|
|
300
|
+
|
|
301
|
+
/* The widen/narrow stepper, in the composer footer beside the other actions. It used to
|
|
302
|
+
be a floating slab positioned against the highlight; on the box it was a second place
|
|
303
|
+
to look, and the placement rule existed only to dodge the pin and the composer. */
|
|
304
|
+
.fb-scope {
|
|
305
|
+
display: inline-flex;
|
|
306
|
+
flex: none;
|
|
307
|
+
/* No track. Two chevrons side by side already read as a pair, and the slab behind
|
|
308
|
+
them was most of what the control occupied. */
|
|
309
|
+
/* Vertical drag is the enhancement on this control; the browser must not claim it
|
|
310
|
+
for scrolling first. */
|
|
311
|
+
touch-action: none;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
.fb-scope__btn {
|
|
315
|
+
display: flex;
|
|
316
|
+
align-items: center;
|
|
317
|
+
justify-content: center;
|
|
318
|
+
width: 20px;
|
|
319
|
+
height: 20px;
|
|
320
|
+
padding: 0;
|
|
321
|
+
border: 0;
|
|
322
|
+
border-radius: 999px;
|
|
323
|
+
background: transparent;
|
|
324
|
+
color: var(--fb-text);
|
|
325
|
+
cursor: pointer;
|
|
326
|
+
transition: background 120ms ease;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
.fb-scope__btn:hover:not(:disabled) {
|
|
330
|
+
background: rgba(255, 255, 255, 0.16);
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
.fb-scope__btn:disabled {
|
|
334
|
+
opacity: 0.3;
|
|
335
|
+
cursor: default;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
/* The reviewer's sign-in. Same surface as the local join dialog, so there is one dialog
|
|
339
|
+
shape on the page rather than two that nearly match. */
|
|
340
|
+
.fb-signin input {
|
|
341
|
+
width: 100%;
|
|
342
|
+
margin: 4px 0 12px;
|
|
343
|
+
padding: 11px 14px;
|
|
344
|
+
border: 0;
|
|
345
|
+
border-radius: 10px;
|
|
346
|
+
background: var(--fb-bg-raised);
|
|
347
|
+
color: var(--fb-text);
|
|
348
|
+
font: inherit;
|
|
349
|
+
font-size: 14px;
|
|
350
|
+
outline: none;
|
|
351
|
+
}
|
|
352
|
+
.fb-signin input:focus { box-shadow: 0 0 0 1px var(--fb-edge); }
|
|
353
|
+
/*
|
|
354
|
+
* Six boxes, the same shape as the dashboard's.
|
|
355
|
+
*
|
|
356
|
+
* One field with wide letter-spacing looked like six and behaved like one: no per-digit
|
|
357
|
+
* caret, no backspace-steps-back, and a pasted code landing as a single blob. The reviewer
|
|
358
|
+
* meets this screen once and under mild friction - they have just been sent a code and
|
|
359
|
+
* want to get back to the page - so it is worth matching the pattern people already know.
|
|
360
|
+
*/
|
|
361
|
+
/* --- notifications (spec 7.2) ---------------------------------------------------------- */
|
|
362
|
+
|
|
363
|
+
/*
|
|
364
|
+
* A dot, not a badge.
|
|
365
|
+
*
|
|
366
|
+
* The count next to the pin toggle is open comments; this one is unread. Two numbers side
|
|
367
|
+
* by side on the same bar, meaning different things, is how someone learns to read neither.
|
|
368
|
+
*/
|
|
369
|
+
.fb-dot {
|
|
370
|
+
position: absolute;
|
|
371
|
+
top: 6px;
|
|
372
|
+
right: 6px;
|
|
373
|
+
width: 7px;
|
|
374
|
+
height: 7px;
|
|
375
|
+
border-radius: 50%;
|
|
376
|
+
background: var(--fb-accent, #3b82f6);
|
|
377
|
+
box-shadow: 0 0 0 2px var(--fb-bg);
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
.fb-bar button { position: relative; }
|
|
381
|
+
|
|
382
|
+
.fb-bell { position: relative; }
|
|
383
|
+
.fb-bell__count {
|
|
384
|
+
position: absolute;
|
|
385
|
+
top: -2px;
|
|
386
|
+
right: -2px;
|
|
387
|
+
min-width: 15px;
|
|
388
|
+
height: 15px;
|
|
389
|
+
padding: 0 4px;
|
|
390
|
+
border-radius: 999px;
|
|
391
|
+
background: var(--fb-accent, #3b82f6);
|
|
392
|
+
color: #fff;
|
|
393
|
+
font-size: 10px;
|
|
394
|
+
font-weight: 600;
|
|
395
|
+
line-height: 15px;
|
|
396
|
+
text-align: center;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
.fb-notegroup { padding: 10px 0 4px; }
|
|
400
|
+
.fb-notegroup__title {
|
|
401
|
+
margin: 0 0 6px;
|
|
402
|
+
padding: 0 14px;
|
|
403
|
+
color: var(--fb-text-muted);
|
|
404
|
+
font-size: 11.5px;
|
|
405
|
+
font-weight: 560;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
.fb-note {
|
|
409
|
+
display: flex;
|
|
410
|
+
gap: 9px;
|
|
411
|
+
padding: 8px 14px;
|
|
412
|
+
cursor: pointer;
|
|
413
|
+
border-left: 2px solid transparent;
|
|
414
|
+
}
|
|
415
|
+
.fb-note:hover { background: var(--fb-bg-raised); }
|
|
416
|
+
/* Unread is a mark in the margin rather than a background: a list where most rows are
|
|
417
|
+
tinted is a list with a colour, not a list with unread items in it. */
|
|
418
|
+
.fb-note.is-unread { border-left-color: var(--fb-accent, #3b82f6); }
|
|
419
|
+
|
|
420
|
+
.fb-note p {
|
|
421
|
+
margin: 0 0 2px;
|
|
422
|
+
font-size: 12.5px;
|
|
423
|
+
line-height: 1.45;
|
|
424
|
+
display: -webkit-box;
|
|
425
|
+
-webkit-line-clamp: 2;
|
|
426
|
+
-webkit-box-orient: vertical;
|
|
427
|
+
overflow: hidden;
|
|
428
|
+
}
|
|
429
|
+
.fb-note small { color: var(--fb-text-faint); font-size: 11px; }
|
|
430
|
+
|
|
431
|
+
.fb-code {
|
|
432
|
+
display: grid;
|
|
433
|
+
grid-template-columns: repeat(6, 1fr);
|
|
434
|
+
gap: 7px;
|
|
435
|
+
margin: 4px 0 12px;
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
.fb-code input[data-fb-code-box] {
|
|
439
|
+
width: 100%;
|
|
440
|
+
margin: 0;
|
|
441
|
+
padding: 10px 0;
|
|
442
|
+
text-align: center;
|
|
443
|
+
font-size: 19px;
|
|
444
|
+
font-weight: 540;
|
|
445
|
+
font-variant-numeric: tabular-nums;
|
|
446
|
+
border-radius: 9px;
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
/* GitHub, Google, Microsoft: quiet full-width pills, the provider's mark the only colour. */
|
|
450
|
+
.fb-providers { display: grid; gap: 8px; margin: 4px 0 2px; }
|
|
451
|
+
.fb-provider {
|
|
452
|
+
position: relative;
|
|
453
|
+
display: flex;
|
|
454
|
+
align-items: center;
|
|
455
|
+
justify-content: center;
|
|
456
|
+
gap: 10px;
|
|
457
|
+
width: 100%;
|
|
458
|
+
height: 42px;
|
|
459
|
+
border-radius: 999px;
|
|
460
|
+
background: var(--fb-bg-raised);
|
|
461
|
+
box-shadow: inset 0 0 0 1px var(--fb-line);
|
|
462
|
+
color: var(--fb-text);
|
|
463
|
+
font-size: 14px;
|
|
464
|
+
font-weight: 560;
|
|
465
|
+
transition: background 120ms ease;
|
|
466
|
+
}
|
|
467
|
+
.fb-provider:hover { background: #404040; }
|
|
468
|
+
.fb-provider svg { flex: none; }
|
|
469
|
+
.fb-providers__or {
|
|
470
|
+
display: flex;
|
|
471
|
+
align-items: center;
|
|
472
|
+
gap: 10px;
|
|
473
|
+
margin: 8px 0 4px;
|
|
474
|
+
color: var(--fb-muted);
|
|
475
|
+
font-size: 12px;
|
|
476
|
+
}
|
|
477
|
+
.fb-providers__or::before, .fb-providers__or::after { content: ''; flex: 1; height: 1px; background: var(--fb-line); }
|
|
478
|
+
/* The method this browser signed in with last time. */
|
|
479
|
+
.fb-last-used {
|
|
480
|
+
display: inline-flex;
|
|
481
|
+
align-items: center;
|
|
482
|
+
height: 18px;
|
|
483
|
+
padding: 0 7px;
|
|
484
|
+
border-radius: 999px;
|
|
485
|
+
background: rgba(59, 130, 246, 0.16);
|
|
486
|
+
color: #7fb0ff;
|
|
487
|
+
font-size: 10.5px;
|
|
488
|
+
font-weight: 600;
|
|
489
|
+
letter-spacing: 0.01em;
|
|
490
|
+
white-space: nowrap;
|
|
491
|
+
}
|
|
492
|
+
/* On the button's top edge, clear of its centred label in a dialog this narrow. */
|
|
493
|
+
.fb-provider .fb-last-used {
|
|
494
|
+
position: absolute; top: -8px; right: 16px;
|
|
495
|
+
background: var(--fb-accent); color: #fff;
|
|
496
|
+
box-shadow: 0 0 0 3px var(--fb-bg);
|
|
497
|
+
}
|
|
498
|
+
.fb-signin__waiting { display: flex; justify-content: center; margin: 14px 0 4px; }
|
|
499
|
+
|
|
500
|
+
/* Attached to the dialog rather than shown as a toast: a toast disappears and the problem
|
|
501
|
+
does not, and this is the moment a reviewer is most likely to give up. */
|
|
502
|
+
.fb-signin__problem {
|
|
503
|
+
margin: 0 0 10px;
|
|
504
|
+
padding: 8px 10px;
|
|
505
|
+
border-radius: 8px;
|
|
506
|
+
background: rgba(239, 68, 68, 0.12);
|
|
507
|
+
box-shadow: 0 0 0 1px var(--fb-danger);
|
|
508
|
+
color: var(--fb-text);
|
|
509
|
+
font-size: 12.5px;
|
|
510
|
+
line-height: 1.45;
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
/* ---------------- pins ---------------- */
|
|
514
|
+
|
|
515
|
+
/* Teardrop: round on three corners, pointed at the bottom-left so the tip marks
|
|
516
|
+
the anchored element the way a map pin marks a place. */
|
|
517
|
+
.fb-pin {
|
|
518
|
+
position: fixed;
|
|
519
|
+
z-index: 2147483642;
|
|
520
|
+
display: grid;
|
|
521
|
+
place-items: center;
|
|
522
|
+
/* Keep in step with pinSize in runtime.ts, which places it by its tail. */
|
|
523
|
+
width: 34px;
|
|
524
|
+
height: 34px;
|
|
525
|
+
padding: 0;
|
|
526
|
+
/* An outside ring, not a border: a border eats into the box, shrinking the dark
|
|
527
|
+
teardrop and leaving the avatar looking cramped inside it. box-shadow follows
|
|
528
|
+
border-radius, so the ring traces the teardrop exactly. */
|
|
529
|
+
border: 0;
|
|
530
|
+
border-radius: 999px 999px 999px 3px;
|
|
531
|
+
background: var(--fb-bg);
|
|
532
|
+
box-shadow: 0 0 0 1.5px var(--fb-edge), 0 4px 14px rgba(0, 0, 0, 0.42);
|
|
533
|
+
transition: transform 110ms ease;
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
.fb-pin:hover { transform: scale(1.07); }
|
|
537
|
+
/* Already white-edged, so the open one widens its halo instead of changing colour. */
|
|
538
|
+
.fb-pin[data-active="true"] {
|
|
539
|
+
box-shadow: 0 0 0 1.5px var(--fb-edge), 0 0 0 4px rgba(255, 255, 255, 0.3), 0 4px 14px rgba(0, 0, 0, 0.42);
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
/* Done, not gone: the pin keeps its place and simply recedes. */
|
|
543
|
+
.fb-pin .fb-avatar { width: 26px; height: 26px; font-size: 11px; }
|
|
544
|
+
|
|
545
|
+
.fb-pin[data-status="resolved"] { opacity: 0.42; }
|
|
546
|
+
.fb-pin[data-status="resolved"]:hover { opacity: 0.75; }
|
|
547
|
+
|
|
548
|
+
.fb-pin[data-orphaned="true"] { box-shadow: 0 0 0 1.5px var(--fb-warn), 0 4px 14px rgba(0, 0, 0, 0.42); }
|
|
549
|
+
|
|
550
|
+
/* The pin for a comment being written: placed, but not yet saved.
|
|
551
|
+
|
|
552
|
+
It used to be pointer-events: none, which took it out of hit-testing entirely - so the
|
|
553
|
+
cursor over it came from whatever page element was behind, and the plugin's own pin
|
|
554
|
+
read as somewhere you could leave another comment. It is hit-tested now and states its
|
|
555
|
+
own cursor; the click it used to pass through to the page is handled directly. */
|
|
556
|
+
.fb-pin[data-pending="true"] {
|
|
557
|
+
cursor: default;
|
|
558
|
+
box-shadow: 0 0 0 1.5px var(--fb-edge), 0 0 0 4px rgba(255, 255, 255, 0.3), 0 4px 14px rgba(0, 0, 0, 0.42);
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
/* The pending pin does not grow under the pointer the way a saved one does: there is
|
|
562
|
+
nothing to open, and it sits exactly where the hand already is. */
|
|
563
|
+
.fb-pin[data-pending="true"]:hover { transform: none; }
|
|
564
|
+
|
|
565
|
+
.fb-pin-count {
|
|
566
|
+
position: absolute;
|
|
567
|
+
top: -3px;
|
|
568
|
+
right: -3px;
|
|
569
|
+
min-width: 15px;
|
|
570
|
+
height: 15px;
|
|
571
|
+
border-radius: 999px;
|
|
572
|
+
border: 2px solid var(--fb-bg);
|
|
573
|
+
background: var(--fb-accent);
|
|
574
|
+
color: #fff;
|
|
575
|
+
font-size: 9px;
|
|
576
|
+
font-weight: 700;
|
|
577
|
+
line-height: 11px;
|
|
578
|
+
text-align: center;
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
/* ---------------- comment card ---------------- */
|
|
582
|
+
|
|
583
|
+
/* A draft has no card around it: the input is the whole thing. */
|
|
584
|
+
.fb-card[data-draft="true"] {
|
|
585
|
+
width: 300px;
|
|
586
|
+
border: 0;
|
|
587
|
+
background: transparent;
|
|
588
|
+
box-shadow: none;
|
|
589
|
+
overflow: visible;
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
.fb-card[data-draft="true"] .fb-composer { padding: 0; }
|
|
593
|
+
|
|
594
|
+
/* A draft is a block, not a pill: the comment text on top, and a footer under it for
|
|
595
|
+
the scope choice and send. The reviewer is answering a question about the comment
|
|
596
|
+
they are writing, so it reads as one thing rather than a badge floating above. */
|
|
597
|
+
.fb-draftblock {
|
|
598
|
+
flex: 1;
|
|
599
|
+
min-width: 0;
|
|
600
|
+
display: flex;
|
|
601
|
+
flex-direction: column;
|
|
602
|
+
border-radius: 14px;
|
|
603
|
+
background: var(--fb-bg);
|
|
604
|
+
box-shadow: 0 0 0 1px var(--fb-edge), 0 14px 36px rgba(0, 0, 0, 0.5);
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
/* Opens at two lines. One line reads as a search box and invites four words; a comment
|
|
608
|
+
that an agent can act on is usually a sentence, and the field should look like it
|
|
609
|
+
expects one. */
|
|
610
|
+
.fb-card[data-draft="true"] textarea {
|
|
611
|
+
min-height: 52px;
|
|
612
|
+
max-height: 140px;
|
|
613
|
+
padding: 10px 12px;
|
|
614
|
+
font-size: 13px;
|
|
615
|
+
line-height: 1.4;
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
/* A ruled footer, so the actions read as a band under the comment rather than as more
|
|
619
|
+
content inside it. */
|
|
620
|
+
.fb-draftblock__foot {
|
|
621
|
+
display: flex;
|
|
622
|
+
align-items: flex-end;
|
|
623
|
+
/* Empty on the left when there is nothing to adjust, so the send button still lands
|
|
624
|
+
where it always does rather than sliding across as controls appear. */
|
|
625
|
+
justify-content: space-between;
|
|
626
|
+
gap: 8px;
|
|
627
|
+
/* Left padding matches the textarea's, so the first control lines up with the first
|
|
628
|
+
character of the comment above it. */
|
|
629
|
+
padding: 6px 8px 6px 12px;
|
|
630
|
+
border-top: 1px solid rgba(255, 255, 255, 0.09);
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
.fb-foot-stack {
|
|
634
|
+
display: flex;
|
|
635
|
+
flex-direction: column;
|
|
636
|
+
align-items: flex-start;
|
|
637
|
+
gap: 4px;
|
|
638
|
+
min-width: 0;
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
.fb-foot-actions {
|
|
642
|
+
display: flex;
|
|
643
|
+
align-items: center;
|
|
644
|
+
/* Wider than the gap inside either control, so the two read as two things. */
|
|
645
|
+
gap: 10px;
|
|
646
|
+
min-width: 0;
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
/*
|
|
650
|
+
* A write in flight.
|
|
651
|
+
*
|
|
652
|
+
* currentColor so it inherits whatever the button it replaced was using, in both the
|
|
653
|
+
* filled and the quiet state - one rule instead of one per surface. Respects
|
|
654
|
+
* prefers-reduced-motion by holding still rather than disappearing: a static ring still
|
|
655
|
+
* says "busy", and removing the indicator entirely would leave a dead button.
|
|
656
|
+
*/
|
|
657
|
+
.fb-spinner {
|
|
658
|
+
display: block;
|
|
659
|
+
flex: none;
|
|
660
|
+
transform-origin: 50% 50%;
|
|
661
|
+
animation: fb-spin 0.7s linear infinite;
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
/* Busy is not unavailable: the button keeps its filled look while the write is in flight,
|
|
665
|
+
rather than fading to the grey of an empty field. */
|
|
666
|
+
.fb-send[aria-busy="true"],
|
|
667
|
+
.fb-card .fb-send[aria-busy="true"] {
|
|
668
|
+
opacity: 1;
|
|
669
|
+
background: var(--fb-accent);
|
|
670
|
+
color: #fff;
|
|
671
|
+
cursor: progress;
|
|
672
|
+
}
|
|
673
|
+
.fb-threadblock__save[aria-busy="true"] { opacity: 1; cursor: progress; }
|
|
674
|
+
|
|
675
|
+
@keyframes fb-spin { to { transform: rotate(360deg); } }
|
|
676
|
+
|
|
677
|
+
@media (prefers-reduced-motion: reduce) {
|
|
678
|
+
.fb-spinner { animation: none; }
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
/* A disabled field must not read as an empty one: the words are still there. */
|
|
682
|
+
.fb-card textarea:disabled {
|
|
683
|
+
opacity: 0.6;
|
|
684
|
+
cursor: default;
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
.fb-card[data-draft="true"] .fb-send {
|
|
688
|
+
flex: none;
|
|
689
|
+
width: 26px;
|
|
690
|
+
height: 26px;
|
|
691
|
+
margin: 0;
|
|
692
|
+
margin-left: auto;
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
/* Filled once there is something to send. Grey on grey, it read as decoration, and the
|
|
696
|
+
one action the reviewer must find should not be the quietest thing in the footer. */
|
|
697
|
+
.fb-card[data-draft="true"] .fb-send:not(:disabled) {
|
|
698
|
+
background: var(--fb-accent);
|
|
699
|
+
color: #fff;
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
/* A reply is the same act as a first comment, so it gets the same control: same
|
|
703
|
+
height, same type, same send button. Only the drop shadow is dropped, since this
|
|
704
|
+
one sits inside a card rather than floating over the page. */
|
|
705
|
+
.fb-card[data-draft="false"] .fb-input-wrap {
|
|
706
|
+
min-height: 34px;
|
|
707
|
+
background: var(--fb-bg);
|
|
708
|
+
box-shadow: 0 0 0 1px var(--fb-edge);
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
.fb-card[data-draft="false"] textarea {
|
|
712
|
+
min-height: 30px;
|
|
713
|
+
padding: 6px 2px 6px 14px;
|
|
714
|
+
font-size: 13px;
|
|
715
|
+
line-height: 1.4;
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
.fb-card[data-draft="false"] .fb-send {
|
|
719
|
+
width: 24px;
|
|
720
|
+
height: 24px;
|
|
721
|
+
margin: 3px 3px 3px 0;
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
.fb-card {
|
|
725
|
+
position: fixed;
|
|
726
|
+
z-index: 2147483645;
|
|
727
|
+
display: none;
|
|
728
|
+
width: 372px;
|
|
729
|
+
max-width: calc(100vw - 24px);
|
|
730
|
+
border: 1px solid var(--fb-line);
|
|
731
|
+
border-radius: 14px;
|
|
732
|
+
background: var(--fb-bg);
|
|
733
|
+
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
|
|
734
|
+
overflow: hidden;
|
|
735
|
+
color: var(--fb-text);
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
.fb-card-head {
|
|
739
|
+
display: flex;
|
|
740
|
+
align-items: center;
|
|
741
|
+
justify-content: space-between;
|
|
742
|
+
gap: 8px;
|
|
743
|
+
/* Tight: it is a label and three actions, not a section of its own. */
|
|
744
|
+
padding: 8px 9px 8px 16px;
|
|
745
|
+
border-bottom: 1px solid var(--fb-line);
|
|
746
|
+
}
|
|
747
|
+
|
|
748
|
+
.fb-card-title { font-size: 13px; font-weight: 500; color: var(--fb-muted); }
|
|
749
|
+
|
|
750
|
+
.fb-card[data-resolved="true"] .fb-card-body,
|
|
751
|
+
.fb-card[data-resolved="true"] .fb-composer { opacity: 0.5; }
|
|
752
|
+
.fb-card[data-resolved="true"] .fb-card-title { color: var(--fb-muted); }
|
|
753
|
+
|
|
754
|
+
.fb-head-actions { display: flex; align-items: center; gap: 2px; }
|
|
755
|
+
|
|
756
|
+
.fb-icon-btn {
|
|
757
|
+
width: 26px;
|
|
758
|
+
height: 26px;
|
|
759
|
+
border-radius: 999px;
|
|
760
|
+
color: rgba(242, 242, 242, 0.66);
|
|
761
|
+
transition: background 120ms ease, color 120ms ease;
|
|
762
|
+
}
|
|
763
|
+
.fb-icon-btn:hover { background: rgba(255, 255, 255, 0.09); color: var(--fb-text); }
|
|
764
|
+
.fb-icon-btn[data-tone="danger"]:hover { background: rgba(239, 68, 68, 0.16); color: #fca5a5; }
|
|
765
|
+
|
|
766
|
+
.fb-card-body { max-height: 320px; overflow-y: auto; padding: 4px 18px 0; }
|
|
767
|
+
|
|
768
|
+
.fb-message { padding: 12px 0; }
|
|
769
|
+
.fb-message + .fb-message { border-top: 1px solid rgba(255, 255, 255, 0.06); }
|
|
770
|
+
|
|
771
|
+
.fb-message-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
|
|
772
|
+
.fb-message-head b { font-size: 13.5px; font-weight: 500; }
|
|
773
|
+
.fb-message-head time { color: var(--fb-muted); font-size: 12.5px; }
|
|
774
|
+
|
|
775
|
+
/* Records that the text changed, not what it was. Quiet on purpose: it is provenance,
|
|
776
|
+
not news. */
|
|
777
|
+
.fb-edited {
|
|
778
|
+
color: var(--fb-muted);
|
|
779
|
+
font-size: 11px;
|
|
780
|
+
font-style: italic;
|
|
781
|
+
}
|
|
782
|
+
.fb-edited::before { content: '· '; font-style: normal; }
|
|
783
|
+
|
|
784
|
+
/* Revealed on hover, and pushed to the end of the head row so the name and time keep
|
|
785
|
+
their positions whether or not the message is yours. */
|
|
786
|
+
.fb-message__edit {
|
|
787
|
+
margin-left: auto;
|
|
788
|
+
width: 22px;
|
|
789
|
+
height: 22px;
|
|
790
|
+
opacity: 0;
|
|
791
|
+
transition: opacity 110ms ease;
|
|
792
|
+
}
|
|
793
|
+
.fb-message:hover .fb-message__edit,
|
|
794
|
+
.fb-message__edit:focus-visible { opacity: 1; }
|
|
795
|
+
|
|
796
|
+
/* The thread's one field, with a bar under it that is always there and simply changes
|
|
797
|
+
what it offers. Editing borrows this box rather than opening a second one inside the
|
|
798
|
+
message, so the card never changes shape when an edit starts. */
|
|
799
|
+
.fb-threadblock {
|
|
800
|
+
flex: 1;
|
|
801
|
+
min-width: 0;
|
|
802
|
+
display: flex;
|
|
803
|
+
flex-direction: column;
|
|
804
|
+
border-radius: 14px;
|
|
805
|
+
background: var(--fb-bg);
|
|
806
|
+
box-shadow: 0 0 0 1px var(--fb-edge);
|
|
807
|
+
}
|
|
808
|
+
|
|
809
|
+
.fb-threadblock[data-editing="true"] {
|
|
810
|
+
box-shadow: 0 0 0 1px var(--fb-accent);
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
.fb-card[data-draft="false"] .fb-threadblock textarea {
|
|
814
|
+
min-height: 34px;
|
|
815
|
+
max-height: 140px;
|
|
816
|
+
padding: 9px 12px 5px;
|
|
817
|
+
font-size: 13px;
|
|
818
|
+
line-height: 1.4;
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
.fb-threadblock__foot {
|
|
822
|
+
display: flex;
|
|
823
|
+
align-items: center;
|
|
824
|
+
justify-content: flex-end;
|
|
825
|
+
gap: 8px;
|
|
826
|
+
padding: 0 7px 7px;
|
|
827
|
+
}
|
|
828
|
+
|
|
829
|
+
.fb-card[data-draft="false"] .fb-threadblock .fb-send {
|
|
830
|
+
flex: none;
|
|
831
|
+
width: 26px;
|
|
832
|
+
height: 26px;
|
|
833
|
+
margin: 0;
|
|
834
|
+
}
|
|
835
|
+
.fb-card[data-draft="false"] .fb-threadblock .fb-send:not(:disabled) {
|
|
836
|
+
background: var(--fb-accent);
|
|
837
|
+
color: #fff;
|
|
838
|
+
}
|
|
839
|
+
|
|
840
|
+
/* Its own buttons rather than .fb-primary and .fb-link: those belong to the join dialog,
|
|
841
|
+
and .fb-primary is width:100% by design there. Borrowed here it filled the whole card. */
|
|
842
|
+
.fb-threadblock__save {
|
|
843
|
+
height: 26px;
|
|
844
|
+
padding: 0 14px;
|
|
845
|
+
border-radius: 999px;
|
|
846
|
+
background: var(--fb-accent);
|
|
847
|
+
color: #fff;
|
|
848
|
+
font-size: 12px;
|
|
849
|
+
font-weight: 600;
|
|
850
|
+
}
|
|
851
|
+
.fb-threadblock__save:hover:not(:disabled) { background: #2f76ec; }
|
|
852
|
+
.fb-threadblock__save:disabled { opacity: 0.42; cursor: not-allowed; }
|
|
853
|
+
|
|
854
|
+
.fb-threadblock__cancel {
|
|
855
|
+
height: 26px;
|
|
856
|
+
padding: 0 10px;
|
|
857
|
+
border-radius: 999px;
|
|
858
|
+
background: transparent;
|
|
859
|
+
color: var(--fb-muted);
|
|
860
|
+
font-size: 12px;
|
|
861
|
+
}
|
|
862
|
+
.fb-threadblock__cancel:hover { color: var(--fb-text); }
|
|
863
|
+
/* Attachments: the paperclip, the files of the message being written, a sent message's files and
|
|
864
|
+
the full-size view. */
|
|
865
|
+
[data-fb-file-input] { display: none !important; }
|
|
866
|
+
.fb-attach { flex: none; display: inline-grid; place-items: center; }
|
|
867
|
+
.fb-attach:disabled { opacity: 0.42; cursor: not-allowed; }
|
|
868
|
+
.fb-record { color: var(--fb-danger); }
|
|
869
|
+
/* While the page is recorded only the indicator is left: the page is the reviewer's. */
|
|
870
|
+
:host([data-recording]) [data-fb-bar], :host([data-recording]) [data-fb-pins], :host([data-recording]) [data-fb-popover],
|
|
871
|
+
:host([data-recording]) [data-fb-panel], :host([data-recording]) [data-fb-chip], :host([data-recording]) [data-fb-toast],
|
|
872
|
+
:host([data-recording]) [data-fb-highlight] { display: none !important; }
|
|
873
|
+
.fb-recorder {
|
|
874
|
+
position: fixed; left: 50%; bottom: 20px; z-index: 2147483647; transform: translateX(-50%);
|
|
875
|
+
display: flex; align-items: center; gap: 10px; padding: 7px 8px 7px 14px;
|
|
876
|
+
border: 1px solid var(--fb-line); border-radius: 999px; background: var(--fb-bg); color: var(--fb-text);
|
|
877
|
+
font-size: 12.5px; box-shadow: 0 12px 34px rgba(0, 0, 0, 0.5);
|
|
878
|
+
}
|
|
879
|
+
.fb-recorder[hidden] { display: none; }
|
|
880
|
+
.fb-recorder__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--fb-danger); animation: fb-recording 1.2s ease-in-out infinite; }
|
|
881
|
+
.fb-recorder__time { font-variant-numeric: tabular-nums; color: var(--fb-muted); }
|
|
882
|
+
.fb-recorder__stop { padding: 5px 12px; border: 0; border-radius: 999px; background: var(--fb-danger); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
|
|
883
|
+
.fb-recorder__stop:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
|
|
884
|
+
@keyframes fb-recording { 50% { opacity: 0.25; } }
|
|
885
|
+
@media (prefers-reduced-motion: reduce) { .fb-recorder__dot { animation: none; } }
|
|
886
|
+
.fb-threadblock__foot .fb-attach { margin-right: auto; }
|
|
887
|
+
.fb-tray { padding: 0 12px 8px; display: grid; gap: 6px; }
|
|
888
|
+
/* Up to five files, all on one row: every item is the same 48px square, documents included. */
|
|
889
|
+
.fb-tray__items { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 6px; }
|
|
890
|
+
.fb-tray__item {
|
|
891
|
+
position: relative; display: inline-flex; align-items: center; justify-content: center; flex: none; width: 48px; height: 48px;
|
|
892
|
+
border-radius: 8px; background: var(--fb-bg-raised); box-shadow: inset 0 0 0 1px var(--fb-line); overflow: hidden;
|
|
893
|
+
}
|
|
894
|
+
.fb-tray__item[data-state="failed"] { box-shadow: inset 0 0 0 1px var(--fb-danger); }
|
|
895
|
+
.fb-tray__thumb { display: block; width: 48px; height: 48px; object-fit: cover; }
|
|
896
|
+
.fb-tray__doc, .fb-file__doc {
|
|
897
|
+
display: grid; justify-items: center; align-content: center; gap: 3px; width: 100%; height: 100%; color: var(--fb-text);
|
|
898
|
+
}
|
|
899
|
+
.fb-doc-ext { max-width: 100%; padding: 0 3px; font-size: 9px; font-weight: 700; letter-spacing: 0.04em; line-height: 1; color: var(--fb-muted); overflow: hidden; }
|
|
900
|
+
/* Read out, not shown: a tile's name and size (its tooltip shows them too). */
|
|
901
|
+
.fb-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
|
|
902
|
+
.fb-tray__progress {
|
|
903
|
+
position: absolute; left: 4px; right: 4px; bottom: 3px; width: auto; height: 3px;
|
|
904
|
+
appearance: none; -webkit-appearance: none; border: 0; border-radius: 2px; background: rgba(255, 255, 255, 0.14);
|
|
905
|
+
}
|
|
906
|
+
.fb-tray__progress::-webkit-progress-bar { background: transparent; }
|
|
907
|
+
.fb-tray__progress::-webkit-progress-value { background: var(--fb-accent); border-radius: 2px; }
|
|
908
|
+
.fb-tray__progress::-moz-progress-bar { background: var(--fb-accent); }
|
|
909
|
+
/* On a 48px thumbnail "Did not upload" takes two lines; on a chip it fits on one. */
|
|
910
|
+
.fb-tray__error {
|
|
911
|
+
position: absolute; left: 0; right: 0; bottom: 0; padding: 2px 4px; font-size: 10px; line-height: 1.2; text-align: center;
|
|
912
|
+
background: rgba(239, 68, 68, 0.92); color: #fff; overflow: hidden;
|
|
913
|
+
}
|
|
914
|
+
.fb-tray__remove {
|
|
915
|
+
position: absolute; top: 3px; right: 3px; width: 18px; height: 18px; display: grid; place-items: center;
|
|
916
|
+
border-radius: 50%; background: rgba(0, 0, 0, 0.62); color: #fff;
|
|
917
|
+
}
|
|
918
|
+
.fb-tray__remove:hover { background: rgba(0, 0, 0, 0.85); }
|
|
919
|
+
.fb-tray__notice { font-size: 12px; color: var(--fb-warn); }
|
|
920
|
+
/* Under the words, lined up with them (past the avatar, as .fb-message p). */
|
|
921
|
+
.fb-files { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 6px; margin-top: 8px; padding-left: 36px; }
|
|
922
|
+
/* Five 52px squares fit the thread's width on one row, documents included. */
|
|
923
|
+
.fb-file {
|
|
924
|
+
display: inline-flex; align-items: center; gap: 6px; border-radius: 8px; background: var(--fb-bg-raised);
|
|
925
|
+
box-shadow: inset 0 0 0 1px var(--fb-line); color: var(--fb-text);
|
|
926
|
+
}
|
|
927
|
+
.fb-file--image, .fb-file--doc { position: relative; flex: none; width: 52px; height: 52px; padding: 0; justify-content: center; overflow: hidden; }
|
|
928
|
+
.fb-file--image { cursor: zoom-in; }
|
|
929
|
+
.fb-file--image img { display: block; width: 100%; height: 100%; object-fit: cover; }
|
|
930
|
+
.fb-file__wait { color: var(--fb-muted); }
|
|
931
|
+
.fb-lightbox {
|
|
932
|
+
position: fixed; inset: 0; z-index: 2147483647; display: grid; place-items: center; padding: 32px;
|
|
933
|
+
background: rgba(0, 0, 0, 0.82); cursor: zoom-out;
|
|
934
|
+
}
|
|
935
|
+
.fb-lightbox[hidden] { display: none; }
|
|
936
|
+
.fb-lightbox img { max-width: calc(100vw - 64px); max-height: calc(100vh - 64px); object-fit: contain; border-radius: 8px; cursor: default; }
|
|
937
|
+
.fb-lightbox__close { position: absolute; top: 16px; right: 16px; background: rgba(0, 0, 0, 0.5); color: #fff; }
|
|
938
|
+
|
|
939
|
+
/* The message the field is currently holding. Dimmed rather than hidden: it is still the
|
|
940
|
+
thread, and losing a line from it while editing would be disorienting. */
|
|
941
|
+
.fb-message[data-editing="true"] { opacity: 0.45; }
|
|
942
|
+
|
|
943
|
+
.fb-message p {
|
|
944
|
+
margin: 0;
|
|
945
|
+
/* Lines up under the name: avatar plus the gap beside it. */
|
|
946
|
+
padding-left: 36px;
|
|
947
|
+
font-size: 13.5px;
|
|
948
|
+
font-weight: 400;
|
|
949
|
+
line-height: 1.55;
|
|
950
|
+
word-break: break-word;
|
|
951
|
+
white-space: pre-wrap;
|
|
952
|
+
}
|
|
953
|
+
|
|
954
|
+
.fb-message code { color: var(--fb-muted); font-size: 11px; }
|
|
955
|
+
|
|
956
|
+
/* ---------------- composer ---------------- */
|
|
957
|
+
|
|
958
|
+
.fb-composer { display: flex; align-items: flex-start; gap: 10px; padding: 12px 18px 16px; }
|
|
959
|
+
|
|
960
|
+
/* Everything that stacks above the input lives here. The composer itself is a row, so a
|
|
961
|
+
child added directly to it becomes a column beside the input rather than a band over
|
|
962
|
+
it. min-width:0 so a long word cannot push the stack wider than the card. */
|
|
963
|
+
.fb-composer-stack {
|
|
964
|
+
position: relative;
|
|
965
|
+
display: flex;
|
|
966
|
+
flex-direction: column;
|
|
967
|
+
flex: 1;
|
|
968
|
+
min-width: 0;
|
|
969
|
+
}
|
|
970
|
+
|
|
971
|
+
.fb-input-wrap {
|
|
972
|
+
position: relative;
|
|
973
|
+
flex: 1;
|
|
974
|
+
display: flex;
|
|
975
|
+
align-items: center;
|
|
976
|
+
border: 0;
|
|
977
|
+
border-radius: 999px;
|
|
978
|
+
background: var(--fb-bg-raised);
|
|
979
|
+
transition: box-shadow 120ms ease;
|
|
980
|
+
}
|
|
981
|
+
|
|
982
|
+
.fb-input-wrap:focus-within { box-shadow: 0 0 0 1px var(--fb-edge); }
|
|
983
|
+
/* Only once the text really wraps does bottom alignment make sense; on one line it
|
|
984
|
+
just pushes the text and the send button off centre. data-tall is set by the grow
|
|
985
|
+
handler when the field outgrows a single line. */
|
|
986
|
+
.fb-input-wrap[data-tall="true"] { border-radius: 18px; align-items: flex-end; }
|
|
987
|
+
|
|
988
|
+
textarea {
|
|
989
|
+
flex: 1;
|
|
990
|
+
min-height: 44px;
|
|
991
|
+
max-height: 160px;
|
|
992
|
+
resize: none;
|
|
993
|
+
border: 0;
|
|
994
|
+
background: transparent;
|
|
995
|
+
padding: 13px 6px 13px 18px;
|
|
996
|
+
color: var(--fb-text);
|
|
997
|
+
font: inherit;
|
|
998
|
+
font-size: 14px;
|
|
999
|
+
line-height: 1.45;
|
|
1000
|
+
outline: none;
|
|
1001
|
+
}
|
|
1002
|
+
|
|
1003
|
+
textarea::placeholder { color: var(--fb-muted); }
|
|
1004
|
+
|
|
1005
|
+
.fb-send {
|
|
1006
|
+
flex: none;
|
|
1007
|
+
width: 34px;
|
|
1008
|
+
height: 34px;
|
|
1009
|
+
margin: 5px 5px 5px 0;
|
|
1010
|
+
border-radius: 999px;
|
|
1011
|
+
background: rgba(255, 255, 255, 0.13);
|
|
1012
|
+
color: var(--fb-text);
|
|
1013
|
+
transition: background 120ms ease, opacity 120ms ease;
|
|
1014
|
+
}
|
|
1015
|
+
.fb-send:hover:not(:disabled) { background: var(--fb-accent); }
|
|
1016
|
+
.fb-send:disabled { opacity: 0.4; cursor: not-allowed; }
|
|
1017
|
+
|
|
1018
|
+
|
|
1019
|
+
.fb-anchor-note {
|
|
1020
|
+
display: flex;
|
|
1021
|
+
align-items: center;
|
|
1022
|
+
justify-content: space-between;
|
|
1023
|
+
gap: 12px;
|
|
1024
|
+
padding: 10px 18px 0;
|
|
1025
|
+
color: var(--fb-muted);
|
|
1026
|
+
font-size: 11.5px;
|
|
1027
|
+
}
|
|
1028
|
+
.fb-anchor-note code { flex: none; font-size: 10.5px; opacity: 0.8; }
|
|
1029
|
+
|
|
1030
|
+
/* ---------------- join dialog ---------------- */
|
|
1031
|
+
|
|
1032
|
+
.fb-scrim {
|
|
1033
|
+
position: fixed;
|
|
1034
|
+
inset: 0;
|
|
1035
|
+
z-index: 2147483646;
|
|
1036
|
+
display: none;
|
|
1037
|
+
place-items: center;
|
|
1038
|
+
background: rgba(0, 0, 0, 0.55);
|
|
1039
|
+
backdrop-filter: blur(3px);
|
|
1040
|
+
}
|
|
1041
|
+
.fb-scrim[data-open="true"] { display: grid; }
|
|
1042
|
+
|
|
1043
|
+
.fb-dialog {
|
|
1044
|
+
position: relative;
|
|
1045
|
+
width: 372px;
|
|
1046
|
+
max-width: calc(100vw - 32px);
|
|
1047
|
+
padding: 26px;
|
|
1048
|
+
border: 1px solid var(--fb-line);
|
|
1049
|
+
border-radius: 16px;
|
|
1050
|
+
background: var(--fb-bg);
|
|
1051
|
+
box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6);
|
|
1052
|
+
color: var(--fb-text);
|
|
1053
|
+
text-align: center;
|
|
1054
|
+
}
|
|
1055
|
+
|
|
1056
|
+
.fb-dialog-close { position: absolute; top: 12px; right: 12px; }
|
|
1057
|
+
|
|
1058
|
+
.fb-dialog h2 { margin: 0 0 8px; font-size: 19px; font-weight: 650; }
|
|
1059
|
+
.fb-dialog p { margin: 0 0 20px; color: var(--fb-muted); font-size: 13.5px; line-height: 1.55; }
|
|
1060
|
+
|
|
1061
|
+
.fb-dialog .fb-avatar { margin: 0 auto 16px; }
|
|
1062
|
+
|
|
1063
|
+
.fb-dialog input {
|
|
1064
|
+
width: 100%;
|
|
1065
|
+
height: 46px;
|
|
1066
|
+
margin-bottom: 12px;
|
|
1067
|
+
padding: 0 16px;
|
|
1068
|
+
border: 0;
|
|
1069
|
+
border-radius: 999px;
|
|
1070
|
+
background: var(--fb-bg-raised);
|
|
1071
|
+
color: var(--fb-text);
|
|
1072
|
+
font: inherit;
|
|
1073
|
+
font-size: 14.5px;
|
|
1074
|
+
text-align: center;
|
|
1075
|
+
outline: none;
|
|
1076
|
+
}
|
|
1077
|
+
.fb-dialog input:focus { box-shadow: 0 0 0 1px var(--fb-edge); }
|
|
1078
|
+
.fb-dialog input::placeholder { color: var(--fb-muted); }
|
|
1079
|
+
|
|
1080
|
+
.fb-primary {
|
|
1081
|
+
width: 100%;
|
|
1082
|
+
height: 44px;
|
|
1083
|
+
border-radius: 999px;
|
|
1084
|
+
background: var(--fb-accent);
|
|
1085
|
+
color: #fff;
|
|
1086
|
+
font-size: 14.5px;
|
|
1087
|
+
font-weight: 650;
|
|
1088
|
+
}
|
|
1089
|
+
.fb-primary:hover:not(:disabled) { background: #2f76ec; }
|
|
1090
|
+
.fb-primary:disabled { opacity: 0.42; cursor: not-allowed; }
|
|
1091
|
+
|
|
1092
|
+
.fb-link {
|
|
1093
|
+
margin-top: 12px;
|
|
1094
|
+
color: var(--fb-muted);
|
|
1095
|
+
font-size: 12.5px;
|
|
1096
|
+
text-decoration: underline;
|
|
1097
|
+
text-underline-offset: 2px;
|
|
1098
|
+
}
|
|
1099
|
+
.fb-link:hover { color: var(--fb-text); }
|
|
1100
|
+
|
|
1101
|
+
/* ---------------- panel ---------------- */
|
|
1102
|
+
|
|
1103
|
+
.fb-panel {
|
|
1104
|
+
position: fixed;
|
|
1105
|
+
top: 14px;
|
|
1106
|
+
right: 14px;
|
|
1107
|
+
bottom: 14px;
|
|
1108
|
+
z-index: 2147483644;
|
|
1109
|
+
display: none;
|
|
1110
|
+
width: 372px;
|
|
1111
|
+
max-width: calc(100vw - 28px);
|
|
1112
|
+
border: 1px solid var(--fb-line);
|
|
1113
|
+
border-radius: 16px;
|
|
1114
|
+
background: var(--fb-bg);
|
|
1115
|
+
box-shadow: 0 22px 64px rgba(0, 0, 0, 0.55);
|
|
1116
|
+
overflow: hidden;
|
|
1117
|
+
color: var(--fb-text);
|
|
1118
|
+
}
|
|
1119
|
+
|
|
1120
|
+
.fb-panel-content {
|
|
1121
|
+
display: grid;
|
|
1122
|
+
grid-template-rows: auto auto 1fr auto;
|
|
1123
|
+
height: 100%;
|
|
1124
|
+
}
|
|
1125
|
+
|
|
1126
|
+
/* Rises out of the footer and settles over the list, then leaves on its own. */
|
|
1127
|
+
.fb-panel-toast {
|
|
1128
|
+
position: absolute;
|
|
1129
|
+
left: 14px;
|
|
1130
|
+
right: 14px;
|
|
1131
|
+
bottom: 78px;
|
|
1132
|
+
z-index: 1;
|
|
1133
|
+
opacity: 0;
|
|
1134
|
+
transform: translateY(14px);
|
|
1135
|
+
pointer-events: none;
|
|
1136
|
+
transition: opacity 200ms ease, transform 240ms cubic-bezier(0.2, 0.9, 0.3, 1);
|
|
1137
|
+
}
|
|
1138
|
+
|
|
1139
|
+
.fb-panel-toast[data-open="true"] { opacity: 1; transform: none; pointer-events: auto; }
|
|
1140
|
+
|
|
1141
|
+
.fb-panel-toast button {
|
|
1142
|
+
display: flex;
|
|
1143
|
+
gap: 10px;
|
|
1144
|
+
width: 100%;
|
|
1145
|
+
align-items: center;
|
|
1146
|
+
padding: 9px 18px 9px 9px;
|
|
1147
|
+
border: 1px solid var(--fb-line);
|
|
1148
|
+
border-radius: 999px;
|
|
1149
|
+
background: var(--fb-bg-raised);
|
|
1150
|
+
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
|
|
1151
|
+
text-align: left;
|
|
1152
|
+
}
|
|
1153
|
+
|
|
1154
|
+
/* Same round mark as an avatar, at the same size, so the row reads as one family. */
|
|
1155
|
+
.fb-toast-icon {
|
|
1156
|
+
display: grid;
|
|
1157
|
+
place-items: center;
|
|
1158
|
+
width: 26px;
|
|
1159
|
+
height: 26px;
|
|
1160
|
+
flex: none;
|
|
1161
|
+
border-radius: 999px;
|
|
1162
|
+
background: #2f9e63;
|
|
1163
|
+
color: #fff;
|
|
1164
|
+
}
|
|
1165
|
+
|
|
1166
|
+
.fb-panel-toast b { display: block; font-size: 13px; font-weight: 650; }
|
|
1167
|
+
.fb-panel-toast em {
|
|
1168
|
+
display: block;
|
|
1169
|
+
margin-top: 2px;
|
|
1170
|
+
color: var(--fb-muted);
|
|
1171
|
+
font-size: 11.5px;
|
|
1172
|
+
font-style: normal;
|
|
1173
|
+
}
|
|
1174
|
+
.fb-panel-toast code { font-size: 11px; color: var(--fb-text); }
|
|
1175
|
+
|
|
1176
|
+
.fb-panel-head {
|
|
1177
|
+
display: flex;
|
|
1178
|
+
align-items: center;
|
|
1179
|
+
justify-content: space-between;
|
|
1180
|
+
padding: 15px 12px 15px 18px;
|
|
1181
|
+
border-bottom: 1px solid var(--fb-line);
|
|
1182
|
+
}
|
|
1183
|
+
.fb-panel-head h2 { margin: 0; font-size: 15px; font-weight: 650; }
|
|
1184
|
+
.fb-panel-head p { margin: 2px 0 0; color: var(--fb-muted); font-size: 12px; }
|
|
1185
|
+
|
|
1186
|
+
.fb-segmented {
|
|
1187
|
+
display: flex;
|
|
1188
|
+
gap: 2px;
|
|
1189
|
+
margin: 12px 18px;
|
|
1190
|
+
padding: 3px;
|
|
1191
|
+
border-radius: 999px;
|
|
1192
|
+
background: var(--fb-bg-raised);
|
|
1193
|
+
}
|
|
1194
|
+
.fb-segmented button {
|
|
1195
|
+
flex: 1;
|
|
1196
|
+
height: 28px;
|
|
1197
|
+
border-radius: 999px;
|
|
1198
|
+
color: var(--fb-muted);
|
|
1199
|
+
font-size: 12px;
|
|
1200
|
+
font-weight: 600;
|
|
1201
|
+
}
|
|
1202
|
+
.fb-segmented button[aria-pressed="true"] { background: rgba(255, 255, 255, 0.13); color: var(--fb-text); }
|
|
1203
|
+
|
|
1204
|
+
.fb-list { overflow-y: auto; padding: 0 14px 14px; }
|
|
1205
|
+
|
|
1206
|
+
.fb-file-group { margin-top: 14px; }
|
|
1207
|
+
.fb-file-group > h3 {
|
|
1208
|
+
position: sticky;
|
|
1209
|
+
top: 0;
|
|
1210
|
+
margin: 0 0 7px;
|
|
1211
|
+
padding: 5px 4px;
|
|
1212
|
+
background: var(--fb-bg);
|
|
1213
|
+
color: var(--fb-muted);
|
|
1214
|
+
font-size: 10.5px;
|
|
1215
|
+
font-weight: 700;
|
|
1216
|
+
letter-spacing: 0.05em;
|
|
1217
|
+
text-transform: uppercase;
|
|
1218
|
+
}
|
|
1219
|
+
|
|
1220
|
+
.fb-item {
|
|
1221
|
+
display: grid;
|
|
1222
|
+
grid-template-columns: auto 1fr auto;
|
|
1223
|
+
gap: 10px;
|
|
1224
|
+
align-items: start;
|
|
1225
|
+
width: 100%;
|
|
1226
|
+
padding: 11px;
|
|
1227
|
+
border: 1px solid transparent;
|
|
1228
|
+
border-radius: 11px;
|
|
1229
|
+
background: var(--fb-bg-raised);
|
|
1230
|
+
margin-bottom: 7px;
|
|
1231
|
+
text-align: left;
|
|
1232
|
+
cursor: pointer;
|
|
1233
|
+
transition: border-color 120ms ease;
|
|
1234
|
+
}
|
|
1235
|
+
.fb-item:hover { border-color: rgba(255, 255, 255, 0.2); }
|
|
1236
|
+
.fb-item[data-status="resolved"] { opacity: 0.5; }
|
|
1237
|
+
.fb-item p { margin: 0 0 4px; font-size: 13px; line-height: 1.45; }
|
|
1238
|
+
.fb-item small { color: var(--fb-muted); font-size: 11px; }
|
|
1239
|
+
|
|
1240
|
+
.fb-select {
|
|
1241
|
+
width: 20px;
|
|
1242
|
+
height: 20px;
|
|
1243
|
+
border-radius: 6px;
|
|
1244
|
+
border: 1.5px solid rgba(255, 255, 255, 0.24);
|
|
1245
|
+
color: transparent;
|
|
1246
|
+
}
|
|
1247
|
+
.fb-select[data-selected="true"] { background: var(--fb-accent); border-color: var(--fb-accent); color: #fff; }
|
|
1248
|
+
|
|
1249
|
+
.fb-empty { padding: 34px 14px; color: var(--fb-muted); font-size: 13px; text-align: center; line-height: 1.6; }
|
|
1250
|
+
|
|
1251
|
+
.fb-panel-foot {
|
|
1252
|
+
display: grid;
|
|
1253
|
+
gap: 10px;
|
|
1254
|
+
padding: 14px 18px;
|
|
1255
|
+
border-top: 1px solid var(--fb-line);
|
|
1256
|
+
}
|
|
1257
|
+
.fb-panel-foot .fb-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
|
|
1258
|
+
.fb-panel-foot .fb-primary {
|
|
1259
|
+
width: auto;
|
|
1260
|
+
height: 38px;
|
|
1261
|
+
flex: none;
|
|
1262
|
+
padding: 0 16px;
|
|
1263
|
+
font-size: 13px;
|
|
1264
|
+
white-space: nowrap;
|
|
1265
|
+
}
|
|
1266
|
+
.fb-note { min-width: 0; color: var(--fb-muted); font-size: 11.5px; line-height: 1.45; }
|
|
1267
|
+
.fb-saved { margin: 0; }
|
|
1268
|
+
.fb-note code { word-break: break-all; font-size: 10.5px; }
|
|
1269
|
+
|
|
1270
|
+
/* ---------------- toast ---------------- */
|
|
1271
|
+
|
|
1272
|
+
.fb-toast {
|
|
1273
|
+
position: fixed;
|
|
1274
|
+
right: 20px;
|
|
1275
|
+
bottom: 70px;
|
|
1276
|
+
z-index: 2147483647;
|
|
1277
|
+
display: none;
|
|
1278
|
+
max-width: 300px;
|
|
1279
|
+
padding: 11px 14px;
|
|
1280
|
+
border: 1px solid var(--fb-line);
|
|
1281
|
+
border-radius: 12px;
|
|
1282
|
+
background: var(--fb-bg);
|
|
1283
|
+
color: var(--fb-text);
|
|
1284
|
+
font-size: 12.5px;
|
|
1285
|
+
line-height: 1.5;
|
|
1286
|
+
box-shadow: 0 12px 34px rgba(0, 0, 0, 0.5);
|
|
1287
|
+
}
|
|
1288
|
+
.fb-toast kbd {
|
|
1289
|
+
padding: 2px 6px;
|
|
1290
|
+
border-radius: 5px;
|
|
1291
|
+
background: rgba(255, 255, 255, 0.13);
|
|
1292
|
+
font: inherit;
|
|
1293
|
+
font-size: 11px;
|
|
1294
|
+
}
|
|
1295
|
+
|
|
1296
|
+
/* ---------------- compact (phones): a rule changing a desktop one starts with :host([data-compact]) ---------------- */
|
|
1297
|
+
|
|
1298
|
+
/* 16px at least, or iOS Safari zooms the page when the field takes focus. Important, because the
|
|
1299
|
+
desktop sizes come from selectors of every specificity; the code digits keep their larger size. */
|
|
1300
|
+
:host([data-compact]) textarea,
|
|
1301
|
+
:host([data-compact]) input:not([type="file"]):not([data-fb-code-box]):not(.fb-code-single) { font-size: 16px !important; }
|
|
1302
|
+
|
|
1303
|
+
/* The toolbar: folded, a 52px round button; open, a row of 44px buttons (spec: Toolbar). */
|
|
1304
|
+
:host([data-compact]) .fb-bar { gap: 0; padding: 4px; }
|
|
1305
|
+
/* A vertical pan on the bar scrolls the page (audit F14); only a sideways one moves it. */
|
|
1306
|
+
:host([data-compact]) .fb-bar { touch-action: pan-y; }
|
|
1307
|
+
:host([data-compact]) .fb-bar button { width: 44px; height: 44px; }
|
|
1308
|
+
:host([data-compact]) .fb-bar .fb-sep { display: none; }
|
|
1309
|
+
:host([data-compact]) .fb-bar[data-compact="fab"],
|
|
1310
|
+
:host([data-compact]) .fb-bar[data-closed] { padding: 0; border: 0; background: transparent; box-shadow: none; }
|
|
1311
|
+
:host([data-compact]) .fb-bar .fb-fab,
|
|
1312
|
+
:host([data-compact]) .fb-bar[data-closed] button {
|
|
1313
|
+
width: 52px; height: 52px; border: 1px solid var(--fb-line); border-radius: 999px;
|
|
1314
|
+
background: var(--fb-bg); color: var(--fb-text); box-shadow: 0 10px 34px rgba(0, 0, 0, 0.42);
|
|
1315
|
+
}
|
|
1316
|
+
:host([data-compact]) .fb-bar .fb-fab[data-commenting] { border-color: transparent; background: var(--fb-accent); color: #fff; }
|
|
1317
|
+
:host([data-compact]) .fb-bar .fb-fab .fb-badge { top: -2px; right: -2px; }
|
|
1318
|
+
/* A sheet has its own close: the toolbar would only cover it. */
|
|
1319
|
+
:host([data-sheet-open]) .fb-bar { display: none; }
|
|
1320
|
+
/* Every button on a phone is 44px at least (the audit's F8). Important: desktop sizes come from
|
|
1321
|
+
selectors of every specificity. The tray's remove button and pins have their own rules. */
|
|
1322
|
+
:host([data-compact]) .fb-chip button,
|
|
1323
|
+
:host([data-compact]) .fb-bar button,
|
|
1324
|
+
:host([data-compact]) .fb-lightbox button { min-width: 44px !important; min-height: 44px !important; }
|
|
1325
|
+
|
|
1326
|
+
/* Sheets (sheet.ts): full width from the bottom edge, over a backdrop; the bottom and the height follow the
|
|
1327
|
+
visual viewport through --fb-keyboard and --fb-visible, which the sheet sets. */
|
|
1328
|
+
.fb-sheet, .fb-sheet-backdrop { display: none; }
|
|
1329
|
+
:host([data-compact]) .fb-sheet-backdrop[data-open="true"] {
|
|
1330
|
+
position: fixed; inset: 0; z-index: 2147483645; display: block; background: rgba(0, 0, 0, 0.4); touch-action: none;
|
|
1331
|
+
}
|
|
1332
|
+
:host([data-compact]) .fb-sheet[data-open="true"] {
|
|
1333
|
+
position: fixed; left: 0; right: 0; bottom: var(--fb-keyboard, 0px); z-index: 2147483646;
|
|
1334
|
+
display: flex; flex-direction: column;
|
|
1335
|
+
max-height: calc(var(--fb-visible, 100vh) - 8px);
|
|
1336
|
+
padding-bottom: env(safe-area-inset-bottom);
|
|
1337
|
+
border: 1px solid var(--fb-line); border-bottom: 0; border-radius: 16px 16px 0 0;
|
|
1338
|
+
background: var(--fb-bg); box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.45); color: var(--fb-text);
|
|
1339
|
+
overscroll-behavior: contain;
|
|
1340
|
+
transition: transform 160ms ease;
|
|
1341
|
+
}
|
|
1342
|
+
/* The keyboard already covers the home indicator. */
|
|
1343
|
+
:host([data-compact]) .fb-sheet[data-keyboard="true"] { padding-bottom: 0; }
|
|
1344
|
+
:host([data-compact]) .fb-sheet[data-dragging="true"] { transition: none; }
|
|
1345
|
+
:host([data-compact]) .fb-sheet[data-snap="half"] { height: min(55vh, calc(var(--fb-visible, 100vh) - 8px)); }
|
|
1346
|
+
/* A new comment is a compact task, not an empty half-screen panel. It grows with the
|
|
1347
|
+
field and files until the visible viewport cap, including when the keyboard is open. */
|
|
1348
|
+
:host([data-compact]) .fb-sheet[data-snap="half"]:has(.fb-card[data-draft="true"]) { height: auto; }
|
|
1349
|
+
:host([data-compact]) .fb-sheet[data-snap="full"] { height: calc(var(--fb-visible, 100vh) - 8px); }
|
|
1350
|
+
:host([data-compact]) .fb-sheet[data-full-screen="true"] {
|
|
1351
|
+
height: var(--fb-visible, 100vh); max-height: none; padding-top: env(safe-area-inset-top); border: 0; border-radius: 0;
|
|
1352
|
+
}
|
|
1353
|
+
.fb-sheet__handle { display: grid; flex: none; place-items: center; height: 24px; touch-action: none; cursor: grab; }
|
|
1354
|
+
.fb-sheet__handle span { width: 36px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.28); }
|
|
1355
|
+
.fb-sheet[data-handle="false"] .fb-sheet__handle { display: none; }
|
|
1356
|
+
.fb-sheet__body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
|
|
1357
|
+
/* A surface adopted by a sheet: the sheet is its frame now. */
|
|
1358
|
+
:host([data-compact]) .fb-sheet__body > .fb-card {
|
|
1359
|
+
position: static; width: auto; max-width: none; border: 0; border-radius: 0; box-shadow: none; background: transparent; overflow: visible;
|
|
1360
|
+
}
|
|
1361
|
+
:host([data-compact]) .fb-sheethead { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 8px 8px 16px; }
|
|
1362
|
+
:host([data-compact]) .fb-sheethead__title { display: block; font-size: 16px; font-weight: 650; }
|
|
1363
|
+
:host([data-compact]) .fb-sheet .fb-draftblock { margin: 0 12px 12px; }
|
|
1364
|
+
/* The field grows to half the visible viewport (autoGrow sets its height), past the desktop cap; a flex basis of 0 would ignore that height. */
|
|
1365
|
+
:host([data-compact]) .fb-sheet .fb-card[data-draft="true"] textarea { flex: none; max-height: none; }
|
|
1366
|
+
/* Send stays on screen however much the words and files take: the foot sticks to the sheet's bottom. */
|
|
1367
|
+
:host([data-compact]) .fb-sheet .fb-draftblock__foot { position: sticky; bottom: 0; border-radius: 0 0 14px 14px; background: var(--fb-bg); }
|
|
1368
|
+
:host([data-compact]) .fb-sheet .fb-scopeask { min-height: 44px; padding: 0 4px; font-size: 14px; }
|
|
1369
|
+
:host([data-compact]) .fb-sheet .fb-scopeask input { width: 18px; height: 18px; }
|
|
1370
|
+
:host([data-compact]) .fb-sheet button { min-width: 44px !important; min-height: 44px !important; }
|
|
1371
|
+
/* Files: 64px tiles; the remove button is a 44px target over the corner, its 20px circle drawn inside. */
|
|
1372
|
+
:host([data-compact]) .fb-tray__item, :host([data-compact]) .fb-tray__thumb { width: 64px; height: 64px; }
|
|
1373
|
+
:host([data-compact]) .fb-sheet .fb-tray__remove {
|
|
1374
|
+
top: 0; right: 0; width: 44px; height: 44px; place-content: start end; place-items: start end; padding: 9px 9px 0 0; border-radius: 0; background: transparent;
|
|
1375
|
+
}
|
|
1376
|
+
:host([data-compact]) .fb-tray__remove::before {
|
|
1377
|
+
content: ''; position: absolute; top: 4px; right: 4px; width: 20px; height: 20px; border-radius: 50%; background: rgba(0, 0, 0, 0.62);
|
|
1378
|
+
}
|
|
1379
|
+
:host([data-compact]) .fb-tray__remove svg { position: relative; }
|
|
1380
|
+
/* The thread: head and reply field fixed, the messages scrolling between them, no 320px cap. */
|
|
1381
|
+
:host([data-compact]) .fb-sheet__body:has(> .fb-card[data-draft="false"]),
|
|
1382
|
+
:host([data-compact]) .fb-sheet__body:has(> .fb-panel) { overflow: hidden; }
|
|
1383
|
+
:host([data-compact]) .fb-sheet__body > .fb-card[data-draft="false"] { display: flex !important; flex-direction: column; height: 100%; }
|
|
1384
|
+
:host([data-compact]) .fb-sheet .fb-card-head, :host([data-compact]) .fb-sheet .fb-card[data-draft="false"] > .fb-composer { flex: none; }
|
|
1385
|
+
:host([data-compact]) .fb-sheet .fb-card-body { flex: 1; min-height: 0; max-height: none; }
|
|
1386
|
+
/* The list and notifications: the panel, framed by the sheet. */
|
|
1387
|
+
:host([data-compact]) .fb-sheet__body > .fb-panel {
|
|
1388
|
+
position: static; display: block !important; width: auto; max-width: none; height: 100%; border: 0; border-radius: 0; box-shadow: none;
|
|
1389
|
+
}
|
|
1390
|
+
:host([data-compact]) .fb-item, :host([data-compact]) .fb-note { min-height: 44px; }
|
|
1391
|
+
:host([data-compact]) .fb-sheet textarea { min-height: 44px; }
|
|
1392
|
+
:host([data-compact]) .fb-sheet .fb-select { position: relative; width: 44px; height: 44px; border: 0; background: transparent !important; }
|
|
1393
|
+
:host([data-compact]) .fb-sheet .fb-select::before {
|
|
1394
|
+
content: ''; position: absolute; inset: 12px; border: 1.5px solid rgba(255, 255, 255, 0.24); border-radius: 6px;
|
|
1395
|
+
}
|
|
1396
|
+
:host([data-compact]) .fb-sheet .fb-select[data-selected="true"]::before { border-color: var(--fb-accent); background: var(--fb-accent); }
|
|
1397
|
+
:host([data-compact]) .fb-sheet .fb-select svg { position: relative; }
|
|
1398
|
+
/*
|
|
1399
|
+
* Files in a thread: 64px squares, documents included, five on one row (so no indent past the avatar). A document
|
|
1400
|
+
* shows its icon, its type and a short name under them, cut with an ellipsis: there is no hover on a phone. Its
|
|
1401
|
+
* size is still read out, not shown. The same for a document in the composer's or the reply's tray.
|
|
1402
|
+
*/
|
|
1403
|
+
:host([data-compact]) .fb-sheet .fb-files { padding-left: 0; }
|
|
1404
|
+
/* And in the trays: the reply field takes the sheet's width (its avatar is only decoration), a tray 8px in from it. */
|
|
1405
|
+
:host([data-compact]) .fb-sheet .fb-card[data-draft="false"] > .fb-composer { padding: 8px 12px 12px; }
|
|
1406
|
+
:host([data-compact]) .fb-sheet .fb-card[data-draft="false"] > .fb-composer > .fb-avatar { display: none; }
|
|
1407
|
+
:host([data-compact]) .fb-sheet .fb-tray { padding: 0 8px 8px; }
|
|
1408
|
+
:host([data-compact]) .fb-file--image, :host([data-compact]) .fb-file--doc { width: 64px; height: 64px; }
|
|
1409
|
+
:host([data-compact]) .fb-file__doc, :host([data-compact]) .fb-tray__doc { grid-template-columns: minmax(0, 1fr); padding: 0 5px; }
|
|
1410
|
+
:host([data-compact]) .fb-file__doc > .fb-sr, :host([data-compact]) .fb-tray__doc > .fb-sr {
|
|
1411
|
+
position: static; justify-self: stretch; width: 100%; height: auto; margin: 0; overflow: hidden; clip: auto;
|
|
1412
|
+
}
|
|
1413
|
+
:host([data-compact]) .fb-file__name, :host([data-compact]) .fb-tray__name {
|
|
1414
|
+
display: block; overflow: hidden; font-size: 10.5px; line-height: 13px; text-align: center; text-overflow: ellipsis; white-space: nowrap;
|
|
1415
|
+
}
|
|
1416
|
+
:host([data-compact]) .fb-file__size, :host([data-compact]) .fb-tray__size {
|
|
1417
|
+
position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
|
|
1418
|
+
}
|
|
1419
|
+
/* Pins: 34px to see, 44px to hit (spec: Pins). A group is the accent colour with its count. */
|
|
1420
|
+
:host([data-compact]) .fb-pin::after { content: ''; position: absolute; inset: -5px; border-radius: 999px; }
|
|
1421
|
+
:host([data-compact]) .fb-pin .fb-pin-group { background: var(--fb-accent); color: #fff; }
|
|
1422
|
+
:host([data-compact]) .fb-listfilter {
|
|
1423
|
+
display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 4px 16px 0; color: var(--fb-muted); font-size: 13px;
|
|
1424
|
+
}
|
|
1425
|
+
:host([data-compact]) .fb-listfilter .fb-link { margin-top: 0; }
|
|
1426
|
+
/* The panel is four rows, the list the stretching one: with the filter's row it is five. */
|
|
1427
|
+
:host([data-compact]) .fb-panel-content:has(> .fb-listfilter) { grid-template-rows: auto auto auto 1fr auto; }
|
|
1428
|
+
/* Sign-in and the name dialog: the scrim, adopted by a full-screen sheet (spec: Sign-in). */
|
|
1429
|
+
:host([data-compact]) .fb-sheet__body > .fb-scrim {
|
|
1430
|
+
position: static; display: block; inset: auto; min-height: 100%; background: transparent; backdrop-filter: none;
|
|
1431
|
+
}
|
|
1432
|
+
:host([data-compact]) .fb-sheet .fb-dialog {
|
|
1433
|
+
width: auto; max-width: none; padding: 20px 20px 28px; border: 0; border-radius: 0; background: transparent; box-shadow: none; text-align: left;
|
|
1434
|
+
}
|
|
1435
|
+
:host([data-compact]) .fb-sheet .fb-dialog h2 { padding-right: 48px; font-size: 22px; }
|
|
1436
|
+
:host([data-compact]) .fb-sheet .fb-dialog .fb-avatar { margin: 0 0 16px; }
|
|
1437
|
+
:host([data-compact]) .fb-sheet .fb-dialog-close { top: 8px; right: 8px; }
|
|
1438
|
+
:host([data-compact]) .fb-sheet .fb-providers { gap: 10px; }
|
|
1439
|
+
:host([data-compact]) .fb-sheet .fb-provider { height: 50px; justify-content: flex-start; padding: 0 18px; }
|
|
1440
|
+
:host([data-compact]) .fb-sheet .fb-dialog input { height: 50px; text-align: left; }
|
|
1441
|
+
:host([data-compact]) .fb-sheet .fb-primary { height: 50px; }
|
|
1442
|
+
/* The phone's one code field: large (over 16px, so no zoom), spaced like six boxes, centred. */
|
|
1443
|
+
:host([data-compact]) .fb-sheet .fb-dialog input.fb-code-single {
|
|
1444
|
+
padding: 0 0 0 0.4em; font-size: 22px; font-weight: 540; letter-spacing: 0.4em; font-variant-numeric: tabular-nums; text-align: center;
|
|
1445
|
+
}
|
|
1446
|
+
:host([data-compact]) .fb-sheet .fb-dialog input.fb-code-single::placeholder { color: var(--fb-muted); opacity: 0.5; }
|
|
1447
|
+
</style>`;
|
|
1448
|
+
}
|
|
1449
|
+
//# sourceMappingURL=styles.js.map
|