@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lambo-design/detail-table",
3
- "version": "1.0.0-beta.10",
3
+ "version": "1.0.0-beta.12",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,4 +1,5 @@
1
- @descriptions-prefix-cls: lambo-detail-table;
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
- //border-collapse: collapse
23
+ border-collapse: collapse
24
24
  }
25
25
  }
26
26
 
27
27
  &-row {
28
28
  > th,
29
29
  > td {
30
- padding-bottom: 15px;
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: fade(#000, 85%);
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: fade(#000, 65%);;
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
- //border-right: 1px solid hsv(0, 0, 91%); ;
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
- //border-bottom: 1px solid hsv(0, 0, 91%);
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 {