@n42/cli 0.2.75 → 0.2.79
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/dist/assets/assets/discover.html.template +33 -0
- package/dist/assets/assets/discover.js +48 -0
- package/dist/assets/assets/node42-logo.svg +22 -0
- package/dist/assets/assets/validator-light.css +49 -0
- package/dist/assets/assets/validator.html.template +27 -0
- package/dist/assets/assets/wrapper-light.css +203 -0
- package/dist/assets/discover.html.template +33 -0
- package/dist/assets/discover.js +48 -0
- package/dist/assets/node42-logo.svg +22 -0
- package/dist/assets/validator-light.css +49 -0
- package/dist/assets/validator.html.template +27 -0
- package/dist/assets/wrapper-light.css +203 -0
- package/dist/n42 +135 -0
- package/package.json +4 -3
- package/src/cli.js +0 -2
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--bg: transparent;
|
|
3
|
+
--card: #ffffff;
|
|
4
|
+
--border: #e5e7eb;
|
|
5
|
+
--border-soft: #f1f5f9;
|
|
6
|
+
--border-strong: #d1d5db;
|
|
7
|
+
--text-light: #9ca3af;
|
|
8
|
+
--text: #111827;
|
|
9
|
+
--muted: #6b7280;
|
|
10
|
+
--brand-soft: #eaf3ff; /* Soft, light blue */
|
|
11
|
+
--brand: #3f9cff; /* Main brand color */
|
|
12
|
+
--brand-strong: #0b3a82; /* Strong blue for contrast */
|
|
13
|
+
--brand-hover: #1e6fd0; /* Slightly darker hover state */
|
|
14
|
+
--brand-active: #1666c1; /* Active state */
|
|
15
|
+
--brand-button: #1d72d2; /* Darker shade of the brand color */
|
|
16
|
+
--shadow-soft: 0 2px 4px rgba(0, 0, 0, 0.04);
|
|
17
|
+
--shadow-form: 0 3px 8px rgba(0, 0, 0, 0.05);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
body {
|
|
21
|
+
margin: 0;
|
|
22
|
+
height: 100vh;
|
|
23
|
+
background: #fff;
|
|
24
|
+
font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
|
|
25
|
+
overflow-y: auto;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
#page {
|
|
29
|
+
min-height: calc(100vh - 56px);
|
|
30
|
+
display: flex;
|
|
31
|
+
justify-content: center;
|
|
32
|
+
padding-top: 32px;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
#app-shell {
|
|
36
|
+
width: 100%;
|
|
37
|
+
max-width: 1450px;
|
|
38
|
+
height: 100%;
|
|
39
|
+
display: flex;
|
|
40
|
+
flex-direction: column;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
#app-header {
|
|
44
|
+
height: 62px;
|
|
45
|
+
display: flex;
|
|
46
|
+
justify-content: space-between;
|
|
47
|
+
align-items: center;
|
|
48
|
+
padding: 0 16px;
|
|
49
|
+
position: fixed;
|
|
50
|
+
top: 0;
|
|
51
|
+
left: 0;
|
|
52
|
+
right: 0;
|
|
53
|
+
z-index: 100;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.header-left {
|
|
57
|
+
gap: 16px;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.header-right {
|
|
61
|
+
gap: 16px;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
#appBtn {
|
|
65
|
+
display: flex;
|
|
66
|
+
width: 34px;
|
|
67
|
+
height: 34px;
|
|
68
|
+
cursor: pointer;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
#timeline {
|
|
72
|
+
flex: 1;
|
|
73
|
+
overflow-y: auto;
|
|
74
|
+
padding: 24px 16px 24px 16px;
|
|
75
|
+
background: var(--bg);
|
|
76
|
+
min-height: 0; /* for flex scroll containers */
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.bubble {
|
|
80
|
+
position: relative;
|
|
81
|
+
background: #ffffff;
|
|
82
|
+
border-radius: 12px;
|
|
83
|
+
padding: 16px;
|
|
84
|
+
margin-bottom: 64px;
|
|
85
|
+
border: 1px solid var(--border);
|
|
86
|
+
}
|
|
87
|
+
.bubble.info {
|
|
88
|
+
width: 50%;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.bubble svg {
|
|
92
|
+
width: 100%;
|
|
93
|
+
height: auto;
|
|
94
|
+
max-width: 100%;
|
|
95
|
+
display: block;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.bubble-title {
|
|
99
|
+
font-size: 17px;
|
|
100
|
+
font-weight: 600;
|
|
101
|
+
margin-bottom: 2px;
|
|
102
|
+
text-align: center;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.bubble-time {
|
|
106
|
+
position: absolute;
|
|
107
|
+
bottom: -24px;
|
|
108
|
+
left: 10px;
|
|
109
|
+
font-size: 0.65rem;
|
|
110
|
+
color: var(--text-light);
|
|
111
|
+
cursor: pointer;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.bubble-time:hover {
|
|
115
|
+
color: var(--text);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.bubble-link {
|
|
119
|
+
position: absolute;
|
|
120
|
+
bottom: 14px;
|
|
121
|
+
right: 21px;
|
|
122
|
+
display: inline-flex;
|
|
123
|
+
align-items: center;
|
|
124
|
+
gap: 2px;
|
|
125
|
+
font-size: 0.7rem;
|
|
126
|
+
text-decoration: none;
|
|
127
|
+
color: var(--text-light);
|
|
128
|
+
cursor: pointer;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.bubble-link svg {
|
|
132
|
+
width: 24px;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.bubble-link:hover {
|
|
136
|
+
color: var(--text);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.bubble-close {
|
|
140
|
+
position: absolute;
|
|
141
|
+
top: 10px;
|
|
142
|
+
right: 10px;
|
|
143
|
+
border: none;
|
|
144
|
+
background: #f6f6f6;
|
|
145
|
+
border-radius: 999px;
|
|
146
|
+
padding: 4px;
|
|
147
|
+
cursor: pointer;
|
|
148
|
+
line-height: 1;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.material-icons.bubble-close {
|
|
152
|
+
font-size: 14px;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.bubble-close:hover {
|
|
156
|
+
background: #fee2e2;;
|
|
157
|
+
color: #991b1b;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.bubble-info {
|
|
161
|
+
display: flex;
|
|
162
|
+
gap: 8px;
|
|
163
|
+
align-items: flex-start;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.bubble-info-icon {
|
|
167
|
+
font-size: 20px;
|
|
168
|
+
line-height: 1;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.bubble-info-icon.error {
|
|
172
|
+
color: #ef4444;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.bubble-info-icon.warning {
|
|
176
|
+
color: #f59e0b;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.bubble-info-icon.info {
|
|
180
|
+
color: #1f7fe5;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.bubble-info-header {
|
|
184
|
+
font-weight: 600;
|
|
185
|
+
margin-bottom: 2px;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.bubble-info-body {
|
|
189
|
+
font-size: 0.9rem;
|
|
190
|
+
line-height: 1.3;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.bubble-info-body a {
|
|
194
|
+
color: var(--text);
|
|
195
|
+
font-weight: 600;
|
|
196
|
+
text-decoration: underline;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.bubble-info-body a:hover {
|
|
200
|
+
color: var(--brand-active);
|
|
201
|
+
font-weight: 600;
|
|
202
|
+
text-decoration: none;
|
|
203
|
+
}
|