File tree Expand file tree Collapse file tree 2 files changed +51
-2
lines changed
ComponentViewer.Wasm/wwwroot Expand file tree Collapse file tree 2 files changed +51
-2
lines changed Original file line number Diff line number Diff line change 1515.background-gradient-animation {
1616 animation : background-gradient 18s ease infinite;
1717}
18+
19+
20+ .loading-progress {
21+ position : relative;
22+ display : block;
23+ width : 8rem ;
24+ height : 8rem ;
25+ margin : 40vh auto 1rem auto;
26+ }
27+
28+ .loading-progress circle {
29+ fill : none;
30+ stroke : # bfbbbb ;
31+ stroke-width : 0.6rem ;
32+ transform-origin : 50% 50% ;
33+ transform : rotate (-90deg );
34+ }
35+
36+ .loading-progress circle : last-child {
37+ stroke : white;
38+ stroke-dasharray : calc (3.141 * var (--blazor-load-percentage , 0% ) * 0.8 ), 500% ;
39+ transition : stroke-dasharray 0.05s ease-in-out;
40+ }
41+
42+ .loading-progress-text {
43+ position : absolute;
44+ color : white;
45+ text-align : center;
46+ font-weight : bold;
47+ inset : calc (40vh + 3.25rem ) 0 auto 0.2rem ;
48+ }
49+ .backgroundLoadColor {
50+ background : linear-gradient (-45deg ,
51+ # 424242ff,
52+ # 594ae2ff,
53+ # 424242ff,
54+ # ff4081ff,
55+ # 424242ff );
56+ }
57+ .loading-progress-text : after {
58+ content : var (--blazor-load-percentage-text , "Loading" );
59+ }
Original file line number Diff line number Diff line change 1515</ head >
1616
1717< body >
18- < div id ="app "> Loading...</ div >
19-
18+ < div id ="app ">
19+ < div class ="backgroundLoadColor " style ="height: 100vh;position: absolute;width: 100vw; ">
20+ < svg class ="loading-progress ">
21+ < circle r ="40% " cx ="50% " cy ="50% " />
22+ < circle r ="40% " cx ="50% " cy ="50% " />
23+ </ svg >
24+ < div class ="loading-progress-text "> </ div >
25+ </ div >
26+ </ div >
2027 < div id ="blazor-error-ui ">
2128 An unhandled error has occurred.
2229 < a href ="" class ="reload "> Reload</ a >
You can’t perform that action at this time.
0 commit comments