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

193 lines
3.5 KiB
SCSS
Raw Normal View History

// 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;
2017-08-14 10:31:27 +02:00
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;
2017-08-14 10:31:27 +02:00
margin: 20px 0;
}
div.buy-modal-content-option {
display: flex;
flex-direction: column;
width: 20vw;
height: 18vw;
text-align: center;
border-radius: 6px;
2017-08-14 10:31:27 +02:00
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;
2017-08-14 10:31:27 +02:00
padding: 0 10px;
height: 25%;
@media screen and (max-width: 679px) {
font-size: 10px;
2017-08-14 10:31:27 +02:00
padding: 0 10px;
margin-bottom: 5px;
line-height: 15px;
}
@media screen and (min-width: 680px) {
font-size: 14px;
2017-08-14 10:31:27 +02:00
padding: 0 4px;
margin-bottom: 2px;
}
@media screen and (min-width: 1281px) {
font-size: 20px;
2017-08-14 10:31:27 +02:00
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: bold;
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;
2017-08-21 15:14:28 +02:00
position: relative;
}
.account-details-modal-divider {
width: 100%;
height: 1px;
margin: 10px 0px;
background-color: $alto;
}
2017-08-21 15:14:28 +02:00
// New Account Modal
.new-account-modal-wrapper {
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: center;
position: relative;
border: 1px solid #d8d8d8;
}