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/modal.scss

324 lines
5.8 KiB

// Buy Modal
.buy-modal-content {
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
font-family: 'DIN OT';
}
@media screen and (max-width: 575px) {
.buy-modal-content-title-wrapper {
justify-content: space-around;
width: 100%;
height: 100px;
}
.buy-modal-content-title {
font-size: 26px;
margin-top: 15px;
}
.buy-modal-content-options {
flex-direction: column;
padding: 5% 33%;
}
.buy-modal-content-footer {
text-transform: uppercase;
width: 100%;
height: 50px;
}
div.buy-modal-content-option {
display: flex;
flex-direction: column;
width: 80vw;
height: 15vh;
margin: 10px;
text-align: center;
border-radius: 6px;
border: 1px solid $black;
padding: 0% 7%;
justify-content: space-around;
div.buy-modal-content-option-title {
font-size: 20px;
}
div.buy-modal-content-option-subtitle {
font-size: 16px;
}
}
}
@media screen and (min-width: 576px) {
.buy-modal-content-title-wrapper {
justify-content: space-around;
width: 100%;
height: 110px;
}
.buy-modal-content-title {
font-size: 26px;
margin-top: 15px;
}
.buy-modal-content-footer {
text-transform: uppercase;
width: 100%;
height: 50px;
}
.buy-modal-content-options {
flex-direction: row;
margin: 20px 0;
}
div.buy-modal-content-option {
display: flex;
flex-direction: column;
width: 20vw;
height: 18vw;
text-align: center;
border-radius: 6px;
border: 1px solid $black;
margin: 0 .5vw;
justify-content: space-around;
div.buy-modal-content-option-title {
font-size: 20px;
@media screen and (max-width: 679px) {
font-size: 14px;
}
@media screen and (min-width: 1281px) {
font-size: 26px;
}
}
div.buy-modal-content-option-subtitle {
font-size: 16px;
padding: 0 10px;
height: 25%;
@media screen and (max-width: 679px) {
font-size: 10px;
padding: 0 10px;
margin-bottom: 5px;
line-height: 15px;
}
@media screen and (min-width: 680px) {
font-size: 14px;
padding: 0 4px;
margin-bottom: 2px;
}
@media screen and (min-width: 1281px) {
font-size: 20px;
padding: 0;
}
}
div.buy-modal-content-footer {
margin-top: 8vh;
}
}
}
// Edit Account Name Modal
.edit-account-name-modal-content {
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: center;
position: relative;
}
.edit-account-name-modal-cancel {
position: absolute;
top: 12px;
right: 20px;
font-size: 25px;
}
.edit-account-name-modal-title {
margin: 15px;
}
.edit-account-name-modal-save-button {
width: 33%;
height: 45px;
margin: 15px;
font-weight: 700;
margin-top: 25px;
}
.edit-account-name-modal-input {
width: 90%;
height: 50px;
text-align: left;
margin: 10px;
padding: 10px;
font-size: 18px;
}
// Account Details Modal
.account-details-modal-wrapper {
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: center;
position: relative;
padding: 5px 0;
border-radius: 4px;
}
.account-details-modal-wrapper .qr-header {
margin-top: 15px;
}
.account-details-modal-wrapper .qr-wrapper {
margin-top: 15px;
}
.account-details-modal-wrapper .ellip-address-wrapper {
display: flex;
justify-content: center;
border: 1px solid $alto;
padding: 5px 10px;
}
.account-details-modal-wrapper .btn-clear {
min-height: 28px;
font-size: 1em;
border-color: $curious-blue;
color: $curious-blue;
border-radius: 2px;
flex-basis: 100%;
width: 75%;
margin-top: 10px;
margin-bottom: 10px;
padding: 10px;
}
.account-details-modal-divider {
width: 100%;
height: 1px;
margin: 10px 0;
background-color: $alto;
}
.account-details-modal-wrapper .identicon {
margin-top: -55.5%;
}
.account-details-modal-close::after {
content: '\00D7';
font-size: 1.5em;
color: $alto;
position: absolute;
top: 5px;
right: 10px;
}
// New Account Modal
.new-account-modal-wrapper {
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: center;
position: relative;
border: 1px solid $alto;
box-shadow: 0 0 2px 2px $alto;
}
.new-account-modal-header {
background: $wild-sand;
width: 100%;
display: flex;
justify-content: center;
padding: 30px;
font-size: 22px;
color: $nile-blue;
}
.modal-close-x::after {
content: '\00D7';
font-size: 2em;
color: $dusty-gray;
position: absolute;
top: 25px;
right: 17.5px;
font-family: sans-serif;
}
.new-account-modal-content {
width: 100%;
display: flex;
justify-content: center;
padding: 13px;
font-size: 18px;
color: $nile-blue;
}
.new-account-modal-content.import {
padding-top: 2px;
}
.new-account-input-wrapper {
display: flex;
width: 100%;
justify-content: center;
padding-bottom: 2px;
}
.new-account-input {
padding: 15px;
padding-bottom: 20px;
border-radius: 8px;
border: 1px solid $alto;
width: 70%;
font-size: 1em;
color: $alto;
}
// For reference on below placeholder selectors: https://stackoverflow.com/questions/2610497/change-an-html5-inputs-placeholder-color-with-css
.new-account-input::-webkit-input-placeholder {
color: $dusty-gray;
}
.new-account-input:-moz-placeholder {
color: $dusty-gray;
opacity: 1;
}
.new-account-input::-moz-placeholder {
color: $dusty-gray;
opacity: 1;
}
.new-account-input:-ms-input-placeholder {
color: $dusty-gray;
}
.new-account-input::-ms-input-placeholder {
color: $dusty-gray;
}
.new-account-modal-content.button {
padding-top: 9px;
}
.new-account-modal-wrapper .btn-clear {
font-size: 14px;
font-weight: 700;
background: $white;
border: 1px solid;
border-radius: 2px;
width: 30%;
color: $tundora;
}