diff --git a/Selector.MAUI/Pages/Launch.razor b/Selector.MAUI/Pages/Launch.razor index a56fd1b..ed5987a 100644 --- a/Selector.MAUI/Pages/Launch.razor +++ b/Selector.MAUI/Pages/Launch.razor @@ -6,7 +6,7 @@ @inject HubManager hubManager; @inject StartPageManager startManager; -

Loading...

+ @code { protected async override Task OnInitializedAsync() diff --git a/Selector.MAUI/Pages/Launch.razor.css b/Selector.MAUI/Pages/Launch.razor.css new file mode 100644 index 0000000..aafe3dd --- /dev/null +++ b/Selector.MAUI/Pages/Launch.razor.css @@ -0,0 +1,72 @@ +body { +} + +.centered-spinning { + position: fixed; + top: 50%; + left: 50%; + margin-left: -50px; + margin-top: -50px; +} + +.spinning { + width: 100px; + height: 100px; + background: #f00; + -webkit-animation-name: spin; + -webkit-animation-duration: 1000ms; + -webkit-animation-iteration-count: infinite; + -webkit-animation-timing-function: linear; + -moz-animation-name: spin; + -moz-animation-duration: 1000ms; + -moz-animation-iteration-count: infinite; + -moz-animation-timing-function: linear; + -ms-animation-name: spin; + -ms-animation-duration: 1000ms; + -ms-animation-iteration-count: infinite; + -ms-animation-timing-function: linear; + animation-name: spin; + animation-duration: 1000ms; + animation-iteration-count: infinite; + animation-timing-function: linear; +} + +@-ms-keyframes spin { + from { + -ms-transform: rotate(0deg); + } + + to { + -ms-transform: rotate(360deg); + } +} + +@-moz-keyframes spin { + from { + -moz-transform: rotate(0deg); + } + + to { + -moz-transform: rotate(360deg); + } +} + +@-webkit-keyframes spin { + from { + -webkit-transform: rotate(0deg); + } + + to { + -webkit-transform: rotate(360deg); + } +} + +@keyframes spin { + from { + transform: rotate(0deg); + } + + to { + transform: rotate(360deg); + } +} \ No newline at end of file diff --git a/Selector.MAUI/Selector.MAUI.csproj b/Selector.MAUI/Selector.MAUI.csproj index b493a0a..322fd44 100644 --- a/Selector.MAUI/Selector.MAUI.csproj +++ b/Selector.MAUI/Selector.MAUI.csproj @@ -70,7 +70,6 @@ - @@ -99,11 +98,13 @@ + + @@ -111,6 +112,7 @@ +