UNPKG

@jdcfe/yep-react

Version:

一套移动端的React组件库

124 lines 2.78 kB
.Yep-list-item.Yep-input-item { height: 88px; padding-left: 30px; } .Yep-list-item:not(:last-child) .Yep-list-line { border-bottom: 1PX solid #DADADA; } @media (min-resolution: 2dppx) { html:not([data-scale]) .Yep-list-item:not(:last-child) .Yep-list-line { border-bottom: none; } html:not([data-scale]) .Yep-list-item:not(:last-child) .Yep-list-line::after { content: ""; position: absolute; background-color: #DADADA; display: block; z-index: 1; top: auto; right: auto; bottom: 0; left: 0; width: 100%; height: 1PX; transform-origin: 50% 100%; transform: scaleY(0.5); } } @media (min-resolution: 2dppx) and (min-resolution: 3dppx) { html:not([data-scale]) .Yep-list-item:not(:last-child) .Yep-list-line::after { transform: scaleY(0.33); } } .Yep-list-item .Yep-input-label { color: #2E2D2D; font-size: 32px; margin-left: 0; margin-right: 10px; text-align: left; white-space: nowrap; overflow: hidden; padding: 4px 0; } .Yep-list-item .Yep-input-label.Yep-input-label-2 { width: 64px; } .Yep-list-item .Yep-input-label.Yep-input-label-3 { width: 96px; } .Yep-list-item .Yep-input-label.Yep-input-label-4 { width: 128px; } .Yep-list-item .Yep-input-label.Yep-input-label-5 { width: 160px; } .Yep-list-item .Yep-input-label.Yep-input-label-6 { width: 192px; } .Yep-list-item .Yep-input-label.Yep-input-label-7 { width: 224px; } .Yep-list-item .Yep-input-control { font-size: 32px; flex: 1; } .Yep-list-item .Yep-input-control input { color: #2E2D2D; font-size: 32px; appearance: none; width: 100%; padding: 4px 0; border: 0; background-color: transparent; line-height: 1; box-sizing: border-box; } .Yep-list-item .Yep-input-control input::placeholder { color: #c6c7ce; line-height: 1.2; } .Yep-list-item .Yep-input-control input:disabled { color: #999baa; background-color: #fff; } .Yep-list-item .Yep-input-clear { display: none; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; font-style: normal; color: #fff; margin: auto; align-items: center; justify-content: center; } .Yep-list-item .Yep-input-clear-active { background-color: #F0250F; } .Yep-list-item.Yep-input-focus .Yep-input-clear { display: flex; } .Yep-list-item .Yep-input-extra { flex: initial; min-width: 0; max-height: 40px; overflow: hidden; padding-right: 0; line-height: 1; color: #999baa; font-size: 24px; margin-left: 10px; } .Yep-list-item.Yep-input-error .Yep-input-control input { color: #ED2945; } .Yep-list-item.Yep-input-error .Yep-input-error-extra { height: 40px; width: 40px; margin-left: 12px; background-size: 40px auto; } .Yep-list-item.Yep-input-disabled .Yep-input-label { color: #999baa; }