mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-11 23:00:20 +08:00
b4730281a9
* chore: init * chore: dropdown style * chore: more style * chore: icon style * chore: more style * chore: diff shows the cache path * chore: motion support * chore: more style * feat: status * chore: sub menu style * chore: all dropdown style * fix: ts * chore: update snapshot * Update components/dropdown/style/index.tsx Co-authored-by: MadCcc <1075746765@qq.com> * chore: update style Co-authored-by: MadCcc <1075746765@qq.com>
91 lines
2.0 KiB
Plaintext
91 lines
2.0 KiB
Plaintext
// @import '../../style/themes/index';
|
|
// @import '../../style/mixins/index';
|
|
|
|
// @dropdown-prefix-cls: ~'@{ant-prefix}-dropdown';
|
|
|
|
// .@{dropdown-prefix-cls} {
|
|
// &-rtl {
|
|
// direction: rtl;
|
|
// }
|
|
|
|
// &::before {
|
|
// .@{dropdown-prefix-cls}-rtl& {
|
|
// right: -7px;
|
|
// left: 0;
|
|
// }
|
|
// }
|
|
|
|
// &-menu {
|
|
// &&-rtl {
|
|
// direction: rtl;
|
|
// text-align: right;
|
|
// }
|
|
|
|
// &-item-group-title {
|
|
// .@{dropdown-prefix-cls}-rtl &,
|
|
// .@{dropdown-prefix-cls}-menu-submenu-rtl & {
|
|
// direction: rtl;
|
|
// text-align: right;
|
|
// }
|
|
// }
|
|
|
|
// &-submenu-popup {
|
|
// &.@{dropdown-prefix-cls}-menu-submenu-rtl {
|
|
// transform-origin: 100% 0;
|
|
// }
|
|
|
|
// ul,
|
|
// li {
|
|
// .@{dropdown-prefix-cls}-rtl & {
|
|
// text-align: right;
|
|
// }
|
|
// }
|
|
// }
|
|
|
|
// &-item,
|
|
// &-submenu-title {
|
|
// .@{dropdown-prefix-cls}-rtl & {
|
|
// text-align: right;
|
|
// }
|
|
|
|
// > .@{iconfont-css-prefix}:first-child,
|
|
// > span > .@{iconfont-css-prefix}:first-child {
|
|
// .@{dropdown-prefix-cls}-rtl & {
|
|
// margin-right: 0;
|
|
// margin-left: 8px;
|
|
// }
|
|
// }
|
|
|
|
// .@{dropdown-prefix-cls}-menu-submenu-expand-icon {
|
|
// .@{dropdown-prefix-cls}-rtl & {
|
|
// right: auto;
|
|
// left: @padding-xs;
|
|
// }
|
|
|
|
// .@{dropdown-prefix-cls}-menu-submenu-arrow-icon {
|
|
// .@{dropdown-prefix-cls}-rtl & {
|
|
// margin-left: 0 !important;
|
|
// transform: scaleX(-1);
|
|
// }
|
|
// }
|
|
// }
|
|
// }
|
|
|
|
// &-submenu-title {
|
|
// .@{dropdown-prefix-cls}-rtl & {
|
|
// padding-right: @control-padding-horizontal;
|
|
// padding-left: @control-padding-horizontal + @font-size-sm;
|
|
// }
|
|
// }
|
|
|
|
// &-submenu-vertical > & {
|
|
// .@{dropdown-prefix-cls}-rtl & {
|
|
// right: 100%;
|
|
// left: 0;
|
|
// margin-right: 4px;
|
|
// margin-left: 0;
|
|
// }
|
|
// }
|
|
// }
|
|
// }
|