From 186b477085d63e23566d9ac4c11a36cde178e14e Mon Sep 17 00:00:00 2001 From: BuildTools Date: Tue, 6 Dec 2016 19:24:31 +0100 Subject: hide week selector when didn't search --- public/javascripts/bundle.js | 8 +++++--- public/javascripts/main.js | 6 ++++-- public/stylesheets/style.css | 10 +++++++--- 3 files changed, 16 insertions(+), 8 deletions(-) diff --git a/public/javascripts/bundle.js b/public/javascripts/bundle.js index 35bdf6e..faa2ba5 100644 --- a/public/javascripts/bundle.js +++ b/public/javascripts/bundle.js @@ -719,7 +719,7 @@ searchNode.addEventListener('keydown', function (e) { }); searchNode.addEventListener('input', function (e) { - document.body.className = ''; + document.body.classList.remove('no-input'); autocompleteNode.innerHTML = ''; if (inputNode.value.trim() === '') return; @@ -747,6 +747,8 @@ function submitForm(e) { } if (selectedUser == null) return; + document.body.classList.add('searched'); + updateFavNode(); inputNode.value = selectedUser.value; @@ -851,7 +853,7 @@ if (currentFav) { }); })(); } else if (inputNode.value === '') { - document.body.className = 'no-input'; + document.body.classList.add('no-input'); inputNode.focus(); } @@ -860,4 +862,4 @@ document.body.style.opacity = '1'; window.easterEggs = easterEggs; },{"./easterEggs":5,"./getURLOfUser":6,"./getWeek":7,"diacritics":1,"flexibility":2,"fuzzy":3}]},{},[8]) -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm5vZGVfbW9kdWxlcy9icm93c2VyLXBhY2svX3ByZWx1ZGUuanMiLCJub2RlX21vZHVsZXMvZGlhY3JpdGljcy9pbmRleC5qcyIsIm5vZGVfbW9kdWxlcy9mbGV4aWJpbGl0eS9mbGV4aWJpbGl0eS5qcyIsIm5vZGVfbW9kdWxlcy9mdXp6eS9saWIvZnV6enkuanMiLCJub2RlX21vZHVsZXMvbGVmdC1wYWQvaW5kZXguanMiLCJwdWJsaWMvamF2YXNjcmlwdHMvZWFzdGVyRWdncy5qcyIsInB1YmxpYy9qYXZhc2NyaXB0cy9nZXRVUkxPZlV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seXJpY3MuZm9yRWFjaCgocm93LCByb3dJbmRleCkgPT4ge1xuICAgIHJvdy5mb3JFYWNoKCh3b3JkLCB3b3JkSW5kZXgpID0+IHtcbiAgICAgIHNldFRpbWVvdXQoZnVuY3Rpb24gKCkge1xuICAgICAgICBpZiAod29yZEluZGV4ID09PSAwKSBpbnB1dE5vZGUucGxhY2Vob2xkZXIgPSAnJ1xuICAgICAgICBpbnB1dE5vZGUucGxhY2Vob2xkZXIgKz0gd29yZC53b29yZFxuICAgICAgfSwgd29yZC50aW1lICogMTAwMClcbiAgICAgIGlmIChseXJpY3MubGVuZ3RoID09PSByb3dJbmRleCArIDEgJiZcbiAgICAgICAgICBseXJpY3Nbcm93SW5kZXhdLmxlbmd0aCA9PT0gd29yZEluZGV4ICsgMSkge1xuICAgICAgICBzZXRUaW1lb3V0KGZ1bmN0aW9uICgpIHtcbiAgICAgICAgICBpZiAoaW5wdXROb2RlLnZhbHVlID09PSAnJykge1xuICAgICAgICAgICAgaW5wdXROb2RlLnZhbHVlID0gb3JpZ2luYWxWYWx1ZVxuICAgICAgICAgIH1cbiAgICAgICAgICBpbnB1dE5vZGUucGxhY2Vob2xkZXIgPSAnWm9la2VuJ1xuICAgICAgICAgIGF1dG9jb21wbGV0ZSA9IHRydWVcbiAgICAgICAgfSwgd29yZC50aW1lICogMTAwMCArIDEwMDApXG4gICAgICB9XG4gICAgfSlcbiAgfSlcblxuICBpbnB1dE5vZGUuYWRkRXZlbnRMaXN0ZW5lcignZm9jdXMnLCBmdW5jdGlvbiAoKSB7XG4gICAgaWYgKCFhdXRvY29tcGxldGUpIHJldHVyblxuXG4gICAgYXV0b2NvbXBsZXRlTm9kZS5pbm5lckhUTUwgPSAnJ1xuXG4gICAgY29uc3QgYXV0b2NvbXBsZXRlTHlyaWNzID0gW1xuICAgICAgYCd0IElzIGVlbiB2cmVlbWQnbGluZyB6ZWtlcixgLFxuICAgICAgYGRpZSB2ZXJkd2FhbHQgaXMgemVrZXIuYCxcbiAgIC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iAnZXZlbnQnLCBldmVudENhdGVnb3J5OiAnc2VhcmNoIGZhdicsIGV2ZW50QWN0aW9uLCBldmVudExhYmVsIH0pXG4gIH0pXG59IGVsc2UgaWYgKGlucHV0Tm9kZS52YWx1ZSA9PT0gJycpIHtcbiAgZG9jdW1lbnQuYm9keS5jbGFzc0xpc3QuYWRkKCduby1pbnB1dCcpXG4gIGlucHV0Tm9kZS5mb2N1cygpXG59XG5cbmRvY3VtZW50LmJvZHkuc3R5bGUub3BhY2l0eSA9ICcxJ1xuXG53aW5kb3cuZWFzdGVyRWdncyA9IGVhc3RlckVnZ3NcbiJdfQ== diff --git a/public/javascripts/main.js b/public/javascripts/main.js index 41b096a..62bf3a2 100644 --- a/public/javascripts/main.js +++ b/public/javascripts/main.js @@ -89,7 +89,7 @@ searchNode.addEventListener('keydown', function (e) { }) searchNode.addEventListener('input', function (e) { - document.body.className = '' + document.body.classList.remove('no-input') autocompleteNode.innerHTML = '' if (inputNode.value.trim() === '') return @@ -115,6 +115,8 @@ function submitForm (e) { } if (selectedUser == null) return + document.body.classList.add('searched') + updateFavNode() inputNode.value = selectedUser.value @@ -217,7 +219,7 @@ if (currentFav) { ga('send', { hitType: 'event', eventCategory: 'search fav', eventAction, eventLabel }) }) } else if (inputNode.value === '') { - document.body.className = 'no-input' + document.body.classList.add('no-input') inputNode.focus() } diff --git a/public/stylesheets/style.css b/public/stylesheets/style.css index c136867..78974fb 100644 --- a/public/stylesheets/style.css +++ b/public/stylesheets/style.css @@ -117,8 +117,8 @@ li:hover { padding: 0; } -#search-space-filler { - height: 73px; +body.searched #search-space-filler { + height: 70px; } .autocomplete-wrapper { @@ -208,11 +208,15 @@ ul a { display: none; } +body.no-input #week-selector { + display: none; +} + @media screen and (min-height: 400px) { body.no-input { background-color: #ececec; } - + body.no-input #search { height: 100%; background-color: #ececec; -- cgit v1.1