diff --git a/index.html b/index.html index 7778f94c..ae62da91 100644 --- a/index.html +++ b/index.html @@ -10,7 +10,7 @@ - + diff --git a/src/ui/web/css/main.css b/src/ui/web/css/main.css index e01e3fc6..b2d3af04 100644 --- a/src/ui/web/css/main.css +++ b/src/ui/web/css/main.css @@ -3,8 +3,9 @@ @import url('room.css'); @import url('timeline.css'); @import url('avatar.css'); +@import url('spinner.css'); -body { +.brawl { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, Cantarell, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; @@ -12,6 +13,10 @@ body { color: white; } +.hidden { + visibility: hidden; +} + .SyncStatusBar { background-color: #555; display: none; diff --git a/src/ui/web/css/spinner.css b/src/ui/web/css/spinner.css new file mode 100644 index 00000000..39b0e6be --- /dev/null +++ b/src/ui/web/css/spinner.css @@ -0,0 +1,34 @@ +@keyframes spinner { + 0% { + transform: rotate(0); + stroke-dasharray: 0 0 10 90; + } + 45% { + stroke-dasharray: 0 0 90 10; + } + 75% { + stroke-dasharray: 0 50 50 0; + } + 100% { + transform: rotate(360deg); + stroke-dasharray: 10 90 0 0; + } +} + +.spinner circle { + transform-origin: 50% 50%; + animation-name: spinner; + animation-duration: 2s; + animation-iteration-count: infinite; + animation-timing-function: linear; + fill: none; + stroke: currentcolor; + stroke-width: calc(var(--size) * 0.1); + stroke-linecap: butt; +} + +.spinner { + --size: 20px; + width: var(--size); + height: var(--size); +} diff --git a/src/ui/web/view-gallery.html b/src/ui/web/view-gallery.html new file mode 100644 index 00000000..ac8d8f19 --- /dev/null +++ b/src/ui/web/view-gallery.html @@ -0,0 +1,53 @@ + + + + + + + + +

View Gallery

+

Login

+
+ +

Login Loading

+
+ + + +