codexmate 0.0.19 → 0.0.21
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/README.en.md +349 -255
- package/README.md +284 -248
- package/cli/agents-files.js +162 -0
- package/cli/archive-helpers.js +446 -0
- package/cli/auth-profiles.js +359 -0
- package/cli/builtin-proxy.js +580 -0
- package/cli/claude-proxy.js +998 -0
- package/cli/config-bootstrap.js +384 -0
- package/cli/config-health.js +338 -0
- package/cli/openclaw-config.js +629 -0
- package/cli/skills.js +1141 -0
- package/cli/zip-commands.js +510 -0
- package/cli.js +13129 -12973
- package/lib/cli-file-utils.js +151 -151
- package/lib/cli-models-utils.js +419 -152
- package/lib/cli-network-utils.js +164 -148
- package/lib/cli-path-utils.js +69 -0
- package/lib/cli-session-utils.js +121 -121
- package/lib/cli-sessions.js +386 -0
- package/lib/cli-utils.js +155 -155
- package/lib/download-artifacts.js +77 -0
- package/lib/mcp-stdio.js +440 -440
- package/lib/task-orchestrator.js +869 -0
- package/lib/text-diff.js +303 -303
- package/lib/workflow-engine.js +340 -340
- package/package.json +74 -63
- package/res/json5.min.js +1 -1
- package/res/vue.global.prod.js +13 -0
- package/web-ui/app.js +530 -5548
- package/web-ui/index.html +33 -2246
- package/web-ui/logic.agents-diff.mjs +386 -0
- package/web-ui/logic.claude.mjs +168 -0
- package/web-ui/logic.mjs +5 -793
- package/web-ui/logic.runtime.mjs +124 -0
- package/web-ui/logic.sessions.mjs +581 -0
- package/web-ui/modules/api.mjs +90 -0
- package/web-ui/modules/app.computed.dashboard.mjs +113 -0
- package/web-ui/modules/app.computed.index.mjs +15 -0
- package/web-ui/modules/app.computed.main-tabs.mjs +195 -0
- package/web-ui/modules/app.computed.session.mjs +507 -0
- package/web-ui/modules/app.constants.mjs +15 -0
- package/web-ui/modules/app.methods.agents.mjs +493 -0
- package/web-ui/modules/app.methods.claude-config.mjs +174 -0
- package/web-ui/modules/app.methods.codex-config.mjs +640 -0
- package/web-ui/modules/app.methods.index.mjs +88 -0
- package/web-ui/modules/app.methods.install.mjs +149 -0
- package/web-ui/modules/app.methods.navigation.mjs +619 -0
- package/web-ui/modules/app.methods.openclaw-core.mjs +814 -0
- package/web-ui/modules/app.methods.openclaw-editing.mjs +372 -0
- package/web-ui/modules/app.methods.openclaw-persist.mjs +369 -0
- package/web-ui/modules/app.methods.providers.mjs +363 -0
- package/web-ui/modules/app.methods.runtime.mjs +323 -0
- package/web-ui/modules/app.methods.session-actions.mjs +520 -0
- package/web-ui/modules/app.methods.session-browser.mjs +626 -0
- package/web-ui/modules/app.methods.session-timeline.mjs +448 -0
- package/web-ui/modules/app.methods.session-trash.mjs +422 -0
- package/web-ui/modules/app.methods.startup-claude.mjs +412 -0
- package/web-ui/modules/app.methods.task-orchestration.mjs +471 -0
- package/web-ui/modules/config-mode.computed.mjs +126 -124
- package/web-ui/modules/skills.computed.mjs +107 -107
- package/web-ui/modules/skills.methods.mjs +481 -481
- package/web-ui/partials/index/layout-footer.html +13 -0
- package/web-ui/partials/index/layout-header.html +402 -0
- package/web-ui/partials/index/modal-config-template-agents.html +125 -0
- package/web-ui/partials/index/modal-confirm-toast.html +32 -0
- package/web-ui/partials/index/modal-health-check.html +72 -0
- package/web-ui/partials/index/modal-openclaw-config.html +280 -0
- package/web-ui/partials/index/modal-skills.html +184 -0
- package/web-ui/partials/index/modals-basic.html +156 -0
- package/web-ui/partials/index/panel-config-claude.html +126 -0
- package/web-ui/partials/index/panel-config-codex.html +237 -0
- package/web-ui/partials/index/panel-config-openclaw.html +78 -0
- package/web-ui/partials/index/panel-docs.html +130 -0
- package/web-ui/partials/index/panel-market.html +174 -0
- package/web-ui/partials/index/panel-orchestration.html +397 -0
- package/web-ui/partials/index/panel-sessions.html +292 -0
- package/web-ui/partials/index/panel-settings.html +190 -0
- package/web-ui/partials/index/panel-usage.html +213 -0
- package/web-ui/session-helpers.mjs +559 -362
- package/web-ui/source-bundle.cjs +233 -0
- package/web-ui/styles/base-theme.css +271 -0
- package/web-ui/styles/controls-forms.css +360 -0
- package/web-ui/styles/docs-panel.css +182 -0
- package/web-ui/styles/feedback.css +108 -0
- package/web-ui/styles/health-check-dialog.css +144 -0
- package/web-ui/styles/layout-shell.css +376 -0
- package/web-ui/styles/modals-core.css +464 -0
- package/web-ui/styles/navigation-panels.css +348 -0
- package/web-ui/styles/openclaw-structured.css +266 -0
- package/web-ui/styles/responsive.css +450 -0
- package/web-ui/styles/sessions-list.css +400 -0
- package/web-ui/styles/sessions-preview.css +411 -0
- package/web-ui/styles/sessions-toolbar-trash.css +243 -0
- package/web-ui/styles/sessions-usage.css +628 -0
- package/web-ui/styles/skills-list.css +296 -0
- package/web-ui/styles/skills-market.css +335 -0
- package/web-ui/styles/task-orchestration.css +776 -0
- package/web-ui/styles/titles-cards.css +408 -0
- package/web-ui/styles.css +18 -4668
- package/web-ui.html +17 -17
- package/res/screenshot.png +0 -0
- package/res/vue.global.js +0 -18552
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
.health-check-dialog {
|
|
2
|
+
width: min(88vw, 720px);
|
|
3
|
+
max-width: 720px;
|
|
4
|
+
padding: 20px;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.health-check-dialog-subtitle {
|
|
8
|
+
margin-top: -6px;
|
|
9
|
+
color: var(--color-text-tertiary);
|
|
10
|
+
font-size: var(--font-size-secondary);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.health-check-dialog-lock {
|
|
14
|
+
display: inline-flex;
|
|
15
|
+
align-items: center;
|
|
16
|
+
gap: 6px;
|
|
17
|
+
padding: 8px 12px;
|
|
18
|
+
border-radius: 999px;
|
|
19
|
+
background: rgba(201, 94, 75, 0.12);
|
|
20
|
+
color: var(--color-text-primary);
|
|
21
|
+
font-size: var(--font-size-caption);
|
|
22
|
+
font-weight: var(--font-weight-secondary);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.health-check-dialog-controls {
|
|
26
|
+
display: flex;
|
|
27
|
+
align-items: flex-end;
|
|
28
|
+
gap: 12px;
|
|
29
|
+
margin-bottom: 12px;
|
|
30
|
+
flex-wrap: wrap;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.health-check-dialog-provider {
|
|
34
|
+
flex: 1 1 260px;
|
|
35
|
+
margin-bottom: 0;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.health-check-dialog-result {
|
|
39
|
+
display: flex;
|
|
40
|
+
align-items: center;
|
|
41
|
+
gap: 10px;
|
|
42
|
+
flex-wrap: wrap;
|
|
43
|
+
min-height: 42px;
|
|
44
|
+
padding: 8px 10px;
|
|
45
|
+
border-radius: var(--radius-sm);
|
|
46
|
+
border: 1px solid var(--color-border-soft);
|
|
47
|
+
background: rgba(255, 255, 255, 0.72);
|
|
48
|
+
font-size: var(--font-size-caption);
|
|
49
|
+
color: var(--color-text-secondary);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.health-check-dialog-result.ok {
|
|
53
|
+
border-color: rgba(57, 181, 97, 0.25);
|
|
54
|
+
background: rgba(57, 181, 97, 0.08);
|
|
55
|
+
color: #2b6a3b;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.health-check-dialog-result.error {
|
|
59
|
+
border-color: rgba(220, 95, 108, 0.28);
|
|
60
|
+
background: rgba(220, 95, 108, 0.08);
|
|
61
|
+
color: #8a2f36;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.health-check-dialog-thread {
|
|
65
|
+
max-height: 300px;
|
|
66
|
+
overflow-y: auto;
|
|
67
|
+
margin-bottom: 12px;
|
|
68
|
+
padding: 10px;
|
|
69
|
+
border: 1px solid var(--color-border-soft);
|
|
70
|
+
border-radius: var(--radius-lg);
|
|
71
|
+
background: linear-gradient(to bottom, rgba(255, 255, 255, 0.92) 0%, rgba(246, 240, 232, 0.9) 100%);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.health-check-dialog-empty {
|
|
75
|
+
padding: 16px;
|
|
76
|
+
border: 1px dashed var(--color-border-soft);
|
|
77
|
+
border-radius: var(--radius-sm);
|
|
78
|
+
color: var(--color-text-tertiary);
|
|
79
|
+
text-align: center;
|
|
80
|
+
background: rgba(255, 255, 255, 0.7);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.health-check-message + .health-check-message {
|
|
84
|
+
margin-top: 10px;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.health-check-message {
|
|
88
|
+
padding: 10px 12px;
|
|
89
|
+
border-radius: 16px;
|
|
90
|
+
border: 1px solid rgba(201, 94, 75, 0.12);
|
|
91
|
+
background: rgba(255, 255, 255, 0.84);
|
|
92
|
+
box-shadow: var(--shadow-subtle);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.health-check-message.user {
|
|
96
|
+
margin-left: auto;
|
|
97
|
+
max-width: 82%;
|
|
98
|
+
background: linear-gradient(to bottom, rgba(201, 94, 75, 0.12) 0%, rgba(201, 94, 75, 0.06) 100%);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.health-check-message.assistant {
|
|
102
|
+
margin-right: auto;
|
|
103
|
+
max-width: 88%;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.health-check-message.error {
|
|
107
|
+
border-color: rgba(220, 95, 108, 0.24);
|
|
108
|
+
background: rgba(220, 95, 108, 0.08);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.health-check-message-meta {
|
|
112
|
+
display: flex;
|
|
113
|
+
align-items: center;
|
|
114
|
+
gap: 8px;
|
|
115
|
+
flex-wrap: wrap;
|
|
116
|
+
margin-bottom: 4px;
|
|
117
|
+
color: var(--color-text-tertiary);
|
|
118
|
+
font-size: var(--font-size-caption);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.health-check-message-text {
|
|
122
|
+
white-space: pre-wrap;
|
|
123
|
+
word-break: break-word;
|
|
124
|
+
color: var(--color-text-primary);
|
|
125
|
+
line-height: 1.65;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.health-check-message-raw {
|
|
129
|
+
margin: 8px 0 0;
|
|
130
|
+
padding: 10px;
|
|
131
|
+
border-radius: var(--radius-sm);
|
|
132
|
+
background: rgba(31, 26, 23, 0.04);
|
|
133
|
+
border: 1px dashed var(--color-border-soft);
|
|
134
|
+
color: var(--color-text-secondary);
|
|
135
|
+
white-space: pre-wrap;
|
|
136
|
+
word-break: break-word;
|
|
137
|
+
font-size: 12px;
|
|
138
|
+
font-family: var(--font-family-mono);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.health-check-dialog-textarea {
|
|
142
|
+
min-height: 88px;
|
|
143
|
+
resize: vertical;
|
|
144
|
+
}
|
|
@@ -0,0 +1,376 @@
|
|
|
1
|
+
/* ============================================
|
|
2
|
+
容器
|
|
3
|
+
============================================ */
|
|
4
|
+
body::before,
|
|
5
|
+
body::after {
|
|
6
|
+
content: none;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
/* ============================================
|
|
10
|
+
容器
|
|
11
|
+
============================================ */
|
|
12
|
+
.container {
|
|
13
|
+
width: 100%;
|
|
14
|
+
max-width: none;
|
|
15
|
+
margin: 0;
|
|
16
|
+
padding: 0;
|
|
17
|
+
position: relative;
|
|
18
|
+
z-index: 1;
|
|
19
|
+
min-height: 100vh;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/* ============================================
|
|
23
|
+
布局:双栏(侧栏 + 主区)
|
|
24
|
+
============================================ */
|
|
25
|
+
.app-shell {
|
|
26
|
+
display: grid;
|
|
27
|
+
grid-template-columns: 248px minmax(0, 1fr);
|
|
28
|
+
gap: 0;
|
|
29
|
+
align-items: stretch;
|
|
30
|
+
min-height: 100vh;
|
|
31
|
+
height: 100vh;
|
|
32
|
+
overflow: hidden;
|
|
33
|
+
background: var(--color-bg);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.app-shell.standalone {
|
|
37
|
+
grid-template-columns: 1fr;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.side-rail {
|
|
41
|
+
position: sticky;
|
|
42
|
+
top: 0;
|
|
43
|
+
align-self: stretch;
|
|
44
|
+
display: flex;
|
|
45
|
+
flex-direction: column;
|
|
46
|
+
gap: 0;
|
|
47
|
+
padding: 0;
|
|
48
|
+
background: var(--color-surface);
|
|
49
|
+
border-right: 1px solid var(--color-border);
|
|
50
|
+
border-radius: 0;
|
|
51
|
+
box-shadow: none;
|
|
52
|
+
min-height: 100vh;
|
|
53
|
+
overflow-y: auto;
|
|
54
|
+
scrollbar-width: none;
|
|
55
|
+
-ms-overflow-style: none;
|
|
56
|
+
backdrop-filter: none;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.side-rail::-webkit-scrollbar {
|
|
60
|
+
display: none;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.side-rail .brand-title {
|
|
64
|
+
font-size: 22px;
|
|
65
|
+
margin-bottom: 0;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.side-section {
|
|
69
|
+
display: flex;
|
|
70
|
+
flex-direction: column;
|
|
71
|
+
gap: 4px;
|
|
72
|
+
padding: 14px 10px;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.side-section + .side-section {
|
|
76
|
+
border-top: 1px solid var(--color-border);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.side-rail-nav {
|
|
80
|
+
display: flex;
|
|
81
|
+
flex-direction: column;
|
|
82
|
+
gap: 0;
|
|
83
|
+
flex: 1 1 auto;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.side-section-title {
|
|
87
|
+
font-size: 11px;
|
|
88
|
+
font-weight: 700;
|
|
89
|
+
color: var(--color-text-muted);
|
|
90
|
+
letter-spacing: 0.06em;
|
|
91
|
+
text-transform: uppercase;
|
|
92
|
+
padding: 0 8px;
|
|
93
|
+
margin-bottom: 8px;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.side-item {
|
|
97
|
+
width: 100%;
|
|
98
|
+
text-align: left;
|
|
99
|
+
padding: 7px 10px;
|
|
100
|
+
border-radius: 8px;
|
|
101
|
+
border: 1px solid transparent;
|
|
102
|
+
background: transparent;
|
|
103
|
+
color: var(--color-text-secondary);
|
|
104
|
+
cursor: pointer;
|
|
105
|
+
transition: border-color var(--transition-fast) var(--ease-smooth), background-color var(--transition-fast) var(--ease-smooth), color var(--transition-fast) var(--ease-smooth);
|
|
106
|
+
display: flex;
|
|
107
|
+
flex-direction: column;
|
|
108
|
+
gap: 2px;
|
|
109
|
+
box-shadow: none;
|
|
110
|
+
position: relative;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.side-item::before {
|
|
114
|
+
content: "";
|
|
115
|
+
position: absolute;
|
|
116
|
+
left: 0;
|
|
117
|
+
top: 50%;
|
|
118
|
+
transform: translateY(-50%);
|
|
119
|
+
width: 3px;
|
|
120
|
+
height: 16px;
|
|
121
|
+
border-radius: 0 2px 2px 0;
|
|
122
|
+
background: transparent;
|
|
123
|
+
transition: background-color var(--transition-fast) var(--ease-smooth);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.side-item:hover {
|
|
127
|
+
background: var(--color-surface-alt);
|
|
128
|
+
color: var(--color-text-primary);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.side-item.active,
|
|
132
|
+
.side-item.nav-intent-active {
|
|
133
|
+
border-color: transparent;
|
|
134
|
+
background: var(--color-brand-light);
|
|
135
|
+
color: var(--color-brand-dark);
|
|
136
|
+
box-shadow: none;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.side-item.nav-intent-inactive,
|
|
140
|
+
.side-item.active.nav-intent-inactive {
|
|
141
|
+
border-color: transparent;
|
|
142
|
+
background: transparent;
|
|
143
|
+
color: var(--color-text-secondary);
|
|
144
|
+
box-shadow: none;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.side-item.active::before,
|
|
148
|
+
.side-item.nav-intent-active::before {
|
|
149
|
+
background: var(--color-brand);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.side-item.nav-intent-inactive::before,
|
|
153
|
+
.side-item.active.nav-intent-inactive::before {
|
|
154
|
+
background: transparent;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.side-item-title {
|
|
158
|
+
font-size: 13px;
|
|
159
|
+
font-weight: 600;
|
|
160
|
+
letter-spacing: -0.01em;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.side-item-meta {
|
|
164
|
+
font-size: 11px;
|
|
165
|
+
color: var(--color-text-muted);
|
|
166
|
+
display: flex;
|
|
167
|
+
opacity: 1;
|
|
168
|
+
gap: 5px;
|
|
169
|
+
flex-wrap: wrap;
|
|
170
|
+
line-height: 1.4;
|
|
171
|
+
min-height: 1.4em;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.side-item.active .side-item-meta,
|
|
175
|
+
.side-item.nav-intent-active .side-item-meta {
|
|
176
|
+
color: var(--color-text-secondary);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.side-item-meta > span {
|
|
180
|
+
min-width: 0;
|
|
181
|
+
overflow-wrap: anywhere;
|
|
182
|
+
word-break: break-word;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
@media (min-width: 721px) {
|
|
186
|
+
body:not(.force-compact) #app > .top-tabs {
|
|
187
|
+
display: none;
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.brand-block {
|
|
192
|
+
display: flex;
|
|
193
|
+
flex-direction: column;
|
|
194
|
+
align-items: flex-start;
|
|
195
|
+
gap: 10px;
|
|
196
|
+
margin-bottom: 0;
|
|
197
|
+
padding: 20px;
|
|
198
|
+
border-bottom: 1px solid var(--color-border);
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.brand-head {
|
|
202
|
+
display: flex;
|
|
203
|
+
align-items: center;
|
|
204
|
+
gap: 12px;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.brand-logo {
|
|
208
|
+
width: 38px;
|
|
209
|
+
height: 38px;
|
|
210
|
+
border-radius: 10px;
|
|
211
|
+
object-fit: cover;
|
|
212
|
+
flex-shrink: 0;
|
|
213
|
+
box-shadow: var(--shadow-subtle);
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.brand-copy {
|
|
217
|
+
display: flex;
|
|
218
|
+
flex-direction: column;
|
|
219
|
+
gap: 4px;
|
|
220
|
+
min-width: 0;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.brand-kicker {
|
|
224
|
+
font-size: 11px;
|
|
225
|
+
line-height: 1;
|
|
226
|
+
letter-spacing: 0.06em;
|
|
227
|
+
text-transform: uppercase;
|
|
228
|
+
color: var(--color-text-muted);
|
|
229
|
+
font-weight: 700;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.brand-subtitle {
|
|
233
|
+
font-size: 12px;
|
|
234
|
+
line-height: 1.45;
|
|
235
|
+
color: var(--color-text-secondary);
|
|
236
|
+
max-width: 22ch;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.brand-title {
|
|
240
|
+
font-size: 18px;
|
|
241
|
+
line-height: 1.1;
|
|
242
|
+
font-family: var(--font-family-display);
|
|
243
|
+
color: var(--color-text-primary);
|
|
244
|
+
letter-spacing: -0.02em;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.github-badge {
|
|
248
|
+
display: inline-flex;
|
|
249
|
+
align-items: center;
|
|
250
|
+
justify-content: space-between;
|
|
251
|
+
gap: 10px;
|
|
252
|
+
margin-top: 0;
|
|
253
|
+
padding: 8px 10px;
|
|
254
|
+
border-radius: 8px;
|
|
255
|
+
border: 1px solid var(--color-border);
|
|
256
|
+
background: var(--color-surface);
|
|
257
|
+
color: var(--color-text-secondary);
|
|
258
|
+
font-size: var(--font-size-caption);
|
|
259
|
+
text-decoration: none;
|
|
260
|
+
box-shadow: none;
|
|
261
|
+
transition: border-color var(--transition-fast) var(--ease-smooth), background-color var(--transition-fast) var(--ease-smooth), color var(--transition-fast) var(--ease-smooth), box-shadow var(--transition-fast) var(--ease-smooth);
|
|
262
|
+
min-width: 0;
|
|
263
|
+
backdrop-filter: none;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
.github-badge-rail {
|
|
267
|
+
width: calc(100% - 24px);
|
|
268
|
+
margin: 0 12px 12px;
|
|
269
|
+
align-items: center;
|
|
270
|
+
justify-content: flex-start;
|
|
271
|
+
gap: 8px;
|
|
272
|
+
padding: 8px 10px;
|
|
273
|
+
border-radius: 8px;
|
|
274
|
+
background: var(--color-surface);
|
|
275
|
+
border: 1px solid var(--color-border);
|
|
276
|
+
box-shadow: none;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
.github-badge:hover {
|
|
280
|
+
border-color: var(--color-border-strong);
|
|
281
|
+
background: var(--color-surface-alt);
|
|
282
|
+
color: var(--color-text-primary);
|
|
283
|
+
box-shadow: none;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
.github-badge:focus-visible {
|
|
287
|
+
outline: 3px solid rgba(199, 116, 98, 0.18);
|
|
288
|
+
outline-offset: 2px;
|
|
289
|
+
border-color: var(--color-brand);
|
|
290
|
+
color: var(--color-text-primary);
|
|
291
|
+
background: var(--color-surface);
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
.github-badge-icon {
|
|
295
|
+
width: 16px;
|
|
296
|
+
height: 16px;
|
|
297
|
+
flex-shrink: 0;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
.github-badge-left {
|
|
301
|
+
display: inline-flex;
|
|
302
|
+
align-items: center;
|
|
303
|
+
gap: 6px;
|
|
304
|
+
flex-shrink: 0;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
.github-badge-label {
|
|
308
|
+
font-size: var(--font-size-caption);
|
|
309
|
+
font-weight: var(--font-weight-secondary);
|
|
310
|
+
color: var(--color-text-secondary);
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
.github-badge-text {
|
|
314
|
+
min-width: 0;
|
|
315
|
+
font-family: var(--font-family-mono);
|
|
316
|
+
font-size: var(--font-size-caption);
|
|
317
|
+
color: var(--color-text-tertiary);
|
|
318
|
+
line-height: 1.3;
|
|
319
|
+
display: inline-block;
|
|
320
|
+
overflow: hidden;
|
|
321
|
+
text-overflow: ellipsis;
|
|
322
|
+
white-space: nowrap;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
.github-badge-text > span {
|
|
326
|
+
white-space: nowrap;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
.github-owner {
|
|
330
|
+
font-weight: 600;
|
|
331
|
+
color: var(--color-text-secondary);
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
.github-sep {
|
|
335
|
+
margin: 0 2px;
|
|
336
|
+
color: var(--color-text-tertiary);
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
.github-repo {
|
|
340
|
+
font-weight: 600;
|
|
341
|
+
color: var(--color-text-primary);
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
.github-badge-rail .github-badge-text {
|
|
345
|
+
display: flex;
|
|
346
|
+
flex-direction: column;
|
|
347
|
+
align-items: flex-start;
|
|
348
|
+
gap: 2px;
|
|
349
|
+
white-space: normal;
|
|
350
|
+
overflow: visible;
|
|
351
|
+
text-overflow: clip;
|
|
352
|
+
color: var(--color-text-secondary);
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
.github-badge-rail .github-sep {
|
|
356
|
+
display: none;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
.github-badge-rail .github-owner,
|
|
360
|
+
.github-badge-rail .github-repo {
|
|
361
|
+
font-weight: 600;
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
.github-badge-rail .github-badge-left {
|
|
365
|
+
padding: 4px;
|
|
366
|
+
border-radius: 999px;
|
|
367
|
+
background: var(--color-brand-light);
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
.github-badge-rail .github-badge-label {
|
|
371
|
+
display: none;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
.github-badge-rail:hover {
|
|
375
|
+
border-color: var(--color-border-strong);
|
|
376
|
+
}
|