UNPKG

dh-c

Version:

The front-end development engineers jimberton gulp react component

72 lines (69 loc) 1.48 kB
.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: 5px; } .dh-modal-close { cursor: pointer; border: 0; background: transparent; position: absolute; right: 24px; top: 24px; z-index: 10; text-decoration: none; transition: color 0.3s ease; outline: 0; } .dh-modal-close-x { display: block; font-style: normal; font-family: iconfont; font-size: 14px; vertical-align: baseline; text-align: center; text-transform: none; text-rendering: auto; } .dh-modal-close-x:before { content: "\e708"; display: block; } .dh-modal-header { padding: 24px; } .dh-modal-title { font-size: 14px; color: #666666; } .dh-modal-title-sub { margin-top: 12px; font-size: 12px; color: #aaaaaa; } .dh-modal-body { margin: 0 24px; background-color: #f6f6f6; color: #666666; font-size: 12px; } .dh-modal-footer { padding: 24px; text-align: right; } .dh-modal-footer button { margin-left: 24px; }