dsh-mcp 1.14.0 → 1.14.2

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.
@@ -0,0 +1,93 @@
1
+ /* Shared control styles for the client UI.
2
+ *
3
+ * Every `.module.css` in this package is injected into the host page's <head>
4
+ * verbatim — the build's class map is the identity, so there is no scoping
5
+ * boundary and a class name is global. Two consequences:
6
+ *
7
+ * 1. Elements are styled by class only, never by tag. A bare `button` /
8
+ * `input` selector would restyle the host shell (issue #14: the composer's
9
+ * icon buttons lost their centering to a leaked `padding: 5px 12px`).
10
+ * 2. Each class below is defined **exactly here**, once. Another stylesheet
11
+ * re-defining `.button` would silently change every control in the plugin,
12
+ * so components import this module only for the class *names* and keep
13
+ * their layout/variant rules in their own file.
14
+ */
15
+
16
+ .button {
17
+ border: 1px solid var(--dsw-alias-border-l2);
18
+ border-radius: 6px;
19
+ padding: 5px 12px;
20
+ background: transparent;
21
+ color: var(--dsw-alias-label-primary);
22
+ font: inherit;
23
+ font-size: 13px;
24
+ line-height: 20px;
25
+ cursor: pointer;
26
+ }
27
+
28
+ .button:hover {
29
+ background: var(--dsw-alias-interactive-bg-hover);
30
+ }
31
+
32
+ .button:focus-visible {
33
+ outline: 2px solid var(--dsw-alias-brand-primary);
34
+ outline-offset: 1px;
35
+ }
36
+
37
+ .button:disabled {
38
+ cursor: not-allowed;
39
+ opacity: 0.55;
40
+ }
41
+
42
+ /* Compact action, e.g. the inline "retry" button of the global-env editor. */
43
+ .buttonSmall {
44
+ padding: 3px 10px;
45
+ font-size: 12px;
46
+ line-height: 18px;
47
+ }
48
+
49
+ .primary {
50
+ border-color: var(--dsw-alias-button-primary-fill);
51
+ background: var(--dsw-alias-button-primary-fill);
52
+ color: var(--dsw-alias-label-primary-foreground);
53
+ }
54
+
55
+ .primary:hover {
56
+ background: var(--dsw-alias-button-primary-hover);
57
+ }
58
+
59
+ /* Text controls: one class for <input>, <select> and <textarea>, so no rule
60
+ has to name an element. */
61
+ .control {
62
+ width: 100%;
63
+ box-sizing: border-box;
64
+ border: 1px solid var(--dsw-alias-border-l2);
65
+ border-radius: 8px;
66
+ padding: 6px 10px;
67
+ outline: none;
68
+ background: var(--dsw-alias-bg-layer-1);
69
+ color: var(--dsw-alias-label-primary);
70
+ font: inherit;
71
+ font-size: 13px;
72
+ resize: vertical;
73
+ }
74
+
75
+ .control::placeholder {
76
+ color: var(--dsw-alias-label-tertiary);
77
+ }
78
+
79
+ .control:focus-visible {
80
+ border-color: var(--dsw-alias-brand-primary);
81
+ box-shadow: 0 0 0 2px color-mix(in srgb, var(--dsw-alias-brand-primary) 18%, transparent);
82
+ }
83
+
84
+ /* Denser monospace variant: the env rows of the global-env editor. */
85
+ .controlMono {
86
+ border-radius: 6px;
87
+ padding: 5px 8px;
88
+ font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
89
+ }
90
+
91
+ .checkbox {
92
+ cursor: pointer;
93
+ }