xt-element-ui 1.2.8 → 1.3.1
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/docs/components/base/xt-map.md +331 -0
- package/docs/components/base/xt-step-price.md +103 -217
- package/lib/index.common.js +2218 -87
- package/lib/index.css +1 -1
- package/lib/index.umd.js +2218 -87
- package/lib/index.umd.min.js +5 -5
- package/package.json +4 -3
- package/src/components/ex-button/index.js +8 -2
- package/src/components/ex-chart/index.js +6 -0
- package/src/components/ex-date-picker/index.js +8 -2
- package/src/components/ex-icon/index.js +6 -0
- package/src/components/ex-page/index.js +8 -2
- package/src/components/ex-select-tree/index.js +8 -2
- package/src/components/ex-table/index.js +6 -0
- package/src/components/ex-upload/index.js +6 -0
- package/src/components/xt-button/index.js +8 -2
- package/src/components/xt-button/index.vue +53 -10
- package/src/components/xt-button/style/index.scss +147 -43
- package/src/components/xt-card/index.js +8 -2
- package/src/components/xt-card-item/index.js +8 -2
- package/src/components/xt-config-provider/index.js +6 -0
- package/src/components/xt-flex-box/index.js +8 -2
- package/src/components/xt-flex-box/style/index.scss +0 -9
- package/src/components/xt-grid-box/index.js +8 -2
- package/src/components/xt-grid-item/index.js +7 -1
- package/src/components/xt-input/index.js +8 -2
- package/src/components/xt-input/index.vue +66 -37
- package/src/components/xt-input/style/index.scss +70 -13
- package/src/components/xt-map/adapters/amap.js +235 -0
- package/src/components/xt-map/adapters/baidu.js +254 -0
- package/src/components/xt-map/adapters/base.js +267 -0
- package/src/components/xt-map/adapters/index.js +29 -0
- package/src/components/xt-map/adapters/tianditu.js +242 -0
- package/src/components/xt-map/config/xt-map-config.js +197 -0
- package/src/components/xt-map/index.js +22 -0
- package/src/components/xt-map/index.vue +351 -0
- package/src/components/xt-map/loaders/script-loader.js +114 -0
- package/src/components/xt-map/provider.vue +200 -0
- package/src/components/xt-map/style/index.scss +77 -0
- package/src/components/xt-step-price/index.js +9 -0
- package/src/components/xt-step-price/index.vue +12 -10
- package/src/components/xt-step-price/style/index.scss +32 -24
- package/src/components/xt-step-price-item/index.js +6 -0
- package/src/components/xt-step-price-item/index.vue +13 -9
- package/src/components/xt-text/index.js +8 -2
- package/src/components/xt-time/index.js +6 -0
- package/src/index.js +6 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xt-element-ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.1",
|
|
4
4
|
"description": "基于 Vue 2.7 + ElementUI 的企业级组件库,提供丰富的自定义组件和扩展组件",
|
|
5
5
|
"main": "lib/index.common.js",
|
|
6
6
|
"module": "lib/index.esm.js",
|
|
@@ -36,7 +36,8 @@
|
|
|
36
36
|
"echarts": "^6.1.0",
|
|
37
37
|
"element-ui": "^2.15.14",
|
|
38
38
|
"sass": "^1.32.13",
|
|
39
|
-
"vue-server-renderer": "^2.7.14"
|
|
39
|
+
"vue-server-renderer": "^2.7.14",
|
|
40
|
+
"xt-element-ui": "^1.3.0"
|
|
40
41
|
},
|
|
41
42
|
"keywords": [
|
|
42
43
|
"vue",
|
|
@@ -60,7 +61,7 @@
|
|
|
60
61
|
"url": "https://github.com/JobWebNie/xt-element-ui/issues"
|
|
61
62
|
},
|
|
62
63
|
"homepage": "https://jobwebnie.github.io/xt-element-ui/",
|
|
63
|
-
|
|
64
|
+
"repository": {
|
|
64
65
|
"type": "git",
|
|
65
66
|
"url": "https://github.com/JobWebNie/xt-element-ui.git"
|
|
66
67
|
},
|
|
@@ -1,2 +1,8 @@
|
|
|
1
|
-
import ExDatePicker from './index.vue'
|
|
2
|
-
|
|
1
|
+
import ExDatePicker from './index.vue'
|
|
2
|
+
|
|
3
|
+
ExDatePicker.install = function (Vue) {
|
|
4
|
+
Vue.component(ExDatePicker.name, ExDatePicker)
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
export default ExDatePicker
|
|
8
|
+
export { ExDatePicker }
|
|
@@ -1,2 +1,8 @@
|
|
|
1
|
-
import ExSelectTree from './index.vue'
|
|
2
|
-
|
|
1
|
+
import ExSelectTree from './index.vue'
|
|
2
|
+
|
|
3
|
+
ExSelectTree.install = function (Vue) {
|
|
4
|
+
Vue.component(ExSelectTree.name, ExSelectTree)
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
export default ExSelectTree
|
|
8
|
+
export { ExSelectTree }
|
|
@@ -1,21 +1,31 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<button
|
|
2
|
+
<button
|
|
3
3
|
class="xt-button"
|
|
4
4
|
:class="[
|
|
5
|
-
type ?'xt-button--' + type: '',
|
|
5
|
+
type ? 'xt-button--' + type : '',
|
|
6
6
|
size ? 'xt-button--' + size : '',
|
|
7
7
|
{
|
|
8
|
-
'is-plain': plain,
|
|
8
|
+
'is-plain': plain,
|
|
9
9
|
'is-disabled': disabled,
|
|
10
|
-
'is-round': round
|
|
10
|
+
'is-round': round,
|
|
11
|
+
'is-circle': circle,
|
|
12
|
+
'is-dashed': dashed,
|
|
13
|
+
'is-text': text,
|
|
14
|
+
'is-link': link,
|
|
15
|
+
'is-loading': loading
|
|
11
16
|
}
|
|
12
|
-
]"
|
|
13
|
-
:disabled="disabled"
|
|
17
|
+
]"
|
|
18
|
+
:disabled="disabled || loading"
|
|
14
19
|
@click="handleClick"
|
|
15
20
|
>
|
|
16
|
-
<
|
|
21
|
+
<i v-if="loading" class="el-icon-loading"></i>
|
|
22
|
+
<i v-else-if="icon" :class="iconClass"></i>
|
|
23
|
+
<span v-if="$slots.default" class="xt-button__inner">
|
|
24
|
+
<slot></slot>
|
|
25
|
+
</span>
|
|
17
26
|
</button>
|
|
18
27
|
</template>
|
|
28
|
+
|
|
19
29
|
<script>
|
|
20
30
|
export default {
|
|
21
31
|
name: 'XtButton',
|
|
@@ -23,7 +33,7 @@ export default {
|
|
|
23
33
|
type: {
|
|
24
34
|
type: String,
|
|
25
35
|
default: '',
|
|
26
|
-
validator: (val) => ['', 'primary', 'success', 'warning', 'danger'].includes(val)
|
|
36
|
+
validator: (val) => ['', 'primary', 'success', 'warning', 'danger', 'info'].includes(val)
|
|
27
37
|
},
|
|
28
38
|
size: {
|
|
29
39
|
type: String,
|
|
@@ -41,14 +51,47 @@ export default {
|
|
|
41
51
|
round: {
|
|
42
52
|
type: Boolean,
|
|
43
53
|
default: false
|
|
54
|
+
},
|
|
55
|
+
circle: {
|
|
56
|
+
type: Boolean,
|
|
57
|
+
default: false
|
|
58
|
+
},
|
|
59
|
+
dashed: {
|
|
60
|
+
type: Boolean,
|
|
61
|
+
default: false
|
|
62
|
+
},
|
|
63
|
+
text: {
|
|
64
|
+
type: Boolean,
|
|
65
|
+
default: false
|
|
66
|
+
},
|
|
67
|
+
link: {
|
|
68
|
+
type: Boolean,
|
|
69
|
+
default: false
|
|
70
|
+
},
|
|
71
|
+
icon: {
|
|
72
|
+
type: String,
|
|
73
|
+
default: ''
|
|
74
|
+
},
|
|
75
|
+
loading: {
|
|
76
|
+
type: Boolean,
|
|
77
|
+
default: false
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
computed: {
|
|
81
|
+
iconClass() {
|
|
82
|
+
if (!this.icon) return ''
|
|
83
|
+
if (this.icon.indexOf('el-icon') === 0) {
|
|
84
|
+
return this.icon
|
|
85
|
+
}
|
|
86
|
+
return 'el-icon-' + this.icon
|
|
44
87
|
}
|
|
45
88
|
},
|
|
46
89
|
methods: {
|
|
47
90
|
handleClick() {
|
|
48
|
-
if (!this.disabled) {
|
|
91
|
+
if (!this.disabled && !this.loading) {
|
|
49
92
|
this.$emit('click')
|
|
50
93
|
}
|
|
51
94
|
}
|
|
52
95
|
}
|
|
53
96
|
}
|
|
54
|
-
</script>
|
|
97
|
+
</script>
|
|
@@ -300,29 +300,19 @@
|
|
|
300
300
|
|
|
301
301
|
&.is-disabled {
|
|
302
302
|
background-color: transparent !important;
|
|
303
|
+
color: var(--xt-button-disabled-text-color);
|
|
303
304
|
}
|
|
304
305
|
|
|
305
306
|
&:not(.is-disabled) {
|
|
306
307
|
&:hover {
|
|
307
|
-
background-color:
|
|
308
|
+
background-color: transparent;
|
|
309
|
+
color: var(--xt-button-hover-text-color);
|
|
310
|
+
border-color: transparent;
|
|
308
311
|
}
|
|
309
312
|
&:active {
|
|
310
|
-
background-color:
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
outline: 2px solid var(--xt-button-outline-color);
|
|
314
|
-
outline-offset: 1px;
|
|
315
|
-
transition: outline-offset 0s, outline 0s;
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
&.is-has-bg {
|
|
319
|
-
background-color: var(--xt-fill-color-light);
|
|
320
|
-
&:hover {
|
|
321
|
-
background-color: var(--xt-fill-color);
|
|
322
|
-
}
|
|
323
|
-
&:active {
|
|
324
|
-
background-color: var(--xt-fill-color-dark);
|
|
325
|
-
}
|
|
313
|
+
background-color: transparent;
|
|
314
|
+
color: var(--xt-button-active-text-color);
|
|
315
|
+
border-color: transparent;
|
|
326
316
|
}
|
|
327
317
|
}
|
|
328
318
|
}
|
|
@@ -350,18 +340,14 @@
|
|
|
350
340
|
}
|
|
351
341
|
}
|
|
352
342
|
|
|
353
|
-
//
|
|
343
|
+
// 纯文字按钮变体(与 is-text 语义一致,保留兼容)
|
|
354
344
|
&.xt-button--text {
|
|
355
345
|
border-color: transparent;
|
|
356
346
|
background: transparent;
|
|
357
347
|
color: var(--xt-color-primary);
|
|
358
|
-
padding-left: 0;
|
|
359
|
-
padding-right: 0;
|
|
360
348
|
|
|
361
349
|
&.is-disabled {
|
|
362
350
|
color: var(--xt-button-disabled-text-color);
|
|
363
|
-
background-color: transparent !important;
|
|
364
|
-
border-color: transparent !important;
|
|
365
351
|
}
|
|
366
352
|
&:not(.is-disabled) {
|
|
367
353
|
&:hover {
|
|
@@ -401,9 +387,7 @@
|
|
|
401
387
|
--xt-button-disabled-bg-color: var(--xt-color-primary-light-5);
|
|
402
388
|
--xt-button-disabled-border-color: var(--xt-color-primary-light-5);
|
|
403
389
|
|
|
404
|
-
&.is-plain
|
|
405
|
-
&.is-text,
|
|
406
|
-
&.is-link {
|
|
390
|
+
&.is-plain {
|
|
407
391
|
--xt-button-text-color: var(--xt-color-primary);
|
|
408
392
|
--xt-button-bg-color: var(--xt-color-primary-light-9);
|
|
409
393
|
--xt-button-border-color: var(--xt-color-primary-light-5);
|
|
@@ -411,13 +395,40 @@
|
|
|
411
395
|
--xt-button-hover-bg-color: var(--xt-color-primary);
|
|
412
396
|
--xt-button-hover-border-color: var(--xt-color-primary);
|
|
413
397
|
--xt-button-active-text-color: var(--xt-color-white);
|
|
414
|
-
|
|
398
|
+
--xt-button-active-bg-color: var(--xt-color-primary);
|
|
399
|
+
--xt-button-active-border-color: var(--xt-color-primary);
|
|
400
|
+
}
|
|
401
|
+
&.is-text {
|
|
402
|
+
--xt-button-text-color: var(--xt-color-primary);
|
|
403
|
+
--xt-button-hover-text-color: var(--xt-color-primary-light-3);
|
|
404
|
+
--xt-button-active-text-color: var(--xt-color-primary-dark-2);
|
|
405
|
+
--xt-button-bg-color: transparent;
|
|
406
|
+
--xt-button-border-color: transparent;
|
|
407
|
+
--xt-button-hover-bg-color: transparent;
|
|
408
|
+
--xt-button-active-bg-color: transparent;
|
|
409
|
+
}
|
|
410
|
+
&.is-link {
|
|
411
|
+
--xt-button-text-color: var(--xt-color-primary);
|
|
412
|
+
--xt-button-hover-text-color: var(--xt-color-primary-light-3);
|
|
413
|
+
--xt-button-active-text-color: var(--xt-color-primary-dark-2);
|
|
414
|
+
--xt-button-bg-color: transparent;
|
|
415
|
+
--xt-button-border-color: transparent;
|
|
416
|
+
--xt-button-hover-bg-color: transparent;
|
|
417
|
+
--xt-button-active-bg-color: transparent;
|
|
418
|
+
}
|
|
419
|
+
&.is-plain {
|
|
415
420
|
&.is-disabled {
|
|
416
421
|
color: var(--xt-color-primary-light-5);
|
|
417
422
|
background-color: var(--xt-color-primary-light-9);
|
|
418
423
|
border-color: var(--xt-color-primary-light-8);
|
|
419
424
|
}
|
|
420
425
|
}
|
|
426
|
+
&.is-text,
|
|
427
|
+
&.is-link {
|
|
428
|
+
&.is-disabled {
|
|
429
|
+
color: var(--xt-color-primary-light-5);
|
|
430
|
+
}
|
|
431
|
+
}
|
|
421
432
|
|
|
422
433
|
&.is-dashed {
|
|
423
434
|
--xt-button-text-color: var(--xt-color-primary);
|
|
@@ -455,9 +466,7 @@
|
|
|
455
466
|
--xt-button-disabled-bg-color: var(--xt-color-success-light-5);
|
|
456
467
|
--xt-button-disabled-border-color: var(--xt-color-success-light-5);
|
|
457
468
|
|
|
458
|
-
&.is-plain
|
|
459
|
-
&.is-text,
|
|
460
|
-
&.is-link {
|
|
469
|
+
&.is-plain {
|
|
461
470
|
--xt-button-text-color: var(--xt-color-success);
|
|
462
471
|
--xt-button-bg-color: var(--xt-color-success-light-9);
|
|
463
472
|
--xt-button-border-color: var(--xt-color-success-light-5);
|
|
@@ -465,13 +474,40 @@
|
|
|
465
474
|
--xt-button-hover-bg-color: var(--xt-color-success);
|
|
466
475
|
--xt-button-hover-border-color: var(--xt-color-success);
|
|
467
476
|
--xt-button-active-text-color: var(--xt-color-white);
|
|
468
|
-
|
|
477
|
+
--xt-button-active-bg-color: var(--xt-color-success);
|
|
478
|
+
--xt-button-active-border-color: var(--xt-color-success);
|
|
479
|
+
}
|
|
480
|
+
&.is-text {
|
|
481
|
+
--xt-button-text-color: var(--xt-color-success);
|
|
482
|
+
--xt-button-hover-text-color: var(--xt-color-success-light-3);
|
|
483
|
+
--xt-button-active-text-color: var(--xt-color-success-dark-2);
|
|
484
|
+
--xt-button-bg-color: transparent;
|
|
485
|
+
--xt-button-border-color: transparent;
|
|
486
|
+
--xt-button-hover-bg-color: transparent;
|
|
487
|
+
--xt-button-active-bg-color: transparent;
|
|
488
|
+
}
|
|
489
|
+
&.is-link {
|
|
490
|
+
--xt-button-text-color: var(--xt-color-success);
|
|
491
|
+
--xt-button-hover-text-color: var(--xt-color-success-light-3);
|
|
492
|
+
--xt-button-active-text-color: var(--xt-color-success-dark-2);
|
|
493
|
+
--xt-button-bg-color: transparent;
|
|
494
|
+
--xt-button-border-color: transparent;
|
|
495
|
+
--xt-button-hover-bg-color: transparent;
|
|
496
|
+
--xt-button-active-bg-color: transparent;
|
|
497
|
+
}
|
|
498
|
+
&.is-plain {
|
|
469
499
|
&.is-disabled {
|
|
470
500
|
color: var(--xt-color-success-light-5);
|
|
471
501
|
background-color: var(--xt-color-success-light-9);
|
|
472
502
|
border-color: var(--xt-color-success-light-8);
|
|
473
503
|
}
|
|
474
504
|
}
|
|
505
|
+
&.is-text,
|
|
506
|
+
&.is-link {
|
|
507
|
+
&.is-disabled {
|
|
508
|
+
color: var(--xt-color-success-light-5);
|
|
509
|
+
}
|
|
510
|
+
}
|
|
475
511
|
|
|
476
512
|
&.is-dashed {
|
|
477
513
|
--xt-button-text-color: var(--xt-color-success);
|
|
@@ -509,9 +545,7 @@
|
|
|
509
545
|
--xt-button-disabled-bg-color: var(--xt-color-warning-light-5);
|
|
510
546
|
--xt-button-disabled-border-color: var(--xt-color-warning-light-5);
|
|
511
547
|
|
|
512
|
-
&.is-plain
|
|
513
|
-
&.is-text,
|
|
514
|
-
&.is-link {
|
|
548
|
+
&.is-plain {
|
|
515
549
|
--xt-button-text-color: var(--xt-color-warning);
|
|
516
550
|
--xt-button-bg-color: var(--xt-color-warning-light-9);
|
|
517
551
|
--xt-button-border-color: var(--xt-color-warning-light-5);
|
|
@@ -519,13 +553,38 @@
|
|
|
519
553
|
--xt-button-hover-bg-color: var(--xt-color-warning);
|
|
520
554
|
--xt-button-hover-border-color: var(--xt-color-warning);
|
|
521
555
|
--xt-button-active-text-color: var(--xt-color-white);
|
|
522
|
-
|
|
556
|
+
--xt-button-active-bg-color: var(--xt-color-warning);
|
|
557
|
+
--xt-button-active-border-color: var(--xt-color-warning);
|
|
523
558
|
&.is-disabled {
|
|
524
559
|
color: var(--xt-color-warning-light-5);
|
|
525
560
|
background-color: var(--xt-color-warning-light-9);
|
|
526
561
|
border-color: var(--xt-color-warning-light-8);
|
|
527
562
|
}
|
|
528
563
|
}
|
|
564
|
+
&.is-text {
|
|
565
|
+
--xt-button-text-color: var(--xt-color-warning);
|
|
566
|
+
--xt-button-hover-text-color: var(--xt-color-warning-light-3);
|
|
567
|
+
--xt-button-active-text-color: var(--xt-color-warning-dark-2);
|
|
568
|
+
--xt-button-bg-color: transparent;
|
|
569
|
+
--xt-button-border-color: transparent;
|
|
570
|
+
--xt-button-hover-bg-color: transparent;
|
|
571
|
+
--xt-button-active-bg-color: transparent;
|
|
572
|
+
&.is-disabled {
|
|
573
|
+
color: var(--xt-color-warning-light-5);
|
|
574
|
+
}
|
|
575
|
+
}
|
|
576
|
+
&.is-link {
|
|
577
|
+
--xt-button-text-color: var(--xt-color-warning);
|
|
578
|
+
--xt-button-hover-text-color: var(--xt-color-warning-light-3);
|
|
579
|
+
--xt-button-active-text-color: var(--xt-color-warning-dark-2);
|
|
580
|
+
--xt-button-bg-color: transparent;
|
|
581
|
+
--xt-button-border-color: transparent;
|
|
582
|
+
--xt-button-hover-bg-color: transparent;
|
|
583
|
+
--xt-button-active-bg-color: transparent;
|
|
584
|
+
&.is-disabled {
|
|
585
|
+
color: var(--xt-color-warning-light-5);
|
|
586
|
+
}
|
|
587
|
+
}
|
|
529
588
|
|
|
530
589
|
&.is-dashed {
|
|
531
590
|
--xt-button-text-color: var(--xt-color-warning);
|
|
@@ -563,9 +622,7 @@
|
|
|
563
622
|
--xt-button-disabled-bg-color: var(--xt-color-danger-light-5);
|
|
564
623
|
--xt-button-disabled-border-color: var(--xt-color-danger-light-5);
|
|
565
624
|
|
|
566
|
-
&.is-plain
|
|
567
|
-
&.is-text,
|
|
568
|
-
&.is-link {
|
|
625
|
+
&.is-plain {
|
|
569
626
|
--xt-button-text-color: var(--xt-color-danger);
|
|
570
627
|
--xt-button-bg-color: var(--xt-color-danger-light-9);
|
|
571
628
|
--xt-button-border-color: var(--xt-color-danger-light-5);
|
|
@@ -573,13 +630,38 @@
|
|
|
573
630
|
--xt-button-hover-bg-color: var(--xt-color-danger);
|
|
574
631
|
--xt-button-hover-border-color: var(--xt-color-danger);
|
|
575
632
|
--xt-button-active-text-color: var(--xt-color-white);
|
|
576
|
-
|
|
633
|
+
--xt-button-active-bg-color: var(--xt-color-danger);
|
|
634
|
+
--xt-button-active-border-color: var(--xt-color-danger);
|
|
577
635
|
&.is-disabled {
|
|
578
636
|
color: var(--xt-color-danger-light-5);
|
|
579
637
|
background-color: var(--xt-color-danger-light-9);
|
|
580
638
|
border-color: var(--xt-color-danger-light-8);
|
|
581
639
|
}
|
|
582
640
|
}
|
|
641
|
+
&.is-text {
|
|
642
|
+
--xt-button-text-color: var(--xt-color-danger);
|
|
643
|
+
--xt-button-hover-text-color: var(--xt-color-danger-light-3);
|
|
644
|
+
--xt-button-active-text-color: var(--xt-color-danger-dark-2);
|
|
645
|
+
--xt-button-bg-color: transparent;
|
|
646
|
+
--xt-button-border-color: transparent;
|
|
647
|
+
--xt-button-hover-bg-color: transparent;
|
|
648
|
+
--xt-button-active-bg-color: transparent;
|
|
649
|
+
&.is-disabled {
|
|
650
|
+
color: var(--xt-color-danger-light-5);
|
|
651
|
+
}
|
|
652
|
+
}
|
|
653
|
+
&.is-link {
|
|
654
|
+
--xt-button-text-color: var(--xt-color-danger);
|
|
655
|
+
--xt-button-hover-text-color: var(--xt-color-danger-light-3);
|
|
656
|
+
--xt-button-active-text-color: var(--xt-color-danger-dark-2);
|
|
657
|
+
--xt-button-bg-color: transparent;
|
|
658
|
+
--xt-button-border-color: transparent;
|
|
659
|
+
--xt-button-hover-bg-color: transparent;
|
|
660
|
+
--xt-button-active-bg-color: transparent;
|
|
661
|
+
&.is-disabled {
|
|
662
|
+
color: var(--xt-color-danger-light-5);
|
|
663
|
+
}
|
|
664
|
+
}
|
|
583
665
|
|
|
584
666
|
&.is-dashed {
|
|
585
667
|
--xt-button-text-color: var(--xt-color-danger);
|
|
@@ -617,9 +699,7 @@
|
|
|
617
699
|
--xt-button-disabled-bg-color: var(--xt-color-info-light-5);
|
|
618
700
|
--xt-button-disabled-border-color: var(--xt-color-info-light-5);
|
|
619
701
|
|
|
620
|
-
&.is-plain
|
|
621
|
-
&.is-text,
|
|
622
|
-
&.is-link {
|
|
702
|
+
&.is-plain {
|
|
623
703
|
--xt-button-text-color: var(--xt-color-info);
|
|
624
704
|
--xt-button-bg-color: var(--xt-color-info-light-9);
|
|
625
705
|
--xt-button-border-color: var(--xt-color-info-light-5);
|
|
@@ -627,14 +707,38 @@
|
|
|
627
707
|
--xt-button-hover-bg-color: var(--xt-color-info);
|
|
628
708
|
--xt-button-hover-border-color: var(--xt-color-info);
|
|
629
709
|
--xt-button-active-text-color: var(--xt-color-white);
|
|
630
|
-
|
|
710
|
+
--xt-button-active-bg-color: var(--xt-color-info);
|
|
711
|
+
--xt-button-active-border-color: var(--xt-color-info);
|
|
631
712
|
&.is-disabled {
|
|
632
713
|
color: var(--xt-color-info-light-5);
|
|
633
714
|
background-color: var(--xt-color-info-light-9);
|
|
634
715
|
border-color: var(--xt-color-info-light-8);
|
|
635
716
|
}
|
|
636
717
|
}
|
|
637
|
-
|
|
718
|
+
&.is-text {
|
|
719
|
+
--xt-button-text-color: var(--xt-color-info);
|
|
720
|
+
--xt-button-hover-text-color: var(--xt-color-info-light-3);
|
|
721
|
+
--xt-button-active-text-color: var(--xt-color-info-dark-2);
|
|
722
|
+
--xt-button-bg-color: transparent;
|
|
723
|
+
--xt-button-border-color: transparent;
|
|
724
|
+
--xt-button-hover-bg-color: transparent;
|
|
725
|
+
--xt-button-active-bg-color: transparent;
|
|
726
|
+
&.is-disabled {
|
|
727
|
+
color: var(--xt-color-info-light-5);
|
|
728
|
+
}
|
|
729
|
+
}
|
|
730
|
+
&.is-link {
|
|
731
|
+
--xt-button-text-color: var(--xt-color-info);
|
|
732
|
+
--xt-button-hover-text-color: var(--xt-color-info-light-3);
|
|
733
|
+
--xt-button-active-text-color: var(--xt-color-info-dark-2);
|
|
734
|
+
--xt-button-bg-color: transparent;
|
|
735
|
+
--xt-button-border-color: transparent;
|
|
736
|
+
--xt-button-hover-bg-color: transparent;
|
|
737
|
+
--xt-button-active-bg-color: transparent;
|
|
738
|
+
&.is-disabled {
|
|
739
|
+
color: var(--xt-color-info-light-5);
|
|
740
|
+
}
|
|
741
|
+
}
|
|
638
742
|
&.is-dashed {
|
|
639
743
|
--xt-button-text-color: var(--xt-color-info);
|
|
640
744
|
--xt-button-bg-color: var(--xt-color-info-light-9);
|
|
@@ -4,15 +4,6 @@
|
|
|
4
4
|
display: flex;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
|
-
.xt-flex-box.flex.direction-row > .flex,
|
|
8
|
-
.xt-flex-box.flex.direction-row-reverse > .flex {
|
|
9
|
-
width: 100%;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.xt-flex-box.flex.direction-column > .flex,
|
|
13
|
-
.xt-flex-box.flex.direction-column-reverse > .flex {
|
|
14
|
-
height: 100%;
|
|
15
|
-
}
|
|
16
7
|
|
|
17
8
|
.xt-flex-box.is-inline {
|
|
18
9
|
display: inline-flex;
|