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.
- package/components/affix/index.md +6 -5
- package/components/alert/styles/index.less +13 -8
- package/components/badge/styles/index.less +1 -2
- package/components/base/pop.jsx +1 -1
- package/components/breadcrumb/styles/index.less +2 -2
- package/components/button/demo/hollow.md +1 -1
- package/components/button/styles/index.less +5 -5
- package/components/card/demo/border.md +1 -1
- package/components/card/styles/index.less +4 -3
- package/components/checkbox/checkbox.jsx +4 -2
- package/components/checkbox/styles/index.less +44 -43
- package/components/collapse/styles/index.less +3 -10
- package/components/colorPicker/styles/index.less +5 -3
- package/components/datePicker/styles/calendar.less +6 -5
- package/components/datePicker/styles/datepicker.less +3 -3
- package/components/divider/styles/index.less +7 -6
- package/components/drawer/drawer.jsx +10 -8
- package/components/drawer/styles/index.less +2 -1
- package/components/dropdown/demo/rightmenu.md +2 -3
- package/components/dropdown/styles/index.less +2 -2
- package/components/empty/styles/index.less +1 -1
- package/components/form/styles/index.less +1 -0
- package/components/grid/demo/align.md +3 -3
- package/components/grid/demo/fill.md +3 -3
- package/components/grid/demo/flex.md +5 -5
- package/components/grid/demo/index.vue +0 -1
- package/components/icon/demo/search.vue +2 -2
- package/components/image/instance.js +1 -1
- package/components/image/preview.jsx +50 -20
- package/components/image/styles/index.less +7 -5
- package/components/index.js +1 -1
- package/components/input/styles/index.less +2 -1
- package/components/layout/demo/base.md +3 -4
- package/components/layout/demo/layout1.md +4 -4
- package/components/layout/demo/layout2.md +5 -6
- package/components/layout/demo/layout3.md +3 -4
- package/components/layout/demo/layout4.md +4 -4
- package/components/layout/demo/layout5.md +8 -8
- package/components/layout/demo/layout6.md +2 -2
- package/components/layout/styles/index.less +2 -3
- package/components/loading/styles/index.less +1 -1
- package/components/menu/styles/dropmenu.less +7 -6
- package/components/menu/styles/index.less +13 -9
- package/components/message/styles/index.less +1 -1
- package/components/modal/modal.jsx +10 -8
- package/components/modal/styles/index.less +7 -6
- package/components/notice/styles/index.less +1 -1
- package/components/page/styles/index.less +1 -1
- package/components/popconfirm/styles/index.less +3 -2
- package/components/poptip/styles/index.less +4 -3
- package/components/progress/styles/index.less +3 -3
- package/components/radio/radio.jsx +3 -5
- package/components/radio/styles/index.less +56 -54
- package/components/rate/index.md +3 -3
- package/components/rate/styles/index.less +1 -1
- package/components/select/styles/index.less +8 -7
- package/components/spin/demo/container.md +1 -2
- package/components/spin/demo/mode.md +1 -2
- package/components/spin/styles/index.less +1 -1
- package/components/styles/dark.less +67 -0
- package/components/styles/global-dark.less +36 -0
- package/components/styles/global.less +22 -12
- package/components/styles/index.less +5 -10
- package/components/switch/styles/index.less +4 -3
- package/components/table/demo/base-render.md +1 -1
- package/components/table/demo/base.md +5 -2
- package/components/table/styles/index.less +11 -7
- package/components/table/table.jsx +10 -7
- package/components/tabs/demo/sample.md +1 -1
- package/components/tabs/styles/index.less +7 -10
- package/components/tag/styles/index.less +40 -39
- package/components/timeline/styles/index.less +3 -2
- package/components/tooltip/styles/index.less +22 -3
- package/components/tree/styles/index.less +8 -8
- package/dist/k-ui-dark.css +1 -0
- package/dist/k-ui.css +1 -7
- package/dist/k-ui.js +2 -2
- package/package.json +10 -9
- package/components/styles.js +0 -43
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
@main: #3a95ff;
|
|
2
|
+
@success: #00bb5d;
|
|
3
|
+
@danger: darken(#ff3300,20%);
|
|
4
|
+
@warning: #ffa500;
|
|
5
|
+
@pink: lighten( purple, 45%);
|
|
6
|
+
@red: lighten(red, 5%);
|
|
7
|
+
@yellow: mix(yellow, orange, 50%);
|
|
8
|
+
@orange: lighten(orange, 8%);
|
|
9
|
+
@cyan: darken(cyan, 10%);
|
|
10
|
+
@green: lighten(green, 15%);
|
|
11
|
+
@blue: mix(blue, cyan, 50%);
|
|
12
|
+
@purple: lighten(mix(purple,blue, 60%),30%);
|
|
13
|
+
@geekblue: mix(blue, cyan, 70%); //极客蓝
|
|
14
|
+
@magenta: mix(pink, red, 40%); //洋红
|
|
15
|
+
@volcano: mix(red, orange, 60%); //火红
|
|
16
|
+
@gold: lighten(gold, 10%);
|
|
17
|
+
@lime: mix(green, yellow, 40%); //绿黄色
|
|
18
|
+
@gray: #969696;
|
|
19
|
+
@dark: rgba(0, 0, 0, .75);
|
|
20
|
+
@gray: #969696;
|
|
21
|
+
@dark: rgba(0, 0, 0, .75);
|
|
22
|
+
@color: rgba(255, 255, 255, .75);
|
|
23
|
+
@color-light: rgba(255, 255, 255, .65);
|
|
24
|
+
@title-color: rgba(255, 255, 255, .85);
|
|
25
|
+
@back-color: #1f1f1f;
|
|
26
|
+
@mask-color: rgba(0, 0, 0, .6);
|
|
27
|
+
@icon-color: rgba(255, 255, 255, .4);
|
|
28
|
+
@hover-color:fadeout(@border-color, 60%); //item 的 hover 颜色
|
|
29
|
+
@selected-color:fadeout(@main, 90%); //item 的 hover 颜色
|
|
30
|
+
@radius: ~'2px';
|
|
31
|
+
@border-color: #303030;
|
|
32
|
+
@disable-border: darken(@border-color,5%);
|
|
33
|
+
@disable-back: lighten(@back-color,20%);
|
|
34
|
+
@disable-color: rgba(255, 255, 255, .3);
|
|
35
|
+
@disable-light-color: rgba(255, 255, 255, .3);
|
|
36
|
+
@dark-back: #22303f;
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
@success: #00bb5d;
|
|
4
4
|
@danger: #ff3300;
|
|
5
5
|
@warning: #ffa500;
|
|
6
|
+
|
|
6
7
|
@pink: lighten( purple, 45%);
|
|
7
8
|
@red: lighten(red, 5%);
|
|
8
9
|
@yellow: mix(yellow, orange, 50%);
|
|
@@ -17,18 +18,27 @@
|
|
|
17
18
|
@gold: lighten(gold, 10%);
|
|
18
19
|
@lime: mix(green, yellow, 40%); //绿黄色
|
|
19
20
|
@gray: #969696;
|
|
20
|
-
@light: #f5f5f5;
|
|
21
21
|
@dark: rgba(0, 0, 0, .75);
|
|
22
|
-
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
@color: rgba(0, 0, 0, .75); //字体
|
|
23
25
|
@color-light: rgba(255, 255, 255, .65);
|
|
24
|
-
|
|
25
|
-
@
|
|
26
|
-
|
|
27
|
-
@
|
|
28
|
-
|
|
29
|
-
@
|
|
30
|
-
@
|
|
31
|
-
@
|
|
26
|
+
|
|
27
|
+
@title-color: rgba(0, 0, 0, .85); //标题凸显颜色
|
|
28
|
+
|
|
29
|
+
@back-color: #fff; //组件背景
|
|
30
|
+
|
|
31
|
+
@mask-color: rgba(0, 0, 0, .6); //蒙层背景
|
|
32
|
+
@icon-color: rgba(0, 0, 0, .4); //图标颜色
|
|
33
|
+
@hover-color:fadeout(@border-color, 60%); //item 的 hover 颜色
|
|
34
|
+
@selected-color:fadeout(@main, 90%); //item 的 hover 颜色
|
|
35
|
+
|
|
36
|
+
@radius: ~'2px'; //圆角
|
|
37
|
+
@border-color: #d8d8d8; //边框颜色
|
|
38
|
+
@disable-border: #d0d0d0; //禁用边框颜色
|
|
39
|
+
@disable-back: #f5f5f5;//禁用背景颜色
|
|
40
|
+
@disable-color: rgba(0, 0, 0, .3); //禁用文字颜色
|
|
41
|
+
|
|
32
42
|
@disable-light-color: rgba(255, 255, 255, .3);
|
|
33
|
-
|
|
34
|
-
@dark-back: #22303f;
|
|
43
|
+
|
|
44
|
+
@dark-back: #22303f; //组件的暗黑模式背景
|
|
@@ -10,21 +10,19 @@
|
|
|
10
10
|
@import '../carousel/styles/index.less';
|
|
11
11
|
@import '../checkbox/styles/index.less';
|
|
12
12
|
@import '../datePicker/styles/index.less';
|
|
13
|
-
@import '../drawer/styles/index.less';
|
|
14
13
|
@import '../divider/styles/index.less';
|
|
15
14
|
@import '../drawer/styles/index.less';
|
|
16
15
|
@import '../dropdown/styles/index.less';
|
|
17
|
-
@import '../form/styles/index.less';
|
|
18
16
|
@import '../empty/styles/index.less';
|
|
19
|
-
@import '../
|
|
17
|
+
@import '../form/styles/index.less';
|
|
20
18
|
@import '../grid/styles/index.less';
|
|
19
|
+
@import '../icon/styles/index.less';
|
|
21
20
|
@import '../input/styles/index.less';
|
|
22
21
|
@import '../image/styles/index.less';
|
|
23
|
-
|
|
22
|
+
@import '../loading/styles/index.less';
|
|
24
23
|
@import '../layout/styles/index.less';
|
|
25
24
|
@import '../modal/styles/index.less';
|
|
26
25
|
@import '../message/styles/index.less';
|
|
27
|
-
@import '../message/styles/index.less';
|
|
28
26
|
@import '../menu/styles/index.less';
|
|
29
27
|
@import '../notice/styles/index.less';
|
|
30
28
|
@import '../page/styles/index.less';
|
|
@@ -32,17 +30,14 @@
|
|
|
32
30
|
@import '../popconfirm/styles/index.less';
|
|
33
31
|
@import '../progress/styles/index.less';
|
|
34
32
|
@import '../radio/styles/index.less';
|
|
35
|
-
|
|
33
|
+
@import '../rate/styles/index.less';
|
|
36
34
|
@import '../spin/styles/index.less';
|
|
37
35
|
@import '../select/styles/index.less';
|
|
38
36
|
@import '../switch/styles/index.less';
|
|
39
|
-
// @import '../slider/slider';
|
|
40
37
|
@import '../steps/styles/index.less';
|
|
41
38
|
@import '../timeline/styles/index.less';
|
|
42
39
|
@import '../tag/styles/index.less';
|
|
43
40
|
@import '../tooltip/styles/index.less';
|
|
44
41
|
@import '../table/styles/index.less';
|
|
45
42
|
@import '../tree/styles/index.less';
|
|
46
|
-
|
|
47
|
-
@import '../tabs/styles/index.less';
|
|
48
|
-
// @import '../upload/styles/index.less';
|
|
43
|
+
@import '../tabs/styles/index.less';
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
line-height: 22px;
|
|
6
6
|
border-radius: 24px;
|
|
7
7
|
vertical-align: middle;
|
|
8
|
-
border: 1px solid
|
|
9
|
-
background-color:
|
|
8
|
+
border: 1px solid @border-color;
|
|
9
|
+
background-color: @border-color;
|
|
10
10
|
font-size: 12px;
|
|
11
11
|
position: relative;
|
|
12
12
|
cursor: pointer;
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
box-sizing: border-box;
|
|
20
20
|
overflow: hidden;
|
|
21
21
|
outline: none;
|
|
22
|
+
color: @color;
|
|
22
23
|
&:focus {
|
|
23
24
|
// border: 1px solid @main;
|
|
24
25
|
box-shadow: 0 0 5px fade(@main, 75%);
|
|
@@ -31,7 +32,7 @@
|
|
|
31
32
|
width: 20px;
|
|
32
33
|
height: 20px;
|
|
33
34
|
border-radius: 20px;
|
|
34
|
-
background-color:
|
|
35
|
+
background-color: @back-color;
|
|
35
36
|
position: absolute;
|
|
36
37
|
left: 1px;
|
|
37
38
|
top: 50%;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
```vue
|
|
7
7
|
<template>
|
|
8
|
-
<Table :data="data" :columns="columns">
|
|
8
|
+
<Table :data="data" :columns="columns" @row-click="test">
|
|
9
9
|
<template v-slot:tags="value">
|
|
10
10
|
<Tag v-for="tag in value" :key="tag" :color="tag=='Python'?'red':'orange'">{{tag}}</Tag>
|
|
11
11
|
</template>
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
<Icon :type="value==1?'male':'female'" :color="value==1?'blue':'#f50cff'" size="15" />
|
|
14
14
|
</template>
|
|
15
15
|
<template v-slot:action="value,record,col">
|
|
16
|
-
<Button size="small" @click="e=>show(record)">more</Button>
|
|
16
|
+
<Button size="small" @click.stop="e=>show(record)">more</Button>
|
|
17
17
|
</template>
|
|
18
18
|
</Table>
|
|
19
19
|
</template>
|
|
@@ -43,6 +43,9 @@ export default {
|
|
|
43
43
|
title: 'More',
|
|
44
44
|
content: `Name:${record.name} <br/>Aage:${record.age} <br/>Gender:${record.gender == 0 ? 'boy' : 'gril'} <br/>Address:${record.address}`,
|
|
45
45
|
})
|
|
46
|
+
},
|
|
47
|
+
test(data){
|
|
48
|
+
this.$Message.info('Test row click:'+data.name)
|
|
46
49
|
}
|
|
47
50
|
}
|
|
48
51
|
}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
@import '../../styles/global.less';
|
|
2
2
|
.k-table {
|
|
3
|
-
background:
|
|
3
|
+
background: @back-color;
|
|
4
4
|
width: 100%;
|
|
5
5
|
margin: 10px 0;
|
|
6
6
|
// overflow: auto;
|
|
7
7
|
box-sizing: border-box;
|
|
8
8
|
position: relative;
|
|
9
|
+
color: @color;
|
|
9
10
|
.k-spin {
|
|
10
11
|
position: absolute;
|
|
11
12
|
width: 100%;
|
|
@@ -17,7 +18,7 @@
|
|
|
17
18
|
width: 100%;
|
|
18
19
|
border-collapse: collapse;
|
|
19
20
|
border-spacing: 0;
|
|
20
|
-
background:
|
|
21
|
+
background: @back-color;
|
|
21
22
|
thead {
|
|
22
23
|
background: fade(@border-color, 10%);
|
|
23
24
|
border-bottom: 1px solid fade(@border-color, 30%);
|
|
@@ -88,10 +89,10 @@
|
|
|
88
89
|
// background: #fff;
|
|
89
90
|
}
|
|
90
91
|
&:hover {
|
|
91
|
-
background:
|
|
92
|
+
background: fadeout(@border-color, 60%);
|
|
92
93
|
}
|
|
93
94
|
&.k-table-row-hover {
|
|
94
|
-
background:
|
|
95
|
+
background: fadeout(@border-color, 60%);
|
|
95
96
|
}
|
|
96
97
|
}
|
|
97
98
|
.k-table-expand-row {
|
|
@@ -104,7 +105,7 @@
|
|
|
104
105
|
border-bottom: none;
|
|
105
106
|
}
|
|
106
107
|
tbody>tr:hover {
|
|
107
|
-
background:
|
|
108
|
+
background: fadeout(@border-color, 60%);
|
|
108
109
|
}
|
|
109
110
|
}
|
|
110
111
|
}
|
|
@@ -139,12 +140,15 @@
|
|
|
139
140
|
.k-table-fixed-main-thead, .k-table-fixed-right-thead, .k-table-fixed-left-thead {
|
|
140
141
|
overflow: scroll;
|
|
141
142
|
margin-bottom: -20px;
|
|
142
|
-
background-color: fade(@border-color, 30%);
|
|
143
|
+
// background-color: fade(@border-color, 30%);
|
|
143
144
|
&::-webkit-scrollbar {
|
|
144
|
-
background-color:
|
|
145
|
+
background-color: transparent !important;//fade(@border-color, 30%); //固定值
|
|
145
146
|
// border-top: 1px solid fade(@border-color, 30%);
|
|
146
147
|
border-bottom: 1px solid fade(@border-color, 30%);
|
|
147
148
|
}
|
|
149
|
+
&::-webkit-scrollbar-track{
|
|
150
|
+
background-color: transparent !important;
|
|
151
|
+
}
|
|
148
152
|
}
|
|
149
153
|
.k-table-fixed-left-thead {
|
|
150
154
|
overflow-y: hidden;
|
|
@@ -150,15 +150,18 @@ export default {
|
|
|
150
150
|
let trProps = {
|
|
151
151
|
class: { 'k-table-row-hover': d._hover },
|
|
152
152
|
key: (d.key || i).toString(),
|
|
153
|
+
on: {
|
|
154
|
+
click: () => {
|
|
155
|
+
this.$emit('row-click', d)
|
|
156
|
+
}
|
|
157
|
+
}
|
|
153
158
|
}
|
|
154
159
|
if (hasFixed) {
|
|
155
|
-
trProps.on = {
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
this.$set(d, '_hover', false)
|
|
161
|
-
}
|
|
160
|
+
trProps.on.mouseenter = () => {
|
|
161
|
+
this.$set(d, '_hover', true)
|
|
162
|
+
}
|
|
163
|
+
trProps.on.mouseleave = () => {
|
|
164
|
+
this.$set(d, '_hover', false)
|
|
162
165
|
}
|
|
163
166
|
}
|
|
164
167
|
if (tr.length) {
|
|
@@ -17,10 +17,7 @@
|
|
|
17
17
|
color: @disable-color;
|
|
18
18
|
cursor: not-allowed;
|
|
19
19
|
}
|
|
20
|
-
|
|
21
|
-
.k-tabs-extra {
|
|
22
|
-
|
|
23
|
-
}
|
|
20
|
+
.k-tabs-extra {}
|
|
24
21
|
.k-tabs-nav-container {
|
|
25
22
|
flex: 1;
|
|
26
23
|
width: 0; // 麻痹,我感觉这是个bug
|
|
@@ -132,16 +129,15 @@
|
|
|
132
129
|
|
|
133
130
|
.k-tabs-card {
|
|
134
131
|
.k-tabs-bar {
|
|
135
|
-
.k-tabs-extra {
|
|
136
|
-
}
|
|
132
|
+
.k-tabs-extra {}
|
|
137
133
|
.k-tabs-tab {
|
|
138
134
|
margin-right: 2px;
|
|
139
135
|
border: 1px solid @border-color;
|
|
140
|
-
background: @back-color;
|
|
136
|
+
// background: @back-color;
|
|
141
137
|
padding: 8px 16px;
|
|
142
138
|
}
|
|
143
139
|
.k-tabs-tab-active {
|
|
144
|
-
background:
|
|
140
|
+
background: @back-color;
|
|
145
141
|
border-bottom-color: transparent;
|
|
146
142
|
&::after {
|
|
147
143
|
display: none;
|
|
@@ -170,7 +166,7 @@
|
|
|
170
166
|
padding: 10px 16px;
|
|
171
167
|
}
|
|
172
168
|
.k-tabs-tab-active {
|
|
173
|
-
background:
|
|
169
|
+
background: @back-color;
|
|
174
170
|
&::after {
|
|
175
171
|
display: none;
|
|
176
172
|
}
|
|
@@ -180,7 +176,8 @@
|
|
|
180
176
|
display: block;
|
|
181
177
|
.k-tabs-tabpane {
|
|
182
178
|
padding: 16px;
|
|
183
|
-
background: #fff;
|
|
179
|
+
// background: #fff;
|
|
180
|
+
background: @back-color;
|
|
184
181
|
box-sizing: border-box;
|
|
185
182
|
}
|
|
186
183
|
.k-tabs-tabpane:not(.k-tabs-tabpane-active) {
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
margin-right: 8px;
|
|
14
14
|
vertical-align: middle;
|
|
15
15
|
cursor: pointer;
|
|
16
|
+
color: @color;
|
|
16
17
|
.k-tag-close {
|
|
17
18
|
font-size: 16px;
|
|
18
19
|
margin-left: 4px;
|
|
@@ -22,69 +23,69 @@
|
|
|
22
23
|
}
|
|
23
24
|
}
|
|
24
25
|
&-pink {
|
|
25
|
-
color: @pink;
|
|
26
|
-
border-color: @pink;
|
|
27
|
-
background-color:
|
|
26
|
+
color: fadeout(@pink, 30%);
|
|
27
|
+
border-color: fadeout(@pink, 60%);
|
|
28
|
+
background-color: fadeout(@pink, 90%);
|
|
28
29
|
}
|
|
29
30
|
&-red {
|
|
30
|
-
color: @red;
|
|
31
|
-
border-color: @red;
|
|
32
|
-
background-color:
|
|
31
|
+
color: fadeout(@red, 30%);
|
|
32
|
+
border-color: fadeout(@red, 60%);
|
|
33
|
+
background-color: fadeout(@red, 90%);
|
|
33
34
|
}
|
|
34
35
|
&-yellow {
|
|
35
|
-
color:
|
|
36
|
-
border-color: @yellow;
|
|
37
|
-
background-color:
|
|
36
|
+
color: fadeout(@yellow, 30%);
|
|
37
|
+
border-color: fadeout(@yellow, 60%);
|
|
38
|
+
background-color: fadeout(@yellow, 90%);
|
|
38
39
|
}
|
|
39
40
|
&-orange {
|
|
40
|
-
color: @orange;
|
|
41
|
-
border-color: @orange;
|
|
42
|
-
background-color:
|
|
41
|
+
color: fadeout(@orange, 30%);
|
|
42
|
+
border-color: fadeout(@orange, 60%);
|
|
43
|
+
background-color: fadeout(@orange, 90%);
|
|
43
44
|
}
|
|
44
45
|
&-cyan {
|
|
45
|
-
color: @cyan;
|
|
46
|
-
border-color: @cyan;
|
|
47
|
-
background-color:
|
|
46
|
+
color: fadeout(@cyan, 30%);
|
|
47
|
+
border-color: fadeout(@cyan, 60%);
|
|
48
|
+
background-color: fadeout(@cyan, 90%);
|
|
48
49
|
}
|
|
49
50
|
&-green {
|
|
50
|
-
color: @green;
|
|
51
|
-
border-color: @green;
|
|
52
|
-
background-color:
|
|
51
|
+
color: fadeout(@green, 30%);
|
|
52
|
+
border-color: fadeout(@green, 60%);
|
|
53
|
+
background-color: fadeout(@green, 90%);
|
|
53
54
|
}
|
|
54
55
|
&-blue {
|
|
55
|
-
color: @blue;
|
|
56
|
-
border-color: @blue;
|
|
57
|
-
background-color:
|
|
56
|
+
color: fadeout(@blue, 30%);
|
|
57
|
+
border-color: fadeout(@blue, 60%);
|
|
58
|
+
background-color: fadeout(@blue, 90%);
|
|
58
59
|
}
|
|
59
60
|
&-purple {
|
|
60
|
-
color: @purple;
|
|
61
|
-
border-color: @purple;
|
|
62
|
-
background-color:
|
|
61
|
+
color: fadeout(@purple, 30%);
|
|
62
|
+
border-color: fadeout(@purple, 60%);
|
|
63
|
+
background-color: fadeout(@purple, 90%);
|
|
63
64
|
}
|
|
64
65
|
&-geekblue {
|
|
65
|
-
color: @geekblue;
|
|
66
|
-
border-color: @geekblue;
|
|
67
|
-
background-color:
|
|
66
|
+
color: fadeout(@geekblue, 30%);
|
|
67
|
+
border-color: fadeout(@geekblue, 60%);
|
|
68
|
+
background-color: fadeout(@geekblue, 90%);
|
|
68
69
|
}
|
|
69
70
|
&-magenta {
|
|
70
|
-
color: @magenta;
|
|
71
|
-
border-color: @magenta;
|
|
72
|
-
background-color:
|
|
71
|
+
color: fadeout(@magenta, 30%);
|
|
72
|
+
border-color: fadeout(@magenta, 60%);
|
|
73
|
+
background-color: fadeout(@magenta, 90%);
|
|
73
74
|
}
|
|
74
75
|
&-volcano {
|
|
75
|
-
color: @volcano;
|
|
76
|
-
border-color: @volcano;
|
|
77
|
-
background-color:
|
|
76
|
+
color: fadeout(@volcano, 30%);
|
|
77
|
+
border-color: fadeout(@volcano, 60%);
|
|
78
|
+
background-color: fadeout(@volcano, 90%);
|
|
78
79
|
}
|
|
79
80
|
&-gold {
|
|
80
|
-
color: @gold;
|
|
81
|
-
border-color: @gold;
|
|
82
|
-
background-color:
|
|
81
|
+
color: fadeout(@gold, 30%);
|
|
82
|
+
border-color: fadeout(@gold, 60%);
|
|
83
|
+
background-color: fadeout(@gold, 90%);
|
|
83
84
|
}
|
|
84
85
|
&-lime {
|
|
85
|
-
color: @lime;
|
|
86
|
-
border-color: @lime;
|
|
87
|
-
background-color:
|
|
86
|
+
color: fadeout(@lime, 30%);
|
|
87
|
+
border-color: fadeout(@lime, 60%);
|
|
88
|
+
background-color: fadeout(@lime, 90%);
|
|
88
89
|
}
|
|
89
90
|
}
|
|
90
91
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@import '../../styles/global.less';
|
|
2
2
|
.k-timeline {
|
|
3
|
-
background-color:
|
|
3
|
+
background-color: transparent;
|
|
4
4
|
font-size: 12px;
|
|
5
5
|
overflow: hidden;
|
|
6
6
|
position: relative;
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
margin: 0;
|
|
9
9
|
padding: 0;
|
|
10
10
|
list-style: none;
|
|
11
|
+
color: @color;
|
|
11
12
|
.k-time-line-item {
|
|
12
13
|
position: relative;
|
|
13
14
|
&:before {
|
|
@@ -25,7 +26,7 @@
|
|
|
25
26
|
}
|
|
26
27
|
.k-time-line-dot {
|
|
27
28
|
position: absolute;
|
|
28
|
-
background:
|
|
29
|
+
background: @back-color;
|
|
29
30
|
top: 4px;
|
|
30
31
|
left: -.5px;
|
|
31
32
|
font-size: 16px;
|
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
position: absolute;
|
|
13
13
|
z-index: 1001;
|
|
14
14
|
.k-tooltip-inner {
|
|
15
|
-
background: @color;
|
|
15
|
+
background: @back-color;
|
|
16
16
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
|
17
|
+
color: @color;
|
|
17
18
|
border-radius: @radius;
|
|
18
19
|
}
|
|
19
20
|
.k-tooltip-title {
|
|
20
21
|
padding: 6px 8px;
|
|
21
|
-
color: #fff;
|
|
22
22
|
}
|
|
23
23
|
.k-tooltip-arrow {
|
|
24
24
|
position: absolute;
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
align-items: center;
|
|
30
30
|
width: 19px;
|
|
31
31
|
.k-tooltip-arrow-content {
|
|
32
|
-
background-color: @color;
|
|
32
|
+
background-color: @back-color;
|
|
33
33
|
transform: rotate(45deg);
|
|
34
34
|
width: 12px;
|
|
35
35
|
height: 12px;
|
|
@@ -151,80 +151,99 @@
|
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
153
|
|
|
154
|
+
.k-tooltip-has-color {
|
|
155
|
+
.k-tooltip-inner, .k-tooltip-arrow .k-tooltip-arrow-content {
|
|
156
|
+
color: #fff;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
|
|
154
160
|
.k-tooltip-pink {
|
|
155
161
|
.k-tooltip-inner, .k-tooltip-arrow .k-tooltip-arrow-content {
|
|
162
|
+
color: #fff;
|
|
156
163
|
background-color: @pink;
|
|
157
164
|
}
|
|
158
165
|
}
|
|
159
166
|
|
|
160
167
|
.k-tooltip-red {
|
|
161
168
|
.k-tooltip-inner, .k-tooltip-arrow .k-tooltip-arrow-content {
|
|
169
|
+
color: #fff;
|
|
162
170
|
background-color: @red;
|
|
163
171
|
}
|
|
164
172
|
}
|
|
165
173
|
|
|
166
174
|
.k-tooltip-yellow {
|
|
167
175
|
.k-tooltip-inner, .k-tooltip-arrow .k-tooltip-arrow-content {
|
|
176
|
+
color: #fff;
|
|
168
177
|
background-color: @yellow;
|
|
169
178
|
}
|
|
170
179
|
}
|
|
171
180
|
|
|
172
181
|
.k-tooltip-orange {
|
|
173
182
|
.k-tooltip-inner, .k-tooltip-arrow .k-tooltip-arrow-content {
|
|
183
|
+
color: #fff;
|
|
174
184
|
background-color: @orange;
|
|
175
185
|
}
|
|
176
186
|
}
|
|
177
187
|
|
|
178
188
|
.k-tooltip-cyan {
|
|
179
189
|
.k-tooltip-inner, .k-tooltip-arrow .k-tooltip-arrow-content {
|
|
190
|
+
color: #fff;
|
|
180
191
|
background-color: @cyan;
|
|
181
192
|
}
|
|
182
193
|
}
|
|
183
194
|
|
|
184
195
|
.k-tooltip-green {
|
|
185
196
|
.k-tooltip-inner, .k-tooltip-arrow .k-tooltip-arrow-content {
|
|
197
|
+
color: #fff;
|
|
186
198
|
background-color: @green;
|
|
187
199
|
}
|
|
188
200
|
}
|
|
189
201
|
|
|
190
202
|
.k-tooltip-blue {
|
|
191
203
|
.k-tooltip-inner, .k-tooltip-arrow .k-tooltip-arrow-content {
|
|
204
|
+
color: #fff;
|
|
192
205
|
background-color: @blue;
|
|
193
206
|
}
|
|
194
207
|
}
|
|
195
208
|
|
|
196
209
|
.k-tooltip-purple {
|
|
197
210
|
.k-tooltip-inner, .k-tooltip-arrow .k-tooltip-arrow-content {
|
|
211
|
+
color: #fff;
|
|
198
212
|
background-color: @purple;
|
|
199
213
|
}
|
|
200
214
|
}
|
|
201
215
|
|
|
202
216
|
.k-tooltip-geekblue {
|
|
203
217
|
.k-tooltip-inner, .k-tooltip-arrow .k-tooltip-arrow-content {
|
|
218
|
+
color: #fff;
|
|
204
219
|
background-color: @geekblue;
|
|
205
220
|
}
|
|
206
221
|
}
|
|
207
222
|
|
|
208
223
|
.k-tooltip-magenta {
|
|
209
224
|
.k-tooltip-inner, .k-tooltip-arrow .k-tooltip-arrow-content {
|
|
225
|
+
color: #fff;
|
|
210
226
|
background-color: @magenta;
|
|
211
227
|
}
|
|
212
228
|
}
|
|
213
229
|
|
|
214
230
|
.k-tooltip-volcano {
|
|
215
231
|
.k-tooltip-inner, .k-tooltip-arrow .k-tooltip-arrow-content {
|
|
232
|
+
color: #fff;
|
|
216
233
|
background-color: @volcano;
|
|
217
234
|
}
|
|
218
235
|
}
|
|
219
236
|
|
|
220
237
|
.k-tooltip-gold {
|
|
221
238
|
.k-tooltip-inner, .k-tooltip-arrow .k-tooltip-arrow-content {
|
|
239
|
+
color: #fff;
|
|
222
240
|
background-color: @gold;
|
|
223
241
|
}
|
|
224
242
|
}
|
|
225
243
|
|
|
226
244
|
.k-tooltip-lime {
|
|
227
245
|
.k-tooltip-inner, .k-tooltip-arrow .k-tooltip-arrow-content {
|
|
246
|
+
color: #fff;
|
|
228
247
|
background-color: @lime;
|
|
229
248
|
}
|
|
230
249
|
}
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
text-overflow: ellipsis;
|
|
47
47
|
font-size: 13px;
|
|
48
48
|
// transition: all .2s ease-in-out;
|
|
49
|
-
&:hover
|
|
50
|
-
background:
|
|
49
|
+
&:hover{
|
|
50
|
+
background: @hover-color;
|
|
51
51
|
outline: none;
|
|
52
52
|
}
|
|
53
53
|
}
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
}
|
|
60
60
|
.k-tree-item-drag {
|
|
61
61
|
>.k-tree-title {
|
|
62
|
-
background-color: tint(@main, 90%) !important;
|
|
62
|
+
// background-color: tint(@main, 90%) !important;
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
.k-tree-item-extra {
|
|
@@ -90,9 +90,9 @@
|
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
92
|
.k-tree-title-selected {
|
|
93
|
-
background:
|
|
94
|
-
&:hover
|
|
95
|
-
background:
|
|
93
|
+
background: @selected-color;
|
|
94
|
+
&:hover{
|
|
95
|
+
background: @selected-color;
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
98
|
.k-tree-arrow {
|
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
}
|
|
147
147
|
.k-tree-item:hover {
|
|
148
148
|
&::before {
|
|
149
|
-
background-color:
|
|
149
|
+
background-color: @hover-color;
|
|
150
150
|
}
|
|
151
151
|
}
|
|
152
152
|
.k-tree-item-selected, .k-tree-item-selected:hover {
|
|
@@ -156,7 +156,7 @@
|
|
|
156
156
|
color: #fff;
|
|
157
157
|
}
|
|
158
158
|
&::before {
|
|
159
|
-
background-color:
|
|
159
|
+
background-color: @main;
|
|
160
160
|
}
|
|
161
161
|
}
|
|
162
162
|
.k-tree-item-disabled:hover {
|