Skip to content

Commit 9ae66b7

Browse files
committed
wip: rundown list refinement
1 parent 6fb3424 commit 9ae66b7

File tree

6 files changed

+385
-59
lines changed

6 files changed

+385
-59
lines changed

packages/webui/src/client/styles/fromOrigo.scss

Lines changed: 326 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,3 +223,329 @@ table {
223223
.xdark {
224224
background: #000000;
225225
}
226+
227+
.origo-pulse {
228+
display: inline-flex;
229+
align-items: center;
230+
justify-content: center;
231+
position: relative;
232+
width: 32px;
233+
height: 32px;
234+
top: 10px;
235+
}
236+
237+
.origo-pulse .pulse-marker {
238+
position: absolute;
239+
top: 12px;
240+
left: 12px;
241+
width: 8px;
242+
height: 8px;
243+
background: red;
244+
border-radius: 50%;
245+
}
246+
247+
.origo-pulse .pulse-rays {
248+
margin: 0 auto;
249+
position: absolute;
250+
right: -12px;
251+
top: -12px;
252+
z-index: 4;
253+
background-color: transparent;
254+
opacity: 0.1;
255+
width: 32px;
256+
height: 32px;
257+
border: 2px solid red;
258+
border-radius: 50%;
259+
animation: origo-pulse 3s linear infinite;
260+
border-image: initial;
261+
}
262+
263+
.origo-pulse .pulse-rays.delay {
264+
animation-delay: 1.5s;
265+
}
266+
267+
.origo-pulse.small {
268+
width: 20px;
269+
height: 20px;
270+
top: 5px;
271+
}
272+
273+
.origo-pulse.small .pulse-marker {
274+
top: 7px;
275+
left: 7px;
276+
width: 6px;
277+
height: 6px;
278+
}
279+
280+
.origo-pulse.small .pulse-rays {
281+
right: -7px;
282+
top: -7px;
283+
width: 20px;
284+
height: 20px;
285+
}
286+
287+
@keyframes origo-pulse {
288+
0% {
289+
transform: scale(0);
290+
opacity: 0;
291+
}
292+
8% {
293+
transform: scale(0);
294+
opacity: 0;
295+
}
296+
15% {
297+
transform: scale(0.1);
298+
opacity: 1;
299+
}
300+
30% {
301+
transform: scale(0.5);
302+
opacity: 1;
303+
}
304+
100% {
305+
opacity: 0;
306+
transform: scale(1);
307+
}
308+
}
309+
310+
.origo-spinner,
311+
.origo-spinner.sp-medium {
312+
display: inline-flex;
313+
flex-flow: row nowrap;
314+
align-items: baseline;
315+
/*
316+
display: inline-block;
317+
position: relative;
318+
vertical-align: text-bottom;
319+
*/
320+
width: 24px;
321+
height: 24px;
322+
animation-name: sp-medium-spinner-dash;
323+
}
324+
.origo-spinner .origo-spinner-svg,
325+
.origo-spinner.sp-medium .origo-spinner-svg {
326+
margin-top: -12px;
327+
width: 24px;
328+
height: 24px;
329+
}
330+
.origo-spinner .origo-spin-circle,
331+
.origo-spinner.sp-medium .origo-spin-circle {
332+
cx: 12px;
333+
cy: 12px;
334+
r: 10px;
335+
stroke-dasharray: 62.84px;
336+
stroke-dashoffset: 20.94667px;
337+
}
338+
339+
@keyframes sp-medium-spinner-dash {
340+
0% {
341+
stroke-dasharray: 62.84px, 62.84px;
342+
stroke-dashoffset: 0;
343+
}
344+
50% {
345+
stroke-dasharray: 62.84px, 62.84px;
346+
stroke-dashoffset: 62.84px;
347+
}
348+
100% {
349+
stroke-dasharray: 62.84px, 62.84px;
350+
stroke-dashoffset: 0;
351+
}
352+
}
353+
354+
.origo-spinner.sp-small {
355+
width: 20px;
356+
height: 20px;
357+
animation-name: sp-small-spinner-dash;
358+
}
359+
.origo-spinner.sp-small .origo-spinner-svg {
360+
margin-top: -10px;
361+
width: 20px;
362+
height: 20px;
363+
}
364+
.origo-spinner.sp-small .origo-spin-circle {
365+
cx: 10px;
366+
cy: 10px;
367+
r: 8px;
368+
stroke-dasharray: 50.272px;
369+
stroke-dashoffset: 16.75733px;
370+
}
371+
372+
@keyframes sp-small-spinner-dash {
373+
0% {
374+
stroke-dasharray: 50.272px, 50.272px;
375+
stroke-dashoffset: 0;
376+
}
377+
50% {
378+
stroke-dasharray: 50.272px, 50.272px;
379+
stroke-dashoffset: 50.272px;
380+
}
381+
100% {
382+
stroke-dasharray: 50.272px, 50.272px;
383+
stroke-dashoffset: 0;
384+
}
385+
}
386+
387+
.origo-spinner.sp-large {
388+
width: 34px;
389+
height: 34px;
390+
animation-name: sp-large-spinner-dash;
391+
}
392+
.origo-spinner.sp-large .origo-spinner-svg {
393+
margin-top: -17px;
394+
width: 34px;
395+
height: 34px;
396+
}
397+
.origo-spinner.sp-large .origo-spin-circle {
398+
cx: 17px;
399+
cy: 17px;
400+
r: 15px;
401+
stroke-dasharray: 94.26px;
402+
stroke-dashoffset: 31.42px;
403+
}
404+
405+
@keyframes sp-large-spinner-dash {
406+
0% {
407+
stroke-dasharray: 94.26px, 94.26px;
408+
stroke-dashoffset: 0;
409+
}
410+
50% {
411+
stroke-dasharray: 94.26px, 94.26px;
412+
stroke-dashoffset: 94.26px;
413+
}
414+
100% {
415+
stroke-dasharray: 94.26px, 94.26px;
416+
stroke-dashoffset: 0;
417+
}
418+
}
419+
420+
.origo-spinner-svg {
421+
position: relative;
422+
top: 20%;
423+
animation-name: spinner-rotate;
424+
animation-duration: 1.2s;
425+
animation-iteration-count: infinite;
426+
animation-direction: normal;
427+
animation-timing-function: ease-out;
428+
transform-origin: center center;
429+
}
430+
431+
.origo-spin-circle {
432+
animation-duration: 1.2s;
433+
animation-iteration-count: infinite;
434+
animation-direction: normal;
435+
animation-timing-function: ease-out;
436+
fill: transparent;
437+
stroke-width: 2px;
438+
stroke-linecap: round;
439+
stroke: #3593ff;
440+
animation-name: sp-blue-spinner-stroke;
441+
}
442+
443+
@keyframes sp-blue-spinner-stroke {
444+
0% {
445+
stroke-width: 2px;
446+
stroke: #3593ff;
447+
}
448+
50% {
449+
stroke-width: 0px;
450+
stroke: #1769ff;
451+
}
452+
100% {
453+
stroke-width: 2px;
454+
stroke: #3593ff;
455+
}
456+
}
457+
458+
.origo-spinner.sp-white .origo-spin-circle {
459+
stroke: #ffffff;
460+
animation-name: sp-white-spinner-stroke;
461+
}
462+
463+
@keyframes sp-white-spinner-stroke {
464+
0% {
465+
stroke-width: 2px;
466+
stroke: #ffffff;
467+
}
468+
50% {
469+
stroke-width: 0px;
470+
stroke: #c3c3c3;
471+
}
472+
100% {
473+
stroke-width: 2px;
474+
stroke: #ffffff;
475+
}
476+
}
477+
478+
.origo-spinner.sp-mint .origo-spin-circle {
479+
stroke: #00a8ad;
480+
animation-name: sp-mint-spinner-stroke;
481+
}
482+
483+
@keyframes sp-mint-spinner-stroke {
484+
0% {
485+
stroke-width: 2px;
486+
stroke: #00a8ad;
487+
}
488+
50% {
489+
stroke-width: 0px;
490+
stroke: #008284;
491+
}
492+
100% {
493+
stroke-width: 2px;
494+
stroke: #00a8ad;
495+
}
496+
}
497+
498+
.origo-spinner.sp-pink .origo-spin-circle {
499+
stroke: #fa419d;
500+
animation-name: sp-pink-spinner-stroke;
501+
}
502+
503+
@keyframes sp-pink-spinner-stroke {
504+
0% {
505+
stroke-width: 2px;
506+
stroke: #fa419d;
507+
}
508+
50% {
509+
stroke-width: 0px;
510+
stroke: #e70d79;
511+
}
512+
100% {
513+
stroke-width: 2px;
514+
stroke: #fa419d;
515+
}
516+
}
517+
518+
.origo-spinner.sp-purple .origo-spin-circle {
519+
stroke: #9b7fc8;
520+
animation-name: sp-purple-spinner-stroke;
521+
}
522+
523+
@keyframes sp-purple-spinner-stroke {
524+
0% {
525+
stroke-width: 2px;
526+
stroke: #9b7fc8;
527+
}
528+
50% {
529+
stroke-width: 0px;
530+
stroke: #875ba6;
531+
}
532+
100% {
533+
stroke-width: 2px;
534+
stroke: #9b7fc8;
535+
}
536+
}
537+
538+
@keyframes spinner-rotate {
539+
0% {
540+
-ms-transform: rotate(45deg);
541+
transform: rotate(45deg);
542+
}
543+
50% {
544+
-ms-transform: rotate(585deg);
545+
transform: rotate(585deg);
546+
}
547+
100% {
548+
-ms-transform: rotate(765deg);
549+
transform: rotate(765deg);
550+
}
551+
}

packages/webui/src/client/styles/main.scss

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -178,15 +178,6 @@ body {
178178
// }
179179
// }
180180

181-
// .origo-pulse {
182-
// vertical-align: top;
183-
184-
// &.small.left,
185-
// &.small.right {
186-
// top: 1px;
187-
// }
188-
// }
189-
190181
// .btn > svg.svg-inline--fa + span {
191182
// margin-left: 0.5em;
192183
// }

0 commit comments

Comments
 (0)