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/add-token.scss

184 lines
3.1 KiB

.add-token {
width: 498px;
display: flex;
flex-flow: column nowrap;
align-items: center;
position: relative;
top: -36px;
z-index: 12;
font-family: 'DIN Next Light';
@media screen and (max-width: $break-small) {
top: 0;
width: 100%;
&__wrapper {
box-shadow: none !important;
}
&__footers {
border-bottom: 1px solid $gallery;
}
}
&__wrapper {
background-color: $white;
box-shadow: 0 2px 4px 0 rgba($black, .08);
display: flex;
flex-flow: column nowrap;
align-items: center;
flex: 0 0 auto;
}
&__title-container {
display: flex;
flex-flow: column nowrap;
align-items: center;
padding: 30px 60px 12px;
border-bottom: 1px solid $gallery;
flex: 0 0 auto;
}
&__title {
color: $scorpion;
font-size: 20px;
line-height: 26px;
text-align: center;
font-weight: 600;
margin-bottom: 12px;
}
&__description {
text-align: center;
}
&__description + &__description {
margin-top: 24px;
}
&__content-container {
width: 100%;
border-bottom: 1px solid $gallery;
}
&__input-container {
padding: 11px 0;
width: 263px;
margin: 0 auto;
}
&__input {
width: 100%;
border: 2px solid $gallery;
border-radius: 4px;
padding: 5px 15px;
font-size: 14px;
line-height: 19px;
&::placeholder {
color: $silver;
}
}
&__footers {
width: 100%;
}
&__add-custom {
color: $scorpion;
font-size: 18px;
line-height: 24px;
text-align: center;
padding: 11px 0 19px;
font-weight: 600;
cursor: pointer;
}
&__add-custom-form {
display: flex;
flex-flow: column nowrap;
margin: 8px 0 51px;
}
&__add-custom-field {
width: 290px;
margin: 0 auto;
}
&__add-custom-label {
font-size: 16px;
line-height: 21px;
margin-bottom: 8px;
}
&__add-custom-input {
width: 100%;
border: 1px solid $silver;
padding: 5px 15px;
font-size: 14px;
line-height: 19px;
&::placeholder {
color: $silver;
}
}
&__add-custom-field + &__add-custom-field {
margin-top: 21px;
}
&__buttons {
display: flex;
flex-flow: column nowrap;
margin: 30px 0 51px;
flex: 0 0 auto;
}
&__token-icons-container {
display: flex;
flex-flow: row wrap;
}
&__token-wrapper {
transition: 200ms ease-in-out;
display: flex;
flex-flow: row nowrap;
flex: 0 0 45%;
align-items: center;
padding: 12px;
margin: 2.5%;
box-sizing: border-box;
border-radius: 10px;
cursor: pointer;
border: 2px solid transparent;
&:hover,
&--selected {
border: 2px solid $malibu-blue;
}
}
&__token-name {
font-size: 14px;
line-height: 19px;
}
&__token-symbol {
font-size: 22px;
line-height: 29px;
font-weight: 600;
}
&__token-icon {
width: 60px;
height: 60px;
background-repeat: no-repeat;
background-size: contain;
background-position: center;
border-radius: 50%;
background-color: $white;
box-shadow: 0 2px 4px 0 rgba($black, .24);
margin-right: 12px;
flex: 0 0 auto;
}
}