File tree Expand file tree Collapse file tree 1 file changed +31
-21
lines changed
infrastructure/control-panel/src/lib/fragments/LiveDataFlow Expand file tree Collapse file tree 1 file changed +31
-21
lines changed Original file line number Diff line number Diff line change 11<script lang =" ts" >
2- import { Database01FreeIcons } from " @hugeicons/core-free-icons" ;
2+ import { Database01FreeIcons , PauseFreeIcons } from " @hugeicons/core-free-icons" ;
33 import { HugeiconsIcon } from " @hugeicons/svelte" ;
44
55 let isPaused = $state (false );
1919 }
2020
2121 @keyframes move {
22- 0% {
23- offset-distance : 100% ;
24- opacity : 1 ;
25- }
26- 25% {
27- opacity : 1 ;
28- }
29- 50% {
30- opacity : 1 ;
31- }
32- 75% {
33- opacity : 1 ;
34- }
35- 100% {
36- offset-distance : 0% ;
37- opacity : 0 ;
38- }
39- }
22+ 0% {
23+ offset-distance : 100% ;
24+ opacity : 1 ;
25+ }
26+ 60% {
27+ opacity : 1 ; /* dot visible along right and bottom */
28+ }
29+ 70% {
30+ opacity : 0 ; /* start fading out on left curve */
31+ }
32+ 80% {
33+ opacity : 0 ; /* fully invisible near top edge */
34+ }
35+ 95% {
36+ opacity : 0 ;
37+ }
38+ 100% {
39+ offset-distance : 0% ;
40+ opacity : 0 ; /* remains invisible until teleport */
41+ }
42+ }
4043 </style >
4144
42- <article class =" w-full h-[80vh] px-16 flex items-center bg-gray rounded-md" >
45+ <article class =" w-full h-[80vh] px-16 py-6 flex flex-col items-center bg-gray rounded-md" >
46+ <div class =" w-full flex justify-between items-center mb-20.5" >
47+ <h4 class =" text-xl" >Live Monitering</h4 >
48+ <button class =" px-4 py-3 flex items-center gap-2 text-base font-geist font-medium text-black-700 bg-white border border-[#e5e5e5] rounded-4xl" >
49+ <HugeiconsIcon icon ={PauseFreeIcons } size =" 24px" />
50+ Pause Live Feed
51+ </button >
52+ </div >
4353 <div class =" relative w-full flex justify-between items-center z-10" >
4454 <!-- svelte-ignore element_invalid_self_closing_tag -->
45- <div class =" w-[92 %] h-[175px] absolute top-[55%] start-[50%] z-[-1] translate-x-[-50%] bg-transparent border border-t-transparent border-s-green border-b-green border-e-green rounded-md" >
55+ <div class =" w-[88 %] h-[175px] absolute top-[55%] start-[50%] z-[-1] translate-x-[-50%] bg-transparent border border-t-transparent border-s-green border-b-green border-e-green rounded-md" >
4656 <div class =" dot absolute h-2.5 w-2.5 top-0 start-[-1px] bg-green rounded-full" />
4757 </div >
4858
You can’t perform that action at this time.
0 commit comments