@fe6/water-pro
Version:
An enterprise-class UI design language and Vue-based implementation
129 lines (128 loc) • 2.94 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 */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
/** @format */
@font-face {
font-weight: bold;
font-family: 'DINAlternate-Bold';
font-style: normal;
src: url(https://cdn.dev.mosh.cn/assets/font/din_alternate_bold.ttf) format('truetype');
}
.ant-modal-pro-fullscreen {
overflow: hidden;
}
.ant-modal-pro-fullscreen .ant-modal {
top: 0 ;
right: 0 ;
bottom: 0 ;
left: 0 ;
width: 100% ;
height: 100%;
padding: 0 ;
}
.ant-modal-pro-fullscreen .ant-modal-content {
height: 100%;
}
.ant-modal .ant-container-scroll {
padding: 16px;
overflow: hidden;
}
.ant-modal-pro {
width: 520px;
padding-bottom: 0;
}
.ant-modal-pro .scrollbar {
padding: 14px;
}
.ant-modal-pro-title {
position: relative;
display: flex;
align-items: center;
font-weight: bold;
font-size: 16px ;
line-height: 16px ;
}
.ant-modal-pro .ant-modal-pro-body {
padding: 0;
}
.ant-modal-pro .ant-modal-pro-body > .ant-scrollbar > .ant-scrollbar__bar.is-horizontal {
display: none;
}
.ant-modal-pro-large {
top: 60px;
}
.ant-modal-pro-large--mini {
top: 16px;
}
.ant-modal-pro-header {
padding: 16px;
}
.ant-modal-pro-content {
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.ant-modal-pro-footer {
text-align: center;
}
.ant-modal-pro-footer button + button {
margin-left: 10px;
}
.ant-modal-pro-close {
font-weight: normal;
outline: none;
}
.ant-modal-pro-confirm-body .ant-modal-pro-confirm-content > * {
color: rgba(0, 0, 0, 0.45);
}
.ant-modal-pro-confirm-confirm.error .ant-modal-pro-confirm-body > .anticon {
color: #ff4d4f;
}
.ant-modal-pro-confirm-btns .ant-btn:last-child {
margin-right: 0;
}
.ant-modal-pro-confirm-info .ant-modal-pro-confirm-body > .anticon {
color: #faad14;
}
.ant-modal-pro-confirm-confirm.success .ant-modal-pro-confirm-body > .anticon {
color: #52c41a;
}
.ant-modal-pro-close {
display: flex;
align-items: center;
justify-content: center;
height: 28px;
}
.ant-modal-pro-close > span {
color: #fff;
font-size: 16px;
}
.ant-modal-pro-close--can-full > span {
margin-left: 12px;
}
.ant-modal-pro-close:not(.ant-modal-pro-close--can-full) > span:nth-child(1):hover {
font-weight: 700;
}
.ant-modal-pro-close span:nth-child(1) {
display: inline-block;
}
.ant-modal-pro-close span:nth-child(2):hover {
color: #ff4d4f;
}
.ant-modal-pro-confirm .ant-modal-pro-body {
padding: 24px ;
}
@media screen and (max-height: 600px) {
.ant-modal-pro {
top: 60px;
}
}
@media screen and (max-height: 540px) {
.ant-modal-pro {
top: 30px;
}
}
@media screen and (max-height: 480px) {
.ant-modal-pro {
top: 10px;
}
}