added search page
added transaction hash added option to copy hash directly
This commit is contained in:
parent
3efb4da2e7
commit
6ef9218df1
155
css/main.css
155
css/main.css
@ -119,8 +119,9 @@ h3 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.breakable {
|
.breakable {
|
||||||
overflow-wrap: break-word;
|
word-break: break-word;
|
||||||
letter-spacing: 0.06em;
|
font-weight: 500;
|
||||||
|
letter-spacing: 0.06rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.other-font {
|
.other-font {
|
||||||
@ -322,6 +323,58 @@ ul .balance:last-of-type {
|
|||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#search_page h1 {
|
||||||
|
margin-top: 2rem;
|
||||||
|
font-weight: 500;
|
||||||
|
font-size: 3rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
#search_page .input {
|
||||||
|
-webkit-animation: fade 0.4s;
|
||||||
|
animation: fade 0.4s;
|
||||||
|
}
|
||||||
|
|
||||||
|
#search_page .input input:valid ~ #suggestions {
|
||||||
|
opacity: 1;
|
||||||
|
pointer-events: all;
|
||||||
|
-webkit-transform: none;
|
||||||
|
transform: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#search_page #suggestions {
|
||||||
|
opacity: 0;
|
||||||
|
pointer-events: none;
|
||||||
|
-webkit-transform: translateY(-0.5rem);
|
||||||
|
transform: translateY(-0.5rem);
|
||||||
|
-webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
|
||||||
|
transition: opacity 0.3s, -webkit-transform 0.3s;
|
||||||
|
transition: transform 0.3s, opacity 0.3s;
|
||||||
|
transition: transform 0.3s, opacity 0.3s, -webkit-transform 0.3s;
|
||||||
|
position: absolute;
|
||||||
|
top: 100%;
|
||||||
|
width: 100%;
|
||||||
|
background: var(--background);
|
||||||
|
border-radius: 0.5rem;
|
||||||
|
padding: 0.5rem 0;
|
||||||
|
max-height: 30vh;
|
||||||
|
overflow-y: auto;
|
||||||
|
margin-top: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
#search_page #suggestions:empty {
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#search_page .suggestion {
|
||||||
|
padding: 0.6rem 1.5rem 0.6rem 3rem;
|
||||||
|
opacity: 0.8;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
#search_page .suggestion:hover, #search_page .suggestion:focus {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
|
||||||
#main_search {
|
#main_search {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
@ -349,56 +402,12 @@ ul .balance:last-of-type {
|
|||||||
color: rgba(var(--text-light), 1);
|
color: rgba(var(--text-light), 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
#main_search .input {
|
|
||||||
border-radius: 0.5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
#main_search .input input:valid ~ #suggestions {
|
|
||||||
opacity: 1;
|
|
||||||
pointer-events: all;
|
|
||||||
-webkit-transform: none;
|
|
||||||
transform: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
#main_search label {
|
#main_search label {
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
#main_search #suggestions {
|
|
||||||
opacity: 0;
|
|
||||||
pointer-events: none;
|
|
||||||
-webkit-transform: translateY(-0.5rem);
|
|
||||||
transform: translateY(-0.5rem);
|
|
||||||
-webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
|
|
||||||
transition: opacity 0.3s, -webkit-transform 0.3s;
|
|
||||||
transition: transform 0.3s, opacity 0.3s;
|
|
||||||
transition: transform 0.3s, opacity 0.3s, -webkit-transform 0.3s;
|
|
||||||
position: absolute;
|
|
||||||
top: 100%;
|
|
||||||
width: 100%;
|
|
||||||
background: var(--background);
|
|
||||||
border-radius: 0.5rem;
|
|
||||||
padding: 0.5rem 0;
|
|
||||||
max-height: 30vh;
|
|
||||||
overflow-y: auto;
|
|
||||||
margin-top: 0.5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
#main_search #suggestions:empty {
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
#main_search .suggestion {
|
|
||||||
padding: 0.6rem 1.5rem 0.6rem 3rem;
|
|
||||||
opacity: 0.8;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
#main_search .suggestion:hover, #main_search .suggestion:focus {
|
|
||||||
opacity: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.input {
|
.input {
|
||||||
|
border-radius: 0.2rem;
|
||||||
position: relative;
|
position: relative;
|
||||||
display: -ms-grid;
|
display: -ms-grid;
|
||||||
display: grid;
|
display: grid;
|
||||||
@ -425,15 +434,46 @@ ul .balance:last-of-type {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.icon {
|
.icon {
|
||||||
height: 1.2rem;
|
height: 1rem;
|
||||||
overflow: visible;
|
overflow: visible;
|
||||||
width: 1.2rem;
|
width: 1rem;
|
||||||
fill: none;
|
fill: none;
|
||||||
stroke: rgba(var(--text), 1);
|
stroke: rgba(var(--text), 1);
|
||||||
stroke-linecap: round;
|
stroke-linecap: round;
|
||||||
stroke-linejoin: round;
|
stroke-linejoin: round;
|
||||||
stroke-width: 6;
|
stroke-width: 6;
|
||||||
opacity: 0.8;
|
}
|
||||||
|
|
||||||
|
.copy-row {
|
||||||
|
display: -ms-grid;
|
||||||
|
display: grid;
|
||||||
|
-ms-grid-columns: 1fr auto;
|
||||||
|
grid-template-columns: 1fr auto;
|
||||||
|
-webkit-box-align: center;
|
||||||
|
-ms-flex-align: center;
|
||||||
|
align-items: center;
|
||||||
|
gap: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.copy-row .icon {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
#textCopied {
|
||||||
|
padding: 1rem;
|
||||||
|
border-radius: 2rem;
|
||||||
|
background: rgba(var(--text), 0.2);
|
||||||
|
color: rgba(var(--text), 1);
|
||||||
|
position: fixed;
|
||||||
|
bottom: 0;
|
||||||
|
pointer-events: none;
|
||||||
|
margin: 2rem 0;
|
||||||
|
left: 50%;
|
||||||
|
-webkit-transform: translateX(-50%);
|
||||||
|
transform: translateX(-50%);
|
||||||
|
-webkit-transition: 0.3s opacity ease;
|
||||||
|
transition: 0.3s opacity ease;
|
||||||
|
z-index: 20;
|
||||||
}
|
}
|
||||||
|
|
||||||
@-webkit-keyframes flyInLeft {
|
@-webkit-keyframes flyInLeft {
|
||||||
@ -663,8 +703,17 @@ ul .balance:last-of-type {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#page_header .icon {
|
#page_header .icon {
|
||||||
height: 2rem;
|
height: 1.8rem;
|
||||||
width: 2rem;
|
width: 1.8rem;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
#page_header .icon:first-of-type {
|
||||||
|
margin-right: 1rem;
|
||||||
|
padding: 0.4rem 0.4rem 0.4rem 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#page_header .icon:nth-of-type(2) {
|
||||||
padding: 0.4rem 0 0.4rem 0.4rem;
|
padding: 0.4rem 0 0.4rem 0.4rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -909,7 +958,7 @@ p {
|
|||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
}
|
}
|
||||||
|
|
||||||
.transaction .icon {
|
.transaction > .icon:first-of-type {
|
||||||
stroke-width: 4;
|
stroke-width: 4;
|
||||||
-ms-grid-column-align: center;
|
-ms-grid-column-align: center;
|
||||||
justify-self: center;
|
justify-self: center;
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@ -83,8 +83,9 @@ h3{
|
|||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
.breakable{
|
.breakable{
|
||||||
overflow-wrap: break-word;
|
word-break: break-word;
|
||||||
letter-spacing: 0.06em;
|
font-weight: 500;
|
||||||
|
letter-spacing: 0.06rem;
|
||||||
}
|
}
|
||||||
.other-font{
|
.other-font{
|
||||||
font-family: 'Barlow', sans-serif;
|
font-family: 'Barlow', sans-serif;
|
||||||
@ -232,34 +233,20 @@ ul{
|
|||||||
grid-template-rows: auto 1fr auto;
|
grid-template-rows: auto 1fr auto;
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
}
|
}
|
||||||
#main_search{
|
#search_page{
|
||||||
position: relative;
|
h1{
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
h2{
|
|
||||||
margin-top: 2rem;
|
margin-top: 2rem;
|
||||||
align-self: flex-start;
|
font-weight: 500;
|
||||||
font-size: 4rem;
|
font-size: 3rem;
|
||||||
letter-spacing: 0.1em;
|
|
||||||
font-weight: 600;
|
|
||||||
}
|
|
||||||
h4{
|
|
||||||
line-height: 1.4em;
|
|
||||||
margin-top: 2rem;
|
|
||||||
font-weight: 400;
|
|
||||||
color: rgba(var(--text-light), 1);
|
|
||||||
}
|
}
|
||||||
.input{
|
.input{
|
||||||
border-radius: 0.5rem;
|
animation: fade 0.4s;
|
||||||
input:valid ~ #suggestions{
|
input:valid ~ #suggestions{
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
pointer-events: all;
|
pointer-events: all;
|
||||||
transform: none;
|
transform: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
label{
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
#suggestions{
|
#suggestions{
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
@ -287,7 +274,29 @@ ul{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#main_search{
|
||||||
|
position: relative;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
h2{
|
||||||
|
margin-top: 2rem;
|
||||||
|
align-self: flex-start;
|
||||||
|
font-size: 4rem;
|
||||||
|
letter-spacing: 0.1em;
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
h4{
|
||||||
|
line-height: 1.4em;
|
||||||
|
margin-top: 2rem;
|
||||||
|
font-weight: 400;
|
||||||
|
color: rgba(var(--text-light), 1);
|
||||||
|
}
|
||||||
|
label{
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
}
|
||||||
.input{
|
.input{
|
||||||
|
border-radius: 0.2rem;
|
||||||
position: relative;
|
position: relative;
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: auto 1fr;
|
grid-template-columns: auto 1fr;
|
||||||
@ -308,15 +317,37 @@ ul{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.icon{
|
.icon{
|
||||||
height: 1.2rem;
|
height: 1rem;
|
||||||
overflow: visible;
|
overflow: visible;
|
||||||
width: 1.2rem;
|
width: 1rem;
|
||||||
fill: none;
|
fill: none;
|
||||||
stroke: rgba(var(--text), 1);
|
stroke: rgba(var(--text), 1);
|
||||||
stroke-linecap: round;
|
stroke-linecap: round;
|
||||||
stroke-linejoin: round;
|
stroke-linejoin: round;
|
||||||
stroke-width: 6;
|
stroke-width: 6;
|
||||||
opacity: 0.8;
|
}
|
||||||
|
.copy-row{
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: 1fr auto;
|
||||||
|
align-items: center;
|
||||||
|
gap: 0.5rem;
|
||||||
|
.icon{
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#textCopied{
|
||||||
|
padding: 1rem;
|
||||||
|
border-radius: 2rem;
|
||||||
|
background: rgba(var(--text), 0.2);
|
||||||
|
color: rgba(var(--text), 1);
|
||||||
|
position: fixed;
|
||||||
|
bottom: 0;
|
||||||
|
pointer-events: none;
|
||||||
|
margin: 2rem 0;
|
||||||
|
left: 50%;
|
||||||
|
transform: translateX(-50%);
|
||||||
|
transition: 0.3s opacity ease;
|
||||||
|
z-index: 20;
|
||||||
}
|
}
|
||||||
@keyframes flyInLeft{
|
@keyframes flyInLeft{
|
||||||
from{
|
from{
|
||||||
@ -435,8 +466,15 @@ ul{
|
|||||||
text-transform: capitalize;
|
text-transform: capitalize;
|
||||||
}
|
}
|
||||||
.icon{
|
.icon{
|
||||||
height: 2rem;
|
height: 1.8rem;
|
||||||
width: 2rem;
|
width: 1.8rem;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
.icon:first-of-type{
|
||||||
|
margin-right: 1rem;
|
||||||
|
padding: 0.4rem 0.4rem 0.4rem 0;
|
||||||
|
}
|
||||||
|
.icon:nth-of-type(2){
|
||||||
padding: 0.4rem 0 0.4rem 0.4rem;
|
padding: 0.4rem 0 0.4rem 0.4rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -603,7 +641,7 @@ p{
|
|||||||
h4{
|
h4{
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
}
|
}
|
||||||
.icon{
|
& > .icon:first-of-type{
|
||||||
stroke-width: 4;
|
stroke-width: 4;
|
||||||
justify-self: center;
|
justify-self: center;
|
||||||
height: 3rem;
|
height: 3rem;
|
||||||
|
|||||||
4975
index.html
4975
index.html
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user