@import '../../style/themes/index'; @import '../../style/mixins/index'; @pageheader-prefix-cls: ~'@{ant-prefix}-page-header'; .@{pageheader-prefix-cls} { &-rtl { direction: rtl; } &-back { .@{pageheader-prefix-cls}-rtl & { float: right; margin-right: 0; margin-left: 16px; } } &-heading { &-title { .@{pageheader-prefix-cls}-rtl & { float: right; padding-right: 0; padding-left: 12px; } } .@{ant-prefix}-avatar { .@{pageheader-prefix-cls}-rtl & { float: right; margin-right: 0; margin-left: 12px; } } &-sub-title { .@{pageheader-prefix-cls}-rtl & { float: right; margin-right: 0; margin-left: 12px; } } &-tags { .@{pageheader-prefix-cls}-rtl & { float: right; } } &-extra { .@{pageheader-prefix-cls}-rtl & { float: left; } > * { .@{pageheader-prefix-cls}-rtl & { margin-right: 8px; margin-left: 0; } } > *:first-child { .@{pageheader-prefix-cls}-rtl & { margin-right: 0; } } } } &-footer { .@{ant-prefix}-tabs-bar { .@{ant-prefix}-tabs-nav { .@{pageheader-prefix-cls}-rtl & { float: right; } } } } }