From e0508010cdd0ee461665fa1ea5de681a128ac67f Mon Sep 17 00:00:00 2001 From: Arnaud CHESNAY Date: Wed, 27 Sep 2017 09:23:47 +0200 Subject: style --- public/css/style.css | 80 ++++++++++++++++++++++++++-------------------------- public/js/script.js | 1 + 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) { -- cgit v1.2.3