2015-08-20 16:55:42 +08:00
|
|
|
.@{dialog-prefix-cls} {
|
2015-06-09 15:21:44 +08:00
|
|
|
outline: none;
|
|
|
|
position: absolute;
|
|
|
|
left: -9999px;
|
|
|
|
top: -9999px;
|
|
|
|
z-index: 1000;
|
|
|
|
|
|
|
|
&-wrap * {
|
|
|
|
box-sizing: border-box;
|
|
|
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
|
|
}
|
|
|
|
|
2015-11-04 23:14:49 +08:00
|
|
|
&-hidden {
|
2015-06-09 15:21:44 +08:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-title {
|
|
|
|
margin: 0;
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 21px;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-content {
|
|
|
|
position: relative;
|
2015-08-20 16:55:42 +08:00
|
|
|
background-color: #fff;
|
2015-11-26 19:32:55 +08:00
|
|
|
border: 0;
|
2015-11-05 21:25:43 +08:00
|
|
|
border-radius: @border-radius-base;
|
2015-06-09 15:21:44 +08:00
|
|
|
background-clip: padding-box;
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-close {
|
|
|
|
cursor: pointer;
|
|
|
|
outline: none;
|
|
|
|
margin-top: -2px;
|
|
|
|
float: right;
|
|
|
|
font-size: 21px;
|
|
|
|
font-weight: 700;
|
|
|
|
line-height: 1;
|
|
|
|
color: #000;
|
|
|
|
text-shadow: 0 1px 0 #fff;
|
|
|
|
text-decoration: none;
|
2015-07-29 16:00:18 +08:00
|
|
|
transition: color .3s ease;
|
|
|
|
color: #999;
|
2015-06-09 15:21:44 +08:00
|
|
|
|
2015-06-26 15:29:44 +08:00
|
|
|
&-x {
|
|
|
|
position: absolute;
|
|
|
|
display: inline-block;
|
|
|
|
font-style: normal;
|
|
|
|
vertical-align: baseline;
|
|
|
|
text-align: center;
|
|
|
|
text-transform: none;
|
|
|
|
text-rendering: auto;
|
|
|
|
width: 12px;
|
|
|
|
height: 12px;
|
2015-08-20 20:52:16 +08:00
|
|
|
font-size: 14px;
|
2015-06-26 15:29:44 +08:00
|
|
|
line-height: 12px;
|
2015-07-29 16:00:18 +08:00
|
|
|
top: 18px;
|
2015-06-26 15:29:44 +08:00
|
|
|
right: 18px;
|
|
|
|
|
|
|
|
&:before {
|
2015-11-12 22:59:25 +08:00
|
|
|
content: "\e62d";
|
2015-06-26 15:29:44 +08:00
|
|
|
display: block;
|
|
|
|
font-family: "anticon" !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-06-09 15:21:44 +08:00
|
|
|
&:hover {
|
2015-07-29 16:00:18 +08:00
|
|
|
color: #444;
|
2015-06-09 15:21:44 +08:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-header {
|
|
|
|
padding: 13px 20px 14px 20px;
|
2016-02-03 15:49:15 +08:00
|
|
|
border-radius: @border-radius-base @border-radius-base 0 0;
|
2015-06-09 15:21:44 +08:00
|
|
|
background: #fff;
|
|
|
|
color: #666;
|
2015-12-02 11:53:37 +08:00
|
|
|
border-bottom: 1px solid @border-color-split;
|
2015-06-09 15:21:44 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&-body {
|
2015-06-15 20:04:14 +08:00
|
|
|
padding: 8px 20px;
|
|
|
|
font-size: 12px;
|
|
|
|
line-height: 1.5;
|
2015-06-09 15:21:44 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&-footer {
|
2015-12-02 11:53:37 +08:00
|
|
|
border-top: 1px solid @border-color-split;
|
2015-06-15 20:04:14 +08:00
|
|
|
padding: 8px 20px 16px 10px;
|
2015-06-09 15:21:44 +08:00
|
|
|
text-align: right;
|
2016-02-03 15:49:15 +08:00
|
|
|
border-radius: 0 0 @border-radius-base @border-radius-base;
|
2015-06-09 15:21:44 +08:00
|
|
|
}
|
|
|
|
}
|