ant-design-blazor/components/style/patch.less
James Yeung 1659aef02d
chore: sync ant-design v4.20.7 (#2497)
* chore: sync ant-design v4.20.7

* fix style build

* clean the style

* fix dropdown overlay

* remove cdk styles

* fix dropdown overwrite styles

* fix doc styles
2022-06-04 00:44:34 +08:00

75 lines
1.4 KiB
Plaintext

@import './themes/@{root-entry-name}.less';
.antblaozr-animate-disabled {
// badge
&.ant-scroll-number-only {
animation: none;
transition: none;
}
// drawer
&.ant-drawer {
&.ant-drawer-open .ant-drawer-mask {
animation: none;
transition: none;
}
& > * {
transition: none;
}
}
// modal
.ant-modal-mask,
.ant-modal {
animation: none;
transition: none;
&.zoom-enter,
&.zoom-leave,
&.zoom-enter-active,
&.zoom-leave-active {
animation: none;
transition: none;
}
}
// menu
&.ant-menu {
transition: none;
.ant-menu-item,
.ant-menu-submenu-title {
transition: none;
}
.ant-menu-item .anticon,
.ant-menu-submenu-title .anticon {
transition: none;
& + span {
transition: none;
}
}
}
// tabs
&.ant-tabs {
.ant-tabs-top-content.ant-tabs-content-animated,
.ant-tabs-bottom-content.ant-tabs-content-animated,
.ant-tabs-top-content > .ant-tabs-tabpane,
.ant-tabs-bottom-content > .ant-tabs-tabpane,
&.ant-tabs-left .ant-tabs-ink-bar-animated,
&.ant-tabs-right .ant-tabs-ink-bar-animated,
&.ant-tabs-top .ant-tabs-ink-bar-animated,
&.ant-tabs-bottom .ant-tabs-ink-bar-animated {
transition: none;
}
}
// collapse
&.ant-collapse > .ant-collapse-item > .ant-collapse-header .ant-collapse-arrow svg {
transition: none;
}
}