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

115 lines
2.1 KiB

$break-small: 575px;
$break-medium: 780px;
$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;
}
@media screen and (min-width: $break-large) {
display: flex;
flex-direction: row;
justify-content: flex-start;
align-items: center;
margin: 1.5em 0.9em 0.8em 0.9em;
}
.hero-balance-display {
.fiat-amount {
color: #A0A0A0;
// TODO: colors
}
@media screen and (max-width: $break-small) {
text-align: center;
.token-amount {
font-size: 1.8em;
margin-top: 1em;
}
.fiat-amount {
font-size: 1.1em;
margin-top: 0.8em;
}
}
@media screen and (min-width: $break-large) {
flex-grow: 3;
margin-left: 1.2vw;
.token-amount {
font-size: 2.1vw;
@media screen and (max-width: $break-medium) {
font-size: 3vw;
}
}
.fiat-amount {
font-size: 1.7vw;
margin-top: 0.3em;
@media screen and (max-width: $break-medium) {
font-size: 2.5vw;
margin-top: 0em;
}
}
}
}
.hero-balance-icon {
border-radius: 30px;
// TODO: colors
border: 1px solid #DEDEDE;
width: 5vw;
height: 5vw;
min-width: 45px;
min-height: 45px;
max-width: 65px;
max-height: 65px;
}
.hero-balance-buttons {
button.btn-clear {
width: 81px;
height: 32px;
font-size: .7em;
background: white;
border: 1px solid;
@media screen and (max-width: $break-small) {
width: 100%;
margin-top: 1.3em;
}
@media screen and (min-width: $break-large) {
flex-grow: 2;
width: 5.8vw;
min-width: 75px;
height: 4.2vh;
min-height: 28px;
font-size: .7em;
}
}
@media screen and (max-width: $break-small) {
width: 100%;
margin-top: 1.3em;
}
@media screen and (min-width: $break-large) {
flex-grow: 2;
}
}
}