From 0f9bcfeee6b47e6206b062d2affd0862209820f3 Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Tue, 13 Dec 2016 22:49:26 +0000
Subject: [PATCH] Use navbar for loading indication
---
index.css | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/index.css b/index.css
index 5edcb4a..dfc40fa 100644
--- a/index.css
+++ b/index.css
@@ -33,3 +33,17 @@
font-weight: normal;
font-size: inherit;
}
+
+nav.loading {
+ background-image: -webkit-linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 25%,transparent 50%,rgba(0,0,0,.1) 50%,rgba(0,0,0,.1) 75%,transparent 75%,transparent);
+ background-image: -o-linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 25%,transparent 50%,rgba(0,0,0,.1) 50%,rgba(0,0,0,.1) 75%,transparent 75%,transparent);
+ background-image: linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 25%,transparent 50%,rgba(0,0,0,.1) 50%,rgba(0,0,0,.1) 75%,transparent 75%,transparent);
+ -webkit-background-size: 40px 40px;
+ background-size: 40px 40px;
+ -webkit-animation: progress-bar-stripes 2s linear infinite;
+ -o-animation: progress-bar-stripes 2s linear infinite;
+ animation: progress-bar-stripes 2s linear infinite;
+}
+nav.loading * {
+ color: black !important;
+}
--
Gitblit v1.10.0