UI improvements

This commit is contained in:
sairaj mote 2022-03-29 23:58:10 +05:30
parent 1e2971ac8e
commit 6028e2b541
4 changed files with 133 additions and 85 deletions

View File

@ -352,6 +352,12 @@ ul {
margin-left: 0.5rem; margin-left: 0.5rem;
} }
.icon-only {
padding: 0.6rem;
aspect-ratio: 1/1;
background-color: transparent;
}
.icon-button { .icon-button {
padding: 0.6rem; padding: 0.6rem;
border-radius: 0.8rem; border-radius: 0.8rem;
@ -551,6 +557,11 @@ sm-checkbox {
align-content: flex-start; align-content: flex-start;
} }
#login_form {
width: min(24rem, 100%);
margin: 0 auto;
}
#login_form__priv_key { #login_form__priv_key {
margin-top: 1rem; margin-top: 1rem;
} }
@ -608,16 +619,11 @@ sm-checkbox {
width: min(42rem, 100%); width: min(42rem, 100%);
} }
#exchange {
display: grid;
gap: 1.5rem;
}
.listed-asset { .listed-asset {
position: relative; position: relative;
grid-template-columns: auto 1fr auto; grid-template-columns: auto 1fr auto;
gap: 0.5rem; gap: 0.5rem;
padding: 1rem; padding: 1rem 0;
border-radius: 0.5rem; border-radius: 0.5rem;
opacity: 0.8; opacity: 0.8;
font-weight: 400; font-weight: 400;
@ -773,6 +779,7 @@ sm-checkbox {
#wallet { #wallet {
gap: 1.5rem; gap: 1.5rem;
align-content: flex-start; align-content: flex-start;
width: min(24rem, 100%);
} }
.wallet_actions__wrapper { .wallet_actions__wrapper {
@ -793,8 +800,7 @@ sm-checkbox {
.balance-card { .balance-card {
display: grid; display: grid;
align-items: center; align-items: center;
gap: 0.3rem 1rem; gap: 0.3rem 0.5rem;
padding: 0.5rem 0;
border-radius: 0.5rem; border-radius: 0.5rem;
} }
.balance-card.is-locked { .balance-card.is-locked {
@ -1078,11 +1084,16 @@ sm-checkbox {
background-color: rgba(var(--text-color), 0.06); background-color: rgba(var(--text-color), 0.06);
} }
#exchange { .is-signed-in #exchange_wrapper {
display: grid; display: grid;
gap: 1.5rem;
grid-template-columns: 16rem 1fr; grid-template-columns: 16rem 1fr;
align-items: flex-start;
} }
.listed-asset {
padding: 1rem;
}
.listed-asset--active { .listed-asset--active {
opacity: 1; opacity: 1;
background-color: rgba(var(--text-color), 0.06); background-color: rgba(var(--text-color), 0.06);

File diff suppressed because one or more lines are too long

View File

@ -347,6 +347,11 @@ ul {
margin-left: 0.5rem; margin-left: 0.5rem;
} }
} }
.icon-only {
padding: 0.6rem;
aspect-ratio: 1/1;
background-color: transparent;
}
.icon-button { .icon-button {
padding: 0.6rem; padding: 0.6rem;
@ -528,6 +533,10 @@ sm-checkbox {
align-items: flex-start; align-items: flex-start;
align-content: flex-start; align-content: flex-start;
} }
#login_form {
width: min(24rem, 100%);
margin: 0 auto;
}
#login_form__priv_key { #login_form__priv_key {
margin-top: 1rem; margin-top: 1rem;
} }
@ -584,16 +593,11 @@ sm-checkbox {
width: min(42rem, 100%); width: min(42rem, 100%);
} }
} }
#exchange {
display: grid;
gap: 1.5rem;
}
.listed-asset { .listed-asset {
position: relative; position: relative;
grid-template-columns: auto 1fr auto; grid-template-columns: auto 1fr auto;
gap: 0.5rem; gap: 0.5rem;
padding: 1rem; padding: 1rem 0;
border-radius: 0.5rem; border-radius: 0.5rem;
opacity: 0.8; opacity: 0.8;
font-weight: 400; font-weight: 400;
@ -746,6 +750,7 @@ sm-checkbox {
#wallet { #wallet {
gap: 1.5rem; gap: 1.5rem;
align-content: flex-start; align-content: flex-start;
width: min(24rem, 100%);
} }
.wallet_actions__wrapper { .wallet_actions__wrapper {
grid-column: span 3; grid-column: span 3;
@ -763,8 +768,7 @@ sm-checkbox {
.balance-card { .balance-card {
display: grid; display: grid;
align-items: center; align-items: center;
gap: 0.3rem 1rem; gap: 0.3rem 0.5rem;
padding: 0.5rem 0;
border-radius: 0.5rem; border-radius: 0.5rem;
&.is-locked { &.is-locked {
grid-template-columns: auto 1fr; grid-template-columns: auto 1fr;
@ -1000,11 +1004,16 @@ sm-checkbox {
background-color: rgba(var(--text-color), 0.06); background-color: rgba(var(--text-color), 0.06);
} }
} }
#exchange { .is-signed-in {
display: grid; #exchange_wrapper {
grid-template-columns: 16rem 1fr; display: grid;
gap: 1.5rem;
grid-template-columns: 16rem 1fr;
align-items: flex-start;
}
} }
.listed-asset { .listed-asset {
padding: 1rem;
&--active { &--active {
opacity: 1; opacity: 1;
background-color: rgba(var(--text-color), 0.06); background-color: rgba(var(--text-color), 0.06);

File diff suppressed because one or more lines are too long