UNPKG

@nutui/nutui-react-taro

Version:

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

95 lines (86 loc) 1.54 kB
@charset "UTF-8"; /* #ifdef harmony */ /* #endif */ /* #ifndef harmony */ /* #endif */ /*入场动画开始*/ .fade-enter { opacity: 0; } /*入场动画过程*/ .fade-enter-active { opacity: 1; transition: opacity 300ms ease-in; } /*入场动画结束*/ .fade-enter-done { opacity: 1; } /*离场动画开始*/ .fade-exit { opacity: 1; } /*离场动画过程*/ .fade-exit-active { opacity: 0; transition: opacity 300ms ease-out; } /*离场动画结束*/ .fade-exit-done { opacity: 0; } /*页面第一次加载时的开始状态*/ .fade-appear { opacity: 0; } /*页面第一次加载时的动画过程*/ .fade-appear-active { opacity: 1; transition: opacity 300ms; } .nut-notify { position: fixed; left: 8px; right: 8px; z-index: 1000; display: flex; align-items: center; box-sizing: border-box; height: 40px; padding: 0px 12px; border-radius: 8px; box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.06); background-color: #ffffff; } .nut-notify-content { flex: 1; text-align: center; min-width: 0; font-size: 14px; color: #1a1a1a; white-space: nowrap; overflow: hidden; } .nut-notify-ellipsis { text-overflow: ellipsis; } .nut-notify-layout-left { text-align: left; } .nut-notify-left-icon, .nut-notify-right-icon { display: inline-flex; } .nut-notify-left-icon { margin-right: 6px; } .nut-notify-left-icon .nut-icon { height: 16px; width: 16px; } .nut-notify-right-icon { margin-left: 6px; } .nut-notify-right-icon .nut-icon { height: 12px; width: 12px; }