xianniu-ui 0.9.6 → 0.9.8
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/demo.html +10 -0
- package/lib/static/fonts/element-icons.535877f5.woff +0 -0
- package/lib/static/fonts/element-icons.732389de.ttf +0 -0
- package/lib/style/amount.css +1 -0
- package/lib/style/basic.css +1 -0
- package/lib/style/card.css +1 -0
- package/lib/style/city.css +1 -0
- package/lib/style/date.css +1 -0
- package/lib/style/description.css +1 -0
- package/lib/style/ellipsis.css +1 -0
- package/lib/style/flex.css +1 -0
- package/lib/style/footer.css +1 -0
- package/lib/style/import.css +1 -0
- package/lib/style/theme/element-ui.scss +18 -0
- package/lib/style/theme/element-variables.scss +26 -0
- package/lib/style/theme/index.scss +6 -0
- package/lib/style/theme/mixin.scss +270 -0
- package/lib/style/theme/sidebar.scss +271 -0
- package/lib/style/theme/theme.scss +5 -0
- package/lib/style/theme/transition.scss +52 -0
- package/lib/style/theme/variables.scss +41 -0
- package/lib/xianniu-ui.common.js +77668 -0
- package/lib/xianniu-ui.css +1 -0
- package/lib/xianniu-ui.umd.js +77678 -0
- package/lib/xianniu-ui.umd.min.js +78 -0
- package/package.json +1 -1
- package/packages/amount/main.vue +35 -1
- package/packages/style/src/amount.scss +9 -0
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
// global transition css
|
|
2
|
+
|
|
3
|
+
/* fade */
|
|
4
|
+
.fade-enter-active,
|
|
5
|
+
.fade-leave-active {
|
|
6
|
+
transition: opacity 0.28s;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.fade-enter,
|
|
10
|
+
.fade-leave-active {
|
|
11
|
+
opacity: 0;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/* fade-transform */
|
|
15
|
+
.fade-transform-leave-active,
|
|
16
|
+
.fade-transform-enter-active {
|
|
17
|
+
transition: all .3s;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.fade-transform-enter {
|
|
21
|
+
opacity: 0;
|
|
22
|
+
transform: translateX(-30px);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.fade-transform-leave-to {
|
|
26
|
+
opacity: 0;
|
|
27
|
+
transform: translateX(30px);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/* breadcrumb transition */
|
|
31
|
+
.breadcrumb-enter-active,
|
|
32
|
+
.breadcrumb-leave-active {
|
|
33
|
+
transition: all .3s;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.breadcrumb-enter,
|
|
37
|
+
.breadcrumb-leave-active {
|
|
38
|
+
opacity: 0;
|
|
39
|
+
transform: translateX(20px);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.breadcrumb-move {
|
|
43
|
+
transition: all .3s;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.breadcrumb-leave-active {
|
|
47
|
+
position: absolute;
|
|
48
|
+
}
|
|
49
|
+
.el-list-enter-active,
|
|
50
|
+
.el-list-leave-active {
|
|
51
|
+
transition: none !important;
|
|
52
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
// base color
|
|
2
|
+
$light-blue:#3A71A8;
|
|
3
|
+
|
|
4
|
+
$pink: #E65D6E;
|
|
5
|
+
$panGreen: #30B08F;
|
|
6
|
+
|
|
7
|
+
// sidebar
|
|
8
|
+
$menuText:#4A4A53;
|
|
9
|
+
$menuActiveText:#FF745C;
|
|
10
|
+
$subMenuActiveText:#FF745C;
|
|
11
|
+
$subMenuActiveBg:#FFEDEA;
|
|
12
|
+
|
|
13
|
+
$menuBg:#fff;
|
|
14
|
+
$menuHover:#FFEDEA;
|
|
15
|
+
|
|
16
|
+
$subMenuBg:#fff;
|
|
17
|
+
$subMenuHover:#FFEDEA;
|
|
18
|
+
|
|
19
|
+
$sideBarWidth: 200px;
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
$grey: #c1c1c9;
|
|
24
|
+
$blue: #5e9dff;
|
|
25
|
+
$red: #ff4d4f;
|
|
26
|
+
$green: #52c41a;
|
|
27
|
+
$yellow: #ffb500;
|
|
28
|
+
$orange: #ff8c00;
|
|
29
|
+
|
|
30
|
+
// the :export directive is the magic sauce for webpack
|
|
31
|
+
// https://www.bluematador.com/blog/how-to-share-variables-between-js-and-sass
|
|
32
|
+
:export {
|
|
33
|
+
menuText: $menuText;
|
|
34
|
+
menuActiveText: $menuActiveText;
|
|
35
|
+
subMenuActiveText: $subMenuActiveText;
|
|
36
|
+
menuBg: $menuBg;
|
|
37
|
+
menuHover: $menuHover;
|
|
38
|
+
subMenuBg: $subMenuBg;
|
|
39
|
+
subMenuHover: $subMenuHover;
|
|
40
|
+
sideBarWidth: $sideBarWidth;
|
|
41
|
+
}
|