wukong-gitlog-cli 1.0.7 → 1.0.8

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/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [1.0.8](https://github.com/tomatobybike/wukong-gitlog-cli/compare/v1.0.7...v1.0.8) (2025-11-30)
6
+
7
+
8
+ ### Features
9
+
10
+ * 🎸 mui style ([fde30fd](https://github.com/tomatobybike/wukong-gitlog-cli/commit/fde30fd32f24672db2c74d501842698c3262efee))
11
+
5
12
  ### [1.0.7](https://github.com/tomatobybike/wukong-gitlog-cli/compare/v1.0.6...v1.0.7) (2025-11-29)
6
13
 
7
14
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wukong-gitlog-cli",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "Advanced Git commit log exporter with Excel/JSON/TXT output, grouping, stats and CLI.",
5
5
  "keywords": [
6
6
  "git",
package/web/index.html CHANGED
@@ -4,7 +4,7 @@
4
4
  <meta charset="utf-8" />
5
5
  <meta name="viewport" content="width=device-width,initial-scale=1" />
6
6
  <title>wukong-gitlog-cli — Overtime Dashboard</title>
7
- <link rel="stylesheet" href="/style.css" />
7
+ <link rel="stylesheet" href="./static/style.css" />
8
8
  <script src="./static/echarts.min.js"></script>
9
9
  </head>
10
10
  <body>
@@ -0,0 +1,170 @@
1
+ /* 全局 -------------------------------------------------- */
2
+ body {
3
+ font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial;
4
+ margin: 0;
5
+ padding: 0;
6
+ background: #f5f5f5;
7
+ color: #1e1e1e;
8
+ }
9
+
10
+ /* 顶部栏 -------------------------------------------------- */
11
+ header {
12
+ background: #1976d2;
13
+ color: white;
14
+ padding: 16px 24px;
15
+ display: flex;
16
+ align-items: center;
17
+ box-shadow: 0 2px 8px rgba(0,0,0,0.15);
18
+ }
19
+
20
+ header h1 {
21
+ margin: 0;
22
+ font-size: 22px;
23
+ font-weight: 500;
24
+ }
25
+
26
+ /* 主体布局 -------------------------------------------------- */
27
+ main {
28
+ display: flex;
29
+ flex-direction: column;
30
+ gap: 20px;
31
+ padding: 20px;
32
+ max-width: 1280px;
33
+ margin: 20px auto;
34
+ }
35
+
36
+ /* 卡片基础样式(MUI Paper) ----------------------------- */
37
+ .chart-card,
38
+ .table-card {
39
+ background: white;
40
+ border-radius: 12px;
41
+ padding: 20px;
42
+ box-shadow: 0 3px 8px rgba(0,0,0,0.06);
43
+ }
44
+
45
+ .chart-card h2,
46
+ .table-card h2 {
47
+ margin: 0 0 12px 0;
48
+ font-size: 18px;
49
+ font-weight: 500;
50
+ color: #333;
51
+ }
52
+
53
+ /* 图表网格 -------------------------------------------------- */
54
+ #charts { display: grid; grid-template-columns: repeat(auto-fit, minmax(640px, 1fr)); gap: 16px; }
55
+ #chartsHalf { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
56
+ .chart-card { background: white; border-radius: 8px; padding: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
57
+ .echart {
58
+ width: 100%;
59
+ height: 340px;
60
+ }
61
+
62
+ /* 表格 -------------------------------------------------- */
63
+ table {
64
+ width: 100%;
65
+ border-collapse: collapse;
66
+ font-size: 14px;
67
+ }
68
+
69
+ th {
70
+ text-align: left;
71
+ padding: 10px 8px;
72
+ border-bottom: 2px solid #e0e0e0;
73
+ color: #444;
74
+ font-weight: 500;
75
+ }
76
+
77
+ td {
78
+ padding: 10px 8px;
79
+ border-bottom: 1px solid #eee;
80
+ }
81
+
82
+ /* 分页、搜索栏 -------------------------------------------------- */
83
+ #tableControls {
84
+ display: flex;
85
+ flex-wrap: wrap;
86
+ gap: 12px;
87
+ align-items: center;
88
+ margin-bottom: 14px;
89
+ }
90
+
91
+ /* 输入框 — MUI Filled 风格 */
92
+ #tableControls input[type="search"] {
93
+ flex: 1;
94
+ min-width: 240px;
95
+ padding: 10px 12px;
96
+ border: 1px solid #ccc;
97
+ background: #fafafa;
98
+ border-radius: 8px;
99
+ transition: border-color 0.2s, box-shadow 0.2s;
100
+ }
101
+
102
+ #tableControls input[type="search"]:focus {
103
+ border-color: #1976d2;
104
+ box-shadow: 0 0 0 3px rgba(25,118,210,0.15);
105
+ outline: none;
106
+ }
107
+
108
+ /* 下拉框 */
109
+ #tableControls select {
110
+ padding: 10px 12px;
111
+ border-radius: 8px;
112
+ border: 1px solid #ccc;
113
+ background: #fafafa;
114
+ transition: border-color 0.2s;
115
+ }
116
+
117
+ #tableControls select:focus {
118
+ border-color: #1976d2;
119
+ box-shadow: 0 0 0 3px rgba(25,118,210,0.15);
120
+ outline: none;
121
+ }
122
+
123
+ /* 按钮 — MUI Button 风格 */
124
+ .pager button {
125
+ padding: 8px 14px;
126
+ border: 1px solid #00A76F;
127
+ background: #00A76F;
128
+ color: white;
129
+ border-radius: 8px;
130
+ cursor: pointer;
131
+ transition: background 0.2s, box-shadow 0.2s;
132
+ }
133
+
134
+ .pager button:hover {
135
+ background: #007867;
136
+ box-shadow: 0 2px 5px rgba(0,0,0,0.15);
137
+ }
138
+
139
+ .pager button:disabled {
140
+ color: rgba(145 158 171 / 80%);
141
+ background: rgba(145 158 171 / 24%);
142
+ border-color: rgba(145 158 171 / 24%);
143
+ }
144
+
145
+ .pager {
146
+ margin-left: auto;
147
+ display: inline-flex;
148
+ gap: 12px;
149
+ align-items: center;
150
+ }
151
+
152
+ #pageInfo {
153
+ min-width: 80px;
154
+ text-align: center;
155
+ font-size: 14px;
156
+ color: #555;
157
+ }
158
+
159
+ /* 底部 -------------------------------------------------- */
160
+ footer {
161
+ text-align: center;
162
+ padding: 20px 0 30px 0;
163
+ color: #777;
164
+ }
165
+
166
+ footer small code {
167
+ background: #eee;
168
+ padding: 2px 4px;
169
+ border-radius: 4px;
170
+ }
package/web/style.css DELETED
@@ -1,16 +0,0 @@
1
- body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial; margin: 0; padding: 0; background: #fafafa; color: #222; }
2
- header { background: #0f172a; color: white; padding: 12px 20px; }
3
- main { display: flex; flex-direction: column; gap: 12px; padding: 20px; max-width: 1200px; margin: 20px auto; }
4
- #charts { display: grid; grid-template-columns: repeat(auto-fit, minmax(640px, 1fr)); gap: 16px; }
5
- #chartsHalf { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
6
- .chart-card { background: white; border-radius: 8px; padding: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
7
- .table-card { background: white; padding: 12px; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
8
- table { width: 100%; border-collapse: collapse; }
9
- th, td { text-align: left; padding: 8px; border-bottom: 1px solid #eee; }
10
- footer { text-align: center; margin: 8px 0 24px 0; color: #666; }
11
- .echart { width: 100%; height: 320px; }
12
- #tableControls { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px; }
13
- #tableControls input[type="search"] { flex: 1; min-width: 200px; padding: 6px 8px; border: 1px solid #ddd; border-radius: 6px; }
14
- #tableControls select { padding: 6px 8px; border: 1px solid #ddd; border-radius: 6px; }
15
- .pager { margin-left: auto; display: inline-flex; gap: 8px; align-items: center; }
16
- .pager button { padding: 6px 10px; border: 1px solid #ddd; background: #f6f6f6; border-radius: 6px; }