bkui-vue 1.0.3-beta.41 → 1.0.3-beta.43
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/index.cjs.js +37 -37
- package/dist/index.esm.js +6779 -6697
- package/dist/index.umd.js +37 -37
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/dialog/dialog.css +82 -106
- package/lib/dialog/dialog.d.ts +28 -14
- package/lib/dialog/dialog.less +91 -98
- package/lib/dialog/dialog.variable.css +82 -106
- package/lib/dialog/index.d.ts +58 -30
- package/lib/dialog/index.js +148 -131
- package/lib/dialog/props.d.ts +13 -6
- package/lib/info-box/info-box.css +5 -26
- package/lib/info-box/info-box.less +16 -43
- package/lib/info-box/info-box.variable.css +5 -26
- package/lib/modal/hooks.d.ts +6 -0
- package/lib/modal/index.d.ts +65 -48
- package/lib/modal/index.js +170 -73
- package/lib/modal/modal.css +33 -50
- package/lib/modal/modal.d.ts +27 -16
- package/lib/modal/modal.less +46 -46
- package/lib/modal/modal.variable.css +33 -50
- package/lib/modal/props.mixin.d.ts +7 -0
- package/lib/shared/index.js +4 -1
- package/lib/sideslider/index.d.ts +26 -3
- package/lib/sideslider/index.js +15 -19
- package/lib/sideslider/sideslider.css +56 -46
- package/lib/sideslider/sideslider.d.ts +12 -1
- package/lib/sideslider/sideslider.less +106 -96
- package/lib/sideslider/sideslider.variable.css +56 -46
- package/lib/table/components/table-column.d.ts +1 -1
- package/lib/table/index.d.ts +1 -1
- package/lib/table/index.js +13 -9
- package/lib/table/utils.d.ts +1 -1
- package/lib/table-column/index.d.ts +3 -3
- package/lib/table-column/index.js +9 -6
- package/package.json +1 -1
package/lib/dialog/dialog.css
CHANGED
@@ -1,37 +1,16 @@
|
|
1
|
-
.bk-
|
1
|
+
.bk-info-wrapper .bk-modal-wrapper {
|
2
2
|
width: 440px;
|
3
3
|
}
|
4
|
-
.bk-
|
5
|
-
width: 440px;
|
6
|
-
}
|
7
|
-
.bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper.small {
|
8
|
-
width: 400px;
|
9
|
-
}
|
10
|
-
.bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-modal-body {
|
11
|
-
border-radius: 2px;
|
12
|
-
}
|
13
|
-
.bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-dialog-header .bk-dialog-title {
|
4
|
+
.bk-info-wrapper .bk-modal-wrapper .bk-dialog-header .bk-dialog-title {
|
14
5
|
margin-top: 16px;
|
15
6
|
}
|
16
|
-
.bk-
|
17
|
-
|
18
|
-
max-height: initial;
|
19
|
-
min-height: initial;
|
20
|
-
word-break: break-all;
|
7
|
+
.bk-info-wrapper .bk-dialog-footer button {
|
8
|
+
min-width: 88px;
|
21
9
|
}
|
22
|
-
.bk-
|
10
|
+
.bk-info-sub-title {
|
23
11
|
text-align: center;
|
24
12
|
word-break: break-all;
|
25
13
|
}
|
26
|
-
.bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-modal-footer {
|
27
|
-
height: initial;
|
28
|
-
margin-top: 24px;
|
29
|
-
background-color: #fff;
|
30
|
-
border-top: none;
|
31
|
-
}
|
32
|
-
.bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-modal-footer .bk-dialog-footer button {
|
33
|
-
min-width: 88px;
|
34
|
-
}
|
35
14
|
.bk-modal-ctx {
|
36
15
|
top: 0px;
|
37
16
|
left: 0px;
|
@@ -42,10 +21,13 @@
|
|
42
21
|
.bk-modal-ctx.--show {
|
43
22
|
position: fixed;
|
44
23
|
}
|
24
|
+
.bk-modal-ctx.--show .bk-modal-ctx-mask {
|
25
|
+
display: block;
|
26
|
+
}
|
45
27
|
.bk-modal-ctx.--hide {
|
46
28
|
display: none;
|
47
29
|
}
|
48
|
-
.bk-modal-ctx
|
30
|
+
.bk-modal-ctx-mask {
|
49
31
|
top: 0;
|
50
32
|
left: 0;
|
51
33
|
display: none;
|
@@ -53,47 +35,65 @@
|
|
53
35
|
height: 100%;
|
54
36
|
background-color: rgba(0, 0, 0, 0.6);
|
55
37
|
}
|
56
|
-
.bk-modal-ctx .bk-modal-ctx-mask.--show {
|
57
|
-
position: fixed;
|
58
|
-
display: inherit;
|
59
|
-
}
|
60
38
|
.bk-modal-wrapper {
|
61
39
|
position: absolute;
|
62
40
|
top: 50%;
|
63
41
|
left: 50%;
|
64
|
-
width: 480px;
|
65
42
|
border-radius: 2px;
|
66
43
|
transform: translate(-50%, -50%);
|
67
44
|
}
|
68
|
-
.bk-modal-
|
45
|
+
.bk-modal-outside {
|
69
46
|
position: fixed;
|
70
47
|
top: 0;
|
71
48
|
right: 0;
|
72
49
|
bottom: 0;
|
73
50
|
left: 0;
|
74
51
|
}
|
75
|
-
.bk-modal-
|
76
|
-
width: 480px;
|
77
|
-
height: 240px;
|
78
|
-
}
|
79
|
-
.bk-modal-wrapper.small {
|
80
|
-
width: 400px;
|
81
|
-
height: 200px;
|
82
|
-
}
|
83
|
-
.bk-modal-wrapper.medium {
|
84
|
-
width: 640px;
|
85
|
-
height: 400px;
|
86
|
-
}
|
87
|
-
.bk-modal-wrapper.large {
|
88
|
-
width: 960px;
|
89
|
-
height: 720px;
|
90
|
-
}
|
91
|
-
.bk-modal-wrapper .bk-modal-body {
|
52
|
+
.bk-modal-body {
|
92
53
|
height: 100%;
|
93
54
|
overflow: hidden;
|
94
55
|
background: #fff;
|
56
|
+
border-radius: 2px;
|
95
57
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
96
58
|
}
|
59
|
+
.bk-modal-body {
|
60
|
+
overflow: auto;
|
61
|
+
}
|
62
|
+
.bk-modal-close {
|
63
|
+
position: absolute;
|
64
|
+
top: 6px;
|
65
|
+
right: 6px;
|
66
|
+
display: flex;
|
67
|
+
width: 32px;
|
68
|
+
height: 32px;
|
69
|
+
font-size: 18px;
|
70
|
+
color: #979ba5;
|
71
|
+
cursor: pointer;
|
72
|
+
align-items: center;
|
73
|
+
justify-content: center;
|
74
|
+
border-radius: 50%;
|
75
|
+
transition: 0.15s;
|
76
|
+
}
|
77
|
+
.bk-modal-close:hover {
|
78
|
+
background: #f0f1f5;
|
79
|
+
}
|
80
|
+
.bk-dialog {
|
81
|
+
font-size: 14px;
|
82
|
+
}
|
83
|
+
.bk-dialog.is-fullscreen {
|
84
|
+
top: 0;
|
85
|
+
right: 0 ;
|
86
|
+
bottom: 0;
|
87
|
+
left: 0;
|
88
|
+
transform: translate(0, 0);
|
89
|
+
}
|
90
|
+
.bk-dialog.is-fullscreen .bk-modal-wrapper {
|
91
|
+
top: 0;
|
92
|
+
right: 0;
|
93
|
+
bottom: 0;
|
94
|
+
left: 0;
|
95
|
+
transform: translate(0, 0);
|
96
|
+
}
|
97
97
|
.bk-dialog-wrapper .bk-modal-wrapper {
|
98
98
|
position: relative;
|
99
99
|
}
|
@@ -107,41 +107,37 @@
|
|
107
107
|
.bk-dialog-wrapper .bk-modal-wrapper.multi-instance {
|
108
108
|
position: absolute;
|
109
109
|
}
|
110
|
-
.bk-dialog-wrapper .bk-modal-wrapper .bk-
|
111
|
-
|
112
|
-
top: 0;
|
113
|
-
right: 0;
|
114
|
-
left: 0;
|
115
|
-
height: 18px;
|
110
|
+
.bk-dialog-wrapper .bk-modal-wrapper.fullscreen .bk-modal-content {
|
111
|
+
max-height: calc(100vh - 137px);
|
116
112
|
}
|
117
|
-
.bk-dialog-wrapper .bk-modal-wrapper
|
118
|
-
|
113
|
+
.bk-dialog-wrapper .bk-modal-wrapper.fullscreen.no-footer {
|
114
|
+
max-height: calc(100vh - 79px);
|
119
115
|
}
|
120
|
-
.bk-dialog-wrapper .bk-modal-wrapper .
|
121
|
-
|
116
|
+
.bk-dialog-wrapper .bk-modal-wrapper.no-footer .bk-modal-body {
|
117
|
+
padding-bottom: 0;
|
122
118
|
}
|
123
|
-
.bk-dialog-
|
119
|
+
.bk-dialog-header {
|
124
120
|
padding: 16px 24px 0;
|
125
121
|
font-size: 20px;
|
126
122
|
line-height: 1;
|
127
123
|
}
|
128
|
-
.bk-dialog-
|
124
|
+
.bk-dialog-header-icon {
|
129
125
|
display: flex;
|
130
126
|
justify-content: center;
|
131
127
|
}
|
132
|
-
.bk-dialog-
|
128
|
+
.bk-dialog-header-icon .bk-info-icon {
|
133
129
|
font-size: 48px;
|
134
130
|
}
|
135
|
-
.bk-dialog-
|
131
|
+
.bk-dialog-header-icon .bk-info-icon.success {
|
136
132
|
color: #2dcb56;
|
137
133
|
}
|
138
|
-
.bk-dialog-
|
134
|
+
.bk-dialog-header-icon .bk-info-icon.warning {
|
139
135
|
color: #ff9c01;
|
140
136
|
}
|
141
|
-
.bk-dialog-
|
137
|
+
.bk-dialog-header-icon .bk-info-icon.danger {
|
142
138
|
color: #ea3636;
|
143
139
|
}
|
144
|
-
.bk-dialog-
|
140
|
+
.bk-dialog-title {
|
145
141
|
display: inline-block;
|
146
142
|
width: 100%;
|
147
143
|
overflow: hidden;
|
@@ -149,58 +145,38 @@
|
|
149
145
|
text-overflow: ellipsis;
|
150
146
|
white-space: nowrap;
|
151
147
|
}
|
152
|
-
.bk-dialog-
|
153
|
-
|
148
|
+
.bk-dialog-tool {
|
149
|
+
position: absolute;
|
150
|
+
top: 0;
|
151
|
+
right: 0;
|
152
|
+
left: 0;
|
153
|
+
height: 18px;
|
154
|
+
}
|
155
|
+
.bk-dialog-tool.move {
|
156
|
+
cursor: move;
|
157
|
+
}
|
158
|
+
.bk-dialog-tool.content-dragging {
|
159
|
+
user-select: none;
|
160
|
+
}
|
161
|
+
.bk-dialog-content {
|
154
162
|
max-height: calc(100vh - 300px);
|
155
|
-
min-height: 141px;
|
156
163
|
padding: 0 24px;
|
157
164
|
margin-top: 16px;
|
158
165
|
margin-bottom: 24px;
|
159
|
-
font-size: 14px;
|
160
|
-
line-height: 1.5;
|
161
166
|
color: #63656e;
|
162
167
|
}
|
163
|
-
.bk-dialog-
|
164
|
-
|
165
|
-
}
|
166
|
-
.bk-dialog-wrapper .bk-modal-wrapper.fullscreen.no-footer {
|
167
|
-
max-height: calc(100vh - 79px);
|
168
|
-
}
|
169
|
-
.bk-dialog-wrapper .bk-modal-wrapper.no-footer .bk-modal-body {
|
170
|
-
padding-bottom: 0;
|
171
|
-
}
|
172
|
-
.bk-dialog-wrapper .bk-modal-wrapper .bk-modal-footer {
|
173
|
-
padding: 0 24px;
|
174
|
-
margin: 24px 0 ;
|
168
|
+
.bk-dialog-footer {
|
169
|
+
padding: 8px 24px;
|
175
170
|
background-color: #fafbfd;
|
176
171
|
border-top: 1px solid #dcdee5;
|
177
|
-
border-radius: 2px;
|
178
172
|
}
|
179
|
-
.bk-dialog-
|
173
|
+
.bk-dialog-footer .bk-dialog-perv {
|
180
174
|
float: left;
|
181
175
|
margin-right: 8px;
|
182
176
|
}
|
183
|
-
.bk-dialog-
|
177
|
+
.bk-dialog-footer .bk-dialog-next {
|
184
178
|
float: left;
|
185
179
|
}
|
186
|
-
.bk-dialog-
|
180
|
+
.bk-dialog-footer .bk-dialog-cancel {
|
187
181
|
margin-left: 8px;
|
188
182
|
}
|
189
|
-
.bk-dialog-wrapper .bk-modal-wrapper .bk-modal-close {
|
190
|
-
position: absolute;
|
191
|
-
top: 6px;
|
192
|
-
right: 6px;
|
193
|
-
display: flex;
|
194
|
-
width: 32px;
|
195
|
-
height: 32px;
|
196
|
-
font-size: 18px;
|
197
|
-
color: #979ba5;
|
198
|
-
cursor: pointer;
|
199
|
-
align-items: center;
|
200
|
-
justify-content: center;
|
201
|
-
border-radius: 50%;
|
202
|
-
transition: 0.15s;
|
203
|
-
}
|
204
|
-
.bk-dialog-wrapper .bk-modal-wrapper .bk-modal-close:hover {
|
205
|
-
background: #f0f1f5;
|
206
|
-
}
|
package/lib/dialog/dialog.d.ts
CHANGED
@@ -1,10 +1,4 @@
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
2
|
-
width: import("vue-types").VueTypeDef<string | number> & {
|
3
|
-
default: string | number;
|
4
|
-
};
|
5
|
-
height: import("vue-types").VueTypeDef<string | number> & {
|
6
|
-
default: string | number;
|
7
|
-
};
|
8
2
|
confirmText: import("vue-types").VueTypeValidableDef<string> & {
|
9
3
|
default: string;
|
10
4
|
};
|
@@ -50,6 +44,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
50
44
|
} & {
|
51
45
|
default: boolean;
|
52
46
|
};
|
47
|
+
width: import("vue-types").VueTypeDef<string | number> & {
|
48
|
+
default: string | number;
|
49
|
+
};
|
50
|
+
height: import("vue-types").VueTypeDef<string | number> & {
|
51
|
+
default: string | number;
|
52
|
+
};
|
53
53
|
extCls: (import("vue-types").VueTypeValidableDef<string> & {
|
54
54
|
default: string;
|
55
55
|
}) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
|
@@ -100,6 +100,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
100
100
|
};
|
101
101
|
direction: import("vue-types").VueTypeValidableDef<string> & {
|
102
102
|
default: string;
|
103
|
+
} & {
|
104
|
+
default: string;
|
103
105
|
};
|
104
106
|
animateType: import("vue-types").VueTypeValidableDef<string> & {
|
105
107
|
default: string;
|
@@ -127,6 +129,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
127
129
|
top: import("vue-types").VueTypeValidableDef<string> & {
|
128
130
|
default: string;
|
129
131
|
};
|
132
|
+
hiddenDelay: import("vue-types").VueTypeValidableDef<number> & {
|
133
|
+
default: number;
|
134
|
+
} & {
|
135
|
+
default: number;
|
136
|
+
};
|
130
137
|
}, {
|
131
138
|
data: {
|
132
139
|
positionX: number;
|
@@ -142,7 +149,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
142
149
|
moveHandler: (e: any) => boolean;
|
143
150
|
handlePrevStep: () => void;
|
144
151
|
handleNextStep: () => void;
|
145
|
-
hasFooter: import("vue").ComputedRef<boolean>;
|
146
152
|
isModalShow: import("vue").Ref<boolean>;
|
147
153
|
localConfirmText: import("vue").ComputedRef<string>;
|
148
154
|
localCancelText: import("vue").ComputedRef<string>;
|
@@ -150,12 +156,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
150
156
|
localNextText: import("vue").ComputedRef<string>;
|
151
157
|
resolveClassName: (cls: string) => string;
|
152
158
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("prev" | "next" | "confirm" | "closed" | "update:isShow" | "value-change")[], "prev" | "next" | "confirm" | "closed" | "update:isShow" | "value-change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
153
|
-
width: import("vue-types").VueTypeDef<string | number> & {
|
154
|
-
default: string | number;
|
155
|
-
};
|
156
|
-
height: import("vue-types").VueTypeDef<string | number> & {
|
157
|
-
default: string | number;
|
158
|
-
};
|
159
159
|
confirmText: import("vue-types").VueTypeValidableDef<string> & {
|
160
160
|
default: string;
|
161
161
|
};
|
@@ -201,6 +201,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
201
201
|
} & {
|
202
202
|
default: boolean;
|
203
203
|
};
|
204
|
+
width: import("vue-types").VueTypeDef<string | number> & {
|
205
|
+
default: string | number;
|
206
|
+
};
|
207
|
+
height: import("vue-types").VueTypeDef<string | number> & {
|
208
|
+
default: string | number;
|
209
|
+
};
|
204
210
|
extCls: (import("vue-types").VueTypeValidableDef<string> & {
|
205
211
|
default: string;
|
206
212
|
}) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
|
@@ -251,6 +257,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
251
257
|
};
|
252
258
|
direction: import("vue-types").VueTypeValidableDef<string> & {
|
253
259
|
default: string;
|
260
|
+
} & {
|
261
|
+
default: string;
|
254
262
|
};
|
255
263
|
animateType: import("vue-types").VueTypeValidableDef<string> & {
|
256
264
|
default: string;
|
@@ -278,6 +286,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
278
286
|
top: import("vue-types").VueTypeValidableDef<string> & {
|
279
287
|
default: string;
|
280
288
|
};
|
289
|
+
hiddenDelay: import("vue-types").VueTypeValidableDef<number> & {
|
290
|
+
default: number;
|
291
|
+
} & {
|
292
|
+
default: number;
|
293
|
+
};
|
281
294
|
}>> & {
|
282
295
|
onConfirm?: (...args: any[]) => any;
|
283
296
|
onPrev?: (...args: any[]) => any;
|
@@ -299,15 +312,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
299
312
|
transfer: string | boolean | HTMLElement;
|
300
313
|
direction: string;
|
301
314
|
renderDirective: "show" | "if";
|
302
|
-
quickClose: boolean;
|
303
315
|
scrollable: boolean;
|
304
316
|
showMask: boolean;
|
305
317
|
closeIcon: boolean;
|
306
318
|
escClose: boolean;
|
307
319
|
fullscreen: boolean;
|
320
|
+
quickClose: boolean;
|
308
321
|
animateType: string;
|
309
322
|
multiInstance: boolean;
|
310
323
|
bodyClass: string | unknown[];
|
324
|
+
hiddenDelay: number;
|
311
325
|
confirmText: string;
|
312
326
|
cancelText: string;
|
313
327
|
prevText: string;
|
package/lib/dialog/dialog.less
CHANGED
@@ -1,6 +1,25 @@
|
|
1
1
|
@import '../styles/themes/themes.less';
|
2
2
|
@import '../modal/modal.less';
|
3
3
|
|
4
|
+
.@{bk-prefix}-dialog {
|
5
|
+
font-size: 14px;
|
6
|
+
|
7
|
+
&.is-fullscreen {
|
8
|
+
top: 0;
|
9
|
+
right: 0 ;
|
10
|
+
bottom: 0;
|
11
|
+
left: 0;
|
12
|
+
transform: translate(0 , 0);
|
13
|
+
|
14
|
+
.bk-modal-wrapper {
|
15
|
+
top: 0;
|
16
|
+
right: 0;
|
17
|
+
bottom: 0;
|
18
|
+
left: 0;
|
19
|
+
transform: translate(0 , 0);
|
20
|
+
}
|
21
|
+
}
|
22
|
+
}
|
4
23
|
.@{bk-prefix}-dialog-wrapper {
|
5
24
|
.@{bk-prefix}-modal-wrapper {
|
6
25
|
position: relative;
|
@@ -20,70 +39,6 @@
|
|
20
39
|
position: absolute;
|
21
40
|
}
|
22
41
|
|
23
|
-
.@{bk-prefix}-dialog-tool {
|
24
|
-
position: absolute;
|
25
|
-
top: 0;
|
26
|
-
right: 0;
|
27
|
-
left: 0;
|
28
|
-
height: 18px;
|
29
|
-
}
|
30
|
-
|
31
|
-
.move {
|
32
|
-
cursor: move;
|
33
|
-
}
|
34
|
-
|
35
|
-
.content-dragging {
|
36
|
-
user-select: none;
|
37
|
-
}
|
38
|
-
|
39
|
-
.@{bk-prefix}-dialog-header {
|
40
|
-
padding: 16px 24px 0;
|
41
|
-
font-size: 20px;
|
42
|
-
line-height: 1;
|
43
|
-
|
44
|
-
.@{bk-prefix}-header-icon {
|
45
|
-
display: flex;
|
46
|
-
justify-content: center;
|
47
|
-
|
48
|
-
.@{bk-prefix}-info-icon {
|
49
|
-
font-size: 48px;
|
50
|
-
|
51
|
-
&.success {
|
52
|
-
color: @success-color;
|
53
|
-
}
|
54
|
-
|
55
|
-
&.warning {
|
56
|
-
color: @warning-color;
|
57
|
-
}
|
58
|
-
|
59
|
-
&.danger {
|
60
|
-
color: @danger-color;
|
61
|
-
}
|
62
|
-
}
|
63
|
-
}
|
64
|
-
|
65
|
-
.@{bk-prefix}-dialog-title {
|
66
|
-
display: inline-block;
|
67
|
-
width: 100%;
|
68
|
-
overflow: hidden;
|
69
|
-
color: @table-head-font-color;
|
70
|
-
text-overflow: ellipsis;
|
71
|
-
white-space: nowrap;
|
72
|
-
}
|
73
|
-
}
|
74
|
-
|
75
|
-
.@{bk-prefix}-modal-content {
|
76
|
-
height: calc(100% - 79px);
|
77
|
-
max-height: calc(100vh - 300px);
|
78
|
-
min-height: 141px;
|
79
|
-
padding: 0 24px;
|
80
|
-
margin-top: 16px;
|
81
|
-
margin-bottom: 24px;
|
82
|
-
font-size: 14px;
|
83
|
-
line-height: 1.5;
|
84
|
-
color: @default-color;
|
85
|
-
}
|
86
|
-
|
87
42
|
&.fullscreen {
|
88
43
|
.@{bk-prefix}-modal-content {
|
89
44
|
max-height: calc(100vh - 137px);
|
@@ -99,46 +54,84 @@
|
|
99
54
|
padding-bottom: 0;
|
100
55
|
}
|
101
56
|
}
|
57
|
+
}
|
58
|
+
}
|
102
59
|
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
border-radius: 2px;
|
60
|
+
.@{bk-prefix}-dialog-header {
|
61
|
+
padding: 16px 24px 0;
|
62
|
+
font-size: 20px;
|
63
|
+
line-height: 1;
|
64
|
+
}
|
109
65
|
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
}
|
66
|
+
.@{bk-prefix}-dialog-header-icon {
|
67
|
+
display: flex;
|
68
|
+
justify-content: center;
|
114
69
|
|
115
|
-
|
116
|
-
|
117
|
-
}
|
70
|
+
.@{bk-prefix}-info-icon {
|
71
|
+
font-size: 48px;
|
118
72
|
|
119
|
-
|
120
|
-
|
121
|
-
}
|
73
|
+
&.success {
|
74
|
+
color: @success-color;
|
122
75
|
}
|
123
76
|
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
height: 32px;
|
131
|
-
font-size: 18px;
|
132
|
-
color: #979ba5;
|
133
|
-
cursor: pointer;
|
134
|
-
align-items: center;
|
135
|
-
justify-content: center;
|
136
|
-
border-radius: 50%;
|
137
|
-
transition: .15s;
|
138
|
-
|
139
|
-
&:hover {
|
140
|
-
background: #f0f1f5;
|
141
|
-
}
|
77
|
+
&.warning {
|
78
|
+
color: @warning-color;
|
79
|
+
}
|
80
|
+
|
81
|
+
&.danger {
|
82
|
+
color: @danger-color;
|
142
83
|
}
|
143
84
|
}
|
144
85
|
}
|
86
|
+
|
87
|
+
.@{bk-prefix}-dialog-title {
|
88
|
+
display: inline-block;
|
89
|
+
width: 100%;
|
90
|
+
overflow: hidden;
|
91
|
+
color: @table-head-font-color;
|
92
|
+
text-overflow: ellipsis;
|
93
|
+
white-space: nowrap;
|
94
|
+
}
|
95
|
+
|
96
|
+
.@{bk-prefix}-dialog-tool {
|
97
|
+
position: absolute;
|
98
|
+
top: 0;
|
99
|
+
right: 0;
|
100
|
+
left: 0;
|
101
|
+
height: 18px;
|
102
|
+
|
103
|
+
&.move {
|
104
|
+
cursor: move;
|
105
|
+
}
|
106
|
+
|
107
|
+
&.content-dragging {
|
108
|
+
user-select: none;
|
109
|
+
}
|
110
|
+
}
|
111
|
+
|
112
|
+
.@{bk-prefix}-dialog-content {
|
113
|
+
max-height: calc(100vh - 300px);
|
114
|
+
padding: 0 24px;
|
115
|
+
margin-top: 16px;
|
116
|
+
margin-bottom: 24px;
|
117
|
+
color: @default-color;
|
118
|
+
}
|
119
|
+
|
120
|
+
.@{bk-prefix}-dialog-footer {
|
121
|
+
padding: 8px 24px;
|
122
|
+
background-color: @whitesmoke-color;
|
123
|
+
border-top: 1px solid @table-border-color;
|
124
|
+
|
125
|
+
.@{bk-prefix}-dialog-perv {
|
126
|
+
float: left;
|
127
|
+
margin-right: 8px;
|
128
|
+
}
|
129
|
+
|
130
|
+
.@{bk-prefix}-dialog-next {
|
131
|
+
float: left;
|
132
|
+
}
|
133
|
+
|
134
|
+
.@{bk-prefix}-dialog-cancel {
|
135
|
+
margin-left: 8px;
|
136
|
+
}
|
137
|
+
}
|