iov-design 2.15.45 → 2.15.46
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/dialog.js +49 -3
- package/lib/empty.js +4 -1
- package/lib/index.js +1 -1
- package/lib/iov-design.common.js +60 -11
- package/lib/message.js +6 -6
- package/lib/theme-chalk/alert.css +1 -1
- package/lib/theme-chalk/dialog.css +1 -1
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/message.css +1 -1
- package/lib/theme-chalk/notification.css +1 -1
- package/package.json +1 -1
- package/packages/dialog/src/component.vue +44 -4
- package/packages/empty/src/index.vue +4 -1
- package/packages/message/src/main.js +1 -1
- package/packages/message/src/main.vue +6 -6
- package/packages/tabs/src/tabs.vue +196 -196
- package/packages/theme-chalk/src/alert.scss +21 -18
- package/packages/theme-chalk/src/common/var.scss +1 -34
- package/packages/theme-chalk/src/dialog.scss +16 -6
- package/packages/theme-chalk/src/message-box.scss +207 -207
- package/packages/theme-chalk/src/message.scss +28 -37
- package/packages/theme-chalk/src/tabs.scss +686 -686
- package/src/index.js +1 -1
|
@@ -2,22 +2,21 @@
|
|
|
2
2
|
@import "common/var";
|
|
3
3
|
|
|
4
4
|
@include b(message) {
|
|
5
|
-
min-width:
|
|
5
|
+
min-width: 204px;
|
|
6
6
|
box-sizing: border-box;
|
|
7
|
-
border-radius:
|
|
8
|
-
border
|
|
9
|
-
border-style: $--border-style-base;
|
|
10
|
-
border-color: $--border-color-lighter;
|
|
7
|
+
border-radius: 4px;
|
|
8
|
+
border: 1px solid $--color-line-2;
|
|
11
9
|
position: fixed;
|
|
12
10
|
left: 50%;
|
|
13
|
-
top:
|
|
11
|
+
top: 46px;
|
|
14
12
|
transform: translateX(-50%);
|
|
15
|
-
background-color:
|
|
13
|
+
background-color: #fff;
|
|
16
14
|
transition: opacity 0.3s, transform .4s, top 0.4s;
|
|
17
15
|
overflow: hidden;
|
|
18
|
-
padding:
|
|
16
|
+
padding: 13px 16px;
|
|
19
17
|
display: flex;
|
|
20
18
|
align-items: center;
|
|
19
|
+
box-shadow: 0 4px 18px 0 rgba(73,75,83,0.1);
|
|
21
20
|
|
|
22
21
|
@include when(center) {
|
|
23
22
|
justify-content: center;
|
|
@@ -25,7 +24,7 @@
|
|
|
25
24
|
|
|
26
25
|
@include when(closable) {
|
|
27
26
|
.el-message__content {
|
|
28
|
-
padding-right:
|
|
27
|
+
padding-right: 24px;
|
|
29
28
|
}
|
|
30
29
|
}
|
|
31
30
|
|
|
@@ -35,45 +34,37 @@
|
|
|
35
34
|
|
|
36
35
|
@include m(info) {
|
|
37
36
|
.el-message__content {
|
|
38
|
-
color: $--
|
|
37
|
+
color: $--color-text-6;
|
|
39
38
|
}
|
|
40
39
|
}
|
|
41
40
|
|
|
42
41
|
@include m(success) {
|
|
43
|
-
background-color: $--color-success-lighter;
|
|
44
|
-
border-color: $--color-success-light;
|
|
45
|
-
|
|
46
42
|
.el-message__content {
|
|
47
|
-
color: $--
|
|
43
|
+
color: $--color-text-6;
|
|
48
44
|
}
|
|
49
45
|
}
|
|
50
46
|
|
|
51
47
|
@include m(warning) {
|
|
52
|
-
background-color: $--color-warning-lighter;
|
|
53
|
-
border-color: $--color-warning-light;
|
|
54
|
-
|
|
55
48
|
.el-message__content {
|
|
56
|
-
color: $--
|
|
49
|
+
color: $--color-text-6;
|
|
57
50
|
}
|
|
58
51
|
}
|
|
59
52
|
|
|
60
53
|
@include m(error) {
|
|
61
|
-
background-color: $--color-danger-lighter;
|
|
62
|
-
border-color: $--color-danger-light;
|
|
63
|
-
|
|
64
54
|
.el-message__content {
|
|
65
|
-
color: $--
|
|
55
|
+
color: $--color-text-6;
|
|
66
56
|
}
|
|
67
57
|
}
|
|
68
58
|
|
|
69
59
|
@include e(icon) {
|
|
70
|
-
margin-right:
|
|
60
|
+
margin-right: 8px;
|
|
61
|
+
font-size: 16px;
|
|
71
62
|
}
|
|
72
63
|
|
|
73
64
|
@include e(content) {
|
|
74
65
|
padding: 0;
|
|
75
|
-
font-size:
|
|
76
|
-
line-height:
|
|
66
|
+
font-size: 13px;
|
|
67
|
+
line-height: 16px;
|
|
77
68
|
&:focus {
|
|
78
69
|
outline-width: 0;
|
|
79
70
|
}
|
|
@@ -82,34 +73,34 @@
|
|
|
82
73
|
@include e(closeBtn) {
|
|
83
74
|
position: absolute;
|
|
84
75
|
top: 50%;
|
|
85
|
-
right:
|
|
76
|
+
right: 16px;
|
|
86
77
|
transform: translateY(-50%);
|
|
87
78
|
cursor: pointer;
|
|
88
|
-
color: $--
|
|
89
|
-
font-size:
|
|
79
|
+
color: $--color-fill-5;
|
|
80
|
+
font-size: 14px;
|
|
90
81
|
|
|
91
82
|
&:focus {
|
|
92
83
|
outline-width: 0;
|
|
93
84
|
}
|
|
94
85
|
&:hover {
|
|
95
|
-
color: $--
|
|
86
|
+
color: $--color-fill-6;
|
|
96
87
|
}
|
|
97
88
|
}
|
|
98
89
|
|
|
99
|
-
|
|
100
|
-
color: $--
|
|
90
|
+
.iov-icon-fill-success {
|
|
91
|
+
color: $--color-success-6;
|
|
101
92
|
}
|
|
102
93
|
|
|
103
|
-
|
|
104
|
-
color: $--
|
|
94
|
+
.iov-icon-fill-explain {
|
|
95
|
+
color: $--color-primary-6;
|
|
105
96
|
}
|
|
106
97
|
|
|
107
|
-
|
|
108
|
-
color: $--
|
|
98
|
+
.iov-icon-fill-warning {
|
|
99
|
+
color: $--color-warning-6;
|
|
109
100
|
}
|
|
110
101
|
|
|
111
|
-
|
|
112
|
-
color: $--
|
|
102
|
+
.iov-icon-fill-fail {
|
|
103
|
+
color: $--color-danger-6;
|
|
113
104
|
}
|
|
114
105
|
}
|
|
115
106
|
|