diff --git a/static/src/scss/_search.scss b/static/src/scss/_search.scss new file mode 100644 index 0000000..429ed7f --- /dev/null +++ b/static/src/scss/_search.scss @@ -0,0 +1,18 @@ +@keyframes search-loading { + 0% { + transform: rotate(0deg); + } + 100% { + transform: rotate(360deg); + } +} +body.page-searchpage { + .search-controls { + margin: 2rem auto; + max-width: 80%; + } + + #search-indicator { + animation: search-loading 1.5s linear infinite; + } +} diff --git a/static/src/scss/base.scss b/static/src/scss/base.scss index c64fe5c..11d8203 100644 --- a/static/src/scss/base.scss +++ b/static/src/scss/base.scss @@ -13,6 +13,7 @@ @import "listing"; @import "blocks"; @import "shareon"; +@import "search"; html, body { diff --git a/website/search/templates/search/search_page.html b/website/search/templates/search/search_page.html index 9908024..8ede561 100644 --- a/website/search/templates/search/search_page.html +++ b/website/search/templates/search/search_page.html @@ -10,17 +10,29 @@ {% endif %} -
- +
+
+

+ + + + + + + +

+