UNPKG

@jdcfe/yep-react

Version:

一套移动端的React组件库

92 lines 1.81 kB
@charset "UTF-8"; .Yep-dialog { position: relative; /* 如果没有header时,改变padding的值*/ } .Yep-dialog-transparent { width: 540px; } .Yep-dialog-content { position: relative; background-color: #ffffff; border: 0; text-align: center; height: 100%; overflow: hidden; } .Yep-dialog-transparent .Yep-dialog-content { border-radius: 18px; padding-top: 30px; } .Yep-dialog-header { padding: 12px 30px 30px; } .Yep-dialog-title { margin: 0; font-size: 36px; line-height: 1; color: #000; text-align: center; } .Yep-dialog-body { font-size: 32px; color: #888; height: 100%; line-height: 1.5; overflow: auto; } .Yep-dialog-transparent .Yep-dialog-content .Yep-dialog-header + .Yep-dialog-body { padding: 0 30px 30px; } .Yep-dialog-transparent .Yep-dialog-content .Yep-dialog-body { padding: 28px 30px 58px; } .Yep-dialog-wrap { display: flex; align-items: center; justify-content: center; position: fixed; top: 0; left: 0; bottom: 0; right: 0; z-index: 222; } .Yep-dialog-button-group-h { display: flex; } .Yep-dialog-button-group-h .Yep-dialog-button { flex: 1; box-sizing: border-box; text-align: center; text-decoration: none; outline: none; background-color: #F0250F; color: #ffffff; font-size: 36px; height: 88px; line-height: 88px; display: block; width: auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; position: relative; } .Yep-dialog-button-group-h .Yep-dialog-button:after { content: ""; display: block; position: absolute; width: 100%; left: 0; top: 0; height: 1PX; background-color: #DADADA; -webkit-transform: scaleY(0.5); transform: scaleY(0.5); pointer-events: none; } .Yep-dialog-button:first-child { background-color: #ffffff; color: #000000; }