Files
Testing/tbb/wp-content/plugins/wordpress-2-step-verification/resources/less/admin/modal.less
sean 0e8a8b3028
Some checks failed
deploy-testing / deploy (push) Has been cancelled
Initial testing snapshot
2026-11-17 16:15:01 -05:00

77 lines
1.7 KiB
Plaintext

@modalHeight:80;
.wp2sv-modal{
position: relative;
max-width: 600px;
width: 100%;
margin: auto;
background: none repeat scroll 0 0 padding-box #fff;
border: 1px solid rgba(0, 0, 0, 0.333);
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
outline: 0 none;
color: #000;
display: none;
transition: all .3s ease;
.wp2sv-modal-content {
padding: 20px 30px 10px 30px;
overflow-y: auto;
min-height: 25%;
min-height: 25vh;
max-height: 80%;
max-height: 80vh;
}
.wp2sv-modal-close{
.wp2sv-modal-close-icon{
cursor: pointer;
height: 11px;
opacity: 0.7;
padding: 17px;
position: absolute;
right: 3px;
top: 0;
width: 11px;
&:after{
background: url(../../images/close-x.png) repeat scroll 0 0 transparent;
content: "";
height: 11px;
position: absolute;
right: 17px;
width: 11px;
}
}
}
}
.wp2sv-modal-wrap{
webkit-transition: -webkit-transform .4s cubic-bezier(0.4,0.0,0.2,1);
transition: -webkit-transform .4s cubic-bezier(0.4,0.0,0.2,1);
-webkit-transition: transform .4s cubic-bezier(0.4,0.0,0.2,1);
transition: transform .4s cubic-bezier(0.4,0.0,0.2,1);
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
display: table-cell;
vertical-align: middle;
}
.wp2sv-modal-mask{
top: 0;
left:0;
position: fixed;
z-index: 9991;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, .5);
display: table;
transition: opacity .3s ease;
.wp2sv-modal{
display: block;
}
}
.wp2sv-confirm-modal{
max-width: 24em;
.wp2sv-modal-close-icon{
display: none;
}
}