bkui-vue 0.0.2-beta.62 → 0.0.2-beta.63
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/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/alert/alert.css +7 -0
- package/lib/alert/alert.less +16 -6
- package/lib/alert/alert.variable.css +7 -0
- package/package.json +1 -1
package/lib/alert/alert.css
CHANGED
@@ -39,6 +39,13 @@
|
|
39
39
|
.bk-alert-warning .bk-alert-icon-info {
|
40
40
|
color: #ff9c01;
|
41
41
|
}
|
42
|
+
.bk-alert-danger {
|
43
|
+
background-color: #ffeded;
|
44
|
+
border-color: #ffd2d2;
|
45
|
+
}
|
46
|
+
.bk-alert-danger .bk-alert-icon-info {
|
47
|
+
color: #ea3636;
|
48
|
+
}
|
42
49
|
.bk-alert-error {
|
43
50
|
background-color: #ffeded;
|
44
51
|
border-color: #ffd2d2;
|
package/lib/alert/alert.less
CHANGED
@@ -12,9 +12,9 @@
|
|
12
12
|
@warning-background-color: #fff4e2;
|
13
13
|
@warning-icon-color: #ff9c01;
|
14
14
|
|
15
|
-
@
|
16
|
-
@
|
17
|
-
@
|
15
|
+
@danger-border-color: #ffd2d2;
|
16
|
+
@danger-background-color: #ffeded;
|
17
|
+
@danger-icon-color: #ea3636;
|
18
18
|
|
19
19
|
.@{bk-prefix}-alert {
|
20
20
|
position: relative;
|
@@ -67,14 +67,24 @@
|
|
67
67
|
}
|
68
68
|
}
|
69
69
|
|
70
|
+
.@{bk-prefix}-alert-danger {
|
71
|
+
background-color: @danger-background-color;
|
72
|
+
border-color: @danger-border-color;
|
73
|
+
|
74
|
+
.@{bk-prefix}-alert-icon-info {
|
75
|
+
color: @danger-icon-color;
|
76
|
+
}
|
77
|
+
}
|
78
|
+
// 兼容历史 prop theme 的配置 error 调整为danger
|
70
79
|
.@{bk-prefix}-alert-error {
|
71
|
-
background-color: @
|
72
|
-
border-color: @
|
80
|
+
background-color: @danger-background-color;
|
81
|
+
border-color: @danger-border-color;
|
73
82
|
|
74
83
|
.@{bk-prefix}-alert-icon-info {
|
75
|
-
color: @
|
84
|
+
color: @danger-icon-color;
|
76
85
|
}
|
77
86
|
}
|
87
|
+
// 兼容历史 prop theme 的配置 error 调整为danger
|
78
88
|
|
79
89
|
.@{bk-prefix}-alert-content {
|
80
90
|
display: flex;
|
@@ -161,6 +161,13 @@
|
|
161
161
|
.bk-alert-warning .bk-alert-icon-info {
|
162
162
|
color: #ff9c01;
|
163
163
|
}
|
164
|
+
.bk-alert-danger {
|
165
|
+
background-color: #ffeded;
|
166
|
+
border-color: #ffd2d2;
|
167
|
+
}
|
168
|
+
.bk-alert-danger .bk-alert-icon-info {
|
169
|
+
color: #ea3636;
|
170
|
+
}
|
164
171
|
.bk-alert-error {
|
165
172
|
background-color: #ffeded;
|
166
173
|
border-color: #ffd2d2;
|