@lambo-design/detail-table 1.0.0-beta.10 → 1.0.0-beta.12
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/package.json +1 -1
- package/src/styles/css/index.less +11 -15
package/package.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
@import "@lambo-design/core/src/styles/default.less";
|
|
2
|
+
@descriptions-prefix-cls: lambo-detail-table;
|
|
2
3
|
|
|
3
4
|
@descriptions-default-padding: 16px 10px;
|
|
4
5
|
@descriptions-middle-padding: 12px 10px;
|
|
@@ -16,18 +17,17 @@
|
|
|
16
17
|
&-view {
|
|
17
18
|
width: 100%;
|
|
18
19
|
overflow: hidden;
|
|
19
|
-
border-radius: 4px;
|
|
20
20
|
table {
|
|
21
21
|
width: 100%;
|
|
22
22
|
table-layout: fixed;
|
|
23
|
-
|
|
23
|
+
border-collapse: collapse
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
&-row {
|
|
28
28
|
> th,
|
|
29
29
|
> td {
|
|
30
|
-
padding-bottom:
|
|
30
|
+
padding-bottom: 16px;
|
|
31
31
|
}
|
|
32
32
|
&:last-child {
|
|
33
33
|
border-bottom: none;
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
&-item-label {
|
|
38
|
-
color:
|
|
38
|
+
color: var(--title-color,@_title-color);;
|
|
39
39
|
font-weight: 500;
|
|
40
40
|
font-size: 14px;
|
|
41
41
|
line-height: 1.5;
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
|
|
64
64
|
&-item-content {
|
|
65
65
|
display: table-cell;
|
|
66
|
-
color:
|
|
66
|
+
color: var(--text-color,@_text-color);;
|
|
67
67
|
font-size: 14px;
|
|
68
68
|
line-height: 1.5;
|
|
69
69
|
}
|
|
@@ -95,7 +95,6 @@
|
|
|
95
95
|
|
|
96
96
|
&-bordered {
|
|
97
97
|
.@{descriptions-prefix-cls}-view {
|
|
98
|
-
border: 1px solid hsv(0, 0, 91%);
|
|
99
98
|
> table {
|
|
100
99
|
table-layout: auto;
|
|
101
100
|
}
|
|
@@ -104,8 +103,7 @@
|
|
|
104
103
|
.@{descriptions-prefix-cls}-item-label,
|
|
105
104
|
.@{descriptions-prefix-cls}-item-content {
|
|
106
105
|
padding: @descriptions-default-padding;
|
|
107
|
-
|
|
108
|
-
border: 1px solid #cacacbff; ;
|
|
106
|
+
border: 1px solid var(--border-color-base,@_border-color-base); ;
|
|
109
107
|
|
|
110
108
|
&:last-child {
|
|
111
109
|
border-right: none;
|
|
@@ -113,18 +111,16 @@
|
|
|
113
111
|
}
|
|
114
112
|
|
|
115
113
|
.@{descriptions-prefix-cls}-item-label {
|
|
116
|
-
background-color: #f0f0f1ff;
|
|
114
|
+
//background-color: #f0f0f1ff;
|
|
115
|
+
background-color: var(--table-thead-bg,@_table-thead-bg);
|
|
116
|
+
|
|
117
117
|
&::after {
|
|
118
118
|
display: none;
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
.@{descriptions-prefix-cls}-row {
|
|
123
|
-
|
|
124
|
-
border: 1px solid #cacacbff; ;
|
|
125
|
-
//&:last-child {
|
|
126
|
-
// border-bottom: none;
|
|
127
|
-
//}
|
|
123
|
+
border: 1px solid var(--border-color-base,@_border-color-base); ;
|
|
128
124
|
}
|
|
129
125
|
|
|
130
126
|
&.@{descriptions-prefix-cls}-middle {
|