vue-antd-ui
Version:
An enterprise-class UI design language and Vue-based implementation
212 lines (211 loc) • 4.59 kB
CSS
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors */
.ant-modal {
font-family: "Monospaced Number", "Chinese Quote", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px;
line-height: 1.5;
color: rgba(0, 0, 0, 0.65);
-webkit-box-sizing: border-box;
box-sizing: border-box;
margin: 0;
padding: 0;
list-style: none;
position: relative;
width: auto;
margin: 0 auto;
top: 100px;
padding-bottom: 24px;
}
.ant-modal-wrap {
position: fixed;
overflow: auto;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 1000;
-webkit-overflow-scrolling: touch;
outline: 0;
}
.ant-modal-title {
margin: 0;
font-size: 16px;
line-height: 22px;
font-weight: 500;
color: rgba(0, 0, 0, 0.85);
}
.ant-modal-content {
position: relative;
background-color: #fff;
border: 0;
border-radius: 4px;
background-clip: padding-box;
-webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.ant-modal-close {
cursor: pointer;
border: 0;
background: transparent;
position: absolute;
right: 0;
top: 0;
z-index: 10;
font-weight: 700;
line-height: 1;
text-decoration: none;
-webkit-transition: color .3s;
transition: color .3s;
color: rgba(0, 0, 0, 0.45);
outline: 0;
padding: 0;
}
.ant-modal-close-x {
display: block;
font-style: normal;
vertical-align: baseline;
text-align: center;
text-transform: none;
text-rendering: auto;
width: 56px;
height: 56px;
line-height: 56px;
font-size: 16px;
}
.ant-modal-close-x:before {
content: "\e633";
display: block;
font-family: "anticon" ;
}
.ant-modal-close:focus,
.ant-modal-close:hover {
color: #444;
text-decoration: none;
}
.ant-modal-header {
padding: 16px 24px;
border-radius: 4px 4px 0 0;
background: #fff;
color: rgba(0, 0, 0, 0.65);
border-bottom: 1px solid #e8e8e8;
}
.ant-modal-body {
padding: 24px;
font-size: 14px;
line-height: 1.5;
word-wrap: break-word;
}
.ant-modal-footer {
border-top: 1px solid #e8e8e8;
padding: 10px 16px;
text-align: right;
border-radius: 0 0 4px 4px;
}
.ant-modal-footer button + button {
margin-left: 8px;
margin-bottom: 0;
}
.ant-modal.zoom-enter,
.ant-modal.zoom-appear {
-webkit-animation-duration: 0.3s;
animation-duration: 0.3s;
-webkit-transform: none;
-ms-transform: none;
transform: none;
opacity: 0;
}
.ant-modal-mask {
position: fixed;
top: 0;
right: 0;
left: 0;
bottom: 0;
background-color: #373737;
background-color: rgba(0, 0, 0, 0.65);
height: 100%;
z-index: 1000;
filter: alpha(opacity=50);
}
.ant-modal-mask-hidden {
display: none;
}
.ant-modal-open {
overflow: hidden;
}
@media (max-width: 768px) {
.ant-modal {
width: auto ;
margin: 10px;
}
.vertical-center-modal .ant-modal {
-webkit-box-flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
}
}
.ant-confirm .ant-modal-header {
display: none;
}
.ant-confirm .ant-modal-close {
display: none;
}
.ant-confirm .ant-modal-body {
padding: 32px 32px 24px;
}
.ant-confirm-body-wrapper {
zoom: 1;
}
.ant-confirm-body-wrapper:before,
.ant-confirm-body-wrapper:after {
content: " ";
display: table;
}
.ant-confirm-body-wrapper:after {
clear: both;
visibility: hidden;
font-size: 0;
height: 0;
}
.ant-confirm-body .ant-confirm-title {
color: rgba(0, 0, 0, 0.85);
font-weight: 500;
font-size: 16px;
line-height: 22px;
display: block;
overflow: auto;
}
.ant-confirm-body .ant-confirm-content {
margin-left: 38px;
font-size: 14px;
color: rgba(0, 0, 0, 0.65);
margin-top: 8px;
}
.ant-confirm-body > .anticon {
font-size: 22px;
margin-right: 16px;
float: left;
}
.ant-confirm .ant-confirm-btns {
margin-top: 24px;
float: right;
}
.ant-confirm .ant-confirm-btns button + button {
margin-left: 8px;
margin-bottom: 0;
}
.ant-confirm-error .ant-confirm-body > .anticon {
color: #f5222d;
}
.ant-confirm-warning .ant-confirm-body > .anticon,
.ant-confirm-confirm .ant-confirm-body > .anticon {
color: #faad14;
}
.ant-confirm-info .ant-confirm-body > .anticon {
color: #1890ff;
}
.ant-confirm-success .ant-confirm-body > .anticon {
color: #52c41a;
}