@zkwq/business 0.1.0 → 0.1.2
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/dist/css/Annex.css +23 -22
- package/dist/css/Annex.min.css +1 -1
- package/dist/css/index.css +230 -0
- package/dist/css/index.min.css +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +3782 -3561
- package/dist/index.min.css +1 -1
- package/dist/index.min.js +5 -5
- package/dist/index.umd.cjs +7 -7
- package/dist/index.umd.min.cjs +6 -6
- package/dist/scss/baseUI/style/index.scss +1 -0
- package/dist/scss/baseUI/style/notification.scss +99 -0
- package/package.json +1 -1
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
@import "mixins";
|
|
2
|
+
@import "var";
|
|
3
|
+
|
|
4
|
+
@include b(notification) {
|
|
5
|
+
display: flex;
|
|
6
|
+
width: $--notification-width;
|
|
7
|
+
padding: $--notification-padding;
|
|
8
|
+
border-radius: $--notification-radius;
|
|
9
|
+
box-sizing: border-box;
|
|
10
|
+
border: 1px solid $--notification-border-color;
|
|
11
|
+
position: fixed;
|
|
12
|
+
background-color: $--color-white;
|
|
13
|
+
box-shadow: $--notification-shadow;
|
|
14
|
+
transition: opacity .3s, transform .3s, left .3s, right .3s, top 0.4s, bottom .3s;
|
|
15
|
+
overflow: hidden;
|
|
16
|
+
|
|
17
|
+
&.right {
|
|
18
|
+
right: 16px;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&.left {
|
|
22
|
+
left: 16px;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@include e(group) {
|
|
26
|
+
margin-left: $--notification-group-margin-left;
|
|
27
|
+
margin-right: $--notification-group-margin-right;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@include e(title) {
|
|
31
|
+
font-weight: bold;
|
|
32
|
+
font-size: $--notification-title-font-size;
|
|
33
|
+
color: $--notification-title-color;
|
|
34
|
+
margin: 0;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
@include e(content) {
|
|
38
|
+
font-size: $--notification-content-font-size;
|
|
39
|
+
line-height: 21px;
|
|
40
|
+
margin: 6px 0 0 0;
|
|
41
|
+
color: $--notification-content-color;
|
|
42
|
+
text-align: justify;
|
|
43
|
+
|
|
44
|
+
p {
|
|
45
|
+
margin: 0;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
@include e(icon) {
|
|
50
|
+
height: $--notification-icon-size;
|
|
51
|
+
width: $--notification-icon-size;
|
|
52
|
+
font-size: $--notification-icon-size;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
@include e(closeBtn) {
|
|
56
|
+
position: absolute;
|
|
57
|
+
top: 18px;
|
|
58
|
+
right: 15px;
|
|
59
|
+
cursor: pointer;
|
|
60
|
+
color: $--notification-close-color;
|
|
61
|
+
font-size: $--notification-close-font-size;
|
|
62
|
+
|
|
63
|
+
&:hover {
|
|
64
|
+
color: $--notification-close-hover-color;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.base-icon-success {
|
|
69
|
+
color: $--notification-success-icon-color;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.base-icon-error {
|
|
73
|
+
color: $--notification-danger-icon-color;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.base-icon-info {
|
|
77
|
+
color: $--notification-info-icon-color;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.base-icon-warning {
|
|
81
|
+
color: $--notification-warning-icon-color;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.base-notification-fade-enter {
|
|
86
|
+
&.right {
|
|
87
|
+
right: 0;
|
|
88
|
+
transform: translateX(100%);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
&.left {
|
|
92
|
+
left: 0;
|
|
93
|
+
transform: translateX(-100%);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.base-notification-fade-leave-active {
|
|
98
|
+
opacity: 0;
|
|
99
|
+
}
|