summaryrefslogtreecommitdiffstats
path: root/web/sass-files/sass/partials/_loading.scss
diff options
context:
space:
mode:
authorReed Garmsen <rgarmsen2295@gmail.com>2015-06-30 20:01:35 -0700
committerReed Garmsen <rgarmsen2295@gmail.com>2015-07-02 14:54:33 -0700
commitd5d9481c0f4c1ddd86f2e30f798da50c37f56a3a (patch)
tree250073647712f9291f11fccbce4c8016f968e729 /web/sass-files/sass/partials/_loading.scss
parent681d4d3b78f06f669f7943cb13b5774e7656c740 (diff)
downloadchat-d5d9481c0f4c1ddd86f2e30f798da50c37f56a3a.tar.gz
chat-d5d9481c0f4c1ddd86f2e30f798da50c37f56a3a.tar.bz2
chat-d5d9481c0f4c1ddd86f2e30f798da50c37f56a3a.zip
Added new files for adding new loading animation
Diffstat (limited to 'web/sass-files/sass/partials/_loading.scss')
-rw-r--r--web/sass-files/sass/partials/_loading.scss68
1 files changed, 68 insertions, 0 deletions
diff --git a/web/sass-files/sass/partials/_loading.scss b/web/sass-files/sass/partials/_loading.scss
new file mode 100644
index 000000000..185a42180
--- /dev/null
+++ b/web/sass-files/sass/partials/_loading.scss
@@ -0,0 +1,68 @@
+.loading-screen {
+ display: table;
+ width: 100%;
+ height: 100%;
+ position: absolute;
+ @include box-sizing(border-box);
+ text-align: center;
+ .loading__content {
+ display: table-cell;
+ vertical-align: middle;
+ h3 {
+ font-weight: 400;
+ margin: 0 0.2em 0;
+ display: inline-block;
+ }
+ }
+}
+
+.loading-screen {
+ .loading__content {
+ .round {
+ background-color: #444;
+ width: 4px;
+ height: 4px;
+ display: inline-block;
+ margin: 0 1px;
+ opacity: 0.1;
+ @include border-radius(10px);
+ -moz-animation: move 0.75s infinite linear;
+ -webkit-animation: move 0.75s infinite linear;
+ }
+
+ #round_1 {
+ -moz-animation-delay: .2s;
+ -webkit-animation-delay: .2s;
+ }
+
+ #round_2 {
+ -moz-animation-delay: .4s;
+ -webkit-animation-delay: .4s;
+ }
+
+ #round_3 {
+ -moz-animation-delay: .6s;
+ -webkit-animation-delay: .6s;
+ }
+
+ @-moz-keyframes move {
+ 0% {
+ opacity: 1;
+ }
+
+ 100% {
+ opacity: 0.1;
+ };
+ }
+
+ @-webkit-keyframes move {
+ 0% {
+ opacity: 1;
+ }
+
+ 100% {
+ opacity: 0.1;
+ };
+ }
+ }
+}