@nutui/nutui-react
Version:
京东风格的轻量级移动端 React 组件库,支持一套代码生成 H5 和小程序
61 lines • 2.25 kB
CSS
/* #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-background-overlay, #ffffff));
}
.nut-actionsheet .nut-popup-title {
border-bottom: 1px solid var(--nutui-actionsheet-border-color, var(--nutui-color-border, rgba(0, 0, 0, 0.06)));
}
.nut-actionsheet-list {
display: block;
list-style: none;
padding: 0;
margin: 0;
border-radius: var(--nutui-actionsheet-border-radius, 0);
}
.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-size-base, 14px);
color: var(--nutui-actionsheet-item-color, var(--nutui-color-title, #1a1a1a));
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-size-base, 14px);
color: var(--nutui-actionsheet-item-color, var(--nutui-color-title, #1a1a1a));
}
.nut-actionsheet-cancel-description, .nut-actionsheet-item-description {
display: block;
font-size: var(--nutui-font-size-s, 12px);
color: var(--nutui-color-text, #505259);
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, #ff0f23));
}
.nut-actionsheet-cancel-disabled, .nut-actionsheet-item-disabled {
color: var(--nutui-color-text-disabled, #c2c4cc) ;
cursor: not-allowed;
}
.nut-actionsheet-cancel {
margin-top: 5px;
border-top: 1px solid var(--nutui-actionsheet-border-color, var(--nutui-color-border, rgba(0, 0, 0, 0.06)));
border-radius: var(--nutui-actionsheet-border-radius, 0);
}
.nut-actionsheet-safe-area {
display: block;
width: 100%;
padding-bottom: constant(safe-area-inset-bottom);
padding-bottom: env(safe-area-inset-bottom);
}