159 lines
4.2 KiB
CSS
159 lines
4.2 KiB
CSS
|
.alertify,
|
||
|
.alertify-show {
|
||
|
-webkit-transition: all 500ms cubic-bezier(0.175, 0.885, 0.320, 1.275);
|
||
|
-moz-transition: all 500ms cubic-bezier(0.175, 0.885, 0.320, 1.275);
|
||
|
-ms-transition: all 500ms cubic-bezier(0.175, 0.885, 0.320, 1.275);
|
||
|
-o-transition: all 500ms cubic-bezier(0.175, 0.885, 0.320, 1.275);
|
||
|
transition: all 500ms cubic-bezier(0.175, 0.885, 0.320, 1.275); /* easeOutBack */
|
||
|
}
|
||
|
.alertify-hide {
|
||
|
-webkit-transition: all 250ms cubic-bezier(0.600, -0.280, 0.735, 0.045);
|
||
|
-moz-transition: all 250ms cubic-bezier(0.600, -0.280, 0.735, 0.045);
|
||
|
-ms-transition: all 250ms cubic-bezier(0.600, -0.280, 0.735, 0.045);
|
||
|
-o-transition: all 250ms cubic-bezier(0.600, -0.280, 0.735, 0.045);
|
||
|
transition: all 250ms cubic-bezier(0.600, -0.280, 0.735, 0.045); /* easeInBack */
|
||
|
}
|
||
|
.alertify-cover {
|
||
|
background-color: black;
|
||
|
/* IE8 */
|
||
|
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
|
||
|
/* IE8 */
|
||
|
background-color: rgba(0, 0, 0, 0.4);
|
||
|
position: fixed;
|
||
|
left: 0;
|
||
|
right: 0;
|
||
|
top: 0;
|
||
|
bottom: 0;
|
||
|
/*display: none;*/
|
||
|
z-index: 10000;
|
||
|
}
|
||
|
.alertify-cover-hidden {
|
||
|
display: none;
|
||
|
}
|
||
|
.alertify {
|
||
|
width: 250px;
|
||
|
padding: 20px;
|
||
|
background: rgb(255, 255, 255) none repeat scroll 0 0;
|
||
|
display: block;
|
||
|
min-height: 150px;
|
||
|
font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif;
|
||
|
border-radius: 5px;
|
||
|
box-sizing: border-box;
|
||
|
text-align: center;
|
||
|
margin: auto;
|
||
|
overflow-x: hidden;
|
||
|
overflow-y: auto;
|
||
|
position: fixed;
|
||
|
z-index: 99999;
|
||
|
top: 50px; left: 50%;
|
||
|
margin-left: -275px;
|
||
|
opacity: 1;
|
||
|
}
|
||
|
.alertify-hidden {
|
||
|
-webkit-transform: translate(0,-150px);
|
||
|
-moz-transform: translate(0,-150px);
|
||
|
-ms-transform: translate(0,-150px);
|
||
|
-o-transform: translate(0,-150px);
|
||
|
transform: translate(0,-150px);
|
||
|
opacity: 0;
|
||
|
display: none;
|
||
|
}
|
||
|
/* overwrite display: none; for everything except IE6-8 */
|
||
|
:root *> .alertify-hidden {
|
||
|
display: block;
|
||
|
visibility: hidden;
|
||
|
}
|
||
|
.alertify-dialog {
|
||
|
padding: 25px;
|
||
|
}
|
||
|
.alertify-resetFocus {
|
||
|
border: 0;
|
||
|
clip: rect(0 0 0 0);
|
||
|
height: 1px;
|
||
|
margin: -1px;
|
||
|
overflow: hidden;
|
||
|
padding: 0;
|
||
|
position: absolute;
|
||
|
width: 1px;
|
||
|
}
|
||
|
.alertify-inner {
|
||
|
text-align: center;
|
||
|
}
|
||
|
.alertify-text, .alertify-message {
|
||
|
display: block;
|
||
|
font-size: 18px;
|
||
|
text-align: center;
|
||
|
font-weight: 300;
|
||
|
position: relative;
|
||
|
float: none;
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
line-height: normal;
|
||
|
color: #545454;
|
||
|
}
|
||
|
.alertify-buttons {
|
||
|
}
|
||
|
.alertify-button,
|
||
|
.alertify-button:hover,
|
||
|
.alertify-button:active,
|
||
|
.alertify-button:visited {
|
||
|
background-color: rgb(43, 120, 193);
|
||
|
border-left-color: rgb(48, 133, 214);
|
||
|
border-right-color: rgb(48, 133, 214);
|
||
|
border: 0;
|
||
|
border-radius: 3px;
|
||
|
box-shadow: none;
|
||
|
color: #fff;
|
||
|
cursor: pointer;
|
||
|
font-size: 17px;
|
||
|
font-weight: 500;
|
||
|
margin: 0 5px;
|
||
|
padding: 10px 32px;
|
||
|
white-space: nowrap;
|
||
|
font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif;
|
||
|
text-align: center;
|
||
|
}
|
||
|
.alertify-button:focus {
|
||
|
outline: none;
|
||
|
box-shadow: 0 0 2px rgba(128, 179, 235, 0.5), inset 0 0 0 1px rgba(0, 0, 0, 0.05); }
|
||
|
.alertify-button:hover {
|
||
|
background-color: #7ecff4; }
|
||
|
.alertify-button:active {
|
||
|
background-color: #5dc2f1; }
|
||
|
.alertify-button.cancel {
|
||
|
background-color: #C1C1C1; }
|
||
|
.alertify-button.cancel:hover {
|
||
|
background-color: #b9b9b9; }
|
||
|
.alertify-button.cancel:active {
|
||
|
background-color: #a8a8a8; }
|
||
|
.alertify-button.cancel:focus {
|
||
|
box-shadow: rgba(197, 205, 211, 0.8) 0px 0px 2px, rgba(0, 0, 0, 0.0470588) 0px 0px 0px 1px
|
||
|
inset !important; }
|
||
|
@media only screen and (max-width: 680px) {
|
||
|
.alertify {
|
||
|
width: 90%;
|
||
|
-webkit-box-sizing: border-box;
|
||
|
-moz-box-sizing: border-box;
|
||
|
box-sizing: border-box;
|
||
|
}
|
||
|
.alertify {
|
||
|
left: 5%;
|
||
|
margin: 0;
|
||
|
}
|
||
|
}
|
||
|
.alertify-button:hover,
|
||
|
.alertify-button:focus {
|
||
|
outline: none;
|
||
|
background-image: -webkit-linear-gradient(top, rgba(0,0,0,.1), rgba(0,0,0,0));
|
||
|
background-image: -moz-linear-gradient(top, rgba(0,0,0,.1), rgba(0,0,0,0));
|
||
|
background-image: -ms-linear-gradient(top, rgba(0,0,0,.1), rgba(0,0,0,0));
|
||
|
background-image: -o-linear-gradient(top, rgba(0,0,0,.1), rgba(0,0,0,0));
|
||
|
background-image: linear-gradient(top, rgba(0,0,0,.1), rgba(0,0,0,0));
|
||
|
}
|
||
|
.alertify-button-ok,
|
||
|
.alertify-button-ok:hover,
|
||
|
.alertify-button-ok:focus {
|
||
|
background-color: #5CB811;
|
||
|
border: 1px solid #3B7808;
|
||
|
}
|