aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnaud CHESNAY <arnaud.chesnay@etu.univ-nantes.fr>2017-09-27 09:23:47 +0200
committerArnaud CHESNAY <arnaud.chesnay@etu.univ-nantes.fr>2017-09-27 09:23:47 +0200
commite0508010cdd0ee461665fa1ea5de681a128ac67f (patch)
tree19768f33f27742e13db8973f6065b6b4f1eb01f1
parentgitignore (diff)
style
-rw-r--r--public/css/style.css80
-rw-r--r--public/js/script.js1
2 files changed, 41 insertions, 40 deletions
diff --git a/public/css/style.css b/public/css/style.css
index 355ad21..f0a90e6 100644
--- a/public/css/style.css
+++ b/public/css/style.css
@@ -591,46 +591,46 @@ color: #F07178;
color: currentColor;
}
-.spinner {
- width: 40px;
- height: 40px;
-
- position: relative;
- margin: 100px auto;
-}
-
-.double-bounce1, .double-bounce2 {
- width: 100%;
- height: 100%;
- border-radius: 50%;
- background-color: #333;
- opacity: 0.6;
- position: absolute;
- top: 0;
- left: 0;
-
- -webkit-animation: sk-bounce 2.0s infinite ease-in-out;
- animation: sk-bounce 2.0s infinite ease-in-out;
-}
-
-.double-bounce2 {
- -webkit-animation-delay: -1.0s;
- animation-delay: -1.0s;
-}
-
-@-webkit-keyframes sk-bounce {
- 0%, 100% { -webkit-transform: scale(0.0) }
- 50% { -webkit-transform: scale(1.0) }
-}
-
-@keyframes sk-bounce {
- 0%, 100% {
- transform: scale(0.0);
- -webkit-transform: scale(0.0);
- } 50% {
- transform: scale(1.0);
- -webkit-transform: scale(1.0);
- }
+.spinner {
+ width: 40px;
+ height: 40px;
+
+ position: relative;
+ margin: 100px auto;
+}
+
+.double-bounce1, .double-bounce2 {
+ width: 100%;
+ height: 100%;
+ border-radius: 50%;
+ background-color: #333;
+ opacity: 0.6;
+ position: absolute;
+ top: 0;
+ left: 0;
+
+ -webkit-animation: sk-bounce 2.0s infinite ease-in-out;
+ animation: sk-bounce 2.0s infinite ease-in-out;
+}
+
+.double-bounce2 {
+ -webkit-animation-delay: -1.0s;
+ animation-delay: -1.0s;
+}
+
+@-webkit-keyframes sk-bounce {
+ 0%, 100% { -webkit-transform: scale(0.0) }
+ 50% { -webkit-transform: scale(1.0) }
+}
+
+@keyframes sk-bounce {
+ 0%, 100% {
+ transform: scale(0.0);
+ -webkit-transform: scale(0.0);
+ } 50% {
+ transform: scale(1.0);
+ -webkit-transform: scale(1.0);
+ }
}
#tree {
diff --git a/public/js/script.js b/public/js/script.js
index bfa2899..1ecfc79 100644
--- a/public/js/script.js
+++ b/public/js/script.js
@@ -3,6 +3,7 @@ $(document).ready(function() {
$('#tree').append(addDirectory(data));
$('a').click(function(e) {
+ $('#md').remove();
$('.spinner').show();
e.preventDefault();
$.get(this.href, function(data) {