2015-08-20 16:55:42 +08:00
|
|
|
.@{dialog-prefix-cls} {
|
2016-04-03 22:41:16 +08:00
|
|
|
position: relative;
|
|
|
|
width: auto;
|
|
|
|
margin: 10px;
|
2015-06-09 15:21:44 +08:00
|
|
|
|
2016-04-03 22:41:16 +08:00
|
|
|
&-wrap {
|
|
|
|
position: fixed;
|
|
|
|
overflow: auto;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
z-index: @zindex-modal;
|
|
|
|
-webkit-overflow-scrolling: touch;
|
|
|
|
outline: 0;
|
2015-06-09 15:21:44 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&-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;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-close {
|
|
|
|
cursor: pointer;
|
2016-04-03 22:41:16 +08:00
|
|
|
border: 0;
|
|
|
|
background: transparent;
|
2016-04-05 14:12:35 +08:00
|
|
|
position: absolute;
|
|
|
|
right: 18px;
|
|
|
|
top: 16px;
|
|
|
|
z-index: 10;
|
2015-06-09 15:21:44 +08:00
|
|
|
font-weight: 700;
|
|
|
|
line-height: 1;
|
|
|
|
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 {
|
2016-04-05 14:12:35 +08:00
|
|
|
display: block;
|
2015-06-26 15:29:44 +08:00
|
|
|
font-style: normal;
|
|
|
|
vertical-align: baseline;
|
|
|
|
text-align: center;
|
|
|
|
text-transform: none;
|
|
|
|
text-rendering: auto;
|
2016-04-05 14:12:35 +08:00
|
|
|
width: 14px;
|
|
|
|
height: 14px;
|
2015-08-20 20:52:16 +08:00
|
|
|
font-size: 14px;
|
2016-04-05 14:12:35 +08:00
|
|
|
line-height: 1;
|
2015-06-26 15:29:44 +08:00
|
|
|
|
|
|
|
&: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
|
|
|
}
|
2016-04-04 17:38:39 +08:00
|
|
|
|
|
|
|
&.zoom-enter,
|
|
|
|
&.zoom-appear {
|
|
|
|
animation-duration: .3s;
|
|
|
|
transform: none; // reset scale avoid mousePosition bug
|
|
|
|
opacity: 0;
|
|
|
|
}
|
2015-06-09 15:21:44 +08:00
|
|
|
}
|
2016-04-03 22:41:16 +08:00
|
|
|
|
|
|
|
@media (min-width: 768px) {
|
|
|
|
.@{dialog-prefix-cls} {
|
2016-04-04 17:38:39 +08:00
|
|
|
margin: 100px auto;
|
2016-04-03 22:41:16 +08:00
|
|
|
}
|
|
|
|
}
|