kui-vue 3.2.2 → 3.2.3-rc1

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.
Files changed (79) hide show
  1. package/components/affix/index.md +6 -5
  2. package/components/alert/styles/index.less +13 -8
  3. package/components/badge/styles/index.less +1 -2
  4. package/components/base/pop.jsx +1 -1
  5. package/components/breadcrumb/styles/index.less +2 -2
  6. package/components/button/demo/hollow.md +1 -1
  7. package/components/button/styles/index.less +5 -5
  8. package/components/card/demo/border.md +1 -1
  9. package/components/card/styles/index.less +4 -3
  10. package/components/checkbox/checkbox.jsx +4 -2
  11. package/components/checkbox/styles/index.less +44 -43
  12. package/components/collapse/styles/index.less +3 -10
  13. package/components/colorPicker/styles/index.less +5 -3
  14. package/components/datePicker/styles/calendar.less +6 -5
  15. package/components/datePicker/styles/datepicker.less +3 -3
  16. package/components/divider/styles/index.less +7 -6
  17. package/components/drawer/drawer.jsx +10 -8
  18. package/components/drawer/styles/index.less +2 -1
  19. package/components/dropdown/demo/rightmenu.md +2 -3
  20. package/components/dropdown/styles/index.less +2 -2
  21. package/components/empty/styles/index.less +1 -1
  22. package/components/form/styles/index.less +1 -0
  23. package/components/grid/demo/align.md +3 -3
  24. package/components/grid/demo/fill.md +3 -3
  25. package/components/grid/demo/flex.md +5 -5
  26. package/components/grid/demo/index.vue +0 -1
  27. package/components/icon/demo/search.vue +2 -2
  28. package/components/image/instance.js +1 -1
  29. package/components/image/preview.jsx +50 -20
  30. package/components/image/styles/index.less +7 -5
  31. package/components/index.js +1 -1
  32. package/components/input/styles/index.less +2 -1
  33. package/components/layout/demo/base.md +3 -4
  34. package/components/layout/demo/layout1.md +4 -4
  35. package/components/layout/demo/layout2.md +5 -6
  36. package/components/layout/demo/layout3.md +3 -4
  37. package/components/layout/demo/layout4.md +4 -4
  38. package/components/layout/demo/layout5.md +8 -8
  39. package/components/layout/demo/layout6.md +2 -2
  40. package/components/layout/styles/index.less +2 -3
  41. package/components/loading/styles/index.less +1 -1
  42. package/components/menu/styles/dropmenu.less +7 -6
  43. package/components/menu/styles/index.less +13 -9
  44. package/components/message/styles/index.less +1 -1
  45. package/components/modal/modal.jsx +10 -8
  46. package/components/modal/styles/index.less +7 -6
  47. package/components/notice/styles/index.less +1 -1
  48. package/components/page/styles/index.less +1 -1
  49. package/components/popconfirm/styles/index.less +3 -2
  50. package/components/poptip/styles/index.less +4 -3
  51. package/components/progress/styles/index.less +3 -3
  52. package/components/radio/radio.jsx +3 -5
  53. package/components/radio/styles/index.less +56 -54
  54. package/components/rate/index.md +3 -3
  55. package/components/rate/styles/index.less +1 -1
  56. package/components/select/styles/index.less +8 -7
  57. package/components/spin/demo/container.md +1 -2
  58. package/components/spin/demo/mode.md +1 -2
  59. package/components/spin/styles/index.less +1 -1
  60. package/components/styles/dark.less +67 -0
  61. package/components/styles/global-dark.less +36 -0
  62. package/components/styles/global.less +22 -12
  63. package/components/styles/index.less +5 -10
  64. package/components/switch/styles/index.less +4 -3
  65. package/components/table/demo/base-render.md +1 -1
  66. package/components/table/demo/base.md +5 -2
  67. package/components/table/styles/index.less +11 -7
  68. package/components/table/table.jsx +10 -7
  69. package/components/tabs/demo/sample.md +1 -1
  70. package/components/tabs/styles/index.less +7 -10
  71. package/components/tag/styles/index.less +40 -39
  72. package/components/timeline/styles/index.less +3 -2
  73. package/components/tooltip/styles/index.less +22 -3
  74. package/components/tree/styles/index.less +8 -8
  75. package/dist/k-ui-dark.css +1 -0
  76. package/dist/k-ui.css +1 -7
  77. package/dist/k-ui.js +2 -2
  78. package/package.json +10 -9
  79. package/components/styles.js +0 -43
@@ -8,9 +8,10 @@
8
8
  font-size: 14px;
9
9
  position: relative;
10
10
  zoom: 1;
11
- background: #fff;
11
+ // background: @back-color;
12
12
  list-style: none;
13
- transition: background .3s cubic-bezier(.645, .045, .355, 1), width .3s cubic-bezier(.645, .045, .355, 1);
13
+ color: @color;
14
+ transition: background-color .3s cubic-bezier(.645, .045, .355, 1), width .3s cubic-bezier(.645, .045, .355, 1);
14
15
  ol, ul, li {
15
16
  list-style: none !important;
16
17
  margin: 0;
@@ -24,7 +25,7 @@
24
25
  margin: 4px 0;
25
26
  overflow: hidden;
26
27
  line-height: 0;
27
- background-color: #e8e8e8;
28
+ background-color: @border-color;
28
29
  }
29
30
  .k-menu-item-icon, .k-menu-submenu-inner .k-icon {
30
31
  margin-right: 8px;
@@ -303,6 +304,7 @@
303
304
  }
304
305
  .k-menu-item-active, .k-menu-item-selected {
305
306
  color: @main;
307
+ background-color: @hover-color;
306
308
  a {
307
309
  color: @main;
308
310
  }
@@ -315,19 +317,20 @@
315
317
  &.k-menu-horizontal {
316
318
  >.k-menu-item-selected, >.k-menu-submenu-selected, >.k-menu-item-active, >.k-menu-submenu-active {
317
319
  border-bottom-color: @main;
320
+ background-color: transparent;
318
321
  }
319
322
  .k-menu-submenu {
320
323
  .k-menu-item-selected {
321
- background-color: tint(@main, 90%);
324
+ background-color: @selected-color;
322
325
  }
323
326
  }
324
327
  }
325
328
  &.k-menu-inline {
326
329
  .k-menu-submenu-popup .k-menu {
327
- background-color: #f8f8f8;
330
+ background-color: fadeout(@border-color, 80%);
328
331
  }
329
332
  .k-menu-item-selected {
330
- background-color: tint(@main, 90%);
333
+ background-color: @selected-color;
331
334
  &::after {
332
335
  top: 0;
333
336
  height: 100%;
@@ -337,7 +340,7 @@
337
340
  &.k-menu-vertical {
338
341
  border-right: 1px solid @border-color;
339
342
  .k-menu-item-selected {
340
- background-color: tint(@main, 90%);
343
+ background-color: @selected-color;
341
344
  }
342
345
  .k-menu-submenu-affix-item-active {
343
346
  .k-menu-submenu-affix-item-text {
@@ -358,7 +361,7 @@
358
361
  }
359
362
  }
360
363
  &-dark {
361
- background-color: @dark-back;
364
+ background-color: @dark-back !important;
362
365
  color: @color-light;
363
366
  .k-menu-item-group-title {
364
367
  font-size: 12px;
@@ -387,7 +390,7 @@
387
390
  }
388
391
  }
389
392
  .k-menu-inline {
390
- background-color: #161f29;
393
+ background-color: #161f29 !important;
391
394
  }
392
395
  &.k-menu-vertical {
393
396
  border-right: 0;
@@ -491,6 +494,7 @@
491
494
  margin: 0;
492
495
  box-shadow: 0 1px 6px rgba(0, 0, 0, .2);
493
496
  border-radius: @radius;
497
+ background-color: @back-color;
494
498
  >.k-menu-item {
495
499
  line-height: 40px;
496
500
  &:first-child {
@@ -25,7 +25,7 @@
25
25
  padding: 10px 16px;
26
26
  border-radius: @radius;
27
27
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
28
- background: #fff;
28
+ background: @back-color;
29
29
  display: inline-block;
30
30
  pointer-events: all;
31
31
  align-items: center;
@@ -66,25 +66,27 @@ export default {
66
66
  this.resetBodyStyle(visible)
67
67
  },
68
68
  resetBodyStyle(opened) {
69
+ let target = document.body;
69
70
  if (!this.show && !cacheBodyOverflow.hasOwnProperty('overflow')) {
70
71
  cacheBodyOverflow = {
71
- width: document.body.width,
72
- overflow: document.body.overflow,
73
- overflowX: document.body.overflowX,
74
- overflowY: document.body.overflowY,
72
+ width: target.width,
73
+ overflow: target.overflow,
74
+ overflowX: target.overflowX,
75
+ overflowY: target.overflowY,
75
76
  }
76
77
  }
77
78
  if (opened) {
78
79
  let barWidth = measureScrollBar(true)
79
- if (barWidth) {
80
- document.body.style.width = `calc(100% - ${barWidth}px)`
81
- document.body.style.overflow = `hidden`
80
+ let hasBar = target.scrollHeight > target.clientHeight || target.offsetHeight > target.clientHeight
81
+ if (barWidth && hasBar) {
82
+ target.style.width = `calc(100% - ${barWidth}px)`
83
+ target.style.overflow = `hidden`
82
84
  }
83
85
  } else {
84
86
  setTimeout(() => {
85
87
  let task = (this.tasks && this.tasks.length == 0) || !this.tasks
86
88
  task && Object.keys(cacheBodyOverflow).forEach(key => {
87
- document.body.style[key] = cacheBodyOverflow[key] || ''
89
+ target.style[key] = cacheBodyOverflow[key] || ''
88
90
  delete cacheBodyOverflow[key]
89
91
  })
90
92
  }, 300)
@@ -1,5 +1,6 @@
1
1
  @import '../../styles/global.less';
2
2
  .k-modal {
3
+ color: @color;
3
4
  .k-modal-wrap {
4
5
  position: fixed;
5
6
  top: 0;
@@ -24,7 +25,7 @@
24
25
  }
25
26
  .k-modal-inner {
26
27
  position: relative;
27
- background-color: #fff;
28
+ background-color: @back-color;
28
29
  z-index: 1001;
29
30
  outline: 0;
30
31
  border-radius: @radius;
@@ -32,7 +33,7 @@
32
33
  overflow: hidden;
33
34
  margin: 0 auto;
34
35
  box-shadow: 0 0 10px 3px rgba(55, 55, 55, .2);
35
- width: 520px; // animation: fadeIn .5s ease-in-out;
36
+ width: 520px; // animation: darken .5s ease-in-out;
36
37
  }
37
38
  .k-modal-content {
38
39
  position: relative;
@@ -62,7 +63,7 @@
62
63
  }
63
64
  }
64
65
  .k-modal-header {
65
- border-bottom: 1px solid #e9eaec;
66
+ border-bottom: 1px solid @border-color;
66
67
  padding: 14px 16px;
67
68
  line-height: 1;
68
69
  font-size: 14px;
@@ -84,7 +85,7 @@
84
85
  box-sizing: border-box;
85
86
  }
86
87
  .k-modal-footer {
87
- border-top: 1px solid #e9eaec;
88
+ border-top: 1px solid @border-color;
88
89
  padding: 6px 16px;
89
90
  text-align: right;
90
91
  display: inline-block;
@@ -145,7 +146,7 @@
145
146
  width: 100%;
146
147
  bottom: 0;
147
148
  left: 0;
148
- background: #fff;
149
+ background: @back-color;
149
150
  }
150
151
  }
151
152
  }
@@ -153,7 +154,7 @@
153
154
  .k-toast {
154
155
  .k-modal-inner {
155
156
  width: 416px;
156
- background: #fff;
157
+ background: @back-color;
157
158
  border-radius: @radius;
158
159
  padding: 16px;
159
160
  overflow: hidden;
@@ -23,7 +23,7 @@
23
23
  border-radius: @radius;
24
24
  -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
25
25
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
26
- background: #fff;
26
+ background: @back-color;
27
27
  line-height: 1.5;
28
28
  position: relative;
29
29
  margin-bottom: 16px;
@@ -9,7 +9,7 @@
9
9
  display: inline-block;
10
10
  vertical-align: middle;
11
11
  .k-pager-item {
12
- background: #fff;
12
+ background: transparent;
13
13
  color: @color;
14
14
  min-width: 30px;
15
15
  height: 30px;
@@ -11,8 +11,9 @@
11
11
  line-height: 1.5;
12
12
  position: absolute;
13
13
  z-index: 1001;
14
+ color: @color;
14
15
  .k-popconfirm-inner {
15
- background: #fff;
16
+ background: @back-color;
16
17
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
17
18
  border-radius: @radius;
18
19
  }
@@ -44,7 +45,7 @@
44
45
  align-items: center;
45
46
  width: 19px;
46
47
  .k-popconfirm-arrow-content {
47
- background-color: #fff;
48
+ background-color: @back-color;
48
49
  transform: rotate(45deg);
49
50
  width: 12px;
50
51
  height: 12px;
@@ -7,13 +7,14 @@
7
7
  .k-poptip-content {
8
8
  min-width: 200px;
9
9
  // max-width: 300px;
10
+ color: @color;
10
11
  font-size: 12px;
11
12
  line-height: 1.5;
12
13
  position: absolute;
13
14
  z-index: 1001;
14
15
  transform: translateZ(0);
15
16
  .k-poptip-inner {
16
- background: #fff;
17
+ background: @back-color;
17
18
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
18
19
  border-radius: @radius;
19
20
  }
@@ -28,7 +29,7 @@
28
29
  margin: 0;
29
30
  padding: 8px 16px;
30
31
  position: relative;
31
- border-bottom: 1px solid #eee;
32
+ border-bottom: 1px solid darken(@back-color,5%);
32
33
  text-overflow: ellipsis;
33
34
  overflow: hidden;
34
35
  }
@@ -41,7 +42,7 @@
41
42
  align-items: center;
42
43
  width: 19px;
43
44
  .k-poptip-arrow-content {
44
- background-color: #fff;
45
+ background-color: @back-color;
45
46
  transform: rotate(45deg);
46
47
  width: 12px;
47
48
  height: 12px;
@@ -3,8 +3,8 @@
3
3
  .k-progress-inner {
4
4
  display: inline-block;
5
5
  border-radius: 10px;
6
- background-color: @disable-back;
7
- stroke: @disable-back;
6
+ background-color: fadeout(@border-color, 50%);
7
+ stroke: fadeout(@border-color, 50%);
8
8
  overflow: hidden;
9
9
  vertical-align: middle;
10
10
  width: calc(100% - 38px);
@@ -96,7 +96,7 @@
96
96
  top: 0;
97
97
  width: 0;
98
98
  height: 100%;
99
- background-color: #fff;
99
+ background-color: @back-color;
100
100
  opacity: 0;
101
101
  border-radius: 10px;
102
102
  animation: k-progress-active 2.4s linear infinite;
@@ -53,15 +53,13 @@ export default {
53
53
  }
54
54
  }
55
55
  const wpclasses = [
56
- "k-radio-wrapper", { ["k-radio-disabled"]: disabled }
57
- ];
58
- const classes = [
59
- "k-radio", { ["k-radio-checked"]: checked }
56
+ "k-radio-wrapper", { ["k-radio-disabled"]: disabled, ["k-radio-checked"]: checked }
60
57
  ];
58
+
61
59
  const labelNode = label || $slots.default
62
60
  return (
63
61
  <label class={wpclasses} onClick={e => e.stopPropagation()}>
64
- <span class={classes}>
62
+ <span class="k-radio">
65
63
  <input type="radio" class="k-radio-input" disabled={disabled} checked={checked} onChange={change} />
66
64
  <span class="k-radio-inner"></span>
67
65
  </span>
@@ -1,7 +1,7 @@
1
1
  @import '../../styles/global.less';
2
2
  .k-radio-group {
3
3
  display: inline-block;
4
- font-size: 0;
4
+ // font-size: 0;
5
5
  // vertical-align: middle;
6
6
  white-space: nowrap;
7
7
  .k-btn {
@@ -49,6 +49,7 @@
49
49
  font-size: 12px;
50
50
  display: inline-block;
51
51
  line-height: 1;
52
+ color: @color;
52
53
  .k-radio {
53
54
  display: inline-block;
54
55
  vertical-align: middle;
@@ -59,64 +60,50 @@
59
60
  position: relative;
60
61
  margin: 0;
61
62
  font-size: 0;
62
- .k-radio-inner {
63
+ }
64
+ .k-radio-inner {
65
+ box-sizing: content-box;
66
+ display: inline-block;
67
+ width: 14px;
68
+ height: 14px;
69
+ position: relative;
70
+ top: 0;
71
+ left: 0;
72
+ border: 1px solid @border-color;
73
+ border-radius: 2px;
74
+ background-color: @back-color;
75
+ transition: border-color .2s ease-in-out, background-color .2s ease-in-out;
76
+ border-radius: 50%;
77
+ &:after {
63
78
  box-sizing: content-box;
64
- display: inline-block;
65
- width: 14px;
66
- height: 14px;
67
- position: relative;
68
- top: 0;
69
- left: 0;
70
- border: 1px solid @border-color;
71
- border-radius: 2px;
72
- background-color: #fff;
73
- transition: border-color .2s ease-in-out, background-color .2s ease-in-out;
74
- border-radius: 50%;
75
- &:after {
76
- box-sizing: content-box;
77
- width: 4px;
78
- height: 4px;
79
- position: absolute;
80
- left: 5px;
81
- top: 5px;
82
- border-radius: 6px;
83
- display: block;
84
- content: " ";
85
- opacity: 0;
86
- background-color: @main;
87
- transition: all .2s ease-in-out;
88
- }
89
- }
90
- .k-radio-input {
91
- width: 100%;
92
- height: 100%;
79
+ width: 4px;
80
+ height: 4px;
93
81
  position: absolute;
94
- top: 0;
95
- bottom: 0;
96
- left: 0;
97
- right: 0;
98
- z-index: 1;
99
- cursor: pointer;
82
+ left: 5px;
83
+ top: 5px;
84
+ border-radius: 6px;
85
+ display: block;
86
+ content: " ";
100
87
  opacity: 0;
101
- &:focus {
102
- +.k-radio-inner {
103
- border: 1px solid @main;
104
- box-shadow: 0 0 5px fade(@main, 75%);
105
- }
106
- }
88
+ background-color: @main;
89
+ transition: all .2s ease-in-out;
107
90
  }
108
91
  }
109
- .k-radio-checked {
110
- .k-radio-inner {
111
- background: #fff;
112
- border-color: @main;
113
- position: relative;
114
- &:after {
115
- opacity: 1;
116
- width: 8px;
117
- height: 8px;
118
- left: 3px;
119
- top: 3px;
92
+ .k-radio-input {
93
+ width: 100%;
94
+ height: 100%;
95
+ position: absolute;
96
+ top: 0;
97
+ bottom: 0;
98
+ left: 0;
99
+ right: 0;
100
+ z-index: 1;
101
+ cursor: pointer;
102
+ opacity: 0;
103
+ &:focus {
104
+ +.k-radio-inner {
105
+ border: 1px solid @main;
106
+ box-shadow: 0 0 5px fade(@main, 75%);
120
107
  }
121
108
  }
122
109
  }
@@ -126,6 +113,21 @@
126
113
  }
127
114
  }
128
115
 
116
+ .k-radio-checked {
117
+ .k-radio-inner {
118
+ background: @back-color;
119
+ border-color: @main;
120
+ position: relative;
121
+ &:after {
122
+ opacity: 1;
123
+ width: 8px;
124
+ height: 8px;
125
+ left: 3px;
126
+ top: 3px;
127
+ }
128
+ }
129
+ }
130
+
129
131
  .k-radio-disabled {
130
132
  cursor: not-allowed;
131
133
  // opacity: .5;
@@ -1,12 +1,12 @@
1
1
  ### Rate API
2
2
  | 属性 | 说明 | 类型 | 默认值 |
3
- |----------------|------------------------|-------------------------|--------|
3
+ | -------------- | ---------------------- | ----------------------- | ------ |
4
4
  | value(v-model) | 当前数,受控值 | Number | - |
5
5
  | allowClear | 是否允许再次点击后清除 | Boolean | false |
6
6
  | allowHalf | 是否允许半选 | Boolean | - |
7
7
  | showScore | 是否显示分数 | Boolean | - |
8
8
  | character | 自定义字符 | String | - |
9
- | count | star 总数 | String | - |
9
+ | count | star 总数 | Number | - |
10
10
  | disabled | 只读,无法进行交互 | String | - |
11
11
  | tooltips | 自定义每项的提示信息 | String[] | - |
12
- | chnage | 选择时的回调 | Function(value:number)) | - |
12
+ | change | 选择时的回调 | Function(value:number)) | - |
@@ -19,7 +19,7 @@
19
19
  opacity: 0;
20
20
  }
21
21
  .k-star-back {
22
- color: #ddd;
22
+ color: @border-color;
23
23
  }
24
24
  }
25
25
  .k-star-checked {
@@ -6,7 +6,7 @@
6
6
  min-width: 80px;
7
7
  box-sizing: border-box;
8
8
  vertical-align: middle;
9
- color: #495060;
9
+ color: @color;
10
10
  font-size: 12px;
11
11
  position: relative;
12
12
  outline: none;
@@ -27,7 +27,6 @@
27
27
  user-select: none;
28
28
  cursor: pointer;
29
29
  position: relative;
30
- background-color: #fff;
31
30
  border: 1px solid @border-color;
32
31
  min-height: 32px;
33
32
  position: relative;
@@ -50,6 +49,7 @@
50
49
  background: none;
51
50
  outline: none;
52
51
  font-size: 12px;
52
+ color: @color;
53
53
  }
54
54
  }
55
55
  &-labels {
@@ -183,7 +183,7 @@
183
183
  width: inherit;
184
184
  max-height: 200px;
185
185
  overflow: auto;
186
- background-color: #fff;
186
+ background-color: @back-color;
187
187
  box-sizing: border-box;
188
188
  box-shadow: 0 1px 6px rgba(0, 0, 0, .2);
189
189
  position: absolute;
@@ -209,7 +209,7 @@
209
209
  line-height: normal;
210
210
  padding: 7px 16px;
211
211
  clear: both;
212
- color: #495060;
212
+ color: @color;
213
213
  font-size: 12px !important;
214
214
  white-space: nowrap;
215
215
  list-style: none;
@@ -220,7 +220,7 @@
220
220
  cursor: pointer;
221
221
  position: relative;
222
222
  &:hover {
223
- background: @light;
223
+ background: @hover-color;
224
224
  }
225
225
  .k-icon {
226
226
  position: absolute;
@@ -237,11 +237,11 @@
237
237
  }
238
238
  }
239
239
  .k-select-item-selected {
240
- background: tint(@main, 90%);
240
+ background: @selected-color;
241
241
  color: @main;
242
242
  font-weight: 500;
243
243
  &:hover {
244
- background: tint(@main, 90%);
244
+ background: @selected-color;
245
245
  }
246
246
  .k-icon {
247
247
  color: @main;
@@ -351,6 +351,7 @@
351
351
  }
352
352
  .k-select-search-mirror, .k-select-search {
353
353
  font-size: 14px;
354
+ color: @color;
354
355
  }
355
356
  }
356
357
  .k-select-labels {
@@ -7,7 +7,7 @@
7
7
  <template>
8
8
  <div>
9
9
  <Spin v-model="spinning">
10
- <div class="deme-spin-container">
10
+ <div class="deme-spin-container demo-back">
11
11
  床前明月光,疑是地上霜。<br>
12
12
  举头望明月,低头思故乡。
13
13
  </div>
@@ -19,7 +19,6 @@
19
19
  <style scoped>
20
20
  .deme-spin-container{
21
21
  padding:100px 50px;
22
- background:#f5f5f5;
23
22
  }
24
23
  </style>
25
24
  <script>
@@ -7,7 +7,7 @@
7
7
  <template>
8
8
  <div>
9
9
  <Spin v-model="spinning" :mode="mode">
10
- <div class="deme-spin-container">
10
+ <div class="deme-spin-container demo-back">
11
11
  床前明月光,疑是地上霜。<br>
12
12
  举头望明月,低头思故乡。
13
13
  </div>
@@ -26,7 +26,6 @@
26
26
  <style scoped>
27
27
  .deme-spin-container{
28
28
  padding:100px 50px;
29
- background:#f5f5f5;
30
29
  }
31
30
  </style>
32
31
  <script>
@@ -1,5 +1,5 @@
1
1
  @import '../../styles/global.less';
2
- @spinColor: rgba(255, 255, 255, 0.7);
2
+ @spinColor: fadeout(@back-color,30%);
3
3
  .k-spin {
4
4
  // min-width: 50px;
5
5
  // min-height: 50px;
@@ -0,0 +1,67 @@
1
+ @import '../alert/styles/index.less';
2
+ @import '../affix/styles/index.less';
3
+ @import '../badge/styles/index.less';
4
+ @import '../backtop/styles/index.less';
5
+ @import '../breadcrumb/styles/index.less';
6
+ @import '../button/styles/index.less';
7
+ @import '../card/styles/index.less';
8
+ @import '../colorPicker/styles/index.less';
9
+ @import '../collapse/styles/index.less';
10
+ @import '../carousel/styles/index.less';
11
+ @import '../checkbox/styles/index.less';
12
+ @import '../datePicker/styles/index.less';
13
+ @import '../divider/styles/index.less';
14
+ @import '../drawer/styles/index.less';
15
+ @import '../dropdown/styles/index.less';
16
+ @import '../empty/styles/index.less';
17
+ @import '../form/styles/index.less';
18
+ @import '../grid/styles/index.less';
19
+ @import '../icon/styles/index.less';
20
+ @import '../input/styles/index.less';
21
+ @import '../image/styles/index.less';
22
+ @import '../loading/styles/index.less';
23
+ @import '../layout/styles/index.less';
24
+ @import '../modal/styles/index.less';
25
+ @import '../message/styles/index.less';
26
+ @import '../menu/styles/index.less';
27
+ @import '../notice/styles/index.less';
28
+ @import '../page/styles/index.less';
29
+ @import '../poptip/styles/index.less';
30
+ @import '../popconfirm/styles/index.less';
31
+ @import '../progress/styles/index.less';
32
+ @import '../radio/styles/index.less';
33
+ @import '../rate/styles/index.less';
34
+ @import '../spin/styles/index.less';
35
+ @import '../select/styles/index.less';
36
+ @import '../switch/styles/index.less';
37
+ @import '../steps/styles/index.less';
38
+ @import '../timeline/styles/index.less';
39
+ @import '../tag/styles/index.less';
40
+ @import '../tooltip/styles/index.less';
41
+ @import '../table/styles/index.less';
42
+ @import '../tree/styles/index.less';
43
+ @import '../tabs/styles/index.less';
44
+ @import './global-dark.less';
45
+ ::-webkit-scrollbar {
46
+ background-color: @back-color;
47
+ width: 12px;
48
+ height: 12px;
49
+ }
50
+ ::-webkit-scrollbar-track{
51
+
52
+ }
53
+ ::-webkit-scrollbar-thumb {
54
+ border-radius: 4px;
55
+ width: 8px;
56
+ height: 8px;
57
+ background-color: @border-color;
58
+ }
59
+ ::-webkit-scrollbar-corner,::-webkit-resizer{
60
+ background-color: transparent !important;
61
+ }
62
+ ::-webkit-scrollbar-track{
63
+ background-color: transparent !important;
64
+ }
65
+ ::selection {
66
+ background-color: @main;
67
+ }