@kafukatree/dsh-skill-manager 0.0.0-stage → 0.3.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 +21 -0
- package/LICENSE-lucide.txt +43 -0
- package/README.md +44 -2
- package/agent-tool.mjs +118 -0
- package/client-bridge.mjs +307 -0
- package/client-entry.mjs +131 -0
- package/client.js +6769 -0
- package/control-icon.mjs +40 -0
- package/cordis.patch.yml +4 -0
- package/design/skill-manager.pen +798 -0
- package/design.css +320 -0
- package/design.mjs +629 -0
- package/dialogs.css +460 -0
- package/dialogs.mjs +1130 -0
- package/document-link.mjs +13 -0
- package/file-actions.mjs +62 -0
- package/file-view.mjs +384 -0
- package/header-scroll.css +90 -0
- package/header-scroll.mjs +121 -0
- package/host.mjs +460 -0
- package/icon.svg +6 -0
- package/import-archive.mjs +41 -0
- package/import-commit.mjs +247 -0
- package/import-family.mjs +213 -0
- package/import-files.mjs +186 -0
- package/import-github.mjs +168 -0
- package/import-limits.mjs +10 -0
- package/import-native.mjs +79 -0
- package/imports.mjs +209 -0
- package/inventory.mjs +62 -0
- package/library.mjs +1334 -0
- package/local-families.mjs +277 -0
- package/locale/en.json +16 -0
- package/locale/zh.json +16 -0
- package/management-view.mjs +158 -0
- package/mode-view.mjs +72 -0
- package/node_modules/pend/LICENSE +23 -0
- package/node_modules/pend/README.md +41 -0
- package/node_modules/pend/index.js +55 -0
- package/node_modules/pend/package.json +18 -0
- package/node_modules/pend/test.js +137 -0
- package/node_modules/yaml/LICENSE +13 -0
- package/node_modules/yaml/README.md +172 -0
- package/node_modules/yaml/bin.mjs +11 -0
- package/node_modules/yaml/browser/dist/compose/compose-collection.js +88 -0
- package/node_modules/yaml/browser/dist/compose/compose-doc.js +43 -0
- package/node_modules/yaml/browser/dist/compose/compose-node.js +109 -0
- package/node_modules/yaml/browser/dist/compose/compose-scalar.js +86 -0
- package/node_modules/yaml/browser/dist/compose/composer.js +219 -0
- package/node_modules/yaml/browser/dist/compose/resolve-block-map.js +115 -0
- package/node_modules/yaml/browser/dist/compose/resolve-block-scalar.js +198 -0
- package/node_modules/yaml/browser/dist/compose/resolve-block-seq.js +49 -0
- package/node_modules/yaml/browser/dist/compose/resolve-end.js +37 -0
- package/node_modules/yaml/browser/dist/compose/resolve-flow-collection.js +207 -0
- package/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js +226 -0
- package/node_modules/yaml/browser/dist/compose/resolve-props.js +146 -0
- package/node_modules/yaml/browser/dist/compose/util-contains-newline.js +34 -0
- package/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js +26 -0
- package/node_modules/yaml/browser/dist/compose/util-flow-indent-check.js +15 -0
- package/node_modules/yaml/browser/dist/compose/util-map-includes.js +13 -0
- package/node_modules/yaml/browser/dist/doc/Document.js +335 -0
- package/node_modules/yaml/browser/dist/doc/anchors.js +71 -0
- package/node_modules/yaml/browser/dist/doc/applyReviver.js +55 -0
- package/node_modules/yaml/browser/dist/doc/createNode.js +88 -0
- package/node_modules/yaml/browser/dist/doc/directives.js +176 -0
- package/node_modules/yaml/browser/dist/errors.js +57 -0
- package/node_modules/yaml/browser/dist/index.js +17 -0
- package/node_modules/yaml/browser/dist/log.js +11 -0
- package/node_modules/yaml/browser/dist/nodes/Alias.js +118 -0
- package/node_modules/yaml/browser/dist/nodes/Collection.js +147 -0
- package/node_modules/yaml/browser/dist/nodes/Node.js +38 -0
- package/node_modules/yaml/browser/dist/nodes/Pair.js +36 -0
- package/node_modules/yaml/browser/dist/nodes/Scalar.js +24 -0
- package/node_modules/yaml/browser/dist/nodes/YAMLMap.js +144 -0
- package/node_modules/yaml/browser/dist/nodes/YAMLSeq.js +113 -0
- package/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js +63 -0
- package/node_modules/yaml/browser/dist/nodes/identity.js +36 -0
- package/node_modules/yaml/browser/dist/nodes/toJS.js +37 -0
- package/node_modules/yaml/browser/dist/parse/cst-scalar.js +214 -0
- package/node_modules/yaml/browser/dist/parse/cst-stringify.js +61 -0
- package/node_modules/yaml/browser/dist/parse/cst-visit.js +97 -0
- package/node_modules/yaml/browser/dist/parse/cst.js +98 -0
- package/node_modules/yaml/browser/dist/parse/lexer.js +721 -0
- package/node_modules/yaml/browser/dist/parse/line-counter.js +39 -0
- package/node_modules/yaml/browser/dist/parse/parser.js +975 -0
- package/node_modules/yaml/browser/dist/public-api.js +102 -0
- package/node_modules/yaml/browser/dist/schema/Schema.js +37 -0
- package/node_modules/yaml/browser/dist/schema/common/map.js +17 -0
- package/node_modules/yaml/browser/dist/schema/common/null.js +15 -0
- package/node_modules/yaml/browser/dist/schema/common/seq.js +17 -0
- package/node_modules/yaml/browser/dist/schema/common/string.js +14 -0
- package/node_modules/yaml/browser/dist/schema/core/bool.js +19 -0
- package/node_modules/yaml/browser/dist/schema/core/float.js +43 -0
- package/node_modules/yaml/browser/dist/schema/core/int.js +38 -0
- package/node_modules/yaml/browser/dist/schema/core/schema.js +23 -0
- package/node_modules/yaml/browser/dist/schema/json/schema.js +62 -0
- package/node_modules/yaml/browser/dist/schema/tags.js +96 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js +58 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js +26 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/float.js +46 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/int.js +71 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js +67 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js +74 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js +78 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js +39 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/set.js +93 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js +101 -0
- package/node_modules/yaml/browser/dist/stringify/foldFlowLines.js +146 -0
- package/node_modules/yaml/browser/dist/stringify/stringify.js +129 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyCollection.js +153 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyComment.js +20 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyDocument.js +85 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyNumber.js +25 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyPair.js +150 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyString.js +336 -0
- package/node_modules/yaml/browser/dist/util.js +11 -0
- package/node_modules/yaml/browser/dist/visit.js +233 -0
- package/node_modules/yaml/browser/index.js +5 -0
- package/node_modules/yaml/browser/package.json +3 -0
- package/node_modules/yaml/dist/cli.d.ts +8 -0
- package/node_modules/yaml/dist/cli.mjs +201 -0
- package/node_modules/yaml/dist/compose/compose-collection.d.ts +11 -0
- package/node_modules/yaml/dist/compose/compose-collection.js +90 -0
- package/node_modules/yaml/dist/compose/compose-doc.d.ts +7 -0
- package/node_modules/yaml/dist/compose/compose-doc.js +45 -0
- package/node_modules/yaml/dist/compose/compose-node.d.ts +29 -0
- package/node_modules/yaml/dist/compose/compose-node.js +112 -0
- package/node_modules/yaml/dist/compose/compose-scalar.d.ts +5 -0
- package/node_modules/yaml/dist/compose/compose-scalar.js +88 -0
- package/node_modules/yaml/dist/compose/composer.d.ts +63 -0
- package/node_modules/yaml/dist/compose/composer.js +224 -0
- package/node_modules/yaml/dist/compose/resolve-block-map.d.ts +6 -0
- package/node_modules/yaml/dist/compose/resolve-block-map.js +117 -0
- package/node_modules/yaml/dist/compose/resolve-block-scalar.d.ts +11 -0
- package/node_modules/yaml/dist/compose/resolve-block-scalar.js +200 -0
- package/node_modules/yaml/dist/compose/resolve-block-seq.d.ts +6 -0
- package/node_modules/yaml/dist/compose/resolve-block-seq.js +51 -0
- package/node_modules/yaml/dist/compose/resolve-end.d.ts +6 -0
- package/node_modules/yaml/dist/compose/resolve-end.js +39 -0
- package/node_modules/yaml/dist/compose/resolve-flow-collection.d.ts +7 -0
- package/node_modules/yaml/dist/compose/resolve-flow-collection.js +209 -0
- package/node_modules/yaml/dist/compose/resolve-flow-scalar.d.ts +10 -0
- package/node_modules/yaml/dist/compose/resolve-flow-scalar.js +228 -0
- package/node_modules/yaml/dist/compose/resolve-props.d.ts +23 -0
- package/node_modules/yaml/dist/compose/resolve-props.js +148 -0
- package/node_modules/yaml/dist/compose/util-contains-newline.d.ts +2 -0
- package/node_modules/yaml/dist/compose/util-contains-newline.js +36 -0
- package/node_modules/yaml/dist/compose/util-empty-scalar-position.d.ts +2 -0
- package/node_modules/yaml/dist/compose/util-empty-scalar-position.js +28 -0
- package/node_modules/yaml/dist/compose/util-flow-indent-check.d.ts +3 -0
- package/node_modules/yaml/dist/compose/util-flow-indent-check.js +17 -0
- package/node_modules/yaml/dist/compose/util-map-includes.d.ts +4 -0
- package/node_modules/yaml/dist/compose/util-map-includes.js +15 -0
- package/node_modules/yaml/dist/doc/Document.d.ts +141 -0
- package/node_modules/yaml/dist/doc/Document.js +337 -0
- package/node_modules/yaml/dist/doc/anchors.d.ts +24 -0
- package/node_modules/yaml/dist/doc/anchors.js +76 -0
- package/node_modules/yaml/dist/doc/applyReviver.d.ts +9 -0
- package/node_modules/yaml/dist/doc/applyReviver.js +57 -0
- package/node_modules/yaml/dist/doc/createNode.d.ts +17 -0
- package/node_modules/yaml/dist/doc/createNode.js +90 -0
- package/node_modules/yaml/dist/doc/directives.d.ts +49 -0
- package/node_modules/yaml/dist/doc/directives.js +178 -0
- package/node_modules/yaml/dist/errors.d.ts +21 -0
- package/node_modules/yaml/dist/errors.js +62 -0
- package/node_modules/yaml/dist/index.d.ts +25 -0
- package/node_modules/yaml/dist/index.js +50 -0
- package/node_modules/yaml/dist/log.d.ts +3 -0
- package/node_modules/yaml/dist/log.js +19 -0
- package/node_modules/yaml/dist/nodes/Alias.d.ts +29 -0
- package/node_modules/yaml/dist/nodes/Alias.js +120 -0
- package/node_modules/yaml/dist/nodes/Collection.d.ts +73 -0
- package/node_modules/yaml/dist/nodes/Collection.js +151 -0
- package/node_modules/yaml/dist/nodes/Node.d.ts +53 -0
- package/node_modules/yaml/dist/nodes/Node.js +40 -0
- package/node_modules/yaml/dist/nodes/Pair.d.ts +22 -0
- package/node_modules/yaml/dist/nodes/Pair.js +39 -0
- package/node_modules/yaml/dist/nodes/Scalar.d.ts +47 -0
- package/node_modules/yaml/dist/nodes/Scalar.js +27 -0
- package/node_modules/yaml/dist/nodes/YAMLMap.d.ts +53 -0
- package/node_modules/yaml/dist/nodes/YAMLMap.js +147 -0
- package/node_modules/yaml/dist/nodes/YAMLSeq.d.ts +60 -0
- package/node_modules/yaml/dist/nodes/YAMLSeq.js +115 -0
- package/node_modules/yaml/dist/nodes/addPairToJSMap.d.ts +4 -0
- package/node_modules/yaml/dist/nodes/addPairToJSMap.js +65 -0
- package/node_modules/yaml/dist/nodes/identity.d.ts +23 -0
- package/node_modules/yaml/dist/nodes/identity.js +53 -0
- package/node_modules/yaml/dist/nodes/toJS.d.ts +29 -0
- package/node_modules/yaml/dist/nodes/toJS.js +39 -0
- package/node_modules/yaml/dist/options.d.ts +350 -0
- package/node_modules/yaml/dist/parse/cst-scalar.d.ts +64 -0
- package/node_modules/yaml/dist/parse/cst-scalar.js +218 -0
- package/node_modules/yaml/dist/parse/cst-stringify.d.ts +8 -0
- package/node_modules/yaml/dist/parse/cst-stringify.js +63 -0
- package/node_modules/yaml/dist/parse/cst-visit.d.ts +39 -0
- package/node_modules/yaml/dist/parse/cst-visit.js +99 -0
- package/node_modules/yaml/dist/parse/cst.d.ts +109 -0
- package/node_modules/yaml/dist/parse/cst.js +112 -0
- package/node_modules/yaml/dist/parse/lexer.d.ts +87 -0
- package/node_modules/yaml/dist/parse/lexer.js +723 -0
- package/node_modules/yaml/dist/parse/line-counter.d.ts +22 -0
- package/node_modules/yaml/dist/parse/line-counter.js +41 -0
- package/node_modules/yaml/dist/parse/parser.d.ts +84 -0
- package/node_modules/yaml/dist/parse/parser.js +980 -0
- package/node_modules/yaml/dist/public-api.d.ts +44 -0
- package/node_modules/yaml/dist/public-api.js +107 -0
- package/node_modules/yaml/dist/schema/Schema.d.ts +17 -0
- package/node_modules/yaml/dist/schema/Schema.js +39 -0
- package/node_modules/yaml/dist/schema/common/map.d.ts +2 -0
- package/node_modules/yaml/dist/schema/common/map.js +19 -0
- package/node_modules/yaml/dist/schema/common/null.d.ts +4 -0
- package/node_modules/yaml/dist/schema/common/null.js +17 -0
- package/node_modules/yaml/dist/schema/common/seq.d.ts +2 -0
- package/node_modules/yaml/dist/schema/common/seq.js +19 -0
- package/node_modules/yaml/dist/schema/common/string.d.ts +2 -0
- package/node_modules/yaml/dist/schema/common/string.js +16 -0
- package/node_modules/yaml/dist/schema/core/bool.d.ts +4 -0
- package/node_modules/yaml/dist/schema/core/bool.js +21 -0
- package/node_modules/yaml/dist/schema/core/float.d.ts +4 -0
- package/node_modules/yaml/dist/schema/core/float.js +47 -0
- package/node_modules/yaml/dist/schema/core/int.d.ts +4 -0
- package/node_modules/yaml/dist/schema/core/int.js +42 -0
- package/node_modules/yaml/dist/schema/core/schema.d.ts +1 -0
- package/node_modules/yaml/dist/schema/core/schema.js +25 -0
- package/node_modules/yaml/dist/schema/json/schema.d.ts +2 -0
- package/node_modules/yaml/dist/schema/json/schema.js +64 -0
- package/node_modules/yaml/dist/schema/json-schema.d.ts +69 -0
- package/node_modules/yaml/dist/schema/tags.d.ts +48 -0
- package/node_modules/yaml/dist/schema/tags.js +99 -0
- package/node_modules/yaml/dist/schema/types.d.ts +92 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/binary.d.ts +2 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/binary.js +70 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/bool.d.ts +7 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/bool.js +29 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/float.d.ts +4 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/float.js +50 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/int.d.ts +5 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/int.js +76 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/merge.d.ts +9 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/merge.js +71 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/omap.d.ts +22 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/omap.js +77 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/pairs.d.ts +10 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/pairs.js +82 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/schema.d.ts +1 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/schema.js +41 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/set.d.ts +28 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/set.js +96 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/timestamp.d.ts +6 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js +105 -0
- package/node_modules/yaml/dist/stringify/foldFlowLines.d.ts +34 -0
- package/node_modules/yaml/dist/stringify/foldFlowLines.js +151 -0
- package/node_modules/yaml/dist/stringify/stringify.d.ts +21 -0
- package/node_modules/yaml/dist/stringify/stringify.js +132 -0
- package/node_modules/yaml/dist/stringify/stringifyCollection.d.ts +17 -0
- package/node_modules/yaml/dist/stringify/stringifyCollection.js +155 -0
- package/node_modules/yaml/dist/stringify/stringifyComment.d.ts +10 -0
- package/node_modules/yaml/dist/stringify/stringifyComment.js +24 -0
- package/node_modules/yaml/dist/stringify/stringifyDocument.d.ts +4 -0
- package/node_modules/yaml/dist/stringify/stringifyDocument.js +87 -0
- package/node_modules/yaml/dist/stringify/stringifyNumber.d.ts +2 -0
- package/node_modules/yaml/dist/stringify/stringifyNumber.js +27 -0
- package/node_modules/yaml/dist/stringify/stringifyPair.d.ts +3 -0
- package/node_modules/yaml/dist/stringify/stringifyPair.js +152 -0
- package/node_modules/yaml/dist/stringify/stringifyString.d.ts +9 -0
- package/node_modules/yaml/dist/stringify/stringifyString.js +338 -0
- package/node_modules/yaml/dist/test-events.d.ts +4 -0
- package/node_modules/yaml/dist/test-events.js +134 -0
- package/node_modules/yaml/dist/util.d.ts +16 -0
- package/node_modules/yaml/dist/util.js +28 -0
- package/node_modules/yaml/dist/visit.d.ts +102 -0
- package/node_modules/yaml/dist/visit.js +236 -0
- package/node_modules/yaml/package.json +97 -0
- package/node_modules/yaml/util.js +2 -0
- package/node_modules/yauzl/LICENSE +21 -0
- package/node_modules/yauzl/README.md +1015 -0
- package/node_modules/yauzl/crc32.js +45 -0
- package/node_modules/yauzl/fd-slicer.js +188 -0
- package/node_modules/yauzl/index.js +1096 -0
- package/node_modules/yauzl/package.json +40 -0
- package/package-files.mjs +244 -0
- package/package-view.mjs +375 -0
- package/package.css +131 -0
- package/package.json +75 -4
- package/removal.mjs +313 -0
- package/scripts/build.mjs +19 -0
- package/scripts/export-design.py +587 -0
- package/scripts/run-tests.mjs +14 -0
- package/skill-state.mjs +136 -0
- package/skills/skill-creator/SKILL.md +48 -0
- package/styles.mjs +10 -0
- package/surfaces.css +593 -0
- package/test/agent-tool.test.mjs +153 -0
- package/test/client-bridge.test.mjs +240 -0
- package/test/distribution.test.mjs +17 -0
- package/test/host.test.mjs +598 -0
- package/test/imports.test.mjs +491 -0
- package/test/inventory.test.mjs +144 -0
- package/test/library.test.mjs +785 -0
- package/test/local-families.test.mjs +220 -0
- package/test/management-view.test.mjs +102 -0
- package/test/mode-view.test.mjs +26 -0
- package/test/package-files.test.mjs +221 -0
- package/toolbar.css +228 -0
- package/typography.css +173 -0
- package/ui.css +399 -0
- package/ui.mjs +1545 -0
package/ui.css
ADDED
|
@@ -0,0 +1,399 @@
|
|
|
1
|
+
.sm-manager {
|
|
2
|
+
--sm-ui-overlay: var(--dsw-alias-bg-overlay, var(--sm-bg));
|
|
3
|
+
--sm-ui-success: var(--dsw-alias-state-success-primary, var(--sm-ink));
|
|
4
|
+
--sm-ui-error: var(--dsw-alias-state-error-primary, var(--sm-ink));
|
|
5
|
+
--sm-ui-focus: var(--dsw-alias-brand-primary, var(--sm-ink));
|
|
6
|
+
--sm-ui-shadow: var(--sm-menu-shadow);
|
|
7
|
+
--sm-ui-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
8
|
+
container: sm-ui / inline-size;
|
|
9
|
+
position: relative;
|
|
10
|
+
isolation: isolate;
|
|
11
|
+
display: flex;
|
|
12
|
+
flex: 1 1 auto;
|
|
13
|
+
inline-size: 100%;
|
|
14
|
+
block-size: 100%;
|
|
15
|
+
min-inline-size: 0;
|
|
16
|
+
min-block-size: 0;
|
|
17
|
+
overflow: hidden;
|
|
18
|
+
text-align: start;
|
|
19
|
+
font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI", "Microsoft YaHei", sans-serif;
|
|
20
|
+
font-size: 14px;
|
|
21
|
+
line-height: 1.5;
|
|
22
|
+
color: var(--sm-ink);
|
|
23
|
+
background: var(--sm-bg);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.sm-manager *, .sm-manager *::before, .sm-manager *::after { box-sizing: border-box; }
|
|
27
|
+
.sm-manager [hidden] { display: none !important; }
|
|
28
|
+
.sm-manager :where([class^="sm-ui-"]) :where(button, input) { font-family: inherit; }
|
|
29
|
+
.sm-manager :where(button, input, summary):focus-visible { outline: 2px solid var(--sm-ui-focus); outline-offset: 2px; }
|
|
30
|
+
.sm-manager :where(button):disabled { cursor: default; }
|
|
31
|
+
.sm-manager :where(svg) { flex: none; }
|
|
32
|
+
|
|
33
|
+
.sm-ui-scroll {
|
|
34
|
+
flex: 1 1 auto;
|
|
35
|
+
min-inline-size: 0;
|
|
36
|
+
min-block-size: 0;
|
|
37
|
+
overflow: auto;
|
|
38
|
+
overscroll-behavior: contain;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.sm-ui-page {
|
|
42
|
+
inline-size: 100%;
|
|
43
|
+
max-inline-size: calc(var(--sm-content-width) + 112px);
|
|
44
|
+
min-block-size: 100%;
|
|
45
|
+
margin-inline: auto;
|
|
46
|
+
padding: 75px 56px 64px;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.sm-ui-page:not([data-view="list"]) { padding-block-start: 63px; }
|
|
50
|
+
.sm-ui-library, .sm-ui-subpage { min-inline-size: 0; }
|
|
51
|
+
.sm-ui-library > :first-child { min-block-size: var(--sm-header-h); }
|
|
52
|
+
.sm-ui-subpage :where(h1, h2, h3, p, dl, dt, dd, pre):not(:where(.sm-document-scroll *)),
|
|
53
|
+
.sm-ui-empty :where(h3, p), .sm-ui-dialog :where(h2, p) { margin: 0; }
|
|
54
|
+
.sm-ui-subpage h2:not(:where(.sm-document-scroll *)) { font-size: 17px; line-height: 25px; font-weight: 600; color: var(--sm-ink); }
|
|
55
|
+
.sm-ui-heading { overflow-wrap: anywhere; font-size: 24px; line-height: 32px; font-weight: 600; color: var(--sm-ink); }
|
|
56
|
+
.sm-ui-heading:focus { outline: none; }
|
|
57
|
+
.sm-ui-subtitle { color: var(--sm-muted); font-size: 14px; line-height: 21px; overflow-wrap: anywhere; }
|
|
58
|
+
.sm-ui-button, .sm-ui-tab, .sm-ui-sort, .sm-ui-back, .sm-ui-icon-button, .sm-ui-text-action,
|
|
59
|
+
.sm-ui-dir-remove, .sm-ui-dialog-close, .sm-ui-toast-close, .sm-ui-menu-item, .sm-ui-detail-switch {
|
|
60
|
+
appearance: none;
|
|
61
|
+
display: inline-flex;
|
|
62
|
+
align-items: center;
|
|
63
|
+
justify-content: center;
|
|
64
|
+
margin: 0;
|
|
65
|
+
padding: 0;
|
|
66
|
+
font: inherit;
|
|
67
|
+
color: inherit;
|
|
68
|
+
background: transparent;
|
|
69
|
+
border: 0;
|
|
70
|
+
cursor: pointer;
|
|
71
|
+
}
|
|
72
|
+
.sm-ui-button {
|
|
73
|
+
gap: 7px;
|
|
74
|
+
flex: none;
|
|
75
|
+
min-block-size: var(--sm-control-h, 36px);
|
|
76
|
+
padding: 0 15px;
|
|
77
|
+
color: var(--sm-ink);
|
|
78
|
+
background: var(--sm-bg);
|
|
79
|
+
border: 1px solid var(--sm-line);
|
|
80
|
+
border-radius: var(--sm-radius, 8px);
|
|
81
|
+
font-size: 14px;
|
|
82
|
+
font-weight: 500;
|
|
83
|
+
white-space: nowrap;
|
|
84
|
+
}
|
|
85
|
+
.sm-ui-button:not(:disabled):hover, .sm-ui-button:not(:disabled):active { background: var(--sm-soft); }
|
|
86
|
+
.sm-ui-primary { background: var(--sm-ink); border-color: var(--sm-ink); color: var(--sm-bg); }
|
|
87
|
+
.sm-ui-primary:not(:disabled):hover, .sm-ui-primary:not(:disabled):active {
|
|
88
|
+
background: color-mix(in srgb, var(--sm-ink) 84%, var(--sm-bg));
|
|
89
|
+
}
|
|
90
|
+
.sm-ui-button:disabled { opacity: .47; }
|
|
91
|
+
.sm-ui-text-action { flex: none; min-block-size: 28px; padding-inline: 6px; border-radius: 5px; font-weight: 600; color: var(--sm-ink); }
|
|
92
|
+
.sm-ui-text-action:hover, .sm-ui-icon-button:hover, .sm-ui-back:hover, .sm-ui-dir-remove:hover,
|
|
93
|
+
.sm-ui-dialog-close:hover, .sm-ui-toast-close:hover { background: var(--sm-soft); }
|
|
94
|
+
|
|
95
|
+
/* Library geometry follows the main-content frame, inside the host's central panel. */
|
|
96
|
+
.sm-ui-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-block-start: 17px; }
|
|
97
|
+
.sm-ui-tab { padding-inline: 15px; block-size: 31px; border-radius: 6px; color: var(--sm-muted); font-size: 14px; }
|
|
98
|
+
.sm-ui-tab:first-child { min-inline-size: 59px; }
|
|
99
|
+
.sm-ui-tab[aria-selected="true"], .sm-ui-tab:hover { background: var(--sm-soft); color: var(--sm-ink); }
|
|
100
|
+
.sm-ui-tab[aria-selected="true"] { font-weight: 500; }
|
|
101
|
+
.sm-ui-search {
|
|
102
|
+
display: flex;
|
|
103
|
+
align-items: center;
|
|
104
|
+
gap: 8px;
|
|
105
|
+
inline-size: 100%;
|
|
106
|
+
block-size: var(--sm-search-h);
|
|
107
|
+
margin-block-start: 13px;
|
|
108
|
+
padding-inline: 12px 7px;
|
|
109
|
+
border: 1px solid var(--sm-line);
|
|
110
|
+
border-radius: var(--sm-search-radius);
|
|
111
|
+
background: var(--sm-bg);
|
|
112
|
+
color: var(--sm-muted);
|
|
113
|
+
cursor: text;
|
|
114
|
+
}
|
|
115
|
+
.sm-ui-search:focus-within { border-color: var(--sm-ui-focus); }
|
|
116
|
+
.sm-ui-search .sm-ui-search-input {
|
|
117
|
+
appearance: none;
|
|
118
|
+
min-inline-size: 0;
|
|
119
|
+
flex: 1;
|
|
120
|
+
block-size: 100%;
|
|
121
|
+
padding: 0;
|
|
122
|
+
border: 0;
|
|
123
|
+
border-radius: 0;
|
|
124
|
+
background: transparent;
|
|
125
|
+
color: var(--sm-ink);
|
|
126
|
+
outline: none;
|
|
127
|
+
box-shadow: none;
|
|
128
|
+
font: inherit;
|
|
129
|
+
}
|
|
130
|
+
.sm-ui-search-input::placeholder { color: var(--sm-muted); opacity: 1; }
|
|
131
|
+
.sm-ui-search-input::-webkit-search-cancel-button, .sm-ui-search-input::-webkit-search-decoration { -webkit-appearance: none; }
|
|
132
|
+
.sm-ui-icon-button, .sm-ui-toast-close { flex: none; inline-size: 27px; block-size: 27px; border-radius: 5px; color: var(--sm-muted); }
|
|
133
|
+
.sm-ui-summary { display: flex; align-items: center; gap: 10px; min-block-size: 28px; margin-block-start: 30px; }
|
|
134
|
+
.sm-ui-list-title { flex: none; margin: 0; color: var(--sm-muted); font-size: 15px; line-height: 22px; font-weight: 600; }
|
|
135
|
+
.sm-ui-count { color: var(--sm-muted); font-size: 13px; font-variant-numeric: tabular-nums; }
|
|
136
|
+
.sm-ui-scan-status { color: var(--sm-muted); font-size: 13px; }
|
|
137
|
+
.sm-ui-sort { min-block-size: 28px; margin-inline-start: auto; padding-inline: 6px 2px; gap: 9px; white-space: nowrap; border-radius: 6px; font-size: 13px; color: var(--sm-muted); }
|
|
138
|
+
.sm-ui-sort:hover, .sm-ui-sort[aria-expanded="true"] { color: var(--sm-ink); background: var(--sm-soft); }
|
|
139
|
+
.sm-ui-rows { display: grid; gap: var(--sm-row-gap); margin-block-start: 13px; }
|
|
140
|
+
.sm-ui-rows:empty { display: none; }
|
|
141
|
+
.sm-ui-library-groups { display: grid; gap: 32px; margin-block-start: 16px; }
|
|
142
|
+
.sm-ui-library-groups:not(:has(> :not([hidden]))) { display: none; }
|
|
143
|
+
.sm-ui-group-head { display: flex; align-items: center; gap: 8px; }
|
|
144
|
+
.sm-ui-group-title { margin: 0; color: var(--sm-ink); font: 500 14px/22px var(--sm-font); }
|
|
145
|
+
.sm-manager :is(.sm-ui-group-more, .sm-ui-group-back) {
|
|
146
|
+
display: inline-flex; flex: none; align-items: center; justify-content: center; gap: 4px;
|
|
147
|
+
height: 28px; padding: 0 8px; border: none; border-radius: var(--dsw-radius-sm, 8px);
|
|
148
|
+
background: transparent; color: color-mix(in srgb, var(--sm-muted) 60%, var(--sm-tertiary));
|
|
149
|
+
font: 400 14px/22px var(--sm-font); cursor: pointer;
|
|
150
|
+
}
|
|
151
|
+
.sm-manager .sm-ui-group-more { margin-inline: auto -8px; }
|
|
152
|
+
.sm-manager :is(.sm-ui-group-more, .sm-ui-group-back):active { background: var(--sm-active); }
|
|
153
|
+
.sm-manager :is(.sm-ui-group-more, .sm-ui-group-back):focus-visible { color: var(--sm-muted); outline: 2px solid var(--dsw-alias-state-business-primary); }
|
|
154
|
+
@media (hover: hover) {
|
|
155
|
+
.sm-manager :is(.sm-ui-group-more, .sm-ui-group-back):hover { background: var(--sm-hover); color: var(--sm-muted); }
|
|
156
|
+
}
|
|
157
|
+
.sm-manager .sm-ui-more-head { display: flex; align-items: center; gap: 8px; }
|
|
158
|
+
.sm-manager .sm-ui-group-back { width: 28px; padding: 0; color: var(--sm-muted); }
|
|
159
|
+
.sm-manager .sm-ui-group-back svg { width: 20px; height: 20px; }
|
|
160
|
+
.sm-manager .sm-ui-more-page .sm-ui-rows { margin-block-start: 24px; }
|
|
161
|
+
.sm-ui-fixed-state { white-space: nowrap; }
|
|
162
|
+
.sm-manager .sm-ui-package-card { grid-template-columns: minmax(0, 1fr); }
|
|
163
|
+
.sm-manager .sm-ui-package-card [data-part="title"] { display: flex; align-items: baseline; gap: 8px; }
|
|
164
|
+
.sm-ui-package-card [data-part="title"] > :first-child { overflow: hidden; text-overflow: ellipsis; }
|
|
165
|
+
.sm-ui-package-kind { flex: none; color: var(--sm-muted); font: 400 12px/18px var(--sm-font); }
|
|
166
|
+
.sm-ui-package-trail { display: inline-flex; flex: none; align-items: center; gap: 6px; margin-inline-start: auto; color: var(--sm-muted); pointer-events: none; }
|
|
167
|
+
.sm-ui-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
|
|
168
|
+
.sm-ui-row-source { margin-inline-start: 8px; font: 400 12px/1.4 var(--sm-font); color: var(--sm-muted); }
|
|
169
|
+
.sm-ui-library [role="switch"][aria-busy="true"], .sm-ui-detail-switch[aria-busy="true"] { cursor: progress; }
|
|
170
|
+
.sm-ui-library [data-part="switch"][aria-busy="true"] [data-part="thumb"]::after,
|
|
171
|
+
.sm-ui-detail-switch[aria-busy="true"] > span::after {
|
|
172
|
+
content: "";
|
|
173
|
+
position: absolute;
|
|
174
|
+
inset: 3px;
|
|
175
|
+
border: 1.5px solid var(--sm-ink);
|
|
176
|
+
border-inline-end-color: transparent;
|
|
177
|
+
border-radius: 50%;
|
|
178
|
+
animation: sm-ui-rotate .9s linear infinite;
|
|
179
|
+
}
|
|
180
|
+
.sm-ui-library [data-part="refresh"][aria-busy="true"] svg { animation: sm-ui-rotate .9s linear infinite; }
|
|
181
|
+
@keyframes sm-ui-rotate { to { transform: rotate(360deg); } }
|
|
182
|
+
.sm-ui-list-status:not([hidden]) { margin-block-start: 12px; }
|
|
183
|
+
.sm-ui-warning { display: flex; gap: 16px; align-items: center; justify-content: space-between; margin-block: 8px; padding: 9px 12px; background: var(--sm-soft); border-radius: var(--sm-radius, 8px); font-size: 13px; overflow-wrap: anywhere; }
|
|
184
|
+
.sm-ui-warnings { display: block; color: var(--sm-muted); }
|
|
185
|
+
.sm-ui-warnings summary { width: fit-content; color: var(--sm-ink); cursor: pointer; }
|
|
186
|
+
.sm-ui-warnings p { margin: 5px 0 0; }
|
|
187
|
+
.sm-ui-empty { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 45px 10px 30px; }
|
|
188
|
+
.sm-ui-empty h3 { max-inline-size: 100%; margin-block-start: 17px; font-size: 18px; font-weight: 600; line-height: 29px; overflow-wrap: anywhere; }
|
|
189
|
+
.sm-ui-empty p { margin-block-start: 7px; color: var(--sm-muted); line-height: 23px; }
|
|
190
|
+
.sm-ui-empty .sm-ui-button { min-inline-size: 104px; margin-block-start: 18px; }
|
|
191
|
+
|
|
192
|
+
.sm-ui-menu {
|
|
193
|
+
position: absolute;
|
|
194
|
+
z-index: 4;
|
|
195
|
+
display: flex;
|
|
196
|
+
flex-direction: column;
|
|
197
|
+
gap: 2px;
|
|
198
|
+
inline-size: var(--sm-menu-row-w);
|
|
199
|
+
max-inline-size: calc(100% - 12px);
|
|
200
|
+
padding: 5px;
|
|
201
|
+
overflow: auto;
|
|
202
|
+
overscroll-behavior: contain;
|
|
203
|
+
background: var(--sm-ui-overlay);
|
|
204
|
+
color: var(--sm-ink);
|
|
205
|
+
border: 1px solid var(--sm-line);
|
|
206
|
+
border-radius: 10px;
|
|
207
|
+
box-shadow: var(--sm-ui-shadow);
|
|
208
|
+
}
|
|
209
|
+
.sm-ui-menu-add { inline-size: var(--sm-menu-add-w); padding-block: 6px 7px; border-radius: 12px; }
|
|
210
|
+
.sm-ui-menu-sort { inline-size: var(--sm-menu-sort-w); }
|
|
211
|
+
.sm-ui-menu-item { flex: none; min-block-size: 32px; padding: 5px 10px; justify-content: start; gap: 10px; border-radius: 6px; text-align: start; }
|
|
212
|
+
.sm-ui-menu-item:focus { outline: none; }
|
|
213
|
+
.sm-ui-menu-item:focus-visible, .sm-ui-menu-item:not(:disabled):hover { background: var(--sm-soft); }
|
|
214
|
+
.sm-ui-menu-item:disabled { opacity: .5; }
|
|
215
|
+
.sm-ui-menu-item > svg { color: var(--sm-muted); }
|
|
216
|
+
.sm-ui-menu-sort .sm-ui-menu-item { justify-content: space-between; }
|
|
217
|
+
.sm-ui-menu-copy { display: flex; flex-direction: column; min-inline-size: 0; }
|
|
218
|
+
.sm-ui-menu-label { font-size: 14px; line-height: 20px; }
|
|
219
|
+
.sm-ui-menu-description { margin-block-start: 3px; font-size: 13px; line-height: 19px; color: var(--sm-muted); overflow-wrap: anywhere; }
|
|
220
|
+
.sm-ui-menu-add .sm-ui-menu-item { min-block-size: 57px; padding-inline: 12px 8px; gap: 13px; }
|
|
221
|
+
.sm-ui-menu-add .sm-ui-menu-label { font-size: 15px; font-weight: 500; line-height: 21px; }
|
|
222
|
+
.sm-ui-menu-divider { flex: none; margin: 2px 6px; border-block-start: 1px solid var(--sm-line); }
|
|
223
|
+
.sm-ui-toasts { position: absolute; z-index: 5; inset-inline-end: max(56px, calc((100% - var(--sm-content-width)) / 2)); inset-block-end: 12px; display: grid; justify-items: end; gap: 8px; max-inline-size: calc(100% - 32px); pointer-events: none; }
|
|
224
|
+
.sm-ui-toast { display: flex; align-items: center; gap: 10px; min-block-size: 44px; max-inline-size: 100%; padding: 6px 12px 6px 15px; border: 1px solid var(--sm-line); border-radius: 9px; background: var(--sm-ui-overlay); color: var(--sm-ink); box-shadow: var(--sm-ui-shadow); pointer-events: auto; }
|
|
225
|
+
.sm-ui-notice-glyph { display: flex; align-items: center; color: var(--sm-ui-success); }
|
|
226
|
+
.sm-ui-toast-error .sm-ui-notice-glyph { color: var(--sm-ui-error); }
|
|
227
|
+
.sm-ui-notice-text { overflow-wrap: anywhere; }
|
|
228
|
+
.sm-ui-toast:has(.sm-ui-text-action) { min-inline-size: min(342px, 100%); }
|
|
229
|
+
.sm-ui-toast .sm-ui-text-action { margin-inline-start: auto; }
|
|
230
|
+
|
|
231
|
+
.sm-ui-back { gap: 9px; min-block-size: 29px; padding-inline: 2px 7px; border-radius: 5px; color: var(--sm-muted); }
|
|
232
|
+
.sm-ui-detail-head { display: flex; gap: 19px; align-items: center; margin-block-start: 28px; padding-block-end: 32px; border-block-end: 1px solid var(--sm-line); }
|
|
233
|
+
.sm-ui-detail-tile { flex: none; display: grid; place-items: center; inline-size: 58px; block-size: 58px; border: 1px solid var(--sm-line); border-radius: 13px; background: var(--sm-bg); }
|
|
234
|
+
.sm-ui-detail-copy { flex: 1; min-inline-size: 0; }
|
|
235
|
+
.sm-ui-detail-copy .sm-ui-heading { font-family: Georgia, "Times New Roman", "PingFang SC", serif; font-size: 25px; line-height: 32px; }
|
|
236
|
+
.sm-ui-detail-copy .sm-ui-subtitle { margin-block-start: 5px; }
|
|
237
|
+
.sm-ui-detail-head > .sm-ui-button { min-inline-size: 128px; }
|
|
238
|
+
.sm-ui-detail-head + .sm-ui-subtitle { margin-block-start: 24px; }
|
|
239
|
+
.sm-ui-detail-status { display: flex; align-items: center; gap: 28px; padding-block: 25px 30px; border-block-end: 1px solid var(--sm-line); }
|
|
240
|
+
.sm-ui-status-copy { flex: 1; min-inline-size: 0; }
|
|
241
|
+
.sm-ui-status-copy h2 { font-size: 16px; line-height: 24px; font-weight: 500; }
|
|
242
|
+
.sm-ui-status-copy p { margin-block-start: 5px; }
|
|
243
|
+
.sm-ui-state-label { color: var(--sm-muted); white-space: nowrap; }
|
|
244
|
+
.sm-ui-detail-switch { flex: none; position: relative; inline-size: 34px; block-size: 20px; border-radius: 999px; background: var(--sm-switch-off); }
|
|
245
|
+
.sm-ui-detail-switch::before { content: ""; position: absolute; inset: -6px -3px; }
|
|
246
|
+
.sm-ui-detail-switch > span { position: absolute; inset-inline-start: 2px; inline-size: 16px; block-size: 16px; border-radius: 50%; background: var(--sm-on-primary); transition: inset-inline-start .13s; }
|
|
247
|
+
.sm-ui-detail-switch[aria-checked="true"] { background: var(--sm-switch-on); }
|
|
248
|
+
.sm-ui-detail-switch[aria-checked="true"] > span { inset-inline-start: 16px; }
|
|
249
|
+
.sm-ui-detail-switch[aria-disabled="true"] { opacity: .65; }
|
|
250
|
+
.sm-ui-detail-section { padding-block: 27px 25px; border-block-end: 1px solid var(--sm-line); }
|
|
251
|
+
.sm-ui-instructions { border-block-end: 0; }
|
|
252
|
+
.sm-ui-location { margin-block-start: 18px !important; }
|
|
253
|
+
.sm-ui-location-row { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 16px; align-items: center; min-block-size: 48px; }
|
|
254
|
+
.sm-ui-location-row dt { color: var(--sm-muted); }
|
|
255
|
+
.sm-ui-location-row dd { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; min-inline-size: 0; overflow-wrap: anywhere; font-family: var(--sm-ui-mono); }
|
|
256
|
+
.sm-ui-origin dd { font-family: inherit; }
|
|
257
|
+
.sm-ui-location .sm-ui-button { min-inline-size: 89px; font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif; }
|
|
258
|
+
.sm-ui-instructions > :is(.sm-document-scroll, .sm-ui-subtitle) { margin-block-start: 20px; }
|
|
259
|
+
.sm-document-scroll {
|
|
260
|
+
min-inline-size: 0;
|
|
261
|
+
/* Keep the native document's sticky toolbars below the manager's overlays. */
|
|
262
|
+
isolation: isolate;
|
|
263
|
+
}
|
|
264
|
+
.sm-document-scroll [data-detail-document] > [role="region"] { overscroll-behavior-y: contain; }
|
|
265
|
+
|
|
266
|
+
.sm-ui-dir-head { display: flex; align-items: start; justify-content: space-between; gap: 18px; margin-block-start: 24px; padding-block-end: 20px; border-block-end: 1px solid var(--sm-line); }
|
|
267
|
+
.sm-ui-dir-head .sm-ui-subtitle { margin-block-start: 6px; }
|
|
268
|
+
.sm-ui-dir-head .sm-ui-primary { min-inline-size: 114px; }
|
|
269
|
+
.sm-ui-destinations { margin-block-start: 26px; }
|
|
270
|
+
.sm-ui-dir-table { inline-size: 100%; margin-block-start: 20px; table-layout: fixed; border-collapse: collapse; }
|
|
271
|
+
.sm-ui-dir-table th, .sm-ui-dir-table td { padding: 0 12px 0 0; text-align: start; vertical-align: middle; border-block-end: 1px solid var(--sm-line); }
|
|
272
|
+
.sm-ui-dir-table th { block-size: 32px; font-size: 13px; font-weight: 400; color: var(--sm-muted); }
|
|
273
|
+
.sm-ui-dir-table th:nth-child(1) { inline-size: 31%; }
|
|
274
|
+
.sm-ui-dir-table th:nth-child(2) { inline-size: 42.6%; }
|
|
275
|
+
.sm-ui-dir-table th:last-child { inline-size: 64px; }
|
|
276
|
+
.sm-ui-dir-table th:last-child, .sm-ui-dir-table td:last-child { text-align: center; padding-inline-end: 0; }
|
|
277
|
+
.sm-ui-dir-table td { block-size: 68px; padding-block: 8px; overflow-wrap: anywhere; }
|
|
278
|
+
.sm-ui-dir-name { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; min-inline-size: 0; }
|
|
279
|
+
.sm-ui-dir-name strong, .sm-ui-remove-target strong { font-size: 15px; font-weight: 500; color: var(--sm-ink); }
|
|
280
|
+
.sm-ui-dir-tile { flex: none; display: grid; place-items: center; inline-size: 34px; block-size: 34px; margin-inline-end: 7px; color: var(--sm-muted); border-radius: 8px; background: var(--sm-soft); }
|
|
281
|
+
.sm-ui-badge { flex: none; padding: 3px 9px; font-size: 12px; line-height: 18px; background: var(--sm-soft); border-radius: 5px; }
|
|
282
|
+
.sm-ui-dir-path { font-family: var(--sm-ui-mono); font-size: 14px; }
|
|
283
|
+
.sm-ui-dir-remove { min-inline-size: 60px; min-block-size: 36px; padding-inline: 8px; border-radius: 6px; font-weight: 500; }
|
|
284
|
+
.sm-ui-readonly-note { margin-inline-start: 6px; color: var(--sm-muted); font-size: 12px; white-space: nowrap; }
|
|
285
|
+
.sm-ui-auto-dirs { margin-block-start: 40px; }
|
|
286
|
+
.sm-ui-auto-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
|
|
287
|
+
.sm-ui-readonly { display: inline-flex; align-items: center; gap: 8px; color: var(--sm-muted); font-size: 13px; }
|
|
288
|
+
.sm-ui-auto-dirs > .sm-ui-subtitle { margin-block-start: 6px; }
|
|
289
|
+
.sm-ui-discovered-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 0; margin-block-start: 14px !important; padding: 15px 0; border-radius: var(--sm-radius, 8px); background: var(--sm-soft); }
|
|
290
|
+
.sm-ui-discovered { position: relative; min-inline-size: 0; padding-inline: 20px; }
|
|
291
|
+
.sm-ui-discovered:not(:nth-child(3n + 1))::before { content: ""; position: absolute; inset-inline-start: 0; inset-block: 3px; border-inline-start: 1px solid var(--sm-line); }
|
|
292
|
+
.sm-ui-discovered dt { color: var(--sm-muted); font-size: 13px; line-height: 19px; overflow-wrap: anywhere; }
|
|
293
|
+
.sm-ui-discovered dd { margin-block-start: 6px; font-family: var(--sm-ui-mono); line-height: 22px; overflow-wrap: anywhere; }
|
|
294
|
+
.sm-ui-no-dirs { margin-block-start: 14px !important; padding: 14px 20px; color: var(--sm-muted); background: var(--sm-soft); border-radius: var(--sm-radius, 8px); }
|
|
295
|
+
.sm-ui-destinations > .sm-ui-subtitle { margin-block-start: 14px; }
|
|
296
|
+
|
|
297
|
+
/* Native dialogs stay in the host document and share its theme and keyboard focus scope. */
|
|
298
|
+
.sm-ui-dialog {
|
|
299
|
+
position: fixed;
|
|
300
|
+
inset: 0;
|
|
301
|
+
inline-size: 520px;
|
|
302
|
+
max-inline-size: calc(100vw - 24px);
|
|
303
|
+
max-block-size: calc(100dvh - 24px);
|
|
304
|
+
margin: auto;
|
|
305
|
+
padding: 0;
|
|
306
|
+
overflow: auto;
|
|
307
|
+
overscroll-behavior: contain;
|
|
308
|
+
color: var(--sm-ink);
|
|
309
|
+
background: var(--sm-ui-overlay);
|
|
310
|
+
border: 1px solid var(--sm-line);
|
|
311
|
+
border-radius: 14px;
|
|
312
|
+
box-shadow: var(--sm-ui-shadow);
|
|
313
|
+
font: inherit;
|
|
314
|
+
}
|
|
315
|
+
.sm-ui-dialog::backdrop { background: color-mix(in srgb, CanvasText 23%, transparent); }
|
|
316
|
+
.sm-ui-remove-dialog { inline-size: 496px; }
|
|
317
|
+
.sm-ui-dialog-head { position: relative; padding: 19px 54px 0 24px; }
|
|
318
|
+
.sm-ui-dialog-head h2 { font-size: 20px; font-weight: 600; line-height: 29px; }
|
|
319
|
+
.sm-ui-dialog-head .sm-ui-subtitle { margin-block-start: 6px; }
|
|
320
|
+
.sm-ui-dialog-close { position: absolute; top: 13px; right: 16px; inline-size: 36px; block-size: 36px; color: var(--sm-muted); border-radius: 7px; }
|
|
321
|
+
.sm-ui-dialog-content { padding: 20px 23px 26px; }
|
|
322
|
+
.sm-ui-field-label { display: block; margin-block-end: 5px; color: var(--sm-ink); font-size: 14px; line-height: 21px; }
|
|
323
|
+
.sm-ui-path-line + .sm-ui-field-label { margin-block-start: 19px; }
|
|
324
|
+
.sm-ui-input { appearance: none; inline-size: 100%; min-inline-size: 0; block-size: 40px; margin: 0; padding: 8px 12px; border: 1px solid var(--sm-line); border-radius: var(--sm-radius, 8px); color: var(--sm-ink); background: var(--sm-bg); font: inherit; }
|
|
325
|
+
.sm-ui-path-line { display: flex; gap: 10px; }
|
|
326
|
+
.sm-ui-path-input { font-family: var(--sm-ui-mono); }
|
|
327
|
+
.sm-ui-browse { min-inline-size: 126px; min-block-size: 40px; }
|
|
328
|
+
.sm-ui-dialog-footer { display: flex; justify-content: end; align-items: center; gap: 10px; padding: 13px 23px 14px; border-block-start: 1px solid var(--sm-line); }
|
|
329
|
+
.sm-ui-dialog-footer .sm-ui-button { min-inline-size: 66px; }
|
|
330
|
+
.sm-ui-dialog-footer .sm-ui-primary { min-inline-size: 92px; }
|
|
331
|
+
.sm-ui-remove-dialog .sm-ui-dialog-content { padding-block: 23px 22px; }
|
|
332
|
+
.sm-ui-remove-target { display: flex; align-items: center; gap: 14px; min-block-size: 62px; padding: 8px 14px; border-radius: 8px; background: var(--sm-soft); }
|
|
333
|
+
.sm-ui-remove-target > div { display: grid; gap: 4px; min-inline-size: 0; overflow-wrap: anywhere; }
|
|
334
|
+
.sm-ui-remove-target span { font-family: var(--sm-ui-mono); font-size: 13px; color: var(--sm-muted); }
|
|
335
|
+
.sm-ui-remove-copy { margin-block-start: 17px !important; line-height: 23px; }
|
|
336
|
+
.sm-ui-form-error { margin-block-start: 12px !important; color: var(--sm-ui-error); overflow-wrap: anywhere; }
|
|
337
|
+
|
|
338
|
+
@container sm-ui (max-width: 900px) {
|
|
339
|
+
.sm-ui-page { padding: 56px 36px 48px; }
|
|
340
|
+
.sm-ui-page:not([data-view="list"]) { padding-block-start: 44px; }
|
|
341
|
+
.sm-ui-toasts { inset-inline-end: 28px; }
|
|
342
|
+
.sm-ui-dir-table th:nth-child(1) { inline-size: 34%; }
|
|
343
|
+
.sm-ui-dir-table th:nth-child(2) { inline-size: 40%; }
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
@container sm-ui (max-width: 680px) {
|
|
347
|
+
.sm-ui-page { padding: 32px 22px 44px; }
|
|
348
|
+
.sm-ui-page:not([data-view="list"]) { padding-block-start: 23px; }
|
|
349
|
+
.sm-ui-tabs { margin-block-start: 20px; }
|
|
350
|
+
.sm-ui-toasts { inset-inline-end: 14px; inset-block-end: 10px; }
|
|
351
|
+
.sm-ui-summary { margin-block-start: 22px; }
|
|
352
|
+
.sm-ui-detail-head { gap: 12px; flex-wrap: wrap; padding-block-end: 20px; }
|
|
353
|
+
.sm-ui-detail-copy { flex: 1 1 calc(100% - 72px); }
|
|
354
|
+
.sm-ui-detail-head > .sm-ui-button { margin-inline-start: 70px; }
|
|
355
|
+
.sm-ui-detail-status { padding-block: 20px; gap: 14px; }
|
|
356
|
+
.sm-ui-location-row { grid-template-columns: 72px minmax(0, 1fr); gap: 10px; }
|
|
357
|
+
.sm-ui-dir-table, .sm-ui-dir-table tbody { display: block; }
|
|
358
|
+
.sm-ui-dir-table thead { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
|
|
359
|
+
.sm-ui-dir-table tbody > tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 6px; align-items: center; min-block-size: 80px; padding-block: 10px; border-block-end: 1px solid var(--sm-line); }
|
|
360
|
+
.sm-ui-dir-table tbody > tr:first-child { border-block-start: 1px solid var(--sm-line); }
|
|
361
|
+
.sm-ui-dir-table td { display: block; block-size: auto; padding: 0; border: 0; }
|
|
362
|
+
.sm-ui-dir-table td:first-child { grid-area: 1 / 1; }
|
|
363
|
+
.sm-ui-dir-table td:nth-child(2) { grid-area: 2 / 1; padding-inline-start: 43px; font-size: 13px; }
|
|
364
|
+
.sm-ui-dir-table td:nth-child(3) { grid-area: 3 / 1; padding-inline-start: 43px; font-size: 12px; color: var(--sm-muted); }
|
|
365
|
+
.sm-ui-dir-table td:last-child { grid-area: 1 / 2 / span 3; }
|
|
366
|
+
.sm-ui-dir-tile { inline-size: 30px; block-size: 30px; margin-inline-end: 6px; }
|
|
367
|
+
.sm-ui-auto-dirs { margin-block-start: 28px; }
|
|
368
|
+
.sm-ui-discovered-grid { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 2px 16px; }
|
|
369
|
+
.sm-ui-discovered { padding: 10px 0; }
|
|
370
|
+
.sm-ui-discovered:not(:first-child) { border-block-start: 1px solid var(--sm-line); }
|
|
371
|
+
.sm-ui-discovered::before { display: none; }
|
|
372
|
+
.sm-ui-discovered dd { margin-block-start: 2px; }
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
@container sm-ui (max-width: 420px) {
|
|
376
|
+
.sm-ui-page { padding-inline: 14px; }
|
|
377
|
+
.sm-ui-dir-head { flex-wrap: wrap; gap: 12px; }
|
|
378
|
+
.sm-ui-dir-head .sm-ui-primary { min-inline-size: 100px; }
|
|
379
|
+
.sm-ui-detail-copy .sm-ui-heading { font-size: 22px; }
|
|
380
|
+
.sm-ui-dir-remove { min-inline-size: 38px; }
|
|
381
|
+
.sm-ui-scan-status { flex: 1; min-inline-size: 0; }
|
|
382
|
+
.sm-ui-sort { gap: 3px; }
|
|
383
|
+
.sm-ui-toasts { inset-inline: 8px; max-inline-size: calc(100% - 16px); }
|
|
384
|
+
.sm-ui-menu-add .sm-ui-menu-item { gap: 10px; }
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
@media (max-width: 420px) {
|
|
388
|
+
.sm-ui-dialog-head { padding-inline-start: 17px; }
|
|
389
|
+
.sm-ui-dialog-content, .sm-ui-dialog-footer { padding-inline: 17px; }
|
|
390
|
+
.sm-ui-path-line { flex-wrap: wrap; }
|
|
391
|
+
.sm-ui-browse { min-inline-size: 0; }
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
@media (prefers-reduced-motion: reduce) {
|
|
395
|
+
.sm-ui-library [data-part="refresh"][aria-busy="true"] svg { animation: none; }
|
|
396
|
+
.sm-ui-library [data-part="switch"][aria-busy="true"] [data-part="thumb"]::after,
|
|
397
|
+
.sm-ui-detail-switch[aria-busy="true"] > span::after { animation: none; }
|
|
398
|
+
.sm-ui-detail-switch > span { transition: none; }
|
|
399
|
+
}
|