Wallet/src/sass/views/includes/modals/modals.scss
2016-09-30 16:02:51 -04:00

73 lines
1.4 KiB
SCSS

.popup-modal {
background: #fff;
top: 50%;
left:50%;
position: absolute;
z-index: 10;
width: 90%;
max-width: 350px;
transform: translate(-50%, -50%);
border-radius: .25rem;
&-header {
&-success {
background: rgb(1, 209, 162);
}
&-warning {
background: orange;
}
padding: 1rem;
border-radius: .25rem .25rem 0 0;
min-height: 120px;
&-img{
height: 6rem;
background-size: contain;
margin-top: .3rem;
background-repeat: no-repeat;
background-position: center;
}
&-img-success {
background-image: url('../img/onboarding-success.svg');
height: 6rem;
background-size: contain;
margin-top: .3rem;
}
&-img-warning {
background-image: url('../img/warning.svg');
height: 6rem;
background-size: contain;
margin-top: .3rem;
}
}
&-content {
padding: .5rem .8rem;
h5,p{
margin:0 0 1rem;
}
h5 {
color: rgb(74, 74, 74);
font-weight: bold;
font-size: 1.3rem;
margin-top:1rem;
}
p{
font-weight: 200;
}
}
&-content-success {
button{
color:rgb(23, 174, 140) !important;
}
}
&-content-warning {
button{
color: orange !important;
}
}
}
.modal-backdrop.active {
background: rgba(0, 0, 0, .8);
}
@import "backup-confirm-modal";
@import "screenshot-warning-model";