summaryrefslogtreecommitdiffstats
path: root/src/styles/main.scss
diff options
context:
space:
mode:
authorHumberto Alfonso Díaz <humberto.alfonso@asvito.es>2019-10-08 14:23:41 +0200
committerLorenzo Tilve <ltilve@igalia.com>2020-02-04 19:12:47 +0100
commit8550205a77b07234c356ea9d0fa3c486fb0e042a (patch)
tree150132fc164d00266194b33ff8627174c428a9f2 /src/styles/main.scss
parent168f29231cd8fa3b3c8f69f287c9523e67af0ef9 (diff)
FUNCT Add network status integration
Diffstat (limited to 'src/styles/main.scss')
-rw-r--r--src/styles/main.scss21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/styles/main.scss b/src/styles/main.scss
index 8f41eee..df68cc4 100644
--- a/src/styles/main.scss
+++ b/src/styles/main.scss
@@ -86,6 +86,27 @@ body {
text-align: center;
font-size: 42px;
color: map-get($colors, grey);
+
+ .powered {
+ color: map-get($colors, font);
+ }
+
+ .connected {
+ color: map-get($colors, primary);
+ }
+
+ .tethering {
+ color: map-get($colors, primary);
+ animation: blink-animation 2s linear infinite;
+ }
+
+ @keyframes blink-animation {
+ 0%{opacity: 0;}
+ 25%{opacity: .5;}
+ 50%{opacity: 1;}
+ 75%{opacity: .5;}
+ 100%{opacity: 0;}
+ }
}
}