File tree Expand file tree Collapse file tree
SampleApps/BlazorWasmApp1 Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
2- "iisSettings" : {
3- "windowsAuthentication" : false ,
4- "anonymousAuthentication" : true ,
5- "iisExpress" : {
6- "applicationUrl" : " http://localhost:30612" ,
7- "sslPort" : 44304
8- }
9- },
102 "profiles" : {
11- "IIS Express " : {
12- "commandName" : " IISExpress " ,
3+ "http " : {
4+ "commandName" : " Project " ,
135 "launchBrowser" : true ,
146 "inspectUri" : " {wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}" ,
7+ "applicationUrl" : " http://localhost:5000" ,
158 "environmentVariables" : {
169 "ASPNETCORE_ENVIRONMENT" : " Development"
1710 }
1811 },
19- "BlazorWasmApp1 " : {
12+ "https " : {
2013 "commandName" : " Project" ,
21- "dotnetRunMessages" : " true" ,
2214 "launchBrowser" : true ,
2315 "inspectUri" : " {wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}" ,
2416 "applicationUrl" : " https://localhost:5001;http://localhost:5000" ,
Original file line number Diff line number Diff line change @@ -48,3 +48,36 @@ a, .btn-link {
4848 right : 0.75rem ;
4949 top : 0.5rem ;
5050 }
51+
52+ .loading-progress {
53+ position : relative;
54+ display : block;
55+ width : 8rem ;
56+ height : 8rem ;
57+ margin : 20vh auto 1rem auto;
58+ }
59+
60+ .loading-progress circle {
61+ fill : none;
62+ stroke : # e0e0e0 ;
63+ stroke-width : 0.6rem ;
64+ transform-origin : 50% 50% ;
65+ transform : rotate (-90deg );
66+ }
67+
68+ .loading-progress circle : last-child {
69+ stroke : # 1b6ec2 ;
70+ stroke-dasharray : calc (3.141 * var (--blazor-load-percentage , 0% ) * 0.8 ), 500% ;
71+ transition : stroke-dasharray 0.05s ease-in-out;
72+ }
73+
74+ .loading-progress-text {
75+ position : absolute;
76+ text-align : center;
77+ font-weight : bold;
78+ inset : calc (20vh + 3.25rem ) 0 auto 0.2rem ;
79+ }
80+
81+ .loading-progress-text : after {
82+ content : var (--blazor-load-percentage-text , "Loading" );
83+ }
Original file line number Diff line number Diff line change 1212</ head >
1313
1414< body >
15- < div id ="app "> Loading...</ div >
15+ < div id ="app ">
16+ < svg class ="loading-progress ">
17+ < circle r ="40% " cx ="50% " cy ="50% " />
18+ < circle r ="40% " cx ="50% " cy ="50% " />
19+ </ svg >
20+ < div class ="loading-progress-text "> </ div >
21+ </ div >
1622
1723 < div id ="blazor-error-ui ">
1824 An unhandled error has occurred.
You can’t perform that action at this time.
0 commit comments