cy-element-ui 1.1.2 → 1.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +1 -1
- package/lib/theme-chalk/cy-test.css +1 -0
- package/lib/theme-chalk/index.css +1 -1
- package/package.json +2 -2
- package/packages/cy-test/index.js +8 -0
- package/packages/cy-test/src/main.vue +26 -0
- package/packages/theme-chalk/src/cy-test.scss +61 -0
- package/packages/theme-chalk/src/index.scss +1 -0
- package/src/index.js +7 -4
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.cy-test{display:inline-block;padding:20px 24px;background:linear-gradient(135deg,#667eea 0,#764ba2 100%);border-radius:8px;-webkit-transition:all .3s ease;transition:all .3s ease;-webkit-box-shadow:0 4px 20px rgba(102,126,234,.3);box-shadow:0 4px 20px rgba(102,126,234,.3);min-width:300px}.cy-test--bordered{border:3px solid #fff;-webkit-box-shadow:0 4px 20px rgba(102,126,234,.4),inset 0 0 0 3px rgba(255,255,255,.3);box-shadow:0 4px 20px rgba(102,126,234,.4),inset 0 0 0 3px rgba(255,255,255,.3)}.cy-test__header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:16px;padding-bottom:12px;border-bottom:2px solid rgba(255,255,255,.3)}.cy-test__title{font-size:18px;font-weight:700;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.2)}.cy-test__badge{display:inline-block;padding:4px 12px;font-size:12px;font-weight:600;color:#667eea;background-color:#fff;border-radius:20px;-webkit-box-shadow:0 2px 8px rgba(0,0,0,.15);box-shadow:0 2px 8px rgba(0,0,0,.15)}.cy-test__content{font-size:15px;color:rgba(255,255,255,.95);line-height:1.8;text-shadow:0 1px 2px rgba(0,0,0,.15);background:rgba(255,255,255,.1);padding:12px 16px;border-radius:6px}.cy-test:hover{-webkit-transform:translateY(-2px);transform:translateY(-2px);-webkit-box-shadow:0 8px 30px rgba(102,126,234,.5);box-shadow:0 8px 30px rgba(102,126,234,.5)}.cy-test:active{-webkit-transform:translateY(0);transform:translateY(0);-webkit-box-shadow:0 4px 15px rgba(102,126,234,.3);box-shadow:0 4px 15px rgba(102,126,234,.3)}
|