swiftype.ejs 1.1 KB

1234567891011121314151617181920212223242526
  1. <script type="text/javascript">
  2. (function(w,d,t,u,n,s,e) {w['SwiftypeObject']=n;w[n]=w[n]||function() {
  3. (w[n].q=w[n].q||[]).push(arguments);};s=d.createElement(t);
  4. e=d.getElementsByTagName(t)[0];s.async=1;s.src=u;e.parentNode.insertBefore(s,e);
  5. })(window,document,'script','//s.swiftypecdn.com/install/v2/st.js','_st');
  6. _st('install','<%= theme.search.swiftype %>','2.0.0');
  7. </script>
  8. <style>
  9. .st-ui-injected-overlay-container,
  10. .st-ui-injected-overlay-container *:not(select) {
  11. font-family: inherit !important;
  12. }
  13. section.st-ui-content.st-search-results a.st-ui-result .st-ui-type-heading {
  14. color: <%= theme.customize.theme_color %> !important;
  15. }
  16. .st-ui-injected-overlay-container .st-ui-header input[type="text"]:focus {
  17. border-bottom: 2px solid <%= theme.customize.theme_color %>;
  18. }
  19. .st-ui-injected-overlay-container .st-ui-footer a.st-ui-pagination-link {
  20. color: <%= theme.customize.theme_color %>;
  21. }
  22. .st-ui-injected-overlay-container .st-ui-footer a.st-ui-pagination-link span.st-ui-arrow {
  23. border-color: <%= theme.customize.theme_color %>;
  24. }
  25. </style>