2016-07-27 06:15:02 +00:00
|
|
|
@charset "UTF-8";
|
|
|
|
@import "./common/var.css";
|
|
|
|
|
|
|
|
@component-namespace el {
|
|
|
|
|
|
|
|
@b message-box {
|
|
|
|
position: fixed;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
transform: translate3d(-50%, -50%, 0);
|
|
|
|
background-color: #fff;
|
|
|
|
width: 420px;
|
|
|
|
border-radius: 3px;
|
|
|
|
font-size: 16px;
|
|
|
|
-webkit-user-select: none;
|
|
|
|
overflow: hidden;
|
|
|
|
backface-visibility: hidden;
|
|
|
|
|
|
|
|
@e header {
|
|
|
|
padding: 20px 20px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
@e content {
|
|
|
|
padding: 30px 20px;
|
|
|
|
color: #475669;
|
|
|
|
font-size: 14px;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
@e close {
|
|
|
|
display: inline-block;
|
|
|
|
position: absolute;
|
|
|
|
top: 19px;
|
|
|
|
right: 20px;
|
|
|
|
color: #999;
|
|
|
|
cursor: pointer;
|
|
|
|
line-height: 20px;
|
|
|
|
text-align: center;
|
2016-09-13 12:02:33 +00:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: var(--color-primary);
|
|
|
|
}
|
2016-07-27 06:15:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@e input {
|
2016-09-02 05:56:47 +00:00
|
|
|
padding-top: 15px;
|
|
|
|
& input.invalid {
|
|
|
|
border-color: #ff4949;
|
|
|
|
&:focus {
|
|
|
|
border-color: #ff4949;
|
|
|
|
}
|
2016-07-27 06:15:02 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@e errormsg {
|
|
|
|
color: red;
|
|
|
|
font-size: 12px;
|
2016-09-02 05:56:47 +00:00
|
|
|
min-height: 18px;
|
|
|
|
margin-top: 2px;
|
2016-07-27 06:15:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@e title {
|
|
|
|
padding-left: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
font-size: 16px;
|
|
|
|
font-weight: bold;
|
|
|
|
height: 18px;
|
|
|
|
color: #333;
|
|
|
|
}
|
|
|
|
|
|
|
|
@e message {
|
|
|
|
margin: 0;
|
|
|
|
|
|
|
|
& p {
|
|
|
|
margin: 0;
|
|
|
|
line-height: 1.4;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@e btns {
|
|
|
|
padding: 10px 20px 15px;
|
|
|
|
text-align: right;
|
|
|
|
|
|
|
|
& button:nth-child(2) {
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@e btns-reverse {
|
|
|
|
flex-direction: row-reverse;
|
|
|
|
}
|
|
|
|
|
|
|
|
@e status {
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
transform: translateY(-50%);
|
|
|
|
font-size: 36px !important;
|
|
|
|
|
|
|
|
&.el-icon-circle-check {
|
|
|
|
color: #13ce66;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.el-icon-information {
|
|
|
|
color: #50bfff;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.el-icon-warning {
|
|
|
|
color: #f7ba2a;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.el-icon-circle-cross {
|
|
|
|
color: #ff4949;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-08-10 10:11:56 +00:00
|
|
|
.msgbox-bounce-enter-active {
|
2016-07-27 06:15:02 +00:00
|
|
|
-webkit-animation: msgbox-bounce-in .3s cubic-bezier(0.3, 0, 0, 1.5);
|
|
|
|
animation: msgbox-bounce-in .3s cubic-bezier(0.3, 0, 0, 1.5);
|
|
|
|
}
|
|
|
|
|
2016-08-10 10:11:56 +00:00
|
|
|
.msgbox-bounce-leave-active {
|
2016-07-27 06:15:02 +00:00
|
|
|
-webkit-animation: msgbox-bounce-out .2s cubic-bezier(0.895, 0.03, 0.685, 0.22);
|
|
|
|
animation: msgbox-bounce-out .2s cubic-bezier(0.895, 0.03, 0.685, 0.22);
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes msgbox-bounce-in {
|
|
|
|
0% {
|
|
|
|
transform: translate3d(-50%, -50%, 0) scale(0.8);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
transform: translate3d(-50%, -50%, 0) scale(1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes msgbox-bounce-out {
|
|
|
|
0% {
|
|
|
|
transform: translate3d(-50%, -50%, 0) scale(1);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
transform: translate3d(-50%, -50%, 0) scale(0.7);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@-webkit-keyframes msgbox-bounce-in {
|
|
|
|
0% {
|
|
|
|
-webkit-transform: translate3d(-50%, -50%, 0) scale(0.8);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
-webkit-transform: translate3d(-50%, -50%, 0) scale(1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@-webkit-keyframes msgbox-bounce-out {
|
|
|
|
0% {
|
|
|
|
-webkit-transform: translate3d(-50%, -50%, 0) scale(1);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
-webkit-transform: translate3d(-50%, -50%, 0) scale(0.7);
|
|
|
|
}
|
|
|
|
}
|