UNPKG

dareway-rui

Version:

104 lines (95 loc) 2.04 kB
.dw-res-mask { position: fixed; top: 0; right: 0; left: 0; bottom: 0; background-color: rgba(0, 0, 0, 0.65); height: 100%; z-index: 1040; } .dw-res { position: fixed; overflow: auto; top: 0; right: 0; bottom: 0; left: 0; z-index: 1040; -webkit-overflow-scrolling: touch; outline: 0; } .dw-res-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); } .dw-res-close { position: absolute; cursor: pointer; border: 0; background: transparent; 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; } .dw-res-close-x { display: block; font-style: normal; vertical-align: baseline; text-align: center; text-transform: none; text-rendering: auto; width: 40px; height: 56px; line-height: 56px; font-size: 16px; } .dw-res-header { display: flex; flex-direction: row; height: 56px; position: relative; border-radius: 4px 4px 0 0; background: #fff; color: rgba(0, 0, 0, 0.65); border-bottom: 1px solid #e8e8e8; } .dw-res-title { position: relative; left: 20px; line-height: 56px; margin: 0; font-size: 16px; font-weight: 500; color: rgba(0, 0, 0, 1); } .dw-res-picButtons { display: flex; flex-direction: row; height: 56px; align-self: self-end; flex: 1 1 auto; margin: 0px 43px 0px 20px; line-height: 40px; justify-content: flex-end; } .dw-res-body { padding: 0px; font-size: 14px; line-height: 1.5; word-wrap: break-word; overflow: auto; }