A Metamask fork with Infura removed and default networks editable
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ciphermask/ui/app/css/itcss/components/hero-balance.scss

121 lines
2.4 KiB

.hero-balance {
@media screen and (max-width: $break-small) {
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: center;
margin: .3em .9em 0;
// height: 80vh;
// max-height: 225px;
flex: 0 0 auto;
}
@media screen and (min-width: $break-large) {
display: flex;
flex-direction: row;
justify-content: flex-start;
align-items: center;
margin: 2.3em 2.37em .8em;
}
.balance-container {
display: flex;
margin: 0;
justify-content: flex-start;
align-items: center;
@media screen and (max-width: $break-small) {
flex-direction: column;
flex: 0 0 auto;
}
@media screen and (min-width: $break-large) {
flex-direction: row;
flex-grow: 3;
}
}
.balance-display {
@media screen and (max-width: $break-small) {
text-align: center;
.token-amount {
font-size: 1.75rem;
margin-top: 1rem;
font-weight: 400;
}
.fiat-amount {
font-size: 115%;
margin-top: 8.5%;
color: #a0a0a0;
}
}
@media screen and (min-width: $break-large) {
margin-left: .8em;
justify-content: flex-start;
align-items: flex-start;
.token-amount {
font-size: 1.5rem;
font-weight: 400;
}
.fiat-amount {
margin-top: .25%;
font-size: 105%;
}
}
}
.hero-balance-buttons {
@media screen and (max-width: $break-small) {
width: 100%;
// height: 100px; // needed a round number to set the heights of the buttons inside
flex: 0 0 auto;
padding: 16px 0;
}
@media screen and (min-width: $break-large) {
flex-grow: 2;
justify-content: flex-end;
}
button.btn-clear {
background: $white;
border: 1px solid;
border-radius: 2px;
font-size: 12px;
@media screen and (max-width: $break-small) {
border-color: $curious-blue;
color: $curious-blue;
height: 36px;
}
@media screen and (min-width: $break-large) {
border-color: $curious-blue;
color: $curious-blue;
padding: 0;
width: 85px;
height: 34px;
}
}
}
}
.hero-balance-button {
text-align: center;
padding: .9rem 1rem;
color: $white;
background: $curious-blue;
border-radius: 2px;
font-size: .85rem;
width: 6rem;
font-weight: 300;
}