dh-c
Version:
The front-end development engineers jimberton gulp react component
93 lines (90 loc) • 1.99 kB
CSS
.dh-modal-mask {
position: fixed;
top: 0;
right: 0;
left: 0;
bottom: 0;
z-index: 1000;
background-color: rgba(0, 0, 0, 0.4);
height: 100%; }
.dh-modal-mask-hidden {
display: none; }
.dh-modal-wrap {
position: fixed;
top: 0;
right: 0;
left: 0;
bottom: 0;
z-index: 1000;
overflow: auto;
outline: 0;
display: flex;
align-items: center; }
.dh-modal {
position: relative;
margin: 0 auto;
background-color: #ffffff;
border-radius: 0; }
.dh-modal-close {
cursor: pointer;
border: 0;
background: transparent;
position: absolute;
right: 24px;
top: 16px;
z-index: 10;
text-decoration: none;
transition: color 0.3s ease;
outline: 0; }
.dh-modal-close-x {
height: 20px;
width: 20px;
display: block;
font-style: normal;
font-family: dhfont;
font-size: 14px;
text-align: right;
text-transform: none;
text-rendering: auto;
line-height: 20px;
color: #999; }
.dh-modal-close-x:before {
content: "\e629";
display: block; }
.dh-modal-header {
padding: 16px 24px; }
.dh-modal-title {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
max-width: 94%;
height: 20px;
line-height: 20px;
color: #666666;
font-size: 14px;
font-weight: bold; }
.dh-modal-body {
position: relative;
width: 100%;
height: auto;
padding: 13px 24px; }
.dh-modal-footer {
padding: 8px 8px 8px 24px;
font-size: 14px;
text-align: right; }
.dh-modal-footer_btn {
width: 64px;
height: 36px;
color: #23C132;
outline: none;
white-space: nowrap;
text-align: center;
background-image: none;
cursor: pointer;
user-select: none;
border: none;
background: none; }
.dh-modal-footer_btn:hover {
background: #e9f8ea; }
.dh-modal-footer_btn:not(:last-child) {
margin-right: 8px; }