1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-25 03:20:23 +01:00
metamask-extension/ui/app/css/itcss/components/wallet-balance.scss

75 lines
1.4 KiB
SCSS
Raw Normal View History

2017-10-25 05:04:29 +02:00
$wallet-balance-bg: #e7e7e7;
2017-08-11 09:31:06 +02:00
$wallet-balance-breakpoint: 890px;
2017-08-14 10:31:27 +02:00
$wallet-balance-breakpoint-range: "screen and (min-width: #{$break-large}) and (max-width: #{$wallet-balance-breakpoint})";
2017-08-11 09:31:06 +02:00
.wallet-balance-wrapper {
2017-09-05 10:48:52 +02:00
flex: 0 0 auto;
2017-09-06 12:17:49 +02:00
transition: linear 200ms;
background: rgba($wallet-balance-bg, 0);
&--active {
2018-01-11 06:09:09 +01:00
background: $manatee;
color: $white;
2017-09-06 12:17:49 +02:00
}
}
2017-08-11 09:31:06 +02:00
.wallet-balance {
background: inherit;
display: flex;
flex-direction: row;
justify-content: flex-start;
align-items: center;
2017-09-05 10:48:52 +02:00
flex: 0 0 auto;
cursor: pointer;
2017-10-25 05:04:29 +02:00
border-top: 1px solid $wallet-balance-bg;
2017-08-11 09:31:06 +02:00
.balance-container {
display: flex;
justify-content: flex-start;
align-items: center;
margin: 20px 24px;
flex-direction: row;
flex-grow: 3;
@media #{$wallet-balance-breakpoint-range} {
margin: 10% 4%;
}
}
.balance-display {
margin-left: 15px;
justify-content: flex-start;
align-items: flex-start;
.token-amount {
2018-01-11 06:09:09 +01:00
font-size: 1.5rem;
2017-08-11 09:31:06 +02:00
}
.fiat-amount {
2017-08-14 10:31:27 +02:00
margin-top: .25%;
2017-08-11 09:31:06 +02:00
font-size: 105%;
}
@media #{$wallet-balance-breakpoint-range} {
margin-left: 4%;
.token-amount {
font-size: 105%;
}
.fiat-amount {
font-size: 95%;
}
}
}
2018-01-11 06:09:09 +01:00
}
2017-08-11 09:31:06 +02:00
2018-01-11 06:09:09 +01:00
.balance-icon {
border-radius: 25px;
width: 50px;
height: 50px;
border: 1px solid $alto;
padding: 5px;
background: $white;
2017-08-11 09:31:06 +02:00
}