rtl.less 640 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. @import '../../style/themes/index';
  2. @import '../../style/mixins/index';
  3. @popover-prefix-cls: ~'@{ant-prefix}-popover';
  4. .@{popover-prefix-cls} {
  5. &-rtl {
  6. direction: rtl;
  7. text-align: right;
  8. }
  9. &-message {
  10. &-icon {
  11. .@{popover-prefix-cls}-rtl & {
  12. margin-right: 0;
  13. margin-left: 8px;
  14. }
  15. }
  16. &-title {
  17. .@{popover-prefix-cls}-rtl & {
  18. padding-left: @padding-md;
  19. }
  20. }
  21. }
  22. &-buttons {
  23. .@{popover-prefix-cls}-rtl & {
  24. text-align: left;
  25. }
  26. button {
  27. .@{popover-prefix-cls}-rtl & {
  28. margin-right: 8px;
  29. margin-left: 0;
  30. }
  31. }
  32. }
  33. }