codexmate 0.1.16 → 0.1.17

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.
@@ -5,7 +5,7 @@
5
5
  .docs-mode-content {
6
6
  display: flex;
7
7
  flex-direction: column;
8
- gap: 16px;
8
+ gap: 14px;
9
9
  }
10
10
 
11
11
  /* ---- Toolbar grid ----
@@ -20,17 +20,17 @@
20
20
  .docs-toolbar-card {
21
21
  display: flex;
22
22
  flex-direction: column;
23
- gap: 8px;
23
+ gap: 7px;
24
24
  padding: 14px;
25
25
  border: 1px solid var(--color-border-soft);
26
26
  border-radius: var(--radius-md);
27
27
  background: var(--color-surface);
28
28
  }
29
29
 
30
- .docs-toolbar-card-wide {
31
- /* 历史遗留的宽卡类,等宽网格下不再需要额外跨度,
32
- 保留类名以兼容模板中的引用。 */
33
- grid-column: auto;
30
+ /* 三张卡统一承载分段控件:标签块级化,使相邻卡内
31
+ install-action-tabs 的顶部基线保持一致。 */
32
+ .docs-toolbar-card .form-label {
33
+ display: block;
34
34
  }
35
35
 
36
36
  /* Segmented control:把 install/registry 的散落 btn-mini
@@ -49,7 +49,7 @@
49
49
  border-color: transparent;
50
50
  background: transparent;
51
51
  box-shadow: none;
52
- padding: 6px 12px;
52
+ padding: 5px 12px;
53
53
  }
54
54
 
55
55
  .docs-toolbar-card .install-action-tabs .btn-mini:hover {
@@ -64,48 +64,6 @@
64
64
  box-shadow: var(--shadow-subtle);
65
65
  }
66
66
 
67
- /* ---- Summary strip ----
68
- 原为 4 列网格但仅有 3 个 item,末列长期空置。改为
69
- 3 列等宽,composition 直接对齐内容数量。 */
70
- .docs-summary-strip {
71
- display: grid;
72
- grid-template-columns: repeat(3, minmax(0, 1fr));
73
- gap: 10px;
74
- margin-top: 2px;
75
- }
76
-
77
- .docs-summary-item {
78
- display: flex;
79
- flex-direction: column;
80
- gap: 4px;
81
- padding: 14px 16px;
82
- border: 1px solid var(--color-border-soft);
83
- border-radius: var(--radius-md);
84
- background: var(--color-surface);
85
- }
86
-
87
- /* 三列等宽后不再需要额外跨度,保留类名兼容模板引用。 */
88
- .docs-summary-item-wide {
89
- grid-column: auto;
90
- }
91
-
92
- .docs-summary-label {
93
- font-size: 10px;
94
- font-weight: 700;
95
- color: var(--color-text-muted);
96
- letter-spacing: 0.06em;
97
- text-transform: uppercase;
98
- }
99
-
100
- .docs-summary-value {
101
- font-size: 18px;
102
- font-weight: 700;
103
- color: var(--color-text-primary);
104
- line-height: 1.2;
105
- letter-spacing: -0.02em;
106
- word-break: break-word;
107
- }
108
-
109
67
  /* ---- Install rows ---- */
110
68
  .docs-install-list {
111
69
  display: flex;
@@ -114,7 +72,7 @@
114
72
  }
115
73
 
116
74
  .docs-install-row {
117
- padding: 16px;
75
+ padding: 14px;
118
76
  border: 1px solid var(--color-border-soft);
119
77
  border-radius: var(--radius-md);
120
78
  background: var(--color-surface);
@@ -124,7 +82,7 @@
124
82
  display: flex;
125
83
  flex-direction: column;
126
84
  gap: 6px;
127
- margin-bottom: 10px;
85
+ margin-bottom: 8px;
128
86
  }
129
87
 
130
88
  .docs-command-row {
@@ -253,10 +211,6 @@
253
211
  .docs-toolbar-grid > .docs-toolbar-card:first-child {
254
212
  grid-column: span 2;
255
213
  }
256
-
257
- .docs-summary-strip {
258
- grid-template-columns: repeat(3, minmax(0, 1fr));
259
- }
260
214
  }
261
215
 
262
216
  @media (max-width: 720px) {
@@ -268,7 +222,6 @@
268
222
  grid-column: auto;
269
223
  }
270
224
 
271
- .docs-summary-strip,
272
225
  .docs-help-grid {
273
226
  grid-template-columns: 1fr;
274
227
  }
@@ -5,6 +5,10 @@
5
5
  align-items: start;
6
6
  }
7
7
 
8
+ .plugins-layout-single {
9
+ grid-template-columns: minmax(0, 1fr);
10
+ }
11
+
8
12
  .plugins-sidebar {
9
13
  border: 1px solid var(--color-border);
10
14
  border-radius: var(--radius-lg);
@@ -101,6 +105,11 @@
101
105
 
102
106
  .plugins-panel-head {
103
107
  margin-bottom: var(--spacing-sm);
108
+ display: flex;
109
+ justify-content: space-between;
110
+ align-items: flex-start;
111
+ gap: var(--spacing-xs);
112
+ flex-wrap: wrap;
104
113
  }
105
114
 
106
115
  .plugins-panel-title {
@@ -303,27 +312,15 @@
303
312
 
304
313
  .prompt-compose-workspace {
305
314
  display: grid;
315
+ grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
306
316
  gap: var(--spacing-sm);
317
+ align-items: start;
307
318
  }
308
319
 
309
- .prompt-compose-selected {
310
- padding: var(--spacing-sm);
311
- border-radius: var(--radius-md);
312
- border: 1px solid var(--color-border-soft);
313
- background: linear-gradient(to bottom, rgba(255,243,236,0.5) 0%, rgba(255,255,255,0.6) 100%);
314
- }
315
-
316
- .prompt-compose-selected-title {
317
- font-size: var(--font-size-body);
318
- font-weight: var(--font-weight-primary);
319
- color: var(--color-text-primary);
320
- }
321
-
322
- .prompt-compose-selected-meta {
323
- margin-top: 6px;
324
- font-size: var(--font-size-caption);
325
- color: var(--color-text-tertiary);
326
- line-height: 1.5;
320
+ .prompt-compose-main {
321
+ display: grid;
322
+ gap: var(--spacing-sm);
323
+ min-width: 0;
327
324
  }
328
325
 
329
326
  .prompt-compose-canvas {
@@ -552,6 +549,9 @@
552
549
  .plugins-layout {
553
550
  grid-template-columns: 1fr;
554
551
  }
552
+ .prompt-compose-workspace {
553
+ grid-template-columns: 1fr;
554
+ }
555
555
  .prompt-templates-grid {
556
556
  grid-template-columns: 1fr;
557
557
  }
@@ -114,47 +114,27 @@
114
114
  line-height: 1.6;
115
115
  }
116
116
 
117
- /* ---- Hero 区域 (全宽沉浸式) ---- */
118
- .usage-hero {
119
- padding: 32px 28px;
120
- margin-bottom: 24px;
121
- border-radius: 18px;
122
- background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(252,248,241,0.9));
123
- border: 1px solid rgba(137, 111, 94, 0.08);
124
- min-height: 160px;
117
+ /* ---- 当前会话活跃条 (瘦身内嵌) ---- */
118
+ .usage-active-strip {
125
119
  display: flex;
126
- flex-direction: column;
127
- justify-content: center;
128
- gap: 20px;
129
- box-shadow: 0 8px 32px rgba(92, 68, 52, 0.08), 0 0 0 1px rgba(255,255,255,0.5) inset;
130
- backdrop-filter: blur(10px);
131
- position: relative;
132
- overflow: hidden;
120
+ flex-wrap: wrap;
121
+ align-items: center;
122
+ gap: 10px 16px;
123
+ padding: 10px 16px;
124
+ margin-bottom: 16px;
125
+ border-radius: 12px;
126
+ background: linear-gradient(135deg, rgba(200, 121, 99, 0.08), rgba(200, 121, 99, 0.04));
127
+ border: 1px solid rgba(200, 121, 99, 0.12);
128
+ font-size: 12px;
133
129
  }
134
130
 
135
- .usage-hero::before {
136
- content: '';
137
- position: absolute;
138
- top: -72px;
139
- right: 0;
140
- width: min(320px, 62%);
141
- height: min(320px, 62%);
142
- background: radial-gradient(circle, rgba(200, 121, 99, 0.06) 0%, transparent 70%);
143
- pointer-events: none;
144
- }
145
131
 
146
132
  .usage-hero-active {
147
133
  display: flex;
148
134
  flex-wrap: wrap;
149
135
  align-items: center;
150
136
  gap: 10px 16px;
151
- padding: 12px 18px;
152
- border-radius: 12px;
153
- background: linear-gradient(135deg, rgba(200, 121, 99, 0.08), rgba(200, 121, 99, 0.04));
154
- border: 1px solid rgba(200, 121, 99, 0.12);
155
137
  font-size: 12px;
156
- position: relative;
157
- z-index: 1;
158
138
  }
159
139
 
160
140
  .usage-hero-active-dot {
@@ -191,49 +171,54 @@
191
171
  color: var(--color-border-strong);
192
172
  }
193
173
 
194
- .usage-hero-metrics {
195
- text-align: center;
196
- position: relative;
197
- z-index: 1;
174
+ .usage-kpi-grid {
175
+ display: grid;
176
+ grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
177
+ gap: 14px;
178
+ margin-bottom: 24px;
179
+ }
180
+
181
+ .usage-kpi-card {
182
+ display: flex;
183
+ flex-direction: column;
184
+ gap: 6px;
185
+ min-width: 0;
186
+ padding: 14px 16px;
187
+ border-radius: 14px;
188
+ background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(252, 248, 241, 0.7));
189
+ border: 1px solid rgba(137, 111, 94, 0.08);
190
+ box-shadow: 0 4px 16px rgba(92, 68, 52, 0.05);
191
+ }
192
+
193
+ .usage-kpi-label {
194
+ font-size: 11px;
195
+ color: var(--color-text-tertiary);
196
+ letter-spacing: 0.02em;
197
+ white-space: nowrap;
198
+ overflow: hidden;
199
+ text-overflow: ellipsis;
198
200
  }
199
201
 
200
- .usage-hero-main {
201
- font-size: 52px;
202
+ .usage-kpi-value {
203
+ font-size: 22px;
202
204
  font-weight: 700;
203
205
  color: var(--color-text-primary);
204
- line-height: 1;
205
- letter-spacing: -0.04em;
206
+ line-height: 1.2;
207
+ letter-spacing: -0.02em;
206
208
  font-variant-numeric: tabular-nums;
207
- animation: usage-hero-count 1s var(--ease-out-expo);
208
- background: linear-gradient(135deg, var(--color-text-primary) 0%, var(--color-brand) 100%);
209
- -webkit-background-clip: text;
210
- -webkit-text-fill-color: transparent;
211
- background-clip: text;
212
- }
213
-
214
- @keyframes usage-hero-count {
215
- from { opacity: 0; transform: translateY(16px) scale(0.95); }
216
- to { opacity: 1; transform: translateY(0) scale(1); }
209
+ white-space: nowrap;
210
+ overflow: hidden;
211
+ text-overflow: ellipsis;
212
+ animation: usage-kpi-count 0.6s var(--ease-out-expo);
217
213
  }
218
214
 
219
- .usage-hero-sub {
220
- margin-top: 10px;
221
- font-size: 14px;
222
- color: var(--color-text-tertiary);
223
- display: flex;
224
- align-items: center;
225
- justify-content: center;
226
- gap: 14px;
227
- flex-wrap: wrap;
228
- min-width: 0;
229
- overflow-wrap: anywhere;
230
- text-align: center;
215
+ .usage-kpi-card .usage-hero-delta {
216
+ align-self: flex-start;
231
217
  }
232
218
 
233
- .usage-hero-sub > span {
234
- min-width: 0;
235
- max-width: 100%;
236
- overflow-wrap: anywhere;
219
+ @keyframes usage-kpi-count {
220
+ from { opacity: 0; transform: translateY(8px); }
221
+ to { opacity: 1; transform: translateY(0); }
237
222
  }
238
223
 
239
224
  .usage-hero-delta {
@@ -255,6 +240,7 @@
255
240
 
256
241
  /* ---- 波浪图 (流体动画) ---- */
257
242
  .usage-wave-section {
243
+ position: relative;
258
244
  overflow: hidden;
259
245
  border: none;
260
246
  background: transparent;
@@ -262,6 +248,21 @@
262
248
  margin-bottom: 24px;
263
249
  }
264
250
 
251
+ .usage-wave-title {
252
+ display: flex;
253
+ align-items: baseline;
254
+ justify-content: space-between;
255
+ gap: 12px;
256
+ flex-wrap: wrap;
257
+ }
258
+
259
+ .usage-wave-summary {
260
+ font-size: 12px;
261
+ font-weight: 400;
262
+ color: var(--color-text-tertiary);
263
+ letter-spacing: 0;
264
+ }
265
+
265
266
  .usage-wave-container {
266
267
  margin-top: 16px;
267
268
  display: grid;
@@ -395,11 +396,16 @@
395
396
 
396
397
  /* ---- 日期详情 ---- */
397
398
  .usage-daydetail {
398
- margin-top: 16px;
399
- padding: 14px 18px;
399
+ position: absolute;
400
+ top: 40px;
401
+ right: 8px;
402
+ z-index: 3;
403
+ max-width: min(340px, calc(100% - 40px));
404
+ padding: 10px 14px;
400
405
  border-radius: 12px;
401
- background: linear-gradient(135deg, rgba(247, 239, 232, 0.8), rgba(247, 239, 232, 0.4));
402
- border: 1px solid rgba(137, 111, 94, 0.06);
406
+ background: rgba(255, 255, 255, 0.94);
407
+ border: 1px solid rgba(137, 111, 94, 0.1);
408
+ box-shadow: 0 6px 20px rgba(92, 68, 52, 0.08);
403
409
  }
404
410
 
405
411
  .usage-daydetail-header {
@@ -619,6 +625,22 @@
619
625
  color: var(--color-text-muted);
620
626
  margin-top: 3px;
621
627
  }
628
+ .usage-list-bar {
629
+ height: 3px;
630
+ margin-top: 6px;
631
+ border-radius: 2px;
632
+ background: rgba(137, 111, 94, 0.12);
633
+ overflow: hidden;
634
+ }
635
+
636
+ .usage-list-bar-fill {
637
+ display: block;
638
+ height: 100%;
639
+ border-radius: 2px;
640
+ background: linear-gradient(90deg, var(--color-brand), rgba(200, 121, 99, 0.55));
641
+ transition: width 300ms ease;
642
+ }
643
+
622
644
 
623
645
  .usage-list-value {
624
646
  font-size: 13px;
@@ -677,9 +699,8 @@
677
699
  .usage-list-path-content {
678
700
  flex: 1;
679
701
  display: flex;
680
- justify-content: space-between;
681
- align-items: center;
682
- gap: 12px;
702
+ flex-direction: column;
703
+ gap: 4px;
683
704
  min-width: 0;
684
705
  }
685
706
 
@@ -780,8 +801,8 @@
780
801
 
781
802
  @media (max-width: 960px) {
782
803
 
783
- .usage-hero-main {
784
- font-size: 44px;
804
+ .usage-kpi-grid {
805
+ gap: 10px;
785
806
  }
786
807
  }
787
808
 
@@ -796,27 +817,19 @@
796
817
  flex-wrap: wrap;
797
818
  }
798
819
 
799
- .usage-hero {
800
- padding: 22px 16px;
801
- min-height: 140px;
802
- gap: 16px;
820
+ .usage-active-strip {
821
+ padding: 8px 12px;
822
+ gap: 8px 10px;
803
823
  }
804
824
 
805
- .usage-hero::before {
806
- top: -56px;
807
- right: 0;
808
- width: 220px;
809
- height: 220px;
825
+ .usage-kpi-value {
826
+ font-size: 18px;
810
827
  }
811
828
 
812
- .usage-hero-active {
813
- padding: 10px 12px;
814
- gap: 8px 10px;
815
- }
816
-
817
- .usage-hero-main {
818
- font-size: clamp(32px, 10vw, 38px);
819
- line-height: 1.08;
829
+ .usage-daydetail {
830
+ position: static;
831
+ max-width: 100%;
832
+ margin-top: 12px;
820
833
  }
821
834
 
822
835
  .usage-wave-chart {