mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-02 15:59:38 +08:00
543b620dd2
* clean up * refactor select all logic * omit old api to render children * add search * remove useless code * fix logic * Table demo * update demo * fixed min-height * fix normal style * style update * update snapshot * update snapshot * update version * update doc * update md desc * update test case * fix test typo * update demo * update snapshot * typescript correction * update docs * add Tree Transfer demo * default expand all * update demo
63 lines
1.3 KiB
Plaintext
63 lines
1.3 KiB
Plaintext
@import './index.less';
|
|
|
|
@table-prefix-cls: ~'@{ant-prefix}-table';
|
|
|
|
.@{transfer-prefix-cls}-customize-list {
|
|
display: flex;
|
|
|
|
.@{transfer-prefix-cls}-operation {
|
|
flex: none;
|
|
align-self: center;
|
|
}
|
|
|
|
.@{transfer-prefix-cls}-list {
|
|
flex: auto;
|
|
width: auto;
|
|
height: auto;
|
|
min-height: @transfer-list-height;
|
|
|
|
&-body {
|
|
&-with-search {
|
|
padding-top: 0;
|
|
}
|
|
|
|
// Search box in customize mode do not need fix top
|
|
&-search-wrapper {
|
|
position: relative;
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
&-customize-wrapper {
|
|
padding: 12px;
|
|
}
|
|
}
|
|
}
|
|
|
|
// =================== Hook Components ===================
|
|
.@{table-prefix-cls}-wrapper {
|
|
.@{table-prefix-cls}-small {
|
|
border: 0;
|
|
border-radius: 0;
|
|
|
|
> .@{table-prefix-cls}-content {
|
|
// Header background color
|
|
> .@{table-prefix-cls}-body > table > .@{table-prefix-cls}-thead > tr > th {
|
|
background: @table-header-bg;
|
|
}
|
|
|
|
.@{table-prefix-cls}-row:last-child td {
|
|
border-bottom: @border-width-base @border-style-base @border-color-split;
|
|
}
|
|
}
|
|
|
|
.@{table-prefix-cls}-body {
|
|
margin: 0;
|
|
}
|
|
}
|
|
|
|
.@{table-prefix-cls}-pagination.@{ant-prefix}-pagination {
|
|
margin: 16px 0 4px;
|
|
}
|
|
}
|
|
}
|