1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-24 11:01:41 +01:00
metamask-extension/ui/app/css/itcss/components/hero-balance.scss

115 lines
2.2 KiB
SCSS
Raw Normal View History

2017-08-07 00:46:55 +02:00
.hero-balance {
2017-08-07 00:46:55 +02:00
@media screen and (max-width: $break-small) {
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: center;
2017-08-14 10:31:27 +02:00
margin: .3em .9em 0;
2017-10-19 23:08:52 +02:00
// height: 80vh;
// max-height: 225px;
flex: 0 0 auto;
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 2.37em .8em;
2017-08-07 00:46:55 +02:00
}
.balance-container {
display: flex;
margin: 0;
justify-content: flex-start;
align-items: center;
@media screen and (max-width: $break-small) {
flex-direction: column;
2017-10-19 23:08:52 +02:00
flex: 0 0 auto;
}
@media screen and (min-width: $break-large) {
flex-direction: row;
flex-grow: 3;
}
}
.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: 12.5%;
}
.fiat-amount {
2017-08-07 02:46:18 +02:00
font-size: 115%;
margin-top: 8.5%;
2017-08-14 10:31:27 +02:00
color: #a0a0a0;
}
2017-08-07 00:46:55 +02:00
}
@media screen and (min-width: $break-large) {
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 {
2017-08-14 10:31:27 +02:00
margin-top: .25%;
font-size: 105%;
}
2017-08-07 00:46:55 +02:00
}
}
.balance-icon {
border-radius: 25px;
width: 45px;
height: 45px;
border: 1px solid $alto;
2017-08-07 00:46:55 +02:00
}
.hero-balance-buttons {
2017-08-14 10:31:27 +02:00
2017-08-07 02:46:18 +02:00
@media screen and (max-width: $break-small) {
width: 100%;
2017-10-19 23:08:52 +02:00
// height: 100px; // needed a round number to set the heights of the buttons inside
flex: 0 0 auto;
padding: 16px 0;
2017-08-07 02:46:18 +02:00
}
@media screen and (min-width: $break-large) {
flex-grow: 2;
justify-content: flex-end;
2017-08-07 02:46:18 +02:00
}
button.btn-clear {
2017-08-14 10:31:27 +02:00
background: $white;
border: 1px solid;
border-radius: 2px;
2017-09-12 08:18:54 +02:00
font-size: 12px;
@media screen and (max-width: $break-small) {
2017-10-19 23:08:52 +02:00
border-color: $curious-blue;
color: $curious-blue;
height: 36px;
}
@media screen and (min-width: $break-large) {
border-color: $curious-blue;
color: $curious-blue;
2017-09-12 08:18:54 +02:00
padding: 0;
width: 85px;
height: 34px;
}
2017-08-07 00:46:55 +02:00
}
}
}