UNPKG

@nutui/nutui-react

Version:

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

59 lines 1.55 kB
/* #ifdef harmony */ /* #endif */ /* #ifndef harmony */ /* #endif */ .nut-empty { box-sizing: border-box; width: 100%; display: flex; align-items: center; flex-direction: column; justify-content: center; padding: var(--nutui-empty-padding, 32px 40px); background-color: var(--nutui-empty-background-color, var(--nutui-color-background-overlay, #ffffff)); } .nut-empty-base { width: var(--nutui-empty-image-size, 160px); height: var(--nutui-empty-image-size, 160px); } .nut-empty-base img, .nut-empty-base image { width: 100%; height: 100%; } .nut-empty-small { width: var(--nutui-empty-image-small-size, 120px); height: var(--nutui-empty-image-small-size, 120px); } .nut-empty-small img, .nut-empty-small image { width: 100%; height: 100%; } .nut-empty-title { margin-top: var(--nutui-empty-title-margin-top, 0px); font-weight: var(--nutui-font-weight-bold, 600); margin-bottom: var(--nutui-empty-title-margin-bottom, 12px); color: var(--nutui-color-title, #1a1a1a); font-size: var(--nutui-font-size-l, 16px); line-height: var(--nutui-empty-title-line-height, var(--nutui-font-size-l, 16px)); } .nut-empty-description { color: var(--nutui-color-text, #505259); font-size: var(--nutui-font-size-s, 12px); line-height: var(--nutui-empty-description-line-height, 1); } .nut-empty-actions-base { display: flex; flex-direction: row; margin-top: 24px; } .nut-empty-actions-small { display: flex; flex-direction: row; margin-top: 16px; } .nut-empty-action { margin-right: 6px; margin-left: 6px; }