UNPKG

@nutui/nutui-react

Version:

京东风格的轻量级移动端 React 组件库,支持一套代码生成 H5 和小程序

61 lines 2.12 kB
/* #ifdef harmony */ /* #endif */ /* #ifndef harmony */ /* #endif */ .nut-actionsheet { text-align: center; } .nut-actionsheet.nut-popup { min-height: 10%; background-color: var(--nutui-actionsheet-background-color, var(--nutui-color-surface-1)); } .nut-actionsheet .nut-popup-title { border-bottom: 1px solid var(--nutui-actionsheet-border-color, none); } .nut-actionsheet-list { display: block; list-style: none; padding: 0; margin: 0; border-radius: var(--nutui-actionsheet-border-radius, var(--nutui-radius-l)); } .nut-actionsheet-cancel, .nut-actionsheet-item { display: block; padding: 10px; text-align: var(--nutui-actionsheet-item-text-align, center); line-height: var(--nutui-actionsheet-item-line-height, 24px); font-size: var(--nutui-font-text); color: var(--nutui-actionsheet-item-color, var(--nutui-color-title)); cursor: pointer; } .nut-actionsheet-cancel-name, .nut-actionsheet-item-name { text-align: var(--nutui-actionsheet-item-text-align, center); line-height: var(--nutui-actionsheet-item-line-height, 24px); font-size: var(--nutui-font-text); color: var(--nutui-actionsheet-item-color, var(--nutui-color-title)); } .nut-actionsheet-cancel-description, .nut-actionsheet-item-description { display: block; font-size: var(--nutui-font-text-small); color: var(--nutui-color-text); text-align: var(--nutui-actionsheet-item-text-align, center); line-height: var(--nutui-actionsheet-item-line-height, 24px); } .nut-actionsheet-cancel-danger, .nut-actionsheet-item-danger { color: var(--nutui-actionsheet-item-danger, var(--nutui-color-danger)); } .nut-actionsheet-cancel-disabled, .nut-actionsheet-item-disabled { color: var(--nutui-color-text-disabled) !important; cursor: not-allowed; } .nut-actionsheet-cancel { margin-top: 5px; border-top: 1px solid var(--nutui-actionsheet-border-color, none); border-radius: var(--nutui-actionsheet-border-radius, var(--nutui-radius-l)); } .nut-actionsheet-safe-area { display: block; width: 100%; padding-bottom: constant(safe-area-inset-bottom); padding-bottom: env(safe-area-inset-bottom); }