diff --git a/packages/theme/src/base/old-theme.less b/packages/theme/src/base/old-theme.less index 4f2a5e319d..9a449ec0ba 100644 --- a/packages/theme/src/base/old-theme.less +++ b/packages/theme/src/base/old-theme.less @@ -345,7 +345,7 @@ --tv-color-bg-active-control: var(--tv-base-color-brand); // #5e7ce0 主色蓝,单选/复选选中背景色、开关开的背景色、选块点击背景色、滑块选中背景色、价格曲线、区域选择选中的背景色 --tv-color-bg-active-primary: var(--tv-base-color-brand); // #5e7ce0 品牌色,锚点-当前位置的圆点背景色/leftmenuthin左侧导航收起图标选中的背景色、NPS评分选中背景色 --tv-color-bg-active-secondary: var(--tv-base-color-common-1); // #adb0b8 次要背景色active色/下拉选中的背景色/一级tab页签背景-选中色/树控件选中背景颜色 - --tv-color-bg-active-emphasize: var(--tv-base-color-brand); // #5e7ce0 时间选择选中背景色 + --tv-color-bg-active-emphasize: var(--tv-base-color-brand-2); // #5e7ce0 时间选择选中背景色 --tv-color-bg-active-emphasize-light: var(--tv-base-color-brand-1); // #f0f7ff 表格选中背景色 --tv-color-bg-active-dark: var(--tv-base-color-common-3); // #eef0f5 深色背景色激活色 diff --git a/packages/theme/src/date-table/index.less b/packages/theme/src/date-table/index.less index 75c57122f3..6443ccc664 100644 --- a/packages/theme/src/date-table/index.less +++ b/packages/theme/src/date-table/index.less @@ -260,19 +260,19 @@ border-top-right-radius: var(--tv-DateTable-td-border-radius-disabled); border-bottom-right-radius: var(--tv-DateTable-td-border-radius-disabled); } - &__row .in-range:first-of-type div { + &__row td:first-of-type div { border-top-left-radius: var(--tv-DateTable-td-border-radius-disabled); border-bottom-left-radius: var(--tv-DateTable-td-border-radius-disabled); } - &__row .in-range:last-of-type div { + &__row td:last-of-type div { border-top-right-radius: var(--tv-DateTable-td-border-radius-disabled); border-bottom-right-radius: var(--tv-DateTable-td-border-radius-disabled); } - &__row td:nth-child(1 of .available.in-range) div { + &__row td.pre-month + td.available.in-range div { border-top-left-radius: var(--tv-DateTable-td-border-radius-disabled); border-bottom-left-radius: var(--tv-DateTable-td-border-radius-disabled); } - &__row td:nth-last-child(1 of .available.in-range) div { + &__row td.available.in-range:has(+ td.next-month) div { border-top-right-radius: var(--tv-DateTable-td-border-radius-disabled); border-bottom-right-radius: var(--tv-DateTable-td-border-radius-disabled); } diff --git a/packages/theme/src/month-table/index.less b/packages/theme/src/month-table/index.less index 24442a0686..ace6515739 100644 --- a/packages/theme/src/month-table/index.less +++ b/packages/theme/src/month-table/index.less @@ -141,6 +141,7 @@ &:not(.in-range) { .cell { + box-sizing: border-box; width: auto; border-radius: var(--tv-MonthTable-cell-border-radius); }