trigger button on enter (when focused on input) + update btn styling

development
Kasper (git commits by Albert) 9 months ago
parent 1da704b90c
commit b4e6f55118
  1. 2
      assets/css/styles.min.css
  2. 2
      assets/js/script.min.js

@ -1 +1 @@
.navigation-clean,.navigation-clean-button{background:#fff;padding-top:.75rem;padding-bottom:.75rem;color:#333;border-radius:0;box-shadow:none;border:none;margin-bottom:0}.navigation-clean .navbar-brand,.navigation-clean-button .navbar-brand{font-weight:700;color:inherit}.navigation-clean .navbar-brand:hover,.navigation-clean-button .navbar-brand:hover{color:#222}.navigation-clean .navbar-toggler,.navigation-clean-button .navbar-toggler{border-color:#ddd;color:#888}.navigation-clean .navbar-toggler:focus,.navigation-clean .navbar-toggler:hover,.navigation-clean-button .navbar-toggler:focus,.navigation-clean-button .navbar-toggler:hover{background:0 0}.navigation-clean-button.navbar-light .navbar-nav a.active,.navigation-clean-button.navbar-light .navbar-nav a.active:focus,.navigation-clean-button.navbar-light .navbar-nav a.active:hover,.navigation-clean.navbar-light .navbar-nav .nav-link.active,.navigation-clean.navbar-light .navbar-nav .nav-link.active:focus,.navigation-clean.navbar-light .navbar-nav .nav-link.active:hover{color:#8f8f8f;box-shadow:none;background:0 0;pointer-events:none}.navigation-clean-button.navbar .navbar-nav .nav-link,.navigation-clean.navbar .navbar-nav .nav-link{padding-left:18px;padding-right:18px}.navigation-clean-button.navbar-light .navbar-nav .nav-link,.navigation-clean.navbar-light .navbar-nav .nav-link{color:#465765}.navigation-clean-button.navbar-light .navbar-nav .nav-link:focus,.navigation-clean-button.navbar-light .navbar-nav .nav-link:hover,.navigation-clean.navbar-light .navbar-nav .nav-link:focus,.navigation-clean.navbar-light .navbar-nav .nav-link:hover{color:#37434d!important;background-color:transparent}.navigation-clean .navbar-nav>li>.dropdown-menu{margin-top:-5px;box-shadow:none;background-color:#fff;border-radius:2px}.navigation-clean .dropdown-menu .dropdown-item,.navigation-clean .dropdown-menu .dropdown-item:focus{line-height:2;color:#37434d}.navigation-clean .dropdown-menu .dropdown-item:focus,.navigation-clean .dropdown-menu .dropdown-item:hover,.navigation-clean-button .dropdown-menu .dropdown-item:focus,.navigation-clean-button .dropdown-menu .dropdown-item:hover{background:#eee;color:inherit}.navigation-clean-button .navbar-nav a.active,.navigation-clean-button .navbar-nav>.show>a{background:0 0;box-shadow:none}.navigation-clean-button .navbar-nav>li>.dropdown-menu{margin-top:-5px;box-shadow:0 4px 8px rgba(0,0,0,.1);background-color:#fff;border-radius:2px}.navigation-clean-button .dropdown-menu .dropdown-item,.navigation-clean-button .dropdown-menu .dropdown-item:focus{line-height:2;font-size:14px;color:#37434d}.navigation-clean-button .actions .login{margin-right:1rem;text-decoration:none;color:#465765}.navigation-clean-button .navbar-text .action-button,.navigation-clean-button .navbar-text .action-button:active,.navigation-clean-button .navbar-text .action-button:hover{background:#56c6c6;border-radius:20px;font-size:inherit;color:#fff;box-shadow:none;border:none;text-shadow:none;padding:.5rem 1rem;transition:background-color .25s;font-size:inherit}.navigation-clean-button .navbar-text .action-button:hover{background:#66d7d7}.bg-dark{background:#6870d1!important}.nav-item,.nav-link,.navbar-brand{color:#e0dfef!important}.btn-primary{background:#6870d1!important;border-color:#6870d1!important}.btn-secondary{background:#e082c5!important;border-color:#e082c5!important}.header-home{margin-top:30px;margin-bottom:40px}.header-col-content{display:flex;align-items:center;justify-content:center;flex-direction:column}.float-left{display:flex!important;justify-content:left!important;padding-left:5%}.flex{display:flex}.btn-1st{padding-right:10px}.header-image{width:90%;margin:0 auto}.search{padding-right:85px}.borderbox{border-style:solid;border-color:#6870d1;border-radius:12px;padding:25px;margin-bottom:25px}.explore-products{display:flex;align-items:center;justify-content:center;flex-direction:column;margin-top:10px}@media (max-width:524px){.center-mobile-1{text-align:center!important}}.navlogo{width:120px}.inner-page-header{padding-top:100px;padding-bottom:100px}.center{text-align:center}.coinValue{max-width:250px;margin:0 auto}.coin-checker-header-text{padding-bottom:15px}.scamsafe-text{padding-top:10px;color:red;font-weight:700}.features-coin-checker{padding-top:100px;background:#eceff9}.idiot-token-logo,.wownero-logo{max-width:350px}.wownero-btn{margin-right:10px}.btn-primary:hover{opacity:.9}.row-two-coin{padding-top:100px}@media (min-width:768px){.navigation-clean,.navigation-clean-button{padding-top:1rem;padding-bottom:1rem}.wownero-logo{margin-left:100px;margin-top:-25px}.idiot-token-logo{margin-left:80px;margin-top:-25px}}
.navigation-clean,.navigation-clean-button{background:#fff;padding-top:.75rem;padding-bottom:.75rem;color:#333;border-radius:0;box-shadow:none;border:none;margin-bottom:0}.navigation-clean .navbar-brand,.navigation-clean-button .navbar-brand{font-weight:700;color:inherit}.navigation-clean .navbar-brand:hover,.navigation-clean-button .navbar-brand:hover{color:#222}.navigation-clean .navbar-toggler,.navigation-clean-button .navbar-toggler{border-color:#ddd;color:#888}.navigation-clean .navbar-toggler:focus,.navigation-clean .navbar-toggler:hover,.navigation-clean-button .navbar-toggler:focus,.navigation-clean-button .navbar-toggler:hover{background:0 0}.navigation-clean-button.navbar-light .navbar-nav a.active,.navigation-clean-button.navbar-light .navbar-nav a.active:focus,.navigation-clean-button.navbar-light .navbar-nav a.active:hover,.navigation-clean.navbar-light .navbar-nav .nav-link.active,.navigation-clean.navbar-light .navbar-nav .nav-link.active:focus,.navigation-clean.navbar-light .navbar-nav .nav-link.active:hover{color:#8f8f8f;box-shadow:none;background:0 0;pointer-events:none}.navigation-clean-button.navbar .navbar-nav .nav-link,.navigation-clean.navbar .navbar-nav .nav-link{padding-left:18px;padding-right:18px}.navigation-clean-button.navbar-light .navbar-nav .nav-link,.navigation-clean.navbar-light .navbar-nav .nav-link{color:#465765}.navigation-clean-button.navbar-light .navbar-nav .nav-link:focus,.navigation-clean-button.navbar-light .navbar-nav .nav-link:hover,.navigation-clean.navbar-light .navbar-nav .nav-link:focus,.navigation-clean.navbar-light .navbar-nav .nav-link:hover{color:#37434d!important;background-color:transparent}.navigation-clean .navbar-nav>li>.dropdown-menu{margin-top:-5px;box-shadow:none;background-color:#fff;border-radius:2px}.navigation-clean .dropdown-menu .dropdown-item,.navigation-clean .dropdown-menu .dropdown-item:focus{line-height:2;color:#37434d}.navigation-clean .dropdown-menu .dropdown-item:focus,.navigation-clean .dropdown-menu .dropdown-item:hover,.navigation-clean-button .dropdown-menu .dropdown-item:focus,.navigation-clean-button .dropdown-menu .dropdown-item:hover{background:#eee;color:inherit}.navigation-clean-button .navbar-nav a.active,.navigation-clean-button .navbar-nav>.show>a{background:0 0;box-shadow:none}.navigation-clean-button .navbar-nav>li>.dropdown-menu{margin-top:-5px;box-shadow:0 4px 8px rgba(0,0,0,.1);background-color:#fff;border-radius:2px}.navigation-clean-button .dropdown-menu .dropdown-item,.navigation-clean-button .dropdown-menu .dropdown-item:focus{line-height:2;font-size:14px;color:#37434d}.navigation-clean-button .actions .login{margin-right:1rem;text-decoration:none;color:#465765}.navigation-clean-button .navbar-text .action-button,.navigation-clean-button .navbar-text .action-button:active,.navigation-clean-button .navbar-text .action-button:hover{background:#56c6c6;border-radius:20px;font-size:inherit;color:#fff;box-shadow:none;border:none;text-shadow:none;padding:.5rem 1rem;transition:background-color .25s;font-size:inherit}.navigation-clean-button .navbar-text .action-button:hover{background:#66d7d7}.bg-dark{background:#6870d1!important}.nav-item,.nav-link,.navbar-brand{color:#e0dfef!important}.btn-primary{background:#6870d1!important;border-color:#6870d1!important}.btn-secondary{background:#e082c5!important;border-color:#e082c5!important}.header-home{margin-top:30px;margin-bottom:40px}.header-col-content{display:flex;align-items:center;justify-content:center;flex-direction:column}.float-left{display:flex!important;justify-content:left!important;padding-left:5%}.flex{display:flex}.btn-1st{padding-right:10px}.header-image{width:90%;margin:0 auto}.search{padding-right:85px}.borderbox{border-style:solid;border-color:#6870d1;border-radius:12px;padding:25px;margin-bottom:25px}.explore-products{display:flex;align-items:center;justify-content:center;flex-direction:column;margin-top:10px}@media (max-width:524px){.center-mobile-1{text-align:center!important}}.navlogo{width:120px}.inner-page-header{padding-top:100px;padding-bottom:100px}.center{text-align:center}.coinValue{max-width:250px;margin:0 auto}.coin-checker-header-text{padding-bottom:15px}.scamsafe-text{padding-top:10px;color:red;font-weight:700}.features-coin-checker{padding-top:100px;background:#eceff9}.idiot-token-logo,.wownero-logo{max-width:350px}.wownero-btn{margin-right:10px}.row-two-coin{padding-top:100px}@media (min-width:768px){.navigation-clean,.navigation-clean-button{padding-top:1rem;padding-bottom:1rem}.wownero-logo{margin-left:100px;margin-top:-25px}.idiot-token-logo{margin-left:80px;margin-top:-25px}}

@ -1 +1 @@
function coinSearch(e){e=e.toLowerCase().trim();["shib","squid","acc","svd","kids","squid","bcc"].includes(e)?scam():safe()}function scam(){document.getElementsByClassName("alertText")[0].style.display="block",document.getElementsByClassName("alertText")[0].style.color="red",document.getElementsByClassName("alertText")[0].innerHTML="Scam - DO NOT BUY!"}function safe(){document.getElementsByClassName("alertText")[0].style.display="block",document.getElementsByClassName("alertText")[0].style.color="green",document.getElementsByClassName("alertText")[0].innerHTML="Safe - legit coin"}document.getElementById("btnCheck").addEventListener("click",(()=>{const{value:e}=document.getElementById("coinValue");coinSearch(e)}));var searchBox=document.getElementById("searchBox");function search(){window.location="https://search.swivro.net/secure/search?q="+searchBox.value;var e=document.getElementById("searchBtn");e.innerHTML="<i class='fas fa-circle-notch fa-spin'></i>",setTimeout((function(){e.innerHTML="<i class='fas fa-search'></i>"}),4e3)}var input=document.getElementsByClassName("searchValue")[0];input.addEventListener("keyup",(function(e){13===e.keyCode&&(e.preventDefault(),document.getElementsByClassName("searchBtn")[0].click())}));
function coinSearch(e){e=e.toLowerCase().trim();["shib","squid","acc","svd","kids","squid","bcc"].includes(e)?scam():safe()}function scam(){document.getElementsByClassName("alertText")[0].style.display="block",document.getElementsByClassName("alertText")[0].style.color="red",document.getElementsByClassName("alertText")[0].innerHTML="Scam - DO NOT BUY!"}function safe(){document.getElementsByClassName("alertText")[0].style.display="block",document.getElementsByClassName("alertText")[0].style.color="green",document.getElementsByClassName("alertText")[0].innerHTML="Safe - legit coin"}document.getElementById("btnCheck").addEventListener("click",(()=>{const{value:e}=document.getElementById("coinValue");coinSearch(e)}));var input1=document.getElementById("coinValue");input1.addEventListener("keyup",(function(e){13===e.keyCode&&(e.preventDefault(),document.getElementById("btnCheck").click())}));var searchBox=document.getElementById("searchBox");function search(){window.location="https://search.swivro.net/secure/search?q="+searchBox.value;var e=document.getElementById("searchBtn");e.innerHTML="<i class='fas fa-circle-notch fa-spin'></i>",setTimeout((function(){e.innerHTML="<i class='fas fa-search'></i>"}),4e3)}var input=document.getElementsByClassName("searchValue")[0];input.addEventListener("keyup",(function(e){13===e.keyCode&&(e.preventDefault(),document.getElementsByClassName("searchBtn")[0].click())}));
Loading…
Cancel
Save