diff options
Diffstat (limited to 'deploy')
| -rw-r--r-- | deploy/index.html | 65 | ||||
| -rw-r--r-- | deploy/loader.css | 141 |
2 files changed, 206 insertions, 0 deletions
diff --git a/deploy/index.html b/deploy/index.html index 282acc0ce..af67ac301 100644 --- a/deploy/index.html +++ b/deploy/index.html @@ -7,9 +7,74 @@ <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"> <script src="https://cdnjs.cloudflare.com/ajax/libs/typescript/3.3.1/typescript.min.js"></script> + <style> + .dash-loader { + display: flex; + align-content: center; + justify-content: center; + background-color: #AEDDF8; + z-index: 10; + width: 100%; + height: 100%; + } + + .dash-loader-container { + width: 20vw; + height: 20vw; + display: flex; + align-items: center; + justify-content: center; + border-radius: 100%; + background-color: #5B9FDD; + align-self: center; + } + + .dash-d-path { + stroke-dasharray: 1000; + stroke-dashoffset: 1000; + animation: dash-d-path 3s linear infinite; + } + + @keyframes dash-d-path { + 0% { + stroke-dashoffset: 1000; + /* stroke-width: 0px; */ + } + + 20% { + stroke-dashoffset: 0; + /* stroke-width: 20px; */ + } + + 70% { + stroke-dashoffset: 0; + /* stroke-width: 20px; */ + } + + 90% { + stroke-dashoffset: 1000; + /* stroke-width: 0px; */ + } + + 100% { + stroke-dashoffset: 1000; + /* stroke-width: 0px; */ + } + } + </style> </head> <body style="display:flex" id="dash-body"> + <div class="dash-loader" id="loader" style="z-index:10; width:100%; height:100%"> + <div class="dash-loader-container"> + <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="200px" + height="200px" viewBox="0 0 250 350"> + <path class="dash-d-path" fill-rule="evenodd" stroke="#ececec" stroke-width="20px" stroke-linecap="butt" + stroke-linejoin="miter" fill="none" + d="M196.500,18.500 C195.888,79.462 194.655,160.273 197.500,195.500 C198.117,203.144 199.664,225.773 189.500,246.500 C183.949,257.819 175.192,268.535 163.500,277.500 C147.404,289.842 133.006,294.212 121.500,295.500 C106.618,297.166 92.057,294.673 79.500,288.500 C68.970,283.324 58.384,274.780 49.500,261.500 C39.958,247.237 35.188,230.375 35.500,213.500 C35.760,199.463 39.572,185.692 46.500,173.500 C55.433,157.780 65.945,148.829 75.500,143.500 C85.352,138.005 98.187,134.141 114.500,134.500 C128.982,134.819 143.177,139.076 155.500,146.500 C186.160,164.973 196.208,196.242 197.500,216.500 C197.663,219.061 197.578,222.985 197.500,226.500 C197.092,244.967 195.719,262.030 195.500,280.500 C195.460,283.898 195.500,293.783 195.500,300.500 C195.500,304.834 195.500,309.189 195.500,313.500 " /> + </svg> + </div> + </div> <!-- <script src="https://hypothes.is/embed.js" async></script> --> <div id="root" style="position:absolute;width:100%;height:100%;overflow: hidden;"></div> <script src="/bundle.js"></script> diff --git a/deploy/loader.css b/deploy/loader.css new file mode 100644 index 000000000..065862013 --- /dev/null +++ b/deploy/loader.css @@ -0,0 +1,141 @@ +.dash-loader { + display: flex; + align-content: center; + justify-content: center; + background-color: lightcyan; + z-index: 10; + width: 100%; + height: 100%; +} + +.dash-loader-container { + width: 100; + align-self: center; +} + +.dash-d-path { + stroke-dasharray: 1000; + stroke-dashoffset: 1000; + animation: dash-d-path 10s linear infinite; +} + +@keyframes dash-d-path { + 0% { + stroke-dashoffset: 1000; + /* stroke-width: 0px; */ + } + + 10% { + stroke-dashoffset: 0; + /* stroke-width: 20px; */ + } + + 90% { + stroke-dashoffset: 0; + /* stroke-width: 20px; */ + } + + 100% { + stroke-dashoffset: 1000; + /* stroke-width: 0px; */ + } +} + +.dash-a-path { + stroke-dasharray: 1000; + stroke-dashoffset: 1000; + animation: dash-a-path 10s linear infinite; +} + +@keyframes dash-a-path { + 0% { + stroke-dashoffset: 1000; + /* stroke-width: 0px; */ + } + + 7% { + stroke-dashoffset: 1000; + /* stroke-width: 0px; */ + } + + 17% { + stroke-dashoffset: 0; + /* stroke-width: 20px; */ + } + + 90% { + stroke-dashoffset: 0; + /* stroke-width: 20px; */ + } + + 100% { + stroke-dashoffset: 1000; + /* stroke-width: 0px; */ + } +} + +.dash-s-path { + stroke-dasharray: 1000; + stroke-dashoffset: 1000; + animation: dash-s-path 10s linear infinite; +} + +@keyframes dash-s-path { + 0% { + stroke-dashoffset: 1000; + /* stroke-width: 0px; */ + } + + 14% { + stroke-dashoffset: 1000; + /* stroke-width: 0px; */ + } + + 20% { + stroke-dashoffset: 0; + /* stroke-width: 20px; */ + } + + 90% { + stroke-dashoffset: 0; + /* stroke-width: 20px; */ + } + + 100% { + stroke-dashoffset: 1000; + /* stroke-width: 0px; */ + } +} + +.dash-h-path { + stroke-dasharray: 1000; + stroke-dashoffset: 1000; + animation: dash-h-path 10s linear infinite; +} + +@keyframes dash-h-path { + 0% { + stroke-dashoffset: 1000; + /* stroke-width: 0px; */ + } + + 18% { + stroke-dashoffset: 1000; + /* stroke-width: 0px; */ + } + + 28% { + stroke-dashoffset: 0; + /* stroke-width: 20px; */ + } + + 90% { + stroke-dashoffset: 0; + /* stroke-width: 20px; */ + } + + 100% { + stroke-dashoffset: 1000; + /* stroke-width: 0px; */ + } +}
\ No newline at end of file |
