Skip to content

Commit

Permalink
fix(comp:table): fixed column background color error is selected (#1543)
Browse files Browse the repository at this point in the history
  • Loading branch information
liuzaijiang authored Apr 29, 2023
1 parent 6cd6155 commit 7448e38
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 14 deletions.
2 changes: 1 addition & 1 deletion packages/components/button/docs/Theme.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@
| `@button-ghost-background-color-active` | `var(--ix-background-color)` | - | - |
| `@button-ghost-background-color-disabled` | `rgba(255, 255, 255, 0.4)` | - | - |
| `@button-icon-color` | `inherit` | `var(--ix-text-color-secondary)` | - |
| `@button-icon-font-size` | `var(--ix-font-size-icon)` | - | - |
| `@button-icon-font-size` | `var(--ix-font-size-lg)` | - | - |
8 changes: 5 additions & 3 deletions packages/components/date-picker/docs/Theme.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@
| `@date-panel-header-height` | `@height-md` | - | - |
| `@date-panel-header-item-padding` | `0 @spacing-xs` | - | - |
| `@date-panel-header-border-bottom` | `none` | - | - |
| `@date-panel-header-button-font-size` | `@font-size-lg` | `@font-size-sm` | - |
| `@date-panel-header-button-font-size` | `@font-size-lg` | - | - |
| `@date-panel-header-button-font-weight` | `@font-weight-lg` | `@font-weight-md` | - |
| `@date-panel-header-content-spacing` | `@spacing-lg` | - | - |
| `@date-panel-header-content-font-size` | `@font-size-lg` | `@font-size-sm` | - |
| `@date-panel-header-content-font-weight` | `@font-weight-lg` | - | - |
| `@date-panel-header-padding-lg` | `0 0 @spacing-2xl` | - | - |
| `@date-panel-body-padding` | `0` | - | - |
| `@date-panel-body-padding-lg` | `0` | - | - |
Expand Down Expand Up @@ -79,5 +81,5 @@
| `@date-range-picker-panel-border-color` | `none` | - | - |
| `@date-range-picker-panel-border-radius` | `0` | - | - |
| `@date-range-picker-panel-separator-margin` | `0 @spacing-lg` | - | - |
| `@date-range-picker-panel-separator-width` | `1px` | - | - |
| `@date-range-picker-panel-separator-color` | `@date-panel-border-color` | - | - |
| `@date-range-picker-panel-separator-width` | `0` | - | - |
| `@date-range-picker-panel-separator-color` | `none` | - | - |
2 changes: 1 addition & 1 deletion packages/components/header/docs/Theme.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@
| `@header-sub-title-font-size` | `var(--ix-font-size-md)` | - | - |
| `@header-suffix-color` | `var(--ix-text-color-title-secondary)` | - | - |
| `@header-description-color` | `var(--ix-text-color-info)` | - | - |
| `@header-icon-font-size` | `var(--ix-font-size-icon)` | - | - |
| `@header-icon-font-size` | `var(--ix-font-size-lg)` | - | - |
2 changes: 1 addition & 1 deletion packages/components/popconfirm/docs/Theme.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
| `@popconfirm-background-color` | `var(--ix-background-color)` | - | - |
| `@popconfirm-border-radius` | `var(--ix-border-radius-md)` | `var(--ix-border-radius-sm)` | - |
| `@popconfirm-box-shadow` | `@shadow-bottom-md` | - | - |
| `@popconfirm-icon-size` | `var(--ix-font-size-icon)` | - | - |
| `@popconfirm-icon-size` | `var(--ix-font-size-lg)` | - | - |
| `@popconfirm-icon-color` | `var(--ix-color-brown)` | `var(--ix-color-brown-l10)` | - |
| `@popconfirm-title-font-size` | `var(--ix-font-size-md)` | - | - |
| `@popconfirm-title-font-weight` | `var(--ix-font-weight-xl)` | - | - |
Expand Down
2 changes: 1 addition & 1 deletion packages/components/table/docs/Theme.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
| `@table-head-icon-background-color-hover` | `var(--ix-background-color-deep)` | - | - |
| `@table-head-font-weight` | `var(--ix-font-weight-lg)` | `var(--ix-font-weight-md)` | - |
| `@table-body-row-background-color-hover` | `var(--ix-background-color-light)` | - | - |
| `@table-body-row-background-color-selected` | `var(--ix-color-primary-l50)` | `inherit` | - |
| `@table-body-row-background-color-selected` | `var(--ix-color-primary-l50)` | `var(--ix-background-color)` | - |
| `@table-expandable-icon-color` | `var(--ix-text-color-secondary)` | `@color-graphite-l10` | - |
| `@table-expandable-background-color` | `var(--ix-background-color-light)` | - | - |
| `@table-expandable-background-color-hover` | `var(--ix-background-color-medium)` | - | - |
2 changes: 1 addition & 1 deletion packages/components/table/style/themes/seer.variable.less
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

@table-body-row-height-sm: var(--ix-height-md);
@table-body-row-height-md: var(--ix-height-lg);
@table-body-row-background-color-selected: inherit;
@table-body-row-background-color-selected: var(--ix-background-color);

@table-head-font-weight: var(--ix-font-weight-md);
@table-head-icon-color: @color-graphite-l10;
Expand Down
3 changes: 2 additions & 1 deletion packages/components/timeline/docs/Theme.zh.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
| 名称 | default | seer | 备注 |
| --- | --- | --- | --- |
| `@timeline-font-size` | `@font-size-sm` | - | - |
| `@timeline-line-height` | `1.25` | - | - |
| `@timeline-line-height` | `1.25` | `1` | - |
| `@timeline-item-timeline-width` | `@timeline-dot-size + @timeline-dot-border-width + 8` | - | - |
| `@timeline-item-timeline-top` | `(@timeline-font-size * @timeline-line-height / 2 - @timeline-dot-size / 2)` | - | - |
| `@timeline-dot-size` | `12px` | - | - |
Expand All @@ -12,6 +12,7 @@
| `@timeline-content-gap` | `@timeline-item-timeline-width` | - | - |
| `@timeline-content-color` | `@text-color` | - | - |
| `@timeline-content-label-color` | `@color-graphite` | - | - |
| `@timeline-content-label-margin-top` | `0` | `8px` | - |
| `@timeline-line-gap` | `((@timeline-dot-size - @timeline-dot-border-width) / 2)` | - | - |
| `@timeline-line-width` | `2px` | - | - |
| `@timeline-line-background-color` | `@color-graphite-l30` | - | - |
Expand Down
10 changes: 5 additions & 5 deletions packages/pro/search/docs/Theme.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
| `@pro-search-clear-icon-color` | `@color-graphite-d20` | - | - |
| `@pro-search-close-icon-font-size` | `@font-size-lg` | - | - |
| `@pro-search-close-icon-color` | `@color-graphite-d20` | - | - |
| `@pro-search-close-icon-margin-left` | `@spacing-xs` | - | - |
| `@pro-search-close-icon-margin-left` | `0` | - | - |
| `@pro-search-search-button-width` | `@pro-search-min-height` | - | - |
| `@pro-search-search-button-background-color` | `@color-primary` | - | - |
| `@pro-search-search-button-font-size` | `@font-size-lg` | - | - |
Expand All @@ -32,13 +32,11 @@
| `@pro-search-search-button-disabled-color` | `@disabled-bg-color` | - | - |
| `@pro-search-item-height` | `22px` | - | - |
| `@pro-search-item-color` | `@pro-search-color` | - | - |
| `@pro-search-item-margin-left` | `@spacing-xs` | - | - |
| `@pro-search-item-tag-max-width` | `160px` | - | - |
| `@pro-search-item-tag-color` | `@pro-search-color` | - | - |
| `@pro-search-item-tag-background-color` | `@color-graphite-l40` | - | - |
| `@pro-search-item-tag-border-radius` | `2px` | - | - |
| `@pro-search-item-tag-padding-horizontal` | `@spacing-sm` | - | - |
| `@pro-search-item-tag-padding-vertical` | `2px` | - | - |
| `@pro-search-item-tag-padding` | `2px 4px 2px 8px` | - | - |
| `@pro-search-item-tag-margin-left` | `@spacing-xs` | - | - |
| `@pro-search-item-tag-margin-bottom` | `@spacing-xs` | - | - |
| `@pro-search-item-tag-disabled-border-color` | `@pro-search-border-color` | - | - |
Expand All @@ -60,7 +58,7 @@
| `@pro-search-panel-footer-padding-vertical` | `8px` | - | - |
| `@pro-search-panel-footer-button-margin` | `@spacing-sm` | - | - |
| `@pro-search-date-picker-panel-body-padding` | `@spacing-lg` | - | - |
| `@pro-search-name-segment-panel-min-width` | `100px` | - | - |
| `@pro-search-name-segment-panel-min-width` | `160px` | - | - |
| `@pro-search-operator-segment-panel-min-width` | `20px` | - | - |
| `@pro-search-select-panel-min-width` | `100px` | - | - |
| `@pro-search-tree-select-panel-min-width` | `200px` | - | - |
Expand All @@ -75,6 +73,8 @@
| `@pro-search-select-segment-input-text-align` | `start` | - | - |
| `@pro-search-tree-select-segment-input-min-width` | `200px` | - | - |
| `@pro-search-tree-select-segment-input-text-align` | `start` | - | - |
| `@pro-search-cascader-segment-input-min-width` | `200px` | - | - |
| `@pro-search-cascader-segment-input-text-align` | `start` | - | - |
| `@pro-search-date-picker-segment-input-min-width` | `100px` | - | - |
| `@pro-search-date-picker-segment-input-text-align` | `start` | - | - |
| `@pro-search-date-range-picker-segment-input-min-width` | `100px` | - | - |
Expand Down

0 comments on commit 7448e38

Please sign in to comment.