iov-design 2.15.19 → 2.15.21
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/alert.js +5 -5
- package/lib/index.js +1 -1
- package/lib/iov-design.common.js +6 -6
- package/lib/theme-chalk/alert.css +1 -0
- package/lib/theme-chalk/aside.css +1 -0
- package/lib/theme-chalk/autocomplete.css +1 -0
- package/lib/theme-chalk/avatar.css +1 -0
- package/lib/theme-chalk/backtop.css +1 -0
- package/lib/theme-chalk/badge.css +1 -0
- package/lib/theme-chalk/base.css +1 -0
- package/lib/theme-chalk/breadcrumb-item.css +0 -0
- package/lib/theme-chalk/breadcrumb.css +1 -0
- package/lib/theme-chalk/button-group.css +0 -0
- package/lib/theme-chalk/button.css +1 -0
- package/lib/theme-chalk/calendar.css +1 -0
- package/lib/theme-chalk/card.css +1 -0
- package/lib/theme-chalk/carousel-item.css +1 -0
- package/lib/theme-chalk/carousel.css +1 -0
- package/lib/theme-chalk/cascader-panel.css +1 -0
- package/lib/theme-chalk/cascader.css +1 -0
- package/lib/theme-chalk/checkbox-button.css +0 -0
- package/lib/theme-chalk/checkbox-group.css +0 -0
- package/lib/theme-chalk/checkbox.css +1 -0
- package/lib/theme-chalk/col.css +1 -0
- package/lib/theme-chalk/collapse-item.css +0 -0
- package/lib/theme-chalk/collapse.css +1 -0
- package/lib/theme-chalk/color-picker.css +1 -0
- package/lib/theme-chalk/container.css +1 -0
- package/lib/theme-chalk/date-picker.css +1 -0
- package/lib/theme-chalk/descriptions-item.css +1 -0
- package/lib/theme-chalk/descriptions.css +1 -0
- package/lib/theme-chalk/dialog.css +1 -0
- package/lib/theme-chalk/display.css +1 -0
- package/lib/theme-chalk/divider.css +1 -0
- package/lib/theme-chalk/drawer.css +1 -0
- package/lib/theme-chalk/dropdown-item.css +0 -0
- package/lib/theme-chalk/dropdown-menu.css +0 -0
- package/lib/theme-chalk/dropdown.css +1 -0
- package/lib/theme-chalk/empty.css +1 -0
- package/lib/theme-chalk/fonts/element-icons.ttf +0 -0
- package/lib/theme-chalk/fonts/element-icons.woff +0 -0
- package/lib/theme-chalk/footer.css +1 -0
- package/lib/theme-chalk/form-item.css +0 -0
- package/lib/theme-chalk/form.css +1 -0
- package/lib/theme-chalk/header.css +1 -0
- package/lib/theme-chalk/icon.css +1 -0
- package/lib/theme-chalk/image.css +1 -0
- package/lib/theme-chalk/index.css +1 -0
- package/lib/theme-chalk/infinite-scroll.css +0 -0
- package/lib/theme-chalk/infiniteScroll.css +0 -0
- package/lib/theme-chalk/input-number.css +1 -0
- package/lib/theme-chalk/input.css +1 -0
- package/lib/theme-chalk/iovfont.css +1 -0
- package/lib/theme-chalk/link.css +1 -0
- package/lib/theme-chalk/loading.css +1 -0
- package/lib/theme-chalk/main.css +1 -0
- package/lib/theme-chalk/menu-item-group.css +0 -0
- package/lib/theme-chalk/menu-item.css +0 -0
- package/lib/theme-chalk/menu.css +1 -0
- package/lib/theme-chalk/message-box.css +1 -0
- package/lib/theme-chalk/message.css +1 -0
- package/lib/theme-chalk/notification.css +1 -0
- package/lib/theme-chalk/option-group.css +1 -0
- package/lib/theme-chalk/option.css +1 -0
- package/lib/theme-chalk/page-header.css +1 -0
- package/lib/theme-chalk/pagination.css +1 -0
- package/lib/theme-chalk/popconfirm.css +1 -0
- package/lib/theme-chalk/popover.css +1 -0
- package/lib/theme-chalk/popper.css +1 -0
- package/lib/theme-chalk/progress.css +1 -0
- package/lib/theme-chalk/radio-button.css +1 -0
- package/lib/theme-chalk/radio-group.css +1 -0
- package/lib/theme-chalk/radio.css +1 -0
- package/lib/theme-chalk/rate.css +1 -0
- package/lib/theme-chalk/reset.css +1 -0
- package/lib/theme-chalk/result.css +1 -0
- package/lib/theme-chalk/row.css +1 -0
- package/lib/theme-chalk/scrollbar.css +1 -0
- package/lib/theme-chalk/select-dropdown.css +1 -0
- package/lib/theme-chalk/select.css +1 -0
- package/lib/theme-chalk/skeleton-item.css +1 -0
- package/lib/theme-chalk/skeleton.css +1 -0
- package/lib/theme-chalk/slider.css +1 -0
- package/lib/theme-chalk/spinner.css +1 -0
- package/lib/theme-chalk/statistic.css +1 -0
- package/lib/theme-chalk/step.css +1 -0
- package/lib/theme-chalk/steps.css +1 -0
- package/lib/theme-chalk/submenu.css +0 -0
- package/lib/theme-chalk/switch.css +1 -0
- package/lib/theme-chalk/tab-pane.css +0 -0
- package/lib/theme-chalk/table-column.css +1 -0
- package/lib/theme-chalk/table.css +1 -0
- package/lib/theme-chalk/tabs.css +1 -0
- package/lib/theme-chalk/tag.css +1 -0
- package/lib/theme-chalk/time-picker.css +1 -0
- package/lib/theme-chalk/time-select.css +1 -0
- package/lib/theme-chalk/timeline-item.css +1 -0
- package/lib/theme-chalk/timeline.css +1 -0
- package/lib/theme-chalk/tooltip.css +1 -0
- package/lib/theme-chalk/transfer.css +1 -0
- package/lib/theme-chalk/tree.css +1 -0
- package/lib/theme-chalk/upload.css +1 -0
- package/package.json +3 -1
- package/packages/alert/src/main.vue +5 -5
- package/packages/theme-chalk/src/alert.scss +35 -31
- package/packages/theme-chalk/src/common/var.scss +5 -12
- package/packages/theme-chalk/src/link.scss +0 -5
- package/src/index.js +1 -1
|
@@ -17,7 +17,10 @@
|
|
|
17
17
|
|
|
18
18
|
@include when(light) {
|
|
19
19
|
.el-alert__closebtn {
|
|
20
|
-
color: $--color-
|
|
20
|
+
color: $--color-fill-4;
|
|
21
|
+
&:hover {
|
|
22
|
+
color: $--color-fill-6;
|
|
23
|
+
}
|
|
21
24
|
}
|
|
22
25
|
}
|
|
23
26
|
|
|
@@ -36,74 +39,74 @@
|
|
|
36
39
|
|
|
37
40
|
@include m(success) {
|
|
38
41
|
&.is-light {
|
|
39
|
-
background-color: $--
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
.el-
|
|
43
|
-
color: $--color-success;
|
|
42
|
+
background-color: $--color-success-1;
|
|
43
|
+
border: 1px solid $--color-success-2;
|
|
44
|
+
color: $--color-text-6;
|
|
45
|
+
.el-alert__icon {
|
|
46
|
+
color: $--color-success-6;
|
|
44
47
|
}
|
|
45
48
|
}
|
|
46
49
|
|
|
47
50
|
&.is-dark {
|
|
48
|
-
background-color: $--color-success;
|
|
51
|
+
background-color: $--color-success-6;
|
|
49
52
|
color: $--color-white;
|
|
50
53
|
}
|
|
51
54
|
}
|
|
52
55
|
|
|
53
56
|
@include m(info) {
|
|
54
57
|
&.is-light {
|
|
55
|
-
background-color: $--
|
|
56
|
-
|
|
58
|
+
background-color: $--color-primary-1;
|
|
59
|
+
border: 1px solid $--color-primary-2;
|
|
60
|
+
color: $--color-text-6;
|
|
61
|
+
.el-alert__icon {
|
|
62
|
+
color: $--color-primary-6;
|
|
63
|
+
}
|
|
57
64
|
}
|
|
58
65
|
|
|
59
66
|
&.is-dark {
|
|
60
|
-
background-color: $--color-
|
|
67
|
+
background-color: $--color-primary-6;
|
|
61
68
|
color: $--color-white;
|
|
62
69
|
}
|
|
63
|
-
|
|
64
|
-
.el-alert__description {
|
|
65
|
-
color: $--color-info;
|
|
66
|
-
}
|
|
67
70
|
}
|
|
68
71
|
|
|
69
72
|
@include m(warning) {
|
|
70
73
|
&.is-light {
|
|
71
|
-
background-color: $--
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
.el-
|
|
75
|
-
color: $--color-warning;
|
|
74
|
+
background-color: $--color-warning-1;
|
|
75
|
+
border: 1px solid $--color-warning-2;
|
|
76
|
+
color: $--color-text-6;
|
|
77
|
+
.el-alert__icon {
|
|
78
|
+
color: $--color-warning-6;
|
|
76
79
|
}
|
|
77
80
|
}
|
|
78
81
|
|
|
79
82
|
&.is-dark {
|
|
80
|
-
background-color: $--color-warning;
|
|
83
|
+
background-color: $--color-warning-6;
|
|
81
84
|
color: $--color-white;
|
|
82
85
|
}
|
|
83
86
|
}
|
|
84
87
|
|
|
85
88
|
@include m(error) {
|
|
86
89
|
&.is-light {
|
|
87
|
-
background-color: $--
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
.el-
|
|
91
|
-
color: $--color-danger;
|
|
90
|
+
background-color: $--color-danger-1;
|
|
91
|
+
border: 1px solid $--color-danger-2;
|
|
92
|
+
color: $--color-text-6;
|
|
93
|
+
.el-alert__icon {
|
|
94
|
+
color: $--color-danger-6;
|
|
92
95
|
}
|
|
93
96
|
}
|
|
94
97
|
|
|
95
98
|
&.is-dark {
|
|
96
|
-
background-color: $--color-danger;
|
|
99
|
+
background-color: $--color-danger-6;
|
|
97
100
|
color: $--color-white;
|
|
98
101
|
}
|
|
99
102
|
}
|
|
100
103
|
|
|
101
104
|
@include e(content) {
|
|
102
105
|
display: table-cell;
|
|
103
|
-
padding: 0 8px;
|
|
104
106
|
}
|
|
105
107
|
|
|
106
108
|
@include e(icon) {
|
|
109
|
+
margin-right: 8px;
|
|
107
110
|
font-size: $--alert-icon-size;
|
|
108
111
|
width: $--alert-icon-size;
|
|
109
112
|
@include when(big) {
|
|
@@ -114,15 +117,16 @@
|
|
|
114
117
|
|
|
115
118
|
@include e(title) {
|
|
116
119
|
font-size: $--alert-title-font-size;
|
|
117
|
-
line-height: 18px;
|
|
118
120
|
@include when(bold) {
|
|
119
|
-
font-weight:
|
|
121
|
+
font-weight: 500;
|
|
120
122
|
}
|
|
121
123
|
}
|
|
122
124
|
|
|
123
125
|
& .el-alert__description {
|
|
124
126
|
font-size: $--alert-description-font-size;
|
|
125
127
|
margin: 5px 0 0 0;
|
|
128
|
+
color: $--color-text-6;
|
|
129
|
+
font-weight: 400;
|
|
126
130
|
}
|
|
127
131
|
|
|
128
132
|
@include e(closebtn) {
|
|
@@ -130,13 +134,13 @@
|
|
|
130
134
|
opacity: 1;
|
|
131
135
|
position: absolute;
|
|
132
136
|
top: 12px;
|
|
133
|
-
right:
|
|
137
|
+
right: 12px;
|
|
134
138
|
cursor: pointer;
|
|
135
139
|
|
|
136
140
|
@include when(customed) {
|
|
137
141
|
font-style: normal;
|
|
138
142
|
font-size: $--alert-close-customed-font-size;
|
|
139
|
-
top:
|
|
143
|
+
top: 11px;
|
|
140
144
|
}
|
|
141
145
|
}
|
|
142
146
|
}
|
|
@@ -280,26 +280,19 @@ $--select-dropdown-border: solid 0.5px $--color-line-2 !default;
|
|
|
280
280
|
|
|
281
281
|
/* Alert
|
|
282
282
|
-------------------------- */
|
|
283
|
-
$--alert-padding:
|
|
284
|
-
|
|
285
|
-
$--alert-
|
|
286
|
-
/// fontSize||Font|1
|
|
287
|
-
$--alert-title-font-size: 13px !default;
|
|
288
|
-
/// fontSize||Font|1
|
|
283
|
+
$--alert-padding: 11px 12px !default;
|
|
284
|
+
$--alert-border-radius: 4px !default;
|
|
285
|
+
$--alert-title-font-size: 12px !default;
|
|
289
286
|
$--alert-description-font-size: 12px !default;
|
|
290
|
-
|
|
291
|
-
$--alert-close-font-size: 12px !default;
|
|
292
|
-
/// fontSize||Font|1
|
|
293
|
-
$--alert-close-customed-font-size: 13px !default;
|
|
287
|
+
$--alert-close-font-size: 14px !default;
|
|
288
|
+
$--alert-close-customed-font-size: 12px !default;
|
|
294
289
|
|
|
295
290
|
$--alert-success-color: $--color-success-lighter !default;
|
|
296
291
|
$--alert-info-color: $--color-info-lighter !default;
|
|
297
292
|
$--alert-warning-color: $--color-warning-lighter !default;
|
|
298
293
|
$--alert-danger-color: $--color-danger-lighter !default;
|
|
299
294
|
|
|
300
|
-
/// height||Other|4
|
|
301
295
|
$--alert-icon-size: 16px !default;
|
|
302
|
-
/// height||Other|4
|
|
303
296
|
$--alert-icon-large-size: 28px !default;
|
|
304
297
|
|
|
305
298
|
/* MessageBox
|