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

index.css

394 lines10.1 KB

1html {
2 box-sizing: border-box;
3}
4*,
5*:before,
6*:after {
7 box-sizing: inherit;
8}
9​
10body {
11 font-family:
12 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu',
13 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
14 -webkit-font-smoothing: antialiased;
15 -moz-osx-font-smoothing: grayscale;
17​
18code {
19 font-family:
20 source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace;
22​
23html,
24body {
25 height: 100%;
26 margin: 0;
27 line-height: 1.5;
28 color: #121212;
30​
31form textarea,
32form input,
33form button,
34a.button {
35 font-size: 1rem;
36 font-family: inherit;
37 border: none;
38 border-radius: 8px;
39 padding: 0.5rem 0.75rem;
40 box-shadow:
41 0 0px 1px hsla(0, 0%, 0%, 0.2),
42 0 1px 2px hsla(0, 0%, 0%, 0.2);
43 background-color: white;
44 line-height: 1.5;
45 margin: 0;
47​
48form button,
49a.button {
50 color: #3992ff;
51 font-weight: 500;
52 text-decoration: none;
53 cursor: pointer;
55​
56form textarea:hover,
57form input:hover,
58form button:hover,
59a.button:hover {
60 box-shadow:
61 0 0px 1px hsla(0, 0%, 0%, 0.6),
62 0 1px 2px hsla(0, 0%, 0%, 0.2);
64​
65form button:active,
66a.button:active {
67 box-shadow: 0 0px 1px hsla(0, 0%, 0%, 0.4);
68 transform: translateY(1px);
70​
71#contact h1 {
72 display: flex;
73 align-items: flex-start;
74 gap: 1rem;
76#contact h1 form {
77 display: flex;
78 align-items: center;
79 margin-top: 0.25rem;
81#contact h1 form button {
82 box-shadow: none;
83 font-size: 1.5rem;
84 font-weight: 400;
85 padding: 0;
87#contact h1 form button[value='true'] {
88 color: #a4a4a4;
90#contact h1 form button[value='true']:hover,
91#contact h1 form button[value='false'] {
92 color: #eeb004;
94​
95form.destroy button {
96 color: #f44250;
98​
99.sr-only {
100 position: absolute;
101 width: 1px;
102 height: 1px;
103 padding: 0;
104 margin: -1px;
105 overflow: hidden;
106 clip: rect(0, 0, 0, 0);
107 white-space: nowrap;
108 border-width: 0;
110​
111#root {
112 display: flex;
113 height: 100%;
114 width: 100%;
116​
117#sidebar {
118 width: 22rem;
119 background-color: #f7f7f7;
120 border-right: solid 1px #e3e3e3;
121 display: flex;
122 flex-direction: column;
124​
125#sidebar > * {
126 padding-left: 2rem;
127 padding-right: 2rem;
129​
130#sidebar h1 {
131 font-size: 1rem;
132 font-weight: 500;
133 display: flex;
134 align-items: center;
135 margin: 0;
136 padding: 1rem 2rem;
137 border-top: 1px solid #e3e3e3;
138 order: 1;
139 line-height: 1;
141​
142#sidebar h1::before {
143 content: url("data:image/svg+xml,%3Csvg width='25' height='18' viewBox='0 0 25 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M19.4127 6.4904C18.6984 6.26581 18.3295 6.34153 17.5802 6.25965C16.4219 6.13331 15.9604 5.68062 15.7646 4.51554C15.6551 3.86516 15.7844 2.9129 15.5048 2.32334C14.9699 1.19921 13.7183 0.695046 12.461 0.982805C11.3994 1.22611 10.516 2.28708 10.4671 3.37612C10.4112 4.61957 11.1197 5.68054 12.3363 6.04667C12.9143 6.22097 13.5284 6.3087 14.132 6.35315C15.2391 6.43386 15.3241 7.04923 15.6236 7.55574C15.8124 7.87508 15.9954 8.18975 15.9954 9.14193C15.9954 10.0941 15.8112 10.4088 15.6236 10.7281C15.3241 11.2334 14.9547 11.5645 13.8477 11.6464C13.244 11.6908 12.6288 11.7786 12.0519 11.9528C10.8353 12.3201 10.1268 13.3799 10.1828 14.6234C10.2317 15.7124 11.115 16.7734 12.1766 17.0167C13.434 17.3056 14.6855 16.8003 15.2204 15.6762C15.5013 15.0866 15.6551 14.4187 15.7646 13.7683C15.9616 12.6032 16.423 12.1505 17.5802 12.0242C18.3295 11.9423 19.1049 12.0242 19.8071 11.6253C20.5491 11.0832 21.212 10.2696 21.212 9.14192C21.212 8.01428 20.4976 6.83197 19.4127 6.4904Z' fill='%23F44250'/%3E%3Cpath d='M7.59953 11.7459C6.12615 11.7459 4.92432 10.5547 4.92432 9.09441C4.92432 7.63407 6.12615 6.44287 7.59953 6.44287C9.0729 6.44287 10.2747 7.63407 10.2747 9.09441C10.2747 10.5536 9.07172 11.7459 7.59953 11.7459Z' fill='black'/%3E%3Cpath d='M2.64217 17.0965C1.18419 17.093 -0.0034949 15.8971 7.72743e-06 14.4356C0.00352588 12.9765 1.1994 11.7888 2.66089 11.7935C4.12004 11.797 5.30772 12.9929 5.30306 14.4544C5.29953 15.9123 4.10366 17.1 2.64217 17.0965Z' fill='black'/%3E%3Cpath d='M22.3677 17.0965C20.9051 17.1046 19.7046 15.9217 19.6963 14.4649C19.6882 13.0023 20.8712 11.8017 22.3279 11.7935C23.7906 11.7854 24.9911 12.9683 24.9993 14.4251C25.0075 15.8866 23.8245 17.0883 22.3677 17.0965Z' fill='black'/%3E%3C/svg%3E%0A");
144 margin-right: 0.5rem;
145 position: relative;
146 top: 1px;
148​
149#sidebar > div {
150 display: flex;
151 align-items: center;
152 gap: 0.5rem;
153 padding-top: 1rem;
154 padding-bottom: 1rem;
155 border-bottom: 1px solid #e3e3e3;
157​
158#sidebar > div form {
159 position: relative;
161​
162#sidebar > div form input[type='search'] {
163 width: 100%;
164 padding-left: 2rem;
165 background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='h-6 w-6' fill='none' viewBox='0 0 24 24' stroke='%23999' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z' /%3E%3C/svg%3E");
166 background-repeat: no-repeat;
167 background-position: 0.625rem 0.75rem;
168 background-size: 1rem;
169 position: relative;
171​
172#sidebar > div form input[type='search'].loading {
173 background-image: none;
175​
176#search-spinner {
177 width: 1rem;
178 height: 1rem;
179 background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%23000' strokeLinecap='round' strokeLinejoin='round' strokeWidth='2' d='M20 4v5h-.582m0 0a8.001 8.001 0 00-15.356 2m15.356-2H15M4 20v-5h.581m0 0a8.003 8.003 0 0015.357-2M4.581 15H9' /%3E%3C/svg%3E");
180 animation: spin 1s infinite linear;
181 position: absolute;
182 left: 0.625rem;
183 top: 0.75rem;
185​
186@keyframes spin {
187 from {
188 transform: rotate(0deg);
189 }
190 to {
191 transform: rotate(360deg);
192 }
194​
195#sidebar nav {
196 flex: 1;
197 overflow: auto;
198 padding-top: 1rem;
200​
201#sidebar nav a span {
202 float: right;
203 color: #eeb004;
205#sidebar nav a.active span {
206 color: inherit;
208​
209i {
210 color: #818181;
212#sidebar nav .active i {
213 color: inherit;
215​
216#sidebar ul {
217 padding: 0;
218 margin: 0;
219 list-style: none;
221​
222#sidebar li {
223 margin: 0.25rem 0;
225​
226#sidebar nav a {
227 display: flex;
228 align-items: center;
229 justify-content: space-between;
230 overflow: hidden;
231​
232 white-space: pre;
233 padding: 0.5rem;
234 border-radius: 8px;
235 color: inherit;
236 text-decoration: none;
237 gap: 1rem;
239​
240#sidebar nav a:hover {
241 background: #e3e3e3;
243​
244#sidebar nav a.active {
245 background: hsl(224, 98%, 58%);
246 color: white;
248​
249#sidebar nav a.pending {
250 color: hsl(224, 98%, 58%);
252​
253#detail {
254 flex: 1;
255 padding: 2rem 4rem;
256 width: 100%;
258​
259#detail.loading {
260 opacity: 0.25;
261 transition: opacity 200ms;
262 transition-delay: 200ms;
264​
265#contact {
266 max-width: 40rem;
267 display: flex;
269​
270#contact h1 {
271 font-size: 2rem;
272 font-weight: 700;
273 margin: 0;
274 line-height: 1.2;
276​
277#contact h1 + p {
278 margin: 0;
280​
281#contact h1 + p + p {
282 white-space: break-spaces;
284​
285#contact h1:focus {
286 outline: none;
287 color: hsl(224, 98%, 58%);
289​
290#contact a[href*='twitter'] {
291 display: flex;
292 font-size: 1.5rem;
293 color: #3992ff;
294 text-decoration: none;
296#contact a[href*='twitter']:hover {
297 text-decoration: underline;
299​
300#contact img {
301 width: 12rem;
302 height: 12rem;
303 background: #c8c8c8;
304 margin-right: 2rem;
305 border-radius: 1.5rem;
306 object-fit: cover;
308​
309#contact h1 ~ div {
310 display: flex;
311 gap: 0.5rem;
312 margin: 1rem 0;
314​
315#contact-form {
316 display: flex;
317 max-width: 40rem;
318 flex-direction: column;
319 gap: 1rem;
321#contact-form > p:first-child {
322 margin: 0;
323 padding: 0;
325#contact-form > p:first-child > :nth-child(2) {
326 margin-right: 1rem;
328#contact-form > p:first-child,
329#contact-form label {
330 display: flex;
332#contact-form p:first-child span,
333#contact-form label span {
334 width: 8rem;
336#contact-form p:first-child input,
337#contact-form label input,
338#contact-form label textarea {
339 flex-grow: 2;
341​
342#contact-form-avatar {
343 margin-right: 2rem;
345​
346#contact-form-avatar img {
347 width: 12rem;
348 height: 12rem;
349 background: hsla(0, 0%, 0%, 0.2);
350 border-radius: 1rem;
352​
353#contact-form-avatar input {
354 box-sizing: border-box;
355 width: 100%;
357​
358#contact-form p:last-child {
359 display: flex;
360 gap: 0.5rem;
361 margin: 0 0 0 8rem;
363​
364#contact-form p:last-child button[type='button'] {
365 color: inherit;
367​
368#zero-state {
369 margin: 2rem auto;
370 text-align: center;
371 color: #818181;
373​
374#zero-state a {
375 color: inherit;
377​
378#zero-state a:hover {
379 color: #121212;
381​
382#zero-state:before {
383 display: block;
384 margin-bottom: 0.5rem;
385 content: url("data:image/svg+xml,%3Csvg width='50' height='33' viewBox='0 0 50 33' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M38.8262 11.1744C37.3975 10.7252 36.6597 10.8766 35.1611 10.7128C32.8444 10.4602 31.9215 9.55475 31.5299 7.22456C31.3108 5.92377 31.5695 4.01923 31.0102 2.8401C29.9404 0.591789 27.4373 -0.416556 24.9225 0.158973C22.7992 0.645599 21.0326 2.76757 20.9347 4.94569C20.8228 7.43263 22.2399 9.5546 24.6731 10.2869C25.8291 10.6355 27.0574 10.8109 28.2646 10.8998C30.4788 11.0613 30.6489 12.292 31.2479 13.3051C31.6255 13.9438 31.9914 14.5731 31.9914 16.4775C31.9914 18.3819 31.6231 19.0112 31.2479 19.6499C30.6489 20.6606 29.9101 21.3227 27.696 21.4865C26.4887 21.5754 25.2581 21.7508 24.1044 22.0994C21.6712 22.834 20.2542 24.9537 20.366 27.4406C20.4639 29.6187 22.2306 31.7407 24.3538 32.2273C26.8686 32.8052 29.3717 31.7945 30.4415 29.5462C31.0032 28.3671 31.3108 27.0312 31.5299 25.7304C31.9238 23.4002 32.8467 22.4948 35.1611 22.2421C36.6597 22.0784 38.2107 22.2421 39.615 21.4443C41.099 20.36 42.4248 18.7328 42.4248 16.4775C42.4248 14.2222 40.9961 11.8575 38.8262 11.1744Z' fill='%23E3E3E3'/%3E%3Cpath d='M15.1991 21.6854C12.2523 21.6854 9.84863 19.303 9.84863 16.3823C9.84863 13.4615 12.2523 11.0791 15.1991 11.0791C18.1459 11.0791 20.5497 13.4615 20.5497 16.3823C20.5497 19.3006 18.1436 21.6854 15.1991 21.6854Z' fill='%23E3E3E3'/%3E%3Cpath d='M5.28442 32.3871C2.36841 32.38 -0.00698992 29.9882 1.54551e-05 27.0652C0.00705187 24.1469 2.39884 21.7715 5.32187 21.7808C8.24022 21.7878 10.6156 24.1796 10.6063 27.1027C10.5992 30.0187 8.20746 32.3941 5.28442 32.3871Z' fill='%23E3E3E3'/%3E%3Cpath d='M44.736 32.387C41.8107 32.4033 39.4096 30.0373 39.3932 27.1237C39.3769 24.1984 41.7428 21.7973 44.6564 21.7808C47.5817 21.7645 49.9828 24.1305 49.9993 27.0441C50.0156 29.9671 47.6496 32.3705 44.736 32.387Z' fill='%23E3E3E3'/%3E%3C/svg%3E%0A");
387​
388#error-page {
389 display: flex;
390 flex-direction: column;
391 align-items: center;
392 justify-content: center;
393 width: 100%;