File tree Expand file tree Collapse file tree 7 files changed +28
-35
lines changed
examples/sites/demos/apis Expand file tree Collapse file tree 7 files changed +28
-35
lines changed Original file line number Diff line number Diff line change @@ -1049,11 +1049,11 @@ export default {
1049
1049
} ,
1050
1050
{
1051
1051
name : 'tooltip-config' ,
1052
- type : 'IToolTipConfig ' ,
1053
- typeAnchorName : 'IToolTipConfig ' ,
1052
+ linkTo : 'tooltip#tooltip--props ' ,
1053
+ type : 'Tooltip.Props ' ,
1054
1054
defaultValue : '' ,
1055
1055
desc : {
1056
- 'zh-CN' : 'Grid 内置 tooltip 配置项,请参考 Tooltip 组件属性说明' ,
1056
+ 'zh-CN' : 'Grid 内置 tooltip 配置项,配置项将透传至 Tooltip, 请参考 Tooltip 组件属性说明' ,
1057
1057
'en-US' :
1058
1058
'Configuration item of the built-in tooltip of the Grid. For details, see the Tooltip Attribute Description.'
1059
1059
} ,
Original file line number Diff line number Diff line change 31
31
.@{grid-custom-prefix-cls} __tabs-body {
32
32
overflow-y : auto ;
33
33
border : 0 ;
34
- padding : 12 px 0 ;
34
+ padding : 16 px 0 ;
35
35
36
36
.tabs-body-item {
37
37
.@{grid-custom-prefix-cls} __alert {
40
40
41
41
.@{grid-custom-prefix-cls} __setting {
42
42
border-bottom : 1px solid transparent ;
43
- padding : 12 px 0 24 px ;
43
+ padding : 8 px 0 0 ;
44
44
45
45
.setting-item {
46
46
font-size : var (--tv-Grid-font-size );
47
- padding : 10 px 8px ;
47
+ padding : 8px ;
48
48
overflow : hidden ;
49
49
position : relative ;
50
50
display : flex ;
94
94
95
95
.setting-item {
96
96
span .label {
97
- width : 26% ;
98
97
display : inline-block ;
99
98
text-align : right ;
100
99
padding-right : 24px ;
Original file line number Diff line number Diff line change 27
27
font-size : var (--tv-Grid-font-size );
28
28
background-color : #fff ;
29
29
box-shadow : 2px 2px 4px -2px rgba (0 , 0 , 0 , 0.2 );
30
- padding : 0 1 px ;
30
+ padding : 8 px 0 ;
31
31
color : var (--tv-Grid-text-color );
32
32
overflow : visible ;
33
33
.user-select (none );
39
39
.@{grid-menu-prefix-cls} __option-wrapper ,
40
40
.@{grid-menu-prefix-cls} __clild-wrapper {
41
41
margin : 0 ;
42
- padding : 0 ;
43
42
list-style-type : none ;
44
43
border-bottom : 1px solid var (--tv-Grid-divider-color );
45
44
45
+ & :last-child {
46
+ border : 0 ;
47
+ }
48
+
46
49
li {
47
50
position : relative ;
48
- margin : 1px 0 ;
49
- border : 1px solid transparent ;
50
-
51
- & :last-child {
52
- border : 0 ;
53
- }
54
51
55
52
& .link__active {
56
- color : #2b2b2b ;
57
- background-color : #c5c5c5 ;
58
- border-color : #c5c5c5 ;
53
+ color : var (--tv-Grid-text-color );
54
+ background-color : var (--tv-Grid-bg-color-active );
59
55
}
60
56
61
57
& .link__disabled {
62
58
.@{grid-menu-prefix-cls} __link {
63
- color : var (--tv-Grid-text-color );
64
- cursor : initial ;
65
- }
66
-
67
- & .link__active {
68
- border-color : #c0c1c2 ;
69
- background-color : #eeeeee ;
70
-
71
- & :hover {
72
- background-color : inherit ;
73
- }
59
+ color : var (--tv-Grid-text-color-disabled );
60
+ cursor : not-allowed ;
74
61
}
75
62
}
76
63
}
Original file line number Diff line number Diff line change 53
53
}
54
54
55
55
.MiniColumnHeight () {
56
- height : 30 px ;
56
+ height : 32 px ;
57
57
}
58
58
59
59
.DefaultTdPadding () {
60
60
padding : var (--tv-Grid-cell-padding-y ) var (--tv-Grid-cell-padding-x );
61
61
}
62
62
63
+ .SmallTdPadding () {
64
+ padding : var (--tv-Grid-cell-padding-y-small ) var (--tv-Grid-cell-padding-x-small );
65
+ }
66
+
63
67
.MiniTdPadding () {
64
68
padding : var (--tv-Grid-cell-padding-y-mini ) var (--tv-Grid-cell-padding-x-mini );
65
69
}
Original file line number Diff line number Diff line change 98
98
.@{grid-prefix-cls} -header__column ,
99
99
.@{grid-prefix-cls} -body__column ,
100
100
.@{grid-prefix-cls} -footer__column {
101
- .DefaultTdPadding ();
101
+ .SmallTdPadding ();
102
102
}
103
103
104
104
.@{grid-prefix-cls} -body__column ,
907
907
.DefaultTdPadding ();
908
908
909
909
& .col__actived {
910
- .DefaultTdPadding ( );
910
+ padding : 0 var ( --tv-Grid-cell-padding-x );
911
911
}
912
912
913
913
// 可编辑表格showStatus为true时,左上角的角标
Original file line number Diff line number Diff line change 146
146
--tv-Grid-toolbar-btn-icon-border-color-hover : var (--tv-color-border-hover );
147
147
// 工具栏图标按钮边框圆角
148
148
--tv-Grid-toolbar-btn-icon-border-radius : var (--tv-border-radius-md );
149
- // -------mini表格 -------
149
+ // -------mini/small表格 -------
150
150
// mini表格单元格水平内边距
151
151
--tv-Grid-cell-padding-x-mini : 16px ;
152
152
// mini表格单元格垂直内边距
153
- --tv-Grid-cell-padding-y-mini : 8px ;
153
+ --tv-Grid-cell-padding-y-mini : 4px ;
154
+ // small表格单元格水平内边距
155
+ --tv-Grid-cell-padding-x-small : 16px ;
156
+ // small表格单元格垂直内边距
157
+ --tv-Grid-cell-padding-y-small : 8px ;
154
158
// -------其他-------
155
159
// 树节点图标右侧内边距
156
160
--tv-Grid-tree-expand-icon-padding-right : var (--tv-space-md );
Original file line number Diff line number Diff line change 10
10
*
11
11
*/
12
12
import BaseSelect from './src/index'
13
- import '@opentiny/vue-theme/base-select/index.less'
14
13
import { version } from './package.json'
15
14
16
15
BaseSelect . model = {
You can’t perform that action at this time.
0 commit comments