@_nu/css-toast
Advanced tools
+11
-0
@@ -6,2 +6,13 @@ # Change Log | ||
| ## [0.0.3](https://github.com/nu-system/css-toast/compare/@_nu/css-toast@0.0.2...@_nu/css-toast@0.0.3) (2020-08-16) | ||
| ### Bug Fixes | ||
| * 修改构建工具 ([3930fa5](https://github.com/nu-system/css-toast/commit/3930fa508af689207d8d591aab09054b4023948e)) | ||
| ## 0.0.2 (2020-07-04) | ||
@@ -8,0 +19,0 @@ |
+4
-14
| { | ||
| "name": "@_nu/css-toast", | ||
| "version": "0.0.2", | ||
| "version": "0.0.3", | ||
| "description": "NU 「 no-ui 」 组件库系统 nu-system 「 Toast 组件 」", | ||
@@ -30,16 +30,6 @@ "author": "yfe-team", | ||
| "scripts": { | ||
| "log": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0", | ||
| "commitizenInit": "commitizen init cz-conventional-changelog --yarn --dev --exact" | ||
| "start": "gulp", | ||
| "build": "rm -rf ./lib && rm -rf ./module && gulp build" | ||
| }, | ||
| "devDependencies": { | ||
| "commitizen": "^4.0.3", | ||
| "conventional-changelog-cli": "^2.0.23", | ||
| "cz-conventional-changelog": "3.0.2" | ||
| }, | ||
| "config": { | ||
| "commitizen": { | ||
| "path": "./node_modules/cz-conventional-changelog" | ||
| } | ||
| }, | ||
| "gitHead": "afdb8532d9d27631a41f971827a19c4cc0cb5739" | ||
| "gitHead": "cbdb89809c13298f367cb75978fc4b7bc6c9cdce" | ||
| } |
-33
| .nu_toast { | ||
| position: fixed; | ||
| top: 80px; | ||
| left: 0; | ||
| right: 0; | ||
| width: 100%; | ||
| margin-left: auto; | ||
| margin-right: auto; | ||
| max-width: 480px; | ||
| z-index: 99; | ||
| pointer-events: none; | ||
| } | ||
| /*基础皮肤*/ | ||
| .nu_toast { | ||
| padding: 1em; | ||
| color: #ffffff; | ||
| background-color: #333333; | ||
| } | ||
| /* 创建动效果*/ | ||
| .nu_toast { | ||
| visibility: hidden; | ||
| opacity: 0; | ||
| -webkit-transform: translate(0, -10px); | ||
| transform: translate(0, -10px); | ||
| -webkit-transition: 200ms; | ||
| transition: 200ms; | ||
| } | ||
| .nu_toast._open { | ||
| visibility: visible; | ||
| opacity: 1; | ||
| -webkit-transform: translate(0, 0); | ||
| transform: translate(0, 0); | ||
| } |
| /** | ||
| * 基于 bootstrap alert 样式 | ||
| */ | ||
| .nu_toast { | ||
| border-radius: .25rem; | ||
| padding: .75rem 1.25rem; | ||
| color: #004085; | ||
| background-color: #cce5ff; | ||
| border: 1px solid #b8daff; | ||
| } | ||
| .nu_toast._danger { | ||
| color: #721c24; | ||
| background-color: #f8d7da; | ||
| border-color: #f5c6cb; | ||
| } | ||
| .nu_toast._warning { | ||
| color: #856404; | ||
| background-color: #fff3cd; | ||
| border-color: #ffeeba; | ||
| } | ||
| .nu_toast._success { | ||
| color: #155724; | ||
| background-color: #d4edda; | ||
| border-color: #c3e6cb; | ||
| } |
| .nu_toast { | ||
| position: fixed; | ||
| top: 80px; | ||
| left: 0; | ||
| right: 0; | ||
| width: 100%; | ||
| margin-left: auto; | ||
| margin-right: auto; | ||
| max-width: 480px; | ||
| z-index: 99; | ||
| pointer-events: none; | ||
| } | ||
| /*基础皮肤*/ | ||
| .nu_toast{ | ||
| padding: 1em; | ||
| color: #ffffff; | ||
| background-color: #333333; | ||
| } | ||
| /* 创建动效果*/ | ||
| .nu_toast{ | ||
| visibility: hidden; | ||
| opacity: 0; | ||
| transform: translate(0, -10px); | ||
| transition: 200ms; | ||
| } | ||
| .nu_toast._open { | ||
| visibility: visible; | ||
| opacity: 1; | ||
| transform: translate(0, 0); | ||
| } |
| /** | ||
| * 基于 bootstrap alert 样式 | ||
| */ | ||
| .nu_toast { | ||
| border-radius: .25rem; | ||
| padding: .75rem 1.25rem; | ||
| color: #004085; | ||
| background-color: #cce5ff; | ||
| border: 1px solid #b8daff; | ||
| } | ||
| .nu_toast._danger { | ||
| color: #721c24; | ||
| background-color: #f8d7da; | ||
| border-color: #f5c6cb; | ||
| } | ||
| .nu_toast._warning { | ||
| color: #856404; | ||
| background-color: #fff3cd; | ||
| border-color: #ffeeba; | ||
| } | ||
| .nu_toast._success { | ||
| color: #155724; | ||
| background-color: #d4edda; | ||
| border-color: #c3e6cb; | ||
| } |
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
0
-100%5122
-29.18%4
-50%0
-100%1
Infinity%