@nutui/nutui-react-taro
Version:
京东风格的轻量级移动端 React 组件库,支持一套代码生成 H5 和小程序
90 lines • 1.76 kB
CSS
/* #ifdef harmony */
/* #endif */
/* #ifndef harmony */
/* #endif */
.nut-actionsheet {
text-align: center;
}
.nut-actionsheet.nut-popup {
min-height: 10%;
background-color: #ffffff;
}
.nut-actionsheet .nut-popup-title {
border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.nut-actionsheet-list {
display: block;
list-style: none;
padding: 0;
margin: 0;
border-radius: 0;
}
.nut-actionsheet-cancel {
display: block;
padding: 10px;
text-align: center;
line-height: 24px;
font-size: 14px;
color: #1a1a1a;
cursor: pointer;
}
.nut-actionsheet-item {
display: block;
padding: 10px;
text-align: center;
line-height: 24px;
font-size: 14px;
color: #1a1a1a;
cursor: pointer;
}
.nut-actionsheet-cancel-name {
text-align: center;
line-height: 24px;
font-size: 14px;
color: #1a1a1a;
}
.nut-actionsheet-item-name {
text-align: center;
line-height: 24px;
font-size: 14px;
color: #1a1a1a;
}
.nut-actionsheet-cancel-description {
display: block;
font-size: 12px;
color: #505259;
text-align: center;
line-height: 24px;
}
.nut-actionsheet-item-description {
display: block;
font-size: 12px;
color: #505259;
text-align: center;
line-height: 24px;
}
.nut-actionsheet-cancel-danger {
color: #ff0f23;
}
.nut-actionsheet-item-danger {
color: #ff0f23;
}
.nut-actionsheet-cancel-disabled {
color: #c2c4cc ;
cursor: not-allowed;
}
.nut-actionsheet-item-disabled {
color: #c2c4cc ;
cursor: not-allowed;
}
.nut-actionsheet-cancel {
margin-top: 5px;
border-top: 1px solid rgba(0, 0, 0, 0.06);
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);
}