Skip to content
Source
Sign inSign up
TanStack/db
Open History to see the last commit

index.css

285 lines4.3 KB

1* {
2 box-sizing: border-box;
3 margin: 0;
4 padding: 0;
5}
6​
7body {
8 font-family:
9 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu',
10 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
11 -webkit-font-smoothing: antialiased;
12 -moz-osx-font-smoothing: grayscale;
13 background: #f5f5f5;
14 padding: 20px;
16​
17code {
18 font-family:
19 source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace;
20 background: #f0f0f0;
21 padding: 2px 6px;
22 border-radius: 3px;
23 font-size: 0.9em;
25​
26.app {
27 max-width: 1400px;
28 margin: 0 auto;
30​
31h1 {
32 margin-bottom: 8px;
33 color: #333;
35​
36.subtitle {
37 color: #666;
38 margin-bottom: 24px;
39 font-size: 14px;
41​
42.grid {
43 display: grid;
44 grid-template-columns: 400px 1fr;
45 gap: 20px;
46 margin-bottom: 20px;
48​
49.panel {
50 background: white;
51 border-radius: 8px;
52 padding: 20px;
53 box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
55​
56.panel h2 {
57 margin-bottom: 16px;
58 font-size: 18px;
59 color: #333;
60 border-bottom: 2px solid #e0e0e0;
61 padding-bottom: 8px;
63​
64.control-group {
65 margin-bottom: 20px;
67​
68.control-group label {
69 display: block;
70 margin-bottom: 6px;
71 font-weight: 500;
72 color: #555;
73 font-size: 14px;
75​
76.control-group select,
77.control-group input[type='number'] {
78 width: 100%;
79 padding: 8px;
80 border: 1px solid #ddd;
81 border-radius: 4px;
82 font-size: 14px;
84​
85.checkbox-group {
86 display: flex;
87 align-items: center;
88 gap: 8px;
89 margin-bottom: 8px;
91​
92.checkbox-group input[type='checkbox'] {
93 width: 16px;
94 height: 16px;
96​
97.checkbox-group label {
98 margin: 0 !important;
99 font-weight: normal !important;
101​
102.action-buttons {
103 display: flex;
104 flex-direction: column;
105 gap: 12px;
106 margin-top: 20px;
108​
109button {
110 padding: 12px 20px;
111 border: none;
112 border-radius: 6px;
113 font-size: 14px;
114 font-weight: 600;
115 cursor: pointer;
116 transition: all 0.2s;
118​
119.btn-primary {
120 background: #007bff;
121 color: white;
123​
124.btn-primary:hover {
125 background: #0056b3;
127​
128.btn-secondary {
129 background: #6c757d;
130 color: white;
132​
133.btn-secondary:hover {
134 background: #545b62;
136​
137.btn-danger {
138 background: #dc3545;
139 color: white;
141​
142.btn-danger:hover {
143 background: #c82333;
145​
146.transaction-list {
147 display: flex;
148 flex-direction: column;
149 gap: 12px;
151​
152.transaction-card {
153 background: #f8f9fa;
154 border-radius: 6px;
155 padding: 12px;
156 border-left: 4px solid #ccc;
158​
159.transaction-card.pending {
160 border-left-color: #ffc107;
161 background: #fff3cd;
163​
164.transaction-card.executing {
165 border-left-color: #17a2b8;
166 background: #d1ecf1;
168​
169.transaction-card.completed {
170 border-left-color: #28a745;
171 background: #d4edda;
173​
174.transaction-card.failed {
175 border-left-color: #dc3545;
176 background: #f8d7da;
178​
179.transaction-header {
180 display: flex;
181 justify-content: space-between;
182 align-items: center;
183 margin-bottom: 8px;
185​
186.transaction-id {
187 font-weight: 600;
188 font-size: 12px;
189 color: #666;
190 font-family: monospace;
192​
193.transaction-status {
194 display: inline-block;
195 padding: 2px 8px;
196 border-radius: 12px;
197 font-size: 11px;
198 font-weight: 600;
199 text-transform: uppercase;
201​
202.transaction-status.pending {
203 background: #ffc107;
204 color: #856404;
206​
207.transaction-status.executing {
208 background: #17a2b8;
209 color: #0c5460;
211​
212.transaction-status.completed {
213 background: #28a745;
214 color: #155724;
216​
217.transaction-status.failed {
218 background: #dc3545;
219 color: #721c24;
221​
222.transaction-details {
223 font-size: 13px;
224 color: #555;
226​
227.transaction-mutations {
228 margin-top: 8px;
229 padding: 8px;
230 background: white;
231 border-radius: 4px;
232 font-size: 12px;
234​
235.mutation {
236 padding: 4px 0;
237 border-bottom: 1px solid #eee;
239​
240.mutation:last-child {
241 border-bottom: none;
243​
244.mutation-type {
245 font-weight: 600;
246 color: #007bff;
247 text-transform: uppercase;
248 font-size: 11px;
250​
251.empty-state {
252 text-align: center;
253 padding: 40px 20px;
254 color: #999;
255 font-style: italic;
257​
258.stats {
259 display: grid;
260 grid-template-columns: repeat(3, 1fr);
261 gap: 12px;
262 margin-bottom: 20px;
264​
265.stat-card {
266 background: white;
267 border-radius: 8px;
268 padding: 16px;
269 box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
270 text-align: center;
272​
273.stat-value {
274 font-size: 32px;
275 font-weight: 700;
276 color: #333;
278​
279.stat-label {
280 font-size: 12px;
281 color: #666;
282 text-transform: uppercase;
283 letter-spacing: 0.5px;
284 margin-top: 4px;