1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-23 11:46:13 +02:00
metamask-extension/ui/app/css/itcss/components/hero-balance.scss

96 lines
1.8 KiB
SCSS
Raw Normal View History

2017-08-07 00:46:55 +02:00
$break-small: 575px;
$break-medium: 780px;
2017-08-07 00:46:55 +02:00
$break-large: 576px;
.hero-balance {
@media screen and (max-width: $break-small) {
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: center;
margin: 0.3em 0.9em 0.8em 0.9em;
2017-08-07 00:46:55 +02:00
}
@media screen and (min-width: $break-large) {
display: flex;
flex-direction: row;
justify-content: flex-start;
align-items: center;
margin: 2.8em 0.9em 0.8em 0.9em;
2017-08-07 00:46:55 +02:00
}
.hero-balance-display {
2017-08-07 00:46:55 +02:00
@media screen and (max-width: $break-small) {
text-align: center;
.token-amount {
2017-08-07 02:46:18 +02:00
font-size: 175%;
margin-top: 15%;
}
.fiat-amount {
2017-08-07 02:46:18 +02:00
font-size: 115%;
margin-top: 8.5%;
color: #A0A0A0;
}
2017-08-07 00:46:55 +02:00
}
@media screen and (min-width: $break-large) {
flex-grow: 3;
margin-left: 3%;
justify-content: flex-start;
align-items: flex-start;
2017-08-07 00:46:55 +02:00
.token-amount {
font-size: 135%;
}
2017-08-07 00:46:55 +02:00
.fiat-amount {
margin-top: 0.25%;
font-size: 105%;
}
2017-08-07 00:46:55 +02:00
}
2017-08-07 00:46:55 +02:00
}
.hero-balance-icon {
border-radius: 25px;
width: 45px;
height: 45px;
2017-08-07 00:46:55 +02:00
// TODO: colors
border: 1px solid #DEDEDE;
}
.hero-balance-buttons {
2017-08-07 02:46:18 +02:00
@media screen and (max-width: $break-small) {
width: 100%;
height: 100px; // needed a round number to set the heights of the buttons inside
}
@media screen and (min-width: $break-large) {
flex-grow: 2;
}
button.btn-clear {
2017-08-07 02:46:18 +02:00
font-size: 75%;
background: white;
border: 1px solid;
@media screen and (max-width: $break-small) {
2017-08-07 02:46:18 +02:00
width: 22%;
height: 55%;
}
@media screen and (min-width: $break-large) {
2017-08-07 02:46:18 +02:00
width: 5%;
flex-grow: 2;
height: 4.2vh;
min-height: 28px;
font-size: .7em;
}
2017-08-07 00:46:55 +02:00
}
}
}