mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-12 04:37:13 +01:00
74 lines
1.3 KiB
SCSS
74 lines
1.3 KiB
SCSS
$wallet-balance-bg: #e7e7e7;
|
|
$wallet-balance-breakpoint: 890px;
|
|
$wallet-balance-breakpoint-range: "screen and (min-width: #{$break-large}) and (max-width: #{$wallet-balance-breakpoint})";
|
|
|
|
.wallet-balance-wrapper {
|
|
flex: 0 0 auto;
|
|
transition: linear 200ms;
|
|
background: rgba($wallet-balance-bg, 0);
|
|
|
|
&--active {
|
|
background: $manatee;
|
|
color: $white;
|
|
}
|
|
}
|
|
|
|
.wallet-balance {
|
|
background: inherit;
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: flex-start;
|
|
align-items: center;
|
|
flex: 0 0 auto;
|
|
cursor: pointer;
|
|
border-top: 1px solid $wallet-balance-bg;
|
|
|
|
.balance-container {
|
|
display: flex;
|
|
justify-content: flex-start;
|
|
align-items: center;
|
|
margin: 20px 24px;
|
|
flex-direction: row;
|
|
min-width: 0;
|
|
|
|
@media #{$wallet-balance-breakpoint-range} {
|
|
margin: 10% 4%;
|
|
}
|
|
}
|
|
|
|
.balance-display {
|
|
margin-left: 15px;
|
|
min-width: 0;
|
|
|
|
.token-amount {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.fiat-amount {
|
|
margin-top: .25%;
|
|
font-size: 105%;
|
|
}
|
|
|
|
@media #{$wallet-balance-breakpoint-range} {
|
|
margin-left: 4%;
|
|
|
|
.token-amount {
|
|
font-size: 105%;
|
|
}
|
|
|
|
.fiat-amount {
|
|
font-size: 95%;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.balance-icon {
|
|
border-radius: 25px;
|
|
width: 50px;
|
|
height: 50px;
|
|
border: 1px solid $alto;
|
|
padding: 5px;
|
|
background: $white;
|
|
}
|